@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
package/dist/inputs/TextInput.js
CHANGED
|
@@ -1,5 +1,118 @@
|
|
|
1
|
-
import { T as
|
|
2
|
-
import "
|
|
1
|
+
import { defineComponent as O, computed as S, ref as f, toRef as m, watch as h, nextTick as z, createElementBlock as I, openBlock as E, createVNode as T, unref as t, createSlots as $, withCtx as u, renderSlot as p, createElementVNode as N, mergeProps as R } from "vue";
|
|
2
|
+
import { useField as L } from "vee-validate";
|
|
3
|
+
import { debounce as q } from "lodash-es";
|
|
4
|
+
import A from "../forms/FormFieldWrapper.js";
|
|
5
|
+
import { g as P } from "../id-DafBB_QF.js";
|
|
6
|
+
import { i as U } from "../validation-Dzczp6MS.js";
|
|
7
|
+
import { _ as W } from "../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const j = { class: "sl-form" }, D = ["name", "id", "type", "value", "placeholder", "spellcheck", "disabled"], G = /* @__PURE__ */ O({
|
|
9
|
+
inheritAttrs: !1,
|
|
10
|
+
__name: "TextInput",
|
|
11
|
+
props: {
|
|
12
|
+
boxShadow: { type: Boolean, default: !1 },
|
|
13
|
+
type: { default: "text" },
|
|
14
|
+
value: { default: "" },
|
|
15
|
+
rules: { default: () => ({}) },
|
|
16
|
+
validateOnMount: { type: Boolean, default: !0 },
|
|
17
|
+
inputClass: { default: "" },
|
|
18
|
+
inputStyle: { default: "" },
|
|
19
|
+
spellcheck: { type: Boolean, default: !0 },
|
|
20
|
+
capitalize: { type: Boolean, default: !1 },
|
|
21
|
+
lazy: { type: Boolean, default: !1 },
|
|
22
|
+
transformFunction: { type: Function, default: (e) => e },
|
|
23
|
+
showErrors: { type: Boolean, default: !1 },
|
|
24
|
+
optional: { type: Boolean, default: void 0 },
|
|
25
|
+
name: {},
|
|
26
|
+
label: { default: "" },
|
|
27
|
+
placeholder: { default: "" },
|
|
28
|
+
disabled: { type: Boolean, default: !1 },
|
|
29
|
+
required: { type: Boolean },
|
|
30
|
+
className: {},
|
|
31
|
+
errorMessage: {},
|
|
32
|
+
successMessage: { default: "" },
|
|
33
|
+
isValid: { type: Boolean },
|
|
34
|
+
isTouched: { type: Boolean },
|
|
35
|
+
colorfulValidation: { type: Boolean, default: !0 },
|
|
36
|
+
showValidCheck: { type: Boolean, default: !0 },
|
|
37
|
+
tertiaryLabel: { default: "" },
|
|
38
|
+
disabledMessage: { default: "" }
|
|
39
|
+
},
|
|
40
|
+
emits: ["update:value", "focus", "blur", "error", "update:validity"],
|
|
41
|
+
setup(e, { emit: v }) {
|
|
42
|
+
const l = e, o = v, y = S(() => l.optional !== void 0 ? l.optional : U(l.rules)), r = f(!1), c = P(l.name || "text-input"), b = f(l.validateOnMount), { value: s, errorMessage: g, handleChange: w, meta: d, validate: x, setTouched: k } = L(m(l, "name"), m(l, "rules"), {
|
|
43
|
+
initialValue: l.value,
|
|
44
|
+
validateOnValueUpdate: !l.lazy,
|
|
45
|
+
validateOnMount: b.value
|
|
46
|
+
}), n = (a) => o("update:value", a), B = q(n, 300);
|
|
47
|
+
function V(a) {
|
|
48
|
+
const i = a.target.value;
|
|
49
|
+
l.lazy ? B(i) : n(i), w(l.transformFunction(i));
|
|
50
|
+
}
|
|
51
|
+
async function M(a) {
|
|
52
|
+
r.value || (r.value = !0, k(!0)), l.lazy && n(s.value), await x(), o("blur", a);
|
|
53
|
+
}
|
|
54
|
+
function C(a) {
|
|
55
|
+
o("focus", a);
|
|
56
|
+
}
|
|
57
|
+
return h(() => d.valid, (a) => z(() => o("update:validity", a)), { immediate: !0 }), h(() => l.value, (a) => {
|
|
58
|
+
a !== s.value && (s.value = a);
|
|
59
|
+
}), (a, i) => (E(), I("div", j, [
|
|
60
|
+
T(A, {
|
|
61
|
+
id: t(c),
|
|
62
|
+
name: e.name,
|
|
63
|
+
label: e.label,
|
|
64
|
+
"tertiary-label": e.tertiaryLabel,
|
|
65
|
+
"error-message": t(g),
|
|
66
|
+
"success-message": e.successMessage,
|
|
67
|
+
"is-valid": t(d).valid,
|
|
68
|
+
"is-touched": t(d).touched,
|
|
69
|
+
"show-errors": e.showErrors,
|
|
70
|
+
"show-valid-check": e.showValidCheck,
|
|
71
|
+
"colorful-validation": e.colorfulValidation,
|
|
72
|
+
disabled: e.disabled,
|
|
73
|
+
"disabled-message": e.disabledMessage,
|
|
74
|
+
"box-shadow": e.boxShadow,
|
|
75
|
+
optional: y.value
|
|
76
|
+
}, $({
|
|
77
|
+
default: u(({ inputClasses: F }) => [
|
|
78
|
+
N("input", R(a.$attrs, {
|
|
79
|
+
name: e.name,
|
|
80
|
+
id: t(c),
|
|
81
|
+
type: e.type,
|
|
82
|
+
value: t(s),
|
|
83
|
+
placeholder: e.placeholder,
|
|
84
|
+
spellcheck: e.spellcheck,
|
|
85
|
+
disabled: e.disabled,
|
|
86
|
+
class: ["sl-block sl-w-full sl-bg-transparent placeholder:sl-text-gray-400 dark:placeholder:sl-text-slate-500 focus:sl-ring-0 focus:sl-outline-none sm:sl-text-sm sm:sl-leading-6", [
|
|
87
|
+
F,
|
|
88
|
+
"sl-py-1.5 sl-pl-2 sl-pr-2",
|
|
89
|
+
{ "sl-uppercase": e.capitalize },
|
|
90
|
+
e.disabled ? "sl-text-gray-500 dark:sl-text-slate-400 sl-cursor-not-allowed" : "sl-text-gray-900 dark:sl-text-white",
|
|
91
|
+
{ "sl-pr-10": e.showValidCheck },
|
|
92
|
+
e.inputClass
|
|
93
|
+
]],
|
|
94
|
+
style: e.inputStyle,
|
|
95
|
+
onInput: V,
|
|
96
|
+
onFocus: C,
|
|
97
|
+
onBlur: M
|
|
98
|
+
}), null, 16, D)
|
|
99
|
+
]),
|
|
100
|
+
"input-right": u(() => [
|
|
101
|
+
p(a.$slots, "input-right", {}, void 0, !0)
|
|
102
|
+
]),
|
|
103
|
+
_: 2
|
|
104
|
+
}, [
|
|
105
|
+
a.$slots.prefix ? {
|
|
106
|
+
name: "prefix",
|
|
107
|
+
fn: u(() => [
|
|
108
|
+
p(a.$slots, "prefix", {}, void 0, !0)
|
|
109
|
+
]),
|
|
110
|
+
key: "0"
|
|
111
|
+
} : void 0
|
|
112
|
+
]), 1032, ["id", "name", "label", "tertiary-label", "error-message", "success-message", "is-valid", "is-touched", "show-errors", "show-valid-check", "colorful-validation", "disabled", "disabled-message", "box-shadow", "optional"])
|
|
113
|
+
]));
|
|
114
|
+
}
|
|
115
|
+
}), _ = /* @__PURE__ */ W(G, [["__scopeId", "data-v-dfd8b221"]]);
|
|
3
116
|
export {
|
|
4
|
-
|
|
117
|
+
_ as default
|
|
5
118
|
};
|
package/dist/loading/index.d.ts
CHANGED
package/dist/maps/GoogleMap.d.ts
CHANGED
package/dist/maps/UiMap.d.ts
CHANGED
package/dist/maps/UiMapAll.d.ts
CHANGED
package/dist/maps/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { CloudinaryAsset } from '../types/core';
|
|
3
|
+
|
|
4
|
+
type ClassValue = string | Record<string, boolean>;
|
|
3
5
|
interface CustomClasses {
|
|
4
|
-
div?:
|
|
5
|
-
skeleton?:
|
|
6
|
-
image?:
|
|
7
|
-
fallback?:
|
|
6
|
+
div?: ClassValue;
|
|
7
|
+
skeleton?: ClassValue;
|
|
8
|
+
image?: ClassValue;
|
|
9
|
+
fallback?: ClassValue;
|
|
8
10
|
}
|
|
9
11
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
10
12
|
/** Direct image URL - bypasses Cloudinary URL generation */
|
|
@@ -62,7 +64,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
64
|
default: number;
|
|
63
65
|
};
|
|
64
66
|
quality: {
|
|
65
|
-
type: (
|
|
67
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
66
68
|
default: string;
|
|
67
69
|
};
|
|
68
70
|
devicePixelRatio: {
|
|
@@ -70,7 +72,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
72
|
default: string;
|
|
71
73
|
};
|
|
72
74
|
skeleton: {
|
|
73
|
-
type: PropType<"user" | "photo">;
|
|
75
|
+
type: PropType<"user" | "photo" | "screenshot">;
|
|
74
76
|
default: string;
|
|
75
77
|
};
|
|
76
78
|
pulse: {
|
|
@@ -82,8 +84,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
82
84
|
default: () => {};
|
|
83
85
|
};
|
|
84
86
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
85
|
-
error: (error: unknown) =>
|
|
86
|
-
"update:imageLoaded": (value: boolean) =>
|
|
87
|
+
error: (error: unknown) => void;
|
|
88
|
+
"update:imageLoaded": (value: boolean) => void;
|
|
87
89
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
90
|
/** Direct image URL - bypasses Cloudinary URL generation */
|
|
89
91
|
src: {
|
|
@@ -140,7 +142,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
140
142
|
default: number;
|
|
141
143
|
};
|
|
142
144
|
quality: {
|
|
143
|
-
type: (
|
|
145
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
144
146
|
default: string;
|
|
145
147
|
};
|
|
146
148
|
devicePixelRatio: {
|
|
@@ -148,7 +150,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
148
150
|
default: string;
|
|
149
151
|
};
|
|
150
152
|
skeleton: {
|
|
151
|
-
type: PropType<"user" | "photo">;
|
|
153
|
+
type: PropType<"user" | "photo" | "screenshot">;
|
|
152
154
|
default: string;
|
|
153
155
|
};
|
|
154
156
|
pulse: {
|
|
@@ -164,20 +166,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
164
166
|
"onUpdate:imageLoaded"?: ((value: boolean) => any) | undefined;
|
|
165
167
|
}>, {
|
|
166
168
|
width: string | number;
|
|
167
|
-
height: string | number;
|
|
168
169
|
src: string;
|
|
170
|
+
alt: string;
|
|
169
171
|
publicId: string;
|
|
170
172
|
imagePublicId: string;
|
|
171
173
|
asset: CloudinaryAsset | null;
|
|
172
174
|
fallbackPublicId: string;
|
|
173
175
|
fallbackSrc: string;
|
|
174
176
|
transformations: ((image: unknown) => void)[];
|
|
175
|
-
alt: string;
|
|
176
177
|
aspectRatio: string | number;
|
|
178
|
+
height: string | number;
|
|
177
179
|
quality: string | number;
|
|
178
180
|
devicePixelRatio: string;
|
|
179
|
-
skeleton: "user" | "photo";
|
|
181
|
+
skeleton: "user" | "photo" | "screenshot";
|
|
180
182
|
pulse: boolean;
|
|
181
183
|
customClasses: CustomClasses;
|
|
182
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
184
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
183
185
|
export default _default;
|
|
@@ -14,11 +14,25 @@ interface Props {
|
|
|
14
14
|
/** Pause on hover */
|
|
15
15
|
pauseOnHover?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: import('vue').DefineComponent<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
+
height: number;
|
|
19
|
+
width: number;
|
|
20
|
+
loop: undefined;
|
|
21
|
+
autoplay: undefined;
|
|
22
|
+
speed: number;
|
|
23
|
+
pauseOnHover: boolean;
|
|
24
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
complete: () => void;
|
|
26
|
+
"loop-complete": () => void;
|
|
27
|
+
"enter-frame": (frame: number) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
29
|
+
height: number;
|
|
30
|
+
width: number;
|
|
31
|
+
loop: undefined;
|
|
32
|
+
autoplay: undefined;
|
|
33
|
+
speed: number;
|
|
34
|
+
pauseOnHover: boolean;
|
|
35
|
+
}>>> & Readonly<{
|
|
22
36
|
onComplete?: (() => any) | undefined;
|
|
23
37
|
"onLoop-complete"?: (() => any) | undefined;
|
|
24
38
|
"onEnter-frame"?: ((frame: number) => any) | undefined;
|
|
@@ -29,5 +43,22 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
29
43
|
speed: number;
|
|
30
44
|
pauseOnHover: boolean;
|
|
31
45
|
autoplay: boolean;
|
|
32
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
47
|
export default _default;
|
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
+
} : {
|
|
53
|
+
type: import('vue').PropType<T[K]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type __VLS_WithDefaults<P, D> = {
|
|
58
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
+
default: D[K];
|
|
60
|
+
}> : P[K];
|
|
61
|
+
};
|
|
62
|
+
type __VLS_Prettify<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
modelValue: boolean;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: boolean) => void;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
modelValue: boolean;
|
|
7
|
+
}>>> & Readonly<{
|
|
7
8
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -34,13 +34,46 @@ interface AvatarProps {
|
|
|
34
34
|
imagePath?: string | string[];
|
|
35
35
|
namePath?: string | string[];
|
|
36
36
|
}
|
|
37
|
-
declare const _default: import('vue').DefineComponent<
|
|
37
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
|
|
38
|
+
size: string;
|
|
39
|
+
color: string;
|
|
40
|
+
ring: string;
|
|
38
41
|
rounded: string;
|
|
42
|
+
fallbackInitials: string;
|
|
43
|
+
imagePath: string;
|
|
44
|
+
namePath: string;
|
|
45
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
|
|
46
|
+
size: string;
|
|
39
47
|
color: string;
|
|
48
|
+
ring: string;
|
|
49
|
+
rounded: string;
|
|
50
|
+
fallbackInitials: string;
|
|
51
|
+
imagePath: string;
|
|
52
|
+
namePath: string;
|
|
53
|
+
}>>> & Readonly<{}>, {
|
|
54
|
+
rounded: string;
|
|
40
55
|
size: number | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
56
|
+
color: string;
|
|
41
57
|
ring: string;
|
|
42
58
|
fallbackInitials: string;
|
|
43
59
|
imagePath: string | string[];
|
|
44
60
|
namePath: string | string[];
|
|
45
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
46
62
|
export default _default;
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import('vue').PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type __VLS_WithDefaults<P, D> = {
|
|
73
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
74
|
+
default: D[K];
|
|
75
|
+
}> : P[K];
|
|
76
|
+
};
|
|
77
|
+
type __VLS_Prettify<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
@@ -6,19 +6,46 @@ interface BadgeProps {
|
|
|
6
6
|
dot?: boolean;
|
|
7
7
|
removable?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
|
|
10
|
+
color: string;
|
|
11
|
+
size: string;
|
|
12
|
+
dot: boolean;
|
|
13
|
+
removable: boolean;
|
|
14
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
remove: () => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
|
|
17
|
+
color: string;
|
|
18
|
+
size: string;
|
|
19
|
+
dot: boolean;
|
|
20
|
+
removable: boolean;
|
|
21
|
+
}>>> & Readonly<{
|
|
12
22
|
onRemove?: (() => any) | undefined;
|
|
13
23
|
}>, {
|
|
14
|
-
dot: boolean;
|
|
15
|
-
color: BadgeColor;
|
|
16
24
|
size: BadgeSize;
|
|
25
|
+
color: BadgeColor;
|
|
26
|
+
dot: boolean;
|
|
17
27
|
removable: boolean;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
19
29
|
default?(_: {}): any;
|
|
20
30
|
}>;
|
|
21
31
|
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_Prettify<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
22
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
50
|
new (): {
|
|
24
51
|
$slots: S;
|