@silver-formily/element-plus 0.0.1-alpha.0 → 0.0.1-alpha.1

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 (321) hide show
  1. package/package.json +1 -1
  2. package/esm/__builtins__/configs/index.d.ts +0 -1
  3. package/esm/__builtins__/configs/index.mjs +0 -5
  4. package/esm/__builtins__/configs/index.mjs.map +0 -1
  5. package/esm/__builtins__/index.d.ts +0 -2
  6. package/esm/__builtins__/index.mjs +0 -27
  7. package/esm/__builtins__/index.mjs.map +0 -1
  8. package/esm/__builtins__/shared/hooks.d.ts +0 -7
  9. package/esm/__builtins__/shared/hooks.mjs +0 -59
  10. package/esm/__builtins__/shared/hooks.mjs.map +0 -1
  11. package/esm/__builtins__/shared/index.d.ts +0 -7
  12. package/esm/__builtins__/shared/index.mjs +0 -25
  13. package/esm/__builtins__/shared/index.mjs.map +0 -1
  14. package/esm/__builtins__/shared/load-config-provider.d.ts +0 -2
  15. package/esm/__builtins__/shared/load-config-provider.mjs +0 -13
  16. package/esm/__builtins__/shared/load-config-provider.mjs.map +0 -1
  17. package/esm/__builtins__/shared/loading.d.ts +0 -12
  18. package/esm/__builtins__/shared/loading.mjs +0 -49
  19. package/esm/__builtins__/shared/loading.mjs.map +0 -1
  20. package/esm/__builtins__/shared/simple-version-compare.d.ts +0 -2
  21. package/esm/__builtins__/shared/simple-version-compare.mjs +0 -18
  22. package/esm/__builtins__/shared/simple-version-compare.mjs.map +0 -1
  23. package/esm/__builtins__/shared/transform-component.d.ts +0 -8
  24. package/esm/__builtins__/shared/transform-component.mjs +0 -50
  25. package/esm/__builtins__/shared/transform-component.mjs.map +0 -1
  26. package/esm/__builtins__/shared/types.d.ts +0 -2
  27. package/esm/__builtins__/shared/types.mjs +0 -2
  28. package/esm/__builtins__/shared/types.mjs.map +0 -1
  29. package/esm/__builtins__/shared/utils.d.ts +0 -8
  30. package/esm/__builtins__/shared/utils.mjs +0 -34
  31. package/esm/__builtins__/shared/utils.mjs.map +0 -1
  32. package/esm/array-base/array-base-addition.d.ts +0 -5
  33. package/esm/array-base/array-base-index.d.ts +0 -19
  34. package/esm/array-base/array-base-inner.d.ts +0 -18
  35. package/esm/array-base/array-base-item.d.ts +0 -18
  36. package/esm/array-base/array-base-move-down.d.ts +0 -18
  37. package/esm/array-base/array-base-move-up.d.ts +0 -18
  38. package/esm/array-base/array-base-remove.d.ts +0 -18
  39. package/esm/array-base/array-base-sort-handle.d.ts +0 -2
  40. package/esm/array-base/index.d.ts +0 -114
  41. package/esm/array-base/index.mjs +0 -225
  42. package/esm/array-base/index.mjs.map +0 -1
  43. package/esm/array-base/symbols.d.ts +0 -4
  44. package/esm/array-base/symbols.mjs +0 -6
  45. package/esm/array-base/symbols.mjs.map +0 -1
  46. package/esm/array-base/types.d.ts +0 -28
  47. package/esm/array-base/types.mjs +0 -2
  48. package/esm/array-base/types.mjs.map +0 -1
  49. package/esm/array-base/utils.d.ts +0 -18
  50. package/esm/array-base/utils.mjs +0 -88
  51. package/esm/array-base/utils.mjs.map +0 -1
  52. package/esm/array-cards/array-cards.d.ts +0 -13
  53. package/esm/array-cards/index.d.ts +0 -122
  54. package/esm/array-cards/index.mjs +0 -119
  55. package/esm/array-cards/index.mjs.map +0 -1
  56. package/esm/array-collapse/array-collapse-item.d.ts +0 -18
  57. package/esm/array-collapse/array-collapse.d.ts +0 -16
  58. package/esm/array-collapse/index.d.ts +0 -134
  59. package/esm/array-collapse/index.mjs +0 -180
  60. package/esm/array-collapse/index.mjs.map +0 -1
  61. package/esm/array-collapse/utils.d.ts +0 -1
  62. package/esm/array-collapse/utils.mjs +0 -12
  63. package/esm/array-collapse/utils.mjs.map +0 -1
  64. package/esm/array-items/array-items-item.d.ts +0 -30
  65. package/esm/array-items/array-items.d.ts +0 -2
  66. package/esm/array-items/index.d.ts +0 -130
  67. package/esm/array-items/index.mjs +0 -105
  68. package/esm/array-items/index.mjs.map +0 -1
  69. package/esm/array-list-tabs/array-list-tabs.d.ts +0 -31
  70. package/esm/array-list-tabs/index.d.ts +0 -83
  71. package/esm/array-list-tabs/index.mjs +0 -183
  72. package/esm/array-list-tabs/index.mjs.map +0 -1
  73. package/esm/array-list-tabs/utils.d.ts +0 -3
  74. package/esm/array-list-tabs/utils.mjs +0 -16
  75. package/esm/array-list-tabs/utils.mjs.map +0 -1
  76. package/esm/array-table/index.mjs +0 -230
  77. package/esm/array-table/index.mjs.map +0 -1
  78. package/esm/array-table/types.d.ts +0 -6
  79. package/esm/array-table/types.mjs +0 -2
  80. package/esm/array-table/types.mjs.map +0 -1
  81. package/esm/array-table/utils.d.ts +0 -5
  82. package/esm/array-table/utils.mjs +0 -26
  83. package/esm/array-table/utils.mjs.map +0 -1
  84. package/esm/array-tabs/array-tabs.d.ts +0 -2
  85. package/esm/array-tabs/index.d.ts +0 -2
  86. package/esm/array-tabs/index.mjs +0 -88
  87. package/esm/array-tabs/index.mjs.map +0 -1
  88. package/esm/cascader/cascader.d.ts +0 -30
  89. package/esm/cascader/index.d.ts +0 -41
  90. package/esm/cascader/index.mjs +0 -54
  91. package/esm/cascader/index.mjs.map +0 -1
  92. package/esm/checkbox/checkbox-group.d.ts +0 -58
  93. package/esm/checkbox/index.d.ts +0 -716
  94. package/esm/checkbox/index.mjs +0 -86
  95. package/esm/checkbox/index.mjs.map +0 -1
  96. package/esm/date-picker/index.d.ts +0 -2
  97. package/esm/date-picker/index.mjs +0 -57
  98. package/esm/date-picker/index.mjs.map +0 -1
  99. package/esm/editable/editable-popover.d.ts +0 -25
  100. package/esm/editable/editable.d.ts +0 -187
  101. package/esm/editable/index.d.ts +0 -147
  102. package/esm/editable/index.mjs +0 -231
  103. package/esm/editable/index.mjs.map +0 -1
  104. package/esm/form/form.d.ts +0 -46
  105. package/esm/form/form.mjs +0 -77
  106. package/esm/form/form.mjs.map +0 -1
  107. package/esm/form/index.d.ts +0 -1
  108. package/esm/form/index.mjs +0 -6
  109. package/esm/form/index.mjs.map +0 -1
  110. package/esm/form-button-group/form-button-group-sticky.d.ts +0 -17
  111. package/esm/form-button-group/form-button-group.d.ts +0 -48
  112. package/esm/form-button-group/index.d.ts +0 -87
  113. package/esm/form-button-group/index.mjs +0 -90
  114. package/esm/form-button-group/index.mjs.map +0 -1
  115. package/esm/form-button-group/utils.d.ts +0 -1
  116. package/esm/form-button-group/utils.mjs +0 -12
  117. package/esm/form-button-group/utils.mjs.map +0 -1
  118. package/esm/form-collapse/form-collapse.d.ts +0 -18
  119. package/esm/form-collapse/index.d.ts +0 -45
  120. package/esm/form-collapse/index.mjs +0 -103
  121. package/esm/form-collapse/index.mjs.map +0 -1
  122. package/esm/form-collapse/utils.d.ts +0 -31
  123. package/esm/form-collapse/utils.mjs +0 -54
  124. package/esm/form-collapse/utils.mjs.map +0 -1
  125. package/esm/form-dialog/dialog-content.d.ts +0 -60
  126. package/esm/form-dialog/index.d.ts +0 -4
  127. package/esm/form-dialog/index.mjs +0 -209
  128. package/esm/form-dialog/index.mjs.map +0 -1
  129. package/esm/form-dialog/types.d.ts +0 -32
  130. package/esm/form-dialog/types.mjs +0 -2
  131. package/esm/form-dialog/types.mjs.map +0 -1
  132. package/esm/form-drawer/drawer-content.d.ts +0 -60
  133. package/esm/form-drawer/index.d.ts +0 -4
  134. package/esm/form-drawer/index.mjs +0 -203
  135. package/esm/form-drawer/index.mjs.map +0 -1
  136. package/esm/form-drawer/types.d.ts +0 -32
  137. package/esm/form-drawer/types.mjs +0 -2
  138. package/esm/form-drawer/types.mjs.map +0 -1
  139. package/esm/form-grid/form-grid-column.d.ts +0 -29
  140. package/esm/form-grid/form-grid.d.ts +0 -101
  141. package/esm/form-grid/hooks.d.ts +0 -4
  142. package/esm/form-grid/hooks.mjs +0 -7
  143. package/esm/form-grid/hooks.mjs.map +0 -1
  144. package/esm/form-grid/index.d.ts +0 -182
  145. package/esm/form-grid/index.mjs +0 -106
  146. package/esm/form-grid/index.mjs.map +0 -1
  147. package/esm/form-item/form-item.d.ts +0 -18
  148. package/esm/form-item/index.d.ts +0 -70
  149. package/esm/form-item/index.mjs +0 -346
  150. package/esm/form-item/index.mjs.map +0 -1
  151. package/esm/form-item/types.d.ts +0 -25
  152. package/esm/form-item/types.mjs +0 -2
  153. package/esm/form-item/types.mjs.map +0 -1
  154. package/esm/form-item/utils.d.ts +0 -3
  155. package/esm/form-item/utils.mjs +0 -18
  156. package/esm/form-item/utils.mjs.map +0 -1
  157. package/esm/form-layout/form-layout.d.ts +0 -32
  158. package/esm/form-layout/form-layout.mjs +0 -86
  159. package/esm/form-layout/form-layout.mjs.map +0 -1
  160. package/esm/form-layout/index.d.ts +0 -1
  161. package/esm/form-layout/index.mjs +0 -6
  162. package/esm/form-layout/index.mjs.map +0 -1
  163. package/esm/form-layout/types.d.ts +0 -43
  164. package/esm/form-layout/types.mjs +0 -2
  165. package/esm/form-layout/types.mjs.map +0 -1
  166. package/esm/form-layout/utils.d.ts +0 -57
  167. package/esm/form-layout/utils.mjs +0 -109
  168. package/esm/form-layout/utils.mjs.map +0 -1
  169. package/esm/form-step/form-step-pane.d.ts +0 -2
  170. package/esm/form-step/form-step.d.ts +0 -5
  171. package/esm/form-step/index.d.ts +0 -24
  172. package/esm/form-step/index.mjs +0 -96
  173. package/esm/form-step/index.mjs.map +0 -1
  174. package/esm/form-step/types.d.ts +0 -21
  175. package/esm/form-step/types.mjs +0 -2
  176. package/esm/form-step/types.mjs.map +0 -1
  177. package/esm/form-step/utils.d.ts +0 -11
  178. package/esm/form-step/utils.mjs +0 -66
  179. package/esm/form-step/utils.mjs.map +0 -1
  180. package/esm/form-tab/form-tab.d.ts +0 -7
  181. package/esm/form-tab/hooks.d.ts +0 -7
  182. package/esm/form-tab/hooks.mjs +0 -32
  183. package/esm/form-tab/hooks.mjs.map +0 -1
  184. package/esm/form-tab/index.d.ts +0 -28
  185. package/esm/form-tab/index.mjs +0 -80
  186. package/esm/form-tab/index.mjs.map +0 -1
  187. package/esm/form-tab/types.d.ts +0 -12
  188. package/esm/form-tab/types.mjs +0 -2
  189. package/esm/form-tab/types.mjs.map +0 -1
  190. package/esm/form-tab/utils.d.ts +0 -4
  191. package/esm/form-tab/utils.mjs +0 -14
  192. package/esm/form-tab/utils.mjs.map +0 -1
  193. package/esm/index.d.ts +0 -37
  194. package/esm/index.mjs +0 -81
  195. package/esm/index.mjs.map +0 -1
  196. package/esm/input/index.d.ts +0 -84
  197. package/esm/input/index.mjs +0 -77
  198. package/esm/input/index.mjs.map +0 -1
  199. package/esm/input/input.d.ts +0 -32
  200. package/esm/input-number/index.d.ts +0 -4
  201. package/esm/input-number/index.mjs +0 -30
  202. package/esm/input-number/index.mjs.map +0 -1
  203. package/esm/pagination/components/jumper.d.ts +0 -16
  204. package/esm/pagination/components/jumper.mjs +0 -12
  205. package/esm/pagination/components/jumper.mjs.map +0 -1
  206. package/esm/pagination/components/next.d.ts +0 -42
  207. package/esm/pagination/components/next.mjs +0 -23
  208. package/esm/pagination/components/next.mjs.map +0 -1
  209. package/esm/pagination/components/pager.d.ts +0 -42
  210. package/esm/pagination/components/pager.mjs +0 -23
  211. package/esm/pagination/components/pager.mjs.map +0 -1
  212. package/esm/pagination/components/prev.d.ts +0 -39
  213. package/esm/pagination/components/prev.mjs +0 -22
  214. package/esm/pagination/components/prev.mjs.map +0 -1
  215. package/esm/pagination/components/sizes.d.ts +0 -56
  216. package/esm/pagination/components/sizes.mjs +0 -7
  217. package/esm/pagination/components/sizes.mjs.map +0 -1
  218. package/esm/pagination/components/total.d.ts +0 -8
  219. package/esm/pagination/components/total.mjs +0 -11
  220. package/esm/pagination/components/total.mjs.map +0 -1
  221. package/esm/pagination/pagination.d.ts +0 -128
  222. package/esm/pagination/pagination.mjs +0 -631
  223. package/esm/pagination/pagination.mjs.map +0 -1
  224. package/esm/password/index.d.ts +0 -86
  225. package/esm/password/index.mjs +0 -14
  226. package/esm/password/index.mjs.map +0 -1
  227. package/esm/preview-text/cascader.d.ts +0 -5
  228. package/esm/preview-text/date-picker.d.ts +0 -5
  229. package/esm/preview-text/index.d.ts +0 -102
  230. package/esm/preview-text/index.mjs +0 -321
  231. package/esm/preview-text/index.mjs.map +0 -1
  232. package/esm/preview-text/input.d.ts +0 -28
  233. package/esm/preview-text/preview.d.ts +0 -18
  234. package/esm/preview-text/select.d.ts +0 -5
  235. package/esm/preview-text/time-picker.d.ts +0 -5
  236. package/esm/preview-text/tree.d.ts +0 -22
  237. package/esm/preview-text/utils.d.ts +0 -14
  238. package/esm/preview-text/utils.mjs +0 -16
  239. package/esm/preview-text/utils.mjs.map +0 -1
  240. package/esm/radio/index.d.ts +0 -634
  241. package/esm/radio/index.mjs +0 -80
  242. package/esm/radio/index.mjs.map +0 -1
  243. package/esm/radio/radio-group.d.ts +0 -44
  244. package/esm/reset/index.d.ts +0 -63
  245. package/esm/reset/index.mjs +0 -48
  246. package/esm/reset/index.mjs.map +0 -1
  247. package/esm/reset/reset.d.ts +0 -45
  248. package/esm/select/index.d.ts +0 -142
  249. package/esm/select/index.mjs +0 -132
  250. package/esm/select/index.mjs.map +0 -1
  251. package/esm/select/select.d.ts +0 -50
  252. package/esm/select-table/index.mjs +0 -204
  253. package/esm/select-table/index.mjs.map +0 -1
  254. package/esm/select-table/types.d.ts +0 -14
  255. package/esm/select-table/types.mjs +0 -2
  256. package/esm/select-table/types.mjs.map +0 -1
  257. package/esm/space/index.d.ts +0 -1
  258. package/esm/space/index.mjs +0 -6
  259. package/esm/space/index.mjs.map +0 -1
  260. package/esm/styles/array-base/index.css +0 -1
  261. package/esm/styles/array-cards/index.css +0 -1
  262. package/esm/styles/array-collapse/index.css +0 -1
  263. package/esm/styles/array-items/index.css +0 -1
  264. package/esm/styles/array-list-tabs/index.css +0 -1
  265. package/esm/styles/array-table/index.css +0 -1
  266. package/esm/styles/array-tabs/index.css +0 -1
  267. package/esm/styles/editable/index.css +0 -1
  268. package/esm/styles/form-button-group/index.css +0 -1
  269. package/esm/styles/form-collapse/index.css +0 -1
  270. package/esm/styles/form-grid/index.css +0 -1
  271. package/esm/styles/form-item/index.css +0 -1
  272. package/esm/styles/form-tab/index.css +0 -1
  273. package/esm/styles/preview-text/index.css +0 -1
  274. package/esm/styles/radio/index.css +0 -1
  275. package/esm/styles/select-table/index.css +0 -1
  276. package/esm/submit/index.d.ts +0 -48
  277. package/esm/submit/index.mjs +0 -47
  278. package/esm/submit/index.mjs.map +0 -1
  279. package/esm/submit/submit.d.ts +0 -36
  280. package/esm/switch/index.d.ts +0 -4
  281. package/esm/switch/index.mjs +0 -19
  282. package/esm/switch/index.mjs.map +0 -1
  283. package/esm/time-picker/index.d.ts +0 -4
  284. package/esm/time-picker/index.mjs +0 -21
  285. package/esm/time-picker/index.mjs.map +0 -1
  286. package/esm/time-select/index.d.ts +0 -2
  287. package/esm/time-select/index.mjs +0 -21
  288. package/esm/time-select/index.mjs.map +0 -1
  289. package/esm/transfer/index.d.ts +0 -1509
  290. package/esm/transfer/index.mjs +0 -11
  291. package/esm/transfer/index.mjs.map +0 -1
  292. package/esm/tree/index.d.ts +0 -42
  293. package/esm/tree/index.mjs +0 -105
  294. package/esm/tree/index.mjs.map +0 -1
  295. package/esm/tree/tree.d.ts +0 -20
  296. package/esm/tree/types.d.ts +0 -13
  297. package/esm/tree/types.mjs +0 -2
  298. package/esm/tree/types.mjs.map +0 -1
  299. package/esm/tree/utils.d.ts +0 -45
  300. package/esm/tree/utils.mjs +0 -161
  301. package/esm/tree/utils.mjs.map +0 -1
  302. package/esm/tree-select/index.d.ts +0 -32
  303. package/esm/tree-select/index.mjs +0 -51
  304. package/esm/tree-select/index.mjs.map +0 -1
  305. package/esm/tree-select/tree-select.d.ts +0 -17
  306. package/esm/upload/index.d.ts +0 -889
  307. package/esm/upload/index.mjs +0 -185
  308. package/esm/upload/index.mjs.map +0 -1
  309. package/esm/upload/upload.d.ts +0 -1613
  310. package/esm/vendor/icon.mjs +0 -11
  311. package/esm/vendor/icon.mjs.map +0 -1
  312. package/esm/vendor/lodash.mjs +0 -1400
  313. package/esm/vendor/lodash.mjs.map +0 -1
  314. package/esm/vendor/runtime.mjs +0 -29
  315. package/esm/vendor/runtime.mjs.map +0 -1
  316. package/esm/vendor/shared.esm-bundler.mjs +0 -14
  317. package/esm/vendor/shared.esm-bundler.mjs.map +0 -1
  318. package/esm/vendor/sizes.mjs +0 -27
  319. package/esm/vendor/sizes.mjs.map +0 -1
  320. package/esm/vendor/types.mjs +0 -19
  321. package/esm/vendor/types.mjs.map +0 -1
