@silver-formily/element-plus 3.0.2 → 3.0.3

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 (539) hide show
  1. package/README.en-US.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/__builtins__/configs/index.mjs +6 -5
  4. package/esm/__builtins__/configs/index.mjs.map +1 -1
  5. package/esm/__builtins__/shared/load-config-provider.mjs +19 -11
  6. package/esm/__builtins__/shared/load-config-provider.mjs.map +1 -1
  7. package/esm/__builtins__/shared/loading.mjs +50 -46
  8. package/esm/__builtins__/shared/loading.mjs.map +1 -1
  9. package/esm/__builtins__/shared/simple-version-compare.mjs +16 -15
  10. package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
  11. package/esm/__builtins__/shared/transform-component.mjs +30 -31
  12. package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
  13. package/esm/__builtins__/shared/use-enter-submit.mjs +74 -62
  14. package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -1
  15. package/esm/__builtins__/shared/utils.mjs +44 -32
  16. package/esm/__builtins__/shared/utils.mjs.map +1 -1
  17. package/esm/_virtual/_/plugin-vue/export-helper.mjs +8 -0
  18. package/esm/array-base/array-base-addition.mjs +53 -0
  19. package/esm/array-base/array-base-addition.mjs.map +1 -0
  20. package/esm/array-base/array-base-index.mjs +17 -0
  21. package/esm/array-base/array-base-index.mjs.map +1 -0
  22. package/esm/array-base/array-base-inner.mjs +30 -0
  23. package/esm/array-base/array-base-inner.mjs.map +1 -0
  24. package/esm/array-base/array-base-item.mjs +21 -0
  25. package/esm/array-base/array-base-item.mjs.map +1 -0
  26. package/esm/array-base/array-base-move-down.mjs +45 -0
  27. package/esm/array-base/array-base-move-down.mjs.map +1 -0
  28. package/esm/array-base/array-base-move-up.mjs +45 -0
  29. package/esm/array-base/array-base-move-up.mjs.map +1 -0
  30. package/esm/array-base/array-base-remove.mjs +45 -0
  31. package/esm/array-base/array-base-remove.mjs.map +1 -0
  32. package/esm/array-base/array-base-sort-handle.mjs +33 -0
  33. package/esm/array-base/array-base-sort-handle.mjs.map +1 -0
  34. package/esm/array-base/index.mjs +28 -208
  35. package/esm/array-base/index.mjs.map +1 -1
  36. package/esm/array-base/style.css +36 -0
  37. package/esm/array-base/symbols.mjs +7 -6
  38. package/esm/array-base/symbols.mjs.map +1 -1
  39. package/esm/array-base/types.d.ts +23 -24
  40. package/esm/array-base/utils.d.ts +11 -17
  41. package/esm/array-base/utils.mjs +58 -60
  42. package/esm/array-base/utils.mjs.map +1 -1
  43. package/esm/array-cards/array-cards.mjs +109 -0
  44. package/esm/array-cards/array-cards.mjs.map +1 -0
  45. package/esm/array-cards/index.d.ts +120 -113
  46. package/esm/array-cards/index.mjs +19 -118
  47. package/esm/array-cards/index.mjs.map +1 -1
  48. package/esm/array-cards/style.css +20 -0
  49. package/esm/array-collapse/array-collapse-item.mjs +74 -0
  50. package/esm/array-collapse/array-collapse-item.mjs.map +1 -0
  51. package/esm/array-collapse/array-collapse.mjs +117 -0
  52. package/esm/array-collapse/array-collapse.mjs.map +1 -0
  53. package/esm/array-collapse/index.d.ts +137 -129
  54. package/esm/array-collapse/index.mjs +21 -174
  55. package/esm/array-collapse/index.mjs.map +1 -1
  56. package/esm/array-collapse/style.css +20 -0
  57. package/esm/array-collapse/utils.mjs +7 -12
  58. package/esm/array-collapse/utils.mjs.map +1 -1
  59. package/esm/array-items/array-items-item.mjs +22 -0
  60. package/esm/array-items/array-items-item.mjs.map +1 -0
  61. package/esm/array-items/array-items.mjs +88 -0
  62. package/esm/array-items/array-items.mjs.map +1 -0
  63. package/esm/array-items/index.d.ts +132 -125
  64. package/esm/array-items/index.mjs +21 -107
  65. package/esm/array-items/index.mjs.map +1 -1
  66. package/esm/array-items/style.css +22 -0
  67. package/esm/array-list-tabs/array-list-tabs.mjs +191 -0
  68. package/esm/array-list-tabs/array-list-tabs.mjs.map +1 -0
  69. package/esm/array-list-tabs/index.d.ts +80 -74
  70. package/esm/array-list-tabs/index.mjs +12 -186
  71. package/esm/array-list-tabs/index.mjs.map +1 -1
  72. package/esm/array-list-tabs/style.css +90 -0
  73. package/esm/array-list-tabs/utils.mjs +11 -15
  74. package/esm/array-list-tabs/utils.mjs.map +1 -1
  75. package/esm/array-table/array-table.mjs +236 -0
  76. package/esm/array-table/array-table.mjs.map +1 -0
  77. package/esm/array-table/index.d.ts +106 -1597
  78. package/esm/array-table/index.mjs +24 -223
  79. package/esm/array-table/index.mjs.map +1 -1
  80. package/esm/array-table/style.css +23 -0
  81. package/esm/array-table/types.d.ts +11 -6
  82. package/esm/array-table/utils.mjs +14 -22
  83. package/esm/array-table/utils.mjs.map +1 -1
  84. package/esm/array-tabs/array-tabs.mjs +92 -0
  85. package/esm/array-tabs/array-tabs.mjs.map +1 -0
  86. package/esm/array-tabs/index.d.ts +7 -2
  87. package/esm/array-tabs/index.mjs +8 -84
  88. package/esm/array-tabs/index.mjs.map +1 -1
  89. package/esm/array-tabs/style.css +7 -0
  90. package/esm/autocomplete/autocomplete.mjs +99 -0
  91. package/esm/autocomplete/autocomplete.mjs.map +1 -0
  92. package/esm/autocomplete/index.d.ts +5 -639
  93. package/esm/autocomplete/index.mjs +14 -113
  94. package/esm/autocomplete/index.mjs.map +1 -1
  95. package/esm/cascader/cascader.mjs +32 -0
  96. package/esm/cascader/cascader.mjs.map +1 -0
  97. package/esm/cascader/index.d.ts +5 -28
  98. package/esm/cascader/index.mjs +13 -50
  99. package/esm/cascader/index.mjs.map +1 -1
  100. package/esm/checkbox/checkbox-group.mjs +64 -0
  101. package/esm/checkbox/checkbox-group.mjs.map +1 -0
  102. package/esm/checkbox/index.d.ts +5 -817
  103. package/esm/checkbox/index.mjs +16 -69
  104. package/esm/checkbox/index.mjs.map +1 -1
  105. package/esm/color-picker/index.d.ts +8 -210
  106. package/esm/color-picker/index.mjs +13 -17
  107. package/esm/color-picker/index.mjs.map +1 -1
  108. package/esm/color-picker-panel/index.d.ts +8 -129
  109. package/esm/color-picker-panel/index.mjs +16 -25
  110. package/esm/color-picker-panel/index.mjs.map +1 -1
  111. package/esm/date-picker/index.d.ts +5 -443
  112. package/esm/date-picker/index.mjs +21 -29
  113. package/esm/date-picker/index.mjs.map +1 -1
  114. package/esm/date-picker/utils.mjs +21 -26
  115. package/esm/date-picker/utils.mjs.map +1 -1
  116. package/esm/date-picker-panel/index.d.ts +5 -143
  117. package/esm/date-picker-panel/index.mjs +23 -30
  118. package/esm/date-picker-panel/index.mjs.map +1 -1
  119. package/esm/editable/editable-popover.mjs +95 -0
  120. package/esm/editable/editable-popover.mjs.map +1 -0
  121. package/esm/editable/editable.mjs +113 -0
  122. package/esm/editable/editable.mjs.map +1 -0
  123. package/esm/editable/index.d.ts +10 -150
  124. package/esm/editable/index.mjs +17 -219
  125. package/esm/editable/index.mjs.map +1 -1
  126. package/esm/editable/style.css +29 -0
  127. package/esm/form/form.mjs +50 -70
  128. package/esm/form/form.mjs.map +1 -1
  129. package/esm/form/form.vue.d.ts +48 -0
  130. package/esm/form/index.d.ts +1 -1
  131. package/esm/form-button-group/form-button-group-sticky.mjs +37 -0
  132. package/esm/form-button-group/form-button-group-sticky.mjs.map +1 -0
  133. package/esm/form-button-group/form-button-group.mjs +71 -0
  134. package/esm/form-button-group/form-button-group.mjs.map +1 -0
  135. package/esm/form-button-group/index.d.ts +94 -87
  136. package/esm/form-button-group/index.mjs +10 -96
  137. package/esm/form-button-group/index.mjs.map +1 -1
  138. package/esm/form-button-group/style.css +281 -0
  139. package/esm/form-button-group/utils.mjs +7 -12
  140. package/esm/form-button-group/utils.mjs.map +1 -1
  141. package/esm/form-collapse/form-collapse.mjs +74 -0
  142. package/esm/form-collapse/form-collapse.mjs.map +1 -0
  143. package/esm/form-collapse/index.d.ts +43 -39
  144. package/esm/form-collapse/index.mjs +20 -86
  145. package/esm/form-collapse/index.mjs.map +1 -1
  146. package/esm/form-collapse/style.css +7 -0
  147. package/esm/form-collapse/utils.d.ts +21 -27
  148. package/esm/form-collapse/utils.mjs +48 -46
  149. package/esm/form-collapse/utils.mjs.map +1 -1
  150. package/esm/form-dialog/dialog-content.mjs +118 -0
  151. package/esm/form-dialog/dialog-content.mjs.map +1 -0
  152. package/esm/form-dialog/index.d.ts +8 -4
  153. package/esm/form-dialog/index.mjs +142 -211
  154. package/esm/form-dialog/index.mjs.map +1 -1
  155. package/esm/form-dialog/types.d.ts +38 -32
  156. package/esm/form-drawer/drawer-content.mjs +118 -0
  157. package/esm/form-drawer/drawer-content.mjs.map +1 -0
  158. package/esm/form-drawer/index.d.ts +8 -4
  159. package/esm/form-drawer/index.mjs +142 -204
  160. package/esm/form-drawer/index.mjs.map +1 -1
  161. package/esm/form-drawer/types.d.ts +38 -32
  162. package/esm/form-grid/form-grid-column.mjs +28 -0
  163. package/esm/form-grid/form-grid-column.mjs.map +1 -0
  164. package/esm/form-grid/form-grid.mjs +69 -0
  165. package/esm/form-grid/form-grid.mjs.map +1 -0
  166. package/esm/form-grid/hooks.mjs +7 -7
  167. package/esm/form-grid/hooks.mjs.map +1 -1
  168. package/esm/form-grid/index.d.ts +5 -2
  169. package/esm/form-grid/index.mjs +10 -109
  170. package/esm/form-grid/index.mjs.map +1 -1
  171. package/esm/form-grid/style.css +128 -0
  172. package/esm/form-item/form-item.mjs +308 -0
  173. package/esm/form-item/form-item.mjs.map +1 -0
  174. package/esm/form-item/form-item.vue.d.ts +29 -0
  175. package/esm/form-item/index.d.ts +9 -77
  176. package/esm/form-item/index.mjs +28 -332
  177. package/esm/form-item/index.mjs.map +1 -1
  178. package/esm/form-item/style.css +263 -0
  179. package/esm/form-item/types.d.ts +34 -29
  180. package/esm/form-item/utils.mjs +15 -15
  181. package/esm/form-item/utils.mjs.map +1 -1
  182. package/esm/form-layout/form-layout.mjs +103 -83
  183. package/esm/form-layout/form-layout.mjs.map +1 -1
  184. package/esm/form-layout/form-layout.vue.d.ts +28 -0
  185. package/esm/form-layout/index.d.ts +1 -1
  186. package/esm/form-layout/types.d.ts +24 -40
  187. package/esm/form-layout/utils.mjs +73 -99
  188. package/esm/form-layout/utils.mjs.map +1 -1
  189. package/esm/form-step/form-step-pane.mjs +15 -0
  190. package/esm/form-step/form-step-pane.mjs.map +1 -0
  191. package/esm/form-step/form-step.mjs +63 -0
  192. package/esm/form-step/form-step.mjs.map +1 -0
  193. package/esm/form-step/index.d.ts +29 -23
  194. package/esm/form-step/index.mjs +12 -93
  195. package/esm/form-step/index.mjs.map +1 -1
  196. package/esm/form-step/types.d.ts +19 -19
  197. package/esm/form-step/utils.d.ts +14 -10
  198. package/esm/form-step/utils.mjs +75 -59
  199. package/esm/form-step/utils.mjs.map +1 -1
  200. package/esm/form-tab/form-tab.mjs +79 -0
  201. package/esm/form-tab/form-tab.mjs.map +1 -0
  202. package/esm/form-tab/hooks.mjs +18 -16
  203. package/esm/form-tab/hooks.mjs.map +1 -1
  204. package/esm/form-tab/index.d.ts +5 -3
  205. package/esm/form-tab/index.mjs +10 -76
  206. package/esm/form-tab/index.mjs.map +1 -1
  207. package/esm/form-tab/style.css +4 -0
  208. package/esm/form-tab/utils.mjs +14 -13
  209. package/esm/form-tab/utils.mjs.map +1 -1
  210. package/esm/index.d.ts +53 -48
  211. package/esm/index.mjs +50 -103
  212. package/esm/input/index.d.ts +5 -52
  213. package/esm/input/index.mjs +16 -68
  214. package/esm/input/index.mjs.map +1 -1
  215. package/esm/input/input.mjs +41 -0
  216. package/esm/input/input.mjs.map +1 -0
  217. package/esm/input-number/index.d.ts +8 -329
  218. package/esm/input-number/index.mjs +12 -24
  219. package/esm/input-number/index.mjs.map +1 -1
  220. package/esm/input-tag/index.d.ts +5 -32
  221. package/esm/input-tag/index.mjs +13 -49
  222. package/esm/input-tag/index.mjs.map +1 -1
  223. package/esm/input-tag/input-tag.mjs +41 -0
  224. package/esm/input-tag/input-tag.mjs.map +1 -0
  225. package/esm/mention/index.d.ts +5 -50
  226. package/esm/mention/index.mjs +15 -96
  227. package/esm/mention/index.mjs.map +1 -1
  228. package/esm/mention/mention.mjs +77 -0
  229. package/esm/mention/mention.mjs.map +1 -0
  230. package/esm/pagination/components/jumper.mjs +11 -12
  231. package/esm/pagination/components/jumper.mjs.map +1 -1
  232. package/esm/pagination/components/jumper2.mjs +59 -0
  233. package/esm/pagination/components/jumper2.mjs.map +1 -0
  234. package/esm/pagination/components/next.mjs +18 -22
  235. package/esm/pagination/components/next.mjs.map +1 -1
  236. package/esm/pagination/components/next2.mjs +38 -0
  237. package/esm/pagination/components/next2.mjs.map +1 -0
  238. package/esm/pagination/components/pager.mjs +21 -22
  239. package/esm/pagination/components/pager.mjs.map +1 -1
  240. package/esm/pagination/components/pager2.mjs +229 -0
  241. package/esm/pagination/components/pager2.mjs.map +1 -0
  242. package/esm/pagination/components/prev.mjs +16 -22
  243. package/esm/pagination/components/prev.mjs.map +1 -1
  244. package/esm/pagination/components/prev2.mjs +38 -0
  245. package/esm/pagination/components/prev2.mjs.map +1 -0
  246. package/esm/pagination/components/sizes.mjs +32 -7
  247. package/esm/pagination/components/sizes.mjs.map +1 -1
  248. package/esm/pagination/components/sizes2.mjs +66 -0
  249. package/esm/pagination/components/sizes2.mjs.map +1 -0
  250. package/esm/pagination/components/total.mjs +10 -11
  251. package/esm/pagination/components/total.mjs.map +1 -1
  252. package/esm/pagination/components/total2.mjs +26 -0
  253. package/esm/pagination/components/total2.mjs.map +1 -0
  254. package/esm/pagination/pagination.mjs +271 -626
  255. package/esm/pagination/pagination.mjs.map +1 -1
  256. package/esm/password/index.d.ts +8 -54
  257. package/esm/password/index.mjs +11 -14
  258. package/esm/password/index.mjs.map +1 -1
  259. package/esm/preview-text/cascader.mjs +51 -0
  260. package/esm/preview-text/cascader.mjs.map +1 -0
  261. package/esm/preview-text/color-picker.mjs +37 -0
  262. package/esm/preview-text/color-picker.mjs.map +1 -0
  263. package/esm/preview-text/date-picker.mjs +61 -0
  264. package/esm/preview-text/date-picker.mjs.map +1 -0
  265. package/esm/preview-text/index.d.ts +107 -106
  266. package/esm/preview-text/index.mjs +25 -363
  267. package/esm/preview-text/index.mjs.map +1 -1
  268. package/esm/preview-text/input.mjs +39 -0
  269. package/esm/preview-text/input.mjs.map +1 -0
  270. package/esm/preview-text/preview.mjs +30 -0
  271. package/esm/preview-text/preview.mjs.map +1 -0
  272. package/esm/preview-text/rate.mjs +32 -0
  273. package/esm/preview-text/rate.mjs.map +1 -0
  274. package/esm/preview-text/select.mjs +42 -0
  275. package/esm/preview-text/select.mjs.map +1 -0
  276. package/esm/preview-text/style.css +16 -0
  277. package/esm/preview-text/time-picker.mjs +39 -0
  278. package/esm/preview-text/time-picker.mjs.map +1 -0
  279. package/esm/preview-text/tree.mjs +73 -0
  280. package/esm/preview-text/tree.mjs.map +1 -0
  281. package/esm/preview-text/utils.d.ts +10 -13
  282. package/esm/preview-text/utils.mjs +15 -15
  283. package/esm/preview-text/utils.mjs.map +1 -1
  284. package/esm/query-form/default-components.mjs +45 -45
  285. package/esm/query-form/default-components.mjs.map +1 -1
  286. package/esm/query-form/hooks.mjs +31 -26
  287. package/esm/query-form/hooks.mjs.map +1 -1
  288. package/esm/query-form/index.d.ts +115 -105
  289. package/esm/query-form/index.mjs +10 -333
  290. package/esm/query-form/index.mjs.map +1 -1
  291. package/esm/query-form/query-form-light.mjs +86 -0
  292. package/esm/query-form/query-form-light.mjs.map +1 -0
  293. package/esm/query-form/query-form.mjs +263 -0
  294. package/esm/query-form/query-form.mjs.map +1 -0
  295. package/esm/query-form/style.css +27 -0
  296. package/esm/query-form/types.d.ts +42 -41
  297. package/esm/query-form-item/index.d.ts +7 -151
  298. package/esm/query-form-item/index.mjs +15 -183
  299. package/esm/query-form-item/index.mjs.map +1 -1
  300. package/esm/query-form-item/query-form-item.mjs +195 -0
  301. package/esm/query-form-item/query-form-item.mjs.map +1 -0
  302. package/esm/query-form-item/style.css +12 -0
  303. package/esm/query-form-item/types.d.ts +42 -38
  304. package/esm/radio/index.d.ts +429 -473
  305. package/esm/radio/index.mjs +15 -68
  306. package/esm/radio/index.mjs.map +1 -1
  307. package/esm/radio/radio-group.mjs +70 -0
  308. package/esm/radio/radio-group.mjs.map +1 -0
  309. package/esm/{styles/radio/index.css → radio/style.css} +3 -1
  310. package/esm/rate/index.d.ts +8 -187
  311. package/esm/rate/index.mjs +13 -17
  312. package/esm/rate/index.mjs.map +1 -1
  313. package/esm/reset/index.d.ts +5 -2
  314. package/esm/reset/index.mjs +8 -44
  315. package/esm/reset/index.mjs.map +1 -1
  316. package/esm/reset/reset.mjs +42 -0
  317. package/esm/reset/reset.mjs.map +1 -0
  318. package/esm/segmented/index.d.ts +5 -26
  319. package/esm/segmented/index.mjs +13 -40
  320. package/esm/segmented/index.mjs.map +1 -1
  321. package/esm/segmented/segmented.mjs +26 -0
  322. package/esm/segmented/segmented.mjs.map +1 -0
  323. package/esm/select/index.d.ts +5 -129
  324. package/esm/select/index.mjs +14 -127
  325. package/esm/select/index.mjs.map +1 -1
  326. package/esm/select/select.mjs +95 -0
  327. package/esm/select/select.mjs.map +1 -0
  328. package/esm/select-table/index.d.ts +4 -1557
  329. package/esm/select-table/index.mjs +12 -204
  330. package/esm/select-table/index.mjs.map +1 -1
  331. package/esm/select-table/select-table.mjs +202 -0
  332. package/esm/select-table/select-table.mjs.map +1 -0
  333. package/esm/select-table/style.css +14 -0
  334. package/esm/shared/overlay-elements.mjs +15 -16
  335. package/esm/shared/overlay-elements.mjs.map +1 -1
  336. package/esm/shared/url-change-listener.mjs +50 -0
  337. package/esm/shared/url-change-listener.mjs.map +1 -0
  338. package/esm/slider/index.d.ts +8 -177
  339. package/esm/slider/index.mjs +13 -17
  340. package/esm/slider/index.mjs.map +1 -1
  341. package/esm/space/index.d.ts +2 -1
  342. package/esm/space/index.mjs +2 -6
  343. package/esm/submit/index.d.ts +5 -2
  344. package/esm/submit/index.mjs +8 -40
  345. package/esm/submit/index.mjs.map +1 -1
  346. package/esm/submit/submit.mjs +41 -0
  347. package/esm/submit/submit.mjs.map +1 -0
  348. package/esm/switch/index.d.ts +8 -299
  349. package/esm/switch/index.mjs +8 -13
  350. package/esm/switch/index.mjs.map +1 -1
  351. package/esm/time-picker/index.d.ts +8 -445
  352. package/esm/time-picker/index.mjs +10 -17
  353. package/esm/time-picker/index.mjs.map +1 -1
  354. package/esm/time-select/index.d.ts +5 -185
  355. package/esm/time-select/index.mjs +13 -17
  356. package/esm/time-select/index.mjs.map +1 -1
  357. package/esm/transfer/index.d.ts +8 -267
  358. package/esm/transfer/index.mjs +8 -11
  359. package/esm/transfer/index.mjs.map +1 -1
  360. package/esm/tree/index.d.ts +4 -41
  361. package/esm/tree/index.mjs +14 -104
  362. package/esm/tree/index.mjs.map +1 -1
  363. package/esm/tree/tree.mjs +127 -0
  364. package/esm/tree/tree.mjs.map +1 -0
  365. package/esm/tree/utils.mjs +157 -149
  366. package/esm/tree/utils.mjs.map +1 -1
  367. package/esm/tree-select/index.d.ts +5 -16
  368. package/esm/tree-select/index.mjs +13 -40
  369. package/esm/tree-select/index.mjs.map +1 -1
  370. package/esm/tree-select/tree-select.mjs +38 -0
  371. package/esm/tree-select/tree-select.mjs.map +1 -0
  372. package/esm/upload/index.d.ts +5 -712
  373. package/esm/upload/index.mjs +11 -172
  374. package/esm/upload/index.mjs.map +1 -1
  375. package/esm/upload/upload.mjs +176 -0
  376. package/esm/upload/upload.mjs.map +1 -0
  377. package/package.json +23 -24
  378. package/esm/__builtins__/configs/index.d.ts +0 -1
  379. package/esm/__builtins__/index.d.ts +0 -2
  380. package/esm/__builtins__/index.mjs +0 -23
  381. package/esm/__builtins__/index.mjs.map +0 -1
  382. package/esm/__builtins__/shared/index.d.ts +0 -6
  383. package/esm/__builtins__/shared/index.mjs +0 -21
  384. package/esm/__builtins__/shared/index.mjs.map +0 -1
  385. package/esm/__builtins__/shared/load-config-provider.d.ts +0 -2
  386. package/esm/__builtins__/shared/loading.d.ts +0 -12
  387. package/esm/__builtins__/shared/simple-version-compare.d.ts +0 -2
  388. package/esm/__builtins__/shared/transform-component.d.ts +0 -3
  389. package/esm/__builtins__/shared/types.d.ts +0 -2
  390. package/esm/__builtins__/shared/types.mjs +0 -2
  391. package/esm/__builtins__/shared/types.mjs.map +0 -1
  392. package/esm/__builtins__/shared/use-enter-submit.d.ts +0 -9
  393. package/esm/__builtins__/shared/utils.d.ts +0 -9
  394. package/esm/array-base/array-base-addition.d.ts +0 -5
  395. package/esm/array-base/array-base-index.d.ts +0 -19
  396. package/esm/array-base/array-base-inner.d.ts +0 -18
  397. package/esm/array-base/array-base-item.d.ts +0 -18
  398. package/esm/array-base/array-base-move-down.d.ts +0 -18
  399. package/esm/array-base/array-base-move-up.d.ts +0 -18
  400. package/esm/array-base/array-base-remove.d.ts +0 -18
  401. package/esm/array-base/array-base-sort-handle.d.ts +0 -2
  402. package/esm/array-base/index.d.ts +0 -114
  403. package/esm/array-base/symbols.d.ts +0 -4
  404. package/esm/array-base/types.mjs +0 -2
  405. package/esm/array-base/types.mjs.map +0 -1
  406. package/esm/array-cards/array-cards.d.ts +0 -13
  407. package/esm/array-collapse/array-collapse-item.d.ts +0 -18
  408. package/esm/array-collapse/array-collapse.d.ts +0 -16
  409. package/esm/array-collapse/utils.d.ts +0 -1
  410. package/esm/array-items/array-items-item.d.ts +0 -30
  411. package/esm/array-items/array-items.d.ts +0 -2
  412. package/esm/array-list-tabs/array-list-tabs.d.ts +0 -31
  413. package/esm/array-list-tabs/utils.d.ts +0 -3
  414. package/esm/array-table/array-table.d.ts +0 -1505
  415. package/esm/array-table/types.mjs +0 -2
  416. package/esm/array-table/types.mjs.map +0 -1
  417. package/esm/array-table/utils.d.ts +0 -5
  418. package/esm/array-tabs/array-tabs.d.ts +0 -2
  419. package/esm/autocomplete/autocomplete.d.ts +0 -1222
  420. package/esm/cascader/cascader.d.ts +0 -25
  421. package/esm/checkbox/checkbox-group.d.ts +0 -42
  422. package/esm/date-picker/utils.d.ts +0 -4
  423. package/esm/editable/editable-popover.d.ts +0 -25
  424. package/esm/editable/editable.d.ts +0 -193
  425. package/esm/env.d.d.ts +0 -1
  426. package/esm/env.d.mjs +0 -2
  427. package/esm/env.d.mjs.map +0 -1
  428. package/esm/form/form.d.ts +0 -46
  429. package/esm/form/index.mjs +0 -6
  430. package/esm/form/index.mjs.map +0 -1
  431. package/esm/form-button-group/form-button-group-sticky.d.ts +0 -17
  432. package/esm/form-button-group/form-button-group.d.ts +0 -57
  433. package/esm/form-button-group/utils.d.ts +0 -1
  434. package/esm/form-collapse/form-collapse.d.ts +0 -18
  435. package/esm/form-dialog/dialog-content.d.ts +0 -846
  436. package/esm/form-dialog/types.mjs +0 -2
  437. package/esm/form-dialog/types.mjs.map +0 -1
  438. package/esm/form-drawer/drawer-content.d.ts +0 -976
  439. package/esm/form-drawer/types.mjs +0 -2
  440. package/esm/form-drawer/types.mjs.map +0 -1
  441. package/esm/form-grid/form-grid-column.d.ts +0 -29
  442. package/esm/form-grid/form-grid.d.ts +0 -101
  443. package/esm/form-grid/hooks.d.ts +0 -4
  444. package/esm/form-item/form-item.d.ts +0 -19
  445. package/esm/form-item/types.mjs +0 -2
  446. package/esm/form-item/types.mjs.map +0 -1
  447. package/esm/form-item/utils.d.ts +0 -3
  448. package/esm/form-layout/form-layout.d.ts +0 -31
  449. package/esm/form-layout/index.mjs +0 -6
  450. package/esm/form-layout/index.mjs.map +0 -1
  451. package/esm/form-layout/types.mjs +0 -2
  452. package/esm/form-layout/types.mjs.map +0 -1
  453. package/esm/form-layout/utils.d.ts +0 -57
  454. package/esm/form-step/form-step-pane.d.ts +0 -2
  455. package/esm/form-step/form-step.d.ts +0 -5
  456. package/esm/form-step/types.mjs +0 -2
  457. package/esm/form-step/types.mjs.map +0 -1
  458. package/esm/form-tab/form-tab.d.ts +0 -7
  459. package/esm/form-tab/hooks.d.ts +0 -8
  460. package/esm/form-tab/types.d.ts +0 -12
  461. package/esm/form-tab/types.mjs +0 -2
  462. package/esm/form-tab/types.mjs.map +0 -1
  463. package/esm/form-tab/utils.d.ts +0 -4
  464. package/esm/index.mjs.map +0 -1
  465. package/esm/input/input.d.ts +0 -25
  466. package/esm/input-tag/input-tag.d.ts +0 -32
  467. package/esm/mention/mention.d.ts +0 -51
  468. package/esm/pagination/components/jumper.d.ts +0 -16
  469. package/esm/pagination/components/next.d.ts +0 -42
  470. package/esm/pagination/components/pager.d.ts +0 -42
  471. package/esm/pagination/components/prev.d.ts +0 -39
  472. package/esm/pagination/components/sizes.d.ts +0 -56
  473. package/esm/pagination/components/total.d.ts +0 -8
  474. package/esm/pagination/pagination.d.ts +0 -128
  475. package/esm/preview-text/cascader.d.ts +0 -5
  476. package/esm/preview-text/color-picker.d.ts +0 -5
  477. package/esm/preview-text/date-picker.d.ts +0 -5
  478. package/esm/preview-text/input.d.ts +0 -28
  479. package/esm/preview-text/preview.d.ts +0 -18
  480. package/esm/preview-text/rate.d.ts +0 -5
  481. package/esm/preview-text/select.d.ts +0 -5
  482. package/esm/preview-text/time-picker.d.ts +0 -5
  483. package/esm/preview-text/tree.d.ts +0 -22
  484. package/esm/query-form/default-components.d.ts +0 -5
  485. package/esm/query-form/hooks.d.ts +0 -25
  486. package/esm/query-form/query-form-light.d.ts +0 -27
  487. package/esm/query-form/query-form.d.ts +0 -52
  488. package/esm/query-form/types.mjs +0 -2
  489. package/esm/query-form/types.mjs.map +0 -1
  490. package/esm/query-form-item/query-form-item.d.ts +0 -96
  491. package/esm/query-form-item/types.mjs +0 -2
  492. package/esm/query-form-item/types.mjs.map +0 -1
  493. package/esm/radio/radio-group.d.ts +0 -33
  494. package/esm/reset/reset.d.ts +0 -45
  495. package/esm/segmented/segmented.d.ts +0 -25
  496. package/esm/select/select.d.ts +0 -45
  497. package/esm/select-table/select-table.d.ts +0 -3030
  498. package/esm/select-table/types.d.ts +0 -17
  499. package/esm/select-table/types.mjs +0 -2
  500. package/esm/select-table/types.mjs.map +0 -1
  501. package/esm/shared/overlay-elements.d.ts +0 -6
  502. package/esm/space/index.mjs.map +0 -1
  503. package/esm/styles/array-base/index.css +0 -1
  504. package/esm/styles/array-cards/index.css +0 -1
  505. package/esm/styles/array-collapse/index.css +0 -1
  506. package/esm/styles/array-items/index.css +0 -1
  507. package/esm/styles/array-list-tabs/index.css +0 -1
  508. package/esm/styles/array-table/index.css +0 -1
  509. package/esm/styles/array-tabs/index.css +0 -1
  510. package/esm/styles/editable/index.css +0 -1
  511. package/esm/styles/form-button-group/index.css +0 -1
  512. package/esm/styles/form-collapse/index.css +0 -1
  513. package/esm/styles/form-grid/index.css +0 -1
  514. package/esm/styles/form-item/index.css +0 -1
  515. package/esm/styles/form-tab/index.css +0 -1
  516. package/esm/styles/preview-text/index.css +0 -1
  517. package/esm/styles/query-form/index.css +0 -1
  518. package/esm/styles/query-form-item/index.css +0 -1
  519. package/esm/styles/select-table/index.css +0 -1
  520. package/esm/submit/submit.d.ts +0 -36
  521. package/esm/tree/tree.d.ts +0 -20
  522. package/esm/tree/types.d.ts +0 -13
  523. package/esm/tree/types.mjs +0 -2
  524. package/esm/tree/types.mjs.map +0 -1
  525. package/esm/tree/utils.d.ts +0 -45
  526. package/esm/tree-select/tree-select.d.ts +0 -10
  527. package/esm/upload/upload.d.ts +0 -1259
  528. package/esm/vendor/icon.mjs +0 -11
  529. package/esm/vendor/icon.mjs.map +0 -1
  530. package/esm/vendor/lodash.mjs +0 -1506
  531. package/esm/vendor/lodash.mjs.map +0 -1
  532. package/esm/vendor/runtime.mjs +0 -34
  533. package/esm/vendor/runtime.mjs.map +0 -1
  534. package/esm/vendor/shared.esm-bundler.mjs +0 -9
  535. package/esm/vendor/shared.esm-bundler.mjs.map +0 -1
  536. package/esm/vendor/sizes.mjs +0 -27
  537. package/esm/vendor/sizes.mjs.map +0 -1
  538. package/esm/vendor/types.mjs +0 -19
  539. package/esm/vendor/types.mjs.map +0 -1
