@wikicasa-dev/components 3.0.0-alpha.0 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UIKit/AccessibleSelect.d.ts +64 -0
- package/dist/UIKit/AccessibleSelect.js +4 -0
- package/dist/UIKit/AccessibleSelect.vue.js +217 -0
- package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +17 -0
- package/dist/UIKit/Accordion/AccordionContentPrimitive.js +4 -0
- package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +23 -0
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.d.ts +12 -0
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +4 -0
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +22 -0
- package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +21 -0
- package/dist/UIKit/Accordion/AccordionItemPrimitive.js +4 -0
- package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +25 -0
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.d.ts +14 -0
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +4 -0
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +23 -0
- package/dist/UIKit/Accordion/BaseAccordion.d.ts +44 -0
- package/dist/UIKit/Accordion/BaseAccordion.js +4 -0
- package/dist/UIKit/Accordion/BaseAccordion.vue.js +51 -0
- package/dist/UIKit/Accordion/BaseAccordionItem.d.ts +33 -0
- package/dist/UIKit/Accordion/BaseAccordionItem.js +4 -0
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +71 -0
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.d.ts +77 -0
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +4 -0
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +270 -0
- package/dist/UIKit/BaseAlert.d.ts +24 -0
- package/dist/UIKit/BaseAlert.js +4 -0
- package/dist/UIKit/BaseAlert.vue.js +14 -0
- package/dist/UIKit/BaseAutocomplete.d.ts +62 -0
- package/dist/UIKit/BaseAutocomplete.js +4 -0
- package/dist/UIKit/BaseAutocomplete.vue.js +192 -0
- package/dist/UIKit/BaseBadge.d.ts +20 -0
- package/dist/UIKit/BaseBadge.js +4 -0
- package/dist/UIKit/BaseBadge.vue.js +17 -0
- package/dist/UIKit/BaseBreadcrumb.d.ts +34 -0
- package/dist/UIKit/BaseBreadcrumb.js +4 -0
- package/dist/UIKit/BaseBreadcrumb.vue.js +39 -0
- package/dist/UIKit/BaseButton.d.ts +75 -0
- package/dist/UIKit/BaseButton.js +4 -0
- package/dist/UIKit/BaseButton.vue.js +90 -0
- package/dist/UIKit/BaseComplexToggle.d.ts +54 -0
- package/dist/UIKit/BaseComplexToggle.js +5 -0
- package/dist/UIKit/BaseComplexToggle.vue.js +77 -0
- package/dist/UIKit/BaseDropDown.d.ts +95 -0
- package/dist/UIKit/BaseDropDown.js +4 -0
- package/dist/UIKit/BaseDropDown.vue.js +171 -0
- package/dist/UIKit/BaseFloatingLabel.d.ts +24 -0
- package/dist/UIKit/BaseFloatingLabel.js +5 -0
- package/dist/UIKit/BaseFloatingLabel.vue.js +43 -0
- package/dist/UIKit/BaseInput.d.ts +63 -0
- package/dist/UIKit/BaseInput.js +5 -0
- package/dist/UIKit/BaseInput.vue.js +191 -0
- package/dist/UIKit/BaseModal.d.ts +72 -0
- package/dist/UIKit/BaseModal.js +4 -0
- package/dist/UIKit/BaseModal.vue.js +161 -0
- package/dist/UIKit/{BasePagination.vue.d.ts → BasePagination.d.ts} +13 -5
- package/dist/UIKit/BasePagination.js +4 -0
- package/dist/UIKit/BasePagination.vue.js +199 -0
- package/dist/UIKit/BaseSelect/SelectItem.d.ts +47 -0
- package/dist/UIKit/BaseSelect/SelectItem.js +4 -0
- package/dist/UIKit/BaseSelect/SelectItem.vue.js +38 -0
- package/dist/UIKit/{BaseSlider.vue.d.ts → BaseSlider.d.ts} +6 -7
- package/dist/UIKit/BaseSlider.js +5 -0
- package/dist/UIKit/BaseSlider.vue.js +152 -0
- package/dist/UIKit/BaseSnackbar.d.ts +64 -0
- package/dist/UIKit/BaseSnackbar.js +4 -0
- package/dist/UIKit/BaseSnackbar.vue.js +140 -0
- package/dist/UIKit/{BaseTextarea.vue.d.ts → BaseTextarea.d.ts} +10 -10
- package/dist/UIKit/BaseTextarea.js +5 -0
- package/dist/UIKit/BaseTextarea.vue.js +118 -0
- package/dist/UIKit/BaseToggle.d.ts +30 -0
- package/dist/UIKit/BaseToggle.js +4 -0
- package/dist/UIKit/BaseToggle.vue.js +37 -0
- package/dist/UIKit/BaseTooltip.d.ts +37 -0
- package/dist/UIKit/BaseTooltip.js +5 -0
- package/dist/UIKit/BaseTooltip.vue.js +31 -0
- package/dist/UIKit/BaseUploadFile.d.ts +40 -0
- package/dist/UIKit/BaseUploadFile.js +4 -0
- package/dist/UIKit/BaseUploadFile.vue.js +63 -0
- package/dist/UIKit/Card/BaseCard.d.ts +25 -0
- package/dist/UIKit/Card/BaseCard.js +4 -0
- package/dist/UIKit/Card/BaseCard.vue.js +24 -0
- package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +15 -0
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +9 -0
- package/dist/UIKit/Card/CardImagePrimitive.d.ts +15 -0
- package/dist/UIKit/Card/CardImagePrimitive.js +4 -0
- package/dist/UIKit/Card/CardImagePrimitive.vue.js +11 -0
- package/dist/UIKit/Card/CardRootPrimitive.d.ts +20 -0
- package/dist/UIKit/Card/CardRootPrimitive.js +4 -0
- package/dist/UIKit/Card/CardRootPrimitive.vue.js +23 -0
- package/dist/UIKit/Card/type.d.ts +3 -0
- package/dist/UIKit/Card/type.js +3 -0
- package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +52 -0
- package/dist/UIKit/Checkbox/CheckboxBtn.js +4 -0
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +76 -0
- package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +74 -0
- package/dist/UIKit/Checkbox/CheckboxGroup.js +4 -0
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +131 -0
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.d.ts +45 -0
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +4 -0
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +55 -0
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +31 -0
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +4 -0
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +37 -0
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.d.ts +26 -0
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +4 -0
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +38 -0
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.d.ts +4 -0
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +4 -0
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +19 -0
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +90 -0
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +4 -0
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +33 -0
- package/dist/UIKit/Radio/RadioButton.d.ts +38 -0
- package/dist/UIKit/Radio/RadioButton.js +4 -0
- package/dist/UIKit/Radio/RadioButton.vue.js +51 -0
- package/dist/UIKit/Radio/RadioGroup.d.ts +64 -0
- package/dist/UIKit/Radio/RadioGroup.js +4 -0
- package/dist/UIKit/Radio/RadioGroup.vue.js +67 -0
- package/dist/UIKit/Radio/v2/RadioButtonGroup.d.ts +38 -0
- package/dist/UIKit/Radio/v2/RadioButtonGroup.js +4 -0
- package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +42 -0
- package/dist/UIKit/Radio/v2/RadioButtonItem.d.ts +17 -0
- package/dist/UIKit/Radio/v2/RadioButtonItem.js +4 -0
- package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +46 -0
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +28 -0
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +4 -0
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +32 -0
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.d.ts +15 -0
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +5 -0
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +19 -0
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +11 -0
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +4 -0
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +41 -0
- package/dist/UIKit/Slider/{SimpleSlider.vue.d.ts → SimpleSlider.d.ts} +6 -6
- package/dist/UIKit/Slider/SimpleSlider.js +5 -0
- package/dist/UIKit/Slider/SimpleSlider.vue.js +74 -0
- package/dist/UIKit/StaticSpinner.d.ts +7 -0
- package/dist/UIKit/StaticSpinner.js +5 -0
- package/dist/UIKit/StaticSpinner.vue.js +24 -0
- package/dist/UIKit/Tab/BaseTab.d.ts +21 -0
- package/dist/UIKit/Tab/BaseTab.js +4 -0
- package/dist/UIKit/Tab/BaseTab.vue.js +14 -0
- package/dist/UIKit/Tab/BaseTabList.d.ts +14 -0
- package/dist/UIKit/Tab/BaseTabList.js +4 -0
- package/dist/UIKit/Tab/BaseTabList.vue.js +45 -0
- package/dist/UIKit/Tab/BaseTabPanel.d.ts +22 -0
- package/dist/UIKit/Tab/BaseTabPanel.js +4 -0
- package/dist/UIKit/Tab/BaseTabPanel.vue.js +27 -0
- package/dist/UIKit/Tab/BaseTabView.d.ts +49 -0
- package/dist/UIKit/Tab/BaseTabView.js +4 -0
- package/dist/UIKit/Tab/BaseTabView.vue.js +107 -0
- package/dist/UIKit/Tab/v2/BaseTabs.d.ts +35 -0
- package/dist/UIKit/Tab/v2/BaseTabs.js +4 -0
- package/dist/UIKit/Tab/v2/BaseTabs.vue.js +42 -0
- package/dist/UIKit/Tab/v2/BaseTabsContent.d.ts +14 -0
- package/dist/UIKit/Tab/v2/BaseTabsContent.js +4 -0
- package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +25 -0
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.d.ts +16 -0
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +4 -0
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +28 -0
- package/dist/UIKit/Tab/v2/BaseTabsList.d.ts +14 -0
- package/dist/UIKit/Tab/v2/BaseTabsList.js +4 -0
- package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +24 -0
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.d.ts +25 -0
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +4 -0
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +25 -0
- package/dist/UIKit/frameUtils.d.ts +14 -0
- package/dist/UIKit/frameUtils.js +5 -0
- package/dist/UIKit/types.d.ts +10 -52
- package/dist/UIKit/types.js +0 -0
- package/dist/UIKit/useScrollLock.d.ts +4 -0
- package/dist/UIKit/useScrollLock.js +27 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +7 -0
- package/dist/chart/DoughnutChart.d.ts +8 -0
- package/dist/chart/DoughnutChart.js +4 -0
- package/dist/chart/DoughnutChart.vue.js +25 -0
- package/dist/chart/LineChart.d.ts +11 -0
- package/dist/chart/LineChart.js +4 -0
- package/dist/chart/LineChart.vue.js +27 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +24 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.js +4 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +24 -0
- package/dist/components/IntersectionObserver/{IntersectionObserver.vue.d.ts → IntersectionObserver.d.ts} +16 -19
- package/dist/components/IntersectionObserver/IntersectionObserver.js +4 -0
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +50 -0
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.d.ts +21 -0
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +4 -0
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +43 -0
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +27 -0
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +4 -0
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +24 -0
- package/dist/components/IntersectionObserver/v2/types.d.ts +4 -0
- package/dist/components/IntersectionObserver/v2/types.js +3 -0
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.d.ts +9 -0
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +5 -0
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +30 -0
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.d.ts +9 -0
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +4 -0
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +30 -0
- package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +22 -0
- package/dist/components/carousel/Primitive/SwiperPrimitive.js +4 -0
- package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +16 -0
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.d.ts +69 -0
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -0
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +98 -0
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.d.ts +18 -0
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +4 -0
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +44 -0
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.d.ts +62 -0
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.js +4 -0
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.vue.js +56 -0
- package/dist/components/carousel/Primitive/deferredImages.d.ts +17 -0
- package/dist/components/carousel/Primitive/deferredImages.js +10 -0
- package/dist/components/carousel/SwiperCarousel.d.ts +57 -0
- package/dist/components/carousel/SwiperCarousel.js +5 -0
- package/dist/components/carousel/SwiperCarousel.vue.js +197 -0
- package/dist/components/carousel/SwiperSlide.d.ts +15 -0
- package/dist/components/carousel/SwiperSlide.js +9 -0
- package/dist/composables/mock.d.ts +25 -0
- package/dist/composables/mock.js +50 -0
- package/dist/composables/useFloatingLabel.d.ts +1 -1
- package/dist/composables/useFloatingLabel.js +28 -0
- package/dist/composables/useValidator.js +5 -0
- package/dist/css/AccessibleSelect.css +1 -0
- package/dist/css/BaseAccordionItem.css +1 -0
- package/dist/css/BaseAlert.css +1 -0
- package/dist/css/BaseAutocomplete.css +1 -0
- package/dist/css/BaseBadge.css +1 -0
- package/dist/css/BaseCard.css +1 -0
- package/dist/css/BaseComplexToggle.css +1 -0
- package/dist/css/BaseDropDown.css +1 -0
- package/dist/css/BaseFloatingLabel.css +1 -0
- package/dist/css/BaseInput.css +1 -0
- package/dist/css/BaseModal.css +1 -0
- package/dist/css/BaseShimmerLoader.css +1 -0
- package/dist/css/BaseSlider.css +1 -0
- package/dist/css/BaseSnackbar.css +1 -0
- package/dist/css/BaseTabs.css +1 -0
- package/dist/css/BaseTabsIndicator.css +1 -0
- package/dist/css/BaseTextarea.css +1 -0
- package/dist/css/BaseTooltip.css +1 -0
- package/dist/css/CheckboxBtn.css +1 -0
- package/dist/css/ClearableAutocomplete.css +1 -0
- package/dist/css/RadioButtonItem.css +1 -0
- package/dist/css/SimpleSlider.css +1 -0
- package/dist/css/StaticSpinner.css +1 -0
- package/dist/css/SwiperCarousel.css +1 -0
- package/dist/css/SwiperNavigationPrimitive.css +1 -0
- package/dist/css/SwiperPaginationPrimitive.css +1 -0
- package/dist/css/SwiperRootPrimitive.css +1 -0
- package/dist/css/SwiperSlideImagePrimitive.css +1 -0
- package/dist/css/swiper-free-mode.css +1 -0
- package/dist/css/swiper-navigation.css +1 -0
- package/dist/css/swiper-pagination.css +1 -0
- package/dist/css/swiper-swiper.css +1 -0
- package/dist/css/swiper-zoom.css +1 -0
- package/dist/css/tailwind.css +1 -0
- package/dist/css/tokens.css +1 -0
- package/dist/docs/AccessibleSelect.md +123 -0
- package/dist/docs/AccordionContentPrimitive.md +70 -0
- package/dist/docs/AccordionHeaderPrimitive.md +70 -0
- package/dist/docs/AccordionItemPrimitive.md +98 -0
- package/dist/docs/AccordionTriggerPrimitive.md +71 -0
- package/dist/docs/BaseAccordion.md +98 -0
- package/dist/docs/BaseAccordionItem.md +102 -0
- package/dist/docs/BaseAlert.md +85 -0
- package/dist/docs/BaseAutocomplete.md +127 -0
- package/dist/docs/BaseBadge.md +94 -0
- package/dist/docs/BaseBreadcrumb.md +83 -0
- package/dist/docs/BaseButton.md +129 -0
- package/dist/docs/BaseCard.md +112 -0
- package/dist/docs/BaseComplexToggle.md +101 -0
- package/dist/docs/BaseDropDown.md +124 -0
- package/dist/docs/BaseFloatingLabel.md +91 -0
- package/dist/docs/BaseInput.md +132 -0
- package/dist/docs/BaseModal.md +131 -0
- package/dist/docs/BasePagination.md +109 -0
- package/dist/docs/BaseShimmerLoader.md +88 -0
- package/dist/docs/BaseSlider.md +89 -0
- package/dist/docs/BaseSnackbar.md +122 -0
- package/dist/docs/BaseTab.md +84 -0
- package/dist/docs/BaseTabView.md +90 -0
- package/dist/docs/BaseTabs.md +118 -0
- package/dist/docs/BaseTabsContent.md +71 -0
- package/dist/docs/BaseTabsIndicator.md +75 -0
- package/dist/docs/BaseTabsList.md +76 -0
- package/dist/docs/BaseTabsTrigger.md +70 -0
- package/dist/docs/BaseTextarea.md +101 -0
- package/dist/docs/BaseToggle.md +88 -0
- package/dist/docs/BaseTooltip.md +89 -0
- package/dist/docs/BaseUploadFile.md +96 -0
- package/dist/docs/CardDescriptionPrimitive.md +73 -0
- package/dist/docs/CardImagePrimitive.md +73 -0
- package/dist/docs/CardRootPrimitive.md +101 -0
- package/dist/docs/CheckboxBtn.md +98 -0
- package/dist/docs/CheckboxButtonGroup.md +115 -0
- package/dist/docs/CheckboxGroup.md +102 -0
- package/dist/docs/CheckboxGroupItemPrimitive.md +105 -0
- package/dist/docs/CheckboxGroupPrimitive.md +107 -0
- package/dist/docs/ClearableAutocomplete.md +137 -0
- package/dist/docs/DoughnutChart.md +88 -0
- package/dist/docs/INDEX.md +133 -0
- package/dist/docs/IntersectionObservable.md +78 -0
- package/dist/docs/IntersectionObserver.md +84 -0
- package/dist/docs/IntersectionObserverProvider.md +98 -0
- package/dist/docs/IntersectionObserverTarget.md +73 -0
- package/dist/docs/LineChart.md +98 -0
- package/dist/docs/ProgressIndicatorPrimitive.md +70 -0
- package/dist/docs/ProgressRootPrimitive.md +106 -0
- package/dist/docs/RadioButton.md +86 -0
- package/dist/docs/RadioButtonGroup.md +107 -0
- package/dist/docs/RadioButtonItem.md +103 -0
- package/dist/docs/RadioGroup.md +95 -0
- package/dist/docs/RadioGroupItemPrimitive.md +102 -0
- package/dist/docs/SelectItem.md +100 -0
- package/dist/docs/ShimmerMultiLine.md +79 -0
- package/dist/docs/SimpleSlider.md +82 -0
- package/dist/docs/StaticSpinner.md +78 -0
- package/dist/docs/SwiperCarousel.md +128 -0
- package/dist/docs/SwiperNavigationPrimitive.md +85 -0
- package/dist/docs/SwiperPaginationPrimitive.md +82 -0
- package/dist/docs/SwiperPrimitive.md +77 -0
- package/dist/docs/SwiperRootPrimitive.md +125 -0
- package/dist/docs/SwiperSlide.md +75 -0
- package/dist/docs/SwiperSlideImagePrimitive.md +100 -0
- package/dist/docs/SwiperThumbnailPrimitive.md +96 -0
- package/dist/docs/TOKENS.md +50 -0
- package/dist/docs/agent-index.md +86 -0
- package/dist/index.d.ts +68 -45
- package/dist/index.js +68 -86
- package/dist/lazyModules/ChartJs/Chart.d.ts +8 -0
- package/dist/lazyModules/ChartJs/Chart.js +4 -0
- package/dist/lazyModules/ChartJs/DoughnutChart/core.d.ts +2 -0
- package/dist/lazyModules/ChartJs/DoughnutChart/core.js +4 -0
- package/dist/lazyModules/ChartJs/LineChart/cartesian.d.ts +2 -0
- package/dist/lazyModules/ChartJs/LineChart/cartesian.js +4 -0
- package/dist/lazyModules/ChartJs/LineChart/core.d.ts +2 -0
- package/dist/lazyModules/ChartJs/LineChart/core.js +4 -0
- package/dist/lazyModules/ChartJs/Plugins/Legend.d.ts +1 -0
- package/dist/lazyModules/ChartJs/Plugins/Legend.js +3 -0
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.d.ts +0 -0
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +4 -0
- package/dist/lazyModules/ChartJs/Plugins/Title.d.ts +1 -0
- package/dist/lazyModules/ChartJs/Plugins/Title.js +3 -0
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.d.ts +1 -0
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +3 -0
- package/dist/lazyModules/Swiper/Autoplay/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/Autoplay/factory.js +6 -0
- package/dist/lazyModules/Swiper/Autoplay/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/Autoplay/index.js +2 -0
- package/dist/lazyModules/Swiper/Controller/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/Controller/factory.js +6 -0
- package/dist/lazyModules/Swiper/Controller/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/Controller/index.js +2 -0
- package/dist/lazyModules/Swiper/FreeMode/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/FreeMode/factory.js +6 -0
- package/dist/lazyModules/Swiper/FreeMode/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/FreeMode/index.js +2 -0
- package/dist/lazyModules/Swiper/Keyboard/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/Keyboard/factory.js +6 -0
- package/dist/lazyModules/Swiper/Keyboard/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/Keyboard/index.js +2 -0
- package/dist/lazyModules/Swiper/Navigation/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/Navigation/factory.js +6 -0
- package/dist/lazyModules/Swiper/Navigation/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/Navigation/index.js +2 -0
- package/dist/lazyModules/Swiper/Pagination/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/Pagination/factory.js +6 -0
- package/dist/lazyModules/Swiper/Pagination/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/Pagination/index.js +2 -0
- package/dist/lazyModules/Swiper/Thumbs/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/Thumbs/factory.js +6 -0
- package/dist/lazyModules/Swiper/Thumbs/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/Thumbs/index.js +2 -0
- package/dist/lazyModules/Swiper/Zoom/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/Zoom/factory.js +6 -0
- package/dist/lazyModules/Swiper/Zoom/index.d.ts +1 -0
- package/dist/lazyModules/Swiper/Zoom/index.js +2 -0
- package/dist/lazyModules/Swiper/factory.d.ts +3 -0
- package/dist/lazyModules/Swiper/factory.js +9 -0
- package/dist/lazyModules/Swiper/index.d.ts +20 -0
- package/dist/lazyModules/Swiper/index.js +5 -0
- package/dist/lazyModules/Swiper/swiper-css.d.js +0 -0
- package/dist/lazyModules/Swiper/types.d.ts +5 -0
- package/dist/lazyModules/Swiper/types.js +0 -0
- package/dist/lazyModules/VueChartJs/Doughnut/factory.d.ts +7 -0
- package/dist/lazyModules/VueChartJs/Doughnut/factory.js +8 -0
- package/dist/lazyModules/VueChartJs/Doughnut/index.d.ts +9 -0
- package/dist/lazyModules/VueChartJs/Doughnut/index.js +4 -0
- package/dist/lazyModules/VueChartJs/Line/factory.d.ts +7 -0
- package/dist/lazyModules/VueChartJs/Line/factory.js +8 -0
- package/dist/lazyModules/VueChartJs/Line/index.d.ts +9 -0
- package/dist/lazyModules/VueChartJs/Line/index.js +4 -0
- package/dist/types/index.d.ts +33 -0
- package/dist/types/index.js +0 -0
- package/dist/types.js +0 -1
- package/dist/utils.js +3 -5
- package/package.json +73 -42
- package/dist/AccessibleSelect.js +0 -4
- package/dist/BaseAccordion.js +0 -4
- package/dist/BaseAccordionBtn.js +0 -4
- package/dist/BaseAccordionContent.js +0 -4
- package/dist/BaseAccordionItem.js +0 -4
- package/dist/BaseAlert.js +0 -4
- package/dist/BaseAutocomplete.js +0 -4
- package/dist/BaseBadge.js +0 -4
- package/dist/BaseBreadcrumb.js +0 -4
- package/dist/BaseButton.js +0 -4
- package/dist/BaseCard.js +0 -38
- package/dist/BaseComplexToggle.js +0 -107
- package/dist/BaseDropDown.js +0 -4
- package/dist/BaseFloatingLabel.js +0 -41
- package/dist/BaseIcon.js +0 -28
- package/dist/BaseInput.js +0 -212
- package/dist/BaseModal.js +0 -4
- package/dist/BasePagination.js +0 -4
- package/dist/BasePaper.js +0 -14
- package/dist/BaseShimmerLoader.js +0 -22
- package/dist/BaseSlider.js +0 -208
- package/dist/BaseSnackbar.js +0 -82
- package/dist/BaseTab.js +0 -4
- package/dist/BaseTabList.js +0 -4
- package/dist/BaseTabPanel.js +0 -4
- package/dist/BaseTabView.js +0 -4
- package/dist/BaseTextarea.js +0 -128
- package/dist/BaseToggle.js +0 -43
- package/dist/BaseTooltip.js +0 -42
- package/dist/BaseUploadFile.js +0 -4
- package/dist/CheckboxBtn.js +0 -76
- package/dist/CheckboxGroup.js +0 -4
- package/dist/DoughnutChart.js +0 -4
- package/dist/IntersectionObservable.js +0 -4
- package/dist/IntersectionObserver.js +0 -4
- package/dist/LineChart.js +0 -4
- package/dist/RadioButton.js +0 -4
- package/dist/RadioGroup.js +0 -4
- package/dist/SelectItem.js +0 -4
- package/dist/ShimmerMultiLine.js +0 -4
- package/dist/SimpleSlider.js +0 -83
- package/dist/StaticSpinner.js +0 -28
- package/dist/SwiperCarousel.js +0 -5
- package/dist/SwiperSlide.js +0 -14
- package/dist/UIKit/AccessibleSelect.vue.d.ts +0 -55
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +0 -32
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +0 -34
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +0 -30
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +0 -60
- package/dist/UIKit/BaseAlert.vue.d.ts +0 -26
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +0 -48
- package/dist/UIKit/BaseBadge.vue.d.ts +0 -22
- package/dist/UIKit/BaseBreadcrumb.vue.d.ts +0 -35
- package/dist/UIKit/BaseButton.vue.d.ts +0 -46
- package/dist/UIKit/BaseCard.vue.d.ts +0 -29
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +0 -47
- package/dist/UIKit/BaseDropDown.vue.d.ts +0 -81
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +0 -17
- package/dist/UIKit/BaseIcon.vue.d.ts +0 -11
- package/dist/UIKit/BaseInput.vue.d.ts +0 -68
- package/dist/UIKit/BaseModal.vue.d.ts +0 -63
- package/dist/UIKit/BasePaper.vue.d.ts +0 -2
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +0 -38
- package/dist/UIKit/BaseSnackbar.vue.d.ts +0 -24
- package/dist/UIKit/BaseToggle.vue.d.ts +0 -32
- package/dist/UIKit/BaseTooltip.vue.d.ts +0 -38
- package/dist/UIKit/BaseUploadFile.vue.d.ts +0 -42
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +0 -53
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +0 -71
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +0 -27
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +0 -54
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +0 -21
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +0 -63
- package/dist/UIKit/StaticSpinner.vue.d.ts +0 -6
- package/dist/UIKit/Tab/BaseTab.vue.d.ts +0 -23
- package/dist/UIKit/Tab/BaseTabList.vue.d.ts +0 -14
- package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +0 -24
- package/dist/UIKit/Tab/BaseTabView.vue.d.ts +0 -27
- package/dist/assets/BaseAlert.css +0 -1
- package/dist/assets/BaseBadge.css +0 -1
- package/dist/assets/BaseCard.css +0 -1
- package/dist/assets/BaseComplexToggle.css +0 -1
- package/dist/assets/BaseFloatingLabel.css +0 -1
- package/dist/assets/BaseIcon.css +0 -1
- package/dist/assets/BaseInput.css +0 -1
- package/dist/assets/BaseModal.css +0 -1
- package/dist/assets/BasePaper.css +0 -1
- package/dist/assets/BaseShimmerLoader.css +0 -1
- package/dist/assets/BaseSlider.css +0 -1
- package/dist/assets/BaseSnackbar.css +0 -1
- package/dist/assets/BaseTextarea.css +0 -1
- package/dist/assets/BaseToggle.css +0 -1
- package/dist/assets/BaseTooltip.css +0 -1
- package/dist/assets/CheckboxBtn.css +0 -1
- package/dist/assets/SimpleSlider.css +0 -1
- package/dist/assets/StaticSpinner.css +0 -1
- package/dist/assets/SwiperCarousel.css +0 -1
- package/dist/assets/index.css +0 -1
- package/dist/chart/DoughnutChart.vue.d.ts +0 -7
- package/dist/chart/LineChart.vue.d.ts +0 -19
- package/dist/chart/composables/useChartjsModules.d.ts +0 -10
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.QU1FSgY0.js +0 -246
- package/dist/chunks/ArrowIcon.Bq6Xr3uH.js +0 -28
- package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js +0 -32
- package/dist/chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DEk3SXLJ.js +0 -60
- package/dist/chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Qp_TWYFE.js +0 -34
- package/dist/chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.BJB5DnDs.js +0 -143
- package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js +0 -19
- package/dist/chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.S_XFg2zV.js +0 -202
- package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.DvAI34Oa.js +0 -19
- package/dist/chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BrzeVW2_.js +0 -58
- package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.DHwyd5Gb.js +0 -66
- package/dist/chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.OKB0gEpo.js +0 -137
- package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.a2qGyPhV.js +0 -150
- package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DdFMVFIO.js +0 -164
- package/dist/chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js +0 -15
- package/dist/chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CxrS-Vq6.js +0 -43
- package/dist/chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js +0 -24
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DGTsSVEG.js +0 -105
- package/dist/chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.BL98w2D8.js +0 -71
- package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.B_9CFhd2.js +0 -111
- package/dist/chunks/CloseIcon.BZ4U3aiI.js +0 -38
- package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js +0 -27
- package/dist/chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js +0 -24
- package/dist/chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js +0 -52
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +0 -42
- package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
- package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
- package/dist/chunks/RadioButton.vue_vue_type_script_setup_true_lang.CxVJji0G.js +0 -58
- package/dist/chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BNKSEicl.js +0 -62
- package/dist/chunks/SelectItem.vue_vue_type_script_setup_true_lang.jB3LVM3c.js +0 -41
- package/dist/chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CPUobRgG.js +0 -29
- package/dist/chunks/SwiperCarousel.BheiaKKw.js +0 -748
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
- package/dist/chunks/index.BJP9rQkU.js +0 -887
- package/dist/chunks/polyline.DjpLdMaW.js +0 -5256
- package/dist/chunks/useBreakpoints.BXk8Xcw3.js +0 -5189
- package/dist/city-640x359.jpg +0 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +0 -29
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +0 -57
- package/dist/components/carousel/SwiperSlide.vue.d.ts +0 -17
- package/dist/favicon.ico +0 -0
- package/dist/useChartjsModules.js +0 -48
- package/dist/useFloatingLabel.js +0 -33
- package/dist/useValidator.js +0 -8
package/dist/UIKit/types.d.ts
CHANGED
|
@@ -1,61 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export type ToggleType<TPayload = unknown, TId = string | number> = {
|
|
6
|
-
id?: TId;
|
|
7
|
-
label: string;
|
|
8
|
-
icon?: Icon;
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
payload?: TPayload;
|
|
11
|
-
};
|
|
12
|
-
export type ComplexToggleType<T = unknown> = {
|
|
13
|
-
leftToggle: ToggleType<T>;
|
|
14
|
-
rightToggle: ToggleType<T>;
|
|
1
|
+
export type Icon = {
|
|
2
|
+
src: string;
|
|
3
|
+
alt: string;
|
|
4
|
+
size?: "sm" | "md" | "lg";
|
|
15
5
|
};
|
|
16
|
-
export type
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"active-tab-panel-idx": number;
|
|
20
|
-
"tab-panel-classes": ClassType;
|
|
21
|
-
"data-cy": string;
|
|
22
|
-
}>;
|
|
23
|
-
export type TabType = {
|
|
24
|
-
renderFn: any;
|
|
25
|
-
tabId: string;
|
|
26
|
-
} & BaseTabProps;
|
|
27
|
-
export type CheckboxButtonType<T = string | number, T1 = string | number, T2 = unknown> = {
|
|
28
|
-
id: T;
|
|
29
|
-
label: T1;
|
|
30
|
-
checked?: boolean;
|
|
31
|
-
reset?: boolean;
|
|
32
|
-
payload?: T2;
|
|
33
|
-
dataCy?: string;
|
|
6
|
+
export type IconItem = {
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconColored?: string;
|
|
34
9
|
};
|
|
35
|
-
export type
|
|
36
|
-
|
|
10
|
+
export type LabelItem<L = number | string | undefined> = {
|
|
11
|
+
id: L;
|
|
12
|
+
label: string;
|
|
37
13
|
};
|
|
38
|
-
export type GetterIdType<T = CheckboxButtonType | string | number> = (checkboxBtn: T) => string;
|
|
39
|
-
export type LabelState = "inline-label" | "floating-label";
|
|
40
14
|
export type FeedbackLabels = {
|
|
41
15
|
valid?: string[] | string;
|
|
42
16
|
invalid?: string[] | string;
|
|
43
17
|
};
|
|
44
|
-
export type SelectOptions<T = void> = IconItem & LabelItem & {
|
|
45
|
-
payload?: T;
|
|
46
|
-
};
|
|
47
|
-
export type AccessibleSelectOptions<T = unknown, L = string | number | undefined> = IconItem & LabelItem<L> & {
|
|
48
|
-
visibleLabel?: string;
|
|
49
|
-
} & T;
|
|
50
|
-
export type RadioButtonType<T = unknown> = {
|
|
51
|
-
id?: string | number | null;
|
|
52
|
-
label: string | number;
|
|
53
|
-
payload?: T;
|
|
54
|
-
active?: boolean;
|
|
55
|
-
};
|
|
56
|
-
export type AccordionItemDecorated<T = unknown> = Record<string | number, T & Partial<AccordionItem>>;
|
|
57
|
-
type BtnPrefix = "btn-";
|
|
58
|
-
export type ButtonType = `${BtnPrefix}${"w-primary" | "w-secondary" | "w-warning" | "w-danger" | "transparent" | "light" | "show-more" | "multi-selection" | "single-selection" | "facile"}`;
|
|
59
18
|
export type ClassType = string | Record<string, boolean> | null | undefined | ClassType[];
|
|
60
19
|
export type ClassTypeProp = ClassType | ClassType[];
|
|
61
|
-
export {};
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { onScopeDispose as e } from "vue";
|
|
2
|
+
// lib/UIKit/useScrollLock.ts
|
|
3
|
+
var t = /* @__PURE__ */ new Set(), n = null, r = () => {
|
|
4
|
+
if (n || typeof document > "u") return;
|
|
5
|
+
let { body: e } = document;
|
|
6
|
+
n = {
|
|
7
|
+
overflow: e.style.overflow,
|
|
8
|
+
paddingRight: e.style.paddingRight
|
|
9
|
+
};
|
|
10
|
+
let t = document.documentElement, r = window.innerWidth - t.clientWidth, i = getComputedStyle(t).scrollbarGutter?.startsWith("stable");
|
|
11
|
+
r > 0 && !i && (e.style.paddingRight = `${r}px`), e.style.overflow = "hidden";
|
|
12
|
+
}, i = () => {
|
|
13
|
+
n && typeof document < "u" && (document.body.style.overflow = n.overflow, document.body.style.paddingRight = n.paddingRight, n = null);
|
|
14
|
+
}, a = () => {
|
|
15
|
+
let n = Symbol("scroll-lock"), a = () => {
|
|
16
|
+
t.delete(n) && (t.size || i());
|
|
17
|
+
}, o = !1;
|
|
18
|
+
return e(() => {
|
|
19
|
+
o = !0, a();
|
|
20
|
+
}, !0), {
|
|
21
|
+
lock: () => {
|
|
22
|
+
o || (t.add(n), r());
|
|
23
|
+
},
|
|
24
|
+
unlock: a
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export { a as useScrollLock };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ChartOptions, ChartData } from 'chart.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options: ChartOptions<"doughnut">;
|
|
4
|
+
data: ChartData<"doughnut">;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createBlock as e, defineAsyncComponent as t, defineComponent as n, hydrateOnIdle as r, openBlock as i, unref as a } from "vue";
|
|
2
|
+
import { createDoughnutChart as o } from "../lazyModules/VueChartJs/Doughnut/factory.js";
|
|
3
|
+
// lib/chart/DoughnutChart.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var s = /*@__PURE__*/ n({
|
|
5
|
+
__name: "DoughnutChart",
|
|
6
|
+
props: {
|
|
7
|
+
options: {},
|
|
8
|
+
data: {}
|
|
9
|
+
},
|
|
10
|
+
setup(n) {
|
|
11
|
+
let s = t({
|
|
12
|
+
loader: () => o({
|
|
13
|
+
tooltip: !!n.options.plugins?.tooltip,
|
|
14
|
+
legend: !!n.options.plugins?.legend,
|
|
15
|
+
title: !!n.options.plugins?.title
|
|
16
|
+
}),
|
|
17
|
+
hydrate: r()
|
|
18
|
+
});
|
|
19
|
+
return (t, r) => (i(), e(a(s), {
|
|
20
|
+
options: n.options,
|
|
21
|
+
data: n.data
|
|
22
|
+
}, null, 8, ["options", "data"]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export { s as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ChartOptions, ChartData, Chart } from 'chart.js';
|
|
2
|
+
import { Optional } from '@wikicasa-dev/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
options: ChartOptions<"line">;
|
|
5
|
+
data: ChartData<"line">;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
8
|
+
chartInstance: import('vue').ComputedRef<Optional<Chart<"line", (number | import('chart.js').Point | null)[], unknown>>>;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { computed as e, createBlock as t, defineAsyncComponent as n, defineComponent as r, hydrateOnIdle as i, openBlock as a, unref as o, useTemplateRef as s } from "vue";
|
|
2
|
+
import { createLineChart as c } from "../lazyModules/VueChartJs/Line/factory.js";
|
|
3
|
+
// lib/chart/LineChart.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var l = /*@__PURE__*/ r({
|
|
5
|
+
__name: "LineChart",
|
|
6
|
+
props: {
|
|
7
|
+
options: {},
|
|
8
|
+
data: {}
|
|
9
|
+
},
|
|
10
|
+
setup(r, { expose: l }) {
|
|
11
|
+
let u = n({
|
|
12
|
+
loader: () => c({
|
|
13
|
+
timeAxis: r.options.scales?.x?.type === "time",
|
|
14
|
+
tooltip: !!r.options.plugins?.tooltip,
|
|
15
|
+
legend: !!r.options.plugins?.legend,
|
|
16
|
+
title: !!r.options.plugins?.title
|
|
17
|
+
}),
|
|
18
|
+
hydrate: i()
|
|
19
|
+
}), d = s("chart");
|
|
20
|
+
return l({ chartInstance: e(() => d.value?.chart) }), (e, n) => (a(), t(o(u), {
|
|
21
|
+
ref: "chart",
|
|
22
|
+
options: r.options,
|
|
23
|
+
data: r.data
|
|
24
|
+
}, null, 8, ["options", "data"]));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export { l as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
observer?: IntersectionObserver | null;
|
|
3
|
+
isVisible?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_template: () => {
|
|
6
|
+
__VLS_Slots: {
|
|
7
|
+
default?: (props: {}) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: {}) => any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
observer: IntersectionObserver | null;
|
|
15
|
+
isVisible: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, normalizeClass as n, onMounted as r, openBlock as i, ref as a, renderSlot as o } from "vue";
|
|
2
|
+
// lib/components/IntersectionObserver/IntersectionObservable.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var s = /*@__PURE__*/ t({
|
|
4
|
+
__name: "IntersectionObservable",
|
|
5
|
+
props: {
|
|
6
|
+
observer: { default: null },
|
|
7
|
+
isVisible: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: !1
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(t) {
|
|
13
|
+
let s = t, c = a(null);
|
|
14
|
+
return r(() => {
|
|
15
|
+
s.observer && c.value && s.observer.observe(c.value);
|
|
16
|
+
}), (r, a) => t.isVisible ? o(r.$slots, "default", {}, void 0, void 0, 1) : (i(), e("div", {
|
|
17
|
+
key: 0,
|
|
18
|
+
ref_key: "root",
|
|
19
|
+
ref: c,
|
|
20
|
+
class: n(r.$attrs["root-classes"])
|
|
21
|
+
}, [o(r.$slots, "default")], 2));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export { s as default };
|
|
@@ -3,13 +3,13 @@ interface IntersectionObserverProps {
|
|
|
3
3
|
skip?: boolean;
|
|
4
4
|
threshold?: number;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
observer?(_: {
|
|
6
|
+
declare const __VLS_template: () => {
|
|
7
|
+
__VLS_Slots: {
|
|
8
|
+
observer?: (props: {
|
|
10
9
|
observer: {
|
|
11
10
|
readonly root: Element | Document | null;
|
|
12
11
|
readonly rootMargin: string;
|
|
12
|
+
readonly scrollMargin: string;
|
|
13
13
|
readonly thresholds: ReadonlyArray<number>;
|
|
14
14
|
disconnect: () => void;
|
|
15
15
|
observe: (target: Element) => void;
|
|
@@ -17,11 +17,13 @@ declare function __VLS_template(): {
|
|
|
17
17
|
unobserve: (target: Element) => void;
|
|
18
18
|
} | null;
|
|
19
19
|
isVisible: false;
|
|
20
|
-
})
|
|
21
|
-
|
|
20
|
+
}) => any;
|
|
21
|
+
} & {
|
|
22
|
+
observer?: (props: {
|
|
22
23
|
observer: {
|
|
23
24
|
readonly root: Element | Document | null;
|
|
24
25
|
readonly rootMargin: string;
|
|
26
|
+
readonly scrollMargin: string;
|
|
25
27
|
readonly thresholds: ReadonlyArray<number>;
|
|
26
28
|
disconnect: () => void;
|
|
27
29
|
observe: (target: Element) => void;
|
|
@@ -29,28 +31,23 @@ declare function __VLS_template(): {
|
|
|
29
31
|
unobserve: (target: Element) => void;
|
|
30
32
|
} | null;
|
|
31
33
|
isVisible: true;
|
|
32
|
-
})
|
|
34
|
+
}) => any;
|
|
33
35
|
};
|
|
34
|
-
refs: {
|
|
35
|
-
root: HTMLDivElement;
|
|
36
|
-
};
|
|
37
|
-
rootEl: any;
|
|
38
36
|
};
|
|
39
|
-
type
|
|
40
|
-
declare const
|
|
37
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
38
|
+
declare const __VLS_base: import('vue').DefineComponent<IntersectionObserverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
39
|
intersection: () => any;
|
|
42
40
|
}, string, import('vue').PublicProps, Readonly<IntersectionObserverProps> & Readonly<{
|
|
43
41
|
onIntersection?: (() => any) | undefined;
|
|
44
42
|
}>, {
|
|
45
|
-
threshold: number;
|
|
46
43
|
observeOnce: boolean;
|
|
47
44
|
skip: boolean;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
declare const _default:
|
|
45
|
+
threshold: number;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
|
+
declare const _default: typeof __VLS_export;
|
|
52
49
|
export default _default;
|
|
53
|
-
type
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
51
|
new (): {
|
|
55
52
|
$slots: S;
|
|
56
53
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, normalizeClass as n, onBeforeMount as r, onBeforeUnmount as i, openBlock as a, reactive as o, ref as s, renderSlot as c } from "vue";
|
|
2
|
+
// lib/components/IntersectionObserver/IntersectionObserver.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var l = /*@__PURE__*/ t({
|
|
4
|
+
__name: "IntersectionObserver",
|
|
5
|
+
props: {
|
|
6
|
+
observeOnce: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !0
|
|
9
|
+
},
|
|
10
|
+
skip: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
threshold: { default: 0 }
|
|
15
|
+
},
|
|
16
|
+
emits: ["intersection"],
|
|
17
|
+
setup(t, { emit: l }) {
|
|
18
|
+
let u = l, d = t, f = o({
|
|
19
|
+
root: null,
|
|
20
|
+
isVisible: !1
|
|
21
|
+
}), p = s(null), m = (e) => {
|
|
22
|
+
e.forEach(({ target: e, isIntersecting: t }) => {
|
|
23
|
+
t && (f.isVisible = !0, u("intersection")), d.observeOnce && t && h(e);
|
|
24
|
+
});
|
|
25
|
+
}, h = (e) => {
|
|
26
|
+
p.value && p.value.unobserve(e);
|
|
27
|
+
}, g = () => {
|
|
28
|
+
p.value && p.value.disconnect();
|
|
29
|
+
};
|
|
30
|
+
return r(() => {
|
|
31
|
+
d.skip ? f.isVisible = !0 : p.value = new IntersectionObserver(m, {
|
|
32
|
+
root: null,
|
|
33
|
+
threshold: d.threshold
|
|
34
|
+
});
|
|
35
|
+
}), i(() => {
|
|
36
|
+
g();
|
|
37
|
+
}), (t, r) => f.isVisible ? c(t.$slots, "observer", {
|
|
38
|
+
observer: p.value,
|
|
39
|
+
isVisible: f.isVisible
|
|
40
|
+
}, void 0, void 0, 1) : (a(), e("div", {
|
|
41
|
+
key: 0,
|
|
42
|
+
ref: "root",
|
|
43
|
+
class: n(t.$attrs["root-classes"])
|
|
44
|
+
}, [c(t.$slots, "observer", {
|
|
45
|
+
observer: p.value,
|
|
46
|
+
isVisible: f.isVisible
|
|
47
|
+
})], 2));
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
export { l as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface IntersectionObserverProviderProps {
|
|
2
|
+
emitOnce?: boolean;
|
|
3
|
+
skip?: boolean;
|
|
4
|
+
threshold?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<IntersectionObserverProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
intersection: () => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<IntersectionObserverProviderProps> & Readonly<{
|
|
11
|
+
onIntersection?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?: (props: {
|
|
14
|
+
observer: IntersectionObserver | undefined;
|
|
15
|
+
}) => any;
|
|
16
|
+
}>;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineComponent as e, onBeforeMount as t, onBeforeUnmount as n, provide as r, renderSlot as i, shallowRef as a } from "vue";
|
|
2
|
+
import { ObserveTargetKey as o, UnobserveTargetKey as s, VisibleTargetsKey as c } from "./types.js";
|
|
3
|
+
// lib/components/IntersectionObserver/v2/IntersectionObserverProvider.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var l = /*@__PURE__*/ e({
|
|
5
|
+
__name: "IntersectionObserverProvider",
|
|
6
|
+
props: {
|
|
7
|
+
emitOnce: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: !1
|
|
10
|
+
},
|
|
11
|
+
skip: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
threshold: { default: 0 }
|
|
16
|
+
},
|
|
17
|
+
emits: ["intersection"],
|
|
18
|
+
setup(e, { emit: l }) {
|
|
19
|
+
let u = l, d = a(/* @__PURE__ */ new Set()), f = a(), p = (t) => {
|
|
20
|
+
e.skip || t.forEach(({ target: t, isIntersecting: n }) => {
|
|
21
|
+
let r = t.getAttribute("target-id");
|
|
22
|
+
if (!r) return;
|
|
23
|
+
let i = new Set(d.value);
|
|
24
|
+
n ? (i.add(r), u("intersection"), e.emitOnce && f.value?.disconnect()) : i.delete(r), d.value = i;
|
|
25
|
+
});
|
|
26
|
+
}, m = () => {
|
|
27
|
+
f.value?.disconnect();
|
|
28
|
+
};
|
|
29
|
+
return r(c, d), r(o, (e) => {
|
|
30
|
+
f.value?.observe(e);
|
|
31
|
+
}), r(s, (e) => {
|
|
32
|
+
f.value?.unobserve(e);
|
|
33
|
+
}), t(() => {
|
|
34
|
+
f.value = new IntersectionObserver(p, {
|
|
35
|
+
root: null,
|
|
36
|
+
threshold: e.threshold
|
|
37
|
+
});
|
|
38
|
+
}), n(() => {
|
|
39
|
+
m();
|
|
40
|
+
}), (e, t) => i(e.$slots, "default", { observer: f.value });
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export { l as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
observeOnce?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
default?: (props: {
|
|
7
|
+
isVisible: boolean;
|
|
8
|
+
}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: {
|
|
11
|
+
isVisible: true;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
14
|
+
__VLS_TemplateRefs: {
|
|
15
|
+
root: __VLS_Elements["div"];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { computed as e, createElementBlock as t, defineComponent as n, inject as r, onMounted as i, openBlock as a, renderSlot as o, unref as s, useId as c, useTemplateRef as l, watch as u } from "vue";
|
|
2
|
+
import { ObserveTargetKey as d, UnobserveTargetKey as f, VisibleTargetsKey as p } from "./types.js";
|
|
3
|
+
// lib/components/IntersectionObserver/v2/IntersectionObserverTarget.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var m = ["target-id"], h = /*@__PURE__*/ n({
|
|
5
|
+
__name: "IntersectionObserverTarget",
|
|
6
|
+
props: { observeOnce: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !0
|
|
9
|
+
} },
|
|
10
|
+
setup(n) {
|
|
11
|
+
let h = l("root"), g = c(), _ = r(p, void 0), v = r(d, void 0), y = r(f, void 0), b = e(() => _?.value.has(g) || !1);
|
|
12
|
+
return i(() => {
|
|
13
|
+
h.value && v?.(h.value);
|
|
14
|
+
}), u([b, h], ([e, t], [, r]) => {
|
|
15
|
+
n.observeOnce && e && (t && y?.(t), r && y?.(r));
|
|
16
|
+
}), (e, r) => !n.observeOnce || !b.value ? (a(), t("div", {
|
|
17
|
+
key: 0,
|
|
18
|
+
ref_key: "root",
|
|
19
|
+
ref: h,
|
|
20
|
+
"target-id": s(g)
|
|
21
|
+
}, [o(e.$slots, "default", { isVisible: b.value })], 8, m)) : o(e.$slots, "default", { isVisible: b.value }, void 0, void 0, 1);
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export { h as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InjectionKey, ShallowRef } from 'vue';
|
|
2
|
+
export declare const ObserveTargetKey: InjectionKey<(e: Element) => void>;
|
|
3
|
+
export declare const UnobserveTargetKey: InjectionKey<(e: Element) => void>;
|
|
4
|
+
export declare const VisibleTargetsKey: InjectionKey<ShallowRef<Set<string>>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NavigationOptions } from 'swiper/types';
|
|
2
|
+
export type SwiperNavigationPrimitiveProps = NavigationOptions | boolean;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
|
+
options?: SwiperNavigationPrimitiveProps;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
options?: SwiperNavigationPrimitiveProps;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import e from "./SwiperNavigationPrimitive.vue.js";
|
|
2
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// lib/components/carousel/Primitive/SwiperNavigationPrimitive.vue
|
|
4
|
+
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-7a7f98db"]]);
|
|
5
|
+
export { n as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Fragment as e, createElementBlock as t, createElementVNode as n, defineComponent as r, inject as i, openBlock as a, withModifiers as o } from "vue";
|
|
2
|
+
import { NavigationModule as s } from "../../../lazyModules/Swiper/Navigation/factory.js";
|
|
3
|
+
import { addModuleDescriptorKey as c } from "./SwiperRootPrimitive.vue.js";
|
|
4
|
+
import '../../../css/SwiperNavigationPrimitive.css';// lib/components/carousel/Primitive/SwiperNavigationPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var l = /*@__PURE__*/ r({
|
|
6
|
+
__name: "SwiperNavigationPrimitive",
|
|
7
|
+
props: { options: {
|
|
8
|
+
type: [Object, Boolean],
|
|
9
|
+
default: !0
|
|
10
|
+
} },
|
|
11
|
+
setup(r) {
|
|
12
|
+
let l = {
|
|
13
|
+
nextEl: ".swiper-button-next",
|
|
14
|
+
prevEl: ".swiper-button-prev"
|
|
15
|
+
}, u = i(c, void 0);
|
|
16
|
+
return r.options && u?.(s({
|
|
17
|
+
...l,
|
|
18
|
+
...typeof r.options == "boolean" ? {} : r.options
|
|
19
|
+
})), (r, i) => (a(), t(e, null, [n("div", {
|
|
20
|
+
class: "swiper-button-prev",
|
|
21
|
+
"data-cy": "swiper-button-prev",
|
|
22
|
+
onClick: i[0] ||= o(() => {}, ["stop"])
|
|
23
|
+
}), n("div", {
|
|
24
|
+
class: "swiper-button-next",
|
|
25
|
+
"data-cy": "swiper-button-next",
|
|
26
|
+
onClick: i[1] ||= o(() => {}, ["stop"])
|
|
27
|
+
})], 64));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export { l as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PaginationOptions } from 'swiper/types';
|
|
2
|
+
export type SwiperPaginationPrimitiveProps = PaginationOptions | boolean;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
6
|
+
options?: SwiperPaginationPrimitiveProps;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
options?: SwiperPaginationPrimitiveProps;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, inject as n, openBlock as r, withModifiers as i } from "vue";
|
|
2
|
+
import { addModuleDescriptorKey as a } from "./SwiperRootPrimitive.vue.js";
|
|
3
|
+
import { PaginationModule as o } from "../../../lazyModules/Swiper/Pagination/factory.js";
|
|
4
|
+
import '../../../css/SwiperPaginationPrimitive.css';/* empty css */
|
|
5
|
+
// lib/components/carousel/Primitive/SwiperPaginationPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var s = /*@__PURE__*/ t({
|
|
7
|
+
__name: "SwiperPaginationPrimitive",
|
|
8
|
+
props: { options: {
|
|
9
|
+
type: [Object, Boolean],
|
|
10
|
+
default: !0
|
|
11
|
+
} },
|
|
12
|
+
setup(t) {
|
|
13
|
+
let s = {
|
|
14
|
+
el: ".swiper-pagination",
|
|
15
|
+
renderFraction: (e, t) => `<div class="uikit-rounded-xs uikit-border-w-black uikit-border uikit-border-solid uikit-px-3 uikit-bg-white uikit-pt-[3px] uikit-pb-[3px]">
|
|
16
|
+
<span data-cy="swiper-pagination-current" class="${e}"></span>
|
|
17
|
+
/
|
|
18
|
+
<span data-cy="swiper-pagination-total" class="${t}"></span>
|
|
19
|
+
</div>`
|
|
20
|
+
}, c = n(a, void 0);
|
|
21
|
+
return t.options && c?.(o({
|
|
22
|
+
...s,
|
|
23
|
+
...typeof t.options == "boolean" ? {} : t.options
|
|
24
|
+
})), (t, n) => (r(), e("div", {
|
|
25
|
+
class: "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center",
|
|
26
|
+
onClick: n[0] ||= i(() => {}, ["stop"])
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export { s as default };
|