@pantograph/vue 0.25.5 → 0.25.7

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 (300) hide show
  1. package/dist/ActionButton/ActionButton.d.ts +174 -11
  2. package/dist/ActionButton/index.js +1 -1
  3. package/dist/ActionButton/index.umd.cjs +1 -1
  4. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-uwPzOpXQ.js → ActionButton.vue_vue_type_script_setup_true_lang-BOiXNbKw.js} +1 -1
  5. package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-DgRldvF-.js → ActionButton.vue_vue_type_script_setup_true_lang-DBykKGHQ.js} +1 -1
  6. package/dist/Alert/Alert.d.ts +4 -3
  7. package/dist/Alert/index.js +1 -1
  8. package/dist/Alert/index.umd.cjs +1 -1
  9. package/dist/{Alert.vue_vue_type_style_index_0_lang-CsM-N2Dn.js → Alert.vue_vue_type_style_index_0_lang-B1JrRGlL.js} +21 -19
  10. package/dist/Alert.vue_vue_type_style_index_0_lang-iIyhPLmR.js +1 -0
  11. package/dist/Avatar/Avatar.d.ts +4 -4
  12. package/dist/Avatar/index.js +1 -1
  13. package/dist/Avatar/index.umd.cjs +1 -1
  14. package/dist/{Avatar.vue_vue_type_style_index_0_lang-BU_5Uc1h.js → Avatar.vue_vue_type_style_index_0_lang-560JMJs8.js} +3 -3
  15. package/dist/{Avatar.vue_vue_type_style_index_0_lang-BmD6RFO6.js → Avatar.vue_vue_type_style_index_0_lang-B2n3kzDz.js} +1 -1
  16. package/dist/AvatarGroup/AvatarGroup.d.ts +1 -1
  17. package/dist/AvatarGroup/index.js +1 -1
  18. package/dist/AvatarGroup/index.umd.cjs +1 -1
  19. package/dist/Badge/Badge.d.ts +2 -1
  20. package/dist/Badge/index.js +1 -1
  21. package/dist/Badge/index.umd.cjs +1 -1
  22. package/dist/{Badge.vue_vue_type_script_setup_true_lang-BNoY52kq.js → Badge.vue_vue_type_script_setup_true_lang-Btr5ZeJl.js} +1 -1
  23. package/dist/{Badge.vue_vue_type_script_setup_true_lang-D4qWXPmE.js → Badge.vue_vue_type_script_setup_true_lang-Kd8vLJ1r.js} +1 -1
  24. package/dist/Base/BaseBadge/BaseBadge.d.ts +3 -2
  25. package/dist/Base/BaseButton/BaseButton.d.ts +45 -7
  26. package/dist/Base/BaseInput/BaseInput.d.ts +1 -1
  27. package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-iBj3bp4f.js → BaseBadge.vue_vue_type_style_index_0_lang-no7MMMcb.js} +21 -21
  28. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-tjWWO1Eb.js +1 -0
  29. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C_rzn0QQ.js → BaseButton.vue_vue_type_style_index_0_lang-DyR-qPkq.js} +1 -1
  30. package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C90xeF5w.js → BaseButton.vue_vue_type_style_index_0_lang-gx7pLyR8.js} +5 -5
  31. package/dist/{BaseInput.vue_vue_type_style_index_0_lang-D1-OgRQO.js → BaseInput.vue_vue_type_style_index_0_lang-BOCVi3J8.js} +1 -1
  32. package/dist/{BaseInput.vue_vue_type_style_index_0_lang-Bh5c8r40.js → BaseInput.vue_vue_type_style_index_0_lang-CZMdvNIt.js} +1 -1
  33. package/dist/Button/Button.d.ts +179 -16
  34. package/dist/Button/index.js +1 -1
  35. package/dist/Button/index.umd.cjs +1 -1
  36. package/dist/{Button.vue_vue_type_script_setup_true_lang-DayZ7O-B.js → Button.vue_vue_type_script_setup_true_lang-CKt4CFcG.js} +1 -1
  37. package/dist/{Button.vue_vue_type_script_setup_true_lang-BEUgRSHQ.js → Button.vue_vue_type_script_setup_true_lang-iY6wC5I7.js} +1 -1
  38. package/dist/ButtonGroup/ButtonGroup.d.ts +2 -2
  39. package/dist/Checkbox/Checkbox.d.ts +3 -3
  40. package/dist/Checkbox/index.js +1 -1
  41. package/dist/Checkbox/index.umd.cjs +1 -1
  42. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-DIUFXgde.js → Checkbox.vue_vue_type_style_index_0_lang-Q8nvY8Va.js} +2 -2
  43. package/dist/{Checkbox.vue_vue_type_style_index_0_lang-B7TCf8DD.js → Checkbox.vue_vue_type_style_index_0_lang-srZfoj7r.js} +1 -1
  44. package/dist/CheckboxGroup/CheckboxGroup.d.ts +2 -2
  45. package/dist/CheckboxGroup/index.js +1 -1
  46. package/dist/CheckboxGroup/index.umd.cjs +1 -1
  47. package/dist/Chip/Chip.d.ts +3 -2
  48. package/dist/Chip/index.js +2 -2
  49. package/dist/Chip/index.umd.cjs +1 -1
  50. package/dist/{Chip.vue_vue_type_style_index_0_lang-B4vliBhP.js → Chip.vue_vue_type_style_index_0_lang-BjBptRQ-.js} +1 -1
  51. package/dist/{Chip.vue_vue_type_style_index_0_lang-C-YVGRd5.js → Chip.vue_vue_type_style_index_0_lang-DZpyBQK1.js} +2 -2
  52. package/dist/ChipGroup/ChipGroup.d.ts +1 -1
  53. package/dist/ChipGroup/index.js +1 -1
  54. package/dist/ChipGroup/index.umd.cjs +1 -1
  55. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Cb48sFjZ.js → ChipGroup.vue_vue_type_style_index_0_lang-CeTQpuIw.js} +2 -2
  56. package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-Dz90pq2v.js → ChipGroup.vue_vue_type_style_index_0_lang-D3YTcBs3.js} +1 -1
  57. package/dist/ColorPicker/ColorPicker.d.ts +3 -1
  58. package/dist/ColorPicker/ColorPickerSpace.d.ts +1 -1
  59. package/dist/ColorPicker/index.js +1 -1
  60. package/dist/ColorPicker/index.umd.cjs +1 -1
  61. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-Bbua4gDp.js → ColorPicker.vue_vue_type_style_index_0_lang-Bn5JW2Gt.js} +2 -2
  62. package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-Cs_uP8_-.js → ColorPicker.vue_vue_type_style_index_0_lang-DL_ZJmhv.js} +27 -18
  63. package/dist/ColorSwatch/ColorSwatch.d.ts +3 -2
  64. package/dist/ColorSwatch/index.js +1 -1
  65. package/dist/ColorSwatch/index.umd.cjs +1 -1
  66. package/dist/{ColorSwatch-BVj268xm.js → ColorSwatch-BMQgaieC.js} +1 -1
  67. package/dist/{ColorSwatch-BTd2qIvs.js → ColorSwatch-BmsX5hTJ.js} +1 -1
  68. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-D9jCB_qS.js → ColorSwatch.vue_vue_type_style_index_0_lang-C4Kg1zF7.js} +2 -2
  69. package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-DotrlbV2.js → ColorSwatch.vue_vue_type_style_index_0_lang-DcE8KBJ4.js} +1 -1
  70. package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -2
  71. package/dist/ColorSwatchGroup/index.js +1 -1
  72. package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
  73. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-uGNt1Zw7.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-DcQU4Avw.js} +1 -1
  74. package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-CMUC9JP1.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-baZQlRfW.js} +7 -6
  75. package/dist/ColorTrigger/ColorTrigger.d.ts +3 -2
  76. package/dist/ColorTrigger/index.js +1 -1
  77. package/dist/ColorTrigger/index.umd.cjs +1 -1
  78. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-BphrM3jX.js → ColorTrigger.vue_vue_type_style_index_0_lang-9NjMxcKG.js} +1 -1
  79. package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-CjRJLrjc.js → ColorTrigger.vue_vue_type_style_index_0_lang-D7z5WQlE.js} +3 -3
  80. package/dist/Combobox/Combobox.d.ts +16 -15
  81. package/dist/Combobox/ComboboxLabel.d.ts +3 -2
  82. package/dist/Combobox/index.js +1 -1
  83. package/dist/Combobox/index.umd.cjs +1 -1
  84. package/dist/Combobox/types.d.ts +2 -2
  85. package/dist/Combobox.vue_vue_type_style_index_0_lang-B--dMsNn.js +1 -0
  86. package/dist/{Combobox.vue_vue_type_style_index_0_lang-BIpRzCHA.js → Combobox.vue_vue_type_style_index_0_lang-CzVJFdEg.js} +443 -381
  87. package/dist/Comment/Comment.d.ts +1 -1
  88. package/dist/Comment/CommentActions.d.ts +384 -1
  89. package/dist/Comment/CommentEditor.d.ts +867 -81
  90. package/dist/Comment/CommentMention.d.ts +2 -1
  91. package/dist/Comment/CommentReactions.d.ts +193 -1
  92. package/dist/Comment/CommentTrigger.d.ts +3 -2
  93. package/dist/Comment/index.js +14 -14
  94. package/dist/Comment/index.umd.cjs +1 -1
  95. package/dist/ConfigProvider/index.js +1 -1
  96. package/dist/{ConfigProvider.vue_vue_type_script_setup_true_lang-DSKgXw-g.js → ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js} +10 -10
  97. package/dist/DataTable/DataTable.d.ts +106 -12
  98. package/dist/DataTable/index.js +1 -1
  99. package/dist/DataTable/index.umd.cjs +1 -1
  100. package/dist/DataTable/useSelection.d.ts +1 -1
  101. package/dist/DataTable.vue_vue_type_style_index_0_lang-DNX8ray0.js +1 -0
  102. package/dist/{DataTable.vue_vue_type_style_index_0_lang-BIEqP-0I.js → DataTable.vue_vue_type_style_index_0_lang-a06ynWLy.js} +36 -30
  103. package/dist/Divider/Divider.d.ts +3 -2
  104. package/dist/DropZone/DropZone.d.ts +4 -3
  105. package/dist/DropZone/index.js +1 -1
  106. package/dist/DropZone/index.umd.cjs +1 -1
  107. package/dist/{DropZone.vue_vue_type_style_index_0_lang-B9y7TlwK.js → DropZone.vue_vue_type_style_index_0_lang-B2XNdFr7.js} +1 -1
  108. package/dist/{DropZone.vue_vue_type_style_index_0_lang-EJIu65Kx.js → DropZone.vue_vue_type_style_index_0_lang-Dq0K__t6.js} +2 -2
  109. package/dist/Empty/Empty.d.ts +3 -2
  110. package/dist/Empty/index.js +1 -1
  111. package/dist/Empty/index.umd.cjs +1 -1
  112. package/dist/{Empty.vue_vue_type_style_index_0_lang-BUUZkqKK.js → Empty.vue_vue_type_style_index_0_lang-BkLWzc14.js} +1 -1
  113. package/dist/{Empty.vue_vue_type_style_index_0_lang-CzxHjKoM.js → Empty.vue_vue_type_style_index_0_lang-C1kPtilP.js} +1 -1
  114. package/dist/FloatButton/FloatButton.d.ts +178 -15
  115. package/dist/FloatButton/index.js +1 -1
  116. package/dist/FloatButton/index.umd.cjs +1 -1
  117. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BkkyOUA7.js → FloatButton.vue_vue_type_script_setup_true_lang-CxSElBbb.js} +1 -1
  118. package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-09oykls8.js → FloatButton.vue_vue_type_script_setup_true_lang-sIUaExTM.js} +1 -1
  119. package/dist/Form/Form.d.ts +18 -18
  120. package/dist/Form/FormItem.d.ts +1 -1
  121. package/dist/Form/index.js +1 -1
  122. package/dist/Form/index.umd.cjs +1 -1
  123. package/dist/FormValidation/FormValidation.d.ts +7 -6
  124. package/dist/GOPicker/GOItemSkeleton.d.ts +1 -1
  125. package/dist/GOPicker/GOPicker.d.ts +45 -44
  126. package/dist/GOPicker/index.js +1 -1
  127. package/dist/GOPicker/index.umd.cjs +1 -1
  128. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-kynTp-m5.js → GOPicker.vue_vue_type_style_index_0_lang-CR7s37Os.js} +17 -15
  129. package/dist/{GOPicker.vue_vue_type_style_index_0_lang-BE8x9dGA.js → GOPicker.vue_vue_type_style_index_0_lang-rSEkCO3H.js} +1 -1
  130. package/dist/GraphicalObject/GraphicalObject.d.ts +2 -1
  131. package/dist/GraphicalObject/index.js +1 -1
  132. package/dist/GraphicalObject/index.umd.cjs +1 -1
  133. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-BZWcWAd8.js → GraphicalObject.vue_vue_type_script_setup_true_lang-CpstWkLR.js} +2 -2
  134. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-X3qLlz8e.js → GraphicalObject.vue_vue_type_script_setup_true_lang-WjnCG0pe.js} +1 -1
  135. package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +1 -1
  136. package/dist/GraphicalObjectGroup/index.js +1 -1
  137. package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
  138. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-eUYKt1g8.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-BXpVeN5_.js} +2 -2
  139. package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-HhLovMZS.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-i6Leg2rQ.js} +1 -1
  140. package/dist/Icon/Icon.d.ts +1 -1
  141. package/dist/Icon/index.js +1 -1
  142. package/dist/Icon/index.umd.cjs +1 -1
  143. package/dist/{Icon.vue_vue_type_style_index_0_lang-BMu3U4-l.js → Icon.vue_vue_type_style_index_0_lang-DkeXz23k.js} +175 -172
  144. package/dist/{Icon.vue_vue_type_style_index_0_lang-5yqYwaOw.js → Icon.vue_vue_type_style_index_0_lang-DyeL9Lem.js} +3 -3
  145. package/dist/IconButton/IconButton.d.ts +179 -16
  146. package/dist/IconButton/index.js +1 -1
  147. package/dist/IconButton/index.umd.cjs +1 -1
  148. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-DGXtxJVO.js → IconButton.vue_vue_type_script_setup_true_lang-Bz66rcDQ.js} +1 -1
  149. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-B2mwpDQo.js → IconButton.vue_vue_type_script_setup_true_lang-CudH1Czj.js} +1 -1
  150. package/dist/Image/Image.d.ts +3 -2
  151. package/dist/Image/index.js +1 -1
  152. package/dist/Image/index.umd.cjs +1 -1
  153. package/dist/{Image.vue_vue_type_style_index_0_lang-Dxp0n_0A.js → Image.vue_vue_type_style_index_0_lang-D7buZGTj.js} +1 -1
  154. package/dist/{Image.vue_vue_type_style_index_0_lang-_1Vqh4mv.js → Image.vue_vue_type_style_index_0_lang-D8BJOCro.js} +2 -2
  155. package/dist/IndentLevel/IndentLevel.d.ts +3 -2
  156. package/dist/IndentLevel/index.js +1 -1
  157. package/dist/IndentLevel/index.umd.cjs +1 -1
  158. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-DPL6yVwu.js → IndentLevel.vue_vue_type_style_index_0_lang-DkVpxqkS.js} +3 -3
  159. package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-BNXXU--A.js → IndentLevel.vue_vue_type_style_index_0_lang-iaGGd8NQ.js} +1 -1
  160. package/dist/Indicator/Indicator.d.ts +2 -1
  161. package/dist/Indicator/index.js +1 -1
  162. package/dist/Indicator/index.umd.cjs +1 -1
  163. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-BAJid2ch.js → Indicator.vue_vue_type_script_setup_true_lang-BTt9LTh1.js} +1 -1
  164. package/dist/{Indicator.vue_vue_type_script_setup_true_lang-BZQujvXX.js → Indicator.vue_vue_type_script_setup_true_lang-C6C6qnFI.js} +1 -1
  165. package/dist/Input/Input.d.ts +9 -6
  166. package/dist/Input/index.js +2 -2
  167. package/dist/Input/index.umd.cjs +1 -1
  168. package/dist/{Input.vue_vue_type_script_setup_true_lang-BhpGixbX.js → Input.vue_vue_type_script_setup_true_lang-Dtkw6-JD.js} +10 -10
  169. package/dist/{Input.vue_vue_type_script_setup_true_lang-P-pBp4sf.js → Input.vue_vue_type_script_setup_true_lang-Dws8FarS.js} +1 -1
  170. package/dist/InputNumber/InputNumber.d.ts +16 -13
  171. package/dist/InputNumber/index.js +2 -2
  172. package/dist/InputNumber/index.umd.cjs +1 -1
  173. package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-DcGG4i1C.js → InputNumber.vue_vue_type_script_setup_true_lang-Cr4YLP4W.js} +1 -1
  174. package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-yrowDfWL.js → InputNumber.vue_vue_type_script_setup_true_lang-mEje-O-q.js} +27 -27
  175. package/dist/Kbd/Kbd.d.ts +3 -2
  176. package/dist/Kbd/index.js +1 -1
  177. package/dist/Kbd/index.umd.cjs +1 -1
  178. package/dist/{Kbd.vue_vue_type_style_index_0_lang-q3jBcYir.js → Kbd.vue_vue_type_style_index_0_lang-BFlrS9Oh.js} +1 -1
  179. package/dist/{Kbd.vue_vue_type_style_index_0_lang-XS49-yX4.js → Kbd.vue_vue_type_style_index_0_lang-VXCAjXze.js} +1 -1
  180. package/dist/Label/Label.d.ts +3 -2
  181. package/dist/Label/index.js +1 -1
  182. package/dist/Label/index.umd.cjs +1 -1
  183. package/dist/Link/Link.d.ts +3 -2
  184. package/dist/Link/index.js +1 -1
  185. package/dist/Link/index.umd.cjs +1 -1
  186. package/dist/Link.vue_vue_type_style_index_0_lang-BRLBWpij.js +1 -0
  187. package/dist/{Link.vue_vue_type_style_index_0_lang-DAQr5LuP.js → Link.vue_vue_type_style_index_0_lang-DgvyW7Rs.js} +14 -13
  188. package/dist/Menu/Menu.d.ts +1 -1
  189. package/dist/Menu/MenuItemWrapper.d.ts +2 -1
  190. package/dist/Menu/index.js +1 -1
  191. package/dist/Menu/index.umd.cjs +1 -1
  192. package/dist/MenuItem/MenuItem.d.ts +1 -1
  193. package/dist/MenuItem/index.js +1 -1
  194. package/dist/MenuItem/index.umd.cjs +1 -1
  195. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-DRgLTDF9.js → MenuItem.vue_vue_type_style_index_0_lang-AhI5J805.js} +1 -1
  196. package/dist/{MenuItem.vue_vue_type_style_index_0_lang-Tx1mw3fx.js → MenuItem.vue_vue_type_style_index_0_lang-BSbQKPOJ.js} +13 -13
  197. package/dist/Pagination/Pagination.d.ts +1 -1
  198. package/dist/Pagination/index.js +1 -1
  199. package/dist/Pagination/index.umd.cjs +1 -1
  200. package/dist/{Pagination.vue_vue_type_style_index_0_lang-BJSH2nV1.js → Pagination.vue_vue_type_style_index_0_lang-6HV2JmdQ.js} +1 -1
  201. package/dist/{Pagination.vue_vue_type_style_index_0_lang-DdoGJbhR.js → Pagination.vue_vue_type_style_index_0_lang-FoV1-lO_.js} +7 -6
  202. package/dist/Popover/Popover.d.ts +122 -20
  203. package/dist/Popover/index.js +1 -1
  204. package/dist/Popover/index.umd.cjs +1 -1
  205. package/dist/{Popover.vue_vue_type_style_index_0_lang-BgRvygIi.js → Popover.vue_vue_type_style_index_0_lang-BolWR0Oq.js} +2 -2
  206. package/dist/{Popover.vue_vue_type_style_index_0_lang-D7HUX-0i.js → Popover.vue_vue_type_style_index_0_lang-COPtUT1x.js} +1 -1
  207. package/dist/Progress/Progress.d.ts +6 -5
  208. package/dist/Progress/index.js +1 -1
  209. package/dist/Progress/index.umd.cjs +1 -1
  210. package/dist/{Progress.vue_vue_type_style_index_0_lang-ByAwM9mc.js → Progress.vue_vue_type_style_index_0_lang-BXhIqXDx.js} +24 -24
  211. package/dist/{Progress.vue_vue_type_style_index_0_lang-BECdYJmY.js → Progress.vue_vue_type_style_index_0_lang-DNe_dcRZ.js} +1 -1
  212. package/dist/RadioGroup/RadioGroup.d.ts +2 -1
  213. package/dist/RadioGroup/RadioGroupItem.d.ts +3 -3
  214. package/dist/RadioGroup/index.js +1 -1
  215. package/dist/RadioGroup/index.umd.cjs +1 -1
  216. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-D8f-sgna.js → RadioGroup.vue_vue_type_script_setup_true_lang-D-9WHezS.js} +1 -1
  217. package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Daq1nx9-.js → RadioGroup.vue_vue_type_script_setup_true_lang-NO2KpdR5.js} +1 -1
  218. package/dist/ScrollContainer/Mask.d.ts +1 -1
  219. package/dist/ScrollContainer/ScrollContainer.d.ts +184 -15
  220. package/dist/ScrollContainer/index.js +1 -1
  221. package/dist/ScrollContainer/index.umd.cjs +1 -1
  222. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-DqKhWsL2.js → ScrollContainer.vue_vue_type_style_index_0_lang-DKfgCbWJ.js} +1 -1
  223. package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-Cp0bQf0N.js → ScrollContainer.vue_vue_type_style_index_0_lang-Dl1jP8xY.js} +2 -2
  224. package/dist/Segmented/Segmented.d.ts +4 -3
  225. package/dist/Segmented/index.js +1 -1
  226. package/dist/Segmented/index.umd.cjs +1 -1
  227. package/dist/{Segmented.vue_vue_type_style_index_0_lang-3JqUJ0d7.js → Segmented.vue_vue_type_style_index_0_lang-BKyJdc6h.js} +1 -1
  228. package/dist/{Segmented.vue_vue_type_style_index_0_lang-B1uEmVPJ.js → Segmented.vue_vue_type_style_index_0_lang-uZeKLoid.js} +2 -2
  229. package/dist/Select/Select.d.ts +8 -7
  230. package/dist/Select/SelectLabel.d.ts +3 -2
  231. package/dist/Select/SelectTrigger.d.ts +1 -1
  232. package/dist/Select/index.js +1 -1
  233. package/dist/Select/index.umd.cjs +1 -1
  234. package/dist/Select.vue_vue_type_style_index_0_lang-DzWX4QRp.js +770 -0
  235. package/dist/Select.vue_vue_type_style_index_0_lang-i_BSOFzK.js +1 -0
  236. package/dist/Shortcut/Shortcut.d.ts +1 -1
  237. package/dist/Shortcut/index.js +1 -1
  238. package/dist/Shortcut/index.umd.cjs +1 -1
  239. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-QKWaOeSf.js → Shortcut.vue_vue_type_style_index_0_lang-2KAzQkhD.js} +2 -2
  240. package/dist/{Shortcut.vue_vue_type_style_index_0_lang-C7MfNmHi.js → Shortcut.vue_vue_type_style_index_0_lang-e8lB0y-L.js} +1 -1
  241. package/dist/Skeleton/Skeleton.d.ts +2 -2
  242. package/dist/Spinner/Spinner.d.ts +4 -3
  243. package/dist/Spinner/index.js +1 -1
  244. package/dist/Spinner/index.umd.cjs +1 -1
  245. package/dist/{Spinner.vue_vue_type_style_index_0_lang-y2U5MnVr.js → Spinner.vue_vue_type_style_index_0_lang-CKYCbCZQ.js} +1 -1
  246. package/dist/{Spinner.vue_vue_type_style_index_0_lang-ypYtsXl_.js → Spinner.vue_vue_type_style_index_0_lang-NYJmdFpB.js} +1 -1
  247. package/dist/SubMenu/SubMenu.d.ts +4 -2
  248. package/dist/SubMenu/index.js +1 -1
  249. package/dist/SubMenu/index.umd.cjs +1 -1
  250. package/dist/Switch/Switch.d.ts +5 -4
  251. package/dist/Switch/index.js +1 -1
  252. package/dist/Switch/index.umd.cjs +1 -1
  253. package/dist/{Switch.vue_vue_type_style_index_0_lang-Dqy63Xsy.js → Switch.vue_vue_type_style_index_0_lang-B6Pt3aij.js} +2 -2
  254. package/dist/{Switch.vue_vue_type_style_index_0_lang-G67verEB.js → Switch.vue_vue_type_style_index_0_lang-BIe63Ak0.js} +1 -1
  255. package/dist/{THead.vue_vue_type_style_index_0_lang-Bbxgbizj.js → THead.vue_vue_type_style_index_0_lang-CCUQ2E3U.js} +1 -1
  256. package/dist/{THead.vue_vue_type_style_index_0_lang-Dg4UjN2s.js → THead.vue_vue_type_style_index_0_lang-DuCJdfy4.js} +1 -1
  257. package/dist/Table/TBody.d.ts +3 -2
  258. package/dist/Table/THead.d.ts +3 -2
  259. package/dist/Table/Table.d.ts +1 -1
  260. package/dist/Table/Td.d.ts +3 -2
  261. package/dist/Table/Th.d.ts +3 -2
  262. package/dist/Table/Tr.d.ts +3 -2
  263. package/dist/Table/index.js +1 -1
  264. package/dist/Table/index.umd.cjs +1 -1
  265. package/dist/Textarea/Textarea.d.ts +462 -14
  266. package/dist/Textarea/index.js +1 -1
  267. package/dist/Textarea/index.umd.cjs +1 -1
  268. package/dist/{Textarea.vue_vue_type_style_index_0_lang-Crls15aj.js → Textarea.vue_vue_type_style_index_0_lang-BqUWj9j2.js} +1 -1
  269. package/dist/{Textarea.vue_vue_type_style_index_0_lang-95EkbeEZ.js → Textarea.vue_vue_type_style_index_0_lang-CgC3wstw.js} +7 -7
  270. package/dist/Tooltip/Tooltip.d.ts +2 -1
  271. package/dist/Tree/Tree.d.ts +3 -2
  272. package/dist/Tree/TreeNode.d.ts +3 -2
  273. package/dist/Tree/index.js +1 -1
  274. package/dist/Tree/index.umd.cjs +1 -1
  275. package/dist/{Tree.vue_vue_type_style_index_0_lang-DitveB9N.js → Tree.vue_vue_type_style_index_0_lang-BiU1prIp.js} +1 -1
  276. package/dist/{Tree.vue_vue_type_style_index_0_lang-CauWPkMW.js → Tree.vue_vue_type_style_index_0_lang-wxS0iVAQ.js} +6 -6
  277. package/dist/Upload/Upload.d.ts +5 -4
  278. package/dist/Upload/UploadListItem.d.ts +1 -1
  279. package/dist/Upload/UploadTrigger.d.ts +5 -2
  280. package/dist/Upload/index.js +1 -1
  281. package/dist/Upload/index.umd.cjs +1 -1
  282. package/dist/{Upload.vue_vue_type_style_index_0_lang-B9HYX_QI.js → Upload.vue_vue_type_style_index_0_lang-B_fYzNVt.js} +6 -6
  283. package/dist/{Upload.vue_vue_type_style_index_0_lang-DhqA32eL.js → Upload.vue_vue_type_style_index_0_lang-BiBzroEH.js} +1 -1
  284. package/dist/index.js +175 -174
  285. package/dist/index.umd.cjs +1 -1
  286. package/dist/{useInputDataStates-COzmxWTw.js → useInputDataStates-BNwXgt9l.js} +1 -1
  287. package/dist/{useInputDataStates-BWZ4Q3rt.js → useInputDataStates-CM2GJM3c.js} +1 -1
  288. package/dist/utils/index.d.ts +1 -0
  289. package/dist/utils/index.js +10 -9
  290. package/dist/utils/index.umd.cjs +1 -1
  291. package/dist/utils/isEmpty.d.ts +1 -0
  292. package/dist/utils/useInputDataStates.d.ts +2 -2
  293. package/package.json +25 -33
  294. package/dist/Alert.vue_vue_type_style_index_0_lang-BWViURUx.js +0 -1
  295. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-MiT5JEP1.js +0 -1
  296. package/dist/Combobox.vue_vue_type_style_index_0_lang-DUhoDHJs.js +0 -1
  297. package/dist/DataTable.vue_vue_type_style_index_0_lang-itDia0W9.js +0 -1
  298. package/dist/Link.vue_vue_type_style_index_0_lang-zFv3zzLA.js +0 -1
  299. package/dist/Select.vue_vue_type_style_index_0_lang-CarDXTu5.js +0 -712
  300. package/dist/Select.vue_vue_type_style_index_0_lang-ikZ5_KwB.js +0 -1
