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
@@ -1,141 +1,141 @@
1
1
  import type { UploadProps, UploadPropsInner, ExtraProps, DefaultList, UploadRequest, CustomErrors } from './src/props';
2
- declare const BmUpload: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
3
- name: string;
4
- components: {
5
- PlusOutlined: import("@ant-design/icons-vue/lib/icons/PlusOutlined").PlusOutlinedIconType;
6
- OverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
7
- name: string;
8
- props: {
9
- title: {
10
- type: StringConstructor;
11
- default: undefined;
12
- };
13
- labelTitle: {
14
- type: StringConstructor;
15
- default: undefined;
16
- };
17
- line: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- width: {
22
- type: (StringConstructor | NumberConstructor)[];
23
- default: number;
24
- };
25
- showAlways: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- };
30
- setup(props: any, context: any): {
31
- mySelf: import("vue").Ref<any>;
32
- handleVisibleChange: (val: any) => void;
33
- getPopupContainer: () => HTMLElement;
34
- mSlots: import("vue").Ref<{}>;
35
- isShow: import("vue").Ref<boolean>;
36
- openShow: import("vue").Ref<boolean>;
37
- };
38
- }>;
39
- UploadOutlined: import("@ant-design/icons-vue/lib/icons/UploadOutlined").UploadOutlinedIconType;
40
- LoadingOutlined: import("@ant-design/icons-vue/lib/icons/LoadingOutlined").LoadingOutlinedIconType;
41
- InboxOutlined: import("@ant-design/icons-vue/lib/icons/InboxOutlined").InboxOutlinedIconType;
2
+ declare const BmUpload: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
3
+ uploadProps: {
4
+ type: import("vue").PropType<UploadPropsInner>;
5
+ default: () => {};
42
6
  };
