ll-plus 2.3.5 → 2.3.6

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 (126) hide show
  1. package/es/component.mjs +2 -0
  2. package/es/component.mjs.map +1 -1
  3. package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue2.mjs +0 -1
  4. package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue2.mjs.map +1 -1
  5. package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.mjs +0 -1
  6. package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.mjs.map +1 -1
  7. package/es/components/api-component/index.d.ts +130 -49
  8. package/es/components/api-component/index.mjs +1 -1
  9. package/es/components/api-component/src/api-component.vue.d.ts +136 -54
  10. package/es/components/api-component/src/api-component.vue2.mjs +130 -78
  11. package/es/components/api-component/src/api-component.vue2.mjs.map +1 -1
  12. package/es/components/api-component/src/components/api-url.vue.d.ts +47 -49
  13. package/es/components/api-component/src/components/api-url.vue2.mjs +24 -17
  14. package/es/components/api-component/src/components/api-url.vue2.mjs.map +1 -1
  15. package/es/components/api-component/src/components/params-table-row.vue2.mjs +95 -83
  16. package/es/components/api-component/src/components/params-table-row.vue2.mjs.map +1 -1
  17. package/es/components/api-component/src/components/params-table.vue2.mjs +43 -28
  18. package/es/components/api-component/src/components/params-table.vue2.mjs.map +1 -1
  19. package/es/components/api-component/src/config/api-component.d.ts +22 -0
  20. package/es/components/api-component/src/config/api-component.mjs +21 -0
  21. package/es/components/api-component/src/config/api-component.mjs.map +1 -1
  22. package/es/components/api-component/src/config/api-url.d.ts +16 -2
  23. package/es/components/api-component/src/config/api-url.mjs +11 -3
  24. package/es/components/api-component/src/config/api-url.mjs.map +1 -1
  25. package/es/components/api-component/src/config/index.mjs +1 -1
  26. package/es/components/api-component/src/config/table.mjs +1 -1
  27. package/es/components/api-component/src/config/table.mjs.map +1 -1
  28. package/es/components/index.d.ts +1 -0
  29. package/es/components/index.mjs +3 -1
  30. package/es/components/index.mjs.map +1 -1
  31. package/es/components/tag-group/src/tag-group.vue2.mjs +0 -1
  32. package/es/components/tag-group/src/tag-group.vue2.mjs.map +1 -1
  33. package/es/components/upload-image/index.d.ts +130 -0
  34. package/es/components/upload-image/index.mjs +10 -0
  35. package/es/components/upload-image/index.mjs.map +1 -0
  36. package/es/components/upload-image/src/upload-image.d.ts +40 -0
  37. package/es/components/upload-image/src/upload-image.mjs +46 -0
  38. package/es/components/upload-image/src/upload-image.mjs.map +1 -0
  39. package/es/components/upload-image/src/upload-image.vue.d.ts +125 -0
  40. package/es/components/upload-image/src/upload-image.vue.mjs +8 -0
  41. package/es/components/upload-image/src/upload-image.vue.mjs.map +1 -0
  42. package/es/components/upload-image/src/upload-image.vue2.mjs +220 -0
  43. package/es/components/upload-image/src/upload-image.vue2.mjs.map +1 -0
  44. package/es/index.mjs +3 -1
  45. package/es/index.mjs.map +1 -1
  46. package/es/utils/file.d.ts +7 -0
  47. package/es/utils/file.mjs +23 -0
  48. package/es/utils/file.mjs.map +1 -0
  49. package/es/utils/index.d.ts +1 -0
  50. package/es/utils/index.mjs +1 -0
  51. package/es/utils/index.mjs.map +1 -1
  52. package/index.full.js +800 -413
  53. package/index.full.min.js +23 -23
  54. package/index.full.min.js.map +1 -1
  55. package/index.full.min.mjs +24 -24
  56. package/index.full.min.mjs.map +1 -1
  57. package/index.full.mjs +799 -416
  58. package/lib/component.js +4 -2
  59. package/lib/component.js.map +1 -1
  60. package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue2.js +0 -1
  61. package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue2.js.map +1 -1
  62. package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.js +0 -1
  63. package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue2.js.map +1 -1
  64. package/lib/components/api-component/index.d.ts +130 -49
  65. package/lib/components/api-component/index.js +1 -0
  66. package/lib/components/api-component/index.js.map +1 -1
  67. package/lib/components/api-component/src/api-component.vue.d.ts +136 -54
  68. package/lib/components/api-component/src/api-component.vue2.js +129 -77
  69. package/lib/components/api-component/src/api-component.vue2.js.map +1 -1
  70. package/lib/components/api-component/src/components/api-url.vue.d.ts +47 -49
  71. package/lib/components/api-component/src/components/api-url.vue2.js +23 -16
  72. package/lib/components/api-component/src/components/api-url.vue2.js.map +1 -1
  73. package/lib/components/api-component/src/components/params-table-row.vue2.js +95 -83
  74. package/lib/components/api-component/src/components/params-table-row.vue2.js.map +1 -1
  75. package/lib/components/api-component/src/components/params-table.vue2.js +43 -28
  76. package/lib/components/api-component/src/components/params-table.vue2.js.map +1 -1
  77. package/lib/components/api-component/src/config/api-component.d.ts +22 -0
  78. package/lib/components/api-component/src/config/api-component.js +21 -0
  79. package/lib/components/api-component/src/config/api-component.js.map +1 -1
  80. package/lib/components/api-component/src/config/api-url.d.ts +16 -2
  81. package/lib/components/api-component/src/config/api-url.js +11 -2
  82. package/lib/components/api-component/src/config/api-url.js.map +1 -1
  83. package/lib/components/api-component/src/config/index.js +1 -0
  84. package/lib/components/api-component/src/config/index.js.map +1 -1
  85. package/lib/components/api-component/src/config/table.js +1 -1
  86. package/lib/components/api-component/src/config/table.js.map +1 -1
  87. package/lib/components/index.d.ts +1 -0
  88. package/lib/components/index.js +8 -2
  89. package/lib/components/index.js.map +1 -1
  90. package/lib/components/tag-group/src/tag-group.vue2.js +0 -1
  91. package/lib/components/tag-group/src/tag-group.vue2.js.map +1 -1
  92. package/lib/components/upload-image/index.d.ts +130 -0
  93. package/lib/components/upload-image/index.js +17 -0
  94. package/lib/components/upload-image/index.js.map +1 -0
  95. package/lib/components/upload-image/src/upload-image.d.ts +40 -0
  96. package/lib/components/upload-image/src/upload-image.js +49 -0
  97. package/lib/components/upload-image/src/upload-image.js.map +1 -0
  98. package/lib/components/upload-image/src/upload-image.vue.d.ts +125 -0
  99. package/lib/components/upload-image/src/upload-image.vue.js +12 -0
  100. package/lib/components/upload-image/src/upload-image.vue.js.map +1 -0
  101. package/lib/components/upload-image/src/upload-image.vue2.js +224 -0
  102. package/lib/components/upload-image/src/upload-image.vue2.js.map +1 -0
  103. package/lib/index.js +8 -2
  104. package/lib/index.js.map +1 -1
  105. package/lib/utils/file.d.ts +7 -0
  106. package/lib/utils/file.js +26 -0
  107. package/lib/utils/file.js.map +1 -0
  108. package/lib/utils/index.d.ts +1 -0
  109. package/lib/utils/index.js +3 -0
  110. package/lib/utils/index.js.map +1 -1
  111. package/package.json +1 -1
  112. package/theme-chalk/css/api-component.css +1 -1
  113. package/theme-chalk/css/easy-cron.css +1 -1
  114. package/theme-chalk/css/index.css +1 -1
  115. package/theme-chalk/css/upload-image.css +1 -0
  116. package/types/packages/components/api-component/index.d.ts +130 -49
  117. package/types/packages/components/api-component/src/api-component.vue.d.ts +136 -54
  118. package/types/packages/components/api-component/src/components/api-url.vue.d.ts +47 -49
  119. package/types/packages/components/api-component/src/config/api-component.d.ts +22 -0
  120. package/types/packages/components/api-component/src/config/api-url.d.ts +16 -2
  121. package/types/packages/components/index.d.ts +1 -0
  122. package/types/packages/components/upload-image/index.d.ts +130 -0
  123. package/types/packages/components/upload-image/src/upload-image.d.ts +40 -0
  124. package/types/packages/components/upload-image/src/upload-image.vue.d.ts +125 -0
  125. package/types/packages/utils/file.d.ts +7 -0
  126. package/types/packages/utils/index.d.ts +1 -0