@@ -1,19 +1,19 @@
1
- import { Fragment as Be, isVNode as _n, Comment as jn, Text as $n, ref as ie, reactive as ut, computed as $, toValue as b, unref as m, onMounted as yt, isRef as ct, watch as M, provide as Bt, readonly as br, watchEffect as Ar, nextTick as ue, shallowRef as Vr, warn as Or, getCurrentInstance as je, onUnmounted as Cn, onBeforeUnmount as Sr, inject as _r, defineComponent as He, createElementBlock as oe, openBlock as K, withModifiers as jr, normalizeClass as J, renderSlot as fe, normalizeProps as lt, guardReactiveProps as at, useSlots as pt, createElementVNode as $r, createCommentVNode as _e, createBlock as Zt, withCtx as ze, createTextVNode as Pe, toDisplayString as Re, mergeProps as En, createVNode as gt, h as qt, renderList as Cr, normalizeStyle as Er } from "vue";
1
+ import { Comment as _n, Text as jn, Fragment as Be, isVNode as $n, ref as ie, reactive as ut, computed as $, toValue as b, unref as m, onMounted as yt, isRef as ct, watch as M, provide as Bt, readonly as br, watchEffect as Ar, nextTick as ue, shallowRef as Vr, warn as Or, getCurrentInstance as je, onUnmounted as Cn, onBeforeUnmount as Sr, inject as _r, defineComponent as He, createElementBlock as oe, openBlock as K, withModifiers as jr, normalizeClass as J, renderSlot as fe, normalizeProps as lt, guardReactiveProps as at, useSlots as pt, createElementVNode as $r, createCommentVNode as _e, createBlock as Zt, withCtx as ze, createTextVNode as Pe, toDisplayString as Re, mergeProps as En, createVNode as gt, h as qt, renderList as Cr, normalizeStyle as Er } from "vue";
2
2
  import { Icon as Ir } from "@iconify/vue";
3
3
  import { getBemBlock as ht, usePCId as In, normCls as Y, generateVariantClassList as Te, getBemElement as ce, getBemModifier as et } from "@pantograph/utils";
4
4
  import { cva as bt } from "class-variance-authority";
5
5
  import { g as Je } from "./options-Bh1s18jm.js";
6
- import { u as wr } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-DSKgXw-g.js";
6
+ import { u as wr } from "./ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js";
7
7
  import { isEqual as nn, cloneDeep as H, isString as rn, omit as Nr, omitBy as Fr, pick as Pr, isUndefined as Tr } from "es-toolkit";
8
8
  import "@tanstack/vue-virtual";
9
9
  import { _ as kr } from "./Tooltip.vue_vue_type_script_setup_true_lang-DX19Sbqt.js";
10
10
  import { createContext as wn } from "reka-ui";
11
11
  const on = ["3xsm", "2xsm", "xsm", "sm"];
12
12
  function Ke(e) {
13
- const t = (n) => n.type === jn || n.type === $n && typeof n.children == "string" && !n.children.trim() ? !0 : n.type === Be && Array.isArray(n.children) ? n.children.every(t) : !1;
13
+ const t = (n) => n.type === _n || n.type === jn && typeof n.children == "string" && !n.children.trim() ? !0 : n.type === Be && Array.isArray(n.children) ? n.children.every(t) : !1;
14
14
  return e ? Array.isArray(e) ? e.every(t) : t(e) : !0;
15
15
  }
16
- function As(e) {
16
+ function Vs(e) {
17
17
  return !!e && Array.isArray(e) && (e == null ? void 0 : e.length) === 1 && (e == null ? void 0 : e[0].type) === Be;
18
18
  }
19
19
  function Br(e = []) {
@@ -22,22 +22,22 @@ function Br(e = []) {
22
22
  Array.isArray(n) ? t.push(...n) : (n == null ? void 0 : n.type) === Be && Array.isArray(n.children) ? t.push(...Br(n.children)) : n && t.push(n);
23
23
  })), t.filter((n) => !Ke(n));
24
24
  }
25
- function Vs(e) {
25
+ function Os(e) {
26
26
  const t = Array.isArray(e) && e.length === 1 ? e[0] : e;
27
27
  return !!t && t.__v_isVNode && typeof t.type != "symbol";
28
28
  }
29
29
  const Zr = (e) => e != null && e !== "", xr = Symbol("skipFlatten"), sn = (e = [], t = !0) => {
30
30
  const n = Array.isArray(e) ? e : [e], r = [];
31
31
  return n.forEach((i) => {
32
- Array.isArray(i) ? r.push(...sn(i, t)) : i && i.type === Be ? i.key === xr ? r.push(i) : r.push(...sn(i.children, t)) : i && _n(i) ? t && !Ke(i) ? r.push(i) : t || r.push(i) : Zr(i) && r.push(i);
32
+ Array.isArray(i) ? r.push(...sn(i, t)) : i && i.type === Be ? i.key === xr ? r.push(i) : r.push(...sn(i.children, t)) : i && $n(i) ? t && !Ke(i) ? r.push(i) : t || r.push(i) : Zr(i) && r.push(i);
33
33
  }), r;
34
34
  };
35
- function Os(e, t, n) {
35
+ function Ss(e, t, n) {
36
36
  const r = [], i = (o) => {
37
37
  if (!o) return;
38
38
  const s = Array.isArray(o) ? o : [o];
39
39
  for (const u of s)
40
- if (_n(u) && !(u.type === jn || u.type === $n)) {
40
+ if ($n(u) && !(u.type === _n || u.type === jn)) {
41
41
  if (u.type === Be && Array.isArray(u.children)) {
42
42
  i(u.children);
43
43
  continue;
@@ -327,7 +327,7 @@ function Ei(e) {
327
327
  function Ii(e) {
328
328
  return vi(e);
329
329
  }
330
- function kn(e) {
330
+ function wi(e) {
331
331
  if (e == null)
332
332
  return !0;
333
333
  if (Rr(e))
@@ -340,6 +340,9 @@ function kn(e) {
340
340
  }
341
341
  return !0;
342
342
  }
343
+ function kn(e) {
344
+ return typeof e == "number" ? !e : wi(e);
345
+ }
343
346
  /**
344
347
  * vee-validate v4.15.1
345
348
  * (c) 2025 Abdelrahman Awad
@@ -355,18 +358,18 @@ const $e = (e) => e !== null && !!e && typeof e == "object" && !Array.isArray(e)
355
358
  function Wt(e) {
356
359
  return Number(e) >= 0;
357
360
  }
358
- function wi(e) {
361
+ function Ni(e) {
359
362
  const t = parseFloat(e);
360
363
  return isNaN(t) ? e : t;
361
364
  }
362
- function Ni(e) {
365
+ function Fi(e) {
363
366
  return typeof e == "object" && e !== null;
364
367
  }
365
- function Fi(e) {
368
+ function Pi(e) {
366
369
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
367
370
  }
368
371
  function cn(e) {
369
- if (!Ni(e) || Fi(e) !== "[object Object]")
372
+ if (!Fi(e) || Pi(e) !== "[object Object]")
370
373
  return !1;
371
374
  if (Object.getPrototypeOf(e) === null)
372
375
  return !0;
@@ -399,13 +402,13 @@ function Me(e) {
399
402
  return n;
400
403
  }
401
404
  const Zn = {};
402
- function Pi(e, t) {
403
- ki(e, t), Zn[e] = t;
405
+ function Ti(e, t) {
406
+ Bi(e, t), Zn[e] = t;
404
407
  }
405
- function Ti(e) {
408
+ function ki(e) {
406
409
  return Zn[e];
407
410
  }
408
- function ki(e, t) {
411
+ function Bi(e, t) {
409
412
  if (!X(t))
410
413
  throw new Error(`Extension Error: The validator '${e}' must be a function.`);
411
414
  }
@@ -427,7 +430,7 @@ function w(e) {
427
430
  }
428
431
  return i || e;
429
432
  }
430
- const Gt = Symbol("vee-validate-form"), Bi = Symbol("vee-validate-form-context"), Zi = Symbol("vee-validate-field-instance"), dn = Symbol("Default empty value"), xn = typeof window < "u";
433
+ const Gt = Symbol("vee-validate-form"), Zi = Symbol("vee-validate-form-context"), xi = Symbol("vee-validate-field-instance"), dn = Symbol("Default empty value"), xn = typeof window < "u";
431
434
  function zt(e) {
432
435
  return X(e) && !!e.__locatorRef;
433
436
  }
@@ -440,22 +443,22 @@ function vt(e) {
440
443
  function zn(e) {
441
444
  return e === "checkbox" || e === "radio";
442
445
  }
443
- function xi(e) {
446
+ function zi(e) {
444
447
  return $e(e) || Array.isArray(e);
445
448
  }
446
- function zi(e) {
449
+ function Ri(e) {
447
450
  return Array.isArray(e) ? e.length === 0 : $e(e) && Object.keys(e).length === 0;
448
451
  }
449
452
  function At(e) {
450
453
  return /^\[.+\]$/i.test(e);
451
454
  }
452
- function Ri(e) {
455
+ function Di(e) {
453
456
  return Rn(e) && e.multiple;
454
457
  }
455
458
  function Rn(e) {
456
459
  return e.tagName === "SELECT";
457
460
  }
458
- function Di(e) {
461
+ function Mi(e) {
459
462
  return Dn(e) && e.target && "submit" in e.target;
460
463
  }
461
464
  function Dn(e) {
@@ -535,7 +538,7 @@ function Kt(e) {
535
538
  return At(e) ? e.replace(/\[|\]/gi, "") : e;
536
539
  }
537
540
  function re(e, t, n) {
538
- return e ? At(t) ? e[Kt(t)] : (t || "").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((i, o) => xi(i) && o in i ? i[o] : n, e) : n;
541
+ return e ? At(t) ? e[Kt(t)] : (t || "").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((i, o) => zi(i) && o in i ? i[o] : n, e) : n;
539
542
  }
540
543
  function ye(e, t, n) {
541
544
  if (At(t)) {
@@ -577,7 +580,7 @@ function yn(e, t) {
577
580
  }
578
581
  const i = n.map((o, s) => re(e, n.slice(0, s).join(".")));
579
582
  for (let o = i.length - 1; o >= 0; o--)
580
- if (zi(i[o])) {
583
+ if (Ri(i[o])) {
581
584
  if (o === 0) {
582
585
  Tt(e, n[0]);
583
586
  continue;
@@ -599,7 +602,7 @@ function pn(e, t, n) {
599
602
  }
600
603
  return Q(e, t) ? n : t;
601
604
  }
602
- function Mi(e, t) {
605
+ function Ui(e, t) {
603
606
  let n, r;
604
607
  return function(...i) {
605
608
  const o = this;
@@ -615,8 +618,8 @@ function gn(e, t = 0) {
615
618
  }, t), new Promise((o) => r.push(o));
616
619
  };
617
620
  }
618
- function Ui(e, t) {
619
- return $e(t) && t.number ? wi(e) : e;
621
+ function Li(e, t) {
622
+ return $e(t) && t.number ? Ni(e) : e;
620
623
  }
621
624
  function Rt(e, t) {
622
625
  let n;
@@ -636,7 +639,7 @@ function tt(e, t) {
636
639
  t.includes(r) || (n[r] = e[r]);
637
640
  return n;
638
641
  }
639
- function Li(e) {
642
+ function qi(e) {
640
643
  let t = null, n = [];
641
644
  return function(...r) {
642
645
  const i = ue(() => {
@@ -655,7 +658,7 @@ function kt(e) {
655
658
  function Un(e) {
656
659
  return "_value" in e;
657
660
  }
658
- function qi(e) {
661
+ function Wi(e) {
659
662
  return e.type === "number" || e.type === "range" ? Number.isNaN(e.valueAsNumber) ? e.value : e.valueAsNumber : e.value;
660
663
  }
661
664
  function mt(e) {
@@ -668,13 +671,13 @@ function mt(e) {
668
671
  const n = Array.from(t.files);
669
672
  return t.multiple ? n : n[0];
670
673
  }
671
- if (Ri(t))
674
+ if (Di(t))
672
675
  return Array.from(t.options).filter((n) => n.selected && !n.disabled).map(kt);
673
676
  if (Rn(t)) {
674
677
  const n = Array.from(t.options).find((r) => r.selected);
675
678
  return n ? kt(n) : t.value;
676
679
  }
677
- return qi(t);
680
+ return Wi(t);
678
681
  }
679
682
  function Ln(e) {
680
683
  const t = {};
@@ -684,36 +687,36 @@ function Ln(e) {
684
687
  enumerable: !1,
685
688
  configurable: !1
686
689
  }), e ? $e(e) && e._$$isNormalized ? e : $e(e) ? Object.keys(e).reduce((n, r) => {
687
- const i = Wi(e[r]);
690
+ const i = Gi(e[r]);
688
691
  return e[r] !== !1 && (n[r] = hn(i)), n;
689
692
  }, t) : typeof e != "string" ? t : e.split("|").reduce((n, r) => {
690
- const i = Gi(r);
693
+ const i = Ki(r);
691
694
  return i.name && (n[i.name] = hn(i.params)), n;
692
695
  }, t) : t;
693
696
  }
694
- function Wi(e) {
697
+ function Gi(e) {
695
698
  return e === !0 ? [] : Array.isArray(e) || $e(e) ? e : [e];
696
699
  }
697
700
  function hn(e) {
698
- const t = (n) => typeof n == "string" && n[0] === "@" ? Ki(n.slice(1)) : n;
701
+ const t = (n) => typeof n == "string" && n[0] === "@" ? Yi(n.slice(1)) : n;
699
702
  return Array.isArray(e) ? e.map(t) : e instanceof RegExp ? [e] : Object.keys(e).reduce((n, r) => (n[r] = t(e[r]), n), {});
700
703
  }
701
- const Gi = (e) => {
704
+ const Ki = (e) => {
702
705
  let t = [];
703
706
  const n = e.split(":")[0];
704
707
  return e.includes(":") && (t = e.split(":").slice(1).join(":").split(",")), { name: n, params: t };
705
708
  };
706
- function Ki(e) {
709
+ function Yi(e) {
707
710
  const t = (n) => {
708
711
  var r;
709
712
  return (r = re(n, e)) !== null && r !== void 0 ? r : n[e];
710
713
  };
711
714
  return t.__locatorRef = e, t;
712
715
  }
713
- function Yi(e) {
716
+ function Hi(e) {
714
717
  return Array.isArray(e) ? e.filter(zt) : te(e).filter((t) => zt(e[t])).map((t) => e[t]);
715
718
  }
716
- const Hi = {
719
+ const Ji = {
717
720
  generateMessage: ({ field: e }) => `${e} is not valid.`,
718
721
  bails: !0,
719
722
  validateOnBlur: !0,
@@ -721,8 +724,8 @@ const Hi = {
721
724
  validateOnInput: !1,
722
725
  validateOnModelUpdate: !0
723
726
  };
724
- let Ji = Object.assign({}, Hi);
725
- const Ue = () => Ji;
727
+ let Xi = Object.assign({}, Ji);
728
+ const Ue = () => Xi;
726
729
  async function qn(e, t, n = {}) {
727
730
  const r = n == null ? void 0 : n.bails, i = {
728
731
  name: (n == null ? void 0 : n.name) || "{field}",
@@ -730,13 +733,13 @@ async function qn(e, t, n = {}) {
730
733
  label: n == null ? void 0 : n.label,
731
734
  bails: r ?? !0,
732
735
  formData: (n == null ? void 0 : n.values) || {}
733
- }, o = await Xi(i, e);
736
+ }, o = await Qi(i, e);
734
737
  return Object.assign(Object.assign({}, o), { valid: !o.errors.length });
735
738
  }
736
- async function Xi(e, t) {
739
+ async function Qi(e, t) {
737
740
  const n = e.rules;
738
741
  if (ve(n) || vt(n))
739
- return eo(t, Object.assign(Object.assign({}, e), { rules: n }));
742
+ return to(t, Object.assign(Object.assign({}, e), { rules: n }));
740
743
  if (X(n) || Array.isArray(n)) {
741
744
  const u = {
742
745
  field: e.label || e.name,
@@ -766,7 +769,7 @@ async function Xi(e, t) {
766
769
  }
767
770
  const r = Object.assign(Object.assign({}, e), { rules: Ln(n) }), i = [], o = Object.keys(r.rules), s = o.length;
768
771
  for (let u = 0; u < s; u++) {
769
- const c = o[u], f = await to(r, t, {
772
+ const c = o[u], f = await no(r, t, {
770
773
  name: c,
771
774
  params: r.rules[c]
772
775
  });
@@ -779,7 +782,7 @@ async function Xi(e, t) {
779
782
  errors: i
780
783
  };
781
784
  }
782
- function Qi(e) {
785
+ function eo(e) {
783
786
  return !!e && e.name === "ValidationError";
784
787
  }
785
788
  function Wn(e) {
@@ -793,7 +796,7 @@ function Wn(e) {
793
796
  errors: []
794
797
  };
795
798
  } catch (o) {
796
- if (!Qi(o))
799
+ if (!eo(o))
797
800
  throw o;
798
801
  if (!(!((i = o.inner) === null || i === void 0) && i.length) && o.errors.length)
799
802
  return { errors: [{ path: o.path, errors: o.errors }] };
@@ -806,7 +809,7 @@ function Wn(e) {
806
809
  }
807
810
  };
808
811
  }
809
- async function eo(e, t) {
812
+ async function to(e, t) {
810
813
  const r = await (ve(t.rules) ? t.rules : Wn(t.rules)).parse(e, { formData: t.formData }), i = [];
811
814
  for (const o of r.errors)
812
815
  o.errors.length && i.push(...o.errors);
@@ -815,11 +818,11 @@ async function eo(e, t) {
815
818
  errors: i
816
819
  };
817
820
  }
818
- async function to(e, t, n) {
819
- const r = Ti(n.name);
821
+ async function no(e, t, n) {
822
+ const r = ki(n.name);
820
823
  if (!r)
821
824
  throw new Error(`No such validator '${n.name}' exists.`);
822
- const i = no(n.params, e.formData), o = {
825
+ const i = ro(n.params, e.formData), o = {
823
826
  field: e.label || e.name,
824
827
  name: e.name,
825
828
  label: e.label,
@@ -837,11 +840,11 @@ function Gn(e) {
837
840
  const t = Ue().generateMessage;
838
841
  return t ? t(e) : "Field is invalid";
839
842
  }
840
- function no(e, t) {
843
+ function ro(e, t) {
841
844
  const n = (r) => zt(r) ? r(t) : r;
842
845
  return Array.isArray(e) ? e.map(n) : Object.keys(e).reduce((r, i) => (r[i] = n(e[i]), r), {});
843
846
  }
844
- async function ro(e, t) {
847
+ async function io(e, t) {
845
848
  const r = await (ve(e) ? e : Wn(e)).parse(w(t), { formData: w(t) }), i = {}, o = {};
846
849
  for (const s of r.errors) {
847
850
  const u = s.errors, c = (s.path || "").replace(/\["(\d+)"\]/g, (f, y) => `[${y}]`);
@@ -855,7 +858,7 @@ async function ro(e, t) {
855
858
  source: "schema"
856
859
  };
857
860
  }
858
- async function io(e, t, n) {
861
+ async function oo(e, t, n) {
859
862
  const i = te(e).map(async (f) => {
860
863
  var y, p, S;
861
864
  const v = (y = n == null ? void 0 : n.names) === null || y === void 0 ? void 0 : y[f], _ = await qn(re(t, f), e[f], {
@@ -881,14 +884,14 @@ async function io(e, t, n) {
881
884
  };
882
885
  }
883
886
  let bn = 0;
884
- function oo(e, t) {
885
- const { value: n, initialValue: r, setInitialValue: i } = so(e, t.modelValue, t.form);
887
+ function so(e, t) {
888
+ const { value: n, initialValue: r, setInitialValue: i } = lo(e, t.modelValue, t.form);
886
889
  if (!t.form) {
887
890
  let S = function(v) {
888
891
  var _;
889
892
  "value" in v && (n.value = v.value), "errors" in v && f(v.errors), "touched" in v && (p.touched = (_ = v.touched) !== null && _ !== void 0 ? _ : p.touched), "initialValue" in v && i(v.initialValue);
890
893
  };
891
- const { errors: c, setErrors: f } = uo(), y = bn >= Number.MAX_SAFE_INTEGER ? 0 : ++bn, p = ao(n, r, c, t.schema);
894
+ const { errors: c, setErrors: f } = co(), y = bn >= Number.MAX_SAFE_INTEGER ? 0 : ++bn, p = uo(n, r, c, t.schema);
892
895
  return {
893
896
  id: y,
894
897
  path: e,
@@ -922,7 +925,7 @@ function oo(e, t) {
922
925
  setState: u
923
926
  };
924
927
  }
925
- function so(e, t, n) {
928
+ function lo(e, t, n) {
926
929
  const r = ie(m(t));
927
930
  function i() {
928
931
  return n ? re(n.initialValues.value, m(e), m(r)) : m(r);
@@ -941,7 +944,7 @@ function so(e, t, n) {
941
944
  initialValue: s,
942
945
  setInitialValue: o
943
946
  };
944
- const u = lo(t, n, s, e);
947
+ const u = ao(t, n, s, e);
945
948
  return n.stageInitialValue(m(e), u, !0), {
946
949
  value: $({
947
950
  get() {
@@ -955,10 +958,10 @@ function so(e, t, n) {
955
958
  setInitialValue: o
956
959
  };
957
960
  }
958
- function lo(e, t, n, r) {
961
+ function ao(e, t, n, r) {
959
962
  return ct(e) ? m(e) : e !== void 0 ? e : re(t.values, m(r), m(n));
960
963
  }
961
- function ao(e, t, n, r) {
964
+ function uo(e, t, n, r) {
962
965
  const i = $(() => {
963
966
  var s, u, c;
964
967
  return (c = (u = (s = b(r)) === null || s === void 0 ? void 0 : s.describe) === null || u === void 0 ? void 0 : u.call(s).required) !== null && c !== void 0 ? c : !1;
@@ -978,7 +981,7 @@ function ao(e, t, n, r) {
978
981
  flush: "sync"
979
982
  }), o;
980
983
  }
981
- function uo() {
984
+ function co() {
982
985
  const e = ie([]);
983
986
  return {
984
987
  errors: e,
@@ -1057,15 +1060,15 @@ async function Kn(e) {
1057
1060
  return;
1058
1061
  const i = Object.values(qe), o = Object.values(We);
1059
1062
  r.rootNodes = [
1060
- ...i.map(vo),
1061
- ...o.map((s) => yo(s))
1063
+ ...i.map(mo),
1064
+ ...o.map((s) => po(s))
1062
1065
  ];
1063
1066
  }), n.on.getInspectorState((r) => {
1064
1067
  if (r.inspectorId !== Ge)
1065
1068
  return;
1066
- const { form: i, field: o, state: s, type: u } = po(r.nodeId);
1069
+ const { form: i, field: o, state: s, type: u } = go(r.nodeId);
1067
1070
  if (n.unhighlightElement(), i && u === "form") {
1068
- r.state = go(i), R = { type: "form", form: i }, n.highlightElement(i._vm);
1071
+ r.state = ho(i), R = { type: "form", form: i }, n.highlightElement(i._vm);
1069
1072
  return;
1070
1073
  }
1071
1074
  if (s && u === "pathState" && i) {
@@ -1088,12 +1091,12 @@ async function Kn(e) {
1088
1091
  });
1089
1092
  }
1090
1093
  }
1091
- const ke = Mi(() => {
1094
+ const ke = Ui(() => {
1092
1095
  setTimeout(async () => {
1093
1096
  await ue(), he == null || he.sendInspectorState(Ge), he == null || he.sendInspectorTree(Ge);
1094
1097
  }, 100);
1095
1098
  }, 100);
1096
- function co(e) {
1099
+ function fo(e) {
1097
1100
  const t = je();
1098
1101
  if (!he) {
1099
1102
  const n = t == null ? void 0 : t.appContext.app;
@@ -1105,7 +1108,7 @@ function co(e) {
1105
1108
  delete qe[e.formId], ke();
1106
1109
  }), ke();
1107
1110
  }
1108
- function fo(e) {
1111
+ function vo(e) {
1109
1112
  const t = je();
1110
1113
  if (!he) {
1111
1114
  const n = t == null ? void 0 : t.appContext.app;
@@ -1117,10 +1120,10 @@ function fo(e) {
1117
1120
  delete We[e.id], ke();
1118
1121
  }), ke();
1119
1122
  }
1120
- function vo(e) {
1123
+ function mo(e) {
1121
1124
  const { textColor: t, bgColor: n } = Hn(e.meta.value.valid), r = {};
1122
1125
  Object.values(e.getAllPathStates()).forEach((s) => {
1123
- ye(r, b(s.path), mo(s, e));
1126
+ ye(r, b(s.path), yo(s, e));
1124
1127
  });
1125
1128
  function i(s, u = []) {
1126
1129
  const c = [...u].pop();
@@ -1153,14 +1156,14 @@ function vo(e) {
1153
1156
  ]
1154
1157
  };
1155
1158
  }
1156
- function mo(e, t) {
1159
+ function yo(e, t) {
1157
1160
  return {
1158
1161
  id: Yt(t, e),
1159
1162
  label: b(e.path),
1160
1163
  tags: Yn(e.multiple, e.fieldsCount, e.type, e.valid, t)
1161
1164
  };
1162
1165
  }
1163
- function yo(e, t) {
1166
+ function po(e, t) {
1164
1167
  return {
1165
1168
  id: Yt(t, e),
1166
1169
  label: m(e.name),
@@ -1201,7 +1204,7 @@ function Yt(e, t) {
1201
1204
  const n = t ? "path" in t ? "pathState" : "field" : "form", r = t ? "path" in t ? t == null ? void 0 : t.path : b(t == null ? void 0 : t.name) : "", i = { f: e == null ? void 0 : e.formId, ff: (t == null ? void 0 : t.id) || r, type: n };
1202
1205
  return btoa(encodeURIComponent(JSON.stringify(i)));
1203
1206
  }
1204
- function po(e) {
1207
+ function go(e) {
1205
1208
  try {
1206
1209
  const t = JSON.parse(decodeURIComponent(atob(e))), n = qe[t.f];
1207
1210
  if (!n && t.ff) {
@@ -1250,7 +1253,7 @@ function An(e) {
1250
1253
  ]
1251
1254
  };
1252
1255
  }
1253
- function go(e) {
1256
+ function ho(e) {
1254
1257
  const { errorBag: t, meta: n, values: r, isSubmitting: i, isValidating: o, submitCount: s } = e;
1255
1258
  return {
1256
1259
  "Form state": [
@@ -1303,16 +1306,16 @@ function Hn(e) {
1303
1306
  textColor: e ? ne.black : ne.white
1304
1307
  };
1305
1308
  }
1306
- function ho(e, t, n) {
1307
- return zn(n == null ? void 0 : n.type) ? Ao(e, t, n) : Jn(e, t, n);
1309
+ function bo(e, t, n) {
1310
+ return zn(n == null ? void 0 : n.type) ? Vo(e, t, n) : Jn(e, t, n);
1308
1311
  }
1309
1312
  function Jn(e, t, n) {
1310
- const { initialValue: r, validateOnMount: i, bails: o, type: s, checkedValue: u, label: c, validateOnValueUpdate: f, uncheckedValue: y, controlled: p, keepValueOnUnmount: S, syncVModel: v, form: _ } = bo(n), N = p ? Mn(Gt) : void 0, A = _ || N, x = $(() => Me(b(e))), U = $(() => {
1313
+ const { initialValue: r, validateOnMount: i, bails: o, type: s, checkedValue: u, label: c, validateOnValueUpdate: f, uncheckedValue: y, controlled: p, keepValueOnUnmount: S, syncVModel: v, form: _ } = Ao(n), N = p ? Mn(Gt) : void 0, A = _ || N, x = $(() => Me(b(e))), U = $(() => {
1311
1314
  if (b(A == null ? void 0 : A.schema))
1312
1315
  return;
1313
1316
  const C = m(t);
1314
1317
  return vt(C) || ve(C) || X(C) || Array.isArray(C) ? C : Ln(C);
1315
- }), be = !X(U.value) && ve(b(t)), { id: E, value: B, initialValue: D, meta: I, setState: Ae, errors: we, flags: Ce } = oo(x, {
1318
+ }), be = !X(U.value) && ve(b(t)), { id: E, value: B, initialValue: D, meta: I, setState: Ae, errors: we, flags: Ce } = so(x, {
1316
1319
  modelValue: r,
1317
1320
  form: A,
1318
1321
  bails: o,
@@ -1321,7 +1324,7 @@ function Jn(e, t, n) {
1321
1324
  validate: U.value ? Oe : void 0,
1322
1325
  schema: be ? t : void 0
1323
1326
  }), se = $(() => we.value[0]);
1324
- v && Vo({
1327
+ v && Oo({
1325
1328
  value: B,
1326
1329
  prop: v,
1327
1330
  handleChange: L,
@@ -1371,7 +1374,7 @@ function Jn(e, t, n) {
1371
1374
  }
1372
1375
  const Ee = je();
1373
1376
  function Ze(h, C = !0) {
1374
- B.value = Ee && v ? Ui(h, Ee.props.modelModifiers) : h, (C ? Ve : pe)();
1377
+ B.value = Ee && v ? Li(h, Ee.props.modelModifiers) : h, (C ? Ve : pe)();
1375
1378
  }
1376
1379
  function Qe(h) {
1377
1380
  Ae({ errors: Array.isArray(h) ? h : [h] });
@@ -1406,18 +1409,18 @@ function Jn(e, t, n) {
1406
1409
  setErrors: Qe,
1407
1410
  setValue: Ze
1408
1411
  };
1409
- if (Bt(Zi, q), ct(t) && typeof m(t) != "function" && M(t, (h, C) => {
1412
+ if (Bt(xi, q), ct(t) && typeof m(t) != "function" && M(t, (h, C) => {
1410
1413
  Q(h, C) || (I.validated ? Ve() : pe());
1411
1414
  }, {
1412
1415
  deep: !0
1413
1416
  }), process.env.NODE_ENV !== "production" && (q._vm = je(), M(() => Object.assign(Object.assign({ errors: we.value }, I), { value: B.value }), ke, {
1414
1417
  deep: !0
1415
- }), A || fo(q)), !A)
1418
+ }), A || vo(q)), !A)
1416
1419
  return q;
1417
1420
  const St = $(() => {
1418
1421
  const h = U.value;
1419
1422
  return !h || X(h) || vt(h) || ve(h) || Array.isArray(h) ? {} : Object.keys(h).reduce((C, P) => {
1420
- const F = Yi(h[P]).map((ge) => ge.__locatorRef).reduce((ge, me) => {
1423
+ const F = Hi(h[P]).map((ge) => ge.__locatorRef).reduce((ge, me) => {
1421
1424
  const le = re(A.values, me) || A.values[me];
1422
1425
  return le !== void 0 && (ge[me] = le), ge;
1423
1426
  }, {});
@@ -1451,7 +1454,7 @@ function Jn(e, t, n) {
1451
1454
  }
1452
1455
  }), q;
1453
1456
  }
1454
- function bo(e) {
1457
+ function Ao(e) {
1455
1458
  const t = () => ({
1456
1459
  initialValue: void 0,
1457
1460
  validateOnMount: !1,
@@ -1472,7 +1475,7 @@ function bo(e) {
1472
1475
  syncVModel: u
1473
1476
  });
1474
1477
  }
1475
- function Ao(e, t, n) {
1478
+ function Vo(e, t, n) {
1476
1479
  const r = n != null && n.standalone ? void 0 : Mn(Gt), i = n == null ? void 0 : n.checkedValue, o = n == null ? void 0 : n.uncheckedValue;
1477
1480
  function s(u) {
1478
1481
  const c = u.handleChange, f = $(() => {
@@ -1498,7 +1501,7 @@ function Ao(e, t, n) {
1498
1501
  }
1499
1502
  return s(Jn(e, t, n));
1500
1503
  }
1501
- function Vo({ prop: e, value: t, handleChange: n, shouldValidate: r }) {
1504
+ function Oo({ prop: e, value: t, handleChange: n, shouldValidate: r }) {
1502
1505
  const i = je();
1503
1506
  if (!i || !e) {
1504
1507
  process.env.NODE_ENV !== "production" && console.warn("Failed to setup model events because `useField` was not called in setup.");
@@ -1518,17 +1521,17 @@ function Mt(e, t) {
1518
1521
  if (e)
1519
1522
  return e.props[t];
1520
1523
  }
1521
- let Oo = 0;
1524
+ let So = 0;
1522
1525
  const nt = ["bails", "fieldsCount", "id", "multiple", "type", "validate"];
1523
1526
  function Xn(e) {
1524
1527
  const t = (e == null ? void 0 : e.initialValues) || {}, n = Object.assign({}, b(t)), r = m(e == null ? void 0 : e.validationSchema);
1525
1528
  return r && ve(r) && X(r.cast) ? w(r.cast(n) || {}) : w(n);
1526
1529
  }
1527
- function So(e) {
1530
+ function _o(e) {
1528
1531
  var t;
1529
- const n = Oo++, r = (e == null ? void 0 : e.name) || "Form";
1532
+ const n = So++, r = (e == null ? void 0 : e.name) || "Form";
1530
1533
  let i = 0;
1531
- const o = ie(!1), s = ie(!1), u = ie(0), c = [], f = ut(Xn(e)), y = ie([]), p = ie({}), S = ie({}), v = Li(() => {
1534
+ const o = ie(!1), s = ie(!1), u = ie(0), c = [], f = ut(Xn(e)), y = ie([]), p = ie({}), S = ie({}), v = qi(() => {
1532
1535
  S.value = y.value.reduce((a, l) => (a[Me(b(l.path))] = l, a), {});
1533
1536
  });
1534
1537
  function _(a, l) {
@@ -1558,7 +1561,7 @@ function So(e) {
1558
1561
  }, {})), U = $(() => y.value.reduce((a, l) => (a[b(l.path)] = { name: b(l.path) || "", label: l.label || "" }, a), {})), be = $(() => y.value.reduce((a, l) => {
1559
1562
  var d;
1560
1563
  return a[b(l.path)] = (d = l.bails) !== null && d !== void 0 ? d : !0, a;
1561
- }, {})), E = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}), B = (t = e == null ? void 0 : e.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: D, originalInitialValues: I, setInitialValues: Ae } = jo(y, f, e), we = _o(y, f, I, x), Ce = $(() => y.value.reduce((a, l) => {
1564
+ }, {})), E = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}), B = (t = e == null ? void 0 : e.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: D, originalInitialValues: I, setInitialValues: Ae } = $o(y, f, e), we = jo(y, f, I, x), Ce = $(() => y.value.reduce((a, l) => {
1562
1565
  const d = re(f, b(l.path));
1563
1566
  return ye(a, b(l.path), d), a;
1564
1567
  }, {})), se = e == null ? void 0 : e.validationSchema;
@@ -1617,7 +1620,7 @@ function So(e) {
1617
1620
  .../* @__PURE__ */ new Set([...te(a.results), ...y.value.map((j) => j.path), ...d])
1618
1621
  ].sort().reduce((j, V) => {
1619
1622
  var k;
1620
- const z = V, W = L(z) || Ot(z), T = ((k = a.results[z]) === null || k === void 0 ? void 0 : k.errors) || [], G = b(W == null ? void 0 : W.path) || z, ee = $o({ errors: T, valid: !T.length }, j.results[G]);
1623
+ const z = V, W = L(z) || Ot(z), T = ((k = a.results[z]) === null || k === void 0 ? void 0 : k.errors) || [], G = b(W == null ? void 0 : W.path) || z, ee = Co({ errors: T, valid: !T.length }, j.results[G]);
1621
1624
  return j.results[G] = ee, ee.valid || (j.errors[G] = ee.errors[0]), W && p.value[G] && delete p.value[G], W ? (W.valid = ee.valid, l === "silent" || l === "validated-only" && !W.validated || _(W, ee.errors), j) : (_(G, T), j);
1622
1625
  }, {
1623
1626
  valid: a.valid,
@@ -1873,14 +1876,14 @@ function So(e) {
1873
1876
  if (!a)
1874
1877
  return { valid: !0, results: {}, errors: {}, source: "none" };
1875
1878
  s.value = !0;
1876
- const l = vt(a) || ve(a) ? await ro(a, f) : await io(a, f, {
1879
+ const l = vt(a) || ve(a) ? await io(a, f) : await oo(a, f, {
1877
1880
  names: U.value,
1878
1881
  bailsMap: be.value
1879
1882
  });
1880
1883
  return s.value = !1, l;
1881
1884
  }
1882
1885
  const yr = q((a, { evt: l }) => {
1883
- Di(l) && l.target.submit();
1886
+ Mi(l) && l.target.submit();
1884
1887
  });
1885
1888
  yt(() => {
1886
1889
  if (e != null && e.initialErrors && N(e.initialErrors), e != null && e.initialTouched && _t(e.initialTouched), e != null && e.validateOnMount) {
@@ -1891,7 +1894,7 @@ function So(e) {
1891
1894
  }), ct(se) && M(se, () => {
1892
1895
  var a;
1893
1896
  (a = C.validateSchema) === null || a === void 0 || a.call(C, "validated-only");
1894
- }), Bt(Gt, C), process.env.NODE_ENV !== "production" && (co(C), M(() => Object.assign(Object.assign({ errors: A.value }, we.value), { values: f, isSubmitting: o.value, isValidating: s.value, submitCount: u.value }), ke, {
1897
+ }), Bt(Gt, C), process.env.NODE_ENV !== "production" && (fo(C), M(() => Object.assign(Object.assign({ errors: A.value }, we.value), { values: f, isSubmitting: o.value, isValidating: s.value, submitCount: u.value }), ke, {
1895
1898
  deep: !0
1896
1899
  }));
1897
1900
  function Ct(a, l) {
@@ -1959,9 +1962,9 @@ function So(e) {
1959
1962
  });
1960
1963
  }
1961
1964
  const tn = Object.assign(Object.assign({}, C), { values: br(f), handleReset: () => jt(), submitForm: yr });
1962
- return Bt(Bi, tn), tn;
1965
+ return Bt(Zi, tn), tn;
1963
1966
  }
1964
- function _o(e, t, n, r) {
1967
+ function jo(e, t, n, r) {
1965
1968
  const i = {
1966
1969
  touched: "some",
1967
1970
  pending: "some",
@@ -1980,7 +1983,7 @@ function _o(e, t, n, r) {
1980
1983
  u.touched = c.touched, u.valid = c.valid, u.pending = c.pending;
1981
1984
  }), $(() => Object.assign(Object.assign({ initialValues: m(n) }, u), { valid: u.valid && !te(r.value).length, dirty: o.value }));
1982
1985
  }
1983
- function jo(e, t, n) {
1986
+ function $o(e, t, n) {
1984
1987
  const r = Xn(n), i = ie(r), o = ie(w(r));
1985
1988
  function s(u, c) {
1986
1989
  c != null && c.force ? (i.value = w(u), o.value = w(u)) : (i.value = Ye(w(i.value) || {}, w(u)), o.value = Ye(w(o.value) || {}, w(u))), c != null && c.updateFields && e.value.forEach((f) => {
@@ -1996,16 +1999,16 @@ function jo(e, t, n) {
1996
1999
  setInitialValues: s
1997
2000
  };
1998
2001
  }
1999
- function $o(e, t) {
2002
+ function Co(e, t) {
2000
2003
  return t ? {
2001
2004
  valid: e.valid && t.valid,
2002
2005
  errors: [...e.errors, ...t.errors]
2003
2006
  } : e;
2004
2007
  }
2005
- function Co(e) {
2008
+ function Eo(e) {
2006
2009
  return JSON.parse(JSON.stringify(e));
2007
2010
  }
2008
- const Eo = (e) => typeof e < "u";
2011
+ const Io = (e) => typeof e < "u";
2009
2012
  function Qn(e, t, n, r = {}) {
2010
2013
  var x, U, be;
2011
2014
  const {
@@ -2019,7 +2022,7 @@ function Qn(e, t, n, r = {}) {
2019
2022
  } = r, p = je(), S = n || (p == null ? void 0 : p.emit) || ((x = p == null ? void 0 : p.$emit) == null ? void 0 : x.bind(p)) || ((be = (U = p == null ? void 0 : p.proxy) == null ? void 0 : U.$emit) == null ? void 0 : be.bind(p == null ? void 0 : p.proxy));
2020
2023
  let v = s;
2021
2024
  t || (t = "modelValue"), v = v || `update:${t.toString()}`;
2022
- const _ = (E) => i ? typeof i == "function" ? i(E) : Co(E) : E, N = () => Eo(e[t]) ? _(e[t]) : c, A = (E) => {
2025
+ const _ = (E) => i ? typeof i == "function" ? i(E) : Eo(E) : E, N = () => Io(e[t]) ? _(e[t]) : c, A = (E) => {
2023
2026
  if (f ? f(E) && S(v, E) : S(v, E), y)
2024
2027
  try {
2025
2028
  y(E);
@@ -2051,7 +2054,7 @@ function Qn(e, t, n, r = {}) {
2051
2054
  }
2052
2055
  });
2053
2056
  }
2054
- const [Io, wo] = wn("Form"), No = () => Io({}), Ut = ht("form"), Ss = /* @__PURE__ */ He({
2057
+ const [wo, No] = wn("Form"), Fo = () => wo({}), Ut = ht("form"), _s = /* @__PURE__ */ He({
2055
2058
  ...Je("Form"),
2056
2059
  __name: "Form",
2057
2060
  props: {
@@ -2080,7 +2083,7 @@ const [Io, wo] = wn("Form"), No = () => Io({}), Ut = ht("form"), Ss = /* @__PURE
2080
2083
  deep: !0
2081
2084
  }
2082
2085
  );
2083
- const s = So({
2086
+ const s = _o({
2084
2087
  ...r,
2085
2088
  name: r.name ?? In(Ut),
2086
2089
  validationSchema: o
@@ -2134,7 +2137,7 @@ const [Io, wo] = wn("Form"), No = () => Io({}), Ut = ht("form"), Ss = /* @__PURE
2134
2137
  }, S = s.handleSubmit(() => {
2135
2138
  i("submit", H(m(u.value ?? {}) ?? m(s.values ?? {}) ?? {}));
2136
2139
  });
2137
- return wo({
2140
+ return No({
2138
2141
  props: r,
2139
2142
  form: s,
2140
2143
  validationSchema: o,
@@ -2151,7 +2154,7 @@ const [Io, wo] = wn("Form"), No = () => Io({}), Ut = ht("form"), Ss = /* @__PURE
2151
2154
  fe(v.$slots, "default", lt(at(m(s))))
2152
2155
  ], 34));
2153
2156
  }
2154
- }), Fo = ["md", "sm"], Po = ["for"], To = /* @__PURE__ */ He({
2157
+ }), Po = ["md", "sm"], To = ["for"], ko = /* @__PURE__ */ He({
2155
2158
  ...Je("Label"),
2156
2159
  __name: "Label",
2157
2160
  props: {
@@ -2180,7 +2183,7 @@ const [Io, wo] = wn("Form"), No = () => Io({}), Ut = ht("form"), Ss = /* @__PURE
2180
2183
  variants: {
2181
2184
  subtle: Te("subtle", r),
2182
2185
  leadingIcon: Te("leading-icon", r),
2183
- size: Te(Fo, r)
2186
+ size: Te(Po, r)
2184
2187
  }
2185
2188
  }), o = $(() => {
2186
2189
  switch (t.size) {
@@ -2267,9 +2270,9 @@ const [Io, wo] = wn("Form"), No = () => Io({}), Ut = ht("form"), Ss = /* @__PURE
2267
2270
  Pe(Re(s.description), 1)
2268
2271
  ])
2269
2272
  ], 2)) : _e("", !0)
2270
- ], 10, Po));
2273
+ ], 10, To));
2271
2274
  }
2272
- }), ko = ["error", "warning", "success"], Bo = ["sm", "md", "lg"], Zo = /* @__PURE__ */ He({
2275
+ }), Bo = ["error", "warning", "success"], Zo = ["sm", "md", "lg"], xo = /* @__PURE__ */ He({
2273
2276
  ...Je("FormValidation"),
2274
2277
  __name: "FormValidation",
2275
2278
  props: {
@@ -2289,7 +2292,7 @@ const [Io, wo] = wn("Form"), No = () => Io({}), Ut = ht("form"), Ss = /* @__PURE
2289
2292
  }
2290
2293
  }), i = ht("form_validation"), o = bt(i, {
2291
2294
  variants: {
2292
- status: Te(ko, i)
2295
+ status: Te(Bo, i)
2293
2296
  }
2294
2297
  }), s = () => {
2295
2298
  var f, y;
@@ -2446,18 +2449,18 @@ const er = (e, t) => {
2446
2449
  const r = String(e);
2447
2450
  return n ? (it[n] || it.en).test(r) : Object.keys(it).some((i) => it[i].test(r));
2448
2451
  };
2449
- function xo(e) {
2452
+ function zo(e) {
2450
2453
  return Array.isArray(e) ? { min: e[0], max: e[1] } : e;
2451
2454
  }
2452
2455
  const ir = (e, t) => {
2453
2456
  if (Z(e))
2454
2457
  return !0;
2455
- const { min: n, max: r } = xo(t);
2458
+ const { min: n, max: r } = zo(t);
2456
2459
  if (Array.isArray(e))
2457
2460
  return e.every((o) => ir(o, { min: n, max: r }));
2458
2461
  const i = Number(e);
2459
2462
  return Number(n) <= i && Number(r) >= i;
2460
- }, zo = (e, t) => {
2463
+ }, Ro = (e, t) => {
2461
2464
  const n = de(t, "target");
2462
2465
  return String(e) === String(n);
2463
2466
  }, or = (e, t) => {
@@ -2468,46 +2471,46 @@ const ir = (e, t) => {
2468
2471
  return e.every((i) => or(i, { length: n }));
2469
2472
  const r = String(e);
2470
2473
  return /^[0-9]*$/.test(r) && r.length === Number(n);
2471
- }, Ro = (e, t, n) => {
2474
+ }, Do = (e, t, n) => {
2472
2475
  const r = window.URL || window.webkitURL;
2473
2476
  return new Promise((i) => {
2474
2477
  const o = new Image();
2475
2478
  o.onerror = () => i(!1), o.onload = () => i(o.width === t && o.height === n), o.src = r.createObjectURL(e);
2476
2479
  });
2477
2480
  };
2478
- function Do(e) {
2481
+ function Mo(e) {
2479
2482
  return e ? Array.isArray(e) ? { width: Number(e[0]), height: Number(e[1]) } : {
2480
2483
  width: Number(e.width),
2481
2484
  height: Number(e.height)
2482
2485
  } : { width: 0, height: 0 };
2483
2486
  }
2484
- const Mo = (e, t) => {
2487
+ const Uo = (e, t) => {
2485
2488
  if (Z(e))
2486
2489
  return !0;
2487
- const { width: n, height: r } = Do(t), i = [], o = Array.isArray(e) ? e : [e];
2490
+ const { width: n, height: r } = Mo(t), i = [], o = Array.isArray(e) ? e : [e];
2488
2491
  for (let s = 0; s < o.length; s++) {
2489
2492
  if (!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(o[s].name))
2490
2493
  return Promise.resolve(!1);
2491
2494
  i.push(o[s]);
2492
2495
  }
2493
- return Promise.all(i.map((s) => Ro(s, n, r))).then((s) => s.every((u) => u));
2494
- }, Vn = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Uo = (e) => Z(e) ? !0 : Array.isArray(e) ? e.every((t) => Vn.test(String(t))) : Vn.test(String(e)), Lo = (e, t) => {
2496
+ return Promise.all(i.map((s) => Do(s, n, r))).then((s) => s.every((u) => u));
2497
+ }, Vn = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Lo = (e) => Z(e) ? !0 : Array.isArray(e) ? e.every((t) => Vn.test(String(t))) : Vn.test(String(e)), qo = (e, t) => {
2495
2498
  if (Z(e))
2496
2499
  return !0;
2497
2500
  const n = new RegExp(`\\.(${t.join("|")})$`, "i");
2498
2501
  return Array.isArray(e) ? e.every((r) => n.test(r.name)) : n.test(e.name);
2499
- }, qo = (e) => {
2502
+ }, Wo = (e) => {
2500
2503
  if (Z(e))
2501
2504
  return !0;
2502
2505
  const t = /\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;
2503
2506
  return Array.isArray(e) ? e.every((n) => t.test(n.name)) : t.test(e.name);
2504
- }, Wo = (e) => Z(e) ? !0 : Array.isArray(e) ? e.every((t) => /^-?[0-9]+$/.test(String(t))) : /^-?[0-9]+$/.test(String(e)), Go = (e, t) => {
2507
+ }, Go = (e) => Z(e) ? !0 : Array.isArray(e) ? e.every((t) => /^-?[0-9]+$/.test(String(t))) : /^-?[0-9]+$/.test(String(e)), Ko = (e, t) => {
2505
2508
  const n = de(t, "other");
2506
2509
  return e === n;
2507
- }, Ko = (e, t) => {
2510
+ }, Yo = (e, t) => {
2508
2511
  const n = de(t, "other");
2509
2512
  return e !== n;
2510
- }, Yo = (e, t) => {
2513
+ }, Ho = (e, t) => {
2511
2514
  if (Z(e))
2512
2515
  return !0;
2513
2516
  const n = de(t, "length");
@@ -2523,15 +2526,15 @@ const Mo = (e, t) => {
2523
2526
  const n = de(t, "max");
2524
2527
  return Array.isArray(e) ? e.length > 0 && e.every((r) => lr(r, { max: n })) : Number(e) <= Number(n);
2525
2528
  }, On = /\+(.+)?/;
2526
- function Ho(e) {
2529
+ function Jo(e) {
2527
2530
  let t = e;
2528
2531
  return On.test(e) && (t = e.replace(On, "(\\+$1)?")), new RegExp(t.replace("*", ".+"), "i");
2529
2532
  }
2530
- const Jo = (e, t) => {
2533
+ const Xo = (e, t) => {
2531
2534
  if (Z(e))
2532
2535
  return !0;
2533
2536
  t || (t = []);
2534
- const n = t.map(Ho);
2537
+ const n = t.map(Jo);
2535
2538
  return Array.isArray(e) ? e.every((r) => n.some((i) => i.test(r.type))) : n.some((r) => r.test(e.type));
2536
2539
  }, ar = (e, t) => {
2537
2540
  if (Z(e))
@@ -2543,12 +2546,12 @@ const Jo = (e, t) => {
2543
2546
  return !0;
2544
2547
  const n = de(t, "min");
2545
2548
  return Array.isArray(e) ? e.length > 0 && e.every((r) => ur(r, { min: n })) : Number(e) >= Number(n);
2546
- }, Ht = (e, t) => Z(e) ? !0 : Array.isArray(e) ? e.every((n) => Ht(n, t)) : Array.from(t).some((n) => n == e), Xo = (e, t) => Z(e) ? !0 : !Ht(e, t), Qo = /^[٠١٢٣٤٥٦٧٨٩]+$/, es = /^[0-9]+$/, ts = (e) => {
2549
+ }, Ht = (e, t) => Z(e) ? !0 : Array.isArray(e) ? e.every((n) => Ht(n, t)) : Array.from(t).some((n) => n == e), Qo = (e, t) => Z(e) ? !0 : !Ht(e, t), es = /^[٠١٢٣٤٥٦٧٨٩]+$/, ts = /^[0-9]+$/, ns = (e) => {
2547
2550
  if (Z(e))
2548
2551
  return !0;
2549
2552
  const t = (n) => {
2550
2553
  const r = String(n);
2551
- return es.test(r) || Qo.test(r);
2554
+ return ts.test(r) || es.test(r);
2552
2555
  };
2553
2556
  return Array.isArray(e) ? e.every(t) : t(e);
2554
2557
  }, cr = (e, t) => {
@@ -2557,13 +2560,13 @@ const Jo = (e, t) => {
2557
2560
  let n = de(t, "regex");
2558
2561
  return typeof n == "string" && (n = new RegExp(n)), Array.isArray(e) ? e.every((r) => cr(r, { regex: n })) : n.test(String(e));
2559
2562
  };
2560
- function ns(e) {
2563
+ function rs(e) {
2561
2564
  return e == null;
2562
2565
  }
2563
- function rs(e) {
2566
+ function is(e) {
2564
2567
  return Array.isArray(e) && e.length === 0;
2565
2568
  }
2566
- const is = (e) => ns(e) || rs(e) || e === !1 ? !1 : !!String(e).trim().length, os = (e, t) => {
2569
+ const os = (e) => rs(e) || is(e) || e === !1 ? !1 : !!String(e).trim().length, ss = (e, t) => {
2567
2570
  if (Z(e))
2568
2571
  return !0;
2569
2572
  let n = de(t, "size");
@@ -2576,7 +2579,7 @@ const is = (e) => ns(e) || rs(e) || e === !1 ? !1 : !!String(e).trim().length, o
2576
2579
  if (e[i].size > r)
2577
2580
  return !1;
2578
2581
  return !0;
2579
- }, ss = (e, t) => {
2582
+ }, ls = (e, t) => {
2580
2583
  var n;
2581
2584
  if (Z(e))
2582
2585
  return !0;
@@ -2594,35 +2597,35 @@ const is = (e) => ns(e) || rs(e) || e === !1 ? !1 : !!String(e).trim().length, o
2594
2597
  alpha_spaces: rr,
2595
2598
  alpha: er,
2596
2599
  between: ir,
2597
- confirmed: zo,
2600
+ confirmed: Ro,
2598
2601
  digits: or,
2599
- dimensions: Mo,
2600
- email: Uo,
2601
- ext: Lo,
2602
- image: qo,
2603
- integer: Wo,
2604
- is_not: Ko,
2605
- is: Go,
2606
- length: Yo,
2602
+ dimensions: Uo,
2603
+ email: Lo,
2604
+ ext: qo,
2605
+ image: Wo,
2606
+ integer: Go,
2607
+ is_not: Yo,
2608
+ is: Ko,
2609
+ length: Ho,
2607
2610
  max_value: lr,
2608
2611
  max: sr,
2609
- mimes: Jo,
2612
+ mimes: Xo,
2610
2613
  min_value: ur,
2611
2614
  min: ar,
2612
- not_one_of: Xo,
2613
- numeric: ts,
2615
+ not_one_of: Qo,
2616
+ numeric: ns,
2614
2617
  one_of: Ht,
2615
2618
  regex: cr,
2616
- required: is,
2617
- size: os,
2618
- url: ss
2619
- }, ls = () => {
2619
+ required: os,
2620
+ size: ss,
2621
+ url: ls
2622
+ }, as = () => {
2620
2623
  Object.keys(Sn).forEach((e) => {
2621
- Pi(e, Sn[e]);
2624
+ Ti(e, Sn[e]);
2622
2625
  });
2623
2626
  };
2624
- ls();
2625
- const [as, us] = wn("FormItem"), _s = () => as({}), js = /* @__PURE__ */ He({
2627
+ as();
2628
+ const [us, cs] = wn("FormItem"), js = () => us({}), $s = /* @__PURE__ */ He({
2626
2629
  ...Je("FormItem"),
2627
2630
  __name: "FormItem",
2628
2631
  props: {
@@ -2676,14 +2679,14 @@ const [as, us] = wn("FormItem"), _s = () => as({}), js = /* @__PURE__ */ He({
2676
2679
  setup(e, { expose: t, emit: n }) {
2677
2680
  const r = e, i = n, o = ce(Ut, "item"), s = ce(o, "explanation"), u = bt(o, {
2678
2681
  variants: {
2679
- size: Te(Bo, o)
2682
+ size: Te(Zo, o)
2680
2683
  }
2681
- }), c = No(), f = $(() => {
2684
+ }), c = Fo(), f = $(() => {
2682
2685
  if (rn(r.name)) return r.name;
2683
2686
  if (Vi(r.name) && r.name.every((E) => rn(E) || Oi(E)))
2684
2687
  return r.name.join(".");
2685
2688
  throw "Invalid name";
2686
- }), y = $(() => c != null && c.form ? void 0 : r.rules), p = ho(() => f.value, y, r), S = Qn(
2689
+ }), y = $(() => c != null && c.form ? void 0 : r.rules), p = bo(() => f.value, y, r), S = Qn(
2687
2690
  r,
2688
2691
  "modelValue",
2689
2692
  i,
@@ -2785,7 +2788,7 @@ const [as, us] = wn("FormItem"), _s = () => as({}), js = /* @__PURE__ */ He({
2785
2788
  ), be = () => {
2786
2789
  if (r.info || r.description || r.leadingIcon || r.label || v.label || v.leadingIcon || v.required || v.optional || v.infoIcon || v.info || v.description)
2787
2790
  return qt(
2788
- To,
2791
+ ko,
2789
2792
  { ...U.value, for: _.value },
2790
2793
  {
2791
2794
  ...v,
@@ -2793,7 +2796,7 @@ const [as, us] = wn("FormItem"), _s = () => as({}), js = /* @__PURE__ */ He({
2793
2796
  }
2794
2797
  );
2795
2798
  };
2796
- return us({
2799
+ return cs({
2797
2800
  props: r,
2798
2801
  field: p,
2799
2802
  status: x
@@ -2822,7 +2825,7 @@ const [as, us] = wn("FormItem"), _s = () => as({}), js = /* @__PURE__ */ He({
2822
2825
  class: J(m(Y)(m(s), E.explanationCls))
2823
2826
  }, [
2824
2827
  fe(E.$slots, "explanation", lt(at(N.value)), () => [
2825
- (K(!0), oe(Be, null, Cr(m(m(p).errors), (I, Ae) => (K(), Zt(Zo, {
2828
+ (K(!0), oe(Be, null, Cr(m(m(p).errors), (I, Ae) => (K(), Zt(xo, {
2826
2829
  key: Ae,
2827
2830
  status: x.value,
2828
2831
  message: I,
@@ -2876,30 +2879,30 @@ const [as, us] = wn("FormItem"), _s = () => as({}), js = /* @__PURE__ */ He({
2876
2879
  }
2877
2880
  });
2878
2881
  export {
2879
- ko as F,
2882
+ Bo as F,
2880
2883
  on as I,
2881
- Fo as L,
2882
- Ss as _,
2883
- js as a,
2884
- _s as b,
2885
- us as c,
2886
- Bo as d,
2884
+ Po as L,
2885
+ _s as _,
2886
+ $s as a,
2887
+ js as b,
2888
+ cs as c,
2889
+ Zo as d,
2887
2890
  Lt as e,
2888
- To as f,
2889
- As as g,
2891
+ ko as f,
2892
+ Vs as g,
2890
2893
  Br as h,
2891
- No as i,
2892
- Vs as j,
2894
+ Fo as i,
2895
+ Os as j,
2893
2896
  Ke as k,
2894
2897
  kn as l,
2895
2898
  dt as m,
2896
2899
  sn as n,
2897
2900
  Oi as o,
2898
- wo as p,
2901
+ No as p,
2899
2902
  Pn as q,
2900
2903
  Rr as r,
2901
2904
  Vi as s,
2902
- Os as t,
2905
+ Ss as t,
2903
2906
  Qn as u,
2904
- Zo as v
2907
+ xo as v
2905
2908
  };