@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,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as H,
|
|
1
|
+
import { defineComponent as H, useModel as y, useId as F, useTemplateRef as z, computed as C, watch as I, openBlock as l, createElementBlock as a, createVNode as p, normalizeClass as n, withCtx as $, Fragment as x, renderList as N, withModifiers as f, createElementVNode as u, createCommentVNode as d, renderSlot as P, createBlock as A, unref as g, mergeModels as M } from "vue";
|
|
2
2
|
import { WarningIconRounded as E, ArrowIcon as R } from "@wikicasa-dev/svg-icons";
|
|
3
3
|
import S from "./BaseDropDown.vue.js";
|
|
4
4
|
import '../assets/BaseDropDown.css';/* empty css */
|
|
5
5
|
const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-items-center" }, K = ["id", "innerHTML"], j = ["onClick"], U = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "onClick", "onKeydown"], W = ["innerHTML"], D = ["innerHTML"], G = ["id", "aria-selected", "onClick", "onMouseover"], J = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, O = ["name", "checked", "onInput"], Q = ["innerHTML"], X = ["id", "arial-live", "innerHTML"], Y = ["id", "arial-live", "innerHTML"], te = /* @__PURE__ */ H({
|
|
6
6
|
__name: "AccessibleSelect",
|
|
7
|
-
props: /* @__PURE__ */
|
|
7
|
+
props: /* @__PURE__ */ M({
|
|
8
8
|
label: { default: "" },
|
|
9
9
|
dropdownPosition: { default: "bottom" },
|
|
10
10
|
namespace: {},
|
|
@@ -32,9 +32,9 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
32
32
|
open: { type: Boolean, default: !1 },
|
|
33
33
|
openModifiers: {}
|
|
34
34
|
}),
|
|
35
|
-
emits: /* @__PURE__ */
|
|
35
|
+
emits: /* @__PURE__ */ M(["click", "update:dropdownState"], ["update:modelValue", "update:open"]),
|
|
36
36
|
setup(e, { emit: V }) {
|
|
37
|
-
const T = V, k =
|
|
37
|
+
const T = V, k = y(e, "modelValue"), m = y(e, "open"), L = F(), B = z("dropdownRef"), t = C(() => e.namespace || L), w = C(() => !!k.value.label), h = (i) => {
|
|
38
38
|
m.value = !1, k.value = i;
|
|
39
39
|
};
|
|
40
40
|
return I(
|
|
@@ -43,7 +43,7 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
43
43
|
i === void 0 || i === -1 || (h(e.options[i]), m.value = !1);
|
|
44
44
|
}
|
|
45
45
|
), (i, v) => (l(), a("div", null, [
|
|
46
|
-
|
|
46
|
+
p(S, {
|
|
47
47
|
ref: "dropdownRef",
|
|
48
48
|
open: m.value,
|
|
49
49
|
"onUpdate:open": v[1] || (v[1] = (r) => m.value = r),
|
|
@@ -63,8 +63,8 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
63
63
|
"aria-multiselectable": !1
|
|
64
64
|
}
|
|
65
65
|
}, {
|
|
66
|
-
btn_slot:
|
|
67
|
-
|
|
66
|
+
btn_slot: $(({ toggleDropdown: r, isOpen: b, activeIdx: o, setSelectedIdx: c }) => [
|
|
67
|
+
u("div", q, [
|
|
68
68
|
e.label ? (l(), a("label", {
|
|
69
69
|
key: 0,
|
|
70
70
|
id: `${t.value}_label`,
|
|
@@ -75,15 +75,15 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
75
75
|
{ "uikit-left-4": !i.$slots.lefticon && !w.value }
|
|
76
76
|
]]),
|
|
77
77
|
innerHTML: e.label
|
|
78
|
-
}, null, 10, K)) :
|
|
78
|
+
}, null, 10, K)) : d("", !0),
|
|
79
79
|
i.$slots.lefticon ? (l(), a("span", {
|
|
80
80
|
key: 1,
|
|
81
81
|
class: "uikit-z-20 uikit-mt-2 uikit-pl-2",
|
|
82
82
|
onClick: f((s) => r(), ["stop"])
|
|
83
83
|
}, [
|
|
84
84
|
P(i.$slots, "lefticon")
|
|
85
|
-
], 8, j)) :
|
|
86
|
-
|
|
85
|
+
], 8, j)) : d("", !0),
|
|
86
|
+
u("button", {
|
|
87
87
|
id: `${t.value}_btn`,
|
|
88
88
|
ref: "btnEl",
|
|
89
89
|
type: "button",
|
|
@@ -105,21 +105,21 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
105
105
|
["Enter", "Space"].includes(s.key) && (s.preventDefault(), s.stopPropagation(), c(o), r());
|
|
106
106
|
}
|
|
107
107
|
}, [
|
|
108
|
-
|
|
108
|
+
u("span", {
|
|
109
109
|
class: n(["uikit-pointer-events-none", [e.btnTextClasses, { "uikit-mt-1": e.withFieldset }]]),
|
|
110
110
|
innerHTML: k.value?.visibleLabel || k.value?.label
|
|
111
111
|
}, null, 10, W),
|
|
112
|
-
|
|
112
|
+
u("span", {
|
|
113
113
|
class: n(["uikit-pointer-events-none uikit-inline-flex", [{ "uikit-mt-1": e.withFieldset }]])
|
|
114
114
|
}, [
|
|
115
|
-
e.isValid == !1 ? (l(), A(
|
|
115
|
+
e.isValid == !1 ? (l(), A(g(E), {
|
|
116
116
|
key: 0,
|
|
117
117
|
class: "uikit-mr-1",
|
|
118
118
|
width: 20,
|
|
119
119
|
height: 20,
|
|
120
120
|
"stroke-color": "#FA4F64"
|
|
121
|
-
})) :
|
|
122
|
-
|
|
121
|
+
})) : d("", !0),
|
|
122
|
+
p(g(R), {
|
|
123
123
|
class: n(["uikit-transition-transform motion-reduce:uikit-transition-none", [b ? "uikit-rotate-180" : "", e.arrowIcon?.classes]]),
|
|
124
124
|
width: e.arrowIcon?.width ?? 18,
|
|
125
125
|
height: e.arrowIcon?.height ?? 18,
|
|
@@ -139,7 +139,7 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
139
139
|
{ "uikit-border-0 peer-focus:uikit-border-0": !e.border }
|
|
140
140
|
]])
|
|
141
141
|
}, [
|
|
142
|
-
|
|
142
|
+
u("legend", {
|
|
143
143
|
class: n([[e.legendClasses, { "uikit-m-0 uikit-w-0": !e.label }], "uikit-ml-2 uikit-h-3 uikit-px-0 uikit-text-sm"])
|
|
144
144
|
}, [
|
|
145
145
|
e.label ? (l(), a("span", {
|
|
@@ -148,13 +148,13 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
148
148
|
k.value.label ? "uikit-invisible" : "uikit-hidden"
|
|
149
149
|
]]),
|
|
150
150
|
innerHTML: e.label
|
|
151
|
-
}, null, 10, D)) :
|
|
151
|
+
}, null, 10, D)) : d("", !0)
|
|
152
152
|
], 2)
|
|
153
|
-
], 2)) :
|
|
153
|
+
], 2)) : d("", !0)
|
|
154
154
|
])
|
|
155
155
|
]),
|
|
156
|
-
default:
|
|
157
|
-
(l(!0), a(
|
|
156
|
+
default: $(({ activeIdx: r, setActiveIdx: b }) => [
|
|
157
|
+
(l(!0), a(x, null, N(e.options, (o, c) => (l(), a("li", {
|
|
158
158
|
id: `${t.value}_element_${e.options[c].label}`,
|
|
159
159
|
key: `${o.label}_${c}`,
|
|
160
160
|
role: "option",
|
|
@@ -165,8 +165,8 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
165
165
|
onBlur: v[0] || (v[0] = f(() => {
|
|
166
166
|
}, ["stop"]))
|
|
167
167
|
}, [
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
u("label", J, [
|
|
169
|
+
u("input", {
|
|
170
170
|
tabindex: "-1",
|
|
171
171
|
class: "uikit-m-0 uikit-appearance-none",
|
|
172
172
|
name: `${t.value}_radio`,
|
|
@@ -174,7 +174,7 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
174
174
|
checked: o.label === k.value.label,
|
|
175
175
|
onInput: f((s) => h(o), ["stop"])
|
|
176
176
|
}, null, 40, O),
|
|
177
|
-
|
|
177
|
+
u("span", {
|
|
178
178
|
innerHTML: o.label
|
|
179
179
|
}, null, 8, Q)
|
|
180
180
|
])
|
|
@@ -182,22 +182,22 @@ const q = { class: "uikit-relative uikit-flex uikit-h-[var(--btn-height)] uikit-
|
|
|
182
182
|
]),
|
|
183
183
|
_: 3
|
|
184
184
|
}, 8, ["open", "class", "data-cy", "close-when-clicked-outside", "direction", "dropdown-classes"]),
|
|
185
|
-
e.feedback ? (l(), a(
|
|
185
|
+
e.feedback ? (l(), a(x, { key: 0 }, [
|
|
186
186
|
e.feedback.valid ? (l(), a("span", {
|
|
187
187
|
key: 0,
|
|
188
188
|
id: `${t.value}_valid_msg`,
|
|
189
189
|
"arial-live": i.$attrs["aria-live"],
|
|
190
190
|
class: "uikit-mt-1 uikit-inline-block uikit-text-12",
|
|
191
191
|
innerHTML: e.isValid ? e.feedback.valid : ""
|
|
192
|
-
}, null, 8, X)) :
|
|
192
|
+
}, null, 8, X)) : d("", !0),
|
|
193
193
|
e.feedback.invalid ? (l(), a("span", {
|
|
194
194
|
key: 1,
|
|
195
195
|
id: `${t.value}_invalid_msg`,
|
|
196
196
|
"arial-live": i.$attrs["aria-live"],
|
|
197
197
|
class: "uikit-mt-1 uikit-inline-block uikit-text-12 uikit-text-w-danger",
|
|
198
198
|
innerHTML: e.isValid === !1 ? e.feedback.invalid : ""
|
|
199
|
-
}, null, 8, Y)) :
|
|
200
|
-
], 64)) :
|
|
199
|
+
}, null, 8, Y)) : d("", !0)
|
|
200
|
+
], 64)) : d("", !0)
|
|
201
201
|
]));
|
|
202
202
|
}
|
|
203
203
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r,
|
|
1
|
+
import { defineComponent as r, openBlock as n, createBlock as a, unref as c, normalizeProps as p, guardReactiveProps as i, withCtx as s, renderSlot as l } from "vue";
|
|
2
2
|
import { AccordionContent as d } from "reka-ui";
|
|
3
3
|
const _ = /* @__PURE__ */ r({
|
|
4
4
|
__name: "AccordionContentPrimitive",
|
|
@@ -9,7 +9,7 @@ const _ = /* @__PURE__ */ r({
|
|
|
9
9
|
},
|
|
10
10
|
setup(o) {
|
|
11
11
|
const e = o;
|
|
12
|
-
return (t, f) => (
|
|
12
|
+
return (t, f) => (n(), a(c(d), p(i(e)), {
|
|
13
13
|
default: s(() => [
|
|
14
14
|
l(t.$slots, "default")
|
|
15
15
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t,
|
|
1
|
+
import { defineComponent as t, openBlock as a, createBlock as n, unref as c, normalizeProps as i, guardReactiveProps as p, withCtx as s, renderSlot as d } from "vue";
|
|
2
2
|
import { AccordionHeader as l } from "reka-ui";
|
|
3
3
|
const _ = /* @__PURE__ */ t({
|
|
4
4
|
__name: "AccordionHeaderPrimitive",
|
|
@@ -8,7 +8,7 @@ const _ = /* @__PURE__ */ t({
|
|
|
8
8
|
},
|
|
9
9
|
setup(e) {
|
|
10
10
|
const o = e;
|
|
11
|
-
return (r, m) => (
|
|
11
|
+
return (r, m) => (a(), n(c(l), i(p(o)), {
|
|
12
12
|
default: s(() => [
|
|
13
13
|
d(r.$slots, "default")
|
|
14
14
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i,
|
|
1
|
+
import { defineComponent as i, openBlock as p, createBlock as l, unref as s, normalizeProps as e, guardReactiveProps as o, withCtx as c, renderSlot as d } from "vue";
|
|
2
2
|
import { AccordionItem as m } from "reka-ui";
|
|
3
3
|
const B = /* @__PURE__ */ i({
|
|
4
4
|
__name: "AccordionItemPrimitive",
|
|
@@ -11,7 +11,7 @@ const B = /* @__PURE__ */ i({
|
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
13
|
const r = t;
|
|
14
|
-
return (n, u) => (
|
|
14
|
+
return (n, u) => (p(), l(s(m), e(o(r)), {
|
|
15
15
|
default: c((a) => [
|
|
16
16
|
d(n.$slots, "default", e(o(a)))
|
|
17
17
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, createPropsRestProxy as a,
|
|
1
|
+
import { defineComponent as o, createPropsRestProxy as a, openBlock as c, createBlock as n, unref as d, mergeProps as i, withCtx as s, renderSlot as p } from "vue";
|
|
2
2
|
import { AccordionTrigger as l } from "reka-ui";
|
|
3
3
|
const y = /* @__PURE__ */ o({
|
|
4
4
|
__name: "AccordionTriggerPrimitive",
|
|
@@ -9,7 +9,7 @@ const y = /* @__PURE__ */ o({
|
|
|
9
9
|
},
|
|
10
10
|
setup(e) {
|
|
11
11
|
const r = a(e, ["dataCy"]);
|
|
12
|
-
return (t, m) => (
|
|
12
|
+
return (t, m) => (c(), n(d(l), i(r, { "data-cy": e.dataCy }), {
|
|
13
13
|
default: s(() => [
|
|
14
14
|
p(t.$slots, "default")
|
|
15
15
|
]),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as d,
|
|
1
|
+
import { defineComponent as d, createPropsRestProxy as n, useModel as s, openBlock as p, createBlock as i, unref as m, mergeProps as u, withCtx as c, renderSlot as y, normalizeProps as f, guardReactiveProps as B, mergeModels as b } from "vue";
|
|
2
2
|
import { AccordionRoot as V } from "reka-ui";
|
|
3
3
|
const v = /* @__PURE__ */ d({
|
|
4
4
|
__name: "BaseAccordion",
|
|
5
|
-
props: /* @__PURE__ */
|
|
5
|
+
props: /* @__PURE__ */ b({
|
|
6
6
|
collapsible: { type: Boolean },
|
|
7
7
|
type: {},
|
|
8
8
|
disabled: { type: Boolean },
|
|
@@ -17,16 +17,16 @@ const v = /* @__PURE__ */ d({
|
|
|
17
17
|
}),
|
|
18
18
|
emits: ["update:modelValue"],
|
|
19
19
|
setup(e) {
|
|
20
|
-
const a =
|
|
21
|
-
return (r, t) => (
|
|
20
|
+
const a = n(e, ["collapsible", "type"]), l = s(e, "modelValue");
|
|
21
|
+
return (r, t) => (p(), i(m(V), u({
|
|
22
22
|
collapsible: e.collapsible,
|
|
23
23
|
type: e.type
|
|
24
24
|
}, a, {
|
|
25
25
|
modelValue: l.value,
|
|
26
26
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => l.value = o)
|
|
27
27
|
}), {
|
|
28
|
-
default:
|
|
29
|
-
|
|
28
|
+
default: c((o) => [
|
|
29
|
+
y(r.$slots, "default", f(B(o)))
|
|
30
30
|
]),
|
|
31
31
|
_: 3
|
|
32
32
|
}, 16, ["collapsible", "type", "modelValue"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, shallowRef as u,
|
|
1
|
+
import { defineComponent as n, shallowRef as u, openBlock as c, createBlock as d, withCtx as i, createVNode as a, normalizeClass as s, renderSlot as o, createTextVNode as f, toDisplayString as m, unref as k } from "vue";
|
|
2
2
|
import h from "./AccordionContentPrimitive.vue.js";
|
|
3
3
|
import w from "./AccordionTriggerPrimitive.vue.js";
|
|
4
4
|
import g from "./AccordionHeaderPrimitive.vue.js";
|
|
@@ -20,7 +20,7 @@ const T = /* @__PURE__ */ n({
|
|
|
20
20
|
},
|
|
21
21
|
setup(t) {
|
|
22
22
|
const r = u();
|
|
23
|
-
return (e, l) => (
|
|
23
|
+
return (e, l) => (c(), d(C, { value: t.value }, {
|
|
24
24
|
default: i(() => [
|
|
25
25
|
a(g, {
|
|
26
26
|
as: t.headerTag,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J,
|
|
1
|
+
import { defineComponent as J, useModel as M, useId as Q, useTemplateRef as c, shallowRef as r, onBeforeMount as Y, onMounted as Z, onUnmounted as _, watch as O, nextTick as ee, openBlock as y, createBlock as I, withCtx as W, renderSlot as f, createCommentVNode as x, createElementBlock as L, createElementVNode as u, Fragment as te, renderList as le, normalizeClass as p, withDirectives as D, unref as ne, vModelText as oe, toDisplayString as ae, withModifiers as ie, normalizeStyle as ue, createTextVNode as se, vShow as re, mergeModels as N } from "vue";
|
|
2
2
|
import de from "../BaseDropDown.vue.js";
|
|
3
3
|
import '../../assets/BaseDropDown.css';/* empty css */
|
|
4
4
|
import ce from "../BaseSelect/SelectItem.vue.js";
|
|
@@ -9,7 +9,7 @@ const pe = ["id", "data-cy", "placeholder"], ve = {
|
|
|
9
9
|
class: "uikit-progress-bar-track uikit-absolute uikit-left-0 uikit-top-0 uikit-w-full"
|
|
10
10
|
}, ke = ["innerHTML"], ge = /* @__PURE__ */ J({
|
|
11
11
|
__name: "ClearableAutocomplete",
|
|
12
|
-
props: /* @__PURE__ */
|
|
12
|
+
props: /* @__PURE__ */ N({
|
|
13
13
|
dataCy: {},
|
|
14
14
|
placeholder: {},
|
|
15
15
|
enableKeyboardController: { type: Boolean, default: !0 },
|
|
@@ -33,7 +33,7 @@ const pe = ["id", "data-cy", "placeholder"], ve = {
|
|
|
33
33
|
},
|
|
34
34
|
inputValueModifiers: {}
|
|
35
35
|
}),
|
|
36
|
-
emits: /* @__PURE__ */
|
|
36
|
+
emits: /* @__PURE__ */ N(["input", "click", "inputClick", "keydown"], ["update:open", "update:modelValue", "update:inputValue"]),
|
|
37
37
|
setup(t, { expose: K, emit: A }) {
|
|
38
38
|
const s = M(t, "open"), v = M(t, "modelValue"), a = M(t, "inputValue"), k = A, P = Q(), h = c("inputRef"), m = r(0), w = r(!1), d = r(!1), b = r(!1), R = r(null), o = r([]), $ = c("dropdownRef"), g = c("hiddenSpan"), B = c("inputWrapperRef"), F = c("clearButtonRef"), H = () => {
|
|
39
39
|
a.value = "", v.value = null, d.value = !1;
|
|
@@ -86,7 +86,7 @@ const pe = ["id", "data-cy", "placeholder"], ve = {
|
|
|
86
86
|
getRootElement: () => $.value?.getRootElement(),
|
|
87
87
|
select: X,
|
|
88
88
|
focus: j
|
|
89
|
-
}), (l, e) => (y(),
|
|
89
|
+
}), (l, e) => (y(), I(de, {
|
|
90
90
|
ref: "dropdownRef",
|
|
91
91
|
class: "uikit-clearable-autocomplete",
|
|
92
92
|
"data-cy": t.dataCy,
|
|
@@ -109,7 +109,7 @@ const pe = ["id", "data-cy", "placeholder"], ve = {
|
|
|
109
109
|
ref: "inputWrapperRef",
|
|
110
110
|
class: p(["uikit-relative", t.inputWrapperClasses])
|
|
111
111
|
}, [
|
|
112
|
-
|
|
112
|
+
D(u("input", {
|
|
113
113
|
ref: "inputRef",
|
|
114
114
|
"onUpdate:modelValue": [
|
|
115
115
|
e[0] || (e[0] = (n) => a.value = n),
|
|
@@ -144,7 +144,7 @@ const pe = ["id", "data-cy", "placeholder"], ve = {
|
|
|
144
144
|
fontSize: "inherit"
|
|
145
145
|
}
|
|
146
146
|
}, ae(a.value), 3),
|
|
147
|
-
|
|
147
|
+
D(u("button", {
|
|
148
148
|
ref: "clearButtonRef",
|
|
149
149
|
type: "button",
|
|
150
150
|
class: p(["uikit-clear-btn uikit-absolute uikit-top-1/2 -uikit-translate-y-1/2 uikit-appearance-none", t.clearButton?.classes]),
|
|
@@ -168,10 +168,10 @@ const pe = ["id", "data-cy", "placeholder"], ve = {
|
|
|
168
168
|
]),
|
|
169
169
|
default: W(({ activeIdx: n, setActiveIdx: S }) => [
|
|
170
170
|
b.value && !o.value.length ? f(l.$slots, "loading-state", { key: 0 }) : x("", !0),
|
|
171
|
-
b.value && o.value.length ? (y(),
|
|
171
|
+
b.value && o.value.length ? (y(), L("div", ve, [...e[8] || (e[8] = [
|
|
172
172
|
u("div", { class: "uikit-progress-bar-fill" }, null, -1)
|
|
173
173
|
])])) : x("", !0),
|
|
174
|
-
o.value.length ? (y(!0),
|
|
174
|
+
o.value.length ? (y(!0), L(te, { key: 2 }, le(o.value, (C, i) => (y(), I(ce, {
|
|
175
175
|
key: i,
|
|
176
176
|
active: n === i,
|
|
177
177
|
class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
1
|
+
import { defineComponent as a, openBlock as l, createElementBlock as r, normalizeClass as s, renderSlot as o } from "vue";
|
|
2
2
|
const n = ["id"], c = /* @__PURE__ */ a({
|
|
3
3
|
__name: "BaseAlert",
|
|
4
4
|
props: {
|
|
5
5
|
alertClass: { default: "" }
|
|
6
6
|
},
|
|
7
7
|
setup(t) {
|
|
8
|
-
return (e, i) => (
|
|
8
|
+
return (e, i) => (l(), r("div", {
|
|
9
9
|
id: e.$attrs.id,
|
|
10
10
|
class: s(["uikit-alert", t.alertClass]),
|
|
11
11
|
role: "alert"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x,
|
|
1
|
+
import { defineComponent as x, useModel as F, shallowRef as d, computed as k, onBeforeMount as L, watch as f, openBlock as w, createBlock as $, normalizeClass as H, withCtx as c, createElementBlock as K, Fragment as T, renderList as z, unref as N, renderSlot as p, createElementVNode as U, createVNode as A, mergeModels as g } from "vue";
|
|
2
2
|
import R from "./BaseInput.js";
|
|
3
3
|
import W from "./BaseDropDown.vue.js";
|
|
4
4
|
import '../assets/BaseDropDown.css';/* empty css */
|
|
@@ -7,7 +7,7 @@ import q from "./BaseSelect/SelectItem.vue.js";
|
|
|
7
7
|
import { useKeyboardController as G } from "@wikicasa-dev/vue-composables";
|
|
8
8
|
const J = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
9
9
|
__name: "BaseAutocomplete",
|
|
10
|
-
props: /* @__PURE__ */
|
|
10
|
+
props: /* @__PURE__ */ g({
|
|
11
11
|
isValid: { type: [Boolean, null], default: null },
|
|
12
12
|
theme: { default: "" },
|
|
13
13
|
label: { default: "" },
|
|
@@ -29,7 +29,7 @@ const J = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
29
29
|
},
|
|
30
30
|
modelModifiers: {}
|
|
31
31
|
}),
|
|
32
|
-
emits: /* @__PURE__ */
|
|
32
|
+
emits: /* @__PURE__ */ g(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
|
|
33
33
|
setup(t, { expose: V, emit: B }) {
|
|
34
34
|
const u = F(t, "modelValue"), r = B, i = d(""), o = d([]), v = d(null), b = d(!1), n = d(!1), C = d(null), S = k(() => o.value.length);
|
|
35
35
|
L(() => {
|
|
@@ -107,7 +107,7 @@ const J = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
107
107
|
select: () => {
|
|
108
108
|
C.value?.select();
|
|
109
109
|
}
|
|
110
|
-
}), (e, l) => (w(),
|
|
110
|
+
}), (e, l) => (w(), $(W, {
|
|
111
111
|
class: H(["uikit-autocomplete", e.$attrs["root-classes"]]),
|
|
112
112
|
"data-cy": t.dataCy ? t.dataCy : `ac_${e.$attrs.id}`,
|
|
113
113
|
"dropdown-element": "ul",
|
|
@@ -164,7 +164,7 @@ const J = ["innerHTML"], ne = /* @__PURE__ */ x({
|
|
|
164
164
|
}, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
|
|
165
165
|
]),
|
|
166
166
|
default: c(() => [
|
|
167
|
-
(w(!0), K(T, null, z(o.value, (a, s) => (w(),
|
|
167
|
+
(w(!0), K(T, null, z(o.value, (a, s) => (w(), $(q, {
|
|
168
168
|
key: s,
|
|
169
169
|
active: N(m) === s,
|
|
170
170
|
class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
1
|
+
import { defineComponent as a, openBlock as t, createElementBlock as o, normalizeClass as r, renderSlot as d } from "vue";
|
|
2
2
|
const i = ["id"], m = /* @__PURE__ */ a({
|
|
3
3
|
__name: "BaseBadge",
|
|
4
4
|
props: {
|
|
5
5
|
badgeClass: { default: "uikit-badge-w-primary-sm" }
|
|
6
6
|
},
|
|
7
7
|
setup(s) {
|
|
8
|
-
return (e, l) => (
|
|
8
|
+
return (e, l) => (t(), o("span", {
|
|
9
9
|
id: e.$attrs.id,
|
|
10
10
|
class: r(["uikit-badge uikit-shadow-sm", s.badgeClass, e.$attrs.class])
|
|
11
11
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, computed as k,
|
|
1
|
+
import { defineComponent as d, computed as k, openBlock as l, createElementBlock as i, createElementVNode as n, normalizeClass as r, Fragment as u, renderList as h, renderSlot as c, toDisplayString as b, createVNode as f, unref as p } from "vue";
|
|
2
2
|
import { ArrowIcon as C } from "@wikicasa-dev/svg-icons";
|
|
3
3
|
const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y = /* @__PURE__ */ d({
|
|
4
4
|
__name: "BaseBreadcrumb",
|
|
@@ -15,12 +15,12 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
|
|
|
15
15
|
a.push({ ...t.items[e], idx: e }), e < t.items.length - 1 && a.push({ arrowIcon: !0 }), e++;
|
|
16
16
|
return a;
|
|
17
17
|
});
|
|
18
|
-
return (e, a) => (
|
|
18
|
+
return (e, a) => (l(), i("nav", g, [
|
|
19
19
|
n("ol", {
|
|
20
20
|
class: r(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", t.listClasses])
|
|
21
21
|
}, [
|
|
22
|
-
(
|
|
23
|
-
s?.label ? (
|
|
22
|
+
(l(!0), i(u, null, h(m.value, (s, o) => (l(), i(u, null, [
|
|
23
|
+
s?.label ? (l(), i("li", {
|
|
24
24
|
key: `breadcrumb-li-${o}`,
|
|
25
25
|
class: r(["uikit-list-none", t.listItemClasses]),
|
|
26
26
|
"data-tooltip": s.dataTooltip
|
|
@@ -33,7 +33,7 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
|
|
|
33
33
|
href: s.link
|
|
34
34
|
}, b(s.label), 11, I)
|
|
35
35
|
])
|
|
36
|
-
], 10, w)) : (
|
|
36
|
+
], 10, w)) : (l(), i("li", {
|
|
37
37
|
key: `breadcrumb-li-no-label-${o}`,
|
|
38
38
|
class: r(["uikit-list-none", t.listItemClasses]),
|
|
39
39
|
"aria-hidden": "true"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as w, useTemplateRef as v, shallowRef as g, computed as l,
|
|
1
|
+
import { defineComponent as w, useTemplateRef as v, shallowRef as g, computed as l, openBlock as C, createElementBlock as B, withModifiers as u, normalizeStyle as M, normalizeClass as h, renderSlot as s, createVNode as A } from "vue";
|
|
2
2
|
import L from "./StaticSpinner.js";
|
|
3
3
|
const S = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], d = {
|
|
4
4
|
"uikit-btn-w-primary": "uikit-btn-w-primary",
|
|
@@ -41,7 +41,7 @@ const S = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
|
|
|
41
41
|
};
|
|
42
42
|
return b({
|
|
43
43
|
getRootElement: () => r.value
|
|
44
|
-
}), (a, e) => (
|
|
44
|
+
}), (a, e) => (C(), B("button", {
|
|
45
45
|
ref: "buttonEl",
|
|
46
46
|
id: a.$attrs.id,
|
|
47
47
|
"data-cy": t.dataCy,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as T,
|
|
1
|
+
import { defineComponent as T, useModel as C, computed as d, openBlock as g, createElementBlock as c, normalizeClass as o, createElementVNode as i, withModifiers as f, renderSlot as m, createCommentVNode as k, mergeModels as x } from "vue";
|
|
2
2
|
const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "alt"], M = ["innerHTML"], z = ["data-btn-bg-color", "data-cy"], B = ["src", "alt"], V = ["innerHTML"], j = /* @__PURE__ */ T({
|
|
3
3
|
__name: "BaseComplexToggle",
|
|
4
|
-
props: /* @__PURE__ */
|
|
4
|
+
props: /* @__PURE__ */ x({
|
|
5
5
|
labels: {},
|
|
6
6
|
type: { default: "full" },
|
|
7
7
|
mode: { default: "" },
|
|
@@ -17,7 +17,7 @@ const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
|
|
|
17
17
|
}),
|
|
18
18
|
emits: ["update:modelValue"],
|
|
19
19
|
setup(e) {
|
|
20
|
-
const t = e, s =
|
|
20
|
+
const t = e, s = C(e, "modelValue"), n = () => {
|
|
21
21
|
s.value = t.labels.leftToggle;
|
|
22
22
|
}, u = () => {
|
|
23
23
|
s.value = t.labels.rightToggle;
|
|
@@ -34,7 +34,7 @@ const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
|
|
|
34
34
|
n();
|
|
35
35
|
})();
|
|
36
36
|
const r = (l) => s.value?.label === l.label, b = d(() => r(t.labels.leftToggle)), h = d(() => r(t.labels.rightToggle));
|
|
37
|
-
return (l, a) => (
|
|
37
|
+
return (l, a) => (g(), c("div", {
|
|
38
38
|
id: l.$attrs.id || "",
|
|
39
39
|
"data-cy": l.$attrs["data-cy"] || "",
|
|
40
40
|
class: o(["base-complex-toggle uikit-relative uikit-flex uikit-justify-center uikit-p-0", [e.mode, e.borderContainerColor, e.size]])
|
|
@@ -50,7 +50,7 @@ const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
|
|
|
50
50
|
onClick: a[0] || (a[0] = f((v) => n(), ["stop"]))
|
|
51
51
|
}, [
|
|
52
52
|
m(l.$slots, "left_icon", {}, () => [
|
|
53
|
-
e.labels.leftToggle.icon ? (
|
|
53
|
+
e.labels.leftToggle.icon ? (g(), c("img", {
|
|
54
54
|
key: 0,
|
|
55
55
|
class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
|
|
56
56
|
src: e.labels.leftToggle.icon.src,
|
|
@@ -75,7 +75,7 @@ const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "
|
|
|
75
75
|
onClick: a[1] || (a[1] = f((v) => u(), ["stop"]))
|
|
76
76
|
}, [
|
|
77
77
|
m(l.$slots, "right_icon", {}, () => [
|
|
78
|
-
e.labels.rightToggle.icon ? (
|
|
78
|
+
e.labels.rightToggle.icon ? (g(), c("img", {
|
|
79
79
|
key: 0,
|
|
80
80
|
class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
|
|
81
81
|
src: e.labels.rightToggle.icon.src,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as T,
|
|
1
|
+
import { defineComponent as T, useId as N, useModel as I, shallowRef as R, computed as V, useTemplateRef as A, onMounted as z, onUnmounted as P, watch as v, nextTick as q, openBlock as m, createElementBlock as F, normalizeClass as d, renderSlot as x, unref as l, createVNode as U, withCtx as B, createElementVNode as j, createBlock as L, createCommentVNode as G, resolveDynamicComponent as J, mergeProps as Q, mergeModels as D } from "vue";
|
|
2
2
|
import X from "./BaseButton.vue.js";
|
|
3
3
|
import { ArrowIcon as Y } from "@wikicasa-dev/svg-icons";
|
|
4
4
|
import { useKeyboardController as Z } from "../composables/mock.js";
|
|
5
5
|
const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "BaseDropDown",
|
|
8
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ D({
|
|
9
9
|
dropdownAttrs: {},
|
|
10
10
|
dropdownClasses: { default: "" },
|
|
11
11
|
btnClasses: { default: "" },
|
|
@@ -28,14 +28,14 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
28
28
|
open: { type: Boolean, default: !1 },
|
|
29
29
|
openModifiers: {}
|
|
30
30
|
}),
|
|
31
|
-
emits: /* @__PURE__ */
|
|
31
|
+
emits: /* @__PURE__ */ D(["click"], ["update:resetKeyboardController", "update:open"]),
|
|
32
32
|
setup(t, { expose: S, emit: M }) {
|
|
33
|
-
const n = t, y = N(), O = M, w =
|
|
33
|
+
const n = t, y = N(), O = M, w = I(
|
|
34
34
|
t,
|
|
35
35
|
"resetKeyboardController"
|
|
36
|
-
), o =
|
|
36
|
+
), o = I(t, "open");
|
|
37
37
|
let C = !1;
|
|
38
|
-
const s = R([]), W = V(() => s.value.length), u =
|
|
38
|
+
const s = R([]), W = V(() => s.value.length), u = A("container"), c = A("dropdown"), { activeIdx: a, selectedIdx: i, onKeyDownHandler: $ } = Z({
|
|
39
39
|
optionsLength: W,
|
|
40
40
|
isDropdownOpen: o,
|
|
41
41
|
global: !1,
|
|
@@ -79,7 +79,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
79
79
|
class: d(["uikit-relative uikit-block", e.$attrs.class]),
|
|
80
80
|
onKeydown: H
|
|
81
81
|
}, [
|
|
82
|
-
|
|
82
|
+
x(e.$slots, "btn_slot", {
|
|
83
83
|
toggleDropdown: f,
|
|
84
84
|
isOpen: o.value,
|
|
85
85
|
activeIdx: l(a),
|
|
@@ -103,7 +103,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
103
103
|
Array.isArray(t.closeKeys) && !t.closeKeys.includes(k.key) || k.stopPropagation();
|
|
104
104
|
})
|
|
105
105
|
}, {
|
|
106
|
-
default:
|
|
106
|
+
default: B(() => [
|
|
107
107
|
j("span", {
|
|
108
108
|
class: d(["uikit-mr-5px", t.labelClasses]),
|
|
109
109
|
innerHTML: t.btnLabel
|
|
@@ -132,8 +132,8 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
|
132
132
|
"aria-hidden": !o.value,
|
|
133
133
|
"data-side": t.direction
|
|
134
134
|
}, t.dropdownAttrs), {
|
|
135
|
-
default:
|
|
136
|
-
|
|
135
|
+
default: B(() => [
|
|
136
|
+
x(e.$slots, "default", {
|
|
137
137
|
isOpen: o.value,
|
|
138
138
|
toggleDropdown: f,
|
|
139
139
|
activeIdx: l(a),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u,
|
|
1
|
+
import { defineComponent as u, openBlock as a, createElementBlock as n, withModifiers as d, normalizeClass as t, createElementVNode as r, createCommentVNode as k } from "vue";
|
|
2
2
|
const b = ["for"], c = ["innerHTML"], x = /* @__PURE__ */ u({
|
|
3
3
|
__name: "BaseFloatingLabel",
|
|
4
4
|
props: {
|
|
@@ -12,7 +12,7 @@ const b = ["for"], c = ["innerHTML"], x = /* @__PURE__ */ u({
|
|
|
12
12
|
emits: ["click"],
|
|
13
13
|
setup(e, { emit: s }) {
|
|
14
14
|
const o = s;
|
|
15
|
-
return (i, l) => (
|
|
15
|
+
return (i, l) => (a(), n("label", {
|
|
16
16
|
for: i.$attrs.for,
|
|
17
17
|
class: t(["uikit-pointer-events-none uikit-absolute uikit-left-15px uikit-h-5", [e.labelState, { "uikit-text-w-secondary": e.disabled }, e.labelClasses]]),
|
|
18
18
|
onClick: l[0] || (l[0] = d((m) => o("click"), ["stop"]))
|
|
@@ -24,7 +24,7 @@ const b = ["for"], c = ["innerHTML"], x = /* @__PURE__ */ u({
|
|
|
24
24
|
]]),
|
|
25
25
|
innerHTML: e.labelText
|
|
26
26
|
}, null, 10, c),
|
|
27
|
-
i.$attrs.required ? (
|
|
27
|
+
i.$attrs.required ? (a(), n("sup", {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: t(["uikit-absolute -uikit-top-[0.4em] uikit-pl-[2px] uikit-leading-normal [font-size:inherit]", [
|
|
30
30
|
{ "uikit-text-w-secondary": e.disabled },
|