{"version":3,"sources":["../../../src/components/VSheet/VSheet.ts"],"names":[],"mappings":";;;;;;;;AAGA;;AAMA;;;AARA;;AAGA;;;;AACA;;;;AACA;;;;AACA;;;;AAGA;;;;;;AAKA;kBACe,sBACb,mBADa,EAEb,oBAFa,EAGb,oBAHa,EAIb,mBAJa,EAKb,MALa,CAKN;AACP,UAAM,SADC;AAGP,WAAO;AACL,aAAK;AACH,kBAAM,MADH;AAEH,qBAAS;AAFN,SADA;AAKL,cAAM;AALD,KAHA;AAWP,cAAU;AACR,eADQ,qBACD;AACL;AACE,2BAAW,IADb;AAEE,iCAAiB,KAAK;AAFxB,eAGK,KAAK,YAHV,EAIK,KAAK,gBAJV;AAMD,SARO;AASR,cATQ,oBASF;AACJ,mBAAO,KAAK,gBAAZ;AACD;AAXO,KAXH;AAyBP,UAzBO,kBAyBC,CAzBD,EAyBE;AACP,YAAM,OAAO;AACX,mBAAO,KAAK,OADD;AAEX,mBAAO,KAAK,MAFD;AAGX,gBAAI,KAAK;AAHE,SAAb;AAMA,eAAO,EACL,KAAK,GADA,EAEL,KAAK,kBAAL,CAAwB,KAAK,KAA7B,EAAoC,IAApC,CAFK,EAGL,KAAK,MAAL,CAAY,OAHP,CAAP;AAKD;AArCM,CALM,C","sourcesContent":["// Styles\nimport '../../stylus/components/_sheet.styl'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Elevatable from '../../mixins/elevatable'\nimport Measurable from '../../mixins/measurable'\nimport Themeable from '../../mixins/themeable'\n\n// Helpers\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\n\n/* @vue/component */\nexport default mixins(\n Colorable,\n Elevatable,\n Measurable,\n Themeable\n).extend({\n name: 'v-sheet',\n\n props: {\n tag: {\n type: String,\n default: 'div'\n },\n tile: Boolean\n },\n\n computed: {\n classes (): object {\n return {\n 'v-sheet': true,\n 'v-sheet--tile': this.tile,\n ...this.themeClasses,\n ...this.elevationClasses\n }\n },\n styles (): object {\n return this.measurableStyles\n }\n },\n\n render (h): VNode {\n const data = {\n class: this.classes,\n style: this.styles,\n on: this.$listeners\n }\n\n return h(\n this.tag,\n this.setBackgroundColor(this.color, data),\n this.$slots.default\n )\n }\n})\n"],"sourceRoot":""}