@stachelock/ui 0.5.5 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -5
- package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-6taLcPq0.js +77 -0
- package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js → AlertModal.vue_vue_type_script_setup_true_lang-DzhVQdx4.js} +45 -65
- package/dist/BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js +0 -1
- package/dist/BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js +0 -1
- package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js → BaseModal.vue_vue_type_script_setup_true_lang--iGzFCnC.js} +42 -44
- package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js → CalendarHeader.vue_vue_type_script_setup_true_lang-hGa2MLyo.js} +114 -141
- package/dist/CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js +0 -1
- package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js +0 -1
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-BigvbBAU.js +331 -0
- package/dist/ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js +0 -1
- 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
- package/dist/{DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js → DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js} +23 -24
- 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
- package/dist/DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js +0 -1
- package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-CgHPOC-w.js +35 -0
- package/dist/{DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js → DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js} +52 -53
- 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
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js +0 -1
- package/dist/EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js +0 -1
- package/dist/EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js +0 -1
- package/dist/EventCard.vue_vue_type_script_setup_true_lang-B3TP-mWX.js +74 -0
- package/dist/EventsList.vue_vue_type_script_setup_true_lang-BTIoGr_e.js +87 -0
- package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js +176 -0
- 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
- package/dist/FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js +0 -1
- package/dist/HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js +0 -1
- package/dist/HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js +0 -1
- package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js → InlineTabs.vue_vue_type_script_setup_true_lang-B5w4yzcZ.js} +1 -2
- package/dist/LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js +0 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js → LottieAnimation.vue_vue_type_script_setup_true_lang-C0R4ADBb.js} +1 -2
- package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js → MonthCalendar.vue_vue_type_style_index_0_lang-lnKkvJ9u.js} +1 -2
- package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js +0 -1
- package/dist/NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js +0 -1
- package/dist/{NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js → NotificationContainer.vue_vue_type_style_index_0_lang-CvJRwezr.js} +1 -2
- 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
- package/dist/PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js +0 -1
- package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js +0 -1
- package/dist/ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js +0 -1
- 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
- package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js → SelectTextInput.vue_vue_type_script_setup_true_lang-BVaViHPl.js} +66 -69
- package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js → SidebarLayout.vue_vue_type_script_setup_true_lang-CZ21EVcZ.js} +36 -39
- package/dist/SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js +0 -1
- package/dist/StatCard.vue_vue_type_script_setup_true_lang-B5SuaSXL.js +66 -0
- package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js → StepperPanels.vue_vue_type_script_setup_true_lang-DPLQ9mQn.js} +34 -49
- package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-D5Es9AjF.js +200 -0
- package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js → SwitchInputGroup.vue_vue_type_script_setup_true_lang-DigNYqVZ.js} +1 -2
- package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js → TabGroup.vue_vue_type_script_setup_true_lang-BsbiEA4E.js} +19 -20
- 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
- package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js → TabsInPills.vue_vue_type_script_setup_true_lang-U5CdRL7s.js} +1 -2
- 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
- package/dist/TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js +0 -1
- package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js +0 -1
- package/dist/UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js +0 -1
- package/dist/UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js +0 -1
- package/dist/UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js +0 -1
- package/dist/UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js +0 -1
- package/dist/{UiMapAll.vue_vue_type_script_setup_true_lang-CMAyvJMk.js → UiMapAll.vue_vue_type_script_setup_true_lang-11yT7mTH.js} +93 -111
- package/dist/UiMenu.vue_vue_type_script_setup_true_lang-gnoIJm6x.js +127 -0
- package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js → UiModal.vue_vue_type_script_setup_true_lang-BZC7aN7K.js} +41 -43
- package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js → UiNavLink.vue_vue_type_script_setup_true_lang-C5Gicm8o.js} +4 -5
- package/dist/UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js +0 -1
- package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js +0 -1
- package/dist/UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js +0 -1
- package/dist/YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js +0 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -1
- package/dist/calendar-DLry-Vik.js +147 -0
- package/dist/calendars/CalendarDashboard.js +3 -4
- package/dist/calendars/CalendarHeader.js +1 -2
- package/dist/calendars/DayCalendar.js +1 -2
- package/dist/calendars/EventCard.js +1 -2
- package/dist/calendars/EventsList.js +1 -2
- package/dist/calendars/MonthCalendar.js +1 -2
- package/dist/calendars/WeekCalendar.js +1 -2
- package/dist/calendars/YearCalendar.js +0 -1
- package/dist/charts/BarChart.js +0 -1
- package/dist/charts/BaseChart.js +42 -59
- package/dist/charts/FunnelChart.js +0 -1
- package/dist/charts/LineChart.js +0 -1
- package/dist/charts/PieChart.js +0 -1
- package/dist/charts/SparklineChart.js +0 -1
- package/dist/charts/StatCard.js +1 -2
- package/dist/charts/chartTheme.js +0 -1
- package/dist/charts/index.js +1 -2
- package/dist/components/Avatar.js +0 -1
- package/dist/components/Badge.js +0 -1
- package/dist/components/Banner.js +178 -351
- package/dist/components/Breadcrumb.js +41 -42
- package/dist/components/Button.js +0 -1
- package/dist/components/ButtonGroup.js +0 -1
- package/dist/components/Checkbox.js +0 -1
- package/dist/components/CloudinaryImage.js +51 -81
- package/dist/components/Loading.js +0 -1
- package/dist/components/LoadingDots.js +0 -1
- package/dist/components/LottieAnimation.js +1 -2
- package/dist/components/Menu.js +1 -2
- package/dist/components/Modal.js +1 -2
- package/dist/components/NavLink.js +1 -2
- package/dist/components/ProgressBar.js +0 -1
- package/dist/components/RadialProgressBar.js +0 -1
- package/dist/components/Table.js +0 -1
- package/dist/components/Transition.js +0 -1
- package/dist/composables/index.js +1 -2
- package/dist/composables/useCalendar.js +1 -2
- package/dist/composables/useFormValidation.js +0 -1
- package/dist/composables/useMap.js +3 -3
- package/dist/composables/useModal.js +0 -1
- package/dist/composables/useNotifications.js +0 -1
- package/dist/composables/useTabs.js +87 -193
- package/dist/composables/useTheme.js +0 -1
- package/dist/empty-state/ComingSoon.js +0 -1
- package/dist/empty-state/EmptyState.js +0 -1
- package/dist/empty-state/index.js +0 -1
- package/dist/forms/DynamicForm.js +1 -2
- package/dist/forms/DynamicFormField.js +1 -2
- package/dist/forms/FormFieldWrapper.js +7 -8
- package/dist/id-DafBB_QF.js +0 -1
- package/dist/index.js +1343 -725
- package/dist/inputs/AddDeleteButtonGroup.js +1 -2
- package/dist/inputs/CheckboxInput.js +0 -1
- package/dist/inputs/ComboboxInput.js +1 -2
- package/dist/inputs/DatepickerInput.js +1 -2
- package/dist/inputs/EmailInput.js +0 -1
- package/dist/inputs/EmptyInput.js +0 -1
- package/dist/inputs/FileDropzoneInput.js +1 -2
- package/dist/inputs/HiddenInput.js +0 -1
- package/dist/inputs/PhoneInput.js +371 -3539
- package/dist/inputs/RichTextInput.js +235 -17298
- package/dist/inputs/SelectInput.js +1 -2
- package/dist/inputs/SelectTextInput.js +1 -2
- package/dist/inputs/SwitchInput.js +1 -2
- package/dist/inputs/SwitchInputGroup.js +1 -2
- package/dist/inputs/TagifyInput.js +1 -2
- package/dist/inputs/TextAreaInput.js +0 -1
- package/dist/inputs/TextInput.js +7 -8
- package/dist/layouts/DashboardLayout.js +1 -2
- package/dist/layouts/DefaultLayout.js +0 -1
- package/dist/layouts/HeaderLayout.js +0 -1
- package/dist/layouts/NavigationGroup.js +0 -1
- package/dist/layouts/NavigationItem.js +0 -1
- package/dist/layouts/ProfileHeaderAvatar.js +0 -1
- package/dist/layouts/ProjectLogo.js +0 -1
- package/dist/layouts/SidebarLayout.js +1 -2
- package/dist/loading/ContentSkeleton.js +0 -1
- package/dist/loading/SmartLoadingIndicator.js +0 -1
- package/dist/loading/index.js +0 -1
- package/dist/mapThemes-DFE9fZm3.js +0 -1
- package/dist/maps/GoogleMap.js +13 -14
- package/dist/maps/UiInfoWindow.js +41 -43
- package/dist/maps/UiMap.js +28 -31
- package/dist/maps/UiMapAll.js +1 -2
- package/dist/maps/UiMapMarker.js +1 -2
- package/dist/maps/index.js +1 -2
- package/dist/modals/AlertModal.js +1 -2
- package/dist/modals/BaseModal.js +1 -2
- package/dist/modals/ImageCropperModal.js +130 -1666
- package/dist/notifications/NotificationContainer.js +1 -2
- package/dist/notifications/NotificationToast.js +1 -2
- package/dist/notifications/index.js +2 -3
- package/dist/src/components/inputs/AddressInput.d.ts +40 -0
- package/dist/src/components/inputs/DatepickerInput.d.ts +7 -7
- package/dist/src/components/inputs/index.d.ts +1 -0
- package/dist/src/components/maps/UiMap.d.ts +1 -1
- package/dist/src/components/maps/UiMapAll.d.ts +6 -6
- package/dist/src/plugin/configure.d.ts +3 -1
- package/dist/src/services/geocoding.service.d.ts +68 -0
- package/dist/src/services/index.d.ts +1 -0
- package/dist/src/types/address.d.ts +164 -0
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/views/inputs/index.d.ts +1 -0
- package/dist/stepper/StepperPanels.js +1 -2
- package/dist/stepper/index.js +1 -2
- package/dist/style.css +1 -1
- package/dist/tabs/InlineTabs.js +1 -2
- package/dist/tabs/TabGroup.js +1 -2
- package/dist/tabs/TabGroupUnderline.js +1 -2
- package/dist/tabs/TabsInPills.js +1 -2
- package/dist/tabs/index.js +4 -5
- package/dist/ui.css +1 -1
- package/dist/useEventSegments-B-r_8zCW.js +0 -1
- package/dist/useMap-BGg0H582.js +297 -0
- package/dist/useSimpleTabs-CSgkChEU.js +0 -1
- package/dist/useStringTransform-CSr7nZWg.js +0 -1
- package/dist/wrappers/BackgroundGradientWrapper.js +0 -1
- package/dist/wrappers/CardWrapper.js +0 -1
- package/dist/wrappers/DisclosureWrapper.js +1 -2
- package/dist/wrappers/FormErrorWrapper.js +1 -2
- package/dist/wrappers/index.js +2 -3
- package/package.json +9 -1
- package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-CFS3lVF-.js +0 -128
- package/dist/AddDeleteButtonGroup.vue_vue_type_script_setup_true_lang-CFS3lVF-.js.map +0 -1
- package/dist/AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js.map +0 -1
- package/dist/BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js.map +0 -1
- package/dist/BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js.map +0 -1
- package/dist/Bars3Icon-BdOqcGcY.js +0 -22
- package/dist/Bars3Icon-BdOqcGcY.js.map +0 -1
- package/dist/BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js.map +0 -1
- package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-CkSUiLOH.js.map +0 -1
- package/dist/CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js.map +0 -1
- package/dist/CheckIcon-BGlsmVwT.js +0 -20
- package/dist/CheckIcon-BGlsmVwT.js.map +0 -1
- package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js.map +0 -1
- package/dist/ChevronRightIcon-DkUqw988.js +0 -20
- package/dist/ChevronRightIcon-DkUqw988.js.map +0 -1
- package/dist/ChevronUpDownIcon-Bq_fsgrb.js +0 -20
- package/dist/ChevronUpDownIcon-Bq_fsgrb.js.map +0 -1
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js +0 -1362
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-kEj-NYqm.js.map +0 -1
- package/dist/ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js.map +0 -1
- package/dist/DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js.map +0 -1
- package/dist/DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js.map +0 -1
- package/dist/DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js.map +0 -1
- package/dist/DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js.map +0 -1
- package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js +0 -138
- package/dist/DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js.map +0 -1
- package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js.map +0 -1
- package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js.map +0 -1
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js.map +0 -1
- package/dist/EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js.map +0 -1
- package/dist/EmptyState.vue_vue_type_script_setup_true_lang-7mcKkOWP.js.map +0 -1
- package/dist/EventCard.vue_vue_type_script_setup_true_lang-j1mtKShZ.js +0 -136
- package/dist/EventCard.vue_vue_type_script_setup_true_lang-j1mtKShZ.js.map +0 -1
- package/dist/EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js +0 -102
- package/dist/EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js.map +0 -1
- package/dist/ExclamationCircleIcon-DjxYk45_.js +0 -22
- package/dist/ExclamationCircleIcon-DjxYk45_.js.map +0 -1
- package/dist/ExclamationCircleIcon-DmL8Wwjo.js +0 -36
- package/dist/ExclamationCircleIcon-DmL8Wwjo.js.map +0 -1
- package/dist/ExclamationTriangleIcon-BNKYmV_J.js +0 -22
- package/dist/ExclamationTriangleIcon-BNKYmV_J.js.map +0 -1
- package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-CclXceTb.js +0 -211
- package/dist/FileDropzoneInput.vue_vue_type_script_setup_true_lang-CclXceTb.js.map +0 -1
- package/dist/FormErrorWrapper.vue_vue_type_script_setup_true_lang-BQOlG_ab.js.map +0 -1
- package/dist/FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js.map +0 -1
- package/dist/HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js.map +0 -1
- package/dist/HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js.map +0 -1
- package/dist/InformationCircleIcon-B322GNIt.js +0 -40
- package/dist/InformationCircleIcon-B322GNIt.js.map +0 -1
- package/dist/InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js.map +0 -1
- package/dist/LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js.map +0 -1
- package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js.map +0 -1
- package/dist/MapPinIcon-CSTDUZnD.js +0 -27
- package/dist/MapPinIcon-CSTDUZnD.js.map +0 -1
- package/dist/MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js.map +0 -1
- package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js.map +0 -1
- package/dist/NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js.map +0 -1
- package/dist/NotificationContainer.vue_vue_type_style_index_0_lang-DSfNw4Ge.js.map +0 -1
- package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-CU__ORw8.js.map +0 -1
- package/dist/PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js.map +0 -1
- package/dist/PlusIcon-aDFVlB90.js +0 -40
- package/dist/PlusIcon-aDFVlB90.js.map +0 -1
- package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-CKCoHD1o.js.map +0 -1
- package/dist/ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js.map +0 -1
- package/dist/SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js.map +0 -1
- package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js.map +0 -1
- package/dist/SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js.map +0 -1
- package/dist/SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js.map +0 -1
- package/dist/StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js +0 -111
- package/dist/StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js.map +0 -1
- package/dist/StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js.map +0 -1
- package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js +0 -280
- package/dist/SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js.map +0 -1
- package/dist/SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js.map +0 -1
- package/dist/TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js.map +0 -1
- package/dist/TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js.map +0 -1
- package/dist/TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js.map +0 -1
- package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js.map +0 -1
- package/dist/TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js.map +0 -1
- package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js.map +0 -1
- package/dist/UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js.map +0 -1
- package/dist/UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js.map +0 -1
- package/dist/UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js.map +0 -1
- package/dist/UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js.map +0 -1
- package/dist/UiMapAll.vue_vue_type_script_setup_true_lang-CMAyvJMk.js.map +0 -1
- package/dist/UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js +0 -330
- package/dist/UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js.map +0 -1
- package/dist/UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js.map +0 -1
- package/dist/UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js.map +0 -1
- package/dist/UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js.map +0 -1
- package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js.map +0 -1
- package/dist/UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js.map +0 -1
- package/dist/XMarkIcon-Cwy3T6p8.js +0 -22
- package/dist/XMarkIcon-Cwy3T6p8.js.map +0 -1
- package/dist/XMarkIcon-DNvCkiOy.js +0 -16
- package/dist/XMarkIcon-DNvCkiOy.js.map +0 -1
- package/dist/YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js.map +0 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js.map +0 -1
- package/dist/active-element-history-BTBNVIJN.js +0 -17
- package/dist/active-element-history-BTBNVIJN.js.map +0 -1
- package/dist/calculate-active-index-Dim3sT-5.js +0 -55
- package/dist/calculate-active-index-Dim3sT-5.js.map +0 -1
- package/dist/calendar-BlSSD4nO.js +0 -575
- package/dist/calendar-BlSSD4nO.js.map +0 -1
- package/dist/calendars/CalendarDashboard.js.map +0 -1
- package/dist/calendars/CalendarHeader.js.map +0 -1
- package/dist/calendars/DayCalendar.js.map +0 -1
- package/dist/calendars/EventCard.js.map +0 -1
- package/dist/calendars/EventsList.js.map +0 -1
- package/dist/calendars/MonthCalendar.js.map +0 -1
- package/dist/calendars/WeekCalendar.js.map +0 -1
- package/dist/calendars/YearCalendar.js.map +0 -1
- package/dist/charts/BarChart.js.map +0 -1
- package/dist/charts/BaseChart.js.map +0 -1
- package/dist/charts/FunnelChart.js.map +0 -1
- package/dist/charts/LineChart.js.map +0 -1
- package/dist/charts/PieChart.js.map +0 -1
- package/dist/charts/SparklineChart.js.map +0 -1
- package/dist/charts/StatCard.js.map +0 -1
- package/dist/charts/chartTheme.js.map +0 -1
- package/dist/charts/index.js.map +0 -1
- package/dist/components/Avatar.js.map +0 -1
- package/dist/components/Badge.js.map +0 -1
- package/dist/components/Banner.js.map +0 -1
- package/dist/components/Breadcrumb.js.map +0 -1
- package/dist/components/Button.js.map +0 -1
- package/dist/components/ButtonGroup.js.map +0 -1
- package/dist/components/Checkbox.js.map +0 -1
- package/dist/components/CloudinaryImage.js.map +0 -1
- package/dist/components/Loading.js.map +0 -1
- package/dist/components/LoadingDots.js.map +0 -1
- package/dist/components/LottieAnimation.js.map +0 -1
- package/dist/components/Menu.js.map +0 -1
- package/dist/components/Modal.js.map +0 -1
- package/dist/components/NavLink.js.map +0 -1
- package/dist/components/ProgressBar.js.map +0 -1
- package/dist/components/RadialProgressBar.js.map +0 -1
- package/dist/components/Table.js.map +0 -1
- package/dist/components/Transition.js.map +0 -1
- package/dist/composables/index.js.map +0 -1
- package/dist/composables/useCalendar.js.map +0 -1
- package/dist/composables/useFormValidation.js.map +0 -1
- package/dist/composables/useMap.js.map +0 -1
- package/dist/composables/useModal.js.map +0 -1
- package/dist/composables/useNotifications.js.map +0 -1
- package/dist/composables/useTabs.js.map +0 -1
- package/dist/composables/useTheme.js.map +0 -1
- package/dist/description-C7cRw0tq.js +0 -30
- package/dist/description-C7cRw0tq.js.map +0 -1
- package/dist/dialog-BJ2Ld8l3.js +0 -499
- package/dist/dialog-BJ2Ld8l3.js.map +0 -1
- package/dist/empty-state/ComingSoon.js.map +0 -1
- package/dist/empty-state/EmptyState.js.map +0 -1
- package/dist/empty-state/index.js.map +0 -1
- package/dist/env-BZfPsfnF.js +0 -29
- package/dist/env-BZfPsfnF.js.map +0 -1
- package/dist/form-f8yP4kN-.js +0 -35
- package/dist/form-f8yP4kN-.js.map +0 -1
- package/dist/forms/DynamicForm.js.map +0 -1
- package/dist/forms/DynamicFormField.js.map +0 -1
- package/dist/forms/FormFieldWrapper.js.map +0 -1
- package/dist/hidden-BSRluD1y.js +0 -15
- package/dist/hidden-BSRluD1y.js.map +0 -1
- package/dist/id-DafBB_QF.js.map +0 -1
- package/dist/index-Dca39bYA.js +0 -2167
- package/dist/index-Dca39bYA.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/inputs/AddDeleteButtonGroup.js.map +0 -1
- package/dist/inputs/CheckboxInput.js.map +0 -1
- package/dist/inputs/ComboboxInput.js.map +0 -1
- package/dist/inputs/DatepickerInput.js.map +0 -1
- package/dist/inputs/EmailInput.js.map +0 -1
- package/dist/inputs/EmptyInput.js.map +0 -1
- package/dist/inputs/FileDropzoneInput.js.map +0 -1
- package/dist/inputs/HiddenInput.js.map +0 -1
- package/dist/inputs/PhoneInput.js.map +0 -1
- package/dist/inputs/RichTextInput.js.map +0 -1
- package/dist/inputs/SelectInput.js.map +0 -1
- package/dist/inputs/SelectTextInput.js.map +0 -1
- package/dist/inputs/SwitchInput.js.map +0 -1
- package/dist/inputs/SwitchInputGroup.js.map +0 -1
- package/dist/inputs/TagifyInput.js.map +0 -1
- package/dist/inputs/TextAreaInput.js.map +0 -1
- package/dist/inputs/TextInput.js.map +0 -1
- package/dist/keyboard-Dd_2-cFu.js +0 -5
- package/dist/keyboard-Dd_2-cFu.js.map +0 -1
- package/dist/layouts/DashboardLayout.js.map +0 -1
- package/dist/layouts/DefaultLayout.js.map +0 -1
- package/dist/layouts/HeaderLayout.js.map +0 -1
- package/dist/layouts/NavigationGroup.js.map +0 -1
- package/dist/layouts/NavigationItem.js.map +0 -1
- package/dist/layouts/ProfileHeaderAvatar.js.map +0 -1
- package/dist/layouts/ProjectLogo.js.map +0 -1
- package/dist/layouts/SidebarLayout.js.map +0 -1
- package/dist/listbox-YaWWZiiG.js +0 -257
- package/dist/listbox-YaWWZiiG.js.map +0 -1
- package/dist/loading/ContentSkeleton.js.map +0 -1
- package/dist/loading/SmartLoadingIndicator.js.map +0 -1
- package/dist/loading/index.js.map +0 -1
- package/dist/mapThemes-DFE9fZm3.js.map +0 -1
- package/dist/maps/GoogleMap.js.map +0 -1
- package/dist/maps/UiInfoWindow.js.map +0 -1
- package/dist/maps/UiMap.js.map +0 -1
- package/dist/maps/UiMapAll.js.map +0 -1
- package/dist/maps/UiMapMarker.js.map +0 -1
- package/dist/maps/index.js.map +0 -1
- package/dist/micro-task-D-oTY33s.js +0 -9
- package/dist/micro-task-D-oTY33s.js.map +0 -1
- package/dist/modals/AlertModal.js.map +0 -1
- package/dist/modals/BaseModal.js.map +0 -1
- package/dist/modals/ImageCropperModal.js.map +0 -1
- package/dist/notifications/NotificationContainer.js.map +0 -1
- package/dist/notifications/NotificationToast.js.map +0 -1
- package/dist/notifications/index.js.map +0 -1
- package/dist/open-closed-JTEvYTg2.js +0 -19
- package/dist/open-closed-JTEvYTg2.js.map +0 -1
- package/dist/render-QUUPyNjX.js +0 -101
- package/dist/render-QUUPyNjX.js.map +0 -1
- package/dist/stepper/StepperPanels.js.map +0 -1
- package/dist/stepper/index.js.map +0 -1
- package/dist/tabs/InlineTabs.js.map +0 -1
- package/dist/tabs/TabGroup.js.map +0 -1
- package/dist/tabs/TabGroupUnderline.js.map +0 -1
- package/dist/tabs/TabsInPills.js.map +0 -1
- package/dist/tabs/index.js.map +0 -1
- package/dist/tabs-J5phClGv.js +0 -202
- package/dist/tabs-J5phClGv.js.map +0 -1
- package/dist/transition-_rPfnoET.js +0 -191
- package/dist/transition-_rPfnoET.js.map +0 -1
- package/dist/use-outside-click-14T0Zn98.js +0 -151
- package/dist/use-outside-click-14T0Zn98.js.map +0 -1
- package/dist/use-resolve-button-type-h6n-lm9q.js +0 -20
- package/dist/use-resolve-button-type-h6n-lm9q.js.map +0 -1
- package/dist/use-text-value-DKnkjK00.js +0 -44
- package/dist/use-text-value-DKnkjK00.js.map +0 -1
- package/dist/use-tree-walker-Bo9gIb_K.js +0 -16
- package/dist/use-tree-walker-Bo9gIb_K.js.map +0 -1
- package/dist/useEventSegments-B-r_8zCW.js.map +0 -1
- package/dist/useMap-BaZEIoWM.js +0 -525
- package/dist/useMap-BaZEIoWM.js.map +0 -1
- package/dist/useSimpleTabs-CSgkChEU.js.map +0 -1
- package/dist/useStringTransform-CSr7nZWg.js.map +0 -1
- package/dist/vue-datepicker-CEn0-fJj.js +0 -4871
- package/dist/vue-datepicker-CEn0-fJj.js.map +0 -1
- package/dist/vue-router-B3K2xmg_.js +0 -120
- package/dist/vue-router-B3K2xmg_.js.map +0 -1
- package/dist/vue3-lottie.es-DT4qZE-F.js +0 -7981
- package/dist/vue3-lottie.es-DT4qZE-F.js.map +0 -1
- package/dist/wrappers/BackgroundGradientWrapper.js.map +0 -1
- package/dist/wrappers/CardWrapper.js.map +0 -1
- package/dist/wrappers/DisclosureWrapper.js.map +0 -1
- package/dist/wrappers/FormErrorWrapper.js.map +0 -1
- package/dist/wrappers/index.js.map +0 -1
package/dist/useMap-BaZEIoWM.js
DELETED
|
@@ -1,525 +0,0 @@
|
|
|
1
|
-
import { inject as oe, ref as y, computed as D, watch as ie } from "vue";
|
|
2
|
-
import { a as U, b as z, g as le } from "./mapThemes-DFE9fZm3.js";
|
|
3
|
-
import { useTheme as se } from "./composables/useTheme.js";
|
|
4
|
-
function ve(t) {
|
|
5
|
-
if (t._geoloc && typeof t._geoloc == "object") {
|
|
6
|
-
const e = t._geoloc;
|
|
7
|
-
if (typeof e.lat == "number" && typeof e.lng == "number")
|
|
8
|
-
return { lat: e.lat, lng: e.lng };
|
|
9
|
-
}
|
|
10
|
-
if (t.latLng && typeof t.latLng == "object") {
|
|
11
|
-
const e = t.latLng;
|
|
12
|
-
if (typeof e.lat == "number" && typeof e.lng == "number")
|
|
13
|
-
return { lat: e.lat, lng: e.lng };
|
|
14
|
-
}
|
|
15
|
-
if (t.location && typeof t.location == "object") {
|
|
16
|
-
const e = t.location;
|
|
17
|
-
if (typeof e.lat == "number" && typeof e.lng == "number")
|
|
18
|
-
return { lat: e.lat, lng: e.lng };
|
|
19
|
-
}
|
|
20
|
-
if (t.coordinates && typeof t.coordinates == "object") {
|
|
21
|
-
const e = t.coordinates;
|
|
22
|
-
if (typeof e.lat == "number" && typeof e.lng == "number")
|
|
23
|
-
return { lat: e.lat, lng: e.lng };
|
|
24
|
-
}
|
|
25
|
-
if (typeof t.lat == "number" && typeof t.lng == "number")
|
|
26
|
-
return { lat: t.lat, lng: t.lng };
|
|
27
|
-
if (typeof t.latitude == "number" && typeof t.longitude == "number")
|
|
28
|
-
return { lat: t.latitude, lng: t.longitude };
|
|
29
|
-
if (t.address && typeof t.address == "object") {
|
|
30
|
-
const e = t.address;
|
|
31
|
-
if (e.geocode && typeof e.geocode.lat == "number" && typeof e.geocode.lng == "number")
|
|
32
|
-
return { lat: e.geocode.lat, lng: e.geocode.lng };
|
|
33
|
-
}
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
function ae(t, e) {
|
|
37
|
-
if (t < -90 || t > 90 || e < -180 || e > 180 || t === 0 && e === 0)
|
|
38
|
-
return !1;
|
|
39
|
-
const i = 1e-3;
|
|
40
|
-
return !(Math.abs(t) < i && Math.abs(e) < i);
|
|
41
|
-
}
|
|
42
|
-
const ye = { lat: 39.8283, lng: -98.5795 }, be = { lat: 0, lng: 0 };
|
|
43
|
-
function ue(t, e, i, o) {
|
|
44
|
-
function a(s) {
|
|
45
|
-
return s instanceof i ? s : new i(function(f) {
|
|
46
|
-
f(s);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
return new (i || (i = Promise))(function(s, f) {
|
|
50
|
-
function m(g) {
|
|
51
|
-
try {
|
|
52
|
-
v(o.next(g));
|
|
53
|
-
} catch (d) {
|
|
54
|
-
f(d);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
function u(g) {
|
|
58
|
-
try {
|
|
59
|
-
v(o.throw(g));
|
|
60
|
-
} catch (d) {
|
|
61
|
-
f(d);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function v(g) {
|
|
65
|
-
g.done ? s(g.value) : a(g.value).then(m, u);
|
|
66
|
-
}
|
|
67
|
-
v((o = o.apply(t, [])).next());
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
function ce(t) {
|
|
71
|
-
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
72
|
-
}
|
|
73
|
-
var K, G;
|
|
74
|
-
function fe() {
|
|
75
|
-
return G || (G = 1, K = function t(e, i) {
|
|
76
|
-
if (e === i) return !0;
|
|
77
|
-
if (e && i && typeof e == "object" && typeof i == "object") {
|
|
78
|
-
if (e.constructor !== i.constructor) return !1;
|
|
79
|
-
var o, a, s;
|
|
80
|
-
if (Array.isArray(e)) {
|
|
81
|
-
if (o = e.length, o != i.length) return !1;
|
|
82
|
-
for (a = o; a-- !== 0; )
|
|
83
|
-
if (!t(e[a], i[a])) return !1;
|
|
84
|
-
return !0;
|
|
85
|
-
}
|
|
86
|
-
if (e.constructor === RegExp) return e.source === i.source && e.flags === i.flags;
|
|
87
|
-
if (e.valueOf !== Object.prototype.valueOf) return e.valueOf() === i.valueOf();
|
|
88
|
-
if (e.toString !== Object.prototype.toString) return e.toString() === i.toString();
|
|
89
|
-
if (s = Object.keys(e), o = s.length, o !== Object.keys(i).length) return !1;
|
|
90
|
-
for (a = o; a-- !== 0; )
|
|
91
|
-
if (!Object.prototype.hasOwnProperty.call(i, s[a])) return !1;
|
|
92
|
-
for (a = o; a-- !== 0; ) {
|
|
93
|
-
var f = s[a];
|
|
94
|
-
if (!t(e[f], i[f])) return !1;
|
|
95
|
-
}
|
|
96
|
-
return !0;
|
|
97
|
-
}
|
|
98
|
-
return e !== e && i !== i;
|
|
99
|
-
}), K;
|
|
100
|
-
}
|
|
101
|
-
var ge = fe(), he = /* @__PURE__ */ ce(ge);
|
|
102
|
-
const W = "__googleMapsScriptId";
|
|
103
|
-
var R;
|
|
104
|
-
(function(t) {
|
|
105
|
-
t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
|
|
106
|
-
})(R || (R = {}));
|
|
107
|
-
class M {
|
|
108
|
-
/**
|
|
109
|
-
* Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
|
|
110
|
-
* using this library, instead the defaults are set by the Google Maps
|
|
111
|
-
* JavaScript API server.
|
|
112
|
-
*
|
|
113
|
-
* ```
|
|
114
|
-
* const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
|
|
115
|
-
* ```
|
|
116
|
-
*/
|
|
117
|
-
constructor({ apiKey: e, authReferrerPolicy: i, channel: o, client: a, id: s = W, language: f, libraries: m = [], mapIds: u, nonce: v, region: g, retries: d = 3, url: w = "https://maps.googleapis.com/maps/api/js", version: c }) {
|
|
118
|
-
if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = i, this.channel = o, this.client = a, this.id = s || W, this.language = f, this.libraries = m, this.mapIds = u, this.nonce = v, this.region = g, this.retries = d, this.url = w, this.version = c, M.instance) {
|
|
119
|
-
if (!he(this.options, M.instance.options))
|
|
120
|
-
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(M.instance.options)}`);
|
|
121
|
-
return M.instance;
|
|
122
|
-
}
|
|
123
|
-
M.instance = this;
|
|
124
|
-
}
|
|
125
|
-
get options() {
|
|
126
|
-
return {
|
|
127
|
-
version: this.version,
|
|
128
|
-
apiKey: this.apiKey,
|
|
129
|
-
channel: this.channel,
|
|
130
|
-
client: this.client,
|
|
131
|
-
id: this.id,
|
|
132
|
-
libraries: this.libraries,
|
|
133
|
-
language: this.language,
|
|
134
|
-
region: this.region,
|
|
135
|
-
mapIds: this.mapIds,
|
|
136
|
-
nonce: this.nonce,
|
|
137
|
-
url: this.url,
|
|
138
|
-
authReferrerPolicy: this.authReferrerPolicy
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
get status() {
|
|
142
|
-
return this.errors.length ? R.FAILURE : this.done ? R.SUCCESS : this.loading ? R.LOADING : R.INITIALIZED;
|
|
143
|
-
}
|
|
144
|
-
get failed() {
|
|
145
|
-
return this.done && !this.loading && this.errors.length >= this.retries + 1;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* CreateUrl returns the Google Maps JavaScript API script url given the [[LoaderOptions]].
|
|
149
|
-
*
|
|
150
|
-
* @ignore
|
|
151
|
-
* @deprecated
|
|
152
|
-
*/
|
|
153
|
-
createUrl() {
|
|
154
|
-
let e = this.url;
|
|
155
|
-
return e += "?callback=__googleMapsCallback&loading=async", this.apiKey && (e += `&key=${this.apiKey}`), this.channel && (e += `&channel=${this.channel}`), this.client && (e += `&client=${this.client}`), this.libraries.length > 0 && (e += `&libraries=${this.libraries.join(",")}`), this.language && (e += `&language=${this.language}`), this.region && (e += `®ion=${this.region}`), this.version && (e += `&v=${this.version}`), this.mapIds && (e += `&map_ids=${this.mapIds.join(",")}`), this.authReferrerPolicy && (e += `&auth_referrer_policy=${this.authReferrerPolicy}`), e;
|
|
156
|
-
}
|
|
157
|
-
deleteScript() {
|
|
158
|
-
const e = document.getElementById(this.id);
|
|
159
|
-
e && e.remove();
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Load the Google Maps JavaScript API script and return a Promise.
|
|
163
|
-
* @deprecated, use importLibrary() instead.
|
|
164
|
-
*/
|
|
165
|
-
load() {
|
|
166
|
-
return this.loadPromise();
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Load the Google Maps JavaScript API script and return a Promise.
|
|
170
|
-
*
|
|
171
|
-
* @ignore
|
|
172
|
-
* @deprecated, use importLibrary() instead.
|
|
173
|
-
*/
|
|
174
|
-
loadPromise() {
|
|
175
|
-
return new Promise((e, i) => {
|
|
176
|
-
this.loadCallback((o) => {
|
|
177
|
-
o ? i(o.error) : e(window.google);
|
|
178
|
-
});
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
importLibrary(e) {
|
|
182
|
-
return this.execute(), google.maps.importLibrary(e);
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* Load the Google Maps JavaScript API script with a callback.
|
|
186
|
-
* @deprecated, use importLibrary() instead.
|
|
187
|
-
*/
|
|
188
|
-
loadCallback(e) {
|
|
189
|
-
this.callbacks.push(e), this.execute();
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Set the script on document.
|
|
193
|
-
*/
|
|
194
|
-
setScript() {
|
|
195
|
-
var e, i;
|
|
196
|
-
if (document.getElementById(this.id)) {
|
|
197
|
-
this.callback();
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
const o = {
|
|
201
|
-
key: this.apiKey,
|
|
202
|
-
channel: this.channel,
|
|
203
|
-
client: this.client,
|
|
204
|
-
libraries: this.libraries.length && this.libraries,
|
|
205
|
-
v: this.version,
|
|
206
|
-
mapIds: this.mapIds,
|
|
207
|
-
language: this.language,
|
|
208
|
-
region: this.region,
|
|
209
|
-
authReferrerPolicy: this.authReferrerPolicy
|
|
210
|
-
};
|
|
211
|
-
Object.keys(o).forEach(
|
|
212
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
213
|
-
(s) => !o[s] && delete o[s]
|
|
214
|
-
), !((i = (e = window?.google) === null || e === void 0 ? void 0 : e.maps) === null || i === void 0) && i.importLibrary || ((s) => {
|
|
215
|
-
let f, m, u, v = "The Google Maps JavaScript API", g = "google", d = "importLibrary", w = "__ib__", c = document, b = window;
|
|
216
|
-
b = b[g] || (b[g] = {});
|
|
217
|
-
const T = b.maps || (b.maps = {}), O = /* @__PURE__ */ new Set(), L = new URLSearchParams(), j = () => (
|
|
218
|
-
// @ts-ignore
|
|
219
|
-
f || (f = new Promise((_, P) => ue(this, void 0, void 0, function* () {
|
|
220
|
-
var k;
|
|
221
|
-
yield m = c.createElement("script"), m.id = this.id, L.set("libraries", [...O] + "");
|
|
222
|
-
for (u in s)
|
|
223
|
-
L.set(u.replace(/[A-Z]/g, ($) => "_" + $[0].toLowerCase()), s[u]);
|
|
224
|
-
L.set("callback", g + ".maps." + w), m.src = this.url + "?" + L, T[w] = _, m.onerror = () => f = P(Error(v + " could not load.")), m.nonce = this.nonce || ((k = c.querySelector("script[nonce]")) === null || k === void 0 ? void 0 : k.nonce) || "", c.head.append(m);
|
|
225
|
-
})))
|
|
226
|
-
);
|
|
227
|
-
T[d] ? console.warn(v + " only loads once. Ignoring:", s) : T[d] = (_, ...P) => O.add(_) && j().then(() => T[d](_, ...P));
|
|
228
|
-
})(o);
|
|
229
|
-
const a = this.libraries.map((s) => this.importLibrary(s));
|
|
230
|
-
a.length || a.push(this.importLibrary("core")), Promise.all(a).then(() => this.callback(), (s) => {
|
|
231
|
-
const f = new ErrorEvent("error", { error: s });
|
|
232
|
-
this.loadErrorCallback(f);
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Reset the loader state.
|
|
237
|
-
*/
|
|
238
|
-
reset() {
|
|
239
|
-
this.deleteScript(), this.done = !1, this.loading = !1, this.errors = [], this.onerrorEvent = null;
|
|
240
|
-
}
|
|
241
|
-
resetIfRetryingFailed() {
|
|
242
|
-
this.failed && this.reset();
|
|
243
|
-
}
|
|
244
|
-
loadErrorCallback(e) {
|
|
245
|
-
if (this.errors.push(e), this.errors.length <= this.retries) {
|
|
246
|
-
const i = this.errors.length * Math.pow(2, this.errors.length);
|
|
247
|
-
console.error(`Failed to load Google Maps script, retrying in ${i} ms.`), setTimeout(() => {
|
|
248
|
-
this.deleteScript(), this.setScript();
|
|
249
|
-
}, i);
|
|
250
|
-
} else
|
|
251
|
-
this.onerrorEvent = e, this.callback();
|
|
252
|
-
}
|
|
253
|
-
callback() {
|
|
254
|
-
this.done = !0, this.loading = !1, this.callbacks.forEach((e) => {
|
|
255
|
-
e(this.onerrorEvent);
|
|
256
|
-
}), this.callbacks = [];
|
|
257
|
-
}
|
|
258
|
-
execute() {
|
|
259
|
-
if (this.resetIfRetryingFailed(), !this.loading)
|
|
260
|
-
if (this.done)
|
|
261
|
-
this.callback();
|
|
262
|
-
else {
|
|
263
|
-
if (window.google && window.google.maps && window.google.maps.version) {
|
|
264
|
-
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."), this.callback();
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
this.loading = !0, this.setScript();
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
let N = null, C = null;
|
|
272
|
-
function we(t = {}) {
|
|
273
|
-
const e = oe("googleMaps", {}), { isDark: i } = se(), o = {
|
|
274
|
-
apiKey: t.apiKey || e?.apiKey || "",
|
|
275
|
-
version: t.version || e?.version || "weekly",
|
|
276
|
-
libraries: t.libraries || e?.libraries || ["places", "maps", "geometry", "marker"],
|
|
277
|
-
theme: t.theme || "ultraLight",
|
|
278
|
-
autoTheme: t.autoTheme ?? !0,
|
|
279
|
-
lightTheme: t.lightTheme || "ultraLight",
|
|
280
|
-
darkTheme: t.darkTheme || "dark",
|
|
281
|
-
customStyles: t.customStyles,
|
|
282
|
-
clustering: {
|
|
283
|
-
enabled: t.clustering?.enabled ?? !1,
|
|
284
|
-
minimumClusterSize: t.clustering?.minimumClusterSize ?? 2,
|
|
285
|
-
maxZoom: t.clustering?.maxZoom ?? 15,
|
|
286
|
-
gridSize: t.clustering?.gridSize ?? 60,
|
|
287
|
-
radius: t.clustering?.radius ?? 60,
|
|
288
|
-
virtualRendering: t.clustering?.virtualRendering ?? !0,
|
|
289
|
-
maxMarkersWithoutClustering: t.clustering?.maxMarkersWithoutClustering ?? 100
|
|
290
|
-
},
|
|
291
|
-
defaultCenter: t.defaultCenter || e?.defaultCenter || { lat: 39.8283, lng: -98.5795 },
|
|
292
|
-
defaultZoom: t.defaultZoom ?? e?.defaultZoom ?? 4
|
|
293
|
-
}, a = y(!1), s = y(!1), f = y(null), m = y(null), u = y(null), v = y(o.theme), g = y(o.defaultCenter), d = y(o.defaultZoom), w = y(null), c = y([]), b = y([]), T = D(() => ({
|
|
294
|
-
apiLoading: a.value,
|
|
295
|
-
apiReady: s.value,
|
|
296
|
-
apiError: f.value,
|
|
297
|
-
dataLoading: !1,
|
|
298
|
-
// Can be extended
|
|
299
|
-
dataReady: c.value.length > 0,
|
|
300
|
-
dataError: null
|
|
301
|
-
})), O = D(() => o.customStyles ? o.customStyles : o.autoTheme ? U(i.value, o.lightTheme, o.darkTheme) : z(v.value)), L = D(() => w.value ? c.value.filter((r) => {
|
|
302
|
-
const { lat: l, lng: n } = r.position, h = w.value;
|
|
303
|
-
return l >= h.south && l <= h.north && n >= h.west && n <= h.east;
|
|
304
|
-
}) : c.value), j = D(() => !o.clustering.enabled || d.value > o.clustering.maxZoom ? !1 : c.value.length > o.clustering.maxMarkersWithoutClustering);
|
|
305
|
-
async function _() {
|
|
306
|
-
if (s.value && C)
|
|
307
|
-
return C;
|
|
308
|
-
if (!o.apiKey) {
|
|
309
|
-
const r = "Google Maps API key is required";
|
|
310
|
-
throw f.value = r, new Error(r);
|
|
311
|
-
}
|
|
312
|
-
a.value = !0, f.value = null;
|
|
313
|
-
try {
|
|
314
|
-
return N || (N = new M({
|
|
315
|
-
apiKey: o.apiKey,
|
|
316
|
-
version: o.version,
|
|
317
|
-
id: "__googleMapsScriptId",
|
|
318
|
-
libraries: o.libraries
|
|
319
|
-
})), C || (C = N.load()), m.value = C, await C, s.value = !0, a.value = !1, console.log("[useMap] Google Maps API loaded successfully"), C;
|
|
320
|
-
} catch (r) {
|
|
321
|
-
const l = r instanceof Error ? r.message : "Failed to load Google Maps API";
|
|
322
|
-
throw f.value = l, a.value = !1, console.error("[useMap] Google Maps API loading failed:", r), r;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
function P(r) {
|
|
326
|
-
u.value = r;
|
|
327
|
-
const l = r.getCenter();
|
|
328
|
-
l && (g.value = { lat: l.lat(), lng: l.lng() });
|
|
329
|
-
const n = r.getZoom();
|
|
330
|
-
n !== void 0 && (d.value = n), k();
|
|
331
|
-
}
|
|
332
|
-
function k() {
|
|
333
|
-
if (!u.value) return;
|
|
334
|
-
const r = u.value.getBounds();
|
|
335
|
-
if (r) {
|
|
336
|
-
const l = r.getNorthEast(), n = r.getSouthWest();
|
|
337
|
-
w.value = {
|
|
338
|
-
north: l.lat(),
|
|
339
|
-
south: n.lat(),
|
|
340
|
-
east: l.lng(),
|
|
341
|
-
west: n.lng()
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
function $(r) {
|
|
346
|
-
if (v.value = r, u.value && !o.autoTheme) {
|
|
347
|
-
const l = z(r);
|
|
348
|
-
u.value.setOptions({ styles: l });
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
function B(r) {
|
|
352
|
-
u.value && (u.value.panTo(r), g.value = r);
|
|
353
|
-
}
|
|
354
|
-
function J(r) {
|
|
355
|
-
u.value && (u.value.setZoom(r), d.value = r);
|
|
356
|
-
}
|
|
357
|
-
function V(r, l) {
|
|
358
|
-
if (!u.value) return;
|
|
359
|
-
const n = new google.maps.LatLngBounds(
|
|
360
|
-
{ lat: r.south, lng: r.west },
|
|
361
|
-
{ lat: r.north, lng: r.east }
|
|
362
|
-
);
|
|
363
|
-
u.value.fitBounds(n, l), k();
|
|
364
|
-
}
|
|
365
|
-
function X(r = 50) {
|
|
366
|
-
if (!u.value || c.value.length === 0) return;
|
|
367
|
-
const l = new google.maps.LatLngBounds();
|
|
368
|
-
c.value.forEach((n) => {
|
|
369
|
-
l.extend(n.position);
|
|
370
|
-
}), u.value.fitBounds(l, r), k();
|
|
371
|
-
}
|
|
372
|
-
function Y(r) {
|
|
373
|
-
c.value = [...c.value, r];
|
|
374
|
-
}
|
|
375
|
-
function H(r) {
|
|
376
|
-
c.value = c.value.filter((l) => l.id !== r);
|
|
377
|
-
}
|
|
378
|
-
function Q(r, l) {
|
|
379
|
-
c.value = c.value.map(
|
|
380
|
-
(n) => n.id === r ? { ...n, ...l } : n
|
|
381
|
-
);
|
|
382
|
-
}
|
|
383
|
-
function ee() {
|
|
384
|
-
c.value = [], b.value = [];
|
|
385
|
-
}
|
|
386
|
-
function te(r) {
|
|
387
|
-
c.value = r;
|
|
388
|
-
}
|
|
389
|
-
function re(r, l) {
|
|
390
|
-
if (!o.clustering.enabled || !j.value) {
|
|
391
|
-
b.value = [];
|
|
392
|
-
return;
|
|
393
|
-
}
|
|
394
|
-
const n = o.clustering.gridSize / Math.pow(2, r), h = /* @__PURE__ */ new Map();
|
|
395
|
-
(l ? c.value.filter((p) => {
|
|
396
|
-
const { lat: S, lng: I } = p.position;
|
|
397
|
-
return S >= l.south && S <= l.north && I >= l.west && I <= l.east;
|
|
398
|
-
}) : c.value).forEach((p) => {
|
|
399
|
-
const S = Math.floor(p.position.lng / n), I = Math.floor(p.position.lat / n), A = `${S}_${I}`;
|
|
400
|
-
h.has(A) || h.set(A, []), h.get(A).push(p);
|
|
401
|
-
});
|
|
402
|
-
const x = [];
|
|
403
|
-
h.forEach((p, S) => {
|
|
404
|
-
if (p.length >= o.clustering.minimumClusterSize) {
|
|
405
|
-
const I = p.reduce((Z, F) => Z + F.position.lat, 0), A = p.reduce((Z, F) => Z + F.position.lng, 0);
|
|
406
|
-
x.push({
|
|
407
|
-
id: `cluster_${S}`,
|
|
408
|
-
position: {
|
|
409
|
-
lat: I / p.length,
|
|
410
|
-
lng: A / p.length
|
|
411
|
-
},
|
|
412
|
-
size: p.length,
|
|
413
|
-
markers: p
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
}), b.value = x;
|
|
417
|
-
}
|
|
418
|
-
function q(r) {
|
|
419
|
-
const l = [
|
|
420
|
-
// _geoloc (Algolia format)
|
|
421
|
-
() => {
|
|
422
|
-
const n = r._geoloc;
|
|
423
|
-
return n && typeof n.lat == "number" && typeof n.lng == "number" ? { lat: n.lat, lng: n.lng } : null;
|
|
424
|
-
},
|
|
425
|
-
// latLng
|
|
426
|
-
() => {
|
|
427
|
-
const n = r.latLng;
|
|
428
|
-
return n && typeof n.lat == "number" && typeof n.lng == "number" ? { lat: n.lat, lng: n.lng } : null;
|
|
429
|
-
},
|
|
430
|
-
// location
|
|
431
|
-
() => {
|
|
432
|
-
const n = r.location;
|
|
433
|
-
return n && typeof n.lat == "number" && typeof n.lng == "number" ? { lat: n.lat, lng: n.lng } : null;
|
|
434
|
-
},
|
|
435
|
-
// coordinates
|
|
436
|
-
() => {
|
|
437
|
-
const n = r.coordinates;
|
|
438
|
-
return n && typeof n.lat == "number" && typeof n.lng == "number" ? { lat: n.lat, lng: n.lng } : null;
|
|
439
|
-
},
|
|
440
|
-
// Direct lat/lng
|
|
441
|
-
() => typeof r.lat == "number" && typeof r.lng == "number" ? { lat: r.lat, lng: r.lng } : null,
|
|
442
|
-
// latitude/longitude
|
|
443
|
-
() => typeof r.latitude == "number" && typeof r.longitude == "number" ? { lat: r.latitude, lng: r.longitude } : null,
|
|
444
|
-
// address.geocode
|
|
445
|
-
() => {
|
|
446
|
-
const n = r.address;
|
|
447
|
-
return n?.geocode && typeof n.geocode.lat == "number" && typeof n.geocode.lng == "number" ? { lat: n.geocode.lat, lng: n.geocode.lng } : null;
|
|
448
|
-
}
|
|
449
|
-
];
|
|
450
|
-
for (const n of l) {
|
|
451
|
-
const h = n();
|
|
452
|
-
if (h && ae(h.lat, h.lng))
|
|
453
|
-
return h;
|
|
454
|
-
}
|
|
455
|
-
return null;
|
|
456
|
-
}
|
|
457
|
-
function ne(r, l, n = "id") {
|
|
458
|
-
const h = l || q;
|
|
459
|
-
return r.map((E, x) => {
|
|
460
|
-
const p = h(E);
|
|
461
|
-
if (!p) return null;
|
|
462
|
-
const S = E[n] || `marker_${x}`, I = E.name || E.title || E.displayName || "";
|
|
463
|
-
return {
|
|
464
|
-
id: S,
|
|
465
|
-
position: p,
|
|
466
|
-
title: I,
|
|
467
|
-
data: E
|
|
468
|
-
};
|
|
469
|
-
}).filter((E) => E !== null);
|
|
470
|
-
}
|
|
471
|
-
return o.autoTheme && ie(i, () => {
|
|
472
|
-
if (u.value) {
|
|
473
|
-
const r = U(i.value, o.lightTheme, o.darkTheme);
|
|
474
|
-
u.value.setOptions({ styles: r });
|
|
475
|
-
}
|
|
476
|
-
}), {
|
|
477
|
-
// Loading state
|
|
478
|
-
isApiLoading: a,
|
|
479
|
-
isApiReady: s,
|
|
480
|
-
apiError: f,
|
|
481
|
-
apiPromise: m,
|
|
482
|
-
loadingState: T,
|
|
483
|
-
// Theme
|
|
484
|
-
currentTheme: v,
|
|
485
|
-
mapStyles: O,
|
|
486
|
-
setTheme: $,
|
|
487
|
-
// Map reference
|
|
488
|
-
mapRef: u,
|
|
489
|
-
setMap: P,
|
|
490
|
-
// Position
|
|
491
|
-
center: g,
|
|
492
|
-
zoom: d,
|
|
493
|
-
bounds: w,
|
|
494
|
-
// Markers
|
|
495
|
-
markers: c,
|
|
496
|
-
visibleMarkers: L,
|
|
497
|
-
addMarker: Y,
|
|
498
|
-
removeMarker: H,
|
|
499
|
-
updateMarker: Q,
|
|
500
|
-
clearMarkers: ee,
|
|
501
|
-
setMarkers: te,
|
|
502
|
-
// Clustering
|
|
503
|
-
clusters: b,
|
|
504
|
-
shouldShowClusters: j,
|
|
505
|
-
processMarkers: re,
|
|
506
|
-
getClusterColor: le,
|
|
507
|
-
// Utilities
|
|
508
|
-
initializeApi: _,
|
|
509
|
-
panTo: B,
|
|
510
|
-
setZoom: J,
|
|
511
|
-
fitBounds: V,
|
|
512
|
-
fitToMarkers: X,
|
|
513
|
-
// Coordinate extraction
|
|
514
|
-
extractCoordinates: q,
|
|
515
|
-
markersFromData: ne
|
|
516
|
-
};
|
|
517
|
-
}
|
|
518
|
-
export {
|
|
519
|
-
ye as U,
|
|
520
|
-
be as W,
|
|
521
|
-
ve as d,
|
|
522
|
-
ae as i,
|
|
523
|
-
we as u
|
|
524
|
-
};
|
|
525
|
-
//# sourceMappingURL=useMap-BaZEIoWM.js.map
|