yahee-components 0.0.18 → 0.0.20

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,52 @@
1
+ import { SearchOptions } from './comprehensive-search';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface SearchDataOptions {
4
+ label: string;
5
+ key: string;
6
+ }
7
+ type FilterValue = string | number | boolean | string[] | number[];
8
+ interface SearchItem {
9
+ [key: string]: FilterValue;
10
+ }
11
+ declare const _default: DefineComponent<{
12
+ dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
13
+ pasteFormat?: () => void;
14
+ defaultSearch?: string;
15
+ options?: SearchOptions[];
16
+ placeholderText?: string;
17
+ showPatchSearch?: boolean;
18
+ showWithinFilterCheckbox?: boolean;
19
+ specialOptions?: SearchDataOptions[];
20
+ normalOptions?: string[];
21
+ showSelect?: boolean;
22
+ searchItem?: SearchItem;
23
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
24
+ filterChangeGrandson: (...args: any[]) => void;
25
+ }, string, PublicProps, Readonly<{
26
+ dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
27
+ pasteFormat?: () => void;
28
+ defaultSearch?: string;
29
+ options?: SearchOptions[];
30
+ placeholderText?: string;
31
+ showPatchSearch?: boolean;
32
+ showWithinFilterCheckbox?: boolean;
33
+ specialOptions?: SearchDataOptions[];
34
+ normalOptions?: string[];
35
+ showSelect?: boolean;
36
+ searchItem?: SearchItem;
37
+ }> & Readonly<{
38
+ onFilterChangeGrandson?: (...args: any[]) => any;
39
+ }>, {
40
+ dealSearch: (selectedSearchType: string, searchQuery: string) => void;
41
+ pasteFormat: () => void;
42
+ defaultSearch: string;
43
+ options: SearchOptions[];
44
+ placeholderText: string;
45
+ showPatchSearch: boolean;
46
+ showWithinFilterCheckbox: boolean;
47
+ specialOptions: SearchDataOptions[];
48
+ normalOptions: string[];
49
+ showSelect: boolean;
50
+ searchItem: SearchItem;
51
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
+ export default _default;
@@ -0,0 +1,12 @@
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>;
@@ -0,0 +1,21 @@
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
+ };
@@ -0,0 +1,32 @@
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';
@@ -0,0 +1,17 @@
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
+ }
@@ -0,0 +1,14 @@
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;
@@ -0,0 +1,16 @@
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';
@@ -0,0 +1,6 @@
1
+ export interface DropdownEntity {
2
+ text: string;
3
+ value: string | number;
4
+ subs?: [any];
5
+ isCheckbox?: boolean;
6
+ }
@@ -0,0 +1,40 @@
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;
@@ -0,0 +1,42 @@
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';
@@ -0,0 +1,26 @@
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>;
@@ -0,0 +1,43 @@
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
+ };
@@ -0,0 +1,94 @@
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';
@@ -0,0 +1,7 @@
1
+ import { App } from 'vue';
2
+ export * from './components';
3
+ declare const _default: {
4
+ install: (app: App) => void;
5
+ };
6
+ export default _default;
7
+ export declare function useGlobalConfig(userConfig: any): void;
@@ -0,0 +1,16 @@
1
+ import { SFCWithInstall } from '../utils/typescript';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { InputProps } from './input';
4
+ export declare const YaheeInput: SFCWithInstall<DefineComponent<InputProps, {
5
+ focus: () => void;
6
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ }, string, PublicProps, Readonly< InputProps> & Readonly<{
9
+ "onUpdate:modelValue"?: (value: string) => any;
10
+ }>, {
11
+ modelValue: string;
12
+ disabled: boolean;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
14
+ export default YaheeInput;
15
+ export * from './input.vue';
16
+ export * from './input';
@@ -0,0 +1,18 @@
1
+ import { default as Input } from './input.vue';
2
+ /**
3
+ * 定义props类型
4
+ */
5
+ export interface InputProps {
6
+ modelValue: string;
7
+ disabled?: boolean;
8
+ }
9
+ /**
10
+ * 定义emit类型
11
+ */
12
+ export type InputEmits = {
13
+ 'update:modelValue': [value: string];
14
+ };
15
+ /**
16
+ * 定义instance类型
17
+ */
18
+ export type InputInstance = InstanceType<typeof Input>;
@@ -0,0 +1,14 @@
1
+ import { InputProps } from './input';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function focus(): void;
4
+ declare const _default: DefineComponent<InputProps, {
5
+ focus: typeof focus;
6
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ }, string, PublicProps, Readonly<InputProps> & Readonly<{
9
+ "onUpdate:modelValue"?: (value: string) => any;
10
+ }>, {
11
+ modelValue: string;
12
+ disabled: boolean;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,69 @@
1
+ import { SFCWithInstall } from '../utils/typescript';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { Option } from '../static/CommonObject';
4
+ export declare const YaheeLeftCondition: SFCWithInstall<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: () => void;
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>> & Record<string, any>;
68
+ export default YaheeLeftCondition;
69
+ export * from './left-condition.vue';
@@ -0,0 +1,47 @@
1
+ import { Option } from '../static/CommonObject';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function setCheckboxValue(val: boolean): void;
4
+ declare function setCurrentValue(val: boolean): void;
5
+ declare function resetValue(): void;
6
+ declare function getValue(): Option;
7
+ declare const _default: DefineComponent<{
8
+ multiSelectList: Array<any>;
9
+ countList?: Array<any>;
10
+ item: Option;
11
+ hasNum: boolean;
12
+ allIsCheckbox?: boolean;
13
+ translateUserId: boolean;
14
+ }, {
15
+ resetValue: typeof resetValue;
16
+ getValue: typeof getValue;
17
+ setCurrentValue: typeof setCurrentValue;
18
+ setCheckboxValue: typeof setCheckboxValue;
19
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
+ resetAllCheckedValue: (...args: any[]) => void;
21
+ setSelectedStatusMap: (...args: any[]) => void;
22
+ resetRange: (...args: any[]) => void;
23
+ resetIsSelectAll: (...args: any[]) => void;
24
+ notifyParent: (...args: any[]) => void;
25
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
26
+ }, string, PublicProps, Readonly<{
27
+ multiSelectList: Array<any>;
28
+ countList?: Array<any>;
29
+ item: Option;
30
+ hasNum: boolean;
31
+ allIsCheckbox?: boolean;
32
+ translateUserId: boolean;
33
+ }> & Readonly<{
34
+ onResetAllCheckedValue?: (...args: any[]) => any;
35
+ onSetSelectedStatusMap?: (...args: any[]) => any;
36
+ onResetRange?: (...args: any[]) => any;
37
+ onResetIsSelectAll?: (...args: any[]) => any;
38
+ onNotifyParent?: (...args: any[]) => any;
39
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
40
+ }>, {
41
+ item: Option;
42
+ multiSelectList: Array<any>;
43
+ hasNum: boolean;
44
+ allIsCheckbox: boolean;
45
+ translateUserId: boolean;
46
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
47
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export type SelectStatus = {
2
+ label: string;
3
+ value: any;
4
+ selected: boolean;
5
+ };