43
- props: {
44
- uploadProps: {
45
- type: import("vue").PropType<UploadPropsInner>;
46
- default: () => {};
47
- };
48
- extraProps: {
49
- type: import("vue").PropType<ExtraProps>;
50
- default: () => {};
51
- };
52
- defaultList: {
53
- type: import("vue").PropType<DefaultList>;
54
- default: () => never[];
55
- };
56
- uploadRequest: {
57
- type: import("vue").PropType<UploadRequest>;
58
- default(): () => void;
59
- };
60
- cloudReadUrl: {
61
- type: import("vue").PropType<string>;
62
- default: string;
63
- };
64
- holdProgress: {
65
- type: import("vue").PropType<number>;
66
- default: number;
67
- };
68
- customErrors: {
69
- type: import("vue").PropType<CustomErrors>;
70
- default(): undefined;
71
- };
7
+ extraProps: {
8
+ type: import("vue").PropType<ExtraProps>;
9
+ default: () => {};
72
10
  };
73
- emits: string[];
74
- setup(props: any, { emit, expose }: {
75
- emit: any;
76
- expose: any;
77
- }): {
78
- uploadDisabled: import("vue").ComputedRef<boolean>;
79
- updateUploadProgress(file: any, progress: any): void;
80
- customUploadRequest(file: any): void;
81
- fileIsDelete(file: any): boolean;
82
- uploadSuccess(data: any, file: any): void;
83
- uploadError(error: any, file?: any): void;
84
- deleteFile(uid: any): Promise<void>;
85
- pictureHoverEnter(uid: string): void;
86
- pictureHoverLeave(uid: string): void;
87
- viewOnePicture(item: any): void;
88
- handleClosePictureView(): void;
89
- reUpload(e: any, uid: any): void;
90
- paste(event: ClipboardEvent): void;
91
- handleReject(e: any): void;
92
- icons: {
93
- pdf: string;
94
- ppt: string;
95
- excel: string;
96
- doc: string;
97
- others: string;
98
- };
99
- uploadBarColor: import("vue").Ref<string>;
100
- uploadedList: import("vue").Ref<any[]>;
101
- fileList: import("vue").Ref<{}>;
102
- onepViewImageHover: import("vue").Ref<{}>;
103
- previewVisible: import("vue").Ref<boolean>;
104
- onepViewImage: import("vue").Ref<{}>;
105
- extraConfigs: import("vue").Ref<{
106
- maxSize: number;
107
- maxCount: number;
108
- isAllowDownloadFieldProps: boolean;
109
- hideDisabledBtn: boolean;
110
- tips: string;
111
- showTips: boolean;
112
- btnClass: string;
113
- picClass: string;
114
- alignCenter: boolean;
115
- canNotViewAccept: string;
116
- myBtn: boolean;
117
- showFileName: boolean;
118
- drag: boolean;
119
- }>;
120
- uploadConfigs: import("vue").Ref<{
121
- multiple: boolean;
122
- showUploadList: boolean;
123
- showSlotList: boolean;
124
- listType: string;
125
- text: string;
126
- accept: string;
127
- data: {};
128
- name: string;
129
- disabled: boolean;
130
- customRequest: ({ file, fileField, data }: {
131
- file: any;
132
- fileField: any;
133
- data: any;
134
- }) => Promise<void>;
135
- }>;
136
- pictureFileTypes: import("vue").Ref<string[]>;
11
+ defaultList: {
12
+ type: import("vue").PropType<DefaultList>;
13
+ default: () => never[];
137
14
  };
138
- }>;
15
+ uploadRequest: {
16
+ type: import("vue").PropType<UploadRequest>;
17
+ default: () => () => void;
18
+ };
19
+ cloudReadUrl: {
20
+ type: import("vue").PropType<string>;
21
+ default: string;
22
+ };
23
+ holdProgress: {
24
+ type: import("vue").PropType<number>;
25
+ default: number;
26
+ };
27
+ customErrors: {
28
+ type: import("vue").PropType<CustomErrors>;
29
+ default: () => {};
30
+ };
31
+ }, {
32
+ uploadDisabled: import("vue").ComputedRef<boolean>;
33
+ updateUploadProgress(file: any, progress: any): void;
34
+ customUploadRequest(file: any): void;
35
+ fileIsDelete(file: any): boolean;
36
+ uploadSuccess(data: any, file: any): void;
37
+ uploadError(error: any, file?: any): void;
38
+ deleteFile(uid: any): Promise<void>;
39
+ pictureHoverEnter(uid: string): void;
40
+ pictureHoverLeave(uid: string): void;
41
+ viewOnePicture(item: any): void;
42
+ handleClosePictureView(): void;
43
+ reUpload(e: any, uid: any): void;
44
+ paste(event: ClipboardEvent): void;
45
+ handleReject(e: any): void;
46
+ icons: {
47
+ pdf: string;
48
+ ppt: string;
49
+ excel: string;
50
+ doc: string;
51
+ others: string;
52
+ };
53
+ uploadBarColor: import("vue").Ref<string>;
54
+ uploadedList: import("vue").Ref<any[]>;
55
+ fileList: import("vue").Ref<{}>;
56
+ onepViewImageHover: import("vue").Ref<{}>;
57
+ previewVisible: import("vue").Ref<boolean>;
58
+ onepViewImage: import("vue").Ref<{}>;
59
+ extraConfigs: import("vue").Ref<{
60
+ maxSize: number;
61
+ maxCount: number;
62
+ isAllowDownloadFieldProps: boolean;
63
+ hideDisabledBtn: boolean;
64
+ tips: string;
65
+ showTips: boolean;
66
+ btnClass: string;
67
+ picClass: string;
68
+ alignCenter: boolean;
69
+ canNotViewAccept: string;
70
+ myBtn: boolean;
71
+ showFileName: boolean;
72
+ drag: boolean;
73
+ }>;
74
+ uploadConfigs: import("vue").Ref<{
75
+ multiple: boolean;
76
+ showUploadList: boolean;
77
+ showSlotList: boolean;
78
+ listType: string;
79
+ text: string;
80
+ accept: string;
81
+ data: {};
82
+ name: string;
83
+ disabled: boolean;
84
+ customRequest: ({ file, fileField, data }: {
85
+ file: any;
86
+ fileField: any;
87
+ data: any;
88
+ }) => Promise<void>;
89
+ }>;
90
+ pictureFileTypes: import("vue").Ref<string[]>;
91
+ }, 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<{
92
+ uploadProps: {
93
+ type: import("vue").PropType<UploadPropsInner>;
94
+ default: () => {};
95
+ };
96
+ extraProps: {
97
+ type: import("vue").PropType<ExtraProps>;
98
+ default: () => {};
99
+ };
100
+ defaultList: {
101
+ type: import("vue").PropType<DefaultList>;
102
+ default: () => never[];
103
+ };
104
+ uploadRequest: {
105
+ type: import("vue").PropType<UploadRequest>;
106
+ default: () => () => void;
107
+ };
108
+ cloudReadUrl: {
109
+ type: import("vue").PropType<string>;
110
+ default: string;
111
+ };
112
+ holdProgress: {
113
+ type: import("vue").PropType<number>;
114
+ default: number;
115
+ };
116
+ customErrors: {
117
+ type: import("vue").PropType<CustomErrors>;
118
+ default: () => {};
119
+ };
120
+ }>> & {
121
+ onError?: ((...args: any[]) => any) | undefined;
122
+ onSuccess?: ((...args: any[]) => any) | undefined;
123
+ onDelete?: ((...args: any[]) => any) | undefined;
124
+ onUpdate?: ((...args: any[]) => any) | undefined;
125
+ onPreviewFile?: ((...args: any[]) => any) | undefined;
126
+ onSuccessFile?: ((...args: any[]) => any) | undefined;
127
+ onDeleteFile?: ((...args: any[]) => any) | undefined;
128
+ onUpdateDisabledStatus?: ((...args: any[]) => any) | undefined;
129
+ onUpdateIsUploadingStatus?: ((...args: any[]) => any) | undefined;
130
+ }, {
131
+ uploadRequest: UploadRequest;
132
+ uploadProps: UploadPropsInner;
133
+ extraProps: ExtraProps;
134
+ defaultList: DefaultList;
135
+ cloudReadUrl: string;
136
+ holdProgress: number;
137
+ customErrors: CustomErrors;
138
+ }>>;
139
139
  export { BmUpload, UploadPropsInner, ExtraProps, DefaultList, UploadRequest, CustomErrors, };
