@stachelock/ui 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) hide show
  1. package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js → CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js} +80 -79
  2. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js.map +1 -0
  3. package/dist/{ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js → ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js} +302 -291
  4. package/dist/{ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js.map → ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js.map} +1 -1
  5. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js.map +1 -1
  6. package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js.map +1 -1
  7. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js → EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js} +8 -8
  8. package/dist/EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js.map +1 -0
  9. package/dist/NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js +110 -0
  10. package/dist/NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js.map +1 -0
  11. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-CU__ORw8.js +238 -0
  12. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-CU__ORw8.js.map +1 -0
  13. package/dist/android-chrome-192x192.png +0 -0
  14. package/dist/android-chrome-512x512.png +0 -0
  15. package/dist/apple-touch-icon.png +0 -0
  16. package/dist/calendars/CalendarDashboard.js +11 -12
  17. package/dist/calendars/CalendarDashboard.js.map +1 -1
  18. package/dist/calendars/CalendarHeader.js +1 -1
  19. package/dist/components/CloudinaryImage.js +74 -52
  20. package/dist/components/CloudinaryImage.js.map +1 -1
  21. package/dist/empty-state/EmptyState.js +1 -1
  22. package/dist/empty-state/index.js +1 -1
  23. package/dist/favicon-16x16.png +0 -0
  24. package/dist/favicon-32x32.png +0 -0
  25. package/dist/favicon.ico +0 -0
  26. package/dist/index.js +88 -88
  27. package/dist/index.js.map +1 -1
  28. package/dist/inputs/ComboboxInput.js +1 -1
  29. package/dist/inputs/TextInput.js +1 -1
  30. package/dist/inputs/TextInput.js.map +1 -1
  31. package/dist/notifications/NotificationContainer.js +2 -36
  32. package/dist/notifications/NotificationContainer.js.map +1 -1
  33. package/dist/notifications/NotificationToast.js +1 -1
  34. package/dist/notifications/index.js +4 -4
  35. package/dist/site.webmanifest +19 -0
  36. package/dist/src/components/CloudinaryImage.d.ts +41 -1
  37. package/dist/src/components/LottieAnimation.d.ts +0 -1
  38. package/dist/src/components/ThemeDebugModal.d.ts +0 -1
  39. package/dist/src/components/UiAvatar.d.ts +0 -1
  40. package/dist/src/components/UiBadge.d.ts +0 -1
  41. package/dist/src/components/UiBanner.d.ts +0 -1
  42. package/dist/src/components/UiBreadcrumb.d.ts +0 -1
  43. package/dist/src/components/UiButton.d.ts +0 -1
  44. package/dist/src/components/UiButtonGroup.d.ts +0 -1
  45. package/dist/src/components/UiCheckbox.d.ts +0 -1
  46. package/dist/src/components/UiLoading.d.ts +0 -1
  47. package/dist/src/components/UiLoadingDots.d.ts +0 -1
  48. package/dist/src/components/UiMenu.d.ts +0 -1
  49. package/dist/src/components/UiModal.d.ts +0 -1
  50. package/dist/src/components/UiNavLink.d.ts +0 -1
  51. package/dist/src/components/UiProgressBar.d.ts +0 -1
  52. package/dist/src/components/UiRadialProgressBar.d.ts +0 -1
  53. package/dist/src/components/UiTable.d.ts +0 -1
  54. package/dist/src/components/UiTransition.d.ts +0 -1
  55. package/dist/src/components/calendars/CalendarDashboard.d.ts +0 -1
  56. package/dist/src/components/calendars/CalendarHeader.d.ts +0 -1
  57. package/dist/src/components/calendars/DayCalendar.d.ts +0 -1
  58. package/dist/src/components/calendars/EventCard.d.ts +0 -1
  59. package/dist/src/components/calendars/EventsList.d.ts +0 -1
  60. package/dist/src/components/calendars/MonthCalendar.d.ts +0 -1
  61. package/dist/src/components/calendars/WeekCalendar.d.ts +0 -1
  62. package/dist/src/components/calendars/YearCalendar.d.ts +0 -1
  63. package/dist/src/components/calendars/index.d.ts +0 -1
  64. package/dist/src/components/charts/BarChart.d.ts +0 -1
  65. package/dist/src/components/charts/FunnelChart.d.ts +0 -1
  66. package/dist/src/components/charts/LineChart.d.ts +0 -1
  67. package/dist/src/components/charts/PieChart.d.ts +0 -1
  68. package/dist/src/components/charts/SparklineChart.d.ts +0 -1
  69. package/dist/src/components/charts/StatCard.d.ts +0 -1
  70. package/dist/src/components/charts/chartTheme.d.ts +0 -1
  71. package/dist/src/components/charts/index.d.ts +0 -1
  72. package/dist/src/components/empty-state/ComingSoon.d.ts +0 -1
  73. package/dist/src/components/empty-state/EmptyState.d.ts +0 -1
  74. package/dist/src/components/empty-state/index.d.ts +0 -1
  75. package/dist/src/components/forms/DynamicForm.d.ts +2 -3
  76. package/dist/src/components/forms/DynamicFormField.d.ts +0 -1
  77. package/dist/src/components/forms/FormFieldWrapper.d.ts +0 -1
  78. package/dist/src/components/forms/index.d.ts +0 -1
  79. package/dist/src/components/index.d.ts +0 -1
  80. package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts +0 -1
  81. package/dist/src/components/inputs/CheckboxInput.d.ts +0 -1
  82. package/dist/src/components/inputs/ComboboxInput.d.ts +0 -1
  83. package/dist/src/components/inputs/DatepickerInput.d.ts +0 -1
  84. package/dist/src/components/inputs/EmailInput.d.ts +0 -1
  85. package/dist/src/components/inputs/EmptyInput.d.ts +0 -1
  86. package/dist/src/components/inputs/FileDropzoneInput.d.ts +0 -1
  87. package/dist/src/components/inputs/HiddenInput.d.ts +0 -1
  88. package/dist/src/components/inputs/InputsShowcase.d.ts +0 -1
  89. package/dist/src/components/inputs/PhoneInput.d.ts +0 -1
  90. package/dist/src/components/inputs/RichTextInput.d.ts +0 -1
  91. package/dist/src/components/inputs/SelectInput.d.ts +0 -1
  92. package/dist/src/components/inputs/SelectTextInput.d.ts +0 -1
  93. package/dist/src/components/inputs/SwitchInput.d.ts +0 -1
  94. package/dist/src/components/inputs/SwitchInputGroup.d.ts +0 -1
  95. package/dist/src/components/inputs/TagifyInput.d.ts +0 -1
  96. package/dist/src/components/inputs/TextAreaInput.d.ts +0 -1
  97. package/dist/src/components/inputs/TextInput.d.ts +0 -1
  98. package/dist/src/components/inputs/index.d.ts +0 -1
  99. package/dist/src/components/layouts/CardLayout.d.ts +0 -1
  100. package/dist/src/components/layouts/DashboardLayout.d.ts +0 -1
  101. package/dist/src/components/layouts/DefaultLayout.d.ts +0 -1
  102. package/dist/src/components/layouts/HeaderLayout.d.ts +0 -1
  103. package/dist/src/components/layouts/InfoCard.d.ts +0 -1
  104. package/dist/src/components/layouts/NavigationGroup.d.ts +0 -1
  105. package/dist/src/components/layouts/NavigationItem.d.ts +0 -1
  106. package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts +0 -1
  107. package/dist/src/components/layouts/ProjectLogo.d.ts +0 -1
  108. package/dist/src/components/layouts/PropsTable.d.ts +0 -1
  109. package/dist/src/components/layouts/ShowcaseCard.d.ts +0 -1
  110. package/dist/src/components/layouts/ShowcaseLayout.d.ts +0 -1
  111. package/dist/src/components/layouts/SidebarLayout.d.ts +0 -1
  112. package/dist/src/components/layouts/StateDisplay.d.ts +0 -1
  113. package/dist/src/components/layouts/index.d.ts +0 -1
  114. package/dist/src/components/loading/ContentSkeleton.d.ts +0 -1
  115. package/dist/src/components/loading/SmartLoadingIndicator.d.ts +0 -1
  116. package/dist/src/components/loading/index.d.ts +0 -1
  117. package/dist/src/components/maps/GoogleMap.d.ts +0 -1
  118. package/dist/src/components/maps/UiInfoWindow.d.ts +0 -1
  119. package/dist/src/components/maps/UiMap.d.ts +0 -1
  120. package/dist/src/components/maps/UiMapAll.d.ts +0 -1
  121. package/dist/src/components/maps/UiMapMarker.d.ts +0 -1
  122. package/dist/src/components/maps/index.d.ts +0 -1
  123. package/dist/src/components/modals/AlertModal.d.ts +0 -1
  124. package/dist/src/components/modals/BaseModal.d.ts +0 -1
  125. package/dist/src/components/modals/ImageCropperModal.d.ts +0 -1
  126. package/dist/src/components/modals/index.d.ts +0 -1
  127. package/dist/src/components/notifications/NotificationContainer.d.ts +0 -1
  128. package/dist/src/components/notifications/NotificationToast.d.ts +0 -1
  129. package/dist/src/components/notifications/index.d.ts +0 -1
  130. package/dist/src/components/stepper/StepperPanels.d.ts +0 -1
  131. package/dist/src/components/stepper/index.d.ts +0 -1
  132. package/dist/src/components/tabs/InlineTabs.d.ts +0 -1
  133. package/dist/src/components/tabs/TabGroup.d.ts +0 -1
  134. package/dist/src/components/tabs/TabGroupUnderline.d.ts +0 -1
  135. package/dist/src/components/tabs/TabsInPills.d.ts +0 -1
  136. package/dist/src/components/tabs/index.d.ts +0 -1
  137. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +0 -1
  138. package/dist/src/components/wrappers/CardWrapper.d.ts +0 -1
  139. package/dist/src/components/wrappers/DisclosureWrapper.d.ts +0 -1
  140. package/dist/src/components/wrappers/FormErrorWrapper.d.ts +0 -1
  141. package/dist/src/components/wrappers/index.d.ts +0 -1
  142. package/dist/src/composables/index.d.ts +0 -1
  143. package/dist/src/composables/useCalendar.d.ts +0 -1
  144. package/dist/src/composables/useEventSegments.d.ts +0 -1
  145. package/dist/src/composables/useFormValidation.d.ts +0 -1
  146. package/dist/src/composables/useMap.d.ts +0 -1
  147. package/dist/src/composables/useModal.d.ts +0 -1
  148. package/dist/src/composables/useNotifications.d.ts +0 -1
  149. package/dist/src/composables/useSimpleTabs.d.ts +0 -1
  150. package/dist/src/composables/useStringTransform.d.ts +0 -1
  151. package/dist/src/composables/useTabs.d.ts +0 -1
  152. package/dist/src/composables/useTheme.d.ts +0 -1
  153. package/dist/src/config/css-variables.d.ts +0 -1
  154. package/dist/src/config/design-tokens.d.ts +0 -1
  155. package/dist/src/config/index.d.ts +0 -1
  156. package/dist/src/dev.d.ts +0 -1
  157. package/dist/src/index.d.ts +0 -1
  158. package/dist/src/plugin/configure.d.ts +0 -1
  159. package/dist/src/plugin/index.d.ts +0 -1
  160. package/dist/src/types/avatars.d.ts +0 -1
  161. package/dist/src/types/badges.d.ts +0 -1
  162. package/dist/src/types/calendars.d.ts +0 -1
  163. package/dist/src/types/core.d.ts +10 -1
  164. package/dist/src/types/form.d.ts +0 -1
  165. package/dist/src/types/forms.d.ts +0 -1
  166. package/dist/src/types/index.d.ts +0 -1
  167. package/dist/src/types/inputs.d.ts +0 -1
  168. package/dist/src/types/layouts.d.ts +0 -1
  169. package/dist/src/types/loading.d.ts +0 -1
  170. package/dist/src/types/maps.d.ts +0 -1
  171. package/dist/src/types/navigation.d.ts +0 -1
  172. package/dist/src/types/tables.d.ts +0 -1
  173. package/dist/src/types/tabs.d.ts +0 -1
  174. package/dist/src/types/transitions.d.ts +0 -1
  175. package/dist/src/types/ui.d.ts +0 -1
  176. package/dist/src/utils/calendar.d.ts +0 -1
  177. package/dist/src/utils/component-registry.d.ts +0 -1
  178. package/dist/src/utils/countryCodes.d.ts +0 -1
  179. package/dist/src/utils/id.d.ts +0 -1
  180. package/dist/src/utils/index.d.ts +0 -1
  181. package/dist/src/utils/mapThemes.d.ts +0 -1
  182. package/dist/src/utils/phone.d.ts +0 -1
  183. package/dist/src/utils/transitions.d.ts +0 -1
  184. package/dist/src/views/ButtonsShowcase.d.ts +0 -1
  185. package/dist/src/views/CalendarsShowcase.d.ts +0 -1
  186. package/dist/src/views/CardsShowcase.d.ts +0 -1
  187. package/dist/src/views/ChartsShowcase.d.ts +0 -1
  188. package/dist/src/views/EmptyStatesShowcase.d.ts +0 -1
  189. package/dist/src/views/InputsShowcase.d.ts +0 -1
  190. package/dist/src/views/KitchenSink.d.ts +0 -1
  191. package/dist/src/views/LayoutsShowcase.d.ts +0 -1
  192. package/dist/src/views/LoadingShowcase.d.ts +0 -1
  193. package/dist/src/views/MapsShowcase.d.ts +0 -1
  194. package/dist/src/views/ModalsShowcase.d.ts +0 -1
  195. package/dist/src/views/NotificationsShowcase.d.ts +0 -1
  196. package/dist/src/views/StepperShowcase.d.ts +0 -1
  197. package/dist/src/views/TabsShowcase.d.ts +0 -1
  198. package/dist/src/views/ValidationDemo.d.ts +0 -1
  199. package/dist/src/views/WrappersShowcase.d.ts +0 -1
  200. package/dist/src/views/components/AvatarPage.d.ts +0 -1
  201. package/dist/src/views/components/BadgePage.d.ts +0 -1
  202. package/dist/src/views/components/BannerPage.d.ts +0 -1
  203. package/dist/src/views/components/BreadcrumbPage.d.ts +0 -1
  204. package/dist/src/views/components/ButtonPage.d.ts +0 -1
  205. package/dist/src/views/components/CloudinaryImagePage.d.ts +0 -1
  206. package/dist/src/views/components/LoadingPage.d.ts +0 -1
  207. package/dist/src/views/components/LottiePage.d.ts +2 -0
  208. package/dist/src/views/components/MenuPage.d.ts +0 -1
  209. package/dist/src/views/components/ModalPage.d.ts +0 -1
  210. package/dist/src/views/components/ProgressPage.d.ts +0 -1
  211. package/dist/src/views/components/RichTextInputPage.d.ts +0 -1
  212. package/dist/src/views/components/TablePage.d.ts +0 -1
  213. package/dist/src/views/components/TextInputPage.d.ts +0 -1
  214. package/dist/src/views/components/TransitionPage.d.ts +0 -1
  215. package/dist/src/views/components/index.d.ts +1 -1
  216. package/dist/src/views/examples/CheckoutFormExample.d.ts +0 -1
  217. package/dist/src/views/examples/ContactFormExample.d.ts +0 -1
  218. package/dist/src/views/examples/RegistrationFormExample.d.ts +0 -1
  219. package/dist/src/views/examples/SettingsFormExample.d.ts +0 -1
  220. package/dist/src/views/examples/index.d.ts +0 -1
  221. package/dist/src/views/forms/ValidationPage.d.ts +0 -1
  222. package/dist/src/views/forms/index.d.ts +0 -1
  223. package/dist/src/views/index.d.ts +0 -1
  224. package/dist/src/views/inputs/CheckboxPage.d.ts +0 -1
  225. package/dist/src/views/inputs/ComboboxPage.d.ts +0 -1
  226. package/dist/src/views/inputs/DatepickerPage.d.ts +0 -1
  227. package/dist/src/views/inputs/EmailPage.d.ts +0 -1
  228. package/dist/src/views/inputs/FileDropzonePage.d.ts +0 -1
  229. package/dist/src/views/inputs/MiscInputsPage.d.ts +0 -1
  230. package/dist/src/views/inputs/PhonePage.d.ts +0 -1
  231. package/dist/src/views/inputs/SelectPage.d.ts +0 -1
  232. package/dist/src/views/inputs/SelectTextPage.d.ts +0 -1
  233. package/dist/src/views/inputs/SwitchGroupPage.d.ts +0 -1
  234. package/dist/src/views/inputs/SwitchPage.d.ts +0 -1
  235. package/dist/src/views/inputs/TextAreaPage.d.ts +0 -1
  236. package/dist/src/views/inputs/index.d.ts +0 -1
  237. package/dist/src/views/layouts/CardLayoutPage.d.ts +0 -1
  238. package/dist/src/views/layouts/DashboardLayoutPage.d.ts +0 -1
  239. package/dist/src/views/layouts/HeaderLayoutPage.d.ts +0 -1
  240. package/dist/src/views/layouts/SidebarLayoutPage.d.ts +0 -1
  241. package/dist/src/views/layouts/index.d.ts +0 -1
  242. package/dist/style.css +1 -1
  243. package/dist/ui.css +1 -1
  244. package/package.json +20 -16
  245. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js.map +0 -1
  246. package/dist/EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js.map +0 -1
  247. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js +0 -277
  248. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js.map +0 -1
  249. package/dist/src/components/CloudinaryImage.d.ts.map +0 -1
  250. package/dist/src/components/LottieAnimation.d.ts.map +0 -1
  251. package/dist/src/components/ThemeDebugModal.d.ts.map +0 -1
  252. package/dist/src/components/UiAvatar.d.ts.map +0 -1
  253. package/dist/src/components/UiBadge.d.ts.map +0 -1
  254. package/dist/src/components/UiBanner.d.ts.map +0 -1
  255. package/dist/src/components/UiBreadcrumb.d.ts.map +0 -1
  256. package/dist/src/components/UiButton.d.ts.map +0 -1
  257. package/dist/src/components/UiButtonGroup.d.ts.map +0 -1
  258. package/dist/src/components/UiCheckbox.d.ts.map +0 -1
  259. package/dist/src/components/UiLoading.d.ts.map +0 -1
  260. package/dist/src/components/UiLoadingDots.d.ts.map +0 -1
  261. package/dist/src/components/UiMenu.d.ts.map +0 -1
  262. package/dist/src/components/UiModal.d.ts.map +0 -1
  263. package/dist/src/components/UiNavLink.d.ts.map +0 -1
  264. package/dist/src/components/UiProgressBar.d.ts.map +0 -1
  265. package/dist/src/components/UiRadialProgressBar.d.ts.map +0 -1
  266. package/dist/src/components/UiTable.d.ts.map +0 -1
  267. package/dist/src/components/UiTransition.d.ts.map +0 -1
  268. package/dist/src/components/calendars/CalendarDashboard.d.ts.map +0 -1
  269. package/dist/src/components/calendars/CalendarHeader.d.ts.map +0 -1
  270. package/dist/src/components/calendars/DayCalendar.d.ts.map +0 -1
  271. package/dist/src/components/calendars/EventCard.d.ts.map +0 -1
  272. package/dist/src/components/calendars/EventsList.d.ts.map +0 -1
  273. package/dist/src/components/calendars/MonthCalendar.d.ts.map +0 -1
  274. package/dist/src/components/calendars/WeekCalendar.d.ts.map +0 -1
  275. package/dist/src/components/calendars/YearCalendar.d.ts.map +0 -1
  276. package/dist/src/components/calendars/index.d.ts.map +0 -1
  277. package/dist/src/components/charts/BarChart.d.ts.map +0 -1
  278. package/dist/src/components/charts/FunnelChart.d.ts.map +0 -1
  279. package/dist/src/components/charts/LineChart.d.ts.map +0 -1
  280. package/dist/src/components/charts/PieChart.d.ts.map +0 -1
  281. package/dist/src/components/charts/SparklineChart.d.ts.map +0 -1
  282. package/dist/src/components/charts/StatCard.d.ts.map +0 -1
  283. package/dist/src/components/charts/chartTheme.d.ts.map +0 -1
  284. package/dist/src/components/charts/index.d.ts.map +0 -1
  285. package/dist/src/components/empty-state/ComingSoon.d.ts.map +0 -1
  286. package/dist/src/components/empty-state/EmptyState.d.ts.map +0 -1
  287. package/dist/src/components/empty-state/index.d.ts.map +0 -1
  288. package/dist/src/components/forms/DynamicForm.d.ts.map +0 -1
  289. package/dist/src/components/forms/DynamicFormField.d.ts.map +0 -1
  290. package/dist/src/components/forms/FormFieldWrapper.d.ts.map +0 -1
  291. package/dist/src/components/forms/index.d.ts.map +0 -1
  292. package/dist/src/components/index.d.ts.map +0 -1
  293. package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts.map +0 -1
  294. package/dist/src/components/inputs/CheckboxInput.d.ts.map +0 -1
  295. package/dist/src/components/inputs/ComboboxInput.d.ts.map +0 -1
  296. package/dist/src/components/inputs/DatepickerInput.d.ts.map +0 -1
  297. package/dist/src/components/inputs/EmailInput.d.ts.map +0 -1
  298. package/dist/src/components/inputs/EmptyInput.d.ts.map +0 -1
  299. package/dist/src/components/inputs/FileDropzoneInput.d.ts.map +0 -1
  300. package/dist/src/components/inputs/HiddenInput.d.ts.map +0 -1
  301. package/dist/src/components/inputs/InputsShowcase.d.ts.map +0 -1
  302. package/dist/src/components/inputs/PhoneInput.d.ts.map +0 -1
  303. package/dist/src/components/inputs/RichTextInput.d.ts.map +0 -1
  304. package/dist/src/components/inputs/SelectInput.d.ts.map +0 -1
  305. package/dist/src/components/inputs/SelectTextInput.d.ts.map +0 -1
  306. package/dist/src/components/inputs/SwitchInput.d.ts.map +0 -1
  307. package/dist/src/components/inputs/SwitchInputGroup.d.ts.map +0 -1
  308. package/dist/src/components/inputs/TagifyInput.d.ts.map +0 -1
  309. package/dist/src/components/inputs/TextAreaInput.d.ts.map +0 -1
  310. package/dist/src/components/inputs/TextInput.d.ts.map +0 -1
  311. package/dist/src/components/inputs/index.d.ts.map +0 -1
  312. package/dist/src/components/layouts/CardLayout.d.ts.map +0 -1
  313. package/dist/src/components/layouts/DashboardLayout.d.ts.map +0 -1
  314. package/dist/src/components/layouts/DefaultLayout.d.ts.map +0 -1
  315. package/dist/src/components/layouts/HeaderLayout.d.ts.map +0 -1
  316. package/dist/src/components/layouts/InfoCard.d.ts.map +0 -1
  317. package/dist/src/components/layouts/NavigationGroup.d.ts.map +0 -1
  318. package/dist/src/components/layouts/NavigationItem.d.ts.map +0 -1
  319. package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts.map +0 -1
  320. package/dist/src/components/layouts/ProjectLogo.d.ts.map +0 -1
  321. package/dist/src/components/layouts/PropsTable.d.ts.map +0 -1
  322. package/dist/src/components/layouts/ShowcaseCard.d.ts.map +0 -1
  323. package/dist/src/components/layouts/ShowcaseLayout.d.ts.map +0 -1
  324. package/dist/src/components/layouts/SidebarLayout.d.ts.map +0 -1
  325. package/dist/src/components/layouts/StateDisplay.d.ts.map +0 -1
  326. package/dist/src/components/layouts/index.d.ts.map +0 -1
  327. package/dist/src/components/loading/ContentSkeleton.d.ts.map +0 -1
  328. package/dist/src/components/loading/SmartLoadingIndicator.d.ts.map +0 -1
  329. package/dist/src/components/loading/index.d.ts.map +0 -1
  330. package/dist/src/components/maps/GoogleMap.d.ts.map +0 -1
  331. package/dist/src/components/maps/UiInfoWindow.d.ts.map +0 -1
  332. package/dist/src/components/maps/UiMap.d.ts.map +0 -1
  333. package/dist/src/components/maps/UiMapAll.d.ts.map +0 -1
  334. package/dist/src/components/maps/UiMapMarker.d.ts.map +0 -1
  335. package/dist/src/components/maps/index.d.ts.map +0 -1
  336. package/dist/src/components/modals/AlertModal.d.ts.map +0 -1
  337. package/dist/src/components/modals/BaseModal.d.ts.map +0 -1
  338. package/dist/src/components/modals/ImageCropperModal.d.ts.map +0 -1
  339. package/dist/src/components/modals/index.d.ts.map +0 -1
  340. package/dist/src/components/notifications/NotificationContainer.d.ts.map +0 -1
  341. package/dist/src/components/notifications/NotificationToast.d.ts.map +0 -1
  342. package/dist/src/components/notifications/index.d.ts.map +0 -1
  343. package/dist/src/components/stepper/StepperPanels.d.ts.map +0 -1
  344. package/dist/src/components/stepper/index.d.ts.map +0 -1
  345. package/dist/src/components/tabs/InlineTabs.d.ts.map +0 -1
  346. package/dist/src/components/tabs/TabGroup.d.ts.map +0 -1
  347. package/dist/src/components/tabs/TabGroupUnderline.d.ts.map +0 -1
  348. package/dist/src/components/tabs/TabsInPills.d.ts.map +0 -1
  349. package/dist/src/components/tabs/index.d.ts.map +0 -1
  350. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts.map +0 -1
  351. package/dist/src/components/wrappers/CardWrapper.d.ts.map +0 -1
  352. package/dist/src/components/wrappers/DisclosureWrapper.d.ts.map +0 -1
  353. package/dist/src/components/wrappers/FormErrorWrapper.d.ts.map +0 -1
  354. package/dist/src/components/wrappers/index.d.ts.map +0 -1
  355. package/dist/src/composables/index.d.ts.map +0 -1
  356. package/dist/src/composables/useCalendar.d.ts.map +0 -1
  357. package/dist/src/composables/useEventSegments.d.ts.map +0 -1
  358. package/dist/src/composables/useFormValidation.d.ts.map +0 -1
  359. package/dist/src/composables/useMap.d.ts.map +0 -1
  360. package/dist/src/composables/useModal.d.ts.map +0 -1
  361. package/dist/src/composables/useNotifications.d.ts.map +0 -1
  362. package/dist/src/composables/useSimpleTabs.d.ts.map +0 -1
  363. package/dist/src/composables/useStringTransform.d.ts.map +0 -1
  364. package/dist/src/composables/useTabs.d.ts.map +0 -1
  365. package/dist/src/composables/useTheme.d.ts.map +0 -1
  366. package/dist/src/config/css-variables.d.ts.map +0 -1
  367. package/dist/src/config/design-tokens.d.ts.map +0 -1
  368. package/dist/src/config/index.d.ts.map +0 -1
  369. package/dist/src/dev.d.ts.map +0 -1
  370. package/dist/src/index.d.ts.map +0 -1
  371. package/dist/src/plugin/configure.d.ts.map +0 -1
  372. package/dist/src/plugin/index.d.ts.map +0 -1
  373. package/dist/src/types/avatars.d.ts.map +0 -1
  374. package/dist/src/types/badges.d.ts.map +0 -1
  375. package/dist/src/types/calendars.d.ts.map +0 -1
  376. package/dist/src/types/core.d.ts.map +0 -1
  377. package/dist/src/types/form.d.ts.map +0 -1
  378. package/dist/src/types/forms.d.ts.map +0 -1
  379. package/dist/src/types/index.d.ts.map +0 -1
  380. package/dist/src/types/inputs.d.ts.map +0 -1
  381. package/dist/src/types/layouts.d.ts.map +0 -1
  382. package/dist/src/types/loading.d.ts.map +0 -1
  383. package/dist/src/types/maps.d.ts.map +0 -1
  384. package/dist/src/types/navigation.d.ts.map +0 -1
  385. package/dist/src/types/tables.d.ts.map +0 -1
  386. package/dist/src/types/tabs.d.ts.map +0 -1
  387. package/dist/src/types/transitions.d.ts.map +0 -1
  388. package/dist/src/types/ui.d.ts.map +0 -1
  389. package/dist/src/utils/calendar.d.ts.map +0 -1
  390. package/dist/src/utils/component-registry.d.ts.map +0 -1
  391. package/dist/src/utils/countryCodes.d.ts.map +0 -1
  392. package/dist/src/utils/id.d.ts.map +0 -1
  393. package/dist/src/utils/index.d.ts.map +0 -1
  394. package/dist/src/utils/mapThemes.d.ts.map +0 -1
  395. package/dist/src/utils/phone.d.ts.map +0 -1
  396. package/dist/src/utils/transitions.d.ts.map +0 -1
  397. package/dist/src/views/ButtonsShowcase.d.ts.map +0 -1
  398. package/dist/src/views/CalendarsShowcase.d.ts.map +0 -1
  399. package/dist/src/views/CardsShowcase.d.ts.map +0 -1
  400. package/dist/src/views/ChartsShowcase.d.ts.map +0 -1
  401. package/dist/src/views/EmptyStatesShowcase.d.ts.map +0 -1
  402. package/dist/src/views/InputsShowcase.d.ts.map +0 -1
  403. package/dist/src/views/KitchenSink.d.ts.map +0 -1
  404. package/dist/src/views/LayoutsShowcase.d.ts.map +0 -1
  405. package/dist/src/views/LoadingShowcase.d.ts.map +0 -1
  406. package/dist/src/views/MapsShowcase.d.ts.map +0 -1
  407. package/dist/src/views/ModalsShowcase.d.ts.map +0 -1
  408. package/dist/src/views/NotificationsShowcase.d.ts.map +0 -1
  409. package/dist/src/views/StepperShowcase.d.ts.map +0 -1
  410. package/dist/src/views/TabsShowcase.d.ts.map +0 -1
  411. package/dist/src/views/ValidationDemo.d.ts.map +0 -1
  412. package/dist/src/views/WrappersShowcase.d.ts.map +0 -1
  413. package/dist/src/views/components/AvatarPage.d.ts.map +0 -1
  414. package/dist/src/views/components/BadgePage.d.ts.map +0 -1
  415. package/dist/src/views/components/BannerPage.d.ts.map +0 -1
  416. package/dist/src/views/components/BreadcrumbPage.d.ts.map +0 -1
  417. package/dist/src/views/components/ButtonPage.d.ts.map +0 -1
  418. package/dist/src/views/components/CloudinaryImagePage.d.ts.map +0 -1
  419. package/dist/src/views/components/LoadingPage.d.ts.map +0 -1
  420. package/dist/src/views/components/MenuPage.d.ts.map +0 -1
  421. package/dist/src/views/components/ModalPage.d.ts.map +0 -1
  422. package/dist/src/views/components/ProgressPage.d.ts.map +0 -1
  423. package/dist/src/views/components/RichTextInputPage.d.ts.map +0 -1
  424. package/dist/src/views/components/TablePage.d.ts.map +0 -1
  425. package/dist/src/views/components/TextInputPage.d.ts.map +0 -1
  426. package/dist/src/views/components/TransitionPage.d.ts.map +0 -1
  427. package/dist/src/views/components/index.d.ts.map +0 -1
  428. package/dist/src/views/examples/CheckoutFormExample.d.ts.map +0 -1
  429. package/dist/src/views/examples/ContactFormExample.d.ts.map +0 -1
  430. package/dist/src/views/examples/RegistrationFormExample.d.ts.map +0 -1
  431. package/dist/src/views/examples/SettingsFormExample.d.ts.map +0 -1
  432. package/dist/src/views/examples/index.d.ts.map +0 -1
  433. package/dist/src/views/forms/ValidationPage.d.ts.map +0 -1
  434. package/dist/src/views/forms/index.d.ts.map +0 -1
  435. package/dist/src/views/index.d.ts.map +0 -1
  436. package/dist/src/views/inputs/CheckboxPage.d.ts.map +0 -1
  437. package/dist/src/views/inputs/ComboboxPage.d.ts.map +0 -1
  438. package/dist/src/views/inputs/DatepickerPage.d.ts.map +0 -1
  439. package/dist/src/views/inputs/EmailPage.d.ts.map +0 -1
  440. package/dist/src/views/inputs/FileDropzonePage.d.ts.map +0 -1
  441. package/dist/src/views/inputs/MiscInputsPage.d.ts.map +0 -1
  442. package/dist/src/views/inputs/PhonePage.d.ts.map +0 -1
  443. package/dist/src/views/inputs/SelectPage.d.ts.map +0 -1
  444. package/dist/src/views/inputs/SelectTextPage.d.ts.map +0 -1
  445. package/dist/src/views/inputs/SwitchGroupPage.d.ts.map +0 -1
  446. package/dist/src/views/inputs/SwitchPage.d.ts.map +0 -1
  447. package/dist/src/views/inputs/TextAreaPage.d.ts.map +0 -1
  448. package/dist/src/views/inputs/index.d.ts.map +0 -1
  449. package/dist/src/views/layouts/CardLayoutPage.d.ts.map +0 -1
  450. package/dist/src/views/layouts/DashboardLayoutPage.d.ts.map +0 -1
  451. package/dist/src/views/layouts/HeaderLayoutPage.d.ts.map +0 -1
  452. package/dist/src/views/layouts/SidebarLayoutPage.d.ts.map +0 -1
  453. package/dist/src/views/layouts/index.d.ts.map +0 -1
@@ -1,25 +1,25 @@
1
- import { computed as S, unref as D, shallowRef as ze, watch as W, triggerRef as me, onScopeDispose as Fe, onUnmounted as Ce, defineComponent as J, ref as $, provide as Re, onMounted as ve, h as oe, Fragment as Ee, watchEffect as ae, inject as Me, nextTick as X, toRaw as q, reactive as Pe, cloneVNode as De, createElementBlock as H, openBlock as _, createVNode as K, withCtx as U, createElementVNode as Q, normalizeClass as Y, createBlock as ue, createCommentVNode as G, withModifiers as de, toDisplayString as ne, renderList as $e } from "vue";
1
+ import { computed as O, unref as P, shallowRef as ze, watch as W, triggerRef as me, onScopeDispose as Fe, onUnmounted as Ce, defineComponent as J, ref as D, provide as Re, onMounted as fe, h as ae, Fragment as Ee, watchEffect as ie, inject as ke, nextTick as X, toRaw as q, reactive as Pe, cloneVNode as De, createElementBlock as H, openBlock as _, createVNode as K, withCtx as U, createElementVNode as Q, normalizeClass as Y, createBlock as de, createCommentVNode as G, withModifiers as ce, toDisplayString as oe, renderList as $e } from "vue";
2
2
  import { useField as Be } from "vee-validate";
3
3
  import Ne from "./forms/FormFieldWrapper.js";
4
4
  import { _ as Le } from "./UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js";
5
5
  import { g as je } from "./id-DafBB_QF.js";
6
6
  import { d as _e, e as We } from "./form-f8yP4kN-.js";
7
- import { o as ce, S as Ke } from "./transition-_rPfnoET.js";
8
- import { u as te, o as k, A as le, E as qe, T as fe, i as se, N as ie } from "./render-QUUPyNjX.js";
7
+ import { o as ve, S as Ke } from "./transition-_rPfnoET.js";
8
+ import { u as le, o as M, A as se, E as qe, T as pe, i as ne, N as re } from "./render-QUUPyNjX.js";
9
9
  import { w as He, i as Ue, O as Qe, n as Je } from "./use-outside-click-14T0Zn98.js";
10
10
  import { s as Ye } from "./use-resolve-button-type-h6n-lm9q.js";
11
11
  import { u as Ge, c as N, f as be } from "./calculate-active-index-Dim3sT-5.js";
12
12
  import { i as Xe } from "./use-tree-walker-Bo9gIb_K.js";
13
13
  import { f as Ze, u as et } from "./hidden-BSRluD1y.js";
14
- import { t as tt, i as re, l as lt } from "./open-closed-JTEvYTg2.js";
14
+ import { t as tt, i as ue, l as lt } from "./open-closed-JTEvYTg2.js";
15
15
  import { o as j } from "./keyboard-Dd_2-cFu.js";
16
16
  import { t as ge } from "./active-element-history-BTBNVIJN.js";
17
17
  import { r as st } from "./ChevronUpDownIcon-Bq_fsgrb.js";
18
18
  import { r as xe } from "./CheckIcon-BGlsmVwT.js";
19
- function ee(s, c, e) {
19
+ function te(s, c, e) {
20
20
  let n = e.initialDeps ?? [], t, a = !0;
21
21
  function o() {
22
- var l, p, v;
22
+ var l, f, v;
23
23
  let u;
24
24
  e.key && ((l = e.debug) != null && l.call(e)) && (u = Date.now());
25
25
  const i = s();
@@ -27,14 +27,14 @@ function ee(s, c, e) {
27
27
  return t;
28
28
  n = i;
29
29
  let R;
30
- if (e.key && ((p = e.debug) != null && p.call(e)) && (R = Date.now()), t = c(...i), e.key && ((v = e.debug) != null && v.call(e))) {
31
- const E = Math.round((Date.now() - u) * 100) / 100, w = Math.round((Date.now() - R) * 100) / 100, F = w / 16, B = (g, I) => {
30
+ if (e.key && ((f = e.debug) != null && f.call(e)) && (R = Date.now()), t = c(...i), e.key && ((v = e.debug) != null && v.call(e))) {
31
+ const E = Math.round((Date.now() - u) * 100) / 100, w = Math.round((Date.now() - R) * 100) / 100, F = w / 16, $ = (g, I) => {
32
32
  for (g = String(g); g.length < I; )
33
33
  g = " " + g;
34
34
  return g;
35
35
  };
36
36
  console.info(
37
- `%c⏱ ${B(w, 5)} /${B(E, 5)} ms`,
37
+ `%c⏱ ${$(w, 5)} /${$(E, 5)} ms`,
38
38
  `
39
39
  font-size: .6rem;
40
40
  font-weight: bold;
@@ -77,17 +77,17 @@ const nt = (s, c) => Math.abs(s - c) < 1.01, ot = (s, c, e) => {
77
77
  if (!n)
78
78
  return;
79
79
  const t = (o) => {
80
- const { width: l, height: p } = o;
81
- c({ width: Math.round(l), height: Math.round(p) });
80
+ const { width: l, height: f } = o;
81
+ c({ width: Math.round(l), height: Math.round(f) });
82
82
  };
83
83
  if (t(Se(e)), !n.ResizeObserver)
84
84
  return () => {
85
85
  };
86
86
  const a = new n.ResizeObserver((o) => {
87
87
  const l = () => {
88
- const p = o[0];
89
- if (p?.borderBoxSize) {
90
- const v = p.borderBoxSize[0];
88
+ const f = o[0];
89
+ if (f?.borderBoxSize) {
90
+ const v = f.borderBoxSize[0];
91
91
  if (v) {
92
92
  t({ width: v.inlineSize, height: v.blockSize });
93
93
  return;
@@ -120,11 +120,11 @@ const nt = (s, c) => Math.abs(s - c) < 1.01, ot = (s, c, e) => {
120
120
  ), o = (u) => () => {
121
121
  const { horizontal: i, isRtl: b } = s.options;
122
122
  t = i ? e.scrollLeft * (b && -1 || 1) : e.scrollTop, a(), c(t, u);
123
- }, l = o(!0), p = o(!1);
123
+ }, l = o(!0), f = o(!1);
124
124
  e.addEventListener("scroll", l, Oe);
125
125
  const v = s.options.useScrollendEvent && we;
126
- return v && e.addEventListener("scrollend", p, Oe), () => {
127
- e.removeEventListener("scroll", l), v && e.removeEventListener("scrollend", p);
126
+ return v && e.addEventListener("scrollend", f, Oe), () => {
127
+ e.removeEventListener("scroll", l), v && e.removeEventListener("scrollend", f);
128
128
  };
129
129
  }, dt = (s, c, e) => {
130
130
  if (c?.borderBoxSize) {
@@ -205,7 +205,7 @@ class vt {
205
205
  }, this.notify = (e) => {
206
206
  var n, t;
207
207
  (t = (n = this.options).onChange) == null || t.call(n, this, e);
208
- }, this.maybeNotify = ee(
208
+ }, this.maybeNotify = te(
209
209
  () => (this.calculateRange(), [
210
210
  this.isScrolling,
211
211
  this.range ? this.range.startIndex : null,
@@ -256,14 +256,14 @@ class vt {
256
256
  const l = e[o];
257
257
  if (t.has(l.lane))
258
258
  continue;
259
- const p = a.get(
259
+ const f = a.get(
260
260
  l.lane
261
261
  );
262
- if (p == null || l.end > p.end ? a.set(l.lane, l) : l.end < p.end && t.set(l.lane, !0), t.size === this.options.lanes)
262
+ if (f == null || l.end > f.end ? a.set(l.lane, l) : l.end < f.end && t.set(l.lane, !0), t.size === this.options.lanes)
263
263
  break;
264
264
  }
265
265
  return a.size === this.options.lanes ? Array.from(a.values()).sort((o, l) => o.end === l.end ? o.index - l.index : o.end - l.end)[0] : void 0;
266
- }, this.getMeasurementOptions = ee(
266
+ }, this.getMeasurementOptions = te(
267
267
  () => [
268
268
  this.options.count,
269
269
  this.options.paddingStart,
@@ -283,9 +283,9 @@ class vt {
283
283
  {
284
284
  key: !1
285
285
  }
286
- ), this.getMeasurements = ee(
286
+ ), this.getMeasurements = te(
287
287
  () => [this.getMeasurementOptions(), this.itemSizeCache],
288
- ({ count: e, paddingStart: n, scrollMargin: t, getItemKey: a, enabled: o, lanes: l }, p) => {
288
+ ({ count: e, paddingStart: n, scrollMargin: t, getItemKey: a, enabled: o, lanes: l }, f) => {
289
289
  if (!o)
290
290
  return this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
291
291
  if (this.laneAssignments.size > e)
@@ -308,13 +308,13 @@ class vt {
308
308
  let w, F;
309
309
  if (E !== void 0 && this.options.lanes > 1) {
310
310
  w = E;
311
- const z = i[w], f = z !== void 0 ? u[z] : void 0;
312
- F = f ? f.end + this.options.gap : n + t;
311
+ const z = i[w], p = z !== void 0 ? u[z] : void 0;
312
+ F = p ? p.end + this.options.gap : n + t;
313
313
  } else {
314
314
  const z = this.options.lanes === 1 ? u[b - 1] : this.getFurthestMeasurement(u, b);
315
315
  F = z ? z.end + this.options.gap : n + t, w = z ? z.lane : b % this.options.lanes, this.options.lanes > 1 && this.laneAssignments.set(b, w);
316
316
  }
317
- const B = p.get(R), g = typeof B == "number" ? B : this.options.estimateSize(b), I = F + g;
317
+ const $ = f.get(R), g = typeof $ == "number" ? $ : this.options.estimateSize(b), I = F + g;
318
318
  u[b] = {
319
319
  index: b,
320
320
  start: F,
@@ -330,7 +330,7 @@ class vt {
330
330
  key: process.env.NODE_ENV !== "production" && "getMeasurements",
331
331
  debug: () => this.options.debug
332
332
  }
333
- ), this.calculateRange = ee(
333
+ ), this.calculateRange = te(
334
334
  () => [
335
335
  this.getMeasurements(),
336
336
  this.getSize(),
@@ -347,7 +347,7 @@ class vt {
347
347
  key: process.env.NODE_ENV !== "production" && "calculateRange",
348
348
  debug: () => this.options.debug
349
349
  }
350
- ), this.getVirtualIndexes = ee(
350
+ ), this.getVirtualIndexes = te(
351
351
  () => {
352
352
  let e = null, n = null;
353
353
  const t = this.calculateRange();
@@ -397,13 +397,13 @@ class vt {
397
397
  return;
398
398
  }
399
399
  this._measureElement(e, void 0);
400
- }, this.getVirtualItems = ee(
400
+ }, this.getVirtualItems = te(
401
401
  () => [this.getVirtualIndexes(), this.getMeasurements()],
402
402
  (e, n) => {
403
403
  const t = [];
404
404
  for (let a = 0, o = e.length; a < o; a++) {
405
- const l = e[a], p = n[l];
406
- t.push(p);
405
+ const l = e[a], f = n[l];
406
+ t.push(f);
407
407
  }
408
408
  return t;
409
409
  },
@@ -415,7 +415,7 @@ class vt {
415
415
  const n = this.getMeasurements();
416
416
  if (n.length !== 0)
417
417
  return ye(
418
- n[ke(
418
+ n[Me(
419
419
  0,
420
420
  n.length - 1,
421
421
  (t) => ye(n[t]).start,
@@ -484,11 +484,11 @@ class vt {
484
484
  console.warn("Failed to get offset for index:", e);
485
485
  return;
486
486
  }
487
- nt(w[0], E) || p(b);
487
+ nt(w[0], E) || f(b);
488
488
  };
489
489
  this.isDynamicMode() ? this.targetWindow.requestAnimationFrame(R) : R();
490
490
  });
491
- }, p = (v) => {
491
+ }, f = (v) => {
492
492
  this.targetWindow && this.currentScrollToIndex === e && (a++, a < o ? (process.env.NODE_ENV !== "production" && this.options.debug && console.info("Schedule retry", a, o), this.targetWindow.requestAnimationFrame(() => l(v))) : console.warn(
493
493
  `Failed to scroll to index ${e} after ${o} attempts.`
494
494
  ));
@@ -532,7 +532,7 @@ class vt {
532
532
  }, this.setOptions(c);
533
533
  }
534
534
  }
535
- const ke = (s, c, e, n) => {
535
+ const Me = (s, c, e, n) => {
536
536
  for (; s <= c; ) {
537
537
  const t = (s + c) / 2 | 0, a = e(t);
538
538
  if (a < n)
@@ -550,13 +550,13 @@ function ft({
550
550
  scrollOffset: e,
551
551
  lanes: n
552
552
  }) {
553
- const t = s.length - 1, a = (p) => s[p].start;
553
+ const t = s.length - 1, a = (f) => s[f].start;
554
554
  if (s.length <= n)
555
555
  return {
556
556
  startIndex: 0,
557
557
  endIndex: t
558
558
  };
559
- let o = ke(
559
+ let o = Me(
560
560
  0,
561
561
  t,
562
562
  a,
@@ -566,10 +566,10 @@ function ft({
566
566
  for (; l < t && s[l].end < e + c; )
567
567
  l++;
568
568
  else if (n > 1) {
569
- const p = Array(n).fill(0);
570
- for (; l < t && p.some((u) => u < e + c); ) {
569
+ const f = Array(n).fill(0);
570
+ for (; l < t && f.some((u) => u < e + c); ) {
571
571
  const u = s[l];
572
- p[u.lane] = u.end, l++;
572
+ f[u.lane] = u.end, l++;
573
573
  }
574
574
  const v = Array(n).fill(e + c);
575
575
  for (; o >= 0 && v.some((u) => u >= e); ) {
@@ -581,9 +581,9 @@ function ft({
581
581
  return { startIndex: o, endIndex: l };
582
582
  }
583
583
  function pt(s) {
584
- const c = new vt(D(s)), e = ze(c), n = c._didMount();
584
+ const c = new vt(P(s)), e = ze(c), n = c._didMount();
585
585
  return W(
586
- () => D(s).getScrollElement(),
586
+ () => P(s).getScrollElement(),
587
587
  (t) => {
588
588
  t && c._willUpdate();
589
589
  },
@@ -591,7 +591,7 @@ function pt(s) {
591
591
  immediate: !0
592
592
  }
593
593
  ), W(
594
- () => D(s),
594
+ () => P(s),
595
595
  (t) => {
596
596
  c.setOptions({
597
597
  ...t,
@@ -608,16 +608,16 @@ function pt(s) {
608
608
  }
609
609
  function ht(s) {
610
610
  return pt(
611
- S(() => ({
611
+ O(() => ({
612
612
  observeElementRect: rt,
613
613
  observeElementOffset: ut,
614
614
  scrollToFn: ct,
615
- ...D(s)
615
+ ...P(s)
616
616
  }))
617
617
  );
618
618
  }
619
619
  function mt() {
620
- let s = ce();
620
+ let s = ve();
621
621
  return Ce(() => s.dispose()), s;
622
622
  }
623
623
  function bt() {
@@ -633,7 +633,7 @@ function gt(s, c) {
633
633
  var xt = ((s) => (s[s.Open = 0] = "Open", s[s.Closed = 1] = "Closed", s))(xt || {}), yt = ((s) => (s[s.Single = 0] = "Single", s[s.Multi = 1] = "Multi", s))(yt || {}), St = ((s) => (s[s.Pointer = 0] = "Pointer", s[s.Focus = 1] = "Focus", s[s.Other = 2] = "Other", s))(St || {});
634
634
  let Te = Symbol("ComboboxContext");
635
635
  function Z(s) {
636
- let c = Me(Te, null);
636
+ let c = ke(Te, null);
637
637
  if (c === null) {
638
638
  let e = new Error(`<${s} /> is missing a parent <Combobox /> component.`);
639
639
  throw Error.captureStackTrace && Error.captureStackTrace(e, Z), e;
@@ -641,70 +641,70 @@ function Z(s) {
641
641
  return c;
642
642
  }
643
643
  let Ve = Symbol("VirtualContext"), Ot = J({ name: "VirtualProvider", setup(s, { slots: c }) {
644
- let e = Z("VirtualProvider"), n = S(() => {
645
- let l = k(e.optionsRef);
644
+ let e = Z("VirtualProvider"), n = O(() => {
645
+ let l = M(e.optionsRef);
646
646
  if (!l) return { start: 0, end: 0 };
647
- let p = window.getComputedStyle(l);
648
- return { start: parseFloat(p.paddingBlockStart || p.paddingTop), end: parseFloat(p.paddingBlockEnd || p.paddingBottom) };
649
- }), t = ht(S(() => ({ scrollPaddingStart: n.value.start, scrollPaddingEnd: n.value.end, count: e.virtual.value.options.length, estimateSize() {
647
+ let f = window.getComputedStyle(l);
648
+ return { start: parseFloat(f.paddingBlockStart || f.paddingTop), end: parseFloat(f.paddingBlockEnd || f.paddingBottom) };
649
+ }), t = ht(O(() => ({ scrollPaddingStart: n.value.start, scrollPaddingEnd: n.value.end, count: e.virtual.value.options.length, estimateSize() {
650
650
  return 40;
651
651
  }, getScrollElement() {
652
- return k(e.optionsRef);
653
- }, overscan: 12 }))), a = S(() => {
652
+ return M(e.optionsRef);
653
+ }, overscan: 12 }))), a = O(() => {
654
654
  var l;
655
655
  return (l = e.virtual.value) == null ? void 0 : l.options;
656
- }), o = $(0);
656
+ }), o = D(0);
657
657
  return W([a], () => {
658
658
  o.value += 1;
659
- }), Re(Ve, e.virtual.value ? t : null), () => [oe("div", { style: { position: "relative", width: "100%", height: `${t.value.getTotalSize()}px` }, ref: (l) => {
659
+ }), Re(Ve, e.virtual.value ? t : null), () => [ae("div", { style: { position: "relative", width: "100%", height: `${t.value.getTotalSize()}px` }, ref: (l) => {
660
660
  if (l) {
661
661
  if (typeof process < "u" && process.env.JEST_WORKER_ID !== void 0 || e.activationTrigger.value === 0) return;
662
662
  e.activeOptionIndex.value !== null && e.virtual.value.options.length > e.activeOptionIndex.value && t.value.scrollToIndex(e.activeOptionIndex.value);
663
663
  }
664
664
  } }, t.value.getVirtualItems().map((l) => De(c.default({ option: e.virtual.value.options[l.index], open: e.comboboxState.value === 0 })[0], { key: `${o.value}-${l.index}`, "data-index": l.index, "aria-setsize": e.virtual.value.options.length, "aria-posinset": l.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${l.start}px)`, overflowAnchor: "none" } })))];
665
665
  } }), wt = J({ name: "Combobox", emits: { "update:modelValue": (s) => !0 }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], nullable: !0, default: null }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, nullable: { type: Boolean, default: !1 }, multiple: { type: [Boolean], default: !1 }, immediate: { type: [Boolean], default: !1 }, virtual: { type: Object, default: null } }, inheritAttrs: !1, setup(s, { slots: c, attrs: e, emit: n }) {
666
- let t = $(1), a = $(null), o = $(null), l = $(null), p = $(null), v = $({ static: !1, hold: !1 }), u = $([]), i = $(null), b = $(2), R = $(!1);
667
- function E(r = (h) => h) {
668
- let h = i.value !== null ? u.value[i.value] : null, x = r(u.value.slice()), y = x.length > 0 && x[0].dataRef.order.value !== null ? x.sort((V, L) => V.dataRef.order.value - L.dataRef.order.value) : Qe(x, (V) => k(V.dataRef.domRef)), T = h ? y.indexOf(h) : null;
669
- return T === -1 && (T = null), { options: y, activeOptionIndex: T };
666
+ let t = D(1), a = D(null), o = D(null), l = D(null), f = D(null), v = D({ static: !1, hold: !1 }), u = D([]), i = D(null), b = D(2), R = D(!1);
667
+ function E(r = (m) => m) {
668
+ let m = i.value !== null ? u.value[i.value] : null, y = r(u.value.slice()), S = y.length > 0 && y[0].dataRef.order.value !== null ? y.sort((V, L) => V.dataRef.order.value - L.dataRef.order.value) : Qe(y, (V) => M(V.dataRef.domRef)), T = m ? S.indexOf(m) : null;
669
+ return T === -1 && (T = null), { options: S, activeOptionIndex: T };
670
670
  }
671
- let w = S(() => s.multiple ? 1 : 0), F = S(() => s.nullable), [B, g] = _e(S(() => s.modelValue), (r) => n("update:modelValue", r), S(() => s.defaultValue)), I = S(() => B.value === void 0 ? te(w.value, { 1: [], 0: void 0 }) : B.value), z = null, f = null;
672
- function M(r) {
673
- return te(w.value, { 0() {
671
+ let w = O(() => s.multiple ? 1 : 0), F = O(() => s.nullable), [$, g] = _e(O(() => s.modelValue), (r) => n("update:modelValue", r), O(() => s.defaultValue)), I = O(() => $.value === void 0 ? le(w.value, { 1: [], 0: void 0 }) : $.value), z = null, p = null;
672
+ function k(r) {
673
+ return le(w.value, { 0() {
674
674
  return g?.(r);
675
675
  }, 1: () => {
676
- let h = q(d.value.value).slice(), x = q(r), y = h.findIndex((T) => d.compare(x, q(T)));
677
- return y === -1 ? h.push(x) : h.splice(y, 1), g?.(h);
676
+ let m = q(d.value.value).slice(), y = q(r), S = m.findIndex((T) => d.compare(y, q(T)));
677
+ return S === -1 ? m.push(y) : m.splice(S, 1), g?.(m);
678
678
  } });
679
679
  }
680
- let A = S(() => {
680
+ let A = O(() => {
681
681
  });
682
- W([A], ([r], [h]) => {
683
- if (d.virtual.value && r && h && i.value !== null) {
684
- let x = r.indexOf(h[i.value]);
685
- x !== -1 ? i.value = x : i.value = null;
682
+ W([A], ([r], [m]) => {
683
+ if (d.virtual.value && r && m && i.value !== null) {
684
+ let y = r.indexOf(m[i.value]);
685
+ y !== -1 ? i.value = y : i.value = null;
686
686
  }
687
687
  });
688
- let d = { comboboxState: t, value: I, mode: w, compare(r, h) {
688
+ let d = { comboboxState: t, value: I, mode: w, compare(r, m) {
689
689
  if (typeof s.by == "string") {
690
- let x = s.by;
691
- return r?.[x] === h?.[x];
690
+ let y = s.by;
691
+ return r?.[y] === m?.[y];
692
692
  }
693
- return s.by === null ? gt(r, h) : s.by(r, h);
693
+ return s.by === null ? gt(r, m) : s.by(r, m);
694
694
  }, calculateIndex(r) {
695
- return d.virtual.value ? s.by === null ? d.virtual.value.options.indexOf(r) : d.virtual.value.options.findIndex((h) => d.compare(h, r)) : u.value.findIndex((h) => d.compare(h.dataRef.value, r));
696
- }, defaultValue: S(() => s.defaultValue), nullable: F, immediate: S(() => !1), virtual: S(() => null), inputRef: o, labelRef: a, buttonRef: l, optionsRef: p, disabled: S(() => s.disabled), options: u, change(r) {
695
+ return d.virtual.value ? s.by === null ? d.virtual.value.options.indexOf(r) : d.virtual.value.options.findIndex((m) => d.compare(m, r)) : u.value.findIndex((m) => d.compare(m.dataRef.value, r));
696
+ }, defaultValue: O(() => s.defaultValue), nullable: F, immediate: O(() => !1), virtual: O(() => null), inputRef: o, labelRef: a, buttonRef: l, optionsRef: f, disabled: O(() => s.disabled), options: u, change(r) {
697
697
  g(r);
698
- }, activeOptionIndex: S(() => {
698
+ }, activeOptionIndex: O(() => {
699
699
  if (R.value && i.value === null && (d.virtual.value ? d.virtual.value.options.length > 0 : u.value.length > 0)) {
700
700
  if (d.virtual.value) {
701
- let h = d.virtual.value.options.findIndex((x) => {
702
- var y;
703
- return !((y = d.virtual.value) != null && y.disabled(x));
701
+ let m = d.virtual.value.options.findIndex((y) => {
702
+ var S;
703
+ return !((S = d.virtual.value) != null && S.disabled(y));
704
704
  });
705
- if (h !== -1) return h;
705
+ if (m !== -1) return m;
706
706
  }
707
- let r = u.value.findIndex((h) => !h.dataRef.disabled);
707
+ let r = u.value.findIndex((m) => !m.dataRef.disabled);
708
708
  if (r !== -1) return r;
709
709
  }
710
710
  return i.value;
@@ -720,115 +720,115 @@ let Ve = Symbol("VirtualContext"), Ot = J({ name: "VirtualProvider", setup(s, {
720
720
  }
721
721
  }, setActivationTrigger(r) {
722
722
  b.value = r;
723
- }, goToOption(r, h, x) {
723
+ }, goToOption(r, m, y) {
724
724
  R.value = !1, z !== null && cancelAnimationFrame(z), z = requestAnimationFrame(() => {
725
- if (s.disabled || p.value && !v.value.static && t.value === 1) return;
725
+ if (s.disabled || f.value && !v.value.static && t.value === 1) return;
726
726
  if (d.virtual.value) {
727
- i.value = r === N.Specific ? h : be({ focus: r }, { resolveItems: () => d.virtual.value.options, resolveActiveIndex: () => {
727
+ i.value = r === N.Specific ? m : be({ focus: r }, { resolveItems: () => d.virtual.value.options, resolveActiveIndex: () => {
728
728
  var V, L;
729
- return (L = (V = d.activeOptionIndex.value) != null ? V : d.virtual.value.options.findIndex((m) => {
730
- var O;
731
- return !((O = d.virtual.value) != null && O.disabled(m));
729
+ return (L = (V = d.activeOptionIndex.value) != null ? V : d.virtual.value.options.findIndex((h) => {
730
+ var x;
731
+ return !((x = d.virtual.value) != null && x.disabled(h));
732
732
  })) != null ? L : null;
733
733
  }, resolveDisabled: (V) => d.virtual.value.disabled(V), resolveId() {
734
734
  throw new Error("Function not implemented.");
735
- } }), b.value = x ?? 2;
735
+ } }), b.value = y ?? 2;
736
736
  return;
737
737
  }
738
- let y = E();
739
- if (y.activeOptionIndex === null) {
740
- let V = y.options.findIndex((L) => !L.dataRef.disabled);
741
- V !== -1 && (y.activeOptionIndex = V);
738
+ let S = E();
739
+ if (S.activeOptionIndex === null) {
740
+ let V = S.options.findIndex((L) => !L.dataRef.disabled);
741
+ V !== -1 && (S.activeOptionIndex = V);
742
742
  }
743
- let T = r === N.Specific ? h : be({ focus: r }, { resolveItems: () => y.options, resolveActiveIndex: () => y.activeOptionIndex, resolveId: (V) => V.id, resolveDisabled: (V) => V.dataRef.disabled });
744
- i.value = T, b.value = x ?? 2, u.value = y.options;
743
+ let T = r === N.Specific ? m : be({ focus: r }, { resolveItems: () => S.options, resolveActiveIndex: () => S.activeOptionIndex, resolveId: (V) => V.id, resolveDisabled: (V) => V.dataRef.disabled });
744
+ i.value = T, b.value = y ?? 2, u.value = S.options;
745
745
  });
746
746
  }, selectOption(r) {
747
- let h = u.value.find((y) => y.id === r);
748
- if (!h) return;
749
- let { dataRef: x } = h;
750
- M(x.value);
747
+ let m = u.value.find((S) => S.id === r);
748
+ if (!m) return;
749
+ let { dataRef: y } = m;
750
+ k(y.value);
751
751
  }, selectActiveOption() {
752
752
  if (d.activeOptionIndex.value !== null) {
753
- if (d.virtual.value) M(d.virtual.value.options[d.activeOptionIndex.value]);
753
+ if (d.virtual.value) k(d.virtual.value.options[d.activeOptionIndex.value]);
754
754
  else {
755
755
  let { dataRef: r } = u.value[d.activeOptionIndex.value];
756
- M(r.value);
756
+ k(r.value);
757
757
  }
758
758
  d.goToOption(N.Specific, d.activeOptionIndex.value);
759
759
  }
760
- }, registerOption(r, h) {
761
- let x = Pe({ id: r, dataRef: h });
760
+ }, registerOption(r, m) {
761
+ let y = Pe({ id: r, dataRef: m });
762
762
  if (d.virtual.value) {
763
- u.value.push(x);
763
+ u.value.push(y);
764
764
  return;
765
765
  }
766
- f && cancelAnimationFrame(f);
767
- let y = E((T) => (T.push(x), T));
768
- i.value === null && d.isSelected(h.value.value) && (y.activeOptionIndex = y.options.indexOf(x)), u.value = y.options, i.value = y.activeOptionIndex, b.value = 2, y.options.some((T) => !k(T.dataRef.domRef)) && (f = requestAnimationFrame(() => {
766
+ p && cancelAnimationFrame(p);
767
+ let S = E((T) => (T.push(y), T));
768
+ i.value === null && d.isSelected(m.value.value) && (S.activeOptionIndex = S.options.indexOf(y)), u.value = S.options, i.value = S.activeOptionIndex, b.value = 2, S.options.some((T) => !M(T.dataRef.domRef)) && (p = requestAnimationFrame(() => {
769
769
  let T = E();
770
770
  u.value = T.options, i.value = T.activeOptionIndex;
771
771
  }));
772
- }, unregisterOption(r, h) {
773
- if (z !== null && cancelAnimationFrame(z), h && (R.value = !0), d.virtual.value) {
774
- u.value = u.value.filter((y) => y.id !== r);
772
+ }, unregisterOption(r, m) {
773
+ if (z !== null && cancelAnimationFrame(z), m && (R.value = !0), d.virtual.value) {
774
+ u.value = u.value.filter((S) => S.id !== r);
775
775
  return;
776
776
  }
777
- let x = E((y) => {
778
- let T = y.findIndex((V) => V.id === r);
779
- return T !== -1 && y.splice(T, 1), y;
777
+ let y = E((S) => {
778
+ let T = S.findIndex((V) => V.id === r);
779
+ return T !== -1 && S.splice(T, 1), S;
780
780
  });
781
- u.value = x.options, i.value = x.activeOptionIndex, b.value = 2;
781
+ u.value = y.options, i.value = y.activeOptionIndex, b.value = 2;
782
782
  }, isSelected(r) {
783
- return te(w.value, { 0: () => d.compare(q(d.value.value), q(r)), 1: () => q(d.value.value).some((h) => d.compare(q(h), q(r))) });
783
+ return le(w.value, { 0: () => d.compare(q(d.value.value), q(r)), 1: () => q(d.value.value).some((m) => d.compare(q(m), q(r))) });
784
784
  }, isActive(r) {
785
785
  return i.value === d.calculateIndex(r);
786
786
  } };
787
- He([o, l, p], () => d.closeCombobox(), S(() => t.value === 0)), Re(Te, d), tt(S(() => te(t.value, { 0: re.Open, 1: re.Closed })));
788
- let C = S(() => {
787
+ He([o, l, f], () => d.closeCombobox(), O(() => t.value === 0)), Re(Te, d), tt(O(() => le(t.value, { 0: ue.Open, 1: ue.Closed })));
788
+ let C = O(() => {
789
789
  var r;
790
- return (r = k(o)) == null ? void 0 : r.closest("form");
790
+ return (r = M(o)) == null ? void 0 : r.closest("form");
791
791
  });
792
- return ve(() => {
792
+ return fe(() => {
793
793
  W([C], () => {
794
794
  if (!C.value || s.defaultValue === void 0) return;
795
795
  function r() {
796
796
  d.change(s.defaultValue);
797
797
  }
798
798
  return C.value.addEventListener("reset", r), () => {
799
- var h;
800
- (h = C.value) == null || h.removeEventListener("reset", r);
799
+ var m;
800
+ (m = C.value) == null || m.removeEventListener("reset", r);
801
801
  };
802
802
  }, { immediate: !0 });
803
803
  }), () => {
804
- var r, h, x;
805
- let { name: y, disabled: T, form: V, ...L } = s, m = { open: t.value === 0, disabled: T, activeIndex: d.activeOptionIndex.value, activeOption: d.activeOptionIndex.value === null ? null : d.virtual.value ? d.virtual.value.options[(r = d.activeOptionIndex.value) != null ? r : 0] : (x = (h = d.options.value[d.activeOptionIndex.value]) == null ? void 0 : h.dataRef.value) != null ? x : null, value: I.value };
806
- return oe(Ee, [...y != null && I.value != null ? We({ [y]: I.value }).map(([O, P]) => oe(Ze, qe({ features: et.Hidden, key: O, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: V, disabled: T, name: O, value: P }))) : [], le({ theirProps: { ...e, ...fe(L, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: m, slots: c, attrs: e, name: "Combobox" })]);
804
+ var r, m, y;
805
+ let { name: S, disabled: T, form: V, ...L } = s, h = { open: t.value === 0, disabled: T, activeIndex: d.activeOptionIndex.value, activeOption: d.activeOptionIndex.value === null ? null : d.virtual.value ? d.virtual.value.options[(r = d.activeOptionIndex.value) != null ? r : 0] : (y = (m = d.options.value[d.activeOptionIndex.value]) == null ? void 0 : m.dataRef.value) != null ? y : null, value: I.value };
806
+ return ae(Ee, [...S != null && I.value != null ? We({ [S]: I.value }).map(([x, B]) => ae(Ze, qe({ features: et.Hidden, key: x, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: V, disabled: T, name: x, value: B }))) : [], se({ theirProps: { ...e, ...pe(L, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: h, slots: c, attrs: e, name: "Combobox" })]);
807
807
  };
808
808
  } });
809
809
  J({ name: "ComboboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(s, { attrs: c, slots: e }) {
810
810
  var n;
811
- let t = (n = s.id) != null ? n : `headlessui-combobox-label-${se()}`, a = Z("ComboboxLabel");
811
+ let t = (n = s.id) != null ? n : `headlessui-combobox-label-${ne()}`, a = Z("ComboboxLabel");
812
812
  function o() {
813
813
  var l;
814
- (l = k(a.inputRef)) == null || l.focus({ preventScroll: !0 });
814
+ (l = M(a.inputRef)) == null || l.focus({ preventScroll: !0 });
815
815
  }
816
816
  return () => {
817
- let l = { open: a.comboboxState.value === 0, disabled: a.disabled.value }, { ...p } = s, v = { id: t, ref: a.labelRef, onClick: o };
818
- return le({ ourProps: v, theirProps: p, slot: l, attrs: c, slots: e, name: "ComboboxLabel" });
817
+ let l = { open: a.comboboxState.value === 0, disabled: a.disabled.value }, { ...f } = s, v = { id: t, ref: a.labelRef, onClick: o };
818
+ return se({ ourProps: v, theirProps: f, slot: l, attrs: c, slots: e, name: "ComboboxLabel" });
819
819
  };
820
820
  } });
821
821
  let It = J({ name: "ComboboxButton", props: { as: { type: [Object, String], default: "button" }, id: { type: String, default: null } }, setup(s, { attrs: c, slots: e, expose: n }) {
822
822
  var t;
823
- let a = (t = s.id) != null ? t : `headlessui-combobox-button-${se()}`, o = Z("ComboboxButton");
823
+ let a = (t = s.id) != null ? t : `headlessui-combobox-button-${ne()}`, o = Z("ComboboxButton");
824
824
  n({ el: o.buttonRef, $el: o.buttonRef });
825
825
  function l(u) {
826
826
  o.disabled.value || (o.comboboxState.value === 0 ? o.closeCombobox() : (u.preventDefault(), o.openCombobox()), X(() => {
827
827
  var i;
828
- return (i = k(o.inputRef)) == null ? void 0 : i.focus({ preventScroll: !0 });
828
+ return (i = M(o.inputRef)) == null ? void 0 : i.focus({ preventScroll: !0 });
829
829
  }));
830
830
  }
831
- function p(u) {
831
+ function f(u) {
832
832
  switch (u.key) {
833
833
  case j.ArrowDown:
834
834
  u.preventDefault(), u.stopPropagation(), o.comboboxState.value === 1 && o.openCombobox(), X(() => {
@@ -853,89 +853,89 @@ let It = J({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
853
853
  return;
854
854
  }
855
855
  }
856
- let v = Ye(S(() => ({ as: s.as, type: c.type })), o.buttonRef);
856
+ let v = Ye(O(() => ({ as: s.as, type: c.type })), o.buttonRef);
857
857
  return () => {
858
858
  var u, i;
859
- let b = { open: o.comboboxState.value === 0, disabled: o.disabled.value, value: o.value.value }, { ...R } = s, E = { ref: o.buttonRef, id: a, type: v.value, tabindex: "-1", "aria-haspopup": "listbox", "aria-controls": (u = k(o.optionsRef)) == null ? void 0 : u.id, "aria-expanded": o.comboboxState.value === 0, "aria-labelledby": o.labelRef.value ? [(i = k(o.labelRef)) == null ? void 0 : i.id, a].join(" ") : void 0, disabled: o.disabled.value === !0 ? !0 : void 0, onKeydown: p, onClick: l };
860
- return le({ ourProps: E, theirProps: R, slot: b, attrs: c, slots: e, name: "ComboboxButton" });
859
+ let b = { open: o.comboboxState.value === 0, disabled: o.disabled.value, value: o.value.value }, { ...R } = s, E = { ref: o.buttonRef, id: a, type: v.value, tabindex: "-1", "aria-haspopup": "listbox", "aria-controls": (u = M(o.optionsRef)) == null ? void 0 : u.id, "aria-expanded": o.comboboxState.value === 0, "aria-labelledby": o.labelRef.value ? [(i = M(o.labelRef)) == null ? void 0 : i.id, a].join(" ") : void 0, disabled: o.disabled.value === !0 ? !0 : void 0, onKeydown: f, onClick: l };
860
+ return se({ ourProps: E, theirProps: R, slot: b, attrs: c, slots: e, name: "ComboboxButton" });
861
861
  };
862
862
  } }), Ct = J({ name: "ComboboxInput", props: { as: { type: [Object, String], default: "input" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, displayValue: { type: Function }, defaultValue: { type: String, default: void 0 }, id: { type: String, default: null } }, emits: { change: (s) => !0 }, setup(s, { emit: c, attrs: e, slots: n, expose: t }) {
863
863
  var a;
864
- let o = (a = s.id) != null ? a : `headlessui-combobox-input-${se()}`, l = Z("ComboboxInput"), p = S(() => Ue(k(l.inputRef))), v = { value: !1 };
864
+ let o = (a = s.id) != null ? a : `headlessui-combobox-input-${ne()}`, l = Z("ComboboxInput"), f = O(() => Ue(M(l.inputRef))), v = { value: !1 };
865
865
  t({ el: l.inputRef, $el: l.inputRef });
866
866
  function u() {
867
867
  l.change(null);
868
- let f = k(l.optionsRef);
869
- f && (f.scrollTop = 0), l.goToOption(N.Nothing);
868
+ let p = M(l.optionsRef);
869
+ p && (p.scrollTop = 0), l.goToOption(N.Nothing);
870
870
  }
871
- let i = S(() => {
872
- var f;
873
- let M = l.value.value;
874
- return k(l.inputRef) ? typeof s.displayValue < "u" && M !== void 0 ? (f = s.displayValue(M)) != null ? f : "" : typeof M == "string" ? M : "" : "";
871
+ let i = O(() => {
872
+ var p;
873
+ let k = l.value.value;
874
+ return M(l.inputRef) ? typeof s.displayValue < "u" && k !== void 0 ? (p = s.displayValue(k)) != null ? p : "" : typeof k == "string" ? k : "" : "";
875
875
  });
876
- ve(() => {
877
- W([i, l.comboboxState, p], ([f, M], [A, d]) => {
876
+ fe(() => {
877
+ W([i, l.comboboxState, f], ([p, k], [A, d]) => {
878
878
  if (v.value) return;
879
- let C = k(l.inputRef);
880
- C && ((d === 0 && M === 1 || f !== A) && (C.value = f), requestAnimationFrame(() => {
879
+ let C = M(l.inputRef);
880
+ C && ((d === 0 && k === 1 || p !== A) && (C.value = p), requestAnimationFrame(() => {
881
881
  var r;
882
- if (v.value || !C || ((r = p.value) == null ? void 0 : r.activeElement) !== C) return;
883
- let { selectionStart: h, selectionEnd: x } = C;
884
- Math.abs((x ?? 0) - (h ?? 0)) === 0 && h === 0 && C.setSelectionRange(C.value.length, C.value.length);
882
+ if (v.value || !C || ((r = f.value) == null ? void 0 : r.activeElement) !== C) return;
883
+ let { selectionStart: m, selectionEnd: y } = C;
884
+ Math.abs((y ?? 0) - (m ?? 0)) === 0 && m === 0 && C.setSelectionRange(C.value.length, C.value.length);
885
885
  }));
886
- }, { immediate: !0 }), W([l.comboboxState], ([f], [M]) => {
887
- if (f === 0 && M === 1) {
886
+ }, { immediate: !0 }), W([l.comboboxState], ([p], [k]) => {
887
+ if (p === 0 && k === 1) {
888
888
  if (v.value) return;
889
- let A = k(l.inputRef);
889
+ let A = M(l.inputRef);
890
890
  if (!A) return;
891
- let d = A.value, { selectionStart: C, selectionEnd: r, selectionDirection: h } = A;
892
- A.value = "", A.value = d, h !== null ? A.setSelectionRange(C, r, h) : A.setSelectionRange(C, r);
891
+ let d = A.value, { selectionStart: C, selectionEnd: r, selectionDirection: m } = A;
892
+ A.value = "", A.value = d, m !== null ? A.setSelectionRange(C, r, m) : A.setSelectionRange(C, r);
893
893
  }
894
894
  });
895
895
  });
896
- let b = $(!1);
896
+ let b = D(!1);
897
897
  function R() {
898
898
  b.value = !0;
899
899
  }
900
900
  function E() {
901
- ce().nextFrame(() => {
901
+ ve().nextFrame(() => {
902
902
  b.value = !1;
903
903
  });
904
904
  }
905
905
  let w = bt();
906
- function F(f) {
906
+ function F(p) {
907
907
  switch (v.value = !0, w(() => {
908
908
  v.value = !1;
909
- }), f.key) {
909
+ }), p.key) {
910
910
  case j.Enter:
911
911
  if (v.value = !1, l.comboboxState.value !== 0 || b.value) return;
912
- if (f.preventDefault(), f.stopPropagation(), l.activeOptionIndex.value === null) {
912
+ if (p.preventDefault(), p.stopPropagation(), l.activeOptionIndex.value === null) {
913
913
  l.closeCombobox();
914
914
  return;
915
915
  }
916
916
  l.selectActiveOption(), l.mode.value === 0 && l.closeCombobox();
917
917
  break;
918
918
  case j.ArrowDown:
919
- return v.value = !1, f.preventDefault(), f.stopPropagation(), te(l.comboboxState.value, { 0: () => l.goToOption(N.Next), 1: () => l.openCombobox() });
919
+ return v.value = !1, p.preventDefault(), p.stopPropagation(), le(l.comboboxState.value, { 0: () => l.goToOption(N.Next), 1: () => l.openCombobox() });
920
920
  case j.ArrowUp:
921
- return v.value = !1, f.preventDefault(), f.stopPropagation(), te(l.comboboxState.value, { 0: () => l.goToOption(N.Previous), 1: () => {
921
+ return v.value = !1, p.preventDefault(), p.stopPropagation(), le(l.comboboxState.value, { 0: () => l.goToOption(N.Previous), 1: () => {
922
922
  l.openCombobox(), X(() => {
923
923
  l.value.value || l.goToOption(N.Last);
924
924
  });
925
925
  } });
926
926
  case j.Home:
927
- if (f.shiftKey) break;
928
- return v.value = !1, f.preventDefault(), f.stopPropagation(), l.goToOption(N.First);
927
+ if (p.shiftKey) break;
928
+ return v.value = !1, p.preventDefault(), p.stopPropagation(), l.goToOption(N.First);
929
929
  case j.PageUp:
930
- return v.value = !1, f.preventDefault(), f.stopPropagation(), l.goToOption(N.First);
930
+ return v.value = !1, p.preventDefault(), p.stopPropagation(), l.goToOption(N.First);
931
931
  case j.End:
932
- if (f.shiftKey) break;
933
- return v.value = !1, f.preventDefault(), f.stopPropagation(), l.goToOption(N.Last);
932
+ if (p.shiftKey) break;
933
+ return v.value = !1, p.preventDefault(), p.stopPropagation(), l.goToOption(N.Last);
934
934
  case j.PageDown:
935
- return v.value = !1, f.preventDefault(), f.stopPropagation(), l.goToOption(N.Last);
935
+ return v.value = !1, p.preventDefault(), p.stopPropagation(), l.goToOption(N.Last);
936
936
  case j.Escape:
937
937
  if (v.value = !1, l.comboboxState.value !== 0) return;
938
- f.preventDefault(), l.optionsRef.value && !l.optionsPropsRef.value.static && f.stopPropagation(), l.nullable.value && l.mode.value === 0 && l.value.value === null && u(), l.closeCombobox();
938
+ p.preventDefault(), l.optionsRef.value && !l.optionsPropsRef.value.static && p.stopPropagation(), l.nullable.value && l.mode.value === 0 && l.value.value === null && u(), l.closeCombobox();
939
939
  break;
940
940
  case j.Tab:
941
941
  if (v.value = !1, l.comboboxState.value !== 0) return;
@@ -943,71 +943,71 @@ let It = J({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
943
943
  break;
944
944
  }
945
945
  }
946
- function B(f) {
947
- c("change", f), l.nullable.value && l.mode.value === 0 && f.target.value === "" && u(), l.openCombobox();
946
+ function $(p) {
947
+ c("change", p), l.nullable.value && l.mode.value === 0 && p.target.value === "" && u(), l.openCombobox();
948
948
  }
949
- function g(f) {
950
- var M, A, d;
951
- let C = (M = f.relatedTarget) != null ? M : ge.find((r) => r !== f.currentTarget);
952
- if (v.value = !1, !((A = k(l.optionsRef)) != null && A.contains(C)) && !((d = k(l.buttonRef)) != null && d.contains(C)) && l.comboboxState.value === 0) return f.preventDefault(), l.mode.value === 0 && (l.nullable.value && l.value.value === null ? u() : l.activationTrigger.value !== 1 && l.selectActiveOption()), l.closeCombobox();
949
+ function g(p) {
950
+ var k, A, d;
951
+ let C = (k = p.relatedTarget) != null ? k : ge.find((r) => r !== p.currentTarget);
952
+ if (v.value = !1, !((A = M(l.optionsRef)) != null && A.contains(C)) && !((d = M(l.buttonRef)) != null && d.contains(C)) && l.comboboxState.value === 0) return p.preventDefault(), l.mode.value === 0 && (l.nullable.value && l.value.value === null ? u() : l.activationTrigger.value !== 1 && l.selectActiveOption()), l.closeCombobox();
953
953
  }
954
- function I(f) {
955
- var M, A, d;
956
- let C = (M = f.relatedTarget) != null ? M : ge.find((r) => r !== f.currentTarget);
957
- (A = k(l.buttonRef)) != null && A.contains(C) || (d = k(l.optionsRef)) != null && d.contains(C) || l.disabled.value || l.immediate.value && l.comboboxState.value !== 0 && (l.openCombobox(), ce().nextFrame(() => {
954
+ function I(p) {
955
+ var k, A, d;
956
+ let C = (k = p.relatedTarget) != null ? k : ge.find((r) => r !== p.currentTarget);
957
+ (A = M(l.buttonRef)) != null && A.contains(C) || (d = M(l.optionsRef)) != null && d.contains(C) || l.disabled.value || l.immediate.value && l.comboboxState.value !== 0 && (l.openCombobox(), ve().nextFrame(() => {
958
958
  l.setActivationTrigger(1);
959
959
  }));
960
960
  }
961
- let z = S(() => {
962
- var f, M, A, d;
963
- return (d = (A = (M = s.defaultValue) != null ? M : l.defaultValue.value !== void 0 ? (f = s.displayValue) == null ? void 0 : f.call(s, l.defaultValue.value) : null) != null ? A : l.defaultValue.value) != null ? d : "";
961
+ let z = O(() => {
962
+ var p, k, A, d;
963
+ return (d = (A = (k = s.defaultValue) != null ? k : l.defaultValue.value !== void 0 ? (p = s.displayValue) == null ? void 0 : p.call(s, l.defaultValue.value) : null) != null ? A : l.defaultValue.value) != null ? d : "";
964
964
  });
965
965
  return () => {
966
- var f, M, A, d, C, r, h;
967
- let x = { open: l.comboboxState.value === 0 }, { displayValue: y, onChange: T, ...V } = s, L = { "aria-controls": (f = l.optionsRef.value) == null ? void 0 : f.id, "aria-expanded": l.comboboxState.value === 0, "aria-activedescendant": l.activeOptionIndex.value === null ? void 0 : l.virtual.value ? (M = l.options.value.find((m) => !l.virtual.value.disabled(m.dataRef.value) && l.compare(m.dataRef.value, l.virtual.value.options[l.activeOptionIndex.value]))) == null ? void 0 : M.id : (A = l.options.value[l.activeOptionIndex.value]) == null ? void 0 : A.id, "aria-labelledby": (r = (d = k(l.labelRef)) == null ? void 0 : d.id) != null ? r : (C = k(l.buttonRef)) == null ? void 0 : C.id, "aria-autocomplete": "list", id: o, onCompositionstart: R, onCompositionend: E, onKeydown: F, onInput: B, onFocus: I, onBlur: g, role: "combobox", type: (h = e.type) != null ? h : "text", tabIndex: 0, ref: l.inputRef, defaultValue: z.value, disabled: l.disabled.value === !0 ? !0 : void 0 };
968
- return le({ ourProps: L, theirProps: V, slot: x, attrs: e, slots: n, features: ie.RenderStrategy | ie.Static, name: "ComboboxInput" });
966
+ var p, k, A, d, C, r, m;
967
+ let y = { open: l.comboboxState.value === 0 }, { displayValue: S, onChange: T, ...V } = s, L = { "aria-controls": (p = l.optionsRef.value) == null ? void 0 : p.id, "aria-expanded": l.comboboxState.value === 0, "aria-activedescendant": l.activeOptionIndex.value === null ? void 0 : l.virtual.value ? (k = l.options.value.find((h) => !l.virtual.value.disabled(h.dataRef.value) && l.compare(h.dataRef.value, l.virtual.value.options[l.activeOptionIndex.value]))) == null ? void 0 : k.id : (A = l.options.value[l.activeOptionIndex.value]) == null ? void 0 : A.id, "aria-labelledby": (r = (d = M(l.labelRef)) == null ? void 0 : d.id) != null ? r : (C = M(l.buttonRef)) == null ? void 0 : C.id, "aria-autocomplete": "list", id: o, onCompositionstart: R, onCompositionend: E, onKeydown: F, onInput: $, onFocus: I, onBlur: g, role: "combobox", type: (m = e.type) != null ? m : "text", tabIndex: 0, ref: l.inputRef, defaultValue: z.value, disabled: l.disabled.value === !0 ? !0 : void 0 };
968
+ return se({ ourProps: L, theirProps: V, slot: y, attrs: e, slots: n, features: re.RenderStrategy | re.Static, name: "ComboboxInput" });
969
969
  };
970
970
  } }), Rt = J({ name: "ComboboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, hold: { type: [Boolean], default: !1 } }, setup(s, { attrs: c, slots: e, expose: n }) {
971
- let t = Z("ComboboxOptions"), a = `headlessui-combobox-options-${se()}`;
972
- n({ el: t.optionsRef, $el: t.optionsRef }), ae(() => {
971
+ let t = Z("ComboboxOptions"), a = `headlessui-combobox-options-${ne()}`;
972
+ n({ el: t.optionsRef, $el: t.optionsRef }), ie(() => {
973
973
  t.optionsPropsRef.value.static = s.static;
974
- }), ae(() => {
974
+ }), ie(() => {
975
975
  t.optionsPropsRef.value.hold = s.hold;
976
976
  });
977
- let o = lt(), l = S(() => o !== null ? (o.value & re.Open) === re.Open : t.comboboxState.value === 0);
978
- Xe({ container: S(() => k(t.optionsRef)), enabled: S(() => t.comboboxState.value === 0), accept(v) {
977
+ let o = lt(), l = O(() => o !== null ? (o.value & ue.Open) === ue.Open : t.comboboxState.value === 0);
978
+ Xe({ container: O(() => M(t.optionsRef)), enabled: O(() => t.comboboxState.value === 0), accept(v) {
979
979
  return v.getAttribute("role") === "option" ? NodeFilter.FILTER_REJECT : v.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
980
980
  }, walk(v) {
981
981
  v.setAttribute("role", "none");
982
982
  } });
983
- function p(v) {
983
+ function f(v) {
984
984
  v.preventDefault();
985
985
  }
986
986
  return () => {
987
987
  var v, u, i;
988
- let b = { open: t.comboboxState.value === 0 }, R = { "aria-labelledby": (i = (v = k(t.labelRef)) == null ? void 0 : v.id) != null ? i : (u = k(t.buttonRef)) == null ? void 0 : u.id, id: a, ref: t.optionsRef, role: "listbox", "aria-multiselectable": t.mode.value === 1 ? !0 : void 0, onMousedown: p }, E = fe(s, ["hold"]);
989
- return le({ ourProps: R, theirProps: E, slot: b, attrs: c, slots: t.virtual.value && t.comboboxState.value === 0 ? { ...e, default: () => [oe(Ot, {}, e.default)] } : e, features: ie.RenderStrategy | ie.Static, visible: l.value, name: "ComboboxOptions" });
988
+ let b = { open: t.comboboxState.value === 0 }, R = { "aria-labelledby": (i = (v = M(t.labelRef)) == null ? void 0 : v.id) != null ? i : (u = M(t.buttonRef)) == null ? void 0 : u.id, id: a, ref: t.optionsRef, role: "listbox", "aria-multiselectable": t.mode.value === 1 ? !0 : void 0, onMousedown: f }, E = pe(s, ["hold"]);
989
+ return se({ ourProps: R, theirProps: E, slot: b, attrs: c, slots: t.virtual.value && t.comboboxState.value === 0 ? { ...e, default: () => [ae(Ot, {}, e.default)] } : e, features: re.RenderStrategy | re.Static, visible: l.value, name: "ComboboxOptions" });
990
990
  };
991
991
  } }), Ie = J({ name: "ComboboxOption", props: { as: { type: [Object, String], default: "li" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, order: { type: [Number], default: null } }, setup(s, { slots: c, attrs: e, expose: n }) {
992
- let t = Z("ComboboxOption"), a = `headlessui-combobox-option-${se()}`, o = $(null), l = S(() => s.disabled);
992
+ let t = Z("ComboboxOption"), a = `headlessui-combobox-option-${ne()}`, o = D(null), l = O(() => s.disabled);
993
993
  n({ el: o, $el: o });
994
- let p = S(() => {
994
+ let f = O(() => {
995
995
  var g;
996
996
  return t.virtual.value ? t.activeOptionIndex.value === t.calculateIndex(s.value) : t.activeOptionIndex.value === null ? !1 : ((g = t.options.value[t.activeOptionIndex.value]) == null ? void 0 : g.id) === a;
997
- }), v = S(() => t.isSelected(s.value)), u = Me(Ve, null), i = S(() => ({ disabled: s.disabled, value: s.value, domRef: o, order: S(() => s.order) }));
998
- ve(() => t.registerOption(a, i)), Ce(() => t.unregisterOption(a, p.value)), ae(() => {
999
- let g = k(o);
997
+ }), v = O(() => t.isSelected(s.value)), u = ke(Ve, null), i = O(() => ({ disabled: s.disabled, value: s.value, domRef: o, order: O(() => s.order) }));
998
+ fe(() => t.registerOption(a, i)), Ce(() => t.unregisterOption(a, f.value)), ie(() => {
999
+ let g = M(o);
1000
1000
  g && u?.value.measureElement(g);
1001
- }), ae(() => {
1002
- t.comboboxState.value === 0 && p.value && (t.virtual.value || t.activationTrigger.value !== 0 && X(() => {
1001
+ }), ie(() => {
1002
+ t.comboboxState.value === 0 && f.value && (t.virtual.value || t.activationTrigger.value !== 0 && X(() => {
1003
1003
  var g, I;
1004
- return (I = (g = k(o)) == null ? void 0 : g.scrollIntoView) == null ? void 0 : I.call(g, { block: "nearest" });
1004
+ return (I = (g = M(o)) == null ? void 0 : g.scrollIntoView) == null ? void 0 : I.call(g, { block: "nearest" });
1005
1005
  }));
1006
1006
  });
1007
1007
  function b(g) {
1008
1008
  g.preventDefault(), g.button === Ae.Left && (l.value || (t.selectOption(a), Je() || requestAnimationFrame(() => {
1009
1009
  var I;
1010
- return (I = k(t.inputRef)) == null ? void 0 : I.focus({ preventScroll: !0 });
1010
+ return (I = M(t.inputRef)) == null ? void 0 : I.focus({ preventScroll: !0 });
1011
1011
  }), t.mode.value === 0 && t.closeCombobox()));
1012
1012
  }
1013
1013
  function R() {
@@ -1022,20 +1022,20 @@ let It = J({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1022
1022
  }
1023
1023
  function F(g) {
1024
1024
  var I;
1025
- if (!E.wasMoved(g) || s.disabled || (I = t.virtual.value) != null && I.disabled(s.value) || p.value) return;
1025
+ if (!E.wasMoved(g) || s.disabled || (I = t.virtual.value) != null && I.disabled(s.value) || f.value) return;
1026
1026
  let z = t.calculateIndex(s.value);
1027
1027
  t.goToOption(N.Specific, z, 0);
1028
1028
  }
1029
- function B(g) {
1029
+ function $(g) {
1030
1030
  var I;
1031
- E.wasMoved(g) && (s.disabled || (I = t.virtual.value) != null && I.disabled(s.value) || p.value && (t.optionsPropsRef.value.hold || t.goToOption(N.Nothing)));
1031
+ E.wasMoved(g) && (s.disabled || (I = t.virtual.value) != null && I.disabled(s.value) || f.value && (t.optionsPropsRef.value.hold || t.goToOption(N.Nothing)));
1032
1032
  }
1033
1033
  return () => {
1034
- let { disabled: g } = s, I = { active: p.value, selected: v.value, disabled: g }, z = { id: a, ref: o, role: "option", tabIndex: g === !0 ? void 0 : -1, "aria-disabled": g === !0 ? !0 : void 0, "aria-selected": v.value, disabled: void 0, onMousedown: b, onFocus: R, onPointerenter: w, onMouseenter: w, onPointermove: F, onMousemove: F, onPointerleave: B, onMouseleave: B }, f = fe(s, ["order", "value"]);
1035
- return le({ ourProps: z, theirProps: f, slot: I, attrs: e, slots: c, name: "ComboboxOption" });
1034
+ let { disabled: g } = s, I = { active: f.value, selected: v.value, disabled: g }, z = { id: a, ref: o, role: "option", tabIndex: g === !0 ? void 0 : -1, "aria-disabled": g === !0 ? !0 : void 0, "aria-selected": v.value, disabled: void 0, onMousedown: b, onFocus: R, onPointerenter: w, onMouseenter: w, onPointermove: F, onMousemove: F, onPointerleave: $, onMouseleave: $ }, p = pe(s, ["order", "value"]);
1035
+ return se({ ourProps: z, theirProps: p, slot: I, attrs: e, slots: c, name: "ComboboxOption" });
1036
1036
  };
1037
1037
  } });
1038
- const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-medium" }, kt = {
1038
+ const Et = { class: "sl-w-full" }, kt = { class: "sl-block sl-truncate sl-font-medium" }, Mt = {
1039
1039
  key: 0,
1040
1040
  class: "sl-absolute sl-inset-y-0 sl-left-0 sl-flex sl-items-center sl-pl-3 sl-text-stachelock-600 dark:sl-text-stachelock-400"
1041
1041
  }, At = {
@@ -1067,33 +1067,33 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1067
1067
  },
1068
1068
  emits: ["update:modelValue", "update:query", "blur", "focus"],
1069
1069
  setup(s, { emit: c }) {
1070
- const e = s, n = c, t = je(e.name), a = $(""), { value: o, errorMessage: l, handleChange: p, meta: v, setTouched: u } = Be(
1070
+ const e = s, n = c, t = je(e.name), a = D(""), { value: o, errorMessage: l, handleChange: f, meta: v, setTouched: u } = Be(
1071
1071
  () => e.name,
1072
1072
  e.rules,
1073
1073
  {
1074
1074
  validateOnMount: e.validateOnMount,
1075
1075
  initialValue: e.modelValue
1076
1076
  }
1077
- ), i = $(
1078
- e.multiple ? Array.isArray(e.modelValue) ? e.modelValue : [] : e.modelValue
1077
+ ), i = D(
1078
+ e.multiple ? Array.isArray(e.modelValue) ? e.modelValue : [] : e.modelValue ?? null
1079
1079
  );
1080
1080
  W(
1081
1081
  () => e.modelValue,
1082
- (m) => {
1082
+ (h) => {
1083
1083
  if (e.multiple) {
1084
- const O = Array.isArray(m) ? m : [];
1085
- O !== i.value && (i.value = O, o.value = O);
1084
+ const x = Array.isArray(h) ? h : [];
1085
+ x !== i.value && (i.value = x, o.value = x);
1086
1086
  } else
1087
- m !== i.value && (i.value = m, o.value = m);
1087
+ h !== i.value && (i.value = h, o.value = h);
1088
1088
  },
1089
1089
  { immediate: !0 }
1090
1090
  ), W(
1091
1091
  i,
1092
- (m) => {
1093
- n("update:modelValue", m);
1092
+ (h) => {
1093
+ n("update:modelValue", h);
1094
1094
  }
1095
1095
  );
1096
- const b = S(() => [
1096
+ const b = O(() => [
1097
1097
  "sl-w-full",
1098
1098
  "sl-border-none",
1099
1099
  "sl-py-2",
@@ -1108,8 +1108,8 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1108
1108
  "focus:sl-outline-none",
1109
1109
  "focus:sl-ring-0",
1110
1110
  "sl-bg-transparent"
1111
- ].join(" ")), R = S(() => {
1112
- const m = [
1111
+ ].join(" ")), R = O(() => {
1112
+ const h = [
1113
1113
  "sl-relative",
1114
1114
  "sl-w-full",
1115
1115
  "sl-cursor-default",
@@ -1124,91 +1124,102 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1124
1124
  "sl-transition-all",
1125
1125
  "sl-duration-200"
1126
1126
  ];
1127
- return e.disabled ? m.push(
1127
+ return e.disabled ? h.push(
1128
1128
  "sl-bg-gray-50",
1129
1129
  "dark:sl-bg-slate-800",
1130
1130
  "sl-cursor-not-allowed",
1131
1131
  "sl-border-gray-200",
1132
1132
  "dark:sl-border-slate-700"
1133
- ) : l.value ? m.push(
1133
+ ) : l.value ? h.push(
1134
1134
  "sl-border-red-300",
1135
1135
  "dark:sl-border-red-500",
1136
1136
  "focus-within:sl-ring-red-500",
1137
1137
  "focus-within:sl-border-red-500"
1138
- ) : v.valid && v.touched ? m.push(
1138
+ ) : v.valid && v.touched ? h.push(
1139
1139
  "sl-border-green-300",
1140
1140
  "dark:sl-border-green-500",
1141
1141
  "focus-within:sl-ring-green-500",
1142
1142
  "focus-within:sl-border-green-500"
1143
- ) : m.push(
1143
+ ) : h.push(
1144
1144
  "sl-border-gray-300",
1145
1145
  "dark:sl-border-slate-600",
1146
1146
  "hover:sl-border-gray-400",
1147
1147
  "dark:hover:sl-border-slate-500"
1148
- ), m.join(" ");
1149
- }), E = (m) => m[e.itemKey], w = (m) => m ? m[e.itemText] || m.toString() : "", F = $([]), B = $([]), g = $(1), I = () => {
1150
- const m = g.value * Pt;
1151
- B.value = F.value.slice(0, m), g.value += 1;
1148
+ ), h.join(" ");
1149
+ }), E = (h) => {
1150
+ const x = h[e.itemKey];
1151
+ return x == null ? "" : typeof x == "string" || typeof x == "number" ? x : String(x);
1152
+ }, w = (h) => {
1153
+ if (!h) return "";
1154
+ const x = h[e.itemText];
1155
+ return x != null ? String(x) : String(h);
1156
+ }, F = D([]), $ = D([]), g = D(1), I = () => {
1157
+ const h = g.value * Pt;
1158
+ $.value = F.value.slice(0, h), g.value += 1;
1152
1159
  }, z = () => {
1153
- g.value = 1, B.value = [], I();
1154
- }, f = () => {
1160
+ g.value = 1, $.value = [], I();
1161
+ }, p = () => {
1155
1162
  if (a.value && a.value !== "")
1156
1163
  if (e.customQuery)
1157
1164
  F.value = e.customQuery(a.value, e.items);
1158
1165
  else {
1159
- const m = a.value.toLowerCase();
1160
- F.value = e.items.filter((O) => w(O).toLowerCase().includes(m));
1166
+ const h = a.value.toLowerCase();
1167
+ F.value = e.items.filter((x) => w(x).toLowerCase().includes(h));
1161
1168
  }
1162
1169
  else
1163
1170
  F.value = e.items;
1164
1171
  z();
1165
- }, M = S(() => e.items.filter((m) => !m.disabled)), A = (m) => {
1166
- const O = m.target;
1167
- a.value = O.value, n("update:query", a.value), f();
1168
- }, d = (m) => {
1169
- i.value = m, u(!0), p(m);
1170
- }, C = S(() => {
1172
+ }, k = O(() => e.items.filter((h) => !h.disabled)), A = (h) => {
1173
+ const x = h.target;
1174
+ a.value = x.value, n("update:query", a.value), p();
1175
+ }, d = (h) => {
1176
+ if (e.multiple) {
1177
+ const x = Array.isArray(h) ? h : [];
1178
+ i.value = x, o.value = x, u(!0), f(x);
1179
+ } else
1180
+ i.value = h, o.value = h, u(!0), f(h);
1181
+ }, C = O(() => {
1171
1182
  if (!e.multiple || !Array.isArray(i.value)) return !1;
1172
- const m = M.value;
1173
- if (m.length === 0) return !1;
1174
- const O = new Set(i.value.map((P) => E(P)));
1175
- return m.every((P) => O.has(E(P)));
1183
+ const h = k.value;
1184
+ if (h.length === 0) return !1;
1185
+ const x = Array.isArray(i.value) ? i.value : [], B = new Set(x.map((ee) => E(ee)));
1186
+ return h.every((ee) => B.has(E(ee)));
1176
1187
  }), r = () => {
1177
- e.multiple && (C.value ? i.value = [] : i.value = [...M.value], u(!0), p(i.value), n("update:modelValue", i.value));
1178
- }, h = (m) => e.multiple ? !Array.isArray(m) || m.length === 0 ? "" : m.length === 1 ? w(m[0]) : `${m.length} selected` : w(m), x = S(() => e.multiple || a.value === "" ? null : { [e.itemKey]: null, [e.itemText]: a.value }), y = () => {
1179
- e.multiple || x.value && (e.customQuery ? (n("update:modelValue", a.value), p(a.value)) : (i.value = x.value, p(i.value)));
1180
- }, T = (m) => {
1181
- const O = m.target;
1182
- O.scrollTop + O.clientHeight >= O.scrollHeight && I();
1183
- }, V = (m) => {
1184
- n("focus", m);
1185
- }, L = (m) => {
1186
- !e.multiple && x.value && (i.value = x.value, p(i.value), n("update:modelValue", i.value)), n("blur", m);
1188
+ e.multiple && (C.value ? i.value = [] : i.value = [...k.value], u(!0), f(i.value), n("update:modelValue", i.value));
1189
+ }, m = (h) => e.multiple ? !Array.isArray(h) || h.length === 0 ? "" : h.length === 1 ? w(h[0]) : `${h.length} selected` : w(h), y = O(() => e.multiple || a.value === "" ? null : { [e.itemKey]: null, [e.itemText]: a.value }), S = () => {
1190
+ e.multiple || y.value && (e.customQuery ? (n("update:modelValue", a.value), f(a.value)) : (i.value = y.value, f(i.value)));
1191
+ }, T = (h) => {
1192
+ const x = h.target;
1193
+ x.scrollTop + x.clientHeight >= x.scrollHeight && I();
1194
+ }, V = (h) => {
1195
+ n("focus", h);
1196
+ }, L = (h) => {
1197
+ !e.multiple && y.value && (i.value = y.value, f(i.value), n("update:modelValue", i.value)), n("blur", h);
1187
1198
  };
1188
1199
  return W(() => e.items, () => {
1189
- f();
1190
- }, { immediate: !0, deep: !0 }), (m, O) => (_(), H("div", Et, [
1200
+ p();
1201
+ }, { immediate: !0, deep: !0 }), (h, x) => (_(), H("div", Et, [
1191
1202
  K(Ne, {
1192
- id: D(t),
1203
+ id: P(t),
1193
1204
  name: s.name,
1194
1205
  label: s.label,
1195
1206
  disabled: s.disabled,
1196
1207
  optional: !s.rules,
1197
1208
  "tertiary-label": s.tertiaryLabel,
1198
1209
  "box-shadow": s.boxShadow,
1199
- "error-message": D(l),
1210
+ "error-message": P(l),
1200
1211
  "success-message": s.successMessage,
1201
- "is-valid": D(v).valid,
1202
- "is-touched": D(v).touched
1212
+ "is-valid": P(v).valid,
1213
+ "is-touched": P(v).touched
1203
1214
  }, {
1204
1215
  "success-message": U(() => [
1205
- s.successMessage ? (_(), H("span", Ft, ne(s.successMessage), 1)) : G("", !0)
1216
+ s.successMessage ? (_(), H("span", Ft, oe(s.successMessage), 1)) : G("", !0)
1206
1217
  ]),
1207
1218
  default: U(() => [
1208
- K(D(wt), {
1219
+ K(P(wt), {
1209
1220
  modelValue: i.value,
1210
1221
  "onUpdate:modelValue": [
1211
- O[3] || (O[3] = (P) => i.value = P),
1222
+ x[3] || (x[3] = (B) => i.value = B),
1212
1223
  d
1213
1224
  ],
1214
1225
  disabled: s.disabled,
@@ -1218,34 +1229,34 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1218
1229
  Q("div", {
1219
1230
  class: Y(R.value)
1220
1231
  }, [
1221
- K(D(Ct), {
1222
- id: D(t),
1232
+ K(P(Ct), {
1233
+ id: P(t),
1223
1234
  class: Y(b.value),
1224
- "display-value": h,
1235
+ "display-value": m,
1225
1236
  placeholder: s.placeholder || "Type to search...",
1226
1237
  modelValue: a.value,
1227
- "onUpdate:modelValue": O[0] || (O[0] = (P) => a.value = P),
1238
+ "onUpdate:modelValue": x[0] || (x[0] = (B) => a.value = B),
1228
1239
  onInput: A,
1229
1240
  onBlur: L,
1230
1241
  onFocus: V
1231
1242
  }, null, 8, ["id", "class", "placeholder", "modelValue"]),
1232
- K(D(It), { class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-2" }, {
1243
+ K(P(It), { class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-2" }, {
1233
1244
  default: U(() => [
1234
- K(D(st), {
1245
+ K(P(st), {
1235
1246
  class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-slate-300",
1236
1247
  "aria-hidden": "true"
1237
1248
  })
1238
1249
  ]),
1239
1250
  _: 1
1240
1251
  }),
1241
- K(D(Ke), {
1252
+ K(P(Ke), {
1242
1253
  leave: "sl-transition sl-ease-in sl-duration-100",
1243
1254
  "leave-from": "sl-opacity-100",
1244
1255
  "leave-to": "sl-opacity-0",
1245
- onAfterLeave: O[2] || (O[2] = (P) => a.value = "")
1256
+ onAfterLeave: x[2] || (x[2] = (B) => a.value = "")
1246
1257
  }, {
1247
1258
  default: U(() => [
1248
- F.value.length > 0 || a.value !== "" || s.multiple && s.showAll ? (_(), ue(D(Rt), {
1259
+ F.value.length > 0 || a.value !== "" || s.multiple && s.showAll ? (_(), de(P(Rt), {
1249
1260
  key: 0,
1250
1261
  class: "sl-absolute sl-z-[9999] sl-mt-1 sl-max-h-60 sl-w-full sl-overflow-auto sl-rounded-md sl-bg-white dark:sl-bg-slate-800 sl-py-1 sl-text-base sl-shadow-lg dark:sl-shadow-slate-900/50 sl-ring-1 sl-ring-black sl-ring-opacity-5 dark:sl-ring-slate-700 focus:sl-outline-none sm:sl-text-sm",
1251
1262
  onScroll: T
@@ -1255,18 +1266,18 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1255
1266
  key: 0,
1256
1267
  role: "button",
1257
1268
  tabindex: "0",
1258
- onMousedown: O[1] || (O[1] = de(() => {
1269
+ onMousedown: x[1] || (x[1] = ce(() => {
1259
1270
  }, ["prevent"])),
1260
- onClick: de(r, ["prevent", "stop"]),
1271
+ onClick: ce(r, ["prevent", "stop"]),
1261
1272
  class: Y([
1262
1273
  "sl-relative sl-cursor-pointer sl-select-none sl-py-2 sl-pl-10 sl-pr-4 sl-text-gray-900 dark:sl-text-slate-200",
1263
1274
  "hover:sl-bg-stachelock-600 hover:sl-text-white"
1264
1275
  ]),
1265
1276
  "data-testid": "select-all-option"
1266
1277
  }, [
1267
- Q("span", Mt, ne(C.value ? "Unselect All" : "Select All"), 1),
1268
- C.value ? (_(), H("span", kt, [
1269
- K(D(xe), {
1278
+ Q("span", kt, oe(C.value ? "Unselect All" : "Select All"), 1),
1279
+ C.value ? (_(), H("span", Mt, [
1280
+ K(P(xe), {
1270
1281
  class: "sl-h-5 sl-w-5",
1271
1282
  "aria-hidden": "true"
1272
1283
  })
@@ -1275,21 +1286,21 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1275
1286
  s.loading ? (_(), H("div", At, [
1276
1287
  Q("div", Tt, [
1277
1288
  K(Le, { size: "sm" }),
1278
- O[4] || (O[4] = Q("span", null, "Loading...", -1))
1289
+ x[4] || (x[4] = Q("span", null, "Loading...", -1))
1279
1290
  ])
1280
1291
  ])) : a.value !== "" && F.value.length === 0 ? (_(), H("div", Vt, " Nothing found. ")) : G("", !0),
1281
- (_(!0), H(Ee, null, $e(B.value, (P) => (_(), ue(D(Ie), {
1282
- key: E(P),
1283
- value: P,
1292
+ (_(!0), H(Ee, null, $e($.value, (B) => (_(), de(P(Ie), {
1293
+ key: E(B),
1294
+ value: B,
1284
1295
  as: "template",
1285
- disabled: P.disabled
1296
+ disabled: B.disabled
1286
1297
  }, {
1287
- default: U(({ active: pe, selected: he }) => [
1298
+ default: U(({ active: ee, selected: he }) => [
1288
1299
  Q("li", {
1289
1300
  class: Y([
1290
1301
  "sl-relative sl-cursor-default sl-select-none sl-py-2 sl-pl-10 sl-pr-4",
1291
- pe ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200",
1292
- P.disabled ? "sl-opacity-50 sl-cursor-not-allowed" : ""
1302
+ ee ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200",
1303
+ B.disabled ? "sl-opacity-50 sl-cursor-not-allowed" : ""
1293
1304
  ])
1294
1305
  }, [
1295
1306
  Q("span", {
@@ -1297,12 +1308,12 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1297
1308
  "sl-block sl-truncate",
1298
1309
  he ? "sl-font-medium" : "sl-font-normal"
1299
1310
  ])
1300
- }, ne(w(P)), 3),
1311
+ }, oe(w(B)), 3),
1301
1312
  he ? (_(), H("span", {
1302
1313
  key: 0,
1303
- class: Y(["sl-absolute sl-inset-y-0 sl-left-0 sl-flex sl-items-center sl-pl-3", pe ? "sl-text-white" : "sl-text-stachelock-600 dark:sl-text-stachelock-400"])
1314
+ class: Y(["sl-absolute sl-inset-y-0 sl-left-0 sl-flex sl-items-center sl-pl-3", ee ? "sl-text-white" : "sl-text-stachelock-600 dark:sl-text-stachelock-400"])
1304
1315
  }, [
1305
- K(D(xe), {
1316
+ K(P(xe), {
1306
1317
  class: "sl-h-5 sl-w-5",
1307
1318
  "aria-hidden": "true"
1308
1319
  })
@@ -1311,20 +1322,20 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1311
1322
  ]),
1312
1323
  _: 2
1313
1324
  }, 1032, ["value", "disabled"]))), 128)),
1314
- !s.multiple && x.value ? (_(), ue(D(Ie), {
1325
+ !s.multiple && y.value ? (_(), de(P(Ie), {
1315
1326
  key: 3,
1316
- value: x.value,
1327
+ value: y.value,
1317
1328
  as: "template"
1318
1329
  }, {
1319
- default: U(({ active: P }) => [
1330
+ default: U(({ active: B }) => [
1320
1331
  Q("li", {
1321
- onClick: de(y, ["prevent", "stop"]),
1332
+ onClick: ce(S, ["prevent", "stop"]),
1322
1333
  class: Y([
1323
1334
  "sl-relative sl-cursor-pointer sl-select-none sl-py-2 sl-pl-10 sl-pr-4",
1324
- P ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200"
1335
+ B ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200"
1325
1336
  ])
1326
1337
  }, [
1327
- Q("span", zt, ' Enter "' + ne(a.value) + '" manually ', 1)
1338
+ Q("span", zt, ' Enter "' + oe(a.value) + '" manually ', 1)
1328
1339
  ], 2)
1329
1340
  ]),
1330
1341
  _: 1
@@ -1348,4 +1359,4 @@ const Et = { class: "sl-w-full" }, Mt = { class: "sl-block sl-truncate sl-font-m
1348
1359
  export {
1349
1360
  el as _
1350
1361
  };
1351
- //# sourceMappingURL=ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js.map
1362
+ //# sourceMappingURL=ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js.map