@wikicasa-dev/components 2.10.0 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UIKit/AccessibleSelect.js +1 -2
- package/dist/UIKit/AccessibleSelect.vue.js +75 -76
- package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +5 -3
- package/dist/UIKit/Accordion/AccordionContentPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +9 -2
- package/dist/UIKit/Accordion/AccordionItemPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +12 -9
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/BaseAccordion.d.ts +6 -0
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -2
- package/dist/UIKit/Accordion/BaseAccordion.vue.js +18 -6
- package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -2
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +34 -28
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +1 -2
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +84 -97
- package/dist/UIKit/BaseAlert.d.ts +5 -3
- package/dist/UIKit/BaseAlert.js +1 -2
- package/dist/UIKit/BaseAlert.vue.js +1 -2
- package/dist/UIKit/BaseAutocomplete.js +1 -2
- package/dist/UIKit/BaseAutocomplete.vue.js +65 -72
- package/dist/UIKit/BaseBadge.d.ts +5 -3
- package/dist/UIKit/BaseBadge.js +1 -2
- package/dist/UIKit/BaseBadge.vue.js +1 -2
- package/dist/UIKit/BaseBreadcrumb.d.ts +9 -7
- package/dist/UIKit/BaseBreadcrumb.js +1 -2
- package/dist/UIKit/BaseBreadcrumb.vue.js +1 -2
- package/dist/UIKit/BaseButton.js +1 -2
- package/dist/UIKit/BaseButton.vue.js +26 -27
- package/dist/UIKit/BaseComplexToggle.js +4 -5
- package/dist/UIKit/BaseComplexToggle.vue.js +2 -13
- package/dist/UIKit/BaseDropDown.d.ts +27 -20
- package/dist/UIKit/BaseDropDown.js +1 -2
- package/dist/UIKit/BaseDropDown.vue.js +48 -49
- package/dist/UIKit/BaseFloatingLabel.js +4 -5
- package/dist/UIKit/BaseFloatingLabel.vue.js +1 -2
- package/dist/UIKit/BaseInput.js +4 -5
- package/dist/UIKit/BaseInput.vue.js +65 -66
- package/dist/UIKit/BaseModal.d.ts +22 -15
- package/dist/UIKit/BaseModal.js +1 -2
- package/dist/UIKit/BaseModal.vue.js +50 -56
- package/dist/UIKit/BasePagination.js +1 -2
- package/dist/UIKit/BasePagination.vue.js +9 -3
- package/dist/UIKit/BaseSelect/SelectItem.d.ts +10 -5
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -2
- package/dist/UIKit/BaseSelect/SelectItem.vue.js +1 -2
- package/dist/UIKit/BaseSlider.js +4 -5
- package/dist/UIKit/BaseSlider.vue.js +29 -32
- package/dist/UIKit/BaseSnackbar.js +1 -2
- package/dist/UIKit/BaseSnackbar.vue.js +19 -24
- package/dist/UIKit/BaseTextarea.js +4 -5
- package/dist/UIKit/BaseTextarea.vue.js +51 -52
- package/dist/UIKit/BaseToggle.d.ts +7 -5
- package/dist/UIKit/BaseToggle.js +1 -2
- package/dist/UIKit/BaseToggle.vue.js +1 -2
- package/dist/UIKit/BaseTooltip.d.ts +8 -6
- package/dist/UIKit/BaseTooltip.js +4 -5
- package/dist/UIKit/BaseTooltip.vue.js +1 -2
- package/dist/UIKit/BaseUploadFile.d.ts +7 -5
- package/dist/UIKit/BaseUploadFile.js +1 -2
- package/dist/UIKit/BaseUploadFile.vue.js +26 -27
- package/dist/UIKit/Card/BaseCard.js +1 -2
- package/dist/UIKit/Card/BaseCard.vue.js +2 -2
- package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +5 -3
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +6 -7
- package/dist/UIKit/Card/CardImagePrimitive.d.ts +5 -3
- package/dist/UIKit/Card/CardImagePrimitive.js +1 -2
- package/dist/UIKit/Card/CardImagePrimitive.vue.js +7 -8
- package/dist/UIKit/Card/CardRootPrimitive.js +1 -2
- package/dist/UIKit/Card/CardRootPrimitive.vue.js +11 -11
- package/dist/UIKit/Card/type.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +6 -7
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +39 -46
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +21 -32
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +1 -1
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +7 -3
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +8 -3
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +1 -2
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +6 -3
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +72 -7
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +1 -2
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +6 -3
- package/dist/UIKit/Radio/RadioButton.js +1 -2
- package/dist/UIKit/Radio/RadioButton.vue.js +1 -2
- package/dist/UIKit/Radio/RadioGroup.js +1 -2
- package/dist/UIKit/Radio/RadioGroup.vue.js +23 -24
- package/dist/UIKit/Radio/v2/RadioButtonGroup.js +1 -2
- package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +17 -14
- package/dist/UIKit/Radio/v2/RadioButtonItem.js +1 -2
- package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +6 -3
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +9 -3
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +1 -2
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +6 -3
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +4 -5
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +1 -2
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -2
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +12 -13
- package/dist/UIKit/Slider/SimpleSlider.js +4 -5
- package/dist/UIKit/Slider/SimpleSlider.vue.js +1 -2
- package/dist/UIKit/StaticSpinner.js +1 -2
- package/dist/UIKit/StaticSpinner.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTab.d.ts +5 -3
- package/dist/UIKit/Tab/BaseTab.js +1 -2
- package/dist/UIKit/Tab/BaseTab.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabList.js +1 -2
- package/dist/UIKit/Tab/BaseTabList.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabPanel.d.ts +5 -3
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -2
- package/dist/UIKit/Tab/BaseTabPanel.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabView.js +1 -2
- package/dist/UIKit/Tab/BaseTabView.vue.js +36 -37
- package/dist/UIKit/Tab/v2/BaseTabs.d.ts +6 -0
- package/dist/UIKit/Tab/v2/BaseTabs.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabs.vue.js +13 -6
- package/dist/UIKit/Tab/v2/BaseTabsContent.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsList.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +6 -3
- package/dist/UIKit/frameUtils.js +1 -2
- package/dist/UIKit/useScrollLock.js +2 -3
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/chart/DoughnutChart.js +1 -2
- package/dist/chart/DoughnutChart.vue.js +14 -15
- package/dist/chart/LineChart.js +1 -2
- package/dist/chart/LineChart.vue.js +16 -17
- package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +7 -5
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.d.ts +31 -29
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +2 -7
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +1 -2
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +16 -17
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +14 -9
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +1 -2
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +12 -13
- package/dist/components/IntersectionObserver/v2/types.js +1 -2
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +4 -4
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +13 -14
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +12 -13
- package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +5 -3
- package/dist/components/carousel/Primitive/SwiperPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +1 -2
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -6
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +39 -40
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +13 -14
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.vue.js +27 -28
- package/dist/components/carousel/Primitive/deferredImages.js +1 -2
- package/dist/components/carousel/SwiperCarousel.d.ts +14 -7
- package/dist/components/carousel/SwiperCarousel.js +4 -5
- package/dist/components/carousel/SwiperCarousel.vue.js +82 -83
- package/dist/components/carousel/SwiperSlide.d.ts +5 -3
- package/dist/components/carousel/SwiperSlide.js +6 -7
- package/dist/composables/mock.js +1 -2
- package/dist/composables/useFloatingLabel.js +2 -7
- package/dist/composables/useValidator.js +1 -2
- package/dist/css/BaseAccordionItem.css +1 -0
- package/dist/{assets/BaseInput2.css → css/BaseInput.css} +1 -1
- package/dist/css/BaseModal.css +1 -0
- package/dist/css/BaseSlider.css +1 -0
- package/dist/css/BaseSnackbar.css +1 -0
- package/dist/{assets → css}/ClearableAutocomplete.css +1 -1
- package/dist/css/SwiperCarousel.css +1 -0
- package/dist/css/SwiperNavigationPrimitive.css +1 -0
- package/dist/css/SwiperRootPrimitive.css +1 -0
- package/dist/docs/AccessibleSelect.md +3 -1
- package/dist/docs/AccordionContentPrimitive.md +1 -1
- package/dist/docs/AccordionHeaderPrimitive.md +1 -1
- package/dist/docs/AccordionItemPrimitive.md +3 -3
- package/dist/docs/AccordionTriggerPrimitive.md +1 -1
- package/dist/docs/BaseAccordion.md +3 -3
- package/dist/docs/BaseAccordionItem.md +3 -1
- package/dist/docs/BaseAlert.md +3 -1
- package/dist/docs/BaseAutocomplete.md +3 -1
- package/dist/docs/BaseBadge.md +3 -1
- package/dist/docs/BaseBreadcrumb.md +1 -1
- package/dist/docs/BaseButton.md +1 -1
- package/dist/docs/BaseCard.md +3 -1
- package/dist/docs/BaseComplexToggle.md +3 -1
- package/dist/docs/BaseDropDown.md +3 -1
- package/dist/docs/BaseFloatingLabel.md +3 -1
- package/dist/docs/BaseInput.md +3 -1
- package/dist/docs/BaseModal.md +3 -1
- package/dist/docs/BasePagination.md +1 -1
- package/dist/docs/BaseShimmerLoader.md +3 -1
- package/dist/docs/BaseSlider.md +3 -1
- package/dist/docs/BaseSnackbar.md +4 -2
- package/dist/docs/BaseTab.md +1 -1
- package/dist/docs/BaseTabView.md +1 -1
- package/dist/docs/BaseTabs.md +4 -2
- package/dist/docs/BaseTabsContent.md +1 -1
- package/dist/docs/BaseTabsIndicator.md +3 -1
- package/dist/docs/BaseTabsList.md +1 -1
- package/dist/docs/BaseTabsTrigger.md +1 -1
- package/dist/docs/BaseTextarea.md +3 -1
- package/dist/docs/BaseToggle.md +1 -1
- package/dist/docs/BaseTooltip.md +3 -1
- package/dist/docs/BaseUploadFile.md +1 -1
- package/dist/docs/CardDescriptionPrimitive.md +1 -1
- package/dist/docs/CardImagePrimitive.md +1 -1
- package/dist/docs/CardRootPrimitive.md +3 -1
- package/dist/docs/CheckboxBtn.md +3 -1
- package/dist/docs/CheckboxButtonGroup.md +1 -1
- package/dist/docs/CheckboxGroup.md +1 -1
- package/dist/docs/CheckboxGroupItemPrimitive.md +6 -5
- package/dist/docs/CheckboxGroupPrimitive.md +3 -1
- package/dist/docs/ClearableAutocomplete.md +3 -1
- package/dist/docs/DoughnutChart.md +1 -1
- package/dist/docs/INDEX.md +2 -2
- package/dist/docs/IntersectionObservable.md +1 -1
- package/dist/docs/IntersectionObserver.md +1 -1
- package/dist/docs/IntersectionObserverProvider.md +1 -1
- package/dist/docs/IntersectionObserverTarget.md +1 -1
- package/dist/docs/LineChart.md +1 -1
- package/dist/docs/ProgressIndicatorPrimitive.md +1 -1
- package/dist/docs/ProgressRootPrimitive.md +2 -2
- package/dist/docs/RadioButton.md +1 -1
- package/dist/docs/RadioButtonGroup.md +1 -1
- package/dist/docs/RadioButtonItem.md +3 -1
- package/dist/docs/RadioGroup.md +1 -1
- package/dist/docs/RadioGroupItemPrimitive.md +1 -1
- package/dist/docs/SelectItem.md +1 -1
- package/dist/docs/ShimmerMultiLine.md +1 -1
- package/dist/docs/SimpleSlider.md +3 -1
- package/dist/docs/StaticSpinner.md +3 -1
- package/dist/docs/SwiperCarousel.md +3 -1
- package/dist/docs/SwiperNavigationPrimitive.md +3 -1
- package/dist/docs/SwiperPaginationPrimitive.md +3 -1
- package/dist/docs/SwiperPrimitive.md +1 -1
- package/dist/docs/SwiperRootPrimitive.md +3 -1
- package/dist/docs/SwiperSlide.md +1 -1
- package/dist/docs/SwiperSlideImagePrimitive.md +3 -1
- package/dist/docs/SwiperThumbnailPrimitive.md +1 -1
- package/dist/docs/TOKENS.md +1 -1
- package/dist/docs/agent-index.md +1 -1
- package/dist/index.js +25 -25
- package/dist/lazyModules/ChartJs/Chart.js +1 -2
- package/dist/lazyModules/ChartJs/DoughnutChart/core.js +1 -2
- package/dist/lazyModules/ChartJs/LineChart/cartesian.js +1 -2
- package/dist/lazyModules/ChartJs/LineChart/core.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/Legend.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +2 -3
- package/dist/lazyModules/ChartJs/Plugins/Title.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +1 -2
- package/dist/lazyModules/Swiper/Autoplay/factory.js +1 -2
- package/dist/lazyModules/Swiper/Autoplay/index.js +2 -3
- package/dist/lazyModules/Swiper/Controller/factory.js +1 -2
- package/dist/lazyModules/Swiper/Controller/index.js +2 -3
- package/dist/lazyModules/Swiper/FreeMode/factory.js +1 -2
- package/dist/lazyModules/Swiper/FreeMode/index.js +2 -3
- package/dist/lazyModules/Swiper/Keyboard/factory.js +1 -2
- package/dist/lazyModules/Swiper/Keyboard/index.js +2 -3
- package/dist/lazyModules/Swiper/Navigation/factory.js +1 -2
- package/dist/lazyModules/Swiper/Navigation/index.js +2 -3
- package/dist/lazyModules/Swiper/Pagination/factory.js +1 -2
- package/dist/lazyModules/Swiper/Pagination/index.js +2 -3
- package/dist/lazyModules/Swiper/Thumbs/factory.js +1 -2
- package/dist/lazyModules/Swiper/Thumbs/index.js +2 -3
- package/dist/lazyModules/Swiper/Zoom/factory.js +1 -2
- package/dist/lazyModules/Swiper/Zoom/index.js +2 -3
- package/dist/lazyModules/Swiper/factory.js +1 -2
- package/dist/lazyModules/Swiper/index.js +2 -3
- package/dist/lazyModules/VueChartJs/Doughnut/factory.js +1 -2
- package/dist/lazyModules/VueChartJs/Doughnut/index.js +1 -2
- package/dist/lazyModules/VueChartJs/Line/factory.js +1 -2
- package/dist/lazyModules/VueChartJs/Line/index.js +1 -2
- package/dist/utils.js +1 -2
- package/package.json +31 -31
- package/dist/assets/BaseAccordionItem.css +0 -1
- package/dist/assets/BaseSlider2.css +0 -1
- package/dist/assets/BaseSnackbar.css +0 -1
- package/dist/assets/SwiperCarousel.css +0 -1
- package/dist/assets/SwiperRootPrimitive.css +0 -1
- package/dist/assets/SwiperRootPrimitive2.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-autoplay.css +0 -1
- /package/dist/{assets → css}/AccessibleSelect.css +0 -0
- /package/dist/{assets/baseAlert.css → css/BaseAlert.css} +0 -0
- /package/dist/{assets → css}/BaseAutocomplete.css +0 -0
- /package/dist/{assets → css}/BaseBadge.css +0 -0
- /package/dist/{assets/baseCard.css → css/BaseCard.css} +0 -0
- /package/dist/{assets/BaseComplexToggle2.css → css/BaseComplexToggle.css} +0 -0
- /package/dist/{assets → css}/BaseDropDown.css +0 -0
- /package/dist/{assets/BaseFloatingLabel2.css → css/BaseFloatingLabel.css} +0 -0
- /package/dist/{assets → css}/BaseShimmerLoader.css +0 -0
- /package/dist/{assets → css}/BaseTabs.css +0 -0
- /package/dist/{assets → css}/BaseTabsIndicator.css +0 -0
- /package/dist/{assets/BaseTextarea2.css → css/BaseTextarea.css} +0 -0
- /package/dist/{assets/BaseTooltip2.css → css/BaseTooltip.css} +0 -0
- /package/dist/{assets → css}/CheckboxBtn.css +0 -0
- /package/dist/{assets → css}/RadioButtonItem.css +0 -0
- /package/dist/{assets → css}/SimpleSlider.css +0 -0
- /package/dist/{assets → css}/StaticSpinner.css +0 -0
- /package/dist/{assets/swiperPaginationBullet.css → css/SwiperPaginationPrimitive.css} +0 -0
- /package/dist/{assets → css}/SwiperSlideImagePrimitive.css +0 -0
- /package/dist/{assets → css}/swiper-free-mode.css +0 -0
- /package/dist/{assets → css}/swiper-navigation.css +0 -0
- /package/dist/{assets → css}/swiper-pagination.css +0 -0
- /package/dist/{assets → css}/swiper-swiper.css +0 -0
- /package/dist/{assets → css}/swiper-zoom.css +0 -0
- /package/dist/{assets → css}/tailwind.css +0 -0
- /package/dist/{assets → css}/tokens.css +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import '../
|
|
1
|
+
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, mergeModels as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, renderSlot as f, unref as p, useAttrs as m, useId as h, useModel as g, watch as _, withKeys as v, withModifiers as y } from "vue";
|
|
2
|
+
import b from "./BaseFloatingLabel.js";
|
|
3
|
+
import { useFloatingLabel as x } from "../composables/useFloatingLabel.js";
|
|
4
|
+
import '../css/BaseInput.css';// lib/UIKit/BaseInput.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var S = [
|
|
6
6
|
"id",
|
|
7
7
|
"data-cy",
|
|
@@ -20,10 +20,10 @@ var S = [
|
|
|
20
20
|
], C = { 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" }, w = ["innerHTML"], T = ["innerHTML"], E = ["innerHTML"], D = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "under-label uikit-absolute uikit-text-12"
|
|
23
|
-
}, O = /*@__PURE__*/
|
|
23
|
+
}, O = /*@__PURE__*/ o({
|
|
24
24
|
inheritAttrs: !1,
|
|
25
25
|
__name: "BaseInput",
|
|
26
|
-
props: /*@__PURE__*/
|
|
26
|
+
props: /*@__PURE__*/ s({
|
|
27
27
|
id: {},
|
|
28
28
|
inputClass: {},
|
|
29
29
|
labelText: { default: "" },
|
|
@@ -53,7 +53,7 @@ var S = [
|
|
|
53
53
|
modelValue: { default: () => "" },
|
|
54
54
|
modelModifiers: {}
|
|
55
55
|
}),
|
|
56
|
-
emits: /*@__PURE__*/
|
|
56
|
+
emits: /*@__PURE__*/ s([
|
|
57
57
|
"click",
|
|
58
58
|
"keydownEnterPressed",
|
|
59
59
|
"focusin",
|
|
@@ -61,17 +61,17 @@ var S = [
|
|
|
61
61
|
"keydown",
|
|
62
62
|
"keyup"
|
|
63
63
|
], ["update:modelValue"]),
|
|
64
|
-
setup(
|
|
65
|
-
let k =
|
|
66
|
-
|
|
64
|
+
setup(o, { expose: s, emit: O }) {
|
|
65
|
+
let k = g(o, "modelValue"), A = u(""), j = O, { labelState: M, handleFocusIn: N, handleFocusOut: P, setInlineLabel: F, setFloatingLabel: I } = x(j), L = h(), R = t(() => o.id || L), z = u("text"), B = u({}), V = u(null), H = () => {
|
|
66
|
+
o.feedback && (B.value = o.feedback, o.feedback.valid && typeof o.feedback.valid == "string" && (B.value.valid = [o.feedback.valid]), o.feedback.invalid && typeof o.feedback.invalid == "string" && (B.value.invalid = [o.feedback.invalid]));
|
|
67
67
|
}, U = (e, t) => {
|
|
68
|
-
if (!
|
|
69
|
-
let n = e.length ?
|
|
68
|
+
if (!o.formatter || !o.formatter.formatFn) return A.value = e, "";
|
|
69
|
+
let n = e.length ? o.formatter.formatFn(e) : e;
|
|
70
70
|
return t && (t.value = n), A.value = n, n;
|
|
71
71
|
}, W = (e, t = !0) => {
|
|
72
|
-
if (t && (!
|
|
73
|
-
if (!t || !
|
|
74
|
-
let n =
|
|
72
|
+
if (t && (!o.formatter || !o.formatter.unFormatFn)) return k.value = e, e;
|
|
73
|
+
if (!t || !o.formatter || !o.formatter.unFormatFn) return;
|
|
74
|
+
let n = o.formatter.unFormatFn(e);
|
|
75
75
|
return k.value = n ?? "", n;
|
|
76
76
|
}, G = ({ target: e }) => {
|
|
77
77
|
let t = e, n = W(t.value);
|
|
@@ -81,45 +81,45 @@ var S = [
|
|
|
81
81
|
}, q = () => {
|
|
82
82
|
z.value === "password" ? z.value = "text" : z.value === "text" && (z.value = "password");
|
|
83
83
|
};
|
|
84
|
-
return
|
|
84
|
+
return _(() => o.feedback, () => {
|
|
85
85
|
H();
|
|
86
|
-
}, { immediate: !0 }),
|
|
86
|
+
}, { immediate: !0 }), _(k, (e) => {
|
|
87
87
|
U(`${e}`, W(`${e}`, !1) === e ? V.value : void 0), A.value != null && A.value.length > 0 && M.value !== "floating-label" ? I() : !A.value && document && document.activeElement !== V.value && F();
|
|
88
|
-
}, { immediate: !0 }),
|
|
88
|
+
}, { immediate: !0 }), _(() => o.keepFloatingLabel, (e) => {
|
|
89
89
|
e ? I() : P(k.value);
|
|
90
|
-
}), z.value =
|
|
90
|
+
}), z.value = m().type || "text", s({ select: () => {
|
|
91
91
|
V.value?.select();
|
|
92
|
-
} }), (t,
|
|
92
|
+
} }), (t, s) => (l(), i("div", { class: c(["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", [
|
|
93
93
|
t.$attrs.class,
|
|
94
|
-
{ "floating-label":
|
|
95
|
-
|
|
96
|
-
{ "has-right-icon":
|
|
97
|
-
{ "has-left-icon":
|
|
94
|
+
{ "floating-label": o.labelText },
|
|
95
|
+
p(M) === "floating-label" ? "floating-state" : "inline-state",
|
|
96
|
+
{ "has-right-icon": o.withRightIcon === void 0 ? !!t.$slots.righticon : o.withRightIcon },
|
|
97
|
+
{ "has-left-icon": o.withLeftIcon === void 0 ? !!t.$slots.leftIcon : o.withLeftIcon },
|
|
98
98
|
{
|
|
99
|
-
"is-invalid":
|
|
100
|
-
"is-valid":
|
|
99
|
+
"is-invalid": o.isValid === !1,
|
|
100
|
+
"is-valid": o.isValid
|
|
101
101
|
}
|
|
102
102
|
]]) }, [
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
f(t.$slots, "leftIcon", {}, void 0, !0),
|
|
104
|
+
f(t.$slots, "righticon", {
|
|
105
105
|
handleClean: K,
|
|
106
106
|
handleShowPasswd: q,
|
|
107
107
|
curType: z.value
|
|
108
108
|
}, void 0, !0),
|
|
109
|
-
|
|
109
|
+
a("input", {
|
|
110
110
|
id: R.value,
|
|
111
111
|
ref_key: "baseInputEl",
|
|
112
112
|
ref: V,
|
|
113
|
-
"data-cy":
|
|
113
|
+
"data-cy": o.dataCy,
|
|
114
114
|
name: t.$attrs.name,
|
|
115
|
-
class:
|
|
115
|
+
class: c(["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", [
|
|
116
116
|
{
|
|
117
|
-
"is-invalid invalid-bg !uikit-pr-9":
|
|
118
|
-
"is-valid valid-bg !uikit-pr-9":
|
|
117
|
+
"is-invalid invalid-bg !uikit-pr-9": o.isValid === !1,
|
|
118
|
+
"is-valid valid-bg !uikit-pr-9": o.isValid
|
|
119
119
|
},
|
|
120
|
-
{ "uikit-pr-[42px]":
|
|
121
|
-
{ "uikit-pl-[42px]":
|
|
122
|
-
|
|
120
|
+
{ "uikit-pr-[42px]": o.withRightIcon === void 0 ? !!t.$slots.righticon : o.withRightIcon },
|
|
121
|
+
{ "uikit-pl-[42px]": o.withLeftIcon === void 0 ? !!t.$slots.leftIcon : o.withLeftIcon },
|
|
122
|
+
o.inputClass
|
|
123
123
|
]]),
|
|
124
124
|
autocomplete: t.$attrs.autocomplete === "on" ? "on" : "off",
|
|
125
125
|
disabled: t.$attrs.disabled,
|
|
@@ -132,39 +132,39 @@ var S = [
|
|
|
132
132
|
inputmode: t.$attrs.inputmode,
|
|
133
133
|
placeholder: t.$attrs.placeholder,
|
|
134
134
|
value: A.value,
|
|
135
|
-
onClick:
|
|
136
|
-
onFocusin:
|
|
137
|
-
onFocusout:
|
|
138
|
-
onInput:
|
|
139
|
-
onKeydown: [
|
|
140
|
-
onKeyup:
|
|
135
|
+
onClick: s[0] ||= (e) => j("click", e),
|
|
136
|
+
onFocusin: s[1] ||= () => o.labelText && p(N)(),
|
|
137
|
+
onFocusout: s[2] ||= (e) => o.labelText && !o.keepFloatingLabel && p(P)(A.value),
|
|
138
|
+
onInput: y(G, ["stop"]),
|
|
139
|
+
onKeydown: [s[3] ||= v(() => j("keydownEnterPressed"), ["enter"]), s[4] ||= (e) => j("keydown", e)],
|
|
140
|
+
onKeyup: s[5] ||= (e) => j("keyup", e)
|
|
141
141
|
}, null, 42, S),
|
|
142
|
-
|
|
142
|
+
a("fieldset", { class: c(["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", [
|
|
143
143
|
{
|
|
144
|
-
"is-invalid uikit-border-w-danger":
|
|
145
|
-
"is-valid uikit-border-w-primary":
|
|
146
|
-
"uikit-border-w-secondary":
|
|
144
|
+
"is-invalid uikit-border-w-danger": o.isValid === !1,
|
|
145
|
+
"is-valid uikit-border-w-primary": o.isValid,
|
|
146
|
+
"uikit-border-w-secondary": o.isValid === null
|
|
147
147
|
},
|
|
148
|
-
{ "uikit-top-0": !
|
|
149
|
-
|
|
150
|
-
]]) }, [
|
|
151
|
-
class:
|
|
152
|
-
{ "uikit-mx-5px":
|
|
153
|
-
{ "uikit-visible uikit-inline-block":
|
|
154
|
-
{ "uikit-invisible uikit-hidden":
|
|
148
|
+
{ "uikit-top-0": !o.labelText },
|
|
149
|
+
o.fieldsetClasses
|
|
150
|
+
]]) }, [a("legend", C, [a("span", {
|
|
151
|
+
class: c(["visible-label uikit-opacity-0", [
|
|
152
|
+
{ "uikit-mx-5px": o.labelText },
|
|
153
|
+
{ "uikit-visible uikit-inline-block": p(M) === "floating-label" },
|
|
154
|
+
{ "uikit-invisible uikit-hidden": p(M) === "inline-label" }
|
|
155
155
|
]]),
|
|
156
|
-
innerHTML:
|
|
156
|
+
innerHTML: o.labelText
|
|
157
157
|
}, null, 10, w)])], 2),
|
|
158
|
-
|
|
158
|
+
o.labelText ? (l(), n(b, {
|
|
159
159
|
key: 0,
|
|
160
160
|
for: R.value,
|
|
161
|
-
"label-text":
|
|
162
|
-
"label-state":
|
|
163
|
-
"is-valid":
|
|
161
|
+
"label-text": o.labelText,
|
|
162
|
+
"label-state": p(M),
|
|
163
|
+
"is-valid": o.isValid,
|
|
164
164
|
required: t.$attrs.required,
|
|
165
165
|
disabled: t.$attrs.disabled,
|
|
166
|
-
"label-classes": [
|
|
167
|
-
"label-text-classes":
|
|
166
|
+
"label-classes": [p(M) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4", o.labelClasses],
|
|
167
|
+
"label-text-classes": o.labelTextClasses
|
|
168
168
|
}, null, 8, [
|
|
169
169
|
"for",
|
|
170
170
|
"label-text",
|
|
@@ -174,19 +174,18 @@ var S = [
|
|
|
174
174
|
"disabled",
|
|
175
175
|
"label-classes",
|
|
176
176
|
"label-text-classes"
|
|
177
|
-
])) :
|
|
178
|
-
|
|
177
|
+
])) : r("", !0),
|
|
178
|
+
f(t.$slots, "feedback", {}, () => [o.isValid === !1 ? (l(!0), i(e, { key: 0 }, d(B.value.invalid, (e, t) => (l(), i("div", {
|
|
179
179
|
key: `${R.value}_invalid_${t}`,
|
|
180
180
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-danger",
|
|
181
181
|
innerHTML: e
|
|
182
|
-
}, null, 8, T))), 128)) :
|
|
182
|
+
}, null, 8, T))), 128)) : o.isValid === !0 ? (l(!0), i(e, { key: 1 }, d(B.value.valid, (e, t) => (l(), i("div", {
|
|
183
183
|
key: `${R.value}_valid_${t}`,
|
|
184
184
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-primary",
|
|
185
185
|
innerHTML: e
|
|
186
|
-
}, null, 8, E))), 128)) :
|
|
187
|
-
t.$slots["under-label"] ? (
|
|
186
|
+
}, null, 8, E))), 128)) : r("", !0)], !0),
|
|
187
|
+
t.$slots["under-label"] ? (l(), i("div", D, [f(t.$slots, "under-label", {}, void 0, !0)])) : r("", !0)
|
|
188
188
|
], 2));
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
|
-
//#endregion
|
|
192
191
|
export { O as default };
|
|
@@ -28,22 +28,29 @@ type __VLS_ModelProps = {
|
|
|
28
28
|
"showModal"?: boolean;
|
|
29
29
|
};
|
|
30
30
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
31
|
-
declare
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} & {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} & {
|
|
45
|
-
|
|
31
|
+
declare const __VLS_template: () => {
|
|
32
|
+
__VLS_Slots: {
|
|
33
|
+
header?: (props: {
|
|
34
|
+
closeModal: () => void;
|
|
35
|
+
}) => any;
|
|
36
|
+
} & {
|
|
37
|
+
body?: (props: {
|
|
38
|
+
closeModal: () => void;
|
|
39
|
+
}) => any;
|
|
40
|
+
} & {
|
|
41
|
+
footer?: (props: {
|
|
42
|
+
closeModal: () => void;
|
|
43
|
+
}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
'fixed-bottom'?: (props: {}) => any;
|
|
46
|
+
};
|
|
47
|
+
__VLS_TemplateRefs: {
|
|
48
|
+
backdrop: __VLS_Elements["div"];
|
|
49
|
+
} & {
|
|
50
|
+
modalDialog: __VLS_Elements["dialog"];
|
|
51
|
+
};
|
|
46
52
|
};
|
|
53
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
47
54
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
55
|
opened: () => any;
|
|
49
56
|
closed: () => any;
|
package/dist/UIKit/BaseModal.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import '../
|
|
1
|
+
import { Teleport as e, Transition as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, mergeModels as c, normalizeClass as l, onUnmounted as u, openBlock as d, renderSlot as f, shallowRef as p, unref as m, useModel as h, useTemplateRef as g, vShow as _, withCtx as v, withDirectives as y, withModifiers as b } from "vue";
|
|
2
|
+
import { CloseIcon as x } from "@wikicasa-dev/svg-icons";
|
|
3
|
+
import { afterPaint as S } from "./frameUtils.js";
|
|
4
|
+
import { useScrollLock as C } from "./useScrollLock.js";
|
|
5
|
+
import '../css/BaseModal.css';// lib/UIKit/BaseModal.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var w = [
|
|
7
7
|
"id",
|
|
8
8
|
"data-cy",
|
|
9
9
|
"data-state"
|
|
10
|
-
], T = ["innerHTML"], E = /*@__PURE__*/
|
|
10
|
+
], T = ["innerHTML"], E = /*@__PURE__*/ s({
|
|
11
11
|
__name: "BaseModal",
|
|
12
|
-
props: /*@__PURE__*/
|
|
12
|
+
props: /*@__PURE__*/ c({
|
|
13
13
|
id: { default: "base-bt-modal" },
|
|
14
14
|
size: { default: "modal-md" },
|
|
15
15
|
customBackdropClasses: {},
|
|
@@ -46,28 +46,28 @@ var w = [
|
|
|
46
46
|
},
|
|
47
47
|
showModalModifiers: {}
|
|
48
48
|
}),
|
|
49
|
-
emits: /*@__PURE__*/
|
|
49
|
+
emits: /*@__PURE__*/ c([
|
|
50
50
|
"closed",
|
|
51
51
|
"opened",
|
|
52
52
|
"dialogClick"
|
|
53
53
|
], ["update:showModal"]),
|
|
54
|
-
setup(
|
|
55
|
-
let E =
|
|
54
|
+
setup(s, { emit: c }) {
|
|
55
|
+
let E = c, D = h(s, "showModal"), O = D.value, { lock: k, unlock: A } = C(), j = g("backdrop"), M = g("modalDialog"), N = p(!1), P = p(!1), F = ({ key: e }) => {
|
|
56
56
|
e === "Escape" && H();
|
|
57
57
|
}, I = () => {
|
|
58
58
|
document?.body.addEventListener("keydown", F);
|
|
59
59
|
}, L = () => {
|
|
60
60
|
document?.body.removeEventListener("keydown", F);
|
|
61
61
|
}, R = () => {
|
|
62
|
-
P.value ||= (I(),
|
|
62
|
+
P.value ||= (I(), S(() => {
|
|
63
63
|
D.value && k();
|
|
64
64
|
}), !0);
|
|
65
65
|
}, z = () => {
|
|
66
|
-
E("opened"),
|
|
66
|
+
E("opened"), s.autoClose !== void 0 && setTimeout(() => {
|
|
67
67
|
H();
|
|
68
|
-
},
|
|
68
|
+
}, s.autoClose);
|
|
69
69
|
}, B = () => {
|
|
70
|
-
|
|
70
|
+
S(() => {
|
|
71
71
|
D.value || A();
|
|
72
72
|
});
|
|
73
73
|
}, V = () => {
|
|
@@ -79,22 +79,16 @@ var w = [
|
|
|
79
79
|
}, W = (e) => {
|
|
80
80
|
M.value && M.value.contains(e.target) && (N.value = !1);
|
|
81
81
|
}, G = async (e) => {
|
|
82
|
-
|
|
83
|
-
if (N.value) {
|
|
84
|
-
N.value = !1;
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
H();
|
|
88
|
-
}
|
|
82
|
+
e.target !== j.value && j.value?.contains(e.target) || s.closeOnClickOut && (N.value ? N.value = !1 : H());
|
|
89
83
|
};
|
|
90
|
-
|
|
84
|
+
u(() => {
|
|
91
85
|
L(), A();
|
|
92
86
|
});
|
|
93
87
|
let K = (e) => {
|
|
94
88
|
M.value === e.target && e.stopPropagation();
|
|
95
89
|
};
|
|
96
|
-
return (
|
|
97
|
-
appear:
|
|
90
|
+
return (c, u) => (d(), n(e, { to: "body" }, [o(t, {
|
|
91
|
+
appear: m(O),
|
|
98
92
|
name: "modal-transition",
|
|
99
93
|
duration: {
|
|
100
94
|
enter: 250,
|
|
@@ -103,65 +97,65 @@ var w = [
|
|
|
103
97
|
onBeforeEnter: R,
|
|
104
98
|
onAfterEnter: z,
|
|
105
99
|
onLeave: B,
|
|
106
|
-
onAfterLeave: V
|
|
100
|
+
onAfterLeave: V,
|
|
101
|
+
persisted: ""
|
|
107
102
|
}, {
|
|
108
|
-
default:
|
|
103
|
+
default: v(() => [y(a("div", {
|
|
109
104
|
ref: "backdrop",
|
|
110
|
-
class:
|
|
111
|
-
|
|
105
|
+
class: l(["bbt-backdrop uikit-fixed uikit-left-0 uikit-top-0 uikit-z-50 uikit-h-full uikit-w-full", [
|
|
106
|
+
s.customBackdropClasses,
|
|
112
107
|
{ "uikit-bg-w-secondary/70": D.value },
|
|
113
108
|
{ "uikit-bg-transparent": !D.value },
|
|
114
|
-
{ "sm:uikit-pt-[30px]": !
|
|
109
|
+
{ "sm:uikit-pt-[30px]": !s.centered }
|
|
115
110
|
]]),
|
|
116
111
|
onClick: G,
|
|
117
112
|
onMousedown: U,
|
|
118
113
|
onMouseup: W
|
|
119
|
-
}, [
|
|
120
|
-
id:
|
|
114
|
+
}, [a("dialog", {
|
|
115
|
+
id: s.id,
|
|
121
116
|
ref: "modalDialog",
|
|
122
|
-
"data-cy":
|
|
123
|
-
class:
|
|
124
|
-
|
|
125
|
-
{ "centered sm:uikit-absolute sm:uikit-top-1/2 sm:-uikit-translate-y-1/2":
|
|
126
|
-
{ "uikit-static": !
|
|
127
|
-
`base-${
|
|
128
|
-
|
|
117
|
+
"data-cy": s.dataCy,
|
|
118
|
+
class: l(["uikit-modal-dialog uikit-mx-auto uikit-block uikit-w-full uikit-overflow-y-auto uikit-overflow-x-hidden uikit-rounded uikit-border-none uikit-bg-transparent uikit-bg-white uikit-p-0 uikit-shadow-lg uikit-no-scrollbar uikit-safe-bottom max-sm:uikit-fixed max-sm:uikit-bottom-0 max-sm:uikit-max-h-[95%] max-sm:uikit-rounded-bl-none max-sm:uikit-rounded-br-none sm:uikit-h-auto", [
|
|
119
|
+
s.customModalDialogClasses,
|
|
120
|
+
{ "centered sm:uikit-absolute sm:uikit-top-1/2 sm:-uikit-translate-y-1/2": s.centered },
|
|
121
|
+
{ "uikit-static": !s.centered },
|
|
122
|
+
`base-${s.size}`,
|
|
123
|
+
s.fullHeight ? "uikit-h-[95%]" : "uikit-h-auto"
|
|
129
124
|
]]),
|
|
130
125
|
tabindex: "-1",
|
|
131
126
|
"data-state": D.value ? "open" : "closed",
|
|
132
|
-
onClick:
|
|
127
|
+
onClick: u[1] ||= (e) => E("dialogClick", e),
|
|
133
128
|
onFocusin: K
|
|
134
129
|
}, [
|
|
135
|
-
|
|
130
|
+
a("div", { class: l(["default-header uikit-sticky uikit-top-0 uikit-z-10 uikit-rounded-t uikit-border-0 uikit-bg-white uikit-px-4 uikit-pb-10px uikit-pt-20px sm:uikit-px-6", [s.customModalHeaderClasses]]) }, [s.withCloseIcon ? (d(), i("button", {
|
|
136
131
|
key: 0,
|
|
137
132
|
id: "close-icon-btn",
|
|
138
133
|
"data-cy": "bbt-default-close-icon-btn",
|
|
139
|
-
class:
|
|
134
|
+
class: l(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent uikit-p-5px", s.closeIconBtnClasses]),
|
|
140
135
|
type: "button",
|
|
141
136
|
"aria-label": "Close",
|
|
142
|
-
onClick:
|
|
143
|
-
}, [
|
|
144
|
-
class:
|
|
145
|
-
width:
|
|
146
|
-
height:
|
|
137
|
+
onClick: u[0] ||= b((e) => D.value = !1, ["prevent", "stop"])
|
|
138
|
+
}, [o(m(x), {
|
|
139
|
+
class: l(["bbt-close-icon uikit-box-border", s.closeIcon?.classes]),
|
|
140
|
+
width: s.closeIcon?.size || 20,
|
|
141
|
+
height: s.closeIcon?.size || 20
|
|
147
142
|
}, null, 8, [
|
|
148
143
|
"class",
|
|
149
144
|
"width",
|
|
150
145
|
"height"
|
|
151
|
-
])], 2)) :
|
|
152
|
-
class:
|
|
153
|
-
innerHTML:
|
|
146
|
+
])], 2)) : r("", !0), f(c.$slots, "header", { closeModal: H }, () => [a("span", {
|
|
147
|
+
class: l(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", s.titleClasses]),
|
|
148
|
+
innerHTML: s.headerTitle
|
|
154
149
|
}, null, 10, T)])], 2),
|
|
155
|
-
|
|
156
|
-
|
|
150
|
+
a("div", { class: l(["uikit-bbt-body uikit-flex-auto uikit-overflow-y-auto uikit-overflow-x-hidden uikit-px-4 uikit-pb-0 uikit-no-scrollbar sm:uikit-px-6 sm:uikit-pb-25px", [s.customModalBodyClasses]]) }, [f(c.$slots, "body", { closeModal: H })], 2),
|
|
151
|
+
c.$slots.footer ? (d(), i("div", {
|
|
157
152
|
key: 0,
|
|
158
|
-
class:
|
|
159
|
-
}, [
|
|
160
|
-
|
|
161
|
-
], 42, w)], 34), [[
|
|
153
|
+
class: l(["uikit-bbt-footer uikit-sticky uikit-bottom-0 uikit-border-0 uikit-bg-white uikit-px-4 uikit-py-15px sm:uikit-px-6", s.customModalFooterClasses])
|
|
154
|
+
}, [f(c.$slots, "footer", { closeModal: H })], 2)) : r("", !0),
|
|
155
|
+
f(c.$slots, "fixed-bottom")
|
|
156
|
+
], 42, w)], 34), [[_, D.value]])]),
|
|
162
157
|
_: 3
|
|
163
158
|
}, 8, ["appear"])]));
|
|
164
159
|
}
|
|
165
160
|
});
|
|
166
|
-
//#endregion
|
|
167
161
|
export { E as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, openBlock as d, renderList as f, resolveDynamicComponent as p, toDisplayString as m, unref as h, useModel as g, withCtx as _ } from "vue";
|
|
2
2
|
import { ArrowIcon as v } from "@wikicasa-dev/svg-icons";
|
|
3
|
-
|
|
3
|
+
// lib/UIKit/BasePagination.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var y = {
|
|
5
5
|
"aria-label": "Page navigation",
|
|
6
6
|
class: "uikit-overflow-auto"
|
|
@@ -36,7 +36,14 @@ var y = {
|
|
|
36
36
|
prevDataCy: {},
|
|
37
37
|
nextDataCy: {},
|
|
38
38
|
linkProps: {},
|
|
39
|
-
linkTag: {
|
|
39
|
+
linkTag: {
|
|
40
|
+
type: [
|
|
41
|
+
Object,
|
|
42
|
+
Function,
|
|
43
|
+
String
|
|
44
|
+
],
|
|
45
|
+
default: "a"
|
|
46
|
+
},
|
|
40
47
|
baseUrl: {},
|
|
41
48
|
pageQueryParameter: { default: "p" },
|
|
42
49
|
formatter: { type: Function }
|
|
@@ -189,5 +196,4 @@ var y = {
|
|
|
189
196
|
])) : r("", !0)]));
|
|
190
197
|
}
|
|
191
198
|
});
|
|
192
|
-
//#endregion
|
|
193
199
|
export { k as default };
|
|
@@ -14,12 +14,17 @@ type __VLS_Props = {
|
|
|
14
14
|
*/
|
|
15
15
|
focusOnActive?: boolean;
|
|
16
16
|
};
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
declare const __VLS_template: () => {
|
|
18
|
+
__VLS_Slots: {
|
|
19
|
+
default?: (props: {
|
|
20
|
+
itemIdx: number;
|
|
21
|
+
}) => any;
|
|
22
|
+
};
|
|
23
|
+
__VLS_TemplateRefs: {
|
|
24
|
+
liItem: __VLS_Elements["li"];
|
|
25
|
+
};
|
|
22
26
|
};
|
|
27
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
23
28
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
29
|
click: (args_0: number) => any;
|
|
25
30
|
mouseover: (args_0: number) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, createElementVNode as t, defineComponent as n, nextTick as r, normalizeClass as i, openBlock as a, renderSlot as o, useTemplateRef as s, watch as c } from "vue";
|
|
2
|
-
|
|
2
|
+
// lib/UIKit/BaseSelect/SelectItem.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var l = ["data-active", "tabindex"], u = ["innerHTML"], d = /*@__PURE__*/ n({
|
|
4
4
|
__name: "SelectItem",
|
|
5
5
|
props: {
|
|
@@ -35,5 +35,4 @@ var l = ["data-active", "tabindex"], u = ["innerHTML"], d = /*@__PURE__*/ n({
|
|
|
35
35
|
}, [o(r.$slots, "default", { itemIdx: n.idx }, () => [t("span", { innerHTML: p.label }, null, 8, u)])], 42, l));
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
//#endregion
|
|
39
38
|
export { d as default };
|
package/dist/UIKit/BaseSlider.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import t from "
|
|
3
|
-
|
|
4
|
-
var n = /*#__PURE__*/ e
|
|
5
|
-
//#endregion
|
|
1
|
+
import e from "./BaseSlider.vue.js";
|
|
2
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// lib/UIKit/BaseSlider.vue
|
|
4
|
+
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-bf5ffbaf"]]);
|
|
6
5
|
export { n as default };
|