@wikicasa-dev/components 2.6.4 → 2.6.5-alpha.1
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.vue.js +27 -27
- package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +2 -2
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +2 -2
- package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +2 -2
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +2 -2
- package/dist/UIKit/Accordion/BaseAccordion.vue.js +6 -6
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +2 -2
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +8 -8
- package/dist/UIKit/BaseAlert.vue.js +2 -2
- package/dist/UIKit/BaseAutocomplete.vue.js +5 -5
- package/dist/UIKit/BaseBadge.vue.js +2 -2
- package/dist/UIKit/BaseBreadcrumb.vue.js +5 -5
- package/dist/UIKit/BaseButton.vue.js +2 -2
- package/dist/UIKit/BaseComplexToggle.vue.js +6 -6
- package/dist/UIKit/BaseDropDown.vue.js +10 -10
- package/dist/UIKit/BaseFloatingLabel.vue.js +3 -3
- package/dist/UIKit/BaseInput.vue.js +8 -8
- package/dist/UIKit/BaseModal.vue.js +11 -11
- package/dist/UIKit/BasePagination.vue.js +3 -3
- package/dist/UIKit/BaseSelect/SelectItem.vue.js +2 -2
- package/dist/UIKit/BaseSlider.vue.js +5 -5
- package/dist/UIKit/BaseSnackbar.vue.js +11 -11
- package/dist/UIKit/BaseTextarea.vue.js +8 -8
- package/dist/UIKit/BaseToggle.vue.js +7 -7
- package/dist/UIKit/BaseTooltip.vue.js +3 -3
- package/dist/UIKit/BaseUploadFile.vue.js +1 -1
- package/dist/UIKit/Card/BaseCard.vue.js +2 -2
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +2 -2
- package/dist/UIKit/Card/CardImagePrimitive.vue.js +2 -2
- package/dist/UIKit/Card/CardRootPrimitive.vue.js +2 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +14 -14
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +12 -12
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +7 -7
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +2 -2
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +2 -2
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +2 -2
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +2 -2
- package/dist/UIKit/Radio/RadioButton.vue.js +2 -2
- package/dist/UIKit/Radio/RadioGroup.vue.js +11 -11
- package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +7 -7
- package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +8 -8
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +2 -2
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +4 -4
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +1 -1
- package/dist/UIKit/Slider/SimpleSlider.vue.js +8 -8
- package/dist/UIKit/StaticSpinner.vue.js +2 -2
- package/dist/UIKit/Tab/BaseTabList.vue.js +2 -2
- package/dist/UIKit/Tab/BaseTabPanel.vue.js +2 -2
- package/dist/UIKit/Tab/BaseTabView.vue.js +9 -9
- package/dist/UIKit/Tab/v2/BaseTabs.vue.js +2 -2
- package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +2 -2
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +2 -2
- package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +2 -2
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +2 -2
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/SwiperPaginationPrimitive.css +1 -0
- package/dist/chart/DoughnutChart.vue.js +2 -2
- package/dist/chart/LineChart.vue.js +2 -2
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +2 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +2 -2
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +2 -2
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +2 -2
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +1 -1
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +2 -2
- package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +2 -2
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +4 -4
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +2 -2
- package/dist/components/carousel/SwiperCarousel.js +1 -1
- package/dist/components/carousel/SwiperCarousel.vue.js +8 -8
- package/dist/components/carousel/SwiperSlide.js +2 -2
- package/dist/index.js +1 -1
- package/dist/lazyModules/Swiper/Autoplay/index.js +4 -3
- package/dist/lazyModules/Swiper/Controller/index.js +4 -3
- package/dist/lazyModules/Swiper/FreeMode/index.js +3 -2
- package/dist/lazyModules/Swiper/Keyboard/index.js +4 -3
- package/dist/lazyModules/Swiper/Navigation/index.js +3 -2
- package/dist/lazyModules/Swiper/Pagination/index.js +3 -2
- package/dist/lazyModules/Swiper/Thumbs/index.js +4 -3
- package/dist/lazyModules/Swiper/Zoom/index.js +3 -2
- package/dist/lazyModules/VueChartJs/Doughnut/index.js +3 -2
- package/dist/lazyModules/VueChartJs/Line/index.js +3 -2
- package/package.json +30 -30
- package/dist/assets/SwiperCarousel2.css +0 -1
- /package/dist/assets/{swiper-keyboard.css → swiper-thumbs.css} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as B,
|
|
1
|
+
import { defineComponent as B, useModel as A, ref as I, computed as i, watch as y, renderSlot as C, createElementVNode as M, normalizeClass as p, openBlock as x, createElementBlock as R, Fragment as K, renderList as V, createBlock as w, unref as L, createCommentVNode as G, mergeModels as v } from "vue";
|
|
2
2
|
import { stringToHyphened as N, isArrNullOrEmpty as T } from "@wikicasa-dev/utilities";
|
|
3
3
|
import F from "./CheckboxBtn.vue.js";
|
|
4
4
|
import '../../assets/CheckboxBtn.css';/* empty css */
|
|
5
5
|
const O = ["id", "data-cy"], q = /* @__PURE__ */ B({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "CheckboxGroup",
|
|
8
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ v({
|
|
9
9
|
checkboxData: { default() {
|
|
10
10
|
return [];
|
|
11
11
|
} },
|
|
@@ -22,7 +22,7 @@ const O = ["id", "data-cy"], q = /* @__PURE__ */ B({
|
|
|
22
22
|
refresh: { type: Boolean, default: !1 },
|
|
23
23
|
refreshModifiers: {}
|
|
24
24
|
}),
|
|
25
|
-
emits: /* @__PURE__ */
|
|
25
|
+
emits: /* @__PURE__ */ v(["resetted", "update:modelValue", "checkedGroup"], ["update:refresh"]),
|
|
26
26
|
setup(a, { emit: D }) {
|
|
27
27
|
const o = a, s = D, f = A(a, "refresh"), l = I(
|
|
28
28
|
/* @__PURE__ */ new Map()
|
|
@@ -71,42 +71,42 @@ const O = ["id", "data-cy"], q = /* @__PURE__ */ B({
|
|
|
71
71
|
n.checked && t.push(n);
|
|
72
72
|
}), s("update:modelValue", t), s("checkedGroup", o.groupId);
|
|
73
73
|
};
|
|
74
|
-
return
|
|
74
|
+
return y(
|
|
75
75
|
() => o.reset,
|
|
76
76
|
(e) => {
|
|
77
77
|
e && g();
|
|
78
78
|
}
|
|
79
|
-
),
|
|
79
|
+
), y(f, (e) => {
|
|
80
80
|
e && (m(), f.value = !1);
|
|
81
|
-
}), (e, c) =>
|
|
81
|
+
}), (e, c) => C(e.$slots, "default", {
|
|
82
82
|
isActive: d,
|
|
83
83
|
handleChange: h,
|
|
84
84
|
checkboxesData: a.checkboxData
|
|
85
85
|
}, () => [
|
|
86
86
|
M("div", {
|
|
87
87
|
id: a.groupId,
|
|
88
|
-
class:
|
|
88
|
+
class: p(["checkbox-group-container", e.$attrs.class || ""]),
|
|
89
89
|
"data-cy": a.dataCy
|
|
90
90
|
}, [
|
|
91
|
-
|
|
91
|
+
C(e.$slots, "checkbox_elements", {
|
|
92
92
|
isActive: d,
|
|
93
93
|
handleChange: h,
|
|
94
94
|
checkboxesData: a.checkboxData,
|
|
95
95
|
reset: g
|
|
96
96
|
}, () => [
|
|
97
|
-
a.checkboxData ? (
|
|
97
|
+
a.checkboxData ? (x(!0), R(K, { key: 0 }, V(a.checkboxData, (t, n) => (x(), w(F, {
|
|
98
98
|
id: a.getKey(t),
|
|
99
99
|
key: n,
|
|
100
|
-
"data-cy": t.dataCy ?? `checkbox_${
|
|
100
|
+
"data-cy": t.dataCy ?? `checkbox_${L(N)(`${t.label}`)}`,
|
|
101
101
|
label: t.label,
|
|
102
102
|
inline: a.formCheckInline,
|
|
103
103
|
"model-value": d(t),
|
|
104
|
-
class:
|
|
104
|
+
class: p([
|
|
105
105
|
a.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
|
|
106
106
|
a.checkboxContainerClasses
|
|
107
107
|
]),
|
|
108
108
|
onChange: c[0] || (c[0] = ($) => h($))
|
|
109
|
-
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "class"]))), 128)) :
|
|
109
|
+
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "class"]))), 128)) : G("", !0)
|
|
110
110
|
])
|
|
111
111
|
], 10, O)
|
|
112
112
|
]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as v,
|
|
1
|
+
import { defineComponent as v, useModel as f, provide as m, watch as k, openBlock as n, createElementBlock as h, renderSlot as y, Fragment as C, renderList as g, createBlock as B, withCtx as x, createTextVNode as M, toDisplayString as b, mergeModels as U } from "vue";
|
|
2
2
|
import q from "../CheckboxBtn.vue.js";
|
|
3
3
|
import '../../../assets/CheckboxBtn.css';/* empty css */
|
|
4
4
|
const w = ["data-cy"], I = /* @__PURE__ */ v({
|
|
5
5
|
__name: "CheckboxButtonGroup",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ U({
|
|
7
7
|
dataCy: {},
|
|
8
8
|
items: { default: () => [] },
|
|
9
9
|
resetValue: {}
|
|
@@ -49,23 +49,23 @@ const w = ["data-cy"], I = /* @__PURE__ */ v({
|
|
|
49
49
|
}
|
|
50
50
|
), m("removeItem", (e) => {
|
|
51
51
|
e && r.delete(e);
|
|
52
|
-
}),
|
|
52
|
+
}), k(o, (e) => {
|
|
53
53
|
e && (a.value = [], o.value = !1);
|
|
54
54
|
}), (e, u) => (n(), h("div", { "data-cy": l.dataCy }, [
|
|
55
|
-
|
|
55
|
+
y(e.$slots, "default", {
|
|
56
56
|
isChecked: c,
|
|
57
57
|
handleCheck: i,
|
|
58
58
|
handleResetCheck: V
|
|
59
59
|
}, () => [
|
|
60
|
-
(n(!0), h(
|
|
60
|
+
(n(!0), h(C, null, g(l.items, (t) => (n(), B(q, {
|
|
61
61
|
key: `checkbox-item-${t.value}`,
|
|
62
62
|
required: t.required,
|
|
63
63
|
"data-cy": t.dataCy,
|
|
64
64
|
"model-value": c(t.value),
|
|
65
65
|
"onUpdate:modelValue": (s) => i(t.value, s)
|
|
66
66
|
}, {
|
|
67
|
-
label:
|
|
68
|
-
b(
|
|
67
|
+
label: x(() => [
|
|
68
|
+
M(b(t.label), 1)
|
|
69
69
|
]),
|
|
70
70
|
_: 2
|
|
71
71
|
}, 1032, ["required", "data-cy", "model-value", "onUpdate:modelValue"]))), 128))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, createPropsRestProxy as s,
|
|
1
|
+
import { defineComponent as u, createPropsRestProxy as s, openBlock as m, createBlock as n, unref as p, mergeProps as i, withCtx as c, renderSlot as f, normalizeProps as y, guardReactiveProps as C } from "vue";
|
|
2
2
|
import { CheckboxRoot as V } from "reka-ui";
|
|
3
3
|
const B = /* @__PURE__ */ u({
|
|
4
4
|
__name: "CheckboxGroupItemPrimitive",
|
|
@@ -19,7 +19,7 @@ const B = /* @__PURE__ */ u({
|
|
|
19
19
|
emits: ["update:modelValue"],
|
|
20
20
|
setup(a, { emit: o }) {
|
|
21
21
|
const r = s(a, ["dataCy"]), l = o;
|
|
22
|
-
return (d, t) => (
|
|
22
|
+
return (d, t) => (m(), n(p(V), i(r, {
|
|
23
23
|
"data-cy": a.dataCy,
|
|
24
24
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => l("update:modelValue", e))
|
|
25
25
|
}), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, createPropsRestProxy as p,
|
|
1
|
+
import { defineComponent as n, createPropsRestProxy as p, openBlock as u, createBlock as i, unref as s, mergeProps as m, withCtx as c, renderSlot as y } from "vue";
|
|
2
2
|
import { CheckboxGroupRoot as f } from "reka-ui";
|
|
3
3
|
const x = /* @__PURE__ */ n({
|
|
4
4
|
__name: "CheckboxGroupPrimitive",
|
|
@@ -19,7 +19,7 @@ const x = /* @__PURE__ */ n({
|
|
|
19
19
|
emits: ["update:modelValue"],
|
|
20
20
|
setup(e, { emit: t }) {
|
|
21
21
|
const a = p(e, ["dataCy"]), r = t;
|
|
22
|
-
return (l, o) => (
|
|
22
|
+
return (l, o) => (u(), i(s(f), m(a, {
|
|
23
23
|
"data-cy": e.dataCy,
|
|
24
24
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => r("update:modelValue", d))
|
|
25
25
|
}), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, openBlock as t, createBlock as n, unref as s, normalizeProps as a, guardReactiveProps as p } from "vue";
|
|
2
2
|
import { ProgressIndicator as c } from "reka-ui";
|
|
3
3
|
const d = /* @__PURE__ */ e({
|
|
4
4
|
__name: "ProgressIndicatorPrimitive",
|
|
@@ -8,7 +8,7 @@ const d = /* @__PURE__ */ e({
|
|
|
8
8
|
},
|
|
9
9
|
setup(r) {
|
|
10
10
|
const o = r;
|
|
11
|
-
return (i, m) => (
|
|
11
|
+
return (i, m) => (t(), n(s(c), a(p(o)), null, 16));
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, useTemplateRef as m,
|
|
1
|
+
import { defineComponent as p, useTemplateRef as m, openBlock as d, createBlock as i, unref as g, mergeProps as V, withCtx as x, renderSlot as f, normalizeProps as c, guardReactiveProps as P } from "vue";
|
|
2
2
|
import { ProgressRoot as T } from "reka-ui";
|
|
3
3
|
const R = /* @__PURE__ */ p({
|
|
4
4
|
__name: "ProgressRootPrimitive",
|
|
@@ -16,7 +16,7 @@ const R = /* @__PURE__ */ p({
|
|
|
16
16
|
return u({
|
|
17
17
|
getValueLabel: (t, e) => l.value?.getValueLabel?.(t, e),
|
|
18
18
|
getValueText: (t, e) => l.value?.getValueText?.(t, e)
|
|
19
|
-
}), (t, e) => (
|
|
19
|
+
}), (t, e) => (d(), i(g(T), V({ ref: "root" }, s, {
|
|
20
20
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => a("update:modelValue", o)),
|
|
21
21
|
"onUpdate:max": e[1] || (e[1] = (o) => a("update:max", o))
|
|
22
22
|
}), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, useId as k, computed as m,
|
|
1
|
+
import { defineComponent as c, useId as k, computed as m, openBlock as f, createElementBlock as b, withModifiers as t, createElementVNode as a, normalizeClass as u, createTextVNode as h, toDisplayString as C } from "vue";
|
|
2
2
|
const y = ["data-cy"], V = ["id", "name", "checked"], x = ["for"], g = /* @__PURE__ */ c({
|
|
3
3
|
__name: "RadioButton",
|
|
4
4
|
props: {
|
|
@@ -21,7 +21,7 @@ const y = ["data-cy"], V = ["id", "name", "checked"], x = ["for"], g = /* @__PUR
|
|
|
21
21
|
};
|
|
22
22
|
l("change", d), l("update:modelValue", !e.modelValue);
|
|
23
23
|
};
|
|
24
|
-
return (d, i) => (
|
|
24
|
+
return (d, i) => (f(), b("div", {
|
|
25
25
|
class: "uikit-inline-block",
|
|
26
26
|
"data-cy": e.dataCy,
|
|
27
27
|
onClick: t(r, ["stop"])
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as k,
|
|
1
|
+
import { defineComponent as k, useModel as f, ref as R, watch as m, renderSlot as v, createElementVNode as g, normalizeClass as h, openBlock as C, createElementBlock as B, Fragment as M, renderList as b, createBlock as A, mergeModels as $ } from "vue";
|
|
2
2
|
import E from "./RadioButton.vue.js";
|
|
3
3
|
const w = ["data-cy"], G = /* @__PURE__ */ k({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "RadioGroup",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ $({
|
|
7
7
|
radioValues: { default: () => [] },
|
|
8
8
|
dataCy: {},
|
|
9
9
|
radioContainerClasses: {}
|
|
@@ -13,9 +13,9 @@ const w = ["data-cy"], G = /* @__PURE__ */ k({
|
|
|
13
13
|
refresh: { type: Boolean, default: !1 },
|
|
14
14
|
refreshModifiers: {}
|
|
15
15
|
}),
|
|
16
|
-
emits: /* @__PURE__ */
|
|
16
|
+
emits: /* @__PURE__ */ $(["update:modelValue"], ["update:resetRadio", "update:refresh"]),
|
|
17
17
|
setup(l, { emit: V }) {
|
|
18
|
-
const o = V, n =
|
|
18
|
+
const o = V, n = f(l, "resetRadio"), i = f(l, "refresh"), a = R(null), t = (e) => {
|
|
19
19
|
a.value = e, o("update:modelValue", e);
|
|
20
20
|
}, s = () => {
|
|
21
21
|
a.value = null, n.value = !1, o("update:modelValue", null);
|
|
@@ -26,30 +26,30 @@ const w = ["data-cy"], G = /* @__PURE__ */ k({
|
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
return u(),
|
|
29
|
+
return u(), m(n, (e) => {
|
|
30
30
|
e && s();
|
|
31
|
-
}),
|
|
31
|
+
}), m(i, (e) => {
|
|
32
32
|
e && (u(), i.value = !1);
|
|
33
|
-
}), (e, c) =>
|
|
33
|
+
}), (e, c) => v(e.$slots, "default", {
|
|
34
34
|
handleClick: t,
|
|
35
35
|
activeValue: a.value,
|
|
36
36
|
reset: s,
|
|
37
37
|
isActive: d
|
|
38
38
|
}, () => [
|
|
39
39
|
g("div", {
|
|
40
|
-
class:
|
|
40
|
+
class: h(["radio-group-container", e.$attrs.class]),
|
|
41
41
|
"data-cy": l.dataCy
|
|
42
42
|
}, [
|
|
43
|
-
|
|
43
|
+
v(e.$slots, "radio_elements", {
|
|
44
44
|
handleClick: t,
|
|
45
45
|
activeValue: a.value,
|
|
46
46
|
reset: s,
|
|
47
47
|
isActive: d
|
|
48
48
|
}, () => [
|
|
49
|
-
(
|
|
49
|
+
(C(!0), B(M, null, b(l.radioValues, (r, p) => (C(), A(E, {
|
|
50
50
|
id: r.id,
|
|
51
51
|
key: p,
|
|
52
|
-
class:
|
|
52
|
+
class: h(l.radioContainerClasses),
|
|
53
53
|
label: `${r.label}`,
|
|
54
54
|
"model-value": `${r.id}` == `${a.value?.id}`,
|
|
55
55
|
onChange: c[0] || (c[0] = (y) => t(y))
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as s,
|
|
1
|
+
import { defineComponent as s, createPropsRestProxy as f, useModel as p, openBlock as o, createBlock as d, unref as c, mergeProps as u, withCtx as m, renderSlot as y, createElementBlock as B, Fragment as V, renderList as C, createTextVNode as g, toDisplayString as k, mergeModels as x } from "vue";
|
|
2
2
|
import { RadioGroupRoot as R } from "reka-ui";
|
|
3
3
|
import v from "./RadioButtonItem.vue.js";
|
|
4
4
|
import '../../../assets/RadioButtonItem.css';/* empty css */
|
|
5
5
|
const S = /* @__PURE__ */ s({
|
|
6
6
|
__name: "RadioButtonGroup",
|
|
7
|
-
props: /* @__PURE__ */
|
|
7
|
+
props: /* @__PURE__ */ x({
|
|
8
8
|
dataCy: {},
|
|
9
9
|
items: { default: () => [] },
|
|
10
10
|
defaultValue: {},
|
|
@@ -22,18 +22,18 @@ const S = /* @__PURE__ */ s({
|
|
|
22
22
|
}),
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
24
|
setup(e) {
|
|
25
|
-
const n =
|
|
26
|
-
return (i, l) => (o(), d(
|
|
25
|
+
const n = f(e, ["dataCy", "items"]), a = p(e, "modelValue");
|
|
26
|
+
return (i, l) => (o(), d(c(R), u({ "data-cy": e.dataCy }, n, {
|
|
27
27
|
modelValue: a.value,
|
|
28
28
|
"onUpdate:modelValue": l[0] || (l[0] = (t) => a.value = t)
|
|
29
29
|
}), {
|
|
30
30
|
default: m(() => [
|
|
31
|
-
|
|
32
|
-
(o(!0), V
|
|
31
|
+
y(i.$slots, "default", {}, () => [
|
|
32
|
+
(o(!0), B(V, null, C(e.items, ({ label: t, ...r }) => (o(), d(v, u({ ref_for: !0 }, r, {
|
|
33
33
|
key: `radio-item-${r.value}`
|
|
34
34
|
}), {
|
|
35
35
|
default: m(() => [
|
|
36
|
-
k(
|
|
36
|
+
g(k(t), 1)
|
|
37
37
|
]),
|
|
38
38
|
_: 2
|
|
39
39
|
}, 1040))), 128))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, createPropsRestProxy as n, useId as c, computed as k,
|
|
1
|
+
import { defineComponent as l, createPropsRestProxy as n, useId as c, computed as k, openBlock as a, createElementBlock as s, createVNode as r, unref as u, mergeProps as m, withCtx as p, normalizeClass as f, renderSlot as y, createCommentVNode as C } from "vue";
|
|
2
2
|
import { RadioGroupItem as b, RadioGroupIndicator as h } from "reka-ui";
|
|
3
3
|
const x = { class: "uikit-radio-btn uikit-flex uikit-items-center uikit-gap-x-[8px]" }, g = ["for"], v = /* @__PURE__ */ l({
|
|
4
4
|
__name: "RadioButtonItem",
|
|
@@ -16,8 +16,8 @@ const x = { class: "uikit-radio-btn uikit-flex uikit-items-center uikit-gap-x-[8
|
|
|
16
16
|
},
|
|
17
17
|
setup(e) {
|
|
18
18
|
const i = n(e, ["itemClasses", "labelClasses", "dataCy"]), d = c(), t = k(() => i.id ?? d);
|
|
19
|
-
return (o, w) => (
|
|
20
|
-
r(u(b),
|
|
19
|
+
return (o, w) => (a(), s("div", x, [
|
|
20
|
+
r(u(b), m(i, {
|
|
21
21
|
id: t.value,
|
|
22
22
|
"data-cy": e.dataCy,
|
|
23
23
|
class: [
|
|
@@ -25,18 +25,18 @@ const x = { class: "uikit-radio-btn uikit-flex uikit-items-center uikit-gap-x-[8
|
|
|
25
25
|
e.itemClasses
|
|
26
26
|
]
|
|
27
27
|
}), {
|
|
28
|
-
default:
|
|
28
|
+
default: p(() => [
|
|
29
29
|
r(u(h), { class: "uikit-radio-group-indicator uikit-size-[12px] uikit-rounded-[50%] uikit-bg-w-primary" })
|
|
30
30
|
]),
|
|
31
31
|
_: 1
|
|
32
32
|
}, 16, ["id", "data-cy", "class"]),
|
|
33
|
-
o.$slots.default ? (
|
|
33
|
+
o.$slots.default ? (a(), s("label", {
|
|
34
34
|
key: 0,
|
|
35
35
|
for: t.value,
|
|
36
|
-
class:
|
|
36
|
+
class: f(e.labelClasses)
|
|
37
37
|
}, [
|
|
38
|
-
|
|
39
|
-
], 10, g)) :
|
|
38
|
+
y(o.$slots, "default")
|
|
39
|
+
], 10, g)) : C("", !0)
|
|
40
40
|
]));
|
|
41
41
|
}
|
|
42
42
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, createPropsRestProxy as d,
|
|
1
|
+
import { defineComponent as n, createPropsRestProxy as d, openBlock as l, createBlock as p, unref as m, mergeProps as c, withCtx as u, renderSlot as y, normalizeProps as f, guardReactiveProps as C } from "vue";
|
|
2
2
|
import { RadioGroupItem as P } from "reka-ui";
|
|
3
3
|
const v = /* @__PURE__ */ n({
|
|
4
4
|
__name: "RadioGroupItemPrimitive",
|
|
@@ -15,7 +15,7 @@ const v = /* @__PURE__ */ n({
|
|
|
15
15
|
emits: ["select"],
|
|
16
16
|
setup(t, { emit: a }) {
|
|
17
17
|
const r = d(t, ["dataCy"]), s = a;
|
|
18
|
-
return (i, o) => (
|
|
18
|
+
return (i, o) => (l(), p(m(P), c(r, {
|
|
19
19
|
"data-cy": t.dataCy,
|
|
20
20
|
onSelect: o[0] || (o[0] = (e) => s("select", e))
|
|
21
21
|
}), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i,
|
|
1
|
+
import { defineComponent as i, openBlock as a, createElementBlock as l, createElementVNode as o, normalizeClass as s, renderSlot as d } from "vue";
|
|
2
2
|
const n = { class: "uikit-relative uikit-overflow-hidden uikit-bg-w-lavender" }, r = ["data-enabled"], c = /* @__PURE__ */ i({
|
|
3
3
|
__name: "BaseShimmerLoader",
|
|
4
4
|
props: {
|
|
@@ -6,12 +6,12 @@ const n = { class: "uikit-relative uikit-overflow-hidden uikit-bg-w-lavender" },
|
|
|
6
6
|
enabled: { type: Boolean, default: !0 }
|
|
7
7
|
},
|
|
8
8
|
setup(e) {
|
|
9
|
-
return (t, u) => (
|
|
9
|
+
return (t, u) => (a(), l("div", n, [
|
|
10
10
|
o("div", {
|
|
11
|
-
class:
|
|
11
|
+
class: s(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full", e.shimmerClasses]),
|
|
12
12
|
"data-enabled": e.enabled || void 0
|
|
13
13
|
}, null, 10, r),
|
|
14
|
-
|
|
14
|
+
d(t.$slots, "default", {}, void 0, !0)
|
|
15
15
|
]));
|
|
16
16
|
}
|
|
17
17
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l,
|
|
1
|
+
import { defineComponent as l, openBlock as t, createElementBlock as a, Fragment as r, renderList as i, createBlock as m, normalizeStyle as s, normalizeClass as o } from "vue";
|
|
2
2
|
import u from "./BaseShimmerLoader.js";
|
|
3
3
|
const k = /* @__PURE__ */ l({
|
|
4
4
|
__name: "ShimmerMultiLine",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as V,
|
|
1
|
+
import { defineComponent as V, useCssVars as L, useTemplateRef as T, useModel as y, ref as m, watch as E, onMounted as S, openBlock as C, createElementBlock as X, createElementVNode as d, withModifiers as $, mergeModels as B } from "vue";
|
|
2
2
|
const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__ */ V({
|
|
3
3
|
__name: "SimpleSlider",
|
|
4
|
-
props: /* @__PURE__ */
|
|
4
|
+
props: /* @__PURE__ */ B({
|
|
5
5
|
min: { default: 0 },
|
|
6
6
|
max: { default: 100 },
|
|
7
7
|
step: { default: 1 },
|
|
@@ -13,11 +13,11 @@ const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__
|
|
|
13
13
|
}),
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
15
|
setup(t) {
|
|
16
|
-
|
|
16
|
+
L((i) => ({
|
|
17
17
|
v0f43c897: r.value,
|
|
18
18
|
ec9c737a: s.value
|
|
19
19
|
}));
|
|
20
|
-
const u =
|
|
20
|
+
const u = T("customSlider"), l = y(t, "modelValue"), o = m(!1), s = m("50%"), r = m("50%"), c = (i = 0) => {
|
|
21
21
|
const e = t.logarithmic ? b(i) : x(i), a = (e - t.min) / (t.max - t.min), f = t.logarithmic ? h(e) : a * 100;
|
|
22
22
|
l.value = Math.round(e), s.value = `${Math.round(f)}%`, r.value = t.logarithmic ? `${Math.round(h(e))}%` : `${a * 100}%`;
|
|
23
23
|
}, x = (i = 0) => {
|
|
@@ -49,15 +49,15 @@ const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__
|
|
|
49
49
|
}, g = () => {
|
|
50
50
|
o.value = !1;
|
|
51
51
|
};
|
|
52
|
-
return
|
|
52
|
+
return E(
|
|
53
53
|
l,
|
|
54
54
|
(i) => {
|
|
55
55
|
c(i);
|
|
56
56
|
},
|
|
57
57
|
{ immediate: !0 }
|
|
58
|
-
),
|
|
58
|
+
), S(() => {
|
|
59
59
|
document.addEventListener("mousemove", v), document.addEventListener("mouseup", g), document.addEventListener("touchmove", v, { passive: !0 }), document.addEventListener("touchend", g, { passive: !0 });
|
|
60
|
-
}), (i, e) => (
|
|
60
|
+
}), (i, e) => (C(), X("div", null, [
|
|
61
61
|
d("div", {
|
|
62
62
|
ref: "customSlider",
|
|
63
63
|
class: "uikit-relative uikit-my-20px uikit-h-1 uikit-rounded-2xs uikit-bg-w-secondary",
|
|
@@ -71,7 +71,7 @@ const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__
|
|
|
71
71
|
d("div", {
|
|
72
72
|
class: "slider-thumb uikit-absolute -uikit-top-2 uikit-size-20px -uikit-translate-x-1/2 uikit-cursor-pointer uikit-rounded-full uikit-border-2 uikit-border-solid uikit-border-w-primary uikit-bg-white",
|
|
73
73
|
onMousedown: e[0] || (e[0] = (a) => M()),
|
|
74
|
-
onTouchstart: e[1] || (e[1] =
|
|
74
|
+
onTouchstart: e[1] || (e[1] = $((a) => M(), ["prevent"]))
|
|
75
75
|
}, null, 32)
|
|
76
76
|
], 8, D)
|
|
77
77
|
]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t,
|
|
1
|
+
import { defineComponent as t, openBlock as o, createElementBlock as s, createElementVNode as n } from "vue";
|
|
2
2
|
const c = {
|
|
3
3
|
viewBox: "0 0 128 128",
|
|
4
4
|
class: "icon-spin uikit-h-6 uikit-w-6"
|
|
@@ -9,7 +9,7 @@ const c = {
|
|
|
9
9
|
strokeColor: { default: "#fff" }
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
|
-
return (r, l) => (
|
|
12
|
+
return (r, l) => (o(), s("svg", c, [
|
|
13
13
|
n("circle", {
|
|
14
14
|
class: "path",
|
|
15
15
|
cx: "64",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, inject as l,
|
|
1
|
+
import { defineComponent as m, inject as l, openBlock as a, createElementBlock as r, normalizeClass as c, Fragment as y, renderList as C, unref as i, toDisplayString as h, createBlock as p, resolveDynamicComponent as f, createCommentVNode as _ } from "vue";
|
|
2
2
|
const v = ["aria-labelledby", "data-cy"], B = ["id", "data-cy", "aria-selected", "aria-controls", "tabindex", "onClick"], F = { key: 0 }, $ = /* @__PURE__ */ m({
|
|
3
3
|
__name: "BaseTabList",
|
|
4
4
|
props: {
|
|
@@ -35,7 +35,7 @@ const v = ["aria-labelledby", "data-cy"], B = ["id", "data-cy", "aria-selected",
|
|
|
35
35
|
i(b)(t, e), u("tabClick", k, t, e);
|
|
36
36
|
}
|
|
37
37
|
}, [
|
|
38
|
-
e["header-title"] ? (a(), r("span", F,
|
|
38
|
+
e["header-title"] ? (a(), r("span", F, h(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (a(), p(f(e.renderFn.children.header), { key: 1 })) : _("", !0)
|
|
39
39
|
], 10, B))), 128))
|
|
40
40
|
], 10, v));
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, withDirectives as t,
|
|
1
|
+
import { defineComponent as l, withDirectives as t, openBlock as i, createElementBlock as d, normalizeClass as n, renderSlot as o, vShow as s } from "vue";
|
|
2
2
|
const c = ["id", "aria-labelledby", "data-active"], v = /* @__PURE__ */ l({
|
|
3
3
|
__name: "BaseTabPanel",
|
|
4
4
|
props: {
|
|
@@ -7,7 +7,7 @@ const c = ["id", "aria-labelledby", "data-active"], v = /* @__PURE__ */ l({
|
|
|
7
7
|
labelledBy: {}
|
|
8
8
|
},
|
|
9
9
|
setup(e) {
|
|
10
|
-
return (a, r) => t((
|
|
10
|
+
return (a, r) => t((i(), d("div", {
|
|
11
11
|
id: e.id,
|
|
12
12
|
role: "tabpanel",
|
|
13
13
|
"aria-labelledby": e.labelledBy,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as S,
|
|
1
|
+
import { defineComponent as S, useModel as z, ref as T, useId as j, useSlots as q, computed as G, provide as v, watch as x, openBlock as l, createElementBlock as f, normalizeClass as k, createElementVNode as H, unref as m, toDisplayString as J, createBlock as o, createCommentVNode as u, Fragment as I, renderList as K, withCtx as O, resolveDynamicComponent as Q, mergeModels as g } from "vue";
|
|
2
2
|
import R from "./BaseTabPanel.vue.js";
|
|
3
3
|
import P from "./BaseTabList.vue.js";
|
|
4
4
|
const U = ["data-cy"], W = ["id"], ae = /* @__PURE__ */ S({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "BaseTabView",
|
|
7
|
-
props: /* @__PURE__ */
|
|
7
|
+
props: /* @__PURE__ */ g({
|
|
8
8
|
tabsPosition: { default: "top" },
|
|
9
9
|
tabViewDescription: {},
|
|
10
10
|
tabListClasses: {},
|
|
@@ -13,9 +13,9 @@ const U = ["data-cy"], W = ["id"], ae = /* @__PURE__ */ S({
|
|
|
13
13
|
activeIdx: { default: 0 },
|
|
14
14
|
activeIdxModifiers: {}
|
|
15
15
|
}),
|
|
16
|
-
emits: /* @__PURE__ */
|
|
16
|
+
emits: /* @__PURE__ */ g(["tabClicked"], ["update:activeIdx"]),
|
|
17
17
|
setup(s, { emit: $ }) {
|
|
18
|
-
const B = $, c = z(s, "activeIdx"), A =
|
|
18
|
+
const B = $, c = z(s, "activeIdx"), A = T(""), b = T(null), d = j(), y = q(), r = (e) => e.props ?? null, h = (e) => e.type.__name === "BaseTab", p = (e, a) => ({
|
|
19
19
|
renderFn: e,
|
|
20
20
|
tabId: C(a),
|
|
21
21
|
"active-tab-panel-idx": r(e)?.["active-tab-panel-idx"] ?? a,
|
|
@@ -41,7 +41,7 @@ const U = ["data-cy"], W = ["id"], ae = /* @__PURE__ */ S({
|
|
|
41
41
|
};
|
|
42
42
|
v("handleClick", (e, a) => {
|
|
43
43
|
D(e), c.value = e, B("tabClicked", { tabIdx: e, tabElement: a });
|
|
44
|
-
}),
|
|
44
|
+
}), x(
|
|
45
45
|
c,
|
|
46
46
|
(e) => {
|
|
47
47
|
L(e ?? -1);
|
|
@@ -55,7 +55,7 @@ const U = ["data-cy"], W = ["id"], ae = /* @__PURE__ */ S({
|
|
|
55
55
|
if (e[t] !== a[t]) return t;
|
|
56
56
|
return null;
|
|
57
57
|
}, M = (e = -1) => i.value.find((a) => a["active-tab-panel-idx"] === e);
|
|
58
|
-
return
|
|
58
|
+
return x(
|
|
59
59
|
() => i.value.map((e) => e["active-tab-panel-idx"]),
|
|
60
60
|
(e, a) => {
|
|
61
61
|
const t = E(e, a);
|
|
@@ -65,7 +65,7 @@ const U = ["data-cy"], W = ["id"], ae = /* @__PURE__ */ S({
|
|
|
65
65
|
}
|
|
66
66
|
), (e, a) => (l(), f("div", {
|
|
67
67
|
ref: "root",
|
|
68
|
-
class:
|
|
68
|
+
class: k(e.$attrs.class),
|
|
69
69
|
"data-cy": s.dataCy
|
|
70
70
|
}, [
|
|
71
71
|
H("span", {
|
|
@@ -78,13 +78,13 @@ const U = ["data-cy"], W = ["id"], ae = /* @__PURE__ */ S({
|
|
|
78
78
|
"tab-list-classes": s.tabListClasses,
|
|
79
79
|
"data-cy": s.dataCy ? `${s.dataCy}-tab-list` : ""
|
|
80
80
|
}, null, 8, ["uid", "tab-list-classes", "data-cy"])) : u("", !0),
|
|
81
|
-
(l(!0), f(
|
|
81
|
+
(l(!0), f(I, null, K(i.value, (t, n) => (l(), f(I, { key: n }, [
|
|
82
82
|
M(n) ? (l(), o(R, {
|
|
83
83
|
key: 0,
|
|
84
84
|
id: V(t["active-tab-panel-idx"]),
|
|
85
85
|
"labelled-by": w(n) ?? "",
|
|
86
86
|
active: F(n),
|
|
87
|
-
class:
|
|
87
|
+
class: k(t["tab-panel-classes"])
|
|
88
88
|
}, {
|
|
89
89
|
default: O(() => [
|
|
90
90
|
t.renderFn.children && t.renderFn.children.default ? (l(), o(Q(t.renderFn.children.default), { key: 0 })) : u("", !0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, createPropsRestProxy as i, shallowRef as m, provide as d, onMounted as p,
|
|
1
|
+
import { defineComponent as l, createPropsRestProxy as i, shallowRef as m, provide as d, onMounted as p, openBlock as c, createBlock as f, unref as y, mergeProps as C, withCtx as B, renderSlot as M } from "vue";
|
|
2
2
|
import { TabsRoot as V } from "reka-ui";
|
|
3
3
|
const v = /* @__PURE__ */ l({
|
|
4
4
|
__name: "BaseTabs",
|
|
@@ -20,7 +20,7 @@ const v = /* @__PURE__ */ l({
|
|
|
20
20
|
a.value = !0;
|
|
21
21
|
}), p(() => {
|
|
22
22
|
o("mounted");
|
|
23
|
-
}), (u, n) => (
|
|
23
|
+
}), (u, n) => (c(), f(y(V), C(r, {
|
|
24
24
|
"data-cy": t.dataCy,
|
|
25
25
|
class: "uikit-base-tabs",
|
|
26
26
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => o("update:modelValue", e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, createPropsRestProxy as r,
|
|
1
|
+
import { defineComponent as o, createPropsRestProxy as r, openBlock as n, createBlock as s, unref as c, mergeProps as p, withCtx as d, renderSlot as l } from "vue";
|
|
2
2
|
import { TabsContent as f } from "reka-ui";
|
|
3
3
|
const C = /* @__PURE__ */ o({
|
|
4
4
|
__name: "BaseTabsContent",
|
|
@@ -11,7 +11,7 @@ const C = /* @__PURE__ */ o({
|
|
|
11
11
|
},
|
|
12
12
|
setup(e) {
|
|
13
13
|
const t = r(e, ["dataCy"]);
|
|
14
|
-
return (a, u) => (
|
|
14
|
+
return (a, u) => (n(), s(c(f), p({ "data-cy": e.dataCy }, t), {
|
|
15
15
|
default: d(() => [
|
|
16
16
|
l(a.$slots, "default")
|
|
17
17
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, createPropsRestProxy as d, inject as u, useTemplateRef as c, onMounted as l,
|
|
1
|
+
import { defineComponent as s, createPropsRestProxy as d, inject as u, useTemplateRef as c, onMounted as l, openBlock as p, createBlock as k, unref as f, mergeProps as m, withCtx as b, renderSlot as y, createElementVNode as I } from "vue";
|
|
2
2
|
import { TabsIndicator as x } from "reka-ui";
|
|
3
3
|
const v = /* @__PURE__ */ s({
|
|
4
4
|
__name: "BaseTabsIndicator",
|
|
@@ -16,7 +16,7 @@ const v = /* @__PURE__ */ s({
|
|
|
16
16
|
o?.();
|
|
17
17
|
}), i({
|
|
18
18
|
updateIndicatorStyle: () => n.value?.updateIndicatorStyle?.()
|
|
19
|
-
}), (r, a) => (
|
|
19
|
+
}), (r, a) => (p(), k(f(x), m({ ref: "tabIndicatorRef" }, e, {
|
|
20
20
|
"data-cy": t.dataCy,
|
|
21
21
|
class: "uikit-base-tabs-indicator uikit-absolute uikit-bottom-[var(--indicator-bottom,0)] uikit-left-0 uikit-z-[1] uikit-h-[2px] uikit-w-[--reka-tabs-indicator-size] uikit-translate-x-[--reka-tabs-indicator-position] uikit-translate-y-[1px] uikit-transition-[width,transform] uikit-duration-300"
|
|
22
22
|
}), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, createPropsRestProxy as r,
|
|
1
|
+
import { defineComponent as o, createPropsRestProxy as r, openBlock as s, createBlock as n, unref as l, mergeProps as p, withCtx as c, renderSlot as d } from "vue";
|
|
2
2
|
import { TabsList as i } from "reka-ui";
|
|
3
3
|
const y = /* @__PURE__ */ o({
|
|
4
4
|
__name: "BaseTabsList",
|
|
@@ -10,7 +10,7 @@ const y = /* @__PURE__ */ o({
|
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
12
|
const t = r(e, ["dataCy"]);
|
|
13
|
-
return (a, f) => (
|
|
13
|
+
return (a, f) => (s(), n(l(i), p({ "data-cy": e.dataCy }, t, { class: "uikit-relative" }), {
|
|
14
14
|
default: c(() => [
|
|
15
15
|
d(a.$slots, "default")
|
|
16
16
|
]),
|