@@ -1,112 +1,113 @@
1
- export declare const PreviewText: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./utils').PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<import('./utils').PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
1
+ import { PreviewTextProps } from "./utils.js";
2
+ import * as _$vue from "vue";
3
+
4
+ //#region src/preview-text/index.d.ts
5
+ declare const PreviewText: {
6
+ new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
7
+ P: {};
8
+ B: {};
9
+ D: {};
10
+ C: {};
11
+ M: {};
12
+ Defaults: {};
13
+ }, Readonly<PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
14
+ __isFragment?: never;
15
+ __isTeleport?: never;
16
+ __isSuspense?: never;
17
+ } & _$vue.ComponentOptionsBase<Readonly<PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
18
+ $slots: {
19
+ default?: (props: {}) => any;
20
+ };
21
+ }) & {
22
+ Input: {
23
+ new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<{
24
+ modelValue?: any;
25
+ }> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
26
+ P: {};
27
+ B: {};
28
+ D: {};
29
+ C: {};
30
+ M: {};
31
+ Defaults: {};
32
+ }, Readonly<{
33
+ modelValue?: any;
34
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
35
  __isFragment?: never;
11
36
  __isTeleport?: never;
12
37
  __isSuspense?: never;
13
- } & import('vue').ComponentOptionsBase<Readonly<import('./utils').PreviewTextProps> & 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 () => {
38
+ } & _$vue.ComponentOptionsBase<Readonly<{
39
+ modelValue?: any;
40
+ }> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
14
41
  $slots: {
15
- default?(_: {}): any;
42
+ prepend?: () => any;
43
+ prefix?: () => any;
44
+ suffix?: () => any;
45
+ append?: () => any;
16
46
  };
17
- }) & {
18
- Input: {
19
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
20
- modelValue?: any;
21
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
22
- P: {};
23
- B: {};
24
- D: {};
25
- C: {};
26
- M: {};
27
- Defaults: {};
28
- }, Readonly<{
29
- modelValue?: any;
30
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
31
- __isFragment?: never;
32
- __isTeleport?: never;
33
- __isSuspense?: never;
34
- } & import('vue').ComponentOptionsBase<Readonly<{
35
- modelValue?: any;
36
- }> & 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 () => {
37
- $slots: Readonly<{
38
- prepend?: () => any;
39
- prefix?: () => any;
40
- suffix?: () => any;
41
- append?: () => any;
42
- }> & {
43
- prepend?: () => any;
44
- prefix?: () => any;
45
- suffix?: () => any;
46
- append?: () => any;
47
- };
48
- });
49
- Select: import('vue').DefineComponent<{
50
- modelValue?: any;
51
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
52
- modelValue?: any;
53
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
54
- Cascader: import('vue').DefineComponent<{
55
- modelValue: any;
56
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
57
- modelValue: any;
58
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
- ColorPicker: import('vue').DefineComponent<{
60
- modelValue?: any;
61
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
62
- modelValue?: any;
63
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
64
- DatePicker: import('vue').DefineComponent<{
65
- modelValue?: any;
66
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
67
- modelValue?: any;
68
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
69
- Rate: import('vue').DefineComponent<{
70
- modelValue?: any;
71
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
72
- modelValue?: any;
73
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
74
- TimePicker: import('vue').DefineComponent<{
75
- modelValue?: any;
76
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
77
- modelValue?: any;
78
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
79
- Tree: import('vue').DefineComponent<{
80
- nodeKey: string;
81
- modelValue?: any;
82
- valueType?: string;
83
- data?: any[];
84
- props?: {
85
- children?: string;
86
- label?: string;
87
- disabled?: string;
88
- };
89
- height?: number;
90
- maxHeight?: number;
91
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
92
- nodeKey: string;
93
- modelValue?: any;
94
- valueType?: string;
95
- data?: any[];
96
- props?: {
97
- children?: string;
98
- label?: string;
99
- disabled?: string;
100
- };
101
- height?: number;
102
- maxHeight?: number;
103
- }> & Readonly<{}>, {
104
- props: {
105
- children?: string;
106
- label?: string;
107
- disabled?: string;
108
- };
109
- valueType: string;
110
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
+ });
48
+ Select: _$vue.DefineComponent<{
49
+ modelValue?: any;
50
+ }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
51
+ modelValue?: any;
52
+ }> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
53
+ Cascader: _$vue.DefineComponent<{
54
+ modelValue: any;
55
+ }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
56
+ modelValue: any;
57
+ }> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
58
+ ColorPicker: _$vue.DefineComponent<{
59
+ modelValue?: any;
60
+ }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
61
+ modelValue?: any;
62
+ }> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
63
+ DatePicker: _$vue.DefineComponent<{
64
+ modelValue?: any;
65
+ }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
66
+ modelValue?: any;
67
+ }> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
68
+ Rate: _$vue.DefineComponent<{
69
+ modelValue?: any;
70
+ }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
71
+ modelValue?: any;
72
+ }> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
73
+ TimePicker: _$vue.DefineComponent<{
74
+ modelValue?: any;
75
+ }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
76
+ modelValue?: any;
77
+ }> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
78
+ Tree: _$vue.DefineComponent<{
79
+ nodeKey: string;
80
+ modelValue?: any;
81
+ valueType?: string;
82
+ data?: any[];
83
+ props?: {
84
+ children?: string;
85
+ label?: string;
86
+ disabled?: string;
87
+ };
88
+ height?: number;
89
+ maxHeight?: number;
90
+ }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
91
+ nodeKey: string;
92
+ modelValue?: any;
93
+ valueType?: string;
94
+ data?: any[];
95
+ props?: {
96
+ children?: string;
97
+ label?: string;
98
+ disabled?: string;
99
+ };
100
+ height?: number;
101
+ maxHeight?: number;
102
+ }> & Readonly<{}>, {
103
+ props: {
104
+ children?: string;
105
+ label?: string;
106
+ disabled?: string;
107
+ };
108
+ valueType: string;
109
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
111
110
  };
