next-element-vue 0.5.9 → 0.5.10
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.10 v
|
|
6
|
+
* 发布日期:2025-04-30
|
|
7
7
|
* 地 址:https://www.npmjs.com/package/next-element-vue
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3876,14 +3876,17 @@
|
|
|
3876
3876
|
setup: () => ({}),
|
|
3877
3877
|
emits: [ "clickAdd", "clickRefresh", "deleteRows" ],
|
|
3878
3878
|
render() {
|
|
3879
|
-
const _options = vue.inject("options", {}), options = vue.isRef(_options) ? vue.unref(_options) : _options, {t: t} = useLocale(), ns = vue.inject("ns", {}), multipleSelection = vue.inject("multipleSelection"), multipleSelectionLength = vue.computed((() => multipleSelection.value.length)),
|
|
3879
|
+
const _options = vue.inject("options", {}), options = vue.isRef(_options) ? vue.unref(_options) : _options, {t: t} = useLocale(), ns = vue.inject("ns", {}), multipleSelection = vue.inject("multipleSelection"), multipleSelectionLength = vue.computed((() => multipleSelection.value.length)), onClickRefresh = () => {
|
|
3880
|
+
this.$emit("clickRefresh");
|
|
3881
|
+
}, drawerSettingRef = vue.ref(), slotProps = {
|
|
3882
|
+
size: options.size,
|
|
3883
|
+
refresh: onClickRefresh
|
|
3884
|
+
};
|
|
3880
3885
|
return vue.createVNode("div", {
|
|
3881
3886
|
class: ns.b("header-menu")
|
|
3882
3887
|
}, [ vue.createVNode("div", {
|
|
3883
3888
|
class: ns.b("header-menu-left")
|
|
3884
|
-
}, [ this.$slots["menu-left-prefix"]?.({
|
|
3885
|
-
size: options.size
|
|
3886
|
-
}), options.addBtn && vue.createVNode(elementPlus.ElButton, {
|
|
3889
|
+
}, [ this.$slots["menu-left-prefix"]?.(slotProps), options.addBtn && vue.createVNode(elementPlus.ElButton, {
|
|
3887
3890
|
type: "primary",
|
|
3888
3891
|
size: options.size,
|
|
3889
3892
|
onClick: () => {
|
|
@@ -3920,18 +3923,12 @@
|
|
|
3920
3923
|
default: () => [ vue.createVNode(delete_default, null, null) ]
|
|
3921
3924
|
}),
|
|
3922
3925
|
default: () => t("next.table.batchDelete")
|
|
3923
|
-
}), this.$slots["menu-left-suffix"]?.({
|
|
3924
|
-
size: options.size
|
|
3925
|
-
}) ]), vue.createVNode("div", {
|
|
3926
|
+
}), this.$slots["menu-left-suffix"]?.(slotProps) ]), vue.createVNode("div", {
|
|
3926
3927
|
class: ns.b("header-menu-right")
|
|
3927
|
-
}, [ this.$slots["menu-right-prefix"]?.({
|
|
3928
|
-
size: options.size
|
|
3929
|
-
}), options.refreshBtn && vue.createVNode(elementPlus.ElButton, {
|
|
3928
|
+
}, [ this.$slots["menu-right-prefix"]?.(slotProps), options.refreshBtn && vue.createVNode(elementPlus.ElButton, {
|
|
3930
3929
|
circle: !0,
|
|
3931
3930
|
size: options.size,
|
|
3932
|
-
onClick:
|
|
3933
|
-
this.$emit("clickRefresh");
|
|
3934
|
-
}
|
|
3931
|
+
onClick: onClickRefresh
|
|
3935
3932
|
}, {
|
|
3936
3933
|
icon: () => vue.createVNode(elementPlus.ElIcon, null, {
|
|
3937
3934
|
default: () => [ vue.createVNode(refresh_default, null, null) ]
|
|
@@ -3946,9 +3943,7 @@
|
|
|
3946
3943
|
icon: () => vue.createVNode(elementPlus.ElIcon, null, {
|
|
3947
3944
|
default: () => [ vue.createVNode(tools_default, null, null) ]
|
|
3948
3945
|
})
|
|
3949
|
-
}), this.$slots["menu-right-suffix"]?.({
|
|
3950
|
-
size: options.size
|
|
3951
|
-
}) ]), vue.createVNode(DrawerSetting, {
|
|
3946
|
+
}), this.$slots["menu-right-suffix"]?.(slotProps) ]), vue.createVNode(DrawerSetting, {
|
|
3952
3947
|
ref: drawerSettingRef
|
|
3953
3948
|
}, null) ]);
|
|
3954
3949
|
}
|
|
@@ -8328,7 +8323,7 @@
|
|
|
8328
8323
|
}
|
|
8329
8324
|
};
|
|
8330
8325
|
var index = {
|
|
8331
|
-
version: "0.5.
|
|
8326
|
+
version: "0.5.10",
|
|
8332
8327
|
install: install
|
|
8333
8328
|
};
|
|
8334
8329
|
exports.NextCarousel = NextCarousel, exports.NextContainer = NextContainer, exports.NextCrudTable = NextCrudTable,
|
|
@@ -8376,7 +8371,7 @@
|
|
|
8376
8371
|
}), exports.useGetDerivedNamespace = useGetDerivedNamespace, exports.useLanguage = (locale, lang) => {
|
|
8377
8372
|
const localeRef = vue.isRef(locale) ? locale : vue.ref(locale), nextLang = localeLang[lang] || localeLang["zh-cn"];
|
|
8378
8373
|
localeRef.value.name = lang, localeRef.value.next = nextLang.next;
|
|
8379
|
-
}, exports.useLocale = useLocale, exports.useNamespace = useNamespace, exports.version = "0.5.
|
|
8374
|
+
}, exports.useLocale = useLocale, exports.useNamespace = useNamespace, exports.version = "0.5.10",
|
|
8380
8375
|
Object.defineProperty(exports, "__esModule", {
|
|
8381
8376
|
value: !0
|
|
8382
8377
|
});
|