wlwy-package 3.2.1 → 3.2.2

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 (170) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/types/index.d.ts +17 -0
  3. package/dist/types/packages/axios/index.d.ts +6 -0
  4. package/dist/types/packages/axios/service.d.ts +21 -0
  5. package/dist/types/packages/axios/types/index.d.ts +32 -0
  6. package/dist/types/packages/components/antd/index.d.ts +10 -0
  7. package/dist/types/packages/components/antd/src/button.vue.d.ts +10 -0
  8. package/dist/types/packages/components/antd/src/datePicker.vue.d.ts +16 -0
  9. package/dist/types/packages/components/antd/src/descriptions-item.vue.d.ts +9 -0
  10. package/dist/types/packages/components/antd/src/descriptions.vue.d.ts +6 -0
  11. package/dist/types/packages/components/antd/src/modal.vue.d.ts +30 -0
  12. package/dist/types/packages/components/antd/src/select.vue.d.ts +14 -0
  13. package/dist/types/packages/components/antd/src/statistic.vue.d.ts +3 -0
  14. package/dist/types/packages/components/antd/src/upload.vue.d.ts +40 -0
  15. package/dist/types/packages/components/antd/type.d.ts +164 -0
  16. package/dist/types/packages/components/common/index.d.ts +20 -0
  17. package/dist/types/packages/components/common/src/Redirect.vue.d.ts +2 -0
  18. package/dist/types/packages/components/common/src/configProvider.vue.d.ts +13 -0
  19. package/dist/types/packages/components/common/src/cropper.vue.d.ts +29 -0
  20. package/dist/types/packages/components/common/src/dropdown.vue.d.ts +23 -0
  21. package/dist/types/packages/components/common/src/editTitle.vue.d.ts +18 -0
  22. package/dist/types/packages/components/common/src/noData.vue.d.ts +7 -0
  23. package/dist/types/packages/components/common/src/page.vue.d.ts +38 -0
  24. package/dist/types/packages/components/common/src/pageHead.vue.d.ts +29 -0
  25. package/dist/types/packages/components/common/src/rangePicker.vue.d.ts +24 -0
  26. package/dist/types/packages/components/common/src/slashHeader.vue.d.ts +7 -0
  27. package/dist/types/packages/components/common/src/upload-modal.vue.d.ts +43 -0
  28. package/dist/types/packages/components/common/type.d.ts +296 -0
  29. package/dist/types/packages/components/form/business/index.d.ts +8 -0
  30. package/dist/types/packages/components/form/business/src/channel.vue.d.ts +5 -0
  31. package/dist/types/packages/components/form/business/src/country.vue.d.ts +3 -0
  32. package/dist/types/packages/components/form/business/src/customer.vue.d.ts +6 -0
  33. package/dist/types/packages/components/form/business/src/sku.vue.d.ts +5 -0
  34. package/dist/types/packages/components/form/business/type.d.ts +36 -0
  35. package/dist/types/packages/components/form/default/index.d.ts +44 -0
  36. package/dist/types/packages/components/form/default/src/checkbox.vue.d.ts +18 -0
  37. package/dist/types/packages/components/form/default/src/custom.vue.d.ts +14 -0
  38. package/dist/types/packages/components/form/default/src/datePicker.vue.d.ts +6 -0
  39. package/dist/types/packages/components/form/default/src/dateRange.vue.d.ts +10 -0
  40. package/dist/types/packages/components/form/default/src/form.vue.d.ts +429 -0
  41. package/dist/types/packages/components/form/default/src/formCol.vue.d.ts +16 -0
  42. package/dist/types/packages/components/form/default/src/formItem.vue.d.ts +20 -0
  43. package/dist/types/packages/components/form/default/src/formItemRest.vue.d.ts +2 -0
  44. package/dist/types/packages/components/form/default/src/input.vue.d.ts +26 -0
  45. package/dist/types/packages/components/form/default/src/inputI18n.vue.d.ts +14 -0
  46. package/dist/types/packages/components/form/default/src/inputMatch.vue.d.ts +18 -0
  47. package/dist/types/packages/components/form/default/src/inputNumber.vue.d.ts +16 -0
  48. package/dist/types/packages/components/form/default/src/inputPassword.vue.d.ts +16 -0
  49. package/dist/types/packages/components/form/default/src/inputTags.vue.d.ts +21 -0
  50. package/dist/types/packages/components/form/default/src/modal.vue.d.ts +46 -0
  51. package/dist/types/packages/components/form/default/src/numberRange.vue.d.ts +9 -0
  52. package/dist/types/packages/components/form/default/src/page.vue.d.ts +48 -0
  53. package/dist/types/packages/components/form/default/src/radio.vue.d.ts +18 -0
  54. package/dist/types/packages/components/form/default/src/select.vue.d.ts +21 -0
  55. package/dist/types/packages/components/form/default/src/selectInput.vue.d.ts +13 -0
  56. package/dist/types/packages/components/form/default/src/textarea.vue.d.ts +14 -0
  57. package/dist/types/packages/components/form/default/src/timePicker.vue.d.ts +6 -0
  58. package/dist/types/packages/components/form/default/src/upload-image.vue.d.ts +23 -0
  59. package/dist/types/packages/components/form/default/src/upload.vue.d.ts +12 -0
  60. package/dist/types/packages/components/form/default/src/wrap.vue.d.ts +56 -0
  61. package/dist/types/packages/components/form/default/type.d.ts +680 -0
  62. package/dist/types/packages/components/form/index.d.ts +2 -0
  63. package/dist/types/packages/components/form/type.d.ts +2 -0
  64. package/dist/types/packages/components/icon/index.d.ts +4 -0
  65. package/dist/types/packages/components/icon/src/icon.vue.d.ts +12 -0
  66. package/dist/types/packages/components/icon/src/index.vue.d.ts +9 -0
  67. package/dist/types/packages/components/icon/src/switch.vue.d.ts +18 -0
  68. package/dist/types/packages/components/icon/type.d.ts +41 -0
  69. package/dist/types/packages/components/index.d.ts +7 -0
  70. package/dist/types/packages/components/layout/blank.vue.d.ts +2 -0
  71. package/dist/types/packages/components/layout/index.d.ts +7 -0
  72. package/dist/types/packages/components/layout/index.vue.d.ts +9 -0
  73. package/dist/types/packages/components/layout/skeleton/list.vue.d.ts +2 -0
  74. package/dist/types/packages/components/layout/skeleton/switch.vue.d.ts +2 -0
  75. package/dist/types/packages/components/layout/src/footer.vue.d.ts +2 -0
  76. package/dist/types/packages/components/layout/src/header/index.vue.d.ts +10 -0
  77. package/dist/types/packages/components/layout/src/header/modules/download.vue.d.ts +6 -0
  78. package/dist/types/packages/components/layout/src/header/modules/language.vue.d.ts +2 -0
  79. package/dist/types/packages/components/layout/src/header/modules/password-modal.vue.d.ts +9 -0
  80. package/dist/types/packages/components/layout/src/header/modules/topMenu.vue.d.ts +2 -0
  81. package/dist/types/packages/components/layout/src/header/modules/warehouse.vue.d.ts +2 -0
  82. package/dist/types/packages/components/layout/src/logo.vue.d.ts +2 -0
  83. package/dist/types/packages/components/layout/src/siderMenu.vue.d.ts +2 -0
  84. package/dist/types/packages/components/layout/src/subMenuItem.vue.d.ts +6 -0
  85. package/dist/types/packages/components/layout/src/tabsNav.vue.d.ts +2 -0
  86. package/dist/types/packages/components/layout/type.d.ts +17 -0
  87. package/dist/types/packages/components/lazy/charts/index.d.ts +21 -0
  88. package/dist/types/packages/components/lazy/charts/index.vue.d.ts +7 -0
  89. package/dist/types/packages/components/lazy/editor/editor-core.vue.d.ts +36 -0
  90. package/dist/types/packages/components/lazy/editor/index.d.ts +3 -0
  91. package/dist/types/packages/components/lazy/editor/index.vue.d.ts +35 -0
  92. package/dist/types/packages/components/lazy/editor/type.d.ts +62 -0
  93. package/dist/types/packages/components/list/index.d.ts +7 -0
  94. package/dist/types/packages/components/list/input.d.ts +432 -0
  95. package/dist/types/packages/components/list/src/header.vue.d.ts +44 -0
  96. package/dist/types/packages/components/list/src/index.vue.d.ts +68 -0
  97. package/dist/types/packages/components/list/src/pager.vue.d.ts +10 -0
  98. package/dist/types/packages/components/list/src/table.vue.d.ts +774 -0
  99. package/dist/types/packages/components/list/type.d.ts +346 -0
  100. package/dist/types/packages/components/table/constants.d.ts +15 -0
  101. package/dist/types/packages/components/table/index.d.ts +7 -0
  102. package/dist/types/packages/components/table/resolveInjectColumns.d.ts +17 -0
  103. package/dist/types/packages/components/table/src/action-column.vue.d.ts +11 -0
  104. package/dist/types/packages/components/table/src/column.vue.d.ts +82 -0
  105. package/dist/types/packages/components/table/src/pager.vue.d.ts +314 -0
  106. package/dist/types/packages/components/table/src/search.vue.d.ts +34 -0
  107. package/dist/types/packages/components/table/src/table.vue.d.ts +802 -0
  108. package/dist/types/packages/components/table/type.d.ts +179 -0
  109. package/dist/types/packages/components/table/useWTableConfig.d.ts +34 -0
  110. package/dist/types/packages/components/table/vxeDefaultConfig.d.ts +8 -0
  111. package/dist/types/packages/components/table/warnDeprecated.d.ts +6 -0
  112. package/dist/types/packages/config.d.ts +27 -0
  113. package/dist/types/packages/directive/auth.d.ts +4 -0
  114. package/dist/types/packages/directive/auths.d.ts +4 -0
  115. package/dist/types/packages/directive/index.d.ts +6 -0
  116. package/dist/types/packages/hooks/business/index.d.ts +4 -0
  117. package/dist/types/packages/hooks/business/src/index.d.ts +4 -0
  118. package/dist/types/packages/hooks/business/src/useCountryDict.d.ts +22 -0
  119. package/dist/types/packages/hooks/business/src/useCurrencyDict.d.ts +22 -0
  120. package/dist/types/packages/hooks/business/src/useCustomerDict.d.ts +22 -0
  121. package/dist/types/packages/hooks/business/src/useWarehouseZoneDict.d.ts +22 -0
  122. package/dist/types/packages/hooks/business/useBusinessDict.d.ts +2 -0
  123. package/dist/types/packages/hooks/business/useDict.d.ts +25 -0
  124. package/dist/types/packages/hooks/index.d.ts +2 -0
  125. package/dist/types/packages/hooks/private/index.d.ts +2 -0
  126. package/dist/types/packages/hooks/private/src/useKey.d.ts +1 -0
  127. package/dist/types/packages/hooks/private/src/useRenderCell.d.ts +71 -0
  128. package/dist/types/packages/hooks/web/index.d.ts +17 -0
  129. package/dist/types/packages/hooks/web/src/useAffix.d.ts +19 -0
  130. package/dist/types/packages/hooks/web/src/useCatchPreloadError.d.ts +6 -0
  131. package/dist/types/packages/hooks/web/src/useCookie.d.ts +11 -0
  132. package/dist/types/packages/hooks/web/src/useEmitBack.d.ts +3 -0
  133. package/dist/types/packages/hooks/web/src/useEnum.d.ts +24 -0
  134. package/dist/types/packages/hooks/web/src/useExport.d.ts +4 -0
  135. package/dist/types/packages/hooks/web/src/useFormItemProps.d.ts +22 -0
  136. package/dist/types/packages/hooks/web/src/useFormStorage.d.ts +18 -0
  137. package/dist/types/packages/hooks/web/src/useI18n.d.ts +26 -0
  138. package/dist/types/packages/hooks/web/src/useListConfig.d.ts +16 -0
  139. package/dist/types/packages/hooks/web/src/useLocale.d.ts +6 -0
  140. package/dist/types/packages/hooks/web/src/useNProgress.d.ts +5 -0
  141. package/dist/types/packages/hooks/web/src/usePageForm.d.ts +9 -0
  142. package/dist/types/packages/hooks/web/src/usePrefixTitle.d.ts +7 -0
  143. package/dist/types/packages/hooks/web/src/useTabsNav.d.ts +13 -0
  144. package/dist/types/packages/hooks/web/src/useUpload.d.ts +1 -0
  145. package/dist/types/packages/hooks/web/src/useWatchForm.d.ts +10 -0
  146. package/dist/types/packages/hooks/web/src/useWindowSize.d.ts +8 -0
  147. package/dist/types/packages/index.d.ts +21 -0
  148. package/dist/types/packages/keys/index.d.ts +6 -0
  149. package/dist/types/packages/keys/public.d.ts +0 -0
  150. package/dist/types/packages/plugins/index.d.ts +1 -0
  151. package/dist/types/packages/plugins/vueI18n/helper.d.ts +1 -0
  152. package/dist/types/packages/plugins/vueI18n/index.d.ts +14 -0
  153. package/dist/types/packages/setup/index.d.ts +1 -0
  154. package/dist/types/packages/setup/vxe.d.ts +10 -0
  155. package/dist/types/packages/store/index.d.ts +9 -0
  156. package/dist/types/packages/store/modules/common.d.ts +50 -0
  157. package/dist/types/packages/store/modules/dict.d.ts +436 -0
  158. package/dist/types/packages/store/modules/language.d.ts +182 -0
  159. package/dist/types/packages/store/modules/tagsNav.d.ts +156 -0
  160. package/dist/types/packages/store/modules/userPermission.d.ts +60 -0
  161. package/dist/types/packages/type.d.ts +44 -0
  162. package/dist/types/packages/utils/config.d.ts +1 -0
  163. package/dist/types/packages/utils/createRefInstanceProxy.d.ts +13 -0
  164. package/dist/types/packages/utils/formatCellValue.d.ts +82 -0
  165. package/dist/types/packages/utils/getPrefixTitle.d.ts +5 -0
  166. package/dist/types/packages/utils/index.d.ts +48 -0
  167. package/dist/types/packages/utils/type.d.ts +6 -0
  168. package/dist/types/packages/utils/warehouse.d.ts +30 -0
  169. package/dist/wlwy-package.es.js +19 -21
  170. package/package.json +1 -1
@@ -0,0 +1,436 @@
1
+ import type { ClearDictOption, OptionType } from '../../type';
2
+ import type { DictNameType } from '../../hooks';
3
+ export declare const useDictStore: import("pinia").StoreDefinition<"dict", Pick<{
4
+ dicts: {
5
+ [x: `private_${string}`]: {
6
+ [x: string]: any;
7
+ key: import("../../type").KeyType;
8
+ value: import("../../type").KeyType;
9
+ label: string;
10
+ disabled?: boolean | undefined;
11
+ }[];
12
+ [x: `warehouseZone_${string}`]: {
13
+ [x: string]: any;
14
+ key: import("../../type").KeyType;
15
+ value: import("../../type").KeyType;
16
+ label: string;
17
+ disabled?: boolean | undefined;
18
+ }[];
19
+ [x: `country_${string}`]: {
20
+ [x: string]: any;
21
+ key: import("../../type").KeyType;
22
+ value: import("../../type").KeyType;
23
+ label: string;
24
+ disabled?: boolean | undefined;
25
+ }[];
26
+ [x: `customer_${string}`]: {
27
+ [x: string]: any;
28
+ key: import("../../type").KeyType;
29
+ value: import("../../type").KeyType;
30
+ label: string;
31
+ disabled?: boolean | undefined;
32
+ }[];
33
+ [x: `currency_${string}`]: {
34
+ [x: string]: any;
35
+ key: import("../../type").KeyType;
36
+ value: import("../../type").KeyType;
37
+ label: string;
38
+ disabled?: boolean | undefined;
39
+ }[];
40
+ warehouseZone: {
41
+ [x: string]: any;
42
+ key: import("../../type").KeyType;
43
+ value: import("../../type").KeyType;
44
+ label: string;
45
+ disabled?: boolean | undefined;
46
+ }[];
47
+ country: {
48
+ [x: string]: any;
49
+ key: import("../../type").KeyType;
50
+ value: import("../../type").KeyType;
51
+ label: string;
52
+ disabled?: boolean | undefined;
53
+ }[];
54
+ customer: {
55
+ [x: string]: any;
56
+ key: import("../../type").KeyType;
57
+ value: import("../../type").KeyType;
58
+ label: string;
59
+ disabled?: boolean | undefined;
60
+ }[];
61
+ currency: {
62
+ [x: string]: any;
63
+ key: import("../../type").KeyType;
64
+ value: import("../../type").KeyType;
65
+ label: string;
66
+ disabled?: boolean | undefined;
67
+ }[];
68
+ };
69
+ getDict: (name: DictNameType) => Promise<OptionType[]>;
70
+ setDict: (name: DictNameType, data: OptionType[]) => OptionType[];
71
+ clearDict: (name: DictNameType, option?: ClearDictOption) => void;
72
+ clearAllDict: () => void;
73
+ setFetchIns: (name: DictNameType, ins: Promise<OptionType[]>) => void;
74
+ removeFetchIns: (name: DictNameType) => void;
75
+ }, "dicts">, Pick<{
76
+ dicts: {
77
+ [x: `private_${string}`]: {
78
+ [x: string]: any;
79
+ key: import("../../type").KeyType;
80
+ value: import("../../type").KeyType;
81
+ label: string;
82
+ disabled?: boolean | undefined;
83
+ }[];
84
+ [x: `warehouseZone_${string}`]: {
85
+ [x: string]: any;
86
+ key: import("../../type").KeyType;
87
+ value: import("../../type").KeyType;
88
+ label: string;
89
+ disabled?: boolean | undefined;
90
+ }[];
91
+ [x: `country_${string}`]: {
92
+ [x: string]: any;
93
+ key: import("../../type").KeyType;
94
+ value: import("../../type").KeyType;
95
+ label: string;
96
+ disabled?: boolean | undefined;
97
+ }[];
98
+ [x: `customer_${string}`]: {
99
+ [x: string]: any;
100
+ key: import("../../type").KeyType;
101
+ value: import("../../type").KeyType;
102
+ label: string;
103
+ disabled?: boolean | undefined;
104
+ }[];
105
+ [x: `currency_${string}`]: {
106
+ [x: string]: any;
107
+ key: import("../../type").KeyType;
108
+ value: import("../../type").KeyType;
109
+ label: string;
110
+ disabled?: boolean | undefined;
111
+ }[];
112
+ warehouseZone: {
113
+ [x: string]: any;
114
+ key: import("../../type").KeyType;
115
+ value: import("../../type").KeyType;
116
+ label: string;
117
+ disabled?: boolean | undefined;
118
+ }[];
119
+ country: {
120
+ [x: string]: any;
121
+ key: import("../../type").KeyType;
122
+ value: import("../../type").KeyType;
123
+ label: string;
124
+ disabled?: boolean | undefined;
125
+ }[];
126
+ customer: {
127
+ [x: string]: any;
128
+ key: import("../../type").KeyType;
129
+ value: import("../../type").KeyType;
130
+ label: string;
131
+ disabled?: boolean | undefined;
132
+ }[];
133
+ currency: {
134
+ [x: string]: any;
135
+ key: import("../../type").KeyType;
136
+ value: import("../../type").KeyType;
137
+ label: string;
138
+ disabled?: boolean | undefined;
139
+ }[];
140
+ };
141
+ getDict: (name: DictNameType) => Promise<OptionType[]>;
142
+ setDict: (name: DictNameType, data: OptionType[]) => OptionType[];
143
+ clearDict: (name: DictNameType, option?: ClearDictOption) => void;
144
+ clearAllDict: () => void;
145
+ setFetchIns: (name: DictNameType, ins: Promise<OptionType[]>) => void;
146
+ removeFetchIns: (name: DictNameType) => void;
147
+ }, never>, Pick<{
148
+ dicts: {
149
+ [x: `private_${string}`]: {
150
+ [x: string]: any;
151
+ key: import("../../type").KeyType;
152
+ value: import("../../type").KeyType;
153
+ label: string;
154
+ disabled?: boolean | undefined;
155
+ }[];
156
+ [x: `warehouseZone_${string}`]: {
157
+ [x: string]: any;
158
+ key: import("../../type").KeyType;
159
+ value: import("../../type").KeyType;
160
+ label: string;
161
+ disabled?: boolean | undefined;
162
+ }[];
163
+ [x: `country_${string}`]: {
164
+ [x: string]: any;
165
+ key: import("../../type").KeyType;
166
+ value: import("../../type").KeyType;
167
+ label: string;
168
+ disabled?: boolean | undefined;
169
+ }[];
170
+ [x: `customer_${string}`]: {
171
+ [x: string]: any;
172
+ key: import("../../type").KeyType;
173
+ value: import("../../type").KeyType;
174
+ label: string;
175
+ disabled?: boolean | undefined;
176
+ }[];
177
+ [x: `currency_${string}`]: {
178
+ [x: string]: any;
179
+ key: import("../../type").KeyType;
180
+ value: import("../../type").KeyType;
181
+ label: string;
182
+ disabled?: boolean | undefined;
183
+ }[];
184
+ warehouseZone: {
185
+ [x: string]: any;
186
+ key: import("../../type").KeyType;
187
+ value: import("../../type").KeyType;
188
+ label: string;
189
+ disabled?: boolean | undefined;
190
+ }[];
191
+ country: {
192
+ [x: string]: any;
193
+ key: import("../../type").KeyType;
194
+ value: import("../../type").KeyType;
195
+ label: string;
196
+ disabled?: boolean | undefined;
197
+ }[];
198
+ customer: {
199
+ [x: string]: any;
200
+ key: import("../../type").KeyType;
201
+ value: import("../../type").KeyType;
202
+ label: string;
203
+ disabled?: boolean | undefined;
204
+ }[];
205
+ currency: {
206
+ [x: string]: any;
207
+ key: import("../../type").KeyType;
208
+ value: import("../../type").KeyType;
209
+ label: string;
210
+ disabled?: boolean | undefined;
211
+ }[];
212
+ };
213
+ getDict: (name: DictNameType) => Promise<OptionType[]>;
214
+ setDict: (name: DictNameType, data: OptionType[]) => OptionType[];
215
+ clearDict: (name: DictNameType, option?: ClearDictOption) => void;
216
+ clearAllDict: () => void;
217
+ setFetchIns: (name: DictNameType, ins: Promise<OptionType[]>) => void;
218
+ removeFetchIns: (name: DictNameType) => void;
219
+ }, "getDict" | "setDict" | "clearDict" | "clearAllDict" | "setFetchIns" | "removeFetchIns">>;
220
+ export declare const useDictStoreWithOut: () => import("pinia").Store<"dict", Pick<{
221
+ dicts: {
222
+ [x: `private_${string}`]: {
223
+ [x: string]: any;
224
+ key: import("../../type").KeyType;
225
+ value: import("../../type").KeyType;
226
+ label: string;
227
+ disabled?: boolean | undefined;
228
+ }[];
229
+ [x: `warehouseZone_${string}`]: {
230
+ [x: string]: any;
231
+ key: import("../../type").KeyType;
232
+ value: import("../../type").KeyType;
233
+ label: string;
234
+ disabled?: boolean | undefined;
235
+ }[];
236
+ [x: `country_${string}`]: {
237
+ [x: string]: any;
238
+ key: import("../../type").KeyType;
239
+ value: import("../../type").KeyType;
240
+ label: string;
241
+ disabled?: boolean | undefined;
242
+ }[];
243
+ [x: `customer_${string}`]: {
244
+ [x: string]: any;
245
+ key: import("../../type").KeyType;
246
+ value: import("../../type").KeyType;
247
+ label: string;
248
+ disabled?: boolean | undefined;
249
+ }[];
250
+ [x: `currency_${string}`]: {
251
+ [x: string]: any;
252
+ key: import("../../type").KeyType;
253
+ value: import("../../type").KeyType;
254
+ label: string;
255
+ disabled?: boolean | undefined;
256
+ }[];
257
+ warehouseZone: {
258
+ [x: string]: any;
259
+ key: import("../../type").KeyType;
260
+ value: import("../../type").KeyType;
261
+ label: string;
262
+ disabled?: boolean | undefined;
263
+ }[];
264
+ country: {
265
+ [x: string]: any;
266
+ key: import("../../type").KeyType;
267
+ value: import("../../type").KeyType;
268
+ label: string;
269
+ disabled?: boolean | undefined;
270
+ }[];
271
+ customer: {
272
+ [x: string]: any;
273
+ key: import("../../type").KeyType;
274
+ value: import("../../type").KeyType;
275
+ label: string;
276
+ disabled?: boolean | undefined;
277
+ }[];
278
+ currency: {
279
+ [x: string]: any;
280
+ key: import("../../type").KeyType;
281
+ value: import("../../type").KeyType;
282
+ label: string;
283
+ disabled?: boolean | undefined;
284
+ }[];
285
+ };
286
+ getDict: (name: DictNameType) => Promise<OptionType[]>;
287
+ setDict: (name: DictNameType, data: OptionType[]) => OptionType[];
288
+ clearDict: (name: DictNameType, option?: ClearDictOption) => void;
289
+ clearAllDict: () => void;
290
+ setFetchIns: (name: DictNameType, ins: Promise<OptionType[]>) => void;
291
+ removeFetchIns: (name: DictNameType) => void;
292
+ }, "dicts">, Pick<{
293
+ dicts: {
294
+ [x: `private_${string}`]: {
295
+ [x: string]: any;
296
+ key: import("../../type").KeyType;
297
+ value: import("../../type").KeyType;
298
+ label: string;
299
+ disabled?: boolean | undefined;
300
+ }[];
301
+ [x: `warehouseZone_${string}`]: {
302
+ [x: string]: any;
303
+ key: import("../../type").KeyType;
304
+ value: import("../../type").KeyType;
305
+ label: string;
306
+ disabled?: boolean | undefined;
307
+ }[];
308
+ [x: `country_${string}`]: {
309
+ [x: string]: any;
310
+ key: import("../../type").KeyType;
311
+ value: import("../../type").KeyType;
312
+ label: string;
313
+ disabled?: boolean | undefined;
314
+ }[];
315
+ [x: `customer_${string}`]: {
316
+ [x: string]: any;
317
+ key: import("../../type").KeyType;
318
+ value: import("../../type").KeyType;
319
+ label: string;
320
+ disabled?: boolean | undefined;
321
+ }[];
322
+ [x: `currency_${string}`]: {
323
+ [x: string]: any;
324
+ key: import("../../type").KeyType;
325
+ value: import("../../type").KeyType;
326
+ label: string;
327
+ disabled?: boolean | undefined;
328
+ }[];
329
+ warehouseZone: {
330
+ [x: string]: any;
331
+ key: import("../../type").KeyType;
332
+ value: import("../../type").KeyType;
333
+ label: string;
334
+ disabled?: boolean | undefined;
335
+ }[];
336
+ country: {
337
+ [x: string]: any;
338
+ key: import("../../type").KeyType;
339
+ value: import("../../type").KeyType;
340
+ label: string;
341
+ disabled?: boolean | undefined;
342
+ }[];
343
+ customer: {
344
+ [x: string]: any;
345
+ key: import("../../type").KeyType;
346
+ value: import("../../type").KeyType;
347
+ label: string;
348
+ disabled?: boolean | undefined;
349
+ }[];
350
+ currency: {
351
+ [x: string]: any;
352
+ key: import("../../type").KeyType;
353
+ value: import("../../type").KeyType;
354
+ label: string;
355
+ disabled?: boolean | undefined;
356
+ }[];
357
+ };
358
+ getDict: (name: DictNameType) => Promise<OptionType[]>;
359
+ setDict: (name: DictNameType, data: OptionType[]) => OptionType[];
360
+ clearDict: (name: DictNameType, option?: ClearDictOption) => void;
361
+ clearAllDict: () => void;
362
+ setFetchIns: (name: DictNameType, ins: Promise<OptionType[]>) => void;
363
+ removeFetchIns: (name: DictNameType) => void;
364
+ }, never>, Pick<{
365
+ dicts: {
366
+ [x: `private_${string}`]: {
367
+ [x: string]: any;
368
+ key: import("../../type").KeyType;
369
+ value: import("../../type").KeyType;
370
+ label: string;
371
+ disabled?: boolean | undefined;
372
+ }[];
373
+ [x: `warehouseZone_${string}`]: {
374
+ [x: string]: any;
375
+ key: import("../../type").KeyType;
376
+ value: import("../../type").KeyType;
377
+ label: string;
378
+ disabled?: boolean | undefined;
379
+ }[];
380
+ [x: `country_${string}`]: {
381
+ [x: string]: any;
382
+ key: import("../../type").KeyType;
383
+ value: import("../../type").KeyType;
384
+ label: string;
385
+ disabled?: boolean | undefined;
386
+ }[];
387
+ [x: `customer_${string}`]: {
388
+ [x: string]: any;
389
+ key: import("../../type").KeyType;
390
+ value: import("../../type").KeyType;
391
+ label: string;
392
+ disabled?: boolean | undefined;
393
+ }[];
394
+ [x: `currency_${string}`]: {
395
+ [x: string]: any;
396
+ key: import("../../type").KeyType;
397
+ value: import("../../type").KeyType;
398
+ label: string;
399
+ disabled?: boolean | undefined;
400
+ }[];
401
+ warehouseZone: {
402
+ [x: string]: any;
403
+ key: import("../../type").KeyType;
404
+ value: import("../../type").KeyType;
405
+ label: string;
406
+ disabled?: boolean | undefined;
407
+ }[];
408
+ country: {
409
+ [x: string]: any;
410
+ key: import("../../type").KeyType;
411
+ value: import("../../type").KeyType;
412
+ label: string;
413
+ disabled?: boolean | undefined;
414
+ }[];
415
+ customer: {
416
+ [x: string]: any;
417
+ key: import("../../type").KeyType;
418
+ value: import("../../type").KeyType;
419
+ label: string;
420
+ disabled?: boolean | undefined;
421
+ }[];
422
+ currency: {
423
+ [x: string]: any;
424
+ key: import("../../type").KeyType;
425
+ value: import("../../type").KeyType;
426
+ label: string;
427
+ disabled?: boolean | undefined;
428
+ }[];
429
+ };
430
+ getDict: (name: DictNameType) => Promise<OptionType[]>;
431
+ setDict: (name: DictNameType, data: OptionType[]) => OptionType[];
432
+ clearDict: (name: DictNameType, option?: ClearDictOption) => void;
433
+ clearAllDict: () => void;
434
+ setFetchIns: (name: DictNameType, ins: Promise<OptionType[]>) => void;
435
+ removeFetchIns: (name: DictNameType) => void;
436
+ }, "getDict" | "setDict" | "clearDict" | "clearAllDict" | "setFetchIns" | "removeFetchIns">>;
@@ -0,0 +1,182 @@
1
+ export declare const useLanguageStore: import("pinia").StoreDefinition<"language", Pick<{
2
+ value: import("vue").Ref<string, string>;
3
+ options: import("vue").Ref<{
4
+ languageType: string;
5
+ languageName: string;
6
+ key: string;
7
+ value: string;
8
+ label: string;
9
+ }[], ({
10
+ languageType: string;
11
+ languageName: string;
12
+ } & {
13
+ key: string;
14
+ value: string;
15
+ label: string;
16
+ })[] | {
17
+ languageType: string;
18
+ languageName: string;
19
+ key: string;
20
+ value: string;
21
+ label: string;
22
+ }[]>;
23
+ setValue: (languageType: string) => void;
24
+ getOptions: () => Promise<{
25
+ languageType: string;
26
+ languageName: string;
27
+ key: string;
28
+ value: string;
29
+ label: string;
30
+ }[]>;
31
+ }, "value" | "options">, Pick<{
32
+ value: import("vue").Ref<string, string>;
33
+ options: import("vue").Ref<{
34
+ languageType: string;
35
+ languageName: string;
36
+ key: string;
37
+ value: string;
38
+ label: string;
39
+ }[], ({
40
+ languageType: string;
41
+ languageName: string;
42
+ } & {
43
+ key: string;
44
+ value: string;
45
+ label: string;
46
+ })[] | {
47
+ languageType: string;
48
+ languageName: string;
49
+ key: string;
50
+ value: string;
51
+ label: string;
52
+ }[]>;
53
+ setValue: (languageType: string) => void;
54
+ getOptions: () => Promise<{
55
+ languageType: string;
56
+ languageName: string;
57
+ key: string;
58
+ value: string;
59
+ label: string;
60
+ }[]>;
61
+ }, never>, Pick<{
62
+ value: import("vue").Ref<string, string>;
63
+ options: import("vue").Ref<{
64
+ languageType: string;
65
+ languageName: string;
66
+ key: string;
67
+ value: string;
68
+ label: string;
69
+ }[], ({
70
+ languageType: string;
71
+ languageName: string;
72
+ } & {
73
+ key: string;
74
+ value: string;
75
+ label: string;
76
+ })[] | {
77
+ languageType: string;
78
+ languageName: string;
79
+ key: string;
80
+ value: string;
81
+ label: string;
82
+ }[]>;
83
+ setValue: (languageType: string) => void;
84
+ getOptions: () => Promise<{
85
+ languageType: string;
86
+ languageName: string;
87
+ key: string;
88
+ value: string;
89
+ label: string;
90
+ }[]>;
91
+ }, "setValue" | "getOptions">>;
92
+ export declare const useLanguageStoreWithOut: () => import("pinia").Store<"language", Pick<{
93
+ value: import("vue").Ref<string, string>;
94
+ options: import("vue").Ref<{
95
+ languageType: string;
96
+ languageName: string;
97
+ key: string;
98
+ value: string;
99
+ label: string;
100
+ }[], ({
101
+ languageType: string;
102
+ languageName: string;
103
+ } & {
104
+ key: string;
105
+ value: string;
106
+ label: string;
107
+ })[] | {
108
+ languageType: string;
109
+ languageName: string;
110
+ key: string;
111
+ value: string;
112
+ label: string;
113
+ }[]>;
114
+ setValue: (languageType: string) => void;
115
+ getOptions: () => Promise<{
116
+ languageType: string;
117
+ languageName: string;
118
+ key: string;
119
+ value: string;
120
+ label: string;
121
+ }[]>;
122
+ }, "value" | "options">, Pick<{
123
+ value: import("vue").Ref<string, string>;
124
+ options: import("vue").Ref<{
125
+ languageType: string;
126
+ languageName: string;
127
+ key: string;
128
+ value: string;
129
+ label: string;
130
+ }[], ({
131
+ languageType: string;
132
+ languageName: string;
133
+ } & {
134
+ key: string;
135
+ value: string;
136
+ label: string;
137
+ })[] | {
138
+ languageType: string;
139
+ languageName: string;
140
+ key: string;
141
+ value: string;
142
+ label: string;
143
+ }[]>;
144
+ setValue: (languageType: string) => void;
145
+ getOptions: () => Promise<{
146
+ languageType: string;
147
+ languageName: string;
148
+ key: string;
149
+ value: string;
150
+ label: string;
151
+ }[]>;
152
+ }, never>, Pick<{
153
+ value: import("vue").Ref<string, string>;
154
+ options: import("vue").Ref<{
155
+ languageType: string;
156
+ languageName: string;
157
+ key: string;
158
+ value: string;
159
+ label: string;
160
+ }[], ({
161
+ languageType: string;
162
+ languageName: string;
163
+ } & {
164
+ key: string;
165
+ value: string;
166
+ label: string;
167
+ })[] | {
168
+ languageType: string;
169
+ languageName: string;
170
+ key: string;
171
+ value: string;
172
+ label: string;
173
+ }[]>;
174
+ setValue: (languageType: string) => void;
175
+ getOptions: () => Promise<{
176
+ languageType: string;
177
+ languageName: string;
178
+ key: string;
179
+ value: string;
180
+ label: string;
181
+ }[]>;
182
+ }, "setValue" | "getOptions">>;