yahee-components 0.0.9 → 0.0.10

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 (173) hide show
  1. package/es/annex-upload/annex-upload.vue.js +6 -6
  2. package/es/api/server.js +13 -0
  3. package/es/api/tool.js +69 -0
  4. package/es/comprehensive-search/comprehensive-search.vue.js +10 -10
  5. package/es/image-upload/image-upload.vue.js +125 -124
  6. package/es/index.js +21 -16
  7. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
  8. package/es/operation-log/operation-log-content.vue.js +6 -6
  9. package/es/operation-log/operation-log-form.vue.js +2 -2
  10. package/es/operation-log/operation-log-form.vue2.js +17 -17
  11. package/es/operation-log/operation-log.vue.js +50 -49
  12. package/es/packages/components/api/log/index.js +15 -0
  13. package/es/packages/components/api/log-server.js +17 -21
  14. package/es/packages/components/api/server.js +19 -0
  15. package/es/packages/components/api/tool.js +57 -0
  16. package/es/packages/components/api/{requestTools.js → upload-server.js} +13 -10
  17. package/es/packages/components/hooks/useClipboard.js +16 -14
  18. package/es/packages/components/hooks/useImport.js +14 -12
  19. package/es/packages/components/hooks/useUpload.js +9 -9
  20. package/es/utils/config.js +19 -0
  21. package/es/utils/const.js +19 -0
  22. package/es/utils/translate.js +33 -31
  23. package/package.json +1 -1
  24. package/types/hooks/useClipboard.d.ts +7 -0
  25. package/types/hooks/useImg.d.ts +10 -0
  26. package/types/hooks/useImgPath.d.ts +5 -0
  27. package/types/hooks/useImport.d.ts +11 -0
  28. package/types/hooks/useUpload.d.ts +12 -0
  29. package/types/index.d.ts +6 -1204
  30. package/types/src/annex-upload/annex-upload.d.ts +30 -0
  31. package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
  32. package/types/src/annex-upload/index.d.ts +123 -0
  33. package/types/src/annex-upload/mimeType.d.ts +2 -0
  34. package/types/src/api/server.d.ts +6 -0
  35. package/types/src/api/tool.d.ts +6 -0
  36. package/types/src/api/types.d.ts +17 -0
  37. package/types/src/components.d.ts +6 -0
  38. package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
  39. package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +33 -0
  40. package/types/src/comprehensive-search/index.d.ts +36 -0
  41. package/types/src/copy/copy.d.ts +12 -0
  42. package/types/src/copy/copy.vue.d.ts +21 -0
  43. package/types/src/copy/index.d.ts +32 -0
  44. package/types/src/image-upload/image-upload.d.ts +26 -0
  45. package/types/src/image-upload/image-upload.vue.d.ts +43 -0
  46. package/types/src/image-upload/index.d.ts +94 -0
  47. package/types/src/index.d.ts +7 -0
  48. package/types/src/input/index.d.ts +16 -0
  49. package/types/src/input/input.d.ts +18 -0
  50. package/types/src/input/input.vue.d.ts +14 -0
  51. package/types/src/installs.d.ts +278 -0
  52. package/types/src/operation-log/index.d.ts +9 -0
  53. package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
  54. package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
  55. package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
  56. package/types/src/operation-log/operation-log.d.ts +11 -0
  57. package/types/src/operation-log/operation-log.vue.d.ts +6 -0
  58. package/types/src/static/CommonObject.d.ts +18 -0
  59. package/types/src/static/CommonVariables.d.ts +4 -0
  60. package/types/src/utils/config.d.ts +8 -0
  61. package/types/src/utils/const.d.ts +19 -0
  62. package/types/src/utils/functions.d.ts +1 -0
  63. package/types/src/utils/install.d.ts +8 -0
  64. package/types/src/utils/storage.d.ts +18 -0
  65. package/types/src/utils/style.d.ts +19 -0
  66. package/types/src/utils/to-kebab-case.d.ts +1 -0
  67. package/types/src/utils/translate.d.ts +5 -0
  68. package/types/src/utils/typescript.d.ts +5 -0
  69. package/es/packages/components/api/remarkApi.js +0 -15
  70. package/es/packages/components/api/requestRemark.js +0 -47
  71. package/lib/_virtual/_commonjsHelpers.js +0 -1
  72. package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
  73. package/lib/_virtual/dayjs.min.js +0 -1
  74. package/lib/_virtual/lodash.js +0 -1
  75. package/lib/annex-upload/annex-upload.vue.js +0 -1
  76. package/lib/annex-upload/annex-upload.vue2.js +0 -1
  77. package/lib/annex-upload/index.js +0 -1
  78. package/lib/annex-upload/mimeType.js +0 -1
  79. package/lib/comprehensive-search/comprehensive-search.vue.js +0 -1
  80. package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
  81. package/lib/comprehensive-search/index.js +0 -1
  82. package/lib/copy/copy.vue.js +0 -1
  83. package/lib/copy/copy.vue2.js +0 -1
  84. package/lib/copy/index.js +0 -1
  85. package/lib/image-upload/image-upload.vue.js +0 -1
  86. package/lib/image-upload/image-upload.vue2.js +0 -1
  87. package/lib/image-upload/index.js +0 -1
  88. package/lib/index.js +0 -1
  89. package/lib/input/index.js +0 -1
  90. package/lib/input/input.vue.js +0 -1
  91. package/lib/input/input.vue2.js +0 -1
  92. package/lib/installs.js +0 -1
  93. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +0 -3
  94. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +0 -1
  95. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +0 -1
  96. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +0 -1
  97. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +0 -1
  98. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +0 -1
  99. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +0 -1
  100. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +0 -2
  101. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +0 -1
  102. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +0 -2
  103. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +0 -1
  104. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +0 -1
  105. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +0 -1
  106. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +0 -1
  107. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +0 -1
  108. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +0 -1
  109. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +0 -1
  110. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +0 -1
  111. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +0 -1
  112. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -1
  113. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -1
  114. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +0 -1
  115. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +0 -1
  116. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +0 -1
  117. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +0 -1
  118. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +0 -1
  119. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +0 -1
  120. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
  121. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +0 -1
  122. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -1
  123. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +0 -1
  124. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +0 -2
  125. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +0 -1
  126. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +0 -1
  127. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +0 -1
  128. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +0 -1
  129. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +0 -1
  130. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +0 -1
  131. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +0 -1
  132. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -1
  133. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +0 -1
  134. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +0 -1
  135. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -1
  136. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -1
  137. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -1
  138. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +0 -1
  139. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +0 -1
  140. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +0 -1
  141. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +0 -1
  142. package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -1
  143. package/lib/node_modules/.pnpm/element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
  144. package/lib/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +0 -27
  145. package/lib/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +0 -1
  146. package/lib/operation-log/index.js +0 -1
  147. package/lib/operation-log/operation-log-content.vue.js +0 -1
  148. package/lib/operation-log/operation-log-content.vue2.js +0 -1
  149. package/lib/operation-log/operation-log-dialog.vue.js +0 -1
  150. package/lib/operation-log/operation-log-dialog.vue2.js +0 -1
  151. package/lib/operation-log/operation-log-form.vue.js +0 -1
  152. package/lib/operation-log/operation-log-form.vue2.js +0 -1
  153. package/lib/operation-log/operation-log.vue.js +0 -1
  154. package/lib/operation-log/operation-log.vue2.js +0 -1
  155. package/lib/packages/components/api/log-server.js +0 -1
  156. package/lib/packages/components/api/remarkApi.js +0 -1
  157. package/lib/packages/components/api/requestRemark.js +0 -1
  158. package/lib/packages/components/api/requestTools.js +0 -1
  159. package/lib/packages/components/assets/images/errorimg.png.js +0 -1
  160. package/lib/packages/components/assets/images/excel.png.js +0 -1
  161. package/lib/packages/components/assets/images/file-word.png.js +0 -1
  162. package/lib/packages/components/assets/images/pdf.png.js +0 -1
  163. package/lib/packages/components/assets/images/ppt.png.js +0 -1
  164. package/lib/packages/components/assets/images/vue.svg.js +0 -1
  165. package/lib/packages/components/hooks/useClipboard.js +0 -1
  166. package/lib/packages/components/hooks/useImg.js +0 -1
  167. package/lib/packages/components/hooks/useImgPath.js +0 -1
  168. package/lib/packages/components/hooks/useImport.js +0 -1
  169. package/lib/packages/components/hooks/useUpload.js +0 -1
  170. package/lib/utils/install.js +0 -1
  171. package/lib/utils/storage.js +0 -1
  172. package/lib/utils/translate.js +0 -1
  173. /package/es/node_modules/.pnpm/{element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_ → element-plus@2.8.3_vue@3.5.12_typescript@5.6.2_}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
package/types/index.d.ts CHANGED
@@ -1,1204 +1,6 @@
1
- import { AllowedComponentProps } from 'vue';
2
- import { App } from 'vue';
3
- import { Awaitable } from 'element-plus/es/utils';
4
- import { ComponentCustomProperties } from 'vue';
5
- import { ComponentCustomProps } from 'vue';
6
- import { ComponentInternalInstance } from 'vue';
7
- import { ComponentOptionsBase } from 'vue';
8
- import { ComponentOptionsMixin } from 'vue';
9
- import { ComponentProvideOptions } from 'vue';
10
- import { ComponentPublicInstance } from 'vue';
11
- import { CreateComponentPublicInstanceWithMixins } from 'vue';
12
- import { DebuggerEvent } from 'vue';
13
- import { DefineComponent } from 'vue';
14
- import { EpPropFinalized } from 'element-plus/es/utils';
15
- import { EpPropMergeType } from 'element-plus/es/utils';
16
- import { ExtractPropTypes } from 'vue';
17
- import { GlobalComponents } from 'vue';
18
- import { GlobalDirectives } from 'vue';
19
- import { Mutable } from 'element-plus/es/utils';
20
- import { nextTick } from 'vue';
21
- import { OnCleanup } from '@vue/reactivity';
22
- import { Plugin as Plugin_2 } from 'vue';
23
- import { PropType } from 'vue';
24
- import { PublicProps } from 'vue';
25
- import { ShallowUnwrapRef } from 'vue';
26
- import { Slot } from 'vue';
27
- import { UploadFile } from 'element-plus';
28
- import { UploadFiles } from 'element-plus';
29
- import { UploadProgressEvent } from 'element-plus';
30
- import { UploadRawFile } from 'element-plus';
31
- import { UploadRequestHandler } from 'element-plus';
32
- import { UploadStatus } from 'element-plus/es/components/upload/src/upload';
33
- import { UploadUserFile } from 'element-plus';
34
- import { VNodeProps } from 'vue';
35
- import { WatchOptions } from 'vue';
36
- import { WatchStopHandle } from 'vue';
37
-
38
- declare const __VLS_component: DefineComponent<CopyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CopyProps> & Readonly<{}>, {
39
- message: string;
40
- content: string;
41
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
-
43
- declare const __VLS_component_2: DefineComponent<ImageUploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
44
- change: (...args: any[]) => void;
45
- "update:modelValue": (...args: any[]) => void;
46
- }, string, PublicProps, Readonly<ImageUploadProps> & Readonly<{
47
- onChange?: (...args: any[]) => any;
48
- "onUpdate:modelValue"?: (...args: any[]) => any;
49
- }>, {
50
- modelValue: {
51
- index: number;
52
- fileId: string;
53
- fileName: string;
54
- };
55
- fileType: string;
56
- showDelete: boolean;
57
- zoom: number;
58
- imgSize: {
59
- width: number;
60
- height: number;
61
- };
62
- limitImgSize: boolean;
63
- limitFileSize: boolean;
64
- fileSize: number;
65
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
66
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
67
-
68
- declare const __VLS_component_3: DefineComponent<AnnexUploadProps, {
69
- clearFiles: typeof clearFiles;
70
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
71
- change: (...args: any[]) => void;
72
- "update:modelValue": (...args: any[]) => void;
73
- success: (...args: any[]) => void;
74
- remove: (...args: any[]) => void;
75
- }, string, PublicProps, Readonly<AnnexUploadProps> & Readonly<{
76
- onChange?: (...args: any[]) => any;
77
- "onUpdate:modelValue"?: (...args: any[]) => any;
78
- onSuccess?: (...args: any[]) => any;
79
- onRemove?: (...args: any[]) => any;
80
- }>, {
81
- modelValue: {
82
- index: number;
83
- fileId: string;
84
- fileName: string;
85
- }[];
86
- validateEvent: boolean;
87
- fileType: string;
88
- limitFileSize: boolean;
89
- fileSize: number;
90
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
91
- accept: string;
92
- fileList: {
93
- name: string;
94
- url: string;
95
- }[];
96
- limit: number;
97
- showList: boolean;
98
- checkRealType: boolean;
99
- uploadType: "upload" | "import";
100
- showTips: boolean;
101
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
102
-
103
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
104
-
105
- declare type __VLS_PrettifyLocal<T> = {
106
- [K in keyof T]: T[K];
107
- } & {};
108
-
109
- declare function __VLS_template(): {
110
- slots: {
111
- default?(_: {}): any;
112
- };
113
- refs: {};
114
- attrs: Partial<{}>;
115
- };
116
-
117
- declare function __VLS_template_2(): {
118
- slots: {
119
- default?(_: {
120
- value: string;
121
- }): any;
122
- };
123
- refs: {};
124
- attrs: Partial<{}>;
125
- };
126
-
127
- declare function __VLS_template_3(): {
128
- slots: {
129
- default?(_: {}): any;
130
- tip?(_: {}): any;
131
- };
132
- refs: {
133
- uploadRef: {
134
- $: ComponentInternalInstance;
135
- $data: {};
136
- $props: Partial<{
137
- readonly data: EpPropMergeType<(new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>) | ((new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>))[], unknown, unknown>;
138
- readonly drag: boolean;
139
- readonly multiple: boolean;
140
- readonly disabled: boolean;
141
- readonly name: string;
142
- readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
143
- readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
144
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
145
- readonly method: string;
146
- readonly action: string;
147
- readonly withCredentials: boolean;
148
- readonly onPreview: (uploadFile: UploadFile) => void;
149
- readonly listType: EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
150
- readonly onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
151
- readonly showFileList: EpPropMergeType<BooleanConstructor, unknown, unknown>;
152
- readonly accept: string;
153
- readonly fileList: UploadUserFile[];
154
- readonly autoUpload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
155
- readonly httpRequest: UploadRequestHandler;
156
- readonly beforeUpload: (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
157
- readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
158
- readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
159
- }> & Omit<{
160
- readonly drag: boolean;
161
- readonly disabled: boolean;
162
- readonly name: string;
163
- readonly data: Mutable<{}>;
164
- readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
165
- readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
166
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
167
- readonly multiple: boolean;
168
- readonly method: string;
169
- readonly withCredentials: boolean;
170
- readonly beforeUpload: (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
171
- readonly onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
172
- readonly onPreview: (uploadFile: UploadFile) => void;
173
- readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
174
- readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
175
- readonly action: string;
176
- readonly showFileList: EpPropMergeType<BooleanConstructor, unknown, unknown>;
177
- readonly accept: string;
178
- readonly fileList: UploadUserFile[];
179
- readonly autoUpload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
180
- readonly listType: EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;
181
- readonly httpRequest: UploadRequestHandler;
182
- readonly headers?: unknown;
183
- readonly beforeRemove?: (uploadFile: UploadFile, uploadFiles: UploadFiles) => Awaitable<boolean>;
184
- readonly crossorigin?: EpPropMergeType<(new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>;
185
- readonly limit?: number;
186
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
187
- readonly beforeUpload: EpPropFinalized<(new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | {
188
- (): (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
189
- new (): any;
190
- readonly prototype: any;
191
- } | ((new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | {
192
- (): (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
193
- new (): any;
194
- readonly prototype: any;
195
- })[], unknown, unknown, () => void, boolean>;
196
- readonly beforeRemove: {
197
- readonly type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => Awaitable<boolean>>;
198
- readonly required: false;
199
- readonly validator: ((val: unknown) => boolean) | undefined;
200
- __epPropKey: true;
201
- };
202
- readonly onRemove: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
203
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
204
- new (): any;
205
- readonly prototype: any;
206
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
207
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
208
- new (): any;
209
- readonly prototype: any;
210
- })[], unknown, unknown, () => void, boolean>;
211
- readonly onChange: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
212
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
213
- new (): any;
214
- readonly prototype: any;
215
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
216
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
217
- new (): any;
218
- readonly prototype: any;
219
- })[], unknown, unknown, () => void, boolean>;
220
- readonly onPreview: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
221
- (): (uploadFile: UploadFile) => void;
222
- new (): any;
223
- readonly prototype: any;
224
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
225
- (): (uploadFile: UploadFile) => void;
226
- new (): any;
227
- readonly prototype: any;
228
- })[], unknown, unknown, () => void, boolean>;
229
- readonly onSuccess: EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
230
- (): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
231
- new (): any;
232
- readonly prototype: any;
233
- } | ((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
234
- (): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
235
- new (): any;
236
- readonly prototype: any;
237
- })[], unknown, unknown, () => void, boolean>;
238
- readonly onProgress: EpPropFinalized<(new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
239
- (): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
240
- new (): any;
241
- readonly prototype: any;
242
- } | ((new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
243
- (): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
244
- new (): any;
245
- readonly prototype: any;
246
- })[], unknown, unknown, () => void, boolean>;
247
- readonly onError: EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
248
- (): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
249
- new (): any;
250
- readonly prototype: any;
251
- } | ((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
252
- (): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
253
- new (): any;
254
- readonly prototype: any;
255
- })[], unknown, unknown, () => void, boolean>;
256
- readonly onExceed: EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
257
- (): (files: File[], uploadFiles: UploadUserFile[]) => void;
258
- new (): any;
259
- readonly prototype: any;
260
- } | ((new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
261
- (): (files: File[], uploadFiles: UploadUserFile[]) => void;
262
- new (): any;
263
- readonly prototype: any;
264
- })[], unknown, unknown, () => void, boolean>;
265
- readonly crossorigin: {
266
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
267
- readonly required: false;
268
- readonly validator: ((val: unknown) => boolean) | undefined;
269
- __epPropKey: true;
270
- };
271
- readonly action: EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
272
- readonly headers: {
273
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
274
- readonly required: false;
275
- readonly validator: ((val: unknown) => boolean) | undefined;
276
- __epPropKey: true;
277
- };
278
- readonly method: EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
279
- readonly data: EpPropFinalized<(new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>) | ((new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>))[], unknown, unknown, () => Mutable<{}>, boolean>;
280
- readonly multiple: BooleanConstructor;
281
- readonly name: EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
282
- readonly drag: BooleanConstructor;
283
- readonly withCredentials: BooleanConstructor;
284
- readonly showFileList: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
285
- readonly accept: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
286
- readonly fileList: EpPropFinalized<(new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[]) | ((new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
287
- readonly autoUpload: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
288
- readonly listType: EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
289
- readonly httpRequest: EpPropFinalized<(new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
290
- (): UploadRequestHandler;
291
- new (): any;
292
- readonly prototype: any;
293
- } | ((new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
294
- (): UploadRequestHandler;
295
- new (): any;
296
- readonly prototype: any;
297
- })[], unknown, unknown, UploadRequestHandler, boolean>;
298
- readonly disabled: BooleanConstructor;
299
- readonly limit: NumberConstructor;
300
- }>>, "drag" | "disabled" | "name" | "data" | "onChange" | "onError" | "onProgress" | "multiple" | "method" | "withCredentials" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
301
- $attrs: {
302
- [x: string]: unknown;
303
- };
304
- $refs: {
305
- [x: string]: unknown;
306
- };
307
- $slots: Readonly<{
308
- [name: string]: Slot<any>;
309
- }>;
310
- $root: ComponentPublicInstance | null;
311
- $parent: ComponentPublicInstance | null;
312
- $host: Element | null;
313
- $emit: (event: string, ...args: any[]) => void;
314
- $el: any;
315
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
316
- readonly beforeUpload: EpPropFinalized<(new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | {
317
- (): (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
318
- new (): any;
319
- readonly prototype: any;
320
- } | ((new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | {
321
- (): (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
322
- new (): any;
323
- readonly prototype: any;
324
- })[], unknown, unknown, () => void, boolean>;
325
- readonly beforeRemove: {
326
- readonly type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => Awaitable<boolean>>;
327
- readonly required: false;
328
- readonly validator: ((val: unknown) => boolean) | undefined;
329
- __epPropKey: true;
330
- };
331
- readonly onRemove: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
332
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
333
- new (): any;
334
- readonly prototype: any;
335
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
336
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
337
- new (): any;
338
- readonly prototype: any;
339
- })[], unknown, unknown, () => void, boolean>;
340
- readonly onChange: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
341
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
342
- new (): any;
343
- readonly prototype: any;
344
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
345
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
346
- new (): any;
347
- readonly prototype: any;
348
- })[], unknown, unknown, () => void, boolean>;
349
- readonly onPreview: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
350
- (): (uploadFile: UploadFile) => void;
351
- new (): any;
352
- readonly prototype: any;
353
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
354
- (): (uploadFile: UploadFile) => void;
355
- new (): any;
356
- readonly prototype: any;
357
- })[], unknown, unknown, () => void, boolean>;
358
- readonly onSuccess: EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
359
- (): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
360
- new (): any;
361
- readonly prototype: any;
362
- } | ((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
363
- (): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
364
- new (): any;
365
- readonly prototype: any;
366
- })[], unknown, unknown, () => void, boolean>;
367
- readonly onProgress: EpPropFinalized<(new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
368
- (): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
369
- new (): any;
370
- readonly prototype: any;
371
- } | ((new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
372
- (): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
373
- new (): any;
374
- readonly prototype: any;
375
- })[], unknown, unknown, () => void, boolean>;
376
- readonly onError: EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
377
- (): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
378
- new (): any;
379
- readonly prototype: any;
380
- } | ((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
381
- (): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
382
- new (): any;
383
- readonly prototype: any;
384
- })[], unknown, unknown, () => void, boolean>;
385
- readonly onExceed: EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
386
- (): (files: File[], uploadFiles: UploadUserFile[]) => void;
387
- new (): any;
388
- readonly prototype: any;
389
- } | ((new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
390
- (): (files: File[], uploadFiles: UploadUserFile[]) => void;
391
- new (): any;
392
- readonly prototype: any;
393
- })[], unknown, unknown, () => void, boolean>;
394
- readonly crossorigin: {
395
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
396
- readonly required: false;
397
- readonly validator: ((val: unknown) => boolean) | undefined;
398
- __epPropKey: true;
399
- };
400
- readonly action: EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
401
- readonly headers: {
402
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
403
- readonly required: false;
404
- readonly validator: ((val: unknown) => boolean) | undefined;
405
- __epPropKey: true;
406
- };
407
- readonly method: EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
408
- readonly data: EpPropFinalized<(new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>) | ((new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>))[], unknown, unknown, () => Mutable<{}>, boolean>;
409
- readonly multiple: BooleanConstructor;
410
- readonly name: EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
411
- readonly drag: BooleanConstructor;
412
- readonly withCredentials: BooleanConstructor;
413
- readonly showFileList: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
414
- readonly accept: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
415
- readonly fileList: EpPropFinalized<(new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[]) | ((new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
416
- readonly autoUpload: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
417
- readonly listType: EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
418
- readonly httpRequest: EpPropFinalized<(new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
419
- (): UploadRequestHandler;
420
- new (): any;
421
- readonly prototype: any;
422
- } | ((new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
423
- (): UploadRequestHandler;
424
- new (): any;
425
- readonly prototype: any;
426
- })[], unknown, unknown, UploadRequestHandler, boolean>;
427
- readonly disabled: BooleanConstructor;
428
- readonly limit: NumberConstructor;
429
- }>>, {
430
- abort: (file: UploadFile) => void;
431
- submit: () => void;
432
- clearFiles: (states?: UploadStatus[]) => void;
433
- handleStart: (rawFile: UploadRawFile) => void;
434
- handleRemove: (file: UploadRawFile | UploadFile, rawFile?: UploadRawFile | undefined) => void;
435
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
436
- readonly data: EpPropMergeType<(new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>) | ((new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>))[], unknown, unknown>;
437
- readonly drag: boolean;
438
- readonly multiple: boolean;
439
- readonly disabled: boolean;
440
- readonly name: string;
441
- readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
442
- readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
443
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
444
- readonly method: string;
445
- readonly action: string;
446
- readonly withCredentials: boolean;
447
- readonly onPreview: (uploadFile: UploadFile) => void;
448
- readonly listType: EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
449
- readonly onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
450
- readonly showFileList: EpPropMergeType<BooleanConstructor, unknown, unknown>;
451
- readonly accept: string;
452
- readonly fileList: UploadUserFile[];
453
- readonly autoUpload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
454
- readonly httpRequest: UploadRequestHandler;
455
- readonly beforeUpload: (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
456
- readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
457
- readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
458
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
459
- beforeCreate?: (() => void) | (() => void)[];
460
- created?: (() => void) | (() => void)[];
461
- beforeMount?: (() => void) | (() => void)[];
462
- mounted?: (() => void) | (() => void)[];
463
- beforeUpdate?: (() => void) | (() => void)[];
464
- updated?: (() => void) | (() => void)[];
465
- activated?: (() => void) | (() => void)[];
466
- deactivated?: (() => void) | (() => void)[];
467
- beforeDestroy?: (() => void) | (() => void)[];
468
- beforeUnmount?: (() => void) | (() => void)[];
469
- destroyed?: (() => void) | (() => void)[];
470
- unmounted?: (() => void) | (() => void)[];
471
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
472
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
473
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
474
- };
475
- $forceUpdate: () => void;
476
- $nextTick: typeof nextTick;
477
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
478
- } & Readonly<{
479
- readonly data: EpPropMergeType<(new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>) | ((new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>))[], unknown, unknown>;
480
- readonly drag: boolean;
481
- readonly multiple: boolean;
482
- readonly disabled: boolean;
483
- readonly name: string;
484
- readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
485
- readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
486
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
487
- readonly method: string;
488
- readonly action: string;
489
- readonly withCredentials: boolean;
490
- readonly onPreview: (uploadFile: UploadFile) => void;
491
- readonly listType: EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
492
- readonly onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
493
- readonly showFileList: EpPropMergeType<BooleanConstructor, unknown, unknown>;
494
- readonly accept: string;
495
- readonly fileList: UploadUserFile[];
496
- readonly autoUpload: EpPropMergeType<BooleanConstructor, unknown, unknown>;
497
- readonly httpRequest: UploadRequestHandler;
498
- readonly beforeUpload: (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
499
- readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
500
- readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
501
- }> & Omit<Readonly< ExtractPropTypes<{
502
- readonly beforeUpload: EpPropFinalized<(new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | {
503
- (): (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
504
- new (): any;
505
- readonly prototype: any;
506
- } | ((new (...args: any[]) => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | (() => (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>) | {
507
- (): (rawFile: UploadRawFile) => Awaitable<boolean | void | File | Blob | null | undefined>;
508
- new (): any;
509
- readonly prototype: any;
510
- })[], unknown, unknown, () => void, boolean>;
511
- readonly beforeRemove: {
512
- readonly type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => Awaitable<boolean>>;
513
- readonly required: false;
514
- readonly validator: ((val: unknown) => boolean) | undefined;
515
- __epPropKey: true;
516
- };
517
- readonly onRemove: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
518
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
519
- new (): any;
520
- readonly prototype: any;
521
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
522
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
523
- new (): any;
524
- readonly prototype: any;
525
- })[], unknown, unknown, () => void, boolean>;
526
- readonly onChange: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
527
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
528
- new (): any;
529
- readonly prototype: any;
530
- } | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
531
- (): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
532
- new (): any;
533
- readonly prototype: any;
534
- })[], unknown, unknown, () => void, boolean>;
535
- readonly onPreview: EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
536
- (): (uploadFile: UploadFile) => void;
537
- new (): any;
538
- readonly prototype: any;
539
- } | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
540
- (): (uploadFile: UploadFile) => void;
541
- new (): any;
542
- readonly prototype: any;
543
- })[], unknown, unknown, () => void, boolean>;
544
- readonly onSuccess: EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
545
- (): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
546
- new (): any;
547
- readonly prototype: any;
548
- } | ((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
549
- (): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
550
- new (): any;
551
- readonly prototype: any;
552
- })[], unknown, unknown, () => void, boolean>;
553
- readonly onProgress: EpPropFinalized<(new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
554
- (): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
555
- new (): any;
556
- readonly prototype: any;
557
- } | ((new (...args: any[]) => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
558
- (): (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
559
- new (): any;
560
- readonly prototype: any;
561
- })[], unknown, unknown, () => void, boolean>;
562
- readonly onError: EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
563
- (): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
564
- new (): any;
565
- readonly prototype: any;
566
- } | ((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
567
- (): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
568
- new (): any;
569
- readonly prototype: any;
570
- })[], unknown, unknown, () => void, boolean>;
571
- readonly onExceed: EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
572
- (): (files: File[], uploadFiles: UploadUserFile[]) => void;
573
- new (): any;
574
- readonly prototype: any;
575
- } | ((new (...args: any[]) => (files: File[], uploadFiles: UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: UploadUserFile[]) => void) | {
576
- (): (files: File[], uploadFiles: UploadUserFile[]) => void;
577
- new (): any;
578
- readonly prototype: any;
579
- })[], unknown, unknown, () => void, boolean>;
580
- readonly crossorigin: {
581
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
582
- readonly required: false;
583
- readonly validator: ((val: unknown) => boolean) | undefined;
584
- __epPropKey: true;
585
- };
586
- readonly action: EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
587
- readonly headers: {
588
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
589
- readonly required: false;
590
- readonly validator: ((val: unknown) => boolean) | undefined;
591
- __epPropKey: true;
592
- };
593
- readonly method: EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
594
- readonly data: EpPropFinalized<(new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>) | ((new (...args: any[]) => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>>) | (() => ((rawFile: UploadRawFile) => Awaitable<Mutable<Record<string, any>>>) | Awaitable<Mutable<Record<string, any>>>))[], unknown, unknown, () => Mutable<{}>, boolean>;
595
- readonly multiple: BooleanConstructor;
596
- readonly name: EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
597
- readonly drag: BooleanConstructor;
598
- readonly withCredentials: BooleanConstructor;
599
- readonly showFileList: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
600
- readonly accept: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
601
- readonly fileList: EpPropFinalized<(new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[]) | ((new (...args: any[]) => UploadUserFile[]) | (() => UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
602
- readonly autoUpload: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
603
- readonly listType: EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
604
- readonly httpRequest: EpPropFinalized<(new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
605
- (): UploadRequestHandler;
606
- new (): any;
607
- readonly prototype: any;
608
- } | ((new (...args: any[]) => UploadRequestHandler) | (() => UploadRequestHandler) | {
609
- (): UploadRequestHandler;
610
- new (): any;
611
- readonly prototype: any;
612
- })[], unknown, unknown, UploadRequestHandler, boolean>;
613
- readonly disabled: BooleanConstructor;
614
- readonly limit: NumberConstructor;
615
- }>>, "abort" | "drag" | "submit" | "disabled" | "name" | "data" | "onChange" | "onError" | "onProgress" | "multiple" | "method" | "withCredentials" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
616
- abort: (file: UploadFile) => void;
617
- submit: () => void;
618
- clearFiles: (states?: UploadStatus[]) => void;
619
- handleStart: (rawFile: UploadRawFile) => void;
620
- handleRemove: (file: UploadRawFile | UploadFile, rawFile?: UploadRawFile | undefined) => void;
621
- }> & {} & ComponentCustomProperties & {} & {
622
- $slots: {
623
- file?(_: {
624
- file: UploadFile;
625
- index: number;
626
- }): any;
627
- trigger?(_: {}): any;
628
- default?(_: {}): any;
629
- tip?(_: {}): any;
630
- };
631
- };
632
- };
633
- attrs: Partial<{}>;
634
- };
635
-
636
- declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
637
-
638
- declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
639
-
640
- declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
641
-
642
- declare type __VLS_TypePropsToOption<T> = {
643
- [K in keyof T]-?: {} extends Pick<T, K> ? {
644
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
645
- } : {
646
- type: PropType<T[K]>;
647
- required: true;
648
- };
649
- };
650
-
651
- declare type __VLS_WithDefaults<P, D> = {
652
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
653
- default: D[K];
654
- }> : P[K];
655
- };
656
-
657
- declare type __VLS_WithTemplateSlots<T, S> = T & {
658
- new (): {
659
- $slots: S;
660
- };
661
- };
662
-
663
- declare type __VLS_WithTemplateSlots_2<T, S> = T & {
664
- new (): {
665
- $slots: S;
666
- };
667
- };
668
-
669
- declare type __VLS_WithTemplateSlots_3<T, S> = T & {
670
- new (): {
671
- $slots: S;
672
- };
673
- };
674
-
675
- /**
676
- * 定义instance类型
677
- */
678
- export declare type AnnexUploadInstance = InstanceType<typeof _default_6>;
679
-
680
- /**
681
- * 定义props类型
682
- */
683
- export declare interface AnnexUploadProps {
684
- modelValue: {
685
- index: number;
686
- fileId: string;
687
- fileName: string;
688
- }[];
689
- fileList?: {
690
- name: string;
691
- url: string;
692
- }[];
693
- showList?: boolean;
694
- fileType?: string;
695
- accept?: string;
696
- checkRealType?: boolean;
697
- limit?: number;
698
- limitFileSize?: boolean;
699
- fileSize?: number;
700
- fileSizeUnit?: 'kb' | 'KB' | 'mb' | 'MB';
701
- uploadType?: 'upload' | 'import';
702
- validateEvent?: boolean;
703
- showTips?: boolean;
704
- }
705
-
706
- declare function clearFiles(): Promise<void>;
707
-
708
- /**
709
- * 定义instance类型
710
- */
711
- export declare type ComprehensiveSearchInstance = InstanceType<typeof _default_3>;
712
-
713
- /**
714
- * 定义instance类型
715
- */
716
- export declare type CopyInstance = InstanceType<typeof _default_4>;
717
-
718
- /**
719
- * 定义props类型
720
- */
721
- export declare interface CopyProps {
722
- content: string;
723
- message?: string;
724
- }
725
-
726
- declare const _default: {
727
- install: (app: App) => void;
728
- };
729
- export default _default;
730
-
731
- declare const _default_2: DefineComponent<InputProps, {
732
- focus: typeof focus_2;
733
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
734
- "update:modelValue": (value: string) => any;
735
- }, string, PublicProps, Readonly<InputProps> & Readonly<{
736
- "onUpdate:modelValue"?: (value: string) => any;
737
- }>, {
738
- modelValue: string;
739
- disabled: boolean;
740
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
741
-
742
- declare const _default_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
743
- dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
744
- confirmSearch?: () => void;
745
- pasteFormat?: () => void;
746
- isInSearchChange?: () => void;
747
- defaultSearch?: string;
748
- options?: SearchOptions[];
749
- placeholderText?: string;
750
- showPatchSearch?: boolean;
751
- showPatchCheckbox?: boolean;
752
- }>, {
753
- dealSearch: (...args: any[]) => void;
754
- pasteFormat: (...args: any[]) => void;
755
- confirmSearch: (...args: any[]) => void;
756
- isInSearchChange: (...args: any[]) => void;
757
- defaultSearch: string;
758
- options: () => any[];
759
- placeholderText: string;
760
- showPatchSearch: boolean;
761
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
762
- dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
763
- confirmSearch?: () => void;
764
- pasteFormat?: () => void;
765
- isInSearchChange?: () => void;
766
- defaultSearch?: string;
767
- options?: SearchOptions[];
768
- placeholderText?: string;
769
- showPatchSearch?: boolean;
770
- showPatchCheckbox?: boolean;
771
- }>, {
772
- dealSearch: (...args: any[]) => void;
773
- pasteFormat: (...args: any[]) => void;
774
- confirmSearch: (...args: any[]) => void;
775
- isInSearchChange: (...args: any[]) => void;
776
- defaultSearch: string;
777
- options: () => any[];
778
- placeholderText: string;
779
- showPatchSearch: boolean;
780
- }>>> & Readonly<{}>, {
781
- dealSearch: (selectedSearchType: string, searchQuery: string) => void;
782
- pasteFormat: () => void;
783
- confirmSearch: () => void;
784
- isInSearchChange: () => void;
785
- defaultSearch: string;
786
- options: SearchOptions[];
787
- placeholderText: string;
788
- showPatchSearch: boolean;
789
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
790
-
791
- declare const _default_4: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
792
-
793
- declare const _default_5: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
794
-
795
- declare const _default_6: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
796
-
797
- declare const _default_7: DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OperationLogProps> & Readonly<{}>, {
798
- projectId: string;
799
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
800
-
801
- declare function focus_2(): void;
802
-
803
- /**
804
- * 定义instance类型
805
- */
806
- export declare type ImageUploadInstance = InstanceType<typeof _default_5>;
807
-
808
- /**
809
- * 定义props类型
810
- */
811
- export declare interface ImageUploadProps {
812
- modelValue: {
813
- index: number;
814
- fileId: string;
815
- fileName: string;
816
- };
817
- showDelete: boolean;
818
- zoom: number;
819
- imgSize: {
820
- width: number;
821
- height: number;
822
- };
823
- limitImgSize: boolean;
824
- limitFileSize: boolean;
825
- fileSize: number;
826
- fileSizeUnit: 'kb' | 'KB' | 'mb' | 'MB';
827
- fileType?: string;
828
- }
829
-
830
- /**
831
- * 定义emit类型
832
- */
833
- export declare type InputEmits = {
834
- 'update:modelValue': [value: string];
835
- };
836
-
837
- /**
838
- * 定义instance类型
839
- */
840
- export declare type InputInstance = InstanceType<typeof _default_2>;
841
-
842
- /**
843
- * 定义props类型
844
- */
845
- export declare interface InputProps {
846
- modelValue: string;
847
- disabled?: boolean;
848
- }
849
-
850
- /**
851
- * 定义instance类型
852
- */
853
- export declare type OperationLogInstance = InstanceType<typeof _default_7>;
854
-
855
- /**
856
- * 定义props类型
857
- */
858
- export declare interface OperationLogProps {
859
- projectId: string;
860
- }
861
-
862
- /**
863
- * 综合搜索下拉选项
864
- */
865
- export declare type SearchOptions = {
866
- value: string;
867
- label: string;
868
- };
869
-
870
- declare type SFCWithInstall<T> = T & Plugin_2;
871
-
872
- export declare const YaheeAnnexUpload: SFCWithInstall<{
873
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< AnnexUploadProps> & Readonly<{
874
- onChange?: (...args: any[]) => any;
875
- "onUpdate:modelValue"?: (...args: any[]) => any;
876
- onSuccess?: (...args: any[]) => any;
877
- onRemove?: (...args: any[]) => any;
878
- }>, {
879
- clearFiles: () => Promise<void>;
880
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
881
- change: (...args: any[]) => void;
882
- "update:modelValue": (...args: any[]) => void;
883
- success: (...args: any[]) => void;
884
- remove: (...args: any[]) => void;
885
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< AnnexUploadProps> & Readonly<{
886
- onChange?: (...args: any[]) => any;
887
- "onUpdate:modelValue"?: (...args: any[]) => any;
888
- onSuccess?: (...args: any[]) => any;
889
- onRemove?: (...args: any[]) => any;
890
- }>, {
891
- modelValue: {
892
- index: number;
893
- fileId: string;
894
- fileName: string;
895
- }[];
896
- validateEvent: boolean;
897
- fileType: string;
898
- limitFileSize: boolean;
899
- fileSize: number;
900
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
901
- accept: string;
902
- fileList: {
903
- name: string;
904
- url: string;
905
- }[];
906
- limit: number;
907
- showList: boolean;
908
- checkRealType: boolean;
909
- uploadType: "upload" | "import";
910
- showTips: boolean;
911
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
912
- P: {};
913
- B: {};
914
- D: {};
915
- C: {};
916
- M: {};
917
- Defaults: {};
918
- }, Readonly< AnnexUploadProps> & Readonly<{
919
- onChange?: (...args: any[]) => any;
920
- "onUpdate:modelValue"?: (...args: any[]) => any;
921
- onSuccess?: (...args: any[]) => any;
922
- onRemove?: (...args: any[]) => any;
923
- }>, {
924
- clearFiles: () => Promise<void>;
925
- }, {}, {}, {}, {
926
- modelValue: {
927
- index: number;
928
- fileId: string;
929
- fileName: string;
930
- }[];
931
- validateEvent: boolean;
932
- fileType: string;
933
- limitFileSize: boolean;
934
- fileSize: number;
935
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
936
- accept: string;
937
- fileList: {
938
- name: string;
939
- url: string;
940
- }[];
941
- limit: number;
942
- showList: boolean;
943
- checkRealType: boolean;
944
- uploadType: "upload" | "import";
945
- showTips: boolean;
946
- }>;
947
- __isFragment?: never;
948
- __isTeleport?: never;
949
- __isSuspense?: never;
950
- } & ComponentOptionsBase<Readonly< AnnexUploadProps> & Readonly<{
951
- onChange?: (...args: any[]) => any;
952
- "onUpdate:modelValue"?: (...args: any[]) => any;
953
- onSuccess?: (...args: any[]) => any;
954
- onRemove?: (...args: any[]) => any;
955
- }>, {
956
- clearFiles: () => Promise<void>;
957
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
958
- change: (...args: any[]) => void;
959
- "update:modelValue": (...args: any[]) => void;
960
- success: (...args: any[]) => void;
961
- remove: (...args: any[]) => void;
962
- }, string, {
963
- modelValue: {
964
- index: number;
965
- fileId: string;
966
- fileName: string;
967
- }[];
968
- validateEvent: boolean;
969
- fileType: string;
970
- limitFileSize: boolean;
971
- fileSize: number;
972
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
973
- accept: string;
974
- fileList: {
975
- name: string;
976
- url: string;
977
- }[];
978
- limit: number;
979
- showList: boolean;
980
- checkRealType: boolean;
981
- uploadType: "upload" | "import";
982
- showTips: boolean;
983
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
984
- $slots: {
985
- default?(_: {}): any;
986
- tip?(_: {}): any;
987
- };
988
- })> & Record<string, any>;
989
-
990
- export declare const YaheeComprehensiveSearch: SFCWithInstall<DefineComponent<ExtractPropTypes<{
991
- dealSearch: {
992
- type: PropType<(selectedSearchType: string, searchQuery: string) => void>;
993
- default: (...args: any[]) => void;
994
- };
995
- pasteFormat: {
996
- type: PropType<() => void>;
997
- default: (...args: any[]) => void;
998
- };
999
- confirmSearch: {
1000
- type: PropType<() => void>;
1001
- default: (...args: any[]) => void;
1002
- };
1003
- isInSearchChange: {
1004
- type: PropType<() => void>;
1005
- default: (...args: any[]) => void;
1006
- };
1007
- defaultSearch: {
1008
- type: PropType<string>;
1009
- default: string;
1010
- };
1011
- options: {
1012
- type: PropType< SearchOptions[]>;
1013
- default: () => any[];
1014
- };
1015
- placeholderText: {
1016
- type: PropType<string>;
1017
- default: string;
1018
- };
1019
- showPatchSearch: {
1020
- type: PropType<boolean>;
1021
- default: boolean;
1022
- };
1023
- showPatchCheckbox: {
1024
- type: PropType<boolean>;
1025
- };
1026
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
1027
- dealSearch: {
1028
- type: PropType<(selectedSearchType: string, searchQuery: string) => void>;
1029
- default: (...args: any[]) => void;
1030
- };
1031
- pasteFormat: {
1032
- type: PropType<() => void>;
1033
- default: (...args: any[]) => void;
1034
- };
1035
- confirmSearch: {
1036
- type: PropType<() => void>;
1037
- default: (...args: any[]) => void;
1038
- };
1039
- isInSearchChange: {
1040
- type: PropType<() => void>;
1041
- default: (...args: any[]) => void;
1042
- };
1043
- defaultSearch: {
1044
- type: PropType<string>;
1045
- default: string;
1046
- };
1047
- options: {
1048
- type: PropType< SearchOptions[]>;
1049
- default: () => any[];
1050
- };
1051
- placeholderText: {
1052
- type: PropType<string>;
1053
- default: string;
1054
- };
1055
- showPatchSearch: {
1056
- type: PropType<boolean>;
1057
- default: boolean;
1058
- };
1059
- showPatchCheckbox: {
1060
- type: PropType<boolean>;
1061
- };
1062
- }>> & Readonly<{}>, {
1063
- dealSearch: (selectedSearchType: string, searchQuery: string) => void;
1064
- pasteFormat: () => void;
1065
- confirmSearch: () => void;
1066
- isInSearchChange: () => void;
1067
- defaultSearch: string;
1068
- options: SearchOptions[];
1069
- placeholderText: string;
1070
- showPatchSearch: boolean;
1071
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
1072
-
1073
- export declare const YaheeCopy: SFCWithInstall<{
1074
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< CopyProps> & Readonly<{}>, {
1075
- message: string;
1076
- content: string;
1077
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1078
- P: {};
1079
- B: {};
1080
- D: {};
1081
- C: {};
1082
- M: {};
1083
- Defaults: {};
1084
- }, Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, {
1085
- message: string;
1086
- content: string;
1087
- }>;
1088
- __isFragment?: never;
1089
- __isTeleport?: never;
1090
- __isSuspense?: never;
1091
- } & ComponentOptionsBase<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1092
- message: string;
1093
- content: string;
1094
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1095
- $slots: {
1096
- default?(_: {}): any;
1097
- };
1098
- })> & Record<string, any>;
1099
-
1100
- export declare const YaheeImageUpload: SFCWithInstall<{
1101
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ImageUploadProps> & Readonly<{
1102
- onChange?: (...args: any[]) => any;
1103
- "onUpdate:modelValue"?: (...args: any[]) => any;
1104
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1105
- change: (...args: any[]) => void;
1106
- "update:modelValue": (...args: any[]) => void;
1107
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ImageUploadProps> & Readonly<{
1108
- onChange?: (...args: any[]) => any;
1109
- "onUpdate:modelValue"?: (...args: any[]) => any;
1110
- }>, {
1111
- modelValue: {
1112
- index: number;
1113
- fileId: string;
1114
- fileName: string;
1115
- };
1116
- fileType: string;
1117
- showDelete: boolean;
1118
- zoom: number;
1119
- imgSize: {
1120
- width: number;
1121
- height: number;
1122
- };
1123
- limitImgSize: boolean;
1124
- limitFileSize: boolean;
1125
- fileSize: number;
1126
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
1127
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1128
- P: {};
1129
- B: {};
1130
- D: {};
1131
- C: {};
1132
- M: {};
1133
- Defaults: {};
1134
- }, Readonly< ImageUploadProps> & Readonly<{
1135
- onChange?: (...args: any[]) => any;
1136
- "onUpdate:modelValue"?: (...args: any[]) => any;
1137
- }>, {}, {}, {}, {}, {
1138
- modelValue: {
1139
- index: number;
1140
- fileId: string;
1141
- fileName: string;
1142
- };
1143
- fileType: string;
1144
- showDelete: boolean;
1145
- zoom: number;
1146
- imgSize: {
1147
- width: number;
1148
- height: number;
1149
- };
1150
- limitImgSize: boolean;
1151
- limitFileSize: boolean;
1152
- fileSize: number;
1153
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
1154
- }>;
1155
- __isFragment?: never;
1156
- __isTeleport?: never;
1157
- __isSuspense?: never;
1158
- } & ComponentOptionsBase<Readonly< ImageUploadProps> & Readonly<{
1159
- onChange?: (...args: any[]) => any;
1160
- "onUpdate:modelValue"?: (...args: any[]) => any;
1161
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1162
- change: (...args: any[]) => void;
1163
- "update:modelValue": (...args: any[]) => void;
1164
- }, string, {
1165
- modelValue: {
1166
- index: number;
1167
- fileId: string;
1168
- fileName: string;
1169
- };
1170
- fileType: string;
1171
- showDelete: boolean;
1172
- zoom: number;
1173
- imgSize: {
1174
- width: number;
1175
- height: number;
1176
- };
1177
- limitImgSize: boolean;
1178
- limitFileSize: boolean;
1179
- fileSize: number;
1180
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
1181
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1182
- $slots: {
1183
- default?(_: {
1184
- value: string;
1185
- }): any;
1186
- };
1187
- })> & Record<string, any>;
1188
-
1189
- export declare const YaheeInput: SFCWithInstall<DefineComponent<InputProps, {
1190
- focus: () => void;
1191
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1192
- "update:modelValue": (value: string) => any;
1193
- }, string, PublicProps, Readonly< InputProps> & Readonly<{
1194
- "onUpdate:modelValue"?: (value: string) => any;
1195
- }>, {
1196
- modelValue: string;
1197
- disabled: boolean;
1198
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
1199
-
1200
- export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< OperationLogProps> & Readonly<{}>, {
1201
- projectId: string;
1202
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
1203
-
1204
- export { }
1
+ export * from './src/index'
2
+ export {}
3
+ import YAHEE_COMPONENTS from './src/index'
4
+ export default YAHEE_COMPONENTS
5
+ export * from './src/index'
6
+ export {}