bm-admin-ui 1.2.27-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 +195 -729
- 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 +195 -732
- 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
|
@@ -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;
|
|
@@ -128,14 +128,10 @@ const _sfc_main$2 = vue.defineComponent({
|
|
|
128
128
|
const isEditLabel = vue.ref(false);
|
|
129
129
|
const tempLabel = vue.ref("");
|
|
130
130
|
tempLabel.value = "";
|
|
131
|
-
const inputRef = vue.ref();
|
|
132
131
|
const methods = {
|
|
133
132
|
toEditLabel() {
|
|
134
133
|
tempLabel.value = props["label"];
|
|
135
134
|
isEditLabel.value = true;
|
|
136
|
-
vue.nextTick(() => {
|
|
137
|
-
inputRef.value?.focus();
|
|
138
|
-
});
|
|
139
135
|
},
|
|
140
136
|
updateLabel(_) {
|
|
141
137
|
vue.nextTick(() => {
|
|
@@ -149,7 +145,6 @@ const _sfc_main$2 = vue.defineComponent({
|
|
|
149
145
|
}
|
|
150
146
|
};
|
|
151
147
|
return {
|
|
152
|
-
inputRef,
|
|
153
148
|
isEditLabel,
|
|
154
149
|
tempLabel,
|
|
155
150
|
...methods
|
|
@@ -174,10 +169,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
174
169
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => _ctx.toEditLabel && _ctx.toEditLabel(...args), ["stop"]))
|
|
175
170
|
}, vue.toDisplayString(_ctx.label), 1)) : (vue.openBlock(), vue.createBlock(_component_AInput, {
|
|
176
171
|
key: 1,
|
|
177
|
-
ref: "inputRef",
|
|
178
172
|
value: _ctx.tempLabel,
|
|
179
173
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => _ctx.tempLabel = $event),
|
|
180
|
-
maxlength: 10,
|
|
181
174
|
size: "small",
|
|
182
175
|
onBlur: _ctx.updateLabel,
|
|
183
176
|
onKeydown: vue.withKeys(_ctx.updateLabel, ["enter"])
|
|
@@ -214,15 +207,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
214
207
|
}
|
|
215
208
|
var BmHtmlNode = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render], ["__file", "BmHtmlNode.vue"]]);
|
|
216
209
|
|
|
217
|
-
const _hoisted_1 =
|
|
210
|
+
const _hoisted_1 = { class: "bm-condition-node" };
|
|
218
211
|
const _hoisted_2 = { class: "bm-condition-node-box" };
|
|
219
212
|
const _hoisted_3 = { class: "condition-header" };
|
|
220
213
|
const _hoisted_4 = { key: 0 };
|
|
221
214
|
const _hoisted_5 = { class: "condition-desc" };
|
|
222
215
|
const _hoisted_6 = { class: "desc" };
|
|
223
216
|
const _hoisted_7 = { key: 0 };
|
|
217
|
+
const __default__ = {
|
|
218
|
+
name: "BmConditionNode"
|
|
219
|
+
};
|
|
224
220
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
225
|
-
|
|
221
|
+
...__default__,
|
|
226
222
|
props: {
|
|
227
223
|
isCustom: {
|
|
228
224
|
type: Boolean,
|
|
@@ -240,12 +236,6 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
240
236
|
type: String,
|
|
241
237
|
default: " "
|
|
242
238
|
},
|
|
243
|
-
nodeClick: {
|
|
244
|
-
type: Function,
|
|
245
|
-
default: () => {
|
|
246
|
-
console.info("\u70B9\u51FB\u8282\u70B9\u56DE\u8C03");
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
239
|
copyCallback: {
|
|
250
240
|
type: Function,
|
|
251
241
|
default: () => {
|
|
@@ -260,17 +250,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
260
250
|
}
|
|
261
251
|
},
|
|
262
252
|
setup(__props) {
|
|
263
|
-
const props = __props;
|
|
264
|
-
function callback() {
|
|
265
|
-
if (props.isCustom) {
|
|
266
|
-
props.nodeClick();
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
253
|
return (_ctx, _cache) => {
|
|
270
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
271
|
-
class: "bm-condition-node",
|
|
272
|
-
onClick: vue.withModifiers(callback, ["stop"])
|
|
273
|
-
}, [
|
|
254
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
274
255
|
vue.createElementVNode("div", _hoisted_2, [
|
|
275
256
|
vue.createElementVNode("div", _hoisted_3, [
|
|
276
257
|
vue.createElementVNode("span", {
|
|
@@ -289,12 +270,9 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
289
270
|
}, [
|
|
290
271
|
vue.createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
291
272
|
vue.createVNode(vue.unref(iconsVue.CloseOutlined), {
|
|
292
|
-
onClick: _cache[0] || (_cache[0] =
|
|
293
|
-
()
|
|
294
|
-
|
|
295
|
-
},
|
|
296
|
-
["stop"]
|
|
297
|
-
))
|
|
273
|
+
onClick: _cache[0] || (_cache[0] = () => {
|
|
274
|
+
__props.deleteCallback();
|
|
275
|
+
})
|
|
298
276
|
})
|
|
299
277
|
], 2)
|
|
300
278
|
]),
|
|
@@ -305,7 +283,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
305
283
|
])) : vue.createCommentVNode("v-if", true)
|
|
306
284
|
])
|
|
307
285
|
])
|
|
308
|
-
]
|
|
286
|
+
]);
|
|
309
287
|
};
|
|
310
288
|
}
|
|
311
289
|
});
|
|
@@ -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<{
|