@wikicasa-dev/components 3.0.0-alpha.0 → 3.0.0-alpha.3
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 +45 -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,161 @@
|
|
|
1
|
+
import { Teleport as e, Transition as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, mergeModels as c, normalizeClass as l, onUnmounted as u, openBlock as d, renderSlot as f, shallowRef as p, unref as m, useModel as h, useTemplateRef as g, vShow as _, withCtx as v, withDirectives as y, withModifiers as b } from "vue";
|
|
2
|
+
import { CloseIcon as x } from "@wikicasa-dev/svg-icons";
|
|
3
|
+
import { afterPaint as S } from "./frameUtils.js";
|
|
4
|
+
import { useScrollLock as C } from "./useScrollLock.js";
|
|
5
|
+
import '../css/BaseModal.css';// lib/UIKit/BaseModal.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var w = [
|
|
7
|
+
"id",
|
|
8
|
+
"data-cy",
|
|
9
|
+
"data-state"
|
|
10
|
+
], T = ["innerHTML"], E = /*@__PURE__*/ s({
|
|
11
|
+
__name: "BaseModal",
|
|
12
|
+
props: /*@__PURE__*/ c({
|
|
13
|
+
id: { default: "base-bt-modal" },
|
|
14
|
+
size: { default: "modal-md" },
|
|
15
|
+
customBackdropClasses: {},
|
|
16
|
+
customModalDialogClasses: {},
|
|
17
|
+
customModalHeaderClasses: {},
|
|
18
|
+
customModalBodyClasses: {},
|
|
19
|
+
customModalFooterClasses: {},
|
|
20
|
+
closeIcon: {},
|
|
21
|
+
withCloseIcon: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !0
|
|
24
|
+
},
|
|
25
|
+
headerTitle: { default: "" },
|
|
26
|
+
autoClose: {},
|
|
27
|
+
fullHeight: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
},
|
|
31
|
+
closeOnClickOut: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !0
|
|
34
|
+
},
|
|
35
|
+
centered: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: !1
|
|
38
|
+
},
|
|
39
|
+
dataCy: {},
|
|
40
|
+
closeIconBtnClasses: {},
|
|
41
|
+
titleClasses: {}
|
|
42
|
+
}, {
|
|
43
|
+
showModal: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: !0
|
|
46
|
+
},
|
|
47
|
+
showModalModifiers: {}
|
|
48
|
+
}),
|
|
49
|
+
emits: /*@__PURE__*/ c([
|
|
50
|
+
"closed",
|
|
51
|
+
"opened",
|
|
52
|
+
"dialogClick"
|
|
53
|
+
], ["update:showModal"]),
|
|
54
|
+
setup(s, { emit: c }) {
|
|
55
|
+
let E = c, D = h(s, "showModal"), O = D.value, { lock: k, unlock: A } = C(), j = g("backdrop"), M = g("modalDialog"), N = p(!1), P = p(!1), F = ({ key: e }) => {
|
|
56
|
+
e === "Escape" && H();
|
|
57
|
+
}, I = () => {
|
|
58
|
+
document?.body.addEventListener("keydown", F);
|
|
59
|
+
}, L = () => {
|
|
60
|
+
document?.body.removeEventListener("keydown", F);
|
|
61
|
+
}, R = () => {
|
|
62
|
+
P.value ||= (I(), S(() => {
|
|
63
|
+
D.value && k();
|
|
64
|
+
}), !0);
|
|
65
|
+
}, z = () => {
|
|
66
|
+
E("opened"), s.autoClose !== void 0 && setTimeout(() => {
|
|
67
|
+
H();
|
|
68
|
+
}, s.autoClose);
|
|
69
|
+
}, B = () => {
|
|
70
|
+
S(() => {
|
|
71
|
+
D.value || A();
|
|
72
|
+
});
|
|
73
|
+
}, V = () => {
|
|
74
|
+
L(), P.value = !1, E("closed");
|
|
75
|
+
}, H = () => {
|
|
76
|
+
D.value = !1;
|
|
77
|
+
}, U = (e) => {
|
|
78
|
+
M.value && M.value.contains(e.target) && (N.value = !0);
|
|
79
|
+
}, W = (e) => {
|
|
80
|
+
M.value && M.value.contains(e.target) && (N.value = !1);
|
|
81
|
+
}, G = async (e) => {
|
|
82
|
+
e.target !== j.value && j.value?.contains(e.target) || s.closeOnClickOut && (N.value ? N.value = !1 : H());
|
|
83
|
+
};
|
|
84
|
+
u(() => {
|
|
85
|
+
L(), A();
|
|
86
|
+
});
|
|
87
|
+
let K = (e) => {
|
|
88
|
+
M.value === e.target && e.stopPropagation();
|
|
89
|
+
};
|
|
90
|
+
return (c, u) => (d(), n(e, { to: "body" }, [o(t, {
|
|
91
|
+
appear: m(O),
|
|
92
|
+
name: "modal-transition",
|
|
93
|
+
duration: {
|
|
94
|
+
enter: 250,
|
|
95
|
+
leave: 250
|
|
96
|
+
},
|
|
97
|
+
onBeforeEnter: R,
|
|
98
|
+
onAfterEnter: z,
|
|
99
|
+
onLeave: B,
|
|
100
|
+
onAfterLeave: V,
|
|
101
|
+
persisted: ""
|
|
102
|
+
}, {
|
|
103
|
+
default: v(() => [y(a("div", {
|
|
104
|
+
ref: "backdrop",
|
|
105
|
+
class: l(["bbt-backdrop uikit-fixed uikit-left-0 uikit-top-0 uikit-z-50 uikit-h-full uikit-w-full", [
|
|
106
|
+
s.customBackdropClasses,
|
|
107
|
+
{ "uikit-bg-w-secondary/70": D.value },
|
|
108
|
+
{ "uikit-bg-transparent": !D.value },
|
|
109
|
+
{ "sm:uikit-pt-[30px]": !s.centered }
|
|
110
|
+
]]),
|
|
111
|
+
onClick: G,
|
|
112
|
+
onMousedown: U,
|
|
113
|
+
onMouseup: W
|
|
114
|
+
}, [a("dialog", {
|
|
115
|
+
id: s.id,
|
|
116
|
+
ref: "modalDialog",
|
|
117
|
+
"data-cy": s.dataCy,
|
|
118
|
+
class: l(["uikit-modal-dialog uikit-mx-auto uikit-block uikit-w-full uikit-overflow-y-auto uikit-overflow-x-hidden uikit-rounded uikit-border-none uikit-bg-transparent uikit-bg-white uikit-p-0 uikit-shadow-lg uikit-no-scrollbar uikit-safe-bottom max-sm:uikit-fixed max-sm:uikit-bottom-0 max-sm:uikit-max-h-[95%] max-sm:uikit-rounded-bl-none max-sm:uikit-rounded-br-none sm:uikit-h-auto", [
|
|
119
|
+
s.customModalDialogClasses,
|
|
120
|
+
{ "centered sm:uikit-absolute sm:uikit-top-1/2 sm:-uikit-translate-y-1/2": s.centered },
|
|
121
|
+
{ "uikit-static": !s.centered },
|
|
122
|
+
`base-${s.size}`,
|
|
123
|
+
s.fullHeight ? "uikit-h-[95%]" : "uikit-h-auto"
|
|
124
|
+
]]),
|
|
125
|
+
tabindex: "-1",
|
|
126
|
+
"data-state": D.value ? "open" : "closed",
|
|
127
|
+
onClick: u[1] ||= (e) => E("dialogClick", e),
|
|
128
|
+
onFocusin: K
|
|
129
|
+
}, [
|
|
130
|
+
a("div", { class: l(["default-header uikit-sticky uikit-top-0 uikit-z-10 uikit-rounded-t uikit-border-0 uikit-bg-white uikit-px-4 uikit-pb-10px uikit-pt-20px sm:uikit-px-6", [s.customModalHeaderClasses]]) }, [s.withCloseIcon ? (d(), i("button", {
|
|
131
|
+
key: 0,
|
|
132
|
+
id: "close-icon-btn",
|
|
133
|
+
"data-cy": "bbt-default-close-icon-btn",
|
|
134
|
+
class: l(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent uikit-p-5px", s.closeIconBtnClasses]),
|
|
135
|
+
type: "button",
|
|
136
|
+
"aria-label": "Close",
|
|
137
|
+
onClick: u[0] ||= b((e) => D.value = !1, ["prevent", "stop"])
|
|
138
|
+
}, [o(m(x), {
|
|
139
|
+
class: l(["bbt-close-icon uikit-box-border", s.closeIcon?.classes]),
|
|
140
|
+
width: s.closeIcon?.size || 20,
|
|
141
|
+
height: s.closeIcon?.size || 20
|
|
142
|
+
}, null, 8, [
|
|
143
|
+
"class",
|
|
144
|
+
"width",
|
|
145
|
+
"height"
|
|
146
|
+
])], 2)) : r("", !0), f(c.$slots, "header", { closeModal: H }, () => [a("span", {
|
|
147
|
+
class: l(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", s.titleClasses]),
|
|
148
|
+
innerHTML: s.headerTitle
|
|
149
|
+
}, null, 10, T)])], 2),
|
|
150
|
+
a("div", { class: l(["uikit-bbt-body uikit-flex-auto uikit-overflow-y-auto uikit-overflow-x-hidden uikit-px-4 uikit-pb-0 uikit-no-scrollbar sm:uikit-px-6 sm:uikit-pb-25px", [s.customModalBodyClasses]]) }, [f(c.$slots, "body", { closeModal: H })], 2),
|
|
151
|
+
c.$slots.footer ? (d(), i("div", {
|
|
152
|
+
key: 0,
|
|
153
|
+
class: l(["uikit-bbt-footer uikit-sticky uikit-bottom-0 uikit-border-0 uikit-bg-white uikit-px-4 uikit-py-15px sm:uikit-px-6", s.customModalFooterClasses])
|
|
154
|
+
}, [f(c.$slots, "footer", { closeModal: H })], 2)) : r("", !0),
|
|
155
|
+
f(c.$slots, "fixed-bottom")
|
|
156
|
+
], 42, w)], 34), [[_, D.value]])]),
|
|
157
|
+
_: 3
|
|
158
|
+
}, 8, ["appear"])]));
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
export { E as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Optional } from '@wikicasa-dev/types';
|
|
1
|
+
import { Nullable, Optional } from '@wikicasa-dev/types';
|
|
2
|
+
import { Component } from 'vue';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
count?: number;
|
|
4
5
|
limit?: number;
|
|
@@ -10,13 +11,20 @@ type __VLS_Props = {
|
|
|
10
11
|
nextLabel?: string;
|
|
11
12
|
prevDataCy?: string;
|
|
12
13
|
nextDataCy?: string;
|
|
14
|
+
linkProps?: Record<string, unknown>;
|
|
15
|
+
linkTag?: Component | "a";
|
|
16
|
+
baseUrl?: string;
|
|
17
|
+
pageQueryParameter?: string;
|
|
18
|
+
formatter?: (value?: Nullable<number>) => string;
|
|
13
19
|
};
|
|
14
|
-
type
|
|
20
|
+
type __VLS_ModelProps = {
|
|
15
21
|
"pageNumber"?: Optional<number>;
|
|
16
|
-
}
|
|
17
|
-
|
|
22
|
+
};
|
|
23
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
24
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
25
|
"update:pageNumber": (value: Optional<number>) => any;
|
|
19
26
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
27
|
"onUpdate:pageNumber"?: ((value: Optional<number>) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
22
30
|
export default _default;
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, openBlock as d, renderList as f, resolveDynamicComponent as p, toDisplayString as m, unref as h, useModel as g, withCtx as _ } from "vue";
|
|
2
|
+
import { ArrowIcon as v } from "@wikicasa-dev/svg-icons";
|
|
3
|
+
// lib/UIKit/BasePagination.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var y = {
|
|
5
|
+
"aria-label": "Page navigation",
|
|
6
|
+
class: "uikit-overflow-auto"
|
|
7
|
+
}, b = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "uikit-text-14 uikit-m-0 uikit-flex uikit-list-none uikit-content-center uikit-gap-4 uikit-p-0 uikit-pl-0 uikit-font-semibold sm:uikit-gap-5"
|
|
10
|
+
}, x = ["data-cy"], S = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "uikit-mx-10px uikit-select-none"
|
|
13
|
+
}, C = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "font-weight-bold uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
16
|
+
}, w = ["onClick"], T = ["onClick"], E = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
19
|
+
}, D = ["data-cy"], O = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "uikit-mx-10px uikit-select-none"
|
|
22
|
+
}, k = /*@__PURE__*/ c({
|
|
23
|
+
__name: "BasePagination",
|
|
24
|
+
props: /*@__PURE__*/ l({
|
|
25
|
+
count: { default: 0 },
|
|
26
|
+
limit: { default: 25 },
|
|
27
|
+
siblings: { default: 3 },
|
|
28
|
+
additionalCount: { default: 0 },
|
|
29
|
+
arrowColor: { default: "#2B5DFF" },
|
|
30
|
+
small: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
prevLabel: { default: "" },
|
|
35
|
+
nextLabel: { default: "" },
|
|
36
|
+
prevDataCy: {},
|
|
37
|
+
nextDataCy: {},
|
|
38
|
+
linkProps: {},
|
|
39
|
+
linkTag: {
|
|
40
|
+
type: [
|
|
41
|
+
Object,
|
|
42
|
+
Function,
|
|
43
|
+
String
|
|
44
|
+
],
|
|
45
|
+
default: "a"
|
|
46
|
+
},
|
|
47
|
+
baseUrl: {},
|
|
48
|
+
pageQueryParameter: { default: "p" },
|
|
49
|
+
formatter: { type: Function }
|
|
50
|
+
}, {
|
|
51
|
+
pageNumber: { default: 1 },
|
|
52
|
+
pageNumberModifiers: {}
|
|
53
|
+
}),
|
|
54
|
+
emits: ["update:pageNumber"],
|
|
55
|
+
setup(c) {
|
|
56
|
+
let l = g(c, "pageNumber"), k = t(() => (l.value || 1) + 1), A = t(() => (l.value || 1) - 1), j = t(() => c.baseUrl ? c.linkTag : "span"), M = t(() => Math.ceil((c.count + c.additionalCount) / c.limit)), N = (e = 1) => e < 1, P = (e = 1) => e === M.value, F = t(() => (l.value || 0) > c.siblings + 2), I = t(() => (l.value || 0) < M.value - c.siblings - 1), L = t(() => {
|
|
57
|
+
let e = l.value || 0, t = 0;
|
|
58
|
+
for (let n = e; n > 2 && t < c.siblings; n--) t++;
|
|
59
|
+
return t;
|
|
60
|
+
}), R = t(() => {
|
|
61
|
+
let e = l.value || 0, t = 0;
|
|
62
|
+
for (let n = e; n < M.value - 1 && t < c.siblings; n++) t++;
|
|
63
|
+
return t;
|
|
64
|
+
}), z = t(() => {
|
|
65
|
+
let e = L.value + Math.abs(R.value - c.siblings) + (/* @__PURE__ */ new Number(!I.value)).valueOf() + (/* @__PURE__ */ new Number(l.value === M.value)).valueOf(), t = Math.max((l.value || 0) - e, 2), n = [];
|
|
66
|
+
for (; t < (l.value || 0); t++) n.push(t);
|
|
67
|
+
return n;
|
|
68
|
+
}), B = t(() => {
|
|
69
|
+
let e = R.value + Math.abs(L.value - c.siblings) + (/* @__PURE__ */ new Number(!F.value)).valueOf() + (/* @__PURE__ */ new Number(l.value === 1)).valueOf(), t = Math.min(l.value || 0, M.value - 1), n = [];
|
|
70
|
+
for (; t < Math.min((l.value || 0) + e, M.value - 1); t++) n.push(t + 1);
|
|
71
|
+
return n;
|
|
72
|
+
}), V = (e) => {
|
|
73
|
+
e < 1 || e > M.value || setTimeout(() => {
|
|
74
|
+
l.value = e;
|
|
75
|
+
});
|
|
76
|
+
}, H = (e = 1) => {
|
|
77
|
+
if (c.baseUrl) try {
|
|
78
|
+
let t = new URL(c.baseUrl);
|
|
79
|
+
return e <= 1 ? (t.searchParams.delete(c.pageQueryParameter), `${t.pathname}${t.search}${t.hash}`) : (t.searchParams.set(c.pageQueryParameter, `${e}`), `${t.pathname}${t.search}${t.hash}`);
|
|
80
|
+
} catch (e) {
|
|
81
|
+
console.error(e);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
}, U = (e, t = !1) => t ? void 0 : H(e), W = (e = !1) => e || !c.baseUrl ? void 0 : c.linkProps;
|
|
85
|
+
return (t, g) => (d(), i("nav", y, [c.count > 0 ? (d(), i("ul", b, [
|
|
86
|
+
a("li", {
|
|
87
|
+
"data-cy": c.prevDataCy,
|
|
88
|
+
onClick: g[0] ||= (e) => V(A.value)
|
|
89
|
+
}, [(d(), n(p(N(A.value) ? "span" : j.value), u({
|
|
90
|
+
href: U(A.value, N(A.value)),
|
|
91
|
+
to: U(A.value, N(A.value)),
|
|
92
|
+
class: ["arrow-button prev-page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px", {
|
|
93
|
+
"uikit-cursor-pointer active:max-sm:uikit-bg-w-primary hover:sm:uikit-bg-w-primary [&_svg]:active:max-sm:uikit-brightness-0 [&_svg]:active:max-sm:uikit-invert [&_svg]:hover:sm:uikit-brightness-0 [&_svg]:hover:sm:uikit-invert": l.value !== 1,
|
|
94
|
+
"active:max-sm:uikit-text-white hover:sm:uikit-text-white": c.small && l.value !== 1,
|
|
95
|
+
"uikit-rounded-xs": c.small && c.prevLabel
|
|
96
|
+
}]
|
|
97
|
+
}, W(N(A.value))), {
|
|
98
|
+
default: _(() => [s(h(v), {
|
|
99
|
+
width: 20,
|
|
100
|
+
height: 11,
|
|
101
|
+
"stroke-color": l.value === 1 ? "#8996A9" : c.arrowColor,
|
|
102
|
+
class: "uikit-inline-block uikit-rotate-90"
|
|
103
|
+
}, null, 8, ["stroke-color"]), c.small && c.prevLabel ? (d(), i("span", S, m(c.prevLabel), 1)) : r("", !0)]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 16, [
|
|
106
|
+
"href",
|
|
107
|
+
"to",
|
|
108
|
+
"class"
|
|
109
|
+
]))], 8, x),
|
|
110
|
+
c.small ? r("", !0) : (d(), i(e, { key: 0 }, [
|
|
111
|
+
(l.value || 0) > 1 ? (d(), i("li", {
|
|
112
|
+
key: 0,
|
|
113
|
+
onClick: g[1] ||= (e) => V(1)
|
|
114
|
+
}, [(d(), n(p(j.value), u({
|
|
115
|
+
href: H(1),
|
|
116
|
+
to: H(1),
|
|
117
|
+
class: "page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
118
|
+
}, W()), {
|
|
119
|
+
default: _(() => [...g[4] ||= [o(" 1 ", -1)]]),
|
|
120
|
+
_: 1
|
|
121
|
+
}, 16, ["href", "to"]))])) : r("", !0),
|
|
122
|
+
F.value ? (d(), i("li", C, " ... ")) : r("", !0),
|
|
123
|
+
(d(!0), i(e, null, f(z.value, (e) => (d(), i("li", {
|
|
124
|
+
key: e,
|
|
125
|
+
onClick: (t) => V(e)
|
|
126
|
+
}, [(d(), n(p(j.value), u({
|
|
127
|
+
href: H(e),
|
|
128
|
+
to: H(e),
|
|
129
|
+
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
130
|
+
}, { ref_for: !0 }, W()), {
|
|
131
|
+
default: _(() => [o(m(c.formatter ? c.formatter(e) : e), 1)]),
|
|
132
|
+
_: 2
|
|
133
|
+
}, 1040, ["href", "to"]))], 8, w))), 128))
|
|
134
|
+
], 64)),
|
|
135
|
+
a("li", null, [(d(), n(p(j.value), u({
|
|
136
|
+
href: H(l.value),
|
|
137
|
+
to: H(l.value),
|
|
138
|
+
class: ["selected uikit-pointer-events-none uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline", { "uikit-bg-w-primary uikit-text-white hover:uikit-bg-w-primary hover:uikit-text-white": !c.small }]
|
|
139
|
+
}, W()), {
|
|
140
|
+
default: _(() => [o(m(c.formatter ? c.formatter(l.value) : l.value), 1)]),
|
|
141
|
+
_: 1
|
|
142
|
+
}, 16, [
|
|
143
|
+
"href",
|
|
144
|
+
"to",
|
|
145
|
+
"class"
|
|
146
|
+
]))]),
|
|
147
|
+
c.small ? r("", !0) : (d(), i(e, { key: 1 }, [
|
|
148
|
+
(d(!0), i(e, null, f(B.value, (e) => (d(), i("li", {
|
|
149
|
+
key: e,
|
|
150
|
+
onClick: (t) => V(e)
|
|
151
|
+
}, [(d(), n(p(j.value), u({
|
|
152
|
+
href: H(e),
|
|
153
|
+
to: H(e),
|
|
154
|
+
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-text-w-black uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
155
|
+
}, { ref_for: !0 }, W()), {
|
|
156
|
+
default: _(() => [o(m(c.formatter ? c.formatter(e) : e), 1)]),
|
|
157
|
+
_: 2
|
|
158
|
+
}, 1040, ["href", "to"]))], 8, T))), 128)),
|
|
159
|
+
I.value ? (d(), i("li", E, " ... ")) : r("", !0),
|
|
160
|
+
(l.value || 0) < M.value ? (d(), i("li", {
|
|
161
|
+
key: 1,
|
|
162
|
+
onClick: g[2] ||= (e) => V(M.value)
|
|
163
|
+
}, [(d(), n(p(j.value), u({
|
|
164
|
+
href: H(M.value),
|
|
165
|
+
to: H(M.value),
|
|
166
|
+
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
167
|
+
}, W()), {
|
|
168
|
+
default: _(() => [o(m(c.formatter ? c.formatter(M.value) : M.value), 1)]),
|
|
169
|
+
_: 1
|
|
170
|
+
}, 16, ["href", "to"]))])) : r("", !0)
|
|
171
|
+
], 64)),
|
|
172
|
+
a("li", {
|
|
173
|
+
"data-cy": c.nextDataCy,
|
|
174
|
+
onClick: g[3] ||= (e) => V(k.value)
|
|
175
|
+
}, [(d(), n(p(P(l.value) ? "span" : j.value), u({
|
|
176
|
+
href: U(k.value, P(l.value)),
|
|
177
|
+
to: U(k.value, P(l.value)),
|
|
178
|
+
class: ["arrow-button next-page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px", {
|
|
179
|
+
"uikit-cursor-pointer active:max-sm:uikit-bg-w-primary hover:sm:uikit-bg-w-primary [&_svg]:active:max-sm:uikit-brightness-0 [&_svg]:active:max-sm:uikit-invert [&_svg]:hover:sm:uikit-brightness-0 [&_svg]:hover:sm:uikit-invert": (l.value || 0) < M.value,
|
|
180
|
+
"active:max-sm:uikit-text-white hover:sm:uikit-text-white": c.small && (l.value || 0) < M.value,
|
|
181
|
+
"uikit-rounded-xs": c.small && c.nextLabel
|
|
182
|
+
}]
|
|
183
|
+
}, W(P(l.value))), {
|
|
184
|
+
default: _(() => [c.small && c.nextLabel ? (d(), i("span", O, m(c.nextLabel), 1)) : r("", !0), s(h(v), {
|
|
185
|
+
"stroke-color": (l.value || 0) === M.value ? "#8996A9" : c.arrowColor,
|
|
186
|
+
width: 20,
|
|
187
|
+
height: 11,
|
|
188
|
+
class: "uikit-inline-block -uikit-rotate-90"
|
|
189
|
+
}, null, 8, ["stroke-color"])]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 16, [
|
|
192
|
+
"href",
|
|
193
|
+
"to",
|
|
194
|
+
"class"
|
|
195
|
+
]))], 8, D)
|
|
196
|
+
])) : r("", !0)]));
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
export { k as default };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
idx?: number;
|
|
5
|
+
/**
|
|
6
|
+
* Whether becoming active should move real DOM focus onto the item.
|
|
7
|
+
*
|
|
8
|
+
* Focus exists here to serve keyboard navigation. Consumers that drive
|
|
9
|
+
* `active` from pointer events alone (touch synthesises `mouseover` before
|
|
10
|
+
* `click`) should turn this off: focusing the item runs scroll-into-view
|
|
11
|
+
* against every scrollable ancestor and blurs whatever held focus - on
|
|
12
|
+
* mobile that dismisses the soft keyboard, and both cost a forced layout
|
|
13
|
+
* before the tap is even processed.
|
|
14
|
+
*/
|
|
15
|
+
focusOnActive?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_template: () => {
|
|
18
|
+
__VLS_Slots: {
|
|
19
|
+
default?: (props: {
|
|
20
|
+
itemIdx: number;
|
|
21
|
+
}) => any;
|
|
22
|
+
};
|
|
23
|
+
__VLS_TemplateRefs: {
|
|
24
|
+
liItem: __VLS_Elements["li"];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
28
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
click: (args_0: number) => any;
|
|
30
|
+
mouseover: (args_0: number) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onClick?: ((args_0: number) => any) | undefined;
|
|
33
|
+
onMouseover?: ((args_0: number) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
label: string;
|
|
36
|
+
active: boolean;
|
|
37
|
+
idx: number;
|
|
38
|
+
focusOnActive: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, defineComponent as n, nextTick as r, normalizeClass as i, openBlock as a, renderSlot as o, useTemplateRef as s, watch as c } from "vue";
|
|
2
|
+
// lib/UIKit/BaseSelect/SelectItem.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var l = ["data-active", "tabindex"], u = ["innerHTML"], d = /*@__PURE__*/ n({
|
|
4
|
+
__name: "SelectItem",
|
|
5
|
+
props: {
|
|
6
|
+
label: { default: "" },
|
|
7
|
+
active: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: !1
|
|
10
|
+
},
|
|
11
|
+
idx: { default: -1 },
|
|
12
|
+
focusOnActive: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !0
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["click", "mouseover"],
|
|
18
|
+
setup(n, { emit: d }) {
|
|
19
|
+
let f = d, p = n, m = s("liItem");
|
|
20
|
+
return c(() => p.active, (e) => {
|
|
21
|
+
e && p.focusOnActive && r(() => {
|
|
22
|
+
m.value && m.value.focus();
|
|
23
|
+
});
|
|
24
|
+
}, { immediate: !0 }), (r, s) => (a(), e("li", {
|
|
25
|
+
ref: "liItem",
|
|
26
|
+
class: i(["uikit-list-none uikit-text-w-black", [
|
|
27
|
+
{ "active uikit-bg-w-cultured": n.active },
|
|
28
|
+
"uikit-outline-none",
|
|
29
|
+
r.$attrs.class
|
|
30
|
+
]]),
|
|
31
|
+
"data-active": n.active,
|
|
32
|
+
tabindex: r.$attrs.tabindex ?? -1,
|
|
33
|
+
onClick: s[0] ||= (e) => f("click", p.idx),
|
|
34
|
+
onMouseover: s[1] ||= (e) => f("mouseover", p.idx)
|
|
35
|
+
}, [o(r.$slots, "default", { itemIdx: n.idx }, () => [t("span", { innerHTML: p.label }, null, 8, u)])], 42, l));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export { d as default };
|
|
@@ -4,18 +4,17 @@ type __VLS_Props = {
|
|
|
4
4
|
min?: number;
|
|
5
5
|
max?: number;
|
|
6
6
|
};
|
|
7
|
-
type
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
8
|
"minValue"?: Optional<number>;
|
|
9
9
|
"maxValue"?: Optional<number>;
|
|
10
|
-
}
|
|
11
|
-
|
|
10
|
+
};
|
|
11
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
13
|
"update:minValue": (value: Optional<number>) => any;
|
|
13
14
|
"update:maxValue": (value: Optional<number>) => any;
|
|
14
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
16
|
"onUpdate:minValue"?: ((value: Optional<number>) => any) | undefined;
|
|
16
17
|
"onUpdate:maxValue"?: ((value: Optional<number>) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
-
|
|
19
|
-
toSlider: HTMLInputElement;
|
|
20
|
-
}, HTMLDivElement>;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
21
20
|
export default _default;
|