@soft-stech/bootsman-ui-shadcn 1.0.5-beta.3 → 1.0.5-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1098) hide show
  1. package/dist/BuiAccordion.vue_vue_type_script_setup_true_lang-9BLJ6Xyx.js +29 -0
  2. package/dist/BuiAccordionContent.vue_vue_type_script_setup_true_lang-cITei7Xc.js +30 -0
  3. package/dist/BuiAccordionItem.vue_vue_type_script_setup_true_lang-WpA2wBod.js +27 -0
  4. package/dist/BuiAccordionTrigger.vue_vue_type_script_setup_true_lang-XGpq6g83.js +44 -0
  5. package/dist/BuiAlertDescription.vue_vue_type_script_setup_true_lang-8jrdPVoZ.js +19 -0
  6. package/dist/BuiAlertDialog.vue_vue_type_script_setup_true_lang-drRFSwcd.js +22 -0
  7. package/dist/BuiAlertDialogAction.vue_vue_type_script_setup_true_lang-eFFXI8yh.js +24 -0
  8. package/dist/BuiAlertDialogCancel.vue_vue_type_script_setup_true_lang-TLIRf7tC.js +24 -0
  9. package/dist/BuiAlertDialogContent.vue_vue_type_script_setup_true_lang-oh-at7EE.js +38 -0
  10. package/dist/BuiAlertDialogDescription.vue_vue_type_script_setup_true_lang-X2mlNOpn.js +26 -0
  11. package/dist/BuiAlertDialogFooter.vue_vue_type_script_setup_true_lang-mmjuecnW.js +27 -0
  12. package/dist/BuiAlertDialogHeader.vue_vue_type_script_setup_true_lang-UPa1YAXB.js +22 -0
  13. package/dist/BuiAlertDialogTitle.vue_vue_type_script_setup_true_lang-nZUb20JY.js +26 -0
  14. package/dist/BuiAlertDialogTrigger.vue_vue_type_script_setup_true_lang-6rGwccsw.js +21 -0
  15. package/dist/BuiAlertTitle.vue_vue_type_script_setup_true_lang-o-BOLh_O.js +15 -0
  16. package/dist/BuiAspectRatio.vue_vue_type_script_setup_true_lang-9m_EvATB.js +22 -0
  17. package/dist/BuiAvatarFallback.vue_vue_type_script_setup_true_lang-HZyBgkY0.js +22 -0
  18. package/dist/BuiAvatarImage.vue_vue_type_script_setup_true_lang-MsIHnqZj.js +17 -0
  19. package/dist/BuiCalendar.css +1 -0
  20. package/dist/BuiCalendar.vue_vue_type_style_index_0_lang-QQzTcskD.js +6675 -0
  21. package/dist/BuiCard.vue_vue_type_script_setup_true_lang-NlSYFMAq.js +27 -0
  22. package/dist/BuiCardContent.vue_vue_type_script_setup_true_lang-KSNjVOqI.js +22 -0
  23. package/dist/BuiCardDescription.vue_vue_type_script_setup_true_lang-Zax4268g.js +22 -0
  24. package/dist/BuiCardFooter.vue_vue_type_script_setup_true_lang-bCZEO5Ur.js +22 -0
  25. package/dist/BuiCardHeader.vue_vue_type_script_setup_true_lang-shV0E_l4.js +22 -0
  26. package/dist/BuiCardTitle.vue_vue_type_script_setup_true_lang-BjqxR93B.js +22 -0
  27. package/dist/BuiCheckbox.vue_vue_type_script_setup_true_lang-hmQQsYjl.js +47 -0
  28. package/dist/BuiCommand.vue_vue_type_script_setup_true_lang-pgdGbKQE.js +41 -0
  29. package/dist/BuiCommandDialog.vue_vue_type_script_setup_true_lang-UH_r4sd4.js +36 -0
  30. package/dist/BuiCommandEmpty.vue_vue_type_script_setup_true_lang-nZN2PCOI.js +24 -0
  31. package/dist/BuiCommandGroup.vue_vue_type_script_setup_true_lang-CKpABfQa.js +34 -0
  32. package/dist/BuiCommandInput.vue_vue_type_script_setup_true_lang-7cpUivKl.js +44 -0
  33. package/dist/BuiCommandItem.vue_vue_type_script_setup_true_lang-eOQ-j7UO.js +33 -0
  34. package/dist/BuiCommandList.vue_vue_type_script_setup_true_lang-P-7zpAc5.js +44 -0
  35. package/dist/BuiCommandSeparator.vue_vue_type_script_setup_true_lang-McaxEcOo.js +24 -0
  36. package/dist/BuiCommandShortcut.vue_vue_type_script_setup_true_lang-Zy-vTjVY.js +15 -0
  37. package/dist/BuiContextMenu.vue_vue_type_script_setup_true_lang-bYczFsg-.js +22 -0
  38. package/dist/BuiContextMenuCheckboxItem.vue_vue_type_script_setup_true_lang-rCqMNMaF.js +43 -0
  39. package/dist/BuiContextMenuContent.vue_vue_type_script_setup_true_lang-CHRHXhtC.js +44 -0
  40. package/dist/BuiContextMenuGroup.vue_vue_type_script_setup_true_lang-e4bgXtVX.js +21 -0
  41. package/dist/BuiContextMenuItem.vue_vue_type_script_setup_true_lang-0-2dQG0C.js +35 -0
  42. package/dist/BuiContextMenuLabel.vue_vue_type_script_setup_true_lang-BhjZyO9o.js +26 -0
  43. package/dist/BuiContextMenuRadioGroup.vue_vue_type_script_setup_true_lang-nNHJl0-j.js +23 -0
  44. package/dist/BuiContextMenuRadioItem.vue_vue_type_script_setup_true_lang-EGhlM62H.js +43 -0
  45. package/dist/BuiContextMenuSeparator.vue_vue_type_script_setup_true_lang-kyyLXa_U.js +19 -0
  46. package/dist/BuiContextMenuShortcut.vue_vue_type_script_setup_true_lang-ToEUWhfj.js +15 -0
  47. package/dist/BuiContextMenuSub.vue_vue_type_script_setup_true_lang-T1Ux4ixK.js +22 -0
  48. package/dist/BuiContextMenuSubContent.vue_vue_type_script_setup_true_lang-Kdtlc7hW.js +46 -0
  49. package/dist/BuiContextMenuSubTrigger.vue_vue_type_script_setup_true_lang-L97g7c_7.js +36 -0
  50. package/dist/BuiContextMenuTrigger.vue_vue_type_script_setup_true_lang-sXoQhxWy.js +22 -0
  51. package/dist/BuiDataTable.vue_vue_type_script_setup_true_lang-7Tst_H0P.js +2191 -0
  52. package/dist/BuiDialog.vue_vue_type_script_setup_true_lang-XcsMzc3I.js +23 -0
  53. package/dist/BuiDialogClose.vue_vue_type_script_setup_true_lang-OHUVkyIZ.js +21 -0
  54. package/dist/BuiDialogContent.vue_vue_type_script_setup_true_lang-hrWFlzM4.js +46 -0
  55. package/dist/BuiDialogDescription.vue_vue_type_script_setup_true_lang-7u7nRjox.js +25 -0
  56. package/dist/BuiDialogFooter.vue_vue_type_script_setup_true_lang-80ERRoRc.js +24 -0
  57. package/dist/BuiDialogHeader.vue_vue_type_script_setup_true_lang-gOxYmzNm.js +19 -0
  58. package/dist/BuiDialogTitle.vue_vue_type_script_setup_true_lang-FX9zuR32.js +28 -0
  59. package/dist/BuiDialogTrigger.vue_vue_type_script_setup_true_lang-7FGqSdwP.js +21 -0
  60. package/dist/BuiDropdownMenu.vue_vue_type_script_setup_true_lang-TxkUDc51.js +24 -0
  61. package/dist/BuiDropdownMenuCheckboxItem.vue_vue_type_script_setup_true_lang-lcYopOyd.js +41 -0
  62. package/dist/BuiDropdownMenuContent.vue_vue_type_script_setup_true_lang-gVqBEKAp.js +50 -0
  63. package/dist/BuiDropdownMenuGroup.vue_vue_type_script_setup_true_lang-SzAy0CW2.js +21 -0
  64. package/dist/BuiDropdownMenuItem.vue_vue_type_script_setup_true_lang-uVdSBE0w.js +34 -0
  65. package/dist/BuiDropdownMenuLabel.vue_vue_type_script_setup_true_lang-7nLX3XMh.js +26 -0
  66. package/dist/BuiDropdownMenuRadioGroup.vue_vue_type_script_setup_true_lang-RZWoR5VT.js +25 -0
  67. package/dist/BuiDropdownMenuRadioItem.vue_vue_type_script_setup_true_lang-cDTsC5tu.js +41 -0
  68. package/dist/BuiDropdownMenuSeparator.vue_vue_type_script_setup_true_lang-W0BH0qKT.js +16 -0
  69. package/dist/BuiDropdownMenuShortcut.vue_vue_type_script_setup_true_lang-gaq5dUPX.js +15 -0
  70. package/dist/BuiDropdownMenuSub.vue_vue_type_script_setup_true_lang-b69z0e58.js +22 -0
  71. package/dist/BuiDropdownMenuSubContent.vue_vue_type_script_setup_true_lang-ATAZfrFL.js +45 -0
  72. package/dist/BuiDropdownMenuSubTrigger.vue_vue_type_script_setup_true_lang-g1i52iXv.js +34 -0
  73. package/dist/BuiDropdownMenuTrigger.vue_vue_type_script_setup_true_lang-t7nAulRQ.js +22 -0
  74. package/dist/BuiFormControl.vue_vue_type_script_setup_true_lang-sLcVABMM.js +22 -0
  75. package/dist/BuiFormDescription.vue_vue_type_script_setup_true_lang-S6O4siIc.js +19 -0
  76. package/dist/BuiFormItem.vue_vue_type_script_setup_true_lang-H1naMqTM.js +21 -0
  77. package/dist/BuiFormLabel.vue_vue_type_script_setup_true_lang-RK-EDI4m.js +32 -0
  78. package/dist/BuiFormMessage.vue_vue_type_script_setup_true_lang-faAcE08Y.js +17 -0
  79. package/dist/BuiHoverCard.vue_vue_type_script_setup_true_lang-EBv98I52.js +23 -0
  80. package/dist/BuiHoverCardContent.vue_vue_type_script_setup_true_lang-VLzerlqJ.js +47 -0
  81. package/dist/BuiHoverCardTrigger.vue_vue_type_script_setup_true_lang-PMhM5KRl.js +21 -0
  82. package/dist/BuiLabel.vue_vue_type_script_setup_true_lang-q-UZL-UE.js +26 -0
  83. package/dist/BuiPaginationCommon.vue_vue_type_script_setup_true_lang-4tLnC9mc.js +106 -0
  84. package/dist/BuiPaginationEllipsis.vue_vue_type_script_setup_true_lang-5VYL4LuB.js +37 -0
  85. package/dist/BuiPaginationFirst.vue_vue_type_script_setup_true_lang-fK4Ncltc.js +41 -0
  86. package/dist/BuiPaginationLast.vue_vue_type_script_setup_true_lang-RC1b8a4S.js +41 -0
  87. package/dist/BuiPaginationNext.vue_vue_type_script_setup_true_lang-U6POTOZx.js +33 -0
  88. package/dist/BuiPaginationPrev.vue_vue_type_script_setup_true_lang-WqAefTwp.js +33 -0
  89. package/dist/BuiPopover.vue_vue_type_script_setup_true_lang-W6f7rUvH.js +23 -0
  90. package/dist/BuiPopoverContent.vue_vue_type_script_setup_true_lang-EQuOoBbI.js +50 -0
  91. package/dist/BuiPopoverTrigger.vue_vue_type_script_setup_true_lang-JYkdXXg-.js +21 -0
  92. package/dist/BuiRadioGroup.vue_vue_type_script_setup_true_lang-2mkZhJvl.js +34 -0
  93. package/dist/BuiRadioGroupItem.vue_vue_type_script_setup_true_lang-CQE5M69-.js +42 -0
  94. package/dist/BuiSelect.vue_vue_type_script_setup_true_lang-sQ2rSMlT.js +30 -0
  95. package/dist/BuiSelectContent.vue_vue_type_script_setup_true_lang--n_M7a_T.js +62 -0
  96. package/dist/BuiSelectGroup.vue_vue_type_script_setup_true_lang-GK2pNR5m.js +25 -0
  97. package/dist/BuiSelectItem.vue_vue_type_script_setup_true_lang-VDqLtC0D.js +45 -0
  98. package/dist/BuiSelectItemText.vue_vue_type_script_setup_true_lang-m5iJ8Pg_.js +21 -0
  99. package/dist/BuiSelectLabel.vue_vue_type_script_setup_true_lang-lZ8Jh2TG.js +26 -0
  100. package/dist/BuiSelectSeparator.vue_vue_type_script_setup_true_lang-J_fX1QyS.js +20 -0
  101. package/dist/BuiSelectTrigger.vue_vue_type_script_setup_true_lang-S01r-aXt.js +40 -0
  102. package/dist/BuiSelectValue.vue_vue_type_script_setup_true_lang-0ZSwXF3e.js +22 -0
  103. package/dist/BuiSeparator.vue_vue_type_script_setup_true_lang-sf7ok9wH.js +26 -0
  104. package/dist/BuiSlider.vue_vue_type_script_setup_true_lang-BAWPsSzm.js +42 -0
  105. package/dist/BuiSwitch.vue_vue_type_script_setup_true_lang-wHJbLNso.js +48 -0
  106. package/dist/BuiTable.vue_vue_type_script_setup_true_lang-WLKBuUXU.js +21 -0
  107. package/dist/BuiTableBody.vue_vue_type_script_setup_true_lang-jK0O3b7_.js +19 -0
  108. package/dist/BuiTableCaption.vue_vue_type_script_setup_true_lang-OnsFZa8H.js +19 -0
  109. package/dist/BuiTableCell.vue_vue_type_script_setup_true_lang-VtINY171.js +19 -0
  110. package/dist/BuiTableEmpty.vue_vue_type_script_setup_true_lang-4QJziEvg.js +33 -0
  111. package/dist/BuiTableFooter.vue_vue_type_script_setup_true_lang-DN__NJQ9.js +24 -0
  112. package/dist/BuiTableHead.vue_vue_type_script_setup_true_lang-oYy0jbEy.js +26 -0
  113. package/dist/BuiTableHeader.vue_vue_type_script_setup_true_lang-HFGpZshY.js +24 -0
  114. package/dist/BuiTableRow.vue_vue_type_script_setup_true_lang-rLz2bJf7.js +24 -0
  115. package/dist/BuiTabs.vue_vue_type_script_setup_true_lang-uGY6Tchl.js +27 -0
  116. package/dist/BuiTabsContent.vue_vue_type_script_setup_true_lang-DHOghF9A.js +30 -0
  117. package/dist/BuiToastAction.vue_vue_type_script_setup_true_lang-a1xktm3u.js +29 -0
  118. package/dist/BuiToastClose.vue_vue_type_script_setup_true_lang-5mBijbF_.js +24 -0
  119. package/dist/BuiToastDescription.vue_vue_type_script_setup_true_lang-xJ-TOyWS.js +25 -0
  120. package/dist/BuiToastProvider.vue_vue_type_script_setup_true_lang-DuBHcxe4.js +23 -0
  121. package/dist/BuiToastTitle.vue_vue_type_script_setup_true_lang-EYDQfsIV.js +25 -0
  122. package/dist/BuiToastViewport.vue_vue_type_script_setup_true_lang-ulOXdHbj.js +22 -0
  123. package/dist/BuiTooltip.vue_vue_type_script_setup_true_lang-x-QhmjH7.js +25 -0
  124. package/dist/BuiTooltipContent.vue_vue_type_script_setup_true_lang-FcbPdhOp.js +44 -0
  125. package/dist/BuiTooltipProvider.vue_vue_type_script_setup_true_lang-ZioG4xmM.js +23 -0
  126. package/dist/BuiTooltipTrigger.vue_vue_type_script_setup_true_lang-BwuLE7Ul.js +21 -0
  127. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-hQ7LFTbF.js +17 -0
  128. package/dist/assets/main.css +1 -0
  129. package/dist/check-lhPAzofC.js +11 -0
  130. package/dist/chevron-down-IXxIqHx5.js +13 -0
  131. package/dist/chevron-left-YH8QQiZA.js +13 -0
  132. package/dist/chevron-right-zxos2ByC.js +13 -0
  133. package/dist/circle-6KICezMk.js +13 -0
  134. package/dist/components/ui/accordion/BuiAccordion.js +4 -0
  135. package/dist/components/ui/accordion/BuiAccordion.vue.d.ts +23 -0
  136. package/dist/components/ui/accordion/BuiAccordionContent.js +4 -0
  137. package/dist/components/ui/accordion/BuiAccordionContent.vue.d.ts +23 -0
  138. package/dist/components/ui/accordion/BuiAccordionItem.js +4 -0
  139. package/dist/components/ui/accordion/BuiAccordionItem.vue.d.ts +23 -0
  140. package/dist/components/ui/accordion/BuiAccordionTrigger.js +4 -0
  141. package/dist/components/ui/accordion/BuiAccordionTrigger.vue.d.ts +25 -0
  142. package/dist/components/ui/accordion/index.d.ts +4 -0
  143. package/dist/components/ui/accordion/index.js +10 -0
  144. package/dist/components/ui/alert/BuiAlert.js +4 -0
  145. package/dist/components/ui/alert/BuiAlert.vue.d.ts +25 -0
  146. package/dist/components/ui/alert/BuiAlertDescription.js +4 -0
  147. package/dist/components/ui/alert/BuiAlertDescription.vue.d.ts +13 -0
  148. package/dist/components/ui/alert/BuiAlertTitle.js +4 -0
  149. package/dist/components/ui/alert/BuiAlertTitle.vue.d.ts +9 -0
  150. package/dist/components/ui/alert/index.d.ts +6 -0
  151. package/dist/components/ui/alert/index.js +47 -0
  152. package/dist/components/ui/alert-dialog/BuiAlertDialog.js +4 -0
  153. package/dist/components/ui/alert-dialog/BuiAlertDialog.vue.d.ts +23 -0
  154. package/dist/components/ui/alert-dialog/BuiAlertDialogAction.js +4 -0
  155. package/dist/components/ui/alert-dialog/BuiAlertDialogAction.vue.d.ts +19 -0
  156. package/dist/components/ui/alert-dialog/BuiAlertDialogCancel.js +4 -0
  157. package/dist/components/ui/alert-dialog/BuiAlertDialogCancel.vue.d.ts +19 -0
  158. package/dist/components/ui/alert-dialog/BuiAlertDialogContent.js +4 -0
  159. package/dist/components/ui/alert-dialog/BuiAlertDialogDescription.js +4 -0
  160. package/dist/components/ui/alert-dialog/BuiAlertDialogDescription.vue.d.ts +23 -0
  161. package/dist/components/ui/alert-dialog/BuiAlertDialogFooter.js +4 -0
  162. package/dist/components/ui/alert-dialog/BuiAlertDialogFooter.vue.d.ts +21 -0
  163. package/dist/components/ui/alert-dialog/BuiAlertDialogHeader.js +4 -0
  164. package/dist/components/ui/alert-dialog/BuiAlertDialogHeader.vue.d.ts +21 -0
  165. package/dist/components/ui/alert-dialog/BuiAlertDialogTitle.js +4 -0
  166. package/dist/components/ui/alert-dialog/BuiAlertDialogTitle.vue.d.ts +23 -0
  167. package/dist/components/ui/alert-dialog/BuiAlertDialogTrigger.js +4 -0
  168. package/dist/components/ui/alert-dialog/BuiAlertDialogTrigger.vue.d.ts +19 -0
  169. package/dist/components/ui/alert-dialog/index.d.ts +9 -0
  170. package/dist/components/ui/alert-dialog/index.js +20 -0
  171. package/dist/components/ui/aspect-ratio/BuiAspectRatio.js +4 -0
  172. package/dist/components/ui/aspect-ratio/BuiAspectRatio.vue.d.ts +19 -0
  173. package/dist/components/ui/aspect-ratio/index.d.ts +1 -0
  174. package/dist/components/ui/aspect-ratio/index.js +4 -0
  175. package/dist/components/ui/avatar/BuiAvatar.js +4 -0
  176. package/dist/components/ui/avatar/BuiAvatar.vue.d.ts +41 -0
  177. package/dist/components/ui/avatar/BuiAvatarFallback.js +4 -0
  178. package/dist/components/ui/avatar/BuiAvatarFallback.vue.d.ts +19 -0
  179. package/dist/components/ui/avatar/BuiAvatarImage.js +4 -0
  180. package/dist/components/ui/avatar/BuiAvatarImage.vue.d.ts +12 -0
  181. package/dist/components/ui/avatar/index.d.ts +7 -0
  182. package/dist/components/ui/avatar/index.js +45 -0
  183. package/dist/components/ui/badge/BuiBadge.js +4 -0
  184. package/dist/components/ui/badge/BuiBadge.vue.d.ts +44 -0
  185. package/dist/components/ui/badge/index.d.ts +4 -0
  186. package/dist/components/ui/badge/index.js +47 -0
  187. package/dist/components/ui/button/BuiButton.js +4 -0
  188. package/dist/components/ui/button/BuiButton.vue.d.ts +39 -0
  189. package/dist/components/ui/button/index.d.ts +5 -0
  190. package/dist/components/ui/button/index.js +5 -0
  191. package/dist/components/ui/calendar/BuiCalendar.js +5 -0
  192. package/dist/components/ui/calendar/BuiCalendar.vue.d.ts +63 -0
  193. package/dist/components/ui/calendar/index.d.ts +3 -0
  194. package/dist/components/ui/calendar/index.js +95 -0
  195. package/dist/components/ui/card/BuiCard.js +4 -0
  196. package/dist/components/ui/card/BuiCard.vue.d.ts +21 -0
  197. package/dist/components/ui/card/BuiCardContent.js +4 -0
  198. package/dist/components/ui/card/BuiCardContent.vue.d.ts +21 -0
  199. package/dist/components/ui/card/BuiCardDescription.js +4 -0
  200. package/dist/components/ui/card/BuiCardDescription.vue.d.ts +21 -0
  201. package/dist/components/ui/card/BuiCardFooter.js +4 -0
  202. package/dist/components/ui/card/BuiCardFooter.vue.d.ts +21 -0
  203. package/dist/components/ui/card/BuiCardHeader.js +4 -0
  204. package/dist/components/ui/card/BuiCardHeader.vue.d.ts +21 -0
  205. package/dist/components/ui/card/BuiCardTitle.js +4 -0
  206. package/dist/components/ui/card/BuiCardTitle.vue.d.ts +21 -0
  207. package/dist/components/ui/card/index.d.ts +6 -0
  208. package/dist/components/ui/card/index.js +14 -0
  209. package/dist/components/ui/checkbox/BuiCheckbox.js +4 -0
  210. package/dist/components/ui/checkbox/BuiCheckbox.vue.d.ts +16 -0
  211. package/dist/components/ui/checkbox/index.d.ts +1 -0
  212. package/dist/components/ui/checkbox/index.js +4 -0
  213. package/dist/components/ui/command/BuiCommand.js +4 -0
  214. package/dist/components/ui/command/BuiCommandDialog.js +4 -0
  215. package/dist/components/ui/command/BuiCommandDialog.vue.d.ts +23 -0
  216. package/dist/components/ui/command/BuiCommandEmpty.js +4 -0
  217. package/dist/components/ui/command/BuiCommandEmpty.vue.d.ts +19 -0
  218. package/dist/components/ui/command/BuiCommandGroup.js +4 -0
  219. package/dist/components/ui/command/BuiCommandGroup.vue.d.ts +23 -0
  220. package/dist/components/ui/command/BuiCommandInput.js +4 -0
  221. package/dist/components/ui/command/BuiCommandInput.vue.d.ts +12 -0
  222. package/dist/components/ui/command/BuiCommandItem.js +4 -0
  223. package/dist/components/ui/command/BuiCommandList.js +4 -0
  224. package/dist/components/ui/command/BuiCommandSeparator.js +4 -0
  225. package/dist/components/ui/command/BuiCommandSeparator.vue.d.ts +19 -0
  226. package/dist/components/ui/command/BuiCommandShortcut.js +4 -0
  227. package/dist/components/ui/command/BuiCommandShortcut.vue.d.ts +9 -0
  228. package/dist/components/ui/command/index.d.ts +9 -0
  229. package/dist/components/ui/command/index.js +20 -0
  230. package/dist/components/ui/context-menu/BuiContextMenu.js +4 -0
  231. package/dist/components/ui/context-menu/BuiContextMenu.vue.d.ts +23 -0
  232. package/dist/components/ui/context-menu/BuiContextMenuCheckboxItem.js +4 -0
  233. package/dist/components/ui/context-menu/BuiContextMenuCheckboxItem.vue.d.ts +29 -0
  234. package/dist/components/ui/context-menu/BuiContextMenuContent.js +4 -0
  235. package/dist/components/ui/context-menu/BuiContextMenuGroup.js +4 -0
  236. package/dist/components/ui/context-menu/BuiContextMenuGroup.vue.d.ts +19 -0
  237. package/dist/components/ui/context-menu/BuiContextMenuItem.js +4 -0
  238. package/dist/components/ui/context-menu/BuiContextMenuItem.vue.d.ts +29 -0
  239. package/dist/components/ui/context-menu/BuiContextMenuLabel.js +4 -0
  240. package/dist/components/ui/context-menu/BuiContextMenuLabel.vue.d.ts +25 -0
  241. package/dist/components/ui/context-menu/BuiContextMenuPortal.js +22 -0
  242. package/dist/components/ui/context-menu/BuiContextMenuPortal.vue.d.ts +19 -0
  243. package/dist/components/ui/context-menu/BuiContextMenuRadioGroup.js +4 -0
  244. package/dist/components/ui/context-menu/BuiContextMenuRadioGroup.vue.d.ts +23 -0
  245. package/dist/components/ui/context-menu/BuiContextMenuRadioItem.js +4 -0
  246. package/dist/components/ui/context-menu/BuiContextMenuRadioItem.vue.d.ts +27 -0
  247. package/dist/components/ui/context-menu/BuiContextMenuSeparator.js +4 -0
  248. package/dist/components/ui/context-menu/BuiContextMenuSeparator.vue.d.ts +12 -0
  249. package/dist/components/ui/context-menu/BuiContextMenuShortcut.js +4 -0
  250. package/dist/components/ui/context-menu/BuiContextMenuShortcut.vue.d.ts +9 -0
  251. package/dist/components/ui/context-menu/BuiContextMenuSub.js +4 -0
  252. package/dist/components/ui/context-menu/BuiContextMenuSub.vue.d.ts +23 -0
  253. package/dist/components/ui/context-menu/BuiContextMenuSubContent.js +4 -0
  254. package/dist/components/ui/context-menu/BuiContextMenuSubTrigger.js +4 -0
  255. package/dist/components/ui/context-menu/BuiContextMenuSubTrigger.vue.d.ts +25 -0
  256. package/dist/components/ui/context-menu/BuiContextMenuTrigger.js +4 -0
  257. package/dist/components/ui/context-menu/BuiContextMenuTrigger.vue.d.ts +19 -0
  258. package/dist/components/ui/context-menu/index.d.ts +14 -0
  259. package/dist/components/ui/context-menu/index.js +30 -0
  260. package/dist/components/ui/dialog/BuiDialog.js +4 -0
  261. package/dist/components/ui/dialog/BuiDialog.vue.d.ts +23 -0
  262. package/dist/components/ui/dialog/BuiDialogClose.js +4 -0
  263. package/dist/components/ui/dialog/BuiDialogClose.vue.d.ts +19 -0
  264. package/dist/components/ui/dialog/BuiDialogContent.js +4 -0
  265. package/dist/components/ui/dialog/BuiDialogDescription.js +4 -0
  266. package/dist/components/ui/dialog/BuiDialogDescription.vue.d.ts +23 -0
  267. package/dist/components/ui/dialog/BuiDialogFooter.js +4 -0
  268. package/dist/components/ui/dialog/BuiDialogFooter.vue.d.ts +21 -0
  269. package/dist/components/ui/dialog/BuiDialogHeader.js +4 -0
  270. package/dist/components/ui/dialog/BuiDialogHeader.vue.d.ts +21 -0
  271. package/dist/components/ui/dialog/BuiDialogTitle.js +4 -0
  272. package/dist/components/ui/dialog/BuiDialogTitle.vue.d.ts +23 -0
  273. package/dist/components/ui/dialog/BuiDialogTrigger.js +4 -0
  274. package/dist/components/ui/dialog/BuiDialogTrigger.vue.d.ts +19 -0
  275. package/dist/components/ui/dialog/index.d.ts +8 -0
  276. package/dist/components/ui/dialog/index.js +18 -0
  277. package/dist/components/ui/dropdown-menu/BuiDropdownMenu.js +4 -0
  278. package/dist/components/ui/dropdown-menu/BuiDropdownMenu.vue.d.ts +23 -0
  279. package/dist/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.js +4 -0
  280. package/dist/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.vue.d.ts +29 -0
  281. package/dist/components/ui/dropdown-menu/BuiDropdownMenuContent.js +4 -0
  282. package/dist/components/ui/dropdown-menu/BuiDropdownMenuGroup.js +4 -0
  283. package/dist/components/ui/dropdown-menu/BuiDropdownMenuGroup.vue.d.ts +19 -0
  284. package/dist/components/ui/dropdown-menu/BuiDropdownMenuItem.js +4 -0
  285. package/dist/components/ui/dropdown-menu/BuiDropdownMenuItem.vue.d.ts +25 -0
  286. package/dist/components/ui/dropdown-menu/BuiDropdownMenuLabel.js +4 -0
  287. package/dist/components/ui/dropdown-menu/BuiDropdownMenuLabel.vue.d.ts +25 -0
  288. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.js +4 -0
  289. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.vue.d.ts +23 -0
  290. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.js +4 -0
  291. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.vue.d.ts +27 -0
  292. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSeparator.js +4 -0
  293. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSeparator.vue.d.ts +12 -0
  294. package/dist/components/ui/dropdown-menu/BuiDropdownMenuShortcut.js +4 -0
  295. package/dist/components/ui/dropdown-menu/BuiDropdownMenuShortcut.vue.d.ts +9 -0
  296. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSub.js +4 -0
  297. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSub.vue.d.ts +23 -0
  298. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubContent.js +4 -0
  299. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.js +4 -0
  300. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.vue.d.ts +23 -0
  301. package/dist/components/ui/dropdown-menu/BuiDropdownMenuTrigger.js +4 -0
  302. package/dist/components/ui/dropdown-menu/BuiDropdownMenuTrigger.vue.d.ts +19 -0
  303. package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
  304. package/dist/components/ui/dropdown-menu/index.js +32 -0
  305. package/dist/components/ui/form/BuiFormControl.js +4 -0
  306. package/dist/components/ui/form/BuiFormControl.vue.d.ts +9 -0
  307. package/dist/components/ui/form/BuiFormDescription.js +4 -0
  308. package/dist/components/ui/form/BuiFormDescription.vue.d.ts +9 -0
  309. package/dist/components/ui/form/BuiFormItem.js +6 -0
  310. package/dist/components/ui/form/BuiFormItem.vue.d.ts +11 -0
  311. package/dist/components/ui/form/BuiFormLabel.js +4 -0
  312. package/dist/components/ui/form/BuiFormLabel.vue.d.ts +19 -0
  313. package/dist/components/ui/form/BuiFormMessage.js +4 -0
  314. package/dist/components/ui/form/BuiFormMessage.vue.d.ts +2 -0
  315. package/dist/components/ui/form/index.d.ts +6 -0
  316. package/dist/components/ui/form/index.js +15 -0
  317. package/dist/components/ui/form/useFormField.d.ts +11 -0
  318. package/dist/components/ui/form/useFormField.js +6 -0
  319. package/dist/components/ui/hover-card/BuiHoverCard.js +4 -0
  320. package/dist/components/ui/hover-card/BuiHoverCard.vue.d.ts +19 -0
  321. package/dist/components/ui/hover-card/BuiHoverCardContent.js +4 -0
  322. package/dist/components/ui/hover-card/BuiHoverCardContent.vue.d.ts +37 -0
  323. package/dist/components/ui/hover-card/BuiHoverCardTrigger.js +4 -0
  324. package/dist/components/ui/hover-card/BuiHoverCardTrigger.vue.d.ts +19 -0
  325. package/dist/components/ui/hover-card/index.d.ts +3 -0
  326. package/dist/components/ui/hover-card/index.js +8 -0
  327. package/dist/components/ui/input/BuiInput.js +4 -0
  328. package/dist/components/ui/input/BuiInput.vue.d.ts +27 -0
  329. package/dist/components/ui/input/index.d.ts +4 -0
  330. package/dist/components/ui/input/index.js +43 -0
  331. package/dist/components/ui/label/BuiLabel.js +4 -0
  332. package/dist/components/ui/label/BuiLabel.vue.d.ts +23 -0
  333. package/dist/components/ui/label/index.d.ts +1 -0
  334. package/dist/components/ui/label/index.js +4 -0
  335. package/dist/components/ui/pagination/BuiPaginationCommon.js +4 -0
  336. package/dist/components/ui/pagination/BuiPaginationCommon.vue.d.ts +39 -0
  337. package/dist/components/ui/pagination/BuiPaginationEllipsis.js +4 -0
  338. package/dist/components/ui/pagination/BuiPaginationEllipsis.vue.d.ts +19 -0
  339. package/dist/components/ui/pagination/BuiPaginationFirst.js +4 -0
  340. package/dist/components/ui/pagination/BuiPaginationFirst.vue.d.ts +33 -0
  341. package/dist/components/ui/pagination/BuiPaginationLast.js +4 -0
  342. package/dist/components/ui/pagination/BuiPaginationLast.vue.d.ts +33 -0
  343. package/dist/components/ui/pagination/BuiPaginationNext.js +4 -0
  344. package/dist/components/ui/pagination/BuiPaginationNext.vue.d.ts +33 -0
  345. package/dist/components/ui/pagination/BuiPaginationPrev.js +4 -0
  346. package/dist/components/ui/pagination/BuiPaginationPrev.vue.d.ts +33 -0
  347. package/dist/components/ui/pagination/index.d.ts +7 -0
  348. package/dist/components/ui/pagination/index.js +18 -0
  349. package/dist/components/ui/popover/BuiPopover.js +4 -0
  350. package/dist/components/ui/popover/BuiPopover.vue.d.ts +23 -0
  351. package/dist/components/ui/popover/BuiPopoverContent.js +4 -0
  352. package/dist/components/ui/popover/BuiPopoverTrigger.js +4 -0
  353. package/dist/components/ui/popover/BuiPopoverTrigger.vue.d.ts +19 -0
  354. package/dist/components/ui/popover/index.d.ts +3 -0
  355. package/dist/components/ui/popover/index.js +8 -0
  356. package/dist/components/ui/progress/BuiProgress.js +4 -0
  357. package/dist/components/ui/progress/BuiProgress.vue.d.ts +37 -0
  358. package/dist/components/ui/progress/index.d.ts +9 -0
  359. package/dist/components/ui/progress/index.js +59 -0
  360. package/dist/components/ui/radio-group/BuiRadioGroup.js +4 -0
  361. package/dist/components/ui/radio-group/BuiRadioGroup.vue.d.ts +27 -0
  362. package/dist/components/ui/radio-group/BuiRadioGroupItem.js +4 -0
  363. package/dist/components/ui/radio-group/BuiRadioGroupItem.vue.d.ts +16 -0
  364. package/dist/components/ui/radio-group/index.d.ts +2 -0
  365. package/dist/components/ui/radio-group/index.js +6 -0
  366. package/dist/components/ui/select/Bui.js +62 -0
  367. package/dist/components/ui/select/BuiSelect.js +4 -0
  368. package/dist/components/ui/select/BuiSelect.vue.d.ts +25 -0
  369. package/dist/components/ui/select/BuiSelectContent.js +4 -0
  370. package/dist/components/ui/select/BuiSelectGroup.js +4 -0
  371. package/dist/components/ui/select/BuiSelectGroup.vue.d.ts +23 -0
  372. package/dist/components/ui/select/BuiSelectItem.js +4 -0
  373. package/dist/components/ui/select/BuiSelectItem.vue.d.ts +23 -0
  374. package/dist/components/ui/select/BuiSelectItemText.js +4 -0
  375. package/dist/components/ui/select/BuiSelectItemText.vue.d.ts +19 -0
  376. package/dist/components/ui/select/BuiSelectLabel.js +4 -0
  377. package/dist/components/ui/select/BuiSelectLabel.vue.d.ts +23 -0
  378. package/dist/components/ui/select/BuiSelectSeparator.js +4 -0
  379. package/dist/components/ui/select/BuiSelectSeparator.vue.d.ts +16 -0
  380. package/dist/components/ui/select/BuiSelectTrigger.js +4 -0
  381. package/dist/components/ui/select/BuiSelectTrigger.vue.d.ts +42 -0
  382. package/dist/components/ui/select/BuiSelectValue.js +4 -0
  383. package/dist/components/ui/select/BuiSelectValue.vue.d.ts +19 -0
  384. package/dist/components/ui/select/index.d.ts +9 -0
  385. package/dist/components/ui/select/index.js +20 -0
  386. package/dist/components/ui/separator/BuiSeparator.js +4 -0
  387. package/dist/components/ui/separator/BuiSeparator.vue.d.ts +16 -0
  388. package/dist/components/ui/separator/index.d.ts +1 -0
  389. package/dist/components/ui/separator/index.js +4 -0
  390. package/dist/components/ui/skeleton/Skeleton.js +4 -0
  391. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +15 -0
  392. package/dist/components/ui/skeleton/index.d.ts +1 -0
  393. package/dist/components/ui/skeleton/index.js +4 -0
  394. package/dist/components/ui/slider/BuiSlider.js +4 -0
  395. package/dist/components/ui/slider/BuiSlider.vue.d.ts +18 -0
  396. package/dist/components/ui/slider/index.d.ts +1 -0
  397. package/dist/components/ui/slider/index.js +4 -0
  398. package/dist/components/ui/switch/BuiSwitch.js +4 -0
  399. package/dist/components/ui/switch/BuiSwitch.vue.d.ts +20 -0
  400. package/dist/components/ui/switch/index.d.ts +1 -0
  401. package/dist/components/ui/switch/index.js +4 -0
  402. package/dist/components/ui/table/BuiDataTable.js +4 -0
  403. package/dist/components/ui/table/BuiDataTable.vue.d.ts +62 -0
  404. package/dist/components/ui/table/BuiTable.js +4 -0
  405. package/dist/components/ui/table/BuiTable.vue.d.ts +22 -0
  406. package/dist/components/ui/table/BuiTableBody.js +4 -0
  407. package/dist/components/ui/table/BuiTableBody.vue.d.ts +22 -0
  408. package/dist/components/ui/table/BuiTableCaption.js +4 -0
  409. package/dist/components/ui/table/BuiTableCaption.vue.d.ts +22 -0
  410. package/dist/components/ui/table/BuiTableCell.js +4 -0
  411. package/dist/components/ui/table/BuiTableCell.vue.d.ts +22 -0
  412. package/dist/components/ui/table/BuiTableEmpty.js +4 -0
  413. package/dist/components/ui/table/BuiTableEmpty.vue.d.ts +39 -0
  414. package/dist/components/ui/table/BuiTableFooter.js +4 -0
  415. package/dist/components/ui/table/BuiTableFooter.vue.d.ts +22 -0
  416. package/dist/components/ui/table/BuiTableHead.js +4 -0
  417. package/dist/components/ui/table/BuiTableHead.vue.d.ts +22 -0
  418. package/dist/components/ui/table/BuiTableHeader.js +4 -0
  419. package/dist/components/ui/table/BuiTableHeader.vue.d.ts +22 -0
  420. package/dist/components/ui/table/BuiTableRow.js +4 -0
  421. package/dist/components/ui/table/BuiTableRow.vue.d.ts +22 -0
  422. package/dist/components/ui/table/index.d.ts +10 -0
  423. package/dist/components/ui/table/index.js +22 -0
  424. package/dist/components/ui/tabs/BuiTabs.js +4 -0
  425. package/dist/components/ui/tabs/BuiTabs.vue.d.ts +23 -0
  426. package/dist/components/ui/tabs/BuiTabsContent.js +4 -0
  427. package/dist/components/ui/tabs/BuiTabsContent.vue.d.ts +23 -0
  428. package/dist/components/ui/tabs/BuiTabsList.js +4 -0
  429. package/dist/components/ui/tabs/BuiTabsList.vue.d.ts +24 -0
  430. package/dist/components/ui/tabs/BuiTabsTrigger.js +4 -0
  431. package/dist/components/ui/tabs/BuiTabsTrigger.vue.d.ts +24 -0
  432. package/dist/components/ui/tabs/index.d.ts +10 -0
  433. package/dist/components/ui/tabs/index.js +78 -0
  434. package/dist/components/ui/textarea/BuiTextarea.js +4 -0
  435. package/dist/components/ui/textarea/BuiTextarea.vue.d.ts +24 -0
  436. package/dist/components/ui/textarea/index.d.ts +4 -0
  437. package/dist/components/ui/textarea/index.js +42 -0
  438. package/dist/components/ui/toast/BuiToast.js +4 -0
  439. package/dist/components/ui/toast/BuiToastAction.js +4 -0
  440. package/dist/components/ui/toast/BuiToastAction.vue.d.ts +23 -0
  441. package/dist/components/ui/toast/BuiToastClose.js +4 -0
  442. package/dist/components/ui/toast/BuiToastClose.vue.d.ts +15 -0
  443. package/dist/components/ui/toast/BuiToastDescription.js +4 -0
  444. package/dist/components/ui/toast/BuiToastDescription.vue.d.ts +23 -0
  445. package/dist/components/ui/toast/BuiToastProvider.js +4 -0
  446. package/dist/components/ui/toast/BuiToastProvider.vue.d.ts +19 -0
  447. package/dist/components/ui/toast/BuiToastTitle.js +4 -0
  448. package/dist/components/ui/toast/BuiToastTitle.vue.d.ts +23 -0
  449. package/dist/components/ui/toast/BuiToastViewport.js +4 -0
  450. package/dist/components/ui/toast/BuiToastViewport.vue.d.ts +16 -0
  451. package/dist/components/ui/toast/BuiToaster.js +4 -0
  452. package/dist/components/ui/toast/BuiToaster.vue.d.ts +2 -0
  453. package/dist/components/ui/toast/index.d.ts +12 -0
  454. package/dist/components/ui/toast/index.js +106 -0
  455. package/dist/components/ui/toggle/BuiToggle.js +4 -0
  456. package/dist/components/ui/toggle/BuiToggle.vue.d.ts +52 -0
  457. package/dist/components/ui/toggle/index.d.ts +5 -0
  458. package/dist/components/ui/toggle/index.js +59 -0
  459. package/dist/components/ui/tooltip/BuiTooltip.js +4 -0
  460. package/dist/components/ui/tooltip/BuiTooltip.vue.d.ts +23 -0
  461. package/dist/components/ui/tooltip/BuiTooltipContent.js +4 -0
  462. package/dist/components/ui/tooltip/BuiTooltipContent.vue.d.ts +39 -0
  463. package/dist/components/ui/tooltip/BuiTooltipProvider.js +4 -0
  464. package/dist/components/ui/tooltip/BuiTooltipProvider.vue.d.ts +19 -0
  465. package/dist/components/ui/tooltip/BuiTooltipTrigger.js +4 -0
  466. package/dist/components/ui/tooltip/BuiTooltipTrigger.vue.d.ts +19 -0
  467. package/dist/components/ui/tooltip/index.d.ts +4 -0
  468. package/dist/components/ui/tooltip/index.js +10 -0
  469. package/dist/index-Y0-z_6gp.js +9563 -0
  470. package/dist/index-gwzIEgpq.js +216 -0
  471. package/dist/index-vq1WbVLY.js +49 -0
  472. package/dist/index.d.ts +35 -0
  473. package/dist/index.js +307 -0
  474. package/dist/lib/utils.d.ts +8 -0
  475. package/dist/lib/utils.js +7 -0
  476. package/dist/tailwind-preset.js +107 -0
  477. package/dist/useFormField-ht86QnXS.js +2097 -0
  478. package/dist/utils-Fb7ZR83r.js +2554 -0
  479. package/dist/x-Oj3uv8PB.js +14 -0
  480. package/package.json +4 -3
  481. package/src/assets/base.css +90 -0
  482. package/src/assets/logo-full-dark.png +0 -0
  483. package/src/assets/logo-full.png +0 -0
  484. package/src/assets/logo.png +0 -0
  485. package/src/assets/main.css +1 -0
  486. package/src/components/__tests__/fake-test.spec.ts +10 -0
  487. package/src/components/stories/BuiAccordion.story.vue +61 -0
  488. package/src/components/stories/BuiAlert.story.vue +61 -0
  489. package/src/components/stories/BuiAlertDialog.story.vue +41 -0
  490. package/src/components/stories/BuiAspectRatio.story.vue +17 -0
  491. package/src/components/stories/BuiAvatar.story.vue +44 -0
  492. package/src/components/stories/BuiBadge.story.vue +16 -0
  493. package/src/components/stories/BuiButton.story.vue +45 -0
  494. package/src/components/stories/BuiCalendar.story.vue +43 -0
  495. package/src/components/stories/BuiCard.story.vue +68 -0
  496. package/src/components/stories/BuiCheckbox.story.vue +25 -0
  497. package/src/components/stories/BuiCombobox.story.vue +88 -0
  498. package/src/components/stories/BuiCommand.story.vue +62 -0
  499. package/src/components/stories/BuiContextMenu.story.vue +73 -0
  500. package/src/components/stories/BuiDataTable.story.vue +98 -0
  501. package/src/components/stories/BuiDialog.story.vue +56 -0
  502. package/src/components/stories/BuiDropdownMenu.story.vue +128 -0
  503. package/src/components/stories/BuiForm.story.vue +28 -0
  504. package/src/components/stories/BuiHoverCard.story.vue +41 -0
  505. package/src/components/stories/BuiInput.story.vue +56 -0
  506. package/src/components/stories/BuiLabel.story.vue +17 -0
  507. package/src/components/stories/BuiPagination.story.vue +55 -0
  508. package/src/components/stories/BuiPaginationCommon.story.vue +28 -0
  509. package/src/components/stories/BuiPopover.story.vue +60 -0
  510. package/src/components/stories/BuiProgress.story.vue +57 -0
  511. package/src/components/stories/BuiRadioGroup.story.vue +24 -0
  512. package/src/components/stories/BuiSelect.story.vue +35 -0
  513. package/src/components/stories/BuiSeparator.story.vue +24 -0
  514. package/src/components/stories/BuiSlider.story.vue +24 -0
  515. package/src/components/stories/BuiSwitch.story.vue +21 -0
  516. package/src/components/stories/BuiTable.story.vue +70 -0
  517. package/src/components/stories/BuiTabs.story.vue +81 -0
  518. package/src/components/stories/BuiTextarea.story.vue +56 -0
  519. package/src/components/stories/BuiToast.story.vue +70 -0
  520. package/src/components/stories/BuiToggle.story.vue +45 -0
  521. package/src/components/stories/BuiTooltip.story.vue +28 -0
  522. package/src/components/stories/DatePicker.story.vue +36 -0
  523. package/src/components/stories/components/LoginForm.vue +100 -0
  524. package/src/components/stories/components/LoginFormHook.vue +97 -0
  525. package/src/components/stories/components/ToastHook.vue +25 -0
  526. package/src/components/stories/data/tasks.json +702 -0
  527. package/src/components/ui/accordion/BuiAccordion.vue +17 -0
  528. package/src/components/ui/accordion/BuiAccordionContent.vue +22 -0
  529. package/src/components/ui/accordion/BuiAccordionItem.vue +12 -0
  530. package/src/components/ui/accordion/BuiAccordionTrigger.vue +38 -0
  531. package/src/components/ui/accordion/index.ts +4 -0
  532. package/src/components/ui/alert/BuiAlert.vue +27 -0
  533. package/src/components/ui/alert/BuiAlertDescription.vue +13 -0
  534. package/src/components/ui/alert/BuiAlertTitle.vue +9 -0
  535. package/src/components/ui/alert/index.ts +21 -0
  536. package/src/components/ui/alert-dialog/BuiAlertDialog.vue +19 -0
  537. package/src/components/ui/alert-dialog/BuiAlertDialogAction.vue +13 -0
  538. package/src/components/ui/alert-dialog/BuiAlertDialogCancel.vue +16 -0
  539. package/src/components/ui/alert-dialog/BuiAlertDialogContent.vue +35 -0
  540. package/src/components/ui/alert-dialog/BuiAlertDialogDescription.vue +15 -0
  541. package/src/components/ui/alert-dialog/BuiAlertDialogFooter.vue +23 -0
  542. package/src/components/ui/alert-dialog/BuiAlertDialogHeader.vue +16 -0
  543. package/src/components/ui/alert-dialog/BuiAlertDialogTitle.vue +15 -0
  544. package/src/components/ui/alert-dialog/BuiAlertDialogTrigger.vue +11 -0
  545. package/src/components/ui/alert-dialog/index.ts +9 -0
  546. package/src/components/ui/aspect-ratio/BuiAspectRatio.vue +11 -0
  547. package/src/components/ui/aspect-ratio/index.ts +1 -0
  548. package/src/components/ui/avatar/BuiAvatar.vue +22 -0
  549. package/src/components/ui/avatar/BuiAvatarFallback.vue +11 -0
  550. package/src/components/ui/avatar/BuiAvatarImage.vue +9 -0
  551. package/src/components/ui/avatar/index.ts +22 -0
  552. package/src/components/ui/badge/BuiBadge.vue +34 -0
  553. package/src/components/ui/badge/index.ts +18 -0
  554. package/src/components/ui/button/BuiButton.vue +25 -0
  555. package/src/components/ui/button/index.ts +41 -0
  556. package/src/components/ui/calendar/BuiCalendar.vue +323 -0
  557. package/src/components/ui/calendar/index.ts +22 -0
  558. package/src/components/ui/card/BuiCard.vue +23 -0
  559. package/src/components/ui/card/BuiCardContent.vue +16 -0
  560. package/src/components/ui/card/BuiCardDescription.vue +16 -0
  561. package/src/components/ui/card/BuiCardFooter.vue +16 -0
  562. package/src/components/ui/card/BuiCardHeader.vue +16 -0
  563. package/src/components/ui/card/BuiCardTitle.vue +16 -0
  564. package/src/components/ui/card/index.ts +6 -0
  565. package/src/components/ui/checkbox/BuiCheckbox.vue +30 -0
  566. package/src/components/ui/checkbox/index.ts +1 -0
  567. package/src/components/ui/command/BuiCommand.vue +26 -0
  568. package/src/components/ui/command/BuiCommandDialog.vue +23 -0
  569. package/src/components/ui/command/BuiCommandEmpty.vue +13 -0
  570. package/src/components/ui/command/BuiCommandGroup.vue +23 -0
  571. package/src/components/ui/command/BuiCommandInput.vue +29 -0
  572. package/src/components/ui/command/BuiCommandItem.vue +25 -0
  573. package/src/components/ui/command/BuiCommandList.vue +21 -0
  574. package/src/components/ui/command/BuiCommandSeparator.vue +13 -0
  575. package/src/components/ui/command/BuiCommandShortcut.vue +9 -0
  576. package/src/components/ui/command/index.ts +9 -0
  577. package/src/components/ui/context-menu/BuiContextMenu.vue +15 -0
  578. package/src/components/ui/context-menu/BuiContextMenuCheckboxItem.vue +35 -0
  579. package/src/components/ui/context-menu/BuiContextMenuContent.vue +31 -0
  580. package/src/components/ui/context-menu/BuiContextMenuGroup.vue +11 -0
  581. package/src/components/ui/context-menu/BuiContextMenuItem.vue +27 -0
  582. package/src/components/ui/context-menu/BuiContextMenuLabel.vue +17 -0
  583. package/src/components/ui/context-menu/BuiContextMenuPortal.vue +11 -0
  584. package/src/components/ui/context-menu/BuiContextMenuRadioGroup.vue +19 -0
  585. package/src/components/ui/context-menu/BuiContextMenuRadioItem.vue +35 -0
  586. package/src/components/ui/context-menu/BuiContextMenuSeparator.vue +13 -0
  587. package/src/components/ui/context-menu/BuiContextMenuShortcut.vue +9 -0
  588. package/src/components/ui/context-menu/BuiContextMenuSub.vue +19 -0
  589. package/src/components/ui/context-menu/BuiContextMenuSubContent.vue +28 -0
  590. package/src/components/ui/context-menu/BuiContextMenuSubTrigger.vue +23 -0
  591. package/src/components/ui/context-menu/BuiContextMenuTrigger.vue +11 -0
  592. package/src/components/ui/context-menu/index.ts +14 -0
  593. package/src/components/ui/dialog/BuiDialog.vue +14 -0
  594. package/src/components/ui/dialog/BuiDialogClose.vue +11 -0
  595. package/src/components/ui/dialog/BuiDialogContent.vue +44 -0
  596. package/src/components/ui/dialog/BuiDialogDescription.vue +15 -0
  597. package/src/components/ui/dialog/BuiDialogFooter.vue +22 -0
  598. package/src/components/ui/dialog/BuiDialogHeader.vue +17 -0
  599. package/src/components/ui/dialog/BuiDialogTitle.vue +20 -0
  600. package/src/components/ui/dialog/BuiDialogTrigger.vue +11 -0
  601. package/src/components/ui/dialog/index.ts +8 -0
  602. package/src/components/ui/dropdown-menu/BuiDropdownMenu.vue +19 -0
  603. package/src/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.vue +33 -0
  604. package/src/components/ui/dropdown-menu/BuiDropdownMenuContent.vue +33 -0
  605. package/src/components/ui/dropdown-menu/BuiDropdownMenuGroup.vue +11 -0
  606. package/src/components/ui/dropdown-menu/BuiDropdownMenuItem.vue +21 -0
  607. package/src/components/ui/dropdown-menu/BuiDropdownMenuLabel.vue +20 -0
  608. package/src/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.vue +17 -0
  609. package/src/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.vue +34 -0
  610. package/src/components/ui/dropdown-menu/BuiDropdownMenuSeparator.vue +9 -0
  611. package/src/components/ui/dropdown-menu/BuiDropdownMenuShortcut.vue +9 -0
  612. package/src/components/ui/dropdown-menu/BuiDropdownMenuSub.vue +19 -0
  613. package/src/components/ui/dropdown-menu/BuiDropdownMenuSubContent.vue +28 -0
  614. package/src/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.vue +22 -0
  615. package/src/components/ui/dropdown-menu/BuiDropdownMenuTrigger.vue +11 -0
  616. package/src/components/ui/dropdown-menu/index.ts +16 -0
  617. package/src/components/ui/form/BuiFormControl.vue +16 -0
  618. package/src/components/ui/form/BuiFormDescription.vue +22 -0
  619. package/src/components/ui/form/BuiFormItem.vue +27 -0
  620. package/src/components/ui/form/BuiFormLabel.vue +30 -0
  621. package/src/components/ui/form/BuiFormMessage.vue +16 -0
  622. package/src/components/ui/form/index.ts +6 -0
  623. package/src/components/ui/form/useFormField.ts +35 -0
  624. package/src/components/ui/hover-card/BuiHoverCard.vue +12 -0
  625. package/src/components/ui/hover-card/BuiHoverCardContent.vue +31 -0
  626. package/src/components/ui/hover-card/BuiHoverCardTrigger.vue +11 -0
  627. package/src/components/ui/hover-card/index.ts +3 -0
  628. package/src/components/ui/input/BuiInput.vue +26 -0
  629. package/src/components/ui/input/index.ts +19 -0
  630. package/src/components/ui/label/BuiLabel.vue +15 -0
  631. package/src/components/ui/label/index.ts +1 -0
  632. package/src/components/ui/pagination/BuiPaginationCommon.vue +82 -0
  633. package/src/components/ui/pagination/BuiPaginationEllipsis.vue +25 -0
  634. package/src/components/ui/pagination/BuiPaginationFirst.vue +20 -0
  635. package/src/components/ui/pagination/BuiPaginationLast.vue +20 -0
  636. package/src/components/ui/pagination/BuiPaginationNext.vue +20 -0
  637. package/src/components/ui/pagination/BuiPaginationPrev.vue +20 -0
  638. package/src/components/ui/pagination/index.ts +11 -0
  639. package/src/components/ui/popover/BuiPopover.vue +15 -0
  640. package/src/components/ui/popover/BuiPopoverContent.vue +33 -0
  641. package/src/components/ui/popover/BuiPopoverTrigger.vue +11 -0
  642. package/src/components/ui/popover/index.ts +3 -0
  643. package/src/components/ui/progress/BuiProgress.vue +47 -0
  644. package/src/components/ui/progress/index.ts +22 -0
  645. package/src/components/ui/radio-group/BuiRadioGroup.vue +15 -0
  646. package/src/components/ui/radio-group/BuiRadioGroupItem.vue +26 -0
  647. package/src/components/ui/radio-group/index.ts +2 -0
  648. package/src/components/ui/select/Bui.vue +48 -0
  649. package/src/components/ui/select/BuiSelect.vue +15 -0
  650. package/src/components/ui/select/BuiSelectContent.vue +48 -0
  651. package/src/components/ui/select/BuiSelectGroup.vue +12 -0
  652. package/src/components/ui/select/BuiSelectItem.vue +29 -0
  653. package/src/components/ui/select/BuiSelectItemText.vue +11 -0
  654. package/src/components/ui/select/BuiSelectLabel.vue +12 -0
  655. package/src/components/ui/select/BuiSelectSeparator.vue +10 -0
  656. package/src/components/ui/select/BuiSelectTrigger.vue +31 -0
  657. package/src/components/ui/select/BuiSelectValue.vue +11 -0
  658. package/src/components/ui/select/index.ts +9 -0
  659. package/src/components/ui/separator/BuiSeparator.vue +15 -0
  660. package/src/components/ui/separator/index.ts +1 -0
  661. package/src/components/ui/skeleton/Skeleton.vue +14 -0
  662. package/src/components/ui/skeleton/index.ts +1 -0
  663. package/src/components/ui/slider/BuiSlider.vue +24 -0
  664. package/src/components/ui/slider/index.ts +1 -0
  665. package/src/components/ui/switch/BuiSwitch.vue +42 -0
  666. package/src/components/ui/switch/index.ts +1 -0
  667. package/src/components/ui/table/BuiDataTable.vue +130 -0
  668. package/src/components/ui/table/BuiTable.vue +13 -0
  669. package/src/components/ui/table/BuiTableBody.vue +11 -0
  670. package/src/components/ui/table/BuiTableCaption.vue +11 -0
  671. package/src/components/ui/table/BuiTableCell.vue +13 -0
  672. package/src/components/ui/table/BuiTableEmpty.vue +28 -0
  673. package/src/components/ui/table/BuiTableFooter.vue +18 -0
  674. package/src/components/ui/table/BuiTableHead.vue +20 -0
  675. package/src/components/ui/table/BuiTableHeader.vue +18 -0
  676. package/src/components/ui/table/BuiTableRow.vue +18 -0
  677. package/src/components/ui/table/index.ts +10 -0
  678. package/src/components/ui/tabs/BuiTabs.vue +18 -0
  679. package/src/components/ui/tabs/BuiTabsContent.vue +20 -0
  680. package/src/components/ui/tabs/BuiTabsList.vue +18 -0
  681. package/src/components/ui/tabs/BuiTabsTrigger.vue +18 -0
  682. package/src/components/ui/tabs/index.ts +34 -0
  683. package/src/components/ui/textarea/BuiTextarea.vue +24 -0
  684. package/src/components/ui/textarea/index.ts +19 -0
  685. package/src/components/ui/toast/BuiToast.vue +32 -0
  686. package/src/components/ui/toast/BuiToastAction.vue +20 -0
  687. package/src/components/ui/toast/BuiToastClose.vue +15 -0
  688. package/src/components/ui/toast/BuiToastDescription.vue +12 -0
  689. package/src/components/ui/toast/BuiToastProvider.vue +11 -0
  690. package/src/components/ui/toast/BuiToastTitle.vue +12 -0
  691. package/src/components/ui/toast/BuiToastViewport.vue +10 -0
  692. package/src/components/ui/toast/BuiToaster.vue +37 -0
  693. package/src/components/ui/toast/index.ts +27 -0
  694. package/src/components/ui/toast/use-toast.ts +157 -0
  695. package/src/components/ui/toggle/BuiToggle.vue +49 -0
  696. package/src/components/ui/toggle/index.ts +24 -0
  697. package/src/components/ui/tooltip/BuiTooltip.vue +19 -0
  698. package/src/components/ui/tooltip/BuiTooltipContent.vue +33 -0
  699. package/src/components/ui/tooltip/BuiTooltipProvider.vue +11 -0
  700. package/src/components/ui/tooltip/BuiTooltipTrigger.vue +11 -0
  701. package/src/components/ui/tooltip/index.ts +4 -0
  702. package/src/histoire-setup.ts +1 -0
  703. package/src/index.ts +38 -0
  704. package/src/lib/utils.ts +38 -0
  705. package/src/tailwind-preset.ts +109 -0
  706. package/dist/bootsman-ui-shadcn.js +0 -321
  707. package/dist/bootsman-ui-shadcn10.js +0 -29
  708. package/dist/bootsman-ui-shadcn100.js +0 -28
  709. package/dist/bootsman-ui-shadcn101.js +0 -23
  710. package/dist/bootsman-ui-shadcn102.js +0 -21
  711. package/dist/bootsman-ui-shadcn103.js +0 -50
  712. package/dist/bootsman-ui-shadcn104.js +0 -43
  713. package/dist/bootsman-ui-shadcn105.js +0 -34
  714. package/dist/bootsman-ui-shadcn106.js +0 -42
  715. package/dist/bootsman-ui-shadcn107.js +0 -25
  716. package/dist/bootsman-ui-shadcn108.js +0 -21
  717. package/dist/bootsman-ui-shadcn109.js +0 -26
  718. package/dist/bootsman-ui-shadcn11.js +0 -19
  719. package/dist/bootsman-ui-shadcn110.js +0 -20
  720. package/dist/bootsman-ui-shadcn111.js +0 -26
  721. package/dist/bootsman-ui-shadcn112.js +0 -48
  722. package/dist/bootsman-ui-shadcn113.js +0 -21
  723. package/dist/bootsman-ui-shadcn114.js +0 -19
  724. package/dist/bootsman-ui-shadcn115.js +0 -19
  725. package/dist/bootsman-ui-shadcn116.js +0 -26
  726. package/dist/bootsman-ui-shadcn117.js +0 -24
  727. package/dist/bootsman-ui-shadcn118.js +0 -24
  728. package/dist/bootsman-ui-shadcn119.js +0 -19
  729. package/dist/bootsman-ui-shadcn12.js +0 -18
  730. package/dist/bootsman-ui-shadcn120.js +0 -33
  731. package/dist/bootsman-ui-shadcn121.js +0 -24
  732. package/dist/bootsman-ui-shadcn122.js +0 -164
  733. package/dist/bootsman-ui-shadcn123.js +0 -27
  734. package/dist/bootsman-ui-shadcn124.js +0 -29
  735. package/dist/bootsman-ui-shadcn125.js +0 -28
  736. package/dist/bootsman-ui-shadcn126.js +0 -30
  737. package/dist/bootsman-ui-shadcn127.js +0 -28
  738. package/dist/bootsman-ui-shadcn128.js +0 -53
  739. package/dist/bootsman-ui-shadcn129.js +0 -29
  740. package/dist/bootsman-ui-shadcn13.js +0 -25
  741. package/dist/bootsman-ui-shadcn130.js +0 -25
  742. package/dist/bootsman-ui-shadcn131.js +0 -44
  743. package/dist/bootsman-ui-shadcn132.js +0 -21
  744. package/dist/bootsman-ui-shadcn133.js +0 -23
  745. package/dist/bootsman-ui-shadcn134.js +0 -39
  746. package/dist/bootsman-ui-shadcn135.js +0 -42
  747. package/dist/bootsman-ui-shadcn136.js +0 -17
  748. package/dist/bootsman-ui-shadcn137.js +0 -28
  749. package/dist/bootsman-ui-shadcn138.js +0 -23
  750. package/dist/bootsman-ui-shadcn139.js +0 -46
  751. package/dist/bootsman-ui-shadcn14.js +0 -30
  752. package/dist/bootsman-ui-shadcn140.js +0 -8426
  753. package/dist/bootsman-ui-shadcn141.js +0 -2001
  754. package/dist/bootsman-ui-shadcn142.js +0 -33
  755. package/dist/bootsman-ui-shadcn143.js +0 -33
  756. package/dist/bootsman-ui-shadcn144.js +0 -33
  757. package/dist/bootsman-ui-shadcn145.js +0 -33
  758. package/dist/bootsman-ui-shadcn146.js +0 -30
  759. package/dist/bootsman-ui-shadcn147.js +0 -22
  760. package/dist/bootsman-ui-shadcn148.js +0 -40
  761. package/dist/bootsman-ui-shadcn149.js +0 -62
  762. package/dist/bootsman-ui-shadcn15.js +0 -107
  763. package/dist/bootsman-ui-shadcn150.js +0 -45
  764. package/dist/bootsman-ui-shadcn151.js +0 -35
  765. package/dist/bootsman-ui-shadcn152.js +0 -22
  766. package/dist/bootsman-ui-shadcn153.js +0 -24
  767. package/dist/bootsman-ui-shadcn154.js +0 -25
  768. package/dist/bootsman-ui-shadcn155.js +0 -25
  769. package/dist/bootsman-ui-shadcn156.js +0 -23
  770. package/dist/bootsman-ui-shadcn158.js +0 -37
  771. package/dist/bootsman-ui-shadcn159.js +0 -23
  772. package/dist/bootsman-ui-shadcn16.js +0 -29
  773. package/dist/bootsman-ui-shadcn160.js +0 -2327
  774. package/dist/bootsman-ui-shadcn161.js +0 -14
  775. package/dist/bootsman-ui-shadcn162.js +0 -14
  776. package/dist/bootsman-ui-shadcn163.js +0 -16
  777. package/dist/bootsman-ui-shadcn164.js +0 -168
  778. package/dist/bootsman-ui-shadcn165.js +0 -4
  779. package/dist/bootsman-ui-shadcn166.js +0 -4
  780. package/dist/bootsman-ui-shadcn167.js +0 -4
  781. package/dist/bootsman-ui-shadcn168.js +0 -4
  782. package/dist/bootsman-ui-shadcn169.js +0 -4
  783. package/dist/bootsman-ui-shadcn17.js +0 -30
  784. package/dist/bootsman-ui-shadcn170.js +0 -4
  785. package/dist/bootsman-ui-shadcn171.js +0 -4
  786. package/dist/bootsman-ui-shadcn172.js +0 -4
  787. package/dist/bootsman-ui-shadcn173.js +0 -4
  788. package/dist/bootsman-ui-shadcn174.js +0 -4
  789. package/dist/bootsman-ui-shadcn175.js +0 -4
  790. package/dist/bootsman-ui-shadcn176.js +0 -4
  791. package/dist/bootsman-ui-shadcn177.js +0 -4
  792. package/dist/bootsman-ui-shadcn178.js +0 -4
  793. package/dist/bootsman-ui-shadcn179.js +0 -4
  794. package/dist/bootsman-ui-shadcn18.js +0 -27
  795. package/dist/bootsman-ui-shadcn180.js +0 -4
  796. package/dist/bootsman-ui-shadcn181.js +0 -4
  797. package/dist/bootsman-ui-shadcn182.js +0 -126
  798. package/dist/bootsman-ui-shadcn183.js +0 -521
  799. package/dist/bootsman-ui-shadcn184.js +0 -363
  800. package/dist/bootsman-ui-shadcn185.js +0 -4
  801. package/dist/bootsman-ui-shadcn186.js +0 -4
  802. package/dist/bootsman-ui-shadcn187.js +0 -4
  803. package/dist/bootsman-ui-shadcn188.js +0 -4
  804. package/dist/bootsman-ui-shadcn189.js +0 -4
  805. package/dist/bootsman-ui-shadcn19.js +0 -44
  806. package/dist/bootsman-ui-shadcn190.js +0 -4
  807. package/dist/bootsman-ui-shadcn191.js +0 -4
  808. package/dist/bootsman-ui-shadcn192.js +0 -4
  809. package/dist/bootsman-ui-shadcn193.js +0 -4
  810. package/dist/bootsman-ui-shadcn194.js +0 -4
  811. package/dist/bootsman-ui-shadcn195.js +0 -4
  812. package/dist/bootsman-ui-shadcn196.js +0 -4
  813. package/dist/bootsman-ui-shadcn197.js +0 -4
  814. package/dist/bootsman-ui-shadcn198.js +0 -4
  815. package/dist/bootsman-ui-shadcn199.js +0 -4
  816. package/dist/bootsman-ui-shadcn2.js +0 -1
  817. package/dist/bootsman-ui-shadcn20.js +0 -22
  818. package/dist/bootsman-ui-shadcn200.js +0 -4
  819. package/dist/bootsman-ui-shadcn201.js +0 -22
  820. package/dist/bootsman-ui-shadcn202.js +0 -4
  821. package/dist/bootsman-ui-shadcn203.js +0 -4
  822. package/dist/bootsman-ui-shadcn204.js +0 -4
  823. package/dist/bootsman-ui-shadcn205.js +0 -5
  824. package/dist/bootsman-ui-shadcn206.js +0 -4
  825. package/dist/bootsman-ui-shadcn207.js +0 -4
  826. package/dist/bootsman-ui-shadcn208.js +0 -4
  827. package/dist/bootsman-ui-shadcn209.js +0 -4
  828. package/dist/bootsman-ui-shadcn21.js +0 -21
  829. package/dist/bootsman-ui-shadcn210.js +0 -4
  830. package/dist/bootsman-ui-shadcn211.js +0 -4
  831. package/dist/bootsman-ui-shadcn212.js +0 -4
  832. package/dist/bootsman-ui-shadcn213.js +0 -4
  833. package/dist/bootsman-ui-shadcn214.js +0 -4
  834. package/dist/bootsman-ui-shadcn215.js +0 -4
  835. package/dist/bootsman-ui-shadcn216.js +0 -4
  836. package/dist/bootsman-ui-shadcn217.js +0 -4
  837. package/dist/bootsman-ui-shadcn218.js +0 -4
  838. package/dist/bootsman-ui-shadcn219.js +0 -4
  839. package/dist/bootsman-ui-shadcn22.js +0 -38
  840. package/dist/bootsman-ui-shadcn220.js +0 -4
  841. package/dist/bootsman-ui-shadcn221.js +0 -4
  842. package/dist/bootsman-ui-shadcn222.js +0 -4
  843. package/dist/bootsman-ui-shadcn223.js +0 -4
  844. package/dist/bootsman-ui-shadcn224.js +0 -19
  845. package/dist/bootsman-ui-shadcn225.js +0 -6
  846. package/dist/bootsman-ui-shadcn226.js +0 -4
  847. package/dist/bootsman-ui-shadcn227.js +0 -4
  848. package/dist/bootsman-ui-shadcn228.js +0 -4
  849. package/dist/bootsman-ui-shadcn229.js +0 -4
  850. package/dist/bootsman-ui-shadcn23.js +0 -22
  851. package/dist/bootsman-ui-shadcn230.js +0 -4
  852. package/dist/bootsman-ui-shadcn231.js +0 -4
  853. package/dist/bootsman-ui-shadcn232.js +0 -4
  854. package/dist/bootsman-ui-shadcn233.js +0 -4
  855. package/dist/bootsman-ui-shadcn234.js +0 -4
  856. package/dist/bootsman-ui-shadcn235.js +0 -4
  857. package/dist/bootsman-ui-shadcn236.js +0 -4
  858. package/dist/bootsman-ui-shadcn237.js +0 -4
  859. package/dist/bootsman-ui-shadcn238.js +0 -4
  860. package/dist/bootsman-ui-shadcn239.js +0 -4
  861. package/dist/bootsman-ui-shadcn24.js +0 -26
  862. package/dist/bootsman-ui-shadcn240.js +0 -4
  863. package/dist/bootsman-ui-shadcn241.js +0 -4
  864. package/dist/bootsman-ui-shadcn242.js +0 -4
  865. package/dist/bootsman-ui-shadcn243.js +0 -4
  866. package/dist/bootsman-ui-shadcn244.js +0 -4
  867. package/dist/bootsman-ui-shadcn245.js +0 -4
  868. package/dist/bootsman-ui-shadcn246.js +0 -4
  869. package/dist/bootsman-ui-shadcn247.js +0 -4
  870. package/dist/bootsman-ui-shadcn248.js +0 -4
  871. package/dist/bootsman-ui-shadcn249.js +0 -4
  872. package/dist/bootsman-ui-shadcn25.js +0 -26
  873. package/dist/bootsman-ui-shadcn250.js +0 -4
  874. package/dist/bootsman-ui-shadcn251.js +0 -4
  875. package/dist/bootsman-ui-shadcn252.js +0 -4
  876. package/dist/bootsman-ui-shadcn253.js +0 -4
  877. package/dist/bootsman-ui-shadcn254.js +0 -4
  878. package/dist/bootsman-ui-shadcn255.js +0 -4
  879. package/dist/bootsman-ui-shadcn256.js +0 -4
  880. package/dist/bootsman-ui-shadcn257.js +0 -4
  881. package/dist/bootsman-ui-shadcn258.js +0 -4
  882. package/dist/bootsman-ui-shadcn259.js +0 -4
  883. package/dist/bootsman-ui-shadcn26.js +0 -27
  884. package/dist/bootsman-ui-shadcn260.js +0 -4
  885. package/dist/bootsman-ui-shadcn261.js +0 -4
  886. package/dist/bootsman-ui-shadcn262.js +0 -4
  887. package/dist/bootsman-ui-shadcn263.js +0 -4
  888. package/dist/bootsman-ui-shadcn264.js +0 -4
  889. package/dist/bootsman-ui-shadcn265.js +0 -4
  890. package/dist/bootsman-ui-shadcn266.js +0 -4
  891. package/dist/bootsman-ui-shadcn267.js +0 -4
  892. package/dist/bootsman-ui-shadcn268.js +0 -4
  893. package/dist/bootsman-ui-shadcn269.js +0 -4
  894. package/dist/bootsman-ui-shadcn27.js +0 -25
  895. package/dist/bootsman-ui-shadcn270.js +0 -4
  896. package/dist/bootsman-ui-shadcn271.js +0 -4
  897. package/dist/bootsman-ui-shadcn272.js +0 -4
  898. package/dist/bootsman-ui-shadcn273.js +0 -4
  899. package/dist/bootsman-ui-shadcn274.js +0 -4
  900. package/dist/bootsman-ui-shadcn275.js +0 -4
  901. package/dist/bootsman-ui-shadcn276.js +0 -4
  902. package/dist/bootsman-ui-shadcn277.js +0 -4
  903. package/dist/bootsman-ui-shadcn278.js +0 -4
  904. package/dist/bootsman-ui-shadcn279.js +0 -4
  905. package/dist/bootsman-ui-shadcn28.js +0 -25
  906. package/dist/bootsman-ui-shadcn280.js +0 -4
  907. package/dist/bootsman-ui-shadcn281.js +0 -4
  908. package/dist/bootsman-ui-shadcn282.js +0 -4
  909. package/dist/bootsman-ui-shadcn283.js +0 -4
  910. package/dist/bootsman-ui-shadcn284.js +0 -4
  911. package/dist/bootsman-ui-shadcn285.js +0 -4
  912. package/dist/bootsman-ui-shadcn286.js +0 -4
  913. package/dist/bootsman-ui-shadcn287.js +0 -6
  914. package/dist/bootsman-ui-shadcn288.js +0 -7
  915. package/dist/bootsman-ui-shadcn289.js +0 -4
  916. package/dist/bootsman-ui-shadcn29.js +0 -31
  917. package/dist/bootsman-ui-shadcn290.js +0 -4
  918. package/dist/bootsman-ui-shadcn291.js +0 -4
  919. package/dist/bootsman-ui-shadcn292.js +0 -4
  920. package/dist/bootsman-ui-shadcn293.js +0 -4
  921. package/dist/bootsman-ui-shadcn294.js +0 -4
  922. package/dist/bootsman-ui-shadcn295.js +0 -4
  923. package/dist/bootsman-ui-shadcn296.js +0 -4
  924. package/dist/bootsman-ui-shadcn297.js +0 -4
  925. package/dist/bootsman-ui-shadcn298.js +0 -4
  926. package/dist/bootsman-ui-shadcn299.js +0 -4
  927. package/dist/bootsman-ui-shadcn3.js +0 -17
  928. package/dist/bootsman-ui-shadcn30.js +0 -15
  929. package/dist/bootsman-ui-shadcn300.js +0 -4
  930. package/dist/bootsman-ui-shadcn301.js +0 -4
  931. package/dist/bootsman-ui-shadcn302.js +0 -4
  932. package/dist/bootsman-ui-shadcn303.js +0 -4
  933. package/dist/bootsman-ui-shadcn304.js +0 -4
  934. package/dist/bootsman-ui-shadcn305.js +0 -4
  935. package/dist/bootsman-ui-shadcn306.js +0 -4
  936. package/dist/bootsman-ui-shadcn307.js +0 -4
  937. package/dist/bootsman-ui-shadcn308.js +0 -4
  938. package/dist/bootsman-ui-shadcn309.js +0 -108
  939. package/dist/bootsman-ui-shadcn31.js +0 -19
  940. package/dist/bootsman-ui-shadcn310.js +0 -13
  941. package/dist/bootsman-ui-shadcn311.js +0 -4
  942. package/dist/bootsman-ui-shadcn312.js +0 -14
  943. package/dist/bootsman-ui-shadcn313.js +0 -14
  944. package/dist/bootsman-ui-shadcn314.js +0 -13
  945. package/dist/bootsman-ui-shadcn315.js +0 -14
  946. package/dist/bootsman-ui-shadcn316.js +0 -15
  947. package/dist/bootsman-ui-shadcn317.js +0 -11
  948. package/dist/bootsman-ui-shadcn318.js +0 -14
  949. package/dist/bootsman-ui-shadcn319.js +0 -13
  950. package/dist/bootsman-ui-shadcn32.js +0 -22
  951. package/dist/bootsman-ui-shadcn320.js +0 -50
  952. package/dist/bootsman-ui-shadcn321.js +0 -5781
  953. package/dist/bootsman-ui-shadcn322.js +0 -13
  954. package/dist/bootsman-ui-shadcn323.js +0 -12
  955. package/dist/bootsman-ui-shadcn324.js +0 -5
  956. package/dist/bootsman-ui-shadcn325.js +0 -67
  957. package/dist/bootsman-ui-shadcn326.js +0 -25
  958. package/dist/bootsman-ui-shadcn327.js +0 -145
  959. package/dist/bootsman-ui-shadcn328.js +0 -1967
  960. package/dist/bootsman-ui-shadcn329.js +0 -20
  961. package/dist/bootsman-ui-shadcn33.js +0 -26
  962. package/dist/bootsman-ui-shadcn330.js +0 -4
  963. package/dist/bootsman-ui-shadcn331.js +0 -29
  964. package/dist/bootsman-ui-shadcn332.js +0 -28
  965. package/dist/bootsman-ui-shadcn333.js +0 -4
  966. package/dist/bootsman-ui-shadcn334.js +0 -120
  967. package/dist/bootsman-ui-shadcn335.js +0 -12
  968. package/dist/bootsman-ui-shadcn336.js +0 -20
  969. package/dist/bootsman-ui-shadcn337.js +0 -27
  970. package/dist/bootsman-ui-shadcn338.js +0 -6
  971. package/dist/bootsman-ui-shadcn339.js +0 -31
  972. package/dist/bootsman-ui-shadcn34.js +0 -17
  973. package/dist/bootsman-ui-shadcn340.js +0 -122
  974. package/dist/bootsman-ui-shadcn341.js +0 -32
  975. package/dist/bootsman-ui-shadcn342.js +0 -13
  976. package/dist/bootsman-ui-shadcn343.js +0 -16
  977. package/dist/bootsman-ui-shadcn344.js +0 -35
  978. package/dist/bootsman-ui-shadcn345.js +0 -31
  979. package/dist/bootsman-ui-shadcn346.js +0 -13
  980. package/dist/bootsman-ui-shadcn347.js +0 -15
  981. package/dist/bootsman-ui-shadcn348.js +0 -20
  982. package/dist/bootsman-ui-shadcn349.js +0 -26
  983. package/dist/bootsman-ui-shadcn35.js +0 -22
  984. package/dist/bootsman-ui-shadcn350.js +0 -20
  985. package/dist/bootsman-ui-shadcn351.js +0 -99
  986. package/dist/bootsman-ui-shadcn352.js +0 -47
  987. package/dist/bootsman-ui-shadcn353.js +0 -31
  988. package/dist/bootsman-ui-shadcn354.js +0 -75
  989. package/dist/bootsman-ui-shadcn355.js +0 -54
  990. package/dist/bootsman-ui-shadcn356.js +0 -37
  991. package/dist/bootsman-ui-shadcn357.js +0 -44
  992. package/dist/bootsman-ui-shadcn358.js +0 -6
  993. package/dist/bootsman-ui-shadcn359.js +0 -6
  994. package/dist/bootsman-ui-shadcn36.js +0 -36
  995. package/dist/bootsman-ui-shadcn360.js +0 -18
  996. package/dist/bootsman-ui-shadcn361.js +0 -6
  997. package/dist/bootsman-ui-shadcn362.js +0 -12
  998. package/dist/bootsman-ui-shadcn363.js +0 -7
  999. package/dist/bootsman-ui-shadcn364.js +0 -8
  1000. package/dist/bootsman-ui-shadcn365.js +0 -12
  1001. package/dist/bootsman-ui-shadcn366.js +0 -10
  1002. package/dist/bootsman-ui-shadcn367.js +0 -7
  1003. package/dist/bootsman-ui-shadcn368.js +0 -6
  1004. package/dist/bootsman-ui-shadcn369.js +0 -6
  1005. package/dist/bootsman-ui-shadcn37.js +0 -79
  1006. package/dist/bootsman-ui-shadcn370.js +0 -14
  1007. package/dist/bootsman-ui-shadcn371.js +0 -12
  1008. package/dist/bootsman-ui-shadcn372.js +0 -34
  1009. package/dist/bootsman-ui-shadcn373.js +0 -27
  1010. package/dist/bootsman-ui-shadcn374.js +0 -54
  1011. package/dist/bootsman-ui-shadcn375.js +0 -6
  1012. package/dist/bootsman-ui-shadcn376.js +0 -11
  1013. package/dist/bootsman-ui-shadcn377.js +0 -23
  1014. package/dist/bootsman-ui-shadcn378.js +0 -10
  1015. package/dist/bootsman-ui-shadcn379.js +0 -9
  1016. package/dist/bootsman-ui-shadcn38.js +0 -1
  1017. package/dist/bootsman-ui-shadcn380.js +0 -8
  1018. package/dist/bootsman-ui-shadcn381.js +0 -10
  1019. package/dist/bootsman-ui-shadcn382.js +0 -18
  1020. package/dist/bootsman-ui-shadcn383.js +0 -7
  1021. package/dist/bootsman-ui-shadcn384.js +0 -9
  1022. package/dist/bootsman-ui-shadcn385.js +0 -37
  1023. package/dist/bootsman-ui-shadcn386.js +0 -11
  1024. package/dist/bootsman-ui-shadcn387.js +0 -7
  1025. package/dist/bootsman-ui-shadcn388.js +0 -11
  1026. package/dist/bootsman-ui-shadcn389.js +0 -9
  1027. package/dist/bootsman-ui-shadcn39.js +0 -27
  1028. package/dist/bootsman-ui-shadcn390.js +0 -21
  1029. package/dist/bootsman-ui-shadcn391.js +0 -17
  1030. package/dist/bootsman-ui-shadcn4.js +0 -20
  1031. package/dist/bootsman-ui-shadcn40.js +0 -22
  1032. package/dist/bootsman-ui-shadcn41.js +0 -22
  1033. package/dist/bootsman-ui-shadcn42.js +0 -22
  1034. package/dist/bootsman-ui-shadcn43.js +0 -22
  1035. package/dist/bootsman-ui-shadcn44.js +0 -22
  1036. package/dist/bootsman-ui-shadcn45.js +0 -48
  1037. package/dist/bootsman-ui-shadcn46.js +0 -41
  1038. package/dist/bootsman-ui-shadcn47.js +0 -36
  1039. package/dist/bootsman-ui-shadcn48.js +0 -24
  1040. package/dist/bootsman-ui-shadcn49.js +0 -34
  1041. package/dist/bootsman-ui-shadcn5.js +0 -17
  1042. package/dist/bootsman-ui-shadcn50.js +0 -36
  1043. package/dist/bootsman-ui-shadcn51.js +0 -33
  1044. package/dist/bootsman-ui-shadcn52.js +0 -44
  1045. package/dist/bootsman-ui-shadcn53.js +0 -24
  1046. package/dist/bootsman-ui-shadcn54.js +0 -15
  1047. package/dist/bootsman-ui-shadcn55.js +0 -22
  1048. package/dist/bootsman-ui-shadcn56.js +0 -22
  1049. package/dist/bootsman-ui-shadcn57.js +0 -44
  1050. package/dist/bootsman-ui-shadcn58.js +0 -21
  1051. package/dist/bootsman-ui-shadcn59.js +0 -23
  1052. package/dist/bootsman-ui-shadcn6.js +0 -49
  1053. package/dist/bootsman-ui-shadcn60.js +0 -35
  1054. package/dist/bootsman-ui-shadcn61.js +0 -43
  1055. package/dist/bootsman-ui-shadcn62.js +0 -43
  1056. package/dist/bootsman-ui-shadcn63.js +0 -15
  1057. package/dist/bootsman-ui-shadcn64.js +0 -19
  1058. package/dist/bootsman-ui-shadcn65.js +0 -26
  1059. package/dist/bootsman-ui-shadcn66.js +0 -22
  1060. package/dist/bootsman-ui-shadcn67.js +0 -36
  1061. package/dist/bootsman-ui-shadcn68.js +0 -46
  1062. package/dist/bootsman-ui-shadcn69.js +0 -21
  1063. package/dist/bootsman-ui-shadcn7.js +0 -20
  1064. package/dist/bootsman-ui-shadcn70.js +0 -21
  1065. package/dist/bootsman-ui-shadcn71.js +0 -19
  1066. package/dist/bootsman-ui-shadcn72.js +0 -28
  1067. package/dist/bootsman-ui-shadcn73.js +0 -25
  1068. package/dist/bootsman-ui-shadcn74.js +0 -24
  1069. package/dist/bootsman-ui-shadcn75.js +0 -24
  1070. package/dist/bootsman-ui-shadcn76.js +0 -22
  1071. package/dist/bootsman-ui-shadcn77.js +0 -50
  1072. package/dist/bootsman-ui-shadcn78.js +0 -21
  1073. package/dist/bootsman-ui-shadcn79.js +0 -25
  1074. package/dist/bootsman-ui-shadcn8.js +0 -19
  1075. package/dist/bootsman-ui-shadcn80.js +0 -34
  1076. package/dist/bootsman-ui-shadcn81.js +0 -41
  1077. package/dist/bootsman-ui-shadcn82.js +0 -41
  1078. package/dist/bootsman-ui-shadcn83.js +0 -15
  1079. package/dist/bootsman-ui-shadcn84.js +0 -16
  1080. package/dist/bootsman-ui-shadcn85.js +0 -26
  1081. package/dist/bootsman-ui-shadcn86.js +0 -22
  1082. package/dist/bootsman-ui-shadcn87.js +0 -34
  1083. package/dist/bootsman-ui-shadcn88.js +0 -45
  1084. package/dist/bootsman-ui-shadcn89.js +0 -21
  1085. package/dist/bootsman-ui-shadcn9.js +0 -21
  1086. package/dist/bootsman-ui-shadcn90.js +0 -32
  1087. package/dist/bootsman-ui-shadcn91.js +0 -22
  1088. package/dist/bootsman-ui-shadcn92.js +0 -18
  1089. package/dist/bootsman-ui-shadcn93.js +0 -19
  1090. package/dist/bootsman-ui-shadcn94.js +0 -23
  1091. package/dist/bootsman-ui-shadcn95.js +0 -21
  1092. package/dist/bootsman-ui-shadcn96.js +0 -47
  1093. package/dist/bootsman-ui-shadcn97.js +0 -29
  1094. package/dist/bootsman-ui-shadcn98.js +0 -26
  1095. package/dist/bootsman-ui-shadcn99.js +0 -103
  1096. package/dist/main.d.ts +0 -3376
  1097. package/dist/style.css +0 -1
  1098. /package/dist/{bootsman-ui-shadcn157.js → components/ui/toast/use-toast.js} +0 -0
@@ -0,0 +1,2097 @@
1
+ import { defineComponent as ct, toRef as _e, computed as S, resolveDynamicComponent as ft, h as Le, inject as Ce, toValue as E, getCurrentInstance as Ee, unref as j, onMounted as Mt, provide as Bt, isRef as $e, watch as be, onBeforeUnmount as on, ref as de, reactive as ze, nextTick as se, warn as Rt, readonly as sn, watchEffect as dn, onUnmounted as Ut, shallowRef as cn } from "vue";
2
+ import { F as fn } from "./BuiFormItem.vue_vue_type_script_setup_true_lang-H1naMqTM.js";
3
+ function vn() {
4
+ return Dt().__VUE_DEVTOOLS_GLOBAL_HOOK__;
5
+ }
6
+ function Dt() {
7
+ return typeof navigator < "u" && typeof window < "u" ? window : typeof global < "u" ? global : {};
8
+ }
9
+ const hn = typeof Proxy == "function", mn = "devtools-plugin:setup", gn = "plugin:settings:set";
10
+ let je, at;
11
+ function yn() {
12
+ var e;
13
+ return je !== void 0 || (typeof window < "u" && window.performance ? (je = !0, at = window.performance) : typeof global < "u" && (!((e = global.perf_hooks) === null || e === void 0) && e.performance) ? (je = !0, at = global.perf_hooks.performance) : je = !1), je;
14
+ }
15
+ function bn() {
16
+ return yn() ? at.now() : Date.now();
17
+ }
18
+ class pn {
19
+ constructor(t, n) {
20
+ this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
21
+ const r = {};
22
+ if (t.settings)
23
+ for (const o in t.settings) {
24
+ const d = t.settings[o];
25
+ r[o] = d.defaultValue;
26
+ }
27
+ const i = `__vue-devtools-plugin-settings__${t.id}`;
28
+ let u = Object.assign({}, r);
29
+ try {
30
+ const o = localStorage.getItem(i), d = JSON.parse(o);
31
+ Object.assign(u, d);
32
+ } catch {
33
+ }
34
+ this.fallbacks = {
35
+ getSettings() {
36
+ return u;
37
+ },
38
+ setSettings(o) {
39
+ try {
40
+ localStorage.setItem(i, JSON.stringify(o));
41
+ } catch {
42
+ }
43
+ u = o;
44
+ },
45
+ now() {
46
+ return bn();
47
+ }
48
+ }, n && n.on(gn, (o, d) => {
49
+ o === this.plugin.id && this.fallbacks.setSettings(d);
50
+ }), this.proxiedOn = new Proxy({}, {
51
+ get: (o, d) => this.target ? this.target.on[d] : (...c) => {
52
+ this.onQueue.push({
53
+ method: d,
54
+ args: c
55
+ });
56
+ }
57
+ }), this.proxiedTarget = new Proxy({}, {
58
+ get: (o, d) => this.target ? this.target[d] : d === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(d) ? (...c) => (this.targetQueue.push({
59
+ method: d,
60
+ args: c,
61
+ resolve: () => {
62
+ }
63
+ }), this.fallbacks[d](...c)) : (...c) => new Promise((f) => {
64
+ this.targetQueue.push({
65
+ method: d,
66
+ args: c,
67
+ resolve: f
68
+ });
69
+ })
70
+ });
71
+ }
72
+ async setRealTarget(t) {
73
+ this.target = t;
74
+ for (const n of this.onQueue)
75
+ this.target.on[n.method](...n.args);
76
+ for (const n of this.targetQueue)
77
+ n.resolve(await this.target[n.method](...n.args));
78
+ }
79
+ }
80
+ function On(e, t) {
81
+ const n = e, r = Dt(), i = vn(), u = hn && n.enableEarlyProxy;
82
+ if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !u))
83
+ i.emit(mn, e, t);
84
+ else {
85
+ const o = u ? new pn(n, i) : null;
86
+ (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
87
+ pluginDescriptor: n,
88
+ setupFn: t,
89
+ proxy: o
90
+ }), o && t(o.proxiedTarget);
91
+ }
92
+ }
93
+ /**
94
+ * vee-validate v4.12.4
95
+ * (c) 2023 Abdelrahman Awad
96
+ * @license MIT
97
+ */
98
+ function W(e) {
99
+ return typeof e == "function";
100
+ }
101
+ function xt(e) {
102
+ return e == null;
103
+ }
104
+ const Oe = (e) => e !== null && !!e && typeof e == "object" && !Array.isArray(e);
105
+ function vt(e) {
106
+ return Number(e) >= 0;
107
+ }
108
+ function Vn(e) {
109
+ const t = parseFloat(e);
110
+ return isNaN(t) ? e : t;
111
+ }
112
+ function _n(e) {
113
+ return typeof e == "object" && e !== null;
114
+ }
115
+ function Sn(e) {
116
+ return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
117
+ }
118
+ function Et(e) {
119
+ if (!_n(e) || Sn(e) !== "[object Object]")
120
+ return !1;
121
+ if (Object.getPrototypeOf(e) === null)
122
+ return !0;
123
+ let t = e;
124
+ for (; Object.getPrototypeOf(t) !== null; )
125
+ t = Object.getPrototypeOf(t);
126
+ return Object.getPrototypeOf(e) === t;
127
+ }
128
+ function Be(e, t) {
129
+ return Object.keys(t).forEach((n) => {
130
+ if (Et(t[n]) && Et(e[n])) {
131
+ e[n] || (e[n] = {}), Be(e[n], t[n]);
132
+ return;
133
+ }
134
+ e[n] = t[n];
135
+ }), e;
136
+ }
137
+ function Te(e) {
138
+ const t = e.split(".");
139
+ if (!t.length)
140
+ return "";
141
+ let n = String(t[0]);
142
+ for (let r = 1; r < t.length; r++) {
143
+ if (vt(t[r])) {
144
+ n += `[${t[r]}]`;
145
+ continue;
146
+ }
147
+ n += `.${t[r]}`;
148
+ }
149
+ return n;
150
+ }
151
+ const En = {};
152
+ function In(e) {
153
+ return En[e];
154
+ }
155
+ function It(e, t, n) {
156
+ typeof n.value == "object" && (n.value = C(n.value)), !n.enumerable || n.get || n.set || !n.configurable || !n.writable || t === "__proto__" ? Object.defineProperty(e, t, n) : e[t] = n.value;
157
+ }
158
+ function C(e) {
159
+ if (typeof e != "object")
160
+ return e;
161
+ var t = 0, n, r, i, u = Object.prototype.toString.call(e);
162
+ if (u === "[object Object]" ? i = Object.create(e.__proto__ || null) : u === "[object Array]" ? i = Array(e.length) : u === "[object Set]" ? (i = /* @__PURE__ */ new Set(), e.forEach(function(o) {
163
+ i.add(C(o));
164
+ })) : u === "[object Map]" ? (i = /* @__PURE__ */ new Map(), e.forEach(function(o, d) {
165
+ i.set(C(d), C(o));
166
+ })) : u === "[object Date]" ? i = /* @__PURE__ */ new Date(+e) : u === "[object RegExp]" ? i = new RegExp(e.source, e.flags) : u === "[object DataView]" ? i = new e.constructor(C(e.buffer)) : u === "[object ArrayBuffer]" ? i = e.slice(0) : u.slice(-6) === "Array]" && (i = new e.constructor(e)), i) {
167
+ for (r = Object.getOwnPropertySymbols(e); t < r.length; t++)
168
+ It(i, r[t], Object.getOwnPropertyDescriptor(e, r[t]));
169
+ for (t = 0, r = Object.getOwnPropertyNames(e); t < r.length; t++)
170
+ Object.hasOwnProperty.call(i, n = r[t]) && i[n] === e[n] || It(i, n, Object.getOwnPropertyDescriptor(e, n));
171
+ }
172
+ return i || e;
173
+ }
174
+ const Fe = Symbol("vee-validate-form"), qe = Symbol("vee-validate-field-instance"), We = Symbol("Default empty value"), jn = typeof window < "u";
175
+ function ut(e) {
176
+ return W(e) && !!e.__locatorRef;
177
+ }
178
+ function ce(e) {
179
+ return !!e && W(e.parse) && e.__type === "VVTypedSchema";
180
+ }
181
+ function Ge(e) {
182
+ return !!e && W(e.validate);
183
+ }
184
+ function Re(e) {
185
+ return e === "checkbox" || e === "radio";
186
+ }
187
+ function An(e) {
188
+ return Oe(e) || Array.isArray(e);
189
+ }
190
+ function Cn(e) {
191
+ return Array.isArray(e) ? e.length === 0 : Oe(e) && Object.keys(e).length === 0;
192
+ }
193
+ function Ke(e) {
194
+ return /^\[.+\]$/i.test(e);
195
+ }
196
+ function wn(e) {
197
+ return Lt(e) && e.multiple;
198
+ }
199
+ function Lt(e) {
200
+ return e.tagName === "SELECT";
201
+ }
202
+ function Fn(e, t) {
203
+ const n = ![!1, null, void 0, 0].includes(t.multiple) && !Number.isNaN(t.multiple);
204
+ return e === "select" && "multiple" in t && n;
205
+ }
206
+ function Pn(e, t) {
207
+ return !Fn(e, t) && t.type !== "file" && !Re(t.type);
208
+ }
209
+ function $t(e) {
210
+ return ht(e) && e.target && "submit" in e.target;
211
+ }
212
+ function ht(e) {
213
+ return e ? !!(typeof Event < "u" && W(Event) && e instanceof Event || e && e.srcElement) : !1;
214
+ }
215
+ function jt(e, t) {
216
+ return t in e && e[t] !== We;
217
+ }
218
+ function q(e, t) {
219
+ if (e === t)
220
+ return !0;
221
+ if (e && t && typeof e == "object" && typeof t == "object") {
222
+ if (e.constructor !== t.constructor)
223
+ return !1;
224
+ var n, r, i;
225
+ if (Array.isArray(e)) {
226
+ if (n = e.length, n != t.length)
227
+ return !1;
228
+ for (r = n; r-- !== 0; )
229
+ if (!q(e[r], t[r]))
230
+ return !1;
231
+ return !0;
232
+ }
233
+ if (e instanceof Map && t instanceof Map) {
234
+ if (e.size !== t.size)
235
+ return !1;
236
+ for (r of e.entries())
237
+ if (!t.has(r[0]))
238
+ return !1;
239
+ for (r of e.entries())
240
+ if (!q(r[1], t.get(r[0])))
241
+ return !1;
242
+ return !0;
243
+ }
244
+ if (At(e) && At(t))
245
+ return !(e.size !== t.size || e.name !== t.name || e.lastModified !== t.lastModified || e.type !== t.type);
246
+ if (e instanceof Set && t instanceof Set) {
247
+ if (e.size !== t.size)
248
+ return !1;
249
+ for (r of e.entries())
250
+ if (!t.has(r[0]))
251
+ return !1;
252
+ return !0;
253
+ }
254
+ if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
255
+ if (n = e.length, n != t.length)
256
+ return !1;
257
+ for (r = n; r-- !== 0; )
258
+ if (e[r] !== t[r])
259
+ return !1;
260
+ return !0;
261
+ }
262
+ if (e.constructor === RegExp)
263
+ return e.source === t.source && e.flags === t.flags;
264
+ if (e.valueOf !== Object.prototype.valueOf)
265
+ return e.valueOf() === t.valueOf();
266
+ if (e.toString !== Object.prototype.toString)
267
+ return e.toString() === t.toString();
268
+ for (i = Object.keys(e), n = i.length, r = n; r-- !== 0; ) {
269
+ var u = i[r];
270
+ if (!q(e[u], t[u]))
271
+ return !1;
272
+ }
273
+ return !0;
274
+ }
275
+ return e !== e && t !== t;
276
+ }
277
+ function At(e) {
278
+ return jn ? e instanceof File : !1;
279
+ }
280
+ function mt(e) {
281
+ return Ke(e) ? e.replace(/\[|\]/gi, "") : e;
282
+ }
283
+ function ee(e, t, n) {
284
+ return e ? Ke(t) ? e[mt(t)] : (t || "").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((i, u) => An(i) && u in i ? i[u] : n, e) : n;
285
+ }
286
+ function ge(e, t, n) {
287
+ if (Ke(t)) {
288
+ e[mt(t)] = n;
289
+ return;
290
+ }
291
+ const r = t.split(/\.|\[(\d+)\]/).filter(Boolean);
292
+ let i = e;
293
+ for (let u = 0; u < r.length; u++) {
294
+ if (u === r.length - 1) {
295
+ i[r[u]] = n;
296
+ return;
297
+ }
298
+ (!(r[u] in i) || xt(i[r[u]])) && (i[r[u]] = vt(r[u + 1]) ? [] : {}), i = i[r[u]];
299
+ }
300
+ }
301
+ function it(e, t) {
302
+ if (Array.isArray(e) && vt(t)) {
303
+ e.splice(Number(t), 1);
304
+ return;
305
+ }
306
+ Oe(e) && delete e[t];
307
+ }
308
+ function Ct(e, t) {
309
+ if (Ke(t)) {
310
+ delete e[mt(t)];
311
+ return;
312
+ }
313
+ const n = t.split(/\.|\[(\d+)\]/).filter(Boolean);
314
+ let r = e;
315
+ for (let u = 0; u < n.length; u++) {
316
+ if (u === n.length - 1) {
317
+ it(r, n[u]);
318
+ break;
319
+ }
320
+ if (!(n[u] in r) || xt(r[n[u]]))
321
+ break;
322
+ r = r[n[u]];
323
+ }
324
+ const i = n.map((u, o) => ee(e, n.slice(0, o).join(".")));
325
+ for (let u = i.length - 1; u >= 0; u--)
326
+ if (Cn(i[u])) {
327
+ if (u === 0) {
328
+ it(e, n[0]);
329
+ continue;
330
+ }
331
+ it(i[u - 1], n[u - 1]);
332
+ }
333
+ }
334
+ function ie(e) {
335
+ return Object.keys(e);
336
+ }
337
+ function Qe(e, t = void 0) {
338
+ const n = Ee();
339
+ return n?.provides[e] || Ce(e, t);
340
+ }
341
+ function kn(e) {
342
+ Rt(`[vee-validate]: ${e}`);
343
+ }
344
+ function wt(e, t, n) {
345
+ if (Array.isArray(e)) {
346
+ const r = [...e], i = r.findIndex((u) => q(u, t));
347
+ return i >= 0 ? r.splice(i, 1) : r.push(t), r;
348
+ }
349
+ return q(e, t) ? n : t;
350
+ }
351
+ function Tn(e, t) {
352
+ let n, r;
353
+ return function(...i) {
354
+ const u = this;
355
+ return n || (n = !0, setTimeout(() => n = !1, t), r = e.apply(u, i)), r;
356
+ };
357
+ }
358
+ function Ft(e, t = 0) {
359
+ let n = null, r = [];
360
+ return function(...i) {
361
+ return n && clearTimeout(n), n = setTimeout(() => {
362
+ const u = e(...i);
363
+ r.forEach((o) => o(u)), r = [];
364
+ }, t), new Promise((u) => r.push(u));
365
+ };
366
+ }
367
+ function Nn(e, t) {
368
+ return Oe(t) && t.number ? Vn(e) : e;
369
+ }
370
+ function ot(e, t) {
371
+ let n;
372
+ return async function(...i) {
373
+ const u = e(...i);
374
+ n = u;
375
+ const o = await u;
376
+ return u !== n ? o : (n = void 0, t(o, i));
377
+ };
378
+ }
379
+ function st(e) {
380
+ return Array.isArray(e) ? e : e ? [e] : [];
381
+ }
382
+ function gt(e) {
383
+ const t = Qe(Fe), n = e ? S(() => t?.getPathState(E(e))) : void 0, r = e ? void 0 : Ce(qe);
384
+ return !r && !n?.value && process.env.NODE_ENV !== "production" && kn(`field with name ${E(e)} was not found`), n || r;
385
+ }
386
+ function De(e, t) {
387
+ const n = {};
388
+ for (const r in e)
389
+ t.includes(r) || (n[r] = e[r]);
390
+ return n;
391
+ }
392
+ function Mn(e) {
393
+ let t = null, n = [];
394
+ return function(...r) {
395
+ const i = se(() => {
396
+ if (t !== i)
397
+ return;
398
+ const u = e(...r);
399
+ n.forEach((o) => o(u)), n = [], t = null;
400
+ });
401
+ return t = i, new Promise((u) => n.push(u));
402
+ };
403
+ }
404
+ function yt(e, t, n) {
405
+ return t.slots.default ? typeof e == "string" || !e ? t.slots.default(n()) : {
406
+ default: () => {
407
+ var r, i;
408
+ return (i = (r = t.slots).default) === null || i === void 0 ? void 0 : i.call(r, n());
409
+ }
410
+ } : t.slots.default;
411
+ }
412
+ function lt(e) {
413
+ if (zt(e))
414
+ return e._value;
415
+ }
416
+ function zt(e) {
417
+ return "_value" in e;
418
+ }
419
+ function Bn(e) {
420
+ return e.type === "number" || e.type === "range" ? Number.isNaN(e.valueAsNumber) ? e.value : e.valueAsNumber : e.value;
421
+ }
422
+ function He(e) {
423
+ if (!ht(e))
424
+ return e;
425
+ const t = e.target;
426
+ if (Re(t.type) && zt(t))
427
+ return lt(t);
428
+ if (t.type === "file" && t.files) {
429
+ const n = Array.from(t.files);
430
+ return t.multiple ? n : n[0];
431
+ }
432
+ if (wn(t))
433
+ return Array.from(t.options).filter((n) => n.selected && !n.disabled).map(lt);
434
+ if (Lt(t)) {
435
+ const n = Array.from(t.options).find((r) => r.selected);
436
+ return n ? lt(n) : t.value;
437
+ }
438
+ return Bn(t);
439
+ }
440
+ function Wt(e) {
441
+ const t = {};
442
+ return Object.defineProperty(t, "_$$isNormalized", {
443
+ value: !0,
444
+ writable: !1,
445
+ enumerable: !1,
446
+ configurable: !1
447
+ }), e ? Oe(e) && e._$$isNormalized ? e : Oe(e) ? Object.keys(e).reduce((n, r) => {
448
+ const i = Rn(e[r]);
449
+ return e[r] !== !1 && (n[r] = Pt(i)), n;
450
+ }, t) : typeof e != "string" ? t : e.split("|").reduce((n, r) => {
451
+ const i = Un(r);
452
+ return i.name && (n[i.name] = Pt(i.params)), n;
453
+ }, t) : t;
454
+ }
455
+ function Rn(e) {
456
+ return e === !0 ? [] : Array.isArray(e) || Oe(e) ? e : [e];
457
+ }
458
+ function Pt(e) {
459
+ const t = (n) => typeof n == "string" && n[0] === "@" ? Dn(n.slice(1)) : n;
460
+ return Array.isArray(e) ? e.map(t) : e instanceof RegExp ? [e] : Object.keys(e).reduce((n, r) => (n[r] = t(e[r]), n), {});
461
+ }
462
+ const Un = (e) => {
463
+ let t = [];
464
+ const n = e.split(":")[0];
465
+ return e.includes(":") && (t = e.split(":").slice(1).join(":").split(",")), { name: n, params: t };
466
+ };
467
+ function Dn(e) {
468
+ const t = (n) => ee(n, e) || n[e];
469
+ return t.__locatorRef = e, t;
470
+ }
471
+ function xn(e) {
472
+ return Array.isArray(e) ? e.filter(ut) : ie(e).filter((t) => ut(e[t])).map((t) => e[t]);
473
+ }
474
+ const Ln = {
475
+ generateMessage: ({ field: e }) => `${e} is not valid.`,
476
+ bails: !0,
477
+ validateOnBlur: !0,
478
+ validateOnChange: !0,
479
+ validateOnInput: !1,
480
+ validateOnModelUpdate: !0
481
+ };
482
+ let $n = Object.assign({}, Ln);
483
+ const Se = () => $n;
484
+ async function Gt(e, t, n = {}) {
485
+ const r = n?.bails, i = {
486
+ name: n?.name || "{field}",
487
+ rules: t,
488
+ label: n?.label,
489
+ bails: r ?? !0,
490
+ formData: n?.values || {}
491
+ }, o = (await zn(i, e)).errors;
492
+ return {
493
+ errors: o,
494
+ valid: !o.length
495
+ };
496
+ }
497
+ async function zn(e, t) {
498
+ if (ce(e.rules) || Ge(e.rules))
499
+ return Gn(t, e.rules);
500
+ if (W(e.rules) || Array.isArray(e.rules)) {
501
+ const o = {
502
+ field: e.label || e.name,
503
+ name: e.name,
504
+ label: e.label,
505
+ form: e.formData,
506
+ value: t
507
+ }, d = Array.isArray(e.rules) ? e.rules : [e.rules], c = d.length, f = [];
508
+ for (let g = 0; g < c; g++) {
509
+ const y = d[g], I = await y(t, o);
510
+ if (!(typeof I != "string" && !Array.isArray(I) && I)) {
511
+ if (Array.isArray(I))
512
+ f.push(...I);
513
+ else {
514
+ const P = typeof I == "string" ? I : qt(o);
515
+ f.push(P);
516
+ }
517
+ if (e.bails)
518
+ return {
519
+ errors: f
520
+ };
521
+ }
522
+ }
523
+ return {
524
+ errors: f
525
+ };
526
+ }
527
+ const n = Object.assign(Object.assign({}, e), { rules: Wt(e.rules) }), r = [], i = Object.keys(n.rules), u = i.length;
528
+ for (let o = 0; o < u; o++) {
529
+ const d = i[o], c = await Hn(n, t, {
530
+ name: d,
531
+ params: n.rules[d]
532
+ });
533
+ if (c.error && (r.push(c.error), e.bails))
534
+ return {
535
+ errors: r
536
+ };
537
+ }
538
+ return {
539
+ errors: r
540
+ };
541
+ }
542
+ function Wn(e) {
543
+ return !!e && e.name === "ValidationError";
544
+ }
545
+ function Ht(e) {
546
+ return {
547
+ __type: "VVTypedSchema",
548
+ async parse(n) {
549
+ var r;
550
+ try {
551
+ return {
552
+ output: await e.validate(n, { abortEarly: !1 }),
553
+ errors: []
554
+ };
555
+ } catch (i) {
556
+ if (!Wn(i))
557
+ throw i;
558
+ if (!(!((r = i.inner) === null || r === void 0) && r.length) && i.errors.length)
559
+ return { errors: [{ path: i.path, errors: i.errors }] };
560
+ const u = i.inner.reduce((o, d) => {
561
+ const c = d.path || "";
562
+ return o[c] || (o[c] = { errors: [], path: c }), o[c].errors.push(...d.errors), o;
563
+ }, {});
564
+ return { errors: Object.values(u) };
565
+ }
566
+ }
567
+ };
568
+ }
569
+ async function Gn(e, t) {
570
+ const r = await (ce(t) ? t : Ht(t)).parse(e), i = [];
571
+ for (const u of r.errors)
572
+ u.errors.length && i.push(...u.errors);
573
+ return {
574
+ errors: i
575
+ };
576
+ }
577
+ async function Hn(e, t, n) {
578
+ const r = In(n.name);
579
+ if (!r)
580
+ throw new Error(`No such validator '${n.name}' exists.`);
581
+ const i = qn(n.params, e.formData), u = {
582
+ field: e.label || e.name,
583
+ name: e.name,
584
+ label: e.label,
585
+ value: t,
586
+ form: e.formData,
587
+ rule: Object.assign(Object.assign({}, n), { params: i })
588
+ }, o = await r(t, i, u);
589
+ return typeof o == "string" ? {
590
+ error: o
591
+ } : {
592
+ error: o ? void 0 : qt(u)
593
+ };
594
+ }
595
+ function qt(e) {
596
+ const t = Se().generateMessage;
597
+ return t ? t(e) : "Field is invalid";
598
+ }
599
+ function qn(e, t) {
600
+ const n = (r) => ut(r) ? r(t) : r;
601
+ return Array.isArray(e) ? e.map(n) : Object.keys(e).reduce((r, i) => (r[i] = n(e[i]), r), {});
602
+ }
603
+ async function Kn(e, t) {
604
+ const r = await (ce(e) ? e : Ht(e)).parse(C(t)), i = {}, u = {};
605
+ for (const o of r.errors) {
606
+ const d = o.errors, c = (o.path || "").replace(/\["(\d+)"\]/g, (f, g) => `[${g}]`);
607
+ i[c] = { valid: !d.length, errors: d }, d.length && (u[c] = d[0]);
608
+ }
609
+ return {
610
+ valid: !r.errors.length,
611
+ results: i,
612
+ errors: u,
613
+ values: r.value
614
+ };
615
+ }
616
+ async function Qn(e, t, n) {
617
+ const i = ie(e).map(async (f) => {
618
+ var g, y, I;
619
+ const O = (g = n?.names) === null || g === void 0 ? void 0 : g[f], P = await Gt(ee(t, f), e[f], {
620
+ name: O?.name || f,
621
+ label: O?.label,
622
+ values: t,
623
+ bails: (I = (y = n?.bailsMap) === null || y === void 0 ? void 0 : y[f]) !== null && I !== void 0 ? I : !0
624
+ });
625
+ return Object.assign(Object.assign({}, P), { path: f });
626
+ });
627
+ let u = !0;
628
+ const o = await Promise.all(i), d = {}, c = {};
629
+ for (const f of o)
630
+ d[f.path] = {
631
+ valid: f.valid,
632
+ errors: f.errors
633
+ }, f.valid || (u = !1, c[f.path] = f.errors[0]);
634
+ return {
635
+ valid: u,
636
+ results: d,
637
+ errors: c
638
+ };
639
+ }
640
+ let kt = 0;
641
+ function Jn(e, t) {
642
+ const { value: n, initialValue: r, setInitialValue: i } = Yn(e, t.modelValue, t.form);
643
+ if (!t.form) {
644
+ let I = function(O) {
645
+ var P;
646
+ "value" in O && (n.value = O.value), "errors" in O && f(O.errors), "touched" in O && (y.touched = (P = O.touched) !== null && P !== void 0 ? P : y.touched), "initialValue" in O && i(O.initialValue);
647
+ };
648
+ const { errors: c, setErrors: f } = er(), g = kt >= Number.MAX_SAFE_INTEGER ? 0 : ++kt, y = Zn(n, r, c, t.schema);
649
+ return {
650
+ id: g,
651
+ path: e,
652
+ value: n,
653
+ initialValue: r,
654
+ meta: y,
655
+ flags: { pendingUnmount: { [g]: !1 }, pendingReset: !1 },
656
+ errors: c,
657
+ setState: I
658
+ };
659
+ }
660
+ const u = t.form.createPathState(e, {
661
+ bails: t.bails,
662
+ label: t.label,
663
+ type: t.type,
664
+ validate: t.validate,
665
+ schema: t.schema
666
+ }), o = S(() => u.errors);
667
+ function d(c) {
668
+ var f, g, y;
669
+ "value" in c && (n.value = c.value), "errors" in c && ((f = t.form) === null || f === void 0 || f.setFieldError(j(e), c.errors)), "touched" in c && ((g = t.form) === null || g === void 0 || g.setFieldTouched(j(e), (y = c.touched) !== null && y !== void 0 ? y : !1)), "initialValue" in c && i(c.initialValue);
670
+ }
671
+ return {
672
+ id: Array.isArray(u.id) ? u.id[u.id.length - 1] : u.id,
673
+ path: e,
674
+ value: n,
675
+ errors: o,
676
+ meta: u,
677
+ initialValue: r,
678
+ flags: u.__flags,
679
+ setState: d
680
+ };
681
+ }
682
+ function Yn(e, t, n) {
683
+ const r = de(j(t));
684
+ function i() {
685
+ return n ? ee(n.initialValues.value, j(e), j(r)) : j(r);
686
+ }
687
+ function u(f) {
688
+ if (!n) {
689
+ r.value = f;
690
+ return;
691
+ }
692
+ n.setFieldInitialValue(j(e), f, !0);
693
+ }
694
+ const o = S(i);
695
+ if (!n)
696
+ return {
697
+ value: de(i()),
698
+ initialValue: o,
699
+ setInitialValue: u
700
+ };
701
+ const d = Xn(t, n, o, e);
702
+ return n.stageInitialValue(j(e), d, !0), {
703
+ value: S({
704
+ get() {
705
+ return ee(n.values, j(e));
706
+ },
707
+ set(f) {
708
+ n.setFieldValue(j(e), f, !1);
709
+ }
710
+ }),
711
+ initialValue: o,
712
+ setInitialValue: u
713
+ };
714
+ }
715
+ function Xn(e, t, n, r) {
716
+ return $e(e) ? j(e) : e !== void 0 ? e : ee(t.values, j(r), j(n));
717
+ }
718
+ function Zn(e, t, n, r) {
719
+ var i, u;
720
+ const o = (u = (i = r?.describe) === null || i === void 0 ? void 0 : i.call(r).required) !== null && u !== void 0 ? u : !1, d = ze({
721
+ touched: !1,
722
+ pending: !1,
723
+ valid: !0,
724
+ required: o,
725
+ validated: !!j(n).length,
726
+ initialValue: S(() => j(t)),
727
+ dirty: S(() => !q(j(e), j(t)))
728
+ });
729
+ return be(n, (c) => {
730
+ d.valid = !c.length;
731
+ }, {
732
+ immediate: !0,
733
+ flush: "sync"
734
+ }), d;
735
+ }
736
+ function er() {
737
+ const e = de([]);
738
+ return {
739
+ errors: e,
740
+ setErrors: (t) => {
741
+ e.value = st(t);
742
+ }
743
+ };
744
+ }
745
+ function Kt(e) {
746
+ process.env.NODE_ENV !== "production" && On({
747
+ id: "vee-validate-devtools-plugin",
748
+ label: "VeeValidate Plugin",
749
+ packageName: "vee-validate",
750
+ homepage: "https://vee-validate.logaretm.com/v4",
751
+ app: e,
752
+ logo: "https://vee-validate.logaretm.com/v4/logo.png"
753
+ }, rr);
754
+ }
755
+ const Ne = {}, Me = {};
756
+ let ye;
757
+ const we = Tn(() => {
758
+ setTimeout(async () => {
759
+ await se(), ye?.sendInspectorState(Ae), ye?.sendInspectorTree(Ae);
760
+ }, 100);
761
+ }, 100);
762
+ function tr(e) {
763
+ const t = Ee();
764
+ if (!ye) {
765
+ const n = t?.appContext.app;
766
+ if (!n)
767
+ return;
768
+ Kt(n);
769
+ }
770
+ Ne[e.formId] = Object.assign({}, e), Ne[e.formId]._vm = t, Ut(() => {
771
+ delete Ne[e.formId], we();
772
+ }), we();
773
+ }
774
+ function nr(e) {
775
+ const t = Ee();
776
+ if (!ye) {
777
+ const n = t?.appContext.app;
778
+ if (!n)
779
+ return;
780
+ Kt(n);
781
+ }
782
+ Me[e.id] = Object.assign({}, e), Me[e.id]._vm = t, Ut(() => {
783
+ delete Me[e.id], we();
784
+ }), we();
785
+ }
786
+ const Ae = "vee-validate-inspector", Z = {
787
+ error: 12405579,
788
+ success: 448379,
789
+ unknown: 5522283,
790
+ white: 16777215,
791
+ black: 0,
792
+ blue: 218007,
793
+ purple: 12157168,
794
+ orange: 16099682,
795
+ gray: 12304330
796
+ };
797
+ let R = null;
798
+ function rr(e) {
799
+ ye = e, e.addInspector({
800
+ id: Ae,
801
+ icon: "rule",
802
+ label: "vee-validate",
803
+ noSelectionText: "Select a vee-validate node to inspect",
804
+ actions: [
805
+ {
806
+ icon: "done_outline",
807
+ tooltip: "Validate selected item",
808
+ action: async () => {
809
+ if (!R) {
810
+ console.error("There is not a valid selected vee-validate node or component");
811
+ return;
812
+ }
813
+ if (R.type === "field") {
814
+ await R.field.validate();
815
+ return;
816
+ }
817
+ if (R.type === "form") {
818
+ await R.form.validate();
819
+ return;
820
+ }
821
+ R.type === "pathState" && await R.form.validateField(R.state.path);
822
+ }
823
+ },
824
+ {
825
+ icon: "delete_sweep",
826
+ tooltip: "Clear validation state of the selected item",
827
+ action: () => {
828
+ if (!R) {
829
+ console.error("There is not a valid selected vee-validate node or component");
830
+ return;
831
+ }
832
+ if (R.type === "field") {
833
+ R.field.resetField();
834
+ return;
835
+ }
836
+ R.type === "form" && R.form.resetForm(), R.type === "pathState" && R.form.resetField(R.state.path);
837
+ }
838
+ }
839
+ ]
840
+ }), e.on.getInspectorTree((t) => {
841
+ if (t.inspectorId !== Ae)
842
+ return;
843
+ const n = Object.values(Ne), r = Object.values(Me);
844
+ t.rootNodes = [
845
+ ...n.map(ir),
846
+ ...r.map((i) => ar(i))
847
+ ];
848
+ }), e.on.getInspectorState((t, n) => {
849
+ if (t.inspectorId !== Ae || n.currentTab !== `custom-inspector:${Ae}`)
850
+ return;
851
+ const { form: r, field: i, state: u, type: o } = ur(t.nodeId);
852
+ if (r && o === "form") {
853
+ t.state = or(r), R = { type: "form", form: r };
854
+ return;
855
+ }
856
+ if (u && o === "pathState" && r) {
857
+ t.state = Tt(u), R = { type: "pathState", state: u, form: r };
858
+ return;
859
+ }
860
+ if (i && o === "field") {
861
+ t.state = Tt({
862
+ errors: i.errors.value,
863
+ dirty: i.meta.dirty,
864
+ valid: i.meta.valid,
865
+ touched: i.meta.touched,
866
+ value: i.value.value,
867
+ initialValue: i.meta.initialValue
868
+ }), R = { field: i, type: "field" };
869
+ return;
870
+ }
871
+ R = null;
872
+ });
873
+ }
874
+ function ir(e) {
875
+ const { textColor: t, bgColor: n } = Jt(e.meta.value.valid), r = {};
876
+ Object.values(e.getAllPathStates()).forEach((o) => {
877
+ ge(r, j(o.path), lr(o, e));
878
+ });
879
+ function i(o, d = []) {
880
+ const c = [...d].pop();
881
+ return "id" in o ? Object.assign(Object.assign({}, o), { label: c || o.label }) : Oe(o) ? {
882
+ id: `${d.join(".")}`,
883
+ label: c || "",
884
+ children: Object.keys(o).map((f) => i(o[f], [...d, f]))
885
+ } : Array.isArray(o) ? {
886
+ id: `${d.join(".")}`,
887
+ label: `${c}[]`,
888
+ children: o.map((f, g) => i(f, [...d, String(g)]))
889
+ } : { id: "", label: "", children: [] };
890
+ }
891
+ const { children: u } = i(r);
892
+ return {
893
+ id: bt(e),
894
+ label: "Form",
895
+ children: u,
896
+ tags: [
897
+ {
898
+ label: "Form",
899
+ textColor: t,
900
+ backgroundColor: n
901
+ },
902
+ {
903
+ label: `${e.getAllPathStates().length} fields`,
904
+ textColor: Z.white,
905
+ backgroundColor: Z.unknown
906
+ }
907
+ ]
908
+ };
909
+ }
910
+ function lr(e, t) {
911
+ return {
912
+ id: bt(t, e),
913
+ label: j(e.path),
914
+ tags: Qt(e.multiple, e.fieldsCount, e.type, e.valid, t)
915
+ };
916
+ }
917
+ function ar(e, t) {
918
+ return {
919
+ id: bt(t, e),
920
+ label: j(e.name),
921
+ tags: Qt(!1, 1, e.type, e.meta.valid, t)
922
+ };
923
+ }
924
+ function Qt(e, t, n, r, i) {
925
+ const { textColor: u, bgColor: o } = Jt(r);
926
+ return [
927
+ e ? void 0 : {
928
+ label: "Field",
929
+ textColor: u,
930
+ backgroundColor: o
931
+ },
932
+ i ? void 0 : {
933
+ label: "Standalone",
934
+ textColor: Z.black,
935
+ backgroundColor: Z.gray
936
+ },
937
+ n === "checkbox" ? {
938
+ label: "Checkbox",
939
+ textColor: Z.white,
940
+ backgroundColor: Z.blue
941
+ } : void 0,
942
+ n === "radio" ? {
943
+ label: "Radio",
944
+ textColor: Z.white,
945
+ backgroundColor: Z.purple
946
+ } : void 0,
947
+ e ? {
948
+ label: "Multiple",
949
+ textColor: Z.black,
950
+ backgroundColor: Z.orange
951
+ } : void 0
952
+ ].filter(Boolean);
953
+ }
954
+ function bt(e, t) {
955
+ const n = t ? "path" in t ? "pathState" : "field" : "form", r = t ? "path" in t ? t?.path : j(t?.name) : "", i = { f: e?.formId, ff: r, type: n };
956
+ return btoa(encodeURIComponent(JSON.stringify(i)));
957
+ }
958
+ function ur(e) {
959
+ try {
960
+ const t = JSON.parse(decodeURIComponent(atob(e))), n = Ne[t.f];
961
+ if (!n && t.ff) {
962
+ const i = Me[t.ff];
963
+ return i ? {
964
+ type: t.type,
965
+ field: i
966
+ } : {};
967
+ }
968
+ if (!n)
969
+ return {};
970
+ const r = n.getPathState(t.ff);
971
+ return {
972
+ type: t.type,
973
+ form: n,
974
+ state: r
975
+ };
976
+ } catch {
977
+ }
978
+ return {};
979
+ }
980
+ function Tt(e) {
981
+ return {
982
+ "Field state": [
983
+ { key: "errors", value: e.errors },
984
+ {
985
+ key: "initialValue",
986
+ value: e.initialValue
987
+ },
988
+ {
989
+ key: "currentValue",
990
+ value: e.value
991
+ },
992
+ {
993
+ key: "touched",
994
+ value: e.touched
995
+ },
996
+ {
997
+ key: "dirty",
998
+ value: e.dirty
999
+ },
1000
+ {
1001
+ key: "valid",
1002
+ value: e.valid
1003
+ }
1004
+ ]
1005
+ };
1006
+ }
1007
+ function or(e) {
1008
+ const { errorBag: t, meta: n, values: r, isSubmitting: i, isValidating: u, submitCount: o } = e;
1009
+ return {
1010
+ "Form state": [
1011
+ {
1012
+ key: "submitCount",
1013
+ value: o.value
1014
+ },
1015
+ {
1016
+ key: "isSubmitting",
1017
+ value: i.value
1018
+ },
1019
+ {
1020
+ key: "isValidating",
1021
+ value: u.value
1022
+ },
1023
+ {
1024
+ key: "touched",
1025
+ value: n.value.touched
1026
+ },
1027
+ {
1028
+ key: "dirty",
1029
+ value: n.value.dirty
1030
+ },
1031
+ {
1032
+ key: "valid",
1033
+ value: n.value.valid
1034
+ },
1035
+ {
1036
+ key: "initialValues",
1037
+ value: n.value.initialValues
1038
+ },
1039
+ {
1040
+ key: "currentValues",
1041
+ value: r
1042
+ },
1043
+ {
1044
+ key: "errors",
1045
+ value: ie(t.value).reduce((d, c) => {
1046
+ var f;
1047
+ const g = (f = t.value[c]) === null || f === void 0 ? void 0 : f[0];
1048
+ return g && (d[c] = g), d;
1049
+ }, {})
1050
+ }
1051
+ ]
1052
+ };
1053
+ }
1054
+ function Jt(e) {
1055
+ return {
1056
+ bgColor: e ? Z.success : Z.error,
1057
+ textColor: e ? Z.black : Z.white
1058
+ };
1059
+ }
1060
+ function sr(e, t, n) {
1061
+ return Re(n?.type) ? cr(e, t, n) : Yt(e, t, n);
1062
+ }
1063
+ function Yt(e, t, n) {
1064
+ const { initialValue: r, validateOnMount: i, bails: u, type: o, checkedValue: d, label: c, validateOnValueUpdate: f, uncheckedValue: g, controlled: y, keepValueOnUnmount: I, syncVModel: O, form: P } = dr(n), K = y ? Qe(Fe) : void 0, b = P || K, $ = S(() => Te(E(e))), D = S(() => {
1065
+ if (E(b?.schema))
1066
+ return;
1067
+ const V = j(t);
1068
+ return Ge(V) || ce(V) || W(V) || Array.isArray(V) ? V : Wt(V);
1069
+ }), { id: G, value: Q, initialValue: te, meta: T, setState: ue, errors: N, flags: x } = Jn($, {
1070
+ modelValue: r,
1071
+ form: b,
1072
+ bails: u,
1073
+ label: c,
1074
+ type: o,
1075
+ validate: D.value ? re : void 0,
1076
+ schema: ce(t) ? t : void 0
1077
+ }), U = S(() => N.value[0]);
1078
+ O && fr({
1079
+ value: Q,
1080
+ prop: O,
1081
+ handleChange: _,
1082
+ shouldValidate: () => f && !x.pendingReset
1083
+ });
1084
+ const fe = (h, V = !1) => {
1085
+ T.touched = !0, V && ne();
1086
+ };
1087
+ async function he(h) {
1088
+ var V, F;
1089
+ if (b?.validateSchema) {
1090
+ const { results: w } = await b.validateSchema(h);
1091
+ return (V = w[E($)]) !== null && V !== void 0 ? V : { valid: !0, errors: [] };
1092
+ }
1093
+ return D.value ? Gt(Q.value, D.value, {
1094
+ name: E($),
1095
+ label: E(c),
1096
+ values: (F = b?.values) !== null && F !== void 0 ? F : {},
1097
+ bails: u
1098
+ }) : { valid: !0, errors: [] };
1099
+ }
1100
+ const ne = ot(async () => (T.pending = !0, T.validated = !0, he("validated-only")), (h) => (x.pendingUnmount[L.id] || (ue({ errors: h.errors }), T.pending = !1, T.valid = h.valid), h)), J = ot(async () => he("silent"), (h) => (T.valid = h.valid, h));
1101
+ function re(h) {
1102
+ return h?.mode === "silent" ? J() : ne();
1103
+ }
1104
+ function _(h, V = !0) {
1105
+ const F = He(h);
1106
+ Pe(F, V);
1107
+ }
1108
+ Mt(() => {
1109
+ if (i)
1110
+ return ne();
1111
+ (!b || !b.validateSchema) && J();
1112
+ });
1113
+ function Y(h) {
1114
+ T.touched = h;
1115
+ }
1116
+ function le(h) {
1117
+ var V;
1118
+ const F = h && "value" in h ? h.value : te.value;
1119
+ ue({
1120
+ value: C(F),
1121
+ initialValue: C(F),
1122
+ touched: (V = h?.touched) !== null && V !== void 0 ? V : !1,
1123
+ errors: h?.errors || []
1124
+ }), T.pending = !1, T.validated = !1, J();
1125
+ }
1126
+ const pe = Ee();
1127
+ function Pe(h, V = !0) {
1128
+ Q.value = pe && O ? Nn(h, pe.props.modelModifiers) : h, (V ? ne : J)();
1129
+ }
1130
+ function Ue(h) {
1131
+ ue({ errors: Array.isArray(h) ? h : [h] });
1132
+ }
1133
+ const pt = S({
1134
+ get() {
1135
+ return Q.value;
1136
+ },
1137
+ set(h) {
1138
+ Pe(h, f);
1139
+ }
1140
+ }), L = {
1141
+ id: G,
1142
+ name: $,
1143
+ label: c,
1144
+ value: pt,
1145
+ meta: T,
1146
+ errors: N,
1147
+ errorMessage: U,
1148
+ type: o,
1149
+ checkedValue: d,
1150
+ uncheckedValue: g,
1151
+ bails: u,
1152
+ keepValueOnUnmount: I,
1153
+ resetField: le,
1154
+ handleReset: () => le(),
1155
+ validate: re,
1156
+ handleChange: _,
1157
+ handleBlur: fe,
1158
+ setState: ue,
1159
+ setTouched: Y,
1160
+ setErrors: Ue,
1161
+ setValue: Pe
1162
+ };
1163
+ if (Bt(qe, L), $e(t) && typeof j(t) != "function" && be(t, (h, V) => {
1164
+ q(h, V) || (T.validated ? ne() : J());
1165
+ }, {
1166
+ deep: !0
1167
+ }), process.env.NODE_ENV !== "production" && (L._vm = Ee(), be(() => Object.assign(Object.assign({ errors: N.value }, T), { value: Q.value }), we, {
1168
+ deep: !0
1169
+ }), b || nr(L)), !b)
1170
+ return L;
1171
+ const Je = S(() => {
1172
+ const h = D.value;
1173
+ return !h || W(h) || Ge(h) || ce(h) || Array.isArray(h) ? {} : Object.keys(h).reduce((V, F) => {
1174
+ const w = xn(h[F]).map((me) => me.__locatorRef).reduce((me, ve) => {
1175
+ const ae = ee(b.values, ve) || b.values[ve];
1176
+ return ae !== void 0 && (me[ve] = ae), me;
1177
+ }, {});
1178
+ return Object.assign(V, w), V;
1179
+ }, {});
1180
+ });
1181
+ return be(Je, (h, V) => {
1182
+ if (!Object.keys(h).length)
1183
+ return;
1184
+ !q(h, V) && (T.validated ? ne() : J());
1185
+ }), on(() => {
1186
+ var h;
1187
+ const V = (h = E(L.keepValueOnUnmount)) !== null && h !== void 0 ? h : E(b.keepValuesOnUnmount), F = E($);
1188
+ if (V || !b || x.pendingUnmount[L.id]) {
1189
+ b?.removePathState(F, G);
1190
+ return;
1191
+ }
1192
+ x.pendingUnmount[L.id] = !0;
1193
+ const w = b.getPathState(F);
1194
+ if (Array.isArray(w?.id) && w?.multiple ? w?.id.includes(L.id) : w?.id === L.id) {
1195
+ if (w?.multiple && Array.isArray(w.value)) {
1196
+ const ve = w.value.findIndex((ae) => q(ae, E(L.checkedValue)));
1197
+ if (ve > -1) {
1198
+ const ae = [...w.value];
1199
+ ae.splice(ve, 1), b.setFieldValue(F, ae);
1200
+ }
1201
+ Array.isArray(w.id) && w.id.splice(w.id.indexOf(L.id), 1);
1202
+ } else
1203
+ b.unsetPathValue(E($));
1204
+ b.removePathState(F, G);
1205
+ }
1206
+ }), L;
1207
+ }
1208
+ function dr(e) {
1209
+ const t = () => ({
1210
+ initialValue: void 0,
1211
+ validateOnMount: !1,
1212
+ bails: !0,
1213
+ label: void 0,
1214
+ validateOnValueUpdate: !0,
1215
+ keepValueOnUnmount: void 0,
1216
+ syncVModel: !1,
1217
+ controlled: !0
1218
+ }), n = !!e?.syncVModel, r = typeof e?.syncVModel == "string" ? e.syncVModel : e?.modelPropName || "modelValue", i = n && !("initialValue" in (e || {})) ? dt(Ee(), r) : e?.initialValue;
1219
+ if (!e)
1220
+ return Object.assign(Object.assign({}, t()), { initialValue: i });
1221
+ const u = "valueProp" in e ? e.valueProp : e.checkedValue, o = "standalone" in e ? !e.standalone : e.controlled, d = e?.modelPropName || e?.syncVModel || !1;
1222
+ return Object.assign(Object.assign(Object.assign({}, t()), e || {}), {
1223
+ initialValue: i,
1224
+ controlled: o ?? !0,
1225
+ checkedValue: u,
1226
+ syncVModel: d
1227
+ });
1228
+ }
1229
+ function cr(e, t, n) {
1230
+ const r = n?.standalone ? void 0 : Qe(Fe), i = n?.checkedValue, u = n?.uncheckedValue;
1231
+ function o(d) {
1232
+ const c = d.handleChange, f = S(() => {
1233
+ const y = E(d.value), I = E(i);
1234
+ return Array.isArray(y) ? y.findIndex((O) => q(O, I)) >= 0 : q(I, y);
1235
+ });
1236
+ function g(y, I = !0) {
1237
+ var O, P;
1238
+ if (f.value === ((O = y?.target) === null || O === void 0 ? void 0 : O.checked)) {
1239
+ I && d.validate();
1240
+ return;
1241
+ }
1242
+ const K = E(e), b = r?.getPathState(K), $ = He(y);
1243
+ let D = (P = E(i)) !== null && P !== void 0 ? P : $;
1244
+ r && b?.multiple && b.type === "checkbox" ? D = wt(ee(r.values, K) || [], D, void 0) : n?.type === "checkbox" && (D = wt(E(d.value), D, E(u))), c(D, I);
1245
+ }
1246
+ return Object.assign(Object.assign({}, d), {
1247
+ checked: f,
1248
+ checkedValue: i,
1249
+ uncheckedValue: u,
1250
+ handleChange: g
1251
+ });
1252
+ }
1253
+ return o(Yt(e, t, n));
1254
+ }
1255
+ function fr({ prop: e, value: t, handleChange: n, shouldValidate: r }) {
1256
+ const i = Ee();
1257
+ if (!i || !e) {
1258
+ process.env.NODE_ENV !== "production" && console.warn("Failed to setup model events because `useField` was not called in setup.");
1259
+ return;
1260
+ }
1261
+ const u = typeof e == "string" ? e : "modelValue", o = `update:${u}`;
1262
+ u in i.props && (be(t, (d) => {
1263
+ q(d, dt(i, u)) || i.emit(o, d);
1264
+ }), be(() => dt(i, u), (d) => {
1265
+ if (d === We && t.value === void 0)
1266
+ return;
1267
+ const c = d === We ? void 0 : d;
1268
+ q(c, t.value) || n(c, r());
1269
+ }));
1270
+ }
1271
+ function dt(e, t) {
1272
+ if (e)
1273
+ return e.props[t];
1274
+ }
1275
+ const vr = /* @__PURE__ */ ct({
1276
+ name: "Field",
1277
+ inheritAttrs: !1,
1278
+ props: {
1279
+ as: {
1280
+ type: [String, Object],
1281
+ default: void 0
1282
+ },
1283
+ name: {
1284
+ type: String,
1285
+ required: !0
1286
+ },
1287
+ rules: {
1288
+ type: [Object, String, Function],
1289
+ default: void 0
1290
+ },
1291
+ validateOnMount: {
1292
+ type: Boolean,
1293
+ default: !1
1294
+ },
1295
+ validateOnBlur: {
1296
+ type: Boolean,
1297
+ default: void 0
1298
+ },
1299
+ validateOnChange: {
1300
+ type: Boolean,
1301
+ default: void 0
1302
+ },
1303
+ validateOnInput: {
1304
+ type: Boolean,
1305
+ default: void 0
1306
+ },
1307
+ validateOnModelUpdate: {
1308
+ type: Boolean,
1309
+ default: void 0
1310
+ },
1311
+ bails: {
1312
+ type: Boolean,
1313
+ default: () => Se().bails
1314
+ },
1315
+ label: {
1316
+ type: String,
1317
+ default: void 0
1318
+ },
1319
+ uncheckedValue: {
1320
+ type: null,
1321
+ default: void 0
1322
+ },
1323
+ modelValue: {
1324
+ type: null,
1325
+ default: We
1326
+ },
1327
+ modelModifiers: {
1328
+ type: null,
1329
+ default: () => ({})
1330
+ },
1331
+ "onUpdate:modelValue": {
1332
+ type: null,
1333
+ default: void 0
1334
+ },
1335
+ standalone: {
1336
+ type: Boolean,
1337
+ default: !1
1338
+ },
1339
+ keepValue: {
1340
+ type: Boolean,
1341
+ default: void 0
1342
+ }
1343
+ },
1344
+ setup(e, t) {
1345
+ const n = _e(e, "rules"), r = _e(e, "name"), i = _e(e, "label"), u = _e(e, "uncheckedValue"), o = _e(e, "keepValue"), { errors: d, value: c, errorMessage: f, validate: g, handleChange: y, handleBlur: I, setTouched: O, resetField: P, handleReset: K, meta: b, checked: $, setErrors: D } = sr(r, n, {
1346
+ validateOnMount: e.validateOnMount,
1347
+ bails: e.bails,
1348
+ standalone: e.standalone,
1349
+ type: t.attrs.type,
1350
+ initialValue: mr(e, t),
1351
+ // Only for checkboxes and radio buttons
1352
+ checkedValue: t.attrs.value,
1353
+ uncheckedValue: u,
1354
+ label: i,
1355
+ validateOnValueUpdate: e.validateOnModelUpdate,
1356
+ keepValueOnUnmount: o,
1357
+ syncVModel: !0
1358
+ }), G = function(x, U = !0) {
1359
+ y(x, U);
1360
+ }, Q = S(() => {
1361
+ const { validateOnInput: N, validateOnChange: x, validateOnBlur: U, validateOnModelUpdate: fe } = hr(e);
1362
+ function he(_) {
1363
+ I(_, U), W(t.attrs.onBlur) && t.attrs.onBlur(_);
1364
+ }
1365
+ function ne(_) {
1366
+ G(_, N), W(t.attrs.onInput) && t.attrs.onInput(_);
1367
+ }
1368
+ function J(_) {
1369
+ G(_, x), W(t.attrs.onChange) && t.attrs.onChange(_);
1370
+ }
1371
+ const re = {
1372
+ name: e.name,
1373
+ onBlur: he,
1374
+ onInput: ne,
1375
+ onChange: J
1376
+ };
1377
+ return re["onUpdate:modelValue"] = (_) => G(_, fe), re;
1378
+ }), te = S(() => {
1379
+ const N = Object.assign({}, Q.value);
1380
+ Re(t.attrs.type) && $ && (N.checked = $.value);
1381
+ const x = Nt(e, t);
1382
+ return Pn(x, t.attrs) && (N.value = c.value), N;
1383
+ }), T = S(() => Object.assign(Object.assign({}, Q.value), { modelValue: c.value }));
1384
+ function ue() {
1385
+ return {
1386
+ field: te.value,
1387
+ componentField: T.value,
1388
+ value: c.value,
1389
+ meta: b,
1390
+ errors: d.value,
1391
+ errorMessage: f.value,
1392
+ validate: g,
1393
+ resetField: P,
1394
+ handleChange: G,
1395
+ handleInput: (N) => G(N, !1),
1396
+ handleReset: K,
1397
+ handleBlur: Q.value.onBlur,
1398
+ setTouched: O,
1399
+ setErrors: D
1400
+ };
1401
+ }
1402
+ return t.expose({
1403
+ value: c,
1404
+ meta: b,
1405
+ errors: d,
1406
+ errorMessage: f,
1407
+ setErrors: D,
1408
+ setTouched: O,
1409
+ reset: P,
1410
+ validate: g,
1411
+ handleChange: y
1412
+ }), () => {
1413
+ const N = ft(Nt(e, t)), x = yt(N, t, ue);
1414
+ return N ? Le(N, Object.assign(Object.assign({}, t.attrs), te.value), x) : x;
1415
+ };
1416
+ }
1417
+ });
1418
+ function Nt(e, t) {
1419
+ let n = e.as || "";
1420
+ return !e.as && !t.slots.default && (n = "input"), n;
1421
+ }
1422
+ function hr(e) {
1423
+ var t, n, r, i;
1424
+ const { validateOnInput: u, validateOnChange: o, validateOnBlur: d, validateOnModelUpdate: c } = Se();
1425
+ return {
1426
+ validateOnInput: (t = e.validateOnInput) !== null && t !== void 0 ? t : u,
1427
+ validateOnChange: (n = e.validateOnChange) !== null && n !== void 0 ? n : o,
1428
+ validateOnBlur: (r = e.validateOnBlur) !== null && r !== void 0 ? r : d,
1429
+ validateOnModelUpdate: (i = e.validateOnModelUpdate) !== null && i !== void 0 ? i : c
1430
+ };
1431
+ }
1432
+ function mr(e, t) {
1433
+ return Re(t.attrs.type) ? jt(e, "modelValue") ? e.modelValue : void 0 : jt(e, "modelValue") ? e.modelValue : t.attrs.value;
1434
+ }
1435
+ const wr = vr;
1436
+ let gr = 0;
1437
+ const xe = ["bails", "fieldsCount", "id", "multiple", "type", "validate"];
1438
+ function Xt(e) {
1439
+ const t = Object.assign({}, E(e?.initialValues || {})), n = j(e?.validationSchema);
1440
+ return n && ce(n) && W(n.cast) ? C(n.cast(t) || {}) : C(t);
1441
+ }
1442
+ function yr(e) {
1443
+ var t;
1444
+ const n = gr++;
1445
+ let r = 0;
1446
+ const i = de(!1), u = de(!1), o = de(0), d = [], c = ze(Xt(e)), f = de([]), g = de({}), y = de({}), I = Mn(() => {
1447
+ y.value = f.value.reduce((a, l) => (a[Te(E(l.path))] = l, a), {});
1448
+ });
1449
+ function O(a, l) {
1450
+ const s = _(a);
1451
+ if (!s) {
1452
+ typeof a == "string" && (g.value[Te(a)] = st(l));
1453
+ return;
1454
+ }
1455
+ if (typeof a == "string") {
1456
+ const v = Te(a);
1457
+ g.value[v] && delete g.value[v];
1458
+ }
1459
+ s.errors = st(l), s.valid = !s.errors.length;
1460
+ }
1461
+ function P(a) {
1462
+ ie(a).forEach((l) => {
1463
+ O(l, a[l]);
1464
+ });
1465
+ }
1466
+ e?.initialErrors && P(e.initialErrors);
1467
+ const K = S(() => {
1468
+ const a = f.value.reduce((l, s) => (s.errors.length && (l[s.path] = s.errors), l), {});
1469
+ return Object.assign(Object.assign({}, g.value), a);
1470
+ }), b = S(() => ie(K.value).reduce((a, l) => {
1471
+ const s = K.value[l];
1472
+ return s?.length && (a[l] = s[0]), a;
1473
+ }, {})), $ = S(() => f.value.reduce((a, l) => (a[l.path] = { name: l.path || "", label: l.label || "" }, a), {})), D = S(() => f.value.reduce((a, l) => {
1474
+ var s;
1475
+ return a[l.path] = (s = l.bails) !== null && s !== void 0 ? s : !0, a;
1476
+ }, {})), G = Object.assign({}, e?.initialErrors || {}), Q = (t = e?.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: te, originalInitialValues: T, setInitialValues: ue } = pr(f, c, e), N = br(f, c, T, b), x = S(() => f.value.reduce((a, l) => {
1477
+ const s = ee(c, l.path);
1478
+ return ge(a, l.path, s), a;
1479
+ }, {})), U = e?.validationSchema;
1480
+ function fe(a, l) {
1481
+ var s, v;
1482
+ const p = S(() => ee(te.value, E(a))), m = y.value[E(a)], A = l?.type === "checkbox" || l?.type === "radio";
1483
+ if (m && A) {
1484
+ m.multiple = !0;
1485
+ const oe = r++;
1486
+ return Array.isArray(m.id) ? m.id.push(oe) : m.id = [m.id, oe], m.fieldsCount++, m.__flags.pendingUnmount[oe] = !1, m;
1487
+ }
1488
+ const M = S(() => ee(c, E(a))), B = E(a), H = le.findIndex((oe) => oe === B);
1489
+ H !== -1 && le.splice(H, 1);
1490
+ const k = S(() => {
1491
+ var oe, ke, tt, St, nt, rt;
1492
+ return ce(U) ? (tt = (ke = (oe = U).describe) === null || ke === void 0 ? void 0 : ke.call(oe, E(a)).required) !== null && tt !== void 0 ? tt : !1 : ce(l?.schema) && (rt = (nt = (St = l?.schema).describe) === null || nt === void 0 ? void 0 : nt.call(St).required) !== null && rt !== void 0 ? rt : !1;
1493
+ }), z = r++, X = ze({
1494
+ id: z,
1495
+ path: a,
1496
+ touched: !1,
1497
+ pending: !1,
1498
+ valid: !0,
1499
+ validated: !!(!((s = G[B]) === null || s === void 0) && s.length),
1500
+ required: k,
1501
+ initialValue: p,
1502
+ errors: cn([]),
1503
+ bails: (v = l?.bails) !== null && v !== void 0 ? v : !1,
1504
+ label: l?.label,
1505
+ type: l?.type || "default",
1506
+ value: M,
1507
+ multiple: !1,
1508
+ __flags: {
1509
+ pendingUnmount: { [z]: !1 },
1510
+ pendingReset: !1
1511
+ },
1512
+ fieldsCount: 1,
1513
+ validate: l?.validate,
1514
+ dirty: S(() => !q(j(M), j(p)))
1515
+ });
1516
+ return f.value.push(X), y.value[B] = X, I(), b.value[B] && !G[B] && se(() => {
1517
+ Ve(B, { mode: "silent" });
1518
+ }), $e(a) && be(a, (oe) => {
1519
+ I();
1520
+ const ke = C(M.value);
1521
+ y.value[oe] = X, se(() => {
1522
+ ge(c, oe, ke);
1523
+ });
1524
+ }), X;
1525
+ }
1526
+ const he = Ft(_t, 5), ne = Ft(_t, 5), J = ot(async (a) => await (a === "silent" ? he() : ne()), (a, [l]) => {
1527
+ const s = ie(V.errorBag.value), p = [
1528
+ .../* @__PURE__ */ new Set([...ie(a.results), ...f.value.map((m) => m.path), ...s])
1529
+ ].sort().reduce((m, A) => {
1530
+ var M;
1531
+ const B = A, H = _(B) || Y(B), k = ((M = a.results[B]) === null || M === void 0 ? void 0 : M.errors) || [], z = E(H?.path) || B, X = Or({ errors: k, valid: !k.length }, m.results[z]);
1532
+ return m.results[z] = X, X.valid || (m.errors[z] = X.errors[0]), H && g.value[z] && delete g.value[z], H ? (H.valid = X.valid, l === "silent" || l === "validated-only" && !H.validated || O(H, X.errors), m) : (O(z, k), m);
1533
+ }, { valid: a.valid, results: {}, errors: {} });
1534
+ return a.values && (p.values = a.values), p;
1535
+ });
1536
+ function re(a) {
1537
+ f.value.forEach(a);
1538
+ }
1539
+ function _(a) {
1540
+ const l = typeof a == "string" ? Te(a) : a;
1541
+ return typeof l == "string" ? y.value[l] : l;
1542
+ }
1543
+ function Y(a) {
1544
+ return f.value.filter((s) => a.startsWith(s.path)).reduce((s, v) => s ? v.path.length > s.path.length ? v : s : v, void 0);
1545
+ }
1546
+ let le = [], pe;
1547
+ function Pe(a) {
1548
+ return le.push(a), pe || (pe = se(() => {
1549
+ [...le].sort().reverse().forEach((s) => {
1550
+ Ct(c, s);
1551
+ }), le = [], pe = null;
1552
+ })), pe;
1553
+ }
1554
+ function Ue(a) {
1555
+ return function(s, v) {
1556
+ return function(m) {
1557
+ return m instanceof Event && (m.preventDefault(), m.stopPropagation()), re((A) => A.touched = !0), i.value = !0, o.value++, Ie().then((A) => {
1558
+ const M = C(c);
1559
+ if (A.valid && typeof s == "function") {
1560
+ const B = C(x.value);
1561
+ let H = a ? B : M;
1562
+ return A.values && (H = A.values), s(H, {
1563
+ evt: m,
1564
+ controlledValues: B,
1565
+ setErrors: P,
1566
+ setFieldError: O,
1567
+ setTouched: Ye,
1568
+ setFieldTouched: ae,
1569
+ setValues: me,
1570
+ setFieldValue: F,
1571
+ resetForm: Xe,
1572
+ resetField: Ot
1573
+ });
1574
+ }
1575
+ !A.valid && typeof v == "function" && v({
1576
+ values: M,
1577
+ evt: m,
1578
+ errors: A.errors,
1579
+ results: A.results
1580
+ });
1581
+ }).then((A) => (i.value = !1, A), (A) => {
1582
+ throw i.value = !1, A;
1583
+ });
1584
+ };
1585
+ };
1586
+ }
1587
+ const L = Ue(!1);
1588
+ L.withControlled = Ue(!0);
1589
+ function Je(a, l) {
1590
+ const s = f.value.findIndex((p) => p.path === a), v = f.value[s];
1591
+ if (!(s === -1 || !v)) {
1592
+ if (se(() => {
1593
+ Ve(a, { mode: "silent", warn: !1 });
1594
+ }), v.multiple && v.fieldsCount && v.fieldsCount--, Array.isArray(v.id)) {
1595
+ const p = v.id.indexOf(l);
1596
+ p >= 0 && v.id.splice(p, 1), delete v.__flags.pendingUnmount[l];
1597
+ }
1598
+ (!v.multiple || v.fieldsCount <= 0) && (f.value.splice(s, 1), Vt(a), I(), delete y.value[a]);
1599
+ }
1600
+ }
1601
+ function h(a) {
1602
+ ie(y.value).forEach((l) => {
1603
+ l.startsWith(a) && delete y.value[l];
1604
+ }), f.value = f.value.filter((l) => !l.path.startsWith(a)), se(() => {
1605
+ I();
1606
+ });
1607
+ }
1608
+ const V = {
1609
+ formId: n,
1610
+ values: c,
1611
+ controlledValues: x,
1612
+ errorBag: K,
1613
+ errors: b,
1614
+ schema: U,
1615
+ submitCount: o,
1616
+ meta: N,
1617
+ isSubmitting: i,
1618
+ isValidating: u,
1619
+ fieldArrays: d,
1620
+ keepValuesOnUnmount: Q,
1621
+ validateSchema: j(U) ? J : void 0,
1622
+ validate: Ie,
1623
+ setFieldError: O,
1624
+ validateField: Ve,
1625
+ setFieldValue: F,
1626
+ setValues: me,
1627
+ setErrors: P,
1628
+ setFieldTouched: ae,
1629
+ setTouched: Ye,
1630
+ resetForm: Xe,
1631
+ resetField: Ot,
1632
+ handleSubmit: L,
1633
+ useFieldModel: ln,
1634
+ defineInputBinds: an,
1635
+ defineComponentBinds: un,
1636
+ defineField: et,
1637
+ stageInitialValue: nn,
1638
+ unsetInitialValue: Vt,
1639
+ setFieldInitialValue: Ze,
1640
+ createPathState: fe,
1641
+ getPathState: _,
1642
+ unsetPathValue: Pe,
1643
+ removePathState: Je,
1644
+ initialValues: te,
1645
+ getAllPathStates: () => f.value,
1646
+ destroyPath: h,
1647
+ isFieldTouched: Zt,
1648
+ isFieldDirty: en,
1649
+ isFieldValid: tn
1650
+ };
1651
+ function F(a, l, s = !0) {
1652
+ const v = C(l), p = typeof a == "string" ? a : a.path;
1653
+ _(p) || fe(p), ge(c, p, v), s && Ve(p);
1654
+ }
1655
+ function w(a, l = !0) {
1656
+ ie(c).forEach((s) => {
1657
+ delete c[s];
1658
+ }), ie(a).forEach((s) => {
1659
+ F(s, a[s], !1);
1660
+ }), l && Ie();
1661
+ }
1662
+ function me(a, l = !0) {
1663
+ Be(c, a), d.forEach((s) => s && s.reset()), l && Ie();
1664
+ }
1665
+ function ve(a, l) {
1666
+ const s = _(E(a)) || fe(a);
1667
+ return S({
1668
+ get() {
1669
+ return s.value;
1670
+ },
1671
+ set(v) {
1672
+ var p;
1673
+ const m = E(a);
1674
+ F(m, v, (p = E(l)) !== null && p !== void 0 ? p : !1);
1675
+ }
1676
+ });
1677
+ }
1678
+ function ae(a, l) {
1679
+ const s = _(a);
1680
+ s && (s.touched = l);
1681
+ }
1682
+ function Zt(a) {
1683
+ const l = _(a);
1684
+ return l ? l.touched : f.value.filter((s) => s.path.startsWith(a)).some((s) => s.touched);
1685
+ }
1686
+ function en(a) {
1687
+ const l = _(a);
1688
+ return l ? l.dirty : f.value.filter((s) => s.path.startsWith(a)).some((s) => s.dirty);
1689
+ }
1690
+ function tn(a) {
1691
+ const l = _(a);
1692
+ return l ? l.valid : f.value.filter((s) => s.path.startsWith(a)).every((s) => s.valid);
1693
+ }
1694
+ function Ye(a) {
1695
+ if (typeof a == "boolean") {
1696
+ re((l) => {
1697
+ l.touched = a;
1698
+ });
1699
+ return;
1700
+ }
1701
+ ie(a).forEach((l) => {
1702
+ ae(l, !!a[l]);
1703
+ });
1704
+ }
1705
+ function Ot(a, l) {
1706
+ var s;
1707
+ const v = l && "value" in l ? l.value : ee(te.value, a), p = _(a);
1708
+ p && (p.__flags.pendingReset = !0), Ze(a, C(v), !0), F(a, v, !1), ae(a, (s = l?.touched) !== null && s !== void 0 ? s : !1), O(a, l?.errors || []), se(() => {
1709
+ p && (p.__flags.pendingReset = !1);
1710
+ });
1711
+ }
1712
+ function Xe(a, l) {
1713
+ let s = C(a?.values ? a.values : T.value);
1714
+ s = l?.force ? s : Be(T.value, s), s = ce(U) && W(U.cast) ? U.cast(s) : s, ue(s), re((v) => {
1715
+ var p;
1716
+ v.__flags.pendingReset = !0, v.validated = !1, v.touched = ((p = a?.touched) === null || p === void 0 ? void 0 : p[v.path]) || !1, F(v.path, ee(s, v.path), !1), O(v.path, void 0);
1717
+ }), l?.force ? w(s, !1) : me(s, !1), P(a?.errors || {}), o.value = a?.submitCount || 0, se(() => {
1718
+ Ie({ mode: "silent" }), re((v) => {
1719
+ v.__flags.pendingReset = !1;
1720
+ });
1721
+ });
1722
+ }
1723
+ async function Ie(a) {
1724
+ const l = a?.mode || "force";
1725
+ if (l === "force" && re((m) => m.validated = !0), V.validateSchema)
1726
+ return V.validateSchema(l);
1727
+ u.value = !0;
1728
+ const s = await Promise.all(f.value.map((m) => m.validate ? m.validate(a).then((A) => ({
1729
+ key: m.path,
1730
+ valid: A.valid,
1731
+ errors: A.errors
1732
+ })) : Promise.resolve({
1733
+ key: m.path,
1734
+ valid: !0,
1735
+ errors: []
1736
+ })));
1737
+ u.value = !1;
1738
+ const v = {}, p = {};
1739
+ for (const m of s)
1740
+ v[m.key] = {
1741
+ valid: m.valid,
1742
+ errors: m.errors
1743
+ }, m.errors.length && (p[m.key] = m.errors[0]);
1744
+ return {
1745
+ valid: s.every((m) => m.valid),
1746
+ results: v,
1747
+ errors: p
1748
+ };
1749
+ }
1750
+ async function Ve(a, l) {
1751
+ var s;
1752
+ const v = _(a);
1753
+ if (v && l?.mode !== "silent" && (v.validated = !0), U) {
1754
+ const { results: m } = await J(l?.mode || "validated-only");
1755
+ return m[a] || { errors: [], valid: !0 };
1756
+ }
1757
+ return v?.validate ? v.validate(l) : (!v && ((s = l?.warn) !== null && s !== void 0 ? s : !0) && process.env.NODE_ENV !== "production" && Rt(`field with path ${a} was not found`), Promise.resolve({ errors: [], valid: !0 }));
1758
+ }
1759
+ function Vt(a) {
1760
+ Ct(te.value, a);
1761
+ }
1762
+ function nn(a, l, s = !1) {
1763
+ Ze(a, l), ge(c, a, l), s && !e?.initialValues && ge(T.value, a, C(l));
1764
+ }
1765
+ function Ze(a, l, s = !1) {
1766
+ ge(te.value, a, C(l)), s && ge(T.value, a, C(l));
1767
+ }
1768
+ async function _t() {
1769
+ const a = j(U);
1770
+ if (!a)
1771
+ return { valid: !0, results: {}, errors: {} };
1772
+ u.value = !0;
1773
+ const l = Ge(a) || ce(a) ? await Kn(a, c) : await Qn(a, c, {
1774
+ names: $.value,
1775
+ bailsMap: D.value
1776
+ });
1777
+ return u.value = !1, l;
1778
+ }
1779
+ const rn = L((a, { evt: l }) => {
1780
+ $t(l) && l.target.submit();
1781
+ });
1782
+ Mt(() => {
1783
+ if (e?.initialErrors && P(e.initialErrors), e?.initialTouched && Ye(e.initialTouched), e?.validateOnMount) {
1784
+ Ie();
1785
+ return;
1786
+ }
1787
+ V.validateSchema && V.validateSchema("silent");
1788
+ }), $e(U) && be(U, () => {
1789
+ var a;
1790
+ (a = V.validateSchema) === null || a === void 0 || a.call(V, "validated-only");
1791
+ }), Bt(Fe, V), process.env.NODE_ENV !== "production" && (tr(V), be(() => Object.assign(Object.assign({ errors: K.value }, N.value), { values: c, isSubmitting: i.value, isValidating: u.value, submitCount: o.value }), we, {
1792
+ deep: !0
1793
+ }));
1794
+ function et(a, l) {
1795
+ const s = W(l) ? void 0 : l?.label, v = _(E(a)) || fe(a, { label: s }), p = () => W(l) ? l(De(v, xe)) : l || {};
1796
+ function m() {
1797
+ var k;
1798
+ v.touched = !0, ((k = p().validateOnBlur) !== null && k !== void 0 ? k : Se().validateOnBlur) && Ve(v.path);
1799
+ }
1800
+ function A() {
1801
+ var k;
1802
+ ((k = p().validateOnInput) !== null && k !== void 0 ? k : Se().validateOnInput) && se(() => {
1803
+ Ve(v.path);
1804
+ });
1805
+ }
1806
+ function M() {
1807
+ var k;
1808
+ ((k = p().validateOnChange) !== null && k !== void 0 ? k : Se().validateOnChange) && se(() => {
1809
+ Ve(v.path);
1810
+ });
1811
+ }
1812
+ const B = S(() => {
1813
+ const k = {
1814
+ onChange: M,
1815
+ onInput: A,
1816
+ onBlur: m
1817
+ };
1818
+ return W(l) ? Object.assign(Object.assign({}, k), l(De(v, xe)).props || {}) : l?.props ? Object.assign(Object.assign({}, k), l.props(De(v, xe))) : k;
1819
+ });
1820
+ return [ve(a, () => {
1821
+ var k, z, X;
1822
+ return (X = (k = p().validateOnModelUpdate) !== null && k !== void 0 ? k : (z = Se()) === null || z === void 0 ? void 0 : z.validateOnModelUpdate) !== null && X !== void 0 ? X : !0;
1823
+ }), B];
1824
+ }
1825
+ function ln(a) {
1826
+ return Array.isArray(a) ? a.map((l) => ve(l, !0)) : ve(a);
1827
+ }
1828
+ function an(a, l) {
1829
+ const [s, v] = et(a, l);
1830
+ function p(M) {
1831
+ v.value.onBlur(M);
1832
+ }
1833
+ function m(M) {
1834
+ const B = He(M);
1835
+ F(E(a), B, !1), v.value.onInput(M);
1836
+ }
1837
+ function A(M) {
1838
+ const B = He(M);
1839
+ F(E(a), B, !1), v.value.onChange(M);
1840
+ }
1841
+ return S(() => Object.assign(Object.assign({}, v.value), {
1842
+ onBlur: p,
1843
+ onInput: m,
1844
+ onChange: A,
1845
+ value: s.value
1846
+ }));
1847
+ }
1848
+ function un(a, l) {
1849
+ const [s, v] = et(a, l), p = _(E(a));
1850
+ function m(A) {
1851
+ s.value = A;
1852
+ }
1853
+ return S(() => {
1854
+ const A = W(l) ? l(De(p, xe)) : l || {};
1855
+ return Object.assign({ [A.model || "modelValue"]: s.value, [`onUpdate:${A.model || "modelValue"}`]: m }, v.value);
1856
+ });
1857
+ }
1858
+ return Object.assign(Object.assign({}, V), { values: sn(c), handleReset: () => Xe(), submitForm: rn });
1859
+ }
1860
+ function br(e, t, n, r) {
1861
+ const i = {
1862
+ touched: "some",
1863
+ pending: "some",
1864
+ valid: "every"
1865
+ }, u = S(() => !q(t, j(n)));
1866
+ function o() {
1867
+ const c = e.value;
1868
+ return ie(i).reduce((f, g) => {
1869
+ const y = i[g];
1870
+ return f[g] = c[y]((I) => I[g]), f;
1871
+ }, {});
1872
+ }
1873
+ const d = ze(o());
1874
+ return dn(() => {
1875
+ const c = o();
1876
+ d.touched = c.touched, d.valid = c.valid, d.pending = c.pending;
1877
+ }), S(() => Object.assign(Object.assign({ initialValues: j(n) }, d), { valid: d.valid && !ie(r.value).length, dirty: u.value }));
1878
+ }
1879
+ function pr(e, t, n) {
1880
+ const r = Xt(n), i = de(r), u = de(C(r));
1881
+ function o(d, c = !1) {
1882
+ i.value = Be(C(i.value) || {}, C(d)), u.value = Be(C(u.value) || {}, C(d)), c && e.value.forEach((f) => {
1883
+ if (f.touched)
1884
+ return;
1885
+ const y = ee(i.value, f.path);
1886
+ ge(t, f.path, C(y));
1887
+ });
1888
+ }
1889
+ return {
1890
+ initialValues: i,
1891
+ originalInitialValues: u,
1892
+ setInitialValues: o
1893
+ };
1894
+ }
1895
+ function Or(e, t) {
1896
+ return t ? {
1897
+ valid: e.valid && t.valid,
1898
+ errors: [...e.errors, ...t.errors]
1899
+ } : e;
1900
+ }
1901
+ const Vr = /* @__PURE__ */ ct({
1902
+ name: "Form",
1903
+ inheritAttrs: !1,
1904
+ props: {
1905
+ as: {
1906
+ type: null,
1907
+ default: "form"
1908
+ },
1909
+ validationSchema: {
1910
+ type: Object,
1911
+ default: void 0
1912
+ },
1913
+ initialValues: {
1914
+ type: Object,
1915
+ default: void 0
1916
+ },
1917
+ initialErrors: {
1918
+ type: Object,
1919
+ default: void 0
1920
+ },
1921
+ initialTouched: {
1922
+ type: Object,
1923
+ default: void 0
1924
+ },
1925
+ validateOnMount: {
1926
+ type: Boolean,
1927
+ default: !1
1928
+ },
1929
+ onSubmit: {
1930
+ type: Function,
1931
+ default: void 0
1932
+ },
1933
+ onInvalidSubmit: {
1934
+ type: Function,
1935
+ default: void 0
1936
+ },
1937
+ keepValues: {
1938
+ type: Boolean,
1939
+ default: !1
1940
+ }
1941
+ },
1942
+ setup(e, t) {
1943
+ const n = _e(e, "validationSchema"), r = _e(e, "keepValues"), { errors: i, errorBag: u, values: o, meta: d, isSubmitting: c, isValidating: f, submitCount: g, controlledValues: y, validate: I, validateField: O, handleReset: P, resetForm: K, handleSubmit: b, setErrors: $, setFieldError: D, setFieldValue: G, setValues: Q, setFieldTouched: te, setTouched: T, resetField: ue } = yr({
1944
+ validationSchema: n.value ? n : void 0,
1945
+ initialValues: e.initialValues,
1946
+ initialErrors: e.initialErrors,
1947
+ initialTouched: e.initialTouched,
1948
+ validateOnMount: e.validateOnMount,
1949
+ keepValuesOnUnmount: r
1950
+ }), N = b((_, { evt: Y }) => {
1951
+ $t(Y) && Y.target.submit();
1952
+ }, e.onInvalidSubmit), x = e.onSubmit ? b(e.onSubmit, e.onInvalidSubmit) : N;
1953
+ function U(_) {
1954
+ ht(_) && _.preventDefault(), P(), typeof t.attrs.onReset == "function" && t.attrs.onReset();
1955
+ }
1956
+ function fe(_, Y) {
1957
+ return b(typeof _ == "function" && !Y ? _ : Y, e.onInvalidSubmit)(_);
1958
+ }
1959
+ function he() {
1960
+ return C(o);
1961
+ }
1962
+ function ne() {
1963
+ return C(d.value);
1964
+ }
1965
+ function J() {
1966
+ return C(i.value);
1967
+ }
1968
+ function re() {
1969
+ return {
1970
+ meta: d.value,
1971
+ errors: i.value,
1972
+ errorBag: u.value,
1973
+ values: o,
1974
+ isSubmitting: c.value,
1975
+ isValidating: f.value,
1976
+ submitCount: g.value,
1977
+ controlledValues: y.value,
1978
+ validate: I,
1979
+ validateField: O,
1980
+ handleSubmit: fe,
1981
+ handleReset: P,
1982
+ submitForm: N,
1983
+ setErrors: $,
1984
+ setFieldError: D,
1985
+ setFieldValue: G,
1986
+ setValues: Q,
1987
+ setFieldTouched: te,
1988
+ setTouched: T,
1989
+ resetForm: K,
1990
+ resetField: ue,
1991
+ getValues: he,
1992
+ getMeta: ne,
1993
+ getErrors: J
1994
+ };
1995
+ }
1996
+ return t.expose({
1997
+ setFieldError: D,
1998
+ setErrors: $,
1999
+ setFieldValue: G,
2000
+ setValues: Q,
2001
+ setFieldTouched: te,
2002
+ setTouched: T,
2003
+ resetForm: K,
2004
+ validate: I,
2005
+ validateField: O,
2006
+ resetField: ue,
2007
+ getValues: he,
2008
+ getMeta: ne,
2009
+ getErrors: J,
2010
+ values: o,
2011
+ meta: d,
2012
+ errors: i
2013
+ }), function() {
2014
+ const Y = e.as === "form" ? e.as : e.as ? ft(e.as) : null, le = yt(Y, t, re);
2015
+ return Y ? Le(Y, Object.assign(Object.assign(Object.assign({}, Y === "form" ? {
2016
+ // Disables native validation as vee-validate will handle it.
2017
+ novalidate: !0
2018
+ } : {}), t.attrs), { onSubmit: x, onReset: U }), le) : le;
2019
+ };
2020
+ }
2021
+ }), Fr = Vr, _r = /* @__PURE__ */ ct({
2022
+ name: "ErrorMessage",
2023
+ props: {
2024
+ as: {
2025
+ type: String,
2026
+ default: void 0
2027
+ },
2028
+ name: {
2029
+ type: String,
2030
+ required: !0
2031
+ }
2032
+ },
2033
+ setup(e, t) {
2034
+ const n = Ce(Fe, void 0), r = S(() => n?.errors.value[e.name]);
2035
+ function i() {
2036
+ return {
2037
+ message: r.value
2038
+ };
2039
+ }
2040
+ return () => {
2041
+ if (!r.value)
2042
+ return;
2043
+ const u = e.as ? ft(e.as) : e.as, o = yt(u, t, i), d = Object.assign({ role: "alert" }, t.attrs);
2044
+ return !u && (Array.isArray(o) || !o) && o?.length ? o : (Array.isArray(o) || !o) && !o?.length ? Le(u || "span", d, r.value) : Le(u, d, o);
2045
+ };
2046
+ }
2047
+ }), Pr = _r;
2048
+ function Sr(e) {
2049
+ const t = gt(e);
2050
+ return S(() => {
2051
+ var n, r;
2052
+ return t && (r = "meta" in t ? t.meta.dirty : (n = t?.value) === null || n === void 0 ? void 0 : n.dirty) !== null && r !== void 0 ? r : !1;
2053
+ });
2054
+ }
2055
+ function Er(e) {
2056
+ const t = gt(e);
2057
+ return S(() => {
2058
+ var n, r;
2059
+ return t && (r = "meta" in t ? t.meta.touched : (n = t?.value) === null || n === void 0 ? void 0 : n.touched) !== null && r !== void 0 ? r : !1;
2060
+ });
2061
+ }
2062
+ function Ir(e) {
2063
+ const t = gt(e);
2064
+ return S(() => {
2065
+ var n, r;
2066
+ return t && (r = "meta" in t ? t.meta.valid : (n = t?.value) === null || n === void 0 ? void 0 : n.valid) !== null && r !== void 0 ? r : !1;
2067
+ });
2068
+ }
2069
+ function jr(e) {
2070
+ const t = Qe(Fe), n = e ? void 0 : Ce(qe);
2071
+ return S(() => e ? t?.errors.value[E(e)] : n?.errorMessage.value);
2072
+ }
2073
+ function kr() {
2074
+ const e = Ce(qe), t = Ce(fn), n = {
2075
+ valid: Ir(),
2076
+ isDirty: Sr(),
2077
+ isTouched: Er(),
2078
+ error: jr()
2079
+ };
2080
+ if (!e)
2081
+ throw new Error("useFormField should be used within <FormField>");
2082
+ const { name: r } = e, i = t;
2083
+ return {
2084
+ id: i,
2085
+ name: r,
2086
+ formItemId: `${i}-form-item`,
2087
+ formDescriptionId: `${i}-form-item-description`,
2088
+ formMessageId: `${i}-form-item-message`,
2089
+ ...n
2090
+ };
2091
+ }
2092
+ export {
2093
+ Pr as E,
2094
+ Fr as F,
2095
+ wr as a,
2096
+ kr as u
2097
+ };