bm-admin-ui 1.2.46-alpha → 1.2.48-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/edit-form/index.d.ts +54 -31
- 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/form-create/index.js +10 -2
- 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 +13 -0
- package/es/components/staffs-selector/index.js +7 -1
- package/es/components/staffs-selector/src/action.d.ts +4 -0
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +13 -0
- 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/edit-form/index.d.ts +54 -31
- 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/form-create/index.js +10 -2
- 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 +13 -0
- package/lib/components/staffs-selector/index.js +7 -1
- package/lib/components/staffs-selector/src/action.d.ts +4 -0
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +13 -0
- 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 +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 +13 -0
- package/types/components/staffs-selector/src/action.d.ts +4 -0
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +13 -0
- 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<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
|
-
[key: string]: any;
|
|
47
|
-
}> | null | undefined) | JSX.Element | (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;
|
|
@@ -875,7 +875,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
875
875
|
"load",
|
|
876
876
|
"disabled",
|
|
877
877
|
"fieldNames",
|
|
878
|
-
"immediateFetch"
|
|
878
|
+
"immediateFetch",
|
|
879
|
+
"centered"
|
|
879
880
|
],
|
|
880
881
|
emits: ["change"],
|
|
881
882
|
setup(__props, { emit: emits }) {
|
|
@@ -924,8 +925,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
924
925
|
load: __props.load,
|
|
925
926
|
limit: __props.limit,
|
|
926
927
|
"immediate-fetch": __props.immediateFetch,
|
|
928
|
+
centered: _ctx.$props.centered,
|
|
927
929
|
"onUpdate:select": selectedChange
|
|
928
|
-
}, null, 8, ["visible", "select", "title", "mode", "load", "limit", "immediate-fetch"])
|
|
930
|
+
}, null, 8, ["visible", "select", "title", "mode", "load", "limit", "immediate-fetch", "centered"])
|
|
929
931
|
]);
|
|
930
932
|
};
|
|
931
933
|
}
|
|
@@ -952,6 +954,7 @@ var people = {
|
|
|
952
954
|
});
|
|
953
955
|
},
|
|
954
956
|
fieldNames: (_a = extraConfig.people) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
957
|
+
centered: true,
|
|
955
958
|
},
|
|
956
959
|
effect: {
|
|
957
960
|
required: data.effect.required && (((_b = data.effect) === null || _b === void 0 ? void 0 : _b.requiredTip) || '请选择'),
|
|
@@ -997,6 +1000,7 @@ var people = {
|
|
|
997
1000
|
});
|
|
998
1001
|
},
|
|
999
1002
|
fieldNames: (_a = extraConfig.people) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
1003
|
+
centered: true,
|
|
1000
1004
|
},
|
|
1001
1005
|
effect: {
|
|
1002
1006
|
required: data.effect.required && (((_b = data.effect) === null || _b === void 0 ? void 0 : _b.requiredTip) || '请选择'),
|
|
@@ -1037,6 +1041,7 @@ var people = {
|
|
|
1037
1041
|
mode: data.props.limit ? 'radio' : 'multiple',
|
|
1038
1042
|
placeholder: data.props.placeholder,
|
|
1039
1043
|
disabled: data.disabled,
|
|
1044
|
+
centered: true,
|
|
1040
1045
|
onChange: (value) => {
|
|
1041
1046
|
row[field] = value;
|
|
1042
1047
|
},
|
|
@@ -29418,6 +29423,7 @@ var department = {
|
|
|
29418
29423
|
immediateFetch: true,
|
|
29419
29424
|
unitStr: '个',
|
|
29420
29425
|
defaultSelected: data.value,
|
|
29426
|
+
centered: true,
|
|
29421
29427
|
load() {
|
|
29422
29428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29423
29429
|
return yield extraConfig.department.fetch();
|
|
@@ -29466,6 +29472,7 @@ var department = {
|
|
|
29466
29472
|
immediateFetch: true,
|
|
29467
29473
|
unitStr: '个',
|
|
29468
29474
|
defaultSelected: data.value,
|
|
29475
|
+
centered: true,
|
|
29469
29476
|
load() {
|
|
29470
29477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29471
29478
|
return yield extraConfig.department.fetch();
|
|
@@ -29515,6 +29522,7 @@ var department = {
|
|
|
29515
29522
|
immediateFetch: true,
|
|
29516
29523
|
unitStr: '个',
|
|
29517
29524
|
disabled: data.disabled,
|
|
29525
|
+
centered: true,
|
|
29518
29526
|
onChange: (value) => {
|
|
29519
29527
|
row[field] = value;
|
|
29520
29528
|
},
|
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
|
-
import { reactive, onBeforeUnmount, ref, watch, nextTick, toRefs, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementVNode, normalizeStyle, normalizeClass, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
+
import { defineComponent, reactive, onBeforeUnmount, ref, watch, nextTick, toRefs, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementVNode, normalizeStyle, normalizeClass, createTextVNode, toDisplayString } from 'vue';
|
|
3
3
|
|
|
4
4
|
var _export_sfc = (sfc, props) => {
|
|
5
5
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -9,7 +9,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
9
9
|
return target;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
const _sfc_main = {
|
|
12
|
+
const _sfc_main = defineComponent({
|
|
13
13
|
name: "BmOverTooltips",
|
|
14
14
|
props: {
|
|
15
15
|
title: {
|
|
@@ -94,15 +94,15 @@ const _sfc_main = {
|
|
|
94
94
|
getPopupContainer
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
};
|
|
97
|
+
});
|
|
98
98
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
99
99
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
100
100
|
return openBlock(), createBlock(_component_a_tooltip, {
|
|
101
101
|
visible: _ctx.isShow,
|
|
102
102
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.isShow = $event),
|
|
103
|
-
title:
|
|
104
|
-
"get-popup-container":
|
|
105
|
-
onVisibleChange:
|
|
103
|
+
title: _ctx.labelTitle || _ctx.title,
|
|
104
|
+
"get-popup-container": _ctx.getPopupContainer,
|
|
105
|
+
onVisibleChange: _ctx.handleVisibleChange
|
|
106
106
|
}, {
|
|
107
107
|
title: withCtx(() => [
|
|
108
108
|
renderSlot(_ctx.$slots, "title")
|
|
@@ -111,14 +111,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
111
111
|
createElementVNode("div", {
|
|
112
112
|
ref: "mySelf",
|
|
113
113
|
style: normalizeStyle({
|
|
114
|
-
width:
|
|
115
|
-
WebkitLineClamp:
|
|
114
|
+
width: _ctx.width ? _ctx.width + "px" : "100%",
|
|
115
|
+
WebkitLineClamp: _ctx.line
|
|
116
116
|
}),
|
|
117
|
-
class: normalizeClass(
|
|
117
|
+
class: normalizeClass(_ctx.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
|
|
118
118
|
}, [
|
|
119
119
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
120
120
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
121
|
-
createTextVNode(toDisplayString(
|
|
121
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
122
122
|
])
|
|
123
123
|
])
|
|
124
124
|
], 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;
|
|
@@ -39,6 +39,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
centered: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
}, {
|
|
43
47
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
44
48
|
visible: {
|
|
@@ -81,6 +85,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
81
85
|
type: StringConstructor;
|
|
82
86
|
default: string;
|
|
83
87
|
};
|
|
88
|
+
centered: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
84
92
|
}>> & {
|
|
85
93
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
94
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -1042,6 +1050,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1042
1050
|
type: StringConstructor;
|
|
1043
1051
|
default: string;
|
|
1044
1052
|
};
|
|
1053
|
+
centered: {
|
|
1054
|
+
type: BooleanConstructor;
|
|
1055
|
+
default: boolean;
|
|
1056
|
+
};
|
|
1045
1057
|
}>> & {
|
|
1046
1058
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1047
1059
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -1049,6 +1061,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1049
1061
|
}, {
|
|
1050
1062
|
visible: boolean;
|
|
1051
1063
|
title: string;
|
|
1064
|
+
centered: boolean;
|
|
1052
1065
|
mode: string;
|
|
1053
1066
|
showCount: boolean;
|
|
1054
1067
|
unitStr: string;
|
|
@@ -52,6 +52,10 @@ const selectProps = {
|
|
|
52
52
|
type: String,
|
|
53
53
|
default: '人',
|
|
54
54
|
},
|
|
55
|
+
centered: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false,
|
|
58
|
+
},
|
|
55
59
|
};
|
|
56
60
|
readonly([
|
|
57
61
|
{ title: '成员', key: 0, paramStr: 'staff' },
|
|
@@ -496,6 +500,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
496
500
|
emits: ["update:visible", "update:select", "change"],
|
|
497
501
|
setup(__props, { emit }) {
|
|
498
502
|
const props = __props;
|
|
503
|
+
console.log("\u{1F680} ~ props:", props);
|
|
499
504
|
const selected = ref([]);
|
|
500
505
|
const computeSelected = computed(() => {
|
|
501
506
|
let list2 = [];
|
|
@@ -668,6 +673,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
668
673
|
"ok-text": "\u786E\u5B9A",
|
|
669
674
|
"cancel-text": "\u53D6\u6D88",
|
|
670
675
|
"destroy-on-close": true,
|
|
676
|
+
centered: _ctx.$props.centered,
|
|
671
677
|
onCancel: modalCancel,
|
|
672
678
|
onOk: summitSelect
|
|
673
679
|
}, {
|
|
@@ -717,7 +723,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
717
723
|
])
|
|
718
724
|
]),
|
|
719
725
|
_: 1
|
|
720
|
-
}, 8, ["title", "visible", "width"]);
|
|
726
|
+
}, 8, ["title", "visible", "width", "centered"]);
|
|
721
727
|
};
|
|
722
728
|
}
|
|
723
729
|
});
|
|
@@ -39,6 +39,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
centered: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
}, {
|
|
43
47
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
44
48
|
visible: {
|
|
@@ -81,6 +85,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
85
|
type: StringConstructor;
|
|
82
86
|
default: string;
|
|
83
87
|
};
|
|
88
|
+
centered: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
84
92
|
}>> & {
|
|
85
93
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
94
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -1042,6 +1050,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1042
1050
|
type: StringConstructor;
|
|
1043
1051
|
default: string;
|
|
1044
1052
|
};
|
|
1053
|
+
centered: {
|
|
1054
|
+
type: BooleanConstructor;
|
|
1055
|
+
default: boolean;
|
|
1056
|
+
};
|
|
1045
1057
|
}>> & {
|
|
1046
1058
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1047
1059
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -1049,6 +1061,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1049
1061
|
}, {
|
|
1050
1062
|
visible: boolean;
|
|
1051
1063
|
title: string;
|
|
1064
|
+
centered: boolean;
|
|
1052
1065
|
mode: string;
|
|
1053
1066
|
showCount: boolean;
|
|
1054
1067
|
unitStr: string;
|