bm-admin-ui 1.0.48-alpha → 1.0.49-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/editor/index.d.ts +4 -4
- package/es/components/editor/src/editor.vue.d.ts +4 -4
- package/es/components/form-create/index.js +6 -11
- package/es/components/input-tags-display/index.d.ts +1 -1
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/es/components/search-filter/index.d.ts +2 -2
- package/es/components/search-filter/src/search-filter.vue.d.ts +2 -2
- package/es/components/select-all/index.d.ts +1 -1
- package/es/components/select-all/src/selectAll.vue.d.ts +1 -1
- 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/editor/index.d.ts +4 -4
- package/lib/components/editor/src/editor.vue.d.ts +4 -4
- package/lib/components/form-create/index.js +6 -11
- package/lib/components/input-tags-display/index.d.ts +1 -1
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/lib/components/search-filter/index.d.ts +2 -2
- package/lib/components/search-filter/src/search-filter.vue.d.ts +2 -2
- package/lib/components/select-all/index.d.ts +1 -1
- package/lib/components/select-all/src/selectAll.vue.d.ts +1 -1
- 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/editor/index.d.ts +4 -4
- package/types/components/editor/src/editor.vue.d.ts +4 -4
- package/types/components/input-tags-display/index.d.ts +1 -1
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/types/components/search-filter/index.d.ts +2 -2
- package/types/components/search-filter/src/search-filter.vue.d.ts +2 -2
- package/types/components/select-all/index.d.ts +1 -1
- package/types/components/select-all/src/selectAll.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
|
@@ -60,10 +60,10 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
63
64
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
@@ -287,10 +287,10 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
290
291
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
|
|
293
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
@@ -60,10 +60,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
63
64
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
@@ -287,10 +287,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
290
291
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
|
|
293
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
@@ -2273,12 +2273,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2273
2273
|
label: "name",
|
|
2274
2274
|
value: "code"
|
|
2275
2275
|
};
|
|
2276
|
-
const value = ref(props.value?.[fieldNames.value]);
|
|
2277
2276
|
const options = ref([]);
|
|
2278
2277
|
const keyword = ref("");
|
|
2279
|
-
const debounceFetch = debounce((
|
|
2278
|
+
const debounceFetch = debounce((value) => {
|
|
2280
2279
|
props.extraConfig.fetch(postData.value).then((data) => {
|
|
2281
|
-
if (
|
|
2280
|
+
if (value === keyword.value)
|
|
2282
2281
|
options.value = data;
|
|
2283
2282
|
});
|
|
2284
2283
|
}, 300);
|
|
@@ -2298,14 +2297,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2298
2297
|
...option
|
|
2299
2298
|
});
|
|
2300
2299
|
}
|
|
2301
|
-
function handleSearch(
|
|
2302
|
-
keyword.value =
|
|
2303
|
-
debounceFetch(
|
|
2300
|
+
function handleSearch(value) {
|
|
2301
|
+
keyword.value = value;
|
|
2302
|
+
debounceFetch(value);
|
|
2304
2303
|
}
|
|
2305
2304
|
initOptions();
|
|
2306
2305
|
return (_ctx, _cache) => {
|
|
2307
2306
|
return openBlock(), createBlock(unref(Select), {
|
|
2308
|
-
value: value.value,
|
|
2307
|
+
value: __props.formCreateInject?.rule?.value?.value || __props.value?.value,
|
|
2309
2308
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
2310
2309
|
"show-search": "",
|
|
2311
2310
|
"show-arrow": false,
|
|
@@ -2339,13 +2338,11 @@ var shop = {
|
|
|
2339
2338
|
props: {
|
|
2340
2339
|
dataFiltering: (_a = data.config) === null || _a === void 0 ? void 0 : _a.dataFiltering,
|
|
2341
2340
|
extraConfig: shopExtraConfig,
|
|
2342
|
-
value: data.value,
|
|
2343
2341
|
},
|
|
2344
2342
|
inject: true,
|
|
2345
2343
|
on: {
|
|
2346
2344
|
change(inject, value) {
|
|
2347
2345
|
const rule = inject.self;
|
|
2348
|
-
rule.props.value = value;
|
|
2349
2346
|
rule.value = value;
|
|
2350
2347
|
nextTick(() => {
|
|
2351
2348
|
setTimeout(() => {
|
|
@@ -2371,14 +2368,12 @@ var shop = {
|
|
|
2371
2368
|
props: {
|
|
2372
2369
|
dataFiltering: (_a = data.config) === null || _a === void 0 ? void 0 : _a.dataFiltering,
|
|
2373
2370
|
extraConfig: shopExtraConfig,
|
|
2374
|
-
value: data.value,
|
|
2375
2371
|
},
|
|
2376
2372
|
inject: true,
|
|
2377
2373
|
on: {
|
|
2378
2374
|
change(inject, value) {
|
|
2379
2375
|
const rule = inject.self;
|
|
2380
2376
|
rule.value = value;
|
|
2381
|
-
rule.props.value = value;
|
|
2382
2377
|
nextTick(() => {
|
|
2383
2378
|
setTimeout(() => {
|
|
2384
2379
|
inject.api.validateField(rule.field);
|
|
@@ -125,8 +125,8 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
125
125
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
disabled: boolean;
|
|
128
|
-
placeholder: string;
|
|
129
128
|
list: unknown[];
|
|
129
|
+
placeholder: string;
|
|
130
130
|
placement: string;
|
|
131
131
|
showEmpty: boolean;
|
|
132
132
|
showEmptyBtn: boolean;
|
|
@@ -123,8 +123,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
disabled: boolean;
|
|
126
|
-
placeholder: string;
|
|
127
126
|
list: unknown[];
|
|
127
|
+
placeholder: string;
|
|
128
128
|
placement: string;
|
|
129
129
|
showEmpty: boolean;
|
|
130
130
|
showEmptyBtn: boolean;
|
|
@@ -110,9 +110,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
110
110
|
default(): never[];
|
|
111
111
|
};
|
|
112
112
|
}>> & {
|
|
113
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
113
114
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
114
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
118
|
emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
|
|
@@ -212,9 +212,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
212
212
|
default(): never[];
|
|
213
213
|
};
|
|
214
214
|
}>> & {
|
|
215
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
215
216
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
216
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
loading: boolean;
|
|
@@ -110,9 +110,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
default(): never[];
|
|
111
111
|
};
|
|
112
112
|
}>> & {
|
|
113
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
113
114
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
114
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
118
|
emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
|
|
@@ -212,9 +212,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
212
|
default(): never[];
|
|
213
213
|
};
|
|
214
214
|
}>> & {
|
|
215
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
215
216
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
216
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
loading: boolean;
|
|
@@ -734,7 +734,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
734
734
|
readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
|
|
735
735
|
readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
736
736
|
};
|
|
737
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "update:value" | "onChange" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
738
738
|
value: {
|
|
739
739
|
type: ArrayConstructor;
|
|
740
740
|
required: true;
|
|
@@ -734,7 +734,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
734
734
|
readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
|
|
735
735
|
readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
736
736
|
};
|
|
737
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "update:value" | "onChange" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
738
738
|
value: {
|
|
739
739
|
type: ArrayConstructor;
|
|
740
740
|
required: true;
|
|
@@ -82,8 +82,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
}>> & {
|
|
85
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
|
|
@@ -1079,8 +1079,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
}>> & {
|
|
1082
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1083
1082
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1083
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
1086
|
title: string;
|
|
@@ -82,8 +82,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
}>> & {
|
|
85
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
|
|
@@ -1079,8 +1079,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
}>> & {
|
|
1082
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1083
1082
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1083
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
1086
|
title: string;
|
|
@@ -60,10 +60,10 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
63
64
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
@@ -287,10 +287,10 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
290
291
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
|
|
293
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
@@ -60,10 +60,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
63
64
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
@@ -287,10 +287,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
290
291
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
|
|
293
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
@@ -2283,12 +2283,11 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2283
2283
|
label: "name",
|
|
2284
2284
|
value: "code"
|
|
2285
2285
|
};
|
|
2286
|
-
const value = vue.ref(props.value?.[fieldNames.value]);
|
|
2287
2286
|
const options = vue.ref([]);
|
|
2288
2287
|
const keyword = vue.ref("");
|
|
2289
|
-
const debounceFetch = lodashEs.debounce((
|
|
2288
|
+
const debounceFetch = lodashEs.debounce((value) => {
|
|
2290
2289
|
props.extraConfig.fetch(postData.value).then((data) => {
|
|
2291
|
-
if (
|
|
2290
|
+
if (value === keyword.value)
|
|
2292
2291
|
options.value = data;
|
|
2293
2292
|
});
|
|
2294
2293
|
}, 300);
|
|
@@ -2308,14 +2307,14 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2308
2307
|
...option
|
|
2309
2308
|
});
|
|
2310
2309
|
}
|
|
2311
|
-
function handleSearch(
|
|
2312
|
-
keyword.value =
|
|
2313
|
-
debounceFetch(
|
|
2310
|
+
function handleSearch(value) {
|
|
2311
|
+
keyword.value = value;
|
|
2312
|
+
debounceFetch(value);
|
|
2314
2313
|
}
|
|
2315
2314
|
initOptions();
|
|
2316
2315
|
return (_ctx, _cache) => {
|
|
2317
2316
|
return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Select), {
|
|
2318
|
-
value: value.value,
|
|
2317
|
+
value: __props.formCreateInject?.rule?.value?.value || __props.value?.value,
|
|
2319
2318
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
2320
2319
|
"show-search": "",
|
|
2321
2320
|
"show-arrow": false,
|
|
@@ -2349,13 +2348,11 @@ var shop = {
|
|
|
2349
2348
|
props: {
|
|
2350
2349
|
dataFiltering: (_a = data.config) === null || _a === void 0 ? void 0 : _a.dataFiltering,
|
|
2351
2350
|
extraConfig: shopExtraConfig,
|
|
2352
|
-
value: data.value,
|
|
2353
2351
|
},
|
|
2354
2352
|
inject: true,
|
|
2355
2353
|
on: {
|
|
2356
2354
|
change(inject, value) {
|
|
2357
2355
|
const rule = inject.self;
|
|
2358
|
-
rule.props.value = value;
|
|
2359
2356
|
rule.value = value;
|
|
2360
2357
|
vue.nextTick(() => {
|
|
2361
2358
|
setTimeout(() => {
|
|
@@ -2381,14 +2378,12 @@ var shop = {
|
|
|
2381
2378
|
props: {
|
|
2382
2379
|
dataFiltering: (_a = data.config) === null || _a === void 0 ? void 0 : _a.dataFiltering,
|
|
2383
2380
|
extraConfig: shopExtraConfig,
|
|
2384
|
-
value: data.value,
|
|
2385
2381
|
},
|
|
2386
2382
|
inject: true,
|
|
2387
2383
|
on: {
|
|
2388
2384
|
change(inject, value) {
|
|
2389
2385
|
const rule = inject.self;
|
|
2390
2386
|
rule.value = value;
|
|
2391
|
-
rule.props.value = value;
|
|
2392
2387
|
vue.nextTick(() => {
|
|
2393
2388
|
setTimeout(() => {
|
|
2394
2389
|
inject.api.validateField(rule.field);
|
|
@@ -125,8 +125,8 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
125
125
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
disabled: boolean;
|
|
128
|
-
placeholder: string;
|
|
129
128
|
list: unknown[];
|
|
129
|
+
placeholder: string;
|
|
130
130
|
placement: string;
|
|
131
131
|
showEmpty: boolean;
|
|
132
132
|
showEmptyBtn: boolean;
|
|
@@ -123,8 +123,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
disabled: boolean;
|
|
126
|
-
placeholder: string;
|
|
127
126
|
list: unknown[];
|
|
127
|
+
placeholder: string;
|
|
128
128
|
placement: string;
|
|
129
129
|
showEmpty: boolean;
|
|
130
130
|
showEmptyBtn: boolean;
|
|
@@ -110,9 +110,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
110
110
|
default(): never[];
|
|
111
111
|
};
|
|
112
112
|
}>> & {
|
|
113
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
113
114
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
114
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
118
|
emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
|
|
@@ -212,9 +212,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
212
212
|
default(): never[];
|
|
213
213
|
};
|
|
214
214
|
}>> & {
|
|
215
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
215
216
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
216
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
loading: boolean;
|
|
@@ -110,9 +110,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
default(): never[];
|
|
111
111
|
};
|
|
112
112
|
}>> & {
|
|
113
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
113
114
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
114
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
118
|
emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
|
|
@@ -212,9 +212,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
212
|
default(): never[];
|
|
213
213
|
};
|
|
214
214
|
}>> & {
|
|
215
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
215
216
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
216
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
loading: boolean;
|
|
@@ -734,7 +734,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
734
734
|
readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
|
|
735
735
|
readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
736
736
|
};
|
|
737
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "update:value" | "onChange" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
738
738
|
value: {
|
|
739
739
|
type: ArrayConstructor;
|
|
740
740
|
required: true;
|
|
@@ -734,7 +734,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
734
734
|
readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
|
|
735
735
|
readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
736
736
|
};
|
|
737
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "update:value" | "onChange" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
738
738
|
value: {
|
|
739
739
|
type: ArrayConstructor;
|
|
740
740
|
required: true;
|
|
@@ -82,8 +82,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
}>> & {
|
|
85
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
|
|
@@ -1079,8 +1079,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
}>> & {
|
|
1082
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1083
1082
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1083
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
1086
|
title: string;
|
|
@@ -82,8 +82,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
}>> & {
|
|
85
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
|
|
@@ -1079,8 +1079,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
}>> & {
|
|
1082
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1083
1082
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1083
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
1086
|
title: string;
|
package/package.json
CHANGED
|
@@ -60,10 +60,10 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
63
64
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
@@ -287,10 +287,10 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
290
291
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
|
|
293
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
@@ -60,10 +60,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
63
64
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
@@ -287,10 +287,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
290
291
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
|
|
293
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
@@ -125,8 +125,8 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
125
125
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
disabled: boolean;
|
|
128
|
-
placeholder: string;
|
|
129
128
|
list: unknown[];
|
|
129
|
+
placeholder: string;
|
|
130
130
|
placement: string;
|
|
131
131
|
showEmpty: boolean;
|
|
132
132
|
showEmptyBtn: boolean;
|
|
@@ -123,8 +123,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
disabled: boolean;
|
|
126
|
-
placeholder: string;
|
|
127
126
|
list: unknown[];
|
|
127
|
+
placeholder: string;
|
|
128
128
|
placement: string;
|
|
129
129
|
showEmpty: boolean;
|
|
130
130
|
showEmptyBtn: boolean;
|
|
@@ -110,9 +110,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
110
110
|
default(): never[];
|
|
111
111
|
};
|
|
112
112
|
}>> & {
|
|
113
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
113
114
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
114
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
118
|
emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
|
|
@@ -212,9 +212,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
212
212
|
default(): never[];
|
|
213
213
|
};
|
|
214
214
|
}>> & {
|
|
215
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
215
216
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
216
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
loading: boolean;
|
|
@@ -110,9 +110,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
default(): never[];
|
|
111
111
|
};
|
|
112
112
|
}>> & {
|
|
113
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
113
114
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
114
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
118
|
emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
|
|
@@ -212,9 +212,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
212
|
default(): never[];
|
|
213
213
|
};
|
|
214
214
|
}>> & {
|
|
215
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
215
216
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
216
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
loading: boolean;
|
|
@@ -734,7 +734,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
734
734
|
readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
|
|
735
735
|
readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
736
736
|
};
|
|
737
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "update:value" | "onChange" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
738
738
|
value: {
|
|
739
739
|
type: ArrayConstructor;
|
|
740
740
|
required: true;
|
|
@@ -734,7 +734,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
734
734
|
readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
|
|
735
735
|
readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
736
736
|
};
|
|
737
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onSelectAll" | "onChange")[], "update:value" | "onChange" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
738
738
|
value: {
|
|
739
739
|
type: ArrayConstructor;
|
|
740
740
|
required: true;
|
|
@@ -82,8 +82,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
}>> & {
|
|
85
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
|
|
@@ -1079,8 +1079,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
}>> & {
|
|
1082
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1083
1082
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1083
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
1086
|
title: string;
|
|
@@ -82,8 +82,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
}>> & {
|
|
85
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
85
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
|
|
@@ -1079,8 +1079,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
}>> & {
|
|
1082
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1083
1082
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1083
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
1086
|
title: string;
|