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;
|
|
@@ -889,7 +889,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
889
889
|
"load",
|
|
890
890
|
"disabled",
|
|
891
891
|
"fieldNames",
|
|
892
|
-
"immediateFetch"
|
|
892
|
+
"immediateFetch",
|
|
893
|
+
"centered"
|
|
893
894
|
],
|
|
894
895
|
emits: ["change"],
|
|
895
896
|
setup(__props, { emit: emits }) {
|
|
@@ -938,8 +939,9 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
938
939
|
load: __props.load,
|
|
939
940
|
limit: __props.limit,
|
|
940
941
|
"immediate-fetch": __props.immediateFetch,
|
|
942
|
+
centered: _ctx.$props.centered,
|
|
941
943
|
"onUpdate:select": selectedChange
|
|
942
|
-
}, null, 8, ["visible", "select", "title", "mode", "load", "limit", "immediate-fetch"])
|
|
944
|
+
}, null, 8, ["visible", "select", "title", "mode", "load", "limit", "immediate-fetch", "centered"])
|
|
943
945
|
]);
|
|
944
946
|
};
|
|
945
947
|
}
|
|
@@ -966,6 +968,7 @@ var people = {
|
|
|
966
968
|
});
|
|
967
969
|
},
|
|
968
970
|
fieldNames: (_a = extraConfig.people) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
971
|
+
centered: true,
|
|
969
972
|
},
|
|
970
973
|
effect: {
|
|
971
974
|
required: data.effect.required && (((_b = data.effect) === null || _b === void 0 ? void 0 : _b.requiredTip) || '请选择'),
|
|
@@ -1011,6 +1014,7 @@ var people = {
|
|
|
1011
1014
|
});
|
|
1012
1015
|
},
|
|
1013
1016
|
fieldNames: (_a = extraConfig.people) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
1017
|
+
centered: true,
|
|
1014
1018
|
},
|
|
1015
1019
|
effect: {
|
|
1016
1020
|
required: data.effect.required && (((_b = data.effect) === null || _b === void 0 ? void 0 : _b.requiredTip) || '请选择'),
|
|
@@ -1051,6 +1055,7 @@ var people = {
|
|
|
1051
1055
|
mode: data.props.limit ? 'radio' : 'multiple',
|
|
1052
1056
|
placeholder: data.props.placeholder,
|
|
1053
1057
|
disabled: data.disabled,
|
|
1058
|
+
centered: true,
|
|
1054
1059
|
onChange: (value) => {
|
|
1055
1060
|
row[field] = value;
|
|
1056
1061
|
},
|
|
@@ -29432,6 +29437,7 @@ var department = {
|
|
|
29432
29437
|
immediateFetch: true,
|
|
29433
29438
|
unitStr: '个',
|
|
29434
29439
|
defaultSelected: data.value,
|
|
29440
|
+
centered: true,
|
|
29435
29441
|
load() {
|
|
29436
29442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29437
29443
|
return yield extraConfig.department.fetch();
|
|
@@ -29480,6 +29486,7 @@ var department = {
|
|
|
29480
29486
|
immediateFetch: true,
|
|
29481
29487
|
unitStr: '个',
|
|
29482
29488
|
defaultSelected: data.value,
|
|
29489
|
+
centered: true,
|
|
29483
29490
|
load() {
|
|
29484
29491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29485
29492
|
return yield extraConfig.department.fetch();
|
|
@@ -29529,6 +29536,7 @@ var department = {
|
|
|
29529
29536
|
immediateFetch: true,
|
|
29530
29537
|
unitStr: '个',
|
|
29531
29538
|
disabled: data.disabled,
|
|
29539
|
+
centered: true,
|
|
29532
29540
|
onChange: (value) => {
|
|
29533
29541
|
row[field] = value;
|
|
29534
29542
|
},
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -56,6 +56,10 @@ const selectProps = {
|
|
|
56
56
|
type: String,
|
|
57
57
|
default: '人',
|
|
58
58
|
},
|
|
59
|
+
centered: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: false,
|
|
62
|
+
},
|
|
59
63
|
};
|
|
60
64
|
vue.readonly([
|
|
61
65
|
{ title: '成员', key: 0, paramStr: 'staff' },
|
|
@@ -500,6 +504,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
500
504
|
emits: ["update:visible", "update:select", "change"],
|
|
501
505
|
setup(__props, { emit }) {
|
|
502
506
|
const props = __props;
|
|
507
|
+
console.log("\u{1F680} ~ props:", props);
|
|
503
508
|
const selected = vue.ref([]);
|
|
504
509
|
const computeSelected = vue.computed(() => {
|
|
505
510
|
let list2 = [];
|
|
@@ -672,6 +677,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
672
677
|
"ok-text": "\u786E\u5B9A",
|
|
673
678
|
"cancel-text": "\u53D6\u6D88",
|
|
674
679
|
"destroy-on-close": true,
|
|
680
|
+
centered: _ctx.$props.centered,
|
|
675
681
|
onCancel: modalCancel,
|
|
676
682
|
onOk: summitSelect
|
|
677
683
|
}, {
|
|
@@ -721,7 +727,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
721
727
|
])
|
|
722
728
|
]),
|
|
723
729
|
_: 1
|
|
724
|
-
}, 8, ["title", "visible", "width"]);
|
|
730
|
+
}, 8, ["title", "visible", "width", "centered"]);
|
|
725
731
|
};
|
|
726
732
|
}
|
|
727
733
|
});
|
|
@@ -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;
|