@soft-stech/bootsman-ui-shadcn 1.0.5-beta.4 → 1.1.0

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