bm-admin-ui 1.0.50-alpha → 1.0.52-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/edit-form/index.d.ts +150 -0
- package/es/components/edit-form/index.js +1186 -0
- package/es/components/edit-form/src/composables/api.d.ts +13 -0
- package/es/components/edit-form/src/composables/config.d.ts +13 -0
- package/es/components/edit-form/src/composables/event.d.ts +10 -0
- package/es/components/edit-form/src/composables/utils.d.ts +12 -0
- package/es/components/edit-form/src/edit-form.vue.d.ts +148 -0
- package/es/components/edit-form/src/group.vue.d.ts +6 -0
- package/es/components/edit-form/src/props.d.ts +17 -0
- package/es/components/edit-form/src/types.d.ts +77 -0
- package/es/components/editor/index.d.ts +9 -9
- package/es/components/editor/src/editor.vue.d.ts +9 -9
- package/es/components/feedback/index.d.ts +7 -7
- package/es/components/feedback/src/bmAlert.vue.d.ts +4 -4
- package/es/components/feedback/src/bmModal.vue.d.ts +3 -3
- package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
- package/es/components/form-create/index.js +17 -11
- package/es/components/form-designer/index.js +39 -20
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -0
- package/es/components/input-tags-display/index.d.ts +3 -3
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +3 -3
- package/es/components/search-filter/index.d.ts +4 -4
- package/es/components/search-filter/src/search-filter.vue.d.ts +4 -4
- package/es/components/select-all/index.d.ts +13 -13
- package/es/components/select-all/src/selectAll.vue.d.ts +13 -13
- package/es/components/shops-filter/index.d.ts +1 -1
- package/es/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/es/components/staffs-selector/index.d.ts +3 -3
- package/es/components/staffs-selector/index.js +2 -2
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +3 -3
- package/es/components/timeline/index.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +1 -1
- package/lib/components/edit-form/index.d.ts +150 -0
- package/lib/components/edit-form/index.js +1195 -0
- package/lib/components/edit-form/src/composables/api.d.ts +13 -0
- package/lib/components/edit-form/src/composables/config.d.ts +13 -0
- package/lib/components/edit-form/src/composables/event.d.ts +10 -0
- package/lib/components/edit-form/src/composables/utils.d.ts +12 -0
- package/lib/components/edit-form/src/edit-form.vue.d.ts +148 -0
- package/lib/components/edit-form/src/group.vue.d.ts +6 -0
- package/lib/components/edit-form/src/props.d.ts +17 -0
- package/lib/components/edit-form/src/types.d.ts +77 -0
- package/lib/components/editor/index.d.ts +9 -9
- package/lib/components/editor/src/editor.vue.d.ts +9 -9
- package/lib/components/feedback/index.d.ts +7 -7
- package/lib/components/feedback/src/bmAlert.vue.d.ts +4 -4
- package/lib/components/feedback/src/bmModal.vue.d.ts +3 -3
- package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
- package/lib/components/form-create/index.js +17 -11
- package/lib/components/form-designer/index.js +29 -10
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +7 -0
- package/lib/components/input-tags-display/index.d.ts +3 -3
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +3 -3
- package/lib/components/search-filter/index.d.ts +4 -4
- package/lib/components/search-filter/src/search-filter.vue.d.ts +4 -4
- package/lib/components/select-all/index.d.ts +13 -13
- package/lib/components/select-all/src/selectAll.vue.d.ts +13 -13
- package/lib/components/shops-filter/index.d.ts +1 -1
- package/lib/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/lib/components/staffs-selector/index.d.ts +3 -3
- package/lib/components/staffs-selector/index.js +1 -1
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +3 -3
- package/lib/components/timeline/index.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/package.json +1 -1
- package/theme-chalk/edit-form.css +1 -0
- package/theme-chalk/index.css +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/edit-form/index.d.ts +150 -0
- package/types/components/edit-form/src/composables/api.d.ts +13 -0
- package/types/components/edit-form/src/composables/config.d.ts +13 -0
- package/types/components/edit-form/src/composables/event.d.ts +10 -0
- package/types/components/edit-form/src/composables/utils.d.ts +12 -0
- package/types/components/edit-form/src/edit-form.vue.d.ts +148 -0
- package/types/components/edit-form/src/group.vue.d.ts +6 -0
- package/types/components/edit-form/src/props.d.ts +17 -0
- package/types/components/edit-form/src/types.d.ts +77 -0
- package/types/components/editor/index.d.ts +9 -9
- package/types/components/editor/src/editor.vue.d.ts +9 -9
- package/types/components/feedback/index.d.ts +7 -7
- package/types/components/feedback/src/bmAlert.vue.d.ts +4 -4
- package/types/components/feedback/src/bmModal.vue.d.ts +3 -3
- package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
- package/types/components/index.d.ts +1 -0
- package/types/components/input-tags-display/index.d.ts +3 -3
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +3 -3
- package/types/components/search-filter/index.d.ts +4 -4
- package/types/components/search-filter/src/search-filter.vue.d.ts +4 -4
- package/types/components/select-all/index.d.ts +13 -13
- package/types/components/select-all/src/selectAll.vue.d.ts +13 -13
- package/types/components/shops-filter/index.d.ts +1 -1
- package/types/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/types/components/staffs-selector/index.d.ts +3 -3
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +3 -3
- package/types/components/timeline/index.d.ts +1 -1
- package/types/components/timeline/src/timeline-item.vue.d.ts +1 -1
|
@@ -1245,10 +1245,21 @@ var checkbox = {
|
|
|
1245
1245
|
const _hoisted_1$b = { class: "bm-default-date" };
|
|
1246
1246
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
1247
1247
|
__name: "default-date",
|
|
1248
|
-
props: [
|
|
1248
|
+
props: [
|
|
1249
|
+
"defaultRadioValue",
|
|
1250
|
+
"defalueDateValue",
|
|
1251
|
+
"formCreateInject"
|
|
1252
|
+
],
|
|
1249
1253
|
emits: ["change"],
|
|
1250
1254
|
setup(__props, { emit: emits }) {
|
|
1251
1255
|
const props = __props;
|
|
1256
|
+
const format = vue.computed(
|
|
1257
|
+
() => props.formCreateInject.api.getRule("props.format").value
|
|
1258
|
+
);
|
|
1259
|
+
const extraProps = vue.computed(() => ({
|
|
1260
|
+
picker: format.value === "YYYY-MM" ? "month" : "",
|
|
1261
|
+
showTime: format.value === "YYYY-MM-DD HH:mm"
|
|
1262
|
+
}));
|
|
1252
1263
|
const radioValue = vue.ref(props.defaultRadioValue);
|
|
1253
1264
|
const dateValue = vue.ref(props.defalueDateValue);
|
|
1254
1265
|
function emitChange(dateValue2) {
|
|
@@ -1263,6 +1274,9 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1263
1274
|
dateValue.value = date;
|
|
1264
1275
|
emitChange(date);
|
|
1265
1276
|
}
|
|
1277
|
+
watch(format, () => {
|
|
1278
|
+
handleDateChange("");
|
|
1279
|
+
});
|
|
1266
1280
|
return (_ctx, _cache) => {
|
|
1267
1281
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
|
|
1268
1282
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
@@ -1300,11 +1314,13 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1300
1314
|
key: 0,
|
|
1301
1315
|
style: { width: "100%", marginTop: "8px" },
|
|
1302
1316
|
value: dateValue.value,
|
|
1303
|
-
format:
|
|
1304
|
-
"value-format":
|
|
1317
|
+
format: vue.unref(format),
|
|
1318
|
+
"value-format": vue.unref(format),
|
|
1319
|
+
picker: vue.unref(extraProps).picker,
|
|
1320
|
+
"show-time": vue.unref(extraProps).showTime,
|
|
1305
1321
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
1306
1322
|
onChange: handleDateChange
|
|
1307
|
-
}, null, 8, ["value"])) : vue.createCommentVNode("v-if", true)
|
|
1323
|
+
}, null, 8, ["value", "format", "value-format", "picker", "show-time"])) : vue.createCommentVNode("v-if", true)
|
|
1308
1324
|
]),
|
|
1309
1325
|
_: 1
|
|
1310
1326
|
})
|
|
@@ -2738,8 +2754,15 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2738
2754
|
__name: "product-info",
|
|
2739
2755
|
props: ["formCreateInject"],
|
|
2740
2756
|
setup(__props) {
|
|
2757
|
+
const props = __props;
|
|
2758
|
+
const isInTable = vue.computed(
|
|
2759
|
+
() => props.formCreateInject.api.config.parentType === "TableWidget"
|
|
2760
|
+
);
|
|
2741
2761
|
return (_ctx, _cache) => {
|
|
2742
|
-
return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.
|
|
2762
|
+
return vue.unref(isInTable) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Input), {
|
|
2763
|
+
key: 0,
|
|
2764
|
+
placeholder: "\u8BF7\u8F93\u5165"
|
|
2765
|
+
})) : (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Row), { key: 1 }, {
|
|
2743
2766
|
default: vue.withCtx(() => [
|
|
2744
2767
|
vue.createVNode(vue.unref(antDesignVue.Col), {
|
|
2745
2768
|
class: "bm-product-info-item",
|
|
@@ -2768,7 +2791,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2768
2791
|
}), 128))
|
|
2769
2792
|
]),
|
|
2770
2793
|
_: 1
|
|
2771
|
-
});
|
|
2794
|
+
}));
|
|
2772
2795
|
};
|
|
2773
2796
|
}
|
|
2774
2797
|
});
|
|
@@ -3817,11 +3840,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3817
3840
|
rule.props.autoSize = true;
|
|
3818
3841
|
}
|
|
3819
3842
|
if (rule.config.config.name === "product" && parentType === WidgetType.TableWidget) {
|
|
3820
|
-
rule.type = "input";
|
|
3821
|
-
delete rule.component;
|
|
3822
3843
|
rule.title.title = "\u5546\u54C1\u7F16\u53F7";
|
|
3823
|
-
rule.props = {};
|
|
3824
|
-
rule.props.placeholder = "\u8BF7\u8F93\u5165";
|
|
3825
3844
|
}
|
|
3826
3845
|
}
|
|
3827
3846
|
});
|
package/lib/components/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var breadcrumb = require('./breadcrumb');
|
|
|
20
20
|
var editor = require('./editor');
|
|
21
21
|
var videoView = require('./videoView');
|
|
22
22
|
var attachment = require('./attachment');
|
|
23
|
+
var editForm = require('./edit-form');
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
|
|
@@ -131,3 +132,9 @@ Object.keys(attachment).forEach(function (k) {
|
|
|
131
132
|
get: function () { return attachment[k]; }
|
|
132
133
|
});
|
|
133
134
|
});
|
|
135
|
+
Object.keys(editForm).forEach(function (k) {
|
|
136
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return editForm[k]; }
|
|
139
|
+
});
|
|
140
|
+
});
|
|
@@ -125,15 +125,15 @@ 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
|
-
list: unknown[];
|
|
129
|
-
placeholder: string;
|
|
130
128
|
placement: string;
|
|
129
|
+
fieldNames: Record<string, any>;
|
|
130
|
+
placeholder: string;
|
|
131
|
+
list: unknown[];
|
|
131
132
|
showEmpty: boolean;
|
|
132
133
|
showEmptyBtn: boolean;
|
|
133
134
|
unitStr: string;
|
|
134
135
|
btnText: string;
|
|
135
136
|
toolTipProps: Record<string, any>;
|
|
136
|
-
fieldNames: Record<string, any>;
|
|
137
137
|
alwaysInvoke: boolean;
|
|
138
138
|
}>>;
|
|
139
139
|
export { BmTagsDisplay };
|
|
@@ -123,15 +123,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
disabled: boolean;
|
|
126
|
-
list: unknown[];
|
|
127
|
-
placeholder: string;
|
|
128
126
|
placement: string;
|
|
127
|
+
fieldNames: Record<string, any>;
|
|
128
|
+
placeholder: string;
|
|
129
|
+
list: unknown[];
|
|
129
130
|
showEmpty: boolean;
|
|
130
131
|
showEmptyBtn: boolean;
|
|
131
132
|
unitStr: string;
|
|
132
133
|
btnText: string;
|
|
133
134
|
toolTipProps: Record<string, any>;
|
|
134
|
-
fieldNames: Record<string, any>;
|
|
135
135
|
alwaysInvoke: boolean;
|
|
136
136
|
}>;
|
|
137
137
|
export default _default;
|
|
@@ -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;
|
|
114
113
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
115
114
|
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,13 +212,14 @@ 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;
|
|
216
215
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
217
216
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
|
|
220
|
+
labelCol: Record<string, any>;
|
|
221
221
|
value: Record<string, any>;
|
|
222
|
+
loading: boolean;
|
|
222
223
|
showExpandBtn: boolean;
|
|
223
224
|
showSearchIcon: boolean;
|
|
224
225
|
expandPlacement: "left" | "right";
|
|
@@ -226,7 +227,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
226
227
|
collapseText: string;
|
|
227
228
|
gutter: number[];
|
|
228
229
|
userRule: unknown[];
|
|
229
|
-
labelCol: Record<string, any>;
|
|
230
230
|
ruleSpan: Record<string, any>;
|
|
231
231
|
fixedCount: number;
|
|
232
232
|
fixedFields: string[];
|
|
@@ -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;
|
|
114
113
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
115
114
|
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,13 +212,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
212
|
default(): never[];
|
|
213
213
|
};
|
|
214
214
|
}>> & {
|
|
215
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
216
215
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
217
216
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
|
|
220
|
+
labelCol: Record<string, any>;
|
|
221
221
|
value: Record<string, any>;
|
|
222
|
+
loading: boolean;
|
|
222
223
|
showExpandBtn: boolean;
|
|
223
224
|
showSearchIcon: boolean;
|
|
224
225
|
expandPlacement: "left" | "right";
|
|
@@ -226,7 +227,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
227
|
collapseText: string;
|
|
227
228
|
gutter: number[];
|
|
228
229
|
userRule: unknown[];
|
|
229
|
-
labelCol: Record<string, any>;
|
|
230
230
|
ruleSpan: Record<string, any>;
|
|
231
231
|
fixedCount: number;
|
|
232
232
|
fixedFields: string[];
|
|
@@ -20,8 +20,8 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
20
20
|
};
|
|
21
21
|
}>> & {
|
|
22
22
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
24
23
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}>>;
|
|
26
26
|
state: {
|
|
27
27
|
search: {
|
|
@@ -30,7 +30,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
30
30
|
checkedReverse: boolean;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
emit: (event: "
|
|
33
|
+
emit: (event: "onChange" | "update:value" | "onSelectAll", ...args: any[]) => void;
|
|
34
34
|
selectValue: any;
|
|
35
35
|
selectAll: (e: any) => void;
|
|
36
36
|
reverseAll: (e: any) => false | undefined;
|
|
@@ -99,7 +99,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
99
99
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
100
100
|
prefixCls: StringConstructor;
|
|
101
101
|
direction: {
|
|
102
|
-
type: import("vue").PropType<"
|
|
102
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
103
103
|
};
|
|
104
104
|
open: {
|
|
105
105
|
type: BooleanConstructor;
|
|
@@ -124,7 +124,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
124
124
|
};
|
|
125
125
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
126
126
|
showAction: {
|
|
127
|
-
type: import("vue").PropType<("
|
|
127
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
128
128
|
};
|
|
129
129
|
id: StringConstructor;
|
|
130
130
|
placement: {
|
|
@@ -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, "bordered" | "choiceTransitionName" | "open" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
|
@@ -262,7 +262,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
262
262
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
263
263
|
prefixCls: StringConstructor;
|
|
264
264
|
direction: {
|
|
265
|
-
type: import("vue").PropType<"
|
|
265
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
266
266
|
};
|
|
267
267
|
open: {
|
|
268
268
|
type: BooleanConstructor;
|
|
@@ -287,7 +287,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
287
287
|
};
|
|
288
288
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
289
289
|
showAction: {
|
|
290
|
-
type: import("vue").PropType<("
|
|
290
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
291
291
|
};
|
|
292
292
|
id: StringConstructor;
|
|
293
293
|
placement: {
|
|
@@ -448,7 +448,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
448
448
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
449
449
|
prefixCls: StringConstructor;
|
|
450
450
|
direction: {
|
|
451
|
-
type: import("vue").PropType<"
|
|
451
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
452
452
|
};
|
|
453
453
|
open: {
|
|
454
454
|
type: BooleanConstructor;
|
|
@@ -473,7 +473,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
473
473
|
};
|
|
474
474
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
475
475
|
showAction: {
|
|
476
|
-
type: import("vue").PropType<("
|
|
476
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
477
477
|
};
|
|
478
478
|
id: StringConstructor;
|
|
479
479
|
placement: {
|
|
@@ -601,7 +601,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
601
601
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
602
602
|
prefixCls: StringConstructor;
|
|
603
603
|
direction: {
|
|
604
|
-
type: import("vue").PropType<"
|
|
604
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
605
605
|
};
|
|
606
606
|
open: {
|
|
607
607
|
type: BooleanConstructor;
|
|
@@ -626,7 +626,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
626
626
|
};
|
|
627
627
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
628
628
|
showAction: {
|
|
629
|
-
type: import("vue").PropType<("
|
|
629
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
630
630
|
};
|
|
631
631
|
id: StringConstructor;
|
|
632
632
|
placement: {
|
|
@@ -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, ("
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onChange" | "update:value" | "onSelectAll")[], "onChange" | "update:value" | "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;
|
|
@@ -745,8 +745,8 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
|
|
|
745
745
|
};
|
|
746
746
|
}>> & {
|
|
747
747
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
748
|
-
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
749
748
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
749
|
+
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
750
750
|
}, {
|
|
751
751
|
showSelectAll: boolean;
|
|
752
752
|
}>>;
|
|
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
};
|
|
21
21
|
}>> & {
|
|
22
22
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
24
23
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}>>;
|
|
26
26
|
state: {
|
|
27
27
|
search: {
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
checkedReverse: boolean;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
emit: (event: "
|
|
33
|
+
emit: (event: "onChange" | "update:value" | "onSelectAll", ...args: any[]) => void;
|
|
34
34
|
selectValue: any;
|
|
35
35
|
selectAll: (e: any) => void;
|
|
36
36
|
reverseAll: (e: any) => false | undefined;
|
|
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
99
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
100
100
|
prefixCls: StringConstructor;
|
|
101
101
|
direction: {
|
|
102
|
-
type: import("vue").PropType<"
|
|
102
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
103
103
|
};
|
|
104
104
|
open: {
|
|
105
105
|
type: BooleanConstructor;
|
|
@@ -124,7 +124,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
124
|
};
|
|
125
125
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
126
126
|
showAction: {
|
|
127
|
-
type: import("vue").PropType<("
|
|
127
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
128
128
|
};
|
|
129
129
|
id: StringConstructor;
|
|
130
130
|
placement: {
|
|
@@ -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, "bordered" | "choiceTransitionName" | "open" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
|
@@ -262,7 +262,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
262
262
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
263
263
|
prefixCls: StringConstructor;
|
|
264
264
|
direction: {
|
|
265
|
-
type: import("vue").PropType<"
|
|
265
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
266
266
|
};
|
|
267
267
|
open: {
|
|
268
268
|
type: BooleanConstructor;
|
|
@@ -287,7 +287,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
};
|
|
288
288
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
289
289
|
showAction: {
|
|
290
|
-
type: import("vue").PropType<("
|
|
290
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
291
291
|
};
|
|
292
292
|
id: StringConstructor;
|
|
293
293
|
placement: {
|
|
@@ -448,7 +448,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
448
448
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
449
449
|
prefixCls: StringConstructor;
|
|
450
450
|
direction: {
|
|
451
|
-
type: import("vue").PropType<"
|
|
451
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
452
452
|
};
|
|
453
453
|
open: {
|
|
454
454
|
type: BooleanConstructor;
|
|
@@ -473,7 +473,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
473
473
|
};
|
|
474
474
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
475
475
|
showAction: {
|
|
476
|
-
type: import("vue").PropType<("
|
|
476
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
477
477
|
};
|
|
478
478
|
id: StringConstructor;
|
|
479
479
|
placement: {
|
|
@@ -601,7 +601,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
601
601
|
onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
|
|
602
602
|
prefixCls: StringConstructor;
|
|
603
603
|
direction: {
|
|
604
|
-
type: import("vue").PropType<"
|
|
604
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
605
605
|
};
|
|
606
606
|
open: {
|
|
607
607
|
type: BooleanConstructor;
|
|
@@ -626,7 +626,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
626
626
|
};
|
|
627
627
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
628
628
|
showAction: {
|
|
629
|
-
type: import("vue").PropType<("
|
|
629
|
+
type: import("vue").PropType<("click" | "focus")[]>;
|
|
630
630
|
};
|
|
631
631
|
id: StringConstructor;
|
|
632
632
|
placement: {
|
|
@@ -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, ("
|
|
737
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onChange" | "update:value" | "onSelectAll")[], "onChange" | "update:value" | "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;
|
|
@@ -745,8 +745,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
745
745
|
};
|
|
746
746
|
}>> & {
|
|
747
747
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
748
|
-
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
749
748
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
749
|
+
onOnSelectAll?: ((...args: any[]) => any) | undefined;
|
|
750
750
|
}, {
|
|
751
751
|
showSelectAll: boolean;
|
|
752
752
|
}>;
|
|
@@ -89,11 +89,11 @@ declare const BmShopsFilter: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
89
89
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
90
90
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
}, {
|
|
92
|
+
loadData: Function;
|
|
92
93
|
labelTitle: string;
|
|
93
94
|
showAlways: boolean;
|
|
94
95
|
displayParams: Record<string, any>;
|
|
95
96
|
loadFilter: Function;
|
|
96
|
-
loadData: Function;
|
|
97
97
|
}>>;
|
|
98
98
|
export { BmShopsFilter };
|
|
99
99
|
export default BmShopsFilter;
|
|
@@ -89,10 +89,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
89
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
90
90
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
}, {
|
|
92
|
+
loadData: Function;
|
|
92
93
|
labelTitle: string;
|
|
93
94
|
showAlways: boolean;
|
|
94
95
|
displayParams: Record<string, any>;
|
|
95
96
|
loadFilter: Function;
|
|
96
|
-
loadData: Function;
|
|
97
97
|
}>;
|
|
98
98
|
export default _default;
|
|
@@ -291,7 +291,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
291
291
|
modalRender: import("vue").PropType<(arg: {
|
|
292
292
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
293
293
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
294
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "
|
|
294
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "keyboard" | "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
295
295
|
$attrs: {
|
|
296
296
|
[x: string]: unknown;
|
|
297
297
|
};
|
|
@@ -1083,11 +1083,11 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1083
1083
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
|
+
mode: string;
|
|
1087
|
+
showCount: boolean;
|
|
1086
1088
|
title: string;
|
|
1087
1089
|
visible: boolean;
|
|
1088
|
-
mode: string;
|
|
1089
1090
|
unitStr: string;
|
|
1090
|
-
showCount: boolean;
|
|
1091
1091
|
limit: number;
|
|
1092
1092
|
load: Function;
|
|
1093
1093
|
forceStatic: boolean;
|
|
@@ -86,7 +86,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const _sfc_main$3 = vue.defineComponent({
|
|
89
|
-
components: { SearchOutlined: iconsVue.SearchOutlined, Checkbox: antDesignVue.Checkbox, Empty: antDesignVue.Empty },
|
|
89
|
+
components: { SearchOutlined: iconsVue.SearchOutlined, Checkbox: antDesignVue.Checkbox, Empty: antDesignVue.Empty, ATree: antDesignVue.Tree },
|
|
90
90
|
props: {
|
|
91
91
|
limit: {
|
|
92
92
|
type: Number,
|
|
@@ -291,7 +291,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
291
291
|
modalRender: import("vue").PropType<(arg: {
|
|
292
292
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
293
293
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
294
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "
|
|
294
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "keyboard" | "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
295
295
|
$attrs: {
|
|
296
296
|
[x: string]: unknown;
|
|
297
297
|
};
|
|
@@ -1083,11 +1083,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1083
1083
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1084
1084
|
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
1085
1085
|
}, {
|
|
1086
|
+
mode: string;
|
|
1087
|
+
showCount: boolean;
|
|
1086
1088
|
title: string;
|
|
1087
1089
|
visible: boolean;
|
|
1088
|
-
mode: string;
|
|
1089
1090
|
unitStr: string;
|
|
1090
|
-
showCount: boolean;
|
|
1091
1091
|
limit: number;
|
|
1092
1092
|
load: Function;
|
|
1093
1093
|
forceStatic: boolean;
|