bm-admin-ui 1.0.64-alpha → 1.0.66-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 +1 -1
- package/es/components/edit-form/src/edit-form.vue.d.ts +1 -1
- package/es/components/editor/index.d.ts +8 -8
- package/es/components/editor/index.js +8 -4
- package/es/components/editor/src/editor.vue.d.ts +8 -8
- 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/index.d.ts +45 -4
- package/es/components/flow-designer/index.js +1284 -11
- package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -5
- package/es/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -1
- package/es/components/flow-designer/src/config.d.ts +1 -0
- package/es/components/flow-designer/src/flow-designer.vue.d.ts +47 -4
- package/es/components/flow-designer/src/utils.d.ts +1 -0
- package/es/components/form-create/index.js +17581 -227
- package/es/components/form-designer/index.js +72 -14
- package/es/components/input-tags-display/index.d.ts +1 -1
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/es/components/search-filter/index.d.ts +3 -3
- package/es/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/es/components/select-all/index.d.ts +10 -10
- package/es/components/select-all/src/selectAll.vue.d.ts +10 -10
- package/es/components/staffs-selector/index.d.ts +51 -12
- package/es/components/staffs-selector/index.js +297 -224
- package/es/components/staffs-selector/src/action.d.ts +2 -0
- package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -11
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -12
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
- package/es/components/timeline/index.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/upload/index.js +8 -4
- package/lib/components/edit-form/index.d.ts +1 -1
- package/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
- package/lib/components/editor/index.d.ts +8 -8
- package/lib/components/editor/index.js +8 -4
- package/lib/components/editor/src/editor.vue.d.ts +8 -8
- 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/index.d.ts +45 -4
- package/lib/components/flow-designer/index.js +1285 -9
- package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -5
- package/lib/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -1
- package/lib/components/flow-designer/src/config.d.ts +1 -0
- package/lib/components/flow-designer/src/flow-designer.vue.d.ts +47 -4
- package/lib/components/flow-designer/src/utils.d.ts +1 -0
- package/lib/components/form-create/index.js +17580 -226
- package/lib/components/form-designer/index.js +72 -14
- package/lib/components/input-tags-display/index.d.ts +1 -1
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/lib/components/search-filter/index.d.ts +3 -3
- package/lib/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/lib/components/select-all/index.d.ts +10 -10
- package/lib/components/select-all/src/selectAll.vue.d.ts +10 -10
- package/lib/components/staffs-selector/index.d.ts +51 -12
- package/lib/components/staffs-selector/index.js +295 -222
- package/lib/components/staffs-selector/src/action.d.ts +2 -0
- package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -11
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -12
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
- package/lib/components/timeline/index.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/upload/index.js +8 -4
- package/package.json +1 -1
- package/theme-chalk/flow-designer.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/types/components/edit-form/index.d.ts +1 -1
- package/types/components/edit-form/src/edit-form.vue.d.ts +1 -1
- package/types/components/editor/index.d.ts +8 -8
- package/types/components/editor/src/editor.vue.d.ts +8 -8
- 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/index.d.ts +45 -4
- package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -5
- package/types/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -1
- package/types/components/flow-designer/src/config.d.ts +1 -0
- package/types/components/flow-designer/src/flow-designer.vue.d.ts +47 -4
- package/types/components/flow-designer/src/utils.d.ts +1 -0
- package/types/components/input-tags-display/index.d.ts +1 -1
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/types/components/search-filter/index.d.ts +3 -3
- package/types/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/types/components/select-all/index.d.ts +10 -10
- package/types/components/select-all/src/selectAll.vue.d.ts +10 -10
- package/types/components/staffs-selector/index.d.ts +51 -12
- package/types/components/staffs-selector/src/action.d.ts +2 -0
- package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -11
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -12
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
- package/types/components/timeline/index.d.ts +1 -1
- package/types/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/flow-designer/src/flow-designer-test.d.ts +0 -20
- package/lib/components/flow-designer/src/flow-designer-test.d.ts +0 -20
- package/types/components/flow-designer/src/flow-designer-test.d.ts +0 -20
|
@@ -2,6 +2,7 @@ export declare const MODE: {
|
|
|
2
2
|
RADIO: string;
|
|
3
3
|
MULTIPLE: string;
|
|
4
4
|
VARIED: string;
|
|
5
|
+
DEPARTMENT: string;
|
|
5
6
|
};
|
|
6
7
|
export declare const selectProps: {
|
|
7
8
|
visible: {
|
|
@@ -61,6 +62,7 @@ export declare const selectState: {
|
|
|
61
62
|
dataMap: Map<string, any>;
|
|
62
63
|
curlistKeys: Set<string>;
|
|
63
64
|
activeKey: number;
|
|
65
|
+
fetchLoading: boolean;
|
|
64
66
|
};
|
|
65
67
|
export declare const list: any;
|
|
66
68
|
export declare const departNative: any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
limit: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
selected: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
search(): void;
|
|
12
|
+
list: any;
|
|
13
|
+
multipleChecked: import("vue").Ref<any>;
|
|
14
|
+
departmentChecked: import("vue").Ref<string[]>;
|
|
15
|
+
multipDepartment: import("vue").Ref<string[]>;
|
|
16
|
+
staffsChecked: import("vue").Ref<any>;
|
|
17
|
+
shopChecked: import("vue").Ref<any>;
|
|
18
|
+
groupChecked: import("vue").Ref<any>;
|
|
19
|
+
dataMap: import("vue").Ref<Map<string, any>>;
|
|
20
|
+
curlistKeys: import("vue").Ref<Set<string>>;
|
|
21
|
+
activeKey: import("vue").Ref<number>;
|
|
22
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
23
|
+
searchVal: import("vue").Ref<string>;
|
|
24
|
+
selectAll: import("vue").Ref<boolean>;
|
|
25
|
+
indeterminate: import("vue").Ref<boolean>;
|
|
26
|
+
emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}> | null | undefined)[]>;
|
|
31
|
+
isFulfill: import("vue").Ref<boolean>;
|
|
32
|
+
changeTreeCheck: (checkedKeys: any) => void;
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
limit: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
selected: {
|
|
39
|
+
type: ArrayConstructor;
|
|
40
|
+
default: () => never[];
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
selected: unknown[];
|
|
47
|
+
limit: number;
|
|
48
|
+
}>;
|
|
49
|
+
export default _default;
|
|
@@ -7,10 +7,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
type: ArrayConstructor;
|
|
8
8
|
default: () => never[];
|
|
9
9
|
};
|
|
10
|
-
isTree: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
10
|
}, {
|
|
15
11
|
changeAllOption(): void;
|
|
16
12
|
search(): void;
|
|
@@ -25,6 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
21
|
dataMap: import("vue").Ref<Map<string, any>>;
|
|
26
22
|
curlistKeys: import("vue").Ref<Set<string>>;
|
|
27
23
|
activeKey: import("vue").Ref<number>;
|
|
24
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
28
25
|
searchVal: import("vue").Ref<string>;
|
|
29
26
|
selectAll: import("vue").Ref<boolean>;
|
|
30
27
|
indeterminate: import("vue").Ref<boolean>;
|
|
@@ -34,8 +31,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
31
|
[key: string]: any;
|
|
35
32
|
}> | null | undefined)[]>;
|
|
36
33
|
isFulfill: import("vue").Ref<boolean>;
|
|
37
|
-
changeTreeCheck: (checkedKeys: any) => void;
|
|
38
|
-
departmentSelect: import("vue").Ref<never[]>;
|
|
39
34
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
35
|
limit: {
|
|
41
36
|
type: NumberConstructor;
|
|
@@ -45,16 +40,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
40
|
type: ArrayConstructor;
|
|
46
41
|
default: () => never[];
|
|
47
42
|
};
|
|
48
|
-
isTree: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
43
|
}>> & {
|
|
53
44
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
54
45
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
55
46
|
}, {
|
|
56
47
|
selected: unknown[];
|
|
57
48
|
limit: number;
|
|
58
|
-
isTree: boolean;
|
|
59
49
|
}>;
|
|
60
50
|
export default _default;
|
|
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
fetch: (params: {
|
|
97
97
|
searchVal?: string;
|
|
98
98
|
area?: string;
|
|
99
|
-
}) => void
|
|
99
|
+
}) => Promise<void>;
|
|
100
100
|
flatListFunc: (list: any) => Map<string, any>;
|
|
101
101
|
findDataByKey: (key: string) => any;
|
|
102
102
|
summitSelect: () => void;
|
|
@@ -889,10 +889,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
889
889
|
type: ArrayConstructor;
|
|
890
890
|
default: () => never[];
|
|
891
891
|
};
|
|
892
|
-
isTree: {
|
|
893
|
-
type: BooleanConstructor;
|
|
894
|
-
default: boolean;
|
|
895
|
-
};
|
|
896
892
|
}, {
|
|
897
893
|
changeAllOption(): void;
|
|
898
894
|
search(): void;
|
|
@@ -907,6 +903,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
907
903
|
dataMap: import("vue").Ref<Map<string, any>>;
|
|
908
904
|
curlistKeys: import("vue").Ref<Set<string>>;
|
|
909
905
|
activeKey: import("vue").Ref<number>;
|
|
906
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
910
907
|
searchVal: import("vue").Ref<string>;
|
|
911
908
|
selectAll: import("vue").Ref<boolean>;
|
|
912
909
|
indeterminate: import("vue").Ref<boolean>;
|
|
@@ -916,8 +913,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
916
913
|
[key: string]: any;
|
|
917
914
|
}> | null | undefined)[]>;
|
|
918
915
|
isFulfill: import("vue").Ref<boolean>;
|
|
919
|
-
changeTreeCheck: (checkedKeys: any) => void;
|
|
920
|
-
departmentSelect: import("vue").Ref<never[]>;
|
|
921
916
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
922
917
|
limit: {
|
|
923
918
|
type: NumberConstructor;
|
|
@@ -927,17 +922,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
927
922
|
type: ArrayConstructor;
|
|
928
923
|
default: () => never[];
|
|
929
924
|
};
|
|
930
|
-
isTree: {
|
|
931
|
-
type: BooleanConstructor;
|
|
932
|
-
default: boolean;
|
|
933
|
-
};
|
|
934
925
|
}>> & {
|
|
935
926
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
936
927
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
937
928
|
}, {
|
|
938
929
|
selected: unknown[];
|
|
939
930
|
limit: number;
|
|
940
|
-
isTree: boolean;
|
|
941
931
|
}>;
|
|
942
932
|
radioCmp: import("vue").DefineComponent<{
|
|
943
933
|
list: {
|
|
@@ -996,6 +986,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
996
986
|
dataMap: import("vue").Ref<Map<string, any>>;
|
|
997
987
|
curlistKeys: import("vue").Ref<Set<string>>;
|
|
998
988
|
activeKey: import("vue").Ref<number>;
|
|
989
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
999
990
|
indicator: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1000
991
|
[key: string]: any;
|
|
1001
992
|
}>;
|
|
@@ -1037,6 +1028,54 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1037
1028
|
dataMap: Map<unknown, unknown>;
|
|
1038
1029
|
curlistKeys: Set<unknown>;
|
|
1039
1030
|
}>;
|
|
1031
|
+
departmentCmp: import("vue").DefineComponent<{
|
|
1032
|
+
limit: {
|
|
1033
|
+
type: NumberConstructor;
|
|
1034
|
+
default: number;
|
|
1035
|
+
};
|
|
1036
|
+
selected: {
|
|
1037
|
+
type: ArrayConstructor;
|
|
1038
|
+
default: () => never[];
|
|
1039
|
+
};
|
|
1040
|
+
}, {
|
|
1041
|
+
search(): void;
|
|
1042
|
+
list: any;
|
|
1043
|
+
multipleChecked: import("vue").Ref<any>;
|
|
1044
|
+
departmentChecked: import("vue").Ref<string[]>;
|
|
1045
|
+
multipDepartment: import("vue").Ref<string[]>;
|
|
1046
|
+
staffsChecked: import("vue").Ref<any>;
|
|
1047
|
+
shopChecked: import("vue").Ref<any>;
|
|
1048
|
+
groupChecked: import("vue").Ref<any>;
|
|
1049
|
+
dataMap: import("vue").Ref<Map<string, any>>;
|
|
1050
|
+
curlistKeys: import("vue").Ref<Set<string>>;
|
|
1051
|
+
activeKey: import("vue").Ref<number>;
|
|
1052
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
1053
|
+
searchVal: import("vue").Ref<string>;
|
|
1054
|
+
selectAll: import("vue").Ref<boolean>;
|
|
1055
|
+
indeterminate: import("vue").Ref<boolean>;
|
|
1056
|
+
emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1057
|
+
[key: string]: any;
|
|
1058
|
+
}> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1059
|
+
[key: string]: any;
|
|
1060
|
+
}> | null | undefined)[]>;
|
|
1061
|
+
isFulfill: import("vue").Ref<boolean>;
|
|
1062
|
+
changeTreeCheck: (checkedKeys: any) => void;
|
|
1063
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1064
|
+
limit: {
|
|
1065
|
+
type: NumberConstructor;
|
|
1066
|
+
default: number;
|
|
1067
|
+
};
|
|
1068
|
+
selected: {
|
|
1069
|
+
type: ArrayConstructor;
|
|
1070
|
+
default: () => never[];
|
|
1071
|
+
};
|
|
1072
|
+
}>> & {
|
|
1073
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1074
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
1075
|
+
}, {
|
|
1076
|
+
selected: unknown[];
|
|
1077
|
+
limit: number;
|
|
1078
|
+
}>;
|
|
1040
1079
|
list: any;
|
|
1041
1080
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:visible" | "update:select")[], "change" | "update:visible" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1042
1081
|
visible: {
|
|
@@ -25,6 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
dataMap: import("vue").Ref<Map<string, any>>;
|
|
26
26
|
curlistKeys: import("vue").Ref<Set<string>>;
|
|
27
27
|
activeKey: import("vue").Ref<number>;
|
|
28
|
+
fetchLoading: import("vue").Ref<boolean>;
|
|
28
29
|
indicator: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
30
|
[key: string]: any;
|
|
30
31
|
}>;
|
|
@@ -444,6 +444,9 @@ const _sfc_main = {
|
|
|
444
444
|
});
|
|
445
445
|
},
|
|
446
446
|
paste(event) {
|
|
447
|
+
if (uploadDisabled.value) {
|
|
448
|
+
return;
|
|
449
|
+
}
|
|
447
450
|
const items = event?.clipboardData?.items;
|
|
448
451
|
let file = null;
|
|
449
452
|
if (items && items.length) {
|
|
@@ -565,7 +568,7 @@ const _sfc_main = {
|
|
|
565
568
|
immediate: true
|
|
566
569
|
}
|
|
567
570
|
);
|
|
568
|
-
expose({ state, methods });
|
|
571
|
+
expose({ state, methods, paste: methods.paste });
|
|
569
572
|
return {
|
|
570
573
|
...toRefs(state),
|
|
571
574
|
icons,
|
|
@@ -754,7 +757,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
754
757
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
755
758
|
onClick: ($event) => _ctx.viewOnePicture(item)
|
|
756
759
|
}, null, 8, _hoisted_9)) : createCommentVNode("v-if", true),
|
|
757
|
-
!(_ctx.extraConfigs.hidenDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
|
|
760
|
+
!(_ctx.extraConfigs.hidenDelBtn ?? _ctx.extraConfigs.hideDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
|
|
758
761
|
key: 1,
|
|
759
762
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--delete",
|
|
760
763
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
@@ -851,10 +854,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
851
854
|
class: "bm-upload__error-reload",
|
|
852
855
|
onClick: (e) => _ctx.reUpload(e, item.uid)
|
|
853
856
|
}, null, 8, _hoisted_32)) : createCommentVNode("v-if", true),
|
|
854
|
-
|
|
857
|
+
!(_ctx.extraConfigs.hidenDelBtn ?? _ctx.extraConfigs.hideDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
|
|
858
|
+
key: 1,
|
|
855
859
|
class: "bm-upload__trash",
|
|
856
860
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
857
|
-
}, null, 8, _hoisted_33)
|
|
861
|
+
}, null, 8, _hoisted_33)) : createCommentVNode("v-if", true)
|
|
858
862
|
])
|
|
859
863
|
]),
|
|
860
864
|
!item.isDoneDeloy || item.progress < 100 || item.status === "error" ? (openBlock(), createElementBlock("div", _hoisted_34, [
|
|
@@ -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 | 3 | 1>;
|
|
51
|
-
getValueOfOption: (key: string | undefined, defaultKey: "
|
|
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) => {
|
|
54
54
|
flex?: string | undefined;
|
|
@@ -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 | 3 | 1>;
|
|
50
|
-
getValueOfOption: (key: string | undefined, defaultKey: "
|
|
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) => {
|
|
53
53
|
flex?: string | undefined;
|
|
@@ -60,11 +60,11 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
-
onReady?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
63
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
67
66
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onReady?: ((...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: "focus" | "ready" | "change" | "blur" | "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, ("focus" | "ready" | "change" | "blur" | "update:value" | "getCount")[], "focus" | "ready" | "change" | "blur" | "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
|
} & {
|
|
@@ -287,11 +287,11 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
-
onReady?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
292
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
290
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
291
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
294
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
disabled: boolean;
|
|
@@ -11863,6 +11863,9 @@ const _sfc_main$1 = {
|
|
|
11863
11863
|
});
|
|
11864
11864
|
},
|
|
11865
11865
|
paste(event) {
|
|
11866
|
+
if (uploadDisabled.value) {
|
|
11867
|
+
return;
|
|
11868
|
+
}
|
|
11866
11869
|
const items = event?.clipboardData?.items;
|
|
11867
11870
|
let file = null;
|
|
11868
11871
|
if (items && items.length) {
|
|
@@ -11984,7 +11987,7 @@ const _sfc_main$1 = {
|
|
|
11984
11987
|
immediate: true
|
|
11985
11988
|
}
|
|
11986
11989
|
);
|
|
11987
|
-
expose({ state, methods });
|
|
11990
|
+
expose({ state, methods, paste: methods.paste });
|
|
11988
11991
|
return {
|
|
11989
11992
|
...vue.toRefs(state),
|
|
11990
11993
|
icons,
|
|
@@ -12173,7 +12176,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12173
12176
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
12174
12177
|
onClick: ($event) => _ctx.viewOnePicture(item)
|
|
12175
12178
|
}, null, 8, _hoisted_9)) : vue.createCommentVNode("v-if", true),
|
|
12176
|
-
!(_ctx.extraConfigs.hidenDelBtn ?? false) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
12179
|
+
!(_ctx.extraConfigs.hidenDelBtn ?? _ctx.extraConfigs.hideDelBtn ?? false) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
12177
12180
|
key: 1,
|
|
12178
12181
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--delete",
|
|
12179
12182
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
@@ -12270,10 +12273,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12270
12273
|
class: "bm-upload__error-reload",
|
|
12271
12274
|
onClick: (e) => _ctx.reUpload(e, item.uid)
|
|
12272
12275
|
}, null, 8, _hoisted_32)) : vue.createCommentVNode("v-if", true),
|
|
12273
|
-
vue.
|
|
12276
|
+
!(_ctx.extraConfigs.hidenDelBtn ?? _ctx.extraConfigs.hideDelBtn ?? false) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
12277
|
+
key: 1,
|
|
12274
12278
|
class: "bm-upload__trash",
|
|
12275
12279
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
12276
|
-
}, null, 8, _hoisted_33)
|
|
12280
|
+
}, null, 8, _hoisted_33)) : vue.createCommentVNode("v-if", true)
|
|
12277
12281
|
])
|
|
12278
12282
|
]),
|
|
12279
12283
|
!item.isDoneDeloy || item.progress < 100 || item.status === "error" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_34, [
|
|
@@ -60,11 +60,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
default: (...args: any[]) => any;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
-
onReady?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
63
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
67
66
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onReady?: ((...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: "focus" | "ready" | "change" | "blur" | "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, ("focus" | "ready" | "change" | "blur" | "update:value" | "getCount")[], "focus" | "ready" | "change" | "blur" | "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
|
} & {
|
|
@@ -287,11 +287,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
default: (...args: any[]) => any;
|
|
288
288
|
};
|
|
289
289
|
}>> & {
|
|
290
|
-
onReady?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
292
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
290
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
291
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
294
293
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
onReady?: ((...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<"
|
|
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;
|
|
@@ -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;
|
|
@@ -1,7 +1,48 @@
|
|
|
1
|
-
declare const BmFlowDesigner: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
|
|
1
|
+
declare const BmFlowDesigner: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
lineLength: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
lineLength: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
}>> & {
|
|
13
|
+
onNodeCallback?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
onLoadFinish?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>>;
|
|
16
|
+
emit: (event: "nodeCallback" | "loadFinish", ...args: any[]) => void;
|
|
17
|
+
container: import("vue").Ref<null>;
|
|
3
18
|
lf: any;
|
|
4
|
-
|
|
5
|
-
|
|
19
|
+
graphModel: any;
|
|
20
|
+
eventCenter: any;
|
|
21
|
+
getFlowRawData: () => {
|
|
22
|
+
json: any;
|
|
23
|
+
xml: any;
|
|
24
|
+
};
|
|
25
|
+
loadFlowData: (json: any) => void;
|
|
26
|
+
state: {
|
|
27
|
+
startId: string;
|
|
28
|
+
endId: string;
|
|
29
|
+
};
|
|
30
|
+
flowMethods: any;
|
|
31
|
+
initFlowInstance: () => void;
|
|
32
|
+
initFlowEvent: () => void;
|
|
33
|
+
focusOnZoom: (y?: any) => void;
|
|
34
|
+
initFlowNodes: () => void;
|
|
35
|
+
changePriority: (id: any, priority: any) => void;
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("nodeCallback" | "loadFinish")[], "nodeCallback" | "loadFinish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
lineLength: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
}>> & {
|
|
42
|
+
onNodeCallback?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
onLoadFinish?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
lineLength: number;
|
|
46
|
+
}>>;
|
|
6
47
|
export { BmFlowDesigner };
|
|
7
48
|
export default BmFlowDesigner;
|