bm-admin-ui 1.2.28-alpha → 1.2.29-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/attachment/index.d.ts +1 -1
- package/es/components/attachment/src/attachment.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +1 -1
- package/es/components/cascader/index.d.ts +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +1 -1
- 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 +3 -3
- package/es/components/editor/src/editor.vue.d.ts +3 -3
- package/es/components/feedback/index.d.ts +12 -12
- package/es/components/feedback/src/bmAlert.vue.d.ts +5 -5
- package/es/components/feedback/src/bmModal.vue.d.ts +7 -7
- package/es/components/flow-designer/index.js +10 -32
- package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +0 -14
- package/es/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +0 -1
- package/es/components/form-create/index.js +197 -743
- package/es/components/form-designer/index.js +21 -116
- package/es/components/over-tooltips/index.d.ts +1 -1
- package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +1 -1
- package/es/components/staffs-selector/index.d.ts +8 -8
- package/es/components/staffs-selector/index.js +2 -2
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/utils/isNull.js +1 -1
- package/lib/components/attachment/index.d.ts +1 -1
- package/lib/components/attachment/src/attachment.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/cascader/index.d.ts +1 -1
- package/lib/components/cascader/src/cascader.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 +3 -3
- package/lib/components/editor/src/editor.vue.d.ts +3 -3
- package/lib/components/feedback/index.d.ts +12 -12
- package/lib/components/feedback/src/bmAlert.vue.d.ts +5 -5
- package/lib/components/feedback/src/bmModal.vue.d.ts +7 -7
- package/lib/components/flow-designer/index.js +10 -32
- package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +0 -14
- package/lib/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +0 -1
- package/lib/components/form-create/index.js +197 -746
- package/lib/components/form-designer/index.js +20 -115
- package/lib/components/over-tooltips/index.d.ts +1 -1
- package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +1 -1
- package/lib/components/staffs-selector/index.d.ts +8 -8
- package/lib/components/staffs-selector/index.js +2 -2
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/utils/isNull.js +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/types/components/attachment/index.d.ts +1 -1
- package/types/components/attachment/src/attachment.vue.d.ts +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/cascader/index.d.ts +1 -1
- package/types/components/cascader/src/cascader.vue.d.ts +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 +3 -3
- package/types/components/editor/src/editor.vue.d.ts +3 -3
- package/types/components/feedback/index.d.ts +12 -12
- package/types/components/feedback/src/bmAlert.vue.d.ts +5 -5
- package/types/components/feedback/src/bmModal.vue.d.ts +7 -7
- package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +0 -14
- package/types/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +0 -1
- package/types/components/over-tooltips/index.d.ts +1 -1
- package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +1 -1
- package/types/components/staffs-selector/index.d.ts +8 -8
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
- package/types/components/upload/index.d.ts +1 -1
- package/types/components/upload/src/upload.vue.d.ts +1 -1
- package/es/utils/index.d.ts +0 -7
- package/es/utils/index.js +0 -62
- package/lib/utils/index.d.ts +0 -7
- package/lib/utils/index.js +0 -64
- package/types/utils/index.d.ts +0 -7
|
@@ -36,7 +36,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
|
|
|
36
36
|
default: number;
|
|
37
37
|
};
|
|
38
38
|
width: {
|
|
39
|
-
type: (
|
|
39
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
40
40
|
default: number;
|
|
41
41
|
};
|
|
42
42
|
showAlways: {
|
|
@@ -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, "htmlType" | "loading" | "disabled" | "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, "htmlType" | "loading" | "disabled" | "ghost" | "block" | "danger">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -47,7 +47,7 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
47
47
|
};
|
|
48
48
|
tmpForm: import("vue").Ref<Record<string, any>>;
|
|
49
49
|
formRef: import("vue").Ref<import("ant-design-vue").FormInstance | null>;
|
|
50
|
-
colCount: import("vue").ComputedRef<2 |
|
|
50
|
+
colCount: import("vue").ComputedRef<2 | 3 | 1>;
|
|
51
51
|
getValueOfOption: (key: string | undefined, defaultKey: "label" | "value", option: any) => string;
|
|
52
52
|
getPopupContainer: (e: any) => any;
|
|
53
53
|
getColsConfig: (type: "labelCol" | "wrapperCol", item: import("./src/types").Control, index?: number | undefined) => {
|
|
@@ -103,7 +103,7 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
103
103
|
default: number;
|
|
104
104
|
};
|
|
105
105
|
width: {
|
|
106
|
-
type: (
|
|
106
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
107
107
|
default: number;
|
|
108
108
|
};
|
|
109
109
|
showAlways: {
|
|
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
};
|
|
47
47
|
tmpForm: import("vue").Ref<Record<string, any>>;
|
|
48
48
|
formRef: import("vue").Ref<FormInstance | null>;
|
|
49
|
-
colCount: import("vue").ComputedRef<2 |
|
|
49
|
+
colCount: import("vue").ComputedRef<2 | 3 | 1>;
|
|
50
50
|
getValueOfOption: (key: string | undefined, defaultKey: "label" | "value", option: any) => string;
|
|
51
51
|
getPopupContainer: (e: any) => any;
|
|
52
52
|
getColsConfig: (type: "labelCol" | "wrapperCol", item: import("./types").Control, index?: number | undefined) => {
|
|
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
default: number;
|
|
103
103
|
};
|
|
104
104
|
width: {
|
|
105
|
-
type: (
|
|
105
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
106
106
|
default: number;
|
|
107
107
|
};
|
|
108
108
|
showAlways: {
|
|
@@ -60,9 +60,9 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
63
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
64
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
@@ -139,7 +139,7 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
139
139
|
default: number;
|
|
140
140
|
};
|
|
141
141
|
width: {
|
|
142
|
-
type: (
|
|
142
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
143
143
|
default: number;
|
|
144
144
|
};
|
|
145
145
|
showAlways: {
|
|
@@ -287,9 +287,9 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
290
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
291
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
@@ -60,9 +60,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
63
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
64
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
@@ -139,7 +139,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
139
|
default: number;
|
|
140
140
|
};
|
|
141
141
|
width: {
|
|
142
|
-
type: (
|
|
142
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
143
143
|
default: number;
|
|
144
144
|
};
|
|
145
145
|
showAlways: {
|
|
@@ -287,9 +287,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
290
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
292
291
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
293
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
@@ -86,7 +86,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
86
86
|
type: BooleanConstructor;
|
|
87
87
|
default: any;
|
|
88
88
|
};
|
|
89
|
-
width: (
|
|
89
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
90
90
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
91
91
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
92
92
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -232,7 +232,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
232
232
|
modalRender: import("vue").PropType<(arg: {
|
|
233
233
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
234
234
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
235
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "
|
|
235
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
236
236
|
$attrs: {
|
|
237
237
|
[x: string]: unknown;
|
|
238
238
|
};
|
|
@@ -271,7 +271,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
271
271
|
type: BooleanConstructor;
|
|
272
272
|
default: any;
|
|
273
273
|
};
|
|
274
|
-
width: (
|
|
274
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
275
275
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
276
276
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
277
277
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -476,7 +476,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
476
476
|
type: BooleanConstructor;
|
|
477
477
|
default: any;
|
|
478
478
|
};
|
|
479
|
-
width: (
|
|
479
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
480
480
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
481
481
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
482
482
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -651,7 +651,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
651
651
|
type: BooleanConstructor;
|
|
652
652
|
default: any;
|
|
653
653
|
};
|
|
654
|
-
width: (
|
|
654
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
655
655
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
656
656
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
657
657
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -838,9 +838,9 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
838
838
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
839
839
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
840
840
|
}, {
|
|
841
|
-
visible: boolean;
|
|
842
|
-
width: string;
|
|
843
841
|
size: string;
|
|
842
|
+
width: string;
|
|
843
|
+
visible: boolean;
|
|
844
844
|
}>>;
|
|
845
845
|
declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
846
846
|
type: {
|
|
@@ -870,7 +870,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
870
870
|
default: string;
|
|
871
871
|
};
|
|
872
872
|
}>> & {}>>;
|
|
873
|
-
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/
|
|
873
|
+
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType | undefined>;
|
|
874
874
|
AAlert: {
|
|
875
875
|
new (...args: any[]): {
|
|
876
876
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -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<"
|
|
883
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
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<"
|
|
919
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
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<"
|
|
965
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
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<"
|
|
991
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
992
992
|
closable: {
|
|
993
993
|
type: BooleanConstructor;
|
|
994
994
|
default: any;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
28
|
}>> & {}>>;
|
|
29
|
-
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/
|
|
29
|
+
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType | undefined>;
|
|
30
30
|
AAlert: {
|
|
31
31
|
new (...args: any[]): {
|
|
32
32
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -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<"
|
|
39
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
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<"
|
|
75
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
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<"
|
|
121
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
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<"
|
|
147
|
+
type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
|
|
148
148
|
closable: {
|
|
149
149
|
type: BooleanConstructor;
|
|
150
150
|
default: any;
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: any;
|
|
82
82
|
};
|
|
83
|
-
width: (
|
|
83
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
84
84
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
85
85
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
86
86
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
226
|
modalRender: import("vue").PropType<(arg: {
|
|
227
227
|
originVNode: import("ant-design-vue/lib/_util/type").VueNode;
|
|
228
228
|
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
229
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "
|
|
229
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
|
|
230
230
|
$attrs: {
|
|
231
231
|
[x: string]: unknown;
|
|
232
232
|
};
|
|
@@ -265,7 +265,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
265
265
|
type: BooleanConstructor;
|
|
266
266
|
default: any;
|
|
267
267
|
};
|
|
268
|
-
width: (
|
|
268
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
269
269
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
270
270
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
271
271
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -470,7 +470,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
470
470
|
type: BooleanConstructor;
|
|
471
471
|
default: any;
|
|
472
472
|
};
|
|
473
|
-
width: (
|
|
473
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
474
474
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
475
475
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
476
476
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -645,7 +645,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
645
645
|
type: BooleanConstructor;
|
|
646
646
|
default: any;
|
|
647
647
|
};
|
|
648
|
-
width: (
|
|
648
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
649
649
|
footer: import("vue-types").VueTypeValidableDef<any>;
|
|
650
650
|
okText: import("vue-types").VueTypeValidableDef<any>;
|
|
651
651
|
okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
|
|
@@ -832,8 +832,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
832
832
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
833
833
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
834
834
|
}, {
|
|
835
|
-
visible: boolean;
|
|
836
|
-
width: string;
|
|
837
835
|
size: string;
|
|
836
|
+
width: string;
|
|
837
|
+
visible: boolean;
|
|
838
838
|
}>;
|
|
839
839
|
export default _default;
|
|
@@ -117,14 +117,10 @@ const _sfc_main$2 = defineComponent({
|
|
|
117
117
|
const isEditLabel = ref(false);
|
|
118
118
|
const tempLabel = ref("");
|
|
119
119
|
tempLabel.value = "";
|
|
120
|
-
const inputRef = ref();
|
|
121
120
|
const methods = {
|
|
122
121
|
toEditLabel() {
|
|
123
122
|
tempLabel.value = props["label"];
|
|
124
123
|
isEditLabel.value = true;
|
|
125
|
-
nextTick(() => {
|
|
126
|
-
inputRef.value?.focus();
|
|
127
|
-
});
|
|
128
124
|
},
|
|
129
125
|
updateLabel(_) {
|
|
130
126
|
nextTick(() => {
|
|
@@ -138,7 +134,6 @@ const _sfc_main$2 = defineComponent({
|
|
|
138
134
|
}
|
|
139
135
|
};
|
|
140
136
|
return {
|
|
141
|
-
inputRef,
|
|
142
137
|
isEditLabel,
|
|
143
138
|
tempLabel,
|
|
144
139
|
...methods
|
|
@@ -163,10 +158,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
163
158
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.toEditLabel && _ctx.toEditLabel(...args), ["stop"]))
|
|
164
159
|
}, toDisplayString(_ctx.label), 1)) : (openBlock(), createBlock(_component_AInput, {
|
|
165
160
|
key: 1,
|
|
166
|
-
ref: "inputRef",
|
|
167
161
|
value: _ctx.tempLabel,
|
|
168
162
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => _ctx.tempLabel = $event),
|
|
169
|
-
maxlength: 10,
|
|
170
163
|
size: "small",
|
|
171
164
|
onBlur: _ctx.updateLabel,
|
|
172
165
|
onKeydown: withKeys(_ctx.updateLabel, ["enter"])
|
|
@@ -203,15 +196,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
203
196
|
}
|
|
204
197
|
var BmHtmlNode = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render], ["__file", "BmHtmlNode.vue"]]);
|
|
205
198
|
|
|
206
|
-
const _hoisted_1 =
|
|
199
|
+
const _hoisted_1 = { class: "bm-condition-node" };
|
|
207
200
|
const _hoisted_2 = { class: "bm-condition-node-box" };
|
|
208
201
|
const _hoisted_3 = { class: "condition-header" };
|
|
209
202
|
const _hoisted_4 = { key: 0 };
|
|
210
203
|
const _hoisted_5 = { class: "condition-desc" };
|
|
211
204
|
const _hoisted_6 = { class: "desc" };
|
|
212
205
|
const _hoisted_7 = { key: 0 };
|
|
206
|
+
const __default__ = {
|
|
207
|
+
name: "BmConditionNode"
|
|
208
|
+
};
|
|
213
209
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
214
|
-
|
|
210
|
+
...__default__,
|
|
215
211
|
props: {
|
|
216
212
|
isCustom: {
|
|
217
213
|
type: Boolean,
|
|
@@ -229,12 +225,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
229
225
|
type: String,
|
|
230
226
|
default: " "
|
|
231
227
|
},
|
|
232
|
-
nodeClick: {
|
|
233
|
-
type: Function,
|
|
234
|
-
default: () => {
|
|
235
|
-
console.info("\u70B9\u51FB\u8282\u70B9\u56DE\u8C03");
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
228
|
copyCallback: {
|
|
239
229
|
type: Function,
|
|
240
230
|
default: () => {
|
|
@@ -249,17 +239,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
249
239
|
}
|
|
250
240
|
},
|
|
251
241
|
setup(__props) {
|
|
252
|
-
const props = __props;
|
|
253
|
-
function callback() {
|
|
254
|
-
if (props.isCustom) {
|
|
255
|
-
props.nodeClick();
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
242
|
return (_ctx, _cache) => {
|
|
259
|
-
return openBlock(), createElementBlock("div",
|
|
260
|
-
class: "bm-condition-node",
|
|
261
|
-
onClick: withModifiers(callback, ["stop"])
|
|
262
|
-
}, [
|
|
243
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
263
244
|
createElementVNode("div", _hoisted_2, [
|
|
264
245
|
createElementVNode("div", _hoisted_3, [
|
|
265
246
|
createElementVNode("span", {
|
|
@@ -278,12 +259,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
278
259
|
}, [
|
|
279
260
|
createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
280
261
|
createVNode(unref(CloseOutlined), {
|
|
281
|
-
onClick: _cache[0] || (_cache[0] =
|
|
282
|
-
()
|
|
283
|
-
|
|
284
|
-
},
|
|
285
|
-
["stop"]
|
|
286
|
-
))
|
|
262
|
+
onClick: _cache[0] || (_cache[0] = () => {
|
|
263
|
+
__props.deleteCallback();
|
|
264
|
+
})
|
|
287
265
|
})
|
|
288
266
|
], 2)
|
|
289
267
|
]),
|
|
@@ -294,7 +272,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
294
272
|
])) : createCommentVNode("v-if", true)
|
|
295
273
|
])
|
|
296
274
|
])
|
|
297
|
-
]
|
|
275
|
+
]);
|
|
298
276
|
};
|
|
299
277
|
}
|
|
300
278
|
});
|
|
@@ -15,10 +15,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
-
nodeClick: {
|
|
19
|
-
type: FunctionConstructor;
|
|
20
|
-
default: () => void;
|
|
21
|
-
};
|
|
22
18
|
copyCallback: {
|
|
23
19
|
type: FunctionConstructor;
|
|
24
20
|
default: () => void;
|
|
@@ -45,10 +41,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
41
|
type: StringConstructor;
|
|
46
42
|
default: string;
|
|
47
43
|
};
|
|
48
|
-
nodeClick: {
|
|
49
|
-
type: FunctionConstructor;
|
|
50
|
-
default: () => void;
|
|
51
|
-
};
|
|
52
44
|
copyCallback: {
|
|
53
45
|
type: FunctionConstructor;
|
|
54
46
|
default: () => void;
|
|
@@ -58,7 +50,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
50
|
default: () => void;
|
|
59
51
|
};
|
|
60
52
|
}>> & {}>>;
|
|
61
|
-
callback: () => void;
|
|
62
53
|
CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
|
|
63
54
|
RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
|
|
64
55
|
Tag: {
|
|
@@ -236,10 +227,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
236
227
|
type: StringConstructor;
|
|
237
228
|
default: string;
|
|
238
229
|
};
|
|
239
|
-
nodeClick: {
|
|
240
|
-
type: FunctionConstructor;
|
|
241
|
-
default: () => void;
|
|
242
|
-
};
|
|
243
230
|
copyCallback: {
|
|
244
231
|
type: FunctionConstructor;
|
|
245
232
|
default: () => void;
|
|
@@ -253,7 +240,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
253
240
|
desc: string;
|
|
254
241
|
isCustom: boolean;
|
|
255
242
|
priority: number;
|
|
256
|
-
nodeClick: Function;
|
|
257
243
|
copyCallback: Function;
|
|
258
244
|
deleteCallback: Function;
|
|
259
245
|
}>;
|
|
@@ -3,7 +3,6 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
|
|
|
3
3
|
}>>, {
|
|
4
4
|
toEditLabel(): void;
|
|
5
5
|
updateLabel(_: any): void;
|
|
6
|
-
inputRef: import("vue").Ref<any>;
|
|
7
6
|
isEditLabel: import("vue").Ref<boolean>;
|
|
8
7
|
tempLabel: any;
|
|
9
8
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:label"[], "update:label", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|