meixioacomponent 0.1.94 → 0.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40292,72 +40292,6 @@ var pro_form_itemvue_type_template_id_fa724d8c_scoped_true_staticRenderFns = []
|
|
|
40292
40292
|
|
|
40293
40293
|
// CONCATENATED MODULE: ./packages/components/proForm/proForm/pro_form_item.vue?vue&type=template&id=fa724d8c&scoped=true&
|
|
40294
40294
|
|
|
40295
|
-
// CONCATENATED MODULE: ./packages/config/theme/theme.js
|
|
40296
|
-
|
|
40297
|
-
|
|
40298
|
-
|
|
40299
|
-
|
|
40300
|
-
|
|
40301
|
-
var theme_Theme = /*#__PURE__*/function () {
|
|
40302
|
-
function Theme() {
|
|
40303
|
-
_classCallCheck(this, Theme);
|
|
40304
|
-
|
|
40305
|
-
// 主题支持的类型
|
|
40306
|
-
this.config = ["light", "dark"]; // 当前被选中的类型
|
|
40307
|
-
|
|
40308
|
-
this.currentTheme = null;
|
|
40309
|
-
this.init();
|
|
40310
|
-
}
|
|
40311
|
-
|
|
40312
|
-
_createClass(Theme, [{
|
|
40313
|
-
key: "init",
|
|
40314
|
-
value: function init() {
|
|
40315
|
-
var localConfig = window.localStorage.getItem("theme");
|
|
40316
|
-
|
|
40317
|
-
if (localConfig) {
|
|
40318
|
-
var index = this.config.findIndex(function (item) {
|
|
40319
|
-
return item == localConfig;
|
|
40320
|
-
});
|
|
40321
|
-
|
|
40322
|
-
if (index > -1) {
|
|
40323
|
-
this.setCurrentTheme(this.config[index]);
|
|
40324
|
-
} else {
|
|
40325
|
-
this.setCurrentTheme(this.config[0]);
|
|
40326
|
-
}
|
|
40327
|
-
} else {
|
|
40328
|
-
this.setCurrentTheme(this.config[0]);
|
|
40329
|
-
}
|
|
40330
|
-
}
|
|
40331
|
-
}, {
|
|
40332
|
-
key: "addThemeConfig",
|
|
40333
|
-
value: function addThemeConfig(text) {
|
|
40334
|
-
this.config.push(text);
|
|
40335
|
-
}
|
|
40336
|
-
}, {
|
|
40337
|
-
key: "setTheme",
|
|
40338
|
-
value: function setTheme(themeText) {
|
|
40339
|
-
document.documentElement.setAttribute("theme-mode", "".concat(themeText)); // 保存至本地
|
|
40340
|
-
|
|
40341
|
-
window.localStorage.setItem("theme", this.currentTheme);
|
|
40342
|
-
}
|
|
40343
|
-
}, {
|
|
40344
|
-
key: "setCurrentTheme",
|
|
40345
|
-
value: function setCurrentTheme(themeText) {
|
|
40346
|
-
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.set(this, "currentTheme", themeText); // 设置html 属性 同步视图层
|
|
40347
|
-
|
|
40348
|
-
this.setTheme(this.currentTheme);
|
|
40349
|
-
}
|
|
40350
|
-
}, {
|
|
40351
|
-
key: "getCurrentTheme",
|
|
40352
|
-
value: function getCurrentTheme() {
|
|
40353
|
-
return this.currentTheme;
|
|
40354
|
-
}
|
|
40355
|
-
}]);
|
|
40356
|
-
|
|
40357
|
-
return Theme;
|
|
40358
|
-
}();
|
|
40359
|
-
|
|
40360
|
-
/* harmony default export */ var theme = (theme_Theme);
|
|
40361
40295
|
// CONCATENATED MODULE: ./packages/config/selectStore/UseSelectStoreClass.js
|
|
40362
40296
|
|
|
40363
40297
|
|
|
@@ -40431,12 +40365,10 @@ var selectStore_selectStore = {
|
|
|
40431
40365
|
/* harmony default export */ var storeModule_selectStore = (selectStore_selectStore);
|
|
40432
40366
|
// CONCATENATED MODULE: ./packages/config/componentConfig.js
|
|
40433
40367
|
|
|
40434
|
-
|
|
40435
40368
|
var componentConfig = {
|
|
40436
40369
|
store: null,
|
|
40437
40370
|
router: null,
|
|
40438
40371
|
dynamicId: 0,
|
|
40439
|
-
theme: null,
|
|
40440
40372
|
selectStore: null,
|
|
40441
40373
|
setDynamicId: function setDynamicId() {
|
|
40442
40374
|
componentConfig.dynamicId += 1;
|
|
@@ -40450,9 +40382,7 @@ var componentConfig = {
|
|
|
40450
40382
|
|
|
40451
40383
|
componentConfig.store = _store;
|
|
40452
40384
|
componentConfig.router = _router;
|
|
40453
|
-
componentConfig.selectStore = componentConfig.store.getters["selectStore/getSelectStore"];
|
|
40454
|
-
|
|
40455
|
-
componentConfig.theme = new theme();
|
|
40385
|
+
componentConfig.selectStore = componentConfig.store.getters["selectStore/getSelectStore"];
|
|
40456
40386
|
}
|
|
40457
40387
|
};
|
|
40458
40388
|
/* harmony default export */ var config_componentConfig = (componentConfig);
|
|
@@ -41944,6 +41874,72 @@ baseTimeLine.install = function (Vue) {
|
|
|
41944
41874
|
};
|
|
41945
41875
|
|
|
41946
41876
|
/* harmony default export */ var base_baseTimeLine = (baseTimeLine);
|
|
41877
|
+
// CONCATENATED MODULE: ./packages/config/theme/theme.js
|
|
41878
|
+
|
|
41879
|
+
|
|
41880
|
+
|
|
41881
|
+
|
|
41882
|
+
|
|
41883
|
+
var theme_Theme = /*#__PURE__*/function () {
|
|
41884
|
+
function Theme() {
|
|
41885
|
+
_classCallCheck(this, Theme);
|
|
41886
|
+
|
|
41887
|
+
// 主题支持的类型
|
|
41888
|
+
this.config = ["light", "dark"]; // 当前被选中的类型
|
|
41889
|
+
|
|
41890
|
+
this.currentTheme = null;
|
|
41891
|
+
this.init();
|
|
41892
|
+
}
|
|
41893
|
+
|
|
41894
|
+
_createClass(Theme, [{
|
|
41895
|
+
key: "init",
|
|
41896
|
+
value: function init() {
|
|
41897
|
+
var localConfig = window.localStorage.getItem("theme");
|
|
41898
|
+
|
|
41899
|
+
if (localConfig) {
|
|
41900
|
+
var index = this.config.findIndex(function (item) {
|
|
41901
|
+
return item == localConfig;
|
|
41902
|
+
});
|
|
41903
|
+
|
|
41904
|
+
if (index > -1) {
|
|
41905
|
+
this.setCurrentTheme(this.config[index]);
|
|
41906
|
+
} else {
|
|
41907
|
+
this.setCurrentTheme(this.config[0]);
|
|
41908
|
+
}
|
|
41909
|
+
} else {
|
|
41910
|
+
this.setCurrentTheme(this.config[0]);
|
|
41911
|
+
}
|
|
41912
|
+
}
|
|
41913
|
+
}, {
|
|
41914
|
+
key: "addThemeConfig",
|
|
41915
|
+
value: function addThemeConfig(text) {
|
|
41916
|
+
this.config.push(text);
|
|
41917
|
+
}
|
|
41918
|
+
}, {
|
|
41919
|
+
key: "setTheme",
|
|
41920
|
+
value: function setTheme(themeText) {
|
|
41921
|
+
document.documentElement.setAttribute("theme-mode", "".concat(themeText)); // 保存至本地
|
|
41922
|
+
|
|
41923
|
+
window.localStorage.setItem("theme", this.currentTheme);
|
|
41924
|
+
}
|
|
41925
|
+
}, {
|
|
41926
|
+
key: "setCurrentTheme",
|
|
41927
|
+
value: function setCurrentTheme(themeText) {
|
|
41928
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.set(this, "currentTheme", themeText); // 设置html 属性 同步视图层
|
|
41929
|
+
|
|
41930
|
+
this.setTheme(this.currentTheme);
|
|
41931
|
+
}
|
|
41932
|
+
}, {
|
|
41933
|
+
key: "getCurrentTheme",
|
|
41934
|
+
value: function getCurrentTheme() {
|
|
41935
|
+
return this.currentTheme;
|
|
41936
|
+
}
|
|
41937
|
+
}]);
|
|
41938
|
+
|
|
41939
|
+
return Theme;
|
|
41940
|
+
}();
|
|
41941
|
+
|
|
41942
|
+
/* harmony default export */ var theme = (theme_Theme);
|
|
41947
41943
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1da2a05d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/dynamicmount/dynamicMount.vue?vue&type=template&id=5a28dc82&scoped=true&
|
|
41948
41944
|
var dynamicMountvue_type_template_id_5a28dc82_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"dynamicMount",staticClass:"dynamic-mount-wrap"})}
|
|
41949
41945
|
var dynamicMountvue_type_template_id_5a28dc82_scoped_true_staticRenderFns = []
|
|
@@ -42271,6 +42267,7 @@ var useFixedHeader = new useFixedHeader_UseFixedHeader();
|
|
|
42271
42267
|
|
|
42272
42268
|
|
|
42273
42269
|
|
|
42270
|
+
|
|
42274
42271
|
//
|
|
42275
42272
|
|
|
42276
42273
|
|
|
@@ -42326,6 +42323,7 @@ if (typeof window !== "undefined" && window.Vue) {
|
|
|
42326
42323
|
baseProTable: proPageTable,
|
|
42327
42324
|
baseMoverVerifiBar: base_baseMoverVerifiBar,
|
|
42328
42325
|
baseTimeLine: base_baseTimeLine,
|
|
42326
|
+
Theme: theme,
|
|
42329
42327
|
SelectStore: selectStore_SelectStore,
|
|
42330
42328
|
useImg: use_UseImg,
|
|
42331
42329
|
useFixedHeader: use_useFixedHeader,
|
|
@@ -40301,72 +40301,6 @@ var pro_form_itemvue_type_template_id_fa724d8c_scoped_true_staticRenderFns = []
|
|
|
40301
40301
|
|
|
40302
40302
|
// CONCATENATED MODULE: ./packages/components/proForm/proForm/pro_form_item.vue?vue&type=template&id=fa724d8c&scoped=true&
|
|
40303
40303
|
|
|
40304
|
-
// CONCATENATED MODULE: ./packages/config/theme/theme.js
|
|
40305
|
-
|
|
40306
|
-
|
|
40307
|
-
|
|
40308
|
-
|
|
40309
|
-
|
|
40310
|
-
var theme_Theme = /*#__PURE__*/function () {
|
|
40311
|
-
function Theme() {
|
|
40312
|
-
_classCallCheck(this, Theme);
|
|
40313
|
-
|
|
40314
|
-
// 主题支持的类型
|
|
40315
|
-
this.config = ["light", "dark"]; // 当前被选中的类型
|
|
40316
|
-
|
|
40317
|
-
this.currentTheme = null;
|
|
40318
|
-
this.init();
|
|
40319
|
-
}
|
|
40320
|
-
|
|
40321
|
-
_createClass(Theme, [{
|
|
40322
|
-
key: "init",
|
|
40323
|
-
value: function init() {
|
|
40324
|
-
var localConfig = window.localStorage.getItem("theme");
|
|
40325
|
-
|
|
40326
|
-
if (localConfig) {
|
|
40327
|
-
var index = this.config.findIndex(function (item) {
|
|
40328
|
-
return item == localConfig;
|
|
40329
|
-
});
|
|
40330
|
-
|
|
40331
|
-
if (index > -1) {
|
|
40332
|
-
this.setCurrentTheme(this.config[index]);
|
|
40333
|
-
} else {
|
|
40334
|
-
this.setCurrentTheme(this.config[0]);
|
|
40335
|
-
}
|
|
40336
|
-
} else {
|
|
40337
|
-
this.setCurrentTheme(this.config[0]);
|
|
40338
|
-
}
|
|
40339
|
-
}
|
|
40340
|
-
}, {
|
|
40341
|
-
key: "addThemeConfig",
|
|
40342
|
-
value: function addThemeConfig(text) {
|
|
40343
|
-
this.config.push(text);
|
|
40344
|
-
}
|
|
40345
|
-
}, {
|
|
40346
|
-
key: "setTheme",
|
|
40347
|
-
value: function setTheme(themeText) {
|
|
40348
|
-
document.documentElement.setAttribute("theme-mode", "".concat(themeText)); // 保存至本地
|
|
40349
|
-
|
|
40350
|
-
window.localStorage.setItem("theme", this.currentTheme);
|
|
40351
|
-
}
|
|
40352
|
-
}, {
|
|
40353
|
-
key: "setCurrentTheme",
|
|
40354
|
-
value: function setCurrentTheme(themeText) {
|
|
40355
|
-
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.set(this, "currentTheme", themeText); // 设置html 属性 同步视图层
|
|
40356
|
-
|
|
40357
|
-
this.setTheme(this.currentTheme);
|
|
40358
|
-
}
|
|
40359
|
-
}, {
|
|
40360
|
-
key: "getCurrentTheme",
|
|
40361
|
-
value: function getCurrentTheme() {
|
|
40362
|
-
return this.currentTheme;
|
|
40363
|
-
}
|
|
40364
|
-
}]);
|
|
40365
|
-
|
|
40366
|
-
return Theme;
|
|
40367
|
-
}();
|
|
40368
|
-
|
|
40369
|
-
/* harmony default export */ var theme = (theme_Theme);
|
|
40370
40304
|
// CONCATENATED MODULE: ./packages/config/selectStore/UseSelectStoreClass.js
|
|
40371
40305
|
|
|
40372
40306
|
|
|
@@ -40440,12 +40374,10 @@ var selectStore_selectStore = {
|
|
|
40440
40374
|
/* harmony default export */ var storeModule_selectStore = (selectStore_selectStore);
|
|
40441
40375
|
// CONCATENATED MODULE: ./packages/config/componentConfig.js
|
|
40442
40376
|
|
|
40443
|
-
|
|
40444
40377
|
var componentConfig = {
|
|
40445
40378
|
store: null,
|
|
40446
40379
|
router: null,
|
|
40447
40380
|
dynamicId: 0,
|
|
40448
|
-
theme: null,
|
|
40449
40381
|
selectStore: null,
|
|
40450
40382
|
setDynamicId: function setDynamicId() {
|
|
40451
40383
|
componentConfig.dynamicId += 1;
|
|
@@ -40459,9 +40391,7 @@ var componentConfig = {
|
|
|
40459
40391
|
|
|
40460
40392
|
componentConfig.store = _store;
|
|
40461
40393
|
componentConfig.router = _router;
|
|
40462
|
-
componentConfig.selectStore = componentConfig.store.getters["selectStore/getSelectStore"];
|
|
40463
|
-
|
|
40464
|
-
componentConfig.theme = new theme();
|
|
40394
|
+
componentConfig.selectStore = componentConfig.store.getters["selectStore/getSelectStore"];
|
|
40465
40395
|
}
|
|
40466
40396
|
};
|
|
40467
40397
|
/* harmony default export */ var config_componentConfig = (componentConfig);
|
|
@@ -41953,6 +41883,72 @@ baseTimeLine.install = function (Vue) {
|
|
|
41953
41883
|
};
|
|
41954
41884
|
|
|
41955
41885
|
/* harmony default export */ var base_baseTimeLine = (baseTimeLine);
|
|
41886
|
+
// CONCATENATED MODULE: ./packages/config/theme/theme.js
|
|
41887
|
+
|
|
41888
|
+
|
|
41889
|
+
|
|
41890
|
+
|
|
41891
|
+
|
|
41892
|
+
var theme_Theme = /*#__PURE__*/function () {
|
|
41893
|
+
function Theme() {
|
|
41894
|
+
_classCallCheck(this, Theme);
|
|
41895
|
+
|
|
41896
|
+
// 主题支持的类型
|
|
41897
|
+
this.config = ["light", "dark"]; // 当前被选中的类型
|
|
41898
|
+
|
|
41899
|
+
this.currentTheme = null;
|
|
41900
|
+
this.init();
|
|
41901
|
+
}
|
|
41902
|
+
|
|
41903
|
+
_createClass(Theme, [{
|
|
41904
|
+
key: "init",
|
|
41905
|
+
value: function init() {
|
|
41906
|
+
var localConfig = window.localStorage.getItem("theme");
|
|
41907
|
+
|
|
41908
|
+
if (localConfig) {
|
|
41909
|
+
var index = this.config.findIndex(function (item) {
|
|
41910
|
+
return item == localConfig;
|
|
41911
|
+
});
|
|
41912
|
+
|
|
41913
|
+
if (index > -1) {
|
|
41914
|
+
this.setCurrentTheme(this.config[index]);
|
|
41915
|
+
} else {
|
|
41916
|
+
this.setCurrentTheme(this.config[0]);
|
|
41917
|
+
}
|
|
41918
|
+
} else {
|
|
41919
|
+
this.setCurrentTheme(this.config[0]);
|
|
41920
|
+
}
|
|
41921
|
+
}
|
|
41922
|
+
}, {
|
|
41923
|
+
key: "addThemeConfig",
|
|
41924
|
+
value: function addThemeConfig(text) {
|
|
41925
|
+
this.config.push(text);
|
|
41926
|
+
}
|
|
41927
|
+
}, {
|
|
41928
|
+
key: "setTheme",
|
|
41929
|
+
value: function setTheme(themeText) {
|
|
41930
|
+
document.documentElement.setAttribute("theme-mode", "".concat(themeText)); // 保存至本地
|
|
41931
|
+
|
|
41932
|
+
window.localStorage.setItem("theme", this.currentTheme);
|
|
41933
|
+
}
|
|
41934
|
+
}, {
|
|
41935
|
+
key: "setCurrentTheme",
|
|
41936
|
+
value: function setCurrentTheme(themeText) {
|
|
41937
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.set(this, "currentTheme", themeText); // 设置html 属性 同步视图层
|
|
41938
|
+
|
|
41939
|
+
this.setTheme(this.currentTheme);
|
|
41940
|
+
}
|
|
41941
|
+
}, {
|
|
41942
|
+
key: "getCurrentTheme",
|
|
41943
|
+
value: function getCurrentTheme() {
|
|
41944
|
+
return this.currentTheme;
|
|
41945
|
+
}
|
|
41946
|
+
}]);
|
|
41947
|
+
|
|
41948
|
+
return Theme;
|
|
41949
|
+
}();
|
|
41950
|
+
|
|
41951
|
+
/* harmony default export */ var theme = (theme_Theme);
|
|
41956
41952
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1da2a05d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/dynamicmount/dynamicMount.vue?vue&type=template&id=5a28dc82&scoped=true&
|
|
41957
41953
|
var dynamicMountvue_type_template_id_5a28dc82_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"dynamicMount",staticClass:"dynamic-mount-wrap"})}
|
|
41958
41954
|
var dynamicMountvue_type_template_id_5a28dc82_scoped_true_staticRenderFns = []
|
|
@@ -42280,6 +42276,7 @@ var useFixedHeader = new useFixedHeader_UseFixedHeader();
|
|
|
42280
42276
|
|
|
42281
42277
|
|
|
42282
42278
|
|
|
42279
|
+
|
|
42283
42280
|
//
|
|
42284
42281
|
|
|
42285
42282
|
|
|
@@ -42335,6 +42332,7 @@ if (typeof window !== "undefined" && window.Vue) {
|
|
|
42335
42332
|
baseProTable: proPageTable,
|
|
42336
42333
|
baseMoverVerifiBar: base_baseMoverVerifiBar,
|
|
42337
42334
|
baseTimeLine: base_baseTimeLine,
|
|
42335
|
+
Theme: theme,
|
|
42338
42336
|
SelectStore: selectStore_SelectStore,
|
|
42339
42337
|
useImg: use_UseImg,
|
|
42340
42338
|
useFixedHeader: use_useFixedHeader,
|