@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,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, inject as a, computed as c, openBlock as m, createElementBlock as n, normalizeClass as s, renderSlot as i } from "vue";
|
|
2
|
-
import { CardTypeKey as d } from "./type.js";
|
|
3
|
-
const f = /* @__PURE__ */ t({
|
|
4
|
-
__name: "CardImagePrimitive",
|
|
5
|
-
setup(l) {
|
|
6
|
-
const e = a(d, void 0), r = c(() => e ? `${e}-img` : "");
|
|
7
|
-
return (o, p) => (m(), n("div", {
|
|
8
|
-
class: s(["card-img", [r.value]])
|
|
9
|
-
}, [
|
|
10
|
-
i(o.$slots, "default")
|
|
11
|
-
], 2));
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
f as default
|
|
16
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CardTypes } from './type';
|
|
2
|
-
export type CardRootTypes = "div" | "article";
|
|
3
|
-
export type BaseCardRootProps = {
|
|
4
|
-
type?: CardTypes;
|
|
5
|
-
as?: CardRootTypes;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BaseCardRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
click: (args_0: MouseEvent) => any;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<BaseCardRootProps> & Readonly<{
|
|
12
|
-
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
14
|
-
default?: (props: {}) => any;
|
|
15
|
-
}>;
|
|
16
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
-
new (): {
|
|
18
|
-
$slots: S;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, computed as r, provide as c, openBlock as d, createBlock as m, resolveDynamicComponent as p, normalizeClass as u, withCtx as f, renderSlot as y } from "vue";
|
|
2
|
-
import { CardTypeKey as C } from "./type.js";
|
|
3
|
-
const w = /* @__PURE__ */ n({
|
|
4
|
-
__name: "CardRootPrimitive",
|
|
5
|
-
props: {
|
|
6
|
-
type: { default: "" },
|
|
7
|
-
as: { default: "div" }
|
|
8
|
-
},
|
|
9
|
-
emits: ["click"],
|
|
10
|
-
setup(e, { emit: a }) {
|
|
11
|
-
const o = a, s = r(
|
|
12
|
-
() => e.type === "news" ? "news-card" : e.type
|
|
13
|
-
);
|
|
14
|
-
return c(C, e.type), (i, t) => (d(), m(p(e.as), {
|
|
15
|
-
class: u(["uikit-card", s.value]),
|
|
16
|
-
onClick: t[0] || (t[0] = (l) => o("click", l))
|
|
17
|
-
}, {
|
|
18
|
-
default: f(() => [
|
|
19
|
-
y(i.$slots, "default")
|
|
20
|
-
]),
|
|
21
|
-
_: 3
|
|
22
|
-
}, 8, ["class"]));
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
w as default
|
|
27
|
-
};
|
package/dist/UIKit/Card/type.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ClassTypeProp } from '../types';
|
|
2
|
-
import { AcceptableValue } from 'reka-ui';
|
|
3
|
-
export type CheckboxBtnExposeType = {
|
|
4
|
-
getRootElement: () => HTMLElement | null;
|
|
5
|
-
getCheckboxElement: () => HTMLElement;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
declare const __VLS_export: <TID extends string | number, TLabel extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
10
|
-
props: import('vue').PublicProps & __VLS_PrettifyLocal<({
|
|
11
|
-
id?: TID;
|
|
12
|
-
dataCy?: string;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use v-model instead
|
|
16
|
-
*/
|
|
17
|
-
checked?: boolean;
|
|
18
|
-
required?: boolean;
|
|
19
|
-
inputClass?: ClassTypeProp;
|
|
20
|
-
label?: TLabel;
|
|
21
|
-
value?: AcceptableValue;
|
|
22
|
-
} & {
|
|
23
|
-
modelValue?: boolean;
|
|
24
|
-
}) & {
|
|
25
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
26
|
-
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
27
|
-
onChange?: ((args_0: {
|
|
28
|
-
id: TID;
|
|
29
|
-
label: TLabel;
|
|
30
|
-
checked: boolean;
|
|
31
|
-
}) => any) | undefined;
|
|
32
|
-
}> & (typeof globalThis extends {
|
|
33
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
34
|
-
} ? P : {});
|
|
35
|
-
expose: (exposed: import('vue').ShallowUnwrapRef<CheckboxBtnExposeType>) => void;
|
|
36
|
-
attrs: any;
|
|
37
|
-
slots: {
|
|
38
|
-
label?: (props: {}) => any;
|
|
39
|
-
};
|
|
40
|
-
emit: (((evt: "click", args_0: MouseEvent) => void) & ((evt: "change", args_0: {
|
|
41
|
-
id: TID;
|
|
42
|
-
label: TLabel;
|
|
43
|
-
checked: boolean;
|
|
44
|
-
}) => void)) & ((event: "update:modelValue", value: boolean) => void);
|
|
45
|
-
}>) => import('vue').VNode & {
|
|
46
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
47
|
-
};
|
|
48
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} : {
|
|
51
|
-
[K in keyof T as K]: T[K];
|
|
52
|
-
}) & {};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, useId as p, useTemplateRef as c, useModel as B, watch as I, inject as u, onMounted as V, onUnmounted as R, openBlock as n, createElementBlock as w, createVNode as r, unref as l, normalizeClass as E, withCtx as s, createBlock as M, createCommentVNode as N, renderSlot as j, createTextVNode as z, toDisplayString as S, mergeModels as k } from "vue";
|
|
2
|
-
import { CheckIcon as T } from "@wikicasa-dev/svg-icons";
|
|
3
|
-
import { CheckboxRoot as U, CheckboxIndicator as $ } from "reka-ui";
|
|
4
|
-
const F = /* @__PURE__ */ y({
|
|
5
|
-
__name: "CheckboxBtn",
|
|
6
|
-
props: /* @__PURE__ */ k({
|
|
7
|
-
id: {},
|
|
8
|
-
dataCy: {},
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
checked: { type: Boolean, default: () => {
|
|
11
|
-
} },
|
|
12
|
-
required: { type: Boolean },
|
|
13
|
-
inputClass: {},
|
|
14
|
-
label: { default: "" },
|
|
15
|
-
value: {}
|
|
16
|
-
}, {
|
|
17
|
-
modelValue: { type: Boolean, default: !1 },
|
|
18
|
-
modelModifiers: {}
|
|
19
|
-
}),
|
|
20
|
-
emits: /* @__PURE__ */ k(["click", "change"], ["update:modelValue"]),
|
|
21
|
-
setup(e, { expose: m, emit: f }) {
|
|
22
|
-
const h = p(), o = c("root"), b = c("checkboxRoot"), a = B(e, "modelValue"), i = f;
|
|
23
|
-
I(
|
|
24
|
-
() => e.checked,
|
|
25
|
-
(t) => {
|
|
26
|
-
t !== void 0 && (a.value = t);
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
const x = (t) => {
|
|
30
|
-
t !== "indeterminate" && (i("change", {
|
|
31
|
-
id: e.id ?? h,
|
|
32
|
-
label: e.label,
|
|
33
|
-
checked: t
|
|
34
|
-
}), a.value = t);
|
|
35
|
-
}, v = u("addItem", void 0), C = u(
|
|
36
|
-
"removeItem",
|
|
37
|
-
void 0
|
|
38
|
-
);
|
|
39
|
-
return V(() => {
|
|
40
|
-
v?.(e.value, o.value);
|
|
41
|
-
}), R(() => {
|
|
42
|
-
C?.(e.value);
|
|
43
|
-
}), m({
|
|
44
|
-
getRootElement: () => o.value,
|
|
45
|
-
getCheckboxElement: () => b.value?.$el
|
|
46
|
-
}), (t, d) => (n(), w("label", {
|
|
47
|
-
ref: "root",
|
|
48
|
-
class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
|
|
49
|
-
onClick: d[0] || (d[0] = (g) => i("click", g))
|
|
50
|
-
}, [
|
|
51
|
-
r(l(U), {
|
|
52
|
-
ref: "checkboxRoot",
|
|
53
|
-
"model-value": a.value,
|
|
54
|
-
"data-cy": e.dataCy,
|
|
55
|
-
disabled: e.disabled,
|
|
56
|
-
class: E(["uikit-inline-flex uikit-size-[20px] uikit-shrink-0 uikit-items-center uikit-justify-center uikit-rounded-[4px] uikit-p-0 data-[state='unchecked']:uikit-border data-[state='unchecked']:uikit-border-solid data-[state='unchecked']:uikit-border-w-lightgray data-[state='checked']:uikit-bg-w-primary data-[state='unchecked']:uikit-bg-white", e.inputClass]),
|
|
57
|
-
"onUpdate:modelValue": x
|
|
58
|
-
}, {
|
|
59
|
-
default: s(() => [
|
|
60
|
-
r(l($), { class: "uikit-flex" }, {
|
|
61
|
-
default: s(() => [
|
|
62
|
-
a.value === !0 ? (n(), M(l(T), {
|
|
63
|
-
key: 0,
|
|
64
|
-
"fill-color": "#fff",
|
|
65
|
-
width: 12,
|
|
66
|
-
height: 14
|
|
67
|
-
})) : N("", !0)
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
})
|
|
71
|
-
]),
|
|
72
|
-
_: 1
|
|
73
|
-
}, 8, ["model-value", "data-cy", "disabled", "class"]),
|
|
74
|
-
j(t.$slots, "label", {}, () => [
|
|
75
|
-
z(S(e.label), 1)
|
|
76
|
-
])
|
|
77
|
-
], 512));
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
export {
|
|
81
|
-
F as default
|
|
82
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { ClassTypeProp } from '../types';
|
|
2
|
-
export type CheckboxButtonType<TID = string | number, TLabel = string | number, TPayload = unknown> = {
|
|
3
|
-
id: TID;
|
|
4
|
-
label: TLabel;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
reset?: boolean;
|
|
7
|
-
payload?: TPayload;
|
|
8
|
-
dataCy?: string;
|
|
9
|
-
};
|
|
10
|
-
export type GetterIdType<T = CheckboxButtonType | string | number> = (checkboxBtn: T) => string;
|
|
11
|
-
export type CheckboxGroupProps<TID = string | number, TLabel = string | number, TPayload = unknown> = {
|
|
12
|
-
checkboxData?: CheckboxButtonType<TID, TLabel, TPayload>[];
|
|
13
|
-
formCheckInline?: boolean;
|
|
14
|
-
reset?: boolean;
|
|
15
|
-
checkboxContainerClasses?: ClassTypeProp;
|
|
16
|
-
/**
|
|
17
|
-
* [ResetCheckbox required] If true, when you check all the checkboxes, the reset one will be checked
|
|
18
|
-
*/
|
|
19
|
-
autoCheckResetAll?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* [ResetCheckbox required] If true, when you uncheck all the checkboxes, the reset one will be checked
|
|
22
|
-
*/
|
|
23
|
-
autoCheckResetEmpty?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* [ResetCheckbox required]
|
|
26
|
-
* If true, you can manually toggle the reset button.
|
|
27
|
-
* Otherwise, if autoCheckResetEmpty is false, the reset button would never be unchecked when the user clicks on it
|
|
28
|
-
*/
|
|
29
|
-
manualToggleResetButton?: boolean;
|
|
30
|
-
getKey?: GetterIdType;
|
|
31
|
-
groupId?: string;
|
|
32
|
-
dataCy?: string;
|
|
33
|
-
};
|
|
34
|
-
declare const _default: typeof __VLS_export;
|
|
35
|
-
export default _default;
|
|
36
|
-
declare const __VLS_export: <TID extends string | number, TLabel extends string | number, TPayload>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
37
|
-
props: import('vue').PublicProps & __VLS_PrettifyLocal<(CheckboxGroupProps<TID, TLabel, TPayload> & {
|
|
38
|
-
/**
|
|
39
|
-
* If true, we will reinitialized the inner data of the component
|
|
40
|
-
*/
|
|
41
|
-
refresh?: boolean;
|
|
42
|
-
}) & {
|
|
43
|
-
"onUpdate:modelValue"?: ((args_0: CheckboxButtonType<TID, TLabel, TPayload>[]) => any) | undefined;
|
|
44
|
-
onResetted?: (() => any) | undefined;
|
|
45
|
-
onCheckedGroup?: ((args_0: string) => any) | undefined;
|
|
46
|
-
"onUpdate:refresh"?: ((value: boolean) => any) | undefined;
|
|
47
|
-
}> & (typeof globalThis extends {
|
|
48
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
49
|
-
} ? P : {});
|
|
50
|
-
expose: (exposed: {}) => void;
|
|
51
|
-
attrs: any;
|
|
52
|
-
slots: {
|
|
53
|
-
default?: (props: {
|
|
54
|
-
isActive: (elem: CheckboxButtonType<TID, TLabel, TPayload> | string | number) => boolean;
|
|
55
|
-
handleChange: (checkboxValue: CheckboxButtonType<TID, TLabel, TPayload>) => void;
|
|
56
|
-
checkboxesData: CheckboxButtonType<TID, TLabel, TPayload>[];
|
|
57
|
-
}) => any;
|
|
58
|
-
} & {
|
|
59
|
-
checkbox_elements?: (props: {
|
|
60
|
-
isActive: (elem: CheckboxButtonType<TID, TLabel, TPayload> | string | number) => boolean;
|
|
61
|
-
handleChange: (checkboxValue: CheckboxButtonType<TID, TLabel, TPayload>) => void;
|
|
62
|
-
checkboxesData: CheckboxButtonType<TID, TLabel, TPayload>[];
|
|
63
|
-
reset: () => void;
|
|
64
|
-
}) => any;
|
|
65
|
-
};
|
|
66
|
-
emit: (((evt: "update:modelValue", args_0: CheckboxButtonType<TID, TLabel, TPayload>[]) => void) & ((evt: "resetted") => void) & ((evt: "checkedGroup", args_0: string) => void)) & ((event: "update:refresh", value: boolean) => void);
|
|
67
|
-
}>) => import('vue').VNode & {
|
|
68
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
69
|
-
};
|
|
70
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
71
|
-
[K in keyof T]: T[K];
|
|
72
|
-
} : {
|
|
73
|
-
[K in keyof T as K]: T[K];
|
|
74
|
-
}) & {};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, useModel as A, ref as I, computed as i, watch as y, renderSlot as C, createElementVNode as M, normalizeClass as p, openBlock as x, createElementBlock as R, Fragment as K, renderList as V, createBlock as w, unref as L, createCommentVNode as G, mergeModels as v } from "vue";
|
|
2
|
-
import { stringToHyphened as N, isArrNullOrEmpty as T } from "@wikicasa-dev/utilities";
|
|
3
|
-
import F from "./CheckboxBtn.vue.js";
|
|
4
|
-
import '../../assets/CheckboxBtn.css';/* empty css */
|
|
5
|
-
const O = ["id", "data-cy"], q = /* @__PURE__ */ B({
|
|
6
|
-
inheritAttrs: !1,
|
|
7
|
-
__name: "CheckboxGroup",
|
|
8
|
-
props: /* @__PURE__ */ v({
|
|
9
|
-
checkboxData: { default() {
|
|
10
|
-
return [];
|
|
11
|
-
} },
|
|
12
|
-
formCheckInline: { type: Boolean, default: !1 },
|
|
13
|
-
reset: { type: Boolean, default: !1 },
|
|
14
|
-
checkboxContainerClasses: { default: "" },
|
|
15
|
-
autoCheckResetAll: { type: Boolean, default: !1 },
|
|
16
|
-
autoCheckResetEmpty: { type: Boolean, default: !1 },
|
|
17
|
-
manualToggleResetButton: { type: Boolean, default: !1 },
|
|
18
|
-
getKey: { type: Function, default: (a) => typeof a == "string" || typeof a == "number" ? `${a}` : `${a.id}` },
|
|
19
|
-
groupId: { default: "" },
|
|
20
|
-
dataCy: { default: "" }
|
|
21
|
-
}, {
|
|
22
|
-
refresh: { type: Boolean, default: !1 },
|
|
23
|
-
refreshModifiers: {}
|
|
24
|
-
}),
|
|
25
|
-
emits: /* @__PURE__ */ v(["resetted", "update:modelValue", "checkedGroup"], ["update:refresh"]),
|
|
26
|
-
setup(a, { emit: D }) {
|
|
27
|
-
const o = a, s = D, f = A(a, "refresh"), l = I(
|
|
28
|
-
/* @__PURE__ */ new Map()
|
|
29
|
-
), r = i(() => {
|
|
30
|
-
for (const e of o.checkboxData)
|
|
31
|
-
if (e.reset) return e;
|
|
32
|
-
return null;
|
|
33
|
-
}), E = i(() => o.checkboxData.length), k = i(() => {
|
|
34
|
-
let e = 0;
|
|
35
|
-
return l.value.forEach((c) => {
|
|
36
|
-
c.checked && e++;
|
|
37
|
-
}), e;
|
|
38
|
-
}), m = () => {
|
|
39
|
-
const e = [], c = /* @__PURE__ */ new Map();
|
|
40
|
-
for (const t of o.checkboxData)
|
|
41
|
-
c.set(`${t.id}`, {
|
|
42
|
-
...t,
|
|
43
|
-
checked: !!t.checked
|
|
44
|
-
}), t.checked && e.push(t);
|
|
45
|
-
l.value = c, s("update:modelValue", e);
|
|
46
|
-
};
|
|
47
|
-
m();
|
|
48
|
-
const u = (e, c) => {
|
|
49
|
-
const t = l.value.get(e);
|
|
50
|
-
if (t) {
|
|
51
|
-
if (c) {
|
|
52
|
-
l.value.set(e, { ...t, ...c });
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
l.value.set(e, { ...t, checked: !t.checked });
|
|
56
|
-
}
|
|
57
|
-
}, b = () => {
|
|
58
|
-
l.value.forEach((e) => {
|
|
59
|
-
e.checked = !1;
|
|
60
|
-
});
|
|
61
|
-
}, g = () => {
|
|
62
|
-
b(), s("update:modelValue", []), s("resetted");
|
|
63
|
-
}, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, h = (e) => {
|
|
64
|
-
if (T(o.checkboxData)) return;
|
|
65
|
-
const c = l.value.get(e.id);
|
|
66
|
-
c?.reset && e.checked ? b() : r.value && !c?.reset && u(o.getKey(r.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && r.value && k.value === E.value - 1 && l.value.forEach((n) => {
|
|
67
|
-
n.checked = !!n.reset;
|
|
68
|
-
}), o.autoCheckResetEmpty && r.value && !k.value && (!o.manualToggleResetButton || !c?.reset) && u(o.getKey(r.value), { checked: !0 });
|
|
69
|
-
const t = [];
|
|
70
|
-
l.value.forEach((n) => {
|
|
71
|
-
n.checked && t.push(n);
|
|
72
|
-
}), s("update:modelValue", t), s("checkedGroup", o.groupId);
|
|
73
|
-
};
|
|
74
|
-
return y(
|
|
75
|
-
() => o.reset,
|
|
76
|
-
(e) => {
|
|
77
|
-
e && g();
|
|
78
|
-
}
|
|
79
|
-
), y(f, (e) => {
|
|
80
|
-
e && (m(), f.value = !1);
|
|
81
|
-
}), (e, c) => C(e.$slots, "default", {
|
|
82
|
-
isActive: d,
|
|
83
|
-
handleChange: h,
|
|
84
|
-
checkboxesData: a.checkboxData
|
|
85
|
-
}, () => [
|
|
86
|
-
M("div", {
|
|
87
|
-
id: a.groupId,
|
|
88
|
-
class: p(["checkbox-group-container", e.$attrs.class || ""]),
|
|
89
|
-
"data-cy": a.dataCy
|
|
90
|
-
}, [
|
|
91
|
-
C(e.$slots, "checkbox_elements", {
|
|
92
|
-
isActive: d,
|
|
93
|
-
handleChange: h,
|
|
94
|
-
checkboxesData: a.checkboxData,
|
|
95
|
-
reset: g
|
|
96
|
-
}, () => [
|
|
97
|
-
a.checkboxData ? (x(!0), R(K, { key: 0 }, V(a.checkboxData, (t, n) => (x(), w(F, {
|
|
98
|
-
id: a.getKey(t),
|
|
99
|
-
key: n,
|
|
100
|
-
"data-cy": t.dataCy ?? `checkbox_${L(N)(`${t.label}`)}`,
|
|
101
|
-
label: t.label,
|
|
102
|
-
inline: a.formCheckInline,
|
|
103
|
-
"model-value": d(t),
|
|
104
|
-
class: p([
|
|
105
|
-
a.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
|
|
106
|
-
a.checkboxContainerClasses
|
|
107
|
-
]),
|
|
108
|
-
onChange: c[0] || (c[0] = ($) => h($))
|
|
109
|
-
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "class"]))), 128)) : G("", !0)
|
|
110
|
-
])
|
|
111
|
-
], 10, O)
|
|
112
|
-
]);
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
export {
|
|
116
|
-
q as default
|
|
117
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { CheckboxRootProps, AcceptableValue } from 'reka-ui';
|
|
2
|
-
export interface CheckboxButtonGroupProps {
|
|
3
|
-
dataCy?: string;
|
|
4
|
-
items?: CheckboxButtonItem[];
|
|
5
|
-
/**
|
|
6
|
-
* Value of the reset button
|
|
7
|
-
*/
|
|
8
|
-
resetValue?: AcceptableValue;
|
|
9
|
-
}
|
|
10
|
-
export interface CheckboxButtonItem {
|
|
11
|
-
dataCy?: string;
|
|
12
|
-
value: CheckboxRootProps["value"];
|
|
13
|
-
required?: boolean;
|
|
14
|
-
label: string;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: typeof __VLS_export;
|
|
17
|
-
export default _default;
|
|
18
|
-
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<CheckboxButtonGroupProps & {
|
|
19
|
-
modelValue?: NonNullable<AcceptableValue>[];
|
|
20
|
-
reset?: boolean;
|
|
21
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: NonNullable<AcceptableValue>[]) => any;
|
|
23
|
-
"update:reset": (value: boolean) => any;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<CheckboxButtonGroupProps & {
|
|
25
|
-
modelValue?: NonNullable<AcceptableValue>[];
|
|
26
|
-
reset?: boolean;
|
|
27
|
-
}> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((value: NonNullable<AcceptableValue>[]) => any) | undefined;
|
|
29
|
-
"onUpdate:reset"?: ((value: boolean) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
31
|
-
default?: (props: {
|
|
32
|
-
isChecked: (value: CheckboxRootProps["value"]) => boolean;
|
|
33
|
-
handleCheck: (value: CheckboxRootProps["value"], checked: boolean) => void;
|
|
34
|
-
handleResetCheck: (checked: boolean) => void;
|
|
35
|
-
}) => any;
|
|
36
|
-
}>;
|
|
37
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
-
new (): {
|
|
39
|
-
$slots: S;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, useModel as f, provide as m, watch as k, openBlock as n, createElementBlock as h, renderSlot as y, Fragment as C, renderList as g, createBlock as B, withCtx as x, createTextVNode as M, toDisplayString as b, mergeModels as U } from "vue";
|
|
2
|
-
import q from "../CheckboxBtn.vue.js";
|
|
3
|
-
import '../../../assets/CheckboxBtn.css';/* empty css */
|
|
4
|
-
const w = ["data-cy"], I = /* @__PURE__ */ v({
|
|
5
|
-
__name: "CheckboxButtonGroup",
|
|
6
|
-
props: /* @__PURE__ */ U({
|
|
7
|
-
dataCy: {},
|
|
8
|
-
items: { default: () => [] },
|
|
9
|
-
resetValue: {}
|
|
10
|
-
}, {
|
|
11
|
-
modelValue: {
|
|
12
|
-
default: () => []
|
|
13
|
-
},
|
|
14
|
-
modelModifiers: {},
|
|
15
|
-
reset: { type: Boolean, default: !1 },
|
|
16
|
-
resetModifiers: {}
|
|
17
|
-
}),
|
|
18
|
-
emits: ["update:modelValue", "update:reset"],
|
|
19
|
-
setup(l) {
|
|
20
|
-
const a = f(l, "modelValue"), o = f(l, "reset"), r = /* @__PURE__ */ new Map(), c = (e) => e ? a.value.includes(e) : !1, i = (e, u) => {
|
|
21
|
-
if (!e) return;
|
|
22
|
-
let t = [];
|
|
23
|
-
if (u ? t = [...a.value, e] : t = a.value.filter((d) => d !== e), !l.resetValue) {
|
|
24
|
-
a.value = t;
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
t = t.filter((d) => d !== l.resetValue);
|
|
28
|
-
const s = Array.from(r.keys()).filter(
|
|
29
|
-
(d) => !t.includes(d)
|
|
30
|
-
);
|
|
31
|
-
console.log("DEBUG:handleCheck => update", {
|
|
32
|
-
registeredItems: r,
|
|
33
|
-
checkedList: t,
|
|
34
|
-
uncheckedList: s
|
|
35
|
-
}), s.length === r.size && (t = [l.resetValue], r.get(l.resetValue)?.focus?.()), t.length === r.size - 1 && (t = [l.resetValue], r.get(l.resetValue)?.focus?.()), a.value = t;
|
|
36
|
-
}, V = (e) => {
|
|
37
|
-
if (l.resetValue) {
|
|
38
|
-
if (console.log("DEBUG:handleResetCheck", { resetValue: l.resetValue }), e) {
|
|
39
|
-
a.value = [l.resetValue];
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
a.value = a.value.filter((u) => u !== l.resetValue);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
return m(
|
|
46
|
-
"addItem",
|
|
47
|
-
(e, u) => {
|
|
48
|
-
!e || !u || r.set(e, u);
|
|
49
|
-
}
|
|
50
|
-
), m("removeItem", (e) => {
|
|
51
|
-
e && r.delete(e);
|
|
52
|
-
}), k(o, (e) => {
|
|
53
|
-
e && (a.value = [], o.value = !1);
|
|
54
|
-
}), (e, u) => (n(), h("div", { "data-cy": l.dataCy }, [
|
|
55
|
-
y(e.$slots, "default", {
|
|
56
|
-
isChecked: c,
|
|
57
|
-
handleCheck: i,
|
|
58
|
-
handleResetCheck: V
|
|
59
|
-
}, () => [
|
|
60
|
-
(n(!0), h(C, null, g(l.items, (t) => (n(), B(q, {
|
|
61
|
-
key: `checkbox-item-${t.value}`,
|
|
62
|
-
required: t.required,
|
|
63
|
-
"data-cy": t.dataCy,
|
|
64
|
-
"model-value": c(t.value),
|
|
65
|
-
"onUpdate:modelValue": (s) => i(t.value, s)
|
|
66
|
-
}, {
|
|
67
|
-
label: x(() => [
|
|
68
|
-
M(b(t.label), 1)
|
|
69
|
-
]),
|
|
70
|
-
_: 2
|
|
71
|
-
}, 1032, ["required", "data-cy", "model-value", "onUpdate:modelValue"]))), 128))
|
|
72
|
-
])
|
|
73
|
-
], 8, w));
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
export {
|
|
77
|
-
I as default
|
|
78
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CheckboxRootProps } from 'reka-ui';
|
|
2
|
-
export type CheckboxGroupItemPrimitiveValueType<T extends undefined | CheckboxRootProps["value"] = undefined> = T;
|
|
3
|
-
export interface CheckboxGroupItemPrimitiveProps<T = boolean, TValue extends CheckboxRootProps["value"] | undefined = undefined> extends Omit<CheckboxRootProps<T>, "value"> {
|
|
4
|
-
dataCy?: string;
|
|
5
|
-
value: CheckboxGroupItemPrimitiveValueType<TValue>;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
declare const __VLS_export: <T, TValue extends CheckboxRootProps["value"] | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
10
|
-
props: import('vue').PublicProps & __VLS_PrettifyLocal<CheckboxGroupItemPrimitiveProps<T, TValue> & {
|
|
11
|
-
"onUpdate:modelValue"?: ((value: "indeterminate" | T) => any) | undefined;
|
|
12
|
-
}> & (typeof globalThis extends {
|
|
13
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
-
} ? P : {});
|
|
15
|
-
expose: (exposed: {}) => void;
|
|
16
|
-
attrs: any;
|
|
17
|
-
slots: {
|
|
18
|
-
default?: (props: {
|
|
19
|
-
modelValue: "indeterminate" | T;
|
|
20
|
-
state: import('reka-ui').CheckboxCheckedState;
|
|
21
|
-
}) => any;
|
|
22
|
-
};
|
|
23
|
-
emit: (evt: "update:modelValue", value: "indeterminate" | T) => void;
|
|
24
|
-
}>) => import('vue').VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
|
-
};
|
|
27
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} : {
|
|
30
|
-
[K in keyof T as K]: T[K];
|
|
31
|
-
}) & {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, createPropsRestProxy as s, openBlock as m, createBlock as n, unref as p, mergeProps as i, withCtx as c, renderSlot as f, normalizeProps as y, guardReactiveProps as C } from "vue";
|
|
2
|
-
import { CheckboxRoot as V } from "reka-ui";
|
|
3
|
-
const B = /* @__PURE__ */ u({
|
|
4
|
-
__name: "CheckboxGroupItemPrimitive",
|
|
5
|
-
props: {
|
|
6
|
-
dataCy: {},
|
|
7
|
-
value: {},
|
|
8
|
-
defaultValue: {},
|
|
9
|
-
modelValue: {},
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
id: {},
|
|
12
|
-
trueValue: {},
|
|
13
|
-
falseValue: {},
|
|
14
|
-
asChild: { type: Boolean },
|
|
15
|
-
as: {},
|
|
16
|
-
name: {},
|
|
17
|
-
required: { type: Boolean }
|
|
18
|
-
},
|
|
19
|
-
emits: ["update:modelValue"],
|
|
20
|
-
setup(a, { emit: o }) {
|
|
21
|
-
const r = s(a, ["dataCy"]), l = o;
|
|
22
|
-
return (d, t) => (m(), n(p(V), i(r, {
|
|
23
|
-
"data-cy": a.dataCy,
|
|
24
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => l("update:modelValue", e))
|
|
25
|
-
}), {
|
|
26
|
-
default: c((e) => [
|
|
27
|
-
f(d.$slots, "default", y(C(e)))
|
|
28
|
-
]),
|
|
29
|
-
_: 3
|
|
30
|
-
}, 16, ["data-cy"]));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
B as default
|
|
35
|
-
};
|