@@ -0,0 +1,40 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ import type { UploadProps, FileType } from 'ant-design-vue/es/upload/interface.d.ts';
3
+ import type { UploadRequestOption } from 'ant-design-vue/es/vc-upload/interface.d.ts';
4
+ import type UploadImage from './upload-image.vue';
5
+ export declare const uploadImageProps: {
6
+ readonly value: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | string[]) | (() => string | string[]) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[], unknown, unknown, readonly [], boolean>;
7
+ readonly iconName: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "icon-add", boolean>;
8
+ readonly maxCount: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
9
+ readonly accept: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".jpg,.png,.jpeg,.svg", boolean>;
10
+ readonly imgSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
11
+ readonly tip: import("ll-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, true, boolean>;
12
+ readonly beforeUpload: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
13
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
14
+ new (): any;
15
+ readonly prototype: any;
16
+ } | ((new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
17
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
18
+ new (): any;
19
+ readonly prototype: any;
20
+ })[], unknown, unknown, () => true, boolean>;
21
+ readonly customRequest: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (options: UploadRequestOption, base64: string) => void) | (() => (options: UploadRequestOption, base64: string) => void) | {
22
+ (): (options: UploadRequestOption, base64: string) => void;
23
+ new (): any;
24
+ readonly prototype: any;
25
+ } | ((new (...args: any[]) => (options: UploadRequestOption, base64: string) => void) | (() => (options: UploadRequestOption, base64: string) => void) | {
26
+ (): (options: UploadRequestOption, base64: string) => void;
27
+ new (): any;
28
+ readonly prototype: any;
29
+ })[], unknown, unknown, () => void, boolean>;
30
+ };
31
+ export declare const uploadImageEmits: {
32
+ readonly change: (value: string | string[]) => boolean;
33
+ readonly 'update:value': (value: string | string[]) => boolean;
34
+ };
35
+ export type RcFileType = FileType;
36
+ export type RcUploadRequestOption = UploadRequestOption;
37
+ export type RcUploadProps = UploadProps;
38
+ export type UploadImageProps = ExtractPropTypes<typeof uploadImageProps>;
39
+ export type UploadImageEmits = typeof uploadImageEmits;
40
+ export type UploadImageInstance = InstanceType<typeof UploadImage>;
@@ -0,0 +1,125 @@
1
+ import type { FileType } from 'ant-design-vue/es/upload/interface.d.ts';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ readonly value: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | string[]) | (() => string | string[]) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[], unknown, unknown, readonly [], boolean>;
4
+ readonly iconName: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "icon-add", boolean>;
5
+ readonly maxCount: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
6
+ readonly accept: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".jpg,.png,.jpeg,.svg", boolean>;
7
+ readonly imgSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
8
+ readonly tip: import("ll-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, true, boolean>;
9
+ readonly beforeUpload: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
10
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
11
+ new (): any;
12
+ readonly prototype: any;
13
+ } | ((new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
14
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
15
+ new (): any;
16
+ readonly prototype: any;
17
+ })[], unknown, unknown, () => true, boolean>;
18
+ readonly customRequest: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | (() => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | {
19
+ (): (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void;
20
+ new (): any;
21
+ readonly prototype: any;
22
+ } | ((new (...args: any[]) => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | (() => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | {
23
+ (): (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void;
24
+ new (): any;
25
+ readonly prototype: any;
26
+ })[], unknown, unknown, () => void, boolean>;
27
+ }, {
28
+ props: import("@vue/shared").LooseRequired<{
29
+ readonly value: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => string | string[]) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[], unknown, unknown>;
30
+ readonly accept: string;
31
+ readonly beforeUpload: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
32
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
33
+ new (): any;
34
+ readonly prototype: any;
35
+ } | ((new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
36
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
37
+ new (): any;
38
+ readonly prototype: any;
39
+ })[], unknown, unknown>;
40
+ readonly customRequest: (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void;
41
+ readonly maxCount: number;
42
+ readonly tip: import("ll-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
43
+ readonly iconName: string;
44
+ readonly imgSize: number;
45
+ readonly onChange?: ((value: string | string[]) => any) | undefined;
46
+ readonly "onUpdate:value"?: ((value: string | string[]) => any) | undefined;
47
+ } & {}>;
48
+ emits: ((event: "change", value: string | string[]) => void) & ((event: "update:value", value: string | string[]) => void);
49
+ bem: {
50
+ b: (blockSuffix?: string) => string;
51
+ e: (element?: string) => string;
52
+ m: (modifier?: string) => string;
53
+ be: (blockSuffix?: string, element?: string) => string;
54
+ em: (element: string, modifier: string) => string;
55
+ bm: (blockSuffix: string, modifier: string) => string;
56
+ bem: (blockSuffix: string, element: string, modifier: string) => string;
57
+ is: (name?: string) => string;
58
+ };
59
+ attrs: {
60
+ [x: string]: unknown;
61
+ };
62
+ fileList: import("vue").Ref<never[]>;
63
+ imageVisible: import("vue").Ref<boolean>;
64
+ innerValue: import("vue").Ref<string[]>;
65
+ formItemContext: import("ant-design-vue/es/form/FormItemContext").FormItemContext;
66
+ computedAccept: import("vue").ComputedRef<string>;
67
+ computedTip: import("vue").ComputedRef<string>;
68
+ computedMultiple: import("vue").ComputedRef<boolean>;
69
+ getBindValue: import("vue").ComputedRef<{
70
+ [x: number]: unknown;
71
+ }>;
72
+ beforeUpload: (file: FileType, FileList: FileType[]) => Promise<string | boolean | void | Blob | FileType>;
73
+ customRequest: (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>) => void;
74
+ handleRemoveImage: () => Promise<void>;
75
+ setValue: () => void;
76
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
+ readonly change: (value: string | string[]) => boolean;
78
+ readonly 'update:value': (value: string | string[]) => boolean;
79
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
80
+ readonly value: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | string[]) | (() => string | string[]) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[], unknown, unknown, readonly [], boolean>;
81
+ readonly iconName: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "icon-add", boolean>;
82
+ readonly maxCount: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
83
+ readonly accept: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".jpg,.png,.jpeg,.svg", boolean>;
84
+ readonly imgSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
85
+ readonly tip: import("ll-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, true, boolean>;
86
+ readonly beforeUpload: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
87
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
88
+ new (): any;
89
+ readonly prototype: any;
90
+ } | ((new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
91
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
92
+ new (): any;
93
+ readonly prototype: any;
94
+ })[], unknown, unknown, () => true, boolean>;
95
+ readonly customRequest: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | (() => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | {
96
+ (): (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void;
97
+ new (): any;
98
+ readonly prototype: any;
99
+ } | ((new (...args: any[]) => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | (() => (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void) | {
100
+ (): (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void;
101
+ new (): any;
102
+ readonly prototype: any;
103
+ })[], unknown, unknown, () => void, boolean>;
104
+ }>> & {
105
+ onChange?: ((value: string | string[]) => any) | undefined;
106
+ "onUpdate:value"?: ((value: string | string[]) => any) | undefined;
107
+ }, {
108
+ readonly value: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => string | string[]) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[], unknown, unknown>;
109
+ readonly accept: string;
110
+ readonly beforeUpload: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
111
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
112
+ new (): any;
113
+ readonly prototype: any;
114
+ } | ((new (...args: any[]) => (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | (() => ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined) | {
115
+ (): ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
116
+ new (): any;
117
+ readonly prototype: any;
118
+ })[], unknown, unknown>;
119
+ readonly customRequest: (options: import("ant-design-vue/es/vc-upload/interface").UploadRequestOption<any>, base64: string) => void;
120
+ readonly maxCount: number;
121
+ readonly tip: import("ll-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
122
+ readonly iconName: string;
123
+ readonly imgSize: number;
124
+ }, {}>;
125
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * File 转 Base64
3
+ * @param file {File} file
4
+ * @return {Promise<String>}
5
+ */
6
+ export declare function fileToBase64(file: File): Promise<unknown>;
7
+ export declare function formatFileSize(size: number): string;
@@ -6,3 +6,4 @@ export * from './with-install';
6
6
  export * from './number';
7
7
  export * from './remove-query-string';
8
8
  export * from './types';
9
+ export * from './file';