bm-admin-ui 1.1.8-alpha → 1.1.10-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/edit-form/index.d.ts +2 -2
- package/es/components/edit-form/src/edit-form.vue.d.ts +2 -2
- package/es/components/editor/index.d.ts +4 -4
- package/es/components/editor/src/editor.vue.d.ts +4 -4
- package/es/components/feedback/index.d.ts +4 -4
- package/es/components/feedback/src/bmAlert.vue.d.ts +4 -4
- package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
- package/es/components/form-create/index.js +20 -9
- package/es/components/form-designer/index.js +4 -2
- package/es/components/input-tags-display/index.d.ts +2 -2
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +2 -2
- package/es/components/search-filter/index.d.ts +1 -1
- package/es/components/search-filter/src/form-select-all.vue.d.ts +8 -8
- package/es/components/search-filter/src/search-filter.vue.d.ts +1 -1
- package/es/components/select-all/index.d.ts +10 -10
- package/es/components/select-all/src/selectAll.vue.d.ts +10 -10
- package/es/components/staffs-selector/index.d.ts +1 -1
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
- package/es/components/timeline/index.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/edit-form/index.d.ts +2 -2
- package/lib/components/edit-form/src/edit-form.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/feedback/index.d.ts +4 -4
- package/lib/components/feedback/src/bmAlert.vue.d.ts +4 -4
- package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
- package/lib/components/form-create/index.js +20 -9
- package/lib/components/form-designer/index.js +4 -2
- package/lib/components/input-tags-display/index.d.ts +2 -2
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +2 -2
- package/lib/components/search-filter/index.d.ts +1 -1
- package/lib/components/search-filter/src/form-select-all.vue.d.ts +8 -8
- package/lib/components/search-filter/src/search-filter.vue.d.ts +1 -1
- package/lib/components/select-all/index.d.ts +10 -10
- package/lib/components/select-all/src/selectAll.vue.d.ts +10 -10
- package/lib/components/staffs-selector/index.d.ts +1 -1
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
- 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/types/components/edit-form/index.d.ts +2 -2
- package/types/components/edit-form/src/edit-form.vue.d.ts +2 -2
- package/types/components/editor/index.d.ts +4 -4
- package/types/components/editor/src/editor.vue.d.ts +4 -4
- package/types/components/feedback/index.d.ts +4 -4
- package/types/components/feedback/src/bmAlert.vue.d.ts +4 -4
- package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
- package/types/components/input-tags-display/index.d.ts +2 -2
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +2 -2
- package/types/components/search-filter/index.d.ts +1 -1
- package/types/components/search-filter/src/form-select-all.vue.d.ts +8 -8
- package/types/components/search-filter/src/search-filter.vue.d.ts +1 -1
- package/types/components/select-all/index.d.ts +10 -10
- package/types/components/select-all/src/selectAll.vue.d.ts +10 -10
- package/types/components/staffs-selector/index.d.ts +1 -1
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
- package/types/components/timeline/index.d.ts +1 -1
- package/types/components/timeline/src/timeline-item.vue.d.ts +1 -1
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
searchList: never[];
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
emit: (event: "
|
|
34
|
+
emit: (event: "update:value" | "onChange" | "onSelectAll", ...args: any[]) => void;
|
|
35
35
|
selectValue: any;
|
|
36
36
|
selectAll: (e: any) => void;
|
|
37
37
|
checkAll: (select: any, key: any) => never[];
|
|
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
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>>;
|
|
104
104
|
prefixCls: StringConstructor;
|
|
105
105
|
direction: {
|
|
106
|
-
type: import("vue").PropType<"
|
|
106
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
107
107
|
};
|
|
108
108
|
open: {
|
|
109
109
|
type: BooleanConstructor;
|
|
@@ -128,7 +128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
};
|
|
129
129
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
130
130
|
showAction: {
|
|
131
|
-
type: import("vue").PropType<("
|
|
131
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
132
132
|
};
|
|
133
133
|
id: StringConstructor;
|
|
134
134
|
placement: {
|
|
@@ -266,7 +266,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
266
266
|
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>>;
|
|
267
267
|
prefixCls: StringConstructor;
|
|
268
268
|
direction: {
|
|
269
|
-
type: import("vue").PropType<"
|
|
269
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
270
270
|
};
|
|
271
271
|
open: {
|
|
272
272
|
type: BooleanConstructor;
|
|
@@ -291,7 +291,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
291
291
|
};
|
|
292
292
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
293
293
|
showAction: {
|
|
294
|
-
type: import("vue").PropType<("
|
|
294
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
295
295
|
};
|
|
296
296
|
id: StringConstructor;
|
|
297
297
|
placement: {
|
|
@@ -452,7 +452,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
452
452
|
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>>;
|
|
453
453
|
prefixCls: StringConstructor;
|
|
454
454
|
direction: {
|
|
455
|
-
type: import("vue").PropType<"
|
|
455
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
456
456
|
};
|
|
457
457
|
open: {
|
|
458
458
|
type: BooleanConstructor;
|
|
@@ -477,7 +477,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
477
477
|
};
|
|
478
478
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
479
479
|
showAction: {
|
|
480
|
-
type: import("vue").PropType<("
|
|
480
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
481
481
|
};
|
|
482
482
|
id: StringConstructor;
|
|
483
483
|
placement: {
|
|
@@ -605,7 +605,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
605
605
|
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>>;
|
|
606
606
|
prefixCls: StringConstructor;
|
|
607
607
|
direction: {
|
|
608
|
-
type: import("vue").PropType<"
|
|
608
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
609
609
|
};
|
|
610
610
|
open: {
|
|
611
611
|
type: BooleanConstructor;
|
|
@@ -630,7 +630,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
630
630
|
};
|
|
631
631
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
632
632
|
showAction: {
|
|
633
|
-
type: import("vue").PropType<("
|
|
633
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
634
634
|
};
|
|
635
635
|
id: StringConstructor;
|
|
636
636
|
placement: {
|
|
@@ -738,7 +738,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
738
738
|
readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
|
|
739
739
|
readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
740
740
|
};
|
|
741
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
741
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onChange" | "onSelectAll")[], "onChange" | "update:value" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
742
742
|
value: {
|
|
743
743
|
type: ArrayConstructor;
|
|
744
744
|
required: true;
|
|
@@ -1050,8 +1050,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1050
1050
|
visible: boolean;
|
|
1051
1051
|
title: string;
|
|
1052
1052
|
mode: string;
|
|
1053
|
-
showCount: boolean;
|
|
1054
1053
|
unitStr: string;
|
|
1054
|
+
showCount: boolean;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|
|
1057
1057
|
forceStatic: boolean;
|
|
@@ -1050,8 +1050,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1050
1050
|
visible: boolean;
|
|
1051
1051
|
title: string;
|
|
1052
1052
|
mode: string;
|
|
1053
|
-
showCount: boolean;
|
|
1054
1053
|
unitStr: string;
|
|
1054
|
+
showCount: boolean;
|
|
1055
1055
|
limit: number;
|
|
1056
1056
|
load: Function;
|
|
1057
1057
|
forceStatic: boolean;
|
|
@@ -48,7 +48,7 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
48
48
|
tmpForm: import("vue").Ref<Record<string, any>>;
|
|
49
49
|
formRef: import("vue").Ref<import("ant-design-vue").FormInstance | null>;
|
|
50
50
|
colCount: import("vue").ComputedRef<2 | 1 | 3>;
|
|
51
|
-
getValueOfOption: (key: string | undefined, defaultKey: "
|
|
51
|
+
getValueOfOption: (key: string | undefined, defaultKey: "value" | "label", option: any) => string;
|
|
52
52
|
getPopupContainer: (e: any) => any;
|
|
53
53
|
getColsConfig: (type: "labelCol" | "wrapperCol", item: import("./src/types").Control, index?: number | undefined) => {
|
|
54
54
|
flex?: string | undefined;
|
|
@@ -142,8 +142,8 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
142
142
|
"onKeyup:formItem"?: ((...args: any[]) => any) | undefined;
|
|
143
143
|
"onFocus:formItem"?: ((...args: any[]) => any) | undefined;
|
|
144
144
|
}, {
|
|
145
|
-
config: import("./src/types").FormConfig;
|
|
146
145
|
form: Record<string, any> | null;
|
|
146
|
+
config: import("./src/types").FormConfig;
|
|
147
147
|
groupRules: Record<string, import("ant-design-vue/lib/form").RuleObject | import("ant-design-vue/lib/form").RuleObject[] | undefined>;
|
|
148
148
|
}>>;
|
|
149
149
|
export { BmEditForm };
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
tmpForm: import("vue").Ref<Record<string, any>>;
|
|
48
48
|
formRef: import("vue").Ref<FormInstance | null>;
|
|
49
49
|
colCount: import("vue").ComputedRef<2 | 1 | 3>;
|
|
50
|
-
getValueOfOption: (key: string | undefined, defaultKey: "
|
|
50
|
+
getValueOfOption: (key: string | undefined, defaultKey: "value" | "label", option: any) => string;
|
|
51
51
|
getPopupContainer: (e: any) => any;
|
|
52
52
|
getColsConfig: (type: "labelCol" | "wrapperCol", item: import("./types").Control, index?: number | undefined) => {
|
|
53
53
|
flex?: string | undefined;
|
|
@@ -141,8 +141,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
141
|
"onKeyup:formItem"?: ((...args: any[]) => any) | undefined;
|
|
142
142
|
"onFocus:formItem"?: ((...args: any[]) => any) | undefined;
|
|
143
143
|
}, {
|
|
144
|
-
config: import("./types").FormConfig;
|
|
145
144
|
form: Record<string, any> | null;
|
|
145
|
+
config: import("./types").FormConfig;
|
|
146
146
|
groupRules: Record<string, import("ant-design-vue/lib/form").RuleObject | import("ant-design-vue/lib/form").RuleObject[] | undefined>;
|
|
147
147
|
}>;
|
|
148
148
|
export default _default;
|
|
@@ -63,8 +63,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
63
63
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
67
66
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
defaultOptions: {
|
|
@@ -105,7 +105,7 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
105
105
|
placeholder: string;
|
|
106
106
|
readOnly: boolean;
|
|
107
107
|
};
|
|
108
|
-
emits: (event: "
|
|
108
|
+
emits: (event: "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", ...args: any[]) => void;
|
|
109
109
|
state: {
|
|
110
110
|
editorOption: {};
|
|
111
111
|
quill: null;
|
|
@@ -256,7 +256,7 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
256
256
|
pictureFileTypes: import("vue").Ref<string[]>;
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
259
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ready" | "change" | "blur" | "focus" | "update:value" | "getCount")[], "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
260
260
|
value: import("vue-types").VueTypeValidableDef<string> & {
|
|
261
261
|
default: string;
|
|
262
262
|
} & {
|
|
@@ -290,8 +290,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
290
290
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
291
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
293
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
disabled: boolean;
|
|
@@ -63,8 +63,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
67
66
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
defaultOptions: {
|
|
@@ -105,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
105
|
placeholder: string;
|
|
106
106
|
readOnly: boolean;
|
|
107
107
|
};
|
|
108
|
-
emits: (event: "
|
|
108
|
+
emits: (event: "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", ...args: any[]) => void;
|
|
109
109
|
state: {
|
|
110
110
|
editorOption: {};
|
|
111
111
|
quill: null;
|
|
@@ -256,7 +256,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
256
256
|
pictureFileTypes: import("vue").Ref<string[]>;
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
259
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ready" | "change" | "blur" | "focus" | "update:value" | "getCount")[], "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
260
260
|
value: import("vue-types").VueTypeValidableDef<string> & {
|
|
261
261
|
default: string;
|
|
262
262
|
} & {
|
|
@@ -290,8 +290,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
290
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
291
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
293
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
disabled: boolean;
|
|
@@ -880,7 +880,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
880
880
|
closable: boolean;
|
|
881
881
|
banner: boolean;
|
|
882
882
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
883
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
883
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
884
884
|
closable: {
|
|
885
885
|
type: BooleanConstructor;
|
|
886
886
|
default: any;
|
|
@@ -916,7 +916,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
916
916
|
$emit: (event: string, ...args: any[]) => void;
|
|
917
917
|
$el: any;
|
|
918
918
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
919
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
919
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
920
920
|
closable: {
|
|
921
921
|
type: BooleanConstructor;
|
|
922
922
|
default: any;
|
|
@@ -962,7 +962,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
962
962
|
$nextTick: typeof import("vue").nextTick;
|
|
963
963
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
964
964
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
965
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
965
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
966
966
|
closable: {
|
|
967
967
|
type: BooleanConstructor;
|
|
968
968
|
default: any;
|
|
@@ -988,7 +988,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
988
988
|
__isTeleport?: undefined;
|
|
989
989
|
__isSuspense?: undefined;
|
|
990
990
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
991
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
991
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
992
992
|
closable: {
|
|
993
993
|
type: BooleanConstructor;
|
|
994
994
|
default: any;
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
closable: boolean;
|
|
37
37
|
banner: boolean;
|
|
38
38
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
39
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
40
40
|
closable: {
|
|
41
41
|
type: BooleanConstructor;
|
|
42
42
|
default: any;
|
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
$emit: (event: string, ...args: any[]) => void;
|
|
73
73
|
$el: any;
|
|
74
74
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
75
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
76
76
|
closable: {
|
|
77
77
|
type: BooleanConstructor;
|
|
78
78
|
default: any;
|
|
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
$nextTick: typeof import("vue").nextTick;
|
|
119
119
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
120
120
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
121
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
122
122
|
closable: {
|
|
123
123
|
type: BooleanConstructor;
|
|
124
124
|
default: any;
|
|
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
144
|
__isTeleport?: undefined;
|
|
145
145
|
__isSuspense?: undefined;
|
|
146
146
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
147
|
-
type: import("vue-types").VueTypeDef<"info" | "
|
|
147
|
+
type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
|
|
148
148
|
closable: {
|
|
149
149
|
type: BooleanConstructor;
|
|
150
150
|
default: any;
|
|
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
72
72
|
prefixCls: StringConstructor;
|
|
73
73
|
color: {
|
|
74
|
-
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "
|
|
74
|
+
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
|
|
75
75
|
};
|
|
76
76
|
closable: {
|
|
77
77
|
type: BooleanConstructor;
|
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
105
105
|
prefixCls: StringConstructor;
|
|
106
106
|
color: {
|
|
107
|
-
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "
|
|
107
|
+
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
|
|
108
108
|
};
|
|
109
109
|
closable: {
|
|
110
110
|
type: BooleanConstructor;
|
|
@@ -146,7 +146,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
146
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
147
147
|
prefixCls: StringConstructor;
|
|
148
148
|
color: {
|
|
149
|
-
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "
|
|
149
|
+
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
|
|
150
150
|
};
|
|
151
151
|
closable: {
|
|
152
152
|
type: BooleanConstructor;
|
|
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
169
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
170
170
|
prefixCls: StringConstructor;
|
|
171
171
|
color: {
|
|
172
|
-
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "
|
|
172
|
+
type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
|
|
173
173
|
};
|
|
174
174
|
closable: {
|
|
175
175
|
type: BooleanConstructor;
|
|
@@ -18935,10 +18935,14 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
18935
18935
|
}
|
|
18936
18936
|
}
|
|
18937
18937
|
];
|
|
18938
|
-
if (tableConfig.value?.system === "productCenter" && [
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
18938
|
+
if (tableConfig.value?.system === "productCenter" && [
|
|
18939
|
+
"F2CTemplate",
|
|
18940
|
+
"B2CTemplate",
|
|
18941
|
+
"DistributeTemp",
|
|
18942
|
+
"FreshTemplate",
|
|
18943
|
+
"activityApply"
|
|
18944
|
+
].includes(tableConfig.value.template) && rule.name === "product") {
|
|
18945
|
+
columns2[0].title = "\u5546\u54C1\u7F16\u53F7";
|
|
18942
18946
|
}
|
|
18943
18947
|
if (associatedFields.length) {
|
|
18944
18948
|
associatedFields.forEach((item) => {
|
|
@@ -19052,9 +19056,13 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
19052
19056
|
});
|
|
19053
19057
|
}
|
|
19054
19058
|
function processOtherAssociatedFields(field, fields, row, result) {
|
|
19055
|
-
if (tableConfig.value?.system === "productCenter" && [
|
|
19056
|
-
|
|
19057
|
-
|
|
19059
|
+
if (tableConfig.value?.system === "productCenter" && [
|
|
19060
|
+
"F2CTemplate",
|
|
19061
|
+
"B2CTemplate",
|
|
19062
|
+
"DistributeTemp",
|
|
19063
|
+
"FreshTemplate",
|
|
19064
|
+
"activityApply"
|
|
19065
|
+
].includes(tableConfig.value.template)) {
|
|
19058
19066
|
fields?.forEach?.((item) => {
|
|
19059
19067
|
row[item] = result ? result[item] : void 0;
|
|
19060
19068
|
});
|
|
@@ -19301,7 +19309,7 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
19301
19309
|
);
|
|
19302
19310
|
}
|
|
19303
19311
|
function importDisabled() {
|
|
19304
|
-
return productInputSlots.filter((item) => item.config?.dataFiltering).some((item) => !formData.value[item.config.dataFiltering]);
|
|
19312
|
+
return productInputSlots.filter((item) => item.config?.dataFiltering).some((item) => !formData.value[item.config.dataFiltering]) || props.rule?.config?.dataFiltering && !formData.value[props.rule?.config?.dataFiltering];
|
|
19305
19313
|
}
|
|
19306
19314
|
vue.watch(
|
|
19307
19315
|
() => props.rule,
|
|
@@ -19368,7 +19376,9 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
19368
19376
|
buttonLoadingForProductCenter.value.import = true;
|
|
19369
19377
|
let res = await props.extraConfig.table?.importFetch?.({
|
|
19370
19378
|
tableConfig: tableConfig.value,
|
|
19371
|
-
columns: validColumns.value
|
|
19379
|
+
columns: validColumns.value,
|
|
19380
|
+
filterByShopcode: props.rule?.config?.dataFiltering,
|
|
19381
|
+
dataFile: e.target.files?.[0]
|
|
19372
19382
|
}) || {};
|
|
19373
19383
|
if (res.promptMessage && !await utils__default["default"].confirmModal(res.promptMessage)) {
|
|
19374
19384
|
return;
|
|
@@ -19428,6 +19438,7 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
19428
19438
|
console.log("\u{1F680} ~ error:", error);
|
|
19429
19439
|
} finally {
|
|
19430
19440
|
buttonLoadingForProductCenter.value.import = false;
|
|
19441
|
+
e.target.value = "";
|
|
19431
19442
|
}
|
|
19432
19443
|
}
|
|
19433
19444
|
return (_ctx, _cache) => {
|
|
@@ -4003,7 +4003,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4003
4003
|
}
|
|
4004
4004
|
}
|
|
4005
4005
|
function moveMenuItem(evt) {
|
|
4006
|
-
return props?.dragCheckFunc(evt?.dragged?._underlying_vm_) && checkDragMove(evt);
|
|
4006
|
+
return props?.dragCheckFunc(evt?.dragged?._underlying_vm_?.config?.config) && checkDragMove(evt);
|
|
4007
4007
|
}
|
|
4008
4008
|
function moveFormItem(evt) {
|
|
4009
4009
|
return props?.dragCheckFunc(evt?.dragged?._underlying_vm_) && checkDragMove(evt);
|
|
@@ -4030,7 +4030,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4030
4030
|
const rule = makeRule(config);
|
|
4031
4031
|
const activeParentRuleName = activeParentRule.value?.config?.config?.name;
|
|
4032
4032
|
if (!widgetNamesRowAccept.includes(config.name) && activeParentRuleName === "row" || !Object.keys(widgetsTableAccept).includes(config.name) && activeParentRuleName === "table") {
|
|
4033
|
-
disabledTip(activeParentRule.value
|
|
4033
|
+
disabledTip(activeParentRule.value?.config?.config?.name);
|
|
4034
|
+
} else if (!props?.dragCheckFunc(config)) {
|
|
4035
|
+
return;
|
|
4034
4036
|
} else {
|
|
4035
4037
|
const index = activeRuleInList.value.findIndex(
|
|
4036
4038
|
(item) => item.field === activeRule.value.field
|
|
@@ -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
|
-
placement: string;
|
|
129
|
-
fieldNames: Record<string, any>;
|
|
130
128
|
placeholder: string;
|
|
131
129
|
list: unknown[];
|
|
130
|
+
placement: string;
|
|
132
131
|
showEmpty: boolean;
|
|
133
132
|
showEmptyBtn: boolean;
|
|
134
133
|
unitStr: string;
|
|
135
134
|
btnText: string;
|
|
136
135
|
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
|
-
placement: string;
|
|
127
|
-
fieldNames: Record<string, any>;
|
|
128
126
|
placeholder: string;
|
|
129
127
|
list: unknown[];
|
|
128
|
+
placement: string;
|
|
130
129
|
showEmpty: boolean;
|
|
131
130
|
showEmptyBtn: boolean;
|
|
132
131
|
unitStr: string;
|
|
133
132
|
btnText: string;
|
|
134
133
|
toolTipProps: Record<string, any>;
|
|
134
|
+
fieldNames: Record<string, any>;
|
|
135
135
|
alwaysInvoke: boolean;
|
|
136
136
|
}>;
|
|
137
137
|
export default _default;
|
|
@@ -287,7 +287,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
287
287
|
onSetDefault?: ((...args: any[]) => any) | undefined;
|
|
288
288
|
}, {
|
|
289
289
|
loading: boolean;
|
|
290
|
-
labelCol: Record<string, any>;
|
|
291
290
|
value: Record<string, any>;
|
|
292
291
|
showExpandBtn: boolean;
|
|
293
292
|
showSearchIcon: boolean;
|
|
@@ -301,6 +300,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
301
300
|
setDefaultConfirmConfig: Record<string, any>;
|
|
302
301
|
gutter: number[];
|
|
303
302
|
userRule: unknown[];
|
|
303
|
+
labelCol: Record<string, any>;
|
|
304
304
|
ruleSpan: Record<string, any>;
|
|
305
305
|
fixedCount: number;
|
|
306
306
|
fixedFields: string[];
|
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
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>>;
|
|
105
105
|
prefixCls: StringConstructor;
|
|
106
106
|
direction: {
|
|
107
|
-
type: import("vue").PropType<"
|
|
107
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
108
108
|
};
|
|
109
109
|
open: {
|
|
110
110
|
type: BooleanConstructor;
|
|
@@ -129,7 +129,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
129
|
};
|
|
130
130
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
131
131
|
showAction: {
|
|
132
|
-
type: import("vue").PropType<("
|
|
132
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
133
133
|
};
|
|
134
134
|
id: StringConstructor;
|
|
135
135
|
placement: {
|
|
@@ -267,7 +267,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
267
267
|
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>>;
|
|
268
268
|
prefixCls: StringConstructor;
|
|
269
269
|
direction: {
|
|
270
|
-
type: import("vue").PropType<"
|
|
270
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
271
271
|
};
|
|
272
272
|
open: {
|
|
273
273
|
type: BooleanConstructor;
|
|
@@ -292,7 +292,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
292
292
|
};
|
|
293
293
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
294
294
|
showAction: {
|
|
295
|
-
type: import("vue").PropType<("
|
|
295
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
296
296
|
};
|
|
297
297
|
id: StringConstructor;
|
|
298
298
|
placement: {
|
|
@@ -453,7 +453,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
453
453
|
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>>;
|
|
454
454
|
prefixCls: StringConstructor;
|
|
455
455
|
direction: {
|
|
456
|
-
type: import("vue").PropType<"
|
|
456
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
457
457
|
};
|
|
458
458
|
open: {
|
|
459
459
|
type: BooleanConstructor;
|
|
@@ -478,7 +478,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
478
478
|
};
|
|
479
479
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
480
480
|
showAction: {
|
|
481
|
-
type: import("vue").PropType<("
|
|
481
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
482
482
|
};
|
|
483
483
|
id: StringConstructor;
|
|
484
484
|
placement: {
|
|
@@ -606,7 +606,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
606
606
|
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>>;
|
|
607
607
|
prefixCls: StringConstructor;
|
|
608
608
|
direction: {
|
|
609
|
-
type: import("vue").PropType<"
|
|
609
|
+
type: import("vue").PropType<"rtl" | "ltr">;
|
|
610
610
|
};
|
|
611
611
|
open: {
|
|
612
612
|
type: BooleanConstructor;
|
|
@@ -631,7 +631,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
631
631
|
};
|
|
632
632
|
children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
|
|
633
633
|
showAction: {
|
|
634
|
-
type: import("vue").PropType<("
|
|
634
|
+
type: import("vue").PropType<("focus" | "click")[]>;
|
|
635
635
|
};
|
|
636
636
|
id: StringConstructor;
|
|
637
637
|
placement: {
|
|
@@ -287,7 +287,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
onSetDefault?: ((...args: any[]) => any) | undefined;
|
|
288
288
|
}, {
|
|
289
289
|
loading: boolean;
|
|
290
|
-
labelCol: Record<string, any>;
|
|
291
290
|
value: Record<string, any>;
|
|
292
291
|
showExpandBtn: boolean;
|
|
293
292
|
showSearchIcon: boolean;
|
|
@@ -301,6 +300,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
301
300
|
setDefaultConfirmConfig: Record<string, any>;
|
|
302
301
|
gutter: number[];
|
|
303
302
|
userRule: unknown[];
|
|
303
|
+
labelCol: Record<string, any>;
|
|
304
304
|
ruleSpan: Record<string, any>;
|
|
305
305
|
fixedCount: number;
|
|
306
306
|
fixedFields: string[];
|