@stachelock/ui 0.6.8 → 0.6.11
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/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-CMBsY5Y0.js → CalendarHeader.vue_vue_type_script_setup_true_lang-CooyV5tq.js} +2 -2
- package/dist/{ComboboxInput.vue_vue_type_script_setup_true_lang-DacJtKYo.js → ComboboxInput.vue_vue_type_script_setup_true_lang-Cy0Pl8Ap.js} +90 -91
- package/dist/{DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js → DatepickerInput.vue_vue_type_style_index_0_lang-C_0dWHo6.js} +5 -4
- package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-D-4jcUvI.js → DayCalendar.vue_vue_type_script_setup_true_lang-BgV8wr8v.js} +1 -1
- package/dist/{DynamicForm.vue_vue_type_script_setup_true_lang-Bq8Gvhsc.js → DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js} +1 -1
- package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-CdNtWWlT.js → DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js} +4 -4
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-59bDl9yw.js +123 -0
- package/dist/{FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js → FileDropzoneInput.vue_vue_type_script_setup_true_lang-BC_qN5qn.js} +1 -1
- package/dist/{ImageDropzoneInput.vue_vue_type_script_setup_true_lang-7JWDfxD2.js → ImageDropzoneInput.vue_vue_type_script_setup_true_lang-Dhl2jFaM.js} +93 -89
- package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-B6A0zsE6.js → InlineTabs.vue_vue_type_script_setup_true_lang-DGGJem-g.js} +1 -1
- package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-lnKkvJ9u.js → MonthCalendar.vue_vue_type_style_index_0_lang-BdrrlrNr.js} +1 -1
- package/dist/{SelectInput.vue_vue_type_script_setup_true_lang-DFfKsmvj.js → SelectInput.vue_vue_type_script_setup_true_lang-DEaP3bhC.js} +138 -140
- package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-DYlrRigi.js +305 -0
- package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-BzqtAqbr.js → TabGroup.vue_vue_type_script_setup_true_lang-DTWW7kYh.js} +1 -1
- package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-C6OYRDCq.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-B8e7kxad.js} +1 -1
- package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-C7T3PUnB.js → TabsInPills.vue_vue_type_script_setup_true_lang-Dzi4ENL1.js} +1 -1
- package/dist/{TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js → TagifyInput.vue_vue_type_script_setup_true_lang-CwxJ2x1x.js} +65 -62
- package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js → TextAreaInput.vue_vue_type_script_setup_true_lang-Dtf7H1sT.js} +3 -2
- package/dist/{calendar-DLry-Vik.js → calendar-DaXCwXP5.js} +1 -1
- package/dist/calendars/CalendarDashboard.d.ts +3 -1
- package/dist/calendars/CalendarDashboard.js +2 -2
- package/dist/calendars/CalendarHeader.d.ts +3 -1
- package/dist/calendars/CalendarHeader.js +1 -1
- package/dist/calendars/DayCalendar.d.ts +3 -1
- package/dist/calendars/DayCalendar.js +1 -1
- package/dist/calendars/EventCard.d.ts +3 -1
- package/dist/calendars/EventsList.d.ts +3 -1
- package/dist/calendars/MonthCalendar.d.ts +3 -1
- package/dist/calendars/MonthCalendar.js +1 -1
- package/dist/calendars/WeekCalendar.d.ts +3 -1
- package/dist/calendars/WeekCalendar.js +2 -2
- package/dist/calendars/YearCalendar.d.ts +3 -1
- package/dist/charts/BarChart.d.ts +3 -1
- package/dist/charts/BaseChart.d.ts +3 -1
- package/dist/charts/FunnelChart.d.ts +3 -1
- package/dist/charts/LineChart.d.ts +3 -1
- package/dist/charts/PieChart.d.ts +3 -1
- package/dist/charts/SparklineChart.d.ts +3 -1
- package/dist/charts/StatCard.d.ts +3 -1
- package/dist/charts/chartTheme.d.ts +0 -3
- package/dist/charts/index.d.ts +0 -1
- package/dist/components/Avatar.d.ts +3 -1
- package/dist/components/Badge.d.ts +3 -1
- package/dist/components/Banner.d.ts +3 -1
- package/dist/components/Breadcrumb.d.ts +3 -1
- package/dist/components/Button.d.ts +3 -1
- package/dist/components/ButtonGroup.d.ts +3 -1
- package/dist/components/Checkbox.d.ts +3 -1
- package/dist/components/CloudinaryImage.d.ts +3 -1
- package/dist/components/CloudinaryImage.js +52 -52
- package/dist/components/Loading.d.ts +3 -1
- package/dist/components/LoadingDots.d.ts +3 -1
- package/dist/components/LottieAnimation.d.ts +3 -1
- package/dist/components/Menu.d.ts +3 -1
- package/dist/components/Modal.d.ts +3 -1
- package/dist/components/NavLink.d.ts +3 -1
- package/dist/components/ProgressBar.d.ts +3 -1
- package/dist/components/RadialProgressBar.d.ts +3 -1
- package/dist/components/Table.d.ts +3 -1
- package/dist/components/Transition.d.ts +3 -1
- package/dist/composables/index.d.ts +0 -1
- package/dist/composables/useCalendar.d.ts +0 -3
- package/dist/composables/useCalendar.js +1 -1
- package/dist/composables/useFormValidation.d.ts +0 -3
- package/dist/composables/useMap.d.ts +0 -3
- package/dist/composables/useModal.d.ts +0 -3
- package/dist/composables/useNotifications.d.ts +0 -3
- package/dist/composables/useNotifications.js +1 -1
- package/dist/composables/useTabs.d.ts +0 -1
- package/dist/composables/useTheme.d.ts +0 -3
- package/dist/empty-state/ComingSoon.d.ts +3 -1
- package/dist/empty-state/EmptyState.d.ts +3 -1
- package/dist/empty-state/index.d.ts +0 -1
- package/dist/forms/DynamicForm.d.ts +3 -1
- package/dist/forms/DynamicForm.js +1 -1
- package/dist/forms/DynamicFormField.d.ts +3 -1
- package/dist/forms/DynamicFormField.js +1 -1
- package/dist/forms/FormFieldWrapper.d.ts +3 -1
- package/dist/forms/FormFieldWrapper.js +2 -2
- package/dist/index.d.ts +0 -3
- package/dist/index.js +1677 -1341
- package/dist/inputs/AddDeleteButtonGroup.d.ts +3 -1
- package/dist/inputs/AddressInput.d.ts +3 -1
- package/dist/inputs/AddressInput.js +49 -47
- package/dist/inputs/CheckboxInput.d.ts +3 -1
- package/dist/inputs/ComboboxInput.d.ts +3 -1
- package/dist/inputs/ComboboxInput.js +1 -1
- package/dist/inputs/DatepickerInput.d.ts +3 -1
- package/dist/inputs/DatepickerInput.js +1 -1
- package/dist/inputs/EmailInput.d.ts +3 -1
- package/dist/inputs/EmailInput.js +1 -1
- package/dist/inputs/EmptyInput.d.ts +3 -1
- package/dist/inputs/FileDropzoneInput.d.ts +3 -1
- package/dist/inputs/FileDropzoneInput.js +1 -1
- package/dist/inputs/HiddenInput.d.ts +3 -1
- package/dist/inputs/ImageDropzoneInput.d.ts +3 -1
- package/dist/inputs/ImageDropzoneInput.js +1 -1
- package/dist/inputs/PhoneInput.d.ts +3 -1
- package/dist/inputs/PhoneInput.js +148 -147
- package/dist/inputs/RichTextInput.d.ts +3 -1
- package/dist/inputs/RichTextInput.js +1 -1
- package/dist/inputs/SelectInput.d.ts +3 -1
- package/dist/inputs/SelectInput.js +1 -1
- package/dist/inputs/SelectTextInput.d.ts +3 -1
- package/dist/inputs/SelectTextInput.js +1 -1
- package/dist/inputs/SwitchInput.d.ts +3 -1
- package/dist/inputs/SwitchInputGroup.d.ts +3 -1
- package/dist/inputs/TagifyInput.d.ts +3 -1
- package/dist/inputs/TagifyInput.js +1 -1
- package/dist/inputs/TextAreaInput.d.ts +3 -1
- package/dist/inputs/TextAreaInput.js +1 -1
- package/dist/inputs/TextInput.d.ts +3 -1
- package/dist/inputs/TextInput.js +116 -3
- package/dist/layouts/DashboardLayout.d.ts +3 -1
- package/dist/layouts/DefaultLayout.d.ts +3 -1
- package/dist/layouts/HeaderLayout.d.ts +3 -1
- package/dist/layouts/NavigationGroup.d.ts +3 -1
- package/dist/layouts/NavigationItem.d.ts +3 -1
- package/dist/layouts/ProfileHeaderAvatar.d.ts +3 -1
- package/dist/layouts/ProjectLogo.d.ts +3 -1
- package/dist/layouts/SidebarLayout.d.ts +3 -1
- package/dist/loading/ContentSkeleton.d.ts +3 -1
- package/dist/loading/SmartLoadingIndicator.d.ts +3 -1
- package/dist/loading/index.d.ts +0 -1
- package/dist/maps/GoogleMap.d.ts +3 -1
- package/dist/maps/UiInfoWindow.d.ts +3 -1
- package/dist/maps/UiMap.d.ts +3 -1
- package/dist/maps/UiMapAll.d.ts +3 -1
- package/dist/maps/UiMapMarker.d.ts +3 -1
- package/dist/maps/index.d.ts +0 -1
- package/dist/modals/AlertModal.d.ts +3 -1
- package/dist/modals/BaseModal.d.ts +3 -1
- package/dist/modals/ImageCropperModal.d.ts +3 -1
- package/dist/notifications/NotificationContainer.d.ts +3 -1
- package/dist/notifications/NotificationToast.d.ts +3 -1
- package/dist/notifications/index.d.ts +0 -1
- package/dist/src/components/CloudinaryImage.d.ts +16 -14
- package/dist/src/components/LottieAnimation.d.ts +37 -6
- package/dist/src/components/ThemeDebugModal.d.ts +16 -6
- package/dist/src/components/UiAvatar.d.ts +35 -2
- package/dist/src/components/UiBadge.d.ts +33 -6
- package/dist/src/components/UiBanner.d.ts +108 -35
- package/dist/src/components/UiBreadcrumb.d.ts +11 -10
- package/dist/src/components/UiButton.d.ts +66 -13
- package/dist/src/components/UiButtonGroup.d.ts +37 -7
- package/dist/src/components/UiCheckbox.d.ts +33 -8
- package/dist/src/components/UiLoading.d.ts +28 -2
- package/dist/src/components/UiLoadingDots.d.ts +2 -2
- package/dist/src/components/UiMenu.d.ts +33 -5
- package/dist/src/components/UiModal.d.ts +3 -4
- package/dist/src/components/UiNavLink.d.ts +40 -6
- package/dist/src/components/UiProgressBar.d.ts +32 -3
- package/dist/src/components/UiRadialProgressBar.d.ts +34 -3
- package/dist/src/components/UiTable.d.ts +29 -6
- package/dist/src/components/UiTransition.d.ts +26 -3
- package/dist/src/components/avatars/AvatarIcon.d.ts +28 -6
- package/dist/src/components/avatars/AvatarImage.d.ts +30 -9
- package/dist/src/components/avatars/AvatarInitials.d.ts +24 -5
- package/dist/src/components/avatars/AvatarWithText.d.ts +4 -3
- package/dist/src/components/calendars/CalendarDashboard.d.ts +17 -5
- package/dist/src/components/calendars/CalendarHeader.d.ts +7 -8
- package/dist/src/components/calendars/DayCalendar.d.ts +17 -11
- package/dist/src/components/calendars/EventCard.d.ts +2 -1
- package/dist/src/components/calendars/EventsList.d.ts +18 -6
- package/dist/src/components/calendars/MonthCalendar.d.ts +30 -6
- package/dist/src/components/calendars/WeekCalendar.d.ts +16 -10
- package/dist/src/components/calendars/YearCalendar.d.ts +29 -5
- package/dist/src/components/charts/BarChart.d.ts +40 -7
- package/dist/src/components/charts/BaseChart.d.ts +80 -0
- package/dist/src/components/charts/FunnelChart.d.ts +34 -5
- package/dist/src/components/charts/LineChart.d.ts +37 -6
- package/dist/src/components/charts/PieChart.d.ts +37 -6
- package/dist/src/components/charts/SparklineChart.d.ts +32 -3
- package/dist/src/components/charts/StatCard.d.ts +24 -2
- package/dist/src/components/charts/chartTheme.d.ts +1 -0
- package/dist/src/components/collection-editor/CollectionEditor.d.ts +112 -0
- package/dist/src/components/collection-editor/CollectionItemList.d.ts +37 -7
- package/dist/src/components/collection-editor/OrganizationsEditor.d.ts +34 -8
- package/dist/src/components/collection-editor/RelatedNamesEditor.d.ts +37 -7
- package/dist/src/components/collection-editor/SocialLinksEditor.d.ts +37 -7
- package/dist/src/components/empty-state/ComingSoon.d.ts +29 -2
- package/dist/src/components/empty-state/EmptyState.d.ts +26 -4
- package/dist/src/components/formatters/DateFormatter.d.ts +2 -1
- package/dist/src/components/formatters/DateRangeFormatter.d.ts +1 -0
- package/dist/src/components/forms/DynamicForm.d.ts +37 -11
- package/dist/src/components/forms/DynamicFormField.d.ts +15 -5
- package/dist/src/components/forms/FormFieldWrapper.d.ts +58 -14
- package/dist/src/components/icons/brands/DiscordBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/FacebookBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/GitHubBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/InstagramBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/LinkedInBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/PinterestBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/SnapchatBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/ThreadsBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/TikTokBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/TwitchBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/XBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/YouTubeBrandIcon.d.ts +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts +3 -2
- package/dist/src/components/inputs/AddressInput.d.ts +45 -7
- package/dist/src/components/inputs/CheckboxInput.d.ts +37 -10
- package/dist/src/components/inputs/ComboboxInput.d.ts +54 -12
- package/dist/src/components/inputs/DatepickerInput.d.ts +43 -1046
- package/dist/src/components/inputs/EmailInput.d.ts +56 -12
- package/dist/src/components/inputs/EmptyInput.d.ts +26 -2
- package/dist/src/components/inputs/FileDropzoneInput.d.ts +6 -7
- package/dist/src/components/inputs/HiddenInput.d.ts +23 -2
- package/dist/src/components/inputs/ImageDropzoneInput.d.ts +9 -8
- package/dist/src/components/inputs/InputsShowcase.d.ts +1 -1
- package/dist/src/components/inputs/PhoneInput.d.ts +18 -81
- package/dist/src/components/inputs/RichTextInput.d.ts +81 -23
- package/dist/src/components/inputs/SelectInput.d.ts +41 -47
- package/dist/src/components/inputs/SelectTextInput.d.ts +22 -53
- package/dist/src/components/inputs/SwitchInput.d.ts +41 -114
- package/dist/src/components/inputs/SwitchInputGroup.d.ts +3 -2
- package/dist/src/components/inputs/TagifyInput.d.ts +8 -10
- package/dist/src/components/inputs/TextAreaInput.d.ts +35 -9
- package/dist/src/components/inputs/TextInput.d.ts +76 -14
- package/dist/src/components/layouts/CardLayout.d.ts +64 -18
- package/dist/src/components/layouts/DashboardLayout.d.ts +5 -8
- package/dist/src/components/layouts/DefaultLayout.d.ts +1 -1
- package/dist/src/components/layouts/HeaderLayout.d.ts +4 -4
- package/dist/src/components/layouts/InfoCard.d.ts +25 -2
- package/dist/src/components/layouts/NavigationGroup.d.ts +16 -5
- package/dist/src/components/layouts/NavigationItem.d.ts +24 -7
- package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts +40 -10
- package/dist/src/components/layouts/ProjectLogo.d.ts +33 -2
- package/dist/src/components/layouts/PropsTable.d.ts +23 -2
- package/dist/src/components/layouts/ShowcaseCard.d.ts +29 -2
- package/dist/src/components/layouts/ShowcaseLayout.d.ts +28 -5
- package/dist/src/components/layouts/SidebarLayout.d.ts +4 -7
- package/dist/src/components/layouts/StateDisplay.d.ts +23 -2
- package/dist/src/components/loading/ContentSkeleton.d.ts +31 -2
- package/dist/src/components/loading/SmartLoadingIndicator.d.ts +47 -6
- package/dist/src/components/maps/GoogleMap.d.ts +9 -8
- package/dist/src/components/maps/UiInfoWindow.d.ts +14 -229
- package/dist/src/components/maps/UiMap.d.ts +103 -5093
- package/dist/src/components/maps/UiMapAll.d.ts +22 -1132
- package/dist/src/components/maps/UiMapMarker.d.ts +18 -17
- package/dist/src/components/modals/AlertModal.d.ts +10 -9
- package/dist/src/components/modals/BaseModal.d.ts +6 -5
- package/dist/src/components/modals/ImageCropperModal.d.ts +75 -379
- package/dist/src/components/notifications/NotificationToast.d.ts +18 -7
- package/dist/src/components/profile-inputs/BaseInformationInput.d.ts +117 -0
- package/dist/src/components/profile-inputs/NamesInput.d.ts +107 -0
- package/dist/src/components/profile-inputs/index.d.ts +2 -0
- package/dist/src/components/profiles/BentoProfileLayout.d.ts +44 -2
- package/dist/src/components/profiles/BentoProfileLayoutSkeleton.d.ts +27 -2
- package/dist/src/components/profiles/ProfileCard.d.ts +30 -2
- package/dist/src/components/profiles/ProfileContactCard.d.ts +25 -2
- package/dist/src/components/profiles/ProfileHeaderCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfileLocationCard.d.ts +28 -2
- package/dist/src/components/profiles/ProfileOrganizationsCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfilePersonalCard.d.ts +25 -2
- package/dist/src/components/profiles/ProfileProfessionalCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfileRelatedNamesCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfileSocialCard.d.ts +26 -2
- package/dist/src/components/stepper/StepperPanels.d.ts +14 -4
- package/dist/src/components/tabs/InlineTabs.d.ts +28 -4
- package/dist/src/components/tabs/TabGroup.d.ts +32 -6
- package/dist/src/components/tabs/TabGroupUnderline.d.ts +32 -6
- package/dist/src/components/tabs/TabsInPills.d.ts +26 -4
- package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +37 -2
- package/dist/src/components/wrappers/CardWrapper.d.ts +1 -1
- package/dist/src/components/wrappers/DisclosureWrapper.d.ts +23 -2
- package/dist/src/components/wrappers/FormErrorWrapper.d.ts +25 -2
- package/dist/src/composables/useCalendar.d.ts +1 -0
- package/dist/src/composables/useCollectionEditor.d.ts +1 -0
- package/dist/src/composables/useFormValidation.d.ts +1 -0
- package/dist/src/composables/useMap.d.ts +1 -0
- package/dist/src/composables/useNotifications.d.ts +33 -32
- package/dist/src/composables/useSimpleTabs.d.ts +1 -0
- package/dist/src/composables/useStringTransform.d.ts +1 -0
- package/dist/src/composables/useTabs.d.ts +1 -0
- package/dist/src/config/css-variables.d.ts +1 -0
- package/dist/src/dev.d.ts +1 -0
- package/dist/src/plugin/configure.d.ts +3 -2
- package/dist/src/services/geocoding.service.d.ts +1 -0
- package/dist/src/types/calendars.d.ts +1 -0
- package/dist/src/types/core.d.ts +8 -7
- package/dist/src/types/forms.d.ts +1 -0
- package/dist/src/types/layouts.d.ts +1 -0
- package/dist/src/types/navigation.d.ts +1 -0
- package/dist/src/types/tables.d.ts +1 -0
- package/dist/src/types/ui.d.ts +1 -0
- package/dist/src/utils/component-registry.d.ts +1 -0
- package/dist/src/utils/mapThemes.d.ts +1 -0
- package/dist/src/utils/phone.d.ts +1 -0
- package/dist/src/utils/validation.d.ts +1 -0
- package/dist/src/views/components/index.d.ts +1 -1
- package/dist/src/views/index.d.ts +1 -0
- package/dist/src/views/inputs/index.d.ts +2 -0
- package/dist/stepper/StepperPanels.d.ts +3 -1
- package/dist/stepper/index.d.ts +0 -1
- package/dist/style.css +1 -1
- package/dist/tabs/InlineTabs.d.ts +3 -1
- package/dist/tabs/InlineTabs.js +1 -1
- package/dist/tabs/TabGroup.d.ts +3 -1
- package/dist/tabs/TabGroup.js +1 -1
- package/dist/tabs/TabGroupUnderline.d.ts +3 -1
- package/dist/tabs/TabGroupUnderline.js +1 -1
- package/dist/tabs/TabsInPills.d.ts +3 -1
- package/dist/tabs/TabsInPills.js +1 -1
- package/dist/tabs/index.d.ts +0 -1
- package/dist/tabs/index.js +4 -4
- package/dist/validation-Dzczp6MS.js +22 -0
- package/dist/wrappers/BackgroundGradientWrapper.d.ts +3 -1
- package/dist/wrappers/CardWrapper.d.ts +3 -1
- package/dist/wrappers/DisclosureWrapper.d.ts +3 -1
- package/dist/wrappers/FormErrorWrapper.d.ts +3 -1
- package/dist/wrappers/index.d.ts +0 -1
- package/package.json +29 -29
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js +0 -121
- package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-C3BGLjY1.js +0 -336
- package/dist/TextInput-C5IzX7m_.js +0 -131
- package/dist/src/views/ButtonsShowcase.d.ts +0 -2
- package/dist/src/views/CalendarsShowcase.d.ts +0 -2
- package/dist/src/views/CardsShowcase.d.ts +0 -2
- package/dist/src/views/ChartsShowcase.d.ts +0 -2
- package/dist/src/views/EmptyStatesShowcase.d.ts +0 -2
- package/dist/src/views/InputsShowcase.d.ts +0 -2
- package/dist/src/views/KitchenSink.d.ts +0 -2
- package/dist/src/views/LayoutsShowcase.d.ts +0 -2
- package/dist/src/views/LoadingShowcase.d.ts +0 -2
- package/dist/src/views/MapsShowcase.d.ts +0 -2
- package/dist/src/views/ModalsShowcase.d.ts +0 -2
- package/dist/src/views/NotificationsShowcase.d.ts +0 -2
- package/dist/src/views/StepperShowcase.d.ts +0 -2
- package/dist/src/views/TabsShowcase.d.ts +0 -2
- package/dist/src/views/ValidationDemo.d.ts +0 -2
- package/dist/src/views/WrappersShowcase.d.ts +0 -2
- package/dist/src/views/components/AvatarPage.d.ts +0 -2
- package/dist/src/views/components/BadgePage.d.ts +0 -2
- package/dist/src/views/components/BannerPage.d.ts +0 -2
- package/dist/src/views/components/BreadcrumbPage.d.ts +0 -2
- package/dist/src/views/components/ButtonPage.d.ts +0 -2
- package/dist/src/views/components/CloudinaryImagePage.d.ts +0 -2
- package/dist/src/views/components/LoadingPage.d.ts +0 -2
- package/dist/src/views/components/LottiePage.d.ts +0 -2
- package/dist/src/views/components/MenuPage.d.ts +0 -2
- package/dist/src/views/components/ModalPage.d.ts +0 -2
- package/dist/src/views/components/ProgressPage.d.ts +0 -2
- package/dist/src/views/components/RichTextInputPage.d.ts +0 -2
- package/dist/src/views/components/TablePage.d.ts +0 -2
- package/dist/src/views/components/TextInputPage.d.ts +0 -2
- package/dist/src/views/components/TransitionPage.d.ts +0 -2
- package/dist/src/views/examples/CheckoutFormExample.d.ts +0 -2
- package/dist/src/views/examples/ContactFormExample.d.ts +0 -2
- package/dist/src/views/examples/RegistrationFormExample.d.ts +0 -2
- package/dist/src/views/examples/SettingsFormExample.d.ts +0 -2
- package/dist/src/views/forms/ValidationPage.d.ts +0 -2
- package/dist/src/views/inputs/CheckboxPage.d.ts +0 -2
- package/dist/src/views/inputs/ComboboxPage.d.ts +0 -2
- package/dist/src/views/inputs/DatepickerPage.d.ts +0 -2
- package/dist/src/views/inputs/EmailPage.d.ts +0 -2
- package/dist/src/views/inputs/FileDropzonePage.d.ts +0 -2
- package/dist/src/views/inputs/MiscInputsPage.d.ts +0 -2
- package/dist/src/views/inputs/PhonePage.d.ts +0 -2
- package/dist/src/views/inputs/SelectPage.d.ts +0 -2
- package/dist/src/views/inputs/SelectTextPage.d.ts +0 -2
- package/dist/src/views/inputs/SwitchGroupPage.d.ts +0 -2
- package/dist/src/views/inputs/SwitchPage.d.ts +0 -2
- package/dist/src/views/inputs/TextAreaPage.d.ts +0 -2
- package/dist/src/views/layouts/CardLayoutPage.d.ts +0 -2
- package/dist/src/views/layouts/DashboardLayoutPage.d.ts +0 -2
- package/dist/src/views/layouts/HeaderLayoutPage.d.ts +0 -2
- package/dist/src/views/layouts/SidebarLayoutPage.d.ts +0 -2
- package/dist/ui.css +0 -1
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { defineComponent as pe, inject as
|
|
2
|
-
import { i as Ce
|
|
1
|
+
import { defineComponent as pe, inject as ve, onMounted as ye, ref as $, reactive as be, computed as K, watch as he, createElementBlock as G, openBlock as x, createVNode as v, unref as p, withCtx as C, createElementVNode as y, createCommentVNode as R, normalizeClass as I, createBlock as E, Fragment as xe, renderList as ke, toDisplayString as N, resolveDynamicComponent as we, createTextVNode as H } from "vue";
|
|
2
|
+
import { i as Ce } from "../validation-Dzczp6MS.js";
|
|
3
3
|
import { Combobox as Ie, ComboboxInput as Se, ComboboxButton as Ae, TransitionRoot as W, ComboboxOptions as ze, ComboboxOption as _e } from "@headlessui/vue";
|
|
4
|
-
import { LockClosedIcon as $e, MagnifyingGlassIcon as Ke, CheckIcon as Ge, ChevronDownIcon as
|
|
4
|
+
import { LockClosedIcon as $e, MagnifyingGlassIcon as Ke, CheckIcon as Ge, ChevronDownIcon as Oe, ChevronUpIcon as Te } from "@heroicons/vue/20/solid";
|
|
5
5
|
import { ClockIcon as Q, ExclamationCircleIcon as Me, CheckCircleIcon as Ue } from "@heroicons/vue/24/outline";
|
|
6
6
|
import { useField as Ee } from "vee-validate";
|
|
7
7
|
import { debounce as X } from "lodash-es";
|
|
8
8
|
import Pe from "../forms/FormFieldWrapper.js";
|
|
9
|
+
import O from "./TextInput.js";
|
|
9
10
|
import { g as Le } from "../id-DafBB_QF.js";
|
|
10
11
|
import { Loader as Re } from "@googlemaps/js-api-loader";
|
|
11
12
|
import { _ as Ne } from "../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
let k = null, U = null, L = null,
|
|
13
|
+
let k = null, U = null, L = null, T = null, F = !1;
|
|
13
14
|
const M = /* @__PURE__ */ new Map(), Fe = 1e3, Be = 1e3 * 60 * 60 * 24;
|
|
14
15
|
function De(e) {
|
|
15
|
-
k = e, F = !1,
|
|
16
|
+
k = e, F = !1, T = null, L = null, U = null;
|
|
16
17
|
}
|
|
17
18
|
function Ve() {
|
|
18
19
|
return k !== null && !!k.apiKey;
|
|
19
20
|
}
|
|
20
21
|
async function B() {
|
|
21
22
|
if (!F) {
|
|
22
|
-
if (
|
|
23
|
-
return
|
|
23
|
+
if (T)
|
|
24
|
+
return T;
|
|
24
25
|
if (!k?.apiKey)
|
|
25
26
|
throw new Error(
|
|
26
27
|
'[Geocoding] API key not configured. Call configureGeocoding({ apiKey: "..." }) first, or configure via StachelockUI plugin with googleMaps.apiKey option.'
|
|
27
28
|
);
|
|
28
|
-
return
|
|
29
|
+
return T = (async () => {
|
|
29
30
|
try {
|
|
30
31
|
await new Re({
|
|
31
32
|
apiKey: k.apiKey,
|
|
@@ -34,9 +35,9 @@ async function B() {
|
|
|
34
35
|
libraries: k.libraries || ["places", "maps", "geometry"]
|
|
35
36
|
}).load(), L = await google.maps.importLibrary("places"), U = new google.maps.Geocoder(), F = !0;
|
|
36
37
|
} catch (e) {
|
|
37
|
-
throw
|
|
38
|
+
throw T = null, console.error("[Geocoding] Error loading Google Maps API:", e), e;
|
|
38
39
|
}
|
|
39
|
-
})(),
|
|
40
|
+
})(), T;
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
function J(e) {
|
|
@@ -230,8 +231,8 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
230
231
|
},
|
|
231
232
|
emits: ["update:modelValue", "blur", "focus"],
|
|
232
233
|
setup(e, { expose: a, emit: c }) {
|
|
233
|
-
const r = e, i = c, f = Le(r.name || "address-input"), d =
|
|
234
|
-
|
|
234
|
+
const r = e, i = c, f = Le(r.name || "address-input"), d = ve("googleMaps", void 0);
|
|
235
|
+
ye(() => {
|
|
235
236
|
d?.apiKey && !Ve() && De({
|
|
236
237
|
apiKey: d.apiKey,
|
|
237
238
|
version: d.version,
|
|
@@ -399,7 +400,7 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
399
400
|
meta: S,
|
|
400
401
|
errorMessage: h
|
|
401
402
|
}), (l, t) => (x(), G("div", Je, [
|
|
402
|
-
|
|
403
|
+
v(Pe, {
|
|
403
404
|
id: p(f),
|
|
404
405
|
name: e.name,
|
|
405
406
|
label: e.label,
|
|
@@ -409,11 +410,12 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
409
410
|
"is-valid": p(S).valid,
|
|
410
411
|
"is-touched": p(S).touched,
|
|
411
412
|
disabled: e.disabled,
|
|
412
|
-
optional: se.value
|
|
413
|
+
optional: se.value,
|
|
414
|
+
"show-valid-check": !1
|
|
413
415
|
}, {
|
|
414
416
|
default: C(() => [
|
|
415
|
-
|
|
416
|
-
|
|
417
|
+
y("div", Ye, [
|
|
418
|
+
v(p(Ie), {
|
|
417
419
|
modelValue: z.value,
|
|
418
420
|
"onUpdate:modelValue": [
|
|
419
421
|
t[0] || (t[0] = (o) => z.value = o),
|
|
@@ -423,21 +425,21 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
423
425
|
nullable: ""
|
|
424
426
|
}, {
|
|
425
427
|
default: C(() => [
|
|
426
|
-
|
|
427
|
-
|
|
428
|
+
y("div", qe, [
|
|
429
|
+
v(p(Se), {
|
|
428
430
|
id: p(f),
|
|
429
431
|
"display-value": ie,
|
|
430
432
|
placeholder: e.placeholder || "Search for an address...",
|
|
431
433
|
disabled: e.disabled,
|
|
432
434
|
class: I([
|
|
433
|
-
"sl-block sl-w-full sl-rounded-
|
|
434
|
-
e.disabled ? "sl-
|
|
435
|
+
"sl-block sl-w-full sl-rounded-md sl-shadow-sm sl-ring-1 sl-ring-inset sl-py-1.5 sl-pl-2 sl-pr-10 sl-text-sm sl-leading-6 focus:sl-outline-none focus:sl-ring-2 focus:sl-ring-inset focus:sl-ring-stachelock-600",
|
|
436
|
+
e.disabled ? "sl-ring-gray-200 dark:sl-ring-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-ring-gray-300 dark:sl-ring-slate-600 sl-bg-white dark:sl-bg-slate-800 sl-text-gray-900 dark:sl-text-slate-100 placeholder:sl-text-gray-400 dark:placeholder:sl-text-slate-500"
|
|
435
437
|
]),
|
|
436
438
|
onChange: ne,
|
|
437
439
|
onFocus: fe,
|
|
438
440
|
onBlur: ge
|
|
439
441
|
}, null, 8, ["id", "placeholder", "disabled", "class"]),
|
|
440
|
-
|
|
442
|
+
v(p(Ae), { class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-2" }, {
|
|
441
443
|
default: C(() => [
|
|
442
444
|
e.disabled ? (x(), E(p($e), {
|
|
443
445
|
key: 0,
|
|
@@ -451,7 +453,7 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
451
453
|
]),
|
|
452
454
|
_: 1
|
|
453
455
|
}),
|
|
454
|
-
|
|
456
|
+
v(p(W), {
|
|
455
457
|
leave: "sl-transition sl-ease-in sl-duration-100",
|
|
456
458
|
"leave-from": "sl-opacity-100",
|
|
457
459
|
"leave-to": "sl-opacity-0"
|
|
@@ -468,17 +470,17 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
468
470
|
as: "template"
|
|
469
471
|
}, {
|
|
470
472
|
default: C(({ active: w, selected: Z }) => [
|
|
471
|
-
|
|
473
|
+
y("li", {
|
|
472
474
|
class: I([
|
|
473
475
|
"sl-relative sl-cursor-pointer sl-select-none sl-py-2 sl-pl-10 sl-pr-4",
|
|
474
476
|
w ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200"
|
|
475
477
|
])
|
|
476
478
|
}, [
|
|
477
|
-
|
|
478
|
-
|
|
479
|
+
y("div", et, [
|
|
480
|
+
y("span", {
|
|
479
481
|
class: I(["sl-block sl-truncate", Z ? "sl-font-medium" : "sl-font-normal"])
|
|
480
482
|
}, N(o.mainText), 3),
|
|
481
|
-
|
|
483
|
+
y("span", {
|
|
482
484
|
class: I(["sl-text-xs", w ? "sl-text-stachelock-100" : "sl-text-gray-500 dark:sl-text-slate-400"])
|
|
483
485
|
}, N(o.secondaryText), 3)
|
|
484
486
|
]),
|
|
@@ -489,7 +491,7 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
489
491
|
w ? "sl-text-white" : "sl-text-stachelock-600 dark:sl-text-stachelock-400"
|
|
490
492
|
])
|
|
491
493
|
}, [
|
|
492
|
-
|
|
494
|
+
v(p(Ge), {
|
|
493
495
|
class: "sl-h-5 sl-w-5",
|
|
494
496
|
"aria-hidden": "true"
|
|
495
497
|
})
|
|
@@ -509,8 +511,8 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
509
511
|
_: 1
|
|
510
512
|
}, 8, ["modelValue", "disabled"]),
|
|
511
513
|
V.value && !e.disabled ? (x(), G("div", tt, [
|
|
512
|
-
|
|
513
|
-
|
|
514
|
+
y("div", st, [
|
|
515
|
+
y("span", {
|
|
514
516
|
class: I(["sl-text-xs sl-uppercase sl-font-medium", j.value])
|
|
515
517
|
}, N(ae.value), 3),
|
|
516
518
|
(x(), E(we(oe.value), {
|
|
@@ -524,7 +526,7 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
524
526
|
class: "sl-text-xs sl-text-gray-500 dark:sl-text-slate-400 hover:sl-underline sl-flex sl-items-center sl-gap-1"
|
|
525
527
|
}, [
|
|
526
528
|
t[10] || (t[10] = H(" Collapse ", -1)),
|
|
527
|
-
|
|
529
|
+
v(p(Te), { class: "sl-h-3 sl-w-3" })
|
|
528
530
|
])) : (x(), G("button", {
|
|
529
531
|
key: 0,
|
|
530
532
|
type: "button",
|
|
@@ -532,10 +534,10 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
532
534
|
class: "sl-text-xs sl-text-stachelock-600 dark:sl-text-stachelock-400 hover:sl-underline sl-flex sl-items-center sl-gap-1"
|
|
533
535
|
}, [
|
|
534
536
|
t[9] || (t[9] = H(" Edit address ", -1)),
|
|
535
|
-
|
|
537
|
+
v(p(Oe), { class: "sl-h-3 sl-w-3" })
|
|
536
538
|
]))
|
|
537
539
|
])) : R("", !0),
|
|
538
|
-
|
|
540
|
+
v(p(W), {
|
|
539
541
|
show: u.value && V.value && !e.disabled,
|
|
540
542
|
enter: "sl-transition sl-ease-out sl-duration-200",
|
|
541
543
|
"enter-from": "sl-opacity-0 sl-transform sl--translate-y-2",
|
|
@@ -545,9 +547,9 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
545
547
|
"leave-to": "sl-opacity-0 sl-transform sl--translate-y-2"
|
|
546
548
|
}, {
|
|
547
549
|
default: C(() => [
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
550
|
+
y("div", lt, [
|
|
551
|
+
y("div", at, [
|
|
552
|
+
v(O, {
|
|
551
553
|
name: `${e.name}_street`,
|
|
552
554
|
label: "Street Address",
|
|
553
555
|
value: s.street,
|
|
@@ -559,8 +561,8 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
559
561
|
})
|
|
560
562
|
}, null, 8, ["name", "value", "disabled"])
|
|
561
563
|
]),
|
|
562
|
-
|
|
563
|
-
|
|
564
|
+
y("div", null, [
|
|
565
|
+
v(O, {
|
|
564
566
|
name: `${e.name}_suite`,
|
|
565
567
|
label: "Suite / Apt",
|
|
566
568
|
value: s.suite,
|
|
@@ -573,8 +575,8 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
573
575
|
})
|
|
574
576
|
}, null, 8, ["name", "value", "disabled"])
|
|
575
577
|
]),
|
|
576
|
-
|
|
577
|
-
|
|
578
|
+
y("div", null, [
|
|
579
|
+
v(O, {
|
|
578
580
|
name: `${e.name}_city`,
|
|
579
581
|
label: "City",
|
|
580
582
|
value: s.city,
|
|
@@ -586,8 +588,8 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
586
588
|
})
|
|
587
589
|
}, null, 8, ["name", "value", "disabled"])
|
|
588
590
|
]),
|
|
589
|
-
|
|
590
|
-
|
|
591
|
+
y("div", null, [
|
|
592
|
+
v(O, {
|
|
591
593
|
name: `${e.name}_state`,
|
|
592
594
|
label: "State",
|
|
593
595
|
value: s.state,
|
|
@@ -599,8 +601,8 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
599
601
|
})
|
|
600
602
|
}, null, 8, ["name", "value", "disabled"])
|
|
601
603
|
]),
|
|
602
|
-
|
|
603
|
-
|
|
604
|
+
y("div", null, [
|
|
605
|
+
v(O, {
|
|
604
606
|
name: `${e.name}_zipcode`,
|
|
605
607
|
label: "ZIP Code",
|
|
606
608
|
value: s.zipcode,
|
|
@@ -612,8 +614,8 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
612
614
|
})
|
|
613
615
|
}, null, 8, ["name", "value", "disabled"])
|
|
614
616
|
]),
|
|
615
|
-
|
|
616
|
-
|
|
617
|
+
y("div", null, [
|
|
618
|
+
v(O, {
|
|
617
619
|
name: `${e.name}_country`,
|
|
618
620
|
label: "Country",
|
|
619
621
|
value: s.country,
|
|
@@ -635,7 +637,7 @@ const Je = { class: "sl-address-input" }, Ye = { class: "sl-space-y-3" }, qe = {
|
|
|
635
637
|
}, 8, ["id", "name", "label", "tertiary-label", "error-message", "success-message", "is-valid", "is-touched", "disabled", "optional"])
|
|
636
638
|
]));
|
|
637
639
|
}
|
|
638
|
-
}),
|
|
640
|
+
}), bt = /* @__PURE__ */ Ne(ot, [["__scopeId", "data-v-fddceda1"]]);
|
|
639
641
|
export {
|
|
640
|
-
|
|
642
|
+
bt as default
|
|
641
643
|
};
|