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.
Files changed (60) hide show
  1. package/es/components/attachment/index.d.ts +54 -31
  2. package/es/components/attachment/index.js +10 -10
  3. package/es/components/attachment/src/attachment.vue.d.ts +54 -31
  4. package/es/components/edit-form/index.d.ts +54 -31
  5. package/es/components/edit-form/src/edit-form.vue.d.ts +54 -31
  6. package/es/components/editor/index.d.ts +134 -134
  7. package/es/components/editor/index.js +25 -25
  8. package/es/components/editor/src/editor.vue.d.ts +134 -134
  9. package/es/components/float-table/index.d.ts +136 -62
  10. package/es/components/float-table/index.js +8 -8
  11. package/es/components/float-table/src/float-table.vue.d.ts +136 -62
  12. package/es/components/form-create/index.js +10 -2
  13. package/es/components/over-tooltips/index.d.ts +56 -33
  14. package/es/components/over-tooltips/index.js +10 -10
  15. package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
  16. package/es/components/staffs-selector/index.d.ts +13 -0
  17. package/es/components/staffs-selector/index.js +7 -1
  18. package/es/components/staffs-selector/src/action.d.ts +4 -0
  19. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +13 -0
  20. package/es/components/upload/index.d.ts +134 -134
  21. package/es/components/upload/index.js +25 -25
  22. package/es/components/upload/src/upload.vue.d.ts +134 -134
  23. package/lib/components/attachment/index.d.ts +54 -31
  24. package/lib/components/attachment/index.js +9 -9
  25. package/lib/components/attachment/src/attachment.vue.d.ts +54 -31
  26. package/lib/components/edit-form/index.d.ts +54 -31
  27. package/lib/components/edit-form/src/edit-form.vue.d.ts +54 -31
  28. package/lib/components/editor/index.d.ts +134 -134
  29. package/lib/components/editor/index.js +24 -24
  30. package/lib/components/editor/src/editor.vue.d.ts +134 -134
  31. package/lib/components/float-table/index.d.ts +136 -62
  32. package/lib/components/float-table/index.js +7 -7
  33. package/lib/components/float-table/src/float-table.vue.d.ts +136 -62
  34. package/lib/components/form-create/index.js +10 -2
  35. package/lib/components/over-tooltips/index.d.ts +56 -33
  36. package/lib/components/over-tooltips/index.js +9 -9
  37. package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
  38. package/lib/components/staffs-selector/index.d.ts +13 -0
  39. package/lib/components/staffs-selector/index.js +7 -1
  40. package/lib/components/staffs-selector/src/action.d.ts +4 -0
  41. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +13 -0
  42. package/lib/components/upload/index.d.ts +134 -134
  43. package/lib/components/upload/index.js +24 -24
  44. package/lib/components/upload/src/upload.vue.d.ts +134 -134
  45. package/package.json +1 -1
  46. package/types/components/attachment/index.d.ts +54 -31
  47. package/types/components/attachment/src/attachment.vue.d.ts +54 -31
  48. package/types/components/edit-form/index.d.ts +54 -31
  49. package/types/components/edit-form/src/edit-form.vue.d.ts +54 -31
  50. package/types/components/editor/index.d.ts +134 -134
  51. package/types/components/editor/src/editor.vue.d.ts +134 -134
  52. package/types/components/float-table/index.d.ts +136 -62
  53. package/types/components/float-table/src/float-table.vue.d.ts +136 -62
  54. package/types/components/over-tooltips/index.d.ts +56 -33
  55. package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
  56. package/types/components/staffs-selector/index.d.ts +13 -0
  57. package/types/components/staffs-selector/src/action.d.ts +4 -0
  58. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +13 -0
  59. package/types/components/upload/index.d.ts +134 -134
  60. package/types/components/upload/src/upload.vue.d.ts +134 -134
@@ -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
- name: string;
124
- components: {
125
- PlusOutlined: import("@ant-design/icons-vue/lib/icons/PlusOutlined").PlusOutlinedIconType;
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
- props: {
164
- uploadProps: {
165
- type: import("vue").PropType<import("..").UploadPropsInner>;
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
- emits: string[];
194
- setup(props: any, { emit, expose }: {
195
- emit: any;
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;
@@ -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, computed, createElementBlock, Fragment, createCommentVNode, renderList, createVNode, resolveDynamicComponent, mergeProps, defineComponent, onMounted, onUnmounted, withDirectives, vShow } from 'vue';
2
+ import { defineComponent, reactive, onBeforeUnmount, ref, watch, nextTick, toRefs, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementVNode, normalizeStyle, normalizeClass, createTextVNode, toDisplayString, computed, createElementBlock, Fragment, createCommentVNode, renderList, createVNode, resolveDynamicComponent, mergeProps, onMounted, onUnmounted, withDirectives, vShow } from 'vue';
3
3
  import { PlusOutlined, UploadOutlined, LoadingOutlined, InboxOutlined } from '@ant-design/icons-vue';
4
4
 
5
5
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -11425,7 +11425,7 @@ var _export_sfc = (sfc, props) => {
11425
11425
  return target;
11426
11426
  };
11427
11427
 
11428
- const _sfc_main$2 = {
11428
+ const _sfc_main$2 = defineComponent({
11429
11429
  name: "BmOverTooltips",
11430
11430
  props: {
11431
11431
  title: {
@@ -11510,15 +11510,15 @@ const _sfc_main$2 = {
11510
11510
  getPopupContainer
11511
11511
  };
11512
11512
  }
11513
- };
11513
+ });
11514
11514
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
11515
11515
  const _component_a_tooltip = resolveComponent("a-tooltip");
11516
11516
  return openBlock(), createBlock(_component_a_tooltip, {
11517
11517
  visible: _ctx.isShow,
11518
11518
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.isShow = $event),
11519
- title: $props.labelTitle || $props.title,
11520
- "get-popup-container": $setup.getPopupContainer,
11521
- onVisibleChange: $setup.handleVisibleChange
11519
+ title: _ctx.labelTitle || _ctx.title,
11520
+ "get-popup-container": _ctx.getPopupContainer,
11521
+ onVisibleChange: _ctx.handleVisibleChange
11522
11522
  }, {
11523
11523
  title: withCtx(() => [
11524
11524
  renderSlot(_ctx.$slots, "title")
@@ -11527,14 +11527,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
11527
11527
  createElementVNode("div", {
11528
11528
  ref: "mySelf",
11529
11529
  style: normalizeStyle({
11530
- width: $props.width ? $props.width + "px" : "100%",
11531
- WebkitLineClamp: $props.line
11530
+ width: _ctx.width ? _ctx.width + "px" : "100%",
11531
+ WebkitLineClamp: _ctx.line
11532
11532
  }),
11533
- class: normalizeClass($props.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
11533
+ class: normalizeClass(_ctx.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
11534
11534
  }, [
11535
11535
  renderSlot(_ctx.$slots, "default", {}, () => [
11536
11536
  renderSlot(_ctx.$slots, "title", {}, () => [
11537
- createTextVNode(toDisplayString($props.title), 1)
11537
+ createTextVNode(toDisplayString(_ctx.title), 1)
11538
11538
  ])
11539
11539
  ])
11540
11540
  ], 6)
@@ -11581,7 +11581,7 @@ var icons = {
11581
11581
  };
11582
11582
 
11583
11583
  const CLOUND_PRE = "/cloudStorage/read";
11584
- const _sfc_main$1 = {
11584
+ const _sfc_main$1 = defineComponent({
11585
11585
  name: "BmUpload",
11586
11586
  components: {
11587
11587
  PlusOutlined,
@@ -11609,7 +11609,7 @@ const _sfc_main$1 = {
11609
11609
  },
11610
11610
  uploadRequest: {
11611
11611
  type: Function,
11612
- default() {
11612
+ default: () => {
11613
11613
  return () => {
11614
11614
  };
11615
11615
  }
@@ -11624,8 +11624,8 @@ const _sfc_main$1 = {
11624
11624
  },
11625
11625
  customErrors: {
11626
11626
  type: Object,
11627
- default() {
11628
- return void 0;
11627
+ default: () => {
11628
+ return {};
11629
11629
  }
11630
11630
  }
11631
11631
  },
@@ -11908,7 +11908,7 @@ const _sfc_main$1 = {
11908
11908
  });
11909
11909
  list.forEach(function(item) {
11910
11910
  let uid = item.uid || utils.getuid();
11911
- if (!item.url.includes("http") && !item.url.includes(CLOUND_PRE))
11911
+ if (!item.url?.includes("http") && !item.url?.includes(CLOUND_PRE))
11912
11912
  item.url = props.cloudReadUrl + item.url;
11913
11913
  state.fileList[uid] = {
11914
11914
  uid,
@@ -11991,7 +11991,7 @@ const _sfc_main$1 = {
11991
11991
  uploadDisabled
11992
11992
  };
11993
11993
  }
11994
- };
11994
+ });
11995
11995
  const _hoisted_1$1 = {
11996
11996
  key: 0,
11997
11997
  class: "bm-upload__picture-progress"
@@ -12076,7 +12076,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12076
12076
  "bm-upload--text": _ctx.uploadConfigs.listType === "text",
12077
12077
  "bm-upload--drag": _ctx.extraConfigs.drag,
12078
12078
  "bm-upload--picture-card": _ctx.uploadConfigs.listType === "picture-card",
12079
- "bm-upload--picture-card--has-tips": !($setup.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) && !_ctx.extraConfigs.myBtn && _ctx.uploadConfigs.listType === "picture-card" && _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips
12079
+ "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
12080
12080
  }])
12081
12081
  }, [
12082
12082
  _ctx.uploadConfigs.listType === "picture-card" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -12113,7 +12113,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12113
12113
  ["pdf", "PDF", "application/pdf"].includes(item.type) ? (openBlock(), createElementBlock("img", {
12114
12114
  key: 0,
12115
12115
  class: "bm-upload__picture-result__image",
12116
- src: $setup.icons.pdf,
12116
+ src: _ctx.icons.pdf,
12117
12117
  alt: "\u56FE\u7247"
12118
12118
  }, null, 8, _hoisted_4)) : [
12119
12119
  "xlsx",
@@ -12122,7 +12122,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12122
12122
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
12123
12123
  key: 1,
12124
12124
  class: "bm-upload__picture-result__image",
12125
- src: $setup.icons.excel,
12125
+ src: _ctx.icons.excel,
12126
12126
  alt: "\u56FE\u7247"
12127
12127
  }, null, 8, _hoisted_5)) : [
12128
12128
  "ppt",
@@ -12134,7 +12134,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12134
12134
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
12135
12135
  key: 2,
12136
12136
  class: "bm-upload__picture-result__image",
12137
- src: $setup.icons.ppt,
12137
+ src: _ctx.icons.ppt,
12138
12138
  alt: "\u56FE\u7247"
12139
12139
  }, null, 8, _hoisted_6)) : [
12140
12140
  "doc",
@@ -12146,7 +12146,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12146
12146
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
12147
12147
  key: 3,
12148
12148
  class: "bm-upload__picture-result__image",
12149
- src: $setup.icons.doc,
12149
+ src: _ctx.icons.doc,
12150
12150
  alt: "\u56FE\u7247"
12151
12151
  }, null, 8, _hoisted_7)) : _ctx.pictureFileTypes.includes(item.type) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
12152
12152
  item.url ? (openBlock(), createBlock(_component_a_image, {
@@ -12158,7 +12158,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12158
12158
  ], 64)) : (openBlock(), createElementBlock("img", {
12159
12159
  key: 5,
12160
12160
  class: "bm-upload__picture-result__image",
12161
- src: $setup.icons.others,
12161
+ src: _ctx.icons.others,
12162
12162
  alt: "\u56FE\u7247"
12163
12163
  }, null, 8, _hoisted_8)),
12164
12164
  _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", {
@@ -12215,9 +12215,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12215
12215
  }), 128)),
12216
12216
  createCommentVNode(" </a-image-preview-group> ")
12217
12217
  ], 64)) : createCommentVNode("v-if", true),
12218
- !($setup.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) ? (openBlock(), createElementBlock("div", _hoisted_18, [
12218
+ !(_ctx.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) ? (openBlock(), createElementBlock("div", _hoisted_18, [
12219
12219
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.extraConfigs.drag ? "a-upload-dragger" : "a-upload"), mergeProps(_ctx.uploadConfigs, {
12220
- disabled: $setup.uploadDisabled,
12220
+ disabled: _ctx.uploadDisabled,
12221
12221
  class: { "bm--upload__custom-button": _ctx.extraConfigs.myBtn },
12222
12222
  onReject: _ctx.handleReject
12223
12223
  }), {
@@ -12234,7 +12234,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12234
12234
  ])) : _ctx.uploadConfigs.listType === "text" ? (openBlock(), createElementBlock("div", _hoisted_25, [
12235
12235
  createVNode(_component_a_button, {
12236
12236
  class: normalizeClass(_ctx.extraConfigs.btnClass),
12237
- disabled: $setup.uploadDisabled
12237
+ disabled: _ctx.uploadDisabled
12238
12238
  }, {
12239
12239
  default: withCtx(() => [
12240
12240
  createVNode(_component_UploadOutlined),