112
- export default PreviewText;
111
+ //#endregion
112
+ export { PreviewText };
113
+ //# sourceMappingURL=index.d.ts.map
@@ -1,364 +1,26 @@
1
- import { ElText as k, ElSpace as K, ElTag as z, dayjs as S, ElRate as J, ElScrollbar as O, ElTree as Q } from "element-plus";
2
- import "@silver-formily/reactive-vue";
3
- import "@vueuse/core";
4
- import { defineComponent as Y, openBlock as r, createElementBlock as p, normalizeClass as M, createBlock as c, unref as e, normalizeProps as h, mergeProps as d, withCtx as n, createTextVNode as u, toDisplayString as a, Fragment as x, renderList as I, normalizeStyle as X, createCommentVNode as b, createVNode as N, guardReactiveProps as U, computed as E, useSlots as Z, renderSlot as H, provide as ee, reactive as te } from "vue";
5
- import "@formily/core";
6
- import { useField as W } from "@silver-formily/vue";
7
- import { useCleanAttrs as $, composeExport as re } from "../__builtins__/shared/utils.mjs";
8
- import { stylePrefix as T } from "../__builtins__/configs/index.mjs";
9
- import { usePreviewConfig as C, previewTextConfigKey as ae } from "./utils.mjs";
10
- import { isValid as R, isFn as q, isArr as le } from "@formily/shared";
11
- import { getSelectedPath as oe } from "../tree/utils.mjs";
12
- import '../styles/preview-text/index.css';const se = /* @__PURE__ */ Y({
13
- name: "FPreviewTextCascader",
14
- inheritAttrs: !1,
15
- __name: "cascader",
16
- props: {
17
- modelValue: {}
18
- },
19
- setup(_) {
20
- const t = _, l = `${T}-preview-text`, v = W().value, { props: o } = $(), y = !!o.value.props?.multiple, f = o.value.showAllLevels ?? !0, s = v?.dataSource ?? [], { spaceProps: i, textProps: P, tagProps: A, placeholder: V } = C(), D = o.value.props?.value || "value", B = o.value.props?.label || "label";
21
- function F(L, j) {
22
- const g = j.find((w) => w?.[D] === L);
23
- return g ? g[B] : j.map((w) => w?.children ? F(L, w.children) : void 0).find((w) => w !== void 0);
24
- }
25
- return (L, j) => (r(), p("div", {
26
- class: M(l)
27
- }, [
28
- Array.isArray(t.modelValue) ? y && Array.isArray(t.modelValue[0]) ? (r(), c(e(K), h(d({ key: 1 }, e(i))), {
29
- default: n(() => [
30
- (r(!0), p(x, null, I(t.modelValue, (g, w) => (r(), c(e(z), d({ key: w }, { ref_for: !0 }, e(A)), {
31
- default: n(() => [
32
- e(f) ? (r(), p(x, { key: 0 }, [
33
- u(a(g.map((G) => F(G, e(s)) || e(V)).join(` ${e(o).separator ?? "/"} `)), 1)
34
- ], 64)) : (r(), p(x, { key: 1 }, [
35
- u(a(F(g[g.length - 1], e(s)) || e(V)), 1)
36
- ], 64))
37
- ]),
38
- _: 2
39
- }, 1040))), 128))
40
- ]),
41
- _: 1
42
- }, 16)) : (r(), c(e(k), h(d({ key: 2 }, e(P))), {
43
- default: n(() => [
44
- e(f) ? (r(), p(x, { key: 0 }, [
45
- u(a(t.modelValue.map((g) => F(g, e(s)) || e(V)).join(` ${e(o).separator ?? "/"} `)), 1)
46
- ], 64)) : (r(), p(x, { key: 1 }, [
47
- u(a(F(t.modelValue[t.modelValue.length - 1], e(s)) || e(V)), 1)
48
- ], 64))
49
- ]),
50
- _: 1
51
- }, 16)) : (r(), c(e(k), h(d({ key: 0 }, e(P))), {
52
- default: n(() => [
53
- u(a(e(V)), 1)
54
- ]),
55
- _: 1
56
- }, 16))
57
- ]));
58
- }
59
- }), ne = /* @__PURE__ */ Y({
60
- name: "FPreviewTextColorPicker",
61
- inheritAttrs: !1,
62
- __name: "color-picker",
63
- props: {
64
- modelValue: {}
65
- },
66
- setup(_) {
67
- const t = _, { props: l } = $(), m = `${T}-preview-text`, v = `${m}__color`, { spaceProps: o, textProps: y, placeholder: f } = C();
68
- return (s, i) => (r(), c(e(K), d({
69
- class: [m, v]
70
- }, e(o)), {
71
- default: n(() => [
72
- e(R)(t.modelValue) ? (r(), p("div", {
73
- key: 0,
74
- class: M(`${v}-swatch`),
75
- style: X({ backgroundColor: t.modelValue })
76
- }, null, 6)) : b("", !0),
77
- N(e(k), h(U(e(y))), {
78
- default: n(() => [
79
- e(q)(e(l).formatter) ? (r(), p(x, { key: 0 }, [
80
- u(a(e(l).formatter(t.modelValue)), 1)
81
- ], 64)) : e(R)(t.modelValue) ? (r(), p(x, { key: 1 }, [
82
- u(a(t.modelValue), 1)
83
- ], 64)) : (r(), p(x, { key: 2 }, [
84
- u(a(e(f)), 1)
85
- ], 64))
86
- ]),
87
- _: 1
88
- }, 16)
89
- ]),
90
- _: 1
91
- }, 16, ["class"]));
92
- }
93
- }), ue = /* @__PURE__ */ Y({
94
- name: "FPreviewTextDatePicker",
95
- inheritAttrs: !1,
96
- __name: "date-picker",
97
- props: {
98
- modelValue: {}
99
- },
100
- setup(_) {
101
- const t = _, { props: l } = $(), m = `${T}-preview-text`, { spaceProps: v, textProps: o, tagProps: y, placeholder: f } = C();
102
- function s(A) {
103
- switch (A) {
104
- case "year":
105
- return "YYYY";
106
- case "years":
107
- return "YYYY";
108
- case "month":
109
- return "YYYY-MM";
110
- case "months":
111
- return "YYYY-MM";
112
- case "week":
113
- return "[Week] ww";
114
- case "date":
115
- return "YYYY-MM-DD";
116
- case "dates":
117
- return "YYYY-MM-DD";
118
- case "datetime":
119
- return "YYYY-MM-DD HH:mm:ss";
120
- case "daterange":
121
- return "YYYY-MM-DD";
122
- case "monthrange":
123
- return "YYYY-MM";
124
- case "yearrange":
125
- return "YYYY";
126
- case "datetimerange":
127
- return "YYYY-MM-DD HH:mm:ss";
128
- default:
129
- return "YYYY-MM-DD";
130
- }
131
- }
132
- const i = E(() => l.value.type || "date"), P = E(() => l.value.format || s(i.value));
133
- return (A, V) => (r(), p("div", {
134
- class: M(m)
135
- }, [
136
- t.modelValue ? (r(), p(x, { key: 0 }, [
137
- i.value.endsWith("range") ? (r(), c(e(k), h(d({ key: 0 }, e(o))), {
138
- default: n(() => [
139
- u(a(t.modelValue[0] ? e(S)(t.modelValue[0]).format(P.value) : e(f)) + " " + a(e(l).rangeSeparator ?? "~") + " " + a(t.modelValue[1] ? e(S)(t.modelValue[1]).format(P.value) : e(f)), 1)
140
- ]),
141
- _: 1
142
- }, 16)) : i.value.endsWith("s") ? (r(), c(e(K), h(d({ key: 1 }, e(v))), {
143
- default: n(() => [
144
- (r(!0), p(x, null, I(t.modelValue, (D) => (r(), c(e(z), d({ key: D }, { ref_for: !0 }, e(y)), {
145
- default: n(() => [
146
- u(a(e(S)(D).format(P.value)), 1)
147
- ]),
148
- _: 2
149
- }, 1040))), 128))
150
- ]),
151
- _: 1
152
- }, 16)) : (r(), c(e(k), h(d({ key: 2 }, e(o))), {
153
- default: n(() => [
154
- u(a(e(S)(t.modelValue).format(P.value)), 1)
155
- ]),
156
- _: 1
157
- }, 16))
158
- ], 64)) : (r(), c(e(k), h(d({ key: 1 }, e(o))), {
159
- default: n(() => [
160
- u(a(e(f)), 1)
161
- ]),
162
- _: 1
163
- }, 16))
164
- ]));
165
- }
166
- }), pe = /* @__PURE__ */ Y({
167
- name: "FPreviewTextInput",
168
- inheritAttrs: !1,
169
- __name: "input",
170
- props: {
171
- modelValue: {}
172
- },
173
- setup(_) {
174
- const t = _, l = Z(), { props: m } = $(), v = `${T}-preview-text`, { spaceProps: o, textProps: y, placeholder: f } = C();
175
- return (s, i) => (r(), c(e(K), d({ class: v }, e(o)), {
176
- default: n(() => [
177
- l.prepend ? H(s.$slots, "prepend", { key: 0 }) : b("", !0),
178
- l.prefix ? H(s.$slots, "prefix", { key: 1 }) : b("", !0),
179
- N(e(k), h(U(e(y))), {
180
- default: n(() => [
181
- e(q)(e(m).formatter) ? (r(), p(x, { key: 0 }, [
182
- u(a(e(m).formatter(t.modelValue)), 1)
183
- ], 64)) : e(R)(t.modelValue) ? (r(), p(x, { key: 1 }, [
184
- u(a(t.modelValue === "" ? " " : t.modelValue), 1)
185
- ], 64)) : (r(), p(x, { key: 2 }, [
186
- u(a(e(f)), 1)
187
- ], 64))
188
- ]),
189
- _: 1
190
- }, 16),
191
- l.suffix ? H(s.$slots, "suffix", { key: 2 }) : b("", !0),
192
- l.append ? H(s.$slots, "append", { key: 3 }) : b("", !0)
193
- ]),
194
- _: 3
195
- }, 16));
196
- }
197
- }), ce = /* @__PURE__ */ Y({
198
- name: "FPreviewTextProvider",
199
- inheritAttrs: !1,
200
- __name: "preview",
201
- props: {
202
- placeholder: {},
203
- tagProps: {},
204
- spaceProps: {},
205
- textProps: {}
206
- },
207
- setup(_) {
208
- const t = _;
209
- return ee(ae, te({
210
- placeholder: t.placeholder,
211
- tagProps: t.tagProps,
212
- spaceProps: t.spaceProps,
213
- textProps: t.textProps
214
- })), (l, m) => H(l.$slots, "default");
215
- }
216
- }), de = /* @__PURE__ */ Y({
217
- name: "FPreviewTextRate",
218
- inheritAttrs: !1,
219
- __name: "rate",
220
- props: {
221
- modelValue: {}
222
- },
223
- setup(_) {
224
- const t = _, { props: l } = $(), m = `${T}-preview-text`, { textProps: v, placeholder: o } = C();
225
- return (y, f) => (r(), p("div", {
226
- class: M(m)
227
- }, [
228
- e(R)(t.modelValue) ? (r(), c(e(J), d({ key: 1 }, e(l), {
229
- "model-value": t.modelValue,
230
- disabled: !0
231
- }), null, 16, ["model-value"])) : (r(), c(e(k), h(d({ key: 0 }, e(v))), {
232
- default: n(() => [
233
- u(a(e(o)), 1)
234
- ]),
235
- _: 1
236
- }, 16))
237
- ]));
238
- }
239
- }), ie = /* @__PURE__ */ Y({
240
- name: "FPreviewTextSelect",
241
- __name: "select",
242
- props: {
243
- modelValue: {}
244
- },
245
- setup(_) {
246
- const t = _, l = `${T}-preview-text`, m = W(), { props: v } = $(), o = m.value.dataSource ?? [], { spaceProps: y, textProps: f, tagProps: s, placeholder: i } = C();
247
- return (P, A) => (r(), p("div", {
248
- class: M(l)
249
- }, [
250
- e(R)(t.modelValue) ? e(v).multiple ? (r(), c(e(K), h(d({ key: 2 }, e(y))), {
251
- default: n(() => [
252
- (r(!0), p(x, null, I(t.modelValue, (V, D) => (r(), c(e(z), d({ key: D }, { ref_for: !0 }, e(s)), {
253
- default: n(() => [
254
- u(a(e(o).find((B) => B.value === V)?.label ?? V), 1)
255
- ]),
256
- _: 2
257
- }, 1040))), 128))
258
- ]),
259
- _: 1
260
- }, 16)) : (r(), c(e(k), h(d({ key: 1 }, e(f))), {
261
- default: n(() => [
262
- u(a(e(o).find((V) => V.value === t.modelValue)?.label ?? t.modelValue), 1)
263
- ]),
264
- _: 1
265
- }, 16)) : (r(), c(e(k), h(d({ key: 0 }, e(f))), {
266
- default: n(() => [
267
- u(a(e(i)), 1)
268
- ]),
269
- _: 1
270
- }, 16))
271
- ]));
272
- }
273
- }), me = /* @__PURE__ */ Y({
274
- name: "FPreviewTextTimePicker",
275
- inheritAttrs: !1,
276
- __name: "time-picker",
277
- props: {
278
- modelValue: {}
279
- },
280
- setup(_) {
281
- const t = _, { props: l } = $(), m = `${T}-preview-text`, { textProps: v, placeholder: o } = C(), y = l.value.format || "HH:mm:ss", f = l.value.valueFormat || "HH:mm:ss";
282
- function s(i) {
283
- if (i) {
284
- if (i instanceof Date)
285
- return S(i).format(y);
286
- if (typeof i == "string")
287
- return S(i, f).format(y);
288
- }
289
- }
290
- return (i, P) => (r(), p("div", {
291
- class: M(m)
292
- }, [
293
- e(le)(t.modelValue) ? (r(), c(e(k), h(d({ key: 0 }, e(v))), {
294
- default: n(() => [
295
- u(a(s(t.modelValue[0]) || e(o)) + " " + a(e(l).rangeSeparator ?? "~") + " " + a(s(t.modelValue[1]) || e(o)), 1)
296
- ]),
297
- _: 1
298
- }, 16)) : (r(), c(e(k), h(d({ key: 1 }, e(v))), {
299
- default: n(() => [
300
- u(a(s(t.modelValue) || e(o)), 1)
301
- ]),
302
- _: 1
303
- }, 16))
304
- ]));
305
- }
306
- }), fe = /* @__PURE__ */ Y({
307
- name: "FPreviewTree",
308
- inheritAttrs: !1,
309
- __name: "tree",
310
- props: {
311
- nodeKey: {},
312
- modelValue: {},
313
- valueType: { default: "all" },
314
- data: {},
315
- props: { default: () => ({
316
- children: "children",
317
- label: "label",
318
- disabled: "disabled"
319
- }) },
320
- height: {},
321
- maxHeight: {}
322
- },
323
- setup(_) {
324
- const t = _, l = `${T}-preview-tree`, m = W(), { props: v } = $(["modelValue", "onUpdate:modelValue"]), { textProps: o, placeholder: y } = C(), f = E(() => m.value.dataSource ?? t.data ?? []), s = E(() => t.modelValue !== void 0 ? t.modelValue : m.value?.value), i = E(() => !s.value || !Array.isArray(s.value) || s.value.length === 0 ? [] : t.valueType === "path" ? s.value : oe(f.value, s.value, t.nodeKey, t.props));
325
- return (P, A) => (r(), p("div", {
326
- class: M(l)
327
- }, [
328
- i.value.length > 0 ? (r(), c(e(O), {
329
- key: 0,
330
- height: t.height,
331
- "max-height": t.maxHeight
332
- }, {
333
- default: n(() => [
334
- N(e(Q), d({
335
- data: i.value,
336
- "node-key": t.nodeKey,
337
- props: t.props,
338
- "default-expand-all": !0
339
- }, e(v)), null, 16, ["data", "node-key", "props"])
340
- ]),
341
- _: 1
342
- }, 8, ["height", "max-height"])) : (r(), c(e(k), h(d({ key: 1 }, e(o))), {
343
- default: n(() => [
344
- u(a(e(y)), 1)
345
- ]),
346
- _: 1
347
- }, 16))
348
- ]));
349
- }
350
- }), $e = re(ce, {
351
- Input: pe,
352
- Select: ie,
353
- Cascader: se,
354
- ColorPicker: ne,
355
- DatePicker: ue,
356
- Rate: de,
357
- TimePicker: me,
358
- Tree: fe
1
+ import { composeExport } from "../__builtins__/shared/utils.mjs";
2
+ import _sfc_main from "./cascader.mjs";
3
+ import _sfc_main$1 from "./color-picker.mjs";
4
+ import _sfc_main$2 from "./date-picker.mjs";
5
+ import _sfc_main$3 from "./input.mjs";
6
+ import _sfc_main$4 from "./preview.mjs";
7
+ import _sfc_main$5 from "./rate.mjs";
8
+ import _sfc_main$6 from "./select.mjs";
9
+ import _sfc_main$7 from "./time-picker.mjs";
10
+ import _sfc_main$8 from "./tree.mjs";
11
+ import "./style.css";
12
+ //#region src/preview-text/index.ts
13
+ const PreviewText = composeExport(_sfc_main$4, {
14
+ Input: _sfc_main$3,
15
+ Select: _sfc_main$6,
16
+ Cascader: _sfc_main,
17
+ ColorPicker: _sfc_main$1,
18
+ DatePicker: _sfc_main$2,
19
+ Rate: _sfc_main$5,
20
+ TimePicker: _sfc_main$7,
21
+ Tree: _sfc_main$8
359
22
  });
360
- export {
361
- $e as PreviewText,
362
- $e as default
363
- };
364
- //# sourceMappingURL=index.mjs.map
23
+ //#endregion
24
+ export { PreviewText as default };
25
+
26
+ //# sourceMappingURL=index.mjs.map