@stachelock/ui 0.6.7 → 0.6.10
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-CA_C4dmn.js → CalendarHeader.vue_vue_type_script_setup_true_lang-Cbgbb2e5.js} +2 -2
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-kHTj4Ju2.js +368 -0
- 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/{EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js → EmailInput.vue_vue_type_script_setup_true_lang-CWEfbsJ_.js} +51 -49
- package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-slNq2sot.js → InlineTabs.vue_vue_type_script_setup_true_lang-BWzrSbT3.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-D9yg_rkV.js +327 -0
- package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-CtFVOrhm.js +304 -0
- package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-pEKm-uUq.js → TabGroup.vue_vue_type_script_setup_true_lang-123nIzRC.js} +1 -1
- package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang--IKyRPkX.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-DbIwjaLJ.js} +1 -1
- package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-EG0nj4F6.js → TabsInPills.vue_vue_type_script_setup_true_lang-mw68ZzS1.js} +1 -1
- 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/DynamicFormField.d.ts +3 -1
- package/dist/forms/FormFieldWrapper.d.ts +3 -1
- 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 +144 -141
- 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/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/HiddenInput.d.ts +3 -1
- package/dist/inputs/ImageDropzoneInput.d.ts +3 -1
- package/dist/inputs/PhoneInput.d.ts +3 -1
- package/dist/inputs/PhoneInput.js +146 -145
- package/dist/inputs/RichTextInput.d.ts +3 -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/TextAreaInput.d.ts +3 -1
- package/dist/inputs/TextInput.d.ts +3 -1
- package/dist/inputs/TextInput.js +42 -39
- 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 +51 -7
- package/dist/src/components/inputs/CheckboxInput.d.ts +37 -10
- package/dist/src/components/inputs/ComboboxInput.d.ts +55 -10
- 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 +77 -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 +6 -0
- package/dist/src/utils/component-registry.d.ts +1 -0
- package/dist/src/utils/index.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 +12 -0
- package/dist/src/views/inputs/index.d.ts +1 -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/ComboboxInput.vue_vue_type_script_setup_true_lang-D52gzkAa.js +0 -353
- package/dist/SelectInput.vue_vue_type_script_setup_true_lang-COZuuSFS.js +0 -320
- package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-BVaViHPl.js +0 -336
- 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,17 +1,23 @@
|
|
|
1
1
|
import { CalendarDay } from '../../utils/calendar';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
days: Array<CalendarDay>;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
6
|
selectDay: (...args: any[]) => void;
|
|
7
7
|
"select:event": (...args: any[]) => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
days: Array<CalendarDay>;
|
|
10
|
+
}>>> & Readonly<{
|
|
9
11
|
onSelectDay?: ((...args: any[]) => any) | undefined;
|
|
10
12
|
"onSelect:event"?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
12
|
-
containerNav: HTMLDivElement;
|
|
13
|
-
container: HTMLDivElement;
|
|
14
|
-
containerOffset: HTMLDivElement;
|
|
15
|
-
currentTimeIndicator: HTMLDivElement;
|
|
16
|
-
}, HTMLDivElement>;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
14
|
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Month, CalendarDay } from '../../utils/calendar';
|
|
2
|
+
|
|
2
3
|
interface Props {
|
|
3
4
|
/** Array of months with their days */
|
|
4
5
|
months: Month[];
|
|
@@ -11,10 +12,16 @@ interface Props {
|
|
|
11
12
|
/** Week starts on: 0 = Sunday, 1 = Monday */
|
|
12
13
|
weekStartsOn?: 0 | 1;
|
|
13
14
|
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
15
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
+
events: () => never[];
|
|
17
|
+
weekStartsOn: number;
|
|
18
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
selectMonth: (monthIndex: number) => void;
|
|
20
|
+
selectDay: (day: CalendarDay) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
22
|
+
events: () => never[];
|
|
23
|
+
weekStartsOn: number;
|
|
24
|
+
}>>> & Readonly<{
|
|
18
25
|
onSelectDay?: ((day: CalendarDay) => any) | undefined;
|
|
19
26
|
onSelectMonth?: ((monthIndex: number) => any) | undefined;
|
|
20
27
|
}>, {
|
|
@@ -24,5 +31,22 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
24
31
|
datetime: string;
|
|
25
32
|
start_time?: string | undefined;
|
|
26
33
|
}[];
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
35
|
export default _default;
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
}> : P[K];
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Prettify<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
@@ -14,17 +14,50 @@ interface Props {
|
|
|
14
14
|
showLegend?: boolean;
|
|
15
15
|
barWidth?: string | number;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: import('vue').DefineComponent<
|
|
18
|
-
click: (params: unknown) => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
onClick?: ((params: unknown) => any) | undefined;
|
|
21
|
-
}>, {
|
|
17
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
22
18
|
horizontal: boolean;
|
|
19
|
+
stacked: boolean;
|
|
20
|
+
height: number;
|
|
21
|
+
colors: () => string[];
|
|
23
22
|
loading: boolean;
|
|
23
|
+
showLegend: boolean;
|
|
24
|
+
barWidth: string;
|
|
25
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
click: (params: unknown) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
28
|
+
horizontal: boolean;
|
|
24
29
|
stacked: boolean;
|
|
25
|
-
|
|
30
|
+
height: number;
|
|
31
|
+
colors: () => string[];
|
|
32
|
+
loading: boolean;
|
|
33
|
+
showLegend: boolean;
|
|
34
|
+
barWidth: string;
|
|
35
|
+
}>>> & Readonly<{
|
|
36
|
+
onClick?: ((params: unknown) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
loading: boolean;
|
|
26
39
|
height: string | number;
|
|
40
|
+
horizontal: boolean;
|
|
41
|
+
colors: string[];
|
|
42
|
+
stacked: boolean;
|
|
27
43
|
showLegend: boolean;
|
|
28
44
|
barWidth: string | number;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
46
|
export default _default;
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: import('vue').PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
type __VLS_WithDefaults<P, D> = {
|
|
57
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
58
|
+
default: D[K];
|
|
59
|
+
}> : P[K];
|
|
60
|
+
};
|
|
61
|
+
type __VLS_Prettify<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { EChartsOption } from 'echarts';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
option: EChartsOption;
|
|
6
|
+
height?: string | number;
|
|
7
|
+
width?: string | number;
|
|
8
|
+
autoresize?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
loadingOptions?: Record<string, unknown>;
|
|
11
|
+
containerClass?: string;
|
|
12
|
+
theme?: 'light' | 'dark';
|
|
13
|
+
emptyTitle?: string;
|
|
14
|
+
emptyDescription?: string;
|
|
15
|
+
emptyIcon?: Component;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
+
height: number;
|
|
19
|
+
width: string;
|
|
20
|
+
autoresize: boolean;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
loadingOptions: () => {};
|
|
23
|
+
containerClass: string;
|
|
24
|
+
theme: string;
|
|
25
|
+
emptyTitle: string;
|
|
26
|
+
emptyDescription: string;
|
|
27
|
+
emptyIcon: () => import('vue').FunctionalComponent<import('vue').HTMLAttributes & import('vue').VNodeProps, {}, any, {}>;
|
|
28
|
+
}>>, {
|
|
29
|
+
getChart: () => import('echarts/types/dist/shared').EChartsType | undefined;
|
|
30
|
+
resize: () => void | undefined;
|
|
31
|
+
setOption: (option: EChartsOption) => void | undefined;
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
click: (params: unknown) => void;
|
|
34
|
+
ready: (chart: unknown) => void;
|
|
35
|
+
legendselectchanged: (params: unknown) => void;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
37
|
+
height: number;
|
|
38
|
+
width: string;
|
|
39
|
+
autoresize: boolean;
|
|
40
|
+
loading: boolean;
|
|
41
|
+
loadingOptions: () => {};
|
|
42
|
+
containerClass: string;
|
|
43
|
+
theme: string;
|
|
44
|
+
emptyTitle: string;
|
|
45
|
+
emptyDescription: string;
|
|
46
|
+
emptyIcon: () => import('vue').FunctionalComponent<import('vue').HTMLAttributes & import('vue').VNodeProps, {}, any, {}>;
|
|
47
|
+
}>>> & Readonly<{
|
|
48
|
+
onClick?: ((params: unknown) => any) | undefined;
|
|
49
|
+
onReady?: ((chart: unknown) => any) | undefined;
|
|
50
|
+
onLegendselectchanged?: ((params: unknown) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
theme: "dark" | "light";
|
|
53
|
+
loading: boolean;
|
|
54
|
+
width: string | number;
|
|
55
|
+
height: string | number;
|
|
56
|
+
containerClass: string;
|
|
57
|
+
autoresize: boolean;
|
|
58
|
+
loadingOptions: Record<string, unknown>;
|
|
59
|
+
emptyTitle: string;
|
|
60
|
+
emptyDescription: string;
|
|
61
|
+
emptyIcon: Component;
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
export default _default;
|
|
64
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: import('vue').PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
type __VLS_WithDefaults<P, D> = {
|
|
74
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
75
|
+
default: D[K];
|
|
76
|
+
}> : P[K];
|
|
77
|
+
};
|
|
78
|
+
type __VLS_Prettify<T> = {
|
|
79
|
+
[K in keyof T]: T[K];
|
|
80
|
+
} & {};
|
|
@@ -11,15 +11,44 @@ interface Props {
|
|
|
11
11
|
sort?: 'ascending' | 'descending' | 'none';
|
|
12
12
|
showLabels?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
15
|
+
height: number;
|
|
16
|
+
colors: () => string[];
|
|
17
|
+
loading: boolean;
|
|
18
|
+
sort: string;
|
|
19
|
+
showLabels: boolean;
|
|
20
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
click: (params: unknown) => void;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
23
|
+
height: number;
|
|
24
|
+
colors: () => string[];
|
|
25
|
+
loading: boolean;
|
|
26
|
+
sort: string;
|
|
27
|
+
showLabels: boolean;
|
|
28
|
+
}>>> & Readonly<{
|
|
17
29
|
onClick?: ((params: unknown) => any) | undefined;
|
|
18
30
|
}>, {
|
|
19
31
|
sort: "none" | "ascending" | "descending";
|
|
20
32
|
loading: boolean;
|
|
21
|
-
colors: string[];
|
|
22
33
|
height: string | number;
|
|
34
|
+
colors: string[];
|
|
23
35
|
showLabels: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
37
|
export default _default;
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
@@ -13,16 +13,47 @@ interface Props {
|
|
|
13
13
|
loading?: boolean;
|
|
14
14
|
showLegend?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare const _default: import('vue').DefineComponent<
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
17
|
+
smooth: boolean;
|
|
18
|
+
showArea: boolean;
|
|
19
|
+
height: number;
|
|
20
|
+
colors: () => string[];
|
|
21
|
+
loading: boolean;
|
|
22
|
+
showLegend: boolean;
|
|
23
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
click: (params: unknown) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
26
|
+
smooth: boolean;
|
|
27
|
+
showArea: boolean;
|
|
28
|
+
height: number;
|
|
29
|
+
colors: () => string[];
|
|
30
|
+
loading: boolean;
|
|
31
|
+
showLegend: boolean;
|
|
32
|
+
}>>> & Readonly<{
|
|
19
33
|
onClick?: ((params: unknown) => any) | undefined;
|
|
20
34
|
}>, {
|
|
21
35
|
loading: boolean;
|
|
22
|
-
colors: string[];
|
|
23
36
|
height: string | number;
|
|
37
|
+
colors: string[];
|
|
24
38
|
smooth: boolean;
|
|
25
|
-
showLegend: boolean;
|
|
26
39
|
showArea: boolean;
|
|
27
|
-
|
|
40
|
+
showLegend: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
42
|
export default _default;
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
@@ -12,16 +12,47 @@ interface Props {
|
|
|
12
12
|
showLabels?: boolean;
|
|
13
13
|
showLegend?: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: import('vue').DefineComponent<
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
+
donut: boolean;
|
|
17
|
+
height: number;
|
|
18
|
+
colors: () => string[];
|
|
19
|
+
loading: boolean;
|
|
20
|
+
showLabels: boolean;
|
|
21
|
+
showLegend: boolean;
|
|
22
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
click: (params: unknown) => void;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
25
|
+
donut: boolean;
|
|
26
|
+
height: number;
|
|
27
|
+
colors: () => string[];
|
|
28
|
+
loading: boolean;
|
|
29
|
+
showLabels: boolean;
|
|
30
|
+
showLegend: boolean;
|
|
31
|
+
}>>> & Readonly<{
|
|
18
32
|
onClick?: ((params: unknown) => any) | undefined;
|
|
19
33
|
}>, {
|
|
20
34
|
loading: boolean;
|
|
21
|
-
colors: string[];
|
|
22
35
|
height: string | number;
|
|
36
|
+
colors: string[];
|
|
23
37
|
showLegend: boolean;
|
|
24
|
-
showLabels: boolean;
|
|
25
38
|
donut: boolean;
|
|
26
|
-
|
|
39
|
+
showLabels: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
41
|
export default _default;
|
|
42
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
44
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
+
} : {
|
|
47
|
+
type: import('vue').PropType<T[K]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
56
|
+
type __VLS_Prettify<T> = {
|
|
57
|
+
[K in keyof T]: T[K];
|
|
58
|
+
} & {};
|
|
@@ -6,11 +6,40 @@ interface Props {
|
|
|
6
6
|
color?: string;
|
|
7
7
|
showEndpoint?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<
|
|
10
|
-
type:
|
|
9
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
type: string;
|
|
11
|
+
height: number;
|
|
12
|
+
width: string;
|
|
13
|
+
color: string;
|
|
14
|
+
showEndpoint: boolean;
|
|
15
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
+
type: string;
|
|
17
|
+
height: number;
|
|
18
|
+
width: string;
|
|
19
|
+
color: string;
|
|
20
|
+
showEndpoint: boolean;
|
|
21
|
+
}>>> & Readonly<{}>, {
|
|
22
|
+
type: "area" | "line" | "bar";
|
|
11
23
|
color: string;
|
|
12
24
|
width: string | number;
|
|
13
25
|
height: number;
|
|
14
26
|
showEndpoint: boolean;
|
|
15
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
28
|
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface Props {
|
|
3
4
|
title: string;
|
|
4
5
|
value: string | number;
|
|
@@ -8,7 +9,28 @@ interface Props {
|
|
|
8
9
|
icon?: Component;
|
|
9
10
|
loading?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<
|
|
12
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
13
|
loading: boolean;
|
|
13
|
-
}
|
|
14
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
15
|
+
loading: boolean;
|
|
16
|
+
}>>> & Readonly<{}>, {
|
|
17
|
+
loading: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
19
|
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { CollectionItem, CollectionFormSchema } from '../../types/collection-editor';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
/** Field name for form binding */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Current value (array of items) */
|
|
7
|
+
modelValue?: CollectionItem[];
|
|
8
|
+
/** Form schema with fields definition */
|
|
9
|
+
schema: CollectionFormSchema;
|
|
10
|
+
/** Template for new items */
|
|
11
|
+
emptyFormValues: CollectionItem;
|
|
12
|
+
/** Display label */
|
|
13
|
+
label?: string;
|
|
14
|
+
/** List panel title */
|
|
15
|
+
title?: string;
|
|
16
|
+
/** Property to group list items by */
|
|
17
|
+
groupBy?: string;
|
|
18
|
+
/** Primary display field for list items */
|
|
19
|
+
primaryField?: string;
|
|
20
|
+
/** Secondary display field for list items */
|
|
21
|
+
secondaryField?: string;
|
|
22
|
+
/** Empty state message */
|
|
23
|
+
emptyMessage?: string;
|
|
24
|
+
/** Delete confirmation title */
|
|
25
|
+
deleteConfirmTitle?: string;
|
|
26
|
+
/** Delete confirmation message */
|
|
27
|
+
deleteConfirmMessage?: string;
|
|
28
|
+
/** Transform item for display */
|
|
29
|
+
explodeItem?: (item: CollectionItem) => CollectionItem;
|
|
30
|
+
/** Transform item for storage */
|
|
31
|
+
implodeItem?: (item: CollectionItem) => CollectionItem;
|
|
32
|
+
}
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
34
|
+
modelValue: () => never[];
|
|
35
|
+
title: string;
|
|
36
|
+
emptyMessage: string;
|
|
37
|
+
deleteConfirmTitle: string;
|
|
38
|
+
deleteConfirmMessage: string;
|
|
39
|
+
explodeItem: (item: any) => any;
|
|
40
|
+
implodeItem: (item: any) => any;
|
|
41
|
+
}>>, {
|
|
42
|
+
getItems: () => CollectionItem[];
|
|
43
|
+
resetForm: () => void;
|
|
44
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
"update:modelValue": (value: CollectionItem[]) => void;
|
|
46
|
+
"update:validity": (valid: boolean) => void;
|
|
47
|
+
"item-selected": (item: CollectionItem | null) => void;
|
|
48
|
+
"item-updated": (item: CollectionItem) => void;
|
|
49
|
+
"item-deleted": (item: CollectionItem) => void;
|
|
50
|
+
"item-added": (item: CollectionItem) => void;
|
|
51
|
+
"update:form": (values: Record<string, unknown>) => void;
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
53
|
+
modelValue: () => never[];
|
|
54
|
+
title: string;
|
|
55
|
+
emptyMessage: string;
|
|
56
|
+
deleteConfirmTitle: string;
|
|
57
|
+
deleteConfirmMessage: string;
|
|
58
|
+
explodeItem: (item: any) => any;
|
|
59
|
+
implodeItem: (item: any) => any;
|
|
60
|
+
}>>> & Readonly<{
|
|
61
|
+
"onUpdate:modelValue"?: ((value: CollectionItem[]) => any) | undefined;
|
|
62
|
+
"onUpdate:validity"?: ((valid: boolean) => any) | undefined;
|
|
63
|
+
"onItem-selected"?: ((item: CollectionItem | null) => any) | undefined;
|
|
64
|
+
"onItem-updated"?: ((item: CollectionItem) => any) | undefined;
|
|
65
|
+
"onItem-deleted"?: ((item: CollectionItem) => any) | undefined;
|
|
66
|
+
"onItem-added"?: ((item: CollectionItem) => any) | undefined;
|
|
67
|
+
"onUpdate:form"?: ((values: Record<string, unknown>) => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
title: string;
|
|
70
|
+
modelValue: CollectionItem[];
|
|
71
|
+
explodeItem: (item: CollectionItem) => CollectionItem;
|
|
72
|
+
implodeItem: (item: CollectionItem) => CollectionItem;
|
|
73
|
+
emptyMessage: string;
|
|
74
|
+
deleteConfirmTitle: string;
|
|
75
|
+
deleteConfirmMessage: string;
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
77
|
+
list?(_: {
|
|
78
|
+
items: CollectionItem[];
|
|
79
|
+
selected: CollectionItem | null;
|
|
80
|
+
onSelect: (item: CollectionItem) => void;
|
|
81
|
+
}): any;
|
|
82
|
+
"item-content"?(_: {
|
|
83
|
+
item: CollectionItem;
|
|
84
|
+
}): any;
|
|
85
|
+
"item-secondary"?(_: {
|
|
86
|
+
item: CollectionItem;
|
|
87
|
+
}): any;
|
|
88
|
+
empty?(_: {}): any;
|
|
89
|
+
}>;
|
|
90
|
+
export default _default;
|
|
91
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
92
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
93
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
94
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
95
|
+
} : {
|
|
96
|
+
type: import('vue').PropType<T[K]>;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
type __VLS_WithDefaults<P, D> = {
|
|
101
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
102
|
+
default: D[K];
|
|
103
|
+
}> : P[K];
|
|
104
|
+
};
|
|
105
|
+
type __VLS_Prettify<T> = {
|
|
106
|
+
[K in keyof T]: T[K];
|
|
107
|
+
} & {};
|
|
108
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
109
|
+
new (): {
|
|
110
|
+
$slots: S;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CollectionItem } from '../../types/collection-editor';
|
|
2
|
+
|
|
2
3
|
interface DisplayField {
|
|
3
4
|
key: string;
|
|
4
5
|
label?: string;
|
|
@@ -15,26 +16,55 @@ interface Props {
|
|
|
15
16
|
secondaryField?: string;
|
|
16
17
|
displayFields?: DisplayField[];
|
|
17
18
|
}
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
20
|
+
items: () => never[];
|
|
21
|
+
canEdit: boolean;
|
|
22
|
+
title: string;
|
|
23
|
+
emptyMessage: string;
|
|
24
|
+
primaryField: string;
|
|
25
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
select: (item: CollectionItem) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
28
|
+
items: () => never[];
|
|
29
|
+
canEdit: boolean;
|
|
30
|
+
title: string;
|
|
31
|
+
emptyMessage: string;
|
|
32
|
+
primaryField: string;
|
|
33
|
+
}>>> & Readonly<{
|
|
21
34
|
onSelect?: ((item: CollectionItem) => any) | undefined;
|
|
22
35
|
}>, {
|
|
23
|
-
items: CollectionItem[];
|
|
24
36
|
title: string;
|
|
37
|
+
items: CollectionItem[];
|
|
25
38
|
canEdit: boolean;
|
|
26
39
|
emptyMessage: string;
|
|
27
40
|
primaryField: string;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
29
|
-
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
42
|
+
"item-content"?(_: {
|
|
30
43
|
item: CollectionItem;
|
|
31
44
|
}): any;
|
|
32
|
-
|
|
45
|
+
"item-secondary"?(_: {
|
|
33
46
|
item: CollectionItem;
|
|
34
47
|
}): any;
|
|
35
48
|
empty?(_: {}): any;
|
|
36
49
|
}>;
|
|
37
50
|
export default _default;
|
|
51
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
+
} : {
|
|
56
|
+
type: import('vue').PropType<T[K]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
type __VLS_WithDefaults<P, D> = {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
+
default: D[K];
|
|
63
|
+
}> : P[K];
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Prettify<T> = {
|
|
66
|
+
[K in keyof T]: T[K];
|
|
67
|
+
} & {};
|
|
38
68
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
69
|
new (): {
|
|
40
70
|
$slots: S;
|