yahee-components 0.0.9 → 0.0.12

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/annex-upload/annex-upload.vue.js +6 -6
  2. package/es/api/server.js +29 -0
  3. package/es/api/tool.js +69 -0
  4. package/es/comprehensive-search/comprehensive-search.vue.js +10 -10
  5. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
  6. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
  7. package/es/country-platform-shop-condition/index.js +7 -0
  8. package/es/country-platform-shop-condition/style/index.css +48 -0
  9. package/es/drop-down-condition/drop-down-condition.vue.js +215 -0
  10. package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
  11. package/es/drop-down-condition/index.js +7 -0
  12. package/es/drop-down-condition/style/index.css +45 -0
  13. package/es/image-upload/image-upload.vue.js +125 -124
  14. package/es/index.js +28 -15
  15. package/es/installs.js +18 -10
  16. package/es/left-condition/index.js +7 -0
  17. package/es/left-condition/left-condition-sub.vue.js +95 -0
  18. package/es/left-condition/left-condition-sub.vue2.js +4 -0
  19. package/es/left-condition/left-condition.vue.js +214 -0
  20. package/es/left-condition/left-condition.vue2.js +4 -0
  21. package/es/left-condition/style/index.css +11 -0
  22. package/es/left-condition-enum/index.js +7 -0
  23. package/es/left-condition-enum/left-condition-enum.vue.js +76 -0
  24. package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
  25. package/es/left-condition-enum/style/index.css +0 -0
  26. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
  27. package/es/operation-log/operation-log-content.vue.js +6 -6
  28. package/es/operation-log/operation-log-form.vue.js +2 -2
  29. package/es/operation-log/operation-log-form.vue2.js +17 -17
  30. package/es/operation-log/operation-log.vue.js +50 -49
  31. package/es/packages/components/api/log/index.js +15 -0
  32. package/es/packages/components/api/log-server.js +17 -21
  33. package/es/packages/components/api/server.js +19 -0
  34. package/es/packages/components/api/tool.js +57 -0
  35. package/es/packages/components/api/{requestTools.js → upload-server.js} +13 -10
  36. package/es/packages/components/hooks/useClipboard.js +16 -14
  37. package/es/packages/components/hooks/useImport.js +14 -12
  38. package/es/packages/components/hooks/useUpload.js +9 -9
  39. package/es/static/CommonObject.js +4 -0
  40. package/es/style.css +81 -196
  41. package/es/utils/config.js +19 -0
  42. package/es/utils/const.js +19 -0
  43. package/es/utils/style.js +28 -0
  44. package/es/utils/translate.js +50 -31
  45. package/lib/country-platform-shop-condition/style/index.css +48 -0
  46. package/lib/drop-down-condition/style/index.css +45 -0
  47. package/lib/left-condition/style/index.css +11 -0
  48. package/lib/left-condition-enum/style/index.css +0 -0
  49. package/lib/style.css +81 -196
  50. package/package.json +1 -1
  51. package/types/hooks/useClipboard.d.ts +7 -0
  52. package/types/hooks/useImg.d.ts +10 -0
  53. package/types/hooks/useImgPath.d.ts +5 -0
  54. package/types/hooks/useImport.d.ts +11 -0
  55. package/types/hooks/useUpload.d.ts +12 -0
  56. package/types/index.d.ts +6 -1204
  57. package/types/src/annex-upload/annex-upload.d.ts +30 -0
  58. package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
  59. package/types/src/annex-upload/index.d.ts +123 -0
  60. package/types/src/annex-upload/mimeType.d.ts +2 -0
  61. package/types/src/api/server.d.ts +6 -0
  62. package/types/src/api/tool.d.ts +6 -0
  63. package/types/src/api/types.d.ts +17 -0
  64. package/types/src/components.d.ts +10 -0
  65. package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
  66. package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +33 -0
  67. package/types/src/comprehensive-search/index.d.ts +36 -0
  68. package/types/src/copy/copy.d.ts +12 -0
  69. package/types/src/copy/copy.vue.d.ts +21 -0
  70. package/types/src/copy/index.d.ts +32 -0
  71. package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
  72. package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
  73. package/types/src/country-platform-shop-condition/index.d.ts +16 -0
  74. package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
  75. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +38 -0
  76. package/types/src/drop-down-condition/index.d.ts +40 -0
  77. package/types/src/image-upload/image-upload.d.ts +26 -0
  78. package/types/src/image-upload/image-upload.vue.d.ts +43 -0
  79. package/types/src/image-upload/index.d.ts +94 -0
  80. package/types/src/index.d.ts +7 -0
  81. package/types/src/input/index.d.ts +16 -0
  82. package/types/src/input/input.d.ts +18 -0
  83. package/types/src/input/input.vue.d.ts +14 -0
  84. package/types/src/installs.d.ts +535 -0
  85. package/types/src/left-condition/index.d.ts +69 -0
  86. package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
  87. package/types/src/left-condition/left-condition.d.ts +5 -0
  88. package/types/src/left-condition/left-condition.vue.d.ts +68 -0
  89. package/types/src/left-condition-enum/index.d.ts +153 -0
  90. package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
  91. package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +151 -0
  92. package/types/src/operation-log/index.d.ts +9 -0
  93. package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
  94. package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
  95. package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
  96. package/types/src/operation-log/operation-log.d.ts +11 -0
  97. package/types/src/operation-log/operation-log.vue.d.ts +6 -0
  98. package/types/src/static/CommonObject.d.ts +18 -0
  99. package/types/src/static/CommonVariables.d.ts +4 -0
  100. package/types/src/utils/config.d.ts +8 -0
  101. package/types/src/utils/const.d.ts +19 -0
  102. package/types/src/utils/functions.d.ts +1 -0
  103. package/types/src/utils/install.d.ts +8 -0
  104. package/types/src/utils/storage.d.ts +18 -0
  105. package/types/src/utils/style.d.ts +19 -0
  106. package/types/src/utils/to-kebab-case.d.ts +1 -0
  107. package/types/src/utils/translate.d.ts +5 -0
  108. package/types/src/utils/typescript.d.ts +5 -0
  109. package/es/packages/components/api/remarkApi.js +0 -15
  110. package/es/packages/components/api/requestRemark.js +0 -47
  111. package/lib/_virtual/_commonjsHelpers.js +0 -1
  112. package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
  113. package/lib/_virtual/dayjs.min.js +0 -1
  114. package/lib/_virtual/lodash.js +0 -1
  115. package/lib/annex-upload/annex-upload.vue.js +0 -1
  116. package/lib/annex-upload/annex-upload.vue2.js +0 -1
  117. package/lib/annex-upload/index.js +0 -1
  118. package/lib/annex-upload/mimeType.js +0 -1
  119. package/lib/comprehensive-search/comprehensive-search.vue.js +0 -1
  120. package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
  121. package/lib/comprehensive-search/index.js +0 -1
  122. package/lib/copy/copy.vue.js +0 -1
  123. package/lib/copy/copy.vue2.js +0 -1
  124. package/lib/copy/index.js +0 -1
  125. package/lib/image-upload/image-upload.vue.js +0 -1
  126. package/lib/image-upload/image-upload.vue2.js +0 -1
  127. package/lib/image-upload/index.js +0 -1
  128. package/lib/index.js +0 -1
  129. package/lib/input/index.js +0 -1
  130. package/lib/input/input.vue.js +0 -1
  131. package/lib/input/input.vue2.js +0 -1
  132. package/lib/installs.js +0 -1
  133. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +0 -3
  134. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +0 -1
  135. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +0 -1
  136. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +0 -1
  137. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +0 -1
  138. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +0 -1
  139. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +0 -1
  140. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +0 -2
  141. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +0 -1
  142. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +0 -2
  143. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +0 -1
  144. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +0 -1
  145. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +0 -1
  146. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +0 -1
  147. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +0 -1
  148. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +0 -1
  149. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +0 -1
  150. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +0 -1
  151. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +0 -1
  152. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -1
  153. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -1
  154. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +0 -1
  155. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +0 -1
  156. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +0 -1
  157. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +0 -1
  158. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +0 -1
  159. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +0 -1
  160. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
  161. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +0 -1
  162. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -1
  163. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +0 -1
  164. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +0 -2
  165. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +0 -1
  166. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +0 -1
  167. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +0 -1
  168. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +0 -1
  169. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +0 -1
  170. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +0 -1
  171. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +0 -1
  172. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -1
  173. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +0 -1
  174. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +0 -1
  175. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -1
  176. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -1
  177. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -1
  178. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +0 -1
  179. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +0 -1
  180. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +0 -1
  181. package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +0 -1
  182. package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -1
  183. 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
  184. package/lib/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +0 -27
  185. package/lib/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +0 -1
  186. package/lib/operation-log/index.js +0 -1
  187. package/lib/operation-log/operation-log-content.vue.js +0 -1
  188. package/lib/operation-log/operation-log-content.vue2.js +0 -1
  189. package/lib/operation-log/operation-log-dialog.vue.js +0 -1
  190. package/lib/operation-log/operation-log-dialog.vue2.js +0 -1
  191. package/lib/operation-log/operation-log-form.vue.js +0 -1
  192. package/lib/operation-log/operation-log-form.vue2.js +0 -1
  193. package/lib/operation-log/operation-log.vue.js +0 -1
  194. package/lib/operation-log/operation-log.vue2.js +0 -1
  195. package/lib/packages/components/api/log-server.js +0 -1
  196. package/lib/packages/components/api/remarkApi.js +0 -1
  197. package/lib/packages/components/api/requestRemark.js +0 -1
  198. package/lib/packages/components/api/requestTools.js +0 -1
  199. package/lib/packages/components/assets/images/errorimg.png.js +0 -1
  200. package/lib/packages/components/assets/images/excel.png.js +0 -1
  201. package/lib/packages/components/assets/images/file-word.png.js +0 -1
  202. package/lib/packages/components/assets/images/pdf.png.js +0 -1
  203. package/lib/packages/components/assets/images/ppt.png.js +0 -1
  204. package/lib/packages/components/assets/images/vue.svg.js +0 -1
  205. package/lib/packages/components/hooks/useClipboard.js +0 -1
  206. package/lib/packages/components/hooks/useImg.js +0 -1
  207. package/lib/packages/components/hooks/useImgPath.js +0 -1
  208. package/lib/packages/components/hooks/useImport.js +0 -1
  209. package/lib/packages/components/hooks/useUpload.js +0 -1
  210. package/lib/utils/install.js +0 -1
  211. package/lib/utils/storage.js +0 -1
  212. package/lib/utils/translate.js +0 -1
  213. /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
