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
|
@@ -86,39 +86,62 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
86
|
onFieldChange: () => void;
|
|
87
87
|
onFieldBlur: () => void;
|
|
88
88
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
89
|
-
BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
type: StringConstructor;
|
|
94
|
-
default: undefined;
|
|
95
|
-
};
|
|
96
|
-
labelTitle: {
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
default: undefined;
|
|
99
|
-
};
|
|
100
|
-
line: {
|
|
101
|
-
type: NumberConstructor;
|
|
102
|
-
default: number;
|
|
103
|
-
};
|
|
104
|
-
width: {
|
|
105
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
106
|
-
default: number;
|
|
107
|
-
};
|
|
108
|
-
showAlways: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
89
|
+
BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
90
|
+
title: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: undefined;
|
|
112
93
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
getPopupContainer: () => HTMLElement;
|
|
117
|
-
mSlots: import("vue").Ref<{}>;
|
|
118
|
-
isShow: import("vue").Ref<boolean>;
|
|
119
|
-
openShow: import("vue").Ref<boolean>;
|
|
94
|
+
labelTitle: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: undefined;
|
|
120
97
|
};
|
|
121
|
-
|
|
98
|
+
line: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
width: {
|
|
103
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
104
|
+
default: number;
|
|
105
|
+
};
|
|
106
|
+
showAlways: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
}, {
|
|
111
|
+
mySelf: import("vue").Ref<any>;
|
|
112
|
+
handleVisibleChange: (val: any) => void;
|
|
113
|
+
getPopupContainer: () => HTMLElement;
|
|
114
|
+
mSlots: import("vue").Ref<{}>;
|
|
115
|
+
isShow: import("vue").Ref<boolean>;
|
|
116
|
+
openShow: import("vue").Ref<boolean>;
|
|
117
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
title: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: undefined;
|
|
121
|
+
};
|
|
122
|
+
labelTitle: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
line: {
|
|
127
|
+
type: NumberConstructor;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
width: {
|
|
131
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
132
|
+
default: number;
|
|
133
|
+
};
|
|
134
|
+
showAlways: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
}>>, {
|
|
139
|
+
title: string;
|
|
140
|
+
width: string | number;
|
|
141
|
+
labelTitle: string;
|
|
142
|
+
line: number;
|
|
143
|
+
showAlways: boolean;
|
|
144
|
+
}>>;
|
|
122
145
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:form" | "change:formItem" | "click:formItem" | "blur:formItem" | "pressEnter:formItem" | "keyup:formItem" | "focus:formItem")[], "update:form" | "change:formItem" | "click:formItem" | "blur:formItem" | "pressEnter:formItem" | "keyup:formItem" | "focus:formItem", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
146
|
config: {
|
|
124
147
|
type: import("vue").PropType<import("./types").FormConfig>;
|
|
@@ -119,143 +119,143 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
119
119
|
initialize: () => void;
|
|
120
120
|
handleUploadSuccess: (e: any) => void;
|
|
121
121
|
handlePaste: (evt: any) => void;
|
|
122
|
-
upload: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
OverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
127
|
-
name: string;
|
|
128
|
-
props: {
|
|
129
|
-
title: {
|
|
130
|
-
type: StringConstructor;
|
|
131
|
-
default: undefined;
|
|
132
|
-
};
|
|
133
|
-
labelTitle: {
|
|
134
|
-
type: StringConstructor;
|
|
135
|
-
default: undefined;
|
|
136
|
-
};
|
|
137
|
-
line: {
|
|
138
|
-
type: NumberConstructor;
|
|
139
|
-
default: number;
|
|
140
|
-
};
|
|
141
|
-
width: {
|
|
142
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
143
|
-
default: number;
|
|
144
|
-
};
|
|
145
|
-
showAlways: {
|
|
146
|
-
type: BooleanConstructor;
|
|
147
|
-
default: boolean;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
setup(props: any, context: any): {
|
|
151
|
-
mySelf: import("vue").Ref<any>;
|
|
152
|
-
handleVisibleChange: (val: any) => void;
|
|
153
|
-
getPopupContainer: () => HTMLElement;
|
|
154
|
-
mSlots: import("vue").Ref<{}>;
|
|
155
|
-
isShow: import("vue").Ref<boolean>;
|
|
156
|
-
openShow: import("vue").Ref<boolean>;
|
|
157
|
-
};
|
|
158
|
-
}>;
|
|
159
|
-
UploadOutlined: import("@ant-design/icons-vue/lib/icons/UploadOutlined").UploadOutlinedIconType;
|
|
160
|
-
LoadingOutlined: import("@ant-design/icons-vue/lib/icons/LoadingOutlined").LoadingOutlinedIconType;
|
|
161
|
-
InboxOutlined: import("@ant-design/icons-vue/lib/icons/InboxOutlined").InboxOutlinedIconType;
|
|
122
|
+
upload: import("vue").DefineComponent<{
|
|
123
|
+
uploadProps: {
|
|
124
|
+
type: import("vue").PropType<import("..").UploadPropsInner>;
|
|
125
|
+
default: () => {};
|
|
162
126
|
};
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
default: () => {};
|
|
167
|
-
};
|
|
168
|
-
extraProps: {
|
|
169
|
-
type: import("vue").PropType<import("..").ExtraProps>;
|
|
170
|
-
default: () => {};
|
|
171
|
-
};
|
|
172
|
-
defaultList: {
|
|
173
|
-
type: import("vue").PropType<import("..").DefaultList>;
|
|
174
|
-
default: () => never[];
|
|
175
|
-
};
|
|
176
|
-
uploadRequest: {
|
|
177
|
-
type: import("vue").PropType<import("..").UploadRequest>;
|
|
178
|
-
default(): () => void;
|
|
179
|
-
};
|
|
180
|
-
cloudReadUrl: {
|
|
181
|
-
type: import("vue").PropType<string>;
|
|
182
|
-
default: string;
|
|
183
|
-
};
|
|
184
|
-
holdProgress: {
|
|
185
|
-
type: import("vue").PropType<number>;
|
|
186
|
-
default: number;
|
|
187
|
-
};
|
|
188
|
-
customErrors: {
|
|
189
|
-
type: import("vue").PropType<import("..").CustomErrors>;
|
|
190
|
-
default(): undefined;
|
|
191
|
-
};
|
|
127
|
+
extraProps: {
|
|
128
|
+
type: import("vue").PropType<import("..").ExtraProps>;
|
|
129
|
+
default: () => {};
|
|
192
130
|
};
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
expose: any;
|
|
197
|
-
}): {
|
|
198
|
-
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
199
|
-
updateUploadProgress(file: any, progress: any): void;
|
|
200
|
-
customUploadRequest(file: any): void;
|
|
201
|
-
fileIsDelete(file: any): boolean;
|
|
202
|
-
uploadSuccess(data: any, file: any): void;
|
|
203
|
-
uploadError(error: any, file?: any): void;
|
|
204
|
-
deleteFile(uid: any): Promise<void>;
|
|
205
|
-
pictureHoverEnter(uid: string): void;
|
|
206
|
-
pictureHoverLeave(uid: string): void;
|
|
207
|
-
viewOnePicture(item: any): void;
|
|
208
|
-
handleClosePictureView(): void;
|
|
209
|
-
reUpload(e: any, uid: any): void;
|
|
210
|
-
paste(event: ClipboardEvent): void;
|
|
211
|
-
handleReject(e: any): void;
|
|
212
|
-
icons: {
|
|
213
|
-
pdf: string;
|
|
214
|
-
ppt: string;
|
|
215
|
-
excel: string;
|
|
216
|
-
doc: string;
|
|
217
|
-
others: string;
|
|
218
|
-
};
|
|
219
|
-
uploadBarColor: import("vue").Ref<string>;
|
|
220
|
-
uploadedList: import("vue").Ref<any[]>;
|
|
221
|
-
fileList: import("vue").Ref<{}>;
|
|
222
|
-
onepViewImageHover: import("vue").Ref<{}>;
|
|
223
|
-
previewVisible: import("vue").Ref<boolean>;
|
|
224
|
-
onepViewImage: import("vue").Ref<{}>;
|
|
225
|
-
extraConfigs: import("vue").Ref<{
|
|
226
|
-
maxSize: number;
|
|
227
|
-
maxCount: number;
|
|
228
|
-
isAllowDownloadFieldProps: boolean;
|
|
229
|
-
hideDisabledBtn: boolean;
|
|
230
|
-
tips: string;
|
|
231
|
-
showTips: boolean;
|
|
232
|
-
btnClass: string;
|
|
233
|
-
picClass: string;
|
|
234
|
-
alignCenter: boolean;
|
|
235
|
-
canNotViewAccept: string;
|
|
236
|
-
myBtn: boolean;
|
|
237
|
-
showFileName: boolean;
|
|
238
|
-
drag: boolean;
|
|
239
|
-
}>;
|
|
240
|
-
uploadConfigs: import("vue").Ref<{
|
|
241
|
-
multiple: boolean;
|
|
242
|
-
showUploadList: boolean;
|
|
243
|
-
showSlotList: boolean;
|
|
244
|
-
listType: string;
|
|
245
|
-
text: string;
|
|
246
|
-
accept: string;
|
|
247
|
-
data: {};
|
|
248
|
-
name: string;
|
|
249
|
-
disabled: boolean;
|
|
250
|
-
customRequest: ({ file, fileField, data }: {
|
|
251
|
-
file: any;
|
|
252
|
-
fileField: any;
|
|
253
|
-
data: any;
|
|
254
|
-
}) => Promise<void>;
|
|
255
|
-
}>;
|
|
256
|
-
pictureFileTypes: import("vue").Ref<string[]>;
|
|
131
|
+
defaultList: {
|
|
132
|
+
type: import("vue").PropType<import("..").DefaultList>;
|
|
133
|
+
default: () => never[];
|
|
257
134
|
};
|
|
258
|
-
|
|
135
|
+
uploadRequest: {
|
|
136
|
+
type: import("vue").PropType<import("..").UploadRequest>;
|
|
137
|
+
default: () => () => void;
|
|
138
|
+
};
|
|
139
|
+
cloudReadUrl: {
|
|
140
|
+
type: import("vue").PropType<string>;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
holdProgress: {
|
|
144
|
+
type: import("vue").PropType<number>;
|
|
145
|
+
default: number;
|
|
146
|
+
};
|
|
147
|
+
customErrors: {
|
|
148
|
+
type: import("vue").PropType<import("..").CustomErrors>;
|
|
149
|
+
default: () => {};
|
|
150
|
+
};
|
|
151
|
+
}, {
|
|
152
|
+
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
153
|
+
updateUploadProgress(file: any, progress: any): void;
|
|
154
|
+
customUploadRequest(file: any): void;
|
|
155
|
+
fileIsDelete(file: any): boolean;
|
|
156
|
+
uploadSuccess(data: any, file: any): void;
|
|
157
|
+
uploadError(error: any, file?: any): void;
|
|
158
|
+
deleteFile(uid: any): Promise<void>;
|
|
159
|
+
pictureHoverEnter(uid: string): void;
|
|
160
|
+
pictureHoverLeave(uid: string): void;
|
|
161
|
+
viewOnePicture(item: any): void;
|
|
162
|
+
handleClosePictureView(): void;
|
|
163
|
+
reUpload(e: any, uid: any): void;
|
|
164
|
+
paste(event: ClipboardEvent): void;
|
|
165
|
+
handleReject(e: any): void;
|
|
166
|
+
icons: {
|
|
167
|
+
pdf: string;
|
|
168
|
+
ppt: string;
|
|
169
|
+
excel: string;
|
|
170
|
+
doc: string;
|
|
171
|
+
others: string;
|
|
172
|
+
};
|
|
173
|
+
uploadBarColor: import("vue").Ref<string>;
|
|
174
|
+
uploadedList: import("vue").Ref<any[]>;
|
|
175
|
+
fileList: import("vue").Ref<{}>;
|
|
176
|
+
onepViewImageHover: import("vue").Ref<{}>;
|
|
177
|
+
previewVisible: import("vue").Ref<boolean>;
|
|
178
|
+
onepViewImage: import("vue").Ref<{}>;
|
|
179
|
+
extraConfigs: import("vue").Ref<{
|
|
180
|
+
maxSize: number;
|
|
181
|
+
maxCount: number;
|
|
182
|
+
isAllowDownloadFieldProps: boolean;
|
|
183
|
+
hideDisabledBtn: boolean;
|
|
184
|
+
tips: string;
|
|
185
|
+
showTips: boolean;
|
|
186
|
+
btnClass: string;
|
|
187
|
+
picClass: string;
|
|
188
|
+
alignCenter: boolean;
|
|
189
|
+
canNotViewAccept: string;
|
|
190
|
+
myBtn: boolean;
|
|
191
|
+
showFileName: boolean;
|
|
192
|
+
drag: boolean;
|
|
193
|
+
}>;
|
|
194
|
+
uploadConfigs: import("vue").Ref<{
|
|
195
|
+
multiple: boolean;
|
|
196
|
+
showUploadList: boolean;
|
|
197
|
+
showSlotList: boolean;
|
|
198
|
+
listType: string;
|
|
199
|
+
text: string;
|
|
200
|
+
accept: string;
|
|
201
|
+
data: {};
|
|
202
|
+
name: string;
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
customRequest: ({ file, fileField, data }: {
|
|
205
|
+
file: any;
|
|
206
|
+
fileField: any;
|
|
207
|
+
data: any;
|
|
208
|
+
}) => Promise<void>;
|
|
209
|
+
}>;
|
|
210
|
+
pictureFileTypes: import("vue").Ref<string[]>;
|
|
211
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success" | "delete" | "update" | "previewFile" | "successFile" | "deleteFile" | "updateDisabledStatus" | "updateIsUploadingStatus")[], "error" | "success" | "delete" | "update" | "previewFile" | "successFile" | "deleteFile" | "updateDisabledStatus" | "updateIsUploadingStatus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
212
|
+
uploadProps: {
|
|
213
|
+
type: import("vue").PropType<import("..").UploadPropsInner>;
|
|
214
|
+
default: () => {};
|
|
215
|
+
};
|
|
216
|
+
extraProps: {
|
|
217
|
+
type: import("vue").PropType<import("..").ExtraProps>;
|
|
218
|
+
default: () => {};
|
|
219
|
+
};
|
|
220
|
+
defaultList: {
|
|
221
|
+
type: import("vue").PropType<import("..").DefaultList>;
|
|
222
|
+
default: () => never[];
|
|
223
|
+
};
|
|
224
|
+
uploadRequest: {
|
|
225
|
+
type: import("vue").PropType<import("..").UploadRequest>;
|
|
226
|
+
default: () => () => void;
|
|
227
|
+
};
|
|
228
|
+
cloudReadUrl: {
|
|
229
|
+
type: import("vue").PropType<string>;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
holdProgress: {
|
|
233
|
+
type: import("vue").PropType<number>;
|
|
234
|
+
default: number;
|
|
235
|
+
};
|
|
236
|
+
customErrors: {
|
|
237
|
+
type: import("vue").PropType<import("..").CustomErrors>;
|
|
238
|
+
default: () => {};
|
|
239
|
+
};
|
|
240
|
+
}>> & {
|
|
241
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
242
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
243
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
244
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
245
|
+
onPreviewFile?: ((...args: any[]) => any) | undefined;
|
|
246
|
+
onSuccessFile?: ((...args: any[]) => any) | undefined;
|
|
247
|
+
onDeleteFile?: ((...args: any[]) => any) | undefined;
|
|
248
|
+
onUpdateDisabledStatus?: ((...args: any[]) => any) | undefined;
|
|
249
|
+
onUpdateIsUploadingStatus?: ((...args: any[]) => any) | undefined;
|
|
250
|
+
}, {
|
|
251
|
+
uploadRequest: import("..").UploadRequest;
|
|
252
|
+
uploadProps: import("..").UploadPropsInner;
|
|
253
|
+
extraProps: import("..").ExtraProps;
|
|
254
|
+
defaultList: import("..").DefaultList;
|
|
255
|
+
cloudReadUrl: string;
|
|
256
|
+
holdProgress: number;
|
|
257
|
+
customErrors: import("..").CustomErrors;
|
|
258
|
+
}>;
|
|
259
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;
|
|
@@ -11429,7 +11429,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
11429
11429
|
return target;
|
|
11430
11430
|
};
|
|
11431
11431
|
|
|
11432
|
-
const _sfc_main$2 = {
|
|
11432
|
+
const _sfc_main$2 = vue.defineComponent({
|
|
11433
11433
|
name: "BmOverTooltips",
|
|
11434
11434
|
props: {
|
|
11435
11435
|
title: {
|
|
@@ -11514,15 +11514,15 @@ const _sfc_main$2 = {
|
|
|
11514
11514
|
getPopupContainer
|
|
11515
11515
|
};
|
|
11516
11516
|
}
|
|
11517
|
-
};
|
|
11517
|
+
});
|
|
11518
11518
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11519
11519
|
const _component_a_tooltip = vue.resolveComponent("a-tooltip");
|
|
11520
11520
|
return vue.openBlock(), vue.createBlock(_component_a_tooltip, {
|
|
11521
11521
|
visible: _ctx.isShow,
|
|
11522
11522
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.isShow = $event),
|
|
11523
|
-
title:
|
|
11524
|
-
"get-popup-container":
|
|
11525
|
-
onVisibleChange:
|
|
11523
|
+
title: _ctx.labelTitle || _ctx.title,
|
|
11524
|
+
"get-popup-container": _ctx.getPopupContainer,
|
|
11525
|
+
onVisibleChange: _ctx.handleVisibleChange
|
|
11526
11526
|
}, {
|
|
11527
11527
|
title: vue.withCtx(() => [
|
|
11528
11528
|
vue.renderSlot(_ctx.$slots, "title")
|
|
@@ -11531,14 +11531,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11531
11531
|
vue.createElementVNode("div", {
|
|
11532
11532
|
ref: "mySelf",
|
|
11533
11533
|
style: vue.normalizeStyle({
|
|
11534
|
-
width:
|
|
11535
|
-
WebkitLineClamp:
|
|
11534
|
+
width: _ctx.width ? _ctx.width + "px" : "100%",
|
|
11535
|
+
WebkitLineClamp: _ctx.line
|
|
11536
11536
|
}),
|
|
11537
|
-
class: vue.normalizeClass(
|
|
11537
|
+
class: vue.normalizeClass(_ctx.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
|
|
11538
11538
|
}, [
|
|
11539
11539
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
11540
11540
|
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
11541
|
-
vue.createTextVNode(vue.toDisplayString(
|
|
11541
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
11542
11542
|
])
|
|
11543
11543
|
])
|
|
11544
11544
|
], 6)
|
|
@@ -11585,7 +11585,7 @@ var icons = {
|
|
|
11585
11585
|
};
|
|
11586
11586
|
|
|
11587
11587
|
const CLOUND_PRE = "/cloudStorage/read";
|
|
11588
|
-
const _sfc_main$1 = {
|
|
11588
|
+
const _sfc_main$1 = vue.defineComponent({
|
|
11589
11589
|
name: "BmUpload",
|
|
11590
11590
|
components: {
|
|
11591
11591
|
PlusOutlined: iconsVue.PlusOutlined,
|
|
@@ -11613,7 +11613,7 @@ const _sfc_main$1 = {
|
|
|
11613
11613
|
},
|
|
11614
11614
|
uploadRequest: {
|
|
11615
11615
|
type: Function,
|
|
11616
|
-
default() {
|
|
11616
|
+
default: () => {
|
|
11617
11617
|
return () => {
|
|
11618
11618
|
};
|
|
11619
11619
|
}
|
|
@@ -11628,8 +11628,8 @@ const _sfc_main$1 = {
|
|
|
11628
11628
|
},
|
|
11629
11629
|
customErrors: {
|
|
11630
11630
|
type: Object,
|
|
11631
|
-
default() {
|
|
11632
|
-
return
|
|
11631
|
+
default: () => {
|
|
11632
|
+
return {};
|
|
11633
11633
|
}
|
|
11634
11634
|
}
|
|
11635
11635
|
},
|
|
@@ -11912,7 +11912,7 @@ const _sfc_main$1 = {
|
|
|
11912
11912
|
});
|
|
11913
11913
|
list.forEach(function(item) {
|
|
11914
11914
|
let uid = item.uid || utils.getuid();
|
|
11915
|
-
if (!item.url
|
|
11915
|
+
if (!item.url?.includes("http") && !item.url?.includes(CLOUND_PRE))
|
|
11916
11916
|
item.url = props.cloudReadUrl + item.url;
|
|
11917
11917
|
state.fileList[uid] = {
|
|
11918
11918
|
uid,
|
|
@@ -11995,7 +11995,7 @@ const _sfc_main$1 = {
|
|
|
11995
11995
|
uploadDisabled
|
|
11996
11996
|
};
|
|
11997
11997
|
}
|
|
11998
|
-
};
|
|
11998
|
+
});
|
|
11999
11999
|
const _hoisted_1$1 = {
|
|
12000
12000
|
key: 0,
|
|
12001
12001
|
class: "bm-upload__picture-progress"
|
|
@@ -12080,7 +12080,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12080
12080
|
"bm-upload--text": _ctx.uploadConfigs.listType === "text",
|
|
12081
12081
|
"bm-upload--drag": _ctx.extraConfigs.drag,
|
|
12082
12082
|
"bm-upload--picture-card": _ctx.uploadConfigs.listType === "picture-card",
|
|
12083
|
-
"bm-upload--picture-card--has-tips": !(
|
|
12083
|
+
"bm-upload--picture-card--has-tips": !(_ctx.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) && !_ctx.extraConfigs.myBtn && _ctx.uploadConfigs.listType === "picture-card" && _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips
|
|
12084
12084
|
}])
|
|
12085
12085
|
}, [
|
|
12086
12086
|
_ctx.uploadConfigs.listType === "picture-card" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
@@ -12117,7 +12117,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12117
12117
|
["pdf", "PDF", "application/pdf"].includes(item.type) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
12118
12118
|
key: 0,
|
|
12119
12119
|
class: "bm-upload__picture-result__image",
|
|
12120
|
-
src:
|
|
12120
|
+
src: _ctx.icons.pdf,
|
|
12121
12121
|
alt: "\u56FE\u7247"
|
|
12122
12122
|
}, null, 8, _hoisted_4)) : [
|
|
12123
12123
|
"xlsx",
|
|
@@ -12126,7 +12126,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12126
12126
|
].includes(item.type) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
12127
12127
|
key: 1,
|
|
12128
12128
|
class: "bm-upload__picture-result__image",
|
|
12129
|
-
src:
|
|
12129
|
+
src: _ctx.icons.excel,
|
|
12130
12130
|
alt: "\u56FE\u7247"
|
|
12131
12131
|
}, null, 8, _hoisted_5)) : [
|
|
12132
12132
|
"ppt",
|
|
@@ -12138,7 +12138,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12138
12138
|
].includes(item.type) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
12139
12139
|
key: 2,
|
|
12140
12140
|
class: "bm-upload__picture-result__image",
|
|
12141
|
-
src:
|
|
12141
|
+
src: _ctx.icons.ppt,
|
|
12142
12142
|
alt: "\u56FE\u7247"
|
|
12143
12143
|
}, null, 8, _hoisted_6)) : [
|
|
12144
12144
|
"doc",
|
|
@@ -12150,7 +12150,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12150
12150
|
].includes(item.type) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
12151
12151
|
key: 3,
|
|
12152
12152
|
class: "bm-upload__picture-result__image",
|
|
12153
|
-
src:
|
|
12153
|
+
src: _ctx.icons.doc,
|
|
12154
12154
|
alt: "\u56FE\u7247"
|
|
12155
12155
|
}, null, 8, _hoisted_7)) : _ctx.pictureFileTypes.includes(item.type) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 4 }, [
|
|
12156
12156
|
item.url ? (vue.openBlock(), vue.createBlock(_component_a_image, {
|
|
@@ -12162,7 +12162,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12162
12162
|
], 64)) : (vue.openBlock(), vue.createElementBlock("img", {
|
|
12163
12163
|
key: 5,
|
|
12164
12164
|
class: "bm-upload__picture-result__image",
|
|
12165
|
-
src:
|
|
12165
|
+
src: _ctx.icons.others,
|
|
12166
12166
|
alt: "\u56FE\u7247"
|
|
12167
12167
|
}, null, 8, _hoisted_8)),
|
|
12168
12168
|
_ctx.onepViewImageHover[item.uid] ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -12219,9 +12219,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12219
12219
|
}), 128)),
|
|
12220
12220
|
vue.createCommentVNode(" </a-image-preview-group> ")
|
|
12221
12221
|
], 64)) : vue.createCommentVNode("v-if", true),
|
|
12222
|
-
!(
|
|
12222
|
+
!(_ctx.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18, [
|
|
12223
12223
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.extraConfigs.drag ? "a-upload-dragger" : "a-upload"), vue.mergeProps(_ctx.uploadConfigs, {
|
|
12224
|
-
disabled:
|
|
12224
|
+
disabled: _ctx.uploadDisabled,
|
|
12225
12225
|
class: { "bm--upload__custom-button": _ctx.extraConfigs.myBtn },
|
|
12226
12226
|
onReject: _ctx.handleReject
|
|
12227
12227
|
}), {
|
|
@@ -12238,7 +12238,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12238
12238
|
])) : _ctx.uploadConfigs.listType === "text" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_25, [
|
|
12239
12239
|
vue.createVNode(_component_a_button, {
|
|
12240
12240
|
class: vue.normalizeClass(_ctx.extraConfigs.btnClass),
|
|
12241
|
-
disabled:
|
|
12241
|
+
disabled: _ctx.uploadDisabled
|
|
12242
12242
|
}, {
|
|
12243
12243
|
default: vue.withCtx(() => [
|
|
12244
12244
|
vue.createVNode(_component_UploadOutlined),
|