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.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
|
|
|
@@ -4066,14 +4066,17 @@ var HeaderSearch = defineComponent({
|
|
|
4066
4066
|
setup: () => ({}),
|
|
4067
4067
|
emits: [ "clickAdd", "clickRefresh", "deleteRows" ],
|
|
4068
4068
|
render() {
|
|
4069
|
-
const _options = inject("options", {}), options = isRef(_options) ? unref(_options) : _options, {t: t} = useLocale(), ns = inject("ns", {}), multipleSelection = inject("multipleSelection"), multipleSelectionLength = computed((() => multipleSelection.value.length)),
|
|
4069
|
+
const _options = inject("options", {}), options = isRef(_options) ? unref(_options) : _options, {t: t} = useLocale(), ns = inject("ns", {}), multipleSelection = inject("multipleSelection"), multipleSelectionLength = computed((() => multipleSelection.value.length)), onClickRefresh = () => {
|
|
4070
|
+
this.$emit("clickRefresh");
|
|
4071
|
+
}, drawerSettingRef = ref(), slotProps = {
|
|
4072
|
+
size: options.size,
|
|
4073
|
+
refresh: onClickRefresh
|
|
4074
|
+
};
|
|
4070
4075
|
return createVNode("div", {
|
|
4071
4076
|
class: ns.b("header-menu")
|
|
4072
4077
|
}, [ createVNode("div", {
|
|
4073
4078
|
class: ns.b("header-menu-left")
|
|
4074
|
-
}, [ this.$slots["menu-left-prefix"]?.({
|
|
4075
|
-
size: options.size
|
|
4076
|
-
}), options.addBtn && createVNode(ElButton, {
|
|
4079
|
+
}, [ this.$slots["menu-left-prefix"]?.(slotProps), options.addBtn && createVNode(ElButton, {
|
|
4077
4080
|
type: "primary",
|
|
4078
4081
|
size: options.size,
|
|
4079
4082
|
onClick: () => {
|
|
@@ -4110,18 +4113,12 @@ var HeaderSearch = defineComponent({
|
|
|
4110
4113
|
default: () => [ createVNode(delete_default, null, null) ]
|
|
4111
4114
|
}),
|
|
4112
4115
|
default: () => t("next.table.batchDelete")
|
|
4113
|
-
}), this.$slots["menu-left-suffix"]?.({
|
|
4114
|
-
size: options.size
|
|
4115
|
-
}) ]), createVNode("div", {
|
|
4116
|
+
}), this.$slots["menu-left-suffix"]?.(slotProps) ]), createVNode("div", {
|
|
4116
4117
|
class: ns.b("header-menu-right")
|
|
4117
|
-
}, [ this.$slots["menu-right-prefix"]?.({
|
|
4118
|
-
size: options.size
|
|
4119
|
-
}), options.refreshBtn && createVNode(ElButton, {
|
|
4118
|
+
}, [ this.$slots["menu-right-prefix"]?.(slotProps), options.refreshBtn && createVNode(ElButton, {
|
|
4120
4119
|
circle: !0,
|
|
4121
4120
|
size: options.size,
|
|
4122
|
-
onClick:
|
|
4123
|
-
this.$emit("clickRefresh");
|
|
4124
|
-
}
|
|
4121
|
+
onClick: onClickRefresh
|
|
4125
4122
|
}, {
|
|
4126
4123
|
icon: () => createVNode(ElIcon, null, {
|
|
4127
4124
|
default: () => [ createVNode(refresh_default, null, null) ]
|
|
@@ -4136,9 +4133,7 @@ var HeaderSearch = defineComponent({
|
|
|
4136
4133
|
icon: () => createVNode(ElIcon, null, {
|
|
4137
4134
|
default: () => [ createVNode(tools_default, null, null) ]
|
|
4138
4135
|
})
|
|
4139
|
-
}), this.$slots["menu-right-suffix"]?.({
|
|
4140
|
-
size: options.size
|
|
4141
|
-
}) ]), createVNode(DrawerSetting, {
|
|
4136
|
+
}), this.$slots["menu-right-suffix"]?.(slotProps) ]), createVNode(DrawerSetting, {
|
|
4142
4137
|
ref: drawerSettingRef
|
|
4143
4138
|
}, null) ]);
|
|
4144
4139
|
}
|
|
@@ -8555,7 +8550,7 @@ const zoomDialog = app => {
|
|
|
8555
8550
|
}));
|
|
8556
8551
|
}
|
|
8557
8552
|
});
|
|
8558
|
-
}, configProviderContextKey = Symbol("configProviderContextKey"), version = "0.5.
|
|
8553
|
+
}, configProviderContextKey = Symbol("configProviderContextKey"), version = "0.5.10", install = function(app, options) {
|
|
8559
8554
|
if (Object.keys(components).forEach((key => {
|
|
8560
8555
|
const component = components[key];
|
|
8561
8556
|
app.component(component.name, component);
|
|
@@ -8568,7 +8563,7 @@ const zoomDialog = app => {
|
|
|
8568
8563
|
};
|
|
8569
8564
|
|
|
8570
8565
|
var index = {
|
|
8571
|
-
version: "0.5.
|
|
8566
|
+
version: "0.5.10",
|
|
8572
8567
|
install: install
|
|
8573
8568
|
};
|
|
8574
8569
|
|