@@ -0,0 +1,68 @@
1
+ import { Option } from '../static/CommonObject';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function clickAllSelected(): void;
4
+ declare const _default: DefineComponent<{
5
+ multiSelectList?: Array<any>;
6
+ selectList: Array<Option>;
7
+ countList?: Array<any>;
8
+ totalCount?: number;
9
+ hasNum?: boolean;
10
+ displayRangeInput?: boolean;
11
+ rangeLabel?: string;
12
+ rangeStartKey?: string;
13
+ rangeEndKey?: string;
14
+ rangeDelimiter?: string;
15
+ allIsCheckbox?: boolean;
16
+ allIsEmpty?: boolean;
17
+ translateUserId?: boolean;
18
+ staticSearch?: boolean;
19
+ label?: string;
20
+ noNeedRefreshNumFilterName?: string;
21
+ filterKey: string;
22
+ defaultValues?: Array<string | number | boolean>;
23
+ }, {
24
+ clickAllSelected: typeof clickAllSelected;
25
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
26
+ filterChange: (...args: any[]) => void;
27
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
28
+ }, string, PublicProps, Readonly<{
29
+ multiSelectList?: Array<any>;
30
+ selectList: Array<Option>;
31
+ countList?: Array<any>;
32
+ totalCount?: number;
33
+ hasNum?: boolean;
34
+ displayRangeInput?: boolean;
35
+ rangeLabel?: string;
36
+ rangeStartKey?: string;
37
+ rangeEndKey?: string;
38
+ rangeDelimiter?: string;
39
+ allIsCheckbox?: boolean;
40
+ allIsEmpty?: boolean;
41
+ translateUserId?: boolean;
42
+ staticSearch?: boolean;
43
+ label?: string;
44
+ noNeedRefreshNumFilterName?: string;
45
+ filterKey: string;
46
+ defaultValues?: Array<string | number | boolean>;
47
+ }> & Readonly<{
48
+ onFilterChange?: (...args: any[]) => any;
49
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
50
+ }>, {
51
+ label: string;
52
+ multiSelectList: Array<any>;
53
+ countList: Array<any>;
54
+ hasNum: boolean;
55
+ selectList: Array<Option>;
56
+ totalCount: number;
57
+ displayRangeInput: boolean;
58
+ rangeLabel: string;
59
+ rangeStartKey: string;
60
+ rangeEndKey: string;
61
+ rangeDelimiter: string;
62
+ allIsEmpty: boolean;
63
+ staticSearch: boolean;
64
+ noNeedRefreshNumFilterName: string;
65
+ filterKey: string;
66
+ defaultValues: Array<string | number | boolean>;
67
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
68
+ export default _default;
@@ -0,0 +1,153 @@
1
+ import { SFCWithInstall } from '../utils/typescript';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { Option } from '../static/CommonObject';
4
+ export declare const YaheeLeftConditionEnum: SFCWithInstall<DefineComponent<ExtractPropTypes<{
5
+ selectList: {
6
+ type: {
7
+ (arrayLength: number): Option[];
8
+ (...items: Option[]): Option[];
9
+ new (arrayLength: number): Option[];
10
+ new (...items: Option[]): Option[];
11
+ isArray(arg: any): arg is any[];
12
+ readonly prototype: any[];
13
+ from<T>(arrayLike: ArrayLike<T>): T[];
14
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
15
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
16
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
17
+ of<T>(...items: T[]): T[];
18
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
19
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
20
+ readonly [Symbol.species]: ArrayConstructor;
21
+ };
22
+ default: () => Option[];
23
+ };
24
+ countList: {
25
+ type: {
26
+ (arrayLength: number): any[];
27
+ (...items: any[]): any[];
28
+ new (arrayLength: number): any[];
29
+ new (...items: any[]): any[];
30
+ isArray(arg: any): arg is any[];
31
+ readonly prototype: any[];
32
+ from<T>(arrayLike: ArrayLike<T>): T[];
33
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
34
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
35
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
36
+ of<T>(...items: T[]): T[];
37
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
38
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
39
+ readonly [Symbol.species]: ArrayConstructor;
40
+ };
41
+ required: false;
42
+ };
43
+ enumEntity: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ filterKey: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ totalCount: {
52
+ type: NumberConstructor;
53
+ required: false;
54
+ };
55
+ noNeedRefreshNumFilterName: {
56
+ type: StringConstructor;
57
+ required: false;
58
+ };
59
+ allIsCheckbox: {
60
+ type: BooleanConstructor;
61
+ required: false;
62
+ };
63
+ allIsEmpty: {
64
+ type: BooleanConstructor;
65
+ required: false;
66
+ };
67
+ translateUserId: {
68
+ type: BooleanConstructor;
69
+ required: false;
70
+ };
71
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
72
+ filterChange: (...args: any[]) => void;
73
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
74
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
75
+ selectList: {
76
+ type: {
77
+ (arrayLength: number): Option[];
78
+ (...items: Option[]): Option[];
79
+ new (arrayLength: number): Option[];
80
+ new (...items: Option[]): Option[];
81
+ isArray(arg: any): arg is any[];
82
+ readonly prototype: any[];
83
+ from<T>(arrayLike: ArrayLike<T>): T[];
84
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
85
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
86
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
87
+ of<T>(...items: T[]): T[];
88
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
89
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
90
+ readonly [Symbol.species]: ArrayConstructor;
91
+ };
92
+ default: () => Option[];
93
+ };
94
+ countList: {
95
+ type: {
96
+ (arrayLength: number): any[];
97
+ (...items: any[]): any[];
98
+ new (arrayLength: number): any[];
99
+ new (...items: any[]): any[];
100
+ isArray(arg: any): arg is any[];
101
+ readonly prototype: any[];
102
+ from<T>(arrayLike: ArrayLike<T>): T[];
103
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
104
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
105
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
106
+ of<T>(...items: T[]): T[];
107
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
108
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
109
+ readonly [Symbol.species]: ArrayConstructor;
110
+ };
111
+ required: false;
112
+ };
113
+ enumEntity: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ filterKey: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ totalCount: {
122
+ type: NumberConstructor;
123
+ required: false;
124
+ };
125
+ noNeedRefreshNumFilterName: {
126
+ type: StringConstructor;
127
+ required: false;
128
+ };
129
+ allIsCheckbox: {
130
+ type: BooleanConstructor;
131
+ required: false;
132
+ };
133
+ allIsEmpty: {
134
+ type: BooleanConstructor;
135
+ required: false;
136
+ };
137
+ translateUserId: {
138
+ type: BooleanConstructor;
139
+ required: false;
140
+ };
141
+ }>> & Readonly<{
142
+ onFilterChange?: (...args: any[]) => any;
143
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
144
+ }>, {
145
+ allIsCheckbox: boolean;
146
+ translateUserId: boolean;
147
+ selectList: Option[];
148
+ allIsEmpty: boolean;
149
+ filterKey: string;
150
+ enumEntity: string;
151
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
152
+ export default YaheeLeftConditionEnum;
153
+ export * from './left-condition-enum.vue';
@@ -0,0 +1,5 @@
1
+ export type SelectStatus = {
2
+ label: string;
3
+ value: any;
4
+ selected: boolean;
5
+ };
@@ -0,0 +1,151 @@
1
+ import { Option } from '../static/CommonObject';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<ExtractPropTypes<{
4
+ selectList: {
5
+ type: {
6
+ (arrayLength: number): Option[];
7
+ (...items: Option[]): Option[];
8
+ new (arrayLength: number): Option[];
9
+ new (...items: Option[]): Option[];
10
+ isArray(arg: any): arg is any[];
11
+ readonly prototype: any[];
12
+ from<T>(arrayLike: ArrayLike<T>): T[];
13
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
14
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
15
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
16
+ of<T>(...items: T[]): T[];
17
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
18
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
19
+ readonly [Symbol.species]: ArrayConstructor;
20
+ };
21
+ default: () => Option[];
22
+ };
23
+ countList: {
24
+ type: {
25
+ (arrayLength: number): any[];
26
+ (...items: any[]): any[];
27
+ new (arrayLength: number): any[];
28
+ new (...items: any[]): any[];
29
+ isArray(arg: any): arg is any[];
30
+ readonly prototype: any[];
31
+ from<T>(arrayLike: ArrayLike<T>): T[];
32
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
33
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
34
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
35
+ of<T>(...items: T[]): T[];
36
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
37
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
38
+ readonly [Symbol.species]: ArrayConstructor;
39
+ };
40
+ required: false;
41
+ };
42
+ enumEntity: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ filterKey: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ totalCount: {
51
+ type: NumberConstructor;
52
+ required: false;
53
+ };
54
+ noNeedRefreshNumFilterName: {
55
+ type: StringConstructor;
56
+ required: false;
57
+ };
58
+ allIsCheckbox: {
59
+ type: BooleanConstructor;
60
+ required: false;
61
+ };
62
+ allIsEmpty: {
63
+ type: BooleanConstructor;
64
+ required: false;
65
+ };
66
+ translateUserId: {
67
+ type: BooleanConstructor;
68
+ required: false;
69
+ };
70
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
71
+ filterChange: (...args: any[]) => void;
72
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
73
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
74
+ selectList: {
75
+ type: {
76
+ (arrayLength: number): Option[];
77
+ (...items: Option[]): Option[];
78
+ new (arrayLength: number): Option[];
79
+ new (...items: Option[]): Option[];
80
+ isArray(arg: any): arg is any[];
81
+ readonly prototype: any[];
82
+ from<T>(arrayLike: ArrayLike<T>): T[];
83
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
84
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
85
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
86
+ of<T>(...items: T[]): T[];
87
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
88
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
89
+ readonly [Symbol.species]: ArrayConstructor;
90
+ };
91
+ default: () => Option[];
92
+ };
93
+ countList: {
94
+ type: {
95
+ (arrayLength: number): any[];
96
+ (...items: any[]): any[];
97
+ new (arrayLength: number): any[];
98
+ new (...items: any[]): any[];
99
+ isArray(arg: any): arg is any[];
100
+ readonly prototype: any[];
101
+ from<T>(arrayLike: ArrayLike<T>): T[];
102
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
103
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
104
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
105
+ of<T>(...items: T[]): T[];
106
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
107
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
108
+ readonly [Symbol.species]: ArrayConstructor;
109
+ };
110
+ required: false;
111
+ };
112
+ enumEntity: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ filterKey: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ totalCount: {
121
+ type: NumberConstructor;
122
+ required: false;
123
+ };
124
+ noNeedRefreshNumFilterName: {
125
+ type: StringConstructor;
126
+ required: false;
127
+ };
128
+ allIsCheckbox: {
129
+ type: BooleanConstructor;
130
+ required: false;
131
+ };
132
+ allIsEmpty: {
133
+ type: BooleanConstructor;
134
+ required: false;
135
+ };
136
+ translateUserId: {
137
+ type: BooleanConstructor;
138
+ required: false;
139
+ };
140
+ }>> & Readonly<{
141
+ onFilterChange?: (...args: any[]) => any;
142
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
143
+ }>, {
144
+ allIsCheckbox: boolean;
145
+ translateUserId: boolean;
146
+ selectList: Option[];
147
+ allIsEmpty: boolean;
148
+ filterKey: string;
149
+ enumEntity: string;
150
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
151
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { SFCWithInstall } from '../utils/typescript';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { OperationLogProps } from './operation-log';
4
+ export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< OperationLogProps> & Readonly<{}>, {
5
+ projectId: string;
6
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
7
+ export default YaheeOperationLog;
8
+ export * from './operation-log.vue';
9
+ export * from './operation-log';
@@ -0,0 +1,24 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ info: {
4
+ type: ObjectConstructor;
5
+ default: () => void;
6
+ };
7
+ id: {
8
+ type: NumberConstructor;
9
+ default: number;
10
+ };
11
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
12
+ info: {
13
+ type: ObjectConstructor;
14
+ default: () => void;
15
+ };
16
+ id: {
17
+ type: NumberConstructor;
18
+ default: number;
19
+ };
20
+ }>> & Readonly<{}>, {
21
+ id: number;
22
+ info: Record<string, any>;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
24
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ modelValue: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
7
+ docInfo: {
8
+ type: PropType<{
9
+ fileUrl: string;
10
+ fileName: string;
11
+ }>;
12
+ default: () => void;
13
+ };
14
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
+ "update:modelValue": (...args: any[]) => void;
16
+ confirmUpload: (...args: any[]) => void;
17
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
18
+ modelValue: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ docInfo: {
23
+ type: PropType<{
24
+ fileUrl: string;
25
+ fileName: string;
26
+ }>;
27
+ default: () => void;
28
+ };
29
+ }>> & Readonly<{
30
+ "onUpdate:modelValue"?: (...args: any[]) => any;
31
+ onConfirmUpload?: (...args: any[]) => any;
32
+ }>, {
33
+ modelValue: boolean;
34
+ docInfo: {
35
+ fileUrl: string;
36
+ fileName: string;
37
+ };
38
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
39
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ projectId: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
+ filterChange: (...args: any[]) => void;
9
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
10
+ projectId: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }>> & Readonly<{
15
+ onFilterChange?: (...args: any[]) => any;
16
+ }>, {
17
+ projectId: string;
18
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
19
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { default as OperationLog } from './operation-log.vue';
2
+ /**
3
+ * 定义props类型
4
+ */
5
+ export interface OperationLogProps {
6
+ projectId: string;
7
+ }
8
+ /**
9
+ * 定义instance类型
10
+ */
11
+ export type OperationLogInstance = InstanceType<typeof OperationLog>;
@@ -0,0 +1,6 @@
1
+ import { OperationLogProps } from './operation-log';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OperationLogProps> & Readonly<{}>, {
4
+ projectId: string;
5
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,18 @@
1
+ export interface Option {
2
+ label: string;
3
+ value: string;
4
+ }
5
+ export interface RangeDate {
6
+ BeginTime: string;
7
+ EndTime: string;
8
+ }
9
+ export declare enum DateTimeType {
10
+ Month = "M",
11
+ Day = "d",
12
+ Hour = "h",
13
+ Minute = "m"
14
+ }
15
+ export declare enum i18nType {
16
+ EN = "en",
17
+ CN = "zh-CN"
18
+ }
@@ -0,0 +1,4 @@
1
+ export declare const defaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss";
2
+ export declare const defaultDatePickerTimeFormat = "YYYY-MM-DD HH:mm:ss";
3
+ export declare const datePickerHourFormat = "YYYY-MM-DD HH:mm";
4
+ export declare const defaultDateFormat = "yyyy-MM-dd";
@@ -0,0 +1,8 @@
1
+ interface globalConfigType {
2
+ apiEnv: string;
3
+ }
4
+ export declare function config(): {
5
+ setConfig: (userConfig: any) => void;
6
+ globalConfig: globalConfigType;
7
+ };
8
+ export {};
@@ -0,0 +1,19 @@
1
+ /**
2
+ * TODO:添加权限文档地址
3
+ */
4
+ export declare enum PERMISSIONS_CODE {
5
+ SaveAutoTransfer = "Yahee.ERP.TOOL.TransferManage.SaveAutoTransfer",// 产品开发-分配认证负责人权限
6
+ SaveAutoTransferFlag = "Yahee.ERP.TOOL.TransferManage.SaveAutoTransferFlag"
7
+ }
8
+ export declare const apiUrl: {
9
+ development: {
10
+ VITE_APP_API_BASEURL: string;
11
+ VITE_APP_API_TOOLS: string;
12
+ VITE_APP_API_REMARK: string;
13
+ };
14
+ production: {
15
+ VITE_APP_API_BASEURL: string;
16
+ VITE_APP_API_TOOLS: string;
17
+ VITE_APP_API_REMARK: string;
18
+ };
19
+ };
@@ -0,0 +1 @@
1
+ export { NOOP, toRawType } from '@vue/shared';
@@ -0,0 +1,8 @@
1
+ import { App, Directive, Plugin } from 'vue';
2
+ import { SFCInstallWithContext, SFCWithInstall } from './typescript';
3
+ export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
4
+ export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
5
+ export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
6
+ export declare const makeInstaller: (components?: Plugin[]) => {
7
+ install: (app: App) => void;
8
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * 封装操作localstorage本地存储的方法
3
+ */
4
+ export declare const storage: {
5
+ set(key: string, value: any): void;
6
+ get<T>(key: string): T;
7
+ remove(key: string): void;
8
+ setWithExpireTime(key: string, value: any, expireTime: number): void;
9
+ getWithExpireTime<T>(key: string): T;
10
+ };
11
+ /**
12
+ * 封装操作sessionStorage本地存储的方法
13
+ */
14
+ export declare const sessionStorageProxy: {
15
+ set(key: string, value: any): void;
16
+ get<T>(key: string): T;
17
+ remove(key: string): void;
18
+ };
@@ -0,0 +1,19 @@
1
+ declare function getBackgroundColor(value: boolean): {
2
+ backgroundColor: string;
3
+ color: string;
4
+ borderColor: string;
5
+ } | {
6
+ backgroundColor?: undefined;
7
+ color?: undefined;
8
+ borderColor?: undefined;
9
+ };
10
+ declare function getPriorityColor(priority: string): {
11
+ backgroundColor: string;
12
+ color: string;
13
+ borderColor: string;
14
+ };
15
+ export declare const stylesUtils: {
16
+ getBackgroundColor: typeof getBackgroundColor;
17
+ getPriorityColor: typeof getPriorityColor;
18
+ };
19
+ export {};
@@ -0,0 +1 @@
1
+ export declare function toKebabCase(str: string): string;
@@ -0,0 +1,5 @@
1
+ export declare const M2: (str: string) => string;
2
+ export declare const getAllTranslate: () => Promise<void>;
3
+ export declare function translateEmployeeName(employeeId: string, name?: string): string;
4
+ export declare const initTranslate: () => Promise<void>;
5
+ export declare const isNeedTranslate: () => boolean;
@@ -0,0 +1,5 @@
1
+ import { AppContext, Plugin } from 'vue';
2
+ export type SFCWithInstall<T> = T & Plugin;
3
+ export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
4
+ _context: AppContext | null;
5
+ };
@@ -1,15 +0,0 @@
1
- import { post as t } from "./requestRemark.js";
2
- class n {
3
- static async getGlobalNotesUsers(o) {
4
- return t("Common/GetGlobalNotesUsers", o);
5
- }
6
- static async findGlobalNotes(o) {
7
- return t("Common/FindGlobalNotes", o);
8
- }
9
- static async insertglobalnotes(o) {
10
- return t("Common/Insertglobalnotes", o);
11
- }
12
- }
13
- export {
14
- n as RemarkApi
15
- };