yahee-components 0.0.24 → 0.0.26

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 (213) hide show
  1. package/es/_virtual/dayjs.min.js +5 -2
  2. package/es/_virtual/dayjs.min2.js +4 -0
  3. package/es/_virtual/lodash.js +5 -2
  4. package/es/_virtual/lodash2.js +4 -0
  5. package/es/complex-search/complex-search.vue.js +11 -11
  6. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +1 -1
  7. package/es/drop-down-condition/drop-down-condition.vue.js +75 -73
  8. package/es/left-condition/left-condition-sub.vue.js +1 -1
  9. package/es/left-condition/left-condition.vue.js +1 -1
  10. package/es/left-condition-enum/left-condition-enum.vue.js +19 -20
  11. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +12 -12
  12. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +11 -11
  13. package/es/operation-log/operation-log.vue.js +3 -3
  14. package/es/packages/components/api/server.js +13 -26
  15. package/es/packages/components/node_modules/dayjs/dayjs.min.js +282 -0
  16. package/es/packages/components/node_modules/lodash/lodash.js +3677 -0
  17. package/es/style.css +0 -4
  18. package/es/styles/custom.css +0 -4
  19. package/es/styles/index.css +0 -4
  20. package/es/utils/translate.js +1 -1
  21. package/es/yahee-components.css +1 -0
  22. package/lib/_virtual/_commonjsHelpers.js +1 -0
  23. package/lib/_virtual/dayjs.min.js +1 -0
  24. package/lib/_virtual/dayjs.min2.js +1 -0
  25. package/lib/_virtual/lodash.js +1 -0
  26. package/lib/_virtual/lodash2.js +1 -0
  27. package/lib/annex-upload/annex-upload.vue.js +1 -0
  28. package/lib/annex-upload/annex-upload.vue2.js +1 -0
  29. package/lib/annex-upload/index.js +1 -0
  30. package/lib/annex-upload/mimeType.js +1 -0
  31. package/lib/api/server.js +1 -0
  32. package/lib/api/tool.js +1 -0
  33. package/lib/complex-search/complex-search.vue.js +1 -0
  34. package/lib/complex-search/complex-search.vue2.js +1 -0
  35. package/lib/complex-search/index.js +1 -0
  36. package/lib/copy/copy.vue.js +1 -0
  37. package/lib/copy/copy.vue2.js +1 -0
  38. package/lib/copy/index.js +1 -0
  39. package/lib/country-platform-shop-condition/country-platform-shop-condition.vue.js +1 -0
  40. package/lib/country-platform-shop-condition/country-platform-shop-condition.vue2.js +1 -0
  41. package/lib/country-platform-shop-condition/index.js +1 -0
  42. package/lib/drop-down-condition/drop-down-condition.vue.js +1 -0
  43. package/lib/drop-down-condition/drop-down-condition.vue2.js +1 -0
  44. package/lib/drop-down-condition/index.js +1 -0
  45. package/lib/image-upload/image-upload.vue.js +1 -0
  46. package/lib/image-upload/image-upload.vue2.js +1 -0
  47. package/lib/image-upload/index.js +1 -0
  48. package/lib/index.js +1 -0
  49. package/lib/input/index.js +1 -0
  50. package/lib/input/input.vue.js +1 -0
  51. package/lib/input/input.vue2.js +1 -0
  52. package/lib/installs.js +1 -0
  53. package/lib/left-condition/index.js +1 -0
  54. package/lib/left-condition/left-condition-sub.vue.js +1 -0
  55. package/lib/left-condition/left-condition-sub.vue2.js +1 -0
  56. package/lib/left-condition/left-condition.vue.js +1 -0
  57. package/lib/left-condition/left-condition.vue2.js +1 -0
  58. package/lib/left-condition-enum/index.js +1 -0
  59. package/lib/left-condition-enum/left-condition-enum.vue.js +1 -0
  60. package/lib/left-condition-enum/left-condition-enum.vue2.js +1 -0
  61. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +1 -0
  62. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +3 -0
  63. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +1 -0
  64. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +1 -0
  65. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +1 -0
  66. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +1 -0
  67. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +1 -0
  68. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +1 -0
  69. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +2 -0
  70. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +1 -0
  71. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +2 -0
  72. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +1 -0
  73. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +1 -0
  74. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +1 -0
  75. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +1 -0
  76. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +1 -0
  77. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +1 -0
  78. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +1 -0
  79. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +1 -0
  80. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +1 -0
  81. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +1 -0
  82. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +1 -0
  83. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +1 -0
  84. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +1 -0
  85. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +1 -0
  86. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +1 -0
  87. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +1 -0
  88. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +1 -0
  89. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +1 -0
  90. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +1 -0
  91. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -0
  92. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +1 -0
  93. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +2 -0
  94. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +1 -0
  95. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +1 -0
  96. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +1 -0
  97. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +1 -0
  98. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +1 -0
  99. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +1 -0
  100. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +1 -0
  101. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +1 -0
  102. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +1 -0
  103. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +1 -0
  104. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +1 -0
  105. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +1 -0
  106. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +1 -0
  107. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +1 -0
  108. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +1 -0
  109. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +1 -0
  110. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +1 -0
  111. package/lib/operation-log/index.js +1 -0
  112. package/lib/operation-log/operation-log-content.vue.js +1 -0
  113. package/lib/operation-log/operation-log-content.vue2.js +1 -0
  114. package/lib/operation-log/operation-log-dialog.vue.js +1 -0
  115. package/lib/operation-log/operation-log-dialog.vue2.js +1 -0
  116. package/lib/operation-log/operation-log-form.vue.js +1 -0
  117. package/lib/operation-log/operation-log-form.vue2.js +1 -0
  118. package/lib/operation-log/operation-log.vue.js +1 -0
  119. package/lib/operation-log/operation-log.vue2.js +1 -0
  120. package/lib/packages/components/api/log/index.js +1 -0
  121. package/lib/packages/components/api/log-server.js +1 -0
  122. package/lib/packages/components/api/server.js +1 -0
  123. package/lib/packages/components/api/tool.js +1 -0
  124. package/lib/packages/components/api/upload-server.js +1 -0
  125. package/lib/packages/components/assets/images/errorimg.png.js +1 -0
  126. package/lib/packages/components/assets/images/excel.png.js +1 -0
  127. package/lib/packages/components/assets/images/file-word.png.js +1 -0
  128. package/lib/packages/components/assets/images/pdf.png.js +1 -0
  129. package/lib/packages/components/assets/images/ppt.png.js +1 -0
  130. package/lib/packages/components/assets/images/vue.svg.js +1 -0
  131. package/lib/packages/components/hooks/useClipboard.js +1 -0
  132. package/lib/packages/components/hooks/useImg.js +1 -0
  133. package/lib/packages/components/hooks/useImgPath.js +1 -0
  134. package/lib/packages/components/hooks/useImport.js +1 -0
  135. package/lib/packages/components/hooks/useUpload.js +1 -0
  136. package/lib/packages/components/node_modules/dayjs/dayjs.min.js +1 -0
  137. package/lib/packages/components/node_modules/element-plus/es/locale/lang/zh-cn.js +1 -0
  138. package/lib/packages/components/node_modules/lodash/lodash.js +27 -0
  139. package/lib/packages/components/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +1 -0
  140. package/lib/static/CommonObject.js +1 -0
  141. package/lib/style.css +0 -4
  142. package/lib/styles/custom.css +0 -4
  143. package/lib/styles/index.css +0 -4
  144. package/lib/utils/config.js +1 -0
  145. package/lib/utils/const.js +1 -0
  146. package/lib/utils/install.js +1 -0
  147. package/lib/utils/storage.js +1 -0
  148. package/lib/utils/style.js +1 -0
  149. package/lib/utils/translate.js +1 -0
  150. package/lib/yahee-components.css +1 -0
  151. package/package.json +2 -1
  152. package/types/index.d.ts +1341 -6
  153. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -282
  154. package/es/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +0 -3677
  155. package/types/hooks/useClipboard.d.ts +0 -7
  156. package/types/hooks/useImg.d.ts +0 -10
  157. package/types/hooks/useImgPath.d.ts +0 -5
  158. package/types/hooks/useImport.d.ts +0 -11
  159. package/types/hooks/useUpload.d.ts +0 -12
  160. package/types/src/annex-upload/annex-upload.d.ts +0 -30
  161. package/types/src/annex-upload/annex-upload.vue.d.ts +0 -443
  162. package/types/src/annex-upload/index.d.ts +0 -123
  163. package/types/src/annex-upload/mimeType.d.ts +0 -2
  164. package/types/src/api/server.d.ts +0 -6
  165. package/types/src/api/tool.d.ts +0 -6
  166. package/types/src/api/types.d.ts +0 -17
  167. package/types/src/complex-search/complex-search.d.ts +0 -24
  168. package/types/src/complex-search/complex-search.vue.d.ts +0 -44
  169. package/types/src/complex-search/index.d.ts +0 -47
  170. package/types/src/components.d.ts +0 -10
  171. package/types/src/copy/copy.d.ts +0 -12
  172. package/types/src/copy/copy.vue.d.ts +0 -21
  173. package/types/src/copy/index.d.ts +0 -32
  174. package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +0 -17
  175. package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +0 -14
  176. package/types/src/country-platform-shop-condition/index.d.ts +0 -16
  177. package/types/src/drop-down-condition/drop-down-condition.d.ts +0 -6
  178. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +0 -40
  179. package/types/src/drop-down-condition/index.d.ts +0 -42
  180. package/types/src/image-upload/image-upload.d.ts +0 -26
  181. package/types/src/image-upload/image-upload.vue.d.ts +0 -43
  182. package/types/src/image-upload/index.d.ts +0 -94
  183. package/types/src/index.d.ts +0 -7
  184. package/types/src/input/index.d.ts +0 -16
  185. package/types/src/input/input.d.ts +0 -18
  186. package/types/src/input/input.vue.d.ts +0 -14
  187. package/types/src/installs.d.ts +0 -557
  188. package/types/src/left-condition/index.d.ts +0 -69
  189. package/types/src/left-condition/left-condition-sub.vue.d.ts +0 -47
  190. package/types/src/left-condition/left-condition.d.ts +0 -5
  191. package/types/src/left-condition/left-condition.vue.d.ts +0 -68
  192. package/types/src/left-condition-enum/index.d.ts +0 -162
  193. package/types/src/left-condition-enum/left-condition-enum.d.ts +0 -5
  194. package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +0 -160
  195. package/types/src/operation-log/index.d.ts +0 -9
  196. package/types/src/operation-log/operation-log-content.vue.d.ts +0 -24
  197. package/types/src/operation-log/operation-log-dialog.vue.d.ts +0 -39
  198. package/types/src/operation-log/operation-log-form.vue.d.ts +0 -19
  199. package/types/src/operation-log/operation-log.d.ts +0 -11
  200. package/types/src/operation-log/operation-log.vue.d.ts +0 -6
  201. package/types/src/static/CommonObject.d.ts +0 -18
  202. package/types/src/static/CommonVariables.d.ts +0 -4
  203. package/types/src/utils/config.d.ts +0 -8
  204. package/types/src/utils/const.d.ts +0 -19
  205. package/types/src/utils/functions.d.ts +0 -1
  206. package/types/src/utils/install.d.ts +0 -8
  207. package/types/src/utils/storage.d.ts +0 -18
  208. package/types/src/utils/style.d.ts +0 -19
  209. package/types/src/utils/to-kebab-case.d.ts +0 -1
  210. package/types/src/utils/translate.d.ts +0 -5
  211. package/types/src/utils/typescript.d.ts +0 -5
  212. /package/es/{node_modules/.pnpm/element-plus@2.8.3_vue@3.5.12_typescript@5.6.2_ → packages/components}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
  213. /package/es/{node_modules/.pnpm/v3-infinite-loading@1.3.2 → packages/components}/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +0 -0
