@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ClassTypeProp } from '../types';
|
|
2
|
+
import { TabType } from './BaseTabView';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
dataCy?: string;
|
|
5
|
+
uid: string;
|
|
6
|
+
tabListClasses?: ClassTypeProp;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
tabClick: (e: Event, tabIdx: number, tabElement: TabType) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onTabClick?: ((e: Event, tabIdx: number, tabElement: TabType) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Fragment as e, createBlock as t, createCommentVNode as n, createElementBlock as r, defineComponent as i, inject as a, normalizeClass as o, openBlock as s, renderList as c, resolveDynamicComponent as l, toDisplayString as u, unref as d } from "vue";
|
|
2
|
+
// lib/UIKit/Tab/BaseTabList.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var f = ["aria-labelledby", "data-cy"], p = [
|
|
4
|
+
"id",
|
|
5
|
+
"data-cy",
|
|
6
|
+
"aria-selected",
|
|
7
|
+
"aria-controls",
|
|
8
|
+
"tabindex",
|
|
9
|
+
"onClick"
|
|
10
|
+
], m = { key: 0 }, h = /*@__PURE__*/ i({
|
|
11
|
+
__name: "BaseTabList",
|
|
12
|
+
props: {
|
|
13
|
+
dataCy: {},
|
|
14
|
+
uid: {},
|
|
15
|
+
tabListClasses: {}
|
|
16
|
+
},
|
|
17
|
+
emits: ["tabClick"],
|
|
18
|
+
setup(i, { emit: h }) {
|
|
19
|
+
let g = a("tabs"), _ = a("isTabActive"), v = a("handleClick"), y = h;
|
|
20
|
+
return (a, h) => (s(), r("div", {
|
|
21
|
+
role: "tablist",
|
|
22
|
+
"aria-labelledby": `tablist-${i.uid}`,
|
|
23
|
+
class: o(i.tabListClasses),
|
|
24
|
+
"data-cy": i.dataCy
|
|
25
|
+
}, [(s(!0), r(e, null, c(d(g), (e, a) => (s(), r("button", {
|
|
26
|
+
id: e.tabId,
|
|
27
|
+
key: a,
|
|
28
|
+
"data-cy": e["data-cy"],
|
|
29
|
+
type: "button",
|
|
30
|
+
role: "tab",
|
|
31
|
+
"aria-selected": d(_)(a),
|
|
32
|
+
"aria-controls": `base-tab-panel-${a}-${i.uid}`,
|
|
33
|
+
tabindex: d(_)(a) ? void 0 : -1,
|
|
34
|
+
class: o([
|
|
35
|
+
"uikit-bg-transparent uikit-p-5px",
|
|
36
|
+
{ "uikit-border-b-2 uikit-border-solid uikit-border-w-primary uikit-font-semibold": d(_)(a) },
|
|
37
|
+
e.class
|
|
38
|
+
]),
|
|
39
|
+
onClick: (t) => {
|
|
40
|
+
d(v)(a, e), y("tabClick", t, a, e);
|
|
41
|
+
}
|
|
42
|
+
}, [e["header-title"] ? (s(), r("span", m, u(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (s(), t(l(e.renderFn.children.header), { key: 1 })) : n("", !0)], 10, p))), 128))], 10, f));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export { h as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
labelledBy: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_template: () => {
|
|
7
|
+
__VLS_Slots: {
|
|
8
|
+
default?: (props: {}) => any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
active: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, normalizeClass as n, openBlock as r, renderSlot as i, vShow as a, withDirectives as o } from "vue";
|
|
2
|
+
// lib/UIKit/Tab/BaseTabPanel.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var s = [
|
|
4
|
+
"id",
|
|
5
|
+
"aria-labelledby",
|
|
6
|
+
"data-active"
|
|
7
|
+
], c = /*@__PURE__*/ t({
|
|
8
|
+
__name: "BaseTabPanel",
|
|
9
|
+
props: {
|
|
10
|
+
id: {},
|
|
11
|
+
active: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
labelledBy: {}
|
|
16
|
+
},
|
|
17
|
+
setup(t) {
|
|
18
|
+
return (c, l) => o((r(), e("div", {
|
|
19
|
+
id: t.id,
|
|
20
|
+
role: "tabpanel",
|
|
21
|
+
"aria-labelledby": t.labelledBy,
|
|
22
|
+
class: n(c.$attrs.class),
|
|
23
|
+
"data-active": t.active
|
|
24
|
+
}, [i(c.$slots, "default")], 10, s)), [[a, t.active]]);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export { c as default };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ClassTypeProp } from '../types';
|
|
2
|
+
export type BaseTabProps = Partial<{
|
|
3
|
+
"header-title": string;
|
|
4
|
+
class: string;
|
|
5
|
+
"active-tab-panel-idx": number;
|
|
6
|
+
"tab-panel-classes": ClassTypeProp;
|
|
7
|
+
"data-cy": string;
|
|
8
|
+
}>;
|
|
9
|
+
export type TabType = {
|
|
10
|
+
renderFn: any;
|
|
11
|
+
tabId: string;
|
|
12
|
+
} & BaseTabProps;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
16
|
+
tabsPosition?: "top" | "bottom";
|
|
17
|
+
tabViewDescription: string;
|
|
18
|
+
tabListClasses?: ClassTypeProp;
|
|
19
|
+
dataCy?: string;
|
|
20
|
+
} & {
|
|
21
|
+
/**
|
|
22
|
+
* Model value which keeps track of the active tab.
|
|
23
|
+
* By default, we will activate the first tab
|
|
24
|
+
*/
|
|
25
|
+
activeIdx?: number | undefined;
|
|
26
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
"update:activeIdx": (value: number | undefined) => any;
|
|
28
|
+
tabClicked: (args_0: {
|
|
29
|
+
tabIdx: number;
|
|
30
|
+
tabElement: TabType;
|
|
31
|
+
}) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
33
|
+
tabsPosition?: "top" | "bottom";
|
|
34
|
+
tabViewDescription: string;
|
|
35
|
+
tabListClasses?: ClassTypeProp;
|
|
36
|
+
dataCy?: string;
|
|
37
|
+
} & {
|
|
38
|
+
/**
|
|
39
|
+
* Model value which keeps track of the active tab.
|
|
40
|
+
* By default, we will activate the first tab
|
|
41
|
+
*/
|
|
42
|
+
activeIdx?: number | undefined;
|
|
43
|
+
}> & Readonly<{
|
|
44
|
+
"onUpdate:activeIdx"?: ((value: number | undefined) => any) | undefined;
|
|
45
|
+
onTabClicked?: ((args_0: {
|
|
46
|
+
tabIdx: number;
|
|
47
|
+
tabElement: TabType;
|
|
48
|
+
}) => any) | undefined;
|
|
49
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, mergeModels as s, normalizeClass as c, openBlock as l, provide as u, ref as d, renderList as f, resolveDynamicComponent as p, toDisplayString as m, unref as h, useId as g, useModel as _, useSlots as v, watch as y, withCtx as b } from "vue";
|
|
2
|
+
import x from "./BaseTabPanel.js";
|
|
3
|
+
import S from "./BaseTabList.js";
|
|
4
|
+
// lib/UIKit/Tab/BaseTabView.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var C = ["data-cy"], w = ["id"], T = /*@__PURE__*/ o({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "BaseTabView",
|
|
8
|
+
props: /*@__PURE__*/ s({
|
|
9
|
+
tabsPosition: { default: "top" },
|
|
10
|
+
tabViewDescription: {},
|
|
11
|
+
tabListClasses: {},
|
|
12
|
+
dataCy: {}
|
|
13
|
+
}, {
|
|
14
|
+
activeIdx: { default: 0 },
|
|
15
|
+
activeIdxModifiers: {}
|
|
16
|
+
}),
|
|
17
|
+
emits: /*@__PURE__*/ s(["tabClicked"], ["update:activeIdx"]),
|
|
18
|
+
setup(o, { emit: s }) {
|
|
19
|
+
let T = s, E = _(o, "activeIdx"), D = d(""), O = d(null), k = g(), A = v(), j = (e) => e.props ?? null, M = (e) => e.type.__name === "BaseTab", N = (e, t) => ({
|
|
20
|
+
renderFn: e,
|
|
21
|
+
tabId: I(t),
|
|
22
|
+
"active-tab-panel-idx": j(e)?.["active-tab-panel-idx"] ?? t,
|
|
23
|
+
"header-title": j(e)?.["header-title"] || "",
|
|
24
|
+
class: j(e)?.class || "",
|
|
25
|
+
"tab-panel-classes": j(e)?.["tab-panel-classes"] || "",
|
|
26
|
+
"data-cy": j(e)?.["data-cy"] || ""
|
|
27
|
+
}), P = t(() => A.default ? A.default().reduce((e, t) => (t.children && Array.isArray(t.children) ? t.children.forEach((t) => {
|
|
28
|
+
M(t) && e.push(N(t, e.length));
|
|
29
|
+
}) : M(t) && e.push(N(t, e.length)), e), []) : []);
|
|
30
|
+
u("tabs", P), u("isTabActive", (e) => E.value === e);
|
|
31
|
+
let F = (e = -1) => O.value === e, I = (e) => `base-tab-${e}-${k}`, L = (e = -1) => `base-tab-panel-${e}-${k}`, R = (e = -1) => {
|
|
32
|
+
let t = P.value.reduce((t, n, r) => (n["active-tab-panel-idx"] === e && t.push({
|
|
33
|
+
tab: n,
|
|
34
|
+
idx: r
|
|
35
|
+
}), t), []);
|
|
36
|
+
return t && t.length === 1 ? t[0].tab.tabId : t.find((e) => e.idx === E.value)?.tab.tabId;
|
|
37
|
+
}, z = (e) => {
|
|
38
|
+
D.value = I(e);
|
|
39
|
+
}, B = (e) => {
|
|
40
|
+
let t = P.value.at(e ?? -1);
|
|
41
|
+
O.value = t?.["active-tab-panel-idx"] ?? null;
|
|
42
|
+
};
|
|
43
|
+
u("handleClick", (e, t) => {
|
|
44
|
+
z(e), E.value = e, T("tabClicked", {
|
|
45
|
+
tabIdx: e,
|
|
46
|
+
tabElement: t
|
|
47
|
+
});
|
|
48
|
+
}), y(E, (e) => {
|
|
49
|
+
B(e ?? -1);
|
|
50
|
+
}, { immediate: !0 });
|
|
51
|
+
let V = (e, t) => {
|
|
52
|
+
for (let n = 0; n < e.length; n++) if (e[n] !== t[n]) return n;
|
|
53
|
+
return null;
|
|
54
|
+
}, H = (e = -1) => P.value.find((t) => t["active-tab-panel-idx"] === e);
|
|
55
|
+
return y(() => P.value.map((e) => e["active-tab-panel-idx"]), (e, t) => {
|
|
56
|
+
let n = V(e, t);
|
|
57
|
+
if (n === null) return;
|
|
58
|
+
let r = P.value[n]["active-tab-panel-idx"];
|
|
59
|
+
E.value === n && r !== void 0 && (O.value = r);
|
|
60
|
+
}), (t, s) => (l(), i("div", {
|
|
61
|
+
ref: "root",
|
|
62
|
+
class: c(t.$attrs.class),
|
|
63
|
+
"data-cy": o.dataCy
|
|
64
|
+
}, [
|
|
65
|
+
a("span", {
|
|
66
|
+
id: `tablist-${h(k)}`,
|
|
67
|
+
class: "uikit-sr-only"
|
|
68
|
+
}, m(o.tabViewDescription), 9, w),
|
|
69
|
+
o.tabsPosition === "top" ? (l(), n(S, {
|
|
70
|
+
key: 0,
|
|
71
|
+
uid: h(k),
|
|
72
|
+
"tab-list-classes": o.tabListClasses,
|
|
73
|
+
"data-cy": o.dataCy ? `${o.dataCy}-tab-list` : ""
|
|
74
|
+
}, null, 8, [
|
|
75
|
+
"uid",
|
|
76
|
+
"tab-list-classes",
|
|
77
|
+
"data-cy"
|
|
78
|
+
])) : r("", !0),
|
|
79
|
+
(l(!0), i(e, null, f(P.value, (t, a) => (l(), i(e, { key: a }, [H(a) ? (l(), n(x, {
|
|
80
|
+
key: 0,
|
|
81
|
+
id: L(t["active-tab-panel-idx"]),
|
|
82
|
+
"labelled-by": R(a) ?? "",
|
|
83
|
+
active: F(a),
|
|
84
|
+
class: c(t["tab-panel-classes"])
|
|
85
|
+
}, {
|
|
86
|
+
default: b(() => [t.renderFn.children && t.renderFn.children.default ? (l(), n(p(t.renderFn.children.default), { key: 0 })) : r("", !0)]),
|
|
87
|
+
_: 2
|
|
88
|
+
}, 1032, [
|
|
89
|
+
"id",
|
|
90
|
+
"labelled-by",
|
|
91
|
+
"active",
|
|
92
|
+
"class"
|
|
93
|
+
])) : r("", !0)], 64))), 128)),
|
|
94
|
+
o.tabsPosition === "bottom" ? (l(), n(S, {
|
|
95
|
+
key: 1,
|
|
96
|
+
uid: h(k),
|
|
97
|
+
"tab-list-classes": o.tabListClasses,
|
|
98
|
+
"data-cy": o.dataCy ? `${o.dataCy}-tab-list` : ""
|
|
99
|
+
}, null, 8, [
|
|
100
|
+
"uid",
|
|
101
|
+
"tab-list-classes",
|
|
102
|
+
"data-cy"
|
|
103
|
+
])) : r("", !0)
|
|
104
|
+
], 10, C));
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
export { T as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TabsRootProps } from 'reka-ui';
|
|
2
|
+
export interface BaseTabsProps<T extends string | number> extends TabsRootProps<T> {
|
|
3
|
+
dataCy?: string;
|
|
4
|
+
/**
|
|
5
|
+
* When `true`, inactive panels are unmounted; when `false`, they stay
|
|
6
|
+
* mounted (hidden) and keep their state. The default is `false` here,
|
|
7
|
+
* unlike reka-ui's `true`.
|
|
8
|
+
*/
|
|
9
|
+
unmountOnHide?: TabsRootProps<T>["unmountOnHide"];
|
|
10
|
+
}
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
14
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<BaseTabsProps<T> & {
|
|
15
|
+
"onUpdate:modelValue"?: ((payload: T) => any) | undefined;
|
|
16
|
+
onMounted?: (() => any) | undefined;
|
|
17
|
+
}> & (typeof globalThis extends {
|
|
18
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
19
|
+
} ? P : {});
|
|
20
|
+
expose: (exposed: {}) => void;
|
|
21
|
+
attrs: any;
|
|
22
|
+
slots: {
|
|
23
|
+
default?: (props: {
|
|
24
|
+
modelValue: T;
|
|
25
|
+
}) => any;
|
|
26
|
+
};
|
|
27
|
+
emit: ((evt: "update:modelValue", payload: T) => void) & ((evt: "mounted") => void);
|
|
28
|
+
}>) => import('vue').VNode & {
|
|
29
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
30
|
+
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createBlock as e, createPropsRestProxy as t, defineComponent as n, mergeProps as r, onMounted as i, openBlock as a, provide as o, renderSlot as s, shallowRef as c, unref as l, withCtx as u } from "vue";
|
|
2
|
+
import { TabsRoot as d } from "reka-ui";
|
|
3
|
+
import '../../../css/BaseTabs.css';// lib/UIKit/Tab/v2/BaseTabs.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var f = /*@__PURE__*/ n({
|
|
5
|
+
__name: "BaseTabs",
|
|
6
|
+
props: {
|
|
7
|
+
dataCy: {},
|
|
8
|
+
unmountOnHide: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: !1
|
|
11
|
+
},
|
|
12
|
+
defaultValue: {},
|
|
13
|
+
orientation: {},
|
|
14
|
+
dir: {},
|
|
15
|
+
activationMode: {},
|
|
16
|
+
modelValue: {},
|
|
17
|
+
asChild: { type: Boolean },
|
|
18
|
+
as: { type: [
|
|
19
|
+
String,
|
|
20
|
+
Object,
|
|
21
|
+
Function
|
|
22
|
+
] }
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:modelValue", "mounted"],
|
|
25
|
+
setup(n, { emit: f }) {
|
|
26
|
+
let p = t(n, ["dataCy", "unmountOnHide"]), m = f, h = c(!1);
|
|
27
|
+
return o("indicatorMounted", h), o("setIndicatorMounted", () => {
|
|
28
|
+
h.value = !0;
|
|
29
|
+
}), i(() => {
|
|
30
|
+
m("mounted");
|
|
31
|
+
}), (t, i) => (a(), e(l(d), r(p, {
|
|
32
|
+
"unmount-on-hide": n.unmountOnHide,
|
|
33
|
+
"data-cy": n.dataCy,
|
|
34
|
+
class: "uikit-base-tabs",
|
|
35
|
+
"onUpdate:modelValue": i[0] ||= (e) => m("update:modelValue", e)
|
|
36
|
+
}), {
|
|
37
|
+
default: u(({ modelValue: e }) => [s(t.$slots, "default", { modelValue: e })]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 16, ["unmount-on-hide", "data-cy"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export { f as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TabsContentProps } from 'reka-ui';
|
|
2
|
+
export interface BaseTabsContentProps extends TabsContentProps {
|
|
3
|
+
dataCy?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BaseTabsContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTabsContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
8
|
+
default?: (props: {}) => any;
|
|
9
|
+
}>;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createBlock as e, createPropsRestProxy as t, defineComponent as n, mergeProps as r, openBlock as i, renderSlot as a, unref as o, withCtx as s } from "vue";
|
|
2
|
+
import { TabsContent as c } from "reka-ui";
|
|
3
|
+
// lib/UIKit/Tab/v2/BaseTabsContent.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var l = /*@__PURE__*/ n({
|
|
5
|
+
__name: "BaseTabsContent",
|
|
6
|
+
props: {
|
|
7
|
+
dataCy: {},
|
|
8
|
+
value: {},
|
|
9
|
+
forceMount: { type: Boolean },
|
|
10
|
+
asChild: { type: Boolean },
|
|
11
|
+
as: { type: [
|
|
12
|
+
String,
|
|
13
|
+
Object,
|
|
14
|
+
Function
|
|
15
|
+
] }
|
|
16
|
+
},
|
|
17
|
+
setup(n) {
|
|
18
|
+
let l = t(n, ["dataCy"]);
|
|
19
|
+
return (t, u) => (i(), e(o(c), r({ "data-cy": n.dataCy }, l), {
|
|
20
|
+
default: s(() => [a(t.$slots, "default")]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 16, ["data-cy"]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export { l as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TabsIndicatorProps } from 'reka-ui';
|
|
2
|
+
export interface BaseTabsIndicatorProps extends TabsIndicatorProps {
|
|
3
|
+
dataCy?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BaseTabsIndicatorProps, {
|
|
8
|
+
updateIndicatorStyle: () => void | undefined;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTabsIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
10
|
+
default?: (props: {}) => any;
|
|
11
|
+
}>;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createBlock as e, createElementVNode as t, createPropsRestProxy as n, defineComponent as r, inject as i, mergeProps as a, onMounted as o, openBlock as s, renderSlot as c, unref as l, useTemplateRef as u, withCtx as d } from "vue";
|
|
2
|
+
import { TabsIndicator as f } from "reka-ui";
|
|
3
|
+
import '../../../css/BaseTabsIndicator.css';// lib/UIKit/Tab/v2/BaseTabsIndicator.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var p = /*@__PURE__*/ r({
|
|
5
|
+
__name: "BaseTabsIndicator",
|
|
6
|
+
props: {
|
|
7
|
+
dataCy: {},
|
|
8
|
+
asChild: { type: Boolean },
|
|
9
|
+
as: { type: [
|
|
10
|
+
String,
|
|
11
|
+
Object,
|
|
12
|
+
Function
|
|
13
|
+
] }
|
|
14
|
+
},
|
|
15
|
+
setup(r, { expose: p }) {
|
|
16
|
+
let m = n(r, ["dataCy"]), h = i("setIndicatorMounted", void 0), g = u("tabIndicatorRef");
|
|
17
|
+
return o(() => {
|
|
18
|
+
h?.();
|
|
19
|
+
}), p({ updateIndicatorStyle: () => g.value?.updateIndicatorStyle?.() }), (n, i) => (s(), e(l(f), a({ ref: "tabIndicatorRef" }, m, {
|
|
20
|
+
"data-cy": r.dataCy,
|
|
21
|
+
class: "uikit-base-tabs-indicator uikit-absolute uikit-bottom-[var(--indicator-bottom,0)] uikit-left-0 uikit-z-[1] uikit-h-[2px] uikit-w-[--reka-tabs-indicator-size] uikit-translate-x-[--reka-tabs-indicator-position] uikit-translate-y-[1px] uikit-transition-[width,transform] uikit-duration-300"
|
|
22
|
+
}), {
|
|
23
|
+
default: d(() => [c(n.$slots, "default", {}, () => [i[0] ||= t("div", { class: "uikit-base-tabs-indicator-element uikit-h-full uikit-w-full" }, null, -1)])]),
|
|
24
|
+
_: 3
|
|
25
|
+
}, 16, ["data-cy"]));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export { p as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TabsListProps } from 'reka-ui';
|
|
2
|
+
export interface BaseTabsListProps extends TabsListProps {
|
|
3
|
+
dataCy?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BaseTabsListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseTabsListProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
8
|
+
default?: (props: {}) => any;
|
|
9
|
+
}>;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createBlock as e, createPropsRestProxy as t, defineComponent as n, mergeProps as r, openBlock as i, renderSlot as a, unref as o, withCtx as s } from "vue";
|
|
2
|
+
import { TabsList as c } from "reka-ui";
|
|
3
|
+
// lib/UIKit/Tab/v2/BaseTabsList.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var l = /*@__PURE__*/ n({
|
|
5
|
+
__name: "BaseTabsList",
|
|
6
|
+
props: {
|
|
7
|
+
dataCy: {},
|
|
8
|
+
loop: { type: Boolean },
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: { type: [
|
|
11
|
+
String,
|
|
12
|
+
Object,
|
|
13
|
+
Function
|
|
14
|
+
] }
|
|
15
|
+
},
|
|
16
|
+
setup(n) {
|
|
17
|
+
let l = t(n, ["dataCy"]);
|
|
18
|
+
return (t, u) => (i(), e(o(c), r({ "data-cy": n.dataCy }, l, { class: "uikit-relative" }), {
|
|
19
|
+
default: s(() => [a(t.$slots, "default")]),
|
|
20
|
+
_: 3
|
|
21
|
+
}, 16, ["data-cy"]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export { l as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TabsTriggerProps } from 'reka-ui';
|
|
2
|
+
export interface BaseTabsTriggerProps<T extends string | number> extends Omit<TabsTriggerProps, "value"> {
|
|
3
|
+
dataCy?: string;
|
|
4
|
+
value: T;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<BaseTabsTriggerProps<T>> & (typeof globalThis extends {
|
|
10
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
11
|
+
} ? P : {});
|
|
12
|
+
expose: (exposed: {}) => void;
|
|
13
|
+
attrs: any;
|
|
14
|
+
slots: {
|
|
15
|
+
default?: (props: {}) => any;
|
|
16
|
+
};
|
|
17
|
+
emit: {};
|
|
18
|
+
}>) => import('vue').VNode & {
|
|
19
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} : {
|
|
24
|
+
[K in keyof T as K]: T[K];
|
|
25
|
+
}) & {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createBlock as e, createPropsRestProxy as t, defineComponent as n, inject as r, mergeProps as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
2
|
+
import { TabsTrigger as l } from "reka-ui";
|
|
3
|
+
// lib/UIKit/Tab/v2/BaseTabsTrigger.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var u = /*@__PURE__*/ n({
|
|
5
|
+
__name: "BaseTabsTrigger",
|
|
6
|
+
props: {
|
|
7
|
+
dataCy: {},
|
|
8
|
+
value: {},
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
asChild: { type: Boolean },
|
|
11
|
+
as: { type: [
|
|
12
|
+
String,
|
|
13
|
+
Object,
|
|
14
|
+
Function
|
|
15
|
+
] }
|
|
16
|
+
},
|
|
17
|
+
setup(n) {
|
|
18
|
+
let u = t(n, ["dataCy"]), d = r("indicatorMounted", void 0);
|
|
19
|
+
return (t, r) => (a(), e(s(l), i({ "data-cy": n.dataCy }, u, { class: ["uikit-relative uikit-bg-white uikit-p-[4px] uikit-text-16 data-[state=active]:uikit-font-semibold", { "data-[state=active]:after:uikit-absolute data-[state=active]:after:uikit-bottom-[var(--indicator-bottom,0)] data-[state=active]:after:uikit-left-0 data-[state=active]:after:uikit-z-[1] data-[state=active]:after:uikit-block data-[state=active]:after:uikit-h-[2px] data-[state=active]:after:uikit-w-full data-[state=active]:after:uikit-translate-y-[1px] data-[state=active]:after:uikit-rounded-b-[var(--indicator-border-radius-bottom)] data-[state=active]:after:uikit-rounded-t-[var(--indicator-border-radius-top)] data-[state=active]:after:uikit-bg-w-primary data-[state=active]:after:uikit-content-['']": !s(d) }] }), {
|
|
20
|
+
default: c(() => [o(t.$slots, "default")]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 16, ["data-cy", "class"]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export { u as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs a callback once the browser has painted the next frame:
|
|
3
|
+
* `requestAnimationFrame` fires *before* that paint, the nested task after it.
|
|
4
|
+
*
|
|
5
|
+
* Used for work an interaction triggers that the user cannot perceive in the
|
|
6
|
+
* paint they are waiting on. Two rules come with it:
|
|
7
|
+
*
|
|
8
|
+
* - It no-ops without `requestAnimationFrame`, and rAF does not fire in a hidden
|
|
9
|
+
* document at all - so nothing that must survive an unload belongs here.
|
|
10
|
+
* - It defers the *work*, not the reason for it: a caller whose state may have
|
|
11
|
+
* changed again by the time the frame arrives has to re-check it inside the
|
|
12
|
+
* callback.
|
|
13
|
+
*/
|
|
14
|
+
export declare const afterPaint: (cb: () => void) => void;
|