@soft-stech/bootsman-ui-shadcn 1.0.5-beta.0 → 1.0.5-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (637) hide show
  1. package/dist/bootsman-ui-shadcn.js +321 -0
  2. package/dist/bootsman-ui-shadcn10.js +29 -0
  3. package/dist/bootsman-ui-shadcn100.js +28 -0
  4. package/dist/bootsman-ui-shadcn101.js +23 -0
  5. package/dist/bootsman-ui-shadcn102.js +21 -0
  6. package/dist/{BuiPopoverContent.vue_vue_type_script_setup_true_lang-6Q4wDBdm.js → bootsman-ui-shadcn103.js} +6 -6
  7. package/dist/bootsman-ui-shadcn104.js +43 -0
  8. package/dist/bootsman-ui-shadcn105.js +34 -0
  9. package/dist/{BuiRadioGroupItem.vue_vue_type_script_setup_true_lang-Udw3d-uA.js → bootsman-ui-shadcn106.js} +14 -14
  10. package/dist/bootsman-ui-shadcn107.js +25 -0
  11. package/dist/{BuiSelectItemText.vue_vue_type_script_setup_true_lang-imykUnFM.js → bootsman-ui-shadcn108.js} +7 -7
  12. package/dist/bootsman-ui-shadcn109.js +26 -0
  13. package/dist/bootsman-ui-shadcn11.js +19 -0
  14. package/dist/bootsman-ui-shadcn110.js +20 -0
  15. package/dist/{BuiSeparator.vue_vue_type_script_setup_true_lang-pUN5ULqS.js → bootsman-ui-shadcn111.js} +7 -7
  16. package/dist/{BuiSwitch.vue_vue_type_script_setup_true_lang-93LvyOCb.js → bootsman-ui-shadcn112.js} +6 -6
  17. package/dist/{BuiTable.vue_vue_type_script_setup_true_lang-VjnNXySt.js → bootsman-ui-shadcn113.js} +5 -5
  18. package/dist/bootsman-ui-shadcn114.js +19 -0
  19. package/dist/{BuiTableCell.vue_vue_type_script_setup_true_lang-vc73Gfv1.js → bootsman-ui-shadcn115.js} +6 -6
  20. package/dist/{BuiTableHead.vue_vue_type_script_setup_true_lang-NgeaEnDr.js → bootsman-ui-shadcn116.js} +5 -5
  21. package/dist/{BuiTableHeader.vue_vue_type_script_setup_true_lang-RslMGWT4.js → bootsman-ui-shadcn117.js} +5 -5
  22. package/dist/bootsman-ui-shadcn118.js +24 -0
  23. package/dist/bootsman-ui-shadcn119.js +19 -0
  24. package/dist/bootsman-ui-shadcn12.js +18 -0
  25. package/dist/bootsman-ui-shadcn120.js +33 -0
  26. package/dist/{BuiTableFooter.vue_vue_type_script_setup_true_lang-_uCfOUbj.js → bootsman-ui-shadcn121.js} +5 -5
  27. package/dist/bootsman-ui-shadcn122.js +164 -0
  28. package/dist/bootsman-ui-shadcn123.js +27 -0
  29. package/dist/bootsman-ui-shadcn124.js +29 -0
  30. package/dist/bootsman-ui-shadcn125.js +28 -0
  31. package/dist/{BuiTabsContent.vue_vue_type_script_setup_true_lang-soDXdpsq.js → bootsman-ui-shadcn126.js} +11 -11
  32. package/dist/bootsman-ui-shadcn127.js +28 -0
  33. package/dist/bootsman-ui-shadcn128.js +53 -0
  34. package/dist/{BuiToastAction.vue_vue_type_script_setup_true_lang-llS2b_9p.js → bootsman-ui-shadcn129.js} +3 -3
  35. package/dist/bootsman-ui-shadcn13.js +25 -0
  36. package/dist/{BuiTooltip.vue_vue_type_script_setup_true_lang-xU8s99TK.js → bootsman-ui-shadcn130.js} +7 -7
  37. package/dist/{BuiTooltipContent.vue_vue_type_script_setup_true_lang-DJMHjE86.js → bootsman-ui-shadcn131.js} +4 -4
  38. package/dist/{BuiTooltipTrigger.vue_vue_type_script_setup_true_lang-eEgpSkCP.js → bootsman-ui-shadcn132.js} +4 -4
  39. package/dist/{BuiTooltipProvider.vue_vue_type_script_setup_true_lang-xuuT-Vvc.js → bootsman-ui-shadcn133.js} +5 -5
  40. package/dist/bootsman-ui-shadcn134.js +39 -0
  41. package/dist/{BuiSlider.vue_vue_type_script_setup_true_lang-Hx7AriVi.js → bootsman-ui-shadcn135.js} +10 -10
  42. package/dist/bootsman-ui-shadcn136.js +17 -0
  43. package/dist/bootsman-ui-shadcn137.js +28 -0
  44. package/dist/bootsman-ui-shadcn138.js +23 -0
  45. package/dist/{BuiDialogContent.vue_vue_type_script_setup_true_lang-I5zYayM5.js → bootsman-ui-shadcn139.js} +17 -17
  46. package/dist/bootsman-ui-shadcn14.js +30 -0
  47. package/dist/bootsman-ui-shadcn140.js +8426 -0
  48. package/dist/bootsman-ui-shadcn141.js +2001 -0
  49. package/dist/bootsman-ui-shadcn142.js +33 -0
  50. package/dist/bootsman-ui-shadcn143.js +33 -0
  51. package/dist/bootsman-ui-shadcn144.js +33 -0
  52. package/dist/bootsman-ui-shadcn145.js +33 -0
  53. package/dist/{BuiSelect.vue_vue_type_script_setup_true_lang-PUsMby8R.js → bootsman-ui-shadcn146.js} +7 -7
  54. package/dist/bootsman-ui-shadcn147.js +22 -0
  55. package/dist/{BuiSelectTrigger.vue_vue_type_script_setup_true_lang-7ZdAsQ2X.js → bootsman-ui-shadcn148.js} +11 -11
  56. package/dist/{BuiSelectContent.vue_vue_type_script_setup_true_lang-wEhVXi2C.js → bootsman-ui-shadcn149.js} +4 -4
  57. package/dist/{tailwind-preset.js → bootsman-ui-shadcn15.js} +1 -1
  58. package/dist/{BuiSelectItem.vue_vue_type_script_setup_true_lang-s1zplpT5.js → bootsman-ui-shadcn150.js} +14 -14
  59. package/dist/bootsman-ui-shadcn151.js +35 -0
  60. package/dist/bootsman-ui-shadcn152.js +22 -0
  61. package/dist/{BuiToastClose.vue_vue_type_script_setup_true_lang-WNZF2yFL.js → bootsman-ui-shadcn153.js} +9 -9
  62. package/dist/bootsman-ui-shadcn154.js +25 -0
  63. package/dist/bootsman-ui-shadcn155.js +25 -0
  64. package/dist/{BuiToastProvider.vue_vue_type_script_setup_true_lang-mpMIz4p1.js → bootsman-ui-shadcn156.js} +4 -4
  65. package/dist/bootsman-ui-shadcn158.js +37 -0
  66. package/dist/bootsman-ui-shadcn159.js +23 -0
  67. package/dist/{BuiAccordion.vue_vue_type_script_setup_true_lang-pzUlGgVr.js → bootsman-ui-shadcn16.js} +6 -6
  68. package/dist/{utils-rkbwq_XN.js → bootsman-ui-shadcn160.js} +169 -192
  69. package/dist/bootsman-ui-shadcn161.js +14 -0
  70. package/dist/bootsman-ui-shadcn162.js +14 -0
  71. package/dist/bootsman-ui-shadcn163.js +16 -0
  72. package/dist/{index-gwzIEgpq.js → bootsman-ui-shadcn164.js} +33 -81
  73. package/dist/bootsman-ui-shadcn165.js +4 -0
  74. package/dist/bootsman-ui-shadcn166.js +4 -0
  75. package/dist/bootsman-ui-shadcn167.js +4 -0
  76. package/dist/bootsman-ui-shadcn168.js +4 -0
  77. package/dist/bootsman-ui-shadcn169.js +4 -0
  78. package/dist/bootsman-ui-shadcn17.js +30 -0
  79. package/dist/bootsman-ui-shadcn170.js +4 -0
  80. package/dist/bootsman-ui-shadcn171.js +4 -0
  81. package/dist/bootsman-ui-shadcn172.js +4 -0
  82. package/dist/bootsman-ui-shadcn173.js +4 -0
  83. package/dist/bootsman-ui-shadcn174.js +4 -0
  84. package/dist/bootsman-ui-shadcn175.js +4 -0
  85. package/dist/bootsman-ui-shadcn176.js +4 -0
  86. package/dist/bootsman-ui-shadcn177.js +4 -0
  87. package/dist/bootsman-ui-shadcn178.js +22 -0
  88. package/dist/bootsman-ui-shadcn179.js +4 -0
  89. package/dist/bootsman-ui-shadcn18.js +27 -0
  90. package/dist/bootsman-ui-shadcn180.js +4 -0
  91. package/dist/bootsman-ui-shadcn181.js +4 -0
  92. package/dist/bootsman-ui-shadcn182.js +4 -0
  93. package/dist/bootsman-ui-shadcn183.js +4 -0
  94. package/dist/bootsman-ui-shadcn184.js +4 -0
  95. package/dist/bootsman-ui-shadcn185.js +126 -0
  96. package/dist/bootsman-ui-shadcn186.js +521 -0
  97. package/dist/bootsman-ui-shadcn187.js +363 -0
  98. package/dist/bootsman-ui-shadcn188.js +4 -0
  99. package/dist/bootsman-ui-shadcn189.js +4 -0
  100. package/dist/{BuiAccordionTrigger.vue_vue_type_script_setup_true_lang-Psumouui.js → bootsman-ui-shadcn19.js} +18 -18
  101. package/dist/bootsman-ui-shadcn190.js +4 -0
  102. package/dist/bootsman-ui-shadcn191.js +4 -0
  103. package/dist/bootsman-ui-shadcn192.js +4 -0
  104. package/dist/bootsman-ui-shadcn193.js +4 -0
  105. package/dist/bootsman-ui-shadcn194.js +4 -0
  106. package/dist/bootsman-ui-shadcn195.js +4 -0
  107. package/dist/bootsman-ui-shadcn196.js +4 -0
  108. package/dist/bootsman-ui-shadcn197.js +4 -0
  109. package/dist/bootsman-ui-shadcn198.js +4 -0
  110. package/dist/bootsman-ui-shadcn199.js +4 -0
  111. package/dist/bootsman-ui-shadcn2.js +1 -0
  112. package/dist/bootsman-ui-shadcn20.js +22 -0
  113. package/dist/bootsman-ui-shadcn200.js +4 -0
  114. package/dist/bootsman-ui-shadcn201.js +4 -0
  115. package/dist/bootsman-ui-shadcn202.js +4 -0
  116. package/dist/bootsman-ui-shadcn203.js +4 -0
  117. package/dist/bootsman-ui-shadcn204.js +4 -0
  118. package/dist/bootsman-ui-shadcn205.js +4 -0
  119. package/dist/bootsman-ui-shadcn206.js +4 -0
  120. package/dist/bootsman-ui-shadcn207.js +4 -0
  121. package/dist/bootsman-ui-shadcn208.js +4 -0
  122. package/dist/bootsman-ui-shadcn209.js +4 -0
  123. package/dist/bootsman-ui-shadcn21.js +21 -0
  124. package/dist/bootsman-ui-shadcn210.js +4 -0
  125. package/dist/bootsman-ui-shadcn211.js +4 -0
  126. package/dist/bootsman-ui-shadcn212.js +4 -0
  127. package/dist/bootsman-ui-shadcn213.js +4 -0
  128. package/dist/bootsman-ui-shadcn214.js +4 -0
  129. package/dist/bootsman-ui-shadcn215.js +4 -0
  130. package/dist/bootsman-ui-shadcn216.js +4 -0
  131. package/dist/bootsman-ui-shadcn217.js +4 -0
  132. package/dist/bootsman-ui-shadcn218.js +4 -0
  133. package/dist/bootsman-ui-shadcn219.js +4 -0
  134. package/dist/{BuiAlertDialogContent.vue_vue_type_script_setup_true_lang-uD0g9Aau.js → bootsman-ui-shadcn22.js} +9 -9
  135. package/dist/bootsman-ui-shadcn220.js +4 -0
  136. package/dist/bootsman-ui-shadcn221.js +4 -0
  137. package/dist/bootsman-ui-shadcn222.js +4 -0
  138. package/dist/bootsman-ui-shadcn223.js +4 -0
  139. package/dist/bootsman-ui-shadcn224.js +4 -0
  140. package/dist/bootsman-ui-shadcn225.js +4 -0
  141. package/dist/bootsman-ui-shadcn226.js +4 -0
  142. package/dist/bootsman-ui-shadcn227.js +4 -0
  143. package/dist/bootsman-ui-shadcn228.js +4 -0
  144. package/dist/bootsman-ui-shadcn229.js +4 -0
  145. package/dist/{BuiAlertDialogHeader.vue_vue_type_script_setup_true_lang-ttrf73C0.js → bootsman-ui-shadcn23.js} +5 -5
  146. package/dist/bootsman-ui-shadcn230.js +19 -0
  147. package/dist/bootsman-ui-shadcn231.js +6 -0
  148. package/dist/bootsman-ui-shadcn232.js +4 -0
  149. package/dist/bootsman-ui-shadcn233.js +4 -0
  150. package/dist/bootsman-ui-shadcn234.js +4 -0
  151. package/dist/bootsman-ui-shadcn235.js +4 -0
  152. package/dist/bootsman-ui-shadcn236.js +5 -0
  153. package/dist/bootsman-ui-shadcn237.js +4 -0
  154. package/dist/bootsman-ui-shadcn238.js +4 -0
  155. package/dist/bootsman-ui-shadcn239.js +4 -0
  156. package/dist/bootsman-ui-shadcn24.js +26 -0
  157. package/dist/bootsman-ui-shadcn240.js +4 -0
  158. package/dist/bootsman-ui-shadcn241.js +4 -0
  159. package/dist/bootsman-ui-shadcn242.js +4 -0
  160. package/dist/bootsman-ui-shadcn243.js +4 -0
  161. package/dist/bootsman-ui-shadcn244.js +4 -0
  162. package/dist/bootsman-ui-shadcn245.js +4 -0
  163. package/dist/bootsman-ui-shadcn246.js +4 -0
  164. package/dist/bootsman-ui-shadcn247.js +4 -0
  165. package/dist/bootsman-ui-shadcn248.js +4 -0
  166. package/dist/bootsman-ui-shadcn249.js +4 -0
  167. package/dist/bootsman-ui-shadcn25.js +26 -0
  168. package/dist/bootsman-ui-shadcn250.js +4 -0
  169. package/dist/bootsman-ui-shadcn251.js +4 -0
  170. package/dist/bootsman-ui-shadcn252.js +4 -0
  171. package/dist/bootsman-ui-shadcn253.js +4 -0
  172. package/dist/bootsman-ui-shadcn254.js +4 -0
  173. package/dist/bootsman-ui-shadcn255.js +4 -0
  174. package/dist/bootsman-ui-shadcn256.js +4 -0
  175. package/dist/bootsman-ui-shadcn257.js +4 -0
  176. package/dist/bootsman-ui-shadcn258.js +4 -0
  177. package/dist/bootsman-ui-shadcn259.js +4 -0
  178. package/dist/{BuiAlertDialogFooter.vue_vue_type_script_setup_true_lang-HfflRuae.js → bootsman-ui-shadcn26.js} +5 -5
  179. package/dist/bootsman-ui-shadcn260.js +4 -0
  180. package/dist/bootsman-ui-shadcn261.js +4 -0
  181. package/dist/bootsman-ui-shadcn262.js +4 -0
  182. package/dist/bootsman-ui-shadcn263.js +4 -0
  183. package/dist/bootsman-ui-shadcn264.js +4 -0
  184. package/dist/bootsman-ui-shadcn265.js +4 -0
  185. package/dist/bootsman-ui-shadcn266.js +4 -0
  186. package/dist/bootsman-ui-shadcn267.js +4 -0
  187. package/dist/bootsman-ui-shadcn268.js +6 -0
  188. package/dist/bootsman-ui-shadcn269.js +7 -0
  189. package/dist/bootsman-ui-shadcn27.js +25 -0
  190. package/dist/bootsman-ui-shadcn270.js +4 -0
  191. package/dist/bootsman-ui-shadcn271.js +4 -0
  192. package/dist/bootsman-ui-shadcn272.js +4 -0
  193. package/dist/bootsman-ui-shadcn273.js +4 -0
  194. package/dist/bootsman-ui-shadcn274.js +4 -0
  195. package/dist/bootsman-ui-shadcn275.js +4 -0
  196. package/dist/bootsman-ui-shadcn276.js +4 -0
  197. package/dist/bootsman-ui-shadcn277.js +4 -0
  198. package/dist/bootsman-ui-shadcn278.js +4 -0
  199. package/dist/bootsman-ui-shadcn279.js +4 -0
  200. package/dist/bootsman-ui-shadcn28.js +25 -0
  201. package/dist/bootsman-ui-shadcn280.js +4 -0
  202. package/dist/bootsman-ui-shadcn281.js +4 -0
  203. package/dist/bootsman-ui-shadcn282.js +4 -0
  204. package/dist/bootsman-ui-shadcn283.js +4 -0
  205. package/dist/bootsman-ui-shadcn284.js +4 -0
  206. package/dist/bootsman-ui-shadcn285.js +4 -0
  207. package/dist/bootsman-ui-shadcn286.js +4 -0
  208. package/dist/bootsman-ui-shadcn287.js +4 -0
  209. package/dist/bootsman-ui-shadcn288.js +4 -0
  210. package/dist/bootsman-ui-shadcn289.js +4 -0
  211. package/dist/bootsman-ui-shadcn29.js +31 -0
  212. package/dist/bootsman-ui-shadcn290.js +4 -0
  213. package/dist/bootsman-ui-shadcn291.js +4 -0
  214. package/dist/bootsman-ui-shadcn292.js +4 -0
  215. package/dist/bootsman-ui-shadcn293.js +4 -0
  216. package/dist/bootsman-ui-shadcn294.js +4 -0
  217. package/dist/bootsman-ui-shadcn295.js +4 -0
  218. package/dist/bootsman-ui-shadcn296.js +4 -0
  219. package/dist/bootsman-ui-shadcn297.js +4 -0
  220. package/dist/bootsman-ui-shadcn298.js +4 -0
  221. package/dist/bootsman-ui-shadcn299.js +4 -0
  222. package/dist/bootsman-ui-shadcn3.js +17 -0
  223. package/dist/bootsman-ui-shadcn30.js +15 -0
  224. package/dist/bootsman-ui-shadcn300.js +4 -0
  225. package/dist/bootsman-ui-shadcn301.js +4 -0
  226. package/dist/bootsman-ui-shadcn302.js +4 -0
  227. package/dist/bootsman-ui-shadcn303.js +4 -0
  228. package/dist/bootsman-ui-shadcn304.js +4 -0
  229. package/dist/bootsman-ui-shadcn305.js +4 -0
  230. package/dist/bootsman-ui-shadcn306.js +4 -0
  231. package/dist/bootsman-ui-shadcn307.js +4 -0
  232. package/dist/{chevron-down-TrGWyZ5_.js → bootsman-ui-shadcn308.js} +3 -3
  233. package/dist/bootsman-ui-shadcn309.js +4 -0
  234. package/dist/bootsman-ui-shadcn31.js +19 -0
  235. package/dist/bootsman-ui-shadcn310.js +4 -0
  236. package/dist/bootsman-ui-shadcn311.js +14 -0
  237. package/dist/bootsman-ui-shadcn312.js +14 -0
  238. package/dist/{chevron-right-51L5aUlu.js → bootsman-ui-shadcn313.js} +3 -3
  239. package/dist/bootsman-ui-shadcn314.js +15 -0
  240. package/dist/{x-zhgLjHKV.js → bootsman-ui-shadcn315.js} +3 -3
  241. package/dist/{chevron-left-1qUPR9SE.js → bootsman-ui-shadcn316.js} +2 -2
  242. package/dist/bootsman-ui-shadcn317.js +108 -0
  243. package/dist/{check-h-4vWBNT.js → bootsman-ui-shadcn318.js} +2 -2
  244. package/dist/{circle-YBPXFnjg.js → bootsman-ui-shadcn319.js} +2 -2
  245. package/dist/{BuiAspectRatio.vue_vue_type_script_setup_true_lang--jtG2NWg.js → bootsman-ui-shadcn32.js} +4 -4
  246. package/dist/bootsman-ui-shadcn320.js +12 -0
  247. package/dist/bootsman-ui-shadcn321.js +5 -0
  248. package/dist/bootsman-ui-shadcn322.js +67 -0
  249. package/dist/bootsman-ui-shadcn323.js +25 -0
  250. package/dist/bootsman-ui-shadcn324.js +50 -0
  251. package/dist/bootsman-ui-shadcn325.js +5781 -0
  252. package/dist/bootsman-ui-shadcn326.js +14 -0
  253. package/dist/bootsman-ui-shadcn327.js +20 -0
  254. package/dist/bootsman-ui-shadcn328.js +4 -0
  255. package/dist/bootsman-ui-shadcn329.js +145 -0
  256. package/dist/bootsman-ui-shadcn33.js +26 -0
  257. package/dist/bootsman-ui-shadcn330.js +1967 -0
  258. package/dist/bootsman-ui-shadcn331.js +29 -0
  259. package/dist/bootsman-ui-shadcn332.js +28 -0
  260. package/dist/bootsman-ui-shadcn333.js +4 -0
  261. package/dist/bootsman-ui-shadcn334.js +12 -0
  262. package/dist/bootsman-ui-shadcn335.js +120 -0
  263. package/dist/bootsman-ui-shadcn336.js +20 -0
  264. package/dist/bootsman-ui-shadcn337.js +6 -0
  265. package/dist/bootsman-ui-shadcn338.js +27 -0
  266. package/dist/bootsman-ui-shadcn339.js +31 -0
  267. package/dist/bootsman-ui-shadcn34.js +17 -0
  268. package/dist/bootsman-ui-shadcn340.js +122 -0
  269. package/dist/bootsman-ui-shadcn341.js +32 -0
  270. package/dist/bootsman-ui-shadcn342.js +13 -0
  271. package/dist/bootsman-ui-shadcn343.js +16 -0
  272. package/dist/bootsman-ui-shadcn344.js +35 -0
  273. package/dist/bootsman-ui-shadcn345.js +31 -0
  274. package/dist/bootsman-ui-shadcn346.js +13 -0
  275. package/dist/bootsman-ui-shadcn347.js +15 -0
  276. package/dist/bootsman-ui-shadcn348.js +20 -0
  277. package/dist/bootsman-ui-shadcn349.js +26 -0
  278. package/dist/bootsman-ui-shadcn35.js +22 -0
  279. package/dist/bootsman-ui-shadcn350.js +20 -0
  280. package/dist/bootsman-ui-shadcn351.js +99 -0
  281. package/dist/bootsman-ui-shadcn352.js +47 -0
  282. package/dist/bootsman-ui-shadcn353.js +31 -0
  283. package/dist/bootsman-ui-shadcn354.js +75 -0
  284. package/dist/bootsman-ui-shadcn355.js +54 -0
  285. package/dist/bootsman-ui-shadcn356.js +37 -0
  286. package/dist/bootsman-ui-shadcn357.js +44 -0
  287. package/dist/bootsman-ui-shadcn358.js +12 -0
  288. package/dist/bootsman-ui-shadcn359.js +54 -0
  289. package/dist/bootsman-ui-shadcn36.js +36 -0
  290. package/dist/bootsman-ui-shadcn360.js +10 -0
  291. package/dist/bootsman-ui-shadcn361.js +7 -0
  292. package/dist/bootsman-ui-shadcn362.js +6 -0
  293. package/dist/bootsman-ui-shadcn363.js +6 -0
  294. package/dist/bootsman-ui-shadcn364.js +6 -0
  295. package/dist/bootsman-ui-shadcn365.js +6 -0
  296. package/dist/bootsman-ui-shadcn366.js +14 -0
  297. package/dist/bootsman-ui-shadcn367.js +12 -0
  298. package/dist/bootsman-ui-shadcn368.js +34 -0
  299. package/dist/bootsman-ui-shadcn369.js +27 -0
  300. package/dist/bootsman-ui-shadcn37.js +79 -0
  301. package/dist/bootsman-ui-shadcn370.js +6 -0
  302. package/dist/bootsman-ui-shadcn371.js +6 -0
  303. package/dist/bootsman-ui-shadcn372.js +12 -0
  304. package/dist/bootsman-ui-shadcn373.js +11 -0
  305. package/dist/bootsman-ui-shadcn374.js +18 -0
  306. package/dist/bootsman-ui-shadcn375.js +7 -0
  307. package/dist/bootsman-ui-shadcn376.js +8 -0
  308. package/dist/bootsman-ui-shadcn377.js +23 -0
  309. package/dist/bootsman-ui-shadcn378.js +10 -0
  310. package/dist/bootsman-ui-shadcn379.js +9 -0
  311. package/dist/bootsman-ui-shadcn38.js +1 -0
  312. package/dist/bootsman-ui-shadcn380.js +8 -0
  313. package/dist/bootsman-ui-shadcn381.js +10 -0
  314. package/dist/bootsman-ui-shadcn382.js +18 -0
  315. package/dist/bootsman-ui-shadcn383.js +7 -0
  316. package/dist/bootsman-ui-shadcn384.js +9 -0
  317. package/dist/bootsman-ui-shadcn385.js +37 -0
  318. package/dist/bootsman-ui-shadcn386.js +11 -0
  319. package/dist/bootsman-ui-shadcn387.js +7 -0
  320. package/dist/bootsman-ui-shadcn388.js +11 -0
  321. package/dist/bootsman-ui-shadcn389.js +9 -0
  322. package/dist/{BuiCard.vue_vue_type_script_setup_true_lang-o5WtGlrU.js → bootsman-ui-shadcn39.js} +7 -7
  323. package/dist/bootsman-ui-shadcn390.js +21 -0
  324. package/dist/bootsman-ui-shadcn391.js +17 -0
  325. package/dist/bootsman-ui-shadcn4.js +20 -0
  326. package/dist/bootsman-ui-shadcn40.js +22 -0
  327. package/dist/{BuiCardTitle.vue_vue_type_script_setup_true_lang-QO7CK1Xy.js → bootsman-ui-shadcn41.js} +4 -4
  328. package/dist/{BuiCardDescription.vue_vue_type_script_setup_true_lang-6jxZS6eq.js → bootsman-ui-shadcn42.js} +6 -6
  329. package/dist/{BuiCardContent.vue_vue_type_script_setup_true_lang-znCk_3Dr.js → bootsman-ui-shadcn43.js} +4 -4
  330. package/dist/bootsman-ui-shadcn44.js +22 -0
  331. package/dist/{BuiCheckbox.vue_vue_type_script_setup_true_lang-dNs7q54L.js → bootsman-ui-shadcn45.js} +9 -9
  332. package/dist/{BuiCommand.vue_vue_type_script_setup_true_lang-AX1x22o-.js → bootsman-ui-shadcn46.js} +7 -7
  333. package/dist/{BuiCommandDialog.vue_vue_type_script_setup_true_lang-jr1bqbar.js → bootsman-ui-shadcn47.js} +10 -10
  334. package/dist/bootsman-ui-shadcn48.js +24 -0
  335. package/dist/{BuiCommandGroup.vue_vue_type_script_setup_true_lang-3rqXEZXT.js → bootsman-ui-shadcn49.js} +10 -10
  336. package/dist/bootsman-ui-shadcn5.js +17 -0
  337. package/dist/bootsman-ui-shadcn50.js +36 -0
  338. package/dist/{BuiCommandItem.vue_vue_type_script_setup_true_lang-1_kxb3jS.js → bootsman-ui-shadcn51.js} +10 -10
  339. package/dist/{BuiCommandList.vue_vue_type_script_setup_true_lang-DvGESZRW.js → bootsman-ui-shadcn52.js} +8 -8
  340. package/dist/bootsman-ui-shadcn53.js +24 -0
  341. package/dist/{BuiCommandShortcut.vue_vue_type_script_setup_true_lang-z2zzZkwU.js → bootsman-ui-shadcn54.js} +5 -5
  342. package/dist/bootsman-ui-shadcn55.js +22 -0
  343. package/dist/bootsman-ui-shadcn56.js +22 -0
  344. package/dist/{BuiContextMenuContent.vue_vue_type_script_setup_true_lang-AlhPQfOo.js → bootsman-ui-shadcn57.js} +8 -8
  345. package/dist/bootsman-ui-shadcn58.js +21 -0
  346. package/dist/bootsman-ui-shadcn59.js +23 -0
  347. package/dist/{components/ui/button/index.js → bootsman-ui-shadcn6.js} +3 -27
  348. package/dist/{BuiContextMenuItem.vue_vue_type_script_setup_true_lang-sigXqqKC.js → bootsman-ui-shadcn60.js} +6 -6
  349. package/dist/{BuiContextMenuCheckboxItem.vue_vue_type_script_setup_true_lang-2DhyryRW.js → bootsman-ui-shadcn61.js} +13 -13
  350. package/dist/{BuiContextMenuRadioItem.vue_vue_type_script_setup_true_lang-YekOM40O.js → bootsman-ui-shadcn62.js} +14 -14
  351. package/dist/{BuiContextMenuShortcut.vue_vue_type_script_setup_true_lang-U0y3g-MM.js → bootsman-ui-shadcn63.js} +6 -6
  352. package/dist/bootsman-ui-shadcn64.js +19 -0
  353. package/dist/bootsman-ui-shadcn65.js +26 -0
  354. package/dist/{BuiContextMenuSub.vue_vue_type_script_setup_true_lang-PvjwcmKr.js → bootsman-ui-shadcn66.js} +7 -7
  355. package/dist/{BuiContextMenuSubTrigger.vue_vue_type_script_setup_true_lang-NoknZAAj.js → bootsman-ui-shadcn67.js} +11 -11
  356. package/dist/{BuiContextMenuSubContent.vue_vue_type_script_setup_true_lang-1XbeQmuy.js → bootsman-ui-shadcn68.js} +8 -8
  357. package/dist/bootsman-ui-shadcn69.js +21 -0
  358. package/dist/bootsman-ui-shadcn7.js +20 -0
  359. package/dist/{BuiDialogTrigger.vue_vue_type_script_setup_true_lang-eWn1mdeD.js → bootsman-ui-shadcn70.js} +5 -5
  360. package/dist/bootsman-ui-shadcn71.js +19 -0
  361. package/dist/bootsman-ui-shadcn72.js +28 -0
  362. package/dist/bootsman-ui-shadcn73.js +25 -0
  363. package/dist/{BuiDialogFooter.vue_vue_type_script_setup_true_lang-ELYZ3fUF.js → bootsman-ui-shadcn74.js} +5 -5
  364. package/dist/bootsman-ui-shadcn75.js +24 -0
  365. package/dist/{BuiDropdownMenuTrigger.vue_vue_type_script_setup_true_lang-CPwdz8pd.js → bootsman-ui-shadcn76.js} +6 -6
  366. package/dist/{BuiDropdownMenuContent.vue_vue_type_script_setup_true_lang-YataD3un.js → bootsman-ui-shadcn77.js} +12 -12
  367. package/dist/bootsman-ui-shadcn78.js +21 -0
  368. package/dist/bootsman-ui-shadcn79.js +25 -0
  369. package/dist/bootsman-ui-shadcn8.js +19 -0
  370. package/dist/{BuiDropdownMenuItem.vue_vue_type_script_setup_true_lang-XTjCTZGm.js → bootsman-ui-shadcn80.js} +9 -9
  371. package/dist/{BuiDropdownMenuCheckboxItem.vue_vue_type_script_setup_true_lang-05J63By0.js → bootsman-ui-shadcn81.js} +16 -16
  372. package/dist/bootsman-ui-shadcn82.js +41 -0
  373. package/dist/{BuiDropdownMenuShortcut.vue_vue_type_script_setup_true_lang--0WyVjX-.js → bootsman-ui-shadcn83.js} +3 -3
  374. package/dist/{BuiDropdownMenuSeparator.vue_vue_type_script_setup_true_lang-K6crSIcZ.js → bootsman-ui-shadcn84.js} +3 -3
  375. package/dist/{BuiDropdownMenuLabel.vue_vue_type_script_setup_true_lang-R6Lihsc3.js → bootsman-ui-shadcn85.js} +5 -5
  376. package/dist/bootsman-ui-shadcn86.js +22 -0
  377. package/dist/{BuiDropdownMenuSubTrigger.vue_vue_type_script_setup_true_lang-QtK9PYap.js → bootsman-ui-shadcn87.js} +10 -10
  378. package/dist/{BuiDropdownMenuSubContent.vue_vue_type_script_setup_true_lang-BXz6V5_0.js → bootsman-ui-shadcn88.js} +10 -10
  379. package/dist/bootsman-ui-shadcn89.js +21 -0
  380. package/dist/bootsman-ui-shadcn9.js +21 -0
  381. package/dist/bootsman-ui-shadcn90.js +32 -0
  382. package/dist/bootsman-ui-shadcn91.js +22 -0
  383. package/dist/bootsman-ui-shadcn92.js +18 -0
  384. package/dist/bootsman-ui-shadcn93.js +19 -0
  385. package/dist/bootsman-ui-shadcn94.js +23 -0
  386. package/dist/{BuiHoverCardTrigger.vue_vue_type_script_setup_true_lang-7sgCUl_C.js → bootsman-ui-shadcn95.js} +5 -5
  387. package/dist/{BuiHoverCardContent.vue_vue_type_script_setup_true_lang-GrytIAHH.js → bootsman-ui-shadcn96.js} +9 -9
  388. package/dist/bootsman-ui-shadcn97.js +29 -0
  389. package/dist/{BuiLabel.vue_vue_type_script_setup_true_lang-BKmthATK.js → bootsman-ui-shadcn98.js} +6 -6
  390. package/dist/bootsman-ui-shadcn99.js +103 -0
  391. package/dist/main.d.ts +3376 -0
  392. package/dist/style.css +1 -0
  393. package/package.json +6 -12
  394. package/dist/BuiAccordionContent.vue_vue_type_script_setup_true_lang-Wx65chW_.js +0 -30
  395. package/dist/BuiAccordionItem.vue_vue_type_script_setup_true_lang-yvin7wJl.js +0 -27
  396. package/dist/BuiAlertDescription.vue_vue_type_script_setup_true_lang-MxcBXDIM.js +0 -19
  397. package/dist/BuiAlertDialog.vue_vue_type_script_setup_true_lang-EUnEXpcN.js +0 -22
  398. package/dist/BuiAlertDialogAction.vue_vue_type_script_setup_true_lang-kqVCg9n0.js +0 -25
  399. package/dist/BuiAlertDialogCancel.vue_vue_type_script_setup_true_lang-h8kbdW85.js +0 -25
  400. package/dist/BuiAlertDialogDescription.vue_vue_type_script_setup_true_lang-CYHwKHzs.js +0 -26
  401. package/dist/BuiAlertDialogTitle.vue_vue_type_script_setup_true_lang-vTBDM0Ks.js +0 -26
  402. package/dist/BuiAlertDialogTrigger.vue_vue_type_script_setup_true_lang-58bLhu7U.js +0 -21
  403. package/dist/BuiAlertTitle.vue_vue_type_script_setup_true_lang-TcX3qQbd.js +0 -15
  404. package/dist/BuiAvatarFallback.vue_vue_type_script_setup_true_lang-jYHcY6Mq.js +0 -22
  405. package/dist/BuiAvatarImage.vue_vue_type_script_setup_true_lang-z6m8jhFH.js +0 -17
  406. package/dist/BuiCalendar.vue_vue_type_style_index_0_lang-g4_BV5pa.js +0 -6675
  407. package/dist/BuiCardFooter.vue_vue_type_script_setup_true_lang-PtOGB6us.js +0 -22
  408. package/dist/BuiCardHeader.vue_vue_type_script_setup_true_lang-220ywS8j.js +0 -22
  409. package/dist/BuiCommandEmpty.vue_vue_type_script_setup_true_lang-rAW_pVHz.js +0 -24
  410. package/dist/BuiCommandInput.vue_vue_type_script_setup_true_lang-BnTpCTqv.js +0 -45
  411. package/dist/BuiCommandSeparator.vue_vue_type_script_setup_true_lang-oVSGpT6k.js +0 -24
  412. package/dist/BuiContextMenu.vue_vue_type_script_setup_true_lang-lKWCa1Y8.js +0 -22
  413. package/dist/BuiContextMenuGroup.vue_vue_type_script_setup_true_lang-YvVBH3lq.js +0 -21
  414. package/dist/BuiContextMenuLabel.vue_vue_type_script_setup_true_lang-sBFhRhZ7.js +0 -26
  415. package/dist/BuiContextMenuRadioGroup.vue_vue_type_script_setup_true_lang-tfDex1zc.js +0 -23
  416. package/dist/BuiContextMenuSeparator.vue_vue_type_script_setup_true_lang-qpZaL3SK.js +0 -19
  417. package/dist/BuiContextMenuTrigger.vue_vue_type_script_setup_true_lang-VdiZ6Swn.js +0 -22
  418. package/dist/BuiDataTable.vue_vue_type_script_setup_true_lang-S6BBiyP_.js +0 -2191
  419. package/dist/BuiDialog.vue_vue_type_script_setup_true_lang-ixO45GDE.js +0 -23
  420. package/dist/BuiDialogClose.vue_vue_type_script_setup_true_lang-3atkl1Kq.js +0 -21
  421. package/dist/BuiDialogDescription.vue_vue_type_script_setup_true_lang-vd4dyEye.js +0 -25
  422. package/dist/BuiDialogHeader.vue_vue_type_script_setup_true_lang-jE9ZHLMM.js +0 -19
  423. package/dist/BuiDialogTitle.vue_vue_type_script_setup_true_lang-OvUMPrfS.js +0 -28
  424. package/dist/BuiDropdownMenu.vue_vue_type_script_setup_true_lang-8vyA586U.js +0 -24
  425. package/dist/BuiDropdownMenuGroup.vue_vue_type_script_setup_true_lang-H00EnMvB.js +0 -21
  426. package/dist/BuiDropdownMenuRadioGroup.vue_vue_type_script_setup_true_lang-txNQffvW.js +0 -25
  427. package/dist/BuiDropdownMenuRadioItem.vue_vue_type_script_setup_true_lang-a35tDJ3L.js +0 -41
  428. package/dist/BuiDropdownMenuSub.vue_vue_type_script_setup_true_lang-RqJNQEaH.js +0 -22
  429. package/dist/BuiFormControl.vue_vue_type_script_setup_true_lang-0a5oyZb-.js +0 -22
  430. package/dist/BuiFormDescription.vue_vue_type_script_setup_true_lang-_Ck0QgAK.js +0 -19
  431. package/dist/BuiFormItem.vue_vue_type_script_setup_true_lang-or1sl5lb.js +0 -21
  432. package/dist/BuiFormLabel.vue_vue_type_script_setup_true_lang-sLG4qOSe.js +0 -32
  433. package/dist/BuiFormMessage.vue_vue_type_script_setup_true_lang-Wiebjg_c.js +0 -17
  434. package/dist/BuiHoverCard.vue_vue_type_script_setup_true_lang-noOR9pSE.js +0 -23
  435. package/dist/BuiPaginationCommon.vue_vue_type_script_setup_true_lang-liWkyLRh.js +0 -105
  436. package/dist/BuiPaginationEllipsis.vue_vue_type_script_setup_true_lang-wg3wuEq4.js +0 -38
  437. package/dist/BuiPaginationFirst.vue_vue_type_script_setup_true_lang-rxgPKXGv.js +0 -42
  438. package/dist/BuiPaginationLast.vue_vue_type_script_setup_true_lang-XG1El1Sq.js +0 -42
  439. package/dist/BuiPaginationNext.vue_vue_type_script_setup_true_lang-SFMrH77A.js +0 -33
  440. package/dist/BuiPaginationPrev.vue_vue_type_script_setup_true_lang-MyaQPwEi.js +0 -33
  441. package/dist/BuiPopover.vue_vue_type_script_setup_true_lang-JxkRxlqE.js +0 -23
  442. package/dist/BuiPopoverTrigger.vue_vue_type_script_setup_true_lang-89-BuP8e.js +0 -21
  443. package/dist/BuiRadioGroup.vue_vue_type_script_setup_true_lang-BGh6SJ1l.js +0 -34
  444. package/dist/BuiSelectGroup.vue_vue_type_script_setup_true_lang-Br8BeHir.js +0 -25
  445. package/dist/BuiSelectLabel.vue_vue_type_script_setup_true_lang-B_xil7w1.js +0 -26
  446. package/dist/BuiSelectSeparator.vue_vue_type_script_setup_true_lang-K8KeMGTI.js +0 -20
  447. package/dist/BuiSelectValue.vue_vue_type_script_setup_true_lang-Ws4VxN22.js +0 -22
  448. package/dist/BuiTableBody.vue_vue_type_script_setup_true_lang-GOWdSu1R.js +0 -19
  449. package/dist/BuiTableCaption.vue_vue_type_script_setup_true_lang-I61Mpm_o.js +0 -19
  450. package/dist/BuiTableEmpty.vue_vue_type_script_setup_true_lang-haxd9XoU.js +0 -33
  451. package/dist/BuiTableRow.vue_vue_type_script_setup_true_lang-2JY6E9ZA.js +0 -24
  452. package/dist/BuiTabs.vue_vue_type_script_setup_true_lang-N_nXa4PT.js +0 -27
  453. package/dist/BuiToastDescription.vue_vue_type_script_setup_true_lang-DaGCnwFY.js +0 -25
  454. package/dist/BuiToastTitle.vue_vue_type_script_setup_true_lang-9sizhsD0.js +0 -25
  455. package/dist/BuiToastViewport.vue_vue_type_script_setup_true_lang-8FH7DBVP.js +0 -22
  456. package/dist/Skeleton.vue_vue_type_script_setup_true_lang--TBB6WPl.js +0 -17
  457. package/dist/assets/style.css +0 -1
  458. package/dist/components/ui/accordion/BuiAccordion.js +0 -4
  459. package/dist/components/ui/accordion/BuiAccordionContent.js +0 -4
  460. package/dist/components/ui/accordion/BuiAccordionItem.js +0 -4
  461. package/dist/components/ui/accordion/BuiAccordionTrigger.js +0 -4
  462. package/dist/components/ui/accordion/index.js +0 -10
  463. package/dist/components/ui/alert/BuiAlert.js +0 -4
  464. package/dist/components/ui/alert/BuiAlertDescription.js +0 -4
  465. package/dist/components/ui/alert/BuiAlertTitle.js +0 -4
  466. package/dist/components/ui/alert/index.js +0 -48
  467. package/dist/components/ui/alert-dialog/BuiAlertDialog.js +0 -4
  468. package/dist/components/ui/alert-dialog/BuiAlertDialogAction.js +0 -4
  469. package/dist/components/ui/alert-dialog/BuiAlertDialogCancel.js +0 -4
  470. package/dist/components/ui/alert-dialog/BuiAlertDialogContent.js +0 -4
  471. package/dist/components/ui/alert-dialog/BuiAlertDialogDescription.js +0 -4
  472. package/dist/components/ui/alert-dialog/BuiAlertDialogFooter.js +0 -4
  473. package/dist/components/ui/alert-dialog/BuiAlertDialogHeader.js +0 -4
  474. package/dist/components/ui/alert-dialog/BuiAlertDialogTitle.js +0 -4
  475. package/dist/components/ui/alert-dialog/BuiAlertDialogTrigger.js +0 -4
  476. package/dist/components/ui/alert-dialog/index.js +0 -20
  477. package/dist/components/ui/aspect-ratio/BuiAspectRatio.js +0 -4
  478. package/dist/components/ui/aspect-ratio/index.js +0 -4
  479. package/dist/components/ui/avatar/BuiAvatar.js +0 -4
  480. package/dist/components/ui/avatar/BuiAvatarFallback.js +0 -4
  481. package/dist/components/ui/avatar/BuiAvatarImage.js +0 -4
  482. package/dist/components/ui/avatar/index.js +0 -46
  483. package/dist/components/ui/badge/BuiBadge.js +0 -4
  484. package/dist/components/ui/badge/index.js +0 -49
  485. package/dist/components/ui/button/BuiButton.js +0 -4
  486. package/dist/components/ui/calendar/BuiCalendar.js +0 -5
  487. package/dist/components/ui/calendar/index.js +0 -96
  488. package/dist/components/ui/card/BuiCard.js +0 -4
  489. package/dist/components/ui/card/BuiCardContent.js +0 -4
  490. package/dist/components/ui/card/BuiCardDescription.js +0 -4
  491. package/dist/components/ui/card/BuiCardFooter.js +0 -4
  492. package/dist/components/ui/card/BuiCardHeader.js +0 -4
  493. package/dist/components/ui/card/BuiCardTitle.js +0 -4
  494. package/dist/components/ui/card/index.js +0 -14
  495. package/dist/components/ui/checkbox/BuiCheckbox.js +0 -4
  496. package/dist/components/ui/checkbox/index.js +0 -4
  497. package/dist/components/ui/command/BuiCommand.js +0 -4
  498. package/dist/components/ui/command/BuiCommandDialog.js +0 -4
  499. package/dist/components/ui/command/BuiCommandEmpty.js +0 -4
  500. package/dist/components/ui/command/BuiCommandGroup.js +0 -4
  501. package/dist/components/ui/command/BuiCommandInput.js +0 -4
  502. package/dist/components/ui/command/BuiCommandItem.js +0 -4
  503. package/dist/components/ui/command/BuiCommandList.js +0 -4
  504. package/dist/components/ui/command/BuiCommandSeparator.js +0 -4
  505. package/dist/components/ui/command/BuiCommandShortcut.js +0 -4
  506. package/dist/components/ui/command/index.js +0 -20
  507. package/dist/components/ui/context-menu/BuiContextMenu.js +0 -4
  508. package/dist/components/ui/context-menu/BuiContextMenuCheckboxItem.js +0 -4
  509. package/dist/components/ui/context-menu/BuiContextMenuContent.js +0 -4
  510. package/dist/components/ui/context-menu/BuiContextMenuGroup.js +0 -4
  511. package/dist/components/ui/context-menu/BuiContextMenuItem.js +0 -4
  512. package/dist/components/ui/context-menu/BuiContextMenuLabel.js +0 -4
  513. package/dist/components/ui/context-menu/BuiContextMenuPortal.js +0 -22
  514. package/dist/components/ui/context-menu/BuiContextMenuRadioGroup.js +0 -4
  515. package/dist/components/ui/context-menu/BuiContextMenuRadioItem.js +0 -4
  516. package/dist/components/ui/context-menu/BuiContextMenuSeparator.js +0 -4
  517. package/dist/components/ui/context-menu/BuiContextMenuShortcut.js +0 -4
  518. package/dist/components/ui/context-menu/BuiContextMenuSub.js +0 -4
  519. package/dist/components/ui/context-menu/BuiContextMenuSubContent.js +0 -4
  520. package/dist/components/ui/context-menu/BuiContextMenuSubTrigger.js +0 -4
  521. package/dist/components/ui/context-menu/BuiContextMenuTrigger.js +0 -4
  522. package/dist/components/ui/context-menu/index.js +0 -30
  523. package/dist/components/ui/dialog/BuiDialog.js +0 -4
  524. package/dist/components/ui/dialog/BuiDialogClose.js +0 -4
  525. package/dist/components/ui/dialog/BuiDialogContent.js +0 -4
  526. package/dist/components/ui/dialog/BuiDialogDescription.js +0 -4
  527. package/dist/components/ui/dialog/BuiDialogFooter.js +0 -4
  528. package/dist/components/ui/dialog/BuiDialogHeader.js +0 -4
  529. package/dist/components/ui/dialog/BuiDialogTitle.js +0 -4
  530. package/dist/components/ui/dialog/BuiDialogTrigger.js +0 -4
  531. package/dist/components/ui/dialog/index.js +0 -18
  532. package/dist/components/ui/dropdown-menu/BuiDropdownMenu.js +0 -4
  533. package/dist/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.js +0 -4
  534. package/dist/components/ui/dropdown-menu/BuiDropdownMenuContent.js +0 -4
  535. package/dist/components/ui/dropdown-menu/BuiDropdownMenuGroup.js +0 -4
  536. package/dist/components/ui/dropdown-menu/BuiDropdownMenuItem.js +0 -4
  537. package/dist/components/ui/dropdown-menu/BuiDropdownMenuLabel.js +0 -4
  538. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.js +0 -4
  539. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.js +0 -4
  540. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSeparator.js +0 -4
  541. package/dist/components/ui/dropdown-menu/BuiDropdownMenuShortcut.js +0 -4
  542. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSub.js +0 -4
  543. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubContent.js +0 -4
  544. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.js +0 -4
  545. package/dist/components/ui/dropdown-menu/BuiDropdownMenuTrigger.js +0 -4
  546. package/dist/components/ui/dropdown-menu/index.js +0 -32
  547. package/dist/components/ui/form/BuiFormControl.js +0 -4
  548. package/dist/components/ui/form/BuiFormDescription.js +0 -4
  549. package/dist/components/ui/form/BuiFormItem.js +0 -6
  550. package/dist/components/ui/form/BuiFormLabel.js +0 -4
  551. package/dist/components/ui/form/BuiFormMessage.js +0 -4
  552. package/dist/components/ui/form/index.js +0 -15
  553. package/dist/components/ui/form/useFormField.js +0 -6
  554. package/dist/components/ui/hover-card/BuiHoverCard.js +0 -4
  555. package/dist/components/ui/hover-card/BuiHoverCardContent.js +0 -4
  556. package/dist/components/ui/hover-card/BuiHoverCardTrigger.js +0 -4
  557. package/dist/components/ui/hover-card/index.js +0 -8
  558. package/dist/components/ui/input/BuiInput.js +0 -4
  559. package/dist/components/ui/input/index.js +0 -44
  560. package/dist/components/ui/label/BuiLabel.js +0 -4
  561. package/dist/components/ui/label/index.js +0 -4
  562. package/dist/components/ui/pagination/BuiPaginationCommon.js +0 -4
  563. package/dist/components/ui/pagination/BuiPaginationEllipsis.js +0 -4
  564. package/dist/components/ui/pagination/BuiPaginationFirst.js +0 -4
  565. package/dist/components/ui/pagination/BuiPaginationLast.js +0 -4
  566. package/dist/components/ui/pagination/BuiPaginationNext.js +0 -4
  567. package/dist/components/ui/pagination/BuiPaginationPrev.js +0 -4
  568. package/dist/components/ui/pagination/index.js +0 -18
  569. package/dist/components/ui/popover/BuiPopover.js +0 -4
  570. package/dist/components/ui/popover/BuiPopoverContent.js +0 -4
  571. package/dist/components/ui/popover/BuiPopoverTrigger.js +0 -4
  572. package/dist/components/ui/popover/index.js +0 -8
  573. package/dist/components/ui/progress/BuiProgress.js +0 -4
  574. package/dist/components/ui/progress/index.js +0 -60
  575. package/dist/components/ui/radio-group/BuiRadioGroup.js +0 -4
  576. package/dist/components/ui/radio-group/BuiRadioGroupItem.js +0 -4
  577. package/dist/components/ui/radio-group/index.js +0 -6
  578. package/dist/components/ui/select/Bui.js +0 -62
  579. package/dist/components/ui/select/BuiSelect.js +0 -4
  580. package/dist/components/ui/select/BuiSelectContent.js +0 -4
  581. package/dist/components/ui/select/BuiSelectGroup.js +0 -4
  582. package/dist/components/ui/select/BuiSelectItem.js +0 -4
  583. package/dist/components/ui/select/BuiSelectItemText.js +0 -4
  584. package/dist/components/ui/select/BuiSelectLabel.js +0 -4
  585. package/dist/components/ui/select/BuiSelectSeparator.js +0 -4
  586. package/dist/components/ui/select/BuiSelectTrigger.js +0 -4
  587. package/dist/components/ui/select/BuiSelectValue.js +0 -4
  588. package/dist/components/ui/select/index.js +0 -20
  589. package/dist/components/ui/separator/BuiSeparator.js +0 -4
  590. package/dist/components/ui/separator/index.js +0 -4
  591. package/dist/components/ui/skeleton/Skeleton.js +0 -4
  592. package/dist/components/ui/skeleton/index.js +0 -4
  593. package/dist/components/ui/slider/BuiSlider.js +0 -4
  594. package/dist/components/ui/slider/index.js +0 -4
  595. package/dist/components/ui/switch/BuiSwitch.js +0 -4
  596. package/dist/components/ui/switch/index.js +0 -4
  597. package/dist/components/ui/table/BuiDataTable.js +0 -4
  598. package/dist/components/ui/table/BuiTable.js +0 -4
  599. package/dist/components/ui/table/BuiTableBody.js +0 -4
  600. package/dist/components/ui/table/BuiTableCaption.js +0 -4
  601. package/dist/components/ui/table/BuiTableCell.js +0 -4
  602. package/dist/components/ui/table/BuiTableEmpty.js +0 -4
  603. package/dist/components/ui/table/BuiTableFooter.js +0 -4
  604. package/dist/components/ui/table/BuiTableHead.js +0 -4
  605. package/dist/components/ui/table/BuiTableHeader.js +0 -4
  606. package/dist/components/ui/table/BuiTableRow.js +0 -4
  607. package/dist/components/ui/table/index.js +0 -22
  608. package/dist/components/ui/tabs/BuiTabs.js +0 -4
  609. package/dist/components/ui/tabs/BuiTabsContent.js +0 -4
  610. package/dist/components/ui/tabs/BuiTabsList.js +0 -4
  611. package/dist/components/ui/tabs/BuiTabsTrigger.js +0 -4
  612. package/dist/components/ui/tabs/index.js +0 -79
  613. package/dist/components/ui/textarea/BuiTextarea.js +0 -4
  614. package/dist/components/ui/textarea/index.js +0 -43
  615. package/dist/components/ui/toast/BuiToast.js +0 -4
  616. package/dist/components/ui/toast/BuiToastAction.js +0 -4
  617. package/dist/components/ui/toast/BuiToastClose.js +0 -4
  618. package/dist/components/ui/toast/BuiToastDescription.js +0 -4
  619. package/dist/components/ui/toast/BuiToastProvider.js +0 -4
  620. package/dist/components/ui/toast/BuiToastTitle.js +0 -4
  621. package/dist/components/ui/toast/BuiToastViewport.js +0 -4
  622. package/dist/components/ui/toast/BuiToaster.js +0 -4
  623. package/dist/components/ui/toast/index.js +0 -107
  624. package/dist/components/ui/toggle/BuiToggle.js +0 -4
  625. package/dist/components/ui/toggle/index.js +0 -60
  626. package/dist/components/ui/tooltip/BuiTooltip.js +0 -4
  627. package/dist/components/ui/tooltip/BuiTooltipContent.js +0 -4
  628. package/dist/components/ui/tooltip/BuiTooltipProvider.js +0 -4
  629. package/dist/components/ui/tooltip/BuiTooltipTrigger.js +0 -4
  630. package/dist/components/ui/tooltip/index.js +0 -10
  631. package/dist/createLucideIcon-IQml5_Dw.js +0 -44
  632. package/dist/index-6ucUKbpc.js +0 -9563
  633. package/dist/index-Hbf5jnOB.js +0 -53
  634. package/dist/index-vq1WbVLY.js +0 -49
  635. package/dist/index.d.ts +0 -1
  636. package/dist/useFormField-VhVaPQS2.js +0 -2097
  637. /package/dist/{components/ui/toast/use-toast.js → bootsman-ui-shadcn157.js} +0 -0
@@ -0,0 +1,2001 @@
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-shadcn230.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
+ };