node_modules

This commit is contained in:
saeid
2019-07-15 13:07:31 +04:30
parent d3735c6d30
commit ce1a3ebf9c
35713 changed files with 3639219 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
import Themeable from '../mixins/themeable';
import mixins from './mixins';
/* @vue/component */
export default mixins(Themeable).extend({
name: 'theme-provider',
props: {
root: Boolean
},
computed: {
isDark: function isDark() {
return this.root ? this.rootIsDark : Themeable.options.computed.isDark.call(this);
}
},
render: function render() {
return this.$slots.default && this.$slots.default.find(function (node) {
return !node.isComment && node.text !== ' ';
});
}
});
//# sourceMappingURL=ThemeProvider.js.map