bm-admin-ui 1.1.3-alpha → 1.1.5-alpha
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/es/components/feedback/index.d.ts +1 -1
- package/es/components/feedback/src/bmModal.vue.d.ts +1 -1
- package/es/components/form-create/index.js +58 -53
- package/es/components/form-designer/index.js +2 -2
- package/es/components/staffs-selector/index.d.ts +2 -2
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +2 -2
- package/lib/components/feedback/index.d.ts +1 -1
- package/lib/components/feedback/src/bmModal.vue.d.ts +1 -1
- package/lib/components/form-create/index.js +58 -53
- package/lib/components/form-designer/index.js +2 -2
- package/lib/components/staffs-selector/index.d.ts +2 -2
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +2 -2
- package/package.json +1 -1
- package/types/components/feedback/index.d.ts +1 -1
- package/types/components/feedback/src/bmModal.vue.d.ts +1 -1
- package/types/components/staffs-selector/index.d.ts +2 -2
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +2 -2
|
@@ -232,7 +232,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
232
232
|
modalRender: import("vue").PropType<(arg: {
|
|
233
233
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
234
234
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
235
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
235
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
236
236
|
$attrs: {
|
|
237
237
|
[x: string]: unknown;
|
|
238
238
|
};
|
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
modalRender: import("vue").PropType<(arg: {
|
|
227
227
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
228
228
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
229
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
229
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
230
230
|
$attrs: {
|
|
231
231
|
[x: string]: unknown;
|
|
232
232
|
};
|
|
@@ -18767,7 +18767,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
18767
18767
|
const columns = reactive([]);
|
|
18768
18768
|
const data = reactive([]);
|
|
18769
18769
|
const config = computed(() => ({
|
|
18770
|
-
...props.rule?.config?.
|
|
18770
|
+
...props.rule?.config?.tableConfig,
|
|
18771
18771
|
columns: [...columns],
|
|
18772
18772
|
data: [...data],
|
|
18773
18773
|
columnConfig: {
|
|
@@ -19275,68 +19275,69 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19275
19275
|
createTextVNode(toDisplayString(__props.rule.title.title) + " ", 1),
|
|
19276
19276
|
createElementVNode("span", _hoisted_3$3, toDisplayString(unref(countText)), 1),
|
|
19277
19277
|
createElementVNode("div", _hoisted_4$3, [
|
|
19278
|
-
|
|
19279
|
-
|
|
19280
|
-
|
|
19281
|
-
|
|
19282
|
-
|
|
19283
|
-
|
|
19284
|
-
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19292
|
-
|
|
19293
|
-
|
|
19294
|
-
|
|
19295
|
-
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19278
|
+
!__props.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19279
|
+
unref(exportFeature) ? (openBlock(), createBlock(unref(Button), {
|
|
19280
|
+
key: 0,
|
|
19281
|
+
disabled: __props.disabled,
|
|
19282
|
+
onClick: handleExport
|
|
19283
|
+
}, {
|
|
19284
|
+
default: withCtx(() => [
|
|
19285
|
+
createTextVNode("\u5BFC\u51FA")
|
|
19286
|
+
]),
|
|
19287
|
+
_: 1
|
|
19288
|
+
}, 8, ["disabled"])) : createCommentVNode("v-if", true),
|
|
19289
|
+
createTextVNode("\xA0 "),
|
|
19290
|
+
unref(importFeature) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
19291
|
+
createElementVNode("input", {
|
|
19292
|
+
ref_key: "inputRef",
|
|
19293
|
+
ref: inputRef,
|
|
19294
|
+
style: { "display": "none" },
|
|
19295
|
+
name: "file",
|
|
19296
|
+
type: "file",
|
|
19297
|
+
accept: "text/csv",
|
|
19298
|
+
onChange: handleChange
|
|
19299
|
+
}, null, 544),
|
|
19300
|
+
createVNode(unref(Button), {
|
|
19301
|
+
disabled: __props.disabled,
|
|
19302
|
+
onClick: handleDownload
|
|
19303
|
+
}, {
|
|
19304
|
+
default: withCtx(() => [
|
|
19305
|
+
createTextVNode("\u4E0B\u8F7D\u6A21\u677F")
|
|
19306
|
+
]),
|
|
19307
|
+
_: 1
|
|
19308
|
+
}, 8, ["disabled"]),
|
|
19309
|
+
createVNode(unref(Button), {
|
|
19310
|
+
disabled: __props.disabled,
|
|
19311
|
+
onClick: handleImport
|
|
19312
|
+
}, {
|
|
19313
|
+
default: withCtx(() => [
|
|
19314
|
+
createTextVNode("\u6279\u91CF\u5BFC\u5165")
|
|
19315
|
+
]),
|
|
19316
|
+
_: 1
|
|
19317
|
+
}, 8, ["disabled"])
|
|
19318
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
19319
|
+
unref(deleteFeature) ? (openBlock(), createBlock(unref(Button), {
|
|
19320
|
+
key: 2,
|
|
19300
19321
|
disabled: __props.disabled,
|
|
19301
|
-
onClick:
|
|
19322
|
+
onClick: handleBatchDelete
|
|
19302
19323
|
}, {
|
|
19303
19324
|
default: withCtx(() => [
|
|
19304
|
-
createTextVNode("\
|
|
19325
|
+
createTextVNode("\u6279\u91CF\u5220\u9664")
|
|
19305
19326
|
]),
|
|
19306
19327
|
_: 1
|
|
19307
|
-
}, 8, ["disabled"]),
|
|
19328
|
+
}, 8, ["disabled"])) : createCommentVNode("v-if", true),
|
|
19308
19329
|
createVNode(unref(Button), {
|
|
19330
|
+
type: "primary",
|
|
19309
19331
|
disabled: __props.disabled,
|
|
19310
|
-
onClick:
|
|
19332
|
+
onClick: handleAdd
|
|
19311
19333
|
}, {
|
|
19312
19334
|
default: withCtx(() => [
|
|
19313
|
-
|
|
19335
|
+
createVNode(unref(PlusOutlined)),
|
|
19336
|
+
createTextVNode(" \u65B0\u589E ")
|
|
19314
19337
|
]),
|
|
19315
19338
|
_: 1
|
|
19316
19339
|
}, 8, ["disabled"])
|
|
19317
|
-
], 64)) : createCommentVNode("v-if", true)
|
|
19318
|
-
unref(deleteFeature) && !__props.hidden ? (openBlock(), createBlock(unref(Button), {
|
|
19319
|
-
key: 2,
|
|
19320
|
-
disabled: __props.disabled,
|
|
19321
|
-
onClick: handleBatchDelete
|
|
19322
|
-
}, {
|
|
19323
|
-
default: withCtx(() => [
|
|
19324
|
-
createTextVNode("\u6279\u91CF\u5220\u9664")
|
|
19325
|
-
]),
|
|
19326
|
-
_: 1
|
|
19327
|
-
}, 8, ["disabled"])) : createCommentVNode("v-if", true),
|
|
19328
|
-
!__props.hidden ? (openBlock(), createBlock(unref(Button), {
|
|
19329
|
-
key: 3,
|
|
19330
|
-
type: "primary",
|
|
19331
|
-
disabled: __props.disabled,
|
|
19332
|
-
onClick: handleAdd
|
|
19333
|
-
}, {
|
|
19334
|
-
default: withCtx(() => [
|
|
19335
|
-
createVNode(unref(PlusOutlined)),
|
|
19336
|
-
createTextVNode(" \u65B0\u589E ")
|
|
19337
|
-
]),
|
|
19338
|
-
_: 1
|
|
19339
|
-
}, 8, ["disabled"])) : createCommentVNode("v-if", true)
|
|
19340
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
19340
19341
|
])
|
|
19341
19342
|
]),
|
|
19342
19343
|
createElementVNode("div", _hoisted_5$3, [
|
|
@@ -21139,7 +21140,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21139
21140
|
"formPermissions",
|
|
21140
21141
|
"resolveRulesConfig"
|
|
21141
21142
|
],
|
|
21142
|
-
emits: ["update:value"],
|
|
21143
|
+
emits: ["update:value", "change"],
|
|
21143
21144
|
setup(__props, { expose, emit: emits }) {
|
|
21144
21145
|
const props = __props;
|
|
21145
21146
|
const formRuleList = computed(() => {
|
|
@@ -21299,6 +21300,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21299
21300
|
immediate: true
|
|
21300
21301
|
}
|
|
21301
21302
|
);
|
|
21303
|
+
function onChange(...reset) {
|
|
21304
|
+
emits("change", ...reset);
|
|
21305
|
+
}
|
|
21302
21306
|
expose({ fApi });
|
|
21303
21307
|
return (_ctx, _cache) => {
|
|
21304
21308
|
const _component_formCreate = resolveComponent("formCreate", true);
|
|
@@ -21313,7 +21317,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21313
21317
|
"model-value": __props.value,
|
|
21314
21318
|
option: unref(option),
|
|
21315
21319
|
rule: rule.value,
|
|
21316
|
-
"onUpdate:modelValue": handleValue
|
|
21320
|
+
"onUpdate:modelValue": handleValue,
|
|
21321
|
+
onChange
|
|
21317
21322
|
}, null, 8, ["api", "model-value", "option", "rule"])
|
|
21318
21323
|
], 64);
|
|
21319
21324
|
};
|
|
@@ -1879,11 +1879,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1879
1879
|
emits("mouseleave");
|
|
1880
1880
|
}
|
|
1881
1881
|
function emitSetActiveRuleEvt(rule) {
|
|
1882
|
+
if (rule?.config.immutable)
|
|
1883
|
+
return;
|
|
1882
1884
|
emits("set-active-rule", rule, tableRule.value);
|
|
1883
1885
|
}
|
|
1884
1886
|
function handleClick(element) {
|
|
1885
|
-
if (element?.config.immutable)
|
|
1886
|
-
return;
|
|
1887
1887
|
emitSetActiveRuleEvt(element);
|
|
1888
1888
|
}
|
|
1889
1889
|
function handleUpdate({ newIndex }) {
|
|
@@ -290,7 +290,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
290
290
|
modalRender: import("vue").PropType<(arg: {
|
|
291
291
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
292
292
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
293
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
293
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
294
294
|
$attrs: {
|
|
295
295
|
[x: string]: unknown;
|
|
296
296
|
};
|
|
@@ -1048,9 +1048,9 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1048
1048
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1049
1049
|
}, {
|
|
1050
1050
|
title: string;
|
|
1051
|
+
visible: boolean;
|
|
1051
1052
|
mode: string;
|
|
1052
1053
|
showCount: boolean;
|
|
1053
|
-
visible: boolean;
|
|
1054
1054
|
unitStr: string;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|
|
@@ -290,7 +290,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
290
|
modalRender: import("vue").PropType<(arg: {
|
|
291
291
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
292
292
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
293
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
293
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
294
294
|
$attrs: {
|
|
295
295
|
[x: string]: unknown;
|
|
296
296
|
};
|
|
@@ -1048,9 +1048,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1048
1048
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1049
1049
|
}, {
|
|
1050
1050
|
title: string;
|
|
1051
|
+
visible: boolean;
|
|
1051
1052
|
mode: string;
|
|
1052
1053
|
showCount: boolean;
|
|
1053
|
-
visible: boolean;
|
|
1054
1054
|
unitStr: string;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|
|
@@ -232,7 +232,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
232
232
|
modalRender: import("vue").PropType<(arg: {
|
|
233
233
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
234
234
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
235
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
235
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
236
236
|
$attrs: {
|
|
237
237
|
[x: string]: unknown;
|
|
238
238
|
};
|
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
modalRender: import("vue").PropType<(arg: {
|
|
227
227
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
228
228
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
229
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
229
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
230
230
|
$attrs: {
|
|
231
231
|
[x: string]: unknown;
|
|
232
232
|
};
|
|
@@ -18778,7 +18778,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18778
18778
|
const columns = vue.reactive([]);
|
|
18779
18779
|
const data = vue.reactive([]);
|
|
18780
18780
|
const config = vue.computed(() => ({
|
|
18781
|
-
...props.rule?.config?.
|
|
18781
|
+
...props.rule?.config?.tableConfig,
|
|
18782
18782
|
columns: [...columns],
|
|
18783
18783
|
data: [...data],
|
|
18784
18784
|
columnConfig: {
|
|
@@ -19286,68 +19286,69 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19286
19286
|
vue.createTextVNode(vue.toDisplayString(__props.rule.title.title) + " ", 1),
|
|
19287
19287
|
vue.createElementVNode("span", _hoisted_3$3, vue.toDisplayString(vue.unref(countText)), 1),
|
|
19288
19288
|
vue.createElementVNode("div", _hoisted_4$3, [
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19292
|
-
|
|
19293
|
-
|
|
19294
|
-
|
|
19295
|
-
vue.
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
vue.
|
|
19302
|
-
|
|
19303
|
-
|
|
19304
|
-
|
|
19305
|
-
|
|
19306
|
-
|
|
19307
|
-
|
|
19308
|
-
|
|
19309
|
-
|
|
19310
|
-
|
|
19289
|
+
!__props.hidden ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
19290
|
+
vue.unref(exportFeature) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), {
|
|
19291
|
+
key: 0,
|
|
19292
|
+
disabled: __props.disabled,
|
|
19293
|
+
onClick: handleExport
|
|
19294
|
+
}, {
|
|
19295
|
+
default: vue.withCtx(() => [
|
|
19296
|
+
vue.createTextVNode("\u5BFC\u51FA")
|
|
19297
|
+
]),
|
|
19298
|
+
_: 1
|
|
19299
|
+
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true),
|
|
19300
|
+
vue.createTextVNode("\xA0 "),
|
|
19301
|
+
vue.unref(importFeature) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
19302
|
+
vue.createElementVNode("input", {
|
|
19303
|
+
ref_key: "inputRef",
|
|
19304
|
+
ref: inputRef,
|
|
19305
|
+
style: { "display": "none" },
|
|
19306
|
+
name: "file",
|
|
19307
|
+
type: "file",
|
|
19308
|
+
accept: "text/csv",
|
|
19309
|
+
onChange: handleChange
|
|
19310
|
+
}, null, 544),
|
|
19311
|
+
vue.createVNode(vue.unref(antDesignVue.Button), {
|
|
19312
|
+
disabled: __props.disabled,
|
|
19313
|
+
onClick: handleDownload
|
|
19314
|
+
}, {
|
|
19315
|
+
default: vue.withCtx(() => [
|
|
19316
|
+
vue.createTextVNode("\u4E0B\u8F7D\u6A21\u677F")
|
|
19317
|
+
]),
|
|
19318
|
+
_: 1
|
|
19319
|
+
}, 8, ["disabled"]),
|
|
19320
|
+
vue.createVNode(vue.unref(antDesignVue.Button), {
|
|
19321
|
+
disabled: __props.disabled,
|
|
19322
|
+
onClick: handleImport
|
|
19323
|
+
}, {
|
|
19324
|
+
default: vue.withCtx(() => [
|
|
19325
|
+
vue.createTextVNode("\u6279\u91CF\u5BFC\u5165")
|
|
19326
|
+
]),
|
|
19327
|
+
_: 1
|
|
19328
|
+
}, 8, ["disabled"])
|
|
19329
|
+
], 64)) : vue.createCommentVNode("v-if", true),
|
|
19330
|
+
vue.unref(deleteFeature) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), {
|
|
19331
|
+
key: 2,
|
|
19311
19332
|
disabled: __props.disabled,
|
|
19312
|
-
onClick:
|
|
19333
|
+
onClick: handleBatchDelete
|
|
19313
19334
|
}, {
|
|
19314
19335
|
default: vue.withCtx(() => [
|
|
19315
|
-
vue.createTextVNode("\
|
|
19336
|
+
vue.createTextVNode("\u6279\u91CF\u5220\u9664")
|
|
19316
19337
|
]),
|
|
19317
19338
|
_: 1
|
|
19318
|
-
}, 8, ["disabled"]),
|
|
19339
|
+
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true),
|
|
19319
19340
|
vue.createVNode(vue.unref(antDesignVue.Button), {
|
|
19341
|
+
type: "primary",
|
|
19320
19342
|
disabled: __props.disabled,
|
|
19321
|
-
onClick:
|
|
19343
|
+
onClick: handleAdd
|
|
19322
19344
|
}, {
|
|
19323
19345
|
default: vue.withCtx(() => [
|
|
19324
|
-
vue.
|
|
19346
|
+
vue.createVNode(vue.unref(iconsVue.PlusOutlined)),
|
|
19347
|
+
vue.createTextVNode(" \u65B0\u589E ")
|
|
19325
19348
|
]),
|
|
19326
19349
|
_: 1
|
|
19327
19350
|
}, 8, ["disabled"])
|
|
19328
|
-
], 64)) : vue.createCommentVNode("v-if", true)
|
|
19329
|
-
vue.unref(deleteFeature) && !__props.hidden ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), {
|
|
19330
|
-
key: 2,
|
|
19331
|
-
disabled: __props.disabled,
|
|
19332
|
-
onClick: handleBatchDelete
|
|
19333
|
-
}, {
|
|
19334
|
-
default: vue.withCtx(() => [
|
|
19335
|
-
vue.createTextVNode("\u6279\u91CF\u5220\u9664")
|
|
19336
|
-
]),
|
|
19337
|
-
_: 1
|
|
19338
|
-
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true),
|
|
19339
|
-
!__props.hidden ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), {
|
|
19340
|
-
key: 3,
|
|
19341
|
-
type: "primary",
|
|
19342
|
-
disabled: __props.disabled,
|
|
19343
|
-
onClick: handleAdd
|
|
19344
|
-
}, {
|
|
19345
|
-
default: vue.withCtx(() => [
|
|
19346
|
-
vue.createVNode(vue.unref(iconsVue.PlusOutlined)),
|
|
19347
|
-
vue.createTextVNode(" \u65B0\u589E ")
|
|
19348
|
-
]),
|
|
19349
|
-
_: 1
|
|
19350
|
-
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true)
|
|
19351
|
+
], 64)) : vue.createCommentVNode("v-if", true)
|
|
19351
19352
|
])
|
|
19352
19353
|
]),
|
|
19353
19354
|
vue.createElementVNode("div", _hoisted_5$3, [
|
|
@@ -21150,7 +21151,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
21150
21151
|
"formPermissions",
|
|
21151
21152
|
"resolveRulesConfig"
|
|
21152
21153
|
],
|
|
21153
|
-
emits: ["update:value"],
|
|
21154
|
+
emits: ["update:value", "change"],
|
|
21154
21155
|
setup(__props, { expose, emit: emits }) {
|
|
21155
21156
|
const props = __props;
|
|
21156
21157
|
const formRuleList = vue.computed(() => {
|
|
@@ -21310,6 +21311,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
21310
21311
|
immediate: true
|
|
21311
21312
|
}
|
|
21312
21313
|
);
|
|
21314
|
+
function onChange(...reset) {
|
|
21315
|
+
emits("change", ...reset);
|
|
21316
|
+
}
|
|
21313
21317
|
expose({ fApi });
|
|
21314
21318
|
return (_ctx, _cache) => {
|
|
21315
21319
|
const _component_formCreate = vue.resolveComponent("formCreate", true);
|
|
@@ -21324,7 +21328,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
21324
21328
|
"model-value": __props.value,
|
|
21325
21329
|
option: vue.unref(option),
|
|
21326
21330
|
rule: rule.value,
|
|
21327
|
-
"onUpdate:modelValue": handleValue
|
|
21331
|
+
"onUpdate:modelValue": handleValue,
|
|
21332
|
+
onChange
|
|
21328
21333
|
}, null, 8, ["api", "model-value", "option", "rule"])
|
|
21329
21334
|
], 64);
|
|
21330
21335
|
};
|
|
@@ -1889,11 +1889,11 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1889
1889
|
emits("mouseleave");
|
|
1890
1890
|
}
|
|
1891
1891
|
function emitSetActiveRuleEvt(rule) {
|
|
1892
|
+
if (rule?.config.immutable)
|
|
1893
|
+
return;
|
|
1892
1894
|
emits("set-active-rule", rule, tableRule.value);
|
|
1893
1895
|
}
|
|
1894
1896
|
function handleClick(element) {
|
|
1895
|
-
if (element?.config.immutable)
|
|
1896
|
-
return;
|
|
1897
1897
|
emitSetActiveRuleEvt(element);
|
|
1898
1898
|
}
|
|
1899
1899
|
function handleUpdate({ newIndex }) {
|
|
@@ -290,7 +290,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
290
290
|
modalRender: import("vue").PropType<(arg: {
|
|
291
291
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
292
292
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
293
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
293
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
294
294
|
$attrs: {
|
|
295
295
|
[x: string]: unknown;
|
|
296
296
|
};
|
|
@@ -1048,9 +1048,9 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1048
1048
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1049
1049
|
}, {
|
|
1050
1050
|
title: string;
|
|
1051
|
+
visible: boolean;
|
|
1051
1052
|
mode: string;
|
|
1052
1053
|
showCount: boolean;
|
|
1053
|
-
visible: boolean;
|
|
1054
1054
|
unitStr: string;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|
|
@@ -290,7 +290,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
290
|
modalRender: import("vue").PropType<(arg: {
|
|
291
291
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
292
292
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
293
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
293
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
294
294
|
$attrs: {
|
|
295
295
|
[x: string]: unknown;
|
|
296
296
|
};
|
|
@@ -1048,9 +1048,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1048
1048
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1049
1049
|
}, {
|
|
1050
1050
|
title: string;
|
|
1051
|
+
visible: boolean;
|
|
1051
1052
|
mode: string;
|
|
1052
1053
|
showCount: boolean;
|
|
1053
|
-
visible: boolean;
|
|
1054
1054
|
unitStr: string;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|
package/package.json
CHANGED
|
@@ -232,7 +232,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
232
232
|
modalRender: import("vue").PropType<(arg: {
|
|
233
233
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
234
234
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
235
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
235
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
236
236
|
$attrs: {
|
|
237
237
|
[x: string]: unknown;
|
|
238
238
|
};
|
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
modalRender: import("vue").PropType<(arg: {
|
|
227
227
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
228
228
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
229
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
229
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
230
230
|
$attrs: {
|
|
231
231
|
[x: string]: unknown;
|
|
232
232
|
};
|
|
@@ -290,7 +290,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
290
290
|
modalRender: import("vue").PropType<(arg: {
|
|
291
291
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
292
292
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
293
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
293
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
294
294
|
$attrs: {
|
|
295
295
|
[x: string]: unknown;
|
|
296
296
|
};
|
|
@@ -1048,9 +1048,9 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1048
1048
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1049
1049
|
}, {
|
|
1050
1050
|
title: string;
|
|
1051
|
+
visible: boolean;
|
|
1051
1052
|
mode: string;
|
|
1052
1053
|
showCount: boolean;
|
|
1053
|
-
visible: boolean;
|
|
1054
1054
|
unitStr: string;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|
|
@@ -290,7 +290,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
290
|
modalRender: import("vue").PropType<(arg: {
|
|
291
291
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
292
292
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
293
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
293
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
294
294
|
$attrs: {
|
|
295
295
|
[x: string]: unknown;
|
|
296
296
|
};
|
|
@@ -1048,9 +1048,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1048
1048
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1049
1049
|
}, {
|
|
1050
1050
|
title: string;
|
|
1051
|
+
visible: boolean;
|
|
1051
1052
|
mode: string;
|
|
1052
1053
|
showCount: boolean;
|
|
1053
|
-
visible: boolean;
|
|
1054
1054
|
unitStr: string;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|