yahee-components 0.0.18 → 0.0.19

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 (212) hide show
  1. package/es/_virtual/dayjs.min.js +4 -0
  2. package/es/annex-upload/annex-upload.vue.js +158 -0
  3. package/es/annex-upload/annex-upload.vue2.js +4 -0
  4. package/es/annex-upload/index.js +7 -0
  5. package/es/annex-upload/mimeType.js +822 -0
  6. package/es/annex-upload/style/index.css +7 -0
  7. package/es/api/server.js +29 -0
  8. package/es/api/tool.js +68 -0
  9. package/es/comprehensive-search/comprehensive-search.vue.js +165 -122
  10. package/es/copy/copy.vue.js +1 -1
  11. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
  12. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
  13. package/es/country-platform-shop-condition/index.js +7 -0
  14. package/es/country-platform-shop-condition/style/index.css +48 -0
  15. package/es/drop-down-condition/drop-down-condition.vue.js +216 -0
  16. package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
  17. package/es/drop-down-condition/index.js +7 -0
  18. package/es/drop-down-condition/style/index.css +45 -0
  19. package/es/image-upload/image-upload.vue.js +177 -0
  20. package/es/image-upload/image-upload.vue2.js +4 -0
  21. package/es/image-upload/index.js +7 -0
  22. package/es/image-upload/style/index.css +33 -0
  23. package/es/index.js +26 -7
  24. package/es/installs.js +22 -4
  25. package/es/left-condition/index.js +7 -0
  26. package/es/left-condition/left-condition-sub.vue.js +95 -0
  27. package/es/left-condition/left-condition-sub.vue2.js +4 -0
  28. package/es/left-condition/left-condition.vue.js +216 -0
  29. package/es/left-condition/left-condition.vue2.js +4 -0
  30. package/es/left-condition/style/index.css +10 -0
  31. package/es/left-condition-enum/index.js +7 -0
  32. package/es/left-condition-enum/left-condition-enum.vue.js +80 -0
  33. package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
  34. package/es/left-condition-enum/style/index.css +10 -0
  35. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
  36. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +53 -0
  37. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +141 -0
  38. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +71 -0
  39. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +46 -0
  40. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +77 -0
  41. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  42. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +6 -0
  43. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +133 -0
  44. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +54 -0
  45. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +173 -0
  46. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +58 -0
  47. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +8 -0
  48. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  49. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +70 -0
  50. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +14 -0
  51. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +13 -0
  52. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +89 -0
  53. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +8 -0
  54. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +4 -0
  55. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  56. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
  57. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +8 -0
  58. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +19 -0
  59. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  60. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +30 -0
  61. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +32 -0
  62. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +31 -0
  63. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  64. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  65. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
  66. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +4 -0
  67. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  68. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  69. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +35 -0
  70. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +33 -0
  71. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +19 -0
  72. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +8 -0
  73. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +15 -0
  74. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +83 -0
  75. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  76. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +63 -0
  77. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +51 -0
  78. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  79. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  80. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  81. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +15 -0
  82. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +9 -0
  83. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +9 -0
  84. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +233 -0
  85. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +282 -0
  86. package/es/node_modules/{lodash → .pnpm/lodash@4.17.21/node_modules/lodash}/lodash.js +2 -2
  87. package/es/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +120 -0
  88. package/es/operation-log/index.js +7 -0
  89. package/es/operation-log/operation-log-content.vue.js +100 -0
  90. package/es/operation-log/operation-log-content.vue2.js +4 -0
  91. package/es/operation-log/operation-log-dialog.vue.js +70 -0
  92. package/es/operation-log/operation-log-dialog.vue2.js +4 -0
  93. package/es/operation-log/operation-log-form.vue.js +181 -0
  94. package/es/operation-log/operation-log-form.vue2.js +4 -0
  95. package/es/operation-log/operation-log.vue.js +232 -0
  96. package/es/operation-log/operation-log.vue2.js +4 -0
  97. package/es/operation-log/style/index.css +220 -0
  98. package/es/packages/components/api/log/index.js +15 -0
  99. package/es/packages/components/api/log-server.js +50 -0
  100. package/es/packages/components/api/server.js +32 -0
  101. package/es/packages/components/api/tool.js +56 -0
  102. package/es/packages/components/api/upload-server.js +65 -0
  103. package/es/packages/components/assets/images/errorimg.png.js +4 -0
  104. package/es/packages/components/assets/images/excel.png.js +4 -0
  105. package/es/packages/components/assets/images/file-word.png.js +4 -0
  106. package/es/packages/components/assets/images/pdf.png.js +4 -0
  107. package/es/packages/components/assets/images/ppt.png.js +4 -0
  108. package/es/packages/components/assets/images/vue.svg.js +4 -0
  109. package/es/packages/components/hooks/useClipboard.js +30 -0
  110. package/es/packages/components/hooks/useImg.js +15 -0
  111. package/es/packages/components/hooks/useImgPath.js +14 -0
  112. package/es/packages/components/hooks/useImport.js +33 -0
  113. package/es/packages/components/hooks/useUpload.js +24 -0
  114. package/es/static/CommonObject.js +4 -0
  115. package/es/style.css +946 -0
  116. package/es/styles/custom.css +83 -0
  117. package/es/styles/globals.css +697 -0
  118. package/es/styles/index.css +787 -0
  119. package/es/styles/variables.css +32 -0
  120. package/es/utils/config.js +19 -0
  121. package/es/utils/const.js +19 -0
  122. package/es/utils/storage.js +52 -0
  123. package/es/utils/style.js +28 -0
  124. package/es/utils/translate.js +57 -0
  125. package/lib/annex-upload/style/index.css +7 -0
  126. package/lib/country-platform-shop-condition/style/index.css +48 -0
  127. package/lib/drop-down-condition/style/index.css +45 -0
  128. package/lib/image-upload/style/index.css +33 -0
  129. package/lib/left-condition/style/index.css +10 -0
  130. package/lib/left-condition-enum/style/index.css +10 -0
  131. package/lib/operation-log/style/index.css +220 -0
  132. package/lib/style.css +946 -0
  133. package/lib/styles/custom.css +83 -0
  134. package/lib/styles/globals.css +697 -0
  135. package/lib/styles/index.css +787 -0
  136. package/lib/styles/variables.css +32 -0
  137. package/package.json +10 -4
  138. package/types/hooks/useClipboard.d.ts +7 -0
  139. package/types/hooks/useImg.d.ts +10 -0
  140. package/types/hooks/useImgPath.d.ts +5 -0
  141. package/types/hooks/useImport.d.ts +11 -0
  142. package/types/hooks/useUpload.d.ts +12 -0
  143. package/types/index.d.ts +6 -204
  144. package/types/src/annex-upload/annex-upload.d.ts +30 -0
  145. package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
  146. package/types/src/annex-upload/index.d.ts +123 -0
  147. package/types/src/annex-upload/mimeType.d.ts +2 -0
  148. package/types/src/api/server.d.ts +6 -0
  149. package/types/src/api/tool.d.ts +6 -0
  150. package/types/src/api/types.d.ts +17 -0
  151. package/types/src/components.d.ts +10 -0
  152. package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
  153. package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +52 -0
  154. package/types/src/copy/copy.d.ts +12 -0
  155. package/types/src/copy/copy.vue.d.ts +21 -0
  156. package/types/src/copy/index.d.ts +32 -0
  157. package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
  158. package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
  159. package/types/src/country-platform-shop-condition/index.d.ts +16 -0
  160. package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
  161. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +40 -0
  162. package/types/src/drop-down-condition/index.d.ts +42 -0
  163. package/types/src/image-upload/image-upload.d.ts +26 -0
  164. package/types/src/image-upload/image-upload.vue.d.ts +43 -0
  165. package/types/src/image-upload/index.d.ts +94 -0
  166. package/types/src/index.d.ts +7 -0
  167. package/types/src/input/index.d.ts +16 -0
  168. package/types/src/input/input.d.ts +18 -0
  169. package/types/src/input/input.vue.d.ts +14 -0
  170. package/types/src/left-condition/index.d.ts +69 -0
  171. package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
  172. package/types/src/left-condition/left-condition.d.ts +5 -0
  173. package/types/src/left-condition/left-condition.vue.d.ts +68 -0
  174. package/types/src/left-condition-enum/index.d.ts +162 -0
  175. package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
  176. package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +160 -0
  177. package/types/src/operation-log/index.d.ts +9 -0
  178. package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
  179. package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
  180. package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
  181. package/types/src/operation-log/operation-log.d.ts +11 -0
  182. package/types/src/operation-log/operation-log.vue.d.ts +6 -0
  183. package/types/src/static/CommonObject.d.ts +18 -0
  184. package/types/src/static/CommonVariables.d.ts +4 -0
  185. package/types/src/utils/config.d.ts +8 -0
  186. package/types/src/utils/const.d.ts +19 -0
  187. package/types/src/utils/functions.d.ts +1 -0
  188. package/types/src/utils/install.d.ts +8 -0
  189. package/types/src/utils/storage.d.ts +18 -0
  190. package/types/src/utils/style.d.ts +19 -0
  191. package/types/src/utils/to-kebab-case.d.ts +1 -0
  192. package/types/src/utils/translate.d.ts +5 -0
  193. package/types/src/utils/typescript.d.ts +5 -0
  194. package/es/hooks/useClipboard.js +0 -28
  195. package/lib/_virtual/_commonjsHelpers.js +0 -1
  196. package/lib/_virtual/lodash.js +0 -1
  197. package/lib/comprehensive-search/comprehensive-search.vue.js +0 -1
  198. package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
  199. package/lib/comprehensive-search/index.js +0 -1
  200. package/lib/copy/copy.vue.js +0 -1
  201. package/lib/copy/copy.vue2.js +0 -1
  202. package/lib/copy/index.js +0 -1
  203. package/lib/hooks/useClipboard.js +0 -1
  204. package/lib/index.js +0 -1
  205. package/lib/input/index.js +0 -1
  206. package/lib/input/input.vue.js +0 -1
  207. package/lib/input/input.vue2.js +0 -1
  208. package/lib/installs.js +0 -1
  209. package/lib/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
  210. package/lib/node_modules/lodash/lodash.js +0 -27
  211. package/lib/utils/install.js +0 -1
  212. /package/es/node_modules/{element-plus → .pnpm/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
+ filterKey: string;
53
+ multiSelectList: Array<any>;
54
+ countList: Array<any>;
55
+ hasNum: boolean;
56
+ selectList: Array<Option>;
57
+ totalCount: number;
58
+ displayRangeInput: boolean;
59
+ rangeLabel: string;
60
+ rangeStartKey: string;
61
+ rangeEndKey: string;
62
+ rangeDelimiter: string;
63
+ allIsEmpty: boolean;
64
+ staticSearch: boolean;
65
+ noNeedRefreshNumFilterName: string;
66
+ defaultValues: Array<string | number | boolean>;
67
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
68
+ export default _default;
@@ -0,0 +1,162 @@
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
+ baseUrl: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ countList: {
29
+ type: {
30
+ (arrayLength: number): any[];
31
+ (...items: any[]): any[];
32
+ new (arrayLength: number): any[];
33
+ new (...items: any[]): any[];
34
+ isArray(arg: any): arg is any[];
35
+ readonly prototype: any[];
36
+ from<T>(arrayLike: ArrayLike<T>): T[];
37
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
38
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
39
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
40
+ of<T>(...items: T[]): T[];
41
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
42
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
43
+ readonly [Symbol.species]: ArrayConstructor;
44
+ };
45
+ required: false;
46
+ };
47
+ enumEntity: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ filterKey: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ totalCount: {
56
+ type: NumberConstructor;
57
+ required: false;
58
+ };
59
+ noNeedRefreshNumFilterName: {
60
+ type: StringConstructor;
61
+ required: false;
62
+ };
63
+ allIsCheckbox: {
64
+ type: BooleanConstructor;
65
+ required: false;
66
+ };
67
+ allIsEmpty: {
68
+ type: BooleanConstructor;
69
+ required: false;
70
+ };
71
+ translateUserId: {
72
+ type: BooleanConstructor;
73
+ required: false;
74
+ };
75
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
76
+ filterChange: (...args: any[]) => void;
77
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
78
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
79
+ selectList: {
80
+ type: {
81
+ (arrayLength: number): Option[];
82
+ (...items: Option[]): Option[];
83
+ new (arrayLength: number): Option[];
84
+ new (...items: Option[]): Option[];
85
+ isArray(arg: any): arg is any[];
86
+ readonly prototype: any[];
87
+ from<T>(arrayLike: ArrayLike<T>): T[];
88
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
89
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
90
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
91
+ of<T>(...items: T[]): T[];
92
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
93
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
94
+ readonly [Symbol.species]: ArrayConstructor;
95
+ };
96
+ default: () => Option[];
97
+ };
98
+ baseUrl: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
102
+ countList: {
103
+ type: {
104
+ (arrayLength: number): any[];
105
+ (...items: any[]): any[];
106
+ new (arrayLength: number): any[];
107
+ new (...items: any[]): any[];
108
+ isArray(arg: any): arg is any[];
109
+ readonly prototype: any[];
110
+ from<T>(arrayLike: ArrayLike<T>): T[];
111
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
112
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
113
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
114
+ of<T>(...items: T[]): T[];
115
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
116
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
117
+ readonly [Symbol.species]: ArrayConstructor;
118
+ };
119
+ required: false;
120
+ };
121
+ enumEntity: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ filterKey: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ totalCount: {
130
+ type: NumberConstructor;
131
+ required: false;
132
+ };
133
+ noNeedRefreshNumFilterName: {
134
+ type: StringConstructor;
135
+ required: false;
136
+ };
137
+ allIsCheckbox: {
138
+ type: BooleanConstructor;
139
+ required: false;
140
+ };
141
+ allIsEmpty: {
142
+ type: BooleanConstructor;
143
+ required: false;
144
+ };
145
+ translateUserId: {
146
+ type: BooleanConstructor;
147
+ required: false;
148
+ };
149
+ }>> & Readonly<{
150
+ onFilterChange?: (...args: any[]) => any;
151
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
152
+ }>, {
153
+ filterKey: string;
154
+ allIsCheckbox: boolean;
155
+ translateUserId: boolean;
156
+ selectList: Option[];
157
+ allIsEmpty: boolean;
158
+ baseUrl: string;
159
+ enumEntity: string;
160
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
161
+ export default YaheeLeftConditionEnum;
162
+ 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,160 @@
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
+ baseUrl: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ countList: {
28
+ type: {
29
+ (arrayLength: number): any[];
30
+ (...items: any[]): any[];
31
+ new (arrayLength: number): any[];
32
+ new (...items: any[]): any[];
33
+ isArray(arg: any): arg is any[];
34
+ readonly prototype: any[];
35
+ from<T>(arrayLike: ArrayLike<T>): T[];
36
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
37
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
38
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
39
+ of<T>(...items: T[]): T[];
40
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
41
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
42
+ readonly [Symbol.species]: ArrayConstructor;
43
+ };
44
+ required: false;
45
+ };
46
+ enumEntity: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ filterKey: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ totalCount: {
55
+ type: NumberConstructor;
56
+ required: false;
57
+ };
58
+ noNeedRefreshNumFilterName: {
59
+ type: StringConstructor;
60
+ required: false;
61
+ };
62
+ allIsCheckbox: {
63
+ type: BooleanConstructor;
64
+ required: false;
65
+ };
66
+ allIsEmpty: {
67
+ type: BooleanConstructor;
68
+ required: false;
69
+ };
70
+ translateUserId: {
71
+ type: BooleanConstructor;
72
+ required: false;
73
+ };
74
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
75
+ filterChange: (...args: any[]) => void;
76
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
77
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
78
+ selectList: {
79
+ type: {
80
+ (arrayLength: number): Option[];
81
+ (...items: Option[]): Option[];
82
+ new (arrayLength: number): Option[];
83
+ new (...items: Option[]): Option[];
84
+ isArray(arg: any): arg is any[];
85
+ readonly prototype: any[];
86
+ from<T>(arrayLike: ArrayLike<T>): T[];
87
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
88
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
89
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
90
+ of<T>(...items: T[]): T[];
91
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
92
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
93
+ readonly [Symbol.species]: ArrayConstructor;
94
+ };
95
+ default: () => Option[];
96
+ };
97
+ baseUrl: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ countList: {
102
+ type: {
103
+ (arrayLength: number): any[];
104
+ (...items: any[]): any[];
105
+ new (arrayLength: number): any[];
106
+ new (...items: any[]): any[];
107
+ isArray(arg: any): arg is any[];
108
+ readonly prototype: any[];
109
+ from<T>(arrayLike: ArrayLike<T>): T[];
110
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
111
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
112
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
113
+ of<T>(...items: T[]): T[];
114
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
115
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
116
+ readonly [Symbol.species]: ArrayConstructor;
117
+ };
118
+ required: false;
119
+ };
120
+ enumEntity: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ filterKey: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ totalCount: {
129
+ type: NumberConstructor;
130
+ required: false;
131
+ };
132
+ noNeedRefreshNumFilterName: {
133
+ type: StringConstructor;
134
+ required: false;
135
+ };
136
+ allIsCheckbox: {
137
+ type: BooleanConstructor;
138
+ required: false;
139
+ };
140
+ allIsEmpty: {
141
+ type: BooleanConstructor;
142
+ required: false;
143
+ };
144
+ translateUserId: {
145
+ type: BooleanConstructor;
146
+ required: false;
147
+ };
148
+ }>> & Readonly<{
149
+ onFilterChange?: (...args: any[]) => any;
150
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
151
+ }>, {
152
+ filterKey: string;
153
+ allIsCheckbox: boolean;
154
+ translateUserId: boolean;
155
+ selectList: Option[];
156
+ allIsEmpty: boolean;
157
+ baseUrl: string;
158
+ enumEntity: string;
159
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
160
+ 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,28 +0,0 @@
1
- import { ref as s, unref as u } from "vue";
2
- function f(c = {}) {
3
- const n = s(!1), { navigator: t = window.navigator, source: r, copiedDuring: a = 1500 } = c, i = !!(t && "clipboard" in t);
4
- async function l(e = u(r)) {
5
- if (e != null) {
6
- if (i)
7
- await t.clipboard.writeText(e);
8
- else
9
- return;
10
- n.value = !0, setTimeout(() => {
11
- n.value = !1;
12
- }, a);
13
- }
14
- }
15
- function p(e = u(r)) {
16
- let d = e, o = document.createElement("input");
17
- o.value = d, document.body.appendChild(o), o.select(), document.execCommand("Copy"), o.remove();
18
- }
19
- return {
20
- isSupported: i,
21
- copied: n,
22
- copy: l,
23
- copyUrl: p
24
- };
25
- }
26
- export {
27
- f as useClipboard
28
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}exports.commonjsGlobal=o;exports.getDefaultExportFromCjs=l;