bm-admin-ui 1.2.45-alpha → 1.2.47-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 +54 -31
- package/es/components/attachment/index.js +10 -10
- package/es/components/attachment/src/attachment.vue.d.ts +54 -31
- package/es/components/cascader/index.js +77 -77
- package/es/components/edit-form/index.d.ts +54 -31
- package/es/components/edit-form/index.js +1 -1
- package/es/components/edit-form/src/edit-form.vue.d.ts +54 -31
- package/es/components/editor/index.d.ts +134 -134
- package/es/components/editor/index.js +25 -25
- package/es/components/editor/src/editor.vue.d.ts +134 -134
- package/es/components/float-table/index.d.ts +136 -62
- package/es/components/float-table/index.js +8 -8
- package/es/components/float-table/src/float-table.vue.d.ts +136 -62
- package/es/components/flow-designer/index.js +1 -1
- package/es/components/form-create/index.js +127 -25
- package/es/components/over-tooltips/index.d.ts +56 -33
- package/es/components/over-tooltips/index.js +10 -10
- package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
- package/es/components/staffs-selector/index.d.ts +4 -4
- package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +2 -2
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +4 -4
- package/es/components/upload/index.d.ts +134 -134
- package/es/components/upload/index.js +25 -25
- package/es/components/upload/src/upload.vue.d.ts +134 -134
- package/lib/components/attachment/index.d.ts +54 -31
- package/lib/components/attachment/index.js +9 -9
- package/lib/components/attachment/src/attachment.vue.d.ts +54 -31
- package/lib/components/cascader/index.js +77 -77
- package/lib/components/edit-form/index.d.ts +54 -31
- package/lib/components/edit-form/index.js +1 -1
- package/lib/components/edit-form/src/edit-form.vue.d.ts +54 -31
- package/lib/components/editor/index.d.ts +134 -134
- package/lib/components/editor/index.js +24 -24
- package/lib/components/editor/src/editor.vue.d.ts +134 -134
- package/lib/components/float-table/index.d.ts +136 -62
- package/lib/components/float-table/index.js +7 -7
- package/lib/components/float-table/src/float-table.vue.d.ts +136 -62
- package/lib/components/flow-designer/index.js +1 -1
- package/lib/components/form-create/index.js +126 -24
- package/lib/components/over-tooltips/index.d.ts +56 -33
- package/lib/components/over-tooltips/index.js +9 -9
- package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
- package/lib/components/staffs-selector/index.d.ts +4 -4
- package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +2 -2
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +4 -4
- package/lib/components/upload/index.d.ts +134 -134
- package/lib/components/upload/index.js +24 -24
- package/lib/components/upload/src/upload.vue.d.ts +134 -134
- package/package.json +34 -34
- package/theme-chalk/form-create.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/types/components/attachment/index.d.ts +54 -31
- package/types/components/attachment/src/attachment.vue.d.ts +54 -31
- package/types/components/edit-form/index.d.ts +54 -31
- package/types/components/edit-form/src/edit-form.vue.d.ts +54 -31
- package/types/components/editor/index.d.ts +134 -134
- package/types/components/editor/src/editor.vue.d.ts +134 -134
- package/types/components/float-table/index.d.ts +136 -62
- package/types/components/float-table/src/float-table.vue.d.ts +136 -62
- package/types/components/over-tooltips/index.d.ts +56 -33
- package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
- package/types/components/staffs-selector/index.d.ts +4 -4
- package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +2 -2
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +4 -4
- package/types/components/upload/index.d.ts +134 -134
- package/types/components/upload/src/upload.vue.d.ts +134 -134
|
@@ -1,69 +1,143 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
config: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
pagerProps: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
events: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
isNeedFloatHandle: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
setItemRef(el: any, column: any, rowid: any): void;
|
|
25
|
+
leaveFloatTable(): void;
|
|
26
|
+
scrollTo(config?: {}): void;
|
|
27
|
+
pageNoChange(val: any): Promise<void>;
|
|
28
|
+
pageSizeChange(val: any, size: any): Promise<void>;
|
|
29
|
+
floatMouseLeave(): void;
|
|
30
|
+
floatOverMouse(): void;
|
|
31
|
+
goAnimationEndFn(): void;
|
|
32
|
+
scrollNotShowFloat(): void;
|
|
33
|
+
classes: import("vue").ComputedRef<(string | {
|
|
34
|
+
floatHandleTable: any;
|
|
35
|
+
})[]>;
|
|
36
|
+
gridOptions: import("vue").ComputedRef<{
|
|
37
|
+
resizable: boolean;
|
|
38
|
+
rowDragAble: boolean;
|
|
39
|
+
border: string;
|
|
40
|
+
highlightHoverRow: boolean;
|
|
41
|
+
showOverflow: boolean;
|
|
42
|
+
showHeaderOverflow: boolean;
|
|
43
|
+
align: null;
|
|
44
|
+
columns: never[];
|
|
45
|
+
tooltipConfig: {
|
|
46
|
+
leaveDelay: number;
|
|
12
47
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
48
|
+
data: never[];
|
|
49
|
+
pagerConfig: {};
|
|
50
|
+
emptyText: string;
|
|
51
|
+
checkboxConfig: {
|
|
52
|
+
reserve: boolean;
|
|
53
|
+
highlight: any;
|
|
54
|
+
trigger: string;
|
|
16
55
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
default: boolean;
|
|
56
|
+
columnConfig: {
|
|
57
|
+
useKey: boolean;
|
|
20
58
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
59
|
+
rowClassName: string;
|
|
60
|
+
sortConfig: {
|
|
61
|
+
trigger: string;
|
|
62
|
+
orders: (string | null)[];
|
|
24
63
|
};
|
|
64
|
+
}>;
|
|
65
|
+
gridEvents: import("vue").ComputedRef<{
|
|
66
|
+
cellMouseenter?: ((e: any) => void) | undefined;
|
|
67
|
+
scroll?: ((e: any) => void) | undefined;
|
|
68
|
+
cellMouseleave?: ((e: any) => void) | undefined;
|
|
69
|
+
radioChange: (val: any) => void;
|
|
70
|
+
checkboxChange: (val: any) => void;
|
|
71
|
+
checkboxAll: (val: any) => void;
|
|
72
|
+
cellClick: (data: any) => void;
|
|
73
|
+
}>;
|
|
74
|
+
pager: import("vue").ComputedRef<{
|
|
75
|
+
size: string;
|
|
76
|
+
showTotal: (total: any) => string;
|
|
77
|
+
showQuickJumper: boolean;
|
|
78
|
+
showSizeChanger: boolean;
|
|
79
|
+
current: number;
|
|
80
|
+
pageSize: number;
|
|
81
|
+
total: number;
|
|
82
|
+
hideOnSinglePage: boolean;
|
|
83
|
+
pageSizeOptions: string[];
|
|
84
|
+
}>;
|
|
85
|
+
simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}> | null | undefined)[]>;
|
|
90
|
+
floatRefsId: import("vue").Ref<{}>;
|
|
91
|
+
floatId: import("vue").Ref<string>;
|
|
92
|
+
isShowFloatHandle: import("vue").Ref<boolean>;
|
|
93
|
+
atVisible: import("vue").Ref<boolean>;
|
|
94
|
+
goAnimationEnd: import("vue").Ref<boolean>;
|
|
95
|
+
floatPosition: import("vue").Ref<{
|
|
96
|
+
top: string;
|
|
97
|
+
height: string;
|
|
98
|
+
}>;
|
|
99
|
+
trNodes: import("vue").Ref<any>;
|
|
100
|
+
isInScroll: import("vue").Ref<boolean>;
|
|
101
|
+
inMaxScrollX: import("vue").Ref<boolean>;
|
|
102
|
+
floatRow: import("vue").Ref<{}>;
|
|
103
|
+
floatRowIndex: import("vue").Ref<undefined>;
|
|
104
|
+
floatHandleDomCol: import("vue").Ref<any>;
|
|
105
|
+
floatTable: import("vue").Ref<any>;
|
|
106
|
+
xGrid: import("vue").Ref<any>;
|
|
107
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("radioChange" | "checkboxChange" | "checkboxChangeAll" | "cellClick" | "pageChange" | "pageSizeChange")[], "radioChange" | "checkboxChange" | "checkboxChangeAll" | "cellClick" | "pageChange" | "pageSizeChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
+
config: {
|
|
109
|
+
type: ObjectConstructor;
|
|
110
|
+
required: true;
|
|
111
|
+
default: () => {};
|
|
112
|
+
};
|
|
113
|
+
pagerProps: {
|
|
114
|
+
type: ObjectConstructor;
|
|
115
|
+
default: () => {};
|
|
116
|
+
};
|
|
117
|
+
events: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
default: () => {};
|
|
120
|
+
};
|
|
121
|
+
isNeedFloatHandle: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
25
124
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}): {
|
|
30
|
-
setItemRef(el: any, column: any, rowid: any): void;
|
|
31
|
-
leaveFloatTable(): void;
|
|
32
|
-
scrollTo(config?: {}): void;
|
|
33
|
-
pageNoChange(val: any): Promise<void>;
|
|
34
|
-
pageSizeChange(val: any, size: any): Promise<void>;
|
|
35
|
-
floatMouseLeave(): void;
|
|
36
|
-
floatOverMouse(): void;
|
|
37
|
-
goAnimationEndFn(): void;
|
|
38
|
-
scrollNotShowFloat(): void;
|
|
39
|
-
classes: import("vue").ComputedRef<(string | {
|
|
40
|
-
floatHandleTable: any;
|
|
41
|
-
})[]>;
|
|
42
|
-
gridOptions: import("vue").ComputedRef<any>;
|
|
43
|
-
gridEvents: import("vue").ComputedRef<any>;
|
|
44
|
-
pager: import("vue").ComputedRef<any>;
|
|
45
|
-
simpleImage: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
|
-
[key: string]: any;
|
|
47
|
-
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
}> | null | undefined)[]>;
|
|
50
|
-
floatRefsId: import("vue").Ref<{}>;
|
|
51
|
-
floatId: import("vue").Ref<string>;
|
|
52
|
-
isShowFloatHandle: import("vue").Ref<boolean>;
|
|
53
|
-
atVisible: import("vue").Ref<boolean>;
|
|
54
|
-
goAnimationEnd: import("vue").Ref<boolean>;
|
|
55
|
-
floatPosition: import("vue").Ref<{
|
|
56
|
-
top: string;
|
|
57
|
-
height: string;
|
|
58
|
-
}>;
|
|
59
|
-
trNodes: import("vue").Ref<any>;
|
|
60
|
-
isInScroll: import("vue").Ref<boolean>;
|
|
61
|
-
inMaxScrollX: import("vue").Ref<boolean>;
|
|
62
|
-
floatRow: import("vue").Ref<{}>;
|
|
63
|
-
floatRowIndex: import("vue").Ref<undefined>;
|
|
64
|
-
floatHandleDomCol: import("vue").Ref<any>;
|
|
65
|
-
floatTable: import("vue").Ref<any>;
|
|
66
|
-
xGrid: import("vue").Ref<any>;
|
|
125
|
+
size: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
67
128
|
};
|
|
68
|
-
}
|
|
129
|
+
}>> & {
|
|
130
|
+
onRadioChange?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
132
|
+
onCheckboxChangeAll?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
onCellClick?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
onPageChange?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
onPageSizeChange?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
size: string;
|
|
138
|
+
config: Record<string, any>;
|
|
139
|
+
pagerProps: Record<string, any>;
|
|
140
|
+
events: Record<string, any>;
|
|
141
|
+
isNeedFloatHandle: boolean;
|
|
142
|
+
}>;
|
|
69
143
|
export default _default;
|
|
@@ -287,7 +287,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
287
287
|
vue.createElementVNode("span", {
|
|
288
288
|
class: vue.normalizeClass(["opeator", { active: __props.isCustom }])
|
|
289
289
|
}, [
|
|
290
|
-
vue.createCommentVNode(' <CopyOutlined\
|
|
290
|
+
vue.createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
291
291
|
vue.createVNode(vue.unref(iconsVue.CloseOutlined), {
|
|
292
292
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(
|
|
293
293
|
() => {
|
|
@@ -18780,7 +18780,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18780
18780
|
debounceFetch("");
|
|
18781
18781
|
return (_ctx, _cache) => {
|
|
18782
18782
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
18783
|
-
vue.createCommentVNode(' <Input\
|
|
18783
|
+
vue.createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
|
|
18784
18784
|
vue.createVNode(vue.unref(antDesignVue.Select), {
|
|
18785
18785
|
value: __props.value,
|
|
18786
18786
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
@@ -26582,6 +26582,11 @@ const _hoisted_6$3 = {
|
|
|
26582
26582
|
class: "bm-dc-table-widget__top-bar"
|
|
26583
26583
|
};
|
|
26584
26584
|
const _hoisted_7$3 = { class: "bm-dc-table-widget__table" };
|
|
26585
|
+
const _hoisted_8$2 = { class: "bm-confirm-modal-content" };
|
|
26586
|
+
const _hoisted_9$2 = { class: "bm-confirm-modal-icon" };
|
|
26587
|
+
const _hoisted_10$2 = { class: "bm-confirm-modal-body" };
|
|
26588
|
+
const _hoisted_11$3 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-confirm-modal-title" }, "\u6279\u91CF\u5BFC\u5165", -1);
|
|
26589
|
+
const _hoisted_12$1 = { class: "bm-confirm-modal-text" };
|
|
26585
26590
|
const _sfc_main$7 = vue.defineComponent({
|
|
26586
26591
|
__name: "table-widget",
|
|
26587
26592
|
props: [
|
|
@@ -26742,6 +26747,23 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
26742
26747
|
return "";
|
|
26743
26748
|
}
|
|
26744
26749
|
});
|
|
26750
|
+
const conflictStore = vue.reactive({
|
|
26751
|
+
visible: false,
|
|
26752
|
+
msg: "",
|
|
26753
|
+
data: null,
|
|
26754
|
+
clickType: "ok",
|
|
26755
|
+
open(msg, data2) {
|
|
26756
|
+
this.visible = true;
|
|
26757
|
+
this.msg = msg;
|
|
26758
|
+
this.data = data2;
|
|
26759
|
+
},
|
|
26760
|
+
close(clickType) {
|
|
26761
|
+
this.visible = false;
|
|
26762
|
+
this.msg = "";
|
|
26763
|
+
this.data = null;
|
|
26764
|
+
this.clickType = clickType;
|
|
26765
|
+
}
|
|
26766
|
+
});
|
|
26745
26767
|
function isShow(key) {
|
|
26746
26768
|
return props.rule.config.tableAdvancedFeatures.includes(key);
|
|
26747
26769
|
}
|
|
@@ -26924,28 +26946,44 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
26924
26946
|
width: "140px",
|
|
26925
26947
|
slots: {
|
|
26926
26948
|
default({ row }) {
|
|
26927
|
-
if (item.value === "\u5546\u54C1\u56FE\u7247"
|
|
26928
|
-
|
|
26929
|
-
|
|
26930
|
-
|
|
26931
|
-
|
|
26932
|
-
|
|
26949
|
+
if (item.value === "\u5546\u54C1\u56FE\u7247") {
|
|
26950
|
+
if (row[childField]) {
|
|
26951
|
+
return vue.h(
|
|
26952
|
+
"div",
|
|
26953
|
+
{
|
|
26954
|
+
style: {
|
|
26955
|
+
color: "#9393A3"
|
|
26956
|
+
},
|
|
26957
|
+
class: {
|
|
26958
|
+
"bm-fc-table-img": true
|
|
26959
|
+
}
|
|
26933
26960
|
},
|
|
26934
|
-
|
|
26935
|
-
|
|
26936
|
-
|
|
26937
|
-
|
|
26938
|
-
|
|
26939
|
-
|
|
26940
|
-
|
|
26961
|
+
[
|
|
26962
|
+
vue.h(antDesignVue.Image, {
|
|
26963
|
+
src: props.extraConfig.common.previewImg(row[childField]),
|
|
26964
|
+
style: {
|
|
26965
|
+
width: "86px",
|
|
26966
|
+
height: "86px",
|
|
26967
|
+
padding: "8px"
|
|
26968
|
+
}
|
|
26969
|
+
})
|
|
26970
|
+
]
|
|
26971
|
+
);
|
|
26972
|
+
} else {
|
|
26973
|
+
return vue.h(
|
|
26974
|
+
"div",
|
|
26975
|
+
{
|
|
26941
26976
|
style: {
|
|
26942
|
-
|
|
26943
|
-
|
|
26944
|
-
|
|
26977
|
+
color: "#9393A3"
|
|
26978
|
+
},
|
|
26979
|
+
class: {
|
|
26980
|
+
"bm-fc-placeholder": true,
|
|
26981
|
+
"bm-fc-table-img-placeholder": true
|
|
26945
26982
|
}
|
|
26946
|
-
}
|
|
26947
|
-
|
|
26948
|
-
|
|
26983
|
+
},
|
|
26984
|
+
["\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6"]
|
|
26985
|
+
);
|
|
26986
|
+
}
|
|
26949
26987
|
}
|
|
26950
26988
|
if (row[childField]) {
|
|
26951
26989
|
return vue.h(components.BmOverTooltips, { title: row[childField] }, []);
|
|
@@ -26957,8 +26995,7 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
26957
26995
|
color: "#9393A3"
|
|
26958
26996
|
},
|
|
26959
26997
|
class: {
|
|
26960
|
-
"bm-fc-placeholder": true
|
|
26961
|
-
"bm-fc-table-img-placeholder": true
|
|
26998
|
+
"bm-fc-placeholder": true
|
|
26962
26999
|
}
|
|
26963
27000
|
},
|
|
26964
27001
|
["\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6"]
|
|
@@ -27539,7 +27576,7 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
27539
27576
|
filterByShopcode: props.rule?.config?.dataFiltering,
|
|
27540
27577
|
dataFile: e.target.files?.[0]
|
|
27541
27578
|
}) || {};
|
|
27542
|
-
if (res.promptMessage && !await
|
|
27579
|
+
if (res.promptMessage && !await showConflictModal(res.promptMessage, res)) {
|
|
27543
27580
|
return;
|
|
27544
27581
|
}
|
|
27545
27582
|
if (res.templateDataList?.length) {
|
|
@@ -27609,7 +27646,27 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
27609
27646
|
});
|
|
27610
27647
|
return !!setting?.config?.doNotClearAfterFilterChange;
|
|
27611
27648
|
}
|
|
27649
|
+
async function showConflictModal(msg, data2) {
|
|
27650
|
+
conflictStore.open(msg, data2);
|
|
27651
|
+
return new Promise((resolve) => {
|
|
27652
|
+
let timer = setInterval(() => {
|
|
27653
|
+
if (conflictStore.visible === false) {
|
|
27654
|
+
resolve(conflictStore.clickType === "ok");
|
|
27655
|
+
clearInterval(timer);
|
|
27656
|
+
}
|
|
27657
|
+
}, 200);
|
|
27658
|
+
});
|
|
27659
|
+
}
|
|
27660
|
+
function handleDownloadConflict() {
|
|
27661
|
+
props.extraConfig.table?.downloadErrorFetch?.({
|
|
27662
|
+
tableConfig: tableConfig.value,
|
|
27663
|
+
columns: validColumns.value,
|
|
27664
|
+
codeField: "promptCode",
|
|
27665
|
+
data: conflictStore.data
|
|
27666
|
+
});
|
|
27667
|
+
}
|
|
27612
27668
|
return (_ctx, _cache) => {
|
|
27669
|
+
const _component_a_button = vue.resolveComponent("a-button");
|
|
27613
27670
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
|
|
27614
27671
|
vue.createElementVNode("div", _hoisted_2$5, [
|
|
27615
27672
|
vue.createTextVNode(vue.toDisplayString(__props.rule.title.title) + " ", 1),
|
|
@@ -27858,7 +27915,52 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
27858
27915
|
]),
|
|
27859
27916
|
_: 1
|
|
27860
27917
|
})
|
|
27861
|
-
])
|
|
27918
|
+
]),
|
|
27919
|
+
vue.createVNode(vue.unref(antDesignVue.Modal), {
|
|
27920
|
+
visible: conflictStore.visible,
|
|
27921
|
+
title: null,
|
|
27922
|
+
centered: "",
|
|
27923
|
+
"wrap-class-name": "bm-confirm-modal bm-confirm-modal-warning bm-confirm-modal-conflict",
|
|
27924
|
+
onCancel: _cache[2] || (_cache[2] = ($event) => conflictStore.close("cancel"))
|
|
27925
|
+
}, {
|
|
27926
|
+
footer: vue.withCtx(() => [
|
|
27927
|
+
vue.createVNode(_component_a_button, {
|
|
27928
|
+
onClick: _cache[0] || (_cache[0] = ($event) => conflictStore.close("cancel"))
|
|
27929
|
+
}, {
|
|
27930
|
+
default: vue.withCtx(() => [
|
|
27931
|
+
vue.createTextVNode("\u53D6\u6D88")
|
|
27932
|
+
]),
|
|
27933
|
+
_: 1
|
|
27934
|
+
}),
|
|
27935
|
+
vue.createVNode(_component_a_button, { onClick: handleDownloadConflict }, {
|
|
27936
|
+
default: vue.withCtx(() => [
|
|
27937
|
+
vue.createTextVNode("\u4E0B\u8F7D\u51B2\u7A81\u6570\u636E")
|
|
27938
|
+
]),
|
|
27939
|
+
_: 1
|
|
27940
|
+
}),
|
|
27941
|
+
vue.createVNode(_component_a_button, {
|
|
27942
|
+
type: "primary",
|
|
27943
|
+
onClick: _cache[1] || (_cache[1] = ($event) => conflictStore.close("ok"))
|
|
27944
|
+
}, {
|
|
27945
|
+
default: vue.withCtx(() => [
|
|
27946
|
+
vue.createTextVNode("\u786E\u5B9A")
|
|
27947
|
+
]),
|
|
27948
|
+
_: 1
|
|
27949
|
+
})
|
|
27950
|
+
]),
|
|
27951
|
+
default: vue.withCtx(() => [
|
|
27952
|
+
vue.createElementVNode("div", _hoisted_8$2, [
|
|
27953
|
+
vue.createElementVNode("div", _hoisted_9$2, [
|
|
27954
|
+
vue.createVNode(vue.unref(iconsVue.ExclamationCircleFilled))
|
|
27955
|
+
]),
|
|
27956
|
+
vue.createElementVNode("div", _hoisted_10$2, [
|
|
27957
|
+
_hoisted_11$3,
|
|
27958
|
+
vue.createElementVNode("div", _hoisted_12$1, vue.toDisplayString(conflictStore.msg), 1)
|
|
27959
|
+
])
|
|
27960
|
+
])
|
|
27961
|
+
]),
|
|
27962
|
+
_: 1
|
|
27963
|
+
}, 8, ["visible"])
|
|
27862
27964
|
]);
|
|
27863
27965
|
};
|
|
27864
27966
|
}
|
|
@@ -1,35 +1,58 @@
|
|
|
1
|
-
declare const BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
1
|
+
declare const BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
labelTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
line: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
width: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
showAlways: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
mySelf: import("vue").Ref<any>;
|
|
24
|
+
handleVisibleChange: (val: any) => void;
|
|
25
|
+
getPopupContainer: () => HTMLElement;
|
|
26
|
+
mSlots: import("vue").Ref<{}>;
|
|
27
|
+
isShow: import("vue").Ref<boolean>;
|
|
28
|
+
openShow: import("vue").Ref<boolean>;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
title: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
labelTitle: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
line: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
width: {
|
|
43
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
showAlways: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
}>>, {
|
|
51
|
+
title: string;
|
|
52
|
+
width: string | number;
|
|
53
|
+
labelTitle: string;
|
|
54
|
+
line: number;
|
|
55
|
+
showAlways: boolean;
|
|
56
|
+
}>>;
|
|
34
57
|
export { BmOverTooltips };
|
|
35
58
|
export default BmOverTooltips;
|
|
@@ -13,7 +13,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
13
13
|
return target;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
const _sfc_main = {
|
|
16
|
+
const _sfc_main = vue.defineComponent({
|
|
17
17
|
name: "BmOverTooltips",
|
|
18
18
|
props: {
|
|
19
19
|
title: {
|
|
@@ -98,15 +98,15 @@ const _sfc_main = {
|
|
|
98
98
|
getPopupContainer
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
};
|
|
101
|
+
});
|
|
102
102
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
103
103
|
const _component_a_tooltip = vue.resolveComponent("a-tooltip");
|
|
104
104
|
return vue.openBlock(), vue.createBlock(_component_a_tooltip, {
|
|
105
105
|
visible: _ctx.isShow,
|
|
106
106
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.isShow = $event),
|
|
107
|
-
title:
|
|
108
|
-
"get-popup-container":
|
|
109
|
-
onVisibleChange:
|
|
107
|
+
title: _ctx.labelTitle || _ctx.title,
|
|
108
|
+
"get-popup-container": _ctx.getPopupContainer,
|
|
109
|
+
onVisibleChange: _ctx.handleVisibleChange
|
|
110
110
|
}, {
|
|
111
111
|
title: vue.withCtx(() => [
|
|
112
112
|
vue.renderSlot(_ctx.$slots, "title")
|
|
@@ -115,14 +115,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
115
115
|
vue.createElementVNode("div", {
|
|
116
116
|
ref: "mySelf",
|
|
117
117
|
style: vue.normalizeStyle({
|
|
118
|
-
width:
|
|
119
|
-
WebkitLineClamp:
|
|
118
|
+
width: _ctx.width ? _ctx.width + "px" : "100%",
|
|
119
|
+
WebkitLineClamp: _ctx.line
|
|
120
120
|
}),
|
|
121
|
-
class: vue.normalizeClass(
|
|
121
|
+
class: vue.normalizeClass(_ctx.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
|
|
122
122
|
}, [
|
|
123
123
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
124
124
|
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
125
|
-
vue.createTextVNode(vue.toDisplayString(
|
|
125
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
126
126
|
])
|
|
127
127
|
])
|
|
128
128
|
], 6)
|
|
@@ -1,34 +1,57 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
labelTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
line: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
width: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
showAlways: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
mySelf: import("vue").Ref<any>;
|
|
24
|
+
handleVisibleChange: (val: any) => void;
|
|
25
|
+
getPopupContainer: () => HTMLElement;
|
|
26
|
+
mSlots: import("vue").Ref<{}>;
|
|
27
|
+
isShow: import("vue").Ref<boolean>;
|
|
28
|
+
openShow: import("vue").Ref<boolean>;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
title: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
labelTitle: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
line: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
width: {
|
|
43
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
showAlways: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
}>>, {
|
|
51
|
+
title: string;
|
|
52
|
+
width: string | number;
|
|
53
|
+
labelTitle: string;
|
|
54
|
+
line: number;
|
|
55
|
+
showAlways: boolean;
|
|
56
|
+
}>;
|
|
34
57
|
export default _default;
|