140
140
  export type { UploadProps };
141
141
  export default BmUpload;
@@ -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 } 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 } from 'vue';
3
3
  import { PlusOutlined, UploadOutlined, LoadingOutlined, InboxOutlined } from '@ant-design/icons-vue';
4
4
 
5
5
  var _export_sfc = (sfc, props) => {
@@ -10,7 +10,7 @@ var _export_sfc = (sfc, props) => {
10
10
  return target;
11
11
  };
12
12
 
13
- const _sfc_main$1 = {
13
+ const _sfc_main$1 = defineComponent({
14
14
  name: "BmOverTooltips",
15
15
  props: {
16
16
  title: {
@@ -95,15 +95,15 @@ const _sfc_main$1 = {
95
95
  getPopupContainer
96
96
  };
97
97
  }
98
- };
98
+ });
99
99
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
100
100
  const _component_a_tooltip = resolveComponent("a-tooltip");
101
101
  return openBlock(), createBlock(_component_a_tooltip, {
102
102
  visible: _ctx.isShow,
103
103
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.isShow = $event),
104
- title: $props.labelTitle || $props.title,
105
- "get-popup-container": $setup.getPopupContainer,
106
- onVisibleChange: $setup.handleVisibleChange
104
+ title: _ctx.labelTitle || _ctx.title,
105
+ "get-popup-container": _ctx.getPopupContainer,
106
+ onVisibleChange: _ctx.handleVisibleChange
107
107
  }, {
108
108
  title: withCtx(() => [
109
109
  renderSlot(_ctx.$slots, "title")
@@ -112,14 +112,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
112
112
  createElementVNode("div", {
113
113
  ref: "mySelf",
114
114
  style: normalizeStyle({
115
- width: $props.width ? $props.width + "px" : "100%",
116
- WebkitLineClamp: $props.line
115
+ width: _ctx.width ? _ctx.width + "px" : "100%",
116
+ WebkitLineClamp: _ctx.line
117
117
  }),
118
- class: normalizeClass($props.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
118
+ class: normalizeClass(_ctx.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
119
119
  }, [
120
120
  renderSlot(_ctx.$slots, "default", {}, () => [
121
121
  renderSlot(_ctx.$slots, "title", {}, () => [
122
- createTextVNode(toDisplayString($props.title), 1)
122
+ createTextVNode(toDisplayString(_ctx.title), 1)
123
123
  ])
124
124
  ])
125
125
  ], 6)
@@ -166,7 +166,7 @@ var icons = {
166
166
  };
167
167
 
168
168
  const CLOUND_PRE = "/cloudStorage/read";
169
- const _sfc_main = {
169
+ const _sfc_main = defineComponent({
170
170
  name: "BmUpload",
171
171
  components: {
172
172
  PlusOutlined,
@@ -194,7 +194,7 @@ const _sfc_main = {
194
194
  },
195
195
  uploadRequest: {
196
196
  type: Function,
197
- default() {
197
+ default: () => {
198
198
  return () => {
199
199
  };
200
200
  }
@@ -209,8 +209,8 @@ const _sfc_main = {
209
209
  },
210
210
  customErrors: {
211
211
  type: Object,
212
- default() {
213
- return void 0;
212
+ default: () => {
213
+ return {};
214
214
  }
215
215
  }
216
216
  },
@@ -493,7 +493,7 @@ const _sfc_main = {
493
493
  });
494
494
  list.forEach(function(item) {
495
495
  let uid = item.uid || utils.getuid();
496
- if (!item.url.includes("http") && !item.url.includes(CLOUND_PRE))
496
+ if (!item.url?.includes("http") && !item.url?.includes(CLOUND_PRE))
497
497
  item.url = props.cloudReadUrl + item.url;
498
498
  state.fileList[uid] = {
499
499
  uid,
@@ -576,7 +576,7 @@ const _sfc_main = {
576
576
  uploadDisabled
577
577
  };
578
578
  }
579
- };
579
+ });
580
580
  const _hoisted_1 = {
581
581
  key: 0,
582
582
  class: "bm-upload__picture-progress"
@@ -661,7 +661,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
661
661
  "bm-upload--text": _ctx.uploadConfigs.listType === "text",
662
662
  "bm-upload--drag": _ctx.extraConfigs.drag,
663
663
  "bm-upload--picture-card": _ctx.uploadConfigs.listType === "picture-card",
664
- "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
664
+ "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
665
665
  }])
666
666
  }, [
667
667
  _ctx.uploadConfigs.listType === "picture-card" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -698,7 +698,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
698
698
  ["pdf", "PDF", "application/pdf"].includes(item.type) ? (openBlock(), createElementBlock("img", {
699
699
  key: 0,
700
700
  class: "bm-upload__picture-result__image",
701
- src: $setup.icons.pdf,
701
+ src: _ctx.icons.pdf,
702
702
  alt: "\u56FE\u7247"
703
703
  }, null, 8, _hoisted_4)) : [
704
704
  "xlsx",
@@ -707,7 +707,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
707
707
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
708
708
  key: 1,
709
709
  class: "bm-upload__picture-result__image",
710
- src: $setup.icons.excel,
710
+ src: _ctx.icons.excel,
711
711
  alt: "\u56FE\u7247"
712
712
  }, null, 8, _hoisted_5)) : [
713
713
  "ppt",
@@ -719,7 +719,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
719
719
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
720
720
  key: 2,
721
721
  class: "bm-upload__picture-result__image",
722
- src: $setup.icons.ppt,
722
+ src: _ctx.icons.ppt,
723
723
  alt: "\u56FE\u7247"
724
724
  }, null, 8, _hoisted_6)) : [
725
725
  "doc",
@@ -731,7 +731,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
731
731
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
732
732
  key: 3,
733
733
  class: "bm-upload__picture-result__image",
734
- src: $setup.icons.doc,
734
+ src: _ctx.icons.doc,
735
735
  alt: "\u56FE\u7247"
736
736
  }, null, 8, _hoisted_7)) : _ctx.pictureFileTypes.includes(item.type) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
737
737
  item.url ? (openBlock(), createBlock(_component_a_image, {
@@ -743,7 +743,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
743
743
  ], 64)) : (openBlock(), createElementBlock("img", {
744
744
  key: 5,
745
745
  class: "bm-upload__picture-result__image",
746
- src: $setup.icons.others,
746
+ src: _ctx.icons.others,
747
747
  alt: "\u56FE\u7247"
748
748
  }, null, 8, _hoisted_8)),
749
749
  _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", {
@@ -800,9 +800,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
800
800
  }), 128)),
801
801
  createCommentVNode(" </a-image-preview-group> ")
802
802
  ], 64)) : createCommentVNode("v-if", true),
803
- !($setup.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) ? (openBlock(), createElementBlock("div", _hoisted_18, [
803
+ !(_ctx.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) ? (openBlock(), createElementBlock("div", _hoisted_18, [
804
804
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.extraConfigs.drag ? "a-upload-dragger" : "a-upload"), mergeProps(_ctx.uploadConfigs, {
805
- disabled: $setup.uploadDisabled,
805
+ disabled: _ctx.uploadDisabled,
806
806
  class: { "bm--upload__custom-button": _ctx.extraConfigs.myBtn },
807
807
  onReject: _ctx.handleReject
808
808
  }), {
@@ -819,7 +819,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
819
819
  ])) : _ctx.uploadConfigs.listType === "text" ? (openBlock(), createElementBlock("div", _hoisted_25, [
820
820
  createVNode(_component_a_button, {
821
821
  class: normalizeClass(_ctx.extraConfigs.btnClass),
822
- disabled: $setup.uploadDisabled
822
+ disabled: _ctx.uploadDisabled
823
823
  }, {
824
824
  default: withCtx(() => [
825
825
  createVNode(_component_UploadOutlined),