@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,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as V,
|
|
2
|
-
|
|
1
|
+
import { defineComponent as V, mergeModels as L, useCssVars as S, ref as m, useTemplateRef as T, useModel as y, watch as E, onMounted as C, createElementBlock as X, openBlock as $, createElementVNode as d, withModifiers as B } from "vue";
|
|
2
|
+
import { _ as D } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
+
import './assets/SimpleSlider.css';const W = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__ */ V({
|
|
3
4
|
__name: "SimpleSlider",
|
|
4
|
-
props: /* @__PURE__ */
|
|
5
|
+
props: /* @__PURE__ */ L({
|
|
5
6
|
min: { default: 0 },
|
|
6
7
|
max: { default: 100 },
|
|
7
8
|
step: { default: 1 },
|
|
@@ -13,17 +14,17 @@ const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__
|
|
|
13
14
|
}),
|
|
14
15
|
emits: ["update:modelValue"],
|
|
15
16
|
setup(t) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
S((i) => ({
|
|
18
|
+
"426d6508": r.value,
|
|
19
|
+
61060832: s.value
|
|
19
20
|
}));
|
|
20
|
-
const
|
|
21
|
-
const e = t.logarithmic ? b(i) :
|
|
22
|
-
|
|
23
|
-
},
|
|
21
|
+
const o = T("customSlider"), u = y(t, "modelValue"), l = m(!1), s = m("50%"), r = m("50%"), c = (i = 0) => {
|
|
22
|
+
const e = t.logarithmic ? b(i) : k(i), a = (e - t.min) / (t.max - t.min), f = t.logarithmic ? h(e) : a * 100;
|
|
23
|
+
u.value = Math.round(e), s.value = `${Math.round(f)}%`, r.value = t.logarithmic ? `${Math.round(h(e))}%` : `${a * 100}%`;
|
|
24
|
+
}, k = (i = 0) => {
|
|
24
25
|
const e = Math.round((i - t.min) / t.step) * t.step + t.min;
|
|
25
26
|
return Math.max(t.min, Math.min(t.max, e));
|
|
26
|
-
},
|
|
27
|
+
}, x = (i = 0) => {
|
|
27
28
|
const e = Math.log10(t.min), a = Math.log10(t.max);
|
|
28
29
|
return Math.pow(10, e + i / 100 * (a - e));
|
|
29
30
|
}, h = (i = 0) => {
|
|
@@ -38,45 +39,45 @@ const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__
|
|
|
38
39
|
);
|
|
39
40
|
return Math.max(t.min, Math.min(t.max, e));
|
|
40
41
|
}, v = (i) => {
|
|
41
|
-
if (!
|
|
42
|
-
const e =
|
|
42
|
+
if (!l.value || !o.value) return;
|
|
43
|
+
const e = o.value.getBoundingClientRect(), a = o.value.offsetWidth;
|
|
43
44
|
let n = ("touches" in i ? i.touches[0].clientX : i.clientX) - e.left;
|
|
44
45
|
n = Math.max(0, Math.min(a, n));
|
|
45
|
-
const w = t.logarithmic ?
|
|
46
|
+
const w = t.logarithmic ? x(n / a * 100) : n / a * (t.max - t.min) + t.min;
|
|
46
47
|
c(w);
|
|
47
48
|
}, M = () => {
|
|
48
|
-
|
|
49
|
+
l.value = !0;
|
|
49
50
|
}, g = () => {
|
|
50
|
-
|
|
51
|
+
l.value = !1;
|
|
51
52
|
};
|
|
52
53
|
return E(
|
|
53
|
-
|
|
54
|
+
u,
|
|
54
55
|
(i) => {
|
|
55
56
|
c(i);
|
|
56
57
|
},
|
|
57
58
|
{ immediate: !0 }
|
|
58
|
-
),
|
|
59
|
+
), C(() => {
|
|
59
60
|
document.addEventListener("mousemove", v), document.addEventListener("mouseup", g), document.addEventListener("touchmove", v, { passive: !0 }), document.addEventListener("touchend", g, { passive: !0 });
|
|
60
|
-
}), (i, e) => (
|
|
61
|
+
}), (i, e) => ($(), X("div", null, [
|
|
61
62
|
d("div", {
|
|
62
63
|
ref: "customSlider",
|
|
63
|
-
class: "uikit
|
|
64
|
+
class: "uikit:relative uikit:my-20px uikit:h-1 uikit:rounded-2xs uikit:bg-w-secondary",
|
|
64
65
|
role: "slider",
|
|
65
|
-
"aria-valuemin":
|
|
66
|
-
"aria-valuemax":
|
|
67
|
-
"aria-valuenow":
|
|
66
|
+
"aria-valuemin": i.min,
|
|
67
|
+
"aria-valuemax": i.max,
|
|
68
|
+
"aria-valuenow": u.value,
|
|
68
69
|
tabindex: "0"
|
|
69
70
|
}, [
|
|
70
|
-
e[2] || (e[2] = d("div", { class: "slider-track uikit
|
|
71
|
+
e[2] || (e[2] = d("div", { class: "slider-track uikit:absolute uikit:left-0 uikit:top-0 uikit:h-full uikit:rounded-2xs uikit:bg-w-primary" }, null, -1)),
|
|
71
72
|
d("div", {
|
|
72
|
-
class: "slider-thumb uikit
|
|
73
|
+
class: "slider-thumb uikit:absolute uikit:-top-2 uikit:size-20px uikit:-translate-x-1/2 uikit:cursor-pointer uikit:rounded-full uikit:border-2 uikit:border-solid uikit:border-w-primary uikit:bg-white",
|
|
73
74
|
onMousedown: e[0] || (e[0] = (a) => M()),
|
|
74
|
-
onTouchstart: e[1] || (e[1] =
|
|
75
|
+
onTouchstart: e[1] || (e[1] = B((a) => M(), ["prevent"]))
|
|
75
76
|
}, null, 32)
|
|
76
|
-
], 8,
|
|
77
|
+
], 8, W)
|
|
77
78
|
]));
|
|
78
79
|
}
|
|
79
|
-
});
|
|
80
|
+
}), I = /* @__PURE__ */ D(P, [["__scopeId", "data-v-9675b37b"]]);
|
|
80
81
|
export {
|
|
81
|
-
|
|
82
|
+
I as default
|
|
82
83
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as t, createElementBlock as o, openBlock as s, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
+
import './assets/StaticSpinner.css';const c = {
|
|
4
|
+
viewBox: "0 0 128 128",
|
|
5
|
+
class: "icon-spin uikit:h-6 uikit:w-6"
|
|
6
|
+
}, i = ["stroke", "stroke-width"], a = /* @__PURE__ */ t({
|
|
7
|
+
__name: "StaticSpinner",
|
|
8
|
+
props: {
|
|
9
|
+
thickness: { default: 9 },
|
|
10
|
+
strokeColor: { default: "#fff" }
|
|
11
|
+
},
|
|
12
|
+
setup(l) {
|
|
13
|
+
return (e, p) => (s(), o("svg", c, [
|
|
14
|
+
r("circle", {
|
|
15
|
+
class: "path",
|
|
16
|
+
cx: "64",
|
|
17
|
+
cy: "64",
|
|
18
|
+
r: "42",
|
|
19
|
+
fill: "none",
|
|
20
|
+
stroke: e.strokeColor,
|
|
21
|
+
"stroke-width": e.thickness
|
|
22
|
+
}, null, 8, i)
|
|
23
|
+
]));
|
|
24
|
+
}
|
|
25
|
+
}), f = /* @__PURE__ */ n(a, [["__scopeId", "data-v-81d8171a"]]);
|
|
26
|
+
export {
|
|
27
|
+
f as default
|
|
28
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import c from "
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r, renderSlot as s } from "vue";
|
|
2
|
+
import { _ as c } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
3
|
const n = {}, i = { class: "swiper-slide" }, d = { class: "swiper-zoom-container" };
|
|
4
4
|
function l(e, _) {
|
|
5
|
-
return
|
|
5
|
+
return t(), o("div", i, [
|
|
6
6
|
r("div", d, [
|
|
7
7
|
s(e.$slots, "default")
|
|
8
8
|
])
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AccessibleSelectOptions } from './types';
|
|
2
|
+
import { ClassType, Optional } from '@wikicasa-dev/types';
|
|
3
|
+
declare const _default: <T, LabelID extends string | number | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
6
|
+
readonly "onUpdate:modelValue"?: ((value: Optional<AccessibleSelectOptions<T, LabelID>>) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:toggleDropdown"?: ((value: Optional<boolean>) => any) | undefined;
|
|
8
|
+
readonly "onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
9
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClick" | "onUpdate:modelValue" | "onUpdate:toggleDropdown" | "onUpdate:dropdownState"> & ({
|
|
10
|
+
modelValue?: Optional<AccessibleSelectOptions<T, LabelID>>;
|
|
11
|
+
toggleDropdown?: Optional<boolean>;
|
|
12
|
+
} & {
|
|
13
|
+
label?: string;
|
|
14
|
+
dropdownPosition?: "top" | "bottom";
|
|
15
|
+
namespace?: string;
|
|
16
|
+
options: AccessibleSelectOptions<T, LabelID>[];
|
|
17
|
+
isValid?: boolean | null;
|
|
18
|
+
feedback?: Partial<{
|
|
19
|
+
valid: string;
|
|
20
|
+
invalid: string;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* If true, we will close the dropdown when we touch the body of the document
|
|
24
|
+
*/
|
|
25
|
+
closeOnBodyPressed?: boolean;
|
|
26
|
+
border?: boolean;
|
|
27
|
+
fieldsetClasses?: ClassType;
|
|
28
|
+
legendClasses?: ClassType;
|
|
29
|
+
dropdownClasses?: ClassType;
|
|
30
|
+
labelClasses?: ClassType;
|
|
31
|
+
btnClasses?: ClassType;
|
|
32
|
+
dropdownItemClasses?: ClassType;
|
|
33
|
+
btnTextClasses?: ClassType;
|
|
34
|
+
arrowIcon?: Partial<{
|
|
35
|
+
width: number;
|
|
36
|
+
height: number;
|
|
37
|
+
strokeColor: `#${string}`;
|
|
38
|
+
classes: ClassType;
|
|
39
|
+
}>;
|
|
40
|
+
dataCy?: string;
|
|
41
|
+
wrapperClasses?: ClassType;
|
|
42
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
43
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
44
|
+
attrs: any;
|
|
45
|
+
slots: {
|
|
46
|
+
lefticon?(_: {}): any;
|
|
47
|
+
};
|
|
48
|
+
emit: (((evt: "click", args_0: MouseEvent) => void) & ((evt: "update:dropdownState", args_0: boolean) => void)) & (((evt: "update:modelValue", value: Optional<AccessibleSelectOptions<T, LabelID>>) => void) & ((evt: "update:toggleDropdown", value: Optional<boolean>) => void));
|
|
49
|
+
}>) => import('vue').VNode & {
|
|
50
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
51
|
+
};
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_PrettifyLocal<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AccordionItem } from '@wikicasa-dev/types';
|
|
2
|
+
import { AccordionItemDecorated } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** If true, there will be just one accordion open */
|
|
5
|
+
autoClose?: boolean;
|
|
6
|
+
/** If true, the prevAccordion will be updated when you click on the accordion button */
|
|
7
|
+
autoUpdate?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {
|
|
13
|
+
updatePrev: <T>(a: AccordionItem, _accordionItems?: AccordionItemDecorated<T>) => void;
|
|
14
|
+
prev: {
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
id: string | number;
|
|
17
|
+
active?: boolean | undefined;
|
|
18
|
+
} | null;
|
|
19
|
+
}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: any;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string | number;
|
|
3
|
+
arrowWidth?: number;
|
|
4
|
+
arrowColor?: `#${string}`;
|
|
5
|
+
onContainerClickExpand?: boolean;
|
|
6
|
+
accordionOpen?: boolean;
|
|
7
|
+
toggleAccordion: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
custom_content?(_: {}): any;
|
|
13
|
+
custom_btn?(_: {
|
|
14
|
+
btnId: string;
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
toggleAccordion: () => void;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
click: () => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
onClick?: (() => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: string | number;
|
|
4
|
+
accordionOpen: boolean;
|
|
5
|
+
accordionOpenClasses?: ClassType;
|
|
6
|
+
accordionClosedClasses?: ClassType;
|
|
7
|
+
accordionContentClasses?: ClassType;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
custom_accordion_content?(_: {
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
}): any;
|
|
15
|
+
default?(_: {
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: HTMLDivElement;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AccordionItem, ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
type __VLS_Props = AccordionItem & {
|
|
3
|
+
arrowColor?: `#${string}`;
|
|
4
|
+
arrowWidth?: number;
|
|
5
|
+
/** If true, when you click the container of the button and the title of the accordion, the accordion will expand */
|
|
6
|
+
onContainerClickExpand?: boolean;
|
|
7
|
+
rootClasses?: ClassType;
|
|
8
|
+
dataCy?: string;
|
|
9
|
+
btnClasses?: ClassType;
|
|
10
|
+
itemProp?: string;
|
|
11
|
+
arrowClasses?: ClassType;
|
|
12
|
+
btnWrapperClasses?: ClassType;
|
|
13
|
+
accordionContentClasses?: ClassType;
|
|
14
|
+
accordionOpenClasses?: ClassType;
|
|
15
|
+
accordionCloseClasses?: ClassType;
|
|
16
|
+
accordionClasses?: ClassType;
|
|
17
|
+
};
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
slots: {
|
|
21
|
+
custom_content?(_: {}): any;
|
|
22
|
+
custom_btn?(_: {
|
|
23
|
+
btnId: string;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
toggleAccordion: () => void;
|
|
26
|
+
}): any;
|
|
27
|
+
custom_accordion?(_: {
|
|
28
|
+
id: string | number;
|
|
29
|
+
isOpen: boolean;
|
|
30
|
+
toggleAccordion: () => void;
|
|
31
|
+
}): any;
|
|
32
|
+
custom_accordion_content?(_: {
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
}): any;
|
|
35
|
+
default?(_: {
|
|
36
|
+
isOpen: boolean;
|
|
37
|
+
}): any;
|
|
38
|
+
};
|
|
39
|
+
refs: {};
|
|
40
|
+
rootEl: any;
|
|
41
|
+
};
|
|
42
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
43
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
click: () => any;
|
|
45
|
+
accordionOpened: (a: AccordionItem) => any;
|
|
46
|
+
accordionClosed: (a: AccordionItem) => any;
|
|
47
|
+
"update:accordionState": (args_0: boolean) => any;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
49
|
+
onClick?: (() => any) | undefined;
|
|
50
|
+
onAccordionOpened?: ((a: AccordionItem) => any) | undefined;
|
|
51
|
+
onAccordionClosed?: ((a: AccordionItem) => any) | undefined;
|
|
52
|
+
"onUpdate:accordionState"?: ((args_0: boolean) => any) | undefined;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TwPrefix } from 'lib/types';
|
|
2
|
+
type AlertClassPrefix = "alert-";
|
|
3
|
+
type AlertColors = "w-primary" | "w-danger" | "w-dark-primary";
|
|
4
|
+
type AlertClass = `${TwPrefix}${AlertClassPrefix}${AlertColors}` | "";
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
alertClass?: AlertClass;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
alertClass: AlertClass;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Nullable, BaseAutocompleteThemes } from '@wikicasa-dev/types';
|
|
2
|
+
import { AccessibleSelectOptions, ClassTypeProp } from './types';
|
|
3
|
+
declare const _default: <T, LabelID extends string | number | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onClick?: (() => any) | undefined;
|
|
6
|
+
readonly "onUpdate:modelValue"?: ((value: AccessibleSelectOptions<T, LabelID> | undefined) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
8
|
+
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
9
|
+
readonly onKeydownEnterPressed?: (() => any) | undefined;
|
|
10
|
+
readonly onChangedValue?: ((args_0: string) => any) | undefined;
|
|
11
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClick" | "onKeydown" | "onUpdate:modelValue" | "onUpdate:dropdownState" | "onKeydownEnterPressed" | "onChangedValue"> & ({
|
|
12
|
+
modelValue?: AccessibleSelectOptions<T, LabelID> | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
isValid?: Nullable<boolean>;
|
|
15
|
+
theme?: BaseAutocompleteThemes;
|
|
16
|
+
label?: string;
|
|
17
|
+
disableCb?: boolean;
|
|
18
|
+
onInputChangeCb: (v: string) => Promise<AccessibleSelectOptions<T, LabelID>[]>;
|
|
19
|
+
onOptionSelectedCb?: Nullable<(v: AccessibleSelectOptions<T, LabelID>) => void>;
|
|
20
|
+
keepState?: Nullable<"closed" | "open">;
|
|
21
|
+
cleanupOnClose?: boolean;
|
|
22
|
+
dropdownClasses?: string;
|
|
23
|
+
/**
|
|
24
|
+
* If true, we will close the dropdown when the user clicks or touches the body of the document
|
|
25
|
+
*/
|
|
26
|
+
closeDropdownOnBodyPressed?: boolean;
|
|
27
|
+
inputClasses?: ClassTypeProp;
|
|
28
|
+
fieldsetClasses?: ClassTypeProp;
|
|
29
|
+
dataCy?: string;
|
|
30
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
31
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
32
|
+
select: () => void;
|
|
33
|
+
}>): void;
|
|
34
|
+
attrs: any;
|
|
35
|
+
slots: {
|
|
36
|
+
lefticon?(_: {}): any;
|
|
37
|
+
righticon?(_: {
|
|
38
|
+
handleClean: () => void;
|
|
39
|
+
}): any;
|
|
40
|
+
};
|
|
41
|
+
emit: (((evt: "click") => void) & ((evt: "update:dropdownState", args_0: boolean) => void) & ((evt: "keydown", args_0: KeyboardEvent) => void) & ((evt: "keydownEnterPressed") => void) & ((evt: "changedValue", args_0: string) => void)) & ((evt: "update:modelValue", value: AccessibleSelectOptions<T, LabelID> | undefined) => void);
|
|
42
|
+
}>) => import('vue').VNode & {
|
|
43
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_PrettifyLocal<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
badgeClass?: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary" | "uikit-badge-w-danger";
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary" | "uikit-badge-w-danger";
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
type BreadcrumbItemsType = {
|
|
3
|
+
link: string;
|
|
4
|
+
label: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
dataTooltip?: string;
|
|
7
|
+
};
|
|
8
|
+
type BreadcrumbItemsTypeWithIdx = BreadcrumbItemsType & {
|
|
9
|
+
idx: number;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
items: BreadcrumbItemsType[];
|
|
13
|
+
listClasses?: ClassType;
|
|
14
|
+
listItemClasses?: ClassType;
|
|
15
|
+
};
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
item?(_: {
|
|
20
|
+
item: BreadcrumbItemsTypeWithIdx;
|
|
21
|
+
}): any;
|
|
22
|
+
separator?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {};
|
|
25
|
+
rootEl: HTMLElement;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ButtonType } from './types';
|
|
2
|
+
type HTMLButtonType = "button" | "submit" | "reset" | undefined;
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
btnClass?: ButtonType;
|
|
5
|
+
outlined?: boolean;
|
|
6
|
+
size?: "sm" | "lg" | "";
|
|
7
|
+
withMinWidth?: boolean;
|
|
8
|
+
keepActive?: boolean;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Add the title for screen readers when the button consists of just an icon
|
|
14
|
+
*/
|
|
15
|
+
title?: string;
|
|
16
|
+
dataCy?: string;
|
|
17
|
+
type?: HTMLButtonType;
|
|
18
|
+
};
|
|
19
|
+
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
slots: {
|
|
22
|
+
default?(_: {
|
|
23
|
+
hover: boolean;
|
|
24
|
+
}): any;
|
|
25
|
+
spinner?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: HTMLButtonElement;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
click: (e: Event) => any;
|
|
33
|
+
mouseover: (e: Event) => any;
|
|
34
|
+
mouseout: (e: Event) => any;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
+
onClick?: ((e: Event) => any) | undefined;
|
|
37
|
+
onMouseover?: ((e: Event) => any) | undefined;
|
|
38
|
+
onMouseout?: ((e: Event) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CardRootTypes, CardTypes, ClassTypeProp } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type?: CardTypes;
|
|
4
|
+
rootComponent?: CardRootTypes;
|
|
5
|
+
cardImgClasses?: ClassTypeProp;
|
|
6
|
+
cardBodyClasses?: ClassTypeProp;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
'card-image'?(_: {}): any;
|
|
12
|
+
'card-description'?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
click: () => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onClick?: (() => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ClassType, Nullable } from '@wikicasa-dev/types';
|
|
2
|
+
import { ComplexToggleType, ToggleType } from './types';
|
|
3
|
+
type BgPrefix = "bg-w-";
|
|
4
|
+
type BorderPrefix = "border-w-";
|
|
5
|
+
type ColorsType = "black" | "primary" | "secondary" | "dark-primary" | "carbon" | "gray" | "warning" | "danger" | "lavender";
|
|
6
|
+
type BtnBgColorType = `${BgPrefix}${ColorsType}` | "";
|
|
7
|
+
type BorderColorType = `${BorderPrefix}${ColorsType}`;
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
labels: ComplexToggleType;
|
|
10
|
+
type?: "full" | "padded";
|
|
11
|
+
mode?: "mobile" | "";
|
|
12
|
+
btnBgColor?: BtnBgColorType;
|
|
13
|
+
btnClasses?: ClassType;
|
|
14
|
+
borderContainerColor?: BorderColorType;
|
|
15
|
+
size?: "" | "lg";
|
|
16
|
+
};
|
|
17
|
+
type __VLS_PublicProps = {
|
|
18
|
+
modelValue?: Nullable<ToggleType> | undefined;
|
|
19
|
+
} & __VLS_Props;
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: {
|
|
23
|
+
left_icon?(_: {}): any;
|
|
24
|
+
right_icon?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
"update:modelValue": (value: Nullable<ToggleType> | undefined) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: Nullable<ToggleType> | undefined) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
type: "full" | "padded";
|
|
36
|
+
size: "" | "lg";
|
|
37
|
+
mode: "mobile" | "";
|
|
38
|
+
btnBgColor: BtnBgColorType;
|
|
39
|
+
borderContainerColor: BorderColorType;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|