@stachelock/ui 0.5.5 → 0.6.2

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 (481) 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 +33 -31
  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 +2652 -790
  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/UiBanner.d.ts +1 -1
  161. package/dist/src/components/UiLoadingDots.d.ts +1 -1
  162. package/dist/src/components/UiMenu.d.ts +1 -1
  163. package/dist/src/components/UiModal.d.ts +1 -1
  164. package/dist/src/components/collection-editor/CollectionItemList.d.ts +42 -0
  165. package/dist/src/components/collection-editor/OrganizationsEditor.d.ts +29 -0
  166. package/dist/src/components/collection-editor/RelatedNamesEditor.d.ts +26 -0
  167. package/dist/src/components/collection-editor/SocialLinksEditor.d.ts +26 -0
  168. package/dist/src/components/collection-editor/index.d.ts +5 -0
  169. package/dist/src/components/forms/FormFieldWrapper.d.ts +1 -1
  170. package/dist/src/components/index.d.ts +2 -0
  171. package/dist/src/components/inputs/AddressInput.d.ts +40 -0
  172. package/dist/src/components/inputs/ComboboxInput.d.ts +2 -2
  173. package/dist/src/components/inputs/DatepickerInput.d.ts +19 -19
  174. package/dist/src/components/inputs/EmailInput.d.ts +2 -2
  175. package/dist/src/components/inputs/PhoneInput.d.ts +2 -2
  176. package/dist/src/components/inputs/RichTextInput.d.ts +2 -2
  177. package/dist/src/components/inputs/SelectInput.d.ts +2 -2
  178. package/dist/src/components/inputs/SelectTextInput.d.ts +4 -4
  179. package/dist/src/components/inputs/TagifyInput.d.ts +2 -2
  180. package/dist/src/components/inputs/TextInput.d.ts +3 -3
  181. package/dist/src/components/inputs/index.d.ts +1 -0
  182. package/dist/src/components/layouts/CardLayout.d.ts +1 -1
  183. package/dist/src/components/maps/UiInfoWindow.d.ts +2 -2
  184. package/dist/src/components/maps/UiMap.d.ts +2 -2
  185. package/dist/src/components/maps/UiMapAll.d.ts +10 -10
  186. package/dist/src/components/maps/UiMapMarker.d.ts +2 -2
  187. package/dist/src/components/modals/BaseModal.d.ts +1 -1
  188. package/dist/src/components/profiles/BentoProfileLayout.d.ts +9 -0
  189. package/dist/src/components/profiles/ProfileCard.d.ts +30 -0
  190. package/dist/src/components/profiles/ProfileContactCard.d.ts +12 -0
  191. package/dist/src/components/profiles/ProfileHeaderCard.d.ts +20 -0
  192. package/dist/src/components/profiles/ProfileLocationCard.d.ts +17 -0
  193. package/dist/src/components/profiles/ProfileOrganizationsCard.d.ts +11 -0
  194. package/dist/src/components/profiles/ProfilePersonalCard.d.ts +10 -0
  195. package/dist/src/components/profiles/ProfileProfessionalCard.d.ts +11 -0
  196. package/dist/src/components/profiles/ProfileRelatedNamesCard.d.ts +11 -0
  197. package/dist/src/components/profiles/index.d.ts +9 -0
  198. package/dist/src/composables/index.d.ts +1 -0
  199. package/dist/src/composables/useCollectionEditor.d.ts +64 -0
  200. package/dist/src/composables/useNotifications.d.ts +4 -4
  201. package/dist/src/plugin/configure.d.ts +3 -1
  202. package/dist/src/services/geocoding.service.d.ts +68 -0
  203. package/dist/src/services/index.d.ts +1 -0
  204. package/dist/src/types/address.d.ts +164 -0
  205. package/dist/src/types/collection-editor.d.ts +134 -0
  206. package/dist/src/types/index.d.ts +3 -0
  207. package/dist/src/types/profiles.d.ts +149 -0
  208. package/dist/src/views/inputs/index.d.ts +1 -0
  209. package/dist/stepper/StepperPanels.js +1 -2
  210. package/dist/stepper/index.js +1 -2
  211. package/dist/style.css +1 -1
  212. package/dist/tabs/InlineTabs.js +1 -2
  213. package/dist/tabs/TabGroup.js +1 -2
  214. package/dist/tabs/TabGroupUnderline.js +1 -2
  215. package/dist/tabs/TabsInPills.js +1 -2
  216. package/dist/tabs/index.js +4 -5
  217. package/dist/ui.css +1 -1
  218. package/dist/useCollectionEditor-BYyoAT0U.js +121 -0
  219. package/dist/useEventSegments-B-r_8zCW.js +0 -1
  220. package/dist/useMap-BGg0H582.js +297 -0
  221. package/dist/useSimpleTabs-CSgkChEU.js +0 -1
  222. package/dist/useStringTransform-CSr7nZWg.js +0 -1
  223. package/dist/wrappers/BackgroundGradientWrapper.js +0 -1
  224. package/dist/wrappers/CardWrapper.js +0 -1
  225. package/dist/wrappers/DisclosureWrapper.js +1 -2
  226. package/dist/wrappers/FormErrorWrapper.js +1 -2
  227. package/dist/wrappers/index.js +2 -3
  228. package/package.json +9 -1
  229. package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-CFS3lVF-.js +0 -128
  230. package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-CFS3lVF-.js.map +0 -1
  231. package/dist/AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js.map +0 -1
  232. package/dist/BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js.map +0 -1
  233. package/dist/BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js.map +0 -1
  234. package/dist/Bars3Icon-BdOqcGcY.js +0 -22
  235. package/dist/Bars3Icon-BdOqcGcY.js.map +0 -1
  236. package/dist/BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js.map +0 -1
  237. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js.map +0 -1
  238. package/dist/CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js.map +0 -1
  239. package/dist/CheckIcon-BGlsmVwT.js +0 -20
  240. package/dist/CheckIcon-BGlsmVwT.js.map +0 -1
  241. package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js.map +0 -1
  242. package/dist/ChevronRightIcon-DkUqw988.js +0 -20
  243. package/dist/ChevronRightIcon-DkUqw988.js.map +0 -1
  244. package/dist/ChevronUpDownIcon-Bq_fsgrb.js +0 -20
  245. package/dist/ChevronUpDownIcon-Bq_fsgrb.js.map +0 -1
  246. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js +0 -1362
  247. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js.map +0 -1
  248. package/dist/ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js.map +0 -1
  249. package/dist/DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js.map +0 -1
  250. package/dist/DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js.map +0 -1
  251. package/dist/DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js.map +0 -1
  252. package/dist/DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js.map +0 -1
  253. package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js +0 -138
  254. package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js.map +0 -1
  255. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js.map +0 -1
  256. package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js.map +0 -1
  257. package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js.map +0 -1
  258. package/dist/EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js.map +0 -1
  259. package/dist/EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js.map +0 -1
  260. package/dist/EventCard.vue_vue_type_script_setup_true_lang-j1mtKShZ.js +0 -136
  261. package/dist/EventCard.vue_vue_type_script_setup_true_lang-j1mtKShZ.js.map +0 -1
  262. package/dist/EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js +0 -102
  263. package/dist/EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js.map +0 -1
  264. package/dist/ExclamationCircleIcon-DjxYk45_.js +0 -22
  265. package/dist/ExclamationCircleIcon-DjxYk45_.js.map +0 -1
  266. package/dist/ExclamationCircleIcon-DmL8Wwjo.js +0 -36
  267. package/dist/ExclamationCircleIcon-DmL8Wwjo.js.map +0 -1
  268. package/dist/ExclamationTriangleIcon-BNKYmV_J.js +0 -22
  269. package/dist/ExclamationTriangleIcon-BNKYmV_J.js.map +0 -1
  270. package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-CclXceTb.js +0 -211
  271. package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-CclXceTb.js.map +0 -1
  272. package/dist/FormErrorWrapper.vue_vue_type_script_setup_true_lang-BQOlG_ab.js.map +0 -1
  273. package/dist/FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js.map +0 -1
  274. package/dist/HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js.map +0 -1
  275. package/dist/HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js.map +0 -1
  276. package/dist/InformationCircleIcon-B322GNIt.js +0 -40
  277. package/dist/InformationCircleIcon-B322GNIt.js.map +0 -1
  278. package/dist/InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js.map +0 -1
  279. package/dist/LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js.map +0 -1
  280. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js.map +0 -1
  281. package/dist/MapPinIcon-CSTDUZnD.js +0 -27
  282. package/dist/MapPinIcon-CSTDUZnD.js.map +0 -1
  283. package/dist/MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js.map +0 -1
  284. package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js.map +0 -1
  285. package/dist/NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js.map +0 -1
  286. package/dist/NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js.map +0 -1
  287. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-CU__ORw8.js.map +0 -1
  288. package/dist/PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js.map +0 -1
  289. package/dist/PlusIcon-aDFVlB90.js +0 -40
  290. package/dist/PlusIcon-aDFVlB90.js.map +0 -1
  291. package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js.map +0 -1
  292. package/dist/ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js.map +0 -1
  293. package/dist/SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js.map +0 -1
  294. package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js.map +0 -1
  295. package/dist/SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js.map +0 -1
  296. package/dist/SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js.map +0 -1
  297. package/dist/StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js +0 -111
  298. package/dist/StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js.map +0 -1
  299. package/dist/StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js.map +0 -1
  300. package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js +0 -280
  301. package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js.map +0 -1
  302. package/dist/SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js.map +0 -1
  303. package/dist/TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js.map +0 -1
  304. package/dist/TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js.map +0 -1
  305. package/dist/TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js.map +0 -1
  306. package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js.map +0 -1
  307. package/dist/TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js.map +0 -1
  308. package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js.map +0 -1
  309. package/dist/UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js.map +0 -1
  310. package/dist/UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js.map +0 -1
  311. package/dist/UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js.map +0 -1
  312. package/dist/UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js.map +0 -1
  313. package/dist/UiMapAll.vue_vue_type_script_setup_true_lang-CMAyvJMk.js.map +0 -1
  314. package/dist/UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js +0 -330
  315. package/dist/UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js.map +0 -1
  316. package/dist/UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js.map +0 -1
  317. package/dist/UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js.map +0 -1
  318. package/dist/UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js.map +0 -1
  319. package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js.map +0 -1
  320. package/dist/UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js.map +0 -1
  321. package/dist/XMarkIcon-Cwy3T6p8.js +0 -22
  322. package/dist/XMarkIcon-Cwy3T6p8.js.map +0 -1
  323. package/dist/XMarkIcon-DNvCkiOy.js +0 -16
  324. package/dist/XMarkIcon-DNvCkiOy.js.map +0 -1
  325. package/dist/YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js.map +0 -1
  326. package/dist/_plugin-vue_export-helper-CHgC5LLL.js.map +0 -1
  327. package/dist/active-element-history-BTBNVIJN.js +0 -17
  328. package/dist/active-element-history-BTBNVIJN.js.map +0 -1
  329. package/dist/calculate-active-index-Dim3sT-5.js +0 -55
  330. package/dist/calculate-active-index-Dim3sT-5.js.map +0 -1
  331. package/dist/calendar-BlSSD4nO.js +0 -575
  332. package/dist/calendar-BlSSD4nO.js.map +0 -1
  333. package/dist/calendars/CalendarDashboard.js.map +0 -1
  334. package/dist/calendars/CalendarHeader.js.map +0 -1
  335. package/dist/calendars/DayCalendar.js.map +0 -1
  336. package/dist/calendars/EventCard.js.map +0 -1
  337. package/dist/calendars/EventsList.js.map +0 -1
  338. package/dist/calendars/MonthCalendar.js.map +0 -1
  339. package/dist/calendars/WeekCalendar.js.map +0 -1
  340. package/dist/calendars/YearCalendar.js.map +0 -1
  341. package/dist/charts/BarChart.js.map +0 -1
  342. package/dist/charts/BaseChart.js.map +0 -1
  343. package/dist/charts/FunnelChart.js.map +0 -1
  344. package/dist/charts/LineChart.js.map +0 -1
  345. package/dist/charts/PieChart.js.map +0 -1
  346. package/dist/charts/SparklineChart.js.map +0 -1
  347. package/dist/charts/StatCard.js.map +0 -1
  348. package/dist/charts/chartTheme.js.map +0 -1
  349. package/dist/charts/index.js.map +0 -1
  350. package/dist/components/Avatar.js.map +0 -1
  351. package/dist/components/Badge.js.map +0 -1
  352. package/dist/components/Banner.js.map +0 -1
  353. package/dist/components/Breadcrumb.js.map +0 -1
  354. package/dist/components/Button.js.map +0 -1
  355. package/dist/components/ButtonGroup.js.map +0 -1
  356. package/dist/components/Checkbox.js.map +0 -1
  357. package/dist/components/CloudinaryImage.js.map +0 -1
  358. package/dist/components/Loading.js.map +0 -1
  359. package/dist/components/LoadingDots.js.map +0 -1
  360. package/dist/components/LottieAnimation.js.map +0 -1
  361. package/dist/components/Menu.js.map +0 -1
  362. package/dist/components/Modal.js.map +0 -1
  363. package/dist/components/NavLink.js.map +0 -1
  364. package/dist/components/ProgressBar.js.map +0 -1
  365. package/dist/components/RadialProgressBar.js.map +0 -1
  366. package/dist/components/Table.js.map +0 -1
  367. package/dist/components/Transition.js.map +0 -1
  368. package/dist/composables/index.js.map +0 -1
  369. package/dist/composables/useCalendar.js.map +0 -1
  370. package/dist/composables/useFormValidation.js.map +0 -1
  371. package/dist/composables/useMap.js.map +0 -1
  372. package/dist/composables/useModal.js.map +0 -1
  373. package/dist/composables/useNotifications.js.map +0 -1
  374. package/dist/composables/useTabs.js.map +0 -1
  375. package/dist/composables/useTheme.js.map +0 -1
  376. package/dist/description-C7cRw0tq.js +0 -30
  377. package/dist/description-C7cRw0tq.js.map +0 -1
  378. package/dist/dialog-BJ2Ld8l3.js +0 -499
  379. package/dist/dialog-BJ2Ld8l3.js.map +0 -1
  380. package/dist/empty-state/ComingSoon.js.map +0 -1
  381. package/dist/empty-state/EmptyState.js.map +0 -1
  382. package/dist/empty-state/index.js.map +0 -1
  383. package/dist/env-BZfPsfnF.js +0 -29
  384. package/dist/env-BZfPsfnF.js.map +0 -1
  385. package/dist/form-f8yP4kN-.js +0 -35
  386. package/dist/form-f8yP4kN-.js.map +0 -1
  387. package/dist/forms/DynamicForm.js.map +0 -1
  388. package/dist/forms/DynamicFormField.js.map +0 -1
  389. package/dist/forms/FormFieldWrapper.js.map +0 -1
  390. package/dist/hidden-BSRluD1y.js +0 -15
  391. package/dist/hidden-BSRluD1y.js.map +0 -1
  392. package/dist/id-DafBB_QF.js.map +0 -1
  393. package/dist/index-Dca39bYA.js +0 -2167
  394. package/dist/index-Dca39bYA.js.map +0 -1
  395. package/dist/index.js.map +0 -1
  396. package/dist/inputs/AddDeleteButtonGroup.js.map +0 -1
  397. package/dist/inputs/CheckboxInput.js.map +0 -1
  398. package/dist/inputs/ComboboxInput.js.map +0 -1
  399. package/dist/inputs/DatepickerInput.js.map +0 -1
  400. package/dist/inputs/EmailInput.js.map +0 -1
  401. package/dist/inputs/EmptyInput.js.map +0 -1
  402. package/dist/inputs/FileDropzoneInput.js.map +0 -1
  403. package/dist/inputs/HiddenInput.js.map +0 -1
  404. package/dist/inputs/PhoneInput.js.map +0 -1
  405. package/dist/inputs/RichTextInput.js.map +0 -1
  406. package/dist/inputs/SelectInput.js.map +0 -1
  407. package/dist/inputs/SelectTextInput.js.map +0 -1
  408. package/dist/inputs/SwitchInput.js.map +0 -1
  409. package/dist/inputs/SwitchInputGroup.js.map +0 -1
  410. package/dist/inputs/TagifyInput.js.map +0 -1
  411. package/dist/inputs/TextAreaInput.js.map +0 -1
  412. package/dist/inputs/TextInput.js.map +0 -1
  413. package/dist/keyboard-Dd_2-cFu.js +0 -5
  414. package/dist/keyboard-Dd_2-cFu.js.map +0 -1
  415. package/dist/layouts/DashboardLayout.js.map +0 -1
  416. package/dist/layouts/DefaultLayout.js.map +0 -1
  417. package/dist/layouts/HeaderLayout.js.map +0 -1
  418. package/dist/layouts/NavigationGroup.js.map +0 -1
  419. package/dist/layouts/NavigationItem.js.map +0 -1
  420. package/dist/layouts/ProfileHeaderAvatar.js.map +0 -1
  421. package/dist/layouts/ProjectLogo.js.map +0 -1
  422. package/dist/layouts/SidebarLayout.js.map +0 -1
  423. package/dist/listbox-YaWWZiiG.js +0 -257
  424. package/dist/listbox-YaWWZiiG.js.map +0 -1
  425. package/dist/loading/ContentSkeleton.js.map +0 -1
  426. package/dist/loading/SmartLoadingIndicator.js.map +0 -1
  427. package/dist/loading/index.js.map +0 -1
  428. package/dist/mapThemes-DFE9fZm3.js.map +0 -1
  429. package/dist/maps/GoogleMap.js.map +0 -1
  430. package/dist/maps/UiInfoWindow.js.map +0 -1
  431. package/dist/maps/UiMap.js.map +0 -1
  432. package/dist/maps/UiMapAll.js.map +0 -1
  433. package/dist/maps/UiMapMarker.js.map +0 -1
  434. package/dist/maps/index.js.map +0 -1
  435. package/dist/micro-task-D-oTY33s.js +0 -9
  436. package/dist/micro-task-D-oTY33s.js.map +0 -1
  437. package/dist/modals/AlertModal.js.map +0 -1
  438. package/dist/modals/BaseModal.js.map +0 -1
  439. package/dist/modals/ImageCropperModal.js.map +0 -1
  440. package/dist/notifications/NotificationContainer.js.map +0 -1
  441. package/dist/notifications/NotificationToast.js.map +0 -1
  442. package/dist/notifications/index.js.map +0 -1
  443. package/dist/open-closed-JTEvYTg2.js +0 -19
  444. package/dist/open-closed-JTEvYTg2.js.map +0 -1
  445. package/dist/render-QUUPyNjX.js +0 -101
  446. package/dist/render-QUUPyNjX.js.map +0 -1
  447. package/dist/stepper/StepperPanels.js.map +0 -1
  448. package/dist/stepper/index.js.map +0 -1
  449. package/dist/tabs/InlineTabs.js.map +0 -1
  450. package/dist/tabs/TabGroup.js.map +0 -1
  451. package/dist/tabs/TabGroupUnderline.js.map +0 -1
  452. package/dist/tabs/TabsInPills.js.map +0 -1
  453. package/dist/tabs/index.js.map +0 -1
  454. package/dist/tabs-J5phClGv.js +0 -202
  455. package/dist/tabs-J5phClGv.js.map +0 -1
  456. package/dist/transition-_rPfnoET.js +0 -191
  457. package/dist/transition-_rPfnoET.js.map +0 -1
  458. package/dist/use-outside-click-14T0Zn98.js +0 -151
  459. package/dist/use-outside-click-14T0Zn98.js.map +0 -1
  460. package/dist/use-resolve-button-type-h6n-lm9q.js +0 -20
  461. package/dist/use-resolve-button-type-h6n-lm9q.js.map +0 -1
  462. package/dist/use-text-value-DKnkjK00.js +0 -44
  463. package/dist/use-text-value-DKnkjK00.js.map +0 -1
  464. package/dist/use-tree-walker-Bo9gIb_K.js +0 -16
  465. package/dist/use-tree-walker-Bo9gIb_K.js.map +0 -1
  466. package/dist/useEventSegments-B-r_8zCW.js.map +0 -1
  467. package/dist/useMap-BaZEIoWM.js +0 -525
  468. package/dist/useMap-BaZEIoWM.js.map +0 -1
  469. package/dist/useSimpleTabs-CSgkChEU.js.map +0 -1
  470. package/dist/useStringTransform-CSr7nZWg.js.map +0 -1
  471. package/dist/vue-datepicker-CEn0-fJj.js +0 -4871
  472. package/dist/vue-datepicker-CEn0-fJj.js.map +0 -1
  473. package/dist/vue-router-B3K2xmg_.js +0 -120
  474. package/dist/vue-router-B3K2xmg_.js.map +0 -1
  475. package/dist/vue3-lottie.es-DT4qZE-F.js +0 -7981
  476. package/dist/vue3-lottie.es-DT4qZE-F.js.map +0 -1
  477. package/dist/wrappers/BackgroundGradientWrapper.js.map +0 -1
  478. package/dist/wrappers/CardWrapper.js.map +0 -1
  479. package/dist/wrappers/DisclosureWrapper.js.map +0 -1
  480. package/dist/wrappers/FormErrorWrapper.js.map +0 -1
  481. package/dist/wrappers/index.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,127 +1,139 @@
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 Xe } from "./id-DafBB_QF.js";
2
+ import { a as kr, s as wr } from "./id-DafBB_QF.js";
3
+ import { defineAsyncComponent as qe, defineComponent as F, ref as K, watch as de, createBlock as D, openBlock as i, unref as _, withCtx as T, createVNode as C, createElementVNode as s, normalizeStyle as O, createTextVNode as j, withDirectives as me, vModelText as ve, createElementBlock as m, Fragment as G, renderList as Y, normalizeClass as E, toDisplayString as w, computed as b, createCommentVNode as k, withKeys as ke, withModifiers as Te, renderSlot as M, resolveDynamicComponent as ge, h as ne, inject as Le, onMounted as Je, reactive as Me, useSlots as Pe, Transition as we, vShow as Ze } from "vue";
4
+ import R from "./inputs/TextInput.js";
5
+ import { useCalendar as $r } from "./composables/useCalendar.js";
6
+ import { u as Qe, v as ye } from "./useCollectionEditor-BYyoAT0U.js";
7
+ import { C as Ir } from "./useCollectionEditor-BYyoAT0U.js";
8
+ import { c as zr, u as Tr } from "./useEventSegments-B-r_8zCW.js";
9
+ import { useFormValidation as Mr } from "./composables/useFormValidation.js";
10
+ import { U as Er, W as Ar, d as Dr, i as Fr, u as Nr } from "./useMap-BGg0H582.js";
11
+ import { useModal as Vr } from "./composables/useModal.js";
12
+ import { useNotifications as jr } from "./composables/useNotifications.js";
13
+ import { g as Rr, u as Hr } from "./useSimpleTabs-CSgkChEU.js";
14
+ import { f as Kr, i as Wr, s as Yr, a as Xr, t as qr, c as Jr, b as Zr, u as Qr } from "./useStringTransform-CSr7nZWg.js";
15
+ import { useTabs as tn } from "./composables/useTabs.js";
16
+ import { useTheme as Ee, presetThemes as et } from "./composables/useTheme.js";
17
+ import { _ as ln } from "./LottieAnimation.vue_vue_type_script_setup_true_lang-C0R4ADBb.js";
18
+ import { _ as tt } from "./UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js";
19
+ import { _ as ue } from "./UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js";
20
+ import { _ as on } from "./UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js";
21
+ import { _ as nn } from "./UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js";
22
+ import { _ as st } from "./UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js";
23
+ import { _ as cn } from "./UiMenu.vue_vue_type_script_setup_true_lang-gnoIJm6x.js";
24
+ import { _ as mn } from "./UiModal.vue_vue_type_script_setup_true_lang-BZC7aN7K.js";
25
+ import { _ as pn } from "./UiNavLink.vue_vue_type_script_setup_true_lang-C5Gicm8o.js";
26
+ import { _ as yn } from "./UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js";
27
+ import { _ as xn } from "./UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js";
28
+ import { _ as vn } from "./UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js";
29
+ import { _ as wn } from "./CalendarHeader.vue_vue_type_script_setup_true_lang-hGa2MLyo.js";
30
+ import { _ as $n } from "./DayCalendar.vue_vue_type_script_setup_true_lang-D-4jcUvI.js";
31
+ import { _ as In } from "./EventCard.vue_vue_type_script_setup_true_lang-B3TP-mWX.js";
32
+ import { _ as zn } from "./EventsList.vue_vue_type_script_setup_true_lang-BTIoGr_e.js";
33
+ import { _ as Ln } from "./MonthCalendar.vue_vue_type_style_index_0_lang-lnKkvJ9u.js";
34
+ import { _ as Pn } from "./YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js";
35
+ import { _ as An } from "./BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js";
36
+ import { _ as Fn } from "./FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js";
37
+ import { _ as Un } from "./LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js";
38
+ import { _ as Bn } from "./PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js";
39
+ import { _ as On } from "./SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js";
40
+ import { _ as Hn } from "./StatCard.vue_vue_type_script_setup_true_lang-B5SuaSXL.js";
41
+ import { format as q, differenceInYears as ce, differenceInMonths as Ae, isValid as J, parseISO as re } from "date-fns";
42
+ import { _ as lt } from "./AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-6taLcPq0.js";
43
+ import { _ as at } from "./DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js";
44
+ import { _ as ot } from "./AlertModal.vue_vue_type_script_setup_true_lang-DzhVQdx4.js";
45
+ import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
46
+ import { _ as Kn } from "./ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js";
47
+ import { _ as Yn } from "./EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js";
48
+ import { _ as qn } from "./DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js";
49
+ import { _ as rt } from "./CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js";
50
+ import { _ as nt } from "./ComboboxInput.vue_vue_type_script_setup_true_lang-BigvbBAU.js";
51
+ import { _ as Zn } from "./DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js";
52
+ import { _ as ei } from "./EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js";
53
+ import { _ as si } from "./EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js";
54
+ import { _ as ai } from "./FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js";
55
+ import { _ as ri } from "./HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js";
56
+ import { _ as it } from "./TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js";
57
+ import { _ as dt } from "./SwitchInput.vue_vue_type_script_setup_true_lang-D5Es9AjF.js";
58
+ import { _ as Ce } from "./SelectInput.vue_vue_type_script_setup_true_lang-D4GNv0MY.js";
59
+ import { _ as ii } from "./SelectTextInput.vue_vue_type_script_setup_true_lang-BVaViHPl.js";
60
+ import { _ as ci } from "./SwitchInputGroup.vue_vue_type_script_setup_true_lang-DigNYqVZ.js";
61
+ import { _ as mi } from "./TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js";
62
+ import { _ as pi } from "./DashboardLayout.vue_vue_type_script_setup_true_lang-BAx4gKqh.js";
63
+ import { _ as yi } from "./DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js";
64
+ import { _ as xi } from "./HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js";
65
+ import { _ as vi } from "./NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js";
66
+ import { _ as wi } from "./NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js";
67
+ import { _ as $i } from "./ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js";
68
+ import { _ as Ii } from "./ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js";
69
+ import { _ as zi } from "./SidebarLayout.vue_vue_type_script_setup_true_lang-CZ21EVcZ.js";
70
+ import { _ as Li } from "./UiMapAll.vue_vue_type_script_setup_true_lang-11yT7mTH.js";
71
+ import { _ as Pi } from "./BaseModal.vue_vue_type_script_setup_true_lang--iGzFCnC.js";
72
+ import { _ as Ai } from "./NotificationContainer.vue_vue_type_style_index_0_lang-CvJRwezr.js";
73
+ import { _ as Fi } from "./NotificationToast.vue_vue_type_script_setup_true_lang-BBWpW4km.js";
74
+ import { SwatchIcon as ct, XMarkIcon as ut, ClockIcon as $e, ExclamationCircleIcon as mt, CheckCircleIcon as ft, PhoneIcon as _e, EnvelopeIcon as pt, GlobeAltIcon as gt, CakeIcon as De, CalendarDaysIcon as yt, BriefcaseIcon as ht, BuildingOfficeIcon as xt, MapPinIcon as Ie, BuildingLibraryIcon as bt, UserGroupIcon as vt } from "@heroicons/vue/24/outline";
75
+ import { _ as Ui } from "./StepperPanels.vue_vue_type_script_setup_true_lang-DPLQ9mQn.js";
76
+ import { _ as Bi } from "./InlineTabs.vue_vue_type_script_setup_true_lang-B5w4yzcZ.js";
77
+ import { _ as Oi } from "./TabGroup.vue_vue_type_script_setup_true_lang-BsbiEA4E.js";
78
+ import { _ as Hi } from "./TabGroupUnderline.vue_vue_type_script_setup_true_lang-CPcp1-Za.js";
79
+ import { _ as Ki } from "./TabsInPills.vue_vue_type_script_setup_true_lang-U5CdRL7s.js";
80
+ import { _ as Yi } from "./BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js";
81
+ import { _ as qi } from "./CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js";
82
+ import { _ as Zi } from "./DisclosureWrapper.vue_vue_type_script_setup_true_lang-CgHPOC-w.js";
83
+ import { _ as ed } from "./FormErrorWrapper.vue_vue_type_script_setup_true_lang-D7ZAgfPs.js";
84
+ import { default as sd } from "./components/CloudinaryImage.js";
85
+ import { TransitionRoot as fe, Dialog as kt, TransitionChild as Se, DialogPanel as wt, DialogTitle as Ct, Combobox as $t, ComboboxInput as _t, ComboboxButton as It, ComboboxOptions as St, ComboboxOption as zt } from "@headlessui/vue";
86
+ import oe from "./components/Button.js";
87
+ import { default as ad } from "./components/Banner.js";
88
+ import { default as rd } from "./components/Breadcrumb.js";
89
+ import { default as id } from "./components/LoadingDots.js";
90
+ import { default as cd } from "./calendars/CalendarDashboard.js";
91
+ import { default as md } from "./calendars/WeekCalendar.js";
92
+ import { default as pd } from "./charts/BaseChart.js";
93
+ import { areaChartConfig as yd, barChartConfig as hd, baseTheme as xd, chartColors as bd, chartTypography as vd, formatDuration as kd, formatNumber as wd, formatPercentage as Cd, funnelChartConfig as $d, getAreaGradient as _d, hexToRgb as Id, lineChartConfig as Sd, pieChartConfig as zd, stachelockColors as Td, toRgba as Ld } from "./charts/chartTheme.js";
94
+ import Tt from "./forms/FormFieldWrapper.js";
95
+ import { LockClosedIcon as Lt, MagnifyingGlassIcon as Mt, CheckIcon as Pt, ChevronDownIcon as Et, ChevronUpIcon as At } from "@heroicons/vue/20/solid";
96
+ import { useField as Dt } from "vee-validate";
97
+ import { debounce as ze } from "lodash-es";
98
+ import { Loader as Ft } from "@googlemaps/js-api-loader";
99
+ import { default as Pd } from "./inputs/PhoneInput.js";
100
+ import { default as Ad } from "./inputs/RichTextInput.js";
101
+ import { default as Fd } from "./loading/ContentSkeleton.js";
102
+ import { default as Ud } from "./loading/SmartLoadingIndicator.js";
103
+ import { default as Bd } from "./maps/GoogleMap.js";
104
+ import { default as Od } from "./maps/UiInfoWindow.js";
105
+ import { default as Hd } from "./maps/UiMap.js";
106
+ import { default as Kd } from "./maps/UiMapMarker.js";
107
+ import { default as Yd } from "./modals/ImageCropperModal.js";
108
+ import { XMarkIcon as Nt, XCircleIcon as Ut } from "@heroicons/vue/24/solid";
109
+ var Vt = /* @__PURE__ */ ((e) => (e.Verified = "verified", e.Error = "error", e.Unverified = "unverified", e.Pending = "pending", e))(Vt || {});
110
+ function er(e) {
111
+ return ["street", "city", "state", "zipcode", "country"].includes(e);
112
+ }
113
+ const Bt = {
102
114
  text: {
103
115
  component: "TextInput",
104
- loader: () => Promise.resolve(V)
116
+ loader: () => Promise.resolve(R)
105
117
  },
106
118
  email: {
107
119
  component: "TextInput",
108
- loader: () => Promise.resolve(V)
120
+ loader: () => Promise.resolve(R)
109
121
  },
110
122
  password: {
111
123
  component: "TextInput",
112
- loader: () => Promise.resolve(V)
124
+ loader: () => Promise.resolve(R)
113
125
  },
114
126
  number: {
115
127
  component: "TextInput",
116
- loader: () => Promise.resolve(V)
128
+ loader: () => Promise.resolve(R)
117
129
  },
118
130
  tel: {
119
131
  component: "TextInput",
120
- loader: () => Promise.resolve(V)
132
+ loader: () => Promise.resolve(R)
121
133
  },
122
134
  url: {
123
135
  component: "TextInput",
124
- loader: () => Promise.resolve(V)
136
+ loader: () => Promise.resolve(R)
125
137
  },
126
138
  textarea: {
127
139
  component: "TextAreaInput",
@@ -144,35 +156,35 @@ const me = {
144
156
  loader: () => import("./inputs/SwitchInput.js")
145
157
  }
146
158
  };
147
- class pe {
148
- componentMap = { ...me };
159
+ class jt {
160
+ componentMap = { ...Bt };
149
161
  loadedComponents = /* @__PURE__ */ new Map();
150
162
  /**
151
163
  * Register a new component type
152
164
  */
153
- register(e, o, l) {
154
- this.componentMap[e] = { component: o, loader: l }, this.loadedComponents.delete(e);
165
+ register(t, a, l) {
166
+ this.componentMap[t] = { component: a, loader: l }, this.loadedComponents.delete(t);
155
167
  }
156
168
  /**
157
169
  * Get a component for a field type
158
170
  */
159
- getComponent(e) {
160
- const o = this.componentMap[e];
161
- if (!o)
162
- return console.warn(`Component type "${e}" is not registered`), null;
163
- if (this.loadedComponents.has(e))
164
- return this.loadedComponents.get(e);
165
- const l = K({
166
- loader: o.loader,
171
+ getComponent(t) {
172
+ const a = this.componentMap[t];
173
+ if (!a)
174
+ return console.warn(`Component type "${t}" is not registered`), null;
175
+ if (this.loadedComponents.has(t))
176
+ return this.loadedComponents.get(t);
177
+ const l = qe({
178
+ loader: a.loader,
167
179
  delay: 0
168
180
  });
169
- return this.loadedComponents.set(e, l), l;
181
+ return this.loadedComponents.set(t, l), l;
170
182
  }
171
183
  /**
172
184
  * Check if a component type is registered
173
185
  */
174
- hasComponent(e) {
175
- return e in this.componentMap;
186
+ hasComponent(t) {
187
+ return t in this.componentMap;
176
188
  }
177
189
  /**
178
190
  * Get all registered component types
@@ -183,8 +195,8 @@ class pe {
183
195
  /**
184
196
  * Unregister a component type
185
197
  */
186
- unregister(e) {
187
- delete this.componentMap[e], this.loadedComponents.delete(e);
198
+ unregister(t) {
199
+ delete this.componentMap[t], this.loadedComponents.delete(t);
188
200
  }
189
201
  /**
190
202
  * Clear all cached components
@@ -193,14 +205,14 @@ class pe {
193
205
  this.loadedComponents.clear();
194
206
  }
195
207
  }
196
- const q = new pe();
197
- function mt(t, e, o) {
198
- q.register(t, e, o);
208
+ const Fe = new jt();
209
+ function tr(e, t, a) {
210
+ Fe.register(e, t, a);
199
211
  }
200
- function pt(t) {
201
- return q.getComponent(t);
212
+ function sr(e) {
213
+ return Fe.getComponent(e);
202
214
  }
203
- const Z = {
215
+ const Ne = {
204
216
  colors: {
205
217
  primary: {
206
218
  50: "#edeff9",
@@ -303,169 +315,152 @@ const Z = {
303
315
  "2xl": "1536px"
304
316
  }
305
317
  };
306
- function ge(t, e = Z) {
307
- 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;
318
+ function Ot(e, t = Ne) {
319
+ const a = { ...t };
320
+ function l(d, u) {
321
+ if (u && typeof u == "object" && !Array.isArray(u)) {
322
+ for (const n in u)
323
+ if (Object.prototype.hasOwnProperty.call(u, n)) {
324
+ const o = d[n], g = u[n];
325
+ o && typeof o == "object" && !Array.isArray(o) && g && typeof g == "object" && !Array.isArray(g) ? d[n] = l(o, g) : d[n] = g;
314
326
  }
315
327
  }
316
- return r;
328
+ return d;
317
329
  }
318
- return l(o, t);
330
+ return l(a, e);
319
331
  }
320
- function xe(t) {
321
- let e = `:root {
332
+ function Rt(e) {
333
+ let t = `:root {
322
334
  `;
323
- return t.colors && Object.entries(t.colors).forEach(([o, l]) => {
324
- typeof l == "object" && l !== null && Object.entries(l).forEach(([r, f]) => {
325
- const a = r === "DEFAULT" ? o : `${o}-${r}`;
326
- e += ` --sl-color-${a}: ${f};
335
+ return e.colors && Object.entries(e.colors).forEach(([a, l]) => {
336
+ typeof l == "object" && l !== null && Object.entries(l).forEach(([d, u]) => {
337
+ const n = d === "DEFAULT" ? a : `${a}-${d}`;
338
+ t += ` --sl-color-${n}: ${u};
327
339
  `;
328
- const u = he(f);
329
- u && (e += ` --sl-color-${a}-rgb: ${u};
340
+ const o = Ht(u);
341
+ o && (t += ` --sl-color-${n}-rgb: ${o};
330
342
  `);
331
343
  });
332
- }), t.spacing && Object.entries(t.spacing).forEach(([o, l]) => {
333
- e += ` --sl-spacing-${o}: ${l};
344
+ }), e.spacing && Object.entries(e.spacing).forEach(([a, l]) => {
345
+ t += ` --sl-spacing-${a}: ${l};
334
346
  `;
335
- }), t.borderRadius && Object.entries(t.borderRadius).forEach(([o, l]) => {
336
- const r = o === "DEFAULT" ? "radius" : `radius-${o}`;
337
- e += ` --sl-${r}: ${l};
347
+ }), e.borderRadius && Object.entries(e.borderRadius).forEach(([a, l]) => {
348
+ const d = a === "DEFAULT" ? "radius" : `radius-${a}`;
349
+ t += ` --sl-${d}: ${l};
338
350
  `;
339
- }), t.shadows && Object.entries(t.shadows).forEach(([o, l]) => {
340
- const r = o === "DEFAULT" ? "shadow" : `shadow-${o}`;
341
- e += ` --sl-${r}: ${l};
351
+ }), e.shadows && Object.entries(e.shadows).forEach(([a, l]) => {
352
+ const d = a === "DEFAULT" ? "shadow" : `shadow-${a}`;
353
+ t += ` --sl-${d}: ${l};
342
354
  `;
343
- }), t.typography && (t.typography.fontFamily && Object.entries(t.typography.fontFamily).forEach(([o, l]) => {
344
- e += ` --sl-font-family-${o}: ${l.join(", ")};
355
+ }), e.typography && (e.typography.fontFamily && Object.entries(e.typography.fontFamily).forEach(([a, l]) => {
356
+ t += ` --sl-font-family-${a}: ${l.join(", ")};
345
357
  `;
346
- }), t.typography.fontSize && Object.entries(t.typography.fontSize).forEach(([o, l]) => {
347
- e += ` --sl-font-size-${o}: ${l};
358
+ }), e.typography.fontSize && Object.entries(e.typography.fontSize).forEach(([a, l]) => {
359
+ t += ` --sl-font-size-${a}: ${l};
348
360
  `;
349
- })), t.breakpoints && Object.entries(t.breakpoints).forEach(([o, l]) => {
350
- e += ` --sl-breakpoint-${o}: ${l};
361
+ })), e.breakpoints && Object.entries(e.breakpoints).forEach(([a, l]) => {
362
+ t += ` --sl-breakpoint-${a}: ${l};
351
363
  `;
352
- }), e += ` --sl-ring-color: var(--sl-color-stachelock-600, #3e4b9a);
353
- `, e += ` --sl-ring-offset-color: #ffffff;
354
- `, e += ` --sl-ring-width: 2px;
355
- `, e += ` --sl-outline-color: var(--sl-color-stachelock-600, #3e4b9a);
356
- `, e += ` --sl-outline-width: 2px;
357
- `, e += `}
364
+ }), t += ` --sl-ring-color: var(--sl-color-stachelock-600, #3e4b9a);
365
+ `, t += ` --sl-ring-offset-color: #ffffff;
366
+ `, t += ` --sl-ring-width: 2px;
367
+ `, t += ` --sl-outline-color: var(--sl-color-stachelock-600, #3e4b9a);
368
+ `, t += ` --sl-outline-width: 2px;
369
+ `, t += `}
358
370
 
359
- `, e += `@media (prefers-color-scheme: dark) {
360
- `, e += ` :root {
361
- `, e += ` --sl-ring-color: var(--sl-color-stachelock-600, #3e4b9a);
362
- `, e += ` }
363
- `, e += `}
364
- `, e;
371
+ `, t += `@media (prefers-color-scheme: dark) {
372
+ `, t += ` :root {
373
+ `, t += ` --sl-ring-color: var(--sl-color-stachelock-600, #3e4b9a);
374
+ `, t += ` }
375
+ `, t += `}
376
+ `, t;
365
377
  }
366
- function gt(t) {
367
- let e = `export default {
378
+ function lr(e) {
379
+ let t = `export default {
368
380
  `;
369
- return e += ` prefix: "sl-",
370
- `, e += ` theme: {
371
- `, e += ` extend: {
372
- `, t.colors && (e += ` colors: {
373
- `, Object.entries(t.colors).forEach(([o, l]) => {
374
- typeof l == "object" && l !== null && (e += ` "${o}": {
375
- `, Object.entries(l).forEach(([r, f]) => {
376
- e += ` "${r === "DEFAULT" ? "DEFAULT" : r}": "${f}",
381
+ return t += ` prefix: "sl-",
382
+ `, t += ` theme: {
383
+ `, t += ` extend: {
384
+ `, e.colors && (t += ` colors: {
385
+ `, Object.entries(e.colors).forEach(([a, l]) => {
386
+ typeof l == "object" && l !== null && (t += ` "${a}": {
387
+ `, Object.entries(l).forEach(([d, u]) => {
388
+ t += ` "${d === "DEFAULT" ? "DEFAULT" : d}": "${u}",
377
389
  `;
378
- }), e += ` },
390
+ }), t += ` },
379
391
  `);
380
- }), e += ` },
381
- `), t.spacing && (e += ` spacing: {
382
- `, Object.entries(t.spacing).forEach(([o, l]) => {
383
- e += ` "${o}": "${l}",
392
+ }), t += ` },
393
+ `), e.spacing && (t += ` spacing: {
394
+ `, Object.entries(e.spacing).forEach(([a, l]) => {
395
+ t += ` "${a}": "${l}",
384
396
  `;
385
- }), e += ` },
386
- `), t.borderRadius && (e += ` borderRadius: {
387
- `, Object.entries(t.borderRadius).forEach(([o, l]) => {
388
- e += ` "${o === "DEFAULT" ? "DEFAULT" : o}": "${l}",
397
+ }), t += ` },
398
+ `), e.borderRadius && (t += ` borderRadius: {
399
+ `, Object.entries(e.borderRadius).forEach(([a, l]) => {
400
+ t += ` "${a === "DEFAULT" ? "DEFAULT" : a}": "${l}",
389
401
  `;
390
- }), e += ` },
391
- `), t.shadows && (e += ` boxShadow: {
392
- `, Object.entries(t.shadows).forEach(([o, l]) => {
393
- e += ` "${o === "DEFAULT" ? "DEFAULT" : o}": "${l}",
402
+ }), t += ` },
403
+ `), e.shadows && (t += ` boxShadow: {
404
+ `, Object.entries(e.shadows).forEach(([a, l]) => {
405
+ t += ` "${a === "DEFAULT" ? "DEFAULT" : a}": "${l}",
394
406
  `;
395
- }), e += ` },
396
- `), t.typography && (t.typography.fontFamily && (e += ` fontFamily: {
397
- `, Object.entries(t.typography.fontFamily).forEach(([o, l]) => {
398
- e += ` "${o}": [${l.map((r) => `"${r}"`).join(", ")}],
407
+ }), t += ` },
408
+ `), e.typography && (e.typography.fontFamily && (t += ` fontFamily: {
409
+ `, Object.entries(e.typography.fontFamily).forEach(([a, l]) => {
410
+ t += ` "${a}": [${l.map((d) => `"${d}"`).join(", ")}],
399
411
  `;
400
- }), e += ` },
401
- `), t.typography.fontSize && (e += ` fontSize: {
402
- `, Object.entries(t.typography.fontSize).forEach(([o, l]) => {
403
- e += ` "${o}": "${l}",
412
+ }), t += ` },
413
+ `), e.typography.fontSize && (t += ` fontSize: {
414
+ `, Object.entries(e.typography.fontSize).forEach(([a, l]) => {
415
+ t += ` "${a}": "${l}",
404
416
  `;
405
- }), e += ` },
406
- `)), e += ` },
407
- `, e += ` },
408
- `, e += `};
409
- `, e;
410
- }
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;
415
- const o = parseInt(e.slice(0, 2), 16), l = parseInt(e.slice(2, 4), 16), r = parseInt(e.slice(4, 6), 16);
416
- return Number.isNaN(o) || Number.isNaN(l) || Number.isNaN(r) ? null : `${o} ${l} ${r}`;
417
+ }), t += ` },
418
+ `)), t += ` },
419
+ `, t += ` },
420
+ `, t += `};
421
+ `, t;
417
422
  }
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
- ]);
423
+ function Ht(e) {
424
+ if (typeof e != "string") return null;
425
+ let t = e.trim();
426
+ if (!t.startsWith("#") || (t = t.slice(1), t.length === 3 && (t = t.split("").map((u) => u + u).join("")), t.length !== 6)) return null;
427
+ const a = parseInt(t.slice(0, 2), 16), l = parseInt(t.slice(2, 4), 16), d = parseInt(t.slice(4, 6), 16);
428
+ return Number.isNaN(a) || Number.isNaN(l) || Number.isNaN(d) ? null : `${a} ${l} ${d}`;
434
429
  }
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({
430
+ const Gt = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto" }, Kt = { class: "sl-flex sl-min-h-full sl-items-center sl-justify-center sl-p-4" }, Wt = { class: "sl-bg-gradient-to-r sl-from-gray-900 sl-to-gray-800 sl-px-6 sl-py-4" }, Yt = { class: "sl-flex sl-items-center sl-justify-between" }, Xt = { class: "sl-flex sl-items-center sl-gap-3" }, qt = { class: "sl-p-6 sl-space-y-6" }, Jt = { class: "sl-flex sl-items-center sl-gap-4" }, Zt = { class: "sl-relative" }, Qt = { class: "sl-flex-1" }, es = { class: "sl-grid sl-grid-cols-2 sl-gap-2" }, ts = ["onClick"], ss = { class: "sl-min-w-0" }, ls = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-white sl-truncate" }, as = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-truncate" }, os = { 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" }, rs = { class: "sl-flex sl-flex-wrap sl-gap-2" }, ns = { class: "sl-flex sl-flex-wrap sl-gap-2" }, is = { class: "sl-flex sl-items-center sl-gap-4" }, ds = { class: "sl-flex sl-items-center sl-gap-3" }, cs = { 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" }, ms = { class: "sl-flex sl-items-center sl-justify-between" }, fs = { class: "sl-flex sl-gap-3" }, ps = /* @__PURE__ */ F({
436
431
  __name: "ThemeDebugModal",
437
432
  props: {
438
433
  modelValue: { type: Boolean }
439
434
  },
440
435
  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;
436
+ setup(e, { emit: t }) {
437
+ const a = t, { currentPrimaryColor: l, applyTheme: d, resetTheme: u } = Ee(), n = K(l.value);
438
+ de(l, (h) => {
439
+ n.value = h;
445
440
  });
446
- const u = () => {
447
- r(a.value);
448
- }, C = (I) => {
449
- a.value = I, r(I);
450
- }, w = () => {
451
- f(), a.value = "#3e4b9a";
452
- }, $ = () => {
453
- o("update:modelValue", !1);
454
- }, L = () => {
455
- r(a.value), o("update:modelValue", !1);
441
+ const o = () => {
442
+ d(n.value);
443
+ }, g = (h) => {
444
+ n.value = h, d(h);
445
+ }, y = () => {
446
+ u(), n.value = "#3e4b9a";
447
+ }, v = () => {
448
+ a("update:modelValue", !1);
449
+ }, z = () => {
450
+ d(n.value), a("update:modelValue", !1);
456
451
  };
457
- return (I, c) => (i(), W(_(ie), {
452
+ return (h, r) => (i(), D(_(fe), {
458
453
  as: "template",
459
- show: t.modelValue
454
+ show: e.modelValue
460
455
  }, {
461
- default: b(() => [
462
- m(_(de), {
456
+ default: T(() => [
457
+ C(_(kt), {
463
458
  as: "div",
464
459
  class: "sl-relative sl-z-[100]",
465
- onClose: $
460
+ onClose: v
466
461
  }, {
467
- default: b(() => [
468
- m(_(R), {
462
+ default: T(() => [
463
+ C(_(Se), {
469
464
  as: "template",
470
465
  enter: "ease-out duration-300",
471
466
  "enter-from": "opacity-0",
@@ -474,14 +469,14 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
474
469
  "leave-from": "opacity-100",
475
470
  "leave-to": "opacity-0"
476
471
  }, {
477
- default: b(() => [...c[2] || (c[2] = [
472
+ default: T(() => [...r[2] || (r[2] = [
478
473
  s("div", { class: "sl-fixed sl-inset-0 sl-bg-gray-900/60 sl-backdrop-blur-sm sl-transition-opacity" }, null, -1)
479
474
  ])]),
480
475
  _: 1
481
476
  }),
482
- s("div", be, [
483
- s("div", ve, [
484
- m(_(R), {
477
+ s("div", Gt, [
478
+ s("div", Kt, [
479
+ C(_(Se), {
485
480
  as: "template",
486
481
  enter: "ease-out duration-300",
487
482
  "enter-from": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
@@ -490,188 +485,188 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
490
485
  "leave-from": "opacity-100 translate-y-0 sm:scale-100",
491
486
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
492
487
  }, {
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, [
488
+ default: T(() => [
489
+ C(_(wt), { 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" }, {
490
+ default: T(() => [
491
+ s("div", Wt, [
492
+ s("div", Yt, [
493
+ s("div", Xt, [
499
494
  s("div", {
500
495
  class: "sl-flex sl-h-10 sl-w-10 sl-items-center sl-justify-center sl-rounded-lg",
501
- style: k({ backgroundColor: a.value })
496
+ style: O({ backgroundColor: n.value })
502
497
  }, [
503
- m(_(ye), { class: "sl-h-5 sl-w-5 sl-text-white" })
498
+ C(_(ct), { class: "sl-h-5 sl-w-5 sl-text-white" })
504
499
  ], 4),
505
500
  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)
501
+ C(_(Ct), { class: "sl-text-lg sl-font-semibold sl-text-white" }, {
502
+ default: T(() => [...r[3] || (r[3] = [
503
+ j(" Theme Customizer ", -1)
509
504
  ])]),
510
505
  _: 1
511
506
  }),
512
- c[4] || (c[4] = s("p", { class: "sl-text-xs sl-text-gray-400" }, "Preview how components adapt to different colors", -1))
507
+ r[4] || (r[4] = s("p", { class: "sl-text-xs sl-text-gray-400" }, "Preview how components adapt to different colors", -1))
513
508
  ])
514
509
  ]),
515
510
  s("button", {
516
- onClick: $,
511
+ onClick: v,
517
512
  class: "sl-rounded-lg sl-p-2 sl-text-gray-400 hover:sl-bg-gray-700 hover:sl-text-white sl-transition-colors"
518
513
  }, [
519
- m(_(fe), { class: "sl-h-5 sl-w-5" })
514
+ C(_(ut), { class: "sl-h-5 sl-w-5" })
520
515
  ])
521
516
  ])
522
517
  ]),
523
- s("div", $e, [
518
+ s("div", qt, [
524
519
  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", {
520
+ r[5] || (r[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)),
521
+ s("div", Jt, [
522
+ s("div", Zt, [
523
+ me(s("input", {
529
524
  type: "color",
530
- "onUpdate:modelValue": c[0] || (c[0] = (h) => a.value = h),
531
- onInput: u,
525
+ "onUpdate:modelValue": r[0] || (r[0] = (c) => n.value = c),
526
+ onInput: o,
532
527
  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
528
  }, null, 544), [
534
- [N, a.value]
529
+ [ve, n.value]
535
530
  ])
536
531
  ]),
537
- s("div", Te, [
538
- D(s("input", {
532
+ s("div", Qt, [
533
+ me(s("input", {
539
534
  type: "text",
540
- "onUpdate:modelValue": c[1] || (c[1] = (h) => a.value = h),
541
- onInput: u,
535
+ "onUpdate:modelValue": r[1] || (r[1] = (c) => n.value = c),
536
+ onInput: o,
542
537
  placeholder: "#3e4b9a",
543
538
  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
539
  }, null, 544), [
545
- [N, a.value]
540
+ [ve, n.value]
546
541
  ])
547
542
  ])
548
543
  ])
549
544
  ]),
550
545
  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 } : {})
546
+ r[6] || (r[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)),
547
+ s("div", es, [
548
+ (i(!0), m(G, null, Y(_(et), (c) => (i(), m("button", {
549
+ key: c.name,
550
+ onClick: (p) => g(c.color),
551
+ class: E(["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": n.value.toLowerCase() === c.color.toLowerCase() }]),
552
+ style: O(n.value.toLowerCase() === c.color.toLowerCase() ? { "--tw-ring-color": c.color } : {})
558
553
  }, [
559
554
  s("div", {
560
555
  class: "sl-h-8 sl-w-8 sl-rounded-lg sl-shadow-sm sl-flex-shrink-0",
561
- style: k({ backgroundColor: h.color })
556
+ style: O({ backgroundColor: c.color })
562
557
  }, null, 4),
563
- s("div", Ve, [
564
- s("p", je, x(h.name), 1),
565
- s("p", Ae, x(h.description), 1)
558
+ s("div", ss, [
559
+ s("p", ls, w(c.name), 1),
560
+ s("p", as, w(c.description), 1)
566
561
  ])
567
- ], 14, Me))), 128))
562
+ ], 14, ts))), 128))
568
563
  ])
569
564
  ]),
570
565
  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, {
566
+ r[15] || (r[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)),
567
+ s("div", os, [
568
+ s("div", rs, [
569
+ C(oe, {
575
570
  theme: "primary",
576
571
  size: "sm"
577
572
  }, {
578
- default: b(() => [...c[7] || (c[7] = [
579
- S("Primary", -1)
573
+ default: T(() => [...r[7] || (r[7] = [
574
+ j("Primary", -1)
580
575
  ])]),
581
576
  _: 1
582
577
  }),
583
- m(A, {
578
+ C(oe, {
584
579
  theme: "primary",
585
580
  size: "sm",
586
581
  outlined: ""
587
582
  }, {
588
- default: b(() => [...c[8] || (c[8] = [
589
- S("Outlined", -1)
583
+ default: T(() => [...r[8] || (r[8] = [
584
+ j("Outlined", -1)
590
585
  ])]),
591
586
  _: 1
592
587
  }),
593
- m(A, {
588
+ C(oe, {
594
589
  theme: "secondary",
595
590
  size: "sm"
596
591
  }, {
597
- default: b(() => [...c[9] || (c[9] = [
598
- S("Secondary", -1)
592
+ default: T(() => [...r[9] || (r[9] = [
593
+ j("Secondary", -1)
599
594
  ])]),
600
595
  _: 1
601
596
  })
602
597
  ]),
603
- s("div", Ee, [
604
- m(F, { theme: "primary" }, {
605
- default: b(() => [...c[10] || (c[10] = [
606
- S("Primary Badge", -1)
598
+ s("div", ns, [
599
+ C(ue, { theme: "primary" }, {
600
+ default: T(() => [...r[10] || (r[10] = [
601
+ j("Primary Badge", -1)
607
602
  ])]),
608
603
  _: 1
609
604
  }),
610
- m(F, { theme: "success" }, {
611
- default: b(() => [...c[11] || (c[11] = [
612
- S("Success", -1)
605
+ C(ue, { theme: "success" }, {
606
+ default: T(() => [...r[11] || (r[11] = [
607
+ j("Success", -1)
613
608
  ])]),
614
609
  _: 1
615
610
  }),
616
- m(F, { theme: "warning" }, {
617
- default: b(() => [...c[12] || (c[12] = [
618
- S("Warning", -1)
611
+ C(ue, { theme: "warning" }, {
612
+ default: T(() => [...r[12] || (r[12] = [
613
+ j("Warning", -1)
619
614
  ])]),
620
615
  _: 1
621
616
  })
622
617
  ]),
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))
618
+ s("div", is, [
619
+ C(st, { size: "sm" }),
620
+ r[13] || (r[13] = s("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Loading indicator", -1))
626
621
  ]),
627
- s("div", De, [
628
- m(te, {
622
+ s("div", ds, [
623
+ C(tt, {
629
624
  name: "Theme Test",
630
625
  size: "md"
631
626
  }),
632
- c[14] || (c[14] = s("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Avatar with initials", -1))
627
+ r[14] || (r[14] = s("span", { class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400" }, "Avatar with initials", -1))
633
628
  ])
634
629
  ])
635
630
  ]),
636
631
  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,
632
+ r[16] || (r[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)),
633
+ s("div", cs, [
634
+ (i(), m(G, null, Y([50, 100, 200, 300, 400, 500, 600, 700, 800, 900], (c) => s("div", {
635
+ key: c,
641
636
  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))` })
637
+ style: O({ backgroundColor: `rgb(var(--sl-color-primary-${c}-rgb, 128 128 128))` })
643
638
  }, [
644
639
  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)
640
+ class: E(["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", c < 500 ? "sl-text-gray-700" : "sl-text-white"])
641
+ }, w(c), 3)
647
642
  ], 4)), 64))
648
643
  ])
649
644
  ])
650
645
  ]),
651
- s("div", Pe, [
652
- s("div", Ne, [
646
+ s("div", us, [
647
+ s("div", ms, [
653
648
  s("button", {
654
- onClick: w,
649
+ onClick: y,
655
650
  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
651
  }, " Reset to Default "),
657
- s("div", Ue, [
658
- m(A, {
652
+ s("div", fs, [
653
+ C(oe, {
659
654
  theme: "secondary",
660
655
  size: "sm",
661
- onButtonClick: $
656
+ onButtonClick: v
662
657
  }, {
663
- default: b(() => [...c[17] || (c[17] = [
664
- S(" Close ", -1)
658
+ default: T(() => [...r[17] || (r[17] = [
659
+ j(" Close ", -1)
665
660
  ])]),
666
661
  _: 1
667
662
  }),
668
- m(A, {
663
+ C(oe, {
669
664
  theme: "primary",
670
665
  size: "sm",
671
- onButtonClick: L
666
+ onButtonClick: z
672
667
  }, {
673
- default: b(() => [...c[18] || (c[18] = [
674
- S(" Apply Theme ", -1)
668
+ default: T(() => [...r[18] || (r[18] = [
669
+ j(" Apply Theme ", -1)
675
670
  ])]),
676
671
  _: 1
677
672
  })
@@ -693,13 +688,13 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
693
688
  _: 1
694
689
  }, 8, ["show"]));
695
690
  }
696
- }), xt = /* @__PURE__ */ J(Oe, [["__scopeId", "data-v-c9b3cc37"]]), Re = {
691
+ }), ar = /* @__PURE__ */ Z(ps, [["__scopeId", "data-v-c9b3cc37"]]), gs = {
697
692
  viewBox: "0 0 36 36",
698
693
  class: "sl-transform -sl-rotate-90 sl-w-full sl-h-full"
699
- }, He = ["stroke-width"], Ge = ["stroke", "stroke-dasharray", "stroke-width"], We = {
694
+ }, ys = ["stroke-width"], hs = ["stroke", "stroke-dasharray", "stroke-width"], xs = {
700
695
  key: 0,
701
696
  class: "sl-absolute sl-inset-0 sl-flex sl-items-center sl-justify-center"
702
- }, ht = /* @__PURE__ */ T({
697
+ }, or = /* @__PURE__ */ F({
703
698
  __name: "UiRadialProgressBar",
704
699
  props: {
705
700
  value: { default: 0 },
@@ -709,11 +704,11 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
709
704
  color: { default: "primary" },
710
705
  trackWidth: { default: 3.8 }
711
706
  },
712
- setup(t) {
713
- const e = t, o = y(() => Math.min(100, Math.max(0, e.value))), l = y(() => ({
714
- width: `${e.size}px`,
715
- height: `${e.size}px`
716
- })), r = y(() => ({
707
+ setup(e) {
708
+ const t = e, a = b(() => Math.min(100, Math.max(0, t.value))), l = b(() => ({
709
+ width: `${t.size}px`,
710
+ height: `${t.size}px`
711
+ })), d = b(() => ({
717
712
  primary: "var(--sl-color-primary-600, #3e4b9a)",
718
713
  success: "#22c55e",
719
714
  // green-500
@@ -721,37 +716,1303 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
721
716
  // yellow-500
722
717
  danger: "#ef4444"
723
718
  // 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", {
719
+ })[t.color]), u = b(() => t.size < 48 ? "sl-text-xs sl-font-medium sl-text-slate-700 dark:sl-text-slate-300" : t.size < 80 ? "sl-text-sm sl-font-semibold sl-text-slate-700 dark:sl-text-slate-300" : t.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");
720
+ return (n, o) => (i(), m("div", {
726
721
  class: "sl-relative sl-inline-flex",
727
- style: k(l.value)
722
+ style: O(l.value)
728
723
  }, [
729
- (i(), d("svg", Re, [
724
+ (i(), m("svg", gs, [
730
725
  s("path", {
731
726
  class: "sl-fill-none sl-stroke-gray-200 dark:sl-stroke-slate-600",
732
- "stroke-width": t.trackWidth,
727
+ "stroke-width": e.trackWidth,
733
728
  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),
729
+ }, null, 8, ys),
735
730
  s("path", {
736
731
  class: "sl-fill-none sl-transition-all sl-duration-500 sl-ease-out",
737
- stroke: r.value,
732
+ stroke: d.value,
738
733
  "stroke-linecap": "round",
739
- "stroke-dasharray": `${o.value}, 100`,
740
- "stroke-width": t.trackWidth,
734
+ "stroke-dasharray": `${a.value}, 100`,
735
+ "stroke-width": e.trackWidth,
741
736
  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)
737
+ }, null, 8, hs)
743
738
  ])),
744
- t.showLabel || t.label ? (i(), d("div", We, [
739
+ e.showLabel || e.label ? (i(), m("div", xs, [
745
740
  s("span", {
746
- class: v(f.value)
747
- }, x(t.label || `${o.value}%`), 3)
748
- ])) : g("", !0)
741
+ class: E(u.value)
742
+ }, w(e.label || `${a.value}%`), 3)
743
+ ])) : k("", !0)
749
744
  ], 4));
750
745
  }
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({
746
+ }), bs = { class: "sl-w-full" }, vs = { class: "sl-border-b sl-border-gray-200 dark:sl-border-gray-700 sl-py-5 sl-flex sl-justify-between" }, ks = { class: "sl-text-base sl-font-semibold sl-leading-6 sl-text-gray-800 dark:sl-text-gray-200" }, ws = {
747
+ key: 0,
748
+ class: "sl-text-xs sl-leading-6 sl-text-gray-500 dark:sl-text-gray-400"
749
+ }, Cs = {
750
+ key: 0,
751
+ role: "list",
752
+ class: "sl-divide-y sl-divide-gray-100 dark:sl-divide-gray-700"
753
+ }, $s = {
754
+ key: 0,
755
+ class: "sl-text-sm sl-font-semibold sl-leading-6 sl-text-gray-800 dark:sl-text-gray-200"
756
+ }, _s = ["tabindex", "onClick", "onKeydown"], Is = { class: "sl-col-span-12 sm:sl-col-span-7" }, Ss = { class: "sl-py-1 sl-text-sm sl-leading-5 sl-text-gray-700 dark:sl-text-gray-300" }, zs = { class: "sl-col-span-12 sm:sl-col-span-5 sl-flex sl-justify-end sl-items-center" }, Ts = {
757
+ key: 0,
758
+ class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400"
759
+ }, Ls = {
760
+ key: 1,
761
+ class: "sl-relative sl-cursor-default sl-select-none sl-px-4 sl-py-8 sl-text-gray-500 dark:sl-text-gray-400 sl-text-sm sl-text-center"
762
+ }, Ms = /* @__PURE__ */ F({
763
+ __name: "CollectionItemList",
764
+ props: {
765
+ items: { default: () => [] },
766
+ selected: {},
767
+ canEdit: { type: Boolean, default: !1 },
768
+ groupBy: {},
769
+ title: { default: "Items" },
770
+ emptyMessage: { default: "No items found." },
771
+ primaryField: { default: "name" },
772
+ secondaryField: {},
773
+ displayFields: {}
774
+ },
775
+ emits: ["select"],
776
+ setup(e, { emit: t }) {
777
+ const a = e, l = t, d = b(() => a.items && a.items.length > 0), u = b(() => {
778
+ if (!a.items) return {};
779
+ if (!a.groupBy)
780
+ return { "": a.items };
781
+ const h = {};
782
+ return a.items.forEach((r) => {
783
+ const c = n(r, a.groupBy), p = o(c);
784
+ h[p] || (h[p] = []), h[p].push(r);
785
+ }), h;
786
+ }), n = (h, r) => r.split(".").reduce((c, p) => {
787
+ if (c && typeof c == "object")
788
+ return c[p];
789
+ }, h), o = (h) => h == null ? "Other" : typeof h == "object" && h !== null && "name" in h ? h.name : String(h), g = (h) => {
790
+ if (a.primaryField) {
791
+ const r = n(h, a.primaryField);
792
+ return typeof r == "object" && r !== null && "name" in r ? r.name : r ? String(r) : "";
793
+ }
794
+ return h.id;
795
+ }, y = (h) => {
796
+ if (!a.secondaryField) return "";
797
+ const r = n(h, a.secondaryField);
798
+ return typeof r == "object" && r !== null && "name" in r ? r.name : r ? String(r) : "";
799
+ }, v = (h) => a.selected ? h.id === a.selected.id : !1, z = (h) => {
800
+ a.canEdit && l("select", h);
801
+ };
802
+ return (h, r) => (i(), m("div", bs, [
803
+ s("div", vs, [
804
+ s("h3", ks, w(e.title), 1),
805
+ e.canEdit ? (i(), m("p", ws, " Select an item to edit ")) : k("", !0)
806
+ ]),
807
+ d.value ? (i(), m("ul", Cs, [
808
+ (i(!0), m(G, null, Y(u.value, (c, p) => (i(), m("li", {
809
+ key: String(p),
810
+ class: "sl-gap-x-6 sl-py-5 sl-items-center sl-space-y-3"
811
+ }, [
812
+ e.groupBy ? (i(), m("p", $s, w(o(p)), 1)) : k("", !0),
813
+ (i(!0), m(G, null, Y(c, ($, f) => (i(), m("div", {
814
+ key: $.id || f,
815
+ class: E([
816
+ "sl-grid sl-grid-cols-12 sl-gap-x-4 sl-p-2 sl-rounded-md sl-transition-all",
817
+ e.canEdit && "hover:sl-ring-1 hover:sl-ring-primary-500 hover:sl-ring-offset-2 sl-cursor-pointer",
818
+ v($) && "sl-ring-1 sl-ring-primary-600 sl-ring-offset-2 sl-bg-white dark:sl-bg-gray-800"
819
+ ]),
820
+ role: "button",
821
+ tabindex: e.canEdit ? 0 : -1,
822
+ onClick: (x) => z($),
823
+ onKeydown: [
824
+ ke((x) => z($), ["enter"]),
825
+ ke(Te((x) => z($), ["prevent"]), ["space"])
826
+ ]
827
+ }, [
828
+ s("div", Is, [
829
+ M(h.$slots, "item-content", { item: $ }, () => [
830
+ s("p", Ss, w(g($)), 1)
831
+ ])
832
+ ]),
833
+ s("div", zs, [
834
+ M(h.$slots, "item-secondary", { item: $ }, () => [
835
+ y($) ? (i(), m("span", Ts, w(y($)), 1)) : k("", !0)
836
+ ])
837
+ ])
838
+ ], 42, _s))), 128))
839
+ ]))), 128))
840
+ ])) : (i(), m("div", Ls, [
841
+ M(h.$slots, "empty", {}, () => [
842
+ j(w(e.emptyMessage), 1)
843
+ ])
844
+ ]))
845
+ ]));
846
+ }
847
+ }), Ps = { class: "sl-collection-editor sl-flex sl-flex-row sl-flex-wrap sl--mx-3" }, Es = { class: "sl-w-full sm:sl-w-1/2 sl-px-3 sl-flex sl-flex-col" }, As = { class: "sl-mb-4 sl-flex sl-justify-between sl-items-center" }, Ds = { class: "sl-flex sl-gap-2" }, Fs = {
848
+ key: 0,
849
+ class: "sl-text-xs sl-uppercase sl-text-gray-500 dark:sl-text-gray-400 sl-truncate sl-text-right sl-font-semibold"
850
+ }, Ns = { class: "sl-border-t sl-border-gray-200 dark:sl-border-gray-700 sl-pt-4" }, Us = { class: "sl-w-full sm:sl-w-1/2 sl-px-3" }, Vs = /* @__PURE__ */ F({
851
+ __name: "CollectionEditor",
852
+ props: {
853
+ name: {},
854
+ modelValue: { default: () => [] },
855
+ schema: {},
856
+ emptyFormValues: {},
857
+ label: {},
858
+ title: { default: "Items" },
859
+ groupBy: {},
860
+ primaryField: {},
861
+ secondaryField: {},
862
+ emptyMessage: { default: 'No items found. Click "Add" to create one.' },
863
+ deleteConfirmTitle: { default: "Delete Item" },
864
+ deleteConfirmMessage: { default: "Are you sure you want to delete this item? This action cannot be undone." },
865
+ explodeItem: { type: Function, default: (e) => e },
866
+ implodeItem: { type: Function, default: (e) => e }
867
+ },
868
+ emits: ["update:modelValue", "item-added", "item-updated", "item-deleted", "item-selected", "update:form", "update:validity"],
869
+ setup(e, { expose: t, emit: a }) {
870
+ const l = e, d = a, u = (N, ...A) => {
871
+ d(N, ...A);
872
+ }, {
873
+ items: n,
874
+ activeItem: o,
875
+ formValues: g,
876
+ formRef: y,
877
+ buttonAttributes: v,
878
+ showDeleteConfirm: z,
879
+ selectItem: h,
880
+ handleButtonClick: r,
881
+ handleFormSubmit: c,
882
+ handleFormUpdate: p,
883
+ confirmDelete: $,
884
+ cancelDelete: f
885
+ } = Qe(
886
+ {
887
+ initialItems: l.modelValue,
888
+ emptyFormValues: l.emptyFormValues,
889
+ explodeItem: l.explodeItem,
890
+ implodeItem: l.implodeItem
891
+ },
892
+ u
893
+ );
894
+ de(
895
+ () => l.modelValue,
896
+ (N) => {
897
+ N && JSON.stringify(N) !== JSON.stringify(n.value) && (n.value = N.map((A) => l.explodeItem(A)));
898
+ },
899
+ { deep: !0 }
900
+ );
901
+ const x = b(() => n.value), P = (N) => {
902
+ r(N);
903
+ }, B = (N) => {
904
+ c(N);
905
+ }, H = (N) => {
906
+ p(N), d("update:form", N);
907
+ }, ae = () => {
908
+ $();
909
+ };
910
+ return t({
911
+ getItems: () => n.value.map((N) => l.implodeItem(N)),
912
+ resetForm: () => {
913
+ g.value = { ...l.emptyFormValues }, o.value = null;
914
+ }
915
+ }), (N, A) => (i(), m("div", Ps, [
916
+ s("div", Es, [
917
+ s("div", As, [
918
+ s("span", Ds, [
919
+ C(lt, {
920
+ onButtonClicked: P,
921
+ "button-attributes": _(v)
922
+ }, null, 8, ["button-attributes"])
923
+ ]),
924
+ e.label ? (i(), m("span", Fs, w(e.label), 1)) : k("", !0)
925
+ ]),
926
+ s("div", Ns, [
927
+ (i(), D(at, {
928
+ ref_key: "formRef",
929
+ ref: y,
930
+ schema: e.schema,
931
+ "form-values": _(g),
932
+ "form-name": e.name,
933
+ "box-shadow": !1,
934
+ key: _(g).id,
935
+ onSubmitForm: B,
936
+ "onUpdate:form": H
937
+ }, null, 8, ["schema", "form-values", "form-name"]))
938
+ ])
939
+ ]),
940
+ s("div", Us, [
941
+ M(N.$slots, "list", {
942
+ items: x.value,
943
+ selected: _(o),
944
+ onSelect: _(h)
945
+ }, () => [
946
+ C(Ms, {
947
+ items: x.value,
948
+ selected: _(o),
949
+ "can-edit": !0,
950
+ title: e.title,
951
+ "group-by": e.groupBy,
952
+ "primary-field": e.primaryField,
953
+ "secondary-field": e.secondaryField,
954
+ "empty-message": e.emptyMessage,
955
+ onSelect: _(h)
956
+ }, {
957
+ "item-content": T(({ item: U }) => [
958
+ M(N.$slots, "item-content", { item: U }, void 0, !0)
959
+ ]),
960
+ "item-secondary": T(({ item: U }) => [
961
+ M(N.$slots, "item-secondary", { item: U }, void 0, !0)
962
+ ]),
963
+ empty: T(() => [
964
+ M(N.$slots, "empty", {}, void 0, !0)
965
+ ]),
966
+ _: 3
967
+ }, 8, ["items", "selected", "title", "group-by", "primary-field", "secondary-field", "empty-message", "onSelect"])
968
+ ], !0)
969
+ ]),
970
+ _(z) ? (i(), D(ot, {
971
+ key: 0,
972
+ title: e.deleteConfirmTitle,
973
+ description: e.deleteConfirmMessage,
974
+ action: "Delete",
975
+ onActionClicked: ae,
976
+ onClose: _(f)
977
+ }, null, 8, ["title", "description", "onClose"])) : k("", !0)
978
+ ]));
979
+ }
980
+ }), he = /* @__PURE__ */ Z(Vs, [["__scopeId", "data-v-64df06ec"]]), Bs = { class: "sl-py-1 sl-text-sm sl-leading-5 sl-text-gray-600 dark:sl-text-gray-300" }, js = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400" }, rr = /* @__PURE__ */ F({
981
+ __name: "OrganizationsEditor",
982
+ props: {
983
+ name: {},
984
+ modelValue: { default: () => [] },
985
+ organizations: { default: () => [] },
986
+ positions: { default: () => [] },
987
+ label: {}
988
+ },
989
+ emits: ["update:modelValue", "item-added", "item-updated", "item-deleted"],
990
+ setup(e, { emit: t }) {
991
+ const a = e, l = t, d = {
992
+ id: ye(),
993
+ organization: null,
994
+ position: null,
995
+ position_prefix: "",
996
+ position_suffix: "",
997
+ start_date: null,
998
+ end_date: null,
999
+ status: "new"
1000
+ }, u = b(() => ({
1001
+ fields: [
1002
+ {
1003
+ name: "organization",
1004
+ label: "Organization",
1005
+ as: "ComboboxInput",
1006
+ type: "autocomplete",
1007
+ items: a.organizations,
1008
+ itemKey: "id",
1009
+ itemText: "name",
1010
+ hideLabel: !0,
1011
+ innerLabel: "Organization",
1012
+ tertiaryLabel: "Required"
1013
+ },
1014
+ {
1015
+ name: "position_prefix",
1016
+ label: "Prefix",
1017
+ as: "TextInput",
1018
+ type: "text",
1019
+ hideLabel: !0,
1020
+ innerLabel: "Prefix",
1021
+ placeholder: "e.g., Vice"
1022
+ },
1023
+ {
1024
+ name: "position",
1025
+ label: "Position",
1026
+ as: "ComboboxInput",
1027
+ type: "autocomplete",
1028
+ items: a.positions,
1029
+ itemKey: "id",
1030
+ itemText: "name",
1031
+ hideLabel: !0,
1032
+ innerLabel: "Position",
1033
+ tertiaryLabel: "Required"
1034
+ },
1035
+ {
1036
+ name: "position_suffix",
1037
+ label: "Suffix",
1038
+ as: "TextInput",
1039
+ type: "text",
1040
+ hideLabel: !0,
1041
+ innerLabel: "Suffix",
1042
+ placeholder: "e.g., Emeritus"
1043
+ },
1044
+ {
1045
+ name: "start_date",
1046
+ label: "Start Date",
1047
+ as: "DatepickerInput",
1048
+ type: "datepicker",
1049
+ monthPicker: !0,
1050
+ hideLabel: !0,
1051
+ innerLabel: "Start Date"
1052
+ },
1053
+ {
1054
+ name: "end_date",
1055
+ label: "End Date",
1056
+ as: "DatepickerInput",
1057
+ type: "datepicker",
1058
+ monthPicker: !0,
1059
+ hideLabel: !0,
1060
+ innerLabel: "End Date"
1061
+ }
1062
+ ]
1063
+ })), n = (r, c) => c ? r.find((p) => p.name === c) || { id: c, name: c } : null, o = (r) => {
1064
+ const c = typeof r.organization == "object" && r.organization?.name ? r.organization.name : r.organization, p = typeof r.position == "object" && r.position?.name ? r.position.name : r.position;
1065
+ return {
1066
+ ...r,
1067
+ organization: n(a.organizations, c) || r.organization,
1068
+ position: n(a.positions, p) || r.position
1069
+ };
1070
+ }, g = (r) => ({
1071
+ ...r,
1072
+ organization: typeof r.organization == "object" && r.organization?.name ? r.organization.name : r.organization,
1073
+ position: typeof r.position == "object" && r.position?.name ? r.position.name : r.position
1074
+ }), y = (r) => {
1075
+ const c = [];
1076
+ if (r.position_prefix && c.push(r.position_prefix), r.position) {
1077
+ const p = typeof r.position == "object" && r.position?.name ? r.position.name : r.position;
1078
+ p && c.push(p);
1079
+ }
1080
+ return r.position_suffix && c.push(r.position_suffix), c.join(" ") || "No position";
1081
+ }, v = (r) => {
1082
+ if (!r) return null;
1083
+ if (r instanceof Date) return J(r) ? r : null;
1084
+ if (typeof r == "string") {
1085
+ const c = re(r);
1086
+ return J(c) ? c : null;
1087
+ }
1088
+ return null;
1089
+ }, z = (r, c) => {
1090
+ const p = v(r), $ = v(c), f = [];
1091
+ if (p && f.push(q(p, "MMM yyyy")), f.push("–"), $ ? f.push(q($, "MMM yyyy")) : f.push("Present"), p) {
1092
+ const x = $ || /* @__PURE__ */ new Date(), P = ce(x, p), B = Ae(x, p) % 12, H = [];
1093
+ P > 0 && H.push(`${P}y`), (B > 0 || P === 0) && H.push(`${B || 1}mo`), H.length > 0 && f.push("•", H.join(" "));
1094
+ }
1095
+ return f.join(" ");
1096
+ }, h = (r) => {
1097
+ l("update:modelValue", r);
1098
+ };
1099
+ return (r, c) => (i(), D(he, {
1100
+ name: e.name,
1101
+ "model-value": e.modelValue,
1102
+ schema: u.value,
1103
+ "empty-form-values": d,
1104
+ label: e.label,
1105
+ title: "Organizations",
1106
+ "group-by": "organization",
1107
+ "primary-field": "position",
1108
+ "explode-item": o,
1109
+ "implode-item": g,
1110
+ "delete-confirm-title": "Remove Position",
1111
+ "delete-confirm-message": "Are you sure you want to remove this position? You will need to save your changes for this to take effect.",
1112
+ "empty-message": "No organizations found. Click 'Add' to create one.",
1113
+ "onUpdate:modelValue": h,
1114
+ onItemAdded: c[0] || (c[0] = (p) => l("item-added", p)),
1115
+ onItemUpdated: c[1] || (c[1] = (p) => l("item-updated", p)),
1116
+ onItemDeleted: c[2] || (c[2] = (p) => l("item-deleted", p))
1117
+ }, {
1118
+ "item-content": T(({ item: p }) => [
1119
+ s("p", Bs, w(y(p)), 1)
1120
+ ]),
1121
+ "item-secondary": T(({ item: p }) => [
1122
+ s("span", js, w(z(p.start_date, p.end_date)), 1)
1123
+ ]),
1124
+ _: 1
1125
+ }, 8, ["name", "model-value", "schema", "label"]));
1126
+ }
1127
+ }), Os = { class: "sl-flex sl-items-center sl-gap-3" }, Rs = { class: "sl-w-8 sl-h-8 sl-rounded-full sl-flex sl-items-center sl-justify-center sl-bg-primary-100 dark:sl-bg-primary-900/50 sl-text-primary-600 dark:sl-text-primary-400 sl-text-xs sl-font-semibold sl-flex-shrink-0" }, Hs = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100" }, Gs = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400" }, Ks = {
1128
+ key: 0,
1129
+ class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400"
1130
+ }, nr = /* @__PURE__ */ F({
1131
+ __name: "RelatedNamesEditor",
1132
+ props: {
1133
+ name: {},
1134
+ modelValue: { default: () => [] },
1135
+ labels: { default: () => [
1136
+ { id: "spouse", name: "Spouse" },
1137
+ { id: "child", name: "Child" },
1138
+ { id: "parent", name: "Parent" },
1139
+ { id: "sibling", name: "Sibling" },
1140
+ { id: "partner", name: "Partner" },
1141
+ { id: "friend", name: "Friend" },
1142
+ { id: "other", name: "Other" }
1143
+ ] },
1144
+ label: {}
1145
+ },
1146
+ emits: ["update:modelValue", "item-added", "item-updated", "item-deleted"],
1147
+ setup(e, { emit: t }) {
1148
+ const a = e, l = t, d = {
1149
+ id: ye(),
1150
+ first_name: "",
1151
+ last_name: "",
1152
+ label: null,
1153
+ birthday: null,
1154
+ status: "new"
1155
+ }, u = b(() => ({
1156
+ fields: [
1157
+ {
1158
+ name: "first_name",
1159
+ label: "First Name",
1160
+ as: "TextInput",
1161
+ type: "text",
1162
+ hideLabel: !0,
1163
+ innerLabel: "First Name",
1164
+ tertiaryLabel: "Required"
1165
+ },
1166
+ {
1167
+ name: "last_name",
1168
+ label: "Last Name",
1169
+ as: "TextInput",
1170
+ type: "text",
1171
+ hideLabel: !0,
1172
+ innerLabel: "Last Name"
1173
+ },
1174
+ {
1175
+ name: "label",
1176
+ label: "Relationship",
1177
+ as: "ComboboxInput",
1178
+ type: "autocomplete",
1179
+ items: a.labels,
1180
+ itemKey: "id",
1181
+ itemText: "name",
1182
+ hideLabel: !0,
1183
+ innerLabel: "Relationship",
1184
+ tertiaryLabel: "Required"
1185
+ },
1186
+ {
1187
+ name: "birthday",
1188
+ label: "Birthday",
1189
+ as: "DatepickerInput",
1190
+ type: "datepicker",
1191
+ hideLabel: !0,
1192
+ innerLabel: "Birthday"
1193
+ }
1194
+ ]
1195
+ })), n = (c, p) => p ? c.find(($) => $.name === p) || { id: p, name: p } : null, o = (c) => {
1196
+ const p = typeof c.label == "object" && c.label?.name ? c.label.name : c.label;
1197
+ return {
1198
+ ...c,
1199
+ label: n(a.labels, p) || c.label
1200
+ };
1201
+ }, g = (c) => ({
1202
+ ...c,
1203
+ label: typeof c.label == "object" && c.label?.name ? c.label.name : c.label
1204
+ }), y = (c) => {
1205
+ if (c.name) return c.name;
1206
+ const p = [];
1207
+ return c.first_name && p.push(c.first_name), c.last_name && p.push(c.last_name), p.join(" ") || "Unknown";
1208
+ }, v = (c) => {
1209
+ const p = y(c), $ = p.split(" ").filter(Boolean);
1210
+ return $.length >= 2 ? `${$[0][0]}${$[$.length - 1][0]}`.toUpperCase() : p.substring(0, 2).toUpperCase();
1211
+ }, z = (c) => c.label ? typeof c.label == "string" ? c.label : c.label.name || "" : c.relationship || "", h = (c) => {
1212
+ if (!c) return "";
1213
+ let p;
1214
+ if (typeof c == "string" ? p = re(c) : p = c, !J(p)) return "";
1215
+ const $ = ce(/* @__PURE__ */ new Date(), p);
1216
+ return `${q(p, "MMM d")} (${$}y)`;
1217
+ }, r = (c) => {
1218
+ l("update:modelValue", c);
1219
+ };
1220
+ return (c, p) => (i(), D(he, {
1221
+ name: e.name,
1222
+ "model-value": e.modelValue,
1223
+ schema: u.value,
1224
+ "empty-form-values": d,
1225
+ label: e.label,
1226
+ title: "Related Names",
1227
+ "primary-field": "name",
1228
+ "secondary-field": "label",
1229
+ "explode-item": o,
1230
+ "implode-item": g,
1231
+ "delete-confirm-title": "Remove Related Name",
1232
+ "delete-confirm-message": "Are you sure you want to remove this related name? You will need to save your changes for this to take effect.",
1233
+ "empty-message": "No related names found. Click 'Add' to create one.",
1234
+ "onUpdate:modelValue": r,
1235
+ onItemAdded: p[0] || (p[0] = ($) => l("item-added", $)),
1236
+ onItemUpdated: p[1] || (p[1] = ($) => l("item-updated", $)),
1237
+ onItemDeleted: p[2] || (p[2] = ($) => l("item-deleted", $))
1238
+ }, {
1239
+ "item-content": T(({ item: $ }) => [
1240
+ s("div", Os, [
1241
+ s("div", Rs, w(v($)), 1),
1242
+ s("div", null, [
1243
+ s("p", Hs, w(y($)), 1),
1244
+ s("p", Gs, w(z($)), 1)
1245
+ ])
1246
+ ])
1247
+ ]),
1248
+ "item-secondary": T(({ item: $ }) => [
1249
+ $.birthday ? (i(), m("span", Ks, w(h($.birthday)), 1)) : k("", !0)
1250
+ ]),
1251
+ _: 1
1252
+ }, 8, ["name", "model-value", "schema", "label"]));
1253
+ }
1254
+ }), Ws = { class: "sl-flex sl-items-center sl-gap-3" }, Ys = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100" }, Xs = {
1255
+ key: 0,
1256
+ class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400"
1257
+ }, qs = ["href"], ir = /* @__PURE__ */ F({
1258
+ __name: "SocialLinksEditor",
1259
+ props: {
1260
+ name: {},
1261
+ modelValue: { default: () => [] },
1262
+ platforms: { default: () => [
1263
+ { id: "linkedin", name: "LinkedIn" },
1264
+ { id: "twitter", name: "Twitter/X" },
1265
+ { id: "facebook", name: "Facebook" },
1266
+ { id: "instagram", name: "Instagram" },
1267
+ { id: "youtube", name: "YouTube" },
1268
+ { id: "tiktok", name: "TikTok" },
1269
+ { id: "github", name: "GitHub" },
1270
+ { id: "website", name: "Website" }
1271
+ ] },
1272
+ label: {}
1273
+ },
1274
+ emits: ["update:modelValue", "item-added", "item-updated", "item-deleted"],
1275
+ setup(e, { emit: t }) {
1276
+ const a = (A) => () => ne("svg", { viewBox: "0 0 24 24", fill: "currentColor" }, [ne("path", { d: A })]), l = a("M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"), d = a("M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"), u = a("M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"), n = a("M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"), o = a("M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"), g = a("M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"), y = a("M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"), v = a("M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"), z = {
1277
+ linkedin: l,
1278
+ twitter: d,
1279
+ x: d,
1280
+ facebook: u,
1281
+ instagram: n,
1282
+ youtube: o,
1283
+ tiktok: g,
1284
+ github: y,
1285
+ website: v
1286
+ }, h = {
1287
+ linkedin: "sl-text-[#0A66C2]",
1288
+ twitter: "sl-text-gray-900 dark:sl-text-gray-100",
1289
+ x: "sl-text-gray-900 dark:sl-text-gray-100",
1290
+ facebook: "sl-text-[#1877F2]",
1291
+ instagram: "sl-text-[#E4405F]",
1292
+ youtube: "sl-text-[#FF0000]",
1293
+ tiktok: "sl-text-gray-900 dark:sl-text-gray-100",
1294
+ github: "sl-text-gray-900 dark:sl-text-gray-100"
1295
+ }, r = e, c = t, p = {
1296
+ id: ye(),
1297
+ platform: "",
1298
+ handle: "",
1299
+ url: "",
1300
+ status: "new"
1301
+ }, $ = b(() => ({
1302
+ fields: [
1303
+ {
1304
+ name: "platform",
1305
+ label: "Platform",
1306
+ as: "SelectInput",
1307
+ type: "select",
1308
+ items: r.platforms,
1309
+ itemKey: "id",
1310
+ itemText: "name",
1311
+ hideLabel: !0,
1312
+ innerLabel: "Platform",
1313
+ tertiaryLabel: "Required"
1314
+ },
1315
+ {
1316
+ name: "handle",
1317
+ label: "Handle/Username",
1318
+ as: "TextInput",
1319
+ type: "text",
1320
+ hideLabel: !0,
1321
+ innerLabel: "Handle/Username",
1322
+ placeholder: "@username"
1323
+ },
1324
+ {
1325
+ name: "url",
1326
+ label: "Profile URL",
1327
+ as: "TextInput",
1328
+ type: "url",
1329
+ hideLabel: !0,
1330
+ innerLabel: "Profile URL",
1331
+ placeholder: "https://..."
1332
+ }
1333
+ ]
1334
+ })), f = (A) => A, x = (A) => A, P = (A) => r.platforms.find((V) => V.id === A)?.name || A || "Unknown Platform", B = (A) => {
1335
+ const U = A?.toLowerCase() || "website";
1336
+ return z[U] || v;
1337
+ }, H = (A) => {
1338
+ const U = A?.toLowerCase() || "website";
1339
+ return h[U] || "sl-text-gray-500";
1340
+ }, ae = (A) => A ? A.startsWith("http://") || A.startsWith("https://") ? A : `https://${A}` : "#", N = (A) => {
1341
+ c("update:modelValue", A);
1342
+ };
1343
+ return (A, U) => (i(), D(he, {
1344
+ name: e.name,
1345
+ "model-value": e.modelValue,
1346
+ schema: $.value,
1347
+ "empty-form-values": p,
1348
+ label: e.label,
1349
+ title: "Social Links",
1350
+ "primary-field": "platform",
1351
+ "secondary-field": "handle",
1352
+ "explode-item": f,
1353
+ "implode-item": x,
1354
+ "delete-confirm-title": "Remove Social Link",
1355
+ "delete-confirm-message": "Are you sure you want to remove this social link? You will need to save your changes for this to take effect.",
1356
+ "empty-message": "No social links found. Click 'Add' to create one.",
1357
+ "onUpdate:modelValue": N,
1358
+ onItemAdded: U[1] || (U[1] = (V) => c("item-added", V)),
1359
+ onItemUpdated: U[2] || (U[2] = (V) => c("item-updated", V)),
1360
+ onItemDeleted: U[3] || (U[3] = (V) => c("item-deleted", V))
1361
+ }, {
1362
+ "item-content": T(({ item: V }) => [
1363
+ s("div", Ws, [
1364
+ (i(), D(ge(B(V.platform)), {
1365
+ class: E(["sl-w-5 sl-h-5 sl-flex-shrink-0", H(V.platform)])
1366
+ }, null, 8, ["class"])),
1367
+ s("div", null, [
1368
+ s("p", Ys, w(P(V.platform)), 1),
1369
+ V.handle ? (i(), m("p", Xs, " @" + w(V.handle), 1)) : k("", !0)
1370
+ ])
1371
+ ])
1372
+ ]),
1373
+ "item-secondary": T(({ item: V }) => [
1374
+ V.url ? (i(), m("a", {
1375
+ key: 0,
1376
+ href: ae(V.url),
1377
+ target: "_blank",
1378
+ rel: "noopener noreferrer",
1379
+ class: "sl-text-xs sl-text-primary-600 dark:sl-text-primary-400 hover:sl-underline",
1380
+ onClick: U[0] || (U[0] = Te(() => {
1381
+ }, ["stop"]))
1382
+ }, " View Profile ", 8, qs)) : k("", !0)
1383
+ ]),
1384
+ _: 1
1385
+ }, 8, ["name", "model-value", "schema", "label"]));
1386
+ }
1387
+ });
1388
+ let W = null, se = null, ie = null, ee = null, pe = !1;
1389
+ const te = /* @__PURE__ */ new Map(), Js = 1e3, Zs = 1e3 * 60 * 60 * 24;
1390
+ function Qs(e) {
1391
+ W = e, pe = !1, ee = null, ie = null, se = null;
1392
+ }
1393
+ function el() {
1394
+ return W !== null && !!W.apiKey;
1395
+ }
1396
+ async function xe() {
1397
+ if (!pe) {
1398
+ if (ee)
1399
+ return ee;
1400
+ if (!W?.apiKey)
1401
+ throw new Error(
1402
+ '[Geocoding] API key not configured. Call configureGeocoding({ apiKey: "..." }) first, or configure via StachelockUI plugin with googleMaps.apiKey option.'
1403
+ );
1404
+ return ee = (async () => {
1405
+ try {
1406
+ await new Ft({
1407
+ apiKey: W.apiKey,
1408
+ version: W.version || "weekly",
1409
+ id: "__stachelockGoogleMapsScriptId",
1410
+ libraries: W.libraries || ["places", "maps", "geometry"]
1411
+ }).load(), ie = await google.maps.importLibrary("places"), se = new google.maps.Geocoder(), pe = !0;
1412
+ } catch (e) {
1413
+ throw ee = null, console.error("[Geocoding] Error loading Google Maps API:", e), e;
1414
+ }
1415
+ })(), ee;
1416
+ }
1417
+ }
1418
+ function Ue(e) {
1419
+ return e.trim().toLowerCase().replace(/\s+/g, " ");
1420
+ }
1421
+ function Ve(e) {
1422
+ return typeof e == "string" ? `str:${Ue(e)}` : `pid:${e.placeId}`;
1423
+ }
1424
+ function Be(e) {
1425
+ const t = te.get(e);
1426
+ return t ? Date.now() - t.ts > Zs ? (te.delete(e), null) : t.result : null;
1427
+ }
1428
+ function je(e, t) {
1429
+ try {
1430
+ if (te.size >= Js) {
1431
+ const a = te.keys().next().value;
1432
+ a && te.delete(a);
1433
+ }
1434
+ te.set(e, { result: t, ts: Date.now() });
1435
+ } catch {
1436
+ }
1437
+ }
1438
+ function Oe(e, t = 15, a = "200x200") {
1439
+ if (!W?.apiKey) return "";
1440
+ const l = W.staticMapsApiKey || W.apiKey, d = "https://maps.googleapis.com/maps/api/staticmap", u = new URLSearchParams({
1441
+ center: `${e.lat},${e.lng}`,
1442
+ zoom: t.toString(),
1443
+ size: a,
1444
+ key: l,
1445
+ markers: `color:red|${e.lat},${e.lng}`
1446
+ });
1447
+ return `${d}?${u.toString()}`;
1448
+ }
1449
+ async function tl(e) {
1450
+ if (!e?.trim())
1451
+ return {
1452
+ status: "INVALID_INPUT",
1453
+ message: "No placeId provided for geocoding."
1454
+ };
1455
+ await xe();
1456
+ const t = Ve({ placeId: e }), a = Be(t);
1457
+ return a || new Promise((l) => {
1458
+ if (!se) {
1459
+ l({
1460
+ status: "ERROR",
1461
+ message: "Geocoder service not initialized."
1462
+ });
1463
+ return;
1464
+ }
1465
+ se.geocode({ placeId: e }, (d, u) => {
1466
+ if (u === google.maps.GeocoderStatus.OK && d && d.length > 0) {
1467
+ const n = d[0], o = n.geometry ? {
1468
+ lat: n.geometry.location.lat(),
1469
+ lng: n.geometry.location.lng()
1470
+ } : void 0, g = {
1471
+ status: "OK",
1472
+ message: "Found address",
1473
+ address_components: n.address_components || [],
1474
+ location: o,
1475
+ formatted_address: n.formatted_address || "",
1476
+ thumbnailUrl: o ? Oe(o) : void 0
1477
+ };
1478
+ je(t, g), l(g);
1479
+ } else
1480
+ l({
1481
+ status: u.toString(),
1482
+ message: `Unable to geocode place: ${u}`
1483
+ });
1484
+ });
1485
+ });
1486
+ }
1487
+ function sl(e) {
1488
+ const t = Ue(e);
1489
+ if (t.length < 10) return !1;
1490
+ const a = /\d/.test(t), l = t.includes(","), d = /\b([A-Z]{2})\b/i.test(e), u = /\b\d{5}(?:-\d{4})?\b/.test(t);
1491
+ return (l || d || u) && a;
1492
+ }
1493
+ async function ll(e) {
1494
+ if (!e?.trim())
1495
+ return {
1496
+ status: "INVALID_INPUT",
1497
+ message: "No address provided for geocoding."
1498
+ };
1499
+ if (!sl(e))
1500
+ return {
1501
+ status: "INVALID_INPUT",
1502
+ message: "Insufficient address information for geocoding."
1503
+ };
1504
+ await xe();
1505
+ const t = Ve(e), a = Be(t);
1506
+ return a || new Promise((l) => {
1507
+ if (!se) {
1508
+ l({
1509
+ status: "ERROR",
1510
+ message: "Geocoder service not initialized."
1511
+ });
1512
+ return;
1513
+ }
1514
+ se.geocode({ address: e }, (d, u) => {
1515
+ if (u === google.maps.GeocoderStatus.OK && d && d.length > 0) {
1516
+ const n = d[0], o = n.geometry ? {
1517
+ lat: n.geometry.location.lat(),
1518
+ lng: n.geometry.location.lng()
1519
+ } : void 0, g = {
1520
+ status: "OK",
1521
+ message: "Found address",
1522
+ address_components: n.address_components || [],
1523
+ location: o,
1524
+ formatted_address: n.formatted_address || "",
1525
+ thumbnailUrl: o ? Oe(o) : void 0
1526
+ };
1527
+ je(t, g), l(g);
1528
+ } else
1529
+ l({
1530
+ status: u.toString(),
1531
+ message: `Unable to geocode address: ${u}`
1532
+ });
1533
+ });
1534
+ });
1535
+ }
1536
+ async function al(e, t) {
1537
+ if (!e?.trim())
1538
+ return [];
1539
+ if (await xe(), !ie)
1540
+ return console.warn("[Geocoding] Places library not initialized"), [];
1541
+ try {
1542
+ const { AutocompleteSuggestion: a } = ie, l = {
1543
+ input: e,
1544
+ ...t?.includedPrimaryTypes && { includedPrimaryTypes: t.includedPrimaryTypes },
1545
+ ...t?.includedRegionCodes && { includedRegionCodes: t.includedRegionCodes }
1546
+ }, { suggestions: d } = await a.fetchAutocompleteSuggestions(l);
1547
+ return d.filter(
1548
+ (n) => n.placePrediction !== null
1549
+ ).map((n) => {
1550
+ const o = n.placePrediction;
1551
+ return {
1552
+ placeId: o.placeId,
1553
+ description: o.text.toString(),
1554
+ mainText: o.mainText?.toString() || o.text.toString(),
1555
+ secondaryText: o.secondaryText?.toString() || "",
1556
+ types: o.types || []
1557
+ };
1558
+ });
1559
+ } catch (a) {
1560
+ return console.error("[Geocoding] Error fetching autocomplete suggestions:", a), [];
1561
+ }
1562
+ }
1563
+ function ol(e) {
1564
+ const t = {
1565
+ street: "",
1566
+ city: "",
1567
+ state: "",
1568
+ zipcode: "",
1569
+ country: ""
1570
+ };
1571
+ if (!e?.address_components)
1572
+ return t;
1573
+ let a = "", l = "";
1574
+ for (const d of e.address_components) {
1575
+ const u = d.types;
1576
+ u.includes("street_number") ? a = d.long_name : u.includes("route") ? l = d.long_name : u.includes("locality") ? t.city = d.long_name : u.includes("administrative_area_level_1") ? t.state = d.short_name : u.includes("postal_code") ? t.zipcode = d.long_name : u.includes("country") && (t.country = d.short_name);
1577
+ }
1578
+ return t.street = [a, l].filter(Boolean).join(" "), t;
1579
+ }
1580
+ function rl(e) {
1581
+ return [
1582
+ e.street,
1583
+ e.city,
1584
+ e.state && e.zipcode ? `${e.state} ${e.zipcode}` : e.state || e.zipcode,
1585
+ e.country
1586
+ ].filter(Boolean).join(", ");
1587
+ }
1588
+ const nl = { class: "sl-address-input" }, il = { class: "sl-space-y-3" }, dl = { class: "sl-relative" }, cl = { class: "sl-flex sl-flex-col" }, ul = {
1589
+ key: 0,
1590
+ class: "sl-flex sl-items-center sl-justify-between"
1591
+ }, ml = { class: "sl-flex sl-items-center sl-gap-2" }, fl = { 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" }, pl = { class: "sm:sl-col-span-2" }, gl = /* @__PURE__ */ F({
1592
+ __name: "AddressInput",
1593
+ props: {
1594
+ name: {},
1595
+ modelValue: {},
1596
+ label: { default: "" },
1597
+ placeholder: { default: "Search for an address..." },
1598
+ disabled: { type: Boolean, default: !1 },
1599
+ rules: {},
1600
+ showSuggestionCount: { type: Boolean, default: !1 },
1601
+ allowManualEntry: { type: Boolean, default: !0 },
1602
+ successMessage: { default: "" },
1603
+ tertiaryLabel: { default: "" },
1604
+ validateOnMount: { type: Boolean, default: !1 }
1605
+ },
1606
+ emits: ["update:modelValue", "blur", "focus"],
1607
+ setup(e, { expose: t, emit: a }) {
1608
+ const l = e, d = a, u = Xe(l.name || "address-input"), n = Le("googleMaps", void 0);
1609
+ Je(() => {
1610
+ n?.apiKey && !el() && Qs({
1611
+ apiKey: n.apiKey,
1612
+ version: n.version,
1613
+ libraries: n.libraries
1614
+ });
1615
+ });
1616
+ const { value: o, errorMessage: g, meta: y, handleChange: v, setTouched: z } = Dt(
1617
+ () => l.name,
1618
+ l.rules,
1619
+ {
1620
+ validateOnMount: l.validateOnMount,
1621
+ initialValue: l.modelValue
1622
+ }
1623
+ ), h = K([]), r = K(null), c = K(""), p = K(!1), $ = K(!1), f = K("unverified"), x = Me({
1624
+ street: "",
1625
+ suite: "",
1626
+ city: "",
1627
+ state: "",
1628
+ zipcode: "",
1629
+ country: ""
1630
+ }), P = b(() => !!(o.value?.formattedAddress || o.value?.street)), B = b(() => l.showSuggestionCount && h.value.length > 0 ? `${h.value.length} suggestions` : l.tertiaryLabel), H = b(() => {
1631
+ switch (f.value) {
1632
+ case "verified":
1633
+ return "sl-text-green-600 dark:sl-text-green-400";
1634
+ case "error":
1635
+ return "sl-text-red-600 dark:sl-text-red-400";
1636
+ case "pending":
1637
+ return "sl-text-yellow-600 dark:sl-text-yellow-400";
1638
+ default:
1639
+ return "sl-text-gray-500 dark:sl-text-slate-400";
1640
+ }
1641
+ }), ae = b(() => {
1642
+ switch (f.value) {
1643
+ case "verified":
1644
+ return "Verified";
1645
+ case "error":
1646
+ return "Not verified";
1647
+ case "pending":
1648
+ return "Verifying...";
1649
+ default:
1650
+ return "Unverified";
1651
+ }
1652
+ }), N = b(() => {
1653
+ switch (f.value) {
1654
+ case "verified":
1655
+ return ft;
1656
+ case "error":
1657
+ return mt;
1658
+ case "pending":
1659
+ return $e;
1660
+ default:
1661
+ return $e;
1662
+ }
1663
+ }), A = ze(async (S) => {
1664
+ if (!S || S.length < 3) {
1665
+ h.value = [];
1666
+ return;
1667
+ }
1668
+ $.value = !0;
1669
+ try {
1670
+ const I = await al(S);
1671
+ h.value = I;
1672
+ } catch (I) {
1673
+ console.error("[AddressInput] Error fetching suggestions:", I), h.value = [];
1674
+ } finally {
1675
+ $.value = !1;
1676
+ }
1677
+ }, 300);
1678
+ function U(S) {
1679
+ const I = S.target;
1680
+ c.value = I.value, A(I.value);
1681
+ }
1682
+ function V(S) {
1683
+ return S ? S.description : o.value?.formattedAddress ? o.value.formattedAddress : "";
1684
+ }
1685
+ async function Re(S) {
1686
+ if (S) {
1687
+ f.value = "pending", h.value = [];
1688
+ try {
1689
+ const I = await tl(S.placeId);
1690
+ if (I.status === "OK") {
1691
+ f.value = "verified";
1692
+ const L = ol(I);
1693
+ x.street = L.street, x.city = L.city, x.state = L.state, x.zipcode = L.zipcode, x.country = L.country;
1694
+ const X = {
1695
+ formattedAddress: I.formatted_address,
1696
+ street: L.street,
1697
+ suite: x.suite,
1698
+ city: L.city,
1699
+ state: L.state,
1700
+ zipcode: L.zipcode,
1701
+ country: L.country,
1702
+ geocode: I,
1703
+ placeId: S.placeId
1704
+ };
1705
+ o.value = X, v(X), d("update:modelValue", X), p.value = !0;
1706
+ } else
1707
+ f.value = "error", console.warn("[AddressInput] Geocoding failed:", I.message);
1708
+ } catch (I) {
1709
+ f.value = "error", console.error("[AddressInput] Geocoding error:", I);
1710
+ }
1711
+ }
1712
+ }
1713
+ const He = ["street", "city", "state", "zipcode", "country"], Ge = ze(async () => {
1714
+ const S = rl(x);
1715
+ if (!S || S.length < 10) {
1716
+ f.value = "unverified";
1717
+ return;
1718
+ }
1719
+ f.value = "pending";
1720
+ try {
1721
+ const I = await ll(S);
1722
+ if (I.status === "OK") {
1723
+ f.value = "verified";
1724
+ const L = {
1725
+ formattedAddress: I.formatted_address,
1726
+ street: x.street,
1727
+ suite: x.suite,
1728
+ city: x.city,
1729
+ state: x.state,
1730
+ zipcode: x.zipcode,
1731
+ country: x.country,
1732
+ geocode: I,
1733
+ placeId: void 0
1734
+ // Clear placeId since we re-geocoded
1735
+ };
1736
+ o.value = L, v(L), d("update:modelValue", L);
1737
+ } else
1738
+ f.value = "unverified";
1739
+ } catch (I) {
1740
+ f.value = "error", console.error("[AddressInput] Re-geocoding error:", I);
1741
+ }
1742
+ }, 600);
1743
+ function Q(S) {
1744
+ const I = {
1745
+ ...o.value,
1746
+ street: x.street,
1747
+ suite: x.suite,
1748
+ city: x.city,
1749
+ state: x.state,
1750
+ zipcode: x.zipcode,
1751
+ country: x.country
1752
+ };
1753
+ He.includes(S) && (f.value = "unverified", I.geocode = void 0, Ge()), o.value = I, v(I), d("update:modelValue", I);
1754
+ }
1755
+ function Ke(S) {
1756
+ d("focus", S);
1757
+ }
1758
+ function We(S) {
1759
+ z(!0), d("blur", S);
1760
+ }
1761
+ de(
1762
+ () => l.modelValue,
1763
+ (S) => {
1764
+ S && (S.geocode?.status === "OK" ? f.value = "verified" : S.geocode?.status === "ERROR" && (f.value = "error"), S !== o.value && (o.value = S, S.street !== void 0 && (x.street = S.street), S.suite !== void 0 && (x.suite = S.suite), S.city !== void 0 && (x.city = S.city), S.state !== void 0 && (x.state = S.state), S.zipcode !== void 0 && (x.zipcode = S.zipcode), S.country !== void 0 && (x.country = S.country)));
1765
+ },
1766
+ { immediate: !0, deep: !0 }
1767
+ );
1768
+ function Ye() {
1769
+ o.value = void 0, r.value = null, c.value = "", h.value = [], p.value = !1, f.value = "unverified", x.street = "", x.suite = "", x.city = "", x.state = "", x.zipcode = "", x.country = "";
1770
+ }
1771
+ return t({
1772
+ resetInput: Ye,
1773
+ geocodeStatus: f,
1774
+ meta: y,
1775
+ errorMessage: g
1776
+ }), (S, I) => (i(), m("div", nl, [
1777
+ C(Tt, {
1778
+ id: _(u),
1779
+ name: e.name,
1780
+ label: e.label,
1781
+ "tertiary-label": B.value,
1782
+ "error-message": _(g),
1783
+ "success-message": e.successMessage,
1784
+ "is-valid": _(y).valid,
1785
+ "is-touched": _(y).touched,
1786
+ disabled: e.disabled
1787
+ }, {
1788
+ default: T(() => [
1789
+ s("div", il, [
1790
+ C(_($t), {
1791
+ modelValue: r.value,
1792
+ "onUpdate:modelValue": [
1793
+ I[0] || (I[0] = (L) => r.value = L),
1794
+ Re
1795
+ ],
1796
+ disabled: e.disabled,
1797
+ nullable: ""
1798
+ }, {
1799
+ default: T(() => [
1800
+ s("div", dl, [
1801
+ C(_(_t), {
1802
+ id: _(u),
1803
+ "display-value": V,
1804
+ placeholder: e.placeholder || "Search for an address...",
1805
+ disabled: e.disabled,
1806
+ class: E([
1807
+ "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",
1808
+ e.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"
1809
+ ]),
1810
+ onChange: U,
1811
+ onFocus: Ke,
1812
+ onBlur: We
1813
+ }, null, 8, ["id", "placeholder", "disabled", "class"]),
1814
+ C(_(It), { class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-2" }, {
1815
+ default: T(() => [
1816
+ e.disabled ? (i(), D(_(Lt), {
1817
+ key: 0,
1818
+ class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-slate-500",
1819
+ "aria-hidden": "true"
1820
+ })) : (i(), D(_(Mt), {
1821
+ key: 1,
1822
+ class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-slate-400",
1823
+ "aria-hidden": "true"
1824
+ }))
1825
+ ]),
1826
+ _: 1
1827
+ }),
1828
+ C(_(fe), {
1829
+ leave: "sl-transition sl-ease-in sl-duration-100",
1830
+ "leave-from": "sl-opacity-100",
1831
+ "leave-to": "sl-opacity-0"
1832
+ }, {
1833
+ default: T(() => [
1834
+ h.value.length > 0 ? (i(), D(_(St), {
1835
+ key: 0,
1836
+ 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"
1837
+ }, {
1838
+ default: T(() => [
1839
+ (i(!0), m(G, null, Y(h.value, (L) => (i(), D(_(zt), {
1840
+ key: L.placeId,
1841
+ value: L,
1842
+ as: "template"
1843
+ }, {
1844
+ default: T(({ active: X, selected: be }) => [
1845
+ s("li", {
1846
+ class: E([
1847
+ "sl-relative sl-cursor-pointer sl-select-none sl-py-2 sl-pl-10 sl-pr-4",
1848
+ X ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200"
1849
+ ])
1850
+ }, [
1851
+ s("div", cl, [
1852
+ s("span", {
1853
+ class: E(["sl-block sl-truncate", be ? "sl-font-medium" : "sl-font-normal"])
1854
+ }, w(L.mainText), 3),
1855
+ s("span", {
1856
+ class: E(["sl-text-xs", X ? "sl-text-stachelock-100" : "sl-text-gray-500 dark:sl-text-slate-400"])
1857
+ }, w(L.secondaryText), 3)
1858
+ ]),
1859
+ be ? (i(), m("span", {
1860
+ key: 0,
1861
+ class: E([
1862
+ "sl-absolute sl-inset-y-0 sl-left-0 sl-flex sl-items-center sl-pl-3",
1863
+ X ? "sl-text-white" : "sl-text-stachelock-600 dark:sl-text-stachelock-400"
1864
+ ])
1865
+ }, [
1866
+ C(_(Pt), {
1867
+ class: "sl-h-5 sl-w-5",
1868
+ "aria-hidden": "true"
1869
+ })
1870
+ ], 2)) : k("", !0)
1871
+ ], 2)
1872
+ ]),
1873
+ _: 2
1874
+ }, 1032, ["value"]))), 128))
1875
+ ]),
1876
+ _: 1
1877
+ })) : k("", !0)
1878
+ ]),
1879
+ _: 1
1880
+ })
1881
+ ])
1882
+ ]),
1883
+ _: 1
1884
+ }, 8, ["modelValue", "disabled"]),
1885
+ P.value && !e.disabled ? (i(), m("div", ul, [
1886
+ s("div", ml, [
1887
+ s("span", {
1888
+ class: E(["sl-text-xs sl-uppercase sl-font-medium", H.value])
1889
+ }, w(ae.value), 3),
1890
+ (i(), D(ge(N.value), {
1891
+ class: E(["sl-h-4 sl-w-4", H.value])
1892
+ }, null, 8, ["class"]))
1893
+ ]),
1894
+ p.value ? (i(), m("button", {
1895
+ key: 1,
1896
+ type: "button",
1897
+ onClick: I[2] || (I[2] = (L) => p.value = !1),
1898
+ class: "sl-text-xs sl-text-gray-500 dark:sl-text-slate-400 hover:sl-underline sl-flex sl-items-center sl-gap-1"
1899
+ }, [
1900
+ I[10] || (I[10] = j(" Collapse ", -1)),
1901
+ C(_(At), { class: "sl-h-3 sl-w-3" })
1902
+ ])) : (i(), m("button", {
1903
+ key: 0,
1904
+ type: "button",
1905
+ onClick: I[1] || (I[1] = (L) => p.value = !0),
1906
+ class: "sl-text-xs sl-text-stachelock-600 dark:sl-text-stachelock-400 hover:sl-underline sl-flex sl-items-center sl-gap-1"
1907
+ }, [
1908
+ I[9] || (I[9] = j(" Edit address ", -1)),
1909
+ C(_(Et), { class: "sl-h-3 sl-w-3" })
1910
+ ]))
1911
+ ])) : k("", !0),
1912
+ C(_(fe), {
1913
+ show: p.value && P.value && !e.disabled,
1914
+ enter: "sl-transition sl-ease-out sl-duration-200",
1915
+ "enter-from": "sl-opacity-0 sl-transform sl--translate-y-2",
1916
+ "enter-to": "sl-opacity-100 sl-transform sl-translate-y-0",
1917
+ leave: "sl-transition sl-ease-in sl-duration-150",
1918
+ "leave-from": "sl-opacity-100 sl-transform sl-translate-y-0",
1919
+ "leave-to": "sl-opacity-0 sl-transform sl--translate-y-2"
1920
+ }, {
1921
+ default: T(() => [
1922
+ s("div", fl, [
1923
+ s("div", pl, [
1924
+ C(R, {
1925
+ name: `${e.name}_street`,
1926
+ label: "Street Address",
1927
+ value: x.street,
1928
+ disabled: e.disabled,
1929
+ "show-valid-check": !1,
1930
+ "colorful-validation": !1,
1931
+ "onUpdate:value": I[3] || (I[3] = (L) => {
1932
+ x.street = L, Q("street");
1933
+ })
1934
+ }, null, 8, ["name", "value", "disabled"])
1935
+ ]),
1936
+ s("div", null, [
1937
+ C(R, {
1938
+ name: `${e.name}_suite`,
1939
+ label: "Suite / Apt",
1940
+ value: x.suite,
1941
+ disabled: e.disabled,
1942
+ placeholder: "Optional",
1943
+ "show-valid-check": !1,
1944
+ "colorful-validation": !1,
1945
+ "onUpdate:value": I[4] || (I[4] = (L) => {
1946
+ x.suite = L, Q("suite");
1947
+ })
1948
+ }, null, 8, ["name", "value", "disabled"])
1949
+ ]),
1950
+ s("div", null, [
1951
+ C(R, {
1952
+ name: `${e.name}_city`,
1953
+ label: "City",
1954
+ value: x.city,
1955
+ disabled: e.disabled,
1956
+ "show-valid-check": !1,
1957
+ "colorful-validation": !1,
1958
+ "onUpdate:value": I[5] || (I[5] = (L) => {
1959
+ x.city = L, Q("city");
1960
+ })
1961
+ }, null, 8, ["name", "value", "disabled"])
1962
+ ]),
1963
+ s("div", null, [
1964
+ C(R, {
1965
+ name: `${e.name}_state`,
1966
+ label: "State",
1967
+ value: x.state,
1968
+ disabled: e.disabled,
1969
+ "show-valid-check": !1,
1970
+ "colorful-validation": !1,
1971
+ "onUpdate:value": I[6] || (I[6] = (L) => {
1972
+ x.state = L, Q("state");
1973
+ })
1974
+ }, null, 8, ["name", "value", "disabled"])
1975
+ ]),
1976
+ s("div", null, [
1977
+ C(R, {
1978
+ name: `${e.name}_zipcode`,
1979
+ label: "ZIP Code",
1980
+ value: x.zipcode,
1981
+ disabled: e.disabled,
1982
+ "show-valid-check": !1,
1983
+ "colorful-validation": !1,
1984
+ "onUpdate:value": I[7] || (I[7] = (L) => {
1985
+ x.zipcode = L, Q("zipcode");
1986
+ })
1987
+ }, null, 8, ["name", "value", "disabled"])
1988
+ ]),
1989
+ s("div", null, [
1990
+ C(R, {
1991
+ name: `${e.name}_country`,
1992
+ label: "Country",
1993
+ value: x.country,
1994
+ disabled: e.disabled,
1995
+ "show-valid-check": !1,
1996
+ "colorful-validation": !1,
1997
+ "onUpdate:value": I[8] || (I[8] = (L) => {
1998
+ x.country = L, Q("country");
1999
+ })
2000
+ }, null, 8, ["name", "value", "disabled"])
2001
+ ])
2002
+ ])
2003
+ ]),
2004
+ _: 1
2005
+ }, 8, ["show"])
2006
+ ])
2007
+ ]),
2008
+ _: 1
2009
+ }, 8, ["id", "name", "label", "tertiary-label", "error-message", "success-message", "is-valid", "is-touched", "disabled"])
2010
+ ]));
2011
+ }
2012
+ }), dr = /* @__PURE__ */ Z(gl, [["__scopeId", "data-v-d65320d7"]]), yl = { class: "sl-bg-white sl-rounded-lg sl-shadow sl-p-6" }, hl = { class: "sl-space-y-8" }, xl = { class: "sl-grid sl-grid-cols-1 sl-md:grid-cols-2 sl-gap-6" }, bl = { class: "sl-bg-gray-50 sl-rounded-md sl-p-4 sl-text-sm sl-text-gray-700" }, vl = { class: "sl-whitespace-pre-wrap" }, cr = /* @__PURE__ */ F({
752
2013
  __name: "InputsShowcase",
753
- setup(t) {
754
- const e = Q({
2014
+ setup(e) {
2015
+ const t = Me({
755
2016
  text: "",
756
2017
  textArea: "",
757
2018
  switchOn: !1,
@@ -759,7 +2020,7 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
759
2020
  selectedFruit: null,
760
2021
  selectedLanguages: [],
761
2022
  selectedCity: null
762
- }), o = [
2023
+ }), a = [
763
2024
  { id: 1, name: "Apple" },
764
2025
  { id: 2, name: "Banana" },
765
2026
  { id: 3, name: "Cherry" },
@@ -770,7 +2031,7 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
770
2031
  { id: 3, name: "Python" },
771
2032
  { id: 4, name: "Go" },
772
2033
  { id: 5, name: "Rust" }
773
- ], r = [
2034
+ ], d = [
774
2035
  { id: 1, name: "New York" },
775
2036
  { id: 2, name: "San Francisco" },
776
2037
  { id: 3, name: "Seattle" },
@@ -780,149 +2041,149 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
780
2041
  { id: 7, name: "Miami" },
781
2042
  { id: 8, name: "Boston" }
782
2043
  ];
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, [
2044
+ return (u, n) => (i(), m("section", yl, [
2045
+ n[15] || (n[15] = s("h2", { class: "sl-text-xl sl-font-semibold sl-mb-4" }, "All Inputs Showcase", -1)),
2046
+ s("div", hl, [
786
2047
  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, {
2048
+ n[7] || (n[7] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Text Input", -1)),
2049
+ C(R, {
789
2050
  name: "demoText",
790
2051
  label: "Text Input",
791
2052
  placeholder: "Type something...",
792
- value: e.text,
793
- "onUpdate:value": a[0] || (a[0] = (u) => e.text = u)
2053
+ value: t.text,
2054
+ "onUpdate:value": n[0] || (n[0] = (o) => t.text = o)
794
2055
  }, null, 8, ["value"])
795
2056
  ]),
796
2057
  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, {
2058
+ n[8] || (n[8] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Text Area", -1)),
2059
+ C(it, {
799
2060
  name: "demoTextArea",
800
2061
  label: "Text Area",
801
2062
  placeholder: "Write a longer message...",
802
2063
  rows: 4,
803
2064
  maxlength: 200,
804
- modelValue: e.textArea,
805
- "onUpdate:modelValue": a[1] || (a[1] = (u) => e.textArea = u)
2065
+ modelValue: t.textArea,
2066
+ "onUpdate:modelValue": n[1] || (n[1] = (o) => t.textArea = o)
806
2067
  }, null, 8, ["modelValue"])
807
2068
  ]),
808
2069
  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, {
2070
+ n[9] || (n[9] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Switch", -1)),
2071
+ C(dt, {
811
2072
  name: "demoSwitch",
812
2073
  label: "Enable feature",
813
- modelValue: e.switchOn,
814
- "onUpdate:modelValue": a[2] || (a[2] = (u) => e.switchOn = u),
2074
+ modelValue: t.switchOn,
2075
+ "onUpdate:modelValue": n[2] || (n[2] = (o) => t.switchOn = o),
815
2076
  textTrue: "ON",
816
2077
  textFalse: "OFF"
817
2078
  }, null, 8, ["modelValue"])
818
2079
  ]),
819
2080
  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, {
2081
+ n[10] || (n[10] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Checkbox", -1)),
2082
+ C(rt, {
822
2083
  name: "demoCheckbox",
823
2084
  label: "I agree to the terms",
824
- modelValue: e.checkbox,
825
- "onUpdate:modelValue": a[3] || (a[3] = (u) => e.checkbox = u)
2085
+ modelValue: t.checkbox,
2086
+ "onUpdate:modelValue": n[3] || (n[3] = (o) => t.checkbox = o)
826
2087
  }, null, 8, ["modelValue"])
827
2088
  ]),
828
- s("div", qe, [
2089
+ s("div", xl, [
829
2090
  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, {
2091
+ n[11] || (n[11] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Select (Single)", -1)),
2092
+ C(Ce, {
832
2093
  name: "demoSelect",
833
2094
  label: "Favorite Fruit",
834
2095
  placeholder: "Select a fruit",
835
- items: o,
836
- modelValue: e.selectedFruit,
837
- "onUpdate:modelValue": a[4] || (a[4] = (u) => e.selectedFruit = u)
2096
+ items: a,
2097
+ modelValue: t.selectedFruit,
2098
+ "onUpdate:modelValue": n[4] || (n[4] = (o) => t.selectedFruit = o)
838
2099
  }, null, 8, ["modelValue"])
839
2100
  ]),
840
2101
  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, {
2102
+ n[12] || (n[12] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Select (Multiple)", -1)),
2103
+ C(Ce, {
843
2104
  name: "demoSelectMulti",
844
2105
  label: "Favorite Languages",
845
2106
  placeholder: "Select languages",
846
2107
  items: l,
847
2108
  multiple: "",
848
2109
  showAll: "",
849
- modelValue: e.selectedLanguages,
850
- "onUpdate:modelValue": a[5] || (a[5] = (u) => e.selectedLanguages = u)
2110
+ modelValue: t.selectedLanguages,
2111
+ "onUpdate:modelValue": n[5] || (n[5] = (o) => t.selectedLanguages = o)
851
2112
  }, null, 8, ["modelValue"])
852
2113
  ])
853
2114
  ]),
854
2115
  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, {
2116
+ n[13] || (n[13] = s("h3", { class: "sl-text-sm sl-font-medium sl-text-gray-700 sl-mb-2" }, "Combobox", -1)),
2117
+ C(nt, {
857
2118
  name: "demoCombobox",
858
2119
  label: "Search a City",
859
2120
  placeholder: "Start typing...",
860
- items: r,
861
- modelValue: e.selectedCity,
862
- "onUpdate:modelValue": a[6] || (a[6] = (u) => e.selectedCity = u)
2121
+ items: d,
2122
+ modelValue: t.selectedCity,
2123
+ "onUpdate:modelValue": n[6] || (n[6] = (o) => t.selectedCity = o)
863
2124
  }, null, 8, ["modelValue"])
864
2125
  ]),
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)
2126
+ s("div", bl, [
2127
+ n[14] || (n[14] = s("div", { class: "sl-font-semibold sl-mb-1" }, "State", -1)),
2128
+ s("pre", vl, w(t), 1)
868
2129
  ])
869
2130
  ])
870
2131
  ]));
871
2132
  }
872
- }), Qe = { class: "sl-flex sl-items-center sl-gap-4" }, Xe = {
2133
+ }), kl = { class: "sl-flex sl-items-center sl-gap-4" }, wl = {
873
2134
  key: 0,
874
2135
  class: "sl-flex-shrink-0 sl-flex sl-items-center sl-justify-center"
875
- }, es = { class: "sl-flex-1 sl-min-w-0" }, ss = {
2136
+ }, Cl = { class: "sl-flex-1 sl-min-w-0" }, $l = {
876
2137
  key: 0,
877
2138
  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 = {
2139
+ }, _l = { class: "sl-text-base sl-font-semibold sl-text-gray-900 dark:sl-text-white sl-truncate" }, Il = {
879
2140
  key: 0,
880
2141
  class: "sl-flex-shrink-0"
881
- }, os = {
2142
+ }, Sl = {
882
2143
  key: 1,
883
2144
  class: "sl-mt-0.5 sl-text-sm sl-text-gray-500 dark:sl-text-gray-300 sl-truncate"
884
- }, as = {
2145
+ }, zl = {
885
2146
  key: 1,
886
2147
  class: "sl-flex sl-items-center sl-gap-2 sl-flex-shrink-0"
887
- }, rs = ["aria-expanded"], ns = {
2148
+ }, Tl = ["aria-expanded"], Ll = {
888
2149
  key: 1,
889
2150
  class: "sl-border-t sl-border-gray-200 dark:sl-border-gray-700"
890
- }, is = { class: "sl-overflow-hidden" }, ds = {
2151
+ }, Ml = { class: "sl-overflow-hidden" }, Pl = {
891
2152
  key: 0,
892
2153
  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 = {
2154
+ }, El = { class: "sl-flex sl-items-center sl-justify-between sl-gap-4" }, Al = {
894
2155
  key: 0,
895
2156
  class: "sl-flex-1 sl-min-w-0"
896
- }, fs = {
2157
+ }, Dl = {
897
2158
  key: 1,
898
2159
  class: "sl-flex-1"
899
- }, ms = {
2160
+ }, Fl = {
900
2161
  key: 2,
901
2162
  class: "sl-flex sl-items-center sl-gap-3 sl-flex-shrink-0"
902
- }, ps = {
2163
+ }, Nl = {
903
2164
  key: 0,
904
2165
  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 = {
2166
+ }, Ul = { class: "sl-flex sl-items-center sl-justify-between sl-gap-4" }, Vl = {
906
2167
  key: 0,
907
2168
  class: "sl-flex-1 sl-min-w-0"
908
- }, hs = {
2169
+ }, Bl = {
909
2170
  key: 1,
910
2171
  class: "sl-flex-1"
911
- }, ys = {
2172
+ }, jl = {
912
2173
  key: 2,
913
2174
  class: "sl-flex sl-items-center sl-gap-3 sl-flex-shrink-0"
914
- }, bs = {
2175
+ }, Ol = {
915
2176
  key: 0,
916
2177
  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 = {
2178
+ }, Rl = { class: "sl-flex sl-flex-col sl-items-center sl-gap-3" }, Hl = {
918
2179
  class: "sl-animate-spin sl-h-8 sl-w-8",
919
2180
  style: { color: "var(--sl-color-primary-600, #4f46e5)" },
920
2181
  fill: "none",
921
2182
  viewBox: "0 0 24 24"
922
- }, ks = {
2183
+ }, Gl = {
923
2184
  key: 0,
924
2185
  class: "sl-text-sm sl-font-medium sl-text-gray-600 dark:sl-text-gray-300"
925
- }, ws = /* @__PURE__ */ T({
2186
+ }, Kl = /* @__PURE__ */ F({
926
2187
  __name: "CardLayout",
927
2188
  props: {
928
2189
  variant: { default: "elevated" },
@@ -946,31 +2207,31 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
946
2207
  noPadding: { type: Boolean, default: !1 }
947
2208
  },
948
2209
  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;
2210
+ setup(e, { expose: t, emit: a }) {
2211
+ const l = e, d = a, u = Pe(), n = K(l.collapsed);
2212
+ de(() => l.collapsed, (f) => {
2213
+ n.value = f;
953
2214
  });
954
- const u = y(() => a.value), C = () => {
955
- 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 = [
2215
+ const o = b(() => n.value), g = () => {
2216
+ n.value = !n.value, d("update:collapsed", n.value), n.value ? d("collapse") : d("expand");
2217
+ }, y = b(() => l.showHeader !== void 0 ? l.showHeader : !!(u.header || u["header-icon"] || u["header-title"] || u["header-subtitle"] || u["header-badge"] || u["header-actions"] || l.collapsible)), v = b(() => l.showFooter !== void 0 ? l.showFooter : !!(u.footer || u["footer-left"] || u["footer-actions"])), z = b(() => {
2218
+ const f = [
958
2219
  "sl-relative",
959
2220
  "sl-flex",
960
2221
  "sl-flex-col"
961
2222
  ];
962
- switch (l.fullHeight && n.push("sl-h-full"), l.variant) {
2223
+ switch (l.fullHeight && f.push("sl-h-full"), l.variant) {
963
2224
  case "elevated":
964
- n.push("sl-bg-white", "dark:sl-bg-gray-800");
2225
+ f.push("sl-bg-white", "dark:sl-bg-gray-800");
965
2226
  break;
966
2227
  case "outlined":
967
- n.push("sl-bg-white", "dark:sl-bg-gray-800", "sl-border", "sl-border-gray-200", "dark:sl-border-gray-700");
2228
+ f.push("sl-bg-white", "dark:sl-bg-gray-800", "sl-border", "sl-border-gray-200", "dark:sl-border-gray-700");
968
2229
  break;
969
2230
  case "flat":
970
- n.push("sl-bg-transparent");
2231
+ f.push("sl-bg-transparent");
971
2232
  break;
972
2233
  case "filled":
973
- n.push("sl-bg-gray-50", "dark:sl-bg-gray-800/50");
2234
+ f.push("sl-bg-gray-50", "dark:sl-bg-gray-800/50");
974
2235
  break;
975
2236
  }
976
2237
  if (l.variant === "elevated") {
@@ -981,9 +2242,9 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
981
2242
  lg: "sl-shadow-lg",
982
2243
  xl: "sl-shadow-xl"
983
2244
  };
984
- P[l.shadow] && n.push(P[l.shadow]);
2245
+ P[l.shadow] && f.push(P[l.shadow]);
985
2246
  }
986
- const M = {
2247
+ const x = {
987
2248
  none: "",
988
2249
  sm: "sl-rounded-sm",
989
2250
  md: "sl-rounded-md",
@@ -992,99 +2253,99 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
992
2253
  "2xl": "sl-rounded-2xl",
993
2254
  full: "sl-rounded-3xl"
994
2255
  };
995
- return M[l.rounded] && n.push(M[l.rounded]), l.hoverable && n.push(
2256
+ return x[l.rounded] && f.push(x[l.rounded]), l.hoverable && f.push(
996
2257
  "sl-transition-shadow",
997
2258
  "sl-duration-200",
998
2259
  "hover:sl-shadow-lg",
999
2260
  "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(() => ({
2261
+ ), l.bgClass && f.push(l.bgClass), l.scrollable && f.push("sl-overflow-hidden"), f;
2262
+ }), h = b(() => {
2263
+ const f = {};
2264
+ return l.scrollable && l.maxHeight && (f.maxHeight = l.maxHeight), f;
2265
+ }), r = b(() => ({
1005
2266
  compact: { x: "sl-px-3", y: "sl-py-2" },
1006
2267
  default: { x: "sl-px-4 sm:sl-px-6", y: "sl-py-4" },
1007
2268
  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(() => {
2269
+ })[l.size]), c = b(() => [r.value.x, r.value.y]), p = b(() => {
1009
2270
  if (l.noPadding)
1010
2271
  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 = {
2272
+ const f = [r.value.x, r.value.y];
2273
+ return l.scrollable && f.push("sl-flex-1", "sl-min-h-0"), f;
2274
+ }), $ = b(() => {
2275
+ const f = {
1015
2276
  compact: "sl-py-2",
1016
2277
  default: "sl-py-3",
1017
2278
  spacious: "sl-py-4"
1018
2279
  };
1019
- return [c.value.x, n[l.size], "sl-bg-gray-50/50 dark:sl-bg-gray-800/50"];
2280
+ return [r.value.x, f[l.size], "sl-bg-gray-50/50 dark:sl-bg-gray-800/50"];
1020
2281
  });
1021
- return e({
1022
- toggleCollapse: C,
1023
- isCollapsed: u
1024
- }), (n, M) => (i(), d("div", {
1025
- class: v([
2282
+ return t({
2283
+ toggleCollapse: g,
2284
+ isCollapsed: o
2285
+ }), (f, x) => (i(), m("div", {
2286
+ class: E([
1026
2287
  "sl-card-layout",
1027
- L.value,
1028
- { "sl-cursor-pointer": t.hoverable }
2288
+ z.value,
2289
+ { "sl-cursor-pointer": e.hoverable }
1029
2290
  ]),
1030
- style: k(I.value)
2291
+ style: O(h.value)
1031
2292
  }, [
1032
- w.value ? (i(), d("div", {
2293
+ y.value ? (i(), m("div", {
1033
2294
  key: 0,
1034
- class: v([
2295
+ class: E([
1035
2296
  "sl-card-header",
1036
- h.value,
1037
- { "sl-sticky sl-top-0 sl-z-10 sl-bg-inherit": t.headerSticky && t.scrollable }
2297
+ c.value,
2298
+ { "sl-sticky sl-top-0 sl-z-10 sl-bg-inherit": e.headerSticky && e.scrollable }
1038
2299
  ])
1039
2300
  }, [
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)
2301
+ M(f.$slots, "header", {}, () => [
2302
+ s("div", kl, [
2303
+ f.$slots["header-icon"] ? (i(), m("div", wl, [
2304
+ M(f.$slots, "header-icon", {}, void 0, !0)
2305
+ ])) : k("", !0),
2306
+ s("div", Cl, [
2307
+ f.$slots["header-title"] ? (i(), m("div", $l, [
2308
+ s("h3", _l, [
2309
+ M(f.$slots, "header-title", {}, void 0, !0)
1049
2310
  ]),
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)
2311
+ f.$slots["header-badge"] ? (i(), m("div", Il, [
2312
+ M(f.$slots, "header-badge", {}, void 0, !0)
2313
+ ])) : k("", !0)
2314
+ ])) : k("", !0),
2315
+ f.$slots["header-subtitle"] ? (i(), m("p", Sl, [
2316
+ M(f.$slots, "header-subtitle", {}, void 0, !0)
2317
+ ])) : k("", !0)
1057
2318
  ]),
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", {
2319
+ f.$slots["header-actions"] || e.collapsible ? (i(), m("div", zl, [
2320
+ M(f.$slots, "header-actions", {}, void 0, !0),
2321
+ e.collapsible ? (i(), m("button", {
1061
2322
  key: 0,
1062
2323
  type: "button",
1063
- onClick: C,
2324
+ onClick: g,
1064
2325
  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,
2326
+ "aria-expanded": !o.value,
1066
2327
  "aria-label": "Toggle content"
1067
2328
  }, [
1068
- (i(), d("svg", {
1069
- class: v(["sl-h-5 sl-w-5 sl-transition-transform sl-duration-200", { "sl-rotate-180": !u.value }]),
2329
+ (i(), m("svg", {
2330
+ class: E(["sl-h-5 sl-w-5 sl-transition-transform sl-duration-200", { "sl-rotate-180": !o.value }]),
1070
2331
  fill: "none",
1071
2332
  viewBox: "0 0 24 24",
1072
2333
  stroke: "currentColor",
1073
2334
  "stroke-width": "2"
1074
- }, [...M[0] || (M[0] = [
2335
+ }, [...x[0] || (x[0] = [
1075
2336
  s("path", {
1076
2337
  "stroke-linecap": "round",
1077
2338
  "stroke-linejoin": "round",
1078
2339
  d: "M19 9l-7 7-7-7"
1079
2340
  }, null, -1)
1080
2341
  ])], 2))
1081
- ], 8, rs)) : g("", !0)
1082
- ])) : g("", !0)
2342
+ ], 8, Tl)) : k("", !0)
2343
+ ])) : k("", !0)
1083
2344
  ])
1084
2345
  ], !0)
1085
- ], 2)) : g("", !0),
1086
- w.value && t.divided && !u.value ? (i(), d("div", ns)) : g("", !0),
1087
- t.collapsible ? (i(), W(U, {
2346
+ ], 2)) : k("", !0),
2347
+ y.value && e.divided && !o.value ? (i(), m("div", Ll)) : k("", !0),
2348
+ e.collapsible ? (i(), D(we, {
1088
2349
  key: 2,
1089
2350
  "enter-active-class": "sl-transition-all sl-duration-200 sl-ease-out",
1090
2351
  "enter-from-class": "sl-opacity-0 sl-max-h-0",
@@ -1093,80 +2354,80 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1093
2354
  "leave-from-class": "sl-opacity-100",
1094
2355
  "leave-to-class": "sl-opacity-0 sl-max-h-0"
1095
2356
  }, {
1096
- default: b(() => [
1097
- D(s("div", is, [
2357
+ default: T(() => [
2358
+ me(s("div", Ml, [
1098
2359
  s("div", {
1099
- class: v([
2360
+ class: E([
1100
2361
  "sl-card-body",
1101
- E.value,
1102
- { "sl-overflow-y-auto": t.scrollable }
2362
+ p.value,
2363
+ { "sl-overflow-y-auto": e.scrollable }
1103
2364
  ]),
1104
- style: k(t.scrollable && t.maxHeight ? { maxHeight: t.maxHeight } : {})
2365
+ style: O(e.scrollable && e.maxHeight ? { maxHeight: e.maxHeight } : {})
1105
2366
  }, [
1106
- p(n.$slots, "body", {}, () => [
1107
- p(n.$slots, "default", {}, void 0, !0)
2367
+ M(f.$slots, "body", {}, () => [
2368
+ M(f.$slots, "default", {}, void 0, !0)
1108
2369
  ], !0)
1109
2370
  ], 6),
1110
- $.value && t.divided ? (i(), d("div", ds)) : g("", !0),
1111
- $.value ? (i(), d("div", {
2371
+ v.value && e.divided ? (i(), m("div", Pl)) : k("", !0),
2372
+ v.value ? (i(), m("div", {
1112
2373
  key: 1,
1113
- class: v([
2374
+ class: E([
1114
2375
  "sl-card-footer",
1115
- z.value,
1116
- { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": t.footerSticky && t.scrollable }
2376
+ $.value,
2377
+ { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": e.footerSticky && e.scrollable }
1117
2378
  ])
1118
2379
  }, [
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)
2380
+ M(f.$slots, "footer", {}, () => [
2381
+ s("div", El, [
2382
+ f.$slots["footer-left"] ? (i(), m("div", Al, [
2383
+ M(f.$slots, "footer-left", {}, void 0, !0)
2384
+ ])) : (i(), m("div", Dl)),
2385
+ f.$slots["footer-actions"] ? (i(), m("div", Fl, [
2386
+ M(f.$slots, "footer-actions", {}, void 0, !0)
2387
+ ])) : k("", !0)
1127
2388
  ])
1128
2389
  ], !0)
1129
- ], 2)) : g("", !0)
2390
+ ], 2)) : k("", !0)
1130
2391
  ], 512), [
1131
- [ee, !u.value]
2392
+ [Ze, !o.value]
1132
2393
  ])
1133
2394
  ]),
1134
2395
  _: 3
1135
- })) : (i(), d(j, { key: 3 }, [
2396
+ })) : (i(), m(G, { key: 3 }, [
1136
2397
  s("div", {
1137
- class: v([
2398
+ class: E([
1138
2399
  "sl-card-body",
1139
- E.value,
1140
- { "sl-overflow-y-auto": t.scrollable }
2400
+ p.value,
2401
+ { "sl-overflow-y-auto": e.scrollable }
1141
2402
  ]),
1142
- style: k(t.scrollable && t.maxHeight ? { maxHeight: t.maxHeight } : {})
2403
+ style: O(e.scrollable && e.maxHeight ? { maxHeight: e.maxHeight } : {})
1143
2404
  }, [
1144
- p(n.$slots, "body", {}, () => [
1145
- p(n.$slots, "default", {}, void 0, !0)
2405
+ M(f.$slots, "body", {}, () => [
2406
+ M(f.$slots, "default", {}, void 0, !0)
1146
2407
  ], !0)
1147
2408
  ], 6),
1148
- $.value && t.divided ? (i(), d("div", ps)) : g("", !0),
1149
- $.value ? (i(), d("div", {
2409
+ v.value && e.divided ? (i(), m("div", Nl)) : k("", !0),
2410
+ v.value ? (i(), m("div", {
1150
2411
  key: 1,
1151
- class: v([
2412
+ class: E([
1152
2413
  "sl-card-footer",
1153
- z.value,
1154
- { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": t.footerSticky && t.scrollable }
2414
+ $.value,
2415
+ { "sl-sticky sl-bottom-0 sl-z-10 sl-bg-inherit": e.footerSticky && e.scrollable }
1155
2416
  ])
1156
2417
  }, [
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)
2418
+ M(f.$slots, "footer", {}, () => [
2419
+ s("div", Ul, [
2420
+ f.$slots["footer-left"] ? (i(), m("div", Vl, [
2421
+ M(f.$slots, "footer-left", {}, void 0, !0)
2422
+ ])) : (i(), m("div", Bl)),
2423
+ f.$slots["footer-actions"] ? (i(), m("div", jl, [
2424
+ M(f.$slots, "footer-actions", {}, void 0, !0)
2425
+ ])) : k("", !0)
1165
2426
  ])
1166
2427
  ], !0)
1167
- ], 2)) : g("", !0)
2428
+ ], 2)) : k("", !0)
1168
2429
  ], 64)),
1169
- m(U, {
2430
+ C(we, {
1170
2431
  "enter-active-class": "sl-transition-opacity sl-duration-200",
1171
2432
  "enter-from-class": "sl-opacity-0",
1172
2433
  "enter-to-class": "sl-opacity-100",
@@ -1174,11 +2435,11 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1174
2435
  "leave-from-class": "sl-opacity-100",
1175
2436
  "leave-to-class": "sl-opacity-0"
1176
2437
  }, {
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] = [
2438
+ default: T(() => [
2439
+ e.loading ? (i(), m("div", Ol, [
2440
+ M(f.$slots, "loading", {}, () => [
2441
+ s("div", Rl, [
2442
+ (i(), m("svg", Hl, [...x[1] || (x[1] = [
1182
2443
  s("circle", {
1183
2444
  class: "sl-opacity-25",
1184
2445
  cx: "12",
@@ -1193,89 +2454,89 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1193
2454
  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
2455
  }, null, -1)
1195
2456
  ])])),
1196
- t.loadingText ? (i(), d("span", ks, x(t.loadingText), 1)) : g("", !0)
2457
+ e.loadingText ? (i(), m("span", Gl, w(e.loadingText), 1)) : k("", !0)
1197
2458
  ])
1198
2459
  ], !0)
1199
- ])) : g("", !0)
2460
+ ])) : k("", !0)
1200
2461
  ]),
1201
2462
  _: 3
1202
2463
  })
1203
2464
  ], 6));
1204
2465
  }
1205
- }), bt = /* @__PURE__ */ J(ws, [["__scopeId", "data-v-a1ea2aac"]]), $s = "sl-text-sm", vt = /* @__PURE__ */ T({
2466
+ }), ur = /* @__PURE__ */ Z(Kl, [["__scopeId", "data-v-a1ea2aac"]]), Wl = "sl-text-sm", mr = /* @__PURE__ */ F({
1206
2467
  __name: "InfoCard",
1207
2468
  props: {
1208
2469
  title: { default: "" },
1209
2470
  variant: { default: "info" }
1210
2471
  },
1211
- setup(t) {
1212
- const e = t, o = y(() => ({
2472
+ setup(e) {
2473
+ const t = e, a = b(() => ({
1213
2474
  info: { bg: "var(--info-bg, #eff6ff)", border: "var(--info-border, #bfdbfe)" },
1214
2475
  warning: { bg: "var(--warning-bg, #fffbeb)", border: "var(--warning-border, #fcd34d)" },
1215
2476
  success: { bg: "var(--success-bg, #f0fdf4)", border: "var(--success-border, #86efac)" },
1216
2477
  error: { bg: "var(--error-bg, #fef2f2)", border: "var(--error-border, #fca5a5)" }
1217
- })[e.variant]), l = y(() => ({ color: {
2478
+ })[t.variant]), l = b(() => ({ color: {
1218
2479
  info: "var(--info-title)",
1219
2480
  warning: "var(--warning-title)",
1220
2481
  success: "var(--success-title)",
1221
2482
  error: "var(--error-title)"
1222
- }[e.variant] })), r = y(() => ({ color: {
2483
+ }[t.variant] })), d = b(() => ({ color: {
1223
2484
  info: "var(--info-text)",
1224
2485
  warning: "var(--warning-text)",
1225
2486
  success: "var(--success-text)",
1226
2487
  error: "var(--error-text)"
1227
- }[e.variant] }));
1228
- return (f, a) => (i(), d("div", {
2488
+ }[t.variant] }));
2489
+ return (u, n) => (i(), m("div", {
1229
2490
  class: "sl-rounded-xl sl-border sl-p-4",
1230
- style: k({ backgroundColor: o.value.bg, borderColor: o.value.border })
2491
+ style: O({ backgroundColor: a.value.bg, borderColor: a.value.border })
1231
2492
  }, [
1232
- t.title ? (i(), d("h3", {
2493
+ e.title ? (i(), m("h3", {
1233
2494
  key: 0,
1234
2495
  class: "sl-font-medium sl-mb-2",
1235
- style: k(l.value)
1236
- }, x(t.title), 5)) : g("", !0),
2496
+ style: O(l.value)
2497
+ }, w(e.title), 5)) : k("", !0),
1237
2498
  s("div", {
1238
- class: v($s),
1239
- style: k(r.value)
2499
+ class: E(Wl),
2500
+ style: O(d.value)
1240
2501
  }, [
1241
- p(f.$slots, "default")
2502
+ M(u.$slots, "default")
1242
2503
  ], 4)
1243
2504
  ], 4));
1244
2505
  }
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({
2506
+ }), Yl = { class: "sl-space-y-4" }, Xl = { class: "sl-text-xl sl-font-semibold sl-text-slate-900 dark:sl-text-white" }, ql = { class: "sl-overflow-x-auto" }, Jl = { class: "sl-min-w-full sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, Zl = { class: "sl-bg-slate-50 dark:sl-bg-slate-900" }, Ql = { class: "sl-divide-y sl-divide-slate-200 dark:sl-divide-slate-700" }, ea = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-900 dark:sl-text-slate-100" }, ta = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, sa = { class: "sl-px-6 sl-py-4 sl-text-sm sl-font-mono sl-text-slate-500 dark:sl-text-slate-300" }, la = { class: "sl-px-6 sl-py-4 sl-text-sm sl-text-slate-600 dark:sl-text-slate-300" }, fr = /* @__PURE__ */ F({
1246
2507
  __name: "PropsTable",
1247
2508
  props: {
1248
2509
  title: { default: "Props" },
1249
2510
  props: {}
1250
2511
  },
1251
- setup(t) {
1252
- const e = ["Prop", "Type", "Default", "Description"];
1253
- return (o, l) => (i(), d("section", _s, [
1254
- s("h2", Ss, x(t.title), 1),
2512
+ setup(e) {
2513
+ const t = ["Prop", "Type", "Default", "Description"];
2514
+ return (a, l) => (i(), m("section", Yl, [
2515
+ s("h2", Xl, w(e.title), 1),
1255
2516
  s("div", {
1256
- class: v(["sl-rounded-xl sl-shadow-sm sl-border sl-overflow-hidden", [
2517
+ class: E(["sl-rounded-xl sl-shadow-sm sl-border sl-overflow-hidden", [
1257
2518
  "sl-bg-white dark:sl-bg-slate-800",
1258
2519
  "sl-border-slate-200 dark:sl-border-slate-700"
1259
2520
  ]])
1260
2521
  }, [
1261
- s("div", Ts, [
1262
- s("table", Is, [
1263
- s("thead", Ms, [
2522
+ s("div", ql, [
2523
+ s("table", Jl, [
2524
+ s("thead", Zl, [
1264
2525
  s("tr", null, [
1265
- (i(), d(j, null, B(e, (r) => s("th", {
1266
- 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))
2526
+ (i(), m(G, null, Y(t, (d) => s("th", {
2527
+ key: d,
2528
+ class: E(["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"])
2529
+ }, w(d), 1)), 64))
1269
2530
  ])
1270
2531
  ]),
1271
- s("tbody", Vs, [
1272
- (i(!0), d(j, null, B(t.props, (r) => (i(), d("tr", {
1273
- key: r.name
2532
+ s("tbody", Ql, [
2533
+ (i(!0), m(G, null, Y(e.props, (d) => (i(), m("tr", {
2534
+ key: d.name
1274
2535
  }, [
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)
2536
+ s("td", ea, w(d.name), 1),
2537
+ s("td", ta, w(d.type), 1),
2538
+ s("td", sa, w(d.default), 1),
2539
+ s("td", la, w(d.description), 1)
1279
2540
  ]))), 128))
1280
2541
  ])
1281
2542
  ])
@@ -1283,21 +2544,21 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1283
2544
  ])
1284
2545
  ]));
1285
2546
  }
1286
- }), Es = {
2547
+ }), aa = {
1287
2548
  class: "sl-rounded-xl sl-shadow-sm sl-border sl-overflow-hidden",
1288
2549
  style: { backgroundColor: "var(--sl-surface-elevated)", borderColor: "var(--sl-border-default)" }
1289
- }, Fs = {
2550
+ }, oa = {
1290
2551
  key: 0,
1291
2552
  class: "sl-px-6 sl-py-4 sl-border-b",
1292
2553
  style: { backgroundColor: "var(--sl-surface-sunken)", borderColor: "var(--sl-border-default)" }
1293
- }, Ds = {
2554
+ }, ra = {
1294
2555
  class: "sl-text-lg sl-font-semibold",
1295
2556
  style: { color: "var(--sl-text-primary)" }
1296
- }, zs = {
2557
+ }, na = {
1297
2558
  key: 0,
1298
2559
  class: "sl-text-sm sl-mt-1",
1299
2560
  style: { color: "var(--sl-text-muted)" }
1300
- }, kt = /* @__PURE__ */ T({
2561
+ }, pr = /* @__PURE__ */ F({
1301
2562
  __name: "ShowcaseCard",
1302
2563
  props: {
1303
2564
  title: { default: "" },
@@ -1305,36 +2566,36 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1305
2566
  contentClass: { default: "" },
1306
2567
  padded: { type: Boolean, default: !0 }
1307
2568
  },
1308
- setup(t) {
1309
- const e = t, o = y(() => {
2569
+ setup(e) {
2570
+ const t = e, a = b(() => {
1310
2571
  const l = [];
1311
- return e.padded && l.push("sl-p-6"), e.contentClass && l.push(e.contentClass), l.join(" ");
2572
+ return t.padded && l.push("sl-p-6"), t.contentClass && l.push(t.contentClass), l.join(" ");
1312
2573
  });
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)
2574
+ return (l, d) => (i(), m("div", aa, [
2575
+ e.title || l.$slots.header ? (i(), m("div", oa, [
2576
+ M(l.$slots, "header", {}, () => [
2577
+ s("h2", ra, w(e.title), 1),
2578
+ e.description ? (i(), m("p", na, w(e.description), 1)) : k("", !0)
1318
2579
  ])
1319
- ])) : g("", !0),
2580
+ ])) : k("", !0),
1320
2581
  s("div", {
1321
- class: v(o.value)
2582
+ class: E(a.value)
1322
2583
  }, [
1323
- p(l.$slots, "default")
2584
+ M(l.$slots, "default")
1324
2585
  ], 2)
1325
2586
  ]));
1326
2587
  }
1327
- }), Ps = { class: "sl-space-y-8" }, Ns = { class: "sl-space-y-2" }, Us = {
2588
+ }), ia = { class: "sl-space-y-8" }, da = { class: "sl-space-y-2" }, ca = {
1328
2589
  class: "sl-text-3xl sl-font-bold",
1329
2590
  style: { color: "var(--sl-text-primary)" }
1330
- }, Os = {
2591
+ }, ua = {
1331
2592
  class: "sl-text-lg",
1332
2593
  style: { color: "var(--sl-text-muted)" }
1333
- }, Rs = {
2594
+ }, ma = {
1334
2595
  key: 0,
1335
2596
  class: "sl-flex sl-flex-wrap sl-gap-2 sl-pb-4",
1336
2597
  style: { borderBottom: "1px solid var(--sl-border-default)" }
1337
- }, Hs = ["onClick"], Gs = { class: "sl-space-y-8" }, wt = /* @__PURE__ */ T({
2598
+ }, fa = ["onClick"], pa = { class: "sl-space-y-8" }, gr = /* @__PURE__ */ F({
1338
2599
  __name: "ShowcaseLayout",
1339
2600
  props: {
1340
2601
  title: {},
@@ -1343,59 +2604,642 @@ const be = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
1343
2604
  modelValue: { default: "" }
1344
2605
  },
1345
2606
  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 ? {
1350
- backgroundColor: r.value ? "#ffffff" : "#0f172a",
1351
- color: r.value ? "#0f172a" : "#ffffff",
2607
+ setup(e, { emit: t }) {
2608
+ const a = e, l = t, { isDark: d } = Ee(), u = (o) => {
2609
+ l("update:modelValue", o);
2610
+ }, n = (o) => a.modelValue === o ? {
2611
+ backgroundColor: d.value ? "#ffffff" : "#0f172a",
2612
+ color: d.value ? "#0f172a" : "#ffffff",
1352
2613
  boxShadow: "0 1px 2px 0 rgb(0 0 0 / 0.05)"
1353
2614
  } : {
1354
2615
  backgroundColor: "transparent",
1355
2616
  color: "var(--sl-text-muted)"
1356
2617
  };
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")
2618
+ return (o, g) => (i(), m("div", ia, [
2619
+ s("header", da, [
2620
+ s("h1", ca, w(e.title), 1),
2621
+ s("p", ua, w(e.description), 1),
2622
+ M(o.$slots, "header-extra")
1362
2623
  ]),
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),
2624
+ e.variants && e.variants.length > 0 ? (i(), m("nav", ma, [
2625
+ (i(!0), m(G, null, Y(e.variants, (y) => (i(), m("button", {
2626
+ key: y.id,
2627
+ onClick: (v) => u(y.id),
1367
2628
  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")
2629
+ style: O(n(y.id))
2630
+ }, w(y.label || y.name), 13, fa))), 128))
2631
+ ])) : k("", !0),
2632
+ s("div", pa, [
2633
+ M(o.$slots, "content", {}, () => [
2634
+ M(o.$slots, "default")
1374
2635
  ])
1375
2636
  ]),
1376
- p(u.$slots, "footer")
2637
+ M(o.$slots, "footer")
1377
2638
  ]));
1378
2639
  }
1379
- }), Ws = { class: "sl-space-y-4" }, Ys = {
2640
+ }), ga = { class: "sl-space-y-4" }, ya = {
1380
2641
  class: "sl-text-xl sl-font-semibold",
1381
2642
  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({
2643
+ }, ha = { class: "sl-rounded-xl sl-p-4 sl-overflow-auto sl-bg-slate-800 dark:sl-bg-slate-900" }, xa = { class: "sl-text-sm sl-text-slate-300 sl-font-mono" }, yr = /* @__PURE__ */ F({
1383
2644
  __name: "StateDisplay",
1384
2645
  props: {
1385
2646
  title: { default: "Current State" },
1386
2647
  state: {}
1387
2648
  },
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)
2649
+ setup(e) {
2650
+ const t = e, a = b(() => JSON.stringify(t.state, null, 2));
2651
+ return (l, d) => (i(), m("section", ga, [
2652
+ s("h2", ya, w(e.title), 1),
2653
+ s("div", ha, [
2654
+ s("pre", xa, w(a.value), 1)
1394
2655
  ])
1395
2656
  ]));
1396
2657
  }
1397
- });
1398
- class Zs {
2658
+ }), ba = { class: "sl-relative sl-z-10 sl-flex sl-flex-col sm:sl-flex-row sl-items-center sl-gap-6" }, va = { class: "sl-flex-shrink-0" }, ka = { class: "sl-relative" }, wa = ["src", "alt"], Ca = {
2659
+ key: 1,
2660
+ class: "sl-w-full sl-h-full sl-flex sl-items-center sl-justify-center sl-bg-white/20 sl-text-white sl-text-2xl sl-font-bold"
2661
+ }, $a = {
2662
+ key: 0,
2663
+ class: "sl-absolute sl--bottom-1 sl--right-1 sl-flex sl-items-center sl-justify-center sl-w-8 sl-h-8 sl-rounded-full sl-bg-red-500 sl-ring-4 sl-ring-white dark:sl-ring-gray-800"
2664
+ }, _a = { class: "sl-text-center sm:sl-text-left" }, Ia = { class: "sl-text-3xl sl-font-bold sl-text-white sl-tracking-tight" }, Sa = {
2665
+ key: 0,
2666
+ class: "sl-mt-1 sl-text-lg sl-text-white/80"
2667
+ }, za = {
2668
+ key: 1,
2669
+ class: "sl-mt-3"
2670
+ }, Ta = { class: "sl-inline-flex sl-items-center sl-gap-1.5 sl-px-3 sl-py-1 sl-rounded-full sl-text-sm sl-font-medium sl-bg-red-500/20 sl-text-white sl-border sl-border-red-400/30" }, La = /* @__PURE__ */ F({
2671
+ __name: "ProfileHeaderCard",
2672
+ props: {
2673
+ name: {},
2674
+ nickname: {},
2675
+ image: {},
2676
+ status: {},
2677
+ animationIndex: { default: 0 },
2678
+ animationEnabled: { type: Boolean, default: !0 }
2679
+ },
2680
+ setup(e) {
2681
+ const t = e, a = K(!1), l = b(() => t.status === "inactive"), d = b(() => a.value || !t.image ? null : typeof t.image == "string" ? t.image : t.image.secure_url || t.image.url || null), u = b(() => {
2682
+ if (!t.name) return "?";
2683
+ const g = t.name.split(" ").filter(Boolean);
2684
+ return g.length >= 2 ? `${g[0][0]}${g[g.length - 1][0]}`.toUpperCase() : t.name.substring(0, 2).toUpperCase();
2685
+ }), n = b(() => t.animationEnabled ? {
2686
+ animationDelay: `${t.animationIndex * 75}ms`
2687
+ } : {}), o = () => {
2688
+ a.value = !0;
2689
+ };
2690
+ return (g, y) => (i(), m("div", {
2691
+ class: E([
2692
+ "sl-profile-header-card",
2693
+ "sl-relative sl-overflow-hidden",
2694
+ "sl-rounded-2xl",
2695
+ "sl-shadow-lg",
2696
+ "sl-p-8",
2697
+ e.animationEnabled && "sl-opacity-0 sl-animate-[fadeInUp_0.4s_ease-out_forwards]"
2698
+ ]),
2699
+ style: O(n.value)
2700
+ }, [
2701
+ y[1] || (y[1] = s("div", { class: "sl-absolute sl-inset-0 sl-bg-gradient-to-br sl-from-primary-500 sl-via-primary-600 sl-to-primary-700 dark:sl-from-primary-600 dark:sl-via-primary-700 dark:sl-to-primary-800" }, null, -1)),
2702
+ y[2] || (y[2] = s("div", { class: "sl-absolute sl-top-0 sl-right-0 sl-w-64 sl-h-64 sl-bg-white/5 sl-rounded-full sl--translate-y-1/2 sl-translate-x-1/2" }, null, -1)),
2703
+ y[3] || (y[3] = s("div", { class: "sl-absolute sl-bottom-0 sl-left-0 sl-w-48 sl-h-48 sl-bg-white/5 sl-rounded-full sl-translate-y-1/2 sl--translate-x-1/2" }, null, -1)),
2704
+ s("div", ba, [
2705
+ s("div", va, [
2706
+ s("div", ka, [
2707
+ s("div", {
2708
+ class: E([
2709
+ "sl-w-24 sl-h-24 sl-rounded-full sl-overflow-hidden sl-shadow-xl",
2710
+ l.value ? "sl-ring-4 sl-ring-red-400/50" : "sl-ring-4 sl-ring-white/30"
2711
+ ])
2712
+ }, [
2713
+ d.value ? (i(), m("img", {
2714
+ key: 0,
2715
+ src: d.value,
2716
+ alt: e.name,
2717
+ class: "sl-w-full sl-h-full sl-object-cover",
2718
+ onError: o
2719
+ }, null, 40, wa)) : (i(), m("div", Ca, w(u.value), 1))
2720
+ ], 2),
2721
+ l.value ? (i(), m("span", $a, [
2722
+ C(_(Nt), { class: "sl-w-4 sl-h-4 sl-text-white" })
2723
+ ])) : k("", !0)
2724
+ ])
2725
+ ]),
2726
+ s("div", _a, [
2727
+ s("h1", Ia, w(e.name || "Unknown User"), 1),
2728
+ e.nickname ? (i(), m("p", Sa, w(e.nickname), 1)) : k("", !0),
2729
+ l.value ? (i(), m("div", za, [
2730
+ s("span", Ta, [
2731
+ C(_(Ut), { class: "sl-w-4 sl-h-4" }),
2732
+ y[0] || (y[0] = j(" Inactive ", -1))
2733
+ ])
2734
+ ])) : k("", !0)
2735
+ ])
2736
+ ])
2737
+ ], 6));
2738
+ }
2739
+ }), Ma = /* @__PURE__ */ Z(La, [["__scopeId", "data-v-a51f3fb7"]]), Pa = {
2740
+ key: 0,
2741
+ class: "sl-flex sl-items-center sl-gap-3 sl-border-b sl-border-gray-100 dark:sl-border-gray-700 sl-px-5 sl-py-4"
2742
+ }, Ea = {
2743
+ key: 1,
2744
+ class: "sl-text-sm sl-font-semibold sl-text-gray-900 dark:sl-text-gray-100"
2745
+ }, Aa = /* @__PURE__ */ F({
2746
+ __name: "ProfileCard",
2747
+ props: {
2748
+ title: {},
2749
+ icon: {},
2750
+ animationIndex: { default: 0 },
2751
+ animationDelay: { default: 75 },
2752
+ noPadding: { type: Boolean, default: !1 },
2753
+ animationEnabled: { type: Boolean, default: !0 }
2754
+ },
2755
+ setup(e) {
2756
+ const t = e, a = Pe(), l = b(() => t.title || t.icon || a.header), d = b(() => t.animationEnabled ? {
2757
+ animationDelay: `${t.animationIndex * t.animationDelay}ms`
2758
+ } : {});
2759
+ return (u, n) => (i(), m("div", {
2760
+ class: E([
2761
+ "sl-profile-card",
2762
+ "sl-relative sl-overflow-hidden",
2763
+ "sl-rounded-xl sl-bg-white dark:sl-bg-gray-800",
2764
+ "sl-shadow-sm sl-ring-1 sl-ring-gray-200 dark:sl-ring-gray-700",
2765
+ e.animationEnabled && "sl-opacity-0 sl-animate-[fadeInUp_0.4s_ease-out_forwards]"
2766
+ ]),
2767
+ style: O(d.value)
2768
+ }, [
2769
+ l.value ? (i(), m("div", Pa, [
2770
+ M(u.$slots, "header", {}, () => [
2771
+ e.icon ? (i(), D(ge(e.icon), {
2772
+ key: 0,
2773
+ class: "sl-h-5 sl-w-5 sl-text-primary-600 dark:sl-text-primary-400",
2774
+ "aria-hidden": "true"
2775
+ })) : k("", !0),
2776
+ e.title ? (i(), m("h3", Ea, w(e.title), 1)) : k("", !0)
2777
+ ], !0)
2778
+ ])) : k("", !0),
2779
+ s("div", {
2780
+ class: E([e.noPadding ? "" : "sl-p-5"])
2781
+ }, [
2782
+ M(u.$slots, "default", {}, void 0, !0)
2783
+ ], 2)
2784
+ ], 6));
2785
+ }
2786
+ }), le = /* @__PURE__ */ Z(Aa, [["__scopeId", "data-v-1b6c2c74"]]), Da = { class: "sl-space-y-4" }, Fa = {
2787
+ key: 0,
2788
+ class: "sl-flex sl-items-start sl-gap-3"
2789
+ }, Na = ["href"], Ua = {
2790
+ key: 1,
2791
+ class: "sl-flex sl-items-start sl-gap-3"
2792
+ }, Va = ["href"], Ba = {
2793
+ key: 2,
2794
+ class: "sl-flex sl-items-start sl-gap-3"
2795
+ }, ja = ["href"], Oa = /* @__PURE__ */ F({
2796
+ __name: "ProfileContactCard",
2797
+ props: {
2798
+ email: {},
2799
+ phone: {},
2800
+ website: {},
2801
+ animationIndex: { default: 1 },
2802
+ animationEnabled: { type: Boolean, default: !0 }
2803
+ },
2804
+ setup(e) {
2805
+ const t = e, a = b(() => {
2806
+ if (!t.phone) return "";
2807
+ const u = t.phone.replace(/\D/g, "");
2808
+ return u.length === 10 ? `(${u.slice(0, 3)}) ${u.slice(3, 6)}-${u.slice(6)}` : u.length === 11 && u.startsWith("1") ? `+1 (${u.slice(1, 4)}) ${u.slice(4, 7)}-${u.slice(7)}` : t.phone;
2809
+ }), l = b(() => t.website ? t.website.startsWith("http://") || t.website.startsWith("https://") ? t.website : `https://${t.website}` : ""), d = b(() => t.website ? t.website.replace(/^https?:\/\//, "").replace(/\/$/, "") : "");
2810
+ return (u, n) => (i(), D(le, {
2811
+ title: "Contact",
2812
+ icon: _(_e),
2813
+ "animation-index": e.animationIndex,
2814
+ "animation-enabled": e.animationEnabled
2815
+ }, {
2816
+ default: T(() => [
2817
+ s("div", Da, [
2818
+ e.email ? (i(), m("div", Fa, [
2819
+ C(_(pt), { class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-gray-500 sl-flex-shrink-0 sl-mt-0.5" }),
2820
+ s("div", null, [
2821
+ n[0] || (n[0] = s("p", { class: "sl-text-xs sl-font-medium sl-uppercase sl-text-gray-500 dark:sl-text-gray-400" }, "Email", -1)),
2822
+ s("a", {
2823
+ href: `mailto:${e.email}`,
2824
+ class: "sl-text-sm sl-text-gray-900 dark:sl-text-gray-100 hover:sl-text-primary-600 dark:hover:sl-text-primary-400"
2825
+ }, w(e.email), 9, Na)
2826
+ ])
2827
+ ])) : k("", !0),
2828
+ e.phone ? (i(), m("div", Ua, [
2829
+ C(_(_e), { class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-gray-500 sl-flex-shrink-0 sl-mt-0.5" }),
2830
+ s("div", null, [
2831
+ n[1] || (n[1] = s("p", { class: "sl-text-xs sl-font-medium sl-uppercase sl-text-gray-500 dark:sl-text-gray-400" }, "Phone", -1)),
2832
+ s("a", {
2833
+ href: `tel:${e.phone}`,
2834
+ class: "sl-text-sm sl-text-primary-600 dark:sl-text-primary-400 hover:sl-underline"
2835
+ }, w(a.value), 9, Va)
2836
+ ])
2837
+ ])) : k("", !0),
2838
+ e.website ? (i(), m("div", Ba, [
2839
+ C(_(gt), { class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-gray-500 sl-flex-shrink-0 sl-mt-0.5" }),
2840
+ s("div", null, [
2841
+ n[2] || (n[2] = s("p", { class: "sl-text-xs sl-font-medium sl-uppercase sl-text-gray-500 dark:sl-text-gray-400" }, "Website", -1)),
2842
+ s("a", {
2843
+ href: l.value,
2844
+ target: "_blank",
2845
+ rel: "noopener noreferrer",
2846
+ class: "sl-text-sm sl-text-primary-600 dark:sl-text-primary-400 hover:sl-underline"
2847
+ }, w(d.value), 9, ja)
2848
+ ])
2849
+ ])) : k("", !0)
2850
+ ])
2851
+ ]),
2852
+ _: 1
2853
+ }, 8, ["icon", "animation-index", "animation-enabled"]));
2854
+ }
2855
+ }), Ra = { class: "sl-flex sl-items-center sl-gap-3" }, Ha = { class: "sl-text-sm sl-text-gray-900 dark:sl-text-gray-100" }, Ga = /* @__PURE__ */ F({
2856
+ __name: "ProfilePersonalCard",
2857
+ props: {
2858
+ birthday: {},
2859
+ animationIndex: { default: 2 },
2860
+ animationEnabled: { type: Boolean, default: !0 }
2861
+ },
2862
+ setup(e) {
2863
+ const t = e, a = b(() => {
2864
+ if (!t.birthday) return "Not specified";
2865
+ let l;
2866
+ return typeof t.birthday == "string" ? l = re(t.birthday) : l = t.birthday, J(l) ? q(l, "MMMM d, yyyy") : "Not specified";
2867
+ });
2868
+ return (l, d) => (i(), D(le, {
2869
+ title: "Personal",
2870
+ icon: _(De),
2871
+ "animation-index": e.animationIndex,
2872
+ "animation-enabled": e.animationEnabled
2873
+ }, {
2874
+ default: T(() => [
2875
+ s("div", Ra, [
2876
+ C(_(yt), { class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-gray-500" }),
2877
+ s("div", null, [
2878
+ d[0] || (d[0] = s("p", { class: "sl-text-xs sl-font-medium sl-uppercase sl-text-gray-500 dark:sl-text-gray-400" }, "Birthday", -1)),
2879
+ s("p", Ha, w(a.value), 1)
2880
+ ])
2881
+ ])
2882
+ ]),
2883
+ _: 1
2884
+ }, 8, ["icon", "animation-index", "animation-enabled"]));
2885
+ }
2886
+ }), Ka = { class: "sl-space-y-4" }, Wa = {
2887
+ key: 0,
2888
+ class: "sl-flex sl-items-start sl-gap-3"
2889
+ }, Ya = {
2890
+ key: 0,
2891
+ class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100"
2892
+ }, Xa = {
2893
+ key: 1,
2894
+ class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400"
2895
+ }, qa = {
2896
+ key: 1,
2897
+ class: "sl-flex sl-items-center sl-gap-3"
2898
+ }, Ja = ["href"], Za = /* @__PURE__ */ F({
2899
+ __name: "ProfileProfessionalCard",
2900
+ props: {
2901
+ professional: {},
2902
+ animationIndex: { default: 3 },
2903
+ animationEnabled: { type: Boolean, default: !0 }
2904
+ },
2905
+ setup(e) {
2906
+ const t = () => ne("svg", {
2907
+ viewBox: "0 0 24 24",
2908
+ fill: "currentColor",
2909
+ class: "sl-w-5 sl-h-5"
2910
+ }, [
2911
+ ne("path", {
2912
+ d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
2913
+ })
2914
+ ]), a = e, l = b(() => a.professional?.title || a.professional?.company), d = b(() => {
2915
+ if (!a.professional?.linkedin) return "";
2916
+ const u = a.professional.linkedin;
2917
+ return u.startsWith("http") ? u : u.startsWith("linkedin.com") ? `https://${u}` : `https://linkedin.com/in/${u}`;
2918
+ });
2919
+ return (u, n) => (i(), D(le, {
2920
+ title: "Professional",
2921
+ icon: _(ht),
2922
+ "animation-index": e.animationIndex,
2923
+ "animation-enabled": e.animationEnabled
2924
+ }, {
2925
+ default: T(() => [
2926
+ s("div", Ka, [
2927
+ l.value ? (i(), m("div", Wa, [
2928
+ C(_(xt), { class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-gray-500 sl-flex-shrink-0 sl-mt-0.5" }),
2929
+ s("div", null, [
2930
+ e.professional?.title ? (i(), m("p", Ya, w(e.professional.title), 1)) : k("", !0),
2931
+ e.professional?.company ? (i(), m("p", Xa, w(e.professional.company), 1)) : k("", !0)
2932
+ ])
2933
+ ])) : k("", !0),
2934
+ e.professional?.linkedin ? (i(), m("div", qa, [
2935
+ C(t, { class: "sl-h-5 sl-w-5 sl-text-[#0A66C2]" }),
2936
+ s("div", null, [
2937
+ n[0] || (n[0] = s("p", { class: "sl-text-xs sl-font-medium sl-uppercase sl-text-gray-500 dark:sl-text-gray-400" }, "LinkedIn", -1)),
2938
+ s("a", {
2939
+ href: d.value,
2940
+ target: "_blank",
2941
+ rel: "noopener noreferrer",
2942
+ class: "sl-text-sm sl-text-primary-600 dark:sl-text-primary-400 hover:sl-underline"
2943
+ }, " View Profile ", 8, Ja)
2944
+ ])
2945
+ ])) : k("", !0)
2946
+ ])
2947
+ ]),
2948
+ _: 1
2949
+ }, 8, ["icon", "animation-index", "animation-enabled"]));
2950
+ }
2951
+ }), Qa = { class: "sl-p-5" }, eo = { class: "sl-text-sm sl-text-gray-700 dark:sl-text-gray-300" }, to = {
2952
+ key: 0,
2953
+ class: "sl-h-40 sl-w-full sl-bg-gray-100 dark:sl-bg-gray-700 sl-relative"
2954
+ }, so = ["src"], lo = {
2955
+ key: 1,
2956
+ class: "sl-w-full sl-h-full sl-flex sl-items-center sl-justify-center"
2957
+ }, ao = /* @__PURE__ */ F({
2958
+ __name: "ProfileLocationCard",
2959
+ props: {
2960
+ address: {},
2961
+ latLng: {},
2962
+ showMap: { type: Boolean, default: !0 },
2963
+ animationIndex: { default: 1 },
2964
+ animationEnabled: { type: Boolean, default: !0 }
2965
+ },
2966
+ setup(e) {
2967
+ const t = e, a = Le("googleMaps", {}), l = K(!1), d = b(() => t.address ? Array.isArray(t.address) ? t.address[0] || null : t.address : null), u = b(() => {
2968
+ const v = d.value;
2969
+ if (!v) return "No address specified";
2970
+ if (v.description) return v.description;
2971
+ if (v.name) return v.name;
2972
+ const z = [];
2973
+ v.street && z.push(v.street), v.suite && z.push(v.suite);
2974
+ const h = [];
2975
+ return v.city && h.push(v.city), v.state && h.push(v.state), v.zip && h.push(v.zip), h.length > 0 && z.push(h.join(", ")), v.country && z.push(v.country), z.length > 0 ? z.join(", ") : "No address specified";
2976
+ }), n = b(() => {
2977
+ if (t.latLng?.lat && t.latLng?.lng)
2978
+ return t.latLng;
2979
+ const v = d.value;
2980
+ return v?.geocode?.location?.lat && v?.geocode?.location?.lng ? v.geocode.location : null;
2981
+ }), o = b(() => !!n.value), g = b(() => {
2982
+ if (l.value || !n.value) return null;
2983
+ const v = a?.staticMapsApiKey || a?.apiKey;
2984
+ if (!v) return null;
2985
+ const { lat: z, lng: h } = n.value;
2986
+ return `https://maps.googleapis.com/maps/api/staticmap?center=${z},${h}&zoom=14&size=400x200&maptype=roadmap&markers=color:blue%7C${z},${h}&key=${v}`;
2987
+ }), y = () => {
2988
+ l.value = !0;
2989
+ };
2990
+ return (v, z) => (i(), D(le, {
2991
+ title: "Location",
2992
+ icon: _(Ie),
2993
+ "animation-index": e.animationIndex,
2994
+ "animation-enabled": e.animationEnabled,
2995
+ "no-padding": !0
2996
+ }, {
2997
+ default: T(() => [
2998
+ s("div", Qa, [
2999
+ s("div", eo, w(u.value), 1)
3000
+ ]),
3001
+ e.showMap && o.value ? (i(), m("div", to, [
3002
+ g.value ? (i(), m("img", {
3003
+ key: 0,
3004
+ src: g.value,
3005
+ alt: "Location map",
3006
+ class: "sl-w-full sl-h-full sl-object-cover",
3007
+ onError: y
3008
+ }, null, 40, so)) : (i(), m("div", lo, [
3009
+ C(_(Ie), { class: "sl-w-8 sl-h-8 sl-text-gray-400 dark:sl-text-gray-500" })
3010
+ ])),
3011
+ z[0] || (z[0] = s("div", { class: "sl-absolute sl-bottom-1 sl-right-1 sl-text-[10px] sl-text-gray-500 sl-bg-white/80 sl-px-1 sl-rounded" }, " Map Data ", -1))
3012
+ ])) : k("", !0)
3013
+ ]),
3014
+ _: 1
3015
+ }, 8, ["icon", "animation-index", "animation-enabled"]));
3016
+ }
3017
+ }), oo = { class: "sl-space-y-4" }, ro = { class: "sl-relative sl-flex sl-flex-col sl-items-center" }, no = {
3018
+ key: 0,
3019
+ class: "sl-w-0.5 sl-flex-1 sl-bg-gray-200 dark:sl-bg-gray-700 sl-min-h-[2rem]"
3020
+ }, io = { class: "sl-flex-1 sl-pb-4" }, co = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100" }, uo = {
3021
+ key: 0,
3022
+ class: "sl-text-sm sl-text-gray-600 dark:sl-text-gray-400"
3023
+ }, mo = { class: "sl-mt-1 sl-text-xs sl-text-gray-500 dark:sl-text-gray-500" }, fo = /* @__PURE__ */ F({
3024
+ __name: "ProfileOrganizationsCard",
3025
+ props: {
3026
+ organizations: {},
3027
+ animationIndex: { default: 5 },
3028
+ animationEnabled: { type: Boolean, default: !0 }
3029
+ },
3030
+ setup(e) {
3031
+ const t = e, a = b(() => t.organizations || []), l = (o) => o.organization ? typeof o.organization == "string" ? o.organization : o.organization.name || "Unknown Organization" : "Unknown Organization", d = (o) => {
3032
+ if (!o.position) return "";
3033
+ const g = typeof o.position == "string" ? o.position : o.position.name, y = [];
3034
+ return o.position_prefix && y.push(o.position_prefix), g && y.push(g), o.position_suffix && y.push(o.position_suffix), y.join(" ");
3035
+ }, u = (o) => {
3036
+ if (!o) return null;
3037
+ if (o instanceof Date) return J(o) ? o : null;
3038
+ const g = re(o);
3039
+ return J(g) ? g : null;
3040
+ }, n = (o, g) => {
3041
+ const y = u(o), v = u(g), z = [];
3042
+ if (y && z.push(q(y, "MMM yyyy")), z.push("–"), v ? z.push(q(v, "MMM yyyy")) : z.push("Present"), y) {
3043
+ const h = v || /* @__PURE__ */ new Date(), r = ce(h, y), c = Ae(h, y) % 12, p = [];
3044
+ r > 0 && p.push(`${r} yr${r > 1 ? "s" : ""}`), (c > 0 || r === 0) && p.push(`${c || 1} mo${c > 1 ? "s" : ""}`), p.length > 0 && z.push("•", p.join(" "));
3045
+ }
3046
+ return z.join(" ");
3047
+ };
3048
+ return (o, g) => (i(), D(le, {
3049
+ title: "Organizations",
3050
+ icon: _(bt),
3051
+ "animation-index": e.animationIndex,
3052
+ "animation-enabled": e.animationEnabled
3053
+ }, {
3054
+ default: T(() => [
3055
+ s("div", oo, [
3056
+ (i(!0), m(G, null, Y(a.value, (y, v) => (i(), m("div", {
3057
+ key: y.id || v,
3058
+ class: "sl-flex sl-items-start sl-gap-3"
3059
+ }, [
3060
+ s("div", ro, [
3061
+ g[0] || (g[0] = s("div", { class: "sl-w-3 sl-h-3 sl-rounded-full sl-bg-primary-600 dark:sl-bg-primary-400 sl-ring-4 sl-ring-white dark:sl-ring-gray-800" }, null, -1)),
3062
+ v < a.value.length - 1 ? (i(), m("div", no)) : k("", !0)
3063
+ ]),
3064
+ s("div", io, [
3065
+ s("p", co, w(l(y)), 1),
3066
+ d(y) ? (i(), m("p", uo, w(d(y)), 1)) : k("", !0),
3067
+ s("p", mo, w(n(y.start_date, y.end_date)), 1)
3068
+ ])
3069
+ ]))), 128))
3070
+ ])
3071
+ ]),
3072
+ _: 1
3073
+ }, 8, ["icon", "animation-index", "animation-enabled"]));
3074
+ }
3075
+ }), po = { class: "sl-grid sl-grid-cols-2 sl-gap-4" }, go = { class: "sl-w-10 sl-h-10 sl-rounded-full sl-flex sl-items-center sl-justify-center sl-bg-primary-100 dark:sl-bg-primary-900/50 sl-text-primary-600 dark:sl-text-primary-400 sl-text-sm sl-font-semibold sl-flex-shrink-0" }, yo = { class: "sl-min-w-0 sl-flex-1" }, ho = { class: "sl-text-sm sl-font-medium sl-text-gray-900 dark:sl-text-gray-100 sl-truncate" }, xo = { class: "sl-text-xs sl-text-gray-500 dark:sl-text-gray-400 sl-truncate" }, bo = {
3076
+ key: 0,
3077
+ class: "sl-text-xs sl-text-gray-400 dark:sl-text-gray-500 sl-flex sl-items-center sl-gap-1"
3078
+ }, vo = /* @__PURE__ */ F({
3079
+ __name: "ProfileRelatedNamesCard",
3080
+ props: {
3081
+ relatedNames: {},
3082
+ animationIndex: { default: 6 },
3083
+ animationEnabled: { type: Boolean, default: !0 }
3084
+ },
3085
+ setup(e) {
3086
+ const t = e, a = b(() => t.relatedNames || []), l = (o) => {
3087
+ if (o.name) return o.name;
3088
+ const g = [];
3089
+ return o.first_name && g.push(o.first_name), o.last_name && g.push(o.last_name), g.join(" ") || "Unknown";
3090
+ }, d = (o) => {
3091
+ const g = l(o), y = g.split(" ").filter(Boolean);
3092
+ return y.length >= 2 ? `${y[0][0]}${y[y.length - 1][0]}`.toUpperCase() : g.substring(0, 2).toUpperCase();
3093
+ }, u = (o) => o.label ? typeof o.label == "string" ? o.label : o.label.name || "" : o.relationship || "", n = (o) => {
3094
+ if (!o.birthday) return "";
3095
+ let g;
3096
+ if (typeof o.birthday == "string" ? g = re(o.birthday) : g = o.birthday, !J(g)) return "";
3097
+ const y = ce(/* @__PURE__ */ new Date(), g);
3098
+ return y === 0 ? `${q(g, "MMM d, yyyy")}` : y >= 1 && y < 2 ? "over 1 year old" : `${y > 0 ? "over " : "almost "}${Math.abs(y)} years old`;
3099
+ };
3100
+ return (o, g) => (i(), D(le, {
3101
+ title: "Related Names",
3102
+ icon: _(vt),
3103
+ "animation-index": e.animationIndex,
3104
+ "animation-enabled": e.animationEnabled
3105
+ }, {
3106
+ default: T(() => [
3107
+ s("div", po, [
3108
+ (i(!0), m(G, null, Y(a.value, (y, v) => (i(), m("div", {
3109
+ key: y.id || v,
3110
+ class: "sl-flex sl-items-center sl-gap-3 sl-p-3 sl-rounded-lg sl-bg-gray-50 dark:sl-bg-gray-700/50"
3111
+ }, [
3112
+ s("div", go, w(d(y)), 1),
3113
+ s("div", yo, [
3114
+ s("p", ho, w(l(y)), 1),
3115
+ s("p", xo, w(u(y)), 1),
3116
+ n(y) ? (i(), m("p", bo, [
3117
+ C(_(De), { class: "sl-w-3 sl-h-3" }),
3118
+ j(" " + w(n(y)), 1)
3119
+ ])) : k("", !0)
3120
+ ])
3121
+ ]))), 128))
3122
+ ])
3123
+ ]),
3124
+ _: 1
3125
+ }, 8, ["icon", "animation-index", "animation-enabled"]));
3126
+ }
3127
+ }), ko = { class: "sl-bento-profile-layout sl-min-h-screen sl-relative" }, wo = { class: "sl-relative sl-max-w-4xl sl-mx-auto sl-px-4 sl-py-8 sl-space-y-6" }, Co = {
3128
+ key: 0,
3129
+ class: "sl-space-y-6"
3130
+ }, $o = { class: "sl-space-y-6" }, _o = /* @__PURE__ */ F({
3131
+ __name: "BentoProfileLayout",
3132
+ props: {
3133
+ profile: {},
3134
+ config: { default: () => ({
3135
+ showContact: !0,
3136
+ showLocation: !0,
3137
+ showProfessional: !0,
3138
+ showPersonal: !0,
3139
+ showOrganizations: !0,
3140
+ showRelatedNames: !0,
3141
+ showSocial: !0,
3142
+ animationEnabled: !0,
3143
+ animationDelay: 75
3144
+ }) }
3145
+ },
3146
+ setup(e) {
3147
+ const t = e, a = b(() => t.config?.showContact !== !1), l = b(() => t.config?.showLocation !== !1), d = b(() => t.config?.showProfessional !== !1), u = b(() => t.config?.showPersonal !== !1), n = b(() => t.config?.showOrganizations !== !1), o = b(() => t.config?.showRelatedNames !== !1), g = b(() => t.config?.animationEnabled !== !1), y = b(() => {
3148
+ if (t.profile.name) return t.profile.name;
3149
+ const P = [];
3150
+ return t.profile.first_name && P.push(t.profile.first_name), t.profile.last_name && P.push(t.profile.last_name), P.join(" ") || "Unknown User";
3151
+ }), v = b(() => t.profile.profile_image || t.profile.image || null), z = b(() => t.profile.email || t.profile.phone || t.profile.website), h = b(() => {
3152
+ const P = t.profile.professional;
3153
+ return P ? P.title || P.company || P.linkedin : !1;
3154
+ }), r = b(() => {
3155
+ const P = t.profile.address;
3156
+ return P ? Array.isArray(P) ? P.length > 0 : !0 : !1;
3157
+ }), c = b(() => !!p.value), p = b(() => {
3158
+ if (t.profile.latLng?.lat && t.profile.latLng?.lng)
3159
+ return t.profile.latLng;
3160
+ if (t.profile._geoloc?.lat && t.profile._geoloc?.lng)
3161
+ return t.profile._geoloc;
3162
+ const P = t.profile.address;
3163
+ if (P) {
3164
+ const B = Array.isArray(P) ? P[0] : P;
3165
+ if (B?.geocode?.location?.lat && B?.geocode?.location?.lng)
3166
+ return B.geocode.location;
3167
+ }
3168
+ return null;
3169
+ }), $ = b(() => l.value && (r.value || c.value)), f = b(() => t.profile.organizations || []), x = b(() => t.profile.relatedNames || t.profile.related_names || []);
3170
+ return (P, B) => (i(), m("div", ko, [
3171
+ B[0] || (B[0] = s("div", { class: "sl-absolute sl-inset-0 sl-bg-gray-50 dark:sl-bg-gray-900 sl--z-10" }, null, -1)),
3172
+ s("div", wo, [
3173
+ C(Ma, {
3174
+ name: y.value,
3175
+ nickname: e.profile.nickname,
3176
+ image: v.value,
3177
+ status: e.profile.status,
3178
+ "animation-index": 0,
3179
+ "animation-enabled": g.value
3180
+ }, null, 8, ["name", "nickname", "image", "status", "animation-enabled"]),
3181
+ s("div", {
3182
+ class: E([
3183
+ "sl-grid sl-gap-6",
3184
+ $.value ? "sl-grid-cols-1 md:sl-grid-cols-2" : "sl-grid-cols-1"
3185
+ ])
3186
+ }, [
3187
+ s("div", {
3188
+ class: E([
3189
+ "sl-space-y-6",
3190
+ $.value ? "" : "sl-grid sl-grid-cols-1 md:sl-grid-cols-2 sl-gap-6"
3191
+ ])
3192
+ }, [
3193
+ a.value && z.value ? (i(), D(Oa, {
3194
+ key: 0,
3195
+ email: e.profile.email,
3196
+ phone: e.profile.phone,
3197
+ website: e.profile.website,
3198
+ "animation-index": 1,
3199
+ "animation-enabled": g.value
3200
+ }, null, 8, ["email", "phone", "website", "animation-enabled"])) : k("", !0),
3201
+ u.value && e.profile.birthday ? (i(), D(Ga, {
3202
+ key: 1,
3203
+ birthday: e.profile.birthday,
3204
+ "animation-index": 2,
3205
+ "animation-enabled": g.value
3206
+ }, null, 8, ["birthday", "animation-enabled"])) : k("", !0),
3207
+ d.value && h.value ? (i(), D(Za, {
3208
+ key: 2,
3209
+ professional: e.profile.professional,
3210
+ "animation-index": 3,
3211
+ "animation-enabled": g.value
3212
+ }, null, 8, ["professional", "animation-enabled"])) : k("", !0)
3213
+ ], 2),
3214
+ $.value ? (i(), m("div", Co, [
3215
+ l.value && (r.value || c.value) ? (i(), D(ao, {
3216
+ key: 0,
3217
+ address: e.profile.address,
3218
+ "lat-lng": p.value,
3219
+ "animation-index": 1,
3220
+ "animation-enabled": g.value
3221
+ }, null, 8, ["address", "lat-lng", "animation-enabled"])) : k("", !0)
3222
+ ])) : k("", !0)
3223
+ ], 2),
3224
+ s("div", $o, [
3225
+ n.value && f.value.length > 0 ? (i(), D(fo, {
3226
+ key: 0,
3227
+ organizations: f.value,
3228
+ "animation-index": 5,
3229
+ "animation-enabled": g.value
3230
+ }, null, 8, ["organizations", "animation-enabled"])) : k("", !0),
3231
+ o.value && x.value.length > 0 ? (i(), D(vo, {
3232
+ key: 1,
3233
+ "related-names": x.value,
3234
+ "animation-index": 6,
3235
+ "animation-enabled": g.value
3236
+ }, null, 8, ["related-names", "animation-enabled"])) : k("", !0)
3237
+ ])
3238
+ ])
3239
+ ]));
3240
+ }
3241
+ }), hr = /* @__PURE__ */ Z(_o, [["__scopeId", "data-v-6dd771fc"]]);
3242
+ class Io {
1399
3243
  designTokens;
1400
3244
  prefix = "sl-";
1401
3245
  injectCSS = !0;
@@ -1406,13 +3250,13 @@ class Zs {
1406
3250
  phoneInputConfig;
1407
3251
  datepickerConfig;
1408
3252
  constructor() {
1409
- this.designTokens = Z;
3253
+ this.designTokens = Ne;
1410
3254
  }
1411
- install(e, o = {}) {
1412
- 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);
3255
+ install(t, a = {}) {
3256
+ Object.keys(a).length > 0 && this.configure(a), this.injectCSS && this.injectCSSVariables(), t.config.globalProperties.$stachelockUI = this, t.provide("stachelockUI", this), this.cloudinaryConfig && t.provide("cloudinary", this.cloudinaryConfig), this.googleMapsConfig && t.provide("googleMaps", this.googleMapsConfig), this.lottieConfig && t.provide("lottie", this.lottieConfig), this.richTextConfig && t.provide("richText", this.richTextConfig), this.phoneInputConfig && t.provide("phoneInput", this.phoneInputConfig), this.datepickerConfig && t.provide("datepicker", this.datepickerConfig);
1413
3257
  }
1414
- 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);
3258
+ configure(t) {
3259
+ t.designTokens && (this.designTokens = Ot(t.designTokens, this.designTokens)), t.prefix !== void 0 && (this.prefix = t.prefix), t.injectCSS !== void 0 && (this.injectCSS = t.injectCSS), t.cloudinary && (this.cloudinaryConfig = t.cloudinary), t.googleMaps && (this.googleMapsConfig = t.googleMaps), t.lottie && (this.lottieConfig = t.lottie), t.richText && (this.richTextConfig = t.richText), t.phoneInput && (this.phoneInputConfig = t.phoneInput), t.datepicker && (this.datepickerConfig = t.datepicker);
1416
3260
  }
1417
3261
  getDesignTokens() {
1418
3262
  return this.designTokens;
@@ -1436,161 +3280,179 @@ class Zs {
1436
3280
  return this.datepickerConfig;
1437
3281
  }
1438
3282
  generateCSS() {
1439
- return xe(this.designTokens);
3283
+ return Rt(this.designTokens);
1440
3284
  }
1441
3285
  injectCSSVariables() {
1442
- const e = document.createElement("style");
1443
- e.textContent = this.generateCSS(), e.setAttribute("data-stachelock-ui", "true");
1444
- const o = document.querySelector('style[data-stachelock-ui="true"]');
1445
- o && o.remove(), document.head.appendChild(e);
3286
+ const t = document.createElement("style");
3287
+ t.textContent = this.generateCSS(), t.setAttribute("data-stachelock-ui", "true");
3288
+ const a = document.querySelector('style[data-stachelock-ui="true"]');
3289
+ a && a.remove(), document.head.appendChild(t);
1446
3290
  }
1447
3291
  }
1448
- const _t = new Zs();
3292
+ const xr = new Io();
1449
3293
  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
3294
+ lt as AddDeleteButtonGroup,
3295
+ dr as AddressInput,
3296
+ ot as AlertModal,
3297
+ tt as Avatar,
3298
+ Yi as BackgroundGradientWrapper,
3299
+ ue as Badge,
3300
+ ad as Banner,
3301
+ An as BarChart,
3302
+ pd as BaseChart,
3303
+ Pi as BaseModal,
3304
+ hr as BentoProfileLayout,
3305
+ rd as Breadcrumb,
3306
+ oe as Button,
3307
+ on as ButtonGroup,
3308
+ cd as CalendarDashboard,
3309
+ wn as CalendarHeader,
3310
+ ur as CardLayout,
3311
+ qi as CardWrapper,
3312
+ nn as Checkbox,
3313
+ rt as CheckboxInput,
3314
+ sd as CloudinaryImage,
3315
+ he as CollectionEditor,
3316
+ Ms as CollectionItemList,
3317
+ Ir as CollectionItemStatus,
3318
+ nt as ComboboxInput,
3319
+ Kn as ComingSoon,
3320
+ jt as ComponentRegistry,
3321
+ Fd as ContentSkeleton,
3322
+ pi as DashboardLayout,
3323
+ Zn as DatepickerInput,
3324
+ $n as DayCalendar,
3325
+ yi as DefaultLayout,
3326
+ Zi as DisclosureWrapper,
3327
+ at as DynamicForm,
3328
+ ei as EmailInput,
3329
+ si as EmptyInput,
3330
+ Yn as EmptyState,
3331
+ In as EventCard,
3332
+ zn as EventsList,
3333
+ ai as FileDropzoneInput,
3334
+ ed as FormErrorWrapper,
3335
+ qn as FormField,
3336
+ Tt as FormFieldWrapper,
3337
+ Fn as FunnelChart,
3338
+ Vt as GeocodeStatus,
3339
+ Bd as GoogleMap,
3340
+ xi as HeaderLayout,
3341
+ ri as HiddenInput,
3342
+ Yd as ImageCropperModal,
3343
+ mr as InfoCard,
3344
+ Od as InfoWindow,
3345
+ Bi as InlineTabs,
3346
+ cr as InputsShowcase,
3347
+ Un as LineChart,
3348
+ st as Loading,
3349
+ id as LoadingDots,
3350
+ ln as LottieAnimation,
3351
+ Hd as Map,
3352
+ Li as MapAll,
3353
+ Kd as MapMarker,
3354
+ cn as Menu,
3355
+ mn as Modal,
3356
+ Ln as MonthCalendar,
3357
+ pn as NavLink,
3358
+ vi as NavigationGroup,
3359
+ wi as NavigationItem,
3360
+ Ai as NotificationContainer,
3361
+ Fi as NotificationToast,
3362
+ rr as OrganizationsEditor,
3363
+ Pd as PhoneInput,
3364
+ Bn as PieChart,
3365
+ le as ProfileCard,
3366
+ Oa as ProfileContactCard,
3367
+ $i as ProfileHeaderAvatar,
3368
+ Ma as ProfileHeaderCard,
3369
+ ao as ProfileLocationCard,
3370
+ fo as ProfileOrganizationsCard,
3371
+ Ga as ProfilePersonalCard,
3372
+ Za as ProfileProfessionalCard,
3373
+ vo as ProfileRelatedNamesCard,
3374
+ yn as ProgressBar,
3375
+ Ii as ProjectLogo,
3376
+ fr as PropsTable,
3377
+ or as RadialProgressBar,
3378
+ nr as RelatedNamesEditor,
3379
+ Ad as RichTextInput,
3380
+ Ce as SelectInput,
3381
+ ii as SelectTextInput,
3382
+ pr as ShowcaseCard,
3383
+ gr as ShowcaseLayout,
3384
+ zi as SidebarLayout,
3385
+ Ud as SmartLoadingIndicator,
3386
+ ir as SocialLinksEditor,
3387
+ On as SparklineChart,
3388
+ xr as StachelockUI,
3389
+ Hn as StatCard,
3390
+ yr as StateDisplay,
3391
+ Ui as StepperPanels,
3392
+ dt as SwitchInput,
3393
+ ci as SwitchInputGroup,
3394
+ Oi as TabGroup,
3395
+ Hi as TabGroupUnderline,
3396
+ xn as Table,
3397
+ Ki as TabsInPills,
3398
+ mi as TagifyInput,
3399
+ it as TextAreaInput,
3400
+ R as TextInput,
3401
+ ar as ThemeDebugModal,
3402
+ vn as Transition,
3403
+ Er as US_CENTER,
3404
+ Ar as WORLD_CENTER,
3405
+ md as WeekCalendar,
3406
+ Pn as YearCalendar,
3407
+ yd as areaChartConfig,
3408
+ hd as barChartConfig,
3409
+ xd as baseTheme,
3410
+ zr as calculateEventLanes,
3411
+ bd as chartColors,
3412
+ vd as chartTypography,
3413
+ Fe as componentRegistry,
3414
+ xr as default,
3415
+ Bt as defaultComponentMap,
3416
+ Dr as defaultCoordinateExtractor,
3417
+ Ne as defaultDesignTokens,
3418
+ kd as formatDuration,
3419
+ wd as formatNumber,
3420
+ Cd as formatPercentage,
3421
+ Kr as formatUid,
3422
+ $d as funnelChartConfig,
3423
+ Rt as generateCSSVariables,
3424
+ kr as generateDeterministicId,
3425
+ Xe as generateId,
3426
+ lr as generateTailwindConfig,
3427
+ _d as getAreaGradient,
3428
+ sr as getComponent,
3429
+ Rr as getTabBadgeClasses,
3430
+ Id as hexToRgb,
3431
+ er as isFundamentalField,
3432
+ Wr as isUidLike,
3433
+ Fr as isValidCoordinate,
3434
+ Sd as lineChartConfig,
3435
+ Ot as mergeDesignTokens,
3436
+ zd as pieChartConfig,
3437
+ et as presetThemes,
3438
+ tr as registerComponent,
3439
+ wr as sanitizeId,
3440
+ Yr as slugToReadable,
3441
+ Td as stachelockColors,
3442
+ Ld as toRgba,
3443
+ Xr as toSentenceCase,
3444
+ qr as toTitleCase,
3445
+ Jr as transformString,
3446
+ Zr as truncateString,
3447
+ $r as useCalendar,
3448
+ Qe as useCollectionEditor,
3449
+ Tr as useEventSegments,
3450
+ Mr as useFormValidation,
3451
+ Nr as useMap,
3452
+ Vr as useModal,
3453
+ jr as useNotifications,
3454
+ Hr as useSimpleTabs,
3455
+ Qr as useStringTransform,
3456
+ tn as useTabs,
3457
+ Ee as useTheme
1595
3458
  };
1596
- //# sourceMappingURL=index.js.map