next-element-vue 0.5.7 → 0.5.8
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.
package/dist/index.umd.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* 作 者:huangteng
|
|
4
4
|
* 邮 箱:htengweb@163.com
|
|
5
|
-
* 当前版本:0.5.
|
|
6
|
-
* 发布日期:2025-04-
|
|
5
|
+
* 当前版本:0.5.8 v
|
|
6
|
+
* 发布日期:2025-04-15
|
|
7
7
|
* 地 址:https://www.npmjs.com/package/next-element-vue
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -1148,7 +1148,7 @@
|
|
|
1148
1148
|
themeColor: "#c71585",
|
|
1149
1149
|
headerBarColor: "#282c34",
|
|
1150
1150
|
headerBarFontColor: "#FFFFFF",
|
|
1151
|
-
headerBarFontActiveColor: "
|
|
1151
|
+
headerBarFontActiveColor: "",
|
|
1152
1152
|
isHeaderBarColorGradual: !1,
|
|
1153
1153
|
asidebarColor: "#282c34",
|
|
1154
1154
|
asidebarFontColor: "#ffffff",
|
|
@@ -1490,7 +1490,9 @@
|
|
|
1490
1490
|
render() {
|
|
1491
1491
|
const _slots = vue.inject("__slots__", {}), _ns = vue.inject("__ns__", {}), _config = vue.inject("options", {}), _updateOptions = vue.inject("updateOptions", null), settingConfig = vue.reactive({
|
|
1492
1492
|
..._config.setting
|
|
1493
|
-
})
|
|
1493
|
+
});
|
|
1494
|
+
settingConfig.headerBarFontActiveColor || (settingConfig.headerBarFontActiveColor = settingConfig.themeColor);
|
|
1495
|
+
const _changeUpdateOptions = () => {
|
|
1494
1496
|
const options = {
|
|
1495
1497
|
..._config,
|
|
1496
1498
|
setting: {
|
|
@@ -5211,10 +5213,10 @@
|
|
|
5211
5213
|
}, null);
|
|
5212
5214
|
if ("inputTableSelect" === col.type) {
|
|
5213
5215
|
const _slots = {};
|
|
5214
|
-
for (const key in col.tableSelect.slots) _slots[key] = () => col.tableSelect.slots[key]?.({
|
|
5216
|
+
for (const key in col.tableSelect.slots) _slots[key] = (...arg) => col.tableSelect.slots[key]?.({
|
|
5215
5217
|
column: col,
|
|
5216
5218
|
formParams: formParams
|
|
5217
|
-
});
|
|
5219
|
+
}, ...arg);
|
|
5218
5220
|
return vue.createVNode(InputTableSelect, {
|
|
5219
5221
|
modelValue: formParams[col.prop],
|
|
5220
5222
|
"onUpdate:modelValue": $event => formParams[col.prop] = $event,
|
|
@@ -5634,7 +5636,10 @@
|
|
|
5634
5636
|
updateColumns: ops => {
|
|
5635
5637
|
_updateColumnsAll(ops);
|
|
5636
5638
|
},
|
|
5637
|
-
getSearchFormParams: () => _searchFormParams.value
|
|
5639
|
+
getSearchFormParams: () => _searchFormParams.value,
|
|
5640
|
+
reloadData: () => {
|
|
5641
|
+
onClickRefresh();
|
|
5642
|
+
}
|
|
5638
5643
|
});
|
|
5639
5644
|
return () => vue.createVNode(vue.Fragment, null, [ vue.createVNode(vue.Fragment, null, [ vue.createVNode("div", {
|
|
5640
5645
|
ref: crudTableRef,
|
|
@@ -8297,7 +8302,7 @@
|
|
|
8297
8302
|
})(app);
|
|
8298
8303
|
};
|
|
8299
8304
|
var index = {
|
|
8300
|
-
version: "0.5.
|
|
8305
|
+
version: "0.5.8",
|
|
8301
8306
|
install: install
|
|
8302
8307
|
};
|
|
8303
8308
|
exports.NextCarousel = NextCarousel, exports.NextContainer = NextContainer, exports.NextCrudTable = NextCrudTable,
|
|
@@ -8345,7 +8350,7 @@
|
|
|
8345
8350
|
}), exports.useGetDerivedNamespace = useGetDerivedNamespace, exports.useLanguage = (locale, lang) => {
|
|
8346
8351
|
const localeRef = vue.isRef(locale) ? locale : vue.ref(locale), nextLang = localeLang[lang] || localeLang["zh-cn"];
|
|
8347
8352
|
localeRef.value.name = lang, localeRef.value.next = nextLang.next;
|
|
8348
|
-
}, exports.useLocale = useLocale, exports.useNamespace = useNamespace, exports.version = "0.5.
|
|
8353
|
+
}, exports.useLocale = useLocale, exports.useNamespace = useNamespace, exports.version = "0.5.8",
|
|
8349
8354
|
Object.defineProperty(exports, "__esModule", {
|
|
8350
8355
|
value: !0
|
|
8351
8356
|
});
|