1 line
No EOL
2 KiB
Text
1 line
No EOL
2 KiB
Text
{"version":3,"sources":["../../../src/components/VSheet/VSheet.ts"],"names":[],"mappings":";;;;;;;AACA;;AAGA;;AACA;;AACA;;AACA;;AAGA;;;;;;;;;;AAKA;eACe,qBACb,kBADa,EAEb,mBAFa,EAGb,mBAHa,EAIb,kBAJa,EAKb,MALa,CAKN;AACP,EAAA,IAAI,EAAE,SADC;AAGP,EAAA,KAAK,EAAE;AACL,IAAA,GAAG,EAAE;AACH,MAAA,IAAI,EAAE,MADH;AAEH,MAAA,OAAO,EAAE;AAFN,KADA;AAKL,IAAA,IAAI,EAAE;AALD,GAHA;AAWP,EAAA,QAAQ,EAAE;AACR,IAAA,OADQ,qBACD;AACL;AACE,mBAAW,IADb;AAEE,yBAAiB,KAAK;AAFxB,SAGK,KAAK,YAHV,MAIK,KAAK,gBAJV;AAMD,KARO;AASR,IAAA,MATQ,oBASF;AACJ,aAAO,KAAK,gBAAZ;AACD;AAXO,GAXH;AAyBP,EAAA,MAzBO,kBAyBC,CAzBD,EAyBE;AACP,QAAM,IAAI,GAAG;AACX,MAAA,KAAK,EAAE,KAAK,OADD;AAEX,MAAA,KAAK,EAAE,KAAK,MAFD;AAGX,MAAA,EAAE,EAAE,KAAK;AAHE,KAAb;AAMA,WAAO,CAAC,CACN,KAAK,GADC,EAEN,KAAK,kBAAL,CAAwB,KAAK,KAA7B,EAAoC,IAApC,CAFM,EAGN,KAAK,MAAL,CAAY,OAHN,CAAR;AAKD;AArCM,CALM,C","sourcesContent":["// Styles\nimport './VSheet.sass'\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":"","file":"VSheet.js"} |