@stachelock/ui 0.5.4 → 0.6.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 (442) hide show
  1. package/README.md +118 -5
  2. package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-6taLcPq0.js +77 -0
  3. package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js → AlertModal.vue_vue_type_script_setup_true_lang-DzhVQdx4.js} +45 -65
  4. package/dist/BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js +0 -1
  5. package/dist/BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js +0 -1
  6. package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js → BaseModal.vue_vue_type_script_setup_true_lang--iGzFCnC.js} +42 -44
  7. package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js → CalendarHeader.vue_vue_type_script_setup_true_lang-hGa2MLyo.js} +114 -141
  8. package/dist/CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js +0 -1
  9. package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js +0 -1
  10. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-BigvbBAU.js +331 -0
  11. package/dist/ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js +0 -1
  12. package/dist/{DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js → DashboardLayout.vue_vue_type_script_setup_true_lang-BAx4gKqh.js} +44 -47
  13. package/dist/{DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js → DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js} +23 -24
  14. package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js → DayCalendar.vue_vue_type_script_setup_true_lang-D-4jcUvI.js} +1 -2
  15. package/dist/DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js +0 -1
  16. package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-CgHPOC-w.js +35 -0
  17. package/dist/{DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js → DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js} +52 -53
  18. package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js → DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js} +7 -8
  19. package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js +0 -1
  20. package/dist/EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js +0 -1
  21. package/dist/EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js +0 -1
  22. package/dist/EventCard.vue_vue_type_script_setup_true_lang-B3TP-mWX.js +74 -0
  23. package/dist/EventsList.vue_vue_type_script_setup_true_lang-BTIoGr_e.js +87 -0
  24. package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js +176 -0
  25. package/dist/{FormErrorWrapper.vue_vue_type_script_setup_true_lang-BQOlG_ab.js → FormErrorWrapper.vue_vue_type_script_setup_true_lang-D7ZAgfPs.js} +12 -13
  26. package/dist/FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js +0 -1
  27. package/dist/HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js +0 -1
  28. package/dist/HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js +0 -1
  29. package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js → InlineTabs.vue_vue_type_script_setup_true_lang-B5w4yzcZ.js} +1 -2
  30. package/dist/LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js +0 -1
  31. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js → LottieAnimation.vue_vue_type_script_setup_true_lang-C0R4ADBb.js} +1 -2
  32. package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js → MonthCalendar.vue_vue_type_style_index_0_lang-lnKkvJ9u.js} +1 -2
  33. package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js +0 -1
  34. package/dist/NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js +0 -1
  35. package/dist/{NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js → NotificationContainer.vue_vue_type_style_index_0_lang-CvJRwezr.js} +1 -2
  36. package/dist/{NotificationToast.vue_vue_type_script_setup_true_lang-CU__ORw8.js → NotificationToast.vue_vue_type_script_setup_true_lang-BBWpW4km.js} +61 -64
  37. package/dist/PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js +0 -1
  38. package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js +0 -1
  39. package/dist/ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js +0 -1
  40. package/dist/{SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js → SelectInput.vue_vue_type_script_setup_true_lang-D4GNv0MY.js} +56 -58
  41. package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js → SelectTextInput.vue_vue_type_script_setup_true_lang-BVaViHPl.js} +66 -69
  42. package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js → SidebarLayout.vue_vue_type_script_setup_true_lang-CZ21EVcZ.js} +36 -39
  43. package/dist/SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js +0 -1
  44. package/dist/StatCard.vue_vue_type_script_setup_true_lang-B5SuaSXL.js +66 -0
  45. package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js → StepperPanels.vue_vue_type_script_setup_true_lang-DPLQ9mQn.js} +34 -49
  46. package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-D5Es9AjF.js +200 -0
  47. package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js → SwitchInputGroup.vue_vue_type_script_setup_true_lang-DigNYqVZ.js} +1 -2
  48. package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js → TabGroup.vue_vue_type_script_setup_true_lang-BsbiEA4E.js} +19 -20
  49. package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-CPcp1-Za.js} +21 -22
  50. package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js → TabsInPills.vue_vue_type_script_setup_true_lang-U5CdRL7s.js} +1 -2
  51. package/dist/{TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js → TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js} +14 -15
  52. package/dist/TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js +0 -1
  53. package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js +0 -1
  54. package/dist/UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js +0 -1
  55. package/dist/UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js +0 -1
  56. package/dist/UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js +0 -1
  57. package/dist/UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js +0 -1
  58. package/dist/{UiMapAll.vue_vue_type_script_setup_true_lang-CMAyvJMk.js → UiMapAll.vue_vue_type_script_setup_true_lang-11yT7mTH.js} +93 -111
  59. package/dist/UiMenu.vue_vue_type_script_setup_true_lang-gnoIJm6x.js +127 -0
  60. package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js → UiModal.vue_vue_type_script_setup_true_lang-BZC7aN7K.js} +41 -43
  61. package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js → UiNavLink.vue_vue_type_script_setup_true_lang-C5Gicm8o.js} +4 -5
  62. package/dist/UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js +0 -1
  63. package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js +0 -1
  64. package/dist/UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js +0 -1
  65. package/dist/YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js +0 -1
  66. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -1
  67. package/dist/calendar-DLry-Vik.js +147 -0
  68. package/dist/calendars/CalendarDashboard.js +3 -4
  69. package/dist/calendars/CalendarHeader.js +1 -2
  70. package/dist/calendars/DayCalendar.js +1 -2
  71. package/dist/calendars/EventCard.js +1 -2
  72. package/dist/calendars/EventsList.js +1 -2
  73. package/dist/calendars/MonthCalendar.js +1 -2
  74. package/dist/calendars/WeekCalendar.js +1 -2
  75. package/dist/calendars/YearCalendar.js +0 -1
  76. package/dist/charts/BarChart.js +0 -1
  77. package/dist/charts/BaseChart.js +42 -59
  78. package/dist/charts/FunnelChart.js +0 -1
  79. package/dist/charts/LineChart.js +0 -1
  80. package/dist/charts/PieChart.js +0 -1
  81. package/dist/charts/SparklineChart.js +0 -1
  82. package/dist/charts/StatCard.js +1 -2
  83. package/dist/charts/chartTheme.js +0 -1
  84. package/dist/charts/index.js +1 -2
  85. package/dist/components/Avatar.js +0 -1
  86. package/dist/components/Badge.js +0 -1
  87. package/dist/components/Banner.js +178 -351
  88. package/dist/components/Breadcrumb.js +41 -42
  89. package/dist/components/Button.js +0 -1
  90. package/dist/components/ButtonGroup.js +0 -1
  91. package/dist/components/Checkbox.js +0 -1
  92. package/dist/components/CloudinaryImage.js +51 -81
  93. package/dist/components/Loading.js +0 -1
  94. package/dist/components/LoadingDots.js +0 -1
  95. package/dist/components/LottieAnimation.js +1 -2
  96. package/dist/components/Menu.js +1 -2
  97. package/dist/components/Modal.js +1 -2
  98. package/dist/components/NavLink.js +1 -2
  99. package/dist/components/ProgressBar.js +0 -1
  100. package/dist/components/RadialProgressBar.js +0 -1
  101. package/dist/components/Table.js +0 -1
  102. package/dist/components/Transition.js +0 -1
  103. package/dist/composables/index.js +1 -2
  104. package/dist/composables/useCalendar.js +1 -2
  105. package/dist/composables/useFormValidation.js +0 -1
  106. package/dist/composables/useMap.js +3 -3
  107. package/dist/composables/useModal.js +0 -1
  108. package/dist/composables/useNotifications.js +0 -1
  109. package/dist/composables/useTabs.js +87 -193
  110. package/dist/composables/useTheme.js +0 -1
  111. package/dist/empty-state/ComingSoon.js +0 -1
  112. package/dist/empty-state/EmptyState.js +0 -1
  113. package/dist/empty-state/index.js +0 -1
  114. package/dist/forms/DynamicForm.js +1 -2
  115. package/dist/forms/DynamicFormField.js +1 -2
  116. package/dist/forms/FormFieldWrapper.js +7 -8
  117. package/dist/id-DafBB_QF.js +0 -1
  118. package/dist/index.js +1343 -725
  119. package/dist/inputs/AddDeleteButtonGroup.js +1 -2
  120. package/dist/inputs/CheckboxInput.js +0 -1
  121. package/dist/inputs/ComboboxInput.js +1 -2
  122. package/dist/inputs/DatepickerInput.js +1 -2
  123. package/dist/inputs/EmailInput.js +0 -1
  124. package/dist/inputs/EmptyInput.js +0 -1
  125. package/dist/inputs/FileDropzoneInput.js +1 -2
  126. package/dist/inputs/HiddenInput.js +0 -1
  127. package/dist/inputs/PhoneInput.js +371 -3539
  128. package/dist/inputs/RichTextInput.js +235 -17298
  129. package/dist/inputs/SelectInput.js +1 -2
  130. package/dist/inputs/SelectTextInput.js +1 -2
  131. package/dist/inputs/SwitchInput.js +1 -2
  132. package/dist/inputs/SwitchInputGroup.js +1 -2
  133. package/dist/inputs/TagifyInput.js +1 -2
  134. package/dist/inputs/TextAreaInput.js +0 -1
  135. package/dist/inputs/TextInput.js +7 -8
  136. package/dist/layouts/DashboardLayout.js +1 -2
  137. package/dist/layouts/DefaultLayout.js +0 -1
  138. package/dist/layouts/HeaderLayout.js +0 -1
  139. package/dist/layouts/NavigationGroup.js +0 -1
  140. package/dist/layouts/NavigationItem.js +0 -1
  141. package/dist/layouts/ProfileHeaderAvatar.js +0 -1
  142. package/dist/layouts/ProjectLogo.js +0 -1
  143. package/dist/layouts/SidebarLayout.js +1 -2
  144. package/dist/loading/ContentSkeleton.js +0 -1
  145. package/dist/loading/SmartLoadingIndicator.js +0 -1
  146. package/dist/loading/index.js +0 -1
  147. package/dist/mapThemes-DFE9fZm3.js +0 -1
  148. package/dist/maps/GoogleMap.js +13 -14
  149. package/dist/maps/UiInfoWindow.js +41 -43
  150. package/dist/maps/UiMap.js +28 -31
  151. package/dist/maps/UiMapAll.js +1 -2
  152. package/dist/maps/UiMapMarker.js +1 -2
  153. package/dist/maps/index.js +1 -2
  154. package/dist/modals/AlertModal.js +1 -2
  155. package/dist/modals/BaseModal.js +1 -2
  156. package/dist/modals/ImageCropperModal.js +130 -1666
  157. package/dist/notifications/NotificationContainer.js +1 -2
  158. package/dist/notifications/NotificationToast.js +1 -2
  159. package/dist/notifications/index.js +2 -3
  160. package/dist/src/components/inputs/AddressInput.d.ts +40 -0
  161. package/dist/src/components/inputs/DatepickerInput.d.ts +7 -7
  162. package/dist/src/components/inputs/index.d.ts +1 -0
  163. package/dist/src/components/maps/UiMap.d.ts +1 -1
  164. package/dist/src/components/maps/UiMapAll.d.ts +6 -6
  165. package/dist/src/plugin/configure.d.ts +3 -1
  166. package/dist/src/services/geocoding.service.d.ts +68 -0
  167. package/dist/src/services/index.d.ts +1 -0
  168. package/dist/src/types/address.d.ts +164 -0
  169. package/dist/src/types/index.d.ts +1 -0
  170. package/dist/src/views/inputs/index.d.ts +1 -0
  171. package/dist/stepper/StepperPanels.js +1 -2
  172. package/dist/stepper/index.js +1 -2
  173. package/dist/style.css +1 -1
  174. package/dist/tabs/InlineTabs.js +1 -2
  175. package/dist/tabs/TabGroup.js +1 -2
  176. package/dist/tabs/TabGroupUnderline.js +1 -2
  177. package/dist/tabs/TabsInPills.js +1 -2
  178. package/dist/tabs/index.js +4 -5
  179. package/dist/ui.css +1 -1
  180. package/dist/useEventSegments-B-r_8zCW.js +0 -1
  181. package/dist/useMap-BGg0H582.js +297 -0
  182. package/dist/useSimpleTabs-CSgkChEU.js +0 -1
  183. package/dist/useStringTransform-CSr7nZWg.js +0 -1
  184. package/dist/wrappers/BackgroundGradientWrapper.js +0 -1
  185. package/dist/wrappers/CardWrapper.js +0 -1
  186. package/dist/wrappers/DisclosureWrapper.js +1 -2
  187. package/dist/wrappers/FormErrorWrapper.js +1 -2
  188. package/dist/wrappers/index.js +2 -3
  189. package/package.json +9 -1
  190. package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-CFS3lVF-.js +0 -128
  191. package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-CFS3lVF-.js.map +0 -1
  192. package/dist/AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js.map +0 -1
  193. package/dist/BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js.map +0 -1
  194. package/dist/BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js.map +0 -1
  195. package/dist/Bars3Icon-BdOqcGcY.js +0 -22
  196. package/dist/Bars3Icon-BdOqcGcY.js.map +0 -1
  197. package/dist/BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js.map +0 -1
  198. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js.map +0 -1
  199. package/dist/CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js.map +0 -1
  200. package/dist/CheckIcon-BGlsmVwT.js +0 -20
  201. package/dist/CheckIcon-BGlsmVwT.js.map +0 -1
  202. package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js.map +0 -1
  203. package/dist/ChevronRightIcon-DkUqw988.js +0 -20
  204. package/dist/ChevronRightIcon-DkUqw988.js.map +0 -1
  205. package/dist/ChevronUpDownIcon-Bq_fsgrb.js +0 -20
  206. package/dist/ChevronUpDownIcon-Bq_fsgrb.js.map +0 -1
  207. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js +0 -1362
  208. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js.map +0 -1
  209. package/dist/ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js.map +0 -1
  210. package/dist/DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js.map +0 -1
  211. package/dist/DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js.map +0 -1
  212. package/dist/DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js.map +0 -1
  213. package/dist/DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js.map +0 -1
  214. package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js +0 -138
  215. package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js.map +0 -1
  216. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js.map +0 -1
  217. package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js.map +0 -1
  218. package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js.map +0 -1
  219. package/dist/EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js.map +0 -1
  220. package/dist/EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js.map +0 -1
  221. package/dist/EventCard.vue_vue_type_script_setup_true_lang-j1mtKShZ.js +0 -136
  222. package/dist/EventCard.vue_vue_type_script_setup_true_lang-j1mtKShZ.js.map +0 -1
  223. package/dist/EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js +0 -102
  224. package/dist/EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js.map +0 -1
  225. package/dist/ExclamationCircleIcon-DjxYk45_.js +0 -22
  226. package/dist/ExclamationCircleIcon-DjxYk45_.js.map +0 -1
  227. package/dist/ExclamationCircleIcon-DmL8Wwjo.js +0 -36
  228. package/dist/ExclamationCircleIcon-DmL8Wwjo.js.map +0 -1
  229. package/dist/ExclamationTriangleIcon-BNKYmV_J.js +0 -22
  230. package/dist/ExclamationTriangleIcon-BNKYmV_J.js.map +0 -1
  231. package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-CclXceTb.js +0 -211
  232. package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-CclXceTb.js.map +0 -1
  233. package/dist/FormErrorWrapper.vue_vue_type_script_setup_true_lang-BQOlG_ab.js.map +0 -1
  234. package/dist/FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js.map +0 -1
  235. package/dist/HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js.map +0 -1
  236. package/dist/HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js.map +0 -1
  237. package/dist/InformationCircleIcon-B322GNIt.js +0 -40
  238. package/dist/InformationCircleIcon-B322GNIt.js.map +0 -1
  239. package/dist/InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js.map +0 -1
  240. package/dist/LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js.map +0 -1
  241. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js.map +0 -1
  242. package/dist/MapPinIcon-CSTDUZnD.js +0 -27
  243. package/dist/MapPinIcon-CSTDUZnD.js.map +0 -1
  244. package/dist/MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js.map +0 -1
  245. package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js.map +0 -1
  246. package/dist/NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js.map +0 -1
  247. package/dist/NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js.map +0 -1
  248. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-CU__ORw8.js.map +0 -1
  249. package/dist/PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js.map +0 -1
  250. package/dist/PlusIcon-aDFVlB90.js +0 -40
  251. package/dist/PlusIcon-aDFVlB90.js.map +0 -1
  252. package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js.map +0 -1
  253. package/dist/ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js.map +0 -1
  254. package/dist/SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js.map +0 -1
  255. package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js.map +0 -1
  256. package/dist/SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js.map +0 -1
  257. package/dist/SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js.map +0 -1
  258. package/dist/StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js +0 -111
  259. package/dist/StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js.map +0 -1
  260. package/dist/StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js.map +0 -1
  261. package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js +0 -280
  262. package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js.map +0 -1
  263. package/dist/SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js.map +0 -1
  264. package/dist/TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js.map +0 -1
  265. package/dist/TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js.map +0 -1
  266. package/dist/TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js.map +0 -1
  267. package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js.map +0 -1
  268. package/dist/TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js.map +0 -1
  269. package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js.map +0 -1
  270. package/dist/UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js.map +0 -1
  271. package/dist/UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js.map +0 -1
  272. package/dist/UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js.map +0 -1
  273. package/dist/UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js.map +0 -1
  274. package/dist/UiMapAll.vue_vue_type_script_setup_true_lang-CMAyvJMk.js.map +0 -1
  275. package/dist/UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js +0 -330
  276. package/dist/UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js.map +0 -1
  277. package/dist/UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js.map +0 -1
  278. package/dist/UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js.map +0 -1
  279. package/dist/UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js.map +0 -1
  280. package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js.map +0 -1
  281. package/dist/UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js.map +0 -1
  282. package/dist/XMarkIcon-Cwy3T6p8.js +0 -22
  283. package/dist/XMarkIcon-Cwy3T6p8.js.map +0 -1
  284. package/dist/XMarkIcon-DNvCkiOy.js +0 -16
  285. package/dist/XMarkIcon-DNvCkiOy.js.map +0 -1
  286. package/dist/YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js.map +0 -1
  287. package/dist/_plugin-vue_export-helper-CHgC5LLL.js.map +0 -1
  288. package/dist/active-element-history-BTBNVIJN.js +0 -17
  289. package/dist/active-element-history-BTBNVIJN.js.map +0 -1
  290. package/dist/calculate-active-index-Dim3sT-5.js +0 -55
  291. package/dist/calculate-active-index-Dim3sT-5.js.map +0 -1
  292. package/dist/calendar-BlSSD4nO.js +0 -575
  293. package/dist/calendar-BlSSD4nO.js.map +0 -1
  294. package/dist/calendars/CalendarDashboard.js.map +0 -1
  295. package/dist/calendars/CalendarHeader.js.map +0 -1
  296. package/dist/calendars/DayCalendar.js.map +0 -1
  297. package/dist/calendars/EventCard.js.map +0 -1
  298. package/dist/calendars/EventsList.js.map +0 -1
  299. package/dist/calendars/MonthCalendar.js.map +0 -1
  300. package/dist/calendars/WeekCalendar.js.map +0 -1
  301. package/dist/calendars/YearCalendar.js.map +0 -1
  302. package/dist/charts/BarChart.js.map +0 -1
  303. package/dist/charts/BaseChart.js.map +0 -1
  304. package/dist/charts/FunnelChart.js.map +0 -1
  305. package/dist/charts/LineChart.js.map +0 -1
  306. package/dist/charts/PieChart.js.map +0 -1
  307. package/dist/charts/SparklineChart.js.map +0 -1
  308. package/dist/charts/StatCard.js.map +0 -1
  309. package/dist/charts/chartTheme.js.map +0 -1
  310. package/dist/charts/index.js.map +0 -1
  311. package/dist/components/Avatar.js.map +0 -1
  312. package/dist/components/Badge.js.map +0 -1
  313. package/dist/components/Banner.js.map +0 -1
  314. package/dist/components/Breadcrumb.js.map +0 -1
  315. package/dist/components/Button.js.map +0 -1
  316. package/dist/components/ButtonGroup.js.map +0 -1
  317. package/dist/components/Checkbox.js.map +0 -1
  318. package/dist/components/CloudinaryImage.js.map +0 -1
  319. package/dist/components/Loading.js.map +0 -1
  320. package/dist/components/LoadingDots.js.map +0 -1
  321. package/dist/components/LottieAnimation.js.map +0 -1
  322. package/dist/components/Menu.js.map +0 -1
  323. package/dist/components/Modal.js.map +0 -1
  324. package/dist/components/NavLink.js.map +0 -1
  325. package/dist/components/ProgressBar.js.map +0 -1
  326. package/dist/components/RadialProgressBar.js.map +0 -1
  327. package/dist/components/Table.js.map +0 -1
  328. package/dist/components/Transition.js.map +0 -1
  329. package/dist/composables/index.js.map +0 -1
  330. package/dist/composables/useCalendar.js.map +0 -1
  331. package/dist/composables/useFormValidation.js.map +0 -1
  332. package/dist/composables/useMap.js.map +0 -1
  333. package/dist/composables/useModal.js.map +0 -1
  334. package/dist/composables/useNotifications.js.map +0 -1
  335. package/dist/composables/useTabs.js.map +0 -1
  336. package/dist/composables/useTheme.js.map +0 -1
  337. package/dist/description-C7cRw0tq.js +0 -30
  338. package/dist/description-C7cRw0tq.js.map +0 -1
  339. package/dist/dialog-BJ2Ld8l3.js +0 -499
  340. package/dist/dialog-BJ2Ld8l3.js.map +0 -1
  341. package/dist/empty-state/ComingSoon.js.map +0 -1
  342. package/dist/empty-state/EmptyState.js.map +0 -1
  343. package/dist/empty-state/index.js.map +0 -1
  344. package/dist/env-BZfPsfnF.js +0 -29
  345. package/dist/env-BZfPsfnF.js.map +0 -1
  346. package/dist/form-f8yP4kN-.js +0 -35
  347. package/dist/form-f8yP4kN-.js.map +0 -1
  348. package/dist/forms/DynamicForm.js.map +0 -1
  349. package/dist/forms/DynamicFormField.js.map +0 -1
  350. package/dist/forms/FormFieldWrapper.js.map +0 -1
  351. package/dist/hidden-BSRluD1y.js +0 -15
  352. package/dist/hidden-BSRluD1y.js.map +0 -1
  353. package/dist/id-DafBB_QF.js.map +0 -1
  354. package/dist/index-Dca39bYA.js +0 -2167
  355. package/dist/index-Dca39bYA.js.map +0 -1
  356. package/dist/index.js.map +0 -1
  357. package/dist/inputs/AddDeleteButtonGroup.js.map +0 -1
  358. package/dist/inputs/CheckboxInput.js.map +0 -1
  359. package/dist/inputs/ComboboxInput.js.map +0 -1
  360. package/dist/inputs/DatepickerInput.js.map +0 -1
  361. package/dist/inputs/EmailInput.js.map +0 -1
  362. package/dist/inputs/EmptyInput.js.map +0 -1
  363. package/dist/inputs/FileDropzoneInput.js.map +0 -1
  364. package/dist/inputs/HiddenInput.js.map +0 -1
  365. package/dist/inputs/PhoneInput.js.map +0 -1
  366. package/dist/inputs/RichTextInput.js.map +0 -1
  367. package/dist/inputs/SelectInput.js.map +0 -1
  368. package/dist/inputs/SelectTextInput.js.map +0 -1
  369. package/dist/inputs/SwitchInput.js.map +0 -1
  370. package/dist/inputs/SwitchInputGroup.js.map +0 -1
  371. package/dist/inputs/TagifyInput.js.map +0 -1
  372. package/dist/inputs/TextAreaInput.js.map +0 -1
  373. package/dist/inputs/TextInput.js.map +0 -1
  374. package/dist/keyboard-Dd_2-cFu.js +0 -5
  375. package/dist/keyboard-Dd_2-cFu.js.map +0 -1
  376. package/dist/layouts/DashboardLayout.js.map +0 -1
  377. package/dist/layouts/DefaultLayout.js.map +0 -1
  378. package/dist/layouts/HeaderLayout.js.map +0 -1
  379. package/dist/layouts/NavigationGroup.js.map +0 -1
  380. package/dist/layouts/NavigationItem.js.map +0 -1
  381. package/dist/layouts/ProfileHeaderAvatar.js.map +0 -1
  382. package/dist/layouts/ProjectLogo.js.map +0 -1
  383. package/dist/layouts/SidebarLayout.js.map +0 -1
  384. package/dist/listbox-YaWWZiiG.js +0 -257
  385. package/dist/listbox-YaWWZiiG.js.map +0 -1
  386. package/dist/loading/ContentSkeleton.js.map +0 -1
  387. package/dist/loading/SmartLoadingIndicator.js.map +0 -1
  388. package/dist/loading/index.js.map +0 -1
  389. package/dist/mapThemes-DFE9fZm3.js.map +0 -1
  390. package/dist/maps/GoogleMap.js.map +0 -1
  391. package/dist/maps/UiInfoWindow.js.map +0 -1
  392. package/dist/maps/UiMap.js.map +0 -1
  393. package/dist/maps/UiMapAll.js.map +0 -1
  394. package/dist/maps/UiMapMarker.js.map +0 -1
  395. package/dist/maps/index.js.map +0 -1
  396. package/dist/micro-task-D-oTY33s.js +0 -9
  397. package/dist/micro-task-D-oTY33s.js.map +0 -1
  398. package/dist/modals/AlertModal.js.map +0 -1
  399. package/dist/modals/BaseModal.js.map +0 -1
  400. package/dist/modals/ImageCropperModal.js.map +0 -1
  401. package/dist/notifications/NotificationContainer.js.map +0 -1
  402. package/dist/notifications/NotificationToast.js.map +0 -1
  403. package/dist/notifications/index.js.map +0 -1
  404. package/dist/open-closed-JTEvYTg2.js +0 -19
  405. package/dist/open-closed-JTEvYTg2.js.map +0 -1
  406. package/dist/render-QUUPyNjX.js +0 -101
  407. package/dist/render-QUUPyNjX.js.map +0 -1
  408. package/dist/stepper/StepperPanels.js.map +0 -1
  409. package/dist/stepper/index.js.map +0 -1
  410. package/dist/tabs/InlineTabs.js.map +0 -1
  411. package/dist/tabs/TabGroup.js.map +0 -1
  412. package/dist/tabs/TabGroupUnderline.js.map +0 -1
  413. package/dist/tabs/TabsInPills.js.map +0 -1
  414. package/dist/tabs/index.js.map +0 -1
  415. package/dist/tabs-J5phClGv.js +0 -202
  416. package/dist/tabs-J5phClGv.js.map +0 -1
  417. package/dist/transition-_rPfnoET.js +0 -191
  418. package/dist/transition-_rPfnoET.js.map +0 -1
  419. package/dist/use-outside-click-14T0Zn98.js +0 -151
  420. package/dist/use-outside-click-14T0Zn98.js.map +0 -1
  421. package/dist/use-resolve-button-type-h6n-lm9q.js +0 -20
  422. package/dist/use-resolve-button-type-h6n-lm9q.js.map +0 -1
  423. package/dist/use-text-value-DKnkjK00.js +0 -44
  424. package/dist/use-text-value-DKnkjK00.js.map +0 -1
  425. package/dist/use-tree-walker-Bo9gIb_K.js +0 -16
  426. package/dist/use-tree-walker-Bo9gIb_K.js.map +0 -1
  427. package/dist/useEventSegments-B-r_8zCW.js.map +0 -1
  428. package/dist/useMap-BaZEIoWM.js +0 -525
  429. package/dist/useMap-BaZEIoWM.js.map +0 -1
  430. package/dist/useSimpleTabs-CSgkChEU.js.map +0 -1
  431. package/dist/useStringTransform-CSr7nZWg.js.map +0 -1
  432. package/dist/vue-datepicker-CEn0-fJj.js +0 -4871
  433. package/dist/vue-datepicker-CEn0-fJj.js.map +0 -1
  434. package/dist/vue-router-B3K2xmg_.js +0 -120
  435. package/dist/vue-router-B3K2xmg_.js.map +0 -1
  436. package/dist/vue3-lottie.es-DT4qZE-F.js +0 -7981
  437. package/dist/vue3-lottie.es-DT4qZE-F.js.map +0 -1
  438. package/dist/wrappers/BackgroundGradientWrapper.js.map +0 -1
  439. package/dist/wrappers/CardWrapper.js.map +0 -1
  440. package/dist/wrappers/DisclosureWrapper.js.map +0 -1
  441. package/dist/wrappers/FormErrorWrapper.js.map +0 -1
  442. package/dist/wrappers/index.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,127 +1,135 @@
1
- import { a as It, g as Mt, s as Vt } from "./id-DafBB_QF.js";
2
- import { defineAsyncComponent as K, createElementBlock as d, openBlock as i, createElementVNode as s, defineComponent as T, ref as H, watch as G, createBlock as W, unref as _, withCtx as b, createVNode as m, normalizeStyle as k, createTextVNode as S, withDirectives as D, vModelText as N, Fragment as j, renderList as B, normalizeClass as v, toDisplayString as x, computed as y, createCommentVNode as g, reactive as Q, useSlots as X, renderSlot as p, Transition as U, vShow as ee } from "vue";
3
- import V from "./inputs/TextInput.js";
4
- import { useCalendar as At } from "./composables/useCalendar.js";
5
- import { c as Lt, u as Et } from "./useEventSegments-B-r_8zCW.js";
6
- import { useFormValidation as Dt } from "./composables/useFormValidation.js";
7
- import { U as Pt, W as Nt, d as Ut, i as Ot, u as Rt } from "./useMap-BaZEIoWM.js";
8
- import { useModal as Gt } from "./composables/useModal.js";
9
- import { useNotifications as Yt } from "./composables/useNotifications.js";
10
- import { g as qt, u as Zt } from "./useSimpleTabs-CSgkChEU.js";
11
- import { f as Qt, i as Xt, s as el, a as sl, t as tl, c as ll, b as ol, u as al } from "./useStringTransform-CSr7nZWg.js";
12
- import { useTabs as nl } from "./composables/useTabs.js";
13
- import { useTheme as Y, presetThemes as se } from "./composables/useTheme.js";
14
- import { _ as dl } from "./LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js";
15
- import { _ as te } from "./UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js";
16
- import { _ as F } from "./UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js";
17
- import { _ as ul } from "./UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js";
18
- import { _ as ml } from "./UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js";
19
- import { _ as le } from "./UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js";
20
- import { _ as gl } from "./UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js";
21
- import { _ as hl } from "./UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js";
22
- import { _ as bl } from "./UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js";
23
- import { _ as Cl } from "./UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js";
24
- import { _ as wl } from "./UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js";
25
- import { _ as _l } from "./UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js";
26
- import { _ as Tl } from "./CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js";
27
- import { _ as Ml } from "./DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js";
28
- import { _ as jl } from "./EventCard.vue_vue_type_script_setup_true_lang-j1mtKShZ.js";
29
- import { _ as Bl } from "./EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js";
30
- import { _ as El } from "./MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js";
31
- import { _ as Dl } from "./YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js";
32
- import { _ as Pl } from "./BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js";
33
- import { _ as Ul } from "./FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js";
34
- import { _ as Rl } from "./LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js";
35
- import { _ as Gl } from "./PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js";
36
- import { _ as Yl } from "./SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js";
37
- import { _ as ql } from "./StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js";
38
- import { _ as Kl } from "./ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js";
39
- import { _ as Xl } from "./EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js";
40
- import { _ as so } from "./DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js";
41
- import { _ as lo } from "./DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js";
42
- import { _ as ao } from "./AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-CFS3lVF-.js";
43
- import { _ as oe } from "./CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js";
44
- import { _ as ae } from "./ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js";
45
- import { _ as no } from "./DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js";
46
- import { _ as co } from "./EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js";
47
- import { _ as fo } from "./EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js";
48
- import { _ as po } from "./FileDropzoneInput.vue_vue_type_script_setup_true_lang-CclXceTb.js";
49
- import { _ as xo } from "./HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js";
50
- import { _ as re } from "./TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js";
51
- import { _ as ne } from "./SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js";
52
- import { _ as O } from "./SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js";
53
- import { _ as yo } from "./SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js";
54
- import { _ as vo } from "./SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js";
55
- import { _ as ko } from "./TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js";
56
- import { _ as $o } from "./DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js";
57
- import { _ as So } from "./DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js";
58
- import { _ as Io } from "./HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js";
59
- import { _ as Vo } from "./NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js";
60
- import { _ as Ao } from "./NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js";
61
- import { _ as Lo } from "./ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js";
62
- import { _ as Fo } from "./ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js";
63
- import { _ as zo } from "./SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js";
64
- import { _ as No } from "./UiMapAll.vue_vue_type_script_setup_true_lang-CMAyvJMk.js";
65
- import { _ as Oo } from "./AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js";
66
- import { _ as Ho } from "./BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js";
67
- import { _ as Wo } from "./NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js";
68
- import { _ as Jo } from "./NotificationToast.vue_vue_type_script_setup_true_lang-CU__ORw8.js";
69
- import { _ as Zo } from "./StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js";
70
- import { _ as Qo } from "./InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js";
71
- import { _ as ea } from "./TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js";
72
- import { _ as ta } from "./TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js";
73
- import { _ as oa } from "./TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js";
74
- import { _ as ra } from "./BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js";
75
- import { _ as ia } from "./CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js";
76
- import { _ as ca } from "./DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js";
77
- import { _ as fa } from "./FormErrorWrapper.vue_vue_type_script_setup_true_lang-BQOlG_ab.js";
78
- import { default as pa } from "./components/CloudinaryImage.js";
79
- import A from "./components/Button.js";
80
- import { S as ie, h as R } from "./transition-_rPfnoET.js";
81
- import { Y as de, G as ce, V as ue } from "./dialog-BJ2Ld8l3.js";
82
- import { r as fe } from "./XMarkIcon-Cwy3T6p8.js";
83
- import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
84
- import { default as xa } from "./components/Banner.js";
85
- import { default as ya } from "./components/Breadcrumb.js";
86
- import { default as va } from "./components/LoadingDots.js";
87
- import { default as ka } from "./calendars/CalendarDashboard.js";
88
- import { default as $a } from "./calendars/WeekCalendar.js";
89
- import { default as Sa } from "./charts/BaseChart.js";
90
- import { areaChartConfig as Ia, barChartConfig as Ma, baseTheme as Va, chartColors as ja, chartTypography as Aa, formatDuration as Ba, formatNumber as La, formatPercentage as Ea, funnelChartConfig as Fa, getAreaGradient as Da, hexToRgb as za, lineChartConfig as Pa, pieChartConfig as Na, stachelockColors as Ua, toRgba as Oa } from "./charts/chartTheme.js";
91
- import { default as Ha } from "./forms/FormFieldWrapper.js";
92
- import { default as Wa } from "./inputs/PhoneInput.js";
93
- import { default as Ja } from "./inputs/RichTextInput.js";
94
- import { default as Za } from "./loading/ContentSkeleton.js";
95
- import { default as Qa } from "./loading/SmartLoadingIndicator.js";
96
- import { default as er } from "./maps/GoogleMap.js";
97
- import { default as tr } from "./maps/UiInfoWindow.js";
98
- import { default as or } from "./maps/UiMap.js";
99
- import { default as rr } from "./maps/UiMapMarker.js";
100
- import { default as ir } from "./modals/ImageCropperModal.js";
101
- const me = {
1
+ import { g as Ee } from "./id-DafBB_QF.js";
2
+ import { a as ql, s as eo } from "./id-DafBB_QF.js";
3
+ import { defineAsyncComponent as Le, defineComponent as D, ref as F, watch as ee, createBlock as U, openBlock as c, unref as x, withCtx as k, createVNode as y, createElementVNode as t, normalizeStyle as z, createTextVNode as E, withDirectives as Y, vModelText as ae, createElementBlock as f, Fragment as V, renderList as R, normalizeClass as _, toDisplayString as w, computed as C, createCommentVNode as b, inject as Pe, onMounted as De, reactive as ue, resolveDynamicComponent as Fe, useSlots as Be, renderSlot as v, Transition as re, vShow as Ue } from "vue";
4
+ import M from "./inputs/TextInput.js";
5
+ import { useCalendar as to } from "./composables/useCalendar.js";
6
+ import { c as oo, u as ao } from "./useEventSegments-B-r_8zCW.js";
7
+ import { useFormValidation as no } from "./composables/useFormValidation.js";
8
+ import { U as co, W as uo, d as fo, i as mo, u as po } from "./useMap-BGg0H582.js";
9
+ import { useModal as yo } from "./composables/useModal.js";
10
+ import { useNotifications as xo } from "./composables/useNotifications.js";
11
+ import { g as bo, u as ko } from "./useSimpleTabs-CSgkChEU.js";
12
+ import { f as wo, i as $o, s as So, a as _o, t as To, c as Io, b as Ao, u as Mo } from "./useStringTransform-CSr7nZWg.js";
13
+ import { useTabs as Eo } from "./composables/useTabs.js";
14
+ import { useTheme as fe, presetThemes as Ve } from "./composables/useTheme.js";
15
+ import { _ as Po } from "./LottieAnimation.vue_vue_type_script_setup_true_lang-C0R4ADBb.js";
16
+ import { _ as je } from "./UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js";
17
+ import { _ as X } from "./UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js";
18
+ import { _ as Fo } from "./UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js";
19
+ import { _ as Uo } from "./UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js";
20
+ import { _ as Oe } from "./UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js";
21
+ import { _ as jo } from "./UiMenu.vue_vue_type_script_setup_true_lang-gnoIJm6x.js";
22
+ import { _ as No } from "./UiModal.vue_vue_type_script_setup_true_lang-BZC7aN7K.js";
23
+ import { _ as Go } from "./UiNavLink.vue_vue_type_script_setup_true_lang-C5Gicm8o.js";
24
+ import { _ as Ho } from "./UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js";
25
+ import { _ as Zo } from "./UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js";
26
+ import { _ as Xo } from "./UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js";
27
+ import { _ as Qo } from "./CalendarHeader.vue_vue_type_script_setup_true_lang-hGa2MLyo.js";
28
+ import { _ as ea } from "./DayCalendar.vue_vue_type_script_setup_true_lang-D-4jcUvI.js";
29
+ import { _ as ta } from "./EventCard.vue_vue_type_script_setup_true_lang-B3TP-mWX.js";
30
+ import { _ as oa } from "./EventsList.vue_vue_type_script_setup_true_lang-BTIoGr_e.js";
31
+ import { _ as ra } from "./MonthCalendar.vue_vue_type_style_index_0_lang-lnKkvJ9u.js";
32
+ import { _ as ia } from "./YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js";
33
+ import { _ as ca } from "./BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js";
34
+ import { _ as fa } from "./FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js";
35
+ import { _ as pa } from "./LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js";
36
+ import { _ as ya } from "./PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js";
37
+ import { _ as xa } from "./SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js";
38
+ import { _ as ba } from "./StatCard.vue_vue_type_script_setup_true_lang-B5SuaSXL.js";
39
+ import { _ as Ca } from "./ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js";
40
+ import { _ as $a } from "./EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js";
41
+ import { _ as _a } from "./DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js";
42
+ import { _ as Ia } from "./DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js";
43
+ import { _ as Ma } from "./AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-6taLcPq0.js";
44
+ import { _ as Ne } from "./CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js";
45
+ import { _ as Re } from "./ComboboxInput.vue_vue_type_script_setup_true_lang-BigvbBAU.js";
46
+ import { _ as Ea } from "./DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js";
47
+ import { _ as Pa } from "./EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js";
48
+ import { _ as Fa } from "./EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js";
49
+ import { _ as Ua } from "./FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js";
50
+ import { _ as ja } from "./HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js";
51
+ import { _ as Ge } from "./TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js";
52
+ import { _ as Ke } from "./SwitchInput.vue_vue_type_script_setup_true_lang-D5Es9AjF.js";
53
+ import { _ as ne } from "./SelectInput.vue_vue_type_script_setup_true_lang-D4GNv0MY.js";
54
+ import { _ as Na } from "./SelectTextInput.vue_vue_type_script_setup_true_lang-BVaViHPl.js";
55
+ import { _ as Ga } from "./SwitchInputGroup.vue_vue_type_script_setup_true_lang-DigNYqVZ.js";
56
+ import { _ as Ha } from "./TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js";
57
+ import { _ as Za } from "./DashboardLayout.vue_vue_type_script_setup_true_lang-BAx4gKqh.js";
58
+ import { _ as Xa } from "./DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js";
59
+ import { _ as Qa } from "./HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js";
60
+ import { _ as er } from "./NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js";
61
+ import { _ as tr } from "./NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js";
62
+ import { _ as or } from "./ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js";
63
+ import { _ as rr } from "./ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js";
64
+ import { _ as ir } from "./SidebarLayout.vue_vue_type_script_setup_true_lang-CZ21EVcZ.js";
65
+ import { _ as cr } from "./UiMapAll.vue_vue_type_script_setup_true_lang-11yT7mTH.js";
66
+ import { _ as fr } from "./AlertModal.vue_vue_type_script_setup_true_lang-DzhVQdx4.js";
67
+ import { _ as pr } from "./BaseModal.vue_vue_type_script_setup_true_lang--iGzFCnC.js";
68
+ import { _ as yr } from "./NotificationContainer.vue_vue_type_style_index_0_lang-CvJRwezr.js";
69
+ import { _ as xr } from "./NotificationToast.vue_vue_type_script_setup_true_lang-BBWpW4km.js";
70
+ import { _ as br } from "./StepperPanels.vue_vue_type_script_setup_true_lang-DPLQ9mQn.js";
71
+ import { _ as Cr } from "./InlineTabs.vue_vue_type_script_setup_true_lang-B5w4yzcZ.js";
72
+ import { _ as $r } from "./TabGroup.vue_vue_type_script_setup_true_lang-BsbiEA4E.js";
73
+ import { _ as _r } from "./TabGroupUnderline.vue_vue_type_script_setup_true_lang-CPcp1-Za.js";
74
+ import { _ as Ir } from "./TabsInPills.vue_vue_type_script_setup_true_lang-U5CdRL7s.js";
75
+ import { _ as Mr } from "./BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js";
76
+ import { _ as Er } from "./CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js";
77
+ import { _ as Pr } from "./DisclosureWrapper.vue_vue_type_script_setup_true_lang-CgHPOC-w.js";
78
+ import { _ as Fr } from "./FormErrorWrapper.vue_vue_type_script_setup_true_lang-D7ZAgfPs.js";
79
+ import { default as Ur } from "./components/CloudinaryImage.js";
80
+ import { TransitionRoot as Q, Dialog as He, TransitionChild as ie, DialogPanel as We, DialogTitle as Ze, Combobox as Je, ComboboxInput as Xe, ComboboxButton as Ye, ComboboxOptions as Qe, ComboboxOption as qe } from "@headlessui/vue";
81
+ import { SwatchIcon as es, XMarkIcon as ss, ClockIcon as de, ExclamationCircleIcon as ts, CheckCircleIcon as ls } from "@heroicons/vue/24/outline";
82
+ import Z from "./components/Button.js";
83
+ import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
84
+ import { default as jr } from "./components/Banner.js";
85
+ import { default as Nr } from "./components/Breadcrumb.js";
86
+ import { default as Gr } from "./components/LoadingDots.js";
87
+ import { default as Hr } from "./calendars/CalendarDashboard.js";
88
+ import { default as Zr } from "./calendars/WeekCalendar.js";
89
+ import { default as Xr } from "./charts/BaseChart.js";
90
+ import { areaChartConfig as Qr, barChartConfig as qr, baseTheme as en, chartColors as sn, chartTypography as tn, formatDuration as ln, formatNumber as on, formatPercentage as an, funnelChartConfig as rn, getAreaGradient as nn, hexToRgb as dn, lineChartConfig as cn, pieChartConfig as un, stachelockColors as fn, toRgba as mn } from "./charts/chartTheme.js";
91
+ import os from "./forms/FormFieldWrapper.js";
92
+ import { LockClosedIcon as as, MagnifyingGlassIcon as rs, CheckIcon as ns, ChevronDownIcon as is, ChevronUpIcon as ds } from "@heroicons/vue/20/solid";
93
+ import { useField as cs } from "vee-validate";
94
+ import { debounce as ce } from "lodash-es";
95
+ import { Loader as us } from "@googlemaps/js-api-loader";
96
+ import { default as gn } from "./inputs/PhoneInput.js";
97
+ import { default as hn } from "./inputs/RichTextInput.js";
98
+ import { default as vn } from "./loading/ContentSkeleton.js";
99
+ import { default as kn } from "./loading/SmartLoadingIndicator.js";
100
+ import { default as wn } from "./maps/GoogleMap.js";
101
+ import { default as Sn } from "./maps/UiInfoWindow.js";
102
+ import { default as Tn } from "./maps/UiMap.js";
103
+ import { default as An } from "./maps/UiMapMarker.js";
104
+ import { default as zn } from "./modals/ImageCropperModal.js";
105
+ var fs = /* @__PURE__ */ ((s) => (s.Verified = "verified", s.Error = "error", s.Unverified = "unverified", s.Pending = "pending", s))(fs || {});
106
+ function Fl(s) {
107
+ return ["street", "city", "state", "zipcode", "country"].includes(s);
108
+ }
109
+ const ms = {
102
110
  text: {
103
111
  component: "TextInput",
104
- loader: () => Promise.resolve(V)
112
+ loader: () => Promise.resolve(M)
105
113
  },
106
114
  email: {
107
115
  component: "TextInput",
108
- loader: () => Promise.resolve(V)
116
+ loader: () => Promise.resolve(M)
109
117
  },
110
118
  password: {
111
119
  component: "TextInput",
112
- loader: () => Promise.resolve(V)
120
+ loader: () => Promise.resolve(M)
113
121
  },
114
122
  number: {
115
123
  component: "TextInput",
116
- loader: () => Promise.resolve(V)
124
+ loader: () => Promise.resolve(M)
117
125
  },
118
126
  tel: {
119
127
  component: "TextInput",
120
- loader: () => Promise.resolve(V)
128
+ loader: () => Promise.resolve(M)
121
129
  },
122
130
  url: {
123
131
  component: "TextInput",
124
- loader: () => Promise.resolve(V)
132
+ loader: () => Promise.resolve(M)
125
133
  },
126
134
  textarea: {
127
135
  component: "TextAreaInput",
@@ -144,8 +152,8 @@ const me = {
144
152
  loader: () => import("./inputs/SwitchInput.js")
145
153
  }
146
154
  };
147
- class pe {
148
- componentMap = { ...me };
155
+ class ps {
156
+ componentMap = { ...ms };
149
157
  loadedComponents = /* @__PURE__ */ new Map();
150
158
  /**
151
159
  * Register a new component type
@@ -162,7 +170,7 @@ class pe {
162
170
  return console.warn(`Component type "${e}" is not registered`), null;
163
171
  if (this.loadedComponents.has(e))
164
172
  return this.loadedComponents.get(e);
165
- const l = K({
173
+ const l = Le({
166
174
  loader: o.loader,
167
175
  delay: 0
168
176
  });
@@ -193,14 +201,14 @@ class pe {
193
201
  this.loadedComponents.clear();
194
202
  }
195
203
  }
196
- const q = new pe();
197
- function mt(t, e, o) {
198
- q.register(t, e, o);
204
+ const me = new ps();
205
+ function Bl(s, e, o) {
206
+ me.register(s, e, o);
199
207
  }
200
- function pt(t) {
201
- return q.getComponent(t);
208
+ function Ul(s) {
209
+ return me.getComponent(s);
202
210
  }
203
- const Z = {
211
+ const pe = {
204
212
  colors: {
205
213
  primary: {
206
214
  50: "#edeff9",
@@ -303,50 +311,50 @@ const Z = {
303
311
  "2xl": "1536px"
304
312
  }
305
313
  };
306
- function ge(t, e = Z) {
314
+ function gs(s, e = pe) {
307
315
  const o = { ...e };
308
- function l(r, f) {
309
- if (f && typeof f == "object" && !Array.isArray(f)) {
310
- for (const a in f)
311
- if (Object.prototype.hasOwnProperty.call(f, a)) {
312
- const u = r[a], C = f[a];
313
- u && typeof u == "object" && !Array.isArray(u) && C && typeof C == "object" && !Array.isArray(C) ? r[a] = l(u, C) : r[a] = C;
316
+ function l(r, d) {
317
+ if (d && typeof d == "object" && !Array.isArray(d)) {
318
+ for (const a in d)
319
+ if (Object.prototype.hasOwnProperty.call(d, a)) {
320
+ const n = r[a], S = d[a];
321
+ n && typeof n == "object" && !Array.isArray(n) && S && typeof S == "object" && !Array.isArray(S) ? r[a] = l(n, S) : r[a] = S;
314
322
  }
315
323
  }
316
324
  return r;
317
325
  }
318
- return l(o, t);
326
+ return l(o, s);
319
327
  }
320
- function xe(t) {
328
+ function ys(s) {
321
329
  let e = `:root {
322
330
  `;
323
- return t.colors && Object.entries(t.colors).forEach(([o, l]) => {
324
- typeof l == "object" && l !== null && Object.entries(l).forEach(([r, f]) => {
331
+ return s.colors && Object.entries(s.colors).forEach(([o, l]) => {
332
+ typeof l == "object" && l !== null && Object.entries(l).forEach(([r, d]) => {
325
333
  const a = r === "DEFAULT" ? o : `${o}-${r}`;
326
- e += ` --sl-color-${a}: ${f};
334
+ e += ` --sl-color-${a}: ${d};
327
335
  `;
328
- const u = he(f);
329
- u && (e += ` --sl-color-${a}-rgb: ${u};
336
+ const n = hs(d);
337
+ n && (e += ` --sl-color-${a}-rgb: ${n};
330
338
  `);
331
339
  });
332
- }), t.spacing && Object.entries(t.spacing).forEach(([o, l]) => {
340
+ }), s.spacing && Object.entries(s.spacing).forEach(([o, l]) => {
333
341
  e += ` --sl-spacing-${o}: ${l};
334
342
  `;
335
- }), t.borderRadius && Object.entries(t.borderRadius).forEach(([o, l]) => {
343
+ }), s.borderRadius && Object.entries(s.borderRadius).forEach(([o, l]) => {
336
344
  const r = o === "DEFAULT" ? "radius" : `radius-${o}`;
337
345
  e += ` --sl-${r}: ${l};
338
346
  `;
339
- }), t.shadows && Object.entries(t.shadows).forEach(([o, l]) => {
347
+ }), s.shadows && Object.entries(s.shadows).forEach(([o, l]) => {
340
348
  const r = o === "DEFAULT" ? "shadow" : `shadow-${o}`;
341
349
  e += ` --sl-${r}: ${l};
342
350
  `;
343
- }), t.typography && (t.typography.fontFamily && Object.entries(t.typography.fontFamily).forEach(([o, l]) => {
351
+ }), s.typography && (s.typography.fontFamily && Object.entries(s.typography.fontFamily).forEach(([o, l]) => {
344
352
  e += ` --sl-font-family-${o}: ${l.join(", ")};
345
353
  `;
346
- }), t.typography.fontSize && Object.entries(t.typography.fontSize).forEach(([o, l]) => {
354
+ }), s.typography.fontSize && Object.entries(s.typography.fontSize).forEach(([o, l]) => {
347
355
  e += ` --sl-font-size-${o}: ${l};
348
356
  `;
349
- })), t.breakpoints && Object.entries(t.breakpoints).forEach(([o, l]) => {
357
+ })), s.breakpoints && Object.entries(s.breakpoints).forEach(([o, l]) => {
350
358
  e += ` --sl-breakpoint-${o}: ${l};
351
359
  `;
352
360
  }), e += ` --sl-ring-color: var(--sl-color-stachelock-600, #3e4b9a);
@@ -363,43 +371,43 @@ function xe(t) {
363
371
  `, e += `}
364
372
  `, e;
365
373
  }
366
- function gt(t) {
374
+ function Vl(s) {
367
375
  let e = `export default {
368
376
  `;
369
377
  return e += ` prefix: "sl-",
370
378
  `, e += ` theme: {
371
379
  `, e += ` extend: {
372
- `, t.colors && (e += ` colors: {
373
- `, Object.entries(t.colors).forEach(([o, l]) => {
380
+ `, s.colors && (e += ` colors: {
381
+ `, Object.entries(s.colors).forEach(([o, l]) => {
374
382
  typeof l == "object" && l !== null && (e += ` "${o}": {
375
- `, Object.entries(l).forEach(([r, f]) => {
376
- e += ` "${r === "DEFAULT" ? "DEFAULT" : r}": "${f}",
383
+ `, Object.entries(l).forEach(([r, d]) => {
384
+ e += ` "${r === "DEFAULT" ? "DEFAULT" : r}": "${d}",
377
385
  `;
378
386
  }), e += ` },
379
387
  `);
380
388
  }), e += ` },
381
- `), t.spacing && (e += ` spacing: {
382
- `, Object.entries(t.spacing).forEach(([o, l]) => {
389
+ `), s.spacing && (e += ` spacing: {
390
+ `, Object.entries(s.spacing).forEach(([o, l]) => {
383
391
  e += ` "${o}": "${l}",
384
392
  `;
385
393
  }), e += ` },
386
- `), t.borderRadius && (e += ` borderRadius: {
387
- `, Object.entries(t.borderRadius).forEach(([o, l]) => {
394
+ `), s.borderRadius && (e += ` borderRadius: {
395
+ `, Object.entries(s.borderRadius).forEach(([o, l]) => {
388
396
  e += ` "${o === "DEFAULT" ? "DEFAULT" : o}": "${l}",
389
397
  `;
390
398
  }), e += ` },
391
- `), t.shadows && (e += ` boxShadow: {
392
- `, Object.entries(t.shadows).forEach(([o, l]) => {
399
+ `), s.shadows && (e += ` boxShadow: {
400
+ `, Object.entries(s.shadows).forEach(([o, l]) => {
393
401
  e += ` "${o === "DEFAULT" ? "DEFAULT" : o}": "${l}",
394
402
  `;
395
403
  }), e += ` },
396
- `), t.typography && (t.typography.fontFamily && (e += ` fontFamily: {
397
- `, Object.entries(t.typography.fontFamily).forEach(([o, l]) => {
404
+ `), s.typography && (s.typography.fontFamily && (e += ` fontFamily: {
405
+ `, Object.entries(s.typography.fontFamily).forEach(([o, l]) => {
398
406
  e += ` "${o}": [${l.map((r) => `"${r}"`).join(", ")}],
399
407
  `;
400
408
  }), e += ` },
401
- `), t.typography.fontSize && (e += ` fontSize: {
402
- `, Object.entries(t.typography.fontSize).forEach(([o, l]) => {
409
+ `), s.typography.fontSize && (e += ` fontSize: {
410
+ `, Object.entries(s.typography.fontSize).forEach(([o, l]) => {
403
411
  e += ` "${o}": "${l}",
404
412
  `;
405
413
  }), e += ` },
@@ -408,64 +416,47 @@ function gt(t) {
408
416
  `, e += `};
409
417
  `, e;
410
418
  }
411
- function he(t) {
412
- if (typeof t != "string") return null;
413
- let e = t.trim();
414
- if (!e.startsWith("#") || (e = e.slice(1), e.length === 3 && (e = e.split("").map((f) => f + f).join("")), e.length !== 6)) return null;
419
+ function hs(s) {
420
+ if (typeof s != "string") return null;
421
+ let e = s.trim();
422
+ if (!e.startsWith("#") || (e = e.slice(1), e.length === 3 && (e = e.split("").map((d) => d + d).join("")), e.length !== 6)) return null;
415
423
  const o = parseInt(e.slice(0, 2), 16), l = parseInt(e.slice(2, 4), 16), r = parseInt(e.slice(4, 6), 16);
416
424
  return Number.isNaN(o) || Number.isNaN(l) || Number.isNaN(r) ? null : `${o} ${l} ${r}`;
417
425
  }
418
- function ye(t, e) {
419
- return i(), d("svg", {
420
- xmlns: "http://www.w3.org/2000/svg",
421
- fill: "none",
422
- viewBox: "0 0 24 24",
423
- "stroke-width": "1.5",
424
- stroke: "currentColor",
425
- "aria-hidden": "true",
426
- "data-slot": "icon"
427
- }, [
428
- s("path", {
429
- "stroke-linecap": "round",
430
- "stroke-linejoin": "round",
431
- d: "M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z"
432
- })
433
- ]);
434
- }
435
- const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto" }, ve = { class: "sl-flex sl-min-h-full sl-items-center sl-justify-center sl-p-4" }, Ce = { class: "sl-bg-gradient-to-r sl-from-gray-900 sl-to-gray-800 sl-px-6 sl-py-4" }, ke = { class: "sl-flex sl-items-center sl-justify-between" }, we = { class: "sl-flex sl-items-center sl-gap-3" }, $e = { class: "sl-p-6 sl-space-y-6" }, _e = { class: "sl-flex sl-items-center sl-gap-4" }, Se = { class: "sl-relative" }, Te = { class: "sl-flex-1" }, Ie = { class: "sl-grid sl-grid-cols-2 sl-gap-2" }, Me = ["onClick"], Ve = { class: "sl-min-w-0" }, je = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-white sl-truncate" }, Ae = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-truncate" }, Be = { class: "sl-rounded-xl sl-border sl-border-gray-200 dark:sl-border-slate-600 sl-bg-gray-50 dark:sl-bg-slate-900 sl-p-4 sl-space-y-4" }, Le = { class: "sl-flex sl-flex-wrap sl-gap-2" }, Ee = { class: "sl-flex sl-flex-wrap sl-gap-2" }, Fe = { class: "sl-flex sl-items-center sl-gap-4" }, De = { class: "sl-flex sl-items-center sl-gap-3" }, ze = { class: "sl-flex sl-rounded-lg sl-overflow-hidden sl-shadow-sm dark:sl-shadow-slate-900/50" }, Pe = { class: "sl-border-t sl-border-gray-200 dark:sl-border-slate-700 sl-bg-gray-50 dark:sl-bg-slate-900 sl-px-6 sl-py-4" }, Ne = { class: "sl-flex sl-items-center sl-justify-between" }, Ue = { class: "sl-flex sl-gap-3" }, Oe = /* @__PURE__ */ T({
426
+ const xs = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto" }, vs = { class: "sl-flex sl-min-h-full sl-items-center sl-justify-center sl-p-4" }, bs = { class: "sl-bg-gradient-to-r sl-from-gray-900 sl-to-gray-800 sl-px-6 sl-py-4" }, ks = { class: "sl-flex sl-items-center sl-justify-between" }, Cs = { class: "sl-flex sl-items-center sl-gap-3" }, ws = { class: "sl-p-6 sl-space-y-6" }, $s = { class: "sl-flex sl-items-center sl-gap-4" }, Ss = { class: "sl-relative" }, _s = { class: "sl-flex-1" }, Ts = { class: "sl-grid sl-grid-cols-2 sl-gap-2" }, Is = ["onClick"], As = { class: "sl-min-w-0" }, Ms = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-white sl-truncate" }, zs = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-truncate" }, Es = { class: "sl-rounded-xl sl-border sl-border-gray-200 dark:sl-border-slate-600 sl-bg-gray-50 dark:sl-bg-slate-900 sl-p-4 sl-space-y-4" }, Ls = { class: "sl-flex sl-flex-wrap sl-gap-2" }, Ps = { class: "sl-flex sl-flex-wrap sl-gap-2" }, Ds = { class: "sl-flex sl-items-center sl-gap-4" }, Fs = { class: "sl-flex sl-items-center sl-gap-3" }, Bs = { class: "sl-flex sl-rounded-lg sl-overflow-hidden sl-shadow-sm dark:sl-shadow-slate-900/50" }, Us = { class: "sl-border-t sl-border-gray-200 dark:sl-border-slate-700 sl-bg-gray-50 dark:sl-bg-slate-900 sl-px-6 sl-py-4" }, Vs = { class: "sl-flex sl-items-center sl-justify-between" }, js = { class: "sl-flex sl-gap-3" }, Os = /* @__PURE__ */ D({
436
427
  __name: "ThemeDebugModal",
437
428
  props: {
438
429
  modelValue: { type: Boolean }
439
430
  },
440
431
  emits: ["update:modelValue"],
441
- setup(t, { emit: e }) {
442
- const o = e, { currentPrimaryColor: l, applyTheme: r, resetTheme: f } = Y(), a = H(l.value);
443
- G(l, (I) => {
444
- a.value = I;
432
+ setup(s, { emit: e }) {
433
+ const o = e, { currentPrimaryColor: l, applyTheme: r, resetTheme: d } = fe(), a = F(l.value);
434
+ ee(l, (T) => {
435
+ a.value = T;
445
436
  });
446
- const u = () => {
437
+ const n = () => {
447
438
  r(a.value);
448
- }, C = (I) => {
449
- a.value = I, r(I);
450
- }, w = () => {
451
- f(), a.value = "#3e4b9a";
452
- }, $ = () => {
439
+ }, S = (T) => {
440
+ a.value = T, r(T);
441
+ }, I = () => {
442
+ d(), a.value = "#3e4b9a";
443
+ }, A = () => {
453
444
  o("update:modelValue", !1);
454
- }, L = () => {
445
+ }, K = () => {
455
446
  r(a.value), o("update:modelValue", !1);
456
447
  };
457
- return (I, c) => (i(), W(_(ie), {
448
+ return (T, m) => (c(), U(x(Q), {
458
449
  as: "template",
459
- show: t.modelValue
450
+ show: s.modelValue
460
451
  }, {
461
- default: b(() => [
462
- m(_(de), {
452
+ default: k(() => [
453
+ y(x(He), {
463
454
  as: "div",
464
455
  class: "sl-relative sl-z-[100]",
465
- onClose: $
456
+ onClose: A
466
457
  }, {
467
- default: b(() => [
468
- m(_(R), {
458
+ default: k(() => [
459
+ y(x(ie), {
469
460
  as: "template",
470
461
  enter: "ease-out duration-300",
471
462
  "enter-from": "opacity-0",
@@ -474,14 +465,14 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
474
465
  "leave-from": "opacity-100",
475
466
  "leave-to": "opacity-0"
476
467
  }, {
477
- default: b(() => [...c[2] || (c[2] = [
478
- s("div", { class: "sl-fixed sl-inset-0 sl-bg-gray-900/60 sl-backdrop-blur-sm sl-transition-opacity" }, null, -1)
468
+ default: k(() => [...m[2] || (m[2] = [
469
+ t("div", { class: "sl-fixed sl-inset-0 sl-bg-gray-900/60 sl-backdrop-blur-sm sl-transition-opacity" }, null, -1)
479
470
  ])]),
480
471
  _: 1
481
472
  }),
482
- s("div", be, [
483
- s("div", ve, [
484
- m(_(R), {
473
+ t("div", xs, [
474
+ t("div", vs, [
475
+ y(x(ie), {
485
476
  as: "template",
486
477
  enter: "ease-out duration-300",
487
478
  "enter-from": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
@@ -490,188 +481,188 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
490
481
  "leave-from": "opacity-100 translate-y-0 sm:scale-100",
491
482
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
492
483
  }, {
493
- default: b(() => [
494
- m(_(ce), { class: "sl-relative sl-transform sl-overflow-hidden sl-rounded-2xl sl-bg-white dark:sl-bg-slate-800 sl-shadow-2xl sl-transition-all sl-w-full sm:sl-max-w-lg" }, {
495
- default: b(() => [
496
- s("div", Ce, [
497
- s("div", ke, [
498
- s("div", we, [
499
- s("div", {
484
+ default: k(() => [
485
+ y(x(We), { class: "sl-relative sl-transform sl-overflow-hidden sl-rounded-2xl sl-bg-white dark:sl-bg-slate-800 sl-shadow-2xl sl-transition-all sl-w-full sm:sl-max-w-lg" }, {
486
+ default: k(() => [
487
+ t("div", bs, [
488
+ t("div", ks, [
489
+ t("div", Cs, [
490
+ t("div", {
500
491
  class: "sl-flex sl-h-10 sl-w-10 sl-items-center sl-justify-center sl-rounded-lg",
501
- style: k({ backgroundColor: a.value })
492
+ style: z({ backgroundColor: a.value })
502
493
  }, [
503
- m(_(ye), { class: "sl-h-5 sl-w-5 sl-text-white" })
494
+ y(x(es), { class: "sl-h-5 sl-w-5 sl-text-white" })
504
495
  ], 4),
505
- s("div", null, [
506
- m(_(ue), { class: "sl-text-lg sl-font-semibold sl-text-white" }, {
507
- default: b(() => [...c[3] || (c[3] = [
508
- S(" Theme Customizer ", -1)
496
+ t("div", null, [
497
+ y(x(Ze), { class: "sl-text-lg sl-font-semibold sl-text-white" }, {
498
+ default: k(() => [...m[3] || (m[3] = [
499
+ E(" Theme Customizer ", -1)
509
500
  ])]),
510
501
  _: 1
511
502
  }),
512
- c[4] || (c[4] = s("p", { class: "sl-text-xs sl-text-gray-400" }, "Preview how components adapt to different colors", -1))
503
+ m[4] || (m[4] = t("p", { class: "sl-text-xs sl-text-gray-400" }, "Preview how components adapt to different colors", -1))
513
504
  ])
514
505
  ]),
515
- s("button", {
516
- onClick: $,
506
+ t("button", {
507
+ onClick: A,
517
508
  class: "sl-rounded-lg sl-p-2 sl-text-gray-400 hover:sl-bg-gray-700 hover:sl-text-white sl-transition-colors"
518
509
  }, [
519
- m(_(fe), { class: "sl-h-5 sl-w-5" })
510
+ y(x(ss), { class: "sl-h-5 sl-w-5" })
520
511
  ])
521
512
  ])
522
513
  ]),
523
- s("div", $e, [
524
- s("div", null, [
525
- c[5] || (c[5] = s("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Primary Color ", -1)),
526
- s("div", _e, [
527
- s("div", Se, [
528
- D(s("input", {
514
+ t("div", ws, [
515
+ t("div", null, [
516
+ m[5] || (m[5] = t("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Primary Color ", -1)),
517
+ t("div", $s, [
518
+ t("div", Ss, [
519
+ Y(t("input", {
529
520
  type: "color",
530
- "onUpdate:modelValue": c[0] || (c[0] = (h) => a.value = h),
531
- onInput: u,
521
+ "onUpdate:modelValue": m[0] || (m[0] = ($) => a.value = $),
522
+ onInput: n,
532
523
  class: "sl-h-14 sl-w-14 sl-cursor-pointer sl-rounded-xl sl-border-2 sl-border-gray-200 dark:sl-border-slate-600 sl-p-1 sl-shadow-sm hover:sl-border-gray-300 dark:hover:sl-border-slate-500 sl-transition-colors"
533
524
  }, null, 544), [
534
- [N, a.value]
525
+ [ae, a.value]
535
526
  ])
536
527
  ]),
537
- s("div", Te, [
538
- D(s("input", {
528
+ t("div", _s, [
529
+ Y(t("input", {
539
530
  type: "text",
540
- "onUpdate:modelValue": c[1] || (c[1] = (h) => a.value = h),
541
- onInput: u,
531
+ "onUpdate:modelValue": m[1] || (m[1] = ($) => a.value = $),
532
+ onInput: n,
542
533
  placeholder: "#3e4b9a",
543
534
  class: "sl-block sl-w-full sl-rounded-lg sl-border sl-border-gray-300 dark:sl-border-slate-600 sl-bg-white dark:sl-bg-slate-700 sl-px-4 sl-py-3 sl-text-sm sl-font-mono sl-text-gray-900 dark:sl-text-white sl-shadow-sm focus:sl-border-primary-500 focus:sl-ring-2 focus:sl-ring-primary-500/20 sl-transition-all"
544
535
  }, null, 544), [
545
- [N, a.value]
536
+ [ae, a.value]
546
537
  ])
547
538
  ])
548
539
  ])
549
540
  ]),
550
- s("div", null, [
551
- c[6] || (c[6] = s("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Preset Themes ", -1)),
552
- s("div", Ie, [
553
- (i(!0), d(j, null, B(_(se), (h) => (i(), d("button", {
554
- key: h.name,
555
- onClick: (E) => C(h.color),
556
- class: v(["sl-group sl-relative sl-flex sl-items-center sl-gap-3 sl-rounded-lg sl-border sl-border-gray-200 dark:sl-border-slate-600 sl-bg-white dark:sl-bg-slate-700 sl-p-3 sl-text-left sl-transition-all hover:sl-border-gray-300 dark:hover:sl-border-slate-500 hover:sl-shadow-sm", { "sl-ring-2 sl-ring-offset-2 dark:sl-ring-offset-slate-800": a.value.toLowerCase() === h.color.toLowerCase() }]),
557
- style: k(a.value.toLowerCase() === h.color.toLowerCase() ? { "--tw-ring-color": h.color } : {})
541
+ t("div", null, [
542
+ m[6] || (m[6] = t("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Preset Themes ", -1)),
543
+ t("div", Ts, [
544
+ (c(!0), f(V, null, R(x(Ve), ($) => (c(), f("button", {
545
+ key: $.name,
546
+ onClick: (L) => S($.color),
547
+ class: _(["sl-group sl-relative sl-flex sl-items-center sl-gap-3 sl-rounded-lg sl-border sl-border-gray-200 dark:sl-border-slate-600 sl-bg-white dark:sl-bg-slate-700 sl-p-3 sl-text-left sl-transition-all hover:sl-border-gray-300 dark:hover:sl-border-slate-500 hover:sl-shadow-sm", { "sl-ring-2 sl-ring-offset-2 dark:sl-ring-offset-slate-800": a.value.toLowerCase() === $.color.toLowerCase() }]),
548
+ style: z(a.value.toLowerCase() === $.color.toLowerCase() ? { "--tw-ring-color": $.color } : {})
558
549
  }, [
559
- s("div", {
550
+ t("div", {
560
551
  class: "sl-h-8 sl-w-8 sl-rounded-lg sl-shadow-sm sl-flex-shrink-0",
561
- style: k({ backgroundColor: h.color })
552
+ style: z({ backgroundColor: $.color })
562
553
  }, null, 4),
563
- s("div", Ve, [
564
- s("p", je, x(h.name), 1),
565
- s("p", Ae, x(h.description), 1)
554
+ t("div", As, [
555
+ t("p", Ms, w($.name), 1),
556
+ t("p", zs, w($.description), 1)
566
557
  ])
567
- ], 14, Me))), 128))
558
+ ], 14, Is))), 128))
568
559
  ])
569
560
  ]),
570
- s("div", null, [
571
- c[15] || (c[15] = s("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Live Preview ", -1)),
572
- s("div", Be, [
573
- s("div", Le, [
574
- m(A, {
561
+ t("div", null, [
562
+ m[15] || (m[15] = t("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Live Preview ", -1)),
563
+ t("div", Es, [
564
+ t("div", Ls, [
565
+ y(Z, {
575
566
  theme: "primary",
576
567
  size: "sm"
577
568
  }, {
578
- default: b(() => [...c[7] || (c[7] = [
579
- S("Primary", -1)
569
+ default: k(() => [...m[7] || (m[7] = [
570
+ E("Primary", -1)
580
571
  ])]),
581
572
  _: 1
582
573
  }),
583
- m(A, {
574
+ y(Z, {
584
575
  theme: "primary",
585
576
  size: "sm",
586
577
  outlined: ""
587
578
  }, {
588
- default: b(() => [...c[8] || (c[8] = [
589
- S("Outlined", -1)
579
+ default: k(() => [...m[8] || (m[8] = [
580
+ E("Outlined", -1)
590
581
  ])]),
591
582
  _: 1
592
583
  }),
593
- m(A, {
584
+ y(Z, {
594
585
  theme: "secondary",
595
586
  size: "sm"
596
587
  }, {
597
- default: b(() => [...c[9] || (c[9] = [
598
- S("Secondary", -1)
588
+ default: k(() => [...m[9] || (m[9] = [
589
+ E("Secondary", -1)
599
590
  ])]),
600
591
  _: 1
601
592
  })
602
593
  ]),
603
- s("div", Ee, [
604
- m(F, { theme: "primary" }, {
605
- default: b(() => [...c[10] || (c[10] = [
606
- S("Primary Badge", -1)
594
+ t("div", Ps, [
595
+ y(X, { theme: "primary" }, {
596
+ default: k(() => [...m[10] || (m[10] = [
597
+ E("Primary Badge", -1)
607
598
  ])]),
608
599
  _: 1
609
600
  }),
610
- m(F, { theme: "success" }, {
611
- default: b(() => [...c[11] || (c[11] = [
612
- S("Success", -1)
601
+ y(X, { theme: "success" }, {
602
+ default: k(() => [...m[11] || (m[11] = [
603
+ E("Success", -1)
613
604
  ])]),
614
605
  _: 1
615
606
  }),
616
- m(F, { theme: "warning" }, {
617
- default: b(() => [...c[12] || (c[12] = [
618
- S("Warning", -1)
607
+ y(X, { theme: "warning" }, {
608
+ default: k(() => [...m[12] || (m[12] = [
609
+ E("Warning", -1)
619
610
  ])]),
620
611
  _: 1
621
612
  })
622
613
  ]),
623
- s("div", Fe, [
624
- m(le, { size: "sm" }),
625
- c[13] || (c[13] = s("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Loading indicator", -1))
614
+ t("div", Ds, [
615
+ y(Oe, { size: "sm" }),
616
+ m[13] || (m[13] = t("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Loading indicator", -1))
626
617
  ]),
627
- s("div", De, [
628
- m(te, {
618
+ t("div", Fs, [
619
+ y(je, {
629
620
  name: "Theme Test",
630
621
  size: "md"
631
622
  }),
632
- c[14] || (c[14] = s("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Avatar with initials", -1))
623
+ m[14] || (m[14] = t("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Avatar with initials", -1))
633
624
  ])
634
625
  ])
635
626
  ]),
636
- s("div", null, [
637
- c[16] || (c[16] = s("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Generated Palette ", -1)),
638
- s("div", ze, [
639
- (i(), d(j, null, B([50, 100, 200, 300, 400, 500, 600, 700, 800, 900], (h) => s("div", {
640
- key: h,
627
+ t("div", null, [
628
+ m[16] || (m[16] = t("label", { class: "sl-block sl-text-sm sl-font-medium sl-text-gray-700 dark:sl-text-gray-300 sl-mb-3" }, " Generated Palette ", -1)),
629
+ t("div", Bs, [
630
+ (c(), f(V, null, R([50, 100, 200, 300, 400, 500, 600, 700, 800, 900], ($) => t("div", {
631
+ key: $,
641
632
  class: "sl-flex-1 sl-h-8 sl-relative sl-group",
642
- style: k({ backgroundColor: `rgb(var(--sl-color-primary-${h}-rgb, 128 128 128))` })
633
+ style: z({ backgroundColor: `rgb(var(--sl-color-primary-${$}-rgb, 128 128 128))` })
643
634
  }, [
644
- s("span", {
645
- class: v(["sl-absolute sl-inset-0 sl-flex sl-items-center sl-justify-center sl-text-[9px] sl-font-medium sl-opacity-0 group-hover:sl-opacity-100 sl-transition-opacity", h < 500 ? "sl-text-gray-700" : "sl-text-white"])
646
- }, x(h), 3)
635
+ t("span", {
636
+ class: _(["sl-absolute sl-inset-0 sl-flex sl-items-center sl-justify-center sl-text-[9px] sl-font-medium sl-opacity-0 group-hover:sl-opacity-100 sl-transition-opacity", $ < 500 ? "sl-text-gray-700" : "sl-text-white"])
637
+ }, w($), 3)
647
638
  ], 4)), 64))
648
639
  ])
649
640
  ])
650
641
  ]),
651
- s("div", Pe, [
652
- s("div", Ne, [
653
- s("button", {
654
- onClick: w,
642
+ t("div", Us, [
643
+ t("div", Vs, [
644
+ t("button", {
645
+ onClick: I,
655
646
  class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400 hover:sl-text-gray-900 dark:hover:sl-text-white sl-font-medium sl-transition-colors"
656
647
  }, " Reset to Default "),
657
- s("div", Ue, [
658
- m(A, {
648
+ t("div", js, [
649
+ y(Z, {
659
650
  theme: "secondary",
660
651
  size: "sm",
661
- onButtonClick: $
652
+ onButtonClick: A
662
653
  }, {
663
- default: b(() => [...c[17] || (c[17] = [
664
- S(" Close ", -1)
654
+ default: k(() => [...m[17] || (m[17] = [
655
+ E(" Close ", -1)
665
656
  ])]),
666
657
  _: 1
667
658
  }),
668
- m(A, {
659
+ y(Z, {
669
660
  theme: "primary",
670
661
  size: "sm",
671
- onButtonClick: L
662
+ onButtonClick: K
672
663
  }, {
673
- default: b(() => [...c[18] || (c[18] = [
674
- S(" Apply Theme ", -1)
664
+ default: k(() => [...m[18] || (m[18] = [
665
+ E(" Apply Theme ", -1)
675
666
  ])]),
676
667
  _: 1
677
668
  })
@@ -693,13 +684,13 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
693
684
  _: 1
694
685
  }, 8, ["show"]));
695
686
  }
696
- }), xt = /* @__PURE__ */ J(Oe, [["__scopeId", "data-v-c9b3cc37"]]), Re = {
687
+ }), jl = /* @__PURE__ */ se(Os, [["__scopeId", "data-v-c9b3cc37"]]), Ns = {
697
688
  viewBox: "0 0 36 36",
698
689
  class: "sl-transform -sl-rotate-90 sl-w-full sl-h-full"
699
- }, He = ["stroke-width"], Ge = ["stroke", "stroke-dasharray", "stroke-width"], We = {
690
+ }, Rs = ["stroke-width"], Gs = ["stroke", "stroke-dasharray", "stroke-width"], Ks = {
700
691
  key: 0,
701
692
  class: "sl-absolute sl-inset-0 sl-flex sl-items-center sl-justify-center"
702
- }, ht = /* @__PURE__ */ T({
693
+ }, Ol = /* @__PURE__ */ D({
703
694
  __name: "UiRadialProgressBar",
704
695
  props: {
705
696
  value: { default: 0 },
@@ -709,11 +700,11 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
709
700
  color: { default: "primary" },
710
701
  trackWidth: { default: 3.8 }
711
702
  },
712
- setup(t) {
713
- const e = t, o = y(() => Math.min(100, Math.max(0, e.value))), l = y(() => ({
703
+ setup(s) {
704
+ const e = s, o = C(() => Math.min(100, Math.max(0, e.value))), l = C(() => ({
714
705
  width: `${e.size}px`,
715
706
  height: `${e.size}px`
716
- })), r = y(() => ({
707
+ })), r = C(() => ({
717
708
  primary: "var(--sl-color-primary-600, #3e4b9a)",
718
709
  success: "#22c55e",
719
710
  // green-500
@@ -721,37 +712,662 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
721
712
  // yellow-500
722
713
  danger: "#ef4444"
723
714
  // red-500
724
- })[e.color]), f = y(() => e.size < 48 ? "sl-text-xs sl-font-medium sl-text-slate-700 dark:sl-text-slate-300" : e.size < 80 ? "sl-text-sm sl-font-semibold sl-text-slate-700 dark:sl-text-slate-300" : e.size < 120 ? "sl-text-base sl-font-semibold sl-text-slate-700 dark:sl-text-slate-300" : "sl-text-lg sl-font-bold sl-text-slate-700 dark:sl-text-slate-300");
725
- return (a, u) => (i(), d("div", {
715
+ })[e.color]), d = C(() => e.size < 48 ? "sl-text-xs sl-font-medium sl-text-slate-700 dark:sl-text-slate-300" : e.size < 80 ? "sl-text-sm sl-font-semibold sl-text-slate-700 dark:sl-text-slate-300" : e.size < 120 ? "sl-text-base sl-font-semibold sl-text-slate-700 dark:sl-text-slate-300" : "sl-text-lg sl-font-bold sl-text-slate-700 dark:sl-text-slate-300");
716
+ return (a, n) => (c(), f("div", {
726
717
  class: "sl-relative sl-inline-flex",
727
- style: k(l.value)
718
+ style: z(l.value)
728
719
  }, [
729
- (i(), d("svg", Re, [
730
- s("path", {
720
+ (c(), f("svg", Ns, [
721
+ t("path", {
731
722
  class: "sl-fill-none sl-stroke-gray-200 dark:sl-stroke-slate-600",
732
- "stroke-width": t.trackWidth,
723
+ "stroke-width": s.trackWidth,
733
724
  d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831"
734
- }, null, 8, He),
735
- s("path", {
725
+ }, null, 8, Rs),
726
+ t("path", {
736
727
  class: "sl-fill-none sl-transition-all sl-duration-500 sl-ease-out",
737
728
  stroke: r.value,
738
729
  "stroke-linecap": "round",
739
730
  "stroke-dasharray": `${o.value}, 100`,
740
- "stroke-width": t.trackWidth,
731
+ "stroke-width": s.trackWidth,
741
732
  d: "M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831"
742
- }, null, 8, Ge)
733
+ }, null, 8, Gs)
743
734
  ])),
744
- t.showLabel || t.label ? (i(), d("div", We, [
745
- s("span", {
746
- class: v(f.value)
747
- }, x(t.label || `${o.value}%`), 3)
748
- ])) : g("", !0)
735
+ s.showLabel || s.label ? (c(), f("div", Ks, [
736
+ t("span", {
737
+ class: _(d.value)
738
+ }, w(s.label || `${o.value}%`), 3)
739
+ ])) : b("", !0)
749
740
  ], 4));
750
741
  }
751
- }), Ye = { class: "sl-bg-white sl-rounded-lg sl-shadow sl-p-6" }, Je = { class: "sl-space-y-8" }, qe = { class: "sl-grid sl-grid-cols-1 sl-md:grid-cols-2 sl-gap-6" }, Ze = { class: "sl-bg-gray-50 sl-rounded-md sl-p-4 sl-text-sm sl-text-gray-700" }, Ke = { class: "sl-whitespace-pre-wrap" }, yt = /* @__PURE__ */ T({
742
+ });
743
+ let P = null, G = null, J = null, O = null, q = !1;
744
+ const N = /* @__PURE__ */ new Map(), Hs = 1e3, Ws = 1e3 * 60 * 60 * 24;
745
+ function Zs(s) {
746
+ P = s, q = !1, O = null, J = null, G = null;
747
+ }
748
+ function Js() {
749
+ return P !== null && !!P.apiKey;
750
+ }
751
+ async function te() {
752
+ if (!q) {
753
+ if (O)
754
+ return O;
755
+ if (!P?.apiKey)
756
+ throw new Error(
757
+ '[Geocoding] API key not configured. Call configureGeocoding({ apiKey: "..." }) first, or configure via StachelockUI plugin with googleMaps.apiKey option.'
758
+ );
759
+ return O = (async () => {
760
+ try {
761
+ await new us({
762
+ apiKey: P.apiKey,
763
+ version: P.version || "weekly",
764
+ id: "__stachelockGoogleMapsScriptId",
765
+ libraries: P.libraries || ["places", "maps", "geometry"]
766
+ }).load(), J = await google.maps.importLibrary("places"), G = new google.maps.Geocoder(), q = !0;
767
+ } catch (s) {
768
+ throw O = null, console.error("[Geocoding] Error loading Google Maps API:", s), s;
769
+ }
770
+ })(), O;
771
+ }
772
+ }
773
+ function ge(s) {
774
+ return s.trim().toLowerCase().replace(/\s+/g, " ");
775
+ }
776
+ function ye(s) {
777
+ return typeof s == "string" ? `str:${ge(s)}` : `pid:${s.placeId}`;
778
+ }
779
+ function he(s) {
780
+ const e = N.get(s);
781
+ return e ? Date.now() - e.ts > Ws ? (N.delete(s), null) : e.result : null;
782
+ }
783
+ function xe(s, e) {
784
+ try {
785
+ if (N.size >= Hs) {
786
+ const o = N.keys().next().value;
787
+ o && N.delete(o);
788
+ }
789
+ N.set(s, { result: e, ts: Date.now() });
790
+ } catch {
791
+ }
792
+ }
793
+ function ve(s, e = 15, o = "200x200") {
794
+ if (!P?.apiKey) return "";
795
+ const l = P.staticMapsApiKey || P.apiKey, r = "https://maps.googleapis.com/maps/api/staticmap", d = new URLSearchParams({
796
+ center: `${s.lat},${s.lng}`,
797
+ zoom: e.toString(),
798
+ size: o,
799
+ key: l,
800
+ markers: `color:red|${s.lat},${s.lng}`
801
+ });
802
+ return `${r}?${d.toString()}`;
803
+ }
804
+ async function Xs(s) {
805
+ if (!s?.trim())
806
+ return {
807
+ status: "INVALID_INPUT",
808
+ message: "No placeId provided for geocoding."
809
+ };
810
+ await te();
811
+ const e = ye({ placeId: s }), o = he(e);
812
+ return o || new Promise((l) => {
813
+ if (!G) {
814
+ l({
815
+ status: "ERROR",
816
+ message: "Geocoder service not initialized."
817
+ });
818
+ return;
819
+ }
820
+ G.geocode({ placeId: s }, (r, d) => {
821
+ if (d === google.maps.GeocoderStatus.OK && r && r.length > 0) {
822
+ const a = r[0], n = a.geometry ? {
823
+ lat: a.geometry.location.lat(),
824
+ lng: a.geometry.location.lng()
825
+ } : void 0, S = {
826
+ status: "OK",
827
+ message: "Found address",
828
+ address_components: a.address_components || [],
829
+ location: n,
830
+ formatted_address: a.formatted_address || "",
831
+ thumbnailUrl: n ? ve(n) : void 0
832
+ };
833
+ xe(e, S), l(S);
834
+ } else
835
+ l({
836
+ status: d.toString(),
837
+ message: `Unable to geocode place: ${d}`
838
+ });
839
+ });
840
+ });
841
+ }
842
+ function Ys(s) {
843
+ const e = ge(s);
844
+ if (e.length < 10) return !1;
845
+ const o = /\d/.test(e), l = e.includes(","), r = /\b([A-Z]{2})\b/i.test(s), d = /\b\d{5}(?:-\d{4})?\b/.test(e);
846
+ return (l || r || d) && o;
847
+ }
848
+ async function Qs(s) {
849
+ if (!s?.trim())
850
+ return {
851
+ status: "INVALID_INPUT",
852
+ message: "No address provided for geocoding."
853
+ };
854
+ if (!Ys(s))
855
+ return {
856
+ status: "INVALID_INPUT",
857
+ message: "Insufficient address information for geocoding."
858
+ };
859
+ await te();
860
+ const e = ye(s), o = he(e);
861
+ return o || new Promise((l) => {
862
+ if (!G) {
863
+ l({
864
+ status: "ERROR",
865
+ message: "Geocoder service not initialized."
866
+ });
867
+ return;
868
+ }
869
+ G.geocode({ address: s }, (r, d) => {
870
+ if (d === google.maps.GeocoderStatus.OK && r && r.length > 0) {
871
+ const a = r[0], n = a.geometry ? {
872
+ lat: a.geometry.location.lat(),
873
+ lng: a.geometry.location.lng()
874
+ } : void 0, S = {
875
+ status: "OK",
876
+ message: "Found address",
877
+ address_components: a.address_components || [],
878
+ location: n,
879
+ formatted_address: a.formatted_address || "",
880
+ thumbnailUrl: n ? ve(n) : void 0
881
+ };
882
+ xe(e, S), l(S);
883
+ } else
884
+ l({
885
+ status: d.toString(),
886
+ message: `Unable to geocode address: ${d}`
887
+ });
888
+ });
889
+ });
890
+ }
891
+ async function qs(s, e) {
892
+ if (!s?.trim())
893
+ return [];
894
+ if (await te(), !J)
895
+ return console.warn("[Geocoding] Places library not initialized"), [];
896
+ try {
897
+ const { AutocompleteSuggestion: o } = J, l = {
898
+ input: s,
899
+ ...e?.includedPrimaryTypes && { includedPrimaryTypes: e.includedPrimaryTypes },
900
+ ...e?.includedRegionCodes && { includedRegionCodes: e.includedRegionCodes }
901
+ }, { suggestions: r } = await o.fetchAutocompleteSuggestions(l);
902
+ return r.filter(
903
+ (a) => a.placePrediction !== null
904
+ ).map((a) => {
905
+ const n = a.placePrediction;
906
+ return {
907
+ placeId: n.placeId,
908
+ description: n.text.toString(),
909
+ mainText: n.mainText?.toString() || n.text.toString(),
910
+ secondaryText: n.secondaryText?.toString() || "",
911
+ types: n.types || []
912
+ };
913
+ });
914
+ } catch (o) {
915
+ return console.error("[Geocoding] Error fetching autocomplete suggestions:", o), [];
916
+ }
917
+ }
918
+ function et(s) {
919
+ const e = {
920
+ street: "",
921
+ city: "",
922
+ state: "",
923
+ zipcode: "",
924
+ country: ""
925
+ };
926
+ if (!s?.address_components)
927
+ return e;
928
+ let o = "", l = "";
929
+ for (const r of s.address_components) {
930
+ const d = r.types;
931
+ d.includes("street_number") ? o = r.long_name : d.includes("route") ? l = r.long_name : d.includes("locality") ? e.city = r.long_name : d.includes("administrative_area_level_1") ? e.state = r.short_name : d.includes("postal_code") ? e.zipcode = r.long_name : d.includes("country") && (e.country = r.short_name);
932
+ }
933
+ return e.street = [o, l].filter(Boolean).join(" "), e;
934
+ }
935
+ function st(s) {
936
+ return [
937
+ s.street,
938
+ s.city,
939
+ s.state && s.zipcode ? `${s.state} ${s.zipcode}` : s.state || s.zipcode,
940
+ s.country
941
+ ].filter(Boolean).join(", ");
942
+ }
943
+ const tt = { class: "sl-address-input" }, lt = { class: "sl-space-y-3" }, ot = { class: "sl-relative" }, at = { class: "sl-flex sl-flex-col" }, rt = {
944
+ key: 0,
945
+ class: "sl-flex sl-items-center sl-justify-between"
946
+ }, nt = { class: "sl-flex sl-items-center sl-gap-2" }, it = { class: "sl-grid sl-grid-cols-1 sm:sl-grid-cols-2 sl-gap-3 sl-p-3 sl-bg-gray-50 dark:sl-bg-slate-800/50 sl-rounded-lg sl-border sl-border-gray-200 dark:sl-border-slate-700" }, dt = { class: "sm:sl-col-span-2" }, ct = /* @__PURE__ */ D({
947
+ __name: "AddressInput",
948
+ props: {
949
+ name: {},
950
+ modelValue: {},
951
+ label: { default: "" },
952
+ placeholder: { default: "Search for an address..." },
953
+ disabled: { type: Boolean, default: !1 },
954
+ rules: {},
955
+ showSuggestionCount: { type: Boolean, default: !1 },
956
+ allowManualEntry: { type: Boolean, default: !0 },
957
+ successMessage: { default: "" },
958
+ tertiaryLabel: { default: "" },
959
+ validateOnMount: { type: Boolean, default: !1 }
960
+ },
961
+ emits: ["update:modelValue", "blur", "focus"],
962
+ setup(s, { expose: e, emit: o }) {
963
+ const l = s, r = o, d = Ee(l.name || "address-input"), a = Pe("googleMaps", void 0);
964
+ De(() => {
965
+ a?.apiKey && !Js() && Zs({
966
+ apiKey: a.apiKey,
967
+ version: a.version,
968
+ libraries: a.libraries
969
+ });
970
+ });
971
+ const { value: n, errorMessage: S, meta: I, handleChange: A, setTouched: K } = cs(
972
+ () => l.name,
973
+ l.rules,
974
+ {
975
+ validateOnMount: l.validateOnMount,
976
+ initialValue: l.modelValue
977
+ }
978
+ ), T = F([]), m = F(null), $ = F(""), L = F(!1), H = F(!1), i = F("unverified"), u = ue({
979
+ street: "",
980
+ suite: "",
981
+ city: "",
982
+ state: "",
983
+ zipcode: "",
984
+ country: ""
985
+ }), W = C(() => !!(n.value?.formattedAddress || n.value?.street)), be = C(() => l.showSuggestionCount && T.value.length > 0 ? `${T.value.length} suggestions` : l.tertiaryLabel), le = C(() => {
986
+ switch (i.value) {
987
+ case "verified":
988
+ return "sl-text-green-600 dark:sl-text-green-400";
989
+ case "error":
990
+ return "sl-text-red-600 dark:sl-text-red-400";
991
+ case "pending":
992
+ return "sl-text-yellow-600 dark:sl-text-yellow-400";
993
+ default:
994
+ return "sl-text-gray-500 dark:sl-text-slate-400";
995
+ }
996
+ }), ke = C(() => {
997
+ switch (i.value) {
998
+ case "verified":
999
+ return "Verified";
1000
+ case "error":
1001
+ return "Not verified";
1002
+ case "pending":
1003
+ return "Verifying...";
1004
+ default:
1005
+ return "Unverified";
1006
+ }
1007
+ }), Ce = C(() => {
1008
+ switch (i.value) {
1009
+ case "verified":
1010
+ return ls;
1011
+ case "error":
1012
+ return ts;
1013
+ case "pending":
1014
+ return de;
1015
+ default:
1016
+ return de;
1017
+ }
1018
+ }), we = ce(async (g) => {
1019
+ if (!g || g.length < 3) {
1020
+ T.value = [];
1021
+ return;
1022
+ }
1023
+ H.value = !0;
1024
+ try {
1025
+ const p = await qs(g);
1026
+ T.value = p;
1027
+ } catch (p) {
1028
+ console.error("[AddressInput] Error fetching suggestions:", p), T.value = [];
1029
+ } finally {
1030
+ H.value = !1;
1031
+ }
1032
+ }, 300);
1033
+ function $e(g) {
1034
+ const p = g.target;
1035
+ $.value = p.value, we(p.value);
1036
+ }
1037
+ function Se(g) {
1038
+ return g ? g.description : n.value?.formattedAddress ? n.value.formattedAddress : "";
1039
+ }
1040
+ async function _e(g) {
1041
+ if (g) {
1042
+ i.value = "pending", T.value = [];
1043
+ try {
1044
+ const p = await Xs(g.placeId);
1045
+ if (p.status === "OK") {
1046
+ i.value = "verified";
1047
+ const h = et(p);
1048
+ u.street = h.street, u.city = h.city, u.state = h.state, u.zipcode = h.zipcode, u.country = h.country;
1049
+ const B = {
1050
+ formattedAddress: p.formatted_address,
1051
+ street: h.street,
1052
+ suite: u.suite,
1053
+ city: h.city,
1054
+ state: h.state,
1055
+ zipcode: h.zipcode,
1056
+ country: h.country,
1057
+ geocode: p,
1058
+ placeId: g.placeId
1059
+ };
1060
+ n.value = B, A(B), r("update:modelValue", B), L.value = !0;
1061
+ } else
1062
+ i.value = "error", console.warn("[AddressInput] Geocoding failed:", p.message);
1063
+ } catch (p) {
1064
+ i.value = "error", console.error("[AddressInput] Geocoding error:", p);
1065
+ }
1066
+ }
1067
+ }
1068
+ const Te = ["street", "city", "state", "zipcode", "country"], Ie = ce(async () => {
1069
+ const g = st(u);
1070
+ if (!g || g.length < 10) {
1071
+ i.value = "unverified";
1072
+ return;
1073
+ }
1074
+ i.value = "pending";
1075
+ try {
1076
+ const p = await Qs(g);
1077
+ if (p.status === "OK") {
1078
+ i.value = "verified";
1079
+ const h = {
1080
+ formattedAddress: p.formatted_address,
1081
+ street: u.street,
1082
+ suite: u.suite,
1083
+ city: u.city,
1084
+ state: u.state,
1085
+ zipcode: u.zipcode,
1086
+ country: u.country,
1087
+ geocode: p,
1088
+ placeId: void 0
1089
+ // Clear placeId since we re-geocoded
1090
+ };
1091
+ n.value = h, A(h), r("update:modelValue", h);
1092
+ } else
1093
+ i.value = "unverified";
1094
+ } catch (p) {
1095
+ i.value = "error", console.error("[AddressInput] Re-geocoding error:", p);
1096
+ }
1097
+ }, 600);
1098
+ function j(g) {
1099
+ const p = {
1100
+ ...n.value,
1101
+ street: u.street,
1102
+ suite: u.suite,
1103
+ city: u.city,
1104
+ state: u.state,
1105
+ zipcode: u.zipcode,
1106
+ country: u.country
1107
+ };
1108
+ Te.includes(g) && (i.value = "unverified", p.geocode = void 0, Ie()), n.value = p, A(p), r("update:modelValue", p);
1109
+ }
1110
+ function Ae(g) {
1111
+ r("focus", g);
1112
+ }
1113
+ function Me(g) {
1114
+ K(!0), r("blur", g);
1115
+ }
1116
+ ee(
1117
+ () => l.modelValue,
1118
+ (g) => {
1119
+ g && (g.geocode?.status === "OK" ? i.value = "verified" : g.geocode?.status === "ERROR" && (i.value = "error"), g !== n.value && (n.value = g, g.street !== void 0 && (u.street = g.street), g.suite !== void 0 && (u.suite = g.suite), g.city !== void 0 && (u.city = g.city), g.state !== void 0 && (u.state = g.state), g.zipcode !== void 0 && (u.zipcode = g.zipcode), g.country !== void 0 && (u.country = g.country)));
1120
+ },
1121
+ { immediate: !0, deep: !0 }
1122
+ );
1123
+ function ze() {
1124
+ n.value = void 0, m.value = null, $.value = "", T.value = [], L.value = !1, i.value = "unverified", u.street = "", u.suite = "", u.city = "", u.state = "", u.zipcode = "", u.country = "";
1125
+ }
1126
+ return e({
1127
+ resetInput: ze,
1128
+ geocodeStatus: i,
1129
+ meta: I,
1130
+ errorMessage: S
1131
+ }), (g, p) => (c(), f("div", tt, [
1132
+ y(os, {
1133
+ id: x(d),
1134
+ name: s.name,
1135
+ label: s.label,
1136
+ "tertiary-label": be.value,
1137
+ "error-message": x(S),
1138
+ "success-message": s.successMessage,
1139
+ "is-valid": x(I).valid,
1140
+ "is-touched": x(I).touched,
1141
+ disabled: s.disabled
1142
+ }, {
1143
+ default: k(() => [
1144
+ t("div", lt, [
1145
+ y(x(Je), {
1146
+ modelValue: m.value,
1147
+ "onUpdate:modelValue": [
1148
+ p[0] || (p[0] = (h) => m.value = h),
1149
+ _e
1150
+ ],
1151
+ disabled: s.disabled,
1152
+ nullable: ""
1153
+ }, {
1154
+ default: k(() => [
1155
+ t("div", ot, [
1156
+ y(x(Xe), {
1157
+ id: x(d),
1158
+ "display-value": Se,
1159
+ placeholder: s.placeholder || "Search for an address...",
1160
+ disabled: s.disabled,
1161
+ class: _([
1162
+ "sl-block sl-w-full sl-rounded-lg sl-border sl-py-2.5 sl-pl-3 sl-pr-10 sl-text-sm focus:sl-outline-none",
1163
+ s.disabled ? "sl-border-gray-200 dark:sl-border-slate-700 sl-bg-gray-50 dark:sl-bg-slate-800 sl-text-gray-500 dark:sl-text-slate-400 sl-cursor-not-allowed" : "sl-border-gray-300 dark:sl-border-slate-600 sl-bg-white dark:sl-bg-slate-900 sl-text-gray-900 dark:sl-text-slate-100 placeholder:sl-text-gray-400 dark:placeholder:sl-text-slate-500 focus:sl-border-stachelock-500 focus:sl-ring-2 focus:sl-ring-stachelock-500"
1164
+ ]),
1165
+ onChange: $e,
1166
+ onFocus: Ae,
1167
+ onBlur: Me
1168
+ }, null, 8, ["id", "placeholder", "disabled", "class"]),
1169
+ y(x(Ye), { class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-2" }, {
1170
+ default: k(() => [
1171
+ s.disabled ? (c(), U(x(as), {
1172
+ key: 0,
1173
+ class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-slate-500",
1174
+ "aria-hidden": "true"
1175
+ })) : (c(), U(x(rs), {
1176
+ key: 1,
1177
+ class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-slate-400",
1178
+ "aria-hidden": "true"
1179
+ }))
1180
+ ]),
1181
+ _: 1
1182
+ }),
1183
+ y(x(Q), {
1184
+ leave: "sl-transition sl-ease-in sl-duration-100",
1185
+ "leave-from": "sl-opacity-100",
1186
+ "leave-to": "sl-opacity-0"
1187
+ }, {
1188
+ default: k(() => [
1189
+ T.value.length > 0 ? (c(), U(x(Qe), {
1190
+ key: 0,
1191
+ class: "sl-absolute sl-z-50 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"
1192
+ }, {
1193
+ default: k(() => [
1194
+ (c(!0), f(V, null, R(T.value, (h) => (c(), U(x(qe), {
1195
+ key: h.placeId,
1196
+ value: h,
1197
+ as: "template"
1198
+ }, {
1199
+ default: k(({ active: B, selected: oe }) => [
1200
+ t("li", {
1201
+ class: _([
1202
+ "sl-relative sl-cursor-pointer sl-select-none sl-py-2 sl-pl-10 sl-pr-4",
1203
+ B ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200"
1204
+ ])
1205
+ }, [
1206
+ t("div", at, [
1207
+ t("span", {
1208
+ class: _(["sl-block sl-truncate", oe ? "sl-font-medium" : "sl-font-normal"])
1209
+ }, w(h.mainText), 3),
1210
+ t("span", {
1211
+ class: _(["sl-text-xs", B ? "sl-text-stachelock-100" : "sl-text-gray-500 dark:sl-text-slate-400"])
1212
+ }, w(h.secondaryText), 3)
1213
+ ]),
1214
+ oe ? (c(), f("span", {
1215
+ key: 0,
1216
+ class: _([
1217
+ "sl-absolute sl-inset-y-0 sl-left-0 sl-flex sl-items-center sl-pl-3",
1218
+ B ? "sl-text-white" : "sl-text-stachelock-600 dark:sl-text-stachelock-400"
1219
+ ])
1220
+ }, [
1221
+ y(x(ns), {
1222
+ class: "sl-h-5 sl-w-5",
1223
+ "aria-hidden": "true"
1224
+ })
1225
+ ], 2)) : b("", !0)
1226
+ ], 2)
1227
+ ]),
1228
+ _: 2
1229
+ }, 1032, ["value"]))), 128))
1230
+ ]),
1231
+ _: 1
1232
+ })) : b("", !0)
1233
+ ]),
1234
+ _: 1
1235
+ })
1236
+ ])
1237
+ ]),
1238
+ _: 1
1239
+ }, 8, ["modelValue", "disabled"]),
1240
+ W.value && !s.disabled ? (c(), f("div", rt, [
1241
+ t("div", nt, [
1242
+ t("span", {
1243
+ class: _(["sl-text-xs sl-uppercase sl-font-medium", le.value])
1244
+ }, w(ke.value), 3),
1245
+ (c(), U(Fe(Ce.value), {
1246
+ class: _(["sl-h-4 sl-w-4", le.value])
1247
+ }, null, 8, ["class"]))
1248
+ ]),
1249
+ L.value ? (c(), f("button", {
1250
+ key: 1,
1251
+ type: "button",
1252
+ onClick: p[2] || (p[2] = (h) => L.value = !1),
1253
+ class: "sl-text-xs sl-text-gray-500 dark:sl-text-slate-400 hover:sl-underline sl-flex sl-items-center sl-gap-1"
1254
+ }, [
1255
+ p[10] || (p[10] = E(" Collapse ", -1)),
1256
+ y(x(ds), { class: "sl-h-3 sl-w-3" })
1257
+ ])) : (c(), f("button", {
1258
+ key: 0,
1259
+ type: "button",
1260
+ onClick: p[1] || (p[1] = (h) => L.value = !0),
1261
+ class: "sl-text-xs sl-text-stachelock-600 dark:sl-text-stachelock-400 hover:sl-underline sl-flex sl-items-center sl-gap-1"
1262
+ }, [
1263
+ p[9] || (p[9] = E(" Edit address ", -1)),
1264
+ y(x(is), { class: "sl-h-3 sl-w-3" })
1265
+ ]))
1266
+ ])) : b("", !0),
1267
+ y(x(Q), {
1268
+ show: L.value && W.value && !s.disabled,
1269
+ enter: "sl-transition sl-ease-out sl-duration-200",
1270
+ "enter-from": "sl-opacity-0 sl-transform sl--translate-y-2",
1271
+ "enter-to": "sl-opacity-100 sl-transform sl-translate-y-0",
1272
+ leave: "sl-transition sl-ease-in sl-duration-150",
1273
+ "leave-from": "sl-opacity-100 sl-transform sl-translate-y-0",
1274
+ "leave-to": "sl-opacity-0 sl-transform sl--translate-y-2"
1275
+ }, {
1276
+ default: k(() => [
1277
+ t("div", it, [
1278
+ t("div", dt, [
1279
+ y(M, {
1280
+ name: `${s.name}_street`,
1281
+ label: "Street Address",
1282
+ value: u.street,
1283
+ disabled: s.disabled,
1284
+ "show-valid-check": !1,
1285
+ "colorful-validation": !1,
1286
+ "onUpdate:value": p[3] || (p[3] = (h) => {
1287
+ u.street = h, j("street");
1288
+ })
1289
+ }, null, 8, ["name", "value", "disabled"])
1290
+ ]),
1291
+ t("div", null, [
1292
+ y(M, {
1293
+ name: `${s.name}_suite`,
1294
+ label: "Suite / Apt",
1295
+ value: u.suite,
1296
+ disabled: s.disabled,
1297
+ placeholder: "Optional",
1298
+ "show-valid-check": !1,
1299
+ "colorful-validation": !1,
1300
+ "onUpdate:value": p[4] || (p[4] = (h) => {
1301
+ u.suite = h, j("suite");
1302
+ })
1303
+ }, null, 8, ["name", "value", "disabled"])
1304
+ ]),
1305
+ t("div", null, [
1306
+ y(M, {
1307
+ name: `${s.name}_city`,
1308
+ label: "City",
1309
+ value: u.city,
1310
+ disabled: s.disabled,
1311
+ "show-valid-check": !1,
1312
+ "colorful-validation": !1,
1313
+ "onUpdate:value": p[5] || (p[5] = (h) => {
1314
+ u.city = h, j("city");
1315
+ })
1316
+ }, null, 8, ["name", "value", "disabled"])
1317
+ ]),
1318
+ t("div", null, [
1319
+ y(M, {
1320
+ name: `${s.name}_state`,
1321
+ label: "State",
1322
+ value: u.state,
1323
+ disabled: s.disabled,
1324
+ "show-valid-check": !1,
1325
+ "colorful-validation": !1,
1326
+ "onUpdate:value": p[6] || (p[6] = (h) => {
1327
+ u.state = h, j("state");
1328
+ })
1329
+ }, null, 8, ["name", "value", "disabled"])
1330
+ ]),
1331
+ t("div", null, [
1332
+ y(M, {
1333
+ name: `${s.name}_zipcode`,
1334
+ label: "ZIP Code",
1335
+ value: u.zipcode,
1336
+ disabled: s.disabled,
1337
+ "show-valid-check": !1,
1338
+ "colorful-validation": !1,
1339
+ "onUpdate:value": p[7] || (p[7] = (h) => {
1340
+ u.zipcode = h, j("zipcode");
1341
+ })
1342
+ }, null, 8, ["name", "value", "disabled"])
1343
+ ]),
1344
+ t("div", null, [
1345
+ y(M, {
1346
+ name: `${s.name}_country`,
1347
+ label: "Country",
1348
+ value: u.country,
1349
+ disabled: s.disabled,
1350
+ "show-valid-check": !1,
1351
+ "colorful-validation": !1,
1352
+ "onUpdate:value": p[8] || (p[8] = (h) => {
1353
+ u.country = h, j("country");
1354
+ })
1355
+ }, null, 8, ["name", "value", "disabled"])
1356
+ ])
1357
+ ])
1358
+ ]),
1359
+ _: 1
1360
+ }, 8, ["show"])
1361
+ ])
1362
+ ]),
1363
+ _: 1
1364
+ }, 8, ["id", "name", "label", "tertiary-label", "error-message", "success-message", "is-valid", "is-touched", "disabled"])
1365
+ ]));
1366
+ }
1367
+ }), Nl = /* @__PURE__ */ se(ct, [["__scopeId", "data-v-d65320d7"]]), ut = { class: "sl-bg-white sl-rounded-lg sl-shadow sl-p-6" }, ft = { class: "sl-space-y-8" }, mt = { class: "sl-grid sl-grid-cols-1 sl-md:grid-cols-2 sl-gap-6" }, pt = { class: "sl-bg-gray-50 sl-rounded-md sl-p-4 sl-text-sm sl-text-gray-700" }, gt = { class: "sl-whitespace-pre-wrap" }, Rl = /* @__PURE__ */ D({
752
1368
  __name: "InputsShowcase",
753
- setup(t) {
754
- const e = Q({
1369
+ setup(s) {
1370
+ const e = ue({
755
1371
  text: "",
756
1372
  textArea: "",
757
1373
  switchOn: !1,
@@ -780,66 +1396,66 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
780
1396
  { id: 7, name: "Miami" },
781
1397
  { id: 8, name: "Boston" }
782
1398
  ];
783
- return (f, a) => (i(), d("section", Ye, [
784
- a[15] || (a[15] = s("h2", { class: "sl-text-xl sl-font-semibold sl-mb-4" }, "All Inputs Showcase", -1)),
785
- s("div", Je, [
786
- s("div", null, [
787
- a[7] || (a[7] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Text Input", -1)),
788
- m(V, {
1399
+ return (d, a) => (c(), f("section", ut, [
1400
+ a[15] || (a[15] = t("h2", { class: "sl-text-xl sl-font-semibold sl-mb-4" }, "All Inputs Showcase", -1)),
1401
+ t("div", ft, [
1402
+ t("div", null, [
1403
+ a[7] || (a[7] = t("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Text Input", -1)),
1404
+ y(M, {
789
1405
  name: "demoText",
790
1406
  label: "Text Input",
791
1407
  placeholder: "Type something...",
792
1408
  value: e.text,
793
- "onUpdate:value": a[0] || (a[0] = (u) => e.text = u)
1409
+ "onUpdate:value": a[0] || (a[0] = (n) => e.text = n)
794
1410
  }, null, 8, ["value"])
795
1411
  ]),
796
- s("div", null, [
797
- a[8] || (a[8] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Text Area", -1)),
798
- m(re, {
1412
+ t("div", null, [
1413
+ a[8] || (a[8] = t("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Text Area", -1)),
1414
+ y(Ge, {
799
1415
  name: "demoTextArea",
800
1416
  label: "Text Area",
801
1417
  placeholder: "Write a longer message...",
802
1418
  rows: 4,
803
1419
  maxlength: 200,
804
1420
  modelValue: e.textArea,
805
- "onUpdate:modelValue": a[1] || (a[1] = (u) => e.textArea = u)
1421
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => e.textArea = n)
806
1422
  }, null, 8, ["modelValue"])
807
1423
  ]),
808
- s("div", null, [
809
- a[9] || (a[9] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Switch", -1)),
810
- m(ne, {
1424
+ t("div", null, [
1425
+ a[9] || (a[9] = t("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Switch", -1)),
1426
+ y(Ke, {
811
1427
  name: "demoSwitch",
812
1428
  label: "Enable feature",
813
1429
  modelValue: e.switchOn,
814
- "onUpdate:modelValue": a[2] || (a[2] = (u) => e.switchOn = u),
1430
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => e.switchOn = n),
815
1431
  textTrue: "ON",
816
1432
  textFalse: "OFF"
817
1433
  }, null, 8, ["modelValue"])
818
1434
  ]),
819
- s("div", null, [
820
- a[10] || (a[10] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Checkbox", -1)),
821
- m(oe, {
1435
+ t("div", null, [
1436
+ a[10] || (a[10] = t("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Checkbox", -1)),
1437
+ y(Ne, {
822
1438
  name: "demoCheckbox",
823
1439
  label: "I agree to the terms",
824
1440
  modelValue: e.checkbox,
825
- "onUpdate:modelValue": a[3] || (a[3] = (u) => e.checkbox = u)
1441
+ "onUpdate:modelValue": a[3] || (a[3] = (n) => e.checkbox = n)
826
1442
  }, null, 8, ["modelValue"])
827
1443
  ]),
828
- s("div", qe, [
829
- s("div", null, [
830
- a[11] || (a[11] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Select (Single)", -1)),
831
- m(O, {
1444
+ t("div", mt, [
1445
+ t("div", null, [
1446
+ a[11] || (a[11] = t("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Select (Single)", -1)),
1447
+ y(ne, {
832
1448
  name: "demoSelect",
833
1449
  label: "Favorite Fruit",
834
1450
  placeholder: "Select a fruit",
835
1451
  items: o,
836
1452
  modelValue: e.selectedFruit,
837
- "onUpdate:modelValue": a[4] || (a[4] = (u) => e.selectedFruit = u)
1453
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => e.selectedFruit = n)
838
1454
  }, null, 8, ["modelValue"])
839
1455
  ]),
840
- s("div", null, [
841
- a[12] || (a[12] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Select (Multiple)", -1)),
842
- m(O, {
1456
+ t("div", null, [
1457
+ a[12] || (a[12] = t("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Select (Multiple)", -1)),
1458
+ y(ne, {
843
1459
  name: "demoSelectMulti",
844
1460
  label: "Favorite Languages",
845
1461
  placeholder: "Select languages",
@@ -847,82 +1463,82 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
847
1463
  multiple: "",
848
1464
  showAll: "",
849
1465
  modelValue: e.selectedLanguages,
850
- "onUpdate:modelValue": a[5] || (a[5] = (u) => e.selectedLanguages = u)
1466
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => e.selectedLanguages = n)
851
1467
  }, null, 8, ["modelValue"])
852
1468
  ])
853
1469
  ]),
854
- s("div", null, [
855
- a[13] || (a[13] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Combobox", -1)),
856
- m(ae, {
1470
+ t("div", null, [
1471
+ a[13] || (a[13] = t("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Combobox", -1)),
1472
+ y(Re, {
857
1473
  name: "demoCombobox",
858
1474
  label: "Search a City",
859
1475
  placeholder: "Start typing...",
860
1476
  items: r,
861
1477
  modelValue: e.selectedCity,
862
- "onUpdate:modelValue": a[6] || (a[6] = (u) => e.selectedCity = u)
1478
+ "onUpdate:modelValue": a[6] || (a[6] = (n) => e.selectedCity = n)
863
1479
  }, null, 8, ["modelValue"])
864
1480
  ]),
865
- s("div", Ze, [
866
- a[14] || (a[14] = s("div", { class: "sl-font-semibold sl-mb-1" }, "State", -1)),
867
- s("pre", Ke, x(e), 1)
1481
+ t("div", pt, [
1482
+ a[14] || (a[14] = t("div", { class: "sl-font-semibold sl-mb-1" }, "State", -1)),
1483
+ t("pre", gt, w(e), 1)
868
1484
  ])
869
1485
  ])
870
1486
  ]));
871
1487
  }
872
- }), Qe = { class: "sl-flex sl-items-center sl-gap-4" }, Xe = {
1488
+ }), yt = { class: "sl-flex sl-items-center sl-gap-4" }, ht = {
873
1489
  key: 0,
874
1490
  class: "sl-flex-shrink-0 sl-flex sl-items-center sl-justify-center"
875
- }, es = { class: "sl-flex-1 sl-min-w-0" }, ss = {
1491
+ }, xt = { class: "sl-flex-1 sl-min-w-0" }, vt = {
876
1492
  key: 0,
877
1493
  class: "sl-flex sl-items-center sl-gap-2"
878
- }, ts = { class: "sl-text-base sl-font-semibold sl-text-gray-900 dark:sl-text-white sl-truncate" }, ls = {
1494
+ }, bt = { class: "sl-text-base sl-font-semibold sl-text-gray-900 dark:sl-text-white sl-truncate" }, kt = {
879
1495
  key: 0,
880
1496
  class: "sl-flex-shrink-0"
881
- }, os = {
1497
+ }, Ct = {
882
1498
  key: 1,
883
1499
  class: "sl-mt-0.5 sl-text-sm sl-text-gray-500 dark:sl-text-gray-300 sl-truncate"
884
- }, as = {
1500
+ }, wt = {
885
1501
  key: 1,
886
1502
  class: "sl-flex sl-items-center sl-gap-2 sl-flex-shrink-0"
887
- }, rs = ["aria-expanded"], ns = {
1503
+ }, $t = ["aria-expanded"], St = {
888
1504
  key: 1,
889
1505
  class: "sl-border-t sl-border-gray-200 dark:sl-border-gray-700"
890
- }, is = { class: "sl-overflow-hidden" }, ds = {
1506
+ }, _t = { class: "sl-overflow-hidden" }, Tt = {
891
1507
  key: 0,
892
1508
  class: "sl-border-t sl-border-gray-200 dark:sl-border-gray-700"
893
- }, cs = { class: "sl-flex sl-items-center sl-justify-between sl-gap-4" }, us = {
1509
+ }, It = { class: "sl-flex sl-items-center sl-justify-between sl-gap-4" }, At = {
894
1510
  key: 0,
895
1511
  class: "sl-flex-1 sl-min-w-0"
896
- }, fs = {
1512
+ }, Mt = {
897
1513
  key: 1,
898
1514
  class: "sl-flex-1"
899
- }, ms = {
1515
+ }, zt = {
900
1516
  key: 2,
901
1517
  class: "sl-flex sl-items-center sl-gap-3 sl-flex-shrink-0"
902
- }, ps = {
1518
+ }, Et = {
903
1519
  key: 0,
904
1520
  class: "sl-border-t sl-border-gray-200 dark:sl-border-gray-700"
905
- }, gs = { class: "sl-flex sl-items-center sl-justify-between sl-gap-4" }, xs = {
1521
+ }, Lt = { class: "sl-flex sl-items-center sl-justify-between sl-gap-4" }, Pt = {
906
1522
  key: 0,
907
1523
  class: "sl-flex-1 sl-min-w-0"
908
- }, hs = {
1524
+ }, Dt = {
909
1525
  key: 1,
910
1526
  class: "sl-flex-1"
911
- }, ys = {
1527
+ }, Ft = {
912
1528
  key: 2,
913
1529
  class: "sl-flex sl-items-center sl-gap-3 sl-flex-shrink-0"
914
- }, bs = {
1530
+ }, Bt = {
915
1531
  key: 0,
916
1532
  class: "sl-absolute sl-inset-0 sl-flex sl-items-center sl-justify-center sl-bg-white/80 dark:sl-bg-gray-900/80 sl-rounded-[inherit] sl-z-20 sl-backdrop-blur-sm"
917
- }, vs = { class: "sl-flex sl-flex-col sl-items-center sl-gap-3" }, Cs = {
1533
+ }, Ut = { class: "sl-flex sl-flex-col sl-items-center sl-gap-3" }, Vt = {
918
1534
  class: "sl-animate-spin sl-h-8 sl-w-8",
919
1535
  style: { color: "var(--sl-color-primary-600, #4f46e5)" },
920
1536
  fill: "none",
921
1537
  viewBox: "0 0 24 24"
922
- }, ks = {
1538
+ }, jt = {
923
1539
  key: 0,
924
1540
  class: "sl-text-sm sl-font-medium sl-text-gray-600 dark:sl-text-gray-300"
925
- }, ws = /* @__PURE__ */ T({
1541
+ }, Ot = /* @__PURE__ */ D({
926
1542
  __name: "CardLayout",
927
1543
  props: {
928
1544
  variant: { default: "elevated" },
@@ -946,44 +1562,44 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
946
1562
  noPadding: { type: Boolean, default: !1 }
947
1563
  },
948
1564
  emits: ["update:collapsed", "expand", "collapse"],
949
- setup(t, { expose: e, emit: o }) {
950
- const l = t, r = o, f = X(), a = H(l.collapsed);
951
- G(() => l.collapsed, (n) => {
952
- a.value = n;
1565
+ setup(s, { expose: e, emit: o }) {
1566
+ const l = s, r = o, d = Be(), a = F(l.collapsed);
1567
+ ee(() => l.collapsed, (i) => {
1568
+ a.value = i;
953
1569
  });
954
- const u = y(() => a.value), C = () => {
1570
+ const n = C(() => a.value), S = () => {
955
1571
  a.value = !a.value, r("update:collapsed", a.value), a.value ? r("collapse") : r("expand");
956
- }, w = y(() => l.showHeader !== void 0 ? l.showHeader : !!(f.header || f["header-icon"] || f["header-title"] || f["header-subtitle"] || f["header-badge"] || f["header-actions"] || l.collapsible)), $ = y(() => l.showFooter !== void 0 ? l.showFooter : !!(f.footer || f["footer-left"] || f["footer-actions"])), L = y(() => {
957
- const n = [
1572
+ }, I = C(() => l.showHeader !== void 0 ? l.showHeader : !!(d.header || d["header-icon"] || d["header-title"] || d["header-subtitle"] || d["header-badge"] || d["header-actions"] || l.collapsible)), A = C(() => l.showFooter !== void 0 ? l.showFooter : !!(d.footer || d["footer-left"] || d["footer-actions"])), K = C(() => {
1573
+ const i = [
958
1574
  "sl-relative",
959
1575
  "sl-flex",
960
1576
  "sl-flex-col"
961
1577
  ];
962
- switch (l.fullHeight && n.push("sl-h-full"), l.variant) {
1578
+ switch (l.fullHeight && i.push("sl-h-full"), l.variant) {
963
1579
  case "elevated":
964
- n.push("sl-bg-white", "dark:sl-bg-gray-800");
1580
+ i.push("sl-bg-white", "dark:sl-bg-gray-800");
965
1581
  break;
966
1582
  case "outlined":
967
- n.push("sl-bg-white", "dark:sl-bg-gray-800", "sl-border", "sl-border-gray-200", "dark:sl-border-gray-700");
1583
+ i.push("sl-bg-white", "dark:sl-bg-gray-800", "sl-border", "sl-border-gray-200", "dark:sl-border-gray-700");
968
1584
  break;
969
1585
  case "flat":
970
- n.push("sl-bg-transparent");
1586
+ i.push("sl-bg-transparent");
971
1587
  break;
972
1588
  case "filled":
973
- n.push("sl-bg-gray-50", "dark:sl-bg-gray-800/50");
1589
+ i.push("sl-bg-gray-50", "dark:sl-bg-gray-800/50");
974
1590
  break;
975
1591
  }
976
1592
  if (l.variant === "elevated") {
977
- const P = {
1593
+ const W = {
978
1594
  none: "",
979
1595
  sm: "sl-shadow-sm",
980
1596
  md: "sl-shadow",
981
1597
  lg: "sl-shadow-lg",
982
1598
  xl: "sl-shadow-xl"
983
1599
  };
984
- P[l.shadow] && n.push(P[l.shadow]);
1600
+ W[l.shadow] && i.push(W[l.shadow]);
985
1601
  }
986
- const M = {
1602
+ const u = {
987
1603
  none: "",
988
1604
  sm: "sl-rounded-sm",
989
1605
  md: "sl-rounded-md",
@@ -992,99 +1608,99 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
992
1608
  "2xl": "sl-rounded-2xl",
993
1609
  full: "sl-rounded-3xl"
994
1610
  };
995
- return M[l.rounded] && n.push(M[l.rounded]), l.hoverable && n.push(
1611
+ return u[l.rounded] && i.push(u[l.rounded]), l.hoverable && i.push(
996
1612
  "sl-transition-shadow",
997
1613
  "sl-duration-200",
998
1614
  "hover:sl-shadow-lg",
999
1615
  "dark:hover:sl-shadow-gray-900/30"
1000
- ), l.bgClass && n.push(l.bgClass), l.scrollable && n.push("sl-overflow-hidden"), n;
1001
- }), I = y(() => {
1002
- const n = {};
1003
- return l.scrollable && l.maxHeight && (n.maxHeight = l.maxHeight), n;
1004
- }), c = y(() => ({
1616
+ ), l.bgClass && i.push(l.bgClass), l.scrollable && i.push("sl-overflow-hidden"), i;
1617
+ }), T = C(() => {
1618
+ const i = {};
1619
+ return l.scrollable && l.maxHeight && (i.maxHeight = l.maxHeight), i;
1620
+ }), m = C(() => ({
1005
1621
  compact: { x: "sl-px-3", y: "sl-py-2" },
1006
1622
  default: { x: "sl-px-4 sm:sl-px-6", y: "sl-py-4" },
1007
1623
  spacious: { x: "sl-px-6 sm:sl-px-8", y: "sl-py-5 sm:sl-py-6" }
1008
- })[l.size]), h = y(() => [c.value.x, c.value.y]), E = y(() => {
1624
+ })[l.size]), $ = C(() => [m.value.x, m.value.y]), L = C(() => {
1009
1625
  if (l.noPadding)
1010
1626
  return [];
1011
- const n = [c.value.x, c.value.y];
1012
- return l.scrollable && n.push("sl-flex-1", "sl-min-h-0"), n;
1013
- }), z = y(() => {
1014
- const n = {
1627
+ const i = [m.value.x, m.value.y];
1628
+ return l.scrollable && i.push("sl-flex-1", "sl-min-h-0"), i;
1629
+ }), H = C(() => {
1630
+ const i = {
1015
1631
  compact: "sl-py-2",
1016
1632
  default: "sl-py-3",
1017
1633
  spacious: "sl-py-4"
1018
1634
  };
1019
- return [c.value.x, n[l.size], "sl-bg-gray-50/50 dark:sl-bg-gray-800/50"];
1635
+ return [m.value.x, i[l.size], "sl-bg-gray-50/50 dark:sl-bg-gray-800/50"];
1020
1636
  });
1021
1637
  return e({
1022
- toggleCollapse: C,
1023
- isCollapsed: u
1024
- }), (n, M) => (i(), d("div", {
1025
- class: v([
1638
+ toggleCollapse: S,
1639
+ isCollapsed: n
1640
+ }), (i, u) => (c(), f("div", {
1641
+ class: _([
1026
1642
  "sl-card-layout",
1027
- L.value,
1028
- { "sl-cursor-pointer": t.hoverable }
1643
+ K.value,
1644
+ { "sl-cursor-pointer": s.hoverable }
1029
1645
  ]),
1030
- style: k(I.value)
1646
+ style: z(T.value)
1031
1647
  }, [
1032
- w.value ? (i(), d("div", {
1648
+ I.value ? (c(), f("div", {
1033
1649
  key: 0,
1034
- class: v([
1650
+ class: _([
1035
1651
  "sl-card-header",
1036
- h.value,
1037
- { "sl-sticky sl-top-0 sl-z-10 sl-bg-inherit": t.headerSticky && t.scrollable }
1652
+ $.value,
1653
+ { "sl-sticky sl-top-0 sl-z-10 sl-bg-inherit": s.headerSticky && s.scrollable }
1038
1654
  ])
1039
1655
  }, [
1040
- p(n.$slots, "header", {}, () => [
1041
- s("div", Qe, [
1042
- n.$slots["header-icon"] ? (i(), d("div", Xe, [
1043
- p(n.$slots, "header-icon", {}, void 0, !0)
1044
- ])) : g("", !0),
1045
- s("div", es, [
1046
- n.$slots["header-title"] ? (i(), d("div", ss, [
1047
- s("h3", ts, [
1048
- p(n.$slots, "header-title", {}, void 0, !0)
1656
+ v(i.$slots, "header", {}, () => [
1657
+ t("div", yt, [
1658
+ i.$slots["header-icon"] ? (c(), f("div", ht, [
1659
+ v(i.$slots, "header-icon", {}, void 0, !0)
1660
+ ])) : b("", !0),
1661
+ t("div", xt, [
1662
+ i.$slots["header-title"] ? (c(), f("div", vt, [
1663
+ t("h3", bt, [
1664
+ v(i.$slots, "header-title", {}, void 0, !0)
1049
1665
  ]),
1050
- n.$slots["header-badge"] ? (i(), d("div", ls, [
1051
- p(n.$slots, "header-badge", {}, void 0, !0)
1052
- ])) : g("", !0)
1053
- ])) : g("", !0),
1054
- n.$slots["header-subtitle"] ? (i(), d("p", os, [
1055
- p(n.$slots, "header-subtitle", {}, void 0, !0)
1056
- ])) : g("", !0)
1666
+ i.$slots["header-badge"] ? (c(), f("div", kt, [
1667
+ v(i.$slots, "header-badge", {}, void 0, !0)
1668
+ ])) : b("", !0)
1669
+ ])) : b("", !0),
1670
+ i.$slots["header-subtitle"] ? (c(), f("p", Ct, [
1671
+ v(i.$slots, "header-subtitle", {}, void 0, !0)
1672
+ ])) : b("", !0)
1057
1673
  ]),
1058
- n.$slots["header-actions"] || t.collapsible ? (i(), d("div", as, [
1059
- p(n.$slots, "header-actions", {}, void 0, !0),
1060
- t.collapsible ? (i(), d("button", {
1674
+ i.$slots["header-actions"] || s.collapsible ? (c(), f("div", wt, [
1675
+ v(i.$slots, "header-actions", {}, void 0, !0),
1676
+ s.collapsible ? (c(), f("button", {
1061
1677
  key: 0,
1062
1678
  type: "button",
1063
- onClick: C,
1679
+ onClick: S,
1064
1680
  class: "sl-p-1.5 sl-rounded-md sl-text-gray-400 hover:sl-text-gray-600 hover:sl-bg-gray-100 dark:hover:sl-bg-gray-700 dark:hover:sl-text-gray-300 sl-transition-colors",
1065
- "aria-expanded": !u.value,
1681
+ "aria-expanded": !n.value,
1066
1682
  "aria-label": "Toggle content"
1067
1683
  }, [
1068
- (i(), d("svg", {
1069
- class: v(["sl-h-5 sl-w-5 sl-transition-transform sl-duration-200", { "sl-rotate-180": !u.value }]),
1684
+ (c(), f("svg", {
1685
+ class: _(["sl-h-5 sl-w-5 sl-transition-transform sl-duration-200", { "sl-rotate-180": !n.value }]),
1070
1686
  fill: "none",
1071
1687
  viewBox: "0 0 24 24",
1072
1688
  stroke: "currentColor",
1073
1689
  "stroke-width": "2"
1074
- }, [...M[0] || (M[0] = [
1075
- s("path", {
1690
+ }, [...u[0] || (u[0] = [
1691
+ t("path", {
1076
1692
  "stroke-linecap": "round",
1077
1693
  "stroke-linejoin": "round",
1078
1694
  d: "M19 9l-7 7-7-7"
1079
1695
  }, null, -1)
1080
1696
  ])], 2))
1081
- ], 8, rs)) : g("", !0)
1082
- ])) : g("", !0)
1697
+ ], 8, $t)) : b("", !0)
1698
+ ])) : b("", !0)
1083
1699
  ])
1084
1700
  ], !0)
1085
- ], 2)) : g("", !0),
1086
- w.value && t.divided && !u.value ? (i(), d("div", ns)) : g("", !0),
1087
- t.collapsible ? (i(), W(U, {
1701
+ ], 2)) : b("", !0),
1702
+ I.value && s.divided && !n.value ? (c(), f("div", St)) : b("", !0),
1703
+ s.collapsible ? (c(), U(re, {
1088
1704
  key: 2,
1089
1705
  "enter-active-class": "sl-transition-all sl-duration-200 sl-ease-out",
1090
1706
  "enter-from-class": "sl-opacity-0 sl-max-h-0",
@@ -1093,80 +1709,80 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1093
1709
  "leave-from-class": "sl-opacity-100",
1094
1710
  "leave-to-class": "sl-opacity-0 sl-max-h-0"
1095
1711
  }, {
1096
- default: b(() => [
1097
- D(s("div", is, [
1098
- s("div", {
1099
- class: v([
1712
+ default: k(() => [
1713
+ Y(t("div", _t, [
1714
+ t("div", {
1715
+ class: _([
1100
1716
  "sl-card-body",
1101
- E.value,
1102
- { "sl-overflow-y-auto": t.scrollable }
1717
+ L.value,
1718
+ { "sl-overflow-y-auto": s.scrollable }
1103
1719
  ]),
1104
- style: k(t.scrollable && t.maxHeight ? { maxHeight: t.maxHeight } : {})
1720
+ style: z(s.scrollable && s.maxHeight ? { maxHeight: s.maxHeight } : {})
1105
1721
  }, [
1106
- p(n.$slots, "body", {}, () => [
1107
- p(n.$slots, "default", {}, void 0, !0)
1722
+ v(i.$slots, "body", {}, () => [
1723
+ v(i.$slots, "default", {}, void 0, !0)
1108
1724
  ], !0)
1109
1725
  ], 6),
1110
- $.value && t.divided ? (i(), d("div", ds)) : g("", !0),
1111
- $.value ? (i(), d("div", {
1726
+ A.value && s.divided ? (c(), f("div", Tt)) : b("", !0),
1727
+ A.value ? (c(), f("div", {
1112
1728
  key: 1,
1113
- class: v([
1729
+ class: _([
1114
1730
  "sl-card-footer",
1115
- z.value,
1116
- { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": t.footerSticky && t.scrollable }
1731
+ H.value,
1732
+ { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": s.footerSticky && s.scrollable }
1117
1733
  ])
1118
1734
  }, [
1119
- p(n.$slots, "footer", {}, () => [
1120
- s("div", cs, [
1121
- n.$slots["footer-left"] ? (i(), d("div", us, [
1122
- p(n.$slots, "footer-left", {}, void 0, !0)
1123
- ])) : (i(), d("div", fs)),
1124
- n.$slots["footer-actions"] ? (i(), d("div", ms, [
1125
- p(n.$slots, "footer-actions", {}, void 0, !0)
1126
- ])) : g("", !0)
1735
+ v(i.$slots, "footer", {}, () => [
1736
+ t("div", It, [
1737
+ i.$slots["footer-left"] ? (c(), f("div", At, [
1738
+ v(i.$slots, "footer-left", {}, void 0, !0)
1739
+ ])) : (c(), f("div", Mt)),
1740
+ i.$slots["footer-actions"] ? (c(), f("div", zt, [
1741
+ v(i.$slots, "footer-actions", {}, void 0, !0)
1742
+ ])) : b("", !0)
1127
1743
  ])
1128
1744
  ], !0)
1129
- ], 2)) : g("", !0)
1745
+ ], 2)) : b("", !0)
1130
1746
  ], 512), [
1131
- [ee, !u.value]
1747
+ [Ue, !n.value]
1132
1748
  ])
1133
1749
  ]),
1134
1750
  _: 3
1135
- })) : (i(), d(j, { key: 3 }, [
1136
- s("div", {
1137
- class: v([
1751
+ })) : (c(), f(V, { key: 3 }, [
1752
+ t("div", {
1753
+ class: _([
1138
1754
  "sl-card-body",
1139
- E.value,
1140
- { "sl-overflow-y-auto": t.scrollable }
1755
+ L.value,
1756
+ { "sl-overflow-y-auto": s.scrollable }
1141
1757
  ]),
1142
- style: k(t.scrollable && t.maxHeight ? { maxHeight: t.maxHeight } : {})
1758
+ style: z(s.scrollable && s.maxHeight ? { maxHeight: s.maxHeight } : {})
1143
1759
  }, [
1144
- p(n.$slots, "body", {}, () => [
1145
- p(n.$slots, "default", {}, void 0, !0)
1760
+ v(i.$slots, "body", {}, () => [
1761
+ v(i.$slots, "default", {}, void 0, !0)
1146
1762
  ], !0)
1147
1763
  ], 6),
1148
- $.value && t.divided ? (i(), d("div", ps)) : g("", !0),
1149
- $.value ? (i(), d("div", {
1764
+ A.value && s.divided ? (c(), f("div", Et)) : b("", !0),
1765
+ A.value ? (c(), f("div", {
1150
1766
  key: 1,
1151
- class: v([
1767
+ class: _([
1152
1768
  "sl-card-footer",
1153
- z.value,
1154
- { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": t.footerSticky && t.scrollable }
1769
+ H.value,
1770
+ { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": s.footerSticky && s.scrollable }
1155
1771
  ])
1156
1772
  }, [
1157
- p(n.$slots, "footer", {}, () => [
1158
- s("div", gs, [
1159
- n.$slots["footer-left"] ? (i(), d("div", xs, [
1160
- p(n.$slots, "footer-left", {}, void 0, !0)
1161
- ])) : (i(), d("div", hs)),
1162
- n.$slots["footer-actions"] ? (i(), d("div", ys, [
1163
- p(n.$slots, "footer-actions", {}, void 0, !0)
1164
- ])) : g("", !0)
1773
+ v(i.$slots, "footer", {}, () => [
1774
+ t("div", Lt, [
1775
+ i.$slots["footer-left"] ? (c(), f("div", Pt, [
1776
+ v(i.$slots, "footer-left", {}, void 0, !0)
1777
+ ])) : (c(), f("div", Dt)),
1778
+ i.$slots["footer-actions"] ? (c(), f("div", Ft, [
1779
+ v(i.$slots, "footer-actions", {}, void 0, !0)
1780
+ ])) : b("", !0)
1165
1781
  ])
1166
1782
  ], !0)
1167
- ], 2)) : g("", !0)
1783
+ ], 2)) : b("", !0)
1168
1784
  ], 64)),
1169
- m(U, {
1785
+ y(re, {
1170
1786
  "enter-active-class": "sl-transition-opacity sl-duration-200",
1171
1787
  "enter-from-class": "sl-opacity-0",
1172
1788
  "enter-to-class": "sl-opacity-100",
@@ -1174,12 +1790,12 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1174
1790
  "leave-from-class": "sl-opacity-100",
1175
1791
  "leave-to-class": "sl-opacity-0"
1176
1792
  }, {
1177
- default: b(() => [
1178
- t.loading ? (i(), d("div", bs, [
1179
- p(n.$slots, "loading", {}, () => [
1180
- s("div", vs, [
1181
- (i(), d("svg", Cs, [...M[1] || (M[1] = [
1182
- s("circle", {
1793
+ default: k(() => [
1794
+ s.loading ? (c(), f("div", Bt, [
1795
+ v(i.$slots, "loading", {}, () => [
1796
+ t("div", Ut, [
1797
+ (c(), f("svg", Vt, [...u[1] || (u[1] = [
1798
+ t("circle", {
1183
1799
  class: "sl-opacity-25",
1184
1800
  cx: "12",
1185
1801
  cy: "12",
@@ -1187,95 +1803,95 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1187
1803
  stroke: "currentColor",
1188
1804
  "stroke-width": "4"
1189
1805
  }, null, -1),
1190
- s("path", {
1806
+ t("path", {
1191
1807
  class: "sl-opacity-75",
1192
1808
  fill: "currentColor",
1193
1809
  d: "m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
1194
1810
  }, null, -1)
1195
1811
  ])])),
1196
- t.loadingText ? (i(), d("span", ks, x(t.loadingText), 1)) : g("", !0)
1812
+ s.loadingText ? (c(), f("span", jt, w(s.loadingText), 1)) : b("", !0)
1197
1813
  ])
1198
1814
  ], !0)
1199
- ])) : g("", !0)
1815
+ ])) : b("", !0)
1200
1816
  ]),
1201
1817
  _: 3
1202
1818
  })
1203
1819
  ], 6));
1204
1820
  }
1205
- }), bt = /* @__PURE__ */ J(ws, [["__scopeId", "data-v-a1ea2aac"]]), $s = "sl-text-sm", vt = /* @__PURE__ */ T({
1821
+ }), Gl = /* @__PURE__ */ se(Ot, [["__scopeId", "data-v-a1ea2aac"]]), Nt = "sl-text-sm", Kl = /* @__PURE__ */ D({
1206
1822
  __name: "InfoCard",
1207
1823
  props: {
1208
1824
  title: { default: "" },
1209
1825
  variant: { default: "info" }
1210
1826
  },
1211
- setup(t) {
1212
- const e = t, o = y(() => ({
1827
+ setup(s) {
1828
+ const e = s, o = C(() => ({
1213
1829
  info: { bg: "var(--info-bg, #eff6ff)", border: "var(--info-border, #bfdbfe)" },
1214
1830
  warning: { bg: "var(--warning-bg, #fffbeb)", border: "var(--warning-border, #fcd34d)" },
1215
1831
  success: { bg: "var(--success-bg, #f0fdf4)", border: "var(--success-border, #86efac)" },
1216
1832
  error: { bg: "var(--error-bg, #fef2f2)", border: "var(--error-border, #fca5a5)" }
1217
- })[e.variant]), l = y(() => ({ color: {
1833
+ })[e.variant]), l = C(() => ({ color: {
1218
1834
  info: "var(--info-title)",
1219
1835
  warning: "var(--warning-title)",
1220
1836
  success: "var(--success-title)",
1221
1837
  error: "var(--error-title)"
1222
- }[e.variant] })), r = y(() => ({ color: {
1838
+ }[e.variant] })), r = C(() => ({ color: {
1223
1839
  info: "var(--info-text)",
1224
1840
  warning: "var(--warning-text)",
1225
1841
  success: "var(--success-text)",
1226
1842
  error: "var(--error-text)"
1227
1843
  }[e.variant] }));
1228
- return (f, a) => (i(), d("div", {
1844
+ return (d, a) => (c(), f("div", {
1229
1845
  class: "sl-rounded-xl sl-border sl-p-4",
1230
- style: k({ backgroundColor: o.value.bg, borderColor: o.value.border })
1846
+ style: z({ backgroundColor: o.value.bg, borderColor: o.value.border })
1231
1847
  }, [
1232
- t.title ? (i(), d("h3", {
1848
+ s.title ? (c(), f("h3", {
1233
1849
  key: 0,
1234
1850
  class: "sl-font-medium sl-mb-2",
1235
- style: k(l.value)
1236
- }, x(t.title), 5)) : g("", !0),
1237
- s("div", {
1238
- class: v($s),
1239
- style: k(r.value)
1851
+ style: z(l.value)
1852
+ }, w(s.title), 5)) : b("", !0),
1853
+ t("div", {
1854
+ class: _(Nt),
1855
+ style: z(r.value)
1240
1856
  }, [
1241
- p(f.$slots, "default")
1857
+ v(d.$slots, "default")
1242
1858
  ], 4)
1243
1859
  ], 4));
1244
1860
  }
1245
- }), _s = { class: "sl-space-y-4" }, Ss = { class: "sl-text-xl sl-font-semibold sl-text-slate-900 dark:sl-text-white" }, Ts = { class: "sl-overflow-x-auto" }, Is = { class: "sl-min-w-full sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, Ms = { class: "sl-bg-slate-50 dark:sl-bg-slate-900" }, Vs = { class: "sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, js = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-900 dark:sl-text-slate-100" }, As = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, Bs = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-500 dark:sl-text-slate-300" }, Ls = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, Ct = /* @__PURE__ */ T({
1861
+ }), Rt = { class: "sl-space-y-4" }, Gt = { class: "sl-text-xl sl-font-semibold sl-text-slate-900 dark:sl-text-white" }, Kt = { class: "sl-overflow-x-auto" }, Ht = { class: "sl-min-w-full sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, Wt = { class: "sl-bg-slate-50 dark:sl-bg-slate-900" }, Zt = { class: "sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, Jt = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-900 dark:sl-text-slate-100" }, Xt = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, Yt = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-500 dark:sl-text-slate-300" }, Qt = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, Hl = /* @__PURE__ */ D({
1246
1862
  __name: "PropsTable",
1247
1863
  props: {
1248
1864
  title: { default: "Props" },
1249
1865
  props: {}
1250
1866
  },
1251
- setup(t) {
1867
+ setup(s) {
1252
1868
  const e = ["Prop", "Type", "Default", "Description"];
1253
- return (o, l) => (i(), d("section", _s, [
1254
- s("h2", Ss, x(t.title), 1),
1255
- s("div", {
1256
- class: v(["sl-rounded-xl sl-shadow-sm sl-border sl-overflow-hidden", [
1869
+ return (o, l) => (c(), f("section", Rt, [
1870
+ t("h2", Gt, w(s.title), 1),
1871
+ t("div", {
1872
+ class: _(["sl-rounded-xl sl-shadow-sm sl-border sl-overflow-hidden", [
1257
1873
  "sl-bg-white dark:sl-bg-slate-800",
1258
1874
  "sl-border-slate-200 dark:sl-border-slate-700"
1259
1875
  ]])
1260
1876
  }, [
1261
- s("div", Ts, [
1262
- s("table", Is, [
1263
- s("thead", Ms, [
1264
- s("tr", null, [
1265
- (i(), d(j, null, B(e, (r) => s("th", {
1877
+ t("div", Kt, [
1878
+ t("table", Ht, [
1879
+ t("thead", Wt, [
1880
+ t("tr", null, [
1881
+ (c(), f(V, null, R(e, (r) => t("th", {
1266
1882
  key: r,
1267
- class: v(["sl-px-6 sl-py-3 sl-text-left sl-text-xs sl-font-medium sl-uppercase sl-tracking-wider", "sl-text-slate-500 dark:sl-text-slate-300"])
1268
- }, x(r), 1)), 64))
1883
+ class: _(["sl-px-6 sl-py-3 sl-text-left sl-text-xs sl-font-medium sl-uppercase sl-tracking-wider", "sl-text-slate-500 dark:sl-text-slate-300"])
1884
+ }, w(r), 1)), 64))
1269
1885
  ])
1270
1886
  ]),
1271
- s("tbody", Vs, [
1272
- (i(!0), d(j, null, B(t.props, (r) => (i(), d("tr", {
1887
+ t("tbody", Zt, [
1888
+ (c(!0), f(V, null, R(s.props, (r) => (c(), f("tr", {
1273
1889
  key: r.name
1274
1890
  }, [
1275
- s("td", js, x(r.name), 1),
1276
- s("td", As, x(r.type), 1),
1277
- s("td", Bs, x(r.default), 1),
1278
- s("td", Ls, x(r.description), 1)
1891
+ t("td", Jt, w(r.name), 1),
1892
+ t("td", Xt, w(r.type), 1),
1893
+ t("td", Yt, w(r.default), 1),
1894
+ t("td", Qt, w(r.description), 1)
1279
1895
  ]))), 128))
1280
1896
  ])
1281
1897
  ])
@@ -1283,21 +1899,21 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1283
1899
  ])
1284
1900
  ]));
1285
1901
  }
1286
- }), Es = {
1902
+ }), qt = {
1287
1903
  class: "sl-rounded-xl sl-shadow-sm sl-border sl-overflow-hidden",
1288
1904
  style: { backgroundColor: "var(--sl-surface-elevated)", borderColor: "var(--sl-border-default)" }
1289
- }, Fs = {
1905
+ }, el = {
1290
1906
  key: 0,
1291
1907
  class: "sl-px-6 sl-py-4 sl-border-b",
1292
1908
  style: { backgroundColor: "var(--sl-surface-sunken)", borderColor: "var(--sl-border-default)" }
1293
- }, Ds = {
1909
+ }, sl = {
1294
1910
  class: "sl-text-lg sl-font-semibold",
1295
1911
  style: { color: "var(--sl-text-primary)" }
1296
- }, zs = {
1912
+ }, tl = {
1297
1913
  key: 0,
1298
1914
  class: "sl-text-sm sl-mt-1",
1299
1915
  style: { color: "var(--sl-text-muted)" }
1300
- }, kt = /* @__PURE__ */ T({
1916
+ }, Wl = /* @__PURE__ */ D({
1301
1917
  __name: "ShowcaseCard",
1302
1918
  props: {
1303
1919
  title: { default: "" },
@@ -1305,36 +1921,36 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1305
1921
  contentClass: { default: "" },
1306
1922
  padded: { type: Boolean, default: !0 }
1307
1923
  },
1308
- setup(t) {
1309
- const e = t, o = y(() => {
1924
+ setup(s) {
1925
+ const e = s, o = C(() => {
1310
1926
  const l = [];
1311
1927
  return e.padded && l.push("sl-p-6"), e.contentClass && l.push(e.contentClass), l.join(" ");
1312
1928
  });
1313
- return (l, r) => (i(), d("div", Es, [
1314
- t.title || l.$slots.header ? (i(), d("div", Fs, [
1315
- p(l.$slots, "header", {}, () => [
1316
- s("h2", Ds, x(t.title), 1),
1317
- t.description ? (i(), d("p", zs, x(t.description), 1)) : g("", !0)
1929
+ return (l, r) => (c(), f("div", qt, [
1930
+ s.title || l.$slots.header ? (c(), f("div", el, [
1931
+ v(l.$slots, "header", {}, () => [
1932
+ t("h2", sl, w(s.title), 1),
1933
+ s.description ? (c(), f("p", tl, w(s.description), 1)) : b("", !0)
1318
1934
  ])
1319
- ])) : g("", !0),
1320
- s("div", {
1321
- class: v(o.value)
1935
+ ])) : b("", !0),
1936
+ t("div", {
1937
+ class: _(o.value)
1322
1938
  }, [
1323
- p(l.$slots, "default")
1939
+ v(l.$slots, "default")
1324
1940
  ], 2)
1325
1941
  ]));
1326
1942
  }
1327
- }), Ps = { class: "sl-space-y-8" }, Ns = { class: "sl-space-y-2" }, Us = {
1943
+ }), ll = { class: "sl-space-y-8" }, ol = { class: "sl-space-y-2" }, al = {
1328
1944
  class: "sl-text-3xl sl-font-bold",
1329
1945
  style: { color: "var(--sl-text-primary)" }
1330
- }, Os = {
1946
+ }, rl = {
1331
1947
  class: "sl-text-lg",
1332
1948
  style: { color: "var(--sl-text-muted)" }
1333
- }, Rs = {
1949
+ }, nl = {
1334
1950
  key: 0,
1335
1951
  class: "sl-flex sl-flex-wrap sl-gap-2 sl-pb-4",
1336
1952
  style: { borderBottom: "1px solid var(--sl-border-default)" }
1337
- }, Hs = ["onClick"], Gs = { class: "sl-space-y-8" }, wt = /* @__PURE__ */ T({
1953
+ }, il = ["onClick"], dl = { class: "sl-space-y-8" }, Zl = /* @__PURE__ */ D({
1338
1954
  __name: "ShowcaseLayout",
1339
1955
  props: {
1340
1956
  title: {},
@@ -1343,10 +1959,10 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1343
1959
  modelValue: { default: "" }
1344
1960
  },
1345
1961
  emits: ["update:modelValue"],
1346
- setup(t, { emit: e }) {
1347
- const o = t, l = e, { isDark: r } = Y(), f = (u) => {
1348
- l("update:modelValue", u);
1349
- }, a = (u) => o.modelValue === u ? {
1962
+ setup(s, { emit: e }) {
1963
+ const o = s, l = e, { isDark: r } = fe(), d = (n) => {
1964
+ l("update:modelValue", n);
1965
+ }, a = (n) => o.modelValue === n ? {
1350
1966
  backgroundColor: r.value ? "#ffffff" : "#0f172a",
1351
1967
  color: r.value ? "#0f172a" : "#ffffff",
1352
1968
  boxShadow: "0 1px 2px 0 rgb(0 0 0 / 0.05)"
@@ -1354,48 +1970,48 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1354
1970
  backgroundColor: "transparent",
1355
1971
  color: "var(--sl-text-muted)"
1356
1972
  };
1357
- return (u, C) => (i(), d("div", Ps, [
1358
- s("header", Ns, [
1359
- s("h1", Us, x(t.title), 1),
1360
- s("p", Os, x(t.description), 1),
1361
- p(u.$slots, "header-extra")
1973
+ return (n, S) => (c(), f("div", ll, [
1974
+ t("header", ol, [
1975
+ t("h1", al, w(s.title), 1),
1976
+ t("p", rl, w(s.description), 1),
1977
+ v(n.$slots, "header-extra")
1362
1978
  ]),
1363
- t.variants && t.variants.length > 0 ? (i(), d("nav", Rs, [
1364
- (i(!0), d(j, null, B(t.variants, (w) => (i(), d("button", {
1365
- key: w.id,
1366
- onClick: ($) => f(w.id),
1979
+ s.variants && s.variants.length > 0 ? (c(), f("nav", nl, [
1980
+ (c(!0), f(V, null, R(s.variants, (I) => (c(), f("button", {
1981
+ key: I.id,
1982
+ onClick: (A) => d(I.id),
1367
1983
  class: "sl-px-4 sl-py-2 sl-text-sm sl-font-medium sl-rounded-lg sl-transition-all sl-duration-150",
1368
- style: k(a(w.id))
1369
- }, x(w.label || w.name), 13, Hs))), 128))
1370
- ])) : g("", !0),
1371
- s("div", Gs, [
1372
- p(u.$slots, "content", {}, () => [
1373
- p(u.$slots, "default")
1984
+ style: z(a(I.id))
1985
+ }, w(I.label || I.name), 13, il))), 128))
1986
+ ])) : b("", !0),
1987
+ t("div", dl, [
1988
+ v(n.$slots, "content", {}, () => [
1989
+ v(n.$slots, "default")
1374
1990
  ])
1375
1991
  ]),
1376
- p(u.$slots, "footer")
1992
+ v(n.$slots, "footer")
1377
1993
  ]));
1378
1994
  }
1379
- }), Ws = { class: "sl-space-y-4" }, Ys = {
1995
+ }), cl = { class: "sl-space-y-4" }, ul = {
1380
1996
  class: "sl-text-xl sl-font-semibold",
1381
1997
  style: { color: "var(--sl-text-primary)" }
1382
- }, Js = { class: "sl-rounded-xl sl-p-4 sl-overflow-auto sl-bg-slate-800 dark:sl-bg-slate-900" }, qs = { class: "sl-text-sm sl-text-slate-300 sl-font-mono" }, $t = /* @__PURE__ */ T({
1998
+ }, fl = { class: "sl-rounded-xl sl-p-4 sl-overflow-auto sl-bg-slate-800 dark:sl-bg-slate-900" }, ml = { class: "sl-text-sm sl-text-slate-300 sl-font-mono" }, Jl = /* @__PURE__ */ D({
1383
1999
  __name: "StateDisplay",
1384
2000
  props: {
1385
2001
  title: { default: "Current State" },
1386
2002
  state: {}
1387
2003
  },
1388
- setup(t) {
1389
- const e = t, o = y(() => JSON.stringify(e.state, null, 2));
1390
- return (l, r) => (i(), d("section", Ws, [
1391
- s("h2", Ys, x(t.title), 1),
1392
- s("div", Js, [
1393
- s("pre", qs, x(o.value), 1)
2004
+ setup(s) {
2005
+ const e = s, o = C(() => JSON.stringify(e.state, null, 2));
2006
+ return (l, r) => (c(), f("section", cl, [
2007
+ t("h2", ul, w(s.title), 1),
2008
+ t("div", fl, [
2009
+ t("pre", ml, w(o.value), 1)
1394
2010
  ])
1395
2011
  ]));
1396
2012
  }
1397
2013
  });
1398
- class Zs {
2014
+ class pl {
1399
2015
  designTokens;
1400
2016
  prefix = "sl-";
1401
2017
  injectCSS = !0;
@@ -1406,13 +2022,13 @@ class Zs {
1406
2022
  phoneInputConfig;
1407
2023
  datepickerConfig;
1408
2024
  constructor() {
1409
- this.designTokens = Z;
2025
+ this.designTokens = pe;
1410
2026
  }
1411
2027
  install(e, o = {}) {
1412
2028
  Object.keys(o).length > 0 && this.configure(o), this.injectCSS && this.injectCSSVariables(), e.config.globalProperties.$stachelockUI = this, e.provide("stachelockUI", this), this.cloudinaryConfig && e.provide("cloudinary", this.cloudinaryConfig), this.googleMapsConfig && e.provide("googleMaps", this.googleMapsConfig), this.lottieConfig && e.provide("lottie", this.lottieConfig), this.richTextConfig && e.provide("richText", this.richTextConfig), this.phoneInputConfig && e.provide("phoneInput", this.phoneInputConfig), this.datepickerConfig && e.provide("datepicker", this.datepickerConfig);
1413
2029
  }
1414
2030
  configure(e) {
1415
- e.designTokens && (this.designTokens = ge(e.designTokens, this.designTokens)), e.prefix !== void 0 && (this.prefix = e.prefix), e.injectCSS !== void 0 && (this.injectCSS = e.injectCSS), e.cloudinary && (this.cloudinaryConfig = e.cloudinary), e.googleMaps && (this.googleMapsConfig = e.googleMaps), e.lottie && (this.lottieConfig = e.lottie), e.richText && (this.richTextConfig = e.richText), e.phoneInput && (this.phoneInputConfig = e.phoneInput), e.datepicker && (this.datepickerConfig = e.datepicker);
2031
+ e.designTokens && (this.designTokens = gs(e.designTokens, this.designTokens)), e.prefix !== void 0 && (this.prefix = e.prefix), e.injectCSS !== void 0 && (this.injectCSS = e.injectCSS), e.cloudinary && (this.cloudinaryConfig = e.cloudinary), e.googleMaps && (this.googleMapsConfig = e.googleMaps), e.lottie && (this.lottieConfig = e.lottie), e.richText && (this.richTextConfig = e.richText), e.phoneInput && (this.phoneInputConfig = e.phoneInput), e.datepicker && (this.datepickerConfig = e.datepicker);
1416
2032
  }
1417
2033
  getDesignTokens() {
1418
2034
  return this.designTokens;
@@ -1436,7 +2052,7 @@ class Zs {
1436
2052
  return this.datepickerConfig;
1437
2053
  }
1438
2054
  generateCSS() {
1439
- return xe(this.designTokens);
2055
+ return ys(this.designTokens);
1440
2056
  }
1441
2057
  injectCSSVariables() {
1442
2058
  const e = document.createElement("style");
@@ -1445,152 +2061,154 @@ class Zs {
1445
2061
  o && o.remove(), document.head.appendChild(e);
1446
2062
  }
1447
2063
  }
1448
- const _t = new Zs();
2064
+ const Xl = new pl();
1449
2065
  export {
1450
- ao as AddDeleteButtonGroup,
1451
- Oo as AlertModal,
1452
- te as Avatar,
1453
- ra as BackgroundGradientWrapper,
1454
- F as Badge,
1455
- xa as Banner,
1456
- Pl as BarChart,
1457
- Sa as BaseChart,
1458
- Ho as BaseModal,
1459
- ya as Breadcrumb,
1460
- A as Button,
1461
- ul as ButtonGroup,
1462
- ka as CalendarDashboard,
1463
- Tl as CalendarHeader,
1464
- bt as CardLayout,
1465
- ia as CardWrapper,
1466
- ml as Checkbox,
1467
- oe as CheckboxInput,
1468
- pa as CloudinaryImage,
1469
- ae as ComboboxInput,
1470
- Kl as ComingSoon,
1471
- pe as ComponentRegistry,
1472
- Za as ContentSkeleton,
1473
- $o as DashboardLayout,
1474
- no as DatepickerInput,
1475
- Ml as DayCalendar,
1476
- So as DefaultLayout,
1477
- ca as DisclosureWrapper,
1478
- so as DynamicForm,
1479
- co as EmailInput,
1480
- fo as EmptyInput,
1481
- Xl as EmptyState,
1482
- jl as EventCard,
1483
- Bl as EventsList,
1484
- po as FileDropzoneInput,
1485
- fa as FormErrorWrapper,
1486
- lo as FormField,
1487
- Ha as FormFieldWrapper,
1488
- Ul as FunnelChart,
1489
- er as GoogleMap,
1490
- Io as HeaderLayout,
1491
- xo as HiddenInput,
1492
- ir as ImageCropperModal,
1493
- vt as InfoCard,
1494
- tr as InfoWindow,
1495
- Qo as InlineTabs,
1496
- yt as InputsShowcase,
1497
- Rl as LineChart,
1498
- le as Loading,
1499
- va as LoadingDots,
1500
- dl as LottieAnimation,
1501
- or as Map,
1502
- No as MapAll,
1503
- rr as MapMarker,
1504
- gl as Menu,
1505
- hl as Modal,
1506
- El as MonthCalendar,
1507
- bl as NavLink,
1508
- Vo as NavigationGroup,
1509
- Ao as NavigationItem,
1510
- Wo as NotificationContainer,
1511
- Jo as NotificationToast,
1512
- Wa as PhoneInput,
1513
- Gl as PieChart,
1514
- Lo as ProfileHeaderAvatar,
1515
- Cl as ProgressBar,
1516
- Fo as ProjectLogo,
1517
- Ct as PropsTable,
1518
- ht as RadialProgressBar,
1519
- Ja as RichTextInput,
1520
- O as SelectInput,
1521
- yo as SelectTextInput,
1522
- kt as ShowcaseCard,
1523
- wt as ShowcaseLayout,
1524
- zo as SidebarLayout,
1525
- Qa as SmartLoadingIndicator,
1526
- Yl as SparklineChart,
1527
- _t as StachelockUI,
1528
- ql as StatCard,
1529
- $t as StateDisplay,
1530
- Zo as StepperPanels,
1531
- ne as SwitchInput,
1532
- vo as SwitchInputGroup,
1533
- ea as TabGroup,
1534
- ta as TabGroupUnderline,
1535
- wl as Table,
1536
- oa as TabsInPills,
1537
- ko as TagifyInput,
1538
- re as TextAreaInput,
1539
- V as TextInput,
1540
- xt as ThemeDebugModal,
1541
- _l as Transition,
1542
- Pt as US_CENTER,
1543
- Nt as WORLD_CENTER,
1544
- $a as WeekCalendar,
1545
- Dl as YearCalendar,
1546
- Ia as areaChartConfig,
1547
- Ma as barChartConfig,
1548
- Va as baseTheme,
1549
- Lt as calculateEventLanes,
1550
- ja as chartColors,
1551
- Aa as chartTypography,
1552
- q as componentRegistry,
1553
- _t as default,
1554
- me as defaultComponentMap,
1555
- Ut as defaultCoordinateExtractor,
1556
- Z as defaultDesignTokens,
1557
- Ba as formatDuration,
1558
- La as formatNumber,
1559
- Ea as formatPercentage,
1560
- Qt as formatUid,
1561
- Fa as funnelChartConfig,
1562
- xe as generateCSSVariables,
1563
- It as generateDeterministicId,
1564
- Mt as generateId,
1565
- gt as generateTailwindConfig,
1566
- Da as getAreaGradient,
1567
- pt as getComponent,
1568
- qt as getTabBadgeClasses,
1569
- za as hexToRgb,
1570
- Xt as isUidLike,
1571
- Ot as isValidCoordinate,
1572
- Pa as lineChartConfig,
1573
- ge as mergeDesignTokens,
1574
- Na as pieChartConfig,
1575
- se as presetThemes,
1576
- mt as registerComponent,
1577
- Vt as sanitizeId,
1578
- el as slugToReadable,
1579
- Ua as stachelockColors,
1580
- Oa as toRgba,
1581
- sl as toSentenceCase,
1582
- tl as toTitleCase,
1583
- ll as transformString,
1584
- ol as truncateString,
1585
- At as useCalendar,
1586
- Et as useEventSegments,
1587
- Dt as useFormValidation,
1588
- Rt as useMap,
1589
- Gt as useModal,
1590
- Yt as useNotifications,
1591
- Zt as useSimpleTabs,
1592
- al as useStringTransform,
1593
- nl as useTabs,
1594
- Y as useTheme
2066
+ Ma as AddDeleteButtonGroup,
2067
+ Nl as AddressInput,
2068
+ fr as AlertModal,
2069
+ je as Avatar,
2070
+ Mr as BackgroundGradientWrapper,
2071
+ X as Badge,
2072
+ jr as Banner,
2073
+ ca as BarChart,
2074
+ Xr as BaseChart,
2075
+ pr as BaseModal,
2076
+ Nr as Breadcrumb,
2077
+ Z as Button,
2078
+ Fo as ButtonGroup,
2079
+ Hr as CalendarDashboard,
2080
+ Qo as CalendarHeader,
2081
+ Gl as CardLayout,
2082
+ Er as CardWrapper,
2083
+ Uo as Checkbox,
2084
+ Ne as CheckboxInput,
2085
+ Ur as CloudinaryImage,
2086
+ Re as ComboboxInput,
2087
+ Ca as ComingSoon,
2088
+ ps as ComponentRegistry,
2089
+ vn as ContentSkeleton,
2090
+ Za as DashboardLayout,
2091
+ Ea as DatepickerInput,
2092
+ ea as DayCalendar,
2093
+ Xa as DefaultLayout,
2094
+ Pr as DisclosureWrapper,
2095
+ _a as DynamicForm,
2096
+ Pa as EmailInput,
2097
+ Fa as EmptyInput,
2098
+ $a as EmptyState,
2099
+ ta as EventCard,
2100
+ oa as EventsList,
2101
+ Ua as FileDropzoneInput,
2102
+ Fr as FormErrorWrapper,
2103
+ Ia as FormField,
2104
+ os as FormFieldWrapper,
2105
+ fa as FunnelChart,
2106
+ fs as GeocodeStatus,
2107
+ wn as GoogleMap,
2108
+ Qa as HeaderLayout,
2109
+ ja as HiddenInput,
2110
+ zn as ImageCropperModal,
2111
+ Kl as InfoCard,
2112
+ Sn as InfoWindow,
2113
+ Cr as InlineTabs,
2114
+ Rl as InputsShowcase,
2115
+ pa as LineChart,
2116
+ Oe as Loading,
2117
+ Gr as LoadingDots,
2118
+ Po as LottieAnimation,
2119
+ Tn as Map,
2120
+ cr as MapAll,
2121
+ An as MapMarker,
2122
+ jo as Menu,
2123
+ No as Modal,
2124
+ ra as MonthCalendar,
2125
+ Go as NavLink,
2126
+ er as NavigationGroup,
2127
+ tr as NavigationItem,
2128
+ yr as NotificationContainer,
2129
+ xr as NotificationToast,
2130
+ gn as PhoneInput,
2131
+ ya as PieChart,
2132
+ or as ProfileHeaderAvatar,
2133
+ Ho as ProgressBar,
2134
+ rr as ProjectLogo,
2135
+ Hl as PropsTable,
2136
+ Ol as RadialProgressBar,
2137
+ hn as RichTextInput,
2138
+ ne as SelectInput,
2139
+ Na as SelectTextInput,
2140
+ Wl as ShowcaseCard,
2141
+ Zl as ShowcaseLayout,
2142
+ ir as SidebarLayout,
2143
+ kn as SmartLoadingIndicator,
2144
+ xa as SparklineChart,
2145
+ Xl as StachelockUI,
2146
+ ba as StatCard,
2147
+ Jl as StateDisplay,
2148
+ br as StepperPanels,
2149
+ Ke as SwitchInput,
2150
+ Ga as SwitchInputGroup,
2151
+ $r as TabGroup,
2152
+ _r as TabGroupUnderline,
2153
+ Zo as Table,
2154
+ Ir as TabsInPills,
2155
+ Ha as TagifyInput,
2156
+ Ge as TextAreaInput,
2157
+ M as TextInput,
2158
+ jl as ThemeDebugModal,
2159
+ Xo as Transition,
2160
+ co as US_CENTER,
2161
+ uo as WORLD_CENTER,
2162
+ Zr as WeekCalendar,
2163
+ ia as YearCalendar,
2164
+ Qr as areaChartConfig,
2165
+ qr as barChartConfig,
2166
+ en as baseTheme,
2167
+ oo as calculateEventLanes,
2168
+ sn as chartColors,
2169
+ tn as chartTypography,
2170
+ me as componentRegistry,
2171
+ Xl as default,
2172
+ ms as defaultComponentMap,
2173
+ fo as defaultCoordinateExtractor,
2174
+ pe as defaultDesignTokens,
2175
+ ln as formatDuration,
2176
+ on as formatNumber,
2177
+ an as formatPercentage,
2178
+ wo as formatUid,
2179
+ rn as funnelChartConfig,
2180
+ ys as generateCSSVariables,
2181
+ ql as generateDeterministicId,
2182
+ Ee as generateId,
2183
+ Vl as generateTailwindConfig,
2184
+ nn as getAreaGradient,
2185
+ Ul as getComponent,
2186
+ bo as getTabBadgeClasses,
2187
+ dn as hexToRgb,
2188
+ Fl as isFundamentalField,
2189
+ $o as isUidLike,
2190
+ mo as isValidCoordinate,
2191
+ cn as lineChartConfig,
2192
+ gs as mergeDesignTokens,
2193
+ un as pieChartConfig,
2194
+ Ve as presetThemes,
2195
+ Bl as registerComponent,
2196
+ eo as sanitizeId,
2197
+ So as slugToReadable,
2198
+ fn as stachelockColors,
2199
+ mn as toRgba,
2200
+ _o as toSentenceCase,
2201
+ To as toTitleCase,
2202
+ Io as transformString,
2203
+ Ao as truncateString,
2204
+ to as useCalendar,
2205
+ ao as useEventSegments,
2206
+ no as useFormValidation,
2207
+ po as useMap,
2208
+ yo as useModal,
2209
+ xo as useNotifications,
2210
+ ko as useSimpleTabs,
2211
+ Mo as useStringTransform,
2212
+ Eo as useTabs,
2213
+ fe as useTheme
1595
2214
  };
1596
- //# sourceMappingURL=index.js.map