bm-admin-ui 1.0.44-alpha → 1.0.45-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/button/index.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +1 -1
- package/es/components/editor/index.d.ts +1 -1
- package/es/components/editor/src/editor.vue.d.ts +1 -1
- package/es/components/form-create/index.js +12 -4
- package/es/components/search-filter/index.d.ts +3 -3
- package/es/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/es/components/select-all/index.d.ts +1 -1
- package/es/components/select-all/src/selectAll.vue.d.ts +1 -1
- package/index.esm.js +12 -4
- package/index.js +12 -4
- package/lib/components/button/index.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +1 -1
- package/lib/components/editor/index.d.ts +1 -1
- package/lib/components/editor/src/editor.vue.d.ts +1 -1
- package/lib/components/form-create/index.js +12 -4
- package/lib/components/search-filter/index.d.ts +3 -3
- package/lib/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/lib/components/select-all/index.d.ts +1 -1
- package/lib/components/select-all/src/selectAll.vue.d.ts +1 -1
- package/package.json +1 -1
- package/types/components/button/index.d.ts +1 -1
- package/types/components/button/src/button.vue.d.ts +1 -1
- package/types/components/editor/index.d.ts +1 -1
- package/types/components/editor/src/editor.vue.d.ts +1 -1
- package/types/components/search-filter/index.d.ts +3 -3
- package/types/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/types/components/select-all/index.d.ts +1 -1
- package/types/components/select-all/src/selectAll.vue.d.ts +1 -1
|
@@ -78,7 +78,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
78
78
|
onMousedown: {
|
|
79
79
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
80
80
|
};
|
|
81
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
81
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
|
|
82
82
|
$attrs: {
|
|
83
83
|
[x: string]: unknown;
|
|
84
84
|
};
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
onMousedown: {
|
|
81
81
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
82
82
|
};
|
|
83
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
83
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -293,8 +293,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
}, {
|
|
296
|
-
disabled: boolean;
|
|
297
296
|
value: string;
|
|
297
|
+
disabled: boolean;
|
|
298
298
|
options: {
|
|
299
299
|
[key: string]: any;
|
|
300
300
|
};
|
|
@@ -293,8 +293,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
}, {
|
|
296
|
-
disabled: boolean;
|
|
297
296
|
value: string;
|
|
297
|
+
disabled: boolean;
|
|
298
298
|
options: {
|
|
299
299
|
[key: string]: any;
|
|
300
300
|
};
|
|
@@ -2217,11 +2217,17 @@ var product = {
|
|
|
2217
2217
|
|
|
2218
2218
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2219
2219
|
__name: "shop-widget",
|
|
2220
|
-
props: [
|
|
2220
|
+
props: [
|
|
2221
|
+
"value",
|
|
2222
|
+
"extraConfig",
|
|
2223
|
+
"rule",
|
|
2224
|
+
"disabled",
|
|
2225
|
+
"formCreateInject"
|
|
2226
|
+
],
|
|
2221
2227
|
emits: ["change"],
|
|
2222
2228
|
setup(__props, { emit: emits }) {
|
|
2223
2229
|
const props = __props;
|
|
2224
|
-
const value = ref(props.value
|
|
2230
|
+
const value = ref(props.value?.value);
|
|
2225
2231
|
const options = ref([]);
|
|
2226
2232
|
const keyword = ref("");
|
|
2227
2233
|
const debounceFetch = debounce((value2) => {
|
|
@@ -2239,7 +2245,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2239
2245
|
options.value = data;
|
|
2240
2246
|
});
|
|
2241
2247
|
}
|
|
2242
|
-
function handleChange(
|
|
2248
|
+
function handleChange(val, option) {
|
|
2249
|
+
value.value = val;
|
|
2243
2250
|
emits("change", option);
|
|
2244
2251
|
}
|
|
2245
2252
|
function handleSearch(value2) {
|
|
@@ -2250,7 +2257,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2250
2257
|
return (_ctx, _cache) => {
|
|
2251
2258
|
return openBlock(), createBlock(unref(Select), {
|
|
2252
2259
|
value: value.value,
|
|
2253
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2254
2260
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
2255
2261
|
"show-search": "",
|
|
2256
2262
|
"show-arrow": false,
|
|
@@ -2290,6 +2296,7 @@ var shop = {
|
|
|
2290
2296
|
change(inject, value) {
|
|
2291
2297
|
const rule = inject.self;
|
|
2292
2298
|
rule.value = value;
|
|
2299
|
+
rule.props.value = value;
|
|
2293
2300
|
nextTick(() => {
|
|
2294
2301
|
setTimeout(() => {
|
|
2295
2302
|
inject.api.validateField(rule.field);
|
|
@@ -2320,6 +2327,7 @@ var shop = {
|
|
|
2320
2327
|
change(inject, value) {
|
|
2321
2328
|
const rule = inject.self;
|
|
2322
2329
|
rule.value = value;
|
|
2330
|
+
rule.props.value = value;
|
|
2323
2331
|
nextTick(() => {
|
|
2324
2332
|
setTimeout(() => {
|
|
2325
2333
|
inject.api.validateField(rule.field);
|
|
@@ -115,7 +115,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
115
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
|
-
emits: (event: "
|
|
118
|
+
emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
119
119
|
isExpand: import("vue").Ref<boolean>;
|
|
120
120
|
searchResetBtnRule: {
|
|
121
121
|
type: string;
|
|
@@ -156,7 +156,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
156
156
|
handleResize: () => void;
|
|
157
157
|
expandRule: import("vue").ComputedRef<unknown[]>;
|
|
158
158
|
handleChangeExpand: (value: any) => void;
|
|
159
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
159
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
160
|
showExpandBtn: {
|
|
161
161
|
type: BooleanConstructor;
|
|
162
162
|
default: boolean;
|
|
@@ -217,8 +217,8 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
217
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
loading: boolean;
|
|
221
220
|
value: Record<string, any>;
|
|
221
|
+
loading: boolean;
|
|
222
222
|
showExpandBtn: boolean;
|
|
223
223
|
showSearchIcon: boolean;
|
|
224
224
|
expandPlacement: "left" | "right";
|
|
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
|
-
emits: (event: "
|
|
118
|
+
emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
119
119
|
isExpand: import("vue").Ref<boolean>;
|
|
120
120
|
searchResetBtnRule: {
|
|
121
121
|
type: string;
|
|
@@ -156,7 +156,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
156
|
handleResize: () => void;
|
|
157
157
|
expandRule: import("vue").ComputedRef<unknown[]>;
|
|
158
158
|
handleChangeExpand: (value: any) => void;
|
|
159
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
159
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
160
|
showExpandBtn: {
|
|
161
161
|
type: BooleanConstructor;
|
|
162
162
|
default: boolean;
|
|
@@ -217,8 +217,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
loading: boolean;
|
|
221
220
|
value: Record<string, any>;
|
|
221
|
+
loading: boolean;
|
|
222
222
|
showExpandBtn: boolean;
|
|
223
223
|
showSearchIcon: boolean;
|
|
224
224
|
expandPlacement: "left" | "right";
|
|
@@ -210,7 +210,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
210
210
|
type: BooleanConstructor;
|
|
211
211
|
default: any;
|
|
212
212
|
};
|
|
213
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
213
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
|
@@ -210,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
210
|
type: BooleanConstructor;
|
|
211
211
|
default: any;
|
|
212
212
|
};
|
|
213
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
213
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
package/index.esm.js
CHANGED
|
@@ -56467,11 +56467,17 @@ var product$1 = {
|
|
|
56467
56467
|
|
|
56468
56468
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
56469
56469
|
__name: "shop-widget",
|
|
56470
|
-
props: [
|
|
56470
|
+
props: [
|
|
56471
|
+
"value",
|
|
56472
|
+
"extraConfig",
|
|
56473
|
+
"rule",
|
|
56474
|
+
"disabled",
|
|
56475
|
+
"formCreateInject"
|
|
56476
|
+
],
|
|
56471
56477
|
emits: ["change"],
|
|
56472
56478
|
setup(__props, { emit: emits }) {
|
|
56473
56479
|
const props = __props;
|
|
56474
|
-
const value = ref(props.value
|
|
56480
|
+
const value = ref(props.value?.value);
|
|
56475
56481
|
const options = ref([]);
|
|
56476
56482
|
const keyword = ref("");
|
|
56477
56483
|
const debounceFetch = debounce((value2) => {
|
|
@@ -56489,7 +56495,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
56489
56495
|
options.value = data;
|
|
56490
56496
|
});
|
|
56491
56497
|
}
|
|
56492
|
-
function handleChange(
|
|
56498
|
+
function handleChange(val, option) {
|
|
56499
|
+
value.value = val;
|
|
56493
56500
|
emits("change", option);
|
|
56494
56501
|
}
|
|
56495
56502
|
function handleSearch(value2) {
|
|
@@ -56500,7 +56507,6 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
56500
56507
|
return (_ctx, _cache) => {
|
|
56501
56508
|
return openBlock(), createBlock(unref(ASelect), {
|
|
56502
56509
|
value: value.value,
|
|
56503
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
56504
56510
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
56505
56511
|
"show-search": "",
|
|
56506
56512
|
"show-arrow": false,
|
|
@@ -56540,6 +56546,7 @@ var shop$1 = {
|
|
|
56540
56546
|
change(inject, value) {
|
|
56541
56547
|
const rule = inject.self;
|
|
56542
56548
|
rule.value = value;
|
|
56549
|
+
rule.props.value = value;
|
|
56543
56550
|
nextTick(() => {
|
|
56544
56551
|
setTimeout(() => {
|
|
56545
56552
|
inject.api.validateField(rule.field);
|
|
@@ -56570,6 +56577,7 @@ var shop$1 = {
|
|
|
56570
56577
|
change(inject, value) {
|
|
56571
56578
|
const rule = inject.self;
|
|
56572
56579
|
rule.value = value;
|
|
56580
|
+
rule.props.value = value;
|
|
56573
56581
|
nextTick(() => {
|
|
56574
56582
|
setTimeout(() => {
|
|
56575
56583
|
inject.api.validateField(rule.field);
|
package/index.js
CHANGED
|
@@ -56475,11 +56475,17 @@ var process = {
|
|
|
56475
56475
|
|
|
56476
56476
|
const _sfc_main$B = /* @__PURE__ */ require$$1$2.defineComponent({
|
|
56477
56477
|
__name: "shop-widget",
|
|
56478
|
-
props: [
|
|
56478
|
+
props: [
|
|
56479
|
+
"value",
|
|
56480
|
+
"extraConfig",
|
|
56481
|
+
"rule",
|
|
56482
|
+
"disabled",
|
|
56483
|
+
"formCreateInject"
|
|
56484
|
+
],
|
|
56479
56485
|
emits: ["change"],
|
|
56480
56486
|
setup(__props, { emit: emits }) {
|
|
56481
56487
|
const props = __props;
|
|
56482
|
-
const value = require$$1$2.ref(props.value
|
|
56488
|
+
const value = require$$1$2.ref(props.value?.value);
|
|
56483
56489
|
const options = require$$1$2.ref([]);
|
|
56484
56490
|
const keyword = require$$1$2.ref("");
|
|
56485
56491
|
const debounceFetch = debounce((value2) => {
|
|
@@ -56497,7 +56503,8 @@ var process = {
|
|
|
56497
56503
|
options.value = data;
|
|
56498
56504
|
});
|
|
56499
56505
|
}
|
|
56500
|
-
function handleChange(
|
|
56506
|
+
function handleChange(val, option) {
|
|
56507
|
+
value.value = val;
|
|
56501
56508
|
emits("change", option);
|
|
56502
56509
|
}
|
|
56503
56510
|
function handleSearch(value2) {
|
|
@@ -56508,7 +56515,6 @@ var process = {
|
|
|
56508
56515
|
return (_ctx, _cache) => {
|
|
56509
56516
|
return require$$1$2.openBlock(), require$$1$2.createBlock(require$$1$2.unref(ASelect), {
|
|
56510
56517
|
value: value.value,
|
|
56511
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
56512
56518
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
56513
56519
|
"show-search": "",
|
|
56514
56520
|
"show-arrow": false,
|
|
@@ -56548,6 +56554,7 @@ var process = {
|
|
|
56548
56554
|
change(inject, value) {
|
|
56549
56555
|
const rule = inject.self;
|
|
56550
56556
|
rule.value = value;
|
|
56557
|
+
rule.props.value = value;
|
|
56551
56558
|
require$$1$2.nextTick(() => {
|
|
56552
56559
|
setTimeout(() => {
|
|
56553
56560
|
inject.api.validateField(rule.field);
|
|
@@ -56578,6 +56585,7 @@ var process = {
|
|
|
56578
56585
|
change(inject, value) {
|
|
56579
56586
|
const rule = inject.self;
|
|
56580
56587
|
rule.value = value;
|
|
56588
|
+
rule.props.value = value;
|
|
56581
56589
|
require$$1$2.nextTick(() => {
|
|
56582
56590
|
setTimeout(() => {
|
|
56583
56591
|
inject.api.validateField(rule.field);
|
|
@@ -78,7 +78,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
78
78
|
onMousedown: {
|
|
79
79
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
80
80
|
};
|
|
81
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
81
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
|
|
82
82
|
$attrs: {
|
|
83
83
|
[x: string]: unknown;
|
|
84
84
|
};
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
onMousedown: {
|
|
81
81
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
82
82
|
};
|
|
83
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
83
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -293,8 +293,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
}, {
|
|
296
|
-
disabled: boolean;
|
|
297
296
|
value: string;
|
|
297
|
+
disabled: boolean;
|
|
298
298
|
options: {
|
|
299
299
|
[key: string]: any;
|
|
300
300
|
};
|
|
@@ -293,8 +293,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
}, {
|
|
296
|
-
disabled: boolean;
|
|
297
296
|
value: string;
|
|
297
|
+
disabled: boolean;
|
|
298
298
|
options: {
|
|
299
299
|
[key: string]: any;
|
|
300
300
|
};
|
|
@@ -2228,11 +2228,17 @@ var product = {
|
|
|
2228
2228
|
|
|
2229
2229
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
2230
2230
|
__name: "shop-widget",
|
|
2231
|
-
props: [
|
|
2231
|
+
props: [
|
|
2232
|
+
"value",
|
|
2233
|
+
"extraConfig",
|
|
2234
|
+
"rule",
|
|
2235
|
+
"disabled",
|
|
2236
|
+
"formCreateInject"
|
|
2237
|
+
],
|
|
2232
2238
|
emits: ["change"],
|
|
2233
2239
|
setup(__props, { emit: emits }) {
|
|
2234
2240
|
const props = __props;
|
|
2235
|
-
const value = vue.ref(props.value
|
|
2241
|
+
const value = vue.ref(props.value?.value);
|
|
2236
2242
|
const options = vue.ref([]);
|
|
2237
2243
|
const keyword = vue.ref("");
|
|
2238
2244
|
const debounceFetch = lodashEs.debounce((value2) => {
|
|
@@ -2250,7 +2256,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2250
2256
|
options.value = data;
|
|
2251
2257
|
});
|
|
2252
2258
|
}
|
|
2253
|
-
function handleChange(
|
|
2259
|
+
function handleChange(val, option) {
|
|
2260
|
+
value.value = val;
|
|
2254
2261
|
emits("change", option);
|
|
2255
2262
|
}
|
|
2256
2263
|
function handleSearch(value2) {
|
|
@@ -2261,7 +2268,6 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2261
2268
|
return (_ctx, _cache) => {
|
|
2262
2269
|
return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Select), {
|
|
2263
2270
|
value: value.value,
|
|
2264
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2265
2271
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
2266
2272
|
"show-search": "",
|
|
2267
2273
|
"show-arrow": false,
|
|
@@ -2301,6 +2307,7 @@ var shop = {
|
|
|
2301
2307
|
change(inject, value) {
|
|
2302
2308
|
const rule = inject.self;
|
|
2303
2309
|
rule.value = value;
|
|
2310
|
+
rule.props.value = value;
|
|
2304
2311
|
vue.nextTick(() => {
|
|
2305
2312
|
setTimeout(() => {
|
|
2306
2313
|
inject.api.validateField(rule.field);
|
|
@@ -2331,6 +2338,7 @@ var shop = {
|
|
|
2331
2338
|
change(inject, value) {
|
|
2332
2339
|
const rule = inject.self;
|
|
2333
2340
|
rule.value = value;
|
|
2341
|
+
rule.props.value = value;
|
|
2334
2342
|
vue.nextTick(() => {
|
|
2335
2343
|
setTimeout(() => {
|
|
2336
2344
|
inject.api.validateField(rule.field);
|
|
@@ -115,7 +115,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
115
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
|
-
emits: (event: "
|
|
118
|
+
emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
119
119
|
isExpand: import("vue").Ref<boolean>;
|
|
120
120
|
searchResetBtnRule: {
|
|
121
121
|
type: string;
|
|
@@ -156,7 +156,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
156
156
|
handleResize: () => void;
|
|
157
157
|
expandRule: import("vue").ComputedRef<unknown[]>;
|
|
158
158
|
handleChangeExpand: (value: any) => void;
|
|
159
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
159
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
160
|
showExpandBtn: {
|
|
161
161
|
type: BooleanConstructor;
|
|
162
162
|
default: boolean;
|
|
@@ -217,8 +217,8 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
217
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
loading: boolean;
|
|
221
220
|
value: Record<string, any>;
|
|
221
|
+
loading: boolean;
|
|
222
222
|
showExpandBtn: boolean;
|
|
223
223
|
showSearchIcon: boolean;
|
|
224
224
|
expandPlacement: "left" | "right";
|
|
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
|
-
emits: (event: "
|
|
118
|
+
emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
119
119
|
isExpand: import("vue").Ref<boolean>;
|
|
120
120
|
searchResetBtnRule: {
|
|
121
121
|
type: string;
|
|
@@ -156,7 +156,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
156
|
handleResize: () => void;
|
|
157
157
|
expandRule: import("vue").ComputedRef<unknown[]>;
|
|
158
158
|
handleChangeExpand: (value: any) => void;
|
|
159
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
159
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
160
|
showExpandBtn: {
|
|
161
161
|
type: BooleanConstructor;
|
|
162
162
|
default: boolean;
|
|
@@ -217,8 +217,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
loading: boolean;
|
|
221
220
|
value: Record<string, any>;
|
|
221
|
+
loading: boolean;
|
|
222
222
|
showExpandBtn: boolean;
|
|
223
223
|
showSearchIcon: boolean;
|
|
224
224
|
expandPlacement: "left" | "right";
|
|
@@ -210,7 +210,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
210
210
|
type: BooleanConstructor;
|
|
211
211
|
default: any;
|
|
212
212
|
};
|
|
213
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
213
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
|
@@ -210,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
210
|
type: BooleanConstructor;
|
|
211
211
|
default: any;
|
|
212
212
|
};
|
|
213
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
213
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
package/package.json
CHANGED
|
@@ -78,7 +78,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
78
78
|
onMousedown: {
|
|
79
79
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
80
80
|
};
|
|
81
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
81
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
|
|
82
82
|
$attrs: {
|
|
83
83
|
[x: string]: unknown;
|
|
84
84
|
};
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
onMousedown: {
|
|
81
81
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
82
82
|
};
|
|
83
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
83
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -293,8 +293,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
}, {
|
|
296
|
-
disabled: boolean;
|
|
297
296
|
value: string;
|
|
297
|
+
disabled: boolean;
|
|
298
298
|
options: {
|
|
299
299
|
[key: string]: any;
|
|
300
300
|
};
|
|
@@ -293,8 +293,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
}, {
|
|
296
|
-
disabled: boolean;
|
|
297
296
|
value: string;
|
|
297
|
+
disabled: boolean;
|
|
298
298
|
options: {
|
|
299
299
|
[key: string]: any;
|
|
300
300
|
};
|
|
@@ -115,7 +115,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
115
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
|
-
emits: (event: "
|
|
118
|
+
emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
119
119
|
isExpand: import("vue").Ref<boolean>;
|
|
120
120
|
searchResetBtnRule: {
|
|
121
121
|
type: string;
|
|
@@ -156,7 +156,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
156
156
|
handleResize: () => void;
|
|
157
157
|
expandRule: import("vue").ComputedRef<unknown[]>;
|
|
158
158
|
handleChangeExpand: (value: any) => void;
|
|
159
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
159
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
160
|
showExpandBtn: {
|
|
161
161
|
type: BooleanConstructor;
|
|
162
162
|
default: boolean;
|
|
@@ -217,8 +217,8 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
217
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
loading: boolean;
|
|
221
220
|
value: Record<string, any>;
|
|
221
|
+
loading: boolean;
|
|
222
222
|
showExpandBtn: boolean;
|
|
223
223
|
showSearchIcon: boolean;
|
|
224
224
|
expandPlacement: "left" | "right";
|
|
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
115
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
116
116
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
|
-
emits: (event: "
|
|
118
|
+
emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
119
119
|
isExpand: import("vue").Ref<boolean>;
|
|
120
120
|
searchResetBtnRule: {
|
|
121
121
|
type: string;
|
|
@@ -156,7 +156,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
156
|
handleResize: () => void;
|
|
157
157
|
expandRule: import("vue").ComputedRef<unknown[]>;
|
|
158
158
|
handleChangeExpand: (value: any) => void;
|
|
159
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
159
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
160
|
showExpandBtn: {
|
|
161
161
|
type: BooleanConstructor;
|
|
162
162
|
default: boolean;
|
|
@@ -217,8 +217,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
217
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
loading: boolean;
|
|
221
220
|
value: Record<string, any>;
|
|
221
|
+
loading: boolean;
|
|
222
222
|
showExpandBtn: boolean;
|
|
223
223
|
showSearchIcon: boolean;
|
|
224
224
|
expandPlacement: "left" | "right";
|
|
@@ -210,7 +210,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
210
210
|
type: BooleanConstructor;
|
|
211
211
|
default: any;
|
|
212
212
|
};
|
|
213
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
213
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
|
@@ -210,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
210
|
type: BooleanConstructor;
|
|
211
211
|
default: any;
|
|
212
212
|
};
|
|
213
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
213
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|