@wikicasa-dev/components 2.6.10 → 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 -150
- package/dist/useChartjsModules.js +48 -0
- package/dist/utils.js +3 -3
- package/package.json +38 -71
- 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 -228
- 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/SwiperCarousel2.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/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 -5
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +0 -34
- 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 -8
- package/dist/components/carousel/SwiperCarousel.vue.js +0 -231
- 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,88 +0,0 @@
|
|
|
1
|
-
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
-
import { ClassTypeProp } from './types';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
dropdownAttrs?: Record<string, unknown>;
|
|
5
|
-
dropdownClasses?: ClassTypeProp;
|
|
6
|
-
btnClasses?: ClassTypeProp;
|
|
7
|
-
withArrowIcon?: boolean;
|
|
8
|
-
btnLabel?: string;
|
|
9
|
-
labelClasses?: ClassTypeProp;
|
|
10
|
-
direction?: "up" | "down";
|
|
11
|
-
arrowWidth?: number;
|
|
12
|
-
arrowStrokeColor?: `#${string}`;
|
|
13
|
-
isAbsolute?: boolean;
|
|
14
|
-
closeWhenClickedOutside?: boolean;
|
|
15
|
-
dropdownElement?: "div" | "ul" | "ol";
|
|
16
|
-
keepState?: "opened" | "closed" | "";
|
|
17
|
-
activateKeyboardController?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* List of keys that will close the dropdown.
|
|
20
|
-
*
|
|
21
|
-
* @link For the full list of keys, see https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
|
|
22
|
-
* @default "Escape" and "Enter"
|
|
23
|
-
*/
|
|
24
|
-
closeKeys?: false | string[];
|
|
25
|
-
dataCy?: string;
|
|
26
|
-
};
|
|
27
|
-
type __VLS_ModelProps = {
|
|
28
|
-
"resetKeyboardController"?: boolean;
|
|
29
|
-
"open"?: boolean;
|
|
30
|
-
};
|
|
31
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
32
|
-
declare var __VLS_1: {
|
|
33
|
-
toggleDropdown: () => void;
|
|
34
|
-
isOpen: boolean;
|
|
35
|
-
activeIdx: number;
|
|
36
|
-
setActiveIdx: (idx?: Nullable<number>) => void;
|
|
37
|
-
setSelectedIdx: (idx?: Nullable<number>) => void;
|
|
38
|
-
}, __VLS_25: {
|
|
39
|
-
isOpen: boolean;
|
|
40
|
-
toggleDropdown: () => void;
|
|
41
|
-
activeIdx: number;
|
|
42
|
-
selectedIdx: number;
|
|
43
|
-
setActiveIdx: (idx?: Nullable<number>) => void;
|
|
44
|
-
setSelectedIdx: (idx?: Nullable<number>) => void;
|
|
45
|
-
};
|
|
46
|
-
type __VLS_Slots = {} & {
|
|
47
|
-
btn_slot?: (props: typeof __VLS_1) => any;
|
|
48
|
-
} & {
|
|
49
|
-
default?: (props: typeof __VLS_25) => any;
|
|
50
|
-
};
|
|
51
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
52
|
-
activeIdx: import('vue').Ref<number, number>;
|
|
53
|
-
selectedIdx: import('vue').Ref<number, number>;
|
|
54
|
-
getRootElement: () => HTMLDivElement | null;
|
|
55
|
-
getContentElement: () => HTMLElement | null;
|
|
56
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
57
|
-
click: () => any;
|
|
58
|
-
"update:resetKeyboardController": (value: boolean) => any;
|
|
59
|
-
"update:open": (value: boolean) => any;
|
|
60
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
61
|
-
onClick?: (() => any) | undefined;
|
|
62
|
-
"onUpdate:resetKeyboardController"?: ((value: boolean) => any) | undefined;
|
|
63
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
64
|
-
}>, {
|
|
65
|
-
dataCy: string;
|
|
66
|
-
arrowWidth: number;
|
|
67
|
-
labelClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
|
|
68
|
-
closeKeys: false | string[];
|
|
69
|
-
dropdownClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
|
|
70
|
-
btnClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
|
|
71
|
-
withArrowIcon: boolean;
|
|
72
|
-
btnLabel: string;
|
|
73
|
-
direction: "up" | "down";
|
|
74
|
-
arrowStrokeColor: `#${string}`;
|
|
75
|
-
isAbsolute: boolean;
|
|
76
|
-
closeWhenClickedOutside: boolean;
|
|
77
|
-
dropdownElement: "div" | "ul" | "ol";
|
|
78
|
-
keepState: "opened" | "closed" | "";
|
|
79
|
-
activateKeyboardController: boolean;
|
|
80
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
81
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
82
|
-
declare const _default: typeof __VLS_export;
|
|
83
|
-
export default _default;
|
|
84
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
85
|
-
new (): {
|
|
86
|
-
$slots: S;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { defineComponent as T, useId as N, useModel as I, shallowRef as R, computed as V, useTemplateRef as A, onMounted as z, onUnmounted as P, watch as v, nextTick as q, openBlock as m, createElementBlock as F, normalizeClass as d, renderSlot as x, unref as l, createVNode as U, withCtx as B, createElementVNode as j, createBlock as L, createCommentVNode as G, resolveDynamicComponent as J, mergeProps as Q, mergeModels as D } from "vue";
|
|
2
|
-
import X from "./BaseButton.vue.js";
|
|
3
|
-
import { ArrowIcon as Y } from "@wikicasa-dev/svg-icons";
|
|
4
|
-
import { useKeyboardController as Z } from "../composables/mock.js";
|
|
5
|
-
const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
6
|
-
inheritAttrs: !1,
|
|
7
|
-
__name: "BaseDropDown",
|
|
8
|
-
props: /* @__PURE__ */ D({
|
|
9
|
-
dropdownAttrs: {},
|
|
10
|
-
dropdownClasses: { default: "" },
|
|
11
|
-
btnClasses: { default: "" },
|
|
12
|
-
withArrowIcon: { type: Boolean, default: !1 },
|
|
13
|
-
btnLabel: { default: "" },
|
|
14
|
-
labelClasses: { default: "" },
|
|
15
|
-
direction: { default: "down" },
|
|
16
|
-
arrowWidth: { default: 12 },
|
|
17
|
-
arrowStrokeColor: { default: void 0 },
|
|
18
|
-
isAbsolute: { type: Boolean, default: !0 },
|
|
19
|
-
closeWhenClickedOutside: { type: Boolean, default: !0 },
|
|
20
|
-
dropdownElement: { default: "div" },
|
|
21
|
-
keepState: { default: "" },
|
|
22
|
-
activateKeyboardController: { type: Boolean, default: !0 },
|
|
23
|
-
closeKeys: { type: [Boolean, Array], default: () => ["Escape", "Enter"] },
|
|
24
|
-
dataCy: { default: "" }
|
|
25
|
-
}, {
|
|
26
|
-
resetKeyboardController: { type: Boolean, default: !1 },
|
|
27
|
-
resetKeyboardControllerModifiers: {},
|
|
28
|
-
open: { type: Boolean, default: !1 },
|
|
29
|
-
openModifiers: {}
|
|
30
|
-
}),
|
|
31
|
-
emits: /* @__PURE__ */ D(["click"], ["update:resetKeyboardController", "update:open"]),
|
|
32
|
-
setup(t, { expose: S, emit: M }) {
|
|
33
|
-
const n = t, y = N(), O = M, w = I(
|
|
34
|
-
t,
|
|
35
|
-
"resetKeyboardController"
|
|
36
|
-
), o = I(t, "open");
|
|
37
|
-
let C = !1;
|
|
38
|
-
const s = R([]), W = V(() => s.value.length), u = A("container"), c = A("dropdown"), { activeIdx: a, selectedIdx: i, onKeyDownHandler: $ } = Z({
|
|
39
|
-
optionsLength: W,
|
|
40
|
-
isDropdownOpen: o,
|
|
41
|
-
global: !1,
|
|
42
|
-
closeKeys: n.closeKeys ? n.closeKeys : []
|
|
43
|
-
}), b = () => {
|
|
44
|
-
o.value = !1;
|
|
45
|
-
}, h = ({ target: e }) => {
|
|
46
|
-
u.value?.contains(e) || b();
|
|
47
|
-
}, p = (e) => {
|
|
48
|
-
o.value && (u.value?.contains(e.target) || b());
|
|
49
|
-
}, H = (e) => {
|
|
50
|
-
n.activateKeyboardController && $(e);
|
|
51
|
-
}, f = () => {
|
|
52
|
-
n.keepState === "closed" && !o.value || n.keepState === "opened" && o.value || (o.value = !o.value);
|
|
53
|
-
}, g = (e) => {
|
|
54
|
-
e != null && (a.value = e);
|
|
55
|
-
}, K = (e) => {
|
|
56
|
-
e != null && (i.value = e);
|
|
57
|
-
}, E = () => {
|
|
58
|
-
c.value && (s.value = Array.from(c.value.children));
|
|
59
|
-
};
|
|
60
|
-
return z(() => {
|
|
61
|
-
E();
|
|
62
|
-
}), P(() => {
|
|
63
|
-
n.closeWhenClickedOutside && (document.removeEventListener("click", h), document.removeEventListener("focusin", p));
|
|
64
|
-
}), v(w, (e) => {
|
|
65
|
-
e && (a.value = -1, i.value = -1, q(() => {
|
|
66
|
-
E(), w.value = !1;
|
|
67
|
-
}));
|
|
68
|
-
}), v(o, (e) => {
|
|
69
|
-
!e || C || !n.closeWhenClickedOutside || (document.addEventListener("click", h), document.addEventListener("focusin", p), C = !0);
|
|
70
|
-
}), v(i, (e) => {
|
|
71
|
-
e !== -1 && s.value[e]?.querySelector("a")?.click();
|
|
72
|
-
}), S({
|
|
73
|
-
activeIdx: a,
|
|
74
|
-
selectedIdx: i,
|
|
75
|
-
getRootElement: () => u.value,
|
|
76
|
-
getContentElement: () => c.value
|
|
77
|
-
}), (e, r) => (m(), F("div", {
|
|
78
|
-
ref: "container",
|
|
79
|
-
class: d(["uikit-relative uikit-block", e.$attrs.class]),
|
|
80
|
-
onKeydown: H
|
|
81
|
-
}, [
|
|
82
|
-
x(e.$slots, "btn_slot", {
|
|
83
|
-
toggleDropdown: f,
|
|
84
|
-
isOpen: o.value,
|
|
85
|
-
activeIdx: l(a),
|
|
86
|
-
setActiveIdx: g,
|
|
87
|
-
setSelectedIdx: K
|
|
88
|
-
}, () => [
|
|
89
|
-
U(X, {
|
|
90
|
-
id: l(y),
|
|
91
|
-
type: "button",
|
|
92
|
-
"data-cy": t.dataCy,
|
|
93
|
-
class: d([
|
|
94
|
-
"!uikit-flex uikit-w-full uikit-items-center uikit-truncate",
|
|
95
|
-
t.btnClasses
|
|
96
|
-
]),
|
|
97
|
-
"aria-expanded": o.value,
|
|
98
|
-
"btn-class": "uikit-btn-single-selection",
|
|
99
|
-
onClick: r[0] || (r[0] = (k) => {
|
|
100
|
-
O("click"), f();
|
|
101
|
-
}),
|
|
102
|
-
onKeydown: r[1] || (r[1] = (k) => {
|
|
103
|
-
Array.isArray(t.closeKeys) && !t.closeKeys.includes(k.key) || k.stopPropagation();
|
|
104
|
-
})
|
|
105
|
-
}, {
|
|
106
|
-
default: B(() => [
|
|
107
|
-
j("span", {
|
|
108
|
-
class: d(["uikit-mr-5px", t.labelClasses]),
|
|
109
|
-
innerHTML: t.btnLabel
|
|
110
|
-
}, null, 10, _),
|
|
111
|
-
t.withArrowIcon ? (m(), L(l(Y), {
|
|
112
|
-
key: 0,
|
|
113
|
-
class: d(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", o.value ? "uikit-rotate-180" : ""]),
|
|
114
|
-
width: t.arrowWidth,
|
|
115
|
-
height: t.arrowWidth,
|
|
116
|
-
"stroke-color": t.arrowStrokeColor
|
|
117
|
-
}, null, 8, ["class", "width", "height", "stroke-color"])) : G("", !0)
|
|
118
|
-
]),
|
|
119
|
-
_: 1
|
|
120
|
-
}, 8, ["id", "data-cy", "class", "aria-expanded"])
|
|
121
|
-
]),
|
|
122
|
-
(m(), L(J(t.dropdownElement), Q({
|
|
123
|
-
id: "dropdown_" + l(y),
|
|
124
|
-
ref: "dropdown",
|
|
125
|
-
"data-cy": t.dataCy && `${t.dataCy}_dropdown`,
|
|
126
|
-
class: ["uikit-dropdown-content uikit-w-full uikit-flex-col uikit-overflow-y-auto uikit-border-solid uikit-bg-white uikit-pl-0 uikit-opacity-100 uikit-shadow uikit-no-scrollbar", [
|
|
127
|
-
t.dropdownClasses,
|
|
128
|
-
o.value ? "uikit-flex" : "uikit-hidden",
|
|
129
|
-
{ "uikit-bottom-[55px]": t.direction === "up" },
|
|
130
|
-
{ "uikit-absolute": t.isAbsolute }
|
|
131
|
-
]],
|
|
132
|
-
"aria-hidden": !o.value,
|
|
133
|
-
"data-side": t.direction
|
|
134
|
-
}, t.dropdownAttrs), {
|
|
135
|
-
default: B(() => [
|
|
136
|
-
x(e.$slots, "default", {
|
|
137
|
-
isOpen: o.value,
|
|
138
|
-
toggleDropdown: f,
|
|
139
|
-
activeIdx: l(a),
|
|
140
|
-
selectedIdx: l(i),
|
|
141
|
-
setActiveIdx: g,
|
|
142
|
-
setSelectedIdx: K
|
|
143
|
-
})
|
|
144
|
-
]),
|
|
145
|
-
_: 3
|
|
146
|
-
}, 16, ["id", "data-cy", "class", "aria-hidden", "data-side"]))
|
|
147
|
-
], 34));
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
export {
|
|
151
|
-
le as default
|
|
152
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
-
import { ClassTypeProp } from './types';
|
|
3
|
-
export type LabelState = "inline-label" | "floating-label";
|
|
4
|
-
declare const _default: typeof __VLS_export;
|
|
5
|
-
export default _default;
|
|
6
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
7
|
-
labelState?: LabelState;
|
|
8
|
-
isValid?: Nullable<boolean>;
|
|
9
|
-
labelText: string;
|
|
10
|
-
disabled?: string | boolean;
|
|
11
|
-
labelClasses?: ClassTypeProp;
|
|
12
|
-
labelTextClasses?: ClassTypeProp;
|
|
13
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
click: (...args: any[]) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
16
|
-
labelState?: LabelState;
|
|
17
|
-
isValid?: Nullable<boolean>;
|
|
18
|
-
labelText: string;
|
|
19
|
-
disabled?: string | boolean;
|
|
20
|
-
labelClasses?: ClassTypeProp;
|
|
21
|
-
labelTextClasses?: ClassTypeProp;
|
|
22
|
-
}> & Readonly<{
|
|
23
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, openBlock as a, createElementBlock as n, withModifiers as d, normalizeClass as t, createElementVNode as r, createCommentVNode as k } from "vue";
|
|
2
|
-
const b = ["for"], c = ["innerHTML"], x = /* @__PURE__ */ u({
|
|
3
|
-
__name: "BaseFloatingLabel",
|
|
4
|
-
props: {
|
|
5
|
-
labelState: { default: "inline-label" },
|
|
6
|
-
isValid: { type: [Boolean, null], default: null },
|
|
7
|
-
labelText: {},
|
|
8
|
-
disabled: { type: [String, Boolean], default: !1 },
|
|
9
|
-
labelClasses: {},
|
|
10
|
-
labelTextClasses: {}
|
|
11
|
-
},
|
|
12
|
-
emits: ["click"],
|
|
13
|
-
setup(e, { emit: s }) {
|
|
14
|
-
const o = s;
|
|
15
|
-
return (i, l) => (a(), n("label", {
|
|
16
|
-
for: i.$attrs.for,
|
|
17
|
-
class: t(["uikit-pointer-events-none uikit-absolute uikit-left-15px uikit-h-5", [e.labelState, { "uikit-text-w-secondary": e.disabled }, e.labelClasses]]),
|
|
18
|
-
onClick: l[0] || (l[0] = d((m) => o("click"), ["stop"]))
|
|
19
|
-
}, [
|
|
20
|
-
r("span", {
|
|
21
|
-
class: t(["uikit-font-medium [font-size:inherit]", [
|
|
22
|
-
e.disabled ? "uikit-text-w-secondary" : "uikit-text-w-black",
|
|
23
|
-
e.labelTextClasses
|
|
24
|
-
]]),
|
|
25
|
-
innerHTML: e.labelText
|
|
26
|
-
}, null, 10, c),
|
|
27
|
-
i.$attrs.required ? (a(), n("sup", {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: t(["uikit-absolute -uikit-top-[0.4em] uikit-pl-[2px] uikit-leading-normal [font-size:inherit]", [
|
|
30
|
-
{ "uikit-text-w-secondary": e.disabled },
|
|
31
|
-
{ "uikit-text-w-danger": e.isValid === !1 },
|
|
32
|
-
{ "uikit-text-w-primary": (e.isValid || e.isValid === null) && !e.disabled }
|
|
33
|
-
]])
|
|
34
|
-
}, " *", 2)) : k("", !0)
|
|
35
|
-
], 10, b));
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export {
|
|
39
|
-
x as default
|
|
40
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { InputTypeHTMLAttribute, Nullable, Numberish } from '@wikicasa-dev/types';
|
|
2
|
-
import { ClassType, ClassTypeProp, FeedbackLabels } from './types';
|
|
3
|
-
export type BaseInputModelValue = Numberish | undefined | null;
|
|
4
|
-
export type BaseInputFormatter<ModelValue extends BaseInputModelValue> = Partial<{
|
|
5
|
-
formatFn: (value: string) => string;
|
|
6
|
-
unFormatFn: (value: string) => Nullable<ModelValue>;
|
|
7
|
-
}>;
|
|
8
|
-
declare const _default: typeof __VLS_export;
|
|
9
|
-
export default _default;
|
|
10
|
-
declare const __VLS_export: <ModelValue extends BaseInputModelValue = string>(__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<{
|
|
11
|
-
props: import('vue').PublicProps & __VLS_PrettifyLocal<({
|
|
12
|
-
id?: string;
|
|
13
|
-
inputClass?: ClassType | ClassType[];
|
|
14
|
-
labelText?: string;
|
|
15
|
-
feedback?: FeedbackLabels;
|
|
16
|
-
isValid?: Nullable<boolean>;
|
|
17
|
-
keepFloatingLabel?: boolean;
|
|
18
|
-
formatter?: Nullable<BaseInputFormatter<ModelValue>>;
|
|
19
|
-
labelClasses?: ClassTypeProp;
|
|
20
|
-
fieldsetClasses?: ClassTypeProp;
|
|
21
|
-
labelTextClasses?: ClassTypeProp;
|
|
22
|
-
withLeftIcon?: boolean;
|
|
23
|
-
withRightIcon?: boolean;
|
|
24
|
-
dataCy?: string;
|
|
25
|
-
} & {
|
|
26
|
-
modelValue?: ModelValue;
|
|
27
|
-
}) & {
|
|
28
|
-
"onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
|
|
29
|
-
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
30
|
-
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
31
|
-
onFocusin?: (() => any) | undefined;
|
|
32
|
-
onFocusout?: (() => any) | undefined;
|
|
33
|
-
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
34
|
-
onKeydownEnterPressed?: (() => any) | undefined;
|
|
35
|
-
}> & (typeof globalThis extends {
|
|
36
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
37
|
-
} ? P : {});
|
|
38
|
-
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
39
|
-
select: () => void;
|
|
40
|
-
}>) => void;
|
|
41
|
-
attrs: any;
|
|
42
|
-
slots: {
|
|
43
|
-
leftIcon?: (props: {}) => any;
|
|
44
|
-
} & {
|
|
45
|
-
righticon?: (props: {
|
|
46
|
-
handleClean: () => void;
|
|
47
|
-
handleShowPasswd: () => void;
|
|
48
|
-
curType: InputTypeHTMLAttribute;
|
|
49
|
-
}) => any;
|
|
50
|
-
} & {
|
|
51
|
-
feedback?: (props: {}) => any;
|
|
52
|
-
} & {
|
|
53
|
-
'under-label'?: (props: {}) => any;
|
|
54
|
-
};
|
|
55
|
-
emit: (((evt: "click", args_0: MouseEvent) => void) & ((evt: "keydown", args_0: KeyboardEvent) => void) & ((evt: "focusin") => void) & ((evt: "focusout") => void) & ((evt: "keyup", args_0: KeyboardEvent) => void) & ((evt: "keydownEnterPressed") => void)) & ((event: "update:modelValue", value: ModelValue) => void);
|
|
56
|
-
}>) => import('vue').VNode & {
|
|
57
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
|
-
};
|
|
59
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
60
|
-
[K in keyof T]: T[K];
|
|
61
|
-
} : {
|
|
62
|
-
[K in keyof T as K]: T[K];
|
|
63
|
-
}) & {};
|
package/dist/UIKit/BaseInput.js
DELETED
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, useModel as N, ref as m, useId as O, computed as j, watch as y, useAttrs as D, openBlock as u, createElementBlock as r, normalizeClass as v, unref as d, renderSlot as h, createElementVNode as g, withKeys as G, withModifiers as J, createBlock as Q, createCommentVNode as x, Fragment as C, renderList as T, mergeModels as B } from "vue";
|
|
2
|
-
import W from "./BaseFloatingLabel.js";
|
|
3
|
-
import { useFloatingLabel as X } from "../composables/useFloatingLabel.js";
|
|
4
|
-
const Y = ["id", "data-cy", "name", "autocomplete", "disabled", "readonly", "type", "pattern", "min", "max", "maxlength", "inputmode", "placeholder", "value"], Z = { class: "uikit-invisible uikit-float-none uikit-mb-2 uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-transition-[max-width] uikit-duration-[50ms] uikit-ease-out" }, U = ["innerHTML"], p = ["innerHTML"], _ = ["innerHTML"], ee = {
|
|
5
|
-
key: 1,
|
|
6
|
-
class: "under-label uikit-absolute uikit-text-12"
|
|
7
|
-
}, ne = /* @__PURE__ */ A({
|
|
8
|
-
inheritAttrs: !1,
|
|
9
|
-
__name: "BaseInput",
|
|
10
|
-
props: /* @__PURE__ */ B({
|
|
11
|
-
id: {},
|
|
12
|
-
inputClass: {},
|
|
13
|
-
labelText: { default: "" },
|
|
14
|
-
feedback: {},
|
|
15
|
-
isValid: { type: [Boolean, null], default: null },
|
|
16
|
-
keepFloatingLabel: { type: Boolean, default: !1 },
|
|
17
|
-
formatter: { default: null },
|
|
18
|
-
labelClasses: {},
|
|
19
|
-
fieldsetClasses: {},
|
|
20
|
-
labelTextClasses: {},
|
|
21
|
-
withLeftIcon: { type: Boolean, default: () => {
|
|
22
|
-
} },
|
|
23
|
-
withRightIcon: { type: Boolean, default: () => {
|
|
24
|
-
} },
|
|
25
|
-
dataCy: {}
|
|
26
|
-
}, {
|
|
27
|
-
modelValue: { default: "" },
|
|
28
|
-
modelModifiers: {}
|
|
29
|
-
}),
|
|
30
|
-
emits: /* @__PURE__ */ B(["click", "keydownEnterPressed", "focusin", "focusout", "keydown", "keyup"], ["update:modelValue"]),
|
|
31
|
-
setup(e, { expose: M, emit: E }) {
|
|
32
|
-
const o = N(e, "modelValue"), a = m(""), k = E, {
|
|
33
|
-
labelState: s,
|
|
34
|
-
handleFocusIn: H,
|
|
35
|
-
handleFocusOut: $,
|
|
36
|
-
setInlineLabel: I,
|
|
37
|
-
setFloatingLabel: V
|
|
38
|
-
} = X(k), R = O(), b = j(() => e.id || R), n = m("text"), f = m({}), c = m(null), P = () => {
|
|
39
|
-
e.feedback && (f.value = e.feedback, e.feedback.valid && typeof e.feedback.valid == "string" && (f.value.valid = [e.feedback.valid]), e.feedback.invalid && typeof e.feedback.invalid == "string" && (f.value.invalid = [e.feedback.invalid]));
|
|
40
|
-
}, L = (t, i) => {
|
|
41
|
-
if (!e.formatter || !e.formatter.formatFn)
|
|
42
|
-
return a.value = t, "";
|
|
43
|
-
const l = t.length ? e.formatter.formatFn(t) : t;
|
|
44
|
-
return i && (i.value = l), a.value = l, l;
|
|
45
|
-
}, F = (t, i = !0) => {
|
|
46
|
-
if (i && (!e.formatter || !e.formatter.unFormatFn))
|
|
47
|
-
return o.value = t, t;
|
|
48
|
-
if (!i || !e.formatter || !e.formatter.unFormatFn) return;
|
|
49
|
-
const l = e.formatter.unFormatFn(t);
|
|
50
|
-
return o.value = l ?? "", l;
|
|
51
|
-
}, q = ({ target: t }) => {
|
|
52
|
-
const i = t, l = F(i.value);
|
|
53
|
-
L(
|
|
54
|
-
`${l}`,
|
|
55
|
-
l === o.value ? i : void 0
|
|
56
|
-
);
|
|
57
|
-
}, K = () => {
|
|
58
|
-
o.value = "", I();
|
|
59
|
-
}, S = () => {
|
|
60
|
-
n.value === "password" ? n.value = "text" : n.value === "text" && (n.value = "password");
|
|
61
|
-
};
|
|
62
|
-
y(
|
|
63
|
-
() => e.feedback,
|
|
64
|
-
() => {
|
|
65
|
-
P();
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
immediate: !0
|
|
69
|
-
}
|
|
70
|
-
), y(
|
|
71
|
-
o,
|
|
72
|
-
(t) => {
|
|
73
|
-
L(
|
|
74
|
-
`${t}`,
|
|
75
|
-
F(`${t}`, !1) === t ? c.value : void 0
|
|
76
|
-
), a.value != null && a.value.length > 0 && s.value !== "floating-label" ? V() : !a.value && document && document.activeElement !== c.value && I();
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
immediate: !0
|
|
80
|
-
}
|
|
81
|
-
), y(
|
|
82
|
-
() => e.keepFloatingLabel,
|
|
83
|
-
(t) => {
|
|
84
|
-
t ? V() : $(o.value);
|
|
85
|
-
}
|
|
86
|
-
);
|
|
87
|
-
const z = D();
|
|
88
|
-
return n.value = z.type || "text", M({
|
|
89
|
-
select: () => {
|
|
90
|
-
c.value?.select();
|
|
91
|
-
}
|
|
92
|
-
}), (t, i) => (u(), r("div", {
|
|
93
|
-
class: v(["input-wrapper uikit-relative uikit-inline-block uikit-w-full [&.has-right-icon.is-invalid_.text-input-icon]:uikit-mr-25px [&.has-right-icon.is-valid_.text-input-icon]:uikit-mr-25px", [
|
|
94
|
-
t.$attrs.class,
|
|
95
|
-
{ "floating-label": e.labelText },
|
|
96
|
-
d(s) === "floating-label" ? "floating-state" : "inline-state",
|
|
97
|
-
{
|
|
98
|
-
"has-right-icon": e.withRightIcon !== void 0 ? e.withRightIcon : !!t.$slots.righticon
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"has-left-icon": e.withLeftIcon !== void 0 ? e.withLeftIcon : !!t.$slots.leftIcon
|
|
102
|
-
},
|
|
103
|
-
{ "is-invalid": e.isValid === !1, "is-valid": e.isValid }
|
|
104
|
-
]])
|
|
105
|
-
}, [
|
|
106
|
-
h(t.$slots, "leftIcon", {}, void 0, !0),
|
|
107
|
-
h(t.$slots, "righticon", {
|
|
108
|
-
handleClean: K,
|
|
109
|
-
handleShowPasswd: S,
|
|
110
|
-
curType: n.value
|
|
111
|
-
}, void 0, !0),
|
|
112
|
-
g("input", {
|
|
113
|
-
id: b.value,
|
|
114
|
-
ref_key: "baseInputEl",
|
|
115
|
-
ref: c,
|
|
116
|
-
"data-cy": e.dataCy,
|
|
117
|
-
name: t.$attrs.name,
|
|
118
|
-
class: v(["input-element uikit-peer uikit-relative uikit-ml-[1px] uikit-mt-[6px] uikit-box-border uikit-block uikit-h-[42px] uikit-w-[calc(100%-2px)] uikit-appearance-none uikit-truncate uikit-rounded-[11px] !uikit-border-none uikit-bg-white uikit-bg-no-repeat uikit-px-4 uikit-outline-0 focus:uikit-shadow-none focus:uikit-outline-none disabled:uikit-bg-w-cultured disabled:uikit-text-w-secondary", [
|
|
119
|
-
{
|
|
120
|
-
"is-invalid invalid-bg !uikit-pr-9": e.isValid === !1,
|
|
121
|
-
"is-valid valid-bg !uikit-pr-9": e.isValid
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"uikit-pr-[42px]": e.withRightIcon !== void 0 ? e.withRightIcon : !!t.$slots.righticon
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"uikit-pl-[42px]": e.withLeftIcon !== void 0 ? e.withLeftIcon : !!t.$slots.leftIcon
|
|
128
|
-
},
|
|
129
|
-
e.inputClass
|
|
130
|
-
]]),
|
|
131
|
-
autocomplete: t.$attrs.autocomplete === "on" ? "on" : "off",
|
|
132
|
-
disabled: t.$attrs.disabled,
|
|
133
|
-
readonly: t.$attrs.readonly,
|
|
134
|
-
type: n.value,
|
|
135
|
-
pattern: t.$attrs.pattern,
|
|
136
|
-
min: t.$attrs.min,
|
|
137
|
-
max: t.$attrs.max,
|
|
138
|
-
maxlength: t.$attrs.maxlength,
|
|
139
|
-
inputmode: t.$attrs.inputmode,
|
|
140
|
-
placeholder: t.$attrs.placeholder,
|
|
141
|
-
value: a.value,
|
|
142
|
-
onClick: i[0] || (i[0] = (l) => k("click", l)),
|
|
143
|
-
onFocusin: i[1] || (i[1] = () => e.labelText && d(H)()),
|
|
144
|
-
onFocusout: i[2] || (i[2] = (l) => e.labelText && !e.keepFloatingLabel && d($)(a.value)),
|
|
145
|
-
onInput: J(q, ["stop"]),
|
|
146
|
-
onKeydown: [
|
|
147
|
-
i[3] || (i[3] = G(() => k("keydownEnterPressed"), ["enter"])),
|
|
148
|
-
i[4] || (i[4] = (l) => k("keydown", l))
|
|
149
|
-
],
|
|
150
|
-
onKeyup: i[5] || (i[5] = (l) => k("keyup", l))
|
|
151
|
-
}, null, 42, Y),
|
|
152
|
-
g("fieldset", {
|
|
153
|
-
class: v(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-py-0 uikit-text-left uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus:[&.is-invalid]:uikit-border-w-danger", [
|
|
154
|
-
{
|
|
155
|
-
"is-invalid uikit-border-w-danger": e.isValid === !1,
|
|
156
|
-
"is-valid uikit-border-w-primary": e.isValid,
|
|
157
|
-
"uikit-border-w-secondary": e.isValid === null
|
|
158
|
-
},
|
|
159
|
-
{ "uikit-top-0": !e.labelText },
|
|
160
|
-
e.fieldsetClasses
|
|
161
|
-
]])
|
|
162
|
-
}, [
|
|
163
|
-
g("legend", Z, [
|
|
164
|
-
g("span", {
|
|
165
|
-
class: v(["visible-label uikit-opacity-0", [
|
|
166
|
-
{ "uikit-mx-5px": e.labelText },
|
|
167
|
-
{
|
|
168
|
-
"uikit-visible uikit-inline-block": d(s) === "floating-label"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"uikit-invisible uikit-hidden": d(s) === "inline-label"
|
|
172
|
-
}
|
|
173
|
-
]]),
|
|
174
|
-
innerHTML: e.labelText
|
|
175
|
-
}, null, 10, U)
|
|
176
|
-
])
|
|
177
|
-
], 2),
|
|
178
|
-
e.labelText ? (u(), Q(W, {
|
|
179
|
-
key: 0,
|
|
180
|
-
for: b.value,
|
|
181
|
-
"label-text": e.labelText,
|
|
182
|
-
"label-state": d(s),
|
|
183
|
-
"is-valid": e.isValid,
|
|
184
|
-
required: t.$attrs.required,
|
|
185
|
-
disabled: t.$attrs.disabled,
|
|
186
|
-
"label-classes": [
|
|
187
|
-
d(s) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4",
|
|
188
|
-
e.labelClasses
|
|
189
|
-
],
|
|
190
|
-
"label-text-classes": e.labelTextClasses
|
|
191
|
-
}, null, 8, ["for", "label-text", "label-state", "is-valid", "required", "disabled", "label-classes", "label-text-classes"])) : x("", !0),
|
|
192
|
-
h(t.$slots, "feedback", {}, () => [
|
|
193
|
-
e.isValid === !1 ? (u(!0), r(C, { key: 0 }, T(f.value.invalid, (l, w) => (u(), r("div", {
|
|
194
|
-
key: `${b.value}_invalid_${w}`,
|
|
195
|
-
class: "uikit-mt-1 uikit-text-12 uikit-text-w-danger",
|
|
196
|
-
innerHTML: l
|
|
197
|
-
}, null, 8, p))), 128)) : e.isValid === !0 ? (u(!0), r(C, { key: 1 }, T(f.value.valid, (l, w) => (u(), r("div", {
|
|
198
|
-
key: `${b.value}_valid_${w}`,
|
|
199
|
-
class: "uikit-mt-1 uikit-text-12 uikit-text-w-primary",
|
|
200
|
-
innerHTML: l
|
|
201
|
-
}, null, 8, _))), 128)) : x("", !0)
|
|
202
|
-
], !0),
|
|
203
|
-
t.$slots["under-label"] ? (u(), r("div", ee, [
|
|
204
|
-
h(t.$slots, "under-label", {}, void 0, !0)
|
|
205
|
-
])) : x("", !0)
|
|
206
|
-
], 2));
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
export {
|
|
210
|
-
ne as default
|
|
211
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ClassTypeProp } from './types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
id?: string;
|
|
4
|
-
size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
|
|
5
|
-
customBackdropClasses?: ClassTypeProp;
|
|
6
|
-
customModalDialogClasses?: ClassTypeProp;
|
|
7
|
-
customModalHeaderClasses?: ClassTypeProp;
|
|
8
|
-
customModalBodyClasses?: ClassTypeProp;
|
|
9
|
-
customModalFooterClasses?: ClassTypeProp;
|
|
10
|
-
closeIcon?: Partial<{
|
|
11
|
-
size?: number;
|
|
12
|
-
classes?: ClassTypeProp;
|
|
13
|
-
}>;
|
|
14
|
-
withCloseIcon?: boolean;
|
|
15
|
-
headerTitle?: string;
|
|
16
|
-
autoClose?: number;
|
|
17
|
-
fullHeight?: boolean;
|
|
18
|
-
closeOnClickOut?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If true, the modal will be centered in desktop mode
|
|
21
|
-
*/
|
|
22
|
-
centered?: boolean;
|
|
23
|
-
dataCy?: string;
|
|
24
|
-
closeIconBtnClasses?: ClassTypeProp;
|
|
25
|
-
titleClasses?: ClassTypeProp;
|
|
26
|
-
};
|
|
27
|
-
type __VLS_ModelProps = {
|
|
28
|
-
"showModal"?: boolean;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
31
|
-
declare var __VLS_23: {
|
|
32
|
-
closeModal: () => void;
|
|
33
|
-
}, __VLS_25: {
|
|
34
|
-
closeModal: () => void;
|
|
35
|
-
}, __VLS_27: {
|
|
36
|
-
closeModal: () => void;
|
|
37
|
-
}, __VLS_29: {};
|
|
38
|
-
type __VLS_Slots = {} & {
|
|
39
|
-
header?: (props: typeof __VLS_23) => any;
|
|
40
|
-
} & {
|
|
41
|
-
body?: (props: typeof __VLS_25) => any;
|
|
42
|
-
} & {
|
|
43
|
-
footer?: (props: typeof __VLS_27) => any;
|
|
44
|
-
} & {
|
|
45
|
-
'fixed-bottom'?: (props: typeof __VLS_29) => any;
|
|
46
|
-
};
|
|
47
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
-
opened: () => any;
|
|
49
|
-
closed: () => any;
|
|
50
|
-
dialogClick: (args_0: MouseEvent) => any;
|
|
51
|
-
"update:showModal": (value: boolean) => any;
|
|
52
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
53
|
-
onOpened?: (() => any) | undefined;
|
|
54
|
-
onClosed?: (() => any) | undefined;
|
|
55
|
-
onDialogClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
56
|
-
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
|
|
57
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
58
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
59
|
-
declare const _default: typeof __VLS_export;
|
|
60
|
-
export default _default;
|
|
61
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
62
|
-
new (): {
|
|
63
|
-
$slots: S;
|
|
64
|
-
};
|
|
65
|
-
};
|