@@ -1,114 +0,0 @@
1
- import { useArray, useIndex, useKey, useRecord } from './utils';
2
- export declare const ArrayBase: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').IArrayBaseProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
4
- P: {};
5
- B: {};
6
- D: {};
7
- C: {};
8
- M: {};
9
- Defaults: {};
10
- }, Readonly<import('./types').IArrayBaseProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
11
- __isFragment?: never;
12
- __isTeleport?: never;
13
- __isSuspense?: never;
14
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').IArrayBaseProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
15
- $slots: {
16
- default?(_: {}): any;
17
- };
18
- }) & {
19
- Index: {
20
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
21
- P: {};
22
- B: {};
23
- D: {};
24
- C: {};
25
- M: {};
26
- Defaults: {};
27
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
28
- __isFragment?: never;
29
- __isTeleport?: never;
30
- __isSuspense?: never;
31
- } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
32
- $slots: {
33
- default?(_: {
34
- index: number;
35
- }): any;
36
- };
37
- });
38
- Item: {
39
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').IArrayBaseItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
40
- P: {};
41
- B: {};
42
- D: {};
43
- C: {};
44
- M: {};
45
- Defaults: {};
46
- }, Readonly<import('./types').IArrayBaseItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
47
- __isFragment?: never;
48
- __isTeleport?: never;
49
- __isSuspense?: never;
50
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').IArrayBaseItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
51
- $slots: {
52
- default?(_: {}): any;
53
- };
54
- });
55
- SortHandle: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
56
- Addition: import('vue').DefineComponent<import('./types').IArrayBaseAdditionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./types').IArrayBaseAdditionProps> & Readonly<{}>, {
57
- method: "push" | "unshift";
58
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
59
- Remove: {
60
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
61
- P: {};
62
- B: {};
63
- D: {};
64
- C: {};
65
- M: {};
66
- Defaults: {};
67
- }, Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
68
- __isFragment?: never;
69
- __isTeleport?: never;
70
- __isSuspense?: never;
71
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
72
- $slots: {
73
- default?(_: {}): any;
74
- };
75
- });
76
- MoveDown: {
77
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
78
- P: {};
79
- B: {};
80
- D: {};
81
- C: {};
82
- M: {};
83
- Defaults: {};
84
- }, Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
85
- __isFragment?: never;
86
- __isTeleport?: never;
87
- __isSuspense?: never;
88
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
89
- $slots: {
90
- default?(_: {}): any;
91
- };
92
- });
93
- MoveUp: {
94
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
95
- P: {};
96
- B: {};
97
- D: {};
98
- C: {};
99
- M: {};
100
- Defaults: {};
101
- }, Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
102
- __isFragment?: never;
103
- __isTeleport?: never;
104
- __isSuspense?: never;
105
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').IArrayBaseOperationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
106
- $slots: {
107
- default?(_: {}): any;
108
- };
109
- });
110
- useArray: typeof useArray;
111
- useIndex: typeof useIndex;
112
- useKey: typeof useKey;
113
- useRecord: typeof useRecord;
114
- };
@@ -1,225 +0,0 @@
1
- import { defineComponent as u, createBlock as _, createCommentVNode as v, unref as t, openBlock as c, normalizeClass as p, withCtx as M, createTextVNode as y, toDisplayString as k, createElementBlock as b, renderSlot as d, provide as V, useAttrs as g, withModifiers as B } from "vue";
2
- import { ElLink as h } from "element-plus";
3
- import "@formily/reactive";
4
- import "@formily/core";
5
- import "@formily/reactive-vue";
6
- import { useField as z, useFieldSchema as E } from "@formily/vue";
7
- import { composeExport as F } from "../__builtins__/shared/utils.mjs";
8
- import { Plus as H, ArrowDown as N, ArrowUp as P, Delete as K, Rank as L } from "@element-plus/icons-vue";
9
- import { useArray as m, compatibleUnderlineProp as A, prefixCls as f, getDefaultValue as T, useIndex as $, useRecord as j, useKey as q } from "./utils.mjs";
10
- import { ArrayBaseSymbol as G, ItemSymbol as J } from "./symbols.mjs";
11
- import { isArr as C } from "@formily/shared";
12
- import '../styles/array-base/index.css';const O = /* @__PURE__ */ u({
13
- name: "ArrayBaseAddition",
14
- __name: "array-base-addition",
15
- props: {
16
- method: { default: "push" },
17
- defaultValue: null,
18
- title: null
19
- },
20
- setup(s) {
21
- const r = s, n = z(), e = m();
22
- function i() {
23
- var l, o, w, D, x, I, R, S, U;
24
- const a = T(r.defaultValue, e == null ? void 0 : e.schema.value);
25
- r.method === "unshift" ? ((l = e == null ? void 0 : e.field) == null || l.value.unshift(a), (w = (o = e.attrs) == null ? void 0 : o.add) == null || w.call(o, 0)) : ((D = e == null ? void 0 : e.field) == null || D.value.push(a), (U = (x = e.attrs) == null ? void 0 : x.add) == null || U.call(x, ((S = (R = (I = e == null ? void 0 : e.field) == null ? void 0 : I.value) == null ? void 0 : R.value) == null ? void 0 : S.length) - 1));
26
- }
27
- return (a, l) => t(e).field.value.pattern === "editable" ? (c(), _(t(h), {
28
- key: 0,
29
- class: p(`${t(f)}-addition`),
30
- icon: t(H),
31
- underline: t(A)(),
32
- role: "button",
33
- "aria-label": "添加条目",
34
- onClick: i
35
- }, {
36
- default: M(() => [
37
- y(k(t(n).title || r.title), 1)
38
- ]),
39
- _: 1
40
- }, 8, ["class", "icon", "underline"])) : v("", !0);
41
- }
42
- }), Q = /* @__PURE__ */ u({
43
- name: "ArrayBaseIndex",
44
- __name: "array-base-index",
45
- setup(s) {
46
- const r = $();
47
- return (n, e) => (c(), b("span", {
48
- class: p(`${t(f)}-index`)
49
- }, [
50
- d(n.$slots, "default", { index: t(r) }, () => [
51
- y(" #" + k(t(r) + 1) + ". ", 1)
52
- ])
53
- ], 2));
54
- }
55
- }), W = /* @__PURE__ */ u({
56
- name: "ArrayBaseInner",
57
- inheritAttrs: !1,
58
- __name: "array-base-inner",
59
- props: {
60
- disabled: { type: Boolean },
61
- keyMap: null
62
- },
63
- setup(s) {
64
- const r = s, n = z(), e = E();
65
- return V(G, {
66
- field: n,
67
- schema: e,
68
- props: r,
69
- attrs: g(),
70
- keyMap: r.keyMap
71
- }), (i, a) => d(i.$slots, "default");
72
- }
73
- }), X = /* @__PURE__ */ u({
74
- name: "ArrayBaseItem",
75
- __name: "array-base-item",
76
- props: {
77
- index: null,
78
- record: null
79
- },
80
- setup(s) {
81
- return V(J, s), (n, e) => d(n.$slots, "default");
82
- }
83
- }), Y = /* @__PURE__ */ u({
84
- name: "ArrayBaseMoveDown",
85
- __name: "array-base-move-down",
86
- props: {
87
- title: null
88
- },
89
- setup(s) {
90
- const r = s, n = $(), e = m();
91
- function i() {
92
- var a, l;
93
- C(e == null ? void 0 : e.keyMap) && e.keyMap.splice(
94
- n.value + 1,
95
- 0,
96
- e.keyMap.splice(n.value, 1)[0]
97
- ), e == null || e.field.value.moveDown(n.value), (l = (a = e == null ? void 0 : e.attrs) == null ? void 0 : a.moveDown) == null || l.call(a, n.value);
98
- }
99
- return (a, l) => {
100
- var o;
101
- return ((o = t(e)) == null ? void 0 : o.field.value.pattern) === "editable" ? (c(), _(t(h), {
102
- key: 0,
103
- class: p(`${t(f)}-move-down`),
104
- size: "small",
105
- icon: t(N),
106
- underline: t(A)(),
107
- role: "button",
108
- "aria-label": "下移条目",
109
- onClick: B(i, ["stop"])
110
- }, {
111
- default: M(() => [
112
- d(a.$slots, "default", {}, () => [
113
- y(k(r.title), 1)
114
- ])
115
- ]),
116
- _: 3
117
- }, 8, ["class", "icon", "underline"])) : v("", !0);
118
- };
119
- }
120
- }), Z = /* @__PURE__ */ u({
121
- name: "ArrayBaseMoveUp",
122
- __name: "array-base-move-up",
123
- props: {
124
- title: null
125
- },
126
- setup(s) {
127
- const r = s, n = $(), e = m();
128
- function i() {
129
- var a, l;
130
- C(e == null ? void 0 : e.keyMap) && e.keyMap.splice(
131
- n.value - 1,
132
- 0,
133
- e.keyMap.splice(n.value, 1)[0]
134
- ), e == null || e.field.value.moveUp(n.value), (l = (a = e == null ? void 0 : e.attrs) == null ? void 0 : a.moveUp) == null || l.call(a, n.value);
135
- }
136
- return (a, l) => {
137
- var o;
138
- return ((o = t(e)) == null ? void 0 : o.field.value.pattern) === "editable" ? (c(), _(t(h), {
139
- key: 0,
140
- class: p(`${t(f)}-move-up`),
141
- size: "small",
142
- icon: t(P),
143
- underline: t(A)(),
144
- role: "button",
145
- "aria-label": "上移条目",
146
- onClick: B(i, ["stop"])
147
- }, {
148
- default: M(() => [
149
- d(a.$slots, "default", {}, () => [
150
- y(k(r.title), 1)
151
- ])
152
- ]),
153
- _: 3
154
- }, 8, ["class", "icon", "underline"])) : v("", !0);
155
- };
156
- }
157
- }), ee = /* @__PURE__ */ u({
158
- name: "ArrayBaseRemove",
159
- __name: "array-base-remove",
160
- props: {
161
- title: null
162
- },
163
- setup(s) {
164
- const r = s, n = $(), e = m();
165
- function i() {
166
- var a, l, o;
167
- C(e == null ? void 0 : e.keyMap) && ((a = e == null ? void 0 : e.keyMap) == null || a.splice(n.value, 1)), e == null || e.field.value.remove(n.value), (o = (l = e == null ? void 0 : e.attrs) == null ? void 0 : l.remove) == null || o.call(l, n.value);
168
- }
169
- return (a, l) => {
170
- var o;
171
- return ((o = t(e)) == null ? void 0 : o.field.value.pattern) === "editable" ? (c(), _(t(h), {
172
- key: 0,
173
- class: p(`${t(f)}-remove`),
174
- size: "small",
175
- icon: t(K),
176
- underline: t(A)(),
177
- role: "button",
178
- "aria-label": "移除条目",
179
- onClick: B(i, ["stop"])
180
- }, {
181
- default: M(() => [
182
- d(a.$slots, "default", {}, () => [
183
- y(k(r.title), 1)
184
- ])
185
- ]),
186
- _: 3
187
- }, 8, ["class", "icon", "underline"])) : v("", !0);
188
- };
189
- }
190
- }), te = /* @__PURE__ */ u({
191
- name: "ArrayBaseSortHandle",
192
- __name: "array-base-sort-handle",
193
- setup(s) {
194
- const r = m();
195
- return (n, e) => {
196
- var i;
197
- return ((i = t(r).field.value) == null ? void 0 : i.pattern) === "editable" ? (c(), _(t(h), {
198
- key: 0,
199
- class: p(`${t(f)}-sort-handle`),
200
- size: "small",
201
- icon: t(L),
202
- underline: t(A)(),
203
- role: "button",
204
- "aria-label": "拖拽排序",
205
- "aria-dropeffect": "move"
206
- }, null, 8, ["class", "icon", "underline"])) : v("", !0);
207
- };
208
- }
209
- }), me = F(W, {
210
- Index: Q,
211
- Item: X,
212
- SortHandle: te,
213
- Addition: O,
214
- Remove: ee,
215
- MoveDown: Y,
216
- MoveUp: Z,
217
- useArray: m,
218
- useIndex: $,
219
- useKey: q,
220
- useRecord: j
221
- });
222
- export {
223
- me as ArrayBase
224
- };
225
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/array-base/array-base-addition.vue","../../src/array-base/array-base-index.vue","../../src/array-base/array-base-inner.vue","../../src/array-base/array-base-item.vue","../../src/array-base/array-base-move-down.vue","../../src/array-base/array-base-move-up.vue","../../src/array-base/array-base-remove.vue","../../src/array-base/array-base-sort-handle.vue","../../src/array-base/index.ts"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { IArrayBaseAdditionProps } from './types'\nimport { Plus } from '@element-plus/icons-vue'\nimport { useField } from '@formily/vue'\nimport { ElLink } from 'element-plus'\nimport { compatibleUnderlineProp, getDefaultValue, prefixCls, useArray } from './utils'\n\ndefineOptions({\n name: 'ArrayBaseAddition',\n})\n\nconst props = defineProps({\n method: { default: 'push' },\n defaultValue: null,\n title: null\n})\n\nconst self = useField()\nconst base = useArray()\n\nfunction onAddItemClick() {\n const defaultValue = getDefaultValue(props.defaultValue, base?.schema.value)\n if (props.method === 'unshift') {\n base?.field?.value.unshift(defaultValue)\n base.attrs?.add?.(0)\n }\n else {\n base?.field?.value.push(defaultValue)\n base.attrs?.add?.(base?.field?.value?.value?.length - 1)\n }\n}\n</script>\n\n<template>\n <ElLink\n v-if=\"base.field.value.pattern === 'editable'\"\n :class=\"`${prefixCls}-addition`\"\n :icon=\"Plus\"\n :underline=\"compatibleUnderlineProp()\"\n role=\"button\"\n aria-label=\"添加条目\"\n @click=\"onAddItemClick\"\n >\n {{ self.title || props.title }}\n </ElLink>\n</template>\n","<script lang=\"ts\" setup>\nimport { prefixCls, useIndex } from './utils'\n\ndefineOptions({\n name: 'ArrayBaseIndex',\n})\n\nconst index = useIndex()\n</script>\n\n<template>\n <span :class=\"`${prefixCls}-index`\">\n <slot :index=\"index\">\n #{{ index + 1 }}.\n </slot>\n </span>\n</template>\n","<script lang=\"ts\" setup>\nimport type { ArrayField } from '@formily/core'\nimport type { IArrayBaseProps } from './types'\nimport { useField, useFieldSchema } from '@formily/vue'\nimport { provide, useAttrs } from 'vue'\nimport { ArrayBaseSymbol } from './symbols'\n\ndefineOptions({\n name: 'ArrayBaseInner',\n inheritAttrs: false,\n})\n\nconst props = defineProps({\n disabled: { type: Boolean },\n keyMap: null\n})\n\nconst field = useField<ArrayField>()\nconst schema = useFieldSchema()\n\nprovide(ArrayBaseSymbol, {\n field,\n schema,\n props,\n attrs: useAttrs(),\n keyMap: props.keyMap,\n})\n</script>\n\n<template>\n <slot />\n</template>\n","<script lang=\"ts\" setup>\nimport type { IArrayBaseItemProps } from './types'\nimport { provide } from 'vue'\nimport { ItemSymbol } from './symbols'\n\ndefineOptions({\n name: 'ArrayBaseItem',\n})\n\nconst props = defineProps({\n index: null,\n record: null\n})\n\nprovide(ItemSymbol, props)\n</script>\n\n<template>\n <slot />\n</template>\n","<script lang=\"ts\" setup>\nimport type { IArrayBaseOperationProps } from './types'\nimport { ArrowDown } from '@element-plus/icons-vue'\nimport { isArr } from '@formily/shared'\nimport { ElLink } from 'element-plus'\nimport { compatibleUnderlineProp, prefixCls, useArray, useIndex } from './utils'\n\ndefineOptions({\n name: 'ArrayBaseMoveDown',\n})\n\nconst props = defineProps({\n title: null\n})\n\nconst indexRef = useIndex()\nconst base = useArray()\n\nfunction handleClick() {\n if (isArr(base?.keyMap)) {\n base.keyMap.splice(\n indexRef.value + 1,\n 0,\n base.keyMap.splice(indexRef.value, 1)[0],\n )\n }\n base?.field.value.moveDown(indexRef.value as number)\n base?.attrs?.moveDown?.(indexRef.value as number)\n}\n</script>\n\n<template>\n <ElLink\n v-if=\"base?.field.value.pattern === 'editable'\"\n :class=\"`${prefixCls}-move-down`\"\n size=\"small\"\n :icon=\"ArrowDown\"\n :underline=\"compatibleUnderlineProp()\"\n role=\"button\"\n aria-label=\"下移条目\"\n @click.stop=\"handleClick\"\n >\n <slot>\n {{ props.title }}\n </slot>\n </ElLink>\n</template>\n","<script lang=\"ts\" setup>\nimport type { IArrayBaseOperationProps } from './types'\nimport { ArrowUp } from '@element-plus/icons-vue'\nimport { isArr } from '@formily/shared'\nimport { ElLink } from 'element-plus'\nimport { compatibleUnderlineProp, prefixCls, useArray, useIndex } from './utils'\n\ndefineOptions({\n name: 'ArrayBaseMoveUp',\n})\n\nconst props = defineProps({\n title: null\n})\n\nconst indexRef = useIndex()\nconst base = useArray()\n\nfunction handleClick() {\n if (isArr(base?.keyMap)) {\n base.keyMap.splice(\n indexRef.value - 1,\n 0,\n base.keyMap.splice(indexRef.value, 1)[0],\n )\n }\n base?.field.value.moveUp(indexRef.value as number)\n base?.attrs?.moveUp?.(indexRef.value as number)\n}\n</script>\n\n<template>\n <ElLink\n v-if=\"base?.field.value.pattern === 'editable'\"\n :class=\"`${prefixCls}-move-up`\"\n size=\"small\"\n :icon=\"ArrowUp\"\n :underline=\"compatibleUnderlineProp()\"\n role=\"button\"\n aria-label=\"上移条目\"\n @click.stop=\"handleClick\"\n >\n <slot>\n {{ props.title }}\n </slot>\n </ElLink>\n</template>\n","<script lang=\"ts\" setup>\nimport type { IArrayBaseOperationProps } from './types'\nimport { Delete } from '@element-plus/icons-vue'\nimport { isArr } from '@formily/shared'\nimport { ElLink } from 'element-plus'\nimport { compatibleUnderlineProp, prefixCls, useArray, useIndex } from './utils'\n\ndefineOptions({\n name: 'ArrayBaseRemove',\n})\n\nconst props = defineProps({\n title: null\n})\n\nconst indexRef = useIndex()\nconst base = useArray()\n\nfunction handleClick() {\n if (isArr(base?.keyMap)) {\n base?.keyMap?.splice(indexRef.value, 1)\n }\n\n base?.field.value.remove(indexRef.value as number)\n base?.attrs?.remove?.(indexRef.value as number)\n}\n</script>\n\n<template>\n <ElLink\n v-if=\"base?.field.value.pattern === 'editable'\"\n :class=\"`${prefixCls}-remove`\"\n size=\"small\"\n :icon=\"Delete\"\n :underline=\"compatibleUnderlineProp()\"\n role=\"button\"\n aria-label=\"移除条目\"\n @click.stop=\"handleClick\"\n >\n <slot>\n {{ props.title }}\n </slot>\n </ElLink>\n</template>\n","<script lang=\"ts\" setup>\nimport { Rank } from '@element-plus/icons-vue'\nimport { ElLink } from 'element-plus'\nimport { compatibleUnderlineProp, prefixCls, useArray } from './utils'\n\ndefineOptions({\n name: 'ArrayBaseSortHandle',\n})\n\nconst array = useArray()\n</script>\n\n<template>\n <ElLink\n v-if=\"array.field.value?.pattern === 'editable'\"\n :class=\"`${prefixCls}-sort-handle`\"\n size=\"small\"\n :icon=\"Rank\"\n :underline=\"compatibleUnderlineProp()\"\n role=\"button\"\n aria-label=\"拖拽排序\"\n aria-dropeffect=\"move\"\n />\n</template>\n","import { composeExport } from '../__builtins__/shared'\nimport ArrayBaseAddition from './array-base-addition.vue'\nimport ArrayBaseIndex from './array-base-index.vue'\nimport ArrayBaseInner from './array-base-inner.vue'\nimport ArrayBaseItem from './array-base-item.vue'\nimport ArrayBaseMoveDown from './array-base-move-down.vue'\nimport ArrayBaseMoveUp from './array-base-move-up.vue'\nimport ArrayBaseRemove from './array-base-remove.vue'\nimport ArrayBaseSortHandle from './array-base-sort-handle.vue'\nimport { useArray, useIndex, useKey, useRecord } from './utils'\nimport './style.scss'\n\nexport const ArrayBase = composeExport(ArrayBaseInner, {\n Index: ArrayBaseIndex,\n Item: ArrayBaseItem,\n SortHandle: ArrayBaseSortHandle,\n Addition: ArrayBaseAddition,\n Remove: ArrayBaseRemove,\n MoveDown: ArrayBaseMoveDown,\n MoveUp: ArrayBaseMoveUp,\n useArray,\n useIndex,\n useKey,\n useRecord,\n})\n"],"names":["props","__props","self","useField","base","useArray","onAddItemClick","defaultValue","getDefaultValue","_a","_c","_b","_d","_i","_e","_h","_g","_f","_unref","_createBlock","ElLink","prefixCls","Plus","compatibleUnderlineProp","_createTextVNode","_toDisplayString","index","useIndex","_createElementBlock","_renderSlot","_ctx","field","schema","useFieldSchema","provide","ArrayBaseSymbol","useAttrs","ItemSymbol","indexRef","handleClick","isArr","ArrowDown","ArrowUp","Delete","array","Rank","ArrayBase","composeExport","ArrayBaseInner","ArrayBaseIndex","ArrayBaseItem","ArrayBaseSortHandle","ArrayBaseAddition","ArrayBaseRemove","ArrayBaseMoveDown","ArrayBaseMoveUp","useKey","useRecord"],"mappings":";;;;;;;;;;;;;;;;;;;;AAWA,UAAMA,IAAQC,GAMRC,IAAOC,EAAA,GACPC,IAAOC,EAAA;AAEb,aAASC,IAAiB;;AACxB,YAAMC,IAAeC,EAAgBR,EAAM,cAAcI,KAAA,gBAAAA,EAAM,OAAO,KAAK;A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EAAM,MAAM,MAAM,aAAO,mBADjCC,EAaSD,EAAAE,CAAA,GAAA;AAAA;QAXN,YAAUF,EAAAG,CAAA,CAAS,SAAA;AAAA,QACpB,MAAK;AAAA,QACJ,MAAMH,EAAAyB,CAAA;AAAA,QACN,WAAWzB,EAAAK,CAAA,EAAA;AAAA,QACZ,MAAK;AAAA,QACL,cAAW;AAAA,QACV,WAAYgB,GAAW,CAAA,MAAA,CAAA;AAAA,MAAA;mBAExB,MAEO;AAAA,UAFPV,EAEOC,yBAFP,MAEO;AAAA,YADFN,EAAAC,EAAAzB,EAAM,KAAK,GAAA,CAAA;AAAA,UAAA;;;;;;;;;;AC/BpB,UAAM4C,IAAQvC,EAAA;;;AAKJ,eAAAa,IAAAA,EAAA0B,CAAA,EAAM,MAAM,UAAZ1B,gBAAAA,EAAmB,aAAO,mBADlCC,EASED,EAAAE,CAAA,GAAA;AAAA;QAPC,YAAUF,EAAAG,CAAA,CAAS,cAAA;AAAA,QACpB,MAAK;AAAA,QACJ,MAAMH,EAAA2B,CAAA;AAAA,QACN,WAAW3B,EAAAK,CAAA,EAAA;AAAA,QACZ,MAAK;AAAA,QACL,cAAW;AAAA,QACX,mBAAgB;AAAA,MAAA;;;ICTPuB,KAAYC,EAAcC,GAAgB;AAAA,EACrD,OAAOC;AAAAA,EACP,MAAMC;AAAAA,EACN,YAAYC;AAAAA,EACZ,UAAUC;AAAAA,EACV,QAAQC;AAAAA,EACR,UAAUC;AAAAA,EACV,QAAQC;AAAAA,EACR,UAAAlD;AAAA,EACA,UAAAsB;AAAA,EACA,QAAA6B;AAAA,EACA,WAAAC;AACF,CAAC;"}
@@ -1,4 +0,0 @@
1
- import { InjectionKey } from 'vue';
2
- import { IArrayBaseContext, IArrayBaseItemProps } from './types';
3
- export declare const ArrayBaseSymbol: InjectionKey<IArrayBaseContext>;
4
- export declare const ItemSymbol: InjectionKey<IArrayBaseItemProps>;
@@ -1,6 +0,0 @@
1
- const o = Symbol("ArrayBaseContext"), t = Symbol("ItemContext");
2
- export {
3
- o as ArrayBaseSymbol,
4
- t as ItemSymbol
5
- };
6
- //# sourceMappingURL=symbols.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"symbols.mjs","sources":["../../src/array-base/symbols.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\nimport type { IArrayBaseContext, IArrayBaseItemProps } from './types'\n\nexport const ArrayBaseSymbol: InjectionKey<IArrayBaseContext> = Symbol('ArrayBaseContext')\nexport const ItemSymbol: InjectionKey<IArrayBaseItemProps> = Symbol('ItemContext')\n"],"names":["ArrayBaseSymbol","ItemSymbol"],"mappings":"AAGO,MAAMA,IAAmD,OAAO,kBAAkB,GAC5EC,IAAgD,OAAO,aAAa;"}
@@ -1,28 +0,0 @@
1
- import { ArrayField } from '@formily/core';
2
- import { Schema } from '@formily/json-schema';
3
- import { Ref } from 'vue';
4
- export interface IArrayBaseAdditionProps {
5
- method?: 'push' | 'unshift';
6
- defaultValue?: any;
7
- title?: string;
8
- }
9
- export interface IArrayBaseOperationProps {
10
- title?: string;
11
- }
12
- export interface IArrayBaseProps {
13
- disabled?: boolean;
14
- keyMap?: WeakMap<Record<string, unknown>, string> | string[];
15
- }
16
- export interface IArrayBaseItemProps {
17
- index: number;
18
- record: any;
19
- }
20
- export interface IArrayBaseContext {
21
- field: Ref<ArrayField>;
22
- schema: Ref<Schema>;
23
- props: IArrayBaseProps;
24
- attrs: {
25
- [key in string]?: any;
26
- };
27
- keyMap?: WeakMap<Record<string, unknown>, string> | string[] | null;
28
- }
@@ -1,2 +0,0 @@
1
-
2
- //# sourceMappingURL=types.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- import { ISchema, Schema } from '@formily/json-schema';
2
- export declare const prefixCls = "formily-element-plus-array-base";
3
- export declare function compatibleUnderlineProp(): false | "never";
4
- export declare function useArray(): import('./types').IArrayBaseContext;
5
- export declare function useIndex(): import('vue').Ref<number, number>;
6
- export declare function useRecord(): import('vue').Ref<any, any>;
7
- export declare function useKey(schema: Schema): {
8
- keyMap: string[] | WeakMap<Record<string, unknown>, string>;
9
- getKey: (record: any, index?: number) => string;
10
- };
11
- export declare function getDefaultValue(defaultValue: any, schema: Schema): any;
12
- export declare function getArrayItemSchema(schema: ISchema, index: number): ISchema;
13
- export declare function isAdditionComponent(schema: ISchema): boolean;
14
- export declare function isIndexComponent(schema: ISchema): boolean;
15
- export declare function isRemoveComponent(schema: ISchema): boolean;
16
- export declare function isMoveUpComponent(schema: ISchema): boolean;
17
- export declare function isMoveDownComponent(schema: ISchema): boolean;
18
- export declare function isOperationComponent(schema: ISchema): boolean;
@@ -1,88 +0,0 @@
1
- import { isArr as l, uid as u, isValid as x, clone as m } from "@formily/shared";
2
- import { version as d } from "element-plus";
3
- import { toRefs as f, inject as i } from "vue";
4
- import { stylePrefix as s } from "../__builtins__/configs/index.mjs";
5
- import "@formily/reactive";
6
- import { lt as A } from "../__builtins__/shared/simple-version-compare.mjs";
7
- import "@formily/core";
8
- import "@formily/reactive-vue";
9
- import "@formily/vue";
10
- import { ItemSymbol as p, ArrayBaseSymbol as b } from "./symbols.mjs";
11
- const K = `${s}-array-base`;
12
- function P() {
13
- /* istanbul ignore next -- @preserve */
14
- return A(d, "2.9.9") ? !1 : "never";
15
- }
16
- function W() {
17
- return i(b, null);
18
- }
19
- function B() {
20
- const { index: n } = f(i(p));
21
- return n;
22
- }
23
- /* istanbul ignore next -- @preserve */
24
- function V() {
25
- const { record: n } = f(
26
- i(p)
27
- );
28
- return n;
29
- }
30
- const y = (n) => {
31
- var t, r;
32
- return Array.isArray(n == null ? void 0 : n.items) ? y(n.items[0]) : ((t = n == null ? void 0 : n.items) == null ? void 0 : t.type) === "array" || ((r = n == null ? void 0 : n.items) == null ? void 0 : r.type) === "object";
33
- };
34
- function q(n) {
35
- const t = y(n);
36
- let r = null;
37
- return r = t ? /* @__PURE__ */ new WeakMap() : [], {
38
- keyMap: r,
39
- getKey: (o, e) => r instanceof WeakMap ? (r.has(o) || r.set(o, u()), `${r.get(o)}`) : (r && !r[e] && (r[e] = u()), `${r[e]}`)
40
- };
41
- }
42
- function v(n, t) {
43
- var r;
44
- return x(n) ? m(n) : Array.isArray(t == null ? void 0 : t.items) ? v(n, t.items[0]) : ((r = t == null ? void 0 : t.items) == null ? void 0 : r.type) === "object" ? {} : null;
45
- }
46
- function z(n, t) {
47
- return l(n.items) ? n.items[t] ?? n.items[0] : n.items;
48
- }
49
- function O(n) {
50
- var t;
51
- return ((t = n["x-component"]) == null ? void 0 : t.indexOf("Addition")) > -1;
52
- }
53
- function E(n) {
54
- var t;
55
- return ((t = n["x-component"]) == null ? void 0 : t.indexOf("Index")) > -1;
56
- }
57
- function C(n) {
58
- var t;
59
- return ((t = n["x-component"]) == null ? void 0 : t.indexOf("Remove")) > -1;
60
- }
61
- function M(n) {
62
- var t;
63
- return ((t = n["x-component"]) == null ? void 0 : t.indexOf("MoveUp")) > -1;
64
- }
65
- function R(n) {
66
- var t;
67
- return ((t = n["x-component"]) == null ? void 0 : t.indexOf("MoveDown")) > -1;
68
- }
69
- function F(n) {
70
- return O(n) || C(n) || R(n) || M(n);
71
- }
72
- export {
73
- P as compatibleUnderlineProp,
74
- z as getArrayItemSchema,
75
- v as getDefaultValue,
76
- O as isAdditionComponent,
77
- E as isIndexComponent,
78
- R as isMoveDownComponent,
79
- M as isMoveUpComponent,
80
- F as isOperationComponent,
81
- C as isRemoveComponent,
82
- K as prefixCls,
83
- W as useArray,
84
- B as useIndex,
85
- q as useKey,
86
- V as useRecord
87
- };
88
- //# sourceMappingURL=utils.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.mjs","sources":["../../src/array-base/utils.ts"],"sourcesContent":["import type { ISchema, Schema } from '@formily/json-schema'\nimport type { IArrayBaseItemProps } from './types'\nimport { clone, isArr, isValid, uid } from '@formily/shared'\nimport { version } from 'element-plus'\nimport { inject, toRefs } from 'vue'\nimport { lt, stylePrefix } from '../__builtins__'\nimport { ArrayBaseSymbol, ItemSymbol } from './symbols'\n\nexport const prefixCls = `${stylePrefix}-array-base`\n\nexport function compatibleUnderlineProp() {\n /* istanbul ignore next -- @preserve */\n return lt(version, '2.9.9') ? false : 'never'\n}\n\nexport function useArray() {\n return inject(ArrayBaseSymbol, null)\n}\n\nexport function useIndex() {\n const { index: indexRef } = toRefs(inject(ItemSymbol) as IArrayBaseItemProps)\n return indexRef\n}\n\n/* istanbul ignore next -- @preserve */\nexport function useRecord() {\n const { record: recordRef } = toRefs(\n inject(ItemSymbol) as IArrayBaseItemProps,\n )\n return recordRef\n}\n\nconst isObjectValue: (schema: Schema) => boolean = (schema: Schema) => {\n if (Array.isArray(schema?.items))\n return isObjectValue(schema.items[0])\n\n if (schema?.items?.type === 'array' || schema?.items?.type === 'object') {\n return true\n }\n return false\n}\n\nexport function useKey(schema: Schema) {\n const isObject = isObjectValue(schema)\n let keyMap: WeakMap<Record<string, unknown>, string> | string[] | null = null\n\n keyMap = isObject ? new WeakMap() : []\n\n return {\n keyMap,\n getKey: (record: any, index?: number) => {\n if (keyMap instanceof WeakMap) {\n if (!keyMap.has(record)) {\n keyMap.set(record, uid())\n }\n return `${keyMap.get(record)}`\n }\n\n if (keyMap && !keyMap[index]) {\n keyMap[index] = uid()\n }\n return `${keyMap[index]}`\n },\n }\n}\n\nexport function getDefaultValue(defaultValue: any, schema: Schema): any {\n if (isValid(defaultValue))\n return clone(defaultValue)\n if (Array.isArray(schema?.items))\n return getDefaultValue(defaultValue, schema.items[0])\n if (schema?.items?.type === 'object')\n return {}\n return null\n}\n\nexport function getArrayItemSchema(schema: ISchema, index: number): ISchema {\n return isArr(schema.items) ? schema.items[index] ?? schema.items[0] : schema.items\n}\n\nexport function isAdditionComponent(schema: ISchema) {\n return schema['x-component']?.indexOf('Addition') > -1\n}\n\nexport function isIndexComponent(schema: ISchema) {\n return schema['x-component']?.indexOf('Index') > -1\n}\n\nexport function isRemoveComponent(schema: ISchema) {\n return schema['x-component']?.indexOf('Remove') > -1\n}\n\nexport function isMoveUpComponent(schema: ISchema) {\n return schema['x-component']?.indexOf('MoveUp') > -1\n}\n\nexport function isMoveDownComponent(schema: ISchema) {\n return schema['x-component']?.indexOf('MoveDown') > -1\n}\n\nexport function isOperationComponent(schema: ISchema) {\n return (\n isAdditionComponent(schema)\n || isRemoveComponent(schema)\n || isMoveDownComponent(schema)\n || isMoveUpComponent(schema)\n )\n}\n"],"names":["prefixCls","stylePrefix","compatibleUnderlineProp","lt","version","useArray","inject","ArrayBaseSymbol","useIndex","indexRef","toRefs","ItemSymbol","useRecord","recordRef","isObjectValue","schema","_a","_b","useKey","isObject","keyMap","record","index","uid","getDefaultValue","defaultValue","isValid","clone","getArrayItemSchema","isArr","isAdditionComponent","isIndexComponent","isRemoveComponent","isMoveUpComponent","isMoveDownComponent","isOperationComponent"],"mappings":";;;;;;;;;;AAQO,MAAMA,IAAY,GAAGC,CAAW;AAEhC,SAASC,IAA0B;AAAA,EAAA;AAExC,SAAOC,EAAGC,GAAS,OAAO,IAAI,KAAQ;AACxC;AAEO,SAASC,IAAW;AACzB,SAAOC,EAAOC,GAAiB,IAAI;AACrC;AAEO,SAASC,IAAW;AACzB,QAAM,EAAE,OAAOC,EAAA,IAAaC,EAAOJ,EAAOK,CAAU,CAAwB;AAC5E,SAAOF;AACT;AAEA;AACO,SAASG,IAAY;AAC1B,QAAM,EAAE,QAAQC,EAAA,IAAcH;AAAA,IAC5BJ,EAAOK,CAAU;AAAA,EAAA;AAEnB,SAAOE;AACT;AAEA,MAAMC,IAA6C,CAACC,MAAmB;;AACrE,SAAI,MAAM,QAAQA,KAAA,gBAAAA,EAAQ,KAAK,IACtBD,EAAcC,EAAO,MAAM,CAAC,CAAC,MAElCC,IAAAD,KAAA,gBAAAA,EAAQ,UAAR,gBAAAC,EAAe,UAAS,aAAWC,IAAAF,KAAA,gBAAAA,EAAQ,UAAR,gBAAAE,EAAe,UAAS;AAIjE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Y;AACpD;AAEO,SAASkB,EAAoBnB,GAAiB;;AACnD,WAAOC,IAAAD,EAAO,aAAa,MAApB,gBAAAC,EAAuB,QAAQ,eAAc;AACtD;AAEO,SAASmB,EAAqBpB,GAAiB;AACpD,SACEe,EAAoBf,CAAM,KACvBiB,EAAkBjB,CAAM,KACxBmB,EAAoBnB,CAAM,KAC1BkB,EAAkBlB,CAAM;AAE/B;"}
@@ -1,13 +0,0 @@
1
- type __VLS_Props = {
2
- title?: string;
3
- header?: string;
4
- footer?: string;
5
- bodyStyle?: Record<string, string>;
6
- bodyClass?: string;
7
- shadow?: 'always' | 'hover' | 'never';
8
- value: any;
9
- };
10
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
- shadow: "always" | "hover" | "never";
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;