@@ -1,123 +0,0 @@
1
- import { SFCWithInstall } from '../utils/typescript';
2
- import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
3
- import { AnnexUploadProps } from './annex-upload';
4
- export declare const YaheeAnnexUpload: SFCWithInstall<{
5
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< AnnexUploadProps> & Readonly<{
6
- onChange?: (...args: any[]) => any;
7
- "onUpdate:modelValue"?: (...args: any[]) => any;
8
- onSuccess?: (...args: any[]) => any;
9
- onRemove?: (...args: any[]) => any;
10
- }>, {
11
- clearFiles: () => Promise<void>;
12
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
- change: (...args: any[]) => void;
14
- "update:modelValue": (...args: any[]) => void;
15
- success: (...args: any[]) => void;
16
- remove: (...args: any[]) => void;
17
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< AnnexUploadProps> & Readonly<{
18
- onChange?: (...args: any[]) => any;
19
- "onUpdate:modelValue"?: (...args: any[]) => any;
20
- onSuccess?: (...args: any[]) => any;
21
- onRemove?: (...args: any[]) => any;
22
- }>, {
23
- modelValue: {
24
- index: number;
25
- fileId: string;
26
- fileName: string;
27
- }[];
28
- validateEvent: boolean;
29
- fileType: string;
30
- limitFileSize: boolean;
31
- fileSize: number;
32
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
33
- accept: string;
34
- fileList: {
35
- name: string;
36
- url: string;
37
- }[];
38
- limit: number;
39
- showList: boolean;
40
- checkRealType: boolean;
41
- uploadType: "upload" | "import";
42
- showTips: boolean;
43
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
44
- P: {};
45
- B: {};
46
- D: {};
47
- C: {};
48
- M: {};
49
- Defaults: {};
50
- }, Readonly< AnnexUploadProps> & Readonly<{
51
- onChange?: (...args: any[]) => any;
52
- "onUpdate:modelValue"?: (...args: any[]) => any;
53
- onSuccess?: (...args: any[]) => any;
54
- onRemove?: (...args: any[]) => any;
55
- }>, {
56
- clearFiles: () => Promise<void>;
57
- }, {}, {}, {}, {
58
- modelValue: {
59
- index: number;
60
- fileId: string;
61
- fileName: string;
62
- }[];
63
- validateEvent: boolean;
64
- fileType: string;
65
- limitFileSize: boolean;
66
- fileSize: number;
67
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
68
- accept: string;
69
- fileList: {
70
- name: string;
71
- url: string;
72
- }[];
73
- limit: number;
74
- showList: boolean;
75
- checkRealType: boolean;
76
- uploadType: "upload" | "import";
77
- showTips: boolean;
78
- }>;
79
- __isFragment?: never;
80
- __isTeleport?: never;
81
- __isSuspense?: never;
82
- } & ComponentOptionsBase<Readonly< AnnexUploadProps> & Readonly<{
83
- onChange?: (...args: any[]) => any;
84
- "onUpdate:modelValue"?: (...args: any[]) => any;
85
- onSuccess?: (...args: any[]) => any;
86
- onRemove?: (...args: any[]) => any;
87
- }>, {
88
- clearFiles: () => Promise<void>;
89
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
90
- change: (...args: any[]) => void;
91
- "update:modelValue": (...args: any[]) => void;
92
- success: (...args: any[]) => void;
93
- remove: (...args: any[]) => void;
94
- }, string, {
95
- modelValue: {
96
- index: number;
97
- fileId: string;
98
- fileName: string;
99
- }[];
100
- validateEvent: boolean;
101
- fileType: string;
102
- limitFileSize: boolean;
103
- fileSize: number;
104
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
105
- accept: string;
106
- fileList: {
107
- name: string;
108
- url: string;
109
- }[];
110
- limit: number;
111
- showList: boolean;
112
- checkRealType: boolean;
113
- uploadType: "upload" | "import";
114
- showTips: boolean;
115
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
116
- $slots: {
117
- default?(_: {}): any;
118
- tip?(_: {}): any;
119
- };
120
- })> & Record<string, any>;
121
- export default YaheeAnnexUpload;
122
- export * from './annex-upload.vue';
123
- export * from './annex-upload';
@@ -1,2 +0,0 @@
1
- export declare const MimeType: Map<string, string>;
2
- export declare function getMime(ext: string): string | undefined;
@@ -1,6 +0,0 @@
1
- import { ErrorObject, FcResponse, Fn, IAnyObj } from './types';
2
- export declare const Get: <T>(url: string, params?: IAnyObj, clearFn?: Fn<void>) => Promise<ErrorObject<T> | FcResponse<T>>;
3
- export declare const Post: <T>(url: string, data: IAnyObj, params?: IAnyObj) => Promise<FcResponse<T> | ErrorObject<T>>;
4
- export declare const Delete: <T>(url: string, data: IAnyObj, params?: IAnyObj) => Promise<ErrorObject<T> | FcResponse<T>>;
5
- export declare const Put: <T>(url: string, data: IAnyObj, params?: IAnyObj) => Promise<ErrorObject<T> | FcResponse<T>>;
6
- export declare const Patch: <T>(url: string, data: IAnyObj, params?: IAnyObj) => Promise<ErrorObject<T> | FcResponse<T>>;
@@ -1,6 +0,0 @@
1
- import { InternalAxiosRequestConfig } from 'axios';
2
- export declare const handleChangeRequestHeader: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig;
3
- export declare const handleConfigureAuth: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig;
4
- export declare const handleNetworkError: (errStatus?: number) => void;
5
- export declare const handleAuthError: (errno: number) => boolean;
6
- export declare const handleGeneralError: (status: number, msg: string) => boolean;
@@ -1,17 +0,0 @@
1
- export type Fn<T> = (data: FcResponse<T>) => unknown;
2
- export interface IAnyObj {
3
- [index: string]: unknown;
4
- }
5
- export interface FcResponse<T> {
6
- status: number;
7
- msg: string;
8
- data: T;
9
- ext?: string;
10
- sts?: number;
11
- }
12
- export interface ErrorObject<T> {
13
- msg?: string;
14
- data?: T;
15
- status?: number;
16
- }
17
- export type ApiResponse<T> = Promise<ErrorObject<T> | FcResponse<T> | undefined | null>;
@@ -1,24 +0,0 @@
1
- import { default as ComplexSearch } from './complex-search.vue';
2
- /**
3
- * 定义instance类型
4
- */
5
- export type ComplexSearchInstance = InstanceType<typeof ComplexSearch>;
6
- /**
7
- * 综合搜索下拉选项
8
- */
9
- export type SearchOptions = {
10
- value: string;
11
- label: string;
12
- };
13
- export interface SearchDataOptions {
14
- label: string;
15
- key: string;
16
- }
17
- export type EveryFilter = {
18
- filterKey: string;
19
- checkedValues: string[] | string;
20
- };
21
- export type FilterValue = string | number | boolean | string[] | number[];
22
- export interface SearchItem {
23
- [key: string]: FilterValue;
24
- }
@@ -1,44 +0,0 @@
1
- import { SearchOptions, SearchDataOptions, SearchItem } from './complex-search';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<{
4
- dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
5
- pasteFormat?: () => void;
6
- defaultSearch?: string;
7
- options?: SearchOptions[];
8
- placeholderText?: string;
9
- showPatchSearch?: boolean;
10
- showWithinFilterCheckbox?: boolean;
11
- specialOptions?: SearchDataOptions[];
12
- normalOptions?: string[];
13
- showSelect?: boolean;
14
- searchItem?: SearchItem;
15
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
16
- filterChangeGrandson: (...args: any[]) => void;
17
- }, string, PublicProps, Readonly<{
18
- dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
19
- pasteFormat?: () => void;
20
- defaultSearch?: string;
21
- options?: SearchOptions[];
22
- placeholderText?: string;
23
- showPatchSearch?: boolean;
24
- showWithinFilterCheckbox?: boolean;
25
- specialOptions?: SearchDataOptions[];
26
- normalOptions?: string[];
27
- showSelect?: boolean;
28
- searchItem?: SearchItem;
29
- }> & Readonly<{
30
- onFilterChangeGrandson?: (...args: any[]) => any;
31
- }>, {
32
- dealSearch: (selectedSearchType: string, searchQuery: string) => void;
33
- pasteFormat: () => void;
34
- defaultSearch: string;
35
- options: SearchOptions[];
36
- placeholderText: string;
37
- showPatchSearch: boolean;
38
- showWithinFilterCheckbox: boolean;
39
- specialOptions: SearchDataOptions[];
40
- normalOptions: string[];
41
- showSelect: boolean;
42
- searchItem: SearchItem;
43
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
44
- export default _default;
@@ -1,47 +0,0 @@
1
- import { SFCWithInstall } from '../utils/typescript';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { SearchOptions, SearchDataOptions, SearchItem } from './complex-search';
4
- export declare const YaheeComplexSearch: SFCWithInstall<DefineComponent<{
5
- dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
6
- pasteFormat?: () => void;
7
- defaultSearch?: string;
8
- options?: SearchOptions[];
9
- placeholderText?: string;
10
- showPatchSearch?: boolean;
11
- showWithinFilterCheckbox?: boolean;
12
- specialOptions?: SearchDataOptions[];
13
- normalOptions?: string[];
14
- showSelect?: boolean;
15
- searchItem?: SearchItem;
16
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
- filterChangeGrandson: (...args: any[]) => void;
18
- }, string, PublicProps, Readonly<{
19
- dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
20
- pasteFormat?: () => void;
21
- defaultSearch?: string;
22
- options?: SearchOptions[];
23
- placeholderText?: string;
24
- showPatchSearch?: boolean;
25
- showWithinFilterCheckbox?: boolean;
26
- specialOptions?: SearchDataOptions[];
27
- normalOptions?: string[];
28
- showSelect?: boolean;
29
- searchItem?: SearchItem;
30
- }> & Readonly<{
31
- onFilterChangeGrandson?: (...args: any[]) => any;
32
- }>, {
33
- dealSearch: (selectedSearchType: string, searchQuery: string) => void;
34
- pasteFormat: () => void;
35
- defaultSearch: string;
36
- options: SearchOptions[];
37
- placeholderText: string;
38
- showPatchSearch: boolean;
39
- showWithinFilterCheckbox: boolean;
40
- specialOptions: SearchDataOptions[];
41
- normalOptions: string[];
42
- showSelect: boolean;
43
- searchItem: SearchItem;
44
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
45
- export default YaheeComplexSearch;
46
- export * from './complex-search.vue';
47
- export * from './complex-search';
@@ -1,10 +0,0 @@
1
- export * from './input';
2
- export * from './complex-search';
3
- export * from './copy';
4
- export * from './image-upload';
5
- export * from './annex-upload';
6
- export * from './operation-log';
7
- export * from './country-platform-shop-condition';
8
- export * from './left-condition';
9
- export * from './left-condition-enum';
10
- export * from './drop-down-condition';
@@ -1,12 +0,0 @@
1
- import { default as copy } from './copy.vue';
2
- /**
3
- * 定义props类型
4
- */
5
- export interface CopyProps {
6
- content: string;
7
- message?: string;
8
- }
9
- /**
10
- * 定义instance类型
11
- */
12
- export type CopyInstance = InstanceType<typeof copy>;
@@ -1,21 +0,0 @@
1
- import { CopyProps } from './copy';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- attrs: Partial<{}>;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: DefineComponent<CopyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CopyProps> & Readonly<{}>, {
12
- message: string;
13
- content: string;
14
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,32 +0,0 @@
1
- import { SFCWithInstall } from '../utils/typescript';
2
- import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
3
- import { CopyProps } from './copy';
4
- export declare const YaheeCopy: SFCWithInstall<{
5
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< CopyProps> & Readonly<{}>, {
6
- message: string;
7
- content: string;
8
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
9
- P: {};
10
- B: {};
11
- D: {};
12
- C: {};
13
- M: {};
14
- Defaults: {};
15
- }, Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, {
16
- message: string;
17
- content: string;
18
- }>;
19
- __isFragment?: never;
20
- __isTeleport?: never;
21
- __isSuspense?: never;
22
- } & ComponentOptionsBase<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
23
- message: string;
24
- content: string;
25
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
26
- $slots: {
27
- default?(_: {}): any;
28
- };
29
- })> & Record<string, any>;
30
- export default YaheeCopy;
31
- export * from './copy.vue';
32
- export * from './copy';
@@ -1,17 +0,0 @@
1
- export interface data {
2
- xGroup: Array<{
3
- xGroupValue: string;
4
- xGroupText: string;
5
- }>;
6
- yGroup: Array<{
7
- yGroupValue: string;
8
- yGroupText: string;
9
- }>;
10
- items: Array<{
11
- title: string;
12
- xGroupValue: string;
13
- yGroupValue: string;
14
- text: string;
15
- value: number | string;
16
- }>;
17
- }
@@ -1,14 +0,0 @@
1
- import { data } from './country-platform-shop-condition';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<{
4
- xyFilters?: data;
5
- filterKey: string;
6
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
- filterChange: (...args: any[]) => void;
8
- }, string, PublicProps, Readonly<{
9
- xyFilters?: data;
10
- filterKey: string;
11
- }> & Readonly<{
12
- onFilterChange?: (...args: any[]) => any;
13
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
- export default _default;
@@ -1,16 +0,0 @@
1
- import { SFCWithInstall } from '../utils/typescript';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { data } from './country-platform-shop-condition';
4
- export declare const YaheeCountryPlatformShopCondition: SFCWithInstall<DefineComponent<{
5
- xyFilters?: data;
6
- filterKey: string;
7
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
- filterChange: (...args: any[]) => void;
9
- }, string, PublicProps, Readonly<{
10
- xyFilters?: data;
11
- filterKey: string;
12
- }> & Readonly<{
13
- onFilterChange?: (...args: any[]) => any;
14
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
15
- export default YaheeCountryPlatformShopCondition;
16
- export * from './country-platform-shop-condition.vue';
@@ -1,6 +0,0 @@
1
- export interface DropdownEntity {
2
- text: string;
3
- value: string | number;
4
- subs?: [any];
5
- isCheckbox?: boolean;
6
- }
@@ -1,40 +0,0 @@
1
- import { DropdownEntity } from './drop-down-condition';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<{
4
- filterList?: Array<DropdownEntity>;
5
- totalCount?: number;
6
- level1Count?: Array<{
7
- value: string;
8
- count: number;
9
- }>;
10
- level2Count?: Array<{
11
- value: string;
12
- count: number;
13
- }>;
14
- filterKey: string;
15
- enumEntity: string;
16
- baseUrl: string;
17
- noNeedRefreshNumFilterName?: string;
18
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
- filterChange: (...args: any[]) => void;
20
- setNoNeedRefreshNumFilterName: (...args: any[]) => void;
21
- }, string, PublicProps, Readonly<{
22
- filterList?: Array<DropdownEntity>;
23
- totalCount?: number;
24
- level1Count?: Array<{
25
- value: string;
26
- count: number;
27
- }>;
28
- level2Count?: Array<{
29
- value: string;
30
- count: number;
31
- }>;
32
- filterKey: string;
33
- enumEntity: string;
34
- baseUrl: string;
35
- noNeedRefreshNumFilterName?: string;
36
- }> & Readonly<{
37
- onFilterChange?: (...args: any[]) => any;
38
- onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
39
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
40
- export default _default;
@@ -1,42 +0,0 @@
1
- import { SFCWithInstall } from '../utils/typescript';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { DropdownEntity } from './drop-down-condition';
4
- export declare const YaheeDropDownCondition: SFCWithInstall<DefineComponent<{
5
- filterList?: Array< DropdownEntity>;
6
- totalCount?: number;
7
- level1Count?: Array<{
8
- value: string;
9
- count: number;
10
- }>;
11
- level2Count?: Array<{
12
- value: string;
13
- count: number;
14
- }>;
15
- filterKey: string;
16
- enumEntity: string;
17
- baseUrl: string;
18
- noNeedRefreshNumFilterName?: string;
19
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- filterChange: (...args: any[]) => void;
21
- setNoNeedRefreshNumFilterName: (...args: any[]) => void;
22
- }, string, PublicProps, Readonly<{
23
- filterList?: Array< DropdownEntity>;
24
- totalCount?: number;
25
- level1Count?: Array<{
26
- value: string;
27
- count: number;
28
- }>;
29
- level2Count?: Array<{
30
- value: string;
31
- count: number;
32
- }>;
33
- filterKey: string;
34
- enumEntity: string;
35
- baseUrl: string;
36
- noNeedRefreshNumFilterName?: string;
37
- }> & Readonly<{
38
- onFilterChange?: (...args: any[]) => any;
39
- onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
40
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
41
- export default YaheeDropDownCondition;
42
- export * from './drop-down-condition.vue';
@@ -1,26 +0,0 @@
1
- import { default as ImageUpload } from './image-upload.vue';
2
- /**
3
- * 定义props类型
4
- */
5
- export interface ImageUploadProps {
6
- modelValue: {
7
- index: number;
8
- fileId: string;
9
- fileName: string;
10
- };
11
- showDelete?: boolean;
12
- zoom?: number;
13
- imgSize?: {
14
- width: number;
15
- height: number;
16
- };
17
- limitImgSize?: boolean;
18
- limitFileSize?: boolean;
19
- fileSize?: number;
20
- fileSizeUnit?: 'kb' | 'KB' | 'mb' | 'MB';
21
- fileType?: string;
22
- }
23
- /**
24
- * 定义instance类型
25
- */
26
- export type ImageUploadInstance = InstanceType<typeof ImageUpload>;
@@ -1,43 +0,0 @@
1
- import { ImageUploadProps } from './image-upload';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- slots: {
5
- default?(_: {
6
- value: string;
7
- }): any;
8
- };
9
- refs: {};
10
- attrs: Partial<{}>;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: DefineComponent<ImageUploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
- change: (...args: any[]) => void;
15
- "update:modelValue": (...args: any[]) => void;
16
- }, string, PublicProps, Readonly<ImageUploadProps> & Readonly<{
17
- onChange?: (...args: any[]) => any;
18
- "onUpdate:modelValue"?: (...args: any[]) => any;
19
- }>, {
20
- modelValue: {
21
- index: number;
22
- fileId: string;
23
- fileName: string;
24
- };
25
- fileType: string;
26
- showDelete: boolean;
27
- zoom: number;
28
- imgSize: {
29
- width: number;
30
- height: number;
31
- };
32
- limitImgSize: boolean;
33
- limitFileSize: boolean;
34
- fileSize: number;
35
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
36
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
37
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
- export default _default;
39
- type __VLS_WithTemplateSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
@@ -1,94 +0,0 @@
1
- import { SFCWithInstall } from '../utils/typescript';
2
- import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
3
- import { ImageUploadProps } from './image-upload';
4
- export declare const YaheeImageUpload: SFCWithInstall<{
5
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ImageUploadProps> & Readonly<{
6
- onChange?: (...args: any[]) => any;
7
- "onUpdate:modelValue"?: (...args: any[]) => any;
8
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- change: (...args: any[]) => void;
10
- "update:modelValue": (...args: any[]) => void;
11
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ImageUploadProps> & Readonly<{
12
- onChange?: (...args: any[]) => any;
13
- "onUpdate:modelValue"?: (...args: any[]) => any;
14
- }>, {
15
- modelValue: {
16
- index: number;
17
- fileId: string;
18
- fileName: string;
19
- };
20
- fileType: string;
21
- showDelete: boolean;
22
- zoom: number;
23
- imgSize: {
24
- width: number;
25
- height: number;
26
- };
27
- limitImgSize: boolean;
28
- limitFileSize: boolean;
29
- fileSize: number;
30
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
31
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
32
- P: {};
33
- B: {};
34
- D: {};
35
- C: {};
36
- M: {};
37
- Defaults: {};
38
- }, Readonly< ImageUploadProps> & Readonly<{
39
- onChange?: (...args: any[]) => any;
40
- "onUpdate:modelValue"?: (...args: any[]) => any;
41
- }>, {}, {}, {}, {}, {
42
- modelValue: {
43
- index: number;
44
- fileId: string;
45
- fileName: string;
46
- };
47
- fileType: string;
48
- showDelete: boolean;
49
- zoom: number;
50
- imgSize: {
51
- width: number;
52
- height: number;
53
- };
54
- limitImgSize: boolean;
55
- limitFileSize: boolean;
56
- fileSize: number;
57
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
58
- }>;
59
- __isFragment?: never;
60
- __isTeleport?: never;
61
- __isSuspense?: never;
62
- } & ComponentOptionsBase<Readonly< ImageUploadProps> & Readonly<{
63
- onChange?: (...args: any[]) => any;
64
- "onUpdate:modelValue"?: (...args: any[]) => any;
65
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
66
- change: (...args: any[]) => void;
67
- "update:modelValue": (...args: any[]) => void;
68
- }, string, {
69
- modelValue: {
70
- index: number;
71
- fileId: string;
72
- fileName: string;
73
- };
74
- fileType: string;
75
- showDelete: boolean;
76
- zoom: number;
77
- imgSize: {
78
- width: number;
79
- height: number;
80
- };
81
- limitImgSize: boolean;
82
- limitFileSize: boolean;
83
- fileSize: number;
84
- fileSizeUnit: "kb" | "KB" | "mb" | "MB";
85
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
86
- $slots: {
87
- default?(_: {
88
- value: string;
89
- }): any;
90
- };
91
- })> & Record<string, any>;
92
- export default YaheeImageUpload;
93
- export * from './image-upload.vue';
94
- export * from './image-upload';