@wikicasa-dev/components 2.6.11-alpha.0 → 3.0.0-alpha.0
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/AccessibleSelect.js +4 -0
- package/dist/BaseAccordion.js +4 -0
- package/dist/BaseAccordionBtn.js +4 -0
- package/dist/BaseAccordionContent.js +4 -0
- package/dist/BaseAccordionItem.js +4 -0
- package/dist/BaseAlert.js +4 -0
- package/dist/BaseAutocomplete.js +4 -0
- package/dist/BaseBadge.js +4 -0
- package/dist/BaseBreadcrumb.js +4 -0
- package/dist/BaseButton.js +4 -0
- package/dist/BaseCard.js +38 -0
- package/dist/BaseComplexToggle.js +107 -0
- package/dist/BaseDropDown.js +4 -0
- package/dist/BaseFloatingLabel.js +41 -0
- package/dist/BaseIcon.js +28 -0
- package/dist/BaseInput.js +212 -0
- package/dist/BaseModal.js +4 -0
- package/dist/BasePagination.js +4 -0
- package/dist/BasePaper.js +14 -0
- package/dist/BaseShimmerLoader.js +22 -0
- package/dist/{UIKit/BaseSlider.vue.js → BaseSlider.js} +52 -49
- package/dist/BaseSnackbar.js +82 -0
- package/dist/BaseTab.js +4 -0
- package/dist/BaseTabList.js +4 -0
- package/dist/BaseTabPanel.js +4 -0
- package/dist/BaseTabView.js +4 -0
- package/dist/BaseTextarea.js +128 -0
- package/dist/BaseToggle.js +43 -0
- package/dist/BaseTooltip.js +42 -0
- package/dist/BaseUploadFile.js +4 -0
- package/dist/CheckboxBtn.js +76 -0
- package/dist/CheckboxGroup.js +4 -0
- package/dist/DoughnutChart.js +4 -0
- package/dist/IntersectionObservable.js +4 -0
- package/dist/IntersectionObserver.js +4 -0
- package/dist/LineChart.js +4 -0
- package/dist/RadioButton.js +4 -0
- package/dist/RadioGroup.js +4 -0
- package/dist/SelectItem.js +4 -0
- package/dist/ShimmerMultiLine.js +4 -0
- package/dist/{UIKit/Slider/SimpleSlider.vue.js → SimpleSlider.js} +30 -29
- package/dist/StaticSpinner.js +28 -0
- package/dist/SwiperCarousel.js +5 -0
- package/dist/{components/carousel/SwiperSlide.js → SwiperSlide.js} +3 -3
- package/dist/UIKit/AccessibleSelect.vue.d.ts +55 -0
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +32 -0
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +34 -0
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +30 -0
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +60 -0
- package/dist/UIKit/BaseAlert.vue.d.ts +26 -0
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +48 -0
- package/dist/UIKit/BaseBadge.vue.d.ts +22 -0
- package/dist/UIKit/BaseBreadcrumb.vue.d.ts +35 -0
- package/dist/UIKit/BaseButton.vue.d.ts +46 -0
- package/dist/UIKit/BaseCard.vue.d.ts +29 -0
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +47 -0
- package/dist/UIKit/BaseDropDown.vue.d.ts +81 -0
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +17 -0
- package/dist/UIKit/BaseIcon.vue.d.ts +11 -0
- package/dist/UIKit/BaseInput.vue.d.ts +68 -0
- package/dist/UIKit/BaseModal.vue.d.ts +63 -0
- package/dist/UIKit/{BasePagination.d.ts → BasePagination.vue.d.ts} +5 -13
- package/dist/UIKit/BasePaper.vue.d.ts +2 -0
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +38 -0
- package/dist/UIKit/{BaseSlider.d.ts → BaseSlider.vue.d.ts} +7 -6
- package/dist/UIKit/BaseSnackbar.vue.d.ts +24 -0
- package/dist/UIKit/{BaseTextarea.d.ts → BaseTextarea.vue.d.ts} +10 -10
- package/dist/UIKit/BaseToggle.vue.d.ts +32 -0
- package/dist/UIKit/BaseTooltip.vue.d.ts +38 -0
- package/dist/UIKit/BaseUploadFile.vue.d.ts +42 -0
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +53 -0
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +71 -0
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +27 -0
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +54 -0
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +21 -0
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +63 -0
- package/dist/UIKit/Slider/{SimpleSlider.d.ts → SimpleSlider.vue.d.ts} +6 -6
- package/dist/UIKit/StaticSpinner.vue.d.ts +6 -0
- package/dist/UIKit/Tab/BaseTab.vue.d.ts +23 -0
- package/dist/UIKit/Tab/BaseTabList.vue.d.ts +14 -0
- package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +24 -0
- package/dist/UIKit/Tab/BaseTabView.vue.d.ts +27 -0
- package/dist/UIKit/types.d.ts +52 -10
- package/dist/assets/BaseAlert.css +1 -0
- package/dist/assets/BaseBadge.css +1 -1
- package/dist/assets/BaseCard.css +1 -0
- package/dist/assets/BaseComplexToggle.css +1 -0
- package/dist/assets/BaseFloatingLabel.css +1 -0
- package/dist/assets/BaseIcon.css +1 -0
- package/dist/assets/BaseInput.css +1 -0
- package/dist/assets/BaseModal.css +1 -0
- package/dist/assets/BasePaper.css +1 -0
- package/dist/assets/BaseShimmerLoader.css +1 -1
- package/dist/assets/BaseSlider.css +1 -0
- package/dist/assets/BaseSnackbar.css +1 -1
- package/dist/assets/BaseTextarea.css +1 -0
- package/dist/assets/BaseToggle.css +1 -0
- package/dist/assets/BaseTooltip.css +1 -0
- package/dist/assets/CheckboxBtn.css +1 -1
- package/dist/assets/SimpleSlider.css +1 -1
- package/dist/assets/StaticSpinner.css +1 -1
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/index.css +1 -0
- package/dist/chart/DoughnutChart.vue.d.ts +7 -0
- package/dist/chart/LineChart.vue.d.ts +19 -0
- package/dist/chart/composables/useChartjsModules.d.ts +10 -0
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.QU1FSgY0.js +246 -0
- package/dist/chunks/ArrowIcon.Bq6Xr3uH.js +28 -0
- package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js +32 -0
- package/dist/chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DEk3SXLJ.js +60 -0
- package/dist/chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Qp_TWYFE.js +34 -0
- package/dist/chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.BJB5DnDs.js +143 -0
- package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js +19 -0
- package/dist/chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.S_XFg2zV.js +202 -0
- package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.DvAI34Oa.js +19 -0
- package/dist/chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BrzeVW2_.js +58 -0
- package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.DHwyd5Gb.js +66 -0
- package/dist/chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.OKB0gEpo.js +137 -0
- package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.a2qGyPhV.js +150 -0
- package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DdFMVFIO.js +164 -0
- package/dist/{UIKit/Tab/BaseTab.vue.js → chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js} +3 -3
- package/dist/chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CxrS-Vq6.js +43 -0
- package/dist/chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js +24 -0
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DGTsSVEG.js +105 -0
- package/dist/chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.BL98w2D8.js +71 -0
- package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.B_9CFhd2.js +111 -0
- package/dist/chunks/CloseIcon.BZ4U3aiI.js +38 -0
- package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js +27 -0
- package/dist/chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js +24 -0
- package/dist/chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js +52 -0
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +42 -0
- package/dist/chunks/ObjectUtils.DwkJjVq1.js +10 -0
- package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +11 -0
- package/dist/chunks/RadioButton.vue_vue_type_script_setup_true_lang.CxVJji0G.js +58 -0
- package/dist/chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BNKSEicl.js +62 -0
- package/dist/chunks/SelectItem.vue_vue_type_script_setup_true_lang.jB3LVM3c.js +41 -0
- package/dist/chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CPUobRgG.js +29 -0
- package/dist/chunks/SwiperCarousel.BheiaKKw.js +748 -0
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
- package/dist/chunks/index.BJP9rQkU.js +887 -0
- package/dist/chunks/polyline.DjpLdMaW.js +5256 -0
- package/dist/chunks/useBreakpoints.BXk8Xcw3.js +5189 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +29 -0
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +57 -0
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +57 -0
- package/dist/components/carousel/SwiperSlide.vue.d.ts +17 -0
- package/dist/composables/useFloatingLabel.d.ts +1 -1
- package/dist/index.d.ts +45 -67
- package/dist/index.js +85 -149
- package/dist/useChartjsModules.js +48 -0
- package/dist/utils.js +3 -3
- package/package.json +39 -69
- package/dist/UIKit/AccessibleSelect.d.ts +0 -64
- package/dist/UIKit/AccessibleSelect.js +0 -5
- package/dist/UIKit/AccessibleSelect.vue.js +0 -206
- package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +0 -15
- package/dist/UIKit/Accordion/AccordionContentPrimitive.js +0 -4
- package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +0 -22
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.d.ts +0 -12
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +0 -4
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +0 -21
- package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +0 -14
- package/dist/UIKit/Accordion/AccordionItemPrimitive.js +0 -4
- package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +0 -24
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.d.ts +0 -14
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +0 -4
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +0 -22
- package/dist/UIKit/Accordion/BaseAccordion.d.ts +0 -38
- package/dist/UIKit/Accordion/BaseAccordion.js +0 -4
- package/dist/UIKit/Accordion/BaseAccordion.vue.js +0 -37
- package/dist/UIKit/Accordion/BaseAccordionItem.d.ts +0 -33
- package/dist/UIKit/Accordion/BaseAccordionItem.js +0 -5
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +0 -82
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.d.ts +0 -75
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +0 -5
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +0 -227
- package/dist/UIKit/BaseAlert.d.ts +0 -22
- package/dist/UIKit/BaseAlert.js +0 -5
- package/dist/UIKit/BaseAlert.vue.js +0 -19
- package/dist/UIKit/BaseAutocomplete.d.ts +0 -62
- package/dist/UIKit/BaseAutocomplete.js +0 -5
- package/dist/UIKit/BaseAutocomplete.vue.js +0 -195
- package/dist/UIKit/BaseBadge.d.ts +0 -18
- package/dist/UIKit/BaseBadge.js +0 -5
- package/dist/UIKit/BaseBadge.vue.js +0 -18
- package/dist/UIKit/BaseBreadcrumb.d.ts +0 -32
- package/dist/UIKit/BaseBreadcrumb.js +0 -4
- package/dist/UIKit/BaseBreadcrumb.vue.js +0 -57
- package/dist/UIKit/BaseButton.d.ts +0 -75
- package/dist/UIKit/BaseButton.js +0 -4
- package/dist/UIKit/BaseButton.vue.js +0 -88
- package/dist/UIKit/BaseComplexToggle.d.ts +0 -54
- package/dist/UIKit/BaseComplexToggle.js +0 -7
- package/dist/UIKit/BaseComplexToggle.vue.js +0 -106
- package/dist/UIKit/BaseDropDown.d.ts +0 -88
- package/dist/UIKit/BaseDropDown.js +0 -5
- package/dist/UIKit/BaseDropDown.vue.js +0 -152
- package/dist/UIKit/BaseFloatingLabel.d.ts +0 -24
- package/dist/UIKit/BaseFloatingLabel.js +0 -7
- package/dist/UIKit/BaseFloatingLabel.vue.js +0 -40
- package/dist/UIKit/BaseInput.d.ts +0 -63
- package/dist/UIKit/BaseInput.js +0 -7
- package/dist/UIKit/BaseInput.vue.js +0 -211
- package/dist/UIKit/BaseModal.d.ts +0 -65
- package/dist/UIKit/BaseModal.js +0 -5
- package/dist/UIKit/BaseModal.vue.js +0 -170
- package/dist/UIKit/BasePagination.js +0 -4
- package/dist/UIKit/BasePagination.vue.js +0 -230
- package/dist/UIKit/BaseSelect/SelectItem.d.ts +0 -30
- package/dist/UIKit/BaseSelect/SelectItem.js +0 -4
- package/dist/UIKit/BaseSelect/SelectItem.vue.js +0 -42
- package/dist/UIKit/BaseSlider.js +0 -7
- package/dist/UIKit/BaseSnackbar.d.ts +0 -64
- package/dist/UIKit/BaseSnackbar.js +0 -5
- package/dist/UIKit/BaseSnackbar.vue.js +0 -147
- package/dist/UIKit/BaseTextarea.js +0 -7
- package/dist/UIKit/BaseTextarea.vue.js +0 -127
- package/dist/UIKit/BaseToggle.d.ts +0 -28
- package/dist/UIKit/BaseToggle.js +0 -4
- package/dist/UIKit/BaseToggle.vue.js +0 -39
- package/dist/UIKit/BaseTooltip.d.ts +0 -35
- package/dist/UIKit/BaseTooltip.js +0 -7
- package/dist/UIKit/BaseTooltip.vue.js +0 -41
- package/dist/UIKit/BaseUploadFile.d.ts +0 -38
- package/dist/UIKit/BaseUploadFile.js +0 -4
- package/dist/UIKit/BaseUploadFile.vue.js +0 -71
- package/dist/UIKit/Card/BaseCard.d.ts +0 -25
- package/dist/UIKit/Card/BaseCard.js +0 -5
- package/dist/UIKit/Card/BaseCard.vue.js +0 -37
- package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +0 -13
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +0 -12
- package/dist/UIKit/Card/CardImagePrimitive.d.ts +0 -13
- package/dist/UIKit/Card/CardImagePrimitive.js +0 -4
- package/dist/UIKit/Card/CardImagePrimitive.vue.js +0 -16
- package/dist/UIKit/Card/CardRootPrimitive.d.ts +0 -20
- package/dist/UIKit/Card/CardRootPrimitive.js +0 -5
- package/dist/UIKit/Card/CardRootPrimitive.vue.js +0 -27
- package/dist/UIKit/Card/type.d.ts +0 -3
- package/dist/UIKit/Card/type.js +0 -4
- package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +0 -52
- package/dist/UIKit/Checkbox/CheckboxBtn.js +0 -5
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +0 -82
- package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +0 -74
- package/dist/UIKit/Checkbox/CheckboxGroup.js +0 -4
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +0 -117
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.d.ts +0 -41
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +0 -4
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +0 -78
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +0 -31
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +0 -4
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +0 -35
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.d.ts +0 -26
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +0 -4
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +0 -35
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.d.ts +0 -4
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +0 -4
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +0 -16
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +0 -25
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +0 -4
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +0 -32
- package/dist/UIKit/Radio/RadioButton.d.ts +0 -38
- package/dist/UIKit/Radio/RadioButton.js +0 -4
- package/dist/UIKit/Radio/RadioButton.vue.js +0 -60
- package/dist/UIKit/Radio/RadioGroup.d.ts +0 -64
- package/dist/UIKit/Radio/RadioGroup.js +0 -4
- package/dist/UIKit/Radio/RadioGroup.vue.js +0 -64
- package/dist/UIKit/Radio/v2/RadioButtonGroup.d.ts +0 -38
- package/dist/UIKit/Radio/v2/RadioButtonGroup.js +0 -4
- package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +0 -48
- package/dist/UIKit/Radio/v2/RadioButtonItem.d.ts +0 -17
- package/dist/UIKit/Radio/v2/RadioButtonItem.js +0 -5
- package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +0 -45
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +0 -22
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +0 -4
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +0 -31
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.d.ts +0 -15
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +0 -7
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -20
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +0 -11
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +0 -4
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +0 -31
- package/dist/UIKit/Slider/SimpleSlider.js +0 -7
- package/dist/UIKit/StaticSpinner.d.ts +0 -7
- package/dist/UIKit/StaticSpinner.js +0 -7
- package/dist/UIKit/StaticSpinner.vue.js +0 -27
- package/dist/UIKit/Tab/BaseTab.d.ts +0 -19
- package/dist/UIKit/Tab/BaseTab.js +0 -4
- package/dist/UIKit/Tab/BaseTabList.d.ts +0 -14
- package/dist/UIKit/Tab/BaseTabList.js +0 -4
- package/dist/UIKit/Tab/BaseTabList.vue.js +0 -45
- package/dist/UIKit/Tab/BaseTabPanel.d.ts +0 -20
- package/dist/UIKit/Tab/BaseTabPanel.js +0 -4
- package/dist/UIKit/Tab/BaseTabPanel.vue.js +0 -25
- package/dist/UIKit/Tab/BaseTabView.d.ts +0 -49
- package/dist/UIKit/Tab/BaseTabView.js +0 -4
- package/dist/UIKit/Tab/BaseTabView.vue.js +0 -106
- package/dist/UIKit/Tab/v2/BaseTabs.d.ts +0 -29
- package/dist/UIKit/Tab/v2/BaseTabs.js +0 -5
- package/dist/UIKit/Tab/v2/BaseTabs.vue.js +0 -39
- package/dist/UIKit/Tab/v2/BaseTabsContent.d.ts +0 -14
- package/dist/UIKit/Tab/v2/BaseTabsContent.js +0 -4
- package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +0 -24
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.d.ts +0 -16
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +0 -5
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +0 -34
- package/dist/UIKit/Tab/v2/BaseTabsList.d.ts +0 -14
- package/dist/UIKit/Tab/v2/BaseTabsList.js +0 -4
- package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +0 -23
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.d.ts +0 -25
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +0 -4
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +0 -31
- package/dist/UIKit/types.js +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/assets/AccessibleSelect.css +0 -1
- package/dist/assets/BaseAccordionItem.css +0 -1
- package/dist/assets/BaseAutocomplete.css +0 -1
- package/dist/assets/BaseComplexToggle2.css +0 -1
- package/dist/assets/BaseDropDown.css +0 -1
- package/dist/assets/BaseFloatingLabel2.css +0 -1
- package/dist/assets/BaseInput2.css +0 -1
- package/dist/assets/BaseSlider2.css +0 -1
- package/dist/assets/BaseTabs.css +0 -1
- package/dist/assets/BaseTabsIndicator.css +0 -1
- package/dist/assets/BaseTextarea2.css +0 -1
- package/dist/assets/BaseTooltip2.css +0 -1
- package/dist/assets/ClearableAutocomplete.css +0 -1
- package/dist/assets/RadioButtonItem.css +0 -1
- package/dist/assets/SwiperRootPrimitive.css +0 -1
- package/dist/assets/SwiperRootPrimitive2.css +0 -1
- package/dist/assets/SwiperSlideImagePrimitive.css +0 -1
- package/dist/assets/baseAlert.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/baseInput.css +0 -1
- package/dist/assets/baseModal.css +0 -1
- package/dist/assets/baseSlider.css +0 -1
- package/dist/assets/baseSpinner.css +0 -1
- package/dist/assets/baseTextarea.css +0 -1
- package/dist/assets/baseTooltip.css +0 -1
- package/dist/assets/swiper-free-mode.css +0 -1
- package/dist/assets/swiper-navigation.css +0 -1
- package/dist/assets/swiper-pagination.css +0 -1
- package/dist/assets/swiper-swiper.css +0 -1
- package/dist/assets/swiper-thumbs.css +0 -0
- package/dist/assets/swiper-zoom.css +0 -1
- package/dist/assets/swiperPaginationBullet.css +0 -1
- package/dist/assets/tailwind.css +0 -1
- package/dist/chart/DoughnutChart.d.ts +0 -8
- package/dist/chart/DoughnutChart.js +0 -4
- package/dist/chart/DoughnutChart.vue.js +0 -26
- package/dist/chart/LineChart.d.ts +0 -11
- package/dist/chart/LineChart.js +0 -4
- package/dist/chart/LineChart.vue.js +0 -30
- package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +0 -22
- package/dist/components/IntersectionObserver/IntersectionObservable.js +0 -4
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +0 -24
- package/dist/components/IntersectionObserver/IntersectionObserver.d.ts +0 -52
- package/dist/components/IntersectionObserver/IntersectionObserver.js +0 -4
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +0 -50
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.d.ts +0 -21
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +0 -4
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +0 -39
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +0 -22
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +0 -4
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +0 -31
- package/dist/components/IntersectionObserver/v2/types.d.ts +0 -4
- package/dist/components/IntersectionObserver/v2/types.js +0 -6
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.d.ts +0 -9
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +0 -4
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +0 -39
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.d.ts +0 -9
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +0 -4
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +0 -35
- package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +0 -20
- package/dist/components/carousel/Primitive/SwiperPrimitive.js +0 -4
- package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +0 -21
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.d.ts +0 -51
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +0 -11
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +0 -113
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.d.ts +0 -18
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +0 -5
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +0 -40
- package/dist/components/carousel/SwiperCarousel.d.ts +0 -50
- package/dist/components/carousel/SwiperCarousel.js +0 -7
- package/dist/components/carousel/SwiperCarousel.vue.js +0 -232
- package/dist/components/carousel/SwiperSlide.d.ts +0 -13
- package/dist/composables/mock.d.ts +0 -25
- package/dist/composables/mock.js +0 -49
- package/dist/lazyModules/ChartJs/Chart.d.ts +0 -1
- package/dist/lazyModules/ChartJs/Chart.js +0 -4
- package/dist/lazyModules/ChartJs/DoughnutChart/core.d.ts +0 -2
- package/dist/lazyModules/ChartJs/DoughnutChart/core.js +0 -6
- package/dist/lazyModules/ChartJs/LineChart/cartesian.d.ts +0 -2
- package/dist/lazyModules/ChartJs/LineChart/cartesian.js +0 -6
- package/dist/lazyModules/ChartJs/LineChart/core.d.ts +0 -2
- package/dist/lazyModules/ChartJs/LineChart/core.js +0 -6
- package/dist/lazyModules/ChartJs/Plugins/Legend.d.ts +0 -1
- package/dist/lazyModules/ChartJs/Plugins/Legend.js +0 -2
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.d.ts +0 -0
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +0 -3
- package/dist/lazyModules/ChartJs/Plugins/Title.d.ts +0 -1
- package/dist/lazyModules/ChartJs/Plugins/Title.js +0 -2
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.d.ts +0 -1
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +0 -2
- package/dist/lazyModules/Swiper/Autoplay/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/Autoplay/factory.js +0 -9
- package/dist/lazyModules/Swiper/Autoplay/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/Autoplay/index.js +0 -6
- package/dist/lazyModules/Swiper/Controller/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/Controller/factory.js +0 -7
- package/dist/lazyModules/Swiper/Controller/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/Controller/index.js +0 -6
- package/dist/lazyModules/Swiper/FreeMode/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/FreeMode/factory.js +0 -9
- package/dist/lazyModules/Swiper/FreeMode/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/FreeMode/index.js +0 -6
- package/dist/lazyModules/Swiper/Keyboard/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/Keyboard/factory.js +0 -9
- package/dist/lazyModules/Swiper/Keyboard/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/Keyboard/index.js +0 -6
- package/dist/lazyModules/Swiper/Navigation/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/Navigation/factory.js +0 -9
- package/dist/lazyModules/Swiper/Navigation/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/Navigation/index.js +0 -6
- package/dist/lazyModules/Swiper/Pagination/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/Pagination/factory.js +0 -7
- package/dist/lazyModules/Swiper/Pagination/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/Pagination/index.js +0 -6
- package/dist/lazyModules/Swiper/Thumbs/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/Thumbs/factory.js +0 -7
- package/dist/lazyModules/Swiper/Thumbs/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/Thumbs/index.js +0 -6
- package/dist/lazyModules/Swiper/Zoom/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/Zoom/factory.js +0 -9
- package/dist/lazyModules/Swiper/Zoom/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/Zoom/index.js +0 -6
- package/dist/lazyModules/Swiper/factory.d.ts +0 -3
- package/dist/lazyModules/Swiper/factory.js +0 -13
- package/dist/lazyModules/Swiper/index.d.ts +0 -1
- package/dist/lazyModules/Swiper/index.js +0 -5
- package/dist/lazyModules/Swiper/swiper-css.d.js +0 -1
- package/dist/lazyModules/Swiper/types.d.ts +0 -5
- package/dist/lazyModules/Swiper/types.js +0 -1
- package/dist/lazyModules/VueChartJs/Doughnut/factory.d.ts +0 -7
- package/dist/lazyModules/VueChartJs/Doughnut/factory.js +0 -12
- package/dist/lazyModules/VueChartJs/Doughnut/index.d.ts +0 -3
- package/dist/lazyModules/VueChartJs/Doughnut/index.js +0 -5
- package/dist/lazyModules/VueChartJs/Line/factory.d.ts +0 -7
- package/dist/lazyModules/VueChartJs/Line/factory.js +0 -14
- package/dist/lazyModules/VueChartJs/Line/index.d.ts +0 -3
- package/dist/lazyModules/VueChartJs/Line/index.js +0 -5
- package/dist/types/index.d.ts +0 -33
- package/dist/types/index.js +0 -1
- /package/dist/{composables/useFloatingLabel.js → useFloatingLabel.js} +0 -0
- /package/dist/{composables/useValidator.js → useValidator.js} +0 -0
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, useModel as F, useTemplateRef as h, shallowRef as y, onUnmounted as K, openBlock as k, createBlock as N, Teleport as S, createVNode as C, Transition as V, unref as w, withCtx as P, withDirectives as R, createElementVNode as l, normalizeClass as i, createElementBlock as p, withModifiers as U, createCommentVNode as x, renderSlot as d, vShow as j, mergeModels as g } from "vue";
|
|
2
|
-
import { CloseIcon as q } from "@wikicasa-dev/svg-icons";
|
|
3
|
-
const G = ["id", "data-cy", "data-state"], J = ["innerHTML"], X = /* @__PURE__ */ A({
|
|
4
|
-
__name: "BaseModal",
|
|
5
|
-
props: /* @__PURE__ */ g({
|
|
6
|
-
id: { default: "base-bt-modal" },
|
|
7
|
-
size: { default: "modal-md" },
|
|
8
|
-
customBackdropClasses: {},
|
|
9
|
-
customModalDialogClasses: {},
|
|
10
|
-
customModalHeaderClasses: {},
|
|
11
|
-
customModalBodyClasses: {},
|
|
12
|
-
customModalFooterClasses: {},
|
|
13
|
-
closeIcon: {},
|
|
14
|
-
withCloseIcon: { type: Boolean, default: !0 },
|
|
15
|
-
headerTitle: { default: "" },
|
|
16
|
-
autoClose: {},
|
|
17
|
-
fullHeight: { type: Boolean, default: !1 },
|
|
18
|
-
closeOnClickOut: { type: Boolean, default: !0 },
|
|
19
|
-
centered: { type: Boolean, default: !1 },
|
|
20
|
-
dataCy: {},
|
|
21
|
-
closeIconBtnClasses: {},
|
|
22
|
-
titleClasses: {}
|
|
23
|
-
}, {
|
|
24
|
-
showModal: { type: Boolean, default: !0 },
|
|
25
|
-
showModalModifiers: {}
|
|
26
|
-
}),
|
|
27
|
-
emits: /* @__PURE__ */ g(["closed", "opened", "dialogClick"], ["update:showModal"]),
|
|
28
|
-
setup(e, { emit: M }) {
|
|
29
|
-
const r = M, o = F(e, "showModal"), B = o.value, m = h("backdrop"), s = h("modalDialog"), u = y(!1), c = y(!1), f = ({ key: t }) => {
|
|
30
|
-
t === "Escape" && a();
|
|
31
|
-
}, E = () => {
|
|
32
|
-
document?.body.addEventListener("keydown", f);
|
|
33
|
-
}, b = () => {
|
|
34
|
-
document?.body.removeEventListener("keydown", f);
|
|
35
|
-
}, I = () => {
|
|
36
|
-
c.value || (E(), document?.body.classList.add(
|
|
37
|
-
"sm:uikit-pr-15px",
|
|
38
|
-
"sm:uikit-mr-0",
|
|
39
|
-
"uikit-overflow-hidden"
|
|
40
|
-
), c.value = !0);
|
|
41
|
-
}, L = () => {
|
|
42
|
-
r("opened"), e.autoClose !== void 0 && setTimeout(() => {
|
|
43
|
-
a();
|
|
44
|
-
}, e.autoClose);
|
|
45
|
-
}, z = () => {
|
|
46
|
-
document?.body.classList.remove(
|
|
47
|
-
"sm:uikit-pr-15px",
|
|
48
|
-
"sm:uikit-mr-0",
|
|
49
|
-
"uikit-overflow-hidden"
|
|
50
|
-
);
|
|
51
|
-
}, T = () => {
|
|
52
|
-
b(), c.value = !1, r("closed");
|
|
53
|
-
}, a = () => {
|
|
54
|
-
o.value = !1;
|
|
55
|
-
}, $ = (t) => {
|
|
56
|
-
s.value && s.value.contains(t.target) && (u.value = !0);
|
|
57
|
-
}, D = (t) => {
|
|
58
|
-
s.value && s.value.contains(t.target) && (u.value = !1);
|
|
59
|
-
}, H = async (t) => {
|
|
60
|
-
if (!(t.target !== m.value && m.value?.contains(t.target)) && e.closeOnClickOut) {
|
|
61
|
-
if (u.value) {
|
|
62
|
-
u.value = !1;
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
a();
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
K(() => {
|
|
69
|
-
b(), document?.body.classList.remove(
|
|
70
|
-
"sm:uikit-pr-15px",
|
|
71
|
-
"sm:uikit-mr-0",
|
|
72
|
-
"uikit-overflow-hidden"
|
|
73
|
-
);
|
|
74
|
-
});
|
|
75
|
-
const O = (t) => {
|
|
76
|
-
s.value === t.target && t.stopPropagation();
|
|
77
|
-
};
|
|
78
|
-
return (t, n) => (k(), N(S, { to: "body" }, [
|
|
79
|
-
C(V, {
|
|
80
|
-
appear: w(B),
|
|
81
|
-
name: "modal-transition",
|
|
82
|
-
duration: { enter: 250, leave: 250 },
|
|
83
|
-
onBeforeEnter: I,
|
|
84
|
-
onAfterEnter: L,
|
|
85
|
-
onLeave: z,
|
|
86
|
-
onAfterLeave: T
|
|
87
|
-
}, {
|
|
88
|
-
default: P(() => [
|
|
89
|
-
R(l("div", {
|
|
90
|
-
ref: "backdrop",
|
|
91
|
-
class: i(["bbt-backdrop uikit-fixed uikit-left-0 uikit-top-0 uikit-z-50 uikit-h-full uikit-w-full", [
|
|
92
|
-
e.customBackdropClasses,
|
|
93
|
-
{
|
|
94
|
-
"uikit-bg-w-secondary/70": o.value
|
|
95
|
-
},
|
|
96
|
-
{ "uikit-bg-transparent": !o.value },
|
|
97
|
-
{ "sm:uikit-pt-[30px]": !e.centered }
|
|
98
|
-
]]),
|
|
99
|
-
onClick: H,
|
|
100
|
-
onMousedown: $,
|
|
101
|
-
onMouseup: D
|
|
102
|
-
}, [
|
|
103
|
-
l("dialog", {
|
|
104
|
-
id: e.id,
|
|
105
|
-
ref: "modalDialog",
|
|
106
|
-
"data-cy": e.dataCy,
|
|
107
|
-
class: i(["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", [
|
|
108
|
-
e.customModalDialogClasses,
|
|
109
|
-
{
|
|
110
|
-
"centered sm:uikit-absolute sm:uikit-top-1/2 sm:-uikit-translate-y-1/2": e.centered
|
|
111
|
-
},
|
|
112
|
-
{ "uikit-static": !e.centered },
|
|
113
|
-
`base-${e.size}`,
|
|
114
|
-
e.fullHeight ? "uikit-h-[95%]" : "uikit-h-auto"
|
|
115
|
-
]]),
|
|
116
|
-
tabindex: "-1",
|
|
117
|
-
"data-state": o.value ? "open" : "closed",
|
|
118
|
-
onClick: n[1] || (n[1] = (v) => r("dialogClick", v)),
|
|
119
|
-
onFocusin: O
|
|
120
|
-
}, [
|
|
121
|
-
l("div", {
|
|
122
|
-
class: i(["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", [e.customModalHeaderClasses]])
|
|
123
|
-
}, [
|
|
124
|
-
e.withCloseIcon ? (k(), p("button", {
|
|
125
|
-
key: 0,
|
|
126
|
-
id: "close-icon-btn",
|
|
127
|
-
"data-cy": "bbt-default-close-icon-btn",
|
|
128
|
-
class: i(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent uikit-p-5px", e.closeIconBtnClasses]),
|
|
129
|
-
type: "button",
|
|
130
|
-
"aria-label": "Close",
|
|
131
|
-
onClick: n[0] || (n[0] = U((v) => o.value = !1, ["prevent", "stop"]))
|
|
132
|
-
}, [
|
|
133
|
-
C(w(q), {
|
|
134
|
-
class: i(["bbt-close-icon uikit-box-border", e.closeIcon?.classes]),
|
|
135
|
-
width: e.closeIcon?.size || 20,
|
|
136
|
-
height: e.closeIcon?.size || 20
|
|
137
|
-
}, null, 8, ["class", "width", "height"])
|
|
138
|
-
], 2)) : x("", !0),
|
|
139
|
-
d(t.$slots, "header", { closeModal: a }, () => [
|
|
140
|
-
l("span", {
|
|
141
|
-
class: i(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", e.titleClasses]),
|
|
142
|
-
innerHTML: e.headerTitle
|
|
143
|
-
}, null, 10, J)
|
|
144
|
-
])
|
|
145
|
-
], 2),
|
|
146
|
-
l("div", {
|
|
147
|
-
class: i(["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", [e.customModalBodyClasses]])
|
|
148
|
-
}, [
|
|
149
|
-
d(t.$slots, "body", { closeModal: a })
|
|
150
|
-
], 2),
|
|
151
|
-
t.$slots.footer ? (k(), p("div", {
|
|
152
|
-
key: 0,
|
|
153
|
-
class: i(["uikit-bbt-footer uikit-sticky uikit-bottom-0 uikit-border-0 uikit-bg-white uikit-px-4 uikit-py-15px sm:uikit-px-6", e.customModalFooterClasses])
|
|
154
|
-
}, [
|
|
155
|
-
d(t.$slots, "footer", { closeModal: a })
|
|
156
|
-
], 2)) : x("", !0),
|
|
157
|
-
d(t.$slots, "fixed-bottom")
|
|
158
|
-
], 42, G)
|
|
159
|
-
], 34), [
|
|
160
|
-
[j, o.value]
|
|
161
|
-
])
|
|
162
|
-
]),
|
|
163
|
-
_: 3
|
|
164
|
-
}, 8, ["appear"])
|
|
165
|
-
]));
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
export {
|
|
169
|
-
X as default
|
|
170
|
-
};
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { defineComponent as O, useModel as V, computed as s, openBlock as a, createElementBlock as o, createElementVNode as P, createBlock as v, resolveDynamicComponent as m, mergeProps as h, withCtx as f, createVNode as $, unref as p, toDisplayString as x, createCommentVNode as k, Fragment as w, createTextVNode as g, renderList as j, mergeModels as A } from "vue";
|
|
2
|
-
import { ArrowIcon as B } from "@wikicasa-dev/svg-icons";
|
|
3
|
-
const Q = {
|
|
4
|
-
"aria-label": "Page navigation",
|
|
5
|
-
class: "uikit-overflow-auto"
|
|
6
|
-
}, E = {
|
|
7
|
-
key: 0,
|
|
8
|
-
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"
|
|
9
|
-
}, R = ["data-cy"], q = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "uikit-mx-10px uikit-select-none"
|
|
12
|
-
}, z = {
|
|
13
|
-
key: 1,
|
|
14
|
-
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"
|
|
15
|
-
}, G = ["onClick"], H = ["onClick"], J = {
|
|
16
|
-
key: 0,
|
|
17
|
-
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"
|
|
18
|
-
}, K = ["data-cy"], W = {
|
|
19
|
-
key: 0,
|
|
20
|
-
class: "uikit-mx-10px uikit-select-none"
|
|
21
|
-
}, Z = /* @__PURE__ */ O({
|
|
22
|
-
__name: "BasePagination",
|
|
23
|
-
props: /* @__PURE__ */ A({
|
|
24
|
-
count: { default: 0 },
|
|
25
|
-
limit: { default: 25 },
|
|
26
|
-
siblings: { default: 3 },
|
|
27
|
-
additionalCount: { default: 0 },
|
|
28
|
-
arrowColor: { default: "#2B5DFF" },
|
|
29
|
-
small: { type: Boolean, default: !1 },
|
|
30
|
-
prevLabel: { default: "" },
|
|
31
|
-
nextLabel: { default: "" },
|
|
32
|
-
prevDataCy: {},
|
|
33
|
-
nextDataCy: {},
|
|
34
|
-
linkProps: {},
|
|
35
|
-
linkTag: { default: "a" },
|
|
36
|
-
baseUrl: {},
|
|
37
|
-
pageQueryParameter: { default: "p" },
|
|
38
|
-
formatter: { type: Function }
|
|
39
|
-
}, {
|
|
40
|
-
pageNumber: { default: 1 },
|
|
41
|
-
pageNumberModifiers: {}
|
|
42
|
-
}),
|
|
43
|
-
emits: ["update:pageNumber"],
|
|
44
|
-
setup(e) {
|
|
45
|
-
const u = V(e, "pageNumber"), y = s(() => (u.value || 1) + 1), b = s(() => (u.value || 1) - 1), c = s(() => e.baseUrl ? e.linkTag : "span"), r = s(() => Math.ceil((e.count + e.additionalCount) / e.limit)), D = (l = 1) => l < 1, S = (l = 1) => l === r.value, C = s(() => (u.value || 0) > e.siblings + 2), N = s(
|
|
46
|
-
() => (u.value || 0) < r.value - e.siblings - 1
|
|
47
|
-
), L = s(() => {
|
|
48
|
-
const l = u.value || 0;
|
|
49
|
-
let t = 0;
|
|
50
|
-
for (let i = l; i > 2 && t < e.siblings; i--)
|
|
51
|
-
t++;
|
|
52
|
-
return t;
|
|
53
|
-
}), M = s(() => {
|
|
54
|
-
const l = u.value || 0;
|
|
55
|
-
let t = 0;
|
|
56
|
-
for (let i = l; i < r.value - 1 && t < e.siblings; i++)
|
|
57
|
-
t++;
|
|
58
|
-
return t;
|
|
59
|
-
}), U = s(() => {
|
|
60
|
-
const l = L.value + /* Filling with the remaining right siblings */
|
|
61
|
-
Math.abs(M.value - e.siblings) + /* If there is no suspension points on the right, let's fill it */
|
|
62
|
-
new Number(!N.value).valueOf() + /* If the pageNumber is the same of the last, let's fill it */
|
|
63
|
-
new Number(u.value === r.value).valueOf();
|
|
64
|
-
let t = Math.max((u.value || 0) - l, 2);
|
|
65
|
-
const i = [];
|
|
66
|
-
for (t; t < (u.value || 0); t++) i.push(t);
|
|
67
|
-
return i;
|
|
68
|
-
}), T = s(() => {
|
|
69
|
-
const l = M.value + /* Filling with the remaining left siblings */
|
|
70
|
-
Math.abs(L.value - e.siblings) + /* If there is no suspension points on the left, let's fill it */
|
|
71
|
-
new Number(!C.value).valueOf() + /* If the pageNumber is the same of the firstPage, let's fill it */
|
|
72
|
-
new Number(u.value === 1).valueOf();
|
|
73
|
-
let t = Math.min(u.value || 0, r.value - 1);
|
|
74
|
-
const i = [];
|
|
75
|
-
for (t; t < Math.min((u.value || 0) + l, r.value - 1); t++)
|
|
76
|
-
i.push(t + 1);
|
|
77
|
-
return i;
|
|
78
|
-
}), d = (l) => {
|
|
79
|
-
l < 1 || l > r.value || setTimeout(() => {
|
|
80
|
-
u.value = l;
|
|
81
|
-
});
|
|
82
|
-
}, n = (l = 1) => {
|
|
83
|
-
if (e.baseUrl)
|
|
84
|
-
try {
|
|
85
|
-
const t = new URL(e.baseUrl);
|
|
86
|
-
return l <= 1 ? (t.searchParams.delete(e.pageQueryParameter), `${t.pathname}${t.search}${t.hash}`) : (t.searchParams.set(e.pageQueryParameter, `${l}`), `${t.pathname}${t.search}${t.hash}`);
|
|
87
|
-
} catch (t) {
|
|
88
|
-
console.error(t);
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
return (l, t) => (a(), o("nav", Q, [
|
|
93
|
-
e.count > 0 ? (a(), o("ul", E, [
|
|
94
|
-
P("li", {
|
|
95
|
-
"data-cy": e.prevDataCy,
|
|
96
|
-
onClick: t[0] || (t[0] = (i) => d(b.value))
|
|
97
|
-
}, [
|
|
98
|
-
(a(), v(m(D(b.value) ? "span" : c.value), h({
|
|
99
|
-
href: n(b.value),
|
|
100
|
-
to: n(b.value),
|
|
101
|
-
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", {
|
|
102
|
-
"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": u.value !== 1,
|
|
103
|
-
"active:max-sm:uikit-text-white hover:sm:uikit-text-white": e.small && u.value !== 1,
|
|
104
|
-
"uikit-rounded-xs": e.small && e.prevLabel
|
|
105
|
-
}]
|
|
106
|
-
}, e.linkProps), {
|
|
107
|
-
default: f(() => [
|
|
108
|
-
$(p(B), {
|
|
109
|
-
width: 20,
|
|
110
|
-
height: 11,
|
|
111
|
-
"stroke-color": u.value === 1 ? "#8996A9" : e.arrowColor,
|
|
112
|
-
class: "uikit-inline-block uikit-rotate-90"
|
|
113
|
-
}, null, 8, ["stroke-color"]),
|
|
114
|
-
e.small && e.prevLabel ? (a(), o("span", q, x(e.prevLabel), 1)) : k("", !0)
|
|
115
|
-
]),
|
|
116
|
-
_: 1
|
|
117
|
-
}, 16, ["href", "to", "class"]))
|
|
118
|
-
], 8, R),
|
|
119
|
-
e.small ? k("", !0) : (a(), o(w, { key: 0 }, [
|
|
120
|
-
(u.value || 0) > 1 ? (a(), o("li", {
|
|
121
|
-
key: 0,
|
|
122
|
-
onClick: t[1] || (t[1] = (i) => d(1))
|
|
123
|
-
}, [
|
|
124
|
-
(a(), v(m(c.value), h({
|
|
125
|
-
href: n(1),
|
|
126
|
-
to: n(1),
|
|
127
|
-
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"
|
|
128
|
-
}, e.linkProps), {
|
|
129
|
-
default: f(() => [...t[4] || (t[4] = [
|
|
130
|
-
g(" 1 ", -1)
|
|
131
|
-
])]),
|
|
132
|
-
_: 1
|
|
133
|
-
}, 16, ["href", "to"]))
|
|
134
|
-
])) : k("", !0),
|
|
135
|
-
C.value ? (a(), o("li", z, " ... ")) : k("", !0),
|
|
136
|
-
(a(!0), o(w, null, j(U.value, (i) => (a(), o("li", {
|
|
137
|
-
key: i,
|
|
138
|
-
onClick: (F) => d(i)
|
|
139
|
-
}, [
|
|
140
|
-
(a(), v(m(c.value), h({
|
|
141
|
-
href: n(i),
|
|
142
|
-
to: n(i),
|
|
143
|
-
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"
|
|
144
|
-
}, { ref_for: !0 }, e.linkProps), {
|
|
145
|
-
default: f(() => [
|
|
146
|
-
g(x(e.formatter ? e.formatter(i) : i), 1)
|
|
147
|
-
]),
|
|
148
|
-
_: 2
|
|
149
|
-
}, 1040, ["href", "to"]))
|
|
150
|
-
], 8, G))), 128))
|
|
151
|
-
], 64)),
|
|
152
|
-
P("li", null, [
|
|
153
|
-
(a(), v(m(c.value), h({
|
|
154
|
-
href: n(u.value),
|
|
155
|
-
to: n(u.value),
|
|
156
|
-
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", {
|
|
157
|
-
"uikit-bg-w-primary uikit-text-white hover:uikit-bg-w-primary hover:uikit-text-white": !e.small
|
|
158
|
-
}]
|
|
159
|
-
}, e.linkProps), {
|
|
160
|
-
default: f(() => [
|
|
161
|
-
g(x(e.formatter ? e.formatter(u.value) : u.value), 1)
|
|
162
|
-
]),
|
|
163
|
-
_: 1
|
|
164
|
-
}, 16, ["href", "to", "class"]))
|
|
165
|
-
]),
|
|
166
|
-
e.small ? k("", !0) : (a(), o(w, { key: 1 }, [
|
|
167
|
-
(a(!0), o(w, null, j(T.value, (i) => (a(), o("li", {
|
|
168
|
-
key: i,
|
|
169
|
-
onClick: (F) => d(i)
|
|
170
|
-
}, [
|
|
171
|
-
(a(), v(m(c.value), h({
|
|
172
|
-
href: n(i),
|
|
173
|
-
to: n(i),
|
|
174
|
-
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"
|
|
175
|
-
}, { ref_for: !0 }, e.linkProps), {
|
|
176
|
-
default: f(() => [
|
|
177
|
-
g(x(e.formatter ? e.formatter(i) : i), 1)
|
|
178
|
-
]),
|
|
179
|
-
_: 2
|
|
180
|
-
}, 1040, ["href", "to"]))
|
|
181
|
-
], 8, H))), 128)),
|
|
182
|
-
N.value ? (a(), o("li", J, " ... ")) : k("", !0),
|
|
183
|
-
(u.value || 0) < r.value ? (a(), o("li", {
|
|
184
|
-
key: 1,
|
|
185
|
-
onClick: t[2] || (t[2] = (i) => d(r.value))
|
|
186
|
-
}, [
|
|
187
|
-
(a(), v(m(c.value), h({
|
|
188
|
-
href: n(r.value),
|
|
189
|
-
to: n(r.value),
|
|
190
|
-
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"
|
|
191
|
-
}, e.linkProps), {
|
|
192
|
-
default: f(() => [
|
|
193
|
-
g(x(e.formatter ? e.formatter(r.value) : r.value), 1)
|
|
194
|
-
]),
|
|
195
|
-
_: 1
|
|
196
|
-
}, 16, ["href", "to"]))
|
|
197
|
-
])) : k("", !0)
|
|
198
|
-
], 64)),
|
|
199
|
-
P("li", {
|
|
200
|
-
"data-cy": e.nextDataCy,
|
|
201
|
-
onClick: t[3] || (t[3] = (i) => d(y.value))
|
|
202
|
-
}, [
|
|
203
|
-
(a(), v(m(S(u.value) ? "span" : c.value), h({
|
|
204
|
-
href: n(y.value),
|
|
205
|
-
to: n(y.value),
|
|
206
|
-
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", {
|
|
207
|
-
"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": (u.value || 0) < r.value,
|
|
208
|
-
"active:max-sm:uikit-text-white hover:sm:uikit-text-white": e.small && (u.value || 0) < r.value,
|
|
209
|
-
"uikit-rounded-xs": e.small && e.nextLabel
|
|
210
|
-
}]
|
|
211
|
-
}, e.linkProps), {
|
|
212
|
-
default: f(() => [
|
|
213
|
-
e.small && e.nextLabel ? (a(), o("span", W, x(e.nextLabel), 1)) : k("", !0),
|
|
214
|
-
$(p(B), {
|
|
215
|
-
"stroke-color": (u.value || 0) === r.value ? "#8996A9" : e.arrowColor,
|
|
216
|
-
width: 20,
|
|
217
|
-
height: 11,
|
|
218
|
-
class: "uikit-inline-block -uikit-rotate-90"
|
|
219
|
-
}, null, 8, ["stroke-color"])
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
}, 16, ["href", "to", "class"]))
|
|
223
|
-
], 8, K)
|
|
224
|
-
])) : k("", !0)
|
|
225
|
-
]));
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
export {
|
|
229
|
-
Z as default
|
|
230
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
label?: string;
|
|
3
|
-
active?: boolean;
|
|
4
|
-
idx?: number;
|
|
5
|
-
};
|
|
6
|
-
declare var __VLS_1: {
|
|
7
|
-
itemIdx: number;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof __VLS_1) => any;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
click: (args_0: number) => any;
|
|
14
|
-
mouseover: (args_0: number) => any;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onClick?: ((args_0: number) => any) | undefined;
|
|
17
|
-
onMouseover?: ((args_0: number) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
label: string;
|
|
20
|
-
active: boolean;
|
|
21
|
-
idx: number;
|
|
22
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
-
declare const _default: typeof __VLS_export;
|
|
25
|
-
export default _default;
|
|
26
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$slots: S;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, useTemplateRef as c, watch as d, nextTick as m, openBlock as r, createElementBlock as f, normalizeClass as v, renderSlot as k, createElementVNode as x } from "vue";
|
|
2
|
-
const b = ["data-active", "tabindex"], p = ["innerHTML"], $ = /* @__PURE__ */ u({
|
|
3
|
-
__name: "SelectItem",
|
|
4
|
-
props: {
|
|
5
|
-
label: { default: "" },
|
|
6
|
-
active: { type: Boolean, default: !1 },
|
|
7
|
-
idx: { default: -1 }
|
|
8
|
-
},
|
|
9
|
-
emits: ["click", "mouseover"],
|
|
10
|
-
setup(t, { emit: o }) {
|
|
11
|
-
const a = o, i = t, n = c("liItem");
|
|
12
|
-
return d(
|
|
13
|
-
() => i.active,
|
|
14
|
-
(e) => {
|
|
15
|
-
e && m(() => {
|
|
16
|
-
n.value && n.value.focus();
|
|
17
|
-
});
|
|
18
|
-
},
|
|
19
|
-
{ immediate: !0 }
|
|
20
|
-
), (e, l) => (r(), f("li", {
|
|
21
|
-
ref: "liItem",
|
|
22
|
-
class: v(["uikit-list-none uikit-text-w-black", [
|
|
23
|
-
{ "active uikit-bg-w-cultured": t.active },
|
|
24
|
-
"uikit-outline-none",
|
|
25
|
-
e.$attrs.class
|
|
26
|
-
]]),
|
|
27
|
-
"data-active": t.active,
|
|
28
|
-
tabindex: e.$attrs.tabindex ?? -1,
|
|
29
|
-
onClick: l[0] || (l[0] = (s) => a("click", i.idx)),
|
|
30
|
-
onMouseover: l[1] || (l[1] = (s) => a("mouseover", i.idx))
|
|
31
|
-
}, [
|
|
32
|
-
k(e.$slots, "default", { itemIdx: t.idx }, () => [
|
|
33
|
-
x("span", {
|
|
34
|
-
innerHTML: i.label
|
|
35
|
-
}, null, 8, p)
|
|
36
|
-
])
|
|
37
|
-
], 42, b));
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
$ as default
|
|
42
|
-
};
|
package/dist/UIKit/BaseSlider.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Optional } from '@wikicasa-dev/types';
|
|
2
|
-
import { ToastPortalProps, ToastRootProps, ToastProviderProps } from 'reka-ui';
|
|
3
|
-
import { ClassTypeProp } from './types';
|
|
4
|
-
export type SnackbarProps = {
|
|
5
|
-
alertClass?: "primary" | "danger" | "darkblue";
|
|
6
|
-
/**
|
|
7
|
-
* Time in milliseconds that each toast should remain visible for.
|
|
8
|
-
*/
|
|
9
|
-
duration?: ToastRootProps["duration"];
|
|
10
|
-
/**
|
|
11
|
-
* Direction of pointer swipe that should close the toast.
|
|
12
|
-
* @defaultValue "left"
|
|
13
|
-
*/
|
|
14
|
-
swipeDirection?: ToastProviderProps["swipeDirection"];
|
|
15
|
-
/**
|
|
16
|
-
* Vue native teleport component prop :to
|
|
17
|
-
* @see https://vuejs.org/guide/built-ins/teleport.html#basic-usage
|
|
18
|
-
*
|
|
19
|
-
* If false, the viewport won't use the teleport feature.
|
|
20
|
-
*/
|
|
21
|
-
to?: string | false | ToastPortalProps["to"];
|
|
22
|
-
dataCy?: string;
|
|
23
|
-
withCloseIcon?: boolean;
|
|
24
|
-
closeClasses?: ClassTypeProp;
|
|
25
|
-
viewportClasses?: ClassTypeProp;
|
|
26
|
-
/**
|
|
27
|
-
* Control the sensitivity of the toast for accessibility purposes.
|
|
28
|
-
* For toasts that are the result of a user action, choose foreground. Toasts generated from background tasks should use background.
|
|
29
|
-
* @defaultValue "foreground"
|
|
30
|
-
*/
|
|
31
|
-
type?: ToastRootProps["type"];
|
|
32
|
-
};
|
|
33
|
-
declare const _default: typeof __VLS_export;
|
|
34
|
-
export default _default;
|
|
35
|
-
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<SnackbarProps & {
|
|
36
|
-
open?: Optional<boolean>;
|
|
37
|
-
refresh?: Optional<boolean>;
|
|
38
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
"update:refresh": (value: Optional<boolean>) => any;
|
|
40
|
-
"update:open": (value: Optional<boolean>) => any;
|
|
41
|
-
}, string, import('vue').PublicProps, Readonly<SnackbarProps & {
|
|
42
|
-
open?: Optional<boolean>;
|
|
43
|
-
refresh?: Optional<boolean>;
|
|
44
|
-
}> & Readonly<{
|
|
45
|
-
"onUpdate:refresh"?: ((value: Optional<boolean>) => any) | undefined;
|
|
46
|
-
"onUpdate:open"?: ((value: Optional<boolean>) => any) | undefined;
|
|
47
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
48
|
-
trigger?: (props: {
|
|
49
|
-
open: () => boolean;
|
|
50
|
-
}) => any;
|
|
51
|
-
} & {
|
|
52
|
-
title?: (props: {}) => any;
|
|
53
|
-
} & {
|
|
54
|
-
default?: (props: {}) => any;
|
|
55
|
-
} & {
|
|
56
|
-
'toast-close'?: (props: {}) => any;
|
|
57
|
-
} & {
|
|
58
|
-
'toast-action'?: (props: {}) => any;
|
|
59
|
-
}>;
|
|
60
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
61
|
-
new (): {
|
|
62
|
-
$slots: S;
|
|
63
|
-
};
|
|
64
|
-
};
|