1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
{"version":3,"sources":["../../src/util/ThemeProvider.ts"],"names":[],"mappings":";;;;;;;AACA;;AACA;;;;AAEA;eACe,qBAAO,kBAAP,EAAkB,MAAlB,CAAyB;AACtC,EAAA,IAAI,EAAE,gBADgC;AAGtC,EAAA,KAAK,EAAE;AACL,IAAA,IAAI,EAAE;AADD,GAH+B;AAOtC,EAAA,QAAQ,EAAE;AACR,IAAA,MADQ,oBACF;AACJ,aAAO,KAAK,IAAL,GAAY,KAAK,UAAjB,GAA8B,mBAAU,OAAV,CAAkB,QAAlB,CAA2B,MAA3B,CAAkC,IAAlC,CAAuC,IAAvC,CAArC;AACD;AAHO,GAP4B;AAatC,EAAA,MAbsC,oBAahC;AACJ,WAAO,KAAK,MAAL,CAAY,OAAZ,IAAwB,KAAK,MAAL,CAAY,OAAZ,CAAqB,IAArB,CAA0B,UAAA,IAAI;AAAA,aAAI,CAAC,IAAI,CAAC,SAAN,IAAmB,IAAI,CAAC,IAAL,KAAc,GAArC;AAAA,KAA9B,CAA/B;AACD;AAfqC,CAAzB,C","sourcesContent":["import { VNode } from 'vue'\nimport Themeable from '../mixins/themeable'\nimport mixins from './mixins'\n\n/* @vue/component */\nexport default mixins(Themeable).extend({\n name: 'theme-provider',\n\n props: {\n root: Boolean,\n },\n\n computed: {\n isDark (): boolean {\n return this.root ? this.rootIsDark : Themeable.options.computed.isDark.call(this)\n },\n },\n\n render (): VNode {\n return this.$slots.default! && this.$slots.default!.find(node => !node.isComment && node.text !== ' ')!\n },\n})\n"],"sourceRoot":"","file":"ThemeProvider.js"} |