@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,6 +1,6 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import '../
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, createVNode as n, defineComponent as r, mergeModels as i, onMounted as a, openBlock as o, ref as s, useAttrs as c, useModel as l, useTemplateRef as u, withModifiers as d } from "vue";
|
|
2
|
+
import f from "./BaseInput.js";
|
|
3
|
+
import '../css/BaseSlider.css';// lib/UIKit/BaseSlider.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var p = { class: "range_container" }, m = { class: "sliders_control" }, h = [
|
|
5
5
|
"value",
|
|
6
6
|
"min",
|
|
@@ -13,9 +13,9 @@ var p = { class: "range_container" }, m = { class: "sliders_control" }, h = [
|
|
|
13
13
|
"step"
|
|
14
14
|
], _ = { class: "form_control row" }, v = { class: "pb-15 pb-sm-0 col-sm-6 col-xl-4" }, y = { class: "col-sm-6 col-xl-4" }, b = /* @__PURE__ */ function(e) {
|
|
15
15
|
return e.range = "#2B5DFF", e.slider = "#B4C2F0", e;
|
|
16
|
-
}(b || {}), x = /*@__PURE__*/
|
|
16
|
+
}(b || {}), x = /*@__PURE__*/ r({
|
|
17
17
|
__name: "BaseSlider",
|
|
18
|
-
props: /*@__PURE__*/
|
|
18
|
+
props: /*@__PURE__*/ i({
|
|
19
19
|
type: { default: "linear" },
|
|
20
20
|
min: { default: 0 },
|
|
21
21
|
max: { default: 100 }
|
|
@@ -26,8 +26,8 @@ var p = { class: "range_container" }, m = { class: "sliders_control" }, h = [
|
|
|
26
26
|
maxValueModifiers: {}
|
|
27
27
|
}),
|
|
28
28
|
emits: ["update:minValue", "update:maxValue"],
|
|
29
|
-
setup(
|
|
30
|
-
function
|
|
29
|
+
setup(r) {
|
|
30
|
+
function i(e, t) {
|
|
31
31
|
return [parseInt(e.value, 10), parseInt(t.value, 10)];
|
|
32
32
|
}
|
|
33
33
|
let x = (e) => e.minPos + (Math.log(e.value) - e.minlval) / e.scale, S = (e) => Math.exp((e.position - e.minPos) * e.scale + e.minlval);
|
|
@@ -45,33 +45,31 @@ var p = { class: "range_container" }, m = { class: "sliders_control" }, h = [
|
|
|
45
45
|
function w(e, t) {
|
|
46
46
|
e <= 0 ? t.style.zIndex = "2" : t.style.zIndex = "0";
|
|
47
47
|
}
|
|
48
|
-
let T =
|
|
48
|
+
let T = l(r, "minValue"), E = l(r, "maxValue"), D = s(0), O = s(100), k = s(10), A = s(40), j = s(0), M = s(0), N = s(0), P = u("fromSlider"), F = u("toSlider"), I = (e, t) => {
|
|
49
49
|
if (!P.value || !F.value) return;
|
|
50
50
|
t ||= "0";
|
|
51
51
|
let n = parseInt(t, 10);
|
|
52
52
|
if (e == "min-input") {
|
|
53
53
|
if (n >= E.value) return;
|
|
54
54
|
T.value = n, z(F.value, n, E.value);
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
n < T.value || (E.value = n, B(F.value, F.value, T.value, n));
|
|
55
|
+
} else n < T.value || (E.value = n, B(F.value, F.value, T.value, n));
|
|
58
56
|
}, L = (e) => {
|
|
59
|
-
if (
|
|
57
|
+
if (r.type === "logarithmic") return e ||= 1, parseInt(x({
|
|
60
58
|
value: e,
|
|
61
59
|
minPos: D.value,
|
|
62
60
|
minlval: j.value,
|
|
63
61
|
scale: N.value
|
|
64
62
|
}).toFixed(0), 10);
|
|
65
|
-
if (
|
|
63
|
+
if (r.type === "linear") return e;
|
|
66
64
|
throw Error("The slider type has not been implemented");
|
|
67
65
|
}, R = (e) => {
|
|
68
|
-
if (
|
|
66
|
+
if (r.type === "logarithmic") return e ||= 1, parseInt(S({
|
|
69
67
|
position: e,
|
|
70
68
|
scale: N.value,
|
|
71
69
|
minlval: j.value,
|
|
72
70
|
minPos: D.value
|
|
73
71
|
}).toFixed(0), 10);
|
|
74
|
-
if (
|
|
72
|
+
if (r.type === "linear") return e;
|
|
75
73
|
throw Error("The slider type has not been implemented");
|
|
76
74
|
}, z = (e, t, n) => {
|
|
77
75
|
let r = L(t), i = L(n);
|
|
@@ -93,28 +91,28 @@ var p = { class: "range_container" }, m = { class: "sliders_control" }, h = [
|
|
|
93
91
|
w(E.value, e), o <= s ? A.value = s : A.value = o;
|
|
94
92
|
}, V = (e, t) => {
|
|
95
93
|
if (!t.value) return;
|
|
96
|
-
let [n, r] =
|
|
94
|
+
let [n, r] = i(e, t), a = R(n);
|
|
97
95
|
C(n, {
|
|
98
96
|
min: D.value,
|
|
99
97
|
max: O.value,
|
|
100
98
|
value: r
|
|
101
|
-
}, b.slider, b.range, t), n > r ? (e.value = `${r}`, k.value = r, T.value = r) : (k.value = n, T.value =
|
|
99
|
+
}, b.slider, b.range, t), n > r ? (e.value = `${r}`, k.value = r, T.value = r) : (k.value = n, T.value = a);
|
|
102
100
|
}, H = (e, t) => {
|
|
103
101
|
if (!t.value) return;
|
|
104
|
-
let [n, r] =
|
|
102
|
+
let [n, r] = i(e, t), a = R(r);
|
|
105
103
|
C(k.value, {
|
|
106
104
|
min: D.value,
|
|
107
105
|
max: O.value,
|
|
108
106
|
value: r
|
|
109
|
-
}, b.slider, b.range, t), w(parseInt(t.value, 10), t), n <= r ? (A.value = r, E.value =
|
|
110
|
-
}, U =
|
|
111
|
-
return D.value = parseInt(`${
|
|
107
|
+
}, b.slider, b.range, t), w(parseInt(t.value, 10), t), n <= r ? (A.value = r, E.value = a) : (t.value = `${n}`, A.value = n, E.value = n);
|
|
108
|
+
}, U = c();
|
|
109
|
+
return D.value = parseInt(`${r.min || 0}`, 10), O.value = parseInt(`${r.max || 100}`, 10), k.value = D.value, A.value = O.value, T.value = parseInt(`${U.minValue || D.value}`, 10), E.value = parseInt(`${U.maxValue || O.value}`, 10), j.value = Math.log(T.value || 1), M.value = Math.log(E.value), N.value = (M.value - j.value) / (O.value - D.value), a(() => {
|
|
112
110
|
P.value && F.value && (C(k.value, {
|
|
113
111
|
min: D.value,
|
|
114
112
|
max: O.value,
|
|
115
113
|
value: A.value
|
|
116
114
|
}, b.slider, b.range, F.value), w(A.value, F.value));
|
|
117
|
-
}), (
|
|
115
|
+
}), (r, i) => (o(), e("div", p, [t("div", m, [t("input", {
|
|
118
116
|
ref_key: "fromSlider",
|
|
119
117
|
ref: P,
|
|
120
118
|
class: "fromSlider",
|
|
@@ -122,9 +120,9 @@ var p = { class: "range_container" }, m = { class: "sliders_control" }, h = [
|
|
|
122
120
|
value: k.value,
|
|
123
121
|
min: D.value,
|
|
124
122
|
max: O.value,
|
|
125
|
-
step:
|
|
126
|
-
onInput:
|
|
127
|
-
}, null, 40, h),
|
|
123
|
+
step: r.$attrs.step,
|
|
124
|
+
onInput: i[0] ||= d((e) => V(P.value, F.value), ["stop"])
|
|
125
|
+
}, null, 40, h), t("input", {
|
|
128
126
|
ref_key: "toSlider",
|
|
129
127
|
ref: F,
|
|
130
128
|
class: "toSlider",
|
|
@@ -132,24 +130,23 @@ var p = { class: "range_container" }, m = { class: "sliders_control" }, h = [
|
|
|
132
130
|
value: A.value,
|
|
133
131
|
min: D.value,
|
|
134
132
|
max: O.value,
|
|
135
|
-
step:
|
|
136
|
-
onInput:
|
|
137
|
-
}, null, 40, g)]),
|
|
133
|
+
step: r.$attrs.step,
|
|
134
|
+
onInput: i[1] ||= d((e) => H(P.value, F.value), ["stop"])
|
|
135
|
+
}, null, 40, g)]), t("div", _, [t("div", v, [n(f, {
|
|
138
136
|
"label-text": "Min",
|
|
139
137
|
type: "text",
|
|
140
138
|
pattern: "[0-9]*",
|
|
141
139
|
inputmode: "numeric",
|
|
142
140
|
"model-value": T.value,
|
|
143
|
-
"onUpdate:modelValue":
|
|
144
|
-
}, null, 8, ["model-value"])]),
|
|
141
|
+
"onUpdate:modelValue": i[2] ||= (e) => I("min-input", `${e || ""}`)
|
|
142
|
+
}, null, 8, ["model-value"])]), t("div", y, [n(f, {
|
|
145
143
|
"label-text": "Max",
|
|
146
144
|
type: "text",
|
|
147
145
|
pattern: "[0-9]*",
|
|
148
146
|
inputmode: "numeric",
|
|
149
147
|
"model-value": E.value,
|
|
150
|
-
"onUpdate:modelValue":
|
|
148
|
+
"onUpdate:modelValue": i[3] ||= (e) => I("max-input", `${e || ""}`)
|
|
151
149
|
}, null, 8, ["model-value"])])])]));
|
|
152
150
|
}
|
|
153
151
|
});
|
|
154
|
-
//#endregion
|
|
155
152
|
export { x as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createBlock as e, createCommentVNode as t, createVNode as n, defineComponent as r, mergeModels as i, nextTick as a, normalizeClass as o, normalizeStyle as s, openBlock as c, ref as l, renderSlot as u, unref as d, useModel as f, watch as p, withCtx as m } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import '../
|
|
2
|
+
import { CloseIcon as h } from "@wikicasa-dev/svg-icons";
|
|
3
|
+
import { ProgressIndicator as g, ProgressRoot as _, ToastAction as v, ToastClose as y, ToastDescription as b, ToastPortal as x, ToastProvider as S, ToastRoot as C, ToastTitle as w, ToastViewport as T } from "reka-ui";
|
|
4
|
+
import '../css/BaseSnackbar.css';// lib/UIKit/BaseSnackbar.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var E = /*@__PURE__*/ r({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "BaseSnackbar",
|
|
@@ -49,56 +49,52 @@ var E = /*@__PURE__*/ r({
|
|
|
49
49
|
};
|
|
50
50
|
return p(i, (e) => {
|
|
51
51
|
a(() => {
|
|
52
|
-
|
|
53
|
-
j();
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
clearInterval(k), clearTimeout(O), D.value = 0;
|
|
52
|
+
e ? j() : (clearInterval(k), clearTimeout(O), D.value = 0);
|
|
57
53
|
});
|
|
58
54
|
}, { immediate: !0 }), p(E, (e) => {
|
|
59
55
|
e && (i.value = !1, setTimeout(() => {
|
|
60
56
|
i.value = !0, E.value = !1;
|
|
61
57
|
}));
|
|
62
|
-
}), (a, l) => (c(), e(d(
|
|
58
|
+
}), (a, l) => (c(), e(d(S), { "swipe-direction": r.swipeDirection }, {
|
|
63
59
|
default: m(() => [
|
|
64
60
|
u(a.$slots, "trigger", { open: () => i.value = !0 }),
|
|
65
|
-
n(d(
|
|
61
|
+
n(d(C), {
|
|
66
62
|
open: i.value,
|
|
67
63
|
"onUpdate:open": l[1] ||= (e) => i.value = e,
|
|
68
64
|
duration: r.duration,
|
|
69
65
|
class: o(["uikit-toast-root uikit-relative uikit-box-border uikit-overflow-hidden uikit-rounded-[4px] uikit-p-[16px] uikit-text-16 uikit-font-medium uikit-shadow-surface sm:uikit-max-w-[460px]", [
|
|
70
|
-
"uikit-
|
|
71
|
-
`uikit-
|
|
66
|
+
"uikit-snackbar",
|
|
67
|
+
`uikit-snackbar-w-${r.alertClass}`,
|
|
72
68
|
a.$attrs.class
|
|
73
69
|
]]),
|
|
74
70
|
"data-cy": r.dataCy,
|
|
75
71
|
type: r.type
|
|
76
72
|
}, {
|
|
77
73
|
default: m(() => [
|
|
78
|
-
a.$slots.title ? (c(), e(d(
|
|
74
|
+
a.$slots.title ? (c(), e(d(w), {
|
|
79
75
|
key: 0,
|
|
80
76
|
"as-child": ""
|
|
81
77
|
}, {
|
|
82
78
|
default: m(() => [u(a.$slots, "title")]),
|
|
83
79
|
_: 3
|
|
84
80
|
})) : t("", !0),
|
|
85
|
-
n(d(
|
|
81
|
+
n(d(b), { "as-child": "" }, {
|
|
86
82
|
default: m(() => [u(a.$slots, "default")]),
|
|
87
83
|
_: 3
|
|
88
84
|
}),
|
|
89
|
-
r.withCloseIcon ? (c(), e(d(
|
|
85
|
+
r.withCloseIcon ? (c(), e(d(y), {
|
|
90
86
|
key: 1,
|
|
91
87
|
class: o(["uikit-ml-[16px] uikit-flex uikit-size-[24px] uikit-shrink-0 uikit-cursor-pointer uikit-appearance-none uikit-items-center uikit-justify-center uikit-rounded-full uikit-bg-w-lightgray", r.closeClasses]),
|
|
92
88
|
"data-cy": "base-snackbar-close-btn"
|
|
93
89
|
}, {
|
|
94
|
-
default: m(() => [u(a.$slots, "toast-close", {}, () => [n(d(
|
|
90
|
+
default: m(() => [u(a.$slots, "toast-close", {}, () => [n(d(h), {
|
|
95
91
|
width: 12,
|
|
96
92
|
height: 12,
|
|
97
93
|
"stroke-color": "#fff"
|
|
98
94
|
})])]),
|
|
99
95
|
_: 3
|
|
100
96
|
}, 8, ["class"])) : t("", !0),
|
|
101
|
-
a.$slots["toast-action"] ? (c(), e(d(
|
|
97
|
+
a.$slots["toast-action"] ? (c(), e(d(v), {
|
|
102
98
|
key: 2,
|
|
103
99
|
"as-child": "",
|
|
104
100
|
"alt-text": "Goto schedule to undo"
|
|
@@ -106,13 +102,13 @@ var E = /*@__PURE__*/ r({
|
|
|
106
102
|
default: m(() => [u(a.$slots, "toast-action")]),
|
|
107
103
|
_: 3
|
|
108
104
|
})) : t("", !0),
|
|
109
|
-
n(d(
|
|
105
|
+
n(d(_), {
|
|
110
106
|
modelValue: D.value,
|
|
111
107
|
"onUpdate:modelValue": l[0] ||= (e) => D.value = e,
|
|
112
108
|
class: "uikit-absolute uikit-bottom-0 uikit-left-0 uikit-h-[4px] uikit-w-full uikit-overflow-hidden"
|
|
113
109
|
}, {
|
|
114
|
-
default: m(() => [n(d(
|
|
115
|
-
class: "uikit-
|
|
110
|
+
default: m(() => [n(d(g), {
|
|
111
|
+
class: "uikit-snackbar-progress-indicator uikit-relative uikit-block uikit-size-full uikit-transition-transform uikit-duration-75 uikit-will-change-transform",
|
|
116
112
|
style: s(`transform: translateX(-${100 - D.value}%)`)
|
|
117
113
|
}, null, 8, ["style"])]),
|
|
118
114
|
_: 1
|
|
@@ -126,13 +122,13 @@ var E = /*@__PURE__*/ r({
|
|
|
126
122
|
"data-cy",
|
|
127
123
|
"type"
|
|
128
124
|
]),
|
|
129
|
-
r.to ? (c(), e(d(
|
|
125
|
+
r.to ? (c(), e(d(x), {
|
|
130
126
|
key: 0,
|
|
131
127
|
to: r.to
|
|
132
128
|
}, {
|
|
133
|
-
default: m(() => [n(d(
|
|
129
|
+
default: m(() => [n(d(T), { class: o(["uikit-alert-viewport uikit-m-0 uikit-w-full uikit-list-none uikit-gap-[8px]", r.viewportClasses]) }, null, 8, ["class"])]),
|
|
134
130
|
_: 1
|
|
135
|
-
}, 8, ["to"])) : (c(), e(d(
|
|
131
|
+
}, 8, ["to"])) : (c(), e(d(T), {
|
|
136
132
|
key: 1,
|
|
137
133
|
class: o(["uikit-alert-viewport uikit-m-0 uikit-w-full uikit-list-none uikit-gap-[8px]", r.viewportClasses])
|
|
138
134
|
}, null, 8, ["class"]))
|
|
@@ -141,5 +137,4 @@ var E = /*@__PURE__*/ r({
|
|
|
141
137
|
}, 8, ["swipe-direction"]));
|
|
142
138
|
}
|
|
143
139
|
});
|
|
144
|
-
//#endregion
|
|
145
140
|
export { E as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import t from "
|
|
3
|
-
|
|
4
|
-
var n = /*#__PURE__*/ e
|
|
5
|
-
//#endregion
|
|
1
|
+
import e from "./BaseTextarea.vue.js";
|
|
2
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// lib/UIKit/BaseTextarea.vue
|
|
4
|
+
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-879eea8a"]]);
|
|
6
5
|
export { n as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import '../
|
|
1
|
+
import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, mergeModels as a, nextTick as o, normalizeClass as s, openBlock as c, ref as l, unref as u, useModel as d, watch as f, withModifiers as p } from "vue";
|
|
2
|
+
import m from "./BaseFloatingLabel.js";
|
|
3
|
+
import { useFloatingLabel as h } from "../composables/useFloatingLabel.js";
|
|
4
|
+
import '../css/BaseTextarea.css';// lib/UIKit/BaseTextarea.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var g = [
|
|
6
6
|
"id",
|
|
7
7
|
"data-cy",
|
|
@@ -13,10 +13,10 @@ var g = [
|
|
|
13
13
|
], _ = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "uikit-visible uikit-float-none 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-duration-[50s] uikit-ease-out"
|
|
16
|
-
}, v = ["innerHTML"], y = ["innerHTML"], b = /*@__PURE__*/
|
|
16
|
+
}, v = ["innerHTML"], y = ["innerHTML"], b = /*@__PURE__*/ i({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "BaseTextarea",
|
|
19
|
-
props: /*@__PURE__*/
|
|
19
|
+
props: /*@__PURE__*/ a({
|
|
20
20
|
labelText: { default: "" },
|
|
21
21
|
feedback: {},
|
|
22
22
|
isValid: {
|
|
@@ -32,21 +32,21 @@ var g = [
|
|
|
32
32
|
modelValue: { default: "" },
|
|
33
33
|
modelModifiers: {}
|
|
34
34
|
}),
|
|
35
|
-
emits: /*@__PURE__*/
|
|
35
|
+
emits: /*@__PURE__*/ a([
|
|
36
36
|
"focusin",
|
|
37
37
|
"focusout",
|
|
38
38
|
"click",
|
|
39
39
|
"keydown"
|
|
40
40
|
], ["update:modelValue"]),
|
|
41
|
-
setup(
|
|
42
|
-
let x =
|
|
43
|
-
|
|
41
|
+
setup(i, { expose: a, emit: b }) {
|
|
42
|
+
let x = d(i, "modelValue"), S = b, { labelState: C, handleFocusIn: w, handleFocusOut: T, setFloatingLabel: E, setInlineLabel: D } = h(S), O = l(null);
|
|
43
|
+
f(x, (e) => {
|
|
44
44
|
`${e}`.length && C.value !== "floating-label" ? E() : !e?.length && C.value !== "inline-label" && document.activeElement !== O.value && D();
|
|
45
45
|
}, { immediate: !0 });
|
|
46
46
|
let k = ({ target: e }) => {
|
|
47
47
|
x.value = e.value;
|
|
48
48
|
};
|
|
49
|
-
return
|
|
49
|
+
return a({
|
|
50
50
|
disableTextarea: () => {
|
|
51
51
|
O.value && (O.value.setAttribute("readonly", "readonly"), O.value.classList.add("disabled"));
|
|
52
52
|
},
|
|
@@ -54,52 +54,52 @@ var g = [
|
|
|
54
54
|
O.value && (O.value.value = "");
|
|
55
55
|
},
|
|
56
56
|
focusDisabledTextarea: () => {
|
|
57
|
-
O.value && (O.value.removeAttribute("readonly"), O.value.classList.remove("disabled"),
|
|
57
|
+
O.value && (O.value.removeAttribute("readonly"), O.value.classList.remove("disabled"), o(() => {
|
|
58
58
|
O.value && O.value.focus();
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
|
-
}), (
|
|
62
|
-
|
|
63
|
-
id:
|
|
61
|
+
}), (a, o) => (c(), t("div", { class: s(a.$attrs["wrapper-classes"]) }, [n("div", { class: s(["input-wrapper uikit-relative uikit-rounded-xs uikit-px-0", [u(C) === "floating-label" ? "floating-state" : "inline-state"]]) }, [
|
|
62
|
+
n("textarea", {
|
|
63
|
+
id: a.$attrs.id,
|
|
64
64
|
ref_key: "textarea",
|
|
65
65
|
ref: O,
|
|
66
|
-
"data-cy":
|
|
67
|
-
class:
|
|
68
|
-
{ "is-invalid invalid-bg !uikit-pr-10":
|
|
69
|
-
{ "is-valid valid-bg !uikit-pr-10":
|
|
70
|
-
{ "uikit-resize-none": !
|
|
71
|
-
|
|
66
|
+
"data-cy": a.$attrs["data-cy"],
|
|
67
|
+
class: s(["textarea-scrollbar uikit-peer/fieldset uikit-relative uikit-z-20 uikit-mb-10px uikit-mt-15px uikit-w-[calc(100%-1px)] uikit-overflow-y-auto uikit-whitespace-pre-wrap uikit-rounded-xs uikit-border-0 uikit-bg-transparent uikit-bg-no-repeat uikit-px-15px uikit-pb-[8px] uikit-outline-none", [
|
|
68
|
+
{ "is-invalid invalid-bg !uikit-pr-10": i.isValid === !1 },
|
|
69
|
+
{ "is-valid valid-bg !uikit-pr-10": i.isValid },
|
|
70
|
+
{ "uikit-resize-none": !i.resize },
|
|
71
|
+
a.$attrs.class
|
|
72
72
|
]]),
|
|
73
|
-
rows:
|
|
74
|
-
disabled:
|
|
75
|
-
"aria-labelledby":
|
|
76
|
-
readonly:
|
|
77
|
-
onFocusin:
|
|
78
|
-
onFocusout:
|
|
79
|
-
onInput:
|
|
80
|
-
onKeydown:
|
|
81
|
-
onClick:
|
|
73
|
+
rows: a.$attrs.rows,
|
|
74
|
+
disabled: a.$attrs.disabled,
|
|
75
|
+
"aria-labelledby": a.$attrs.id,
|
|
76
|
+
readonly: a.$attrs.readonly,
|
|
77
|
+
onFocusin: o[0] ||= p((e) => u(w)(), ["stop"]),
|
|
78
|
+
onFocusout: o[1] ||= p((e) => u(T)(`${x.value}`.trim()), ["stop"]),
|
|
79
|
+
onInput: p(k, ["stop"]),
|
|
80
|
+
onKeydown: o[2] ||= p((e) => S("keydown", e), ["stop"]),
|
|
81
|
+
onClick: o[3] ||= (e) => S("click", e),
|
|
82
82
|
value: x.value
|
|
83
83
|
}, null, 42, g),
|
|
84
|
-
|
|
84
|
+
n("fieldset", { class: s(["uikit-pointer-events-none uikit-absolute -uikit-top-0 uikit-bottom-[3px] uikit-left-0 uikit-right-0 uikit-m-0 uikit-min-w-0 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-bg-white uikit-p-0 uikit-px-2 uikit-text-start uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus/fieldset:uikit-border-2 peer-focus/fieldset:uikit-border-w-primary peer-disabled/fieldset:uikit-bg-w-cultured peer-[&.disabled]/fieldset:uikit-bg-w-cultured peer-focus/fieldset:[&.is-invalid]:uikit-border-w-danger", [
|
|
85
85
|
{
|
|
86
|
-
"is-invalid":
|
|
87
|
-
"is-valid":
|
|
86
|
+
"is-invalid": i.isValid === !1,
|
|
87
|
+
"is-valid": i.isValid
|
|
88
88
|
},
|
|
89
|
-
{ "uikit-border-w-danger":
|
|
90
|
-
{ "uikit-border-w-primary":
|
|
91
|
-
{ "uikit-border-w-secondary":
|
|
92
|
-
]]) }, [
|
|
93
|
-
class:
|
|
94
|
-
innerHTML:
|
|
95
|
-
}, null, 10, v)])) :
|
|
96
|
-
|
|
97
|
-
for:
|
|
98
|
-
"label-text":
|
|
99
|
-
"label-state":
|
|
100
|
-
required:
|
|
101
|
-
"is-valid":
|
|
102
|
-
"label-classes": [
|
|
89
|
+
{ "uikit-border-w-danger": i.isValid === !1 },
|
|
90
|
+
{ "uikit-border-w-primary": i.isValid },
|
|
91
|
+
{ "uikit-border-w-secondary": i.isValid === null }
|
|
92
|
+
]]) }, [i.labelText ? (c(), t("legend", _, [n("span", {
|
|
93
|
+
class: s(["uikit-px-5px uikit-opacity-0", [{ "uikit-visible uikit-inline-block": u(C) === "floating-label" }, { "uikit-invisible uikit-hidden": u(C) === "inline-label" }]]),
|
|
94
|
+
innerHTML: i.labelText
|
|
95
|
+
}, null, 10, v)])) : e("", !0)], 2),
|
|
96
|
+
r(m, {
|
|
97
|
+
for: a.$attrs.id,
|
|
98
|
+
"label-text": i.labelText,
|
|
99
|
+
"label-state": u(C),
|
|
100
|
+
required: a.$attrs.required,
|
|
101
|
+
"is-valid": i.isValid,
|
|
102
|
+
"label-classes": [u(C) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4", i.labelClasses]
|
|
103
103
|
}, null, 8, [
|
|
104
104
|
"for",
|
|
105
105
|
"label-text",
|
|
@@ -108,12 +108,11 @@ var g = [
|
|
|
108
108
|
"is-valid",
|
|
109
109
|
"label-classes"
|
|
110
110
|
])
|
|
111
|
-
], 2), (
|
|
111
|
+
], 2), (i.isValid || i.isValid === !1) && i.feedback ? (c(), t("div", {
|
|
112
112
|
key: 0,
|
|
113
|
-
class:
|
|
114
|
-
innerHTML:
|
|
115
|
-
}, null, 10, y)) :
|
|
113
|
+
class: s(i.isValid === !1 ? "uikit-mt-1 uikit-text-12 uikit-text-w-danger" : "uikit-mt-1 uikit-text-12 uikit-text-w-primary"),
|
|
114
|
+
innerHTML: i.isValid === !1 ? i.feedback.invalid : i.feedback.valid
|
|
115
|
+
}, null, 10, y)) : e("", !0)], 2));
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
|
-
//#endregion
|
|
119
118
|
export { b as default };
|
|
@@ -7,12 +7,14 @@ type __VLS_ModelProps = {
|
|
|
7
7
|
modelValue?: Optional<boolean>;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} & {
|
|
14
|
-
|
|
10
|
+
declare const __VLS_template: () => {
|
|
11
|
+
__VLS_Slots: {
|
|
12
|
+
leftLabel?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
rightLabel?: (props: {}) => any;
|
|
15
|
+
};
|
|
15
16
|
};
|
|
17
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
18
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
19
|
"update:modelValue": (value: Optional<boolean>) => any;
|
|
18
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
package/dist/UIKit/BaseToggle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, mergeModels as a, openBlock as o, renderSlot as s, unref as c, useModel as l, withCtx as u } from "vue";
|
|
2
2
|
import { SwitchRoot as d, SwitchThumb as f } from "reka-ui";
|
|
3
|
-
|
|
3
|
+
// lib/UIKit/BaseToggle.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var p = { class: "uikit-flex uikit-items-center uikit-gap-[8px]" }, m = ["innerHTML"], h = /*@__PURE__*/ i({
|
|
5
5
|
__name: "BaseToggle",
|
|
6
6
|
props: /*@__PURE__*/ a({
|
|
@@ -34,5 +34,4 @@ var p = { class: "uikit-flex uikit-items-center uikit-gap-[8px]" }, m = ["innerH
|
|
|
34
34
|
]));
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
//#endregion
|
|
38
37
|
export { h as default };
|
|
@@ -9,19 +9,21 @@ type __VLS_Props = {
|
|
|
9
9
|
showTooltipContentManually?: boolean;
|
|
10
10
|
tooltipContentClasses?: ClassTypeProp;
|
|
11
11
|
};
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} & {
|
|
16
|
-
|
|
12
|
+
declare const __VLS_template: () => {
|
|
13
|
+
__VLS_Slots: {
|
|
14
|
+
trigger?: (props: {}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
content?: (props: {}) => any;
|
|
17
|
+
};
|
|
17
18
|
};
|
|
19
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
20
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
21
|
direction: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
|
|
20
22
|
theme: {
|
|
21
23
|
color: "blue" | "white";
|
|
22
24
|
size: "sm" | "md" | "lg";
|
|
23
25
|
};
|
|
24
|
-
customTooltipClass: "
|
|
26
|
+
customTooltipClass: "" | "mail-alert";
|
|
25
27
|
showTooltipContentManually: boolean;
|
|
26
28
|
tooltipContentClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
|
|
27
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import t from "
|
|
3
|
-
|
|
4
|
-
var n = /*#__PURE__*/ e
|
|
5
|
-
//#endregion
|
|
1
|
+
import e from "./BaseTooltip.vue.js";
|
|
2
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// lib/UIKit/BaseTooltip.vue
|
|
4
|
+
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-2bb9040f"]]);
|
|
6
5
|
export { n as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o } from "vue";
|
|
2
|
-
import '../
|
|
2
|
+
import '../css/BaseTooltip.css';// lib/UIKit/BaseTooltip.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var s = { class: "base-tooltip" }, c = /*@__PURE__*/ r({
|
|
4
4
|
__name: "BaseTooltip",
|
|
5
5
|
props: {
|
|
@@ -28,5 +28,4 @@ var s = { class: "base-tooltip" }, c = /*@__PURE__*/ r({
|
|
|
28
28
|
}, [o(c.$slots, "content", {}, void 0, !0)], 2)) : e("", !0)], 2)]));
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
//#endregion
|
|
32
31
|
export { c as default };
|
|
@@ -8,12 +8,14 @@ type __VLS_Props = {
|
|
|
8
8
|
fieldsetClasses?: ClassTypeProp;
|
|
9
9
|
legendClasses?: ClassTypeProp;
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
declare const __VLS_template: () => {
|
|
12
|
+
__VLS_Slots: {
|
|
13
|
+
label?: (props: {
|
|
14
|
+
filename: string;
|
|
15
|
+
}) => any;
|
|
16
|
+
};
|
|
16
17
|
};
|
|
18
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
17
19
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
20
|
cleared: () => any;
|
|
19
21
|
uploaded: (args_0: File) => any;
|