@wikicasa-dev/components 2.6.13 → 2.6.14-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/UIKit/AccessibleSelect.js +5 -5
- package/dist/UIKit/AccessibleSelect.vue.js +217 -205
- package/dist/UIKit/Accordion/AccordionContentPrimitive.js +5 -4
- package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +19 -21
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +5 -4
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +18 -20
- package/dist/UIKit/Accordion/AccordionItemPrimitive.js +5 -4
- package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +21 -23
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +5 -4
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +19 -21
- package/dist/UIKit/Accordion/BaseAccordion.js +5 -4
- package/dist/UIKit/Accordion/BaseAccordion.vue.js +38 -36
- package/dist/UIKit/Accordion/BaseAccordionItem.js +5 -5
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +64 -81
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +5 -5
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +232 -226
- package/dist/UIKit/BaseAlert.js +5 -5
- package/dist/UIKit/BaseAlert.vue.js +14 -18
- package/dist/UIKit/BaseAutocomplete.js +5 -5
- package/dist/UIKit/BaseAutocomplete.vue.js +197 -194
- package/dist/UIKit/BaseBadge.js +5 -5
- package/dist/UIKit/BaseBadge.vue.js +17 -17
- package/dist/UIKit/BaseBreadcrumb.js +5 -4
- package/dist/UIKit/BaseBreadcrumb.vue.js +39 -56
- package/dist/UIKit/BaseButton.js +5 -4
- package/dist/UIKit/BaseButton.vue.js +93 -87
- package/dist/UIKit/BaseComplexToggle.js +5 -6
- package/dist/UIKit/BaseComplexToggle.vue.js +87 -105
- package/dist/UIKit/BaseDropDown.js +5 -5
- package/dist/UIKit/BaseDropDown.vue.js +171 -152
- package/dist/UIKit/BaseFloatingLabel.js +6 -7
- package/dist/UIKit/BaseFloatingLabel.vue.js +43 -39
- package/dist/UIKit/BaseInput.js +6 -7
- package/dist/UIKit/BaseInput.vue.js +191 -210
- package/dist/UIKit/BaseModal.js +5 -5
- package/dist/UIKit/BaseModal.vue.js +160 -169
- package/dist/UIKit/BasePagination.js +5 -4
- package/dist/UIKit/BasePagination.vue.js +192 -229
- package/dist/UIKit/BaseSelect/SelectItem.js +5 -4
- package/dist/UIKit/BaseSelect/SelectItem.vue.js +34 -41
- package/dist/UIKit/BaseSlider.js +6 -7
- package/dist/UIKit/BaseSlider.vue.js +153 -203
- package/dist/UIKit/BaseSnackbar.js +5 -5
- package/dist/UIKit/BaseSnackbar.vue.js +144 -146
- package/dist/UIKit/BaseTextarea.js +5 -6
- package/dist/UIKit/BaseTextarea.vue.js +118 -126
- package/dist/UIKit/BaseToggle.js +5 -4
- package/dist/UIKit/BaseToggle.vue.js +37 -38
- package/dist/UIKit/BaseTooltip.js +6 -7
- package/dist/UIKit/BaseTooltip.vue.js +31 -40
- package/dist/UIKit/BaseUploadFile.js +5 -4
- package/dist/UIKit/BaseUploadFile.vue.js +63 -70
- package/dist/UIKit/Card/BaseCard.js +5 -5
- package/dist/UIKit/Card/BaseCard.vue.js +23 -36
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +9 -11
- package/dist/UIKit/Card/CardImagePrimitive.js +5 -4
- package/dist/UIKit/Card/CardImagePrimitive.vue.js +11 -15
- package/dist/UIKit/Card/CardRootPrimitive.js +5 -5
- package/dist/UIKit/Card/CardRootPrimitive.vue.js +22 -26
- package/dist/UIKit/Card/type.js +4 -4
- package/dist/UIKit/Checkbox/CheckboxBtn.js +5 -5
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +76 -81
- package/dist/UIKit/Checkbox/CheckboxGroup.js +5 -4
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +137 -116
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +5 -4
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +71 -77
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +5 -4
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +32 -34
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +5 -4
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +32 -34
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +5 -4
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +15 -15
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +5 -4
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +29 -31
- package/dist/UIKit/Radio/RadioButton.js +5 -4
- package/dist/UIKit/Radio/RadioButton.vue.js +51 -59
- package/dist/UIKit/Radio/RadioGroup.js +5 -4
- package/dist/UIKit/Radio/RadioGroup.vue.js +67 -63
- package/dist/UIKit/Radio/v2/RadioButtonGroup.js +5 -4
- package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +38 -47
- package/dist/UIKit/Radio/v2/RadioButtonItem.js +5 -5
- package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +42 -44
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +5 -4
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +28 -30
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +6 -7
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +19 -19
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +5 -4
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +41 -30
- package/dist/UIKit/Slider/SimpleSlider.js +6 -7
- package/dist/UIKit/Slider/SimpleSlider.vue.js +74 -81
- package/dist/UIKit/StaticSpinner.js +6 -7
- package/dist/UIKit/StaticSpinner.vue.js +24 -26
- package/dist/UIKit/Tab/BaseTab.js +5 -4
- package/dist/UIKit/Tab/BaseTab.vue.js +14 -14
- package/dist/UIKit/Tab/BaseTabList.js +5 -4
- package/dist/UIKit/Tab/BaseTabList.vue.js +45 -44
- package/dist/UIKit/Tab/BaseTabPanel.js +5 -4
- package/dist/UIKit/Tab/BaseTabPanel.vue.js +27 -24
- package/dist/UIKit/Tab/BaseTabView.js +5 -4
- package/dist/UIKit/Tab/BaseTabView.vue.js +107 -105
- package/dist/UIKit/Tab/v2/BaseTabs.js +5 -5
- package/dist/UIKit/Tab/v2/BaseTabs.vue.js +34 -38
- package/dist/UIKit/Tab/v2/BaseTabsContent.js +5 -4
- package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +21 -23
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +5 -5
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +24 -33
- package/dist/UIKit/Tab/v2/BaseTabsList.js +5 -4
- package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +20 -22
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +5 -4
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +21 -30
- package/dist/UIKit/types.js +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +7 -8
- package/dist/assets/AccessibleSelect.css +1 -1
- package/dist/assets/BaseAccordionItem.css +1 -1
- package/dist/assets/BaseAutocomplete.css +1 -1
- package/dist/assets/BaseBadge.css +1 -1
- package/dist/assets/BaseComplexToggle2.css +1 -1
- package/dist/assets/BaseDropDown.css +1 -1
- package/dist/assets/BaseFloatingLabel2.css +1 -1
- package/dist/assets/BaseInput2.css +1 -1
- package/dist/assets/BaseShimmerLoader.css +1 -1
- package/dist/assets/BaseSlider2.css +1 -1
- package/dist/assets/BaseSnackbar.css +1 -1
- package/dist/assets/BaseTabs.css +1 -1
- package/dist/assets/BaseTextarea2.css +1 -1
- package/dist/assets/BaseTooltip2.css +1 -1
- package/dist/assets/CheckboxBtn.css +1 -1
- package/dist/assets/ClearableAutocomplete.css +1 -1
- package/dist/assets/RadioButtonItem.css +1 -1
- package/dist/assets/StaticSpinner.css +1 -1
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/baseAlert.css +1 -1
- package/dist/assets/baseCard.css +1 -1
- package/dist/assets/baseComplexToggle.css +1 -1
- package/dist/assets/baseFloatingLabel.css +1 -1
- package/dist/assets/baseInput.css +1 -1
- package/dist/assets/baseModal.css +1 -1
- package/dist/assets/baseSlider.css +1 -1
- package/dist/assets/baseSpinner.css +1 -1
- package/dist/assets/baseTextarea.css +1 -1
- package/dist/assets/baseTooltip.css +1 -1
- package/dist/assets/swiper-free-mode.css +1 -1
- package/dist/assets/swiper-navigation.css +1 -1
- package/dist/assets/swiper-pagination.css +1 -1
- package/dist/assets/swiper-swiper.css +1 -1
- package/dist/assets/swiper-thumbs.css +1 -0
- package/dist/assets/swiper-zoom.css +1 -1
- package/dist/assets/swiperPaginationBullet.css +1 -1
- package/dist/assets/tailwind.css +1 -1
- package/dist/chart/DoughnutChart.js +5 -4
- package/dist/chart/DoughnutChart.vue.js +25 -25
- package/dist/chart/LineChart.js +5 -4
- package/dist/chart/LineChart.vue.js +27 -29
- package/dist/components/IntersectionObserver/IntersectionObservable.js +5 -4
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +24 -23
- package/dist/components/IntersectionObserver/IntersectionObserver.js +5 -4
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +55 -49
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +5 -4
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +43 -38
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +5 -4
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +27 -30
- package/dist/components/IntersectionObserver/v2/types.js +4 -6
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +5 -4
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +30 -38
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +5 -4
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +28 -32
- package/dist/components/carousel/Primitive/SwiperPrimitive.js +5 -4
- package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +16 -20
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -10
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +82 -112
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +5 -5
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +44 -39
- package/dist/components/carousel/SwiperCarousel.js +6 -7
- package/dist/components/carousel/SwiperCarousel.vue.js +195 -229
- package/dist/components/carousel/SwiperSlide.js +9 -13
- package/dist/composables/mock.js +50 -48
- package/dist/composables/useFloatingLabel.js +32 -32
- package/dist/composables/useValidator.js +5 -7
- package/dist/index.js +67 -150
- package/dist/lazyModules/ChartJs/Chart.js +2 -4
- package/dist/lazyModules/ChartJs/DoughnutChart/core.js +5 -6
- package/dist/lazyModules/ChartJs/LineChart/cartesian.js +5 -6
- package/dist/lazyModules/ChartJs/LineChart/core.js +5 -6
- package/dist/lazyModules/ChartJs/Plugins/Legend.js +4 -2
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +4 -2
- package/dist/lazyModules/ChartJs/Plugins/Title.js +4 -2
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +4 -2
- package/dist/lazyModules/Swiper/Autoplay/factory.js +6 -8
- package/dist/lazyModules/Swiper/Autoplay/index.js +3 -6
- package/dist/lazyModules/Swiper/Controller/factory.js +6 -6
- package/dist/lazyModules/Swiper/Controller/index.js +3 -6
- package/dist/lazyModules/Swiper/FreeMode/factory.js +6 -8
- package/dist/lazyModules/Swiper/FreeMode/index.js +3 -6
- package/dist/lazyModules/Swiper/Keyboard/factory.js +6 -8
- package/dist/lazyModules/Swiper/Keyboard/index.js +3 -6
- package/dist/lazyModules/Swiper/Navigation/factory.js +6 -8
- package/dist/lazyModules/Swiper/Navigation/index.js +3 -6
- package/dist/lazyModules/Swiper/Pagination/factory.js +6 -6
- package/dist/lazyModules/Swiper/Pagination/index.js +3 -6
- package/dist/lazyModules/Swiper/Thumbs/factory.js +6 -6
- package/dist/lazyModules/Swiper/Thumbs/index.js +3 -6
- package/dist/lazyModules/Swiper/Zoom/factory.js +6 -8
- package/dist/lazyModules/Swiper/Zoom/index.js +3 -6
- package/dist/lazyModules/Swiper/factory.js +9 -12
- package/dist/lazyModules/Swiper/index.js +2 -4
- package/dist/lazyModules/Swiper/swiper-css.d.js +0 -1
- package/dist/lazyModules/Swiper/types.js +0 -1
- package/dist/lazyModules/VueChartJs/Doughnut/factory.js +8 -11
- package/dist/lazyModules/VueChartJs/Doughnut/index.js +2 -5
- package/dist/lazyModules/VueChartJs/Line/factory.js +8 -13
- package/dist/lazyModules/VueChartJs/Line/index.js +2 -5
- package/dist/types/index.js +0 -1
- package/dist/types.js +0 -1
- package/dist/utils.js +4 -5
- package/package.json +8 -8
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CheckboxRoot as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
1
|
+
import { createBlock as e, createPropsRestProxy as t, defineComponent as n, guardReactiveProps as r, mergeProps as i, normalizeProps as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
|
|
2
|
+
import { CheckboxRoot as u } from "reka-ui";
|
|
3
|
+
//#region lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var d = /*@__PURE__*/ n({
|
|
5
|
+
__name: "CheckboxGroupItemPrimitive",
|
|
6
|
+
props: {
|
|
7
|
+
dataCy: {},
|
|
8
|
+
value: {},
|
|
9
|
+
defaultValue: {},
|
|
10
|
+
modelValue: {},
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
id: {},
|
|
13
|
+
trueValue: {},
|
|
14
|
+
falseValue: {},
|
|
15
|
+
asChild: { type: Boolean },
|
|
16
|
+
as: {},
|
|
17
|
+
name: {},
|
|
18
|
+
required: { type: Boolean }
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(n, { emit: d }) {
|
|
22
|
+
let f = t(n, ["dataCy"]), p = d;
|
|
23
|
+
return (t, d) => (o(), e(c(u), i(f, {
|
|
24
|
+
"data-cy": n.dataCy,
|
|
25
|
+
"onUpdate:modelValue": d[0] ||= (e) => p("update:modelValue", e)
|
|
26
|
+
}), {
|
|
27
|
+
default: l((e) => [s(t.$slots, "default", a(r(e)))]),
|
|
28
|
+
_: 3
|
|
29
|
+
}, 16, ["data-cy"]));
|
|
30
|
+
}
|
|
32
31
|
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { d as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./CheckboxGroupPrimitive.vue.js";
|
|
2
|
+
//#region lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CheckboxGroupRoot as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
1
|
+
import { createBlock as e, createPropsRestProxy as t, defineComponent as n, mergeProps as r, openBlock as i, renderSlot as a, unref as o, withCtx as s } from "vue";
|
|
2
|
+
import { CheckboxGroupRoot as c } from "reka-ui";
|
|
3
|
+
//#region lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var l = /*@__PURE__*/ n({
|
|
5
|
+
__name: "CheckboxGroupPrimitive",
|
|
6
|
+
props: {
|
|
7
|
+
dataCy: {},
|
|
8
|
+
defaultValue: {},
|
|
9
|
+
modelValue: {},
|
|
10
|
+
rovingFocus: { type: Boolean },
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
as: {},
|
|
13
|
+
asChild: { type: Boolean },
|
|
14
|
+
dir: {},
|
|
15
|
+
orientation: {},
|
|
16
|
+
loop: { type: Boolean },
|
|
17
|
+
name: {},
|
|
18
|
+
required: { type: Boolean }
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(n, { emit: l }) {
|
|
22
|
+
let u = t(n, ["dataCy"]), d = l;
|
|
23
|
+
return (t, l) => (i(), e(o(c), r(u, {
|
|
24
|
+
"data-cy": n.dataCy,
|
|
25
|
+
"onUpdate:modelValue": l[0] ||= (e) => d("update:modelValue", e)
|
|
26
|
+
}), {
|
|
27
|
+
default: s(() => [a(t.$slots, "default")]),
|
|
28
|
+
_: 3
|
|
29
|
+
}, 16, ["data-cy"]));
|
|
30
|
+
}
|
|
32
31
|
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { l as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./ProgressIndicatorPrimitive.vue.js";
|
|
2
|
+
//#region lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ProgressIndicator as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { createBlock as e, defineComponent as t, guardReactiveProps as n, normalizeProps as r, openBlock as i, unref as a } from "vue";
|
|
2
|
+
import { ProgressIndicator as o } from "reka-ui";
|
|
3
|
+
//#region lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var s = /*@__PURE__*/ t({
|
|
5
|
+
__name: "ProgressIndicatorPrimitive",
|
|
6
|
+
props: {
|
|
7
|
+
asChild: { type: Boolean },
|
|
8
|
+
as: {}
|
|
9
|
+
},
|
|
10
|
+
setup(t) {
|
|
11
|
+
let s = t;
|
|
12
|
+
return (t, c) => (i(), e(a(o), r(n(s)), null, 16));
|
|
13
|
+
}
|
|
13
14
|
});
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { s as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./ProgressRootPrimitive.vue.js";
|
|
2
|
+
//#region lib/UIKit/ProgressBar/ProgressRootPrimitive.vue
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,32 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ProgressRoot as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
1
|
+
import { createBlock as e, defineComponent as t, guardReactiveProps as n, mergeProps as r, normalizeProps as i, openBlock as a, renderSlot as o, unref as s, useTemplateRef as c, withCtx as l } from "vue";
|
|
2
|
+
import { ProgressRoot as u } from "reka-ui";
|
|
3
|
+
//#region lib/UIKit/ProgressBar/ProgressRootPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var d = /*@__PURE__*/ t({
|
|
5
|
+
__name: "ProgressRootPrimitive",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
max: {},
|
|
9
|
+
getValueLabel: { type: Function },
|
|
10
|
+
getValueText: { type: Function },
|
|
11
|
+
asChild: { type: Boolean },
|
|
12
|
+
as: {}
|
|
13
|
+
},
|
|
14
|
+
emits: ["update:modelValue", "update:max"],
|
|
15
|
+
setup(t, { expose: d, emit: f }) {
|
|
16
|
+
let p = t, m = f, h = c("root");
|
|
17
|
+
return d({
|
|
18
|
+
getValueLabel: (e, t) => h.value?.getValueLabel?.(e, t),
|
|
19
|
+
getValueText: (e, t) => h.value?.getValueText?.(e, t)
|
|
20
|
+
}), (t, c) => (a(), e(s(u), r({ ref: "root" }, p, {
|
|
21
|
+
"onUpdate:modelValue": c[0] ||= (e) => m("update:modelValue", e),
|
|
22
|
+
"onUpdate:max": c[1] ||= (e) => m("update:max", e)
|
|
23
|
+
}), {
|
|
24
|
+
default: l((e) => [o(t.$slots, "default", i(n(e)))]),
|
|
25
|
+
_: 3
|
|
26
|
+
}, 16));
|
|
27
|
+
}
|
|
29
28
|
});
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { d as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./RadioButton.vue.js";
|
|
2
|
+
//#region lib/UIKit/Radio/RadioButton.vue
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,60 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
e.inputClasses
|
|
51
|
-
]])
|
|
52
|
-
}, null, 2),
|
|
53
|
-
h(" " + C(e.label), 1)
|
|
54
|
-
], 10, x)
|
|
55
|
-
], 8, y));
|
|
56
|
-
}
|
|
1
|
+
import { computed as e, createElementBlock as t, createElementVNode as n, createTextVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, toDisplayString as s, useId as c, withModifiers as l } from "vue";
|
|
2
|
+
//#region lib/UIKit/Radio/RadioButton.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var u = ["data-cy"], d = [
|
|
4
|
+
"id",
|
|
5
|
+
"name",
|
|
6
|
+
"checked"
|
|
7
|
+
], f = ["for"], p = /*@__PURE__*/ i({
|
|
8
|
+
__name: "RadioButton",
|
|
9
|
+
props: {
|
|
10
|
+
id: {},
|
|
11
|
+
dataCy: {},
|
|
12
|
+
name: {},
|
|
13
|
+
label: {},
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
inputClasses: {},
|
|
19
|
+
labelClasses: {}
|
|
20
|
+
},
|
|
21
|
+
emits: ["change", "update:modelValue"],
|
|
22
|
+
setup(i, { emit: p }) {
|
|
23
|
+
let m = p, h = c(), g = e(() => `${i.id ?? h}`), _ = () => {
|
|
24
|
+
if (i.modelValue) return;
|
|
25
|
+
let e = {
|
|
26
|
+
id: i.id ?? h,
|
|
27
|
+
label: i.label,
|
|
28
|
+
name: i.name
|
|
29
|
+
};
|
|
30
|
+
m("change", e), m("update:modelValue", !i.modelValue);
|
|
31
|
+
};
|
|
32
|
+
return (e, c) => (o(), t("div", {
|
|
33
|
+
class: "uikit-inline-block",
|
|
34
|
+
"data-cy": i.dataCy,
|
|
35
|
+
onClick: l(_, ["stop"])
|
|
36
|
+
}, [n("input", {
|
|
37
|
+
id: g.value,
|
|
38
|
+
ref: "checkbox",
|
|
39
|
+
type: "radio",
|
|
40
|
+
class: "uikit-pointer-events-none uikit-hidden",
|
|
41
|
+
name: i.name,
|
|
42
|
+
checked: i.modelValue,
|
|
43
|
+
onChange: c[0] ||= l(() => {}, ["prevent"]),
|
|
44
|
+
onClick: c[1] ||= l(() => {}, ["prevent"])
|
|
45
|
+
}, null, 40, d), n("label", {
|
|
46
|
+
class: a([i.labelClasses, "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
|
|
47
|
+
for: g.value
|
|
48
|
+
}, [n("span", { class: a(["uikit-flex-no-shrink uikit-mr-2 uikit-inline-block uikit-h-4 uikit-w-4 uikit-transform uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-transition-colors uikit-duration-200", [{ "checked uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": i.modelValue }, i.inputClasses]]) }, null, 2), r(" " + s(i.label), 1)], 10, f)], 8, u));
|
|
49
|
+
}
|
|
57
50
|
});
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
};
|
|
51
|
+
//#endregion
|
|
52
|
+
export { p as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./RadioGroup.vue.js";
|
|
2
|
+
//#region lib/UIKit/Radio/RadioGroup.vue
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,64 +1,68 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
import e from "./RadioButton.js";
|
|
2
|
+
import { Fragment as t, createBlock as n, createElementBlock as r, createElementVNode as i, defineComponent as a, mergeModels as o, normalizeClass as s, openBlock as c, ref as l, renderList as u, renderSlot as d, useModel as f, watch as p } from "vue";
|
|
3
|
+
//#region lib/UIKit/Radio/RadioGroup.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var m = ["data-cy"], h = /*@__PURE__*/ a({
|
|
5
|
+
inheritAttrs: !1,
|
|
6
|
+
__name: "RadioGroup",
|
|
7
|
+
props: /*@__PURE__*/ o({
|
|
8
|
+
radioValues: { default: () => [] },
|
|
9
|
+
dataCy: {},
|
|
10
|
+
radioContainerClasses: {}
|
|
11
|
+
}, {
|
|
12
|
+
resetRadio: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1
|
|
15
|
+
},
|
|
16
|
+
resetRadioModifiers: {},
|
|
17
|
+
refresh: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
refreshModifiers: {}
|
|
22
|
+
}),
|
|
23
|
+
emits: /*@__PURE__*/ o(["update:modelValue"], ["update:resetRadio", "update:refresh"]),
|
|
24
|
+
setup(a, { emit: o }) {
|
|
25
|
+
let h = o, g = f(a, "resetRadio"), _ = f(a, "refresh"), v = l(null), y = (e) => {
|
|
26
|
+
v.value = e, h("update:modelValue", e);
|
|
27
|
+
}, b = () => {
|
|
28
|
+
v.value = null, g.value = !1, h("update:modelValue", null);
|
|
29
|
+
}, x = (e) => v.value ? `${v.value.id}` == `${e.id}` : !1, S = () => {
|
|
30
|
+
for (let e of a.radioValues) if (e.active) {
|
|
31
|
+
y(e);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
return S(), p(g, (e) => {
|
|
36
|
+
e && b();
|
|
37
|
+
}), p(_, (e) => {
|
|
38
|
+
e && (S(), _.value = !1);
|
|
39
|
+
}), (o, l) => d(o.$slots, "default", {
|
|
40
|
+
handleClick: y,
|
|
41
|
+
activeValue: v.value,
|
|
42
|
+
reset: b,
|
|
43
|
+
isActive: x
|
|
44
|
+
}, () => [i("div", {
|
|
45
|
+
class: s(["radio-group-container", o.$attrs.class]),
|
|
46
|
+
"data-cy": a.dataCy
|
|
47
|
+
}, [d(o.$slots, "radio_elements", {
|
|
48
|
+
handleClick: y,
|
|
49
|
+
activeValue: v.value,
|
|
50
|
+
reset: b,
|
|
51
|
+
isActive: x
|
|
52
|
+
}, () => [(c(!0), r(t, null, u(a.radioValues, (t, r) => (c(), n(e, {
|
|
53
|
+
id: t.id,
|
|
54
|
+
key: r,
|
|
55
|
+
class: s(a.radioContainerClasses),
|
|
56
|
+
label: `${t.label}`,
|
|
57
|
+
"model-value": `${t.id}` == `${v.value?.id}`,
|
|
58
|
+
onChange: l[0] ||= (e) => y(e)
|
|
59
|
+
}, null, 8, [
|
|
60
|
+
"id",
|
|
61
|
+
"class",
|
|
62
|
+
"label",
|
|
63
|
+
"model-value"
|
|
64
|
+
]))), 128))])], 10, m)]);
|
|
65
|
+
}
|
|
61
66
|
});
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { h as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./RadioButtonGroup.vue.js";
|
|
2
|
+
//#region lib/UIKit/Radio/v2/RadioButtonGroup.vue
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|