@wikicasa-dev/components 2.2.9-alpha.1 → 2.2.9-alpha.11
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/Swiper/autoplay.js +1 -1
- package/dist/Swiper/controller.js +1 -1
- package/dist/Swiper/keyboard.js +1 -1
- package/dist/Swiper/thumbs.js +1 -1
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.d.ts +7 -4
- package/dist/packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js +109 -86
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +14 -14
- package/package.json +1 -1
- /package/dist/assets/{swiper-thumbs.css → swiper-controller.css} +0 -0
package/dist/Swiper/autoplay.js
CHANGED
package/dist/Swiper/keyboard.js
CHANGED
package/dist/Swiper/thumbs.js
CHANGED
|
@@ -15,6 +15,7 @@ export interface ClearableAutocompleteProps<TID extends string | number | undefi
|
|
|
15
15
|
offset?: number;
|
|
16
16
|
};
|
|
17
17
|
keepState?: Nullable<"closed" | "open">;
|
|
18
|
+
disableCb?: boolean;
|
|
18
19
|
onInputChangeCb: (v: string) => Promise<AccessibleSelectOptions<TPayload, TID>[]>;
|
|
19
20
|
onOptionSelectedCb?: Nullable<(v: AccessibleSelectOptions<TPayload, TID>) => void>;
|
|
20
21
|
}
|
|
@@ -24,15 +25,17 @@ declare const _default: <TID extends string | number | undefined, TPayload>(__VL
|
|
|
24
25
|
readonly onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
25
26
|
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
26
27
|
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
27
29
|
readonly onInputClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
28
|
-
|
|
29
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onClick" | "onKeydown" | "onUpdate:open" | "onInputClick" | "onUpdate:inputValue"> & ({
|
|
30
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onClick" | "onKeydown" | "onUpdate:open" | "onUpdate:inputValue" | "onInputClick"> & ({
|
|
30
31
|
open?: boolean;
|
|
31
32
|
modelValue?: Nullable<AccessibleSelectOptions<TPayload, TID>>;
|
|
33
|
+
inputValue?: string;
|
|
32
34
|
} & ClearableAutocompleteProps<TID, TPayload>) & Partial<{}>> & import('vue').PublicProps;
|
|
33
35
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
34
|
-
select: () => void;
|
|
35
36
|
getRootElement: () => HTMLDivElement | null | undefined;
|
|
37
|
+
select: () => void;
|
|
38
|
+
focus: () => void;
|
|
36
39
|
}>): void;
|
|
37
40
|
attrs: any;
|
|
38
41
|
slots: {
|
|
@@ -44,7 +47,7 @@ declare const _default: <TID extends string | number | undefined, TPayload>(__VL
|
|
|
44
47
|
idx: number;
|
|
45
48
|
}): any;
|
|
46
49
|
};
|
|
47
|
-
emit: (((evt: "click", args_0: MouseEvent) => void) & ((evt: "keydown", args_0: KeyboardEvent) => void) & ((evt: "inputClick", args_0: MouseEvent) => void) & ((evt: "update:
|
|
50
|
+
emit: (((evt: "click", args_0: MouseEvent) => void) & ((evt: "keydown", args_0: KeyboardEvent) => void) & ((evt: "inputClick", args_0: MouseEvent) => void)) & (((evt: "update:modelValue", value: Nullable<AccessibleSelectOptions<TPayload, TID>>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:inputValue", value: string) => void));
|
|
48
51
|
}>) => import('vue').VNode & {
|
|
49
52
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
50
53
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as N, mergeModels as $, useModel as C, shallowRef as d, useId as A, useTemplateRef as y, onBeforeMount as H, watch as w, nextTick as G, createBlock as F, openBlock as h, withCtx as g, createElementBlock as P, Fragment as X, renderList as j, renderSlot as p, createElementVNode as u, normalizeClass as f, withDirectives as E, unref as q, vModelText as J, toDisplayString as Q, withModifiers as Y, normalizeStyle as Z, createTextVNode as _, vShow as ee } from "vue";
|
|
2
|
+
import te from "../BaseDropDown.vue.js";
|
|
3
3
|
import '../../../../../assets/BaseDropDown.css';/* empty css */
|
|
4
|
-
import
|
|
5
|
-
import { debounce as
|
|
6
|
-
const
|
|
4
|
+
import le from "../BaseSelect/SelectItem.vue.js";
|
|
5
|
+
import { debounce as ne } from "@wikicasa-dev/utilities";
|
|
6
|
+
const oe = ["id", "data-cy", "placeholder"], ae = ["innerHTML"], pe = /* @__PURE__ */ N({
|
|
7
7
|
__name: "ClearableAutocomplete",
|
|
8
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ $({
|
|
9
9
|
dataCy: {},
|
|
10
10
|
placeholder: {},
|
|
11
11
|
enableKeyboardController: { type: Boolean, default: !0 },
|
|
@@ -15,145 +15,168 @@ const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ K
|
|
|
15
15
|
dropdownClasses: {},
|
|
16
16
|
clearButton: {},
|
|
17
17
|
keepState: {},
|
|
18
|
+
disableCb: { type: Boolean, default: !1 },
|
|
18
19
|
onInputChangeCb: { type: Function },
|
|
19
20
|
onOptionSelectedCb: { type: [Function, null] }
|
|
20
21
|
}, {
|
|
21
22
|
open: { type: Boolean, default: !1 },
|
|
22
23
|
openModifiers: {},
|
|
23
24
|
modelValue: { default: null },
|
|
24
|
-
modelModifiers: {}
|
|
25
|
+
modelModifiers: {},
|
|
26
|
+
inputValue: {
|
|
27
|
+
default: ""
|
|
28
|
+
},
|
|
29
|
+
inputValueModifiers: {}
|
|
25
30
|
}),
|
|
26
|
-
emits: /* @__PURE__ */
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
emits: /* @__PURE__ */ $(["click", "inputClick", "keydown"], ["update:open", "update:modelValue", "update:inputValue"]),
|
|
32
|
+
setup(l, { expose: O, emit: R }) {
|
|
33
|
+
const s = C(l, "open"), a = C(l, "modelValue"), o = C(l, "inputValue");
|
|
34
|
+
o.value = o.value ?? a.value?.label ?? "";
|
|
35
|
+
const v = R, k = d(!1), U = A(), m = y("inputRef"), c = d(0), b = d(!1), S = d(null), i = d([]), T = y("dropdownRef"), B = y("hiddenSpan"), x = () => {
|
|
36
|
+
o.value = "", a.value = null;
|
|
37
|
+
}, I = async (t) => {
|
|
38
|
+
if (!t) {
|
|
39
|
+
i.value = [], s.value = !1;
|
|
33
40
|
return;
|
|
34
41
|
}
|
|
35
|
-
i.value = await
|
|
36
|
-
},
|
|
42
|
+
l.disableCb || (i.value = await S.value?.(t) || [], b.value = !0, s.value = !!i.value.length);
|
|
43
|
+
}, M = (t = -1) => {
|
|
37
44
|
const e = i.value[t];
|
|
38
|
-
!e || e.id === a.value?.id || (
|
|
39
|
-
},
|
|
40
|
-
|
|
45
|
+
!e || e.id === a.value?.id || (l.onOptionSelectedCb?.(e), o.value = e.label, s.value = !1, a.value = e, i.value = []);
|
|
46
|
+
}, W = () => {
|
|
47
|
+
m.value?.select();
|
|
48
|
+
}, z = () => {
|
|
49
|
+
m.value?.focus();
|
|
41
50
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}),
|
|
45
|
-
[
|
|
46
|
-
([
|
|
47
|
-
|
|
48
|
-
if (!
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
curInputValue: t
|
|
52
|
-
}), v.value = l);
|
|
51
|
+
H(() => {
|
|
52
|
+
S.value = ne({ delay: 300 }, l.onInputChangeCb);
|
|
53
|
+
}), w(
|
|
54
|
+
[o, () => B.value],
|
|
55
|
+
([, t]) => {
|
|
56
|
+
t && G(() => {
|
|
57
|
+
if (!t) return;
|
|
58
|
+
const e = t.offsetWidth;
|
|
59
|
+
e !== c.value && (c.value = e);
|
|
53
60
|
});
|
|
54
61
|
},
|
|
55
62
|
{ immediate: !0 }
|
|
56
|
-
),
|
|
57
|
-
() =>
|
|
63
|
+
), w(
|
|
64
|
+
() => T.value?.selectedIdx,
|
|
58
65
|
(t) => {
|
|
59
66
|
const e = t ?? -1;
|
|
60
|
-
e !== -1 &&
|
|
67
|
+
e !== -1 && M(e);
|
|
61
68
|
}
|
|
62
|
-
),
|
|
69
|
+
), w(
|
|
63
70
|
a,
|
|
64
71
|
(t, e) => {
|
|
65
|
-
t === e || t?.label ===
|
|
72
|
+
if (!(t === e || t?.label === o.value)) {
|
|
73
|
+
if (k.value) {
|
|
74
|
+
k.value = !1;
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
o.value = t?.label || "";
|
|
78
|
+
}
|
|
66
79
|
},
|
|
67
80
|
{ immediate: !0 }
|
|
68
|
-
),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
81
|
+
), O({
|
|
82
|
+
getRootElement: () => T.value?.getRootElement(),
|
|
83
|
+
select: W,
|
|
84
|
+
focus: z
|
|
85
|
+
});
|
|
86
|
+
const D = (t) => {
|
|
87
|
+
console.log("DEBUG:", t);
|
|
88
|
+
};
|
|
89
|
+
return (t, e) => (h(), F(te, {
|
|
72
90
|
ref: "dropdownRef",
|
|
73
91
|
class: "uikit-clearable-autocomplete",
|
|
74
|
-
"data-cy":
|
|
92
|
+
"data-cy": l.dataCy,
|
|
75
93
|
"dropdown-element": "ul",
|
|
76
|
-
"dropdown-classes": ["uikit-z-30",
|
|
77
|
-
"open-dropdown":
|
|
78
|
-
"keep-state": !i.value.length ||
|
|
79
|
-
"activate-keyboard-controller":
|
|
80
|
-
"reset-keyboard-controller":
|
|
81
|
-
"onUpdate:resetKeyboardController": e[4] || (e[4] = (
|
|
82
|
-
"onUpdate:dropdownState": e[5] || (e[5] = (
|
|
94
|
+
"dropdown-classes": ["uikit-z-30", l.dropdownClasses],
|
|
95
|
+
"open-dropdown": s.value,
|
|
96
|
+
"keep-state": !i.value.length || l.keepState === "closed" ? "closed" : "opened",
|
|
97
|
+
"activate-keyboard-controller": l.enableKeyboardController,
|
|
98
|
+
"reset-keyboard-controller": b.value,
|
|
99
|
+
"onUpdate:resetKeyboardController": e[4] || (e[4] = (n) => b.value = n),
|
|
100
|
+
"onUpdate:dropdownState": e[5] || (e[5] = (n) => s.value = n)
|
|
83
101
|
}, {
|
|
84
|
-
btn_slot:
|
|
102
|
+
btn_slot: g(() => [
|
|
85
103
|
u("div", {
|
|
86
|
-
class: f(["uikit-text-16",
|
|
87
|
-
onClick: e[3] || (e[3] = (
|
|
104
|
+
class: f(["uikit-text-16", l.triggerWrapperClasses]),
|
|
105
|
+
onClick: e[3] || (e[3] = (n) => v("click", n))
|
|
88
106
|
}, [
|
|
89
|
-
|
|
107
|
+
p(t.$slots, "left-icon"),
|
|
90
108
|
u("div", {
|
|
91
|
-
class: f(["uikit-relative",
|
|
109
|
+
class: f(["uikit-relative", l.inputWrapperClasses])
|
|
92
110
|
}, [
|
|
93
|
-
|
|
111
|
+
E(u("input", {
|
|
94
112
|
ref: "inputRef",
|
|
95
113
|
"onUpdate:modelValue": [
|
|
96
|
-
e[0] || (e[0] = (
|
|
97
|
-
|
|
114
|
+
e[0] || (e[0] = (n) => o.value = n),
|
|
115
|
+
I
|
|
98
116
|
],
|
|
99
|
-
|
|
117
|
+
id: q(U),
|
|
118
|
+
"data-cy": l.dataCy ? `ac_input_${l.dataCy}` : "",
|
|
100
119
|
type: "text",
|
|
101
120
|
autocomplete: "off",
|
|
102
|
-
class: f(["uikit-w-full uikit-border-none focus-visible:uikit-outline-none",
|
|
121
|
+
class: f(["uikit-w-full uikit-border-none focus-visible:uikit-outline-none", l.inputClasses]),
|
|
103
122
|
style: {
|
|
104
123
|
font: "inherit",
|
|
105
124
|
fontSize: "inherit"
|
|
106
125
|
},
|
|
107
|
-
placeholder:
|
|
108
|
-
onKeydown: e[1] || (e[1] = (
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
[
|
|
126
|
+
placeholder: l.placeholder,
|
|
127
|
+
onKeydown: e[1] || (e[1] = (n) => {
|
|
128
|
+
v("keydown", n), o.value && a.value?.label && (D("keydown"), k.value = !0, a.value = null);
|
|
129
|
+
}),
|
|
130
|
+
onClick: e[2] || (e[2] = (n) => {
|
|
131
|
+
v("inputClick", n), m.value?.select();
|
|
132
|
+
})
|
|
133
|
+
}, null, 42, oe), [
|
|
134
|
+
[J, o.value]
|
|
112
135
|
]),
|
|
113
136
|
u("span", {
|
|
114
137
|
ref_key: "hiddenSpan",
|
|
115
|
-
ref:
|
|
138
|
+
ref: B,
|
|
116
139
|
class: "uikit-invisible uikit-absolute uikit-left-0 uikit-top-0 uikit-whitespace-pre",
|
|
117
140
|
style: {
|
|
118
141
|
font: "inherit",
|
|
119
142
|
fontSize: "inherit"
|
|
120
143
|
}
|
|
121
|
-
},
|
|
122
|
-
|
|
144
|
+
}, Q(o.value), 513),
|
|
145
|
+
E(u("button", {
|
|
123
146
|
type: "button",
|
|
124
|
-
class: f(["uikit-clear-btn uikit-absolute uikit-top-1/2 -uikit-translate-y-1/2 uikit-appearance-none",
|
|
147
|
+
class: f(["uikit-clear-btn uikit-absolute uikit-top-1/2 -uikit-translate-y-1/2 uikit-appearance-none", l.clearButton?.classes]),
|
|
125
148
|
"aria-label": "Clear input",
|
|
126
|
-
style:
|
|
127
|
-
left: `${
|
|
149
|
+
style: Z({
|
|
150
|
+
left: `${c.value + (l.clearButton?.offset || 10)}px`
|
|
128
151
|
}),
|
|
129
|
-
onClick:
|
|
152
|
+
onClick: Y(x, ["stop"])
|
|
130
153
|
}, [
|
|
131
|
-
|
|
132
|
-
e[6] || (e[6] =
|
|
154
|
+
p(t.$slots, "clear-icon", {}, () => [
|
|
155
|
+
e[6] || (e[6] = _("X", -1))
|
|
133
156
|
])
|
|
134
157
|
], 6), [
|
|
135
|
-
[
|
|
158
|
+
[ee, a.value?.label && c.value]
|
|
136
159
|
])
|
|
137
160
|
], 2),
|
|
138
|
-
|
|
161
|
+
p(t.$slots, "right-icon")
|
|
139
162
|
], 2)
|
|
140
163
|
]),
|
|
141
|
-
default:
|
|
142
|
-
(
|
|
143
|
-
key:
|
|
144
|
-
active:
|
|
164
|
+
default: g(({ activeIdx: n, setActiveIdx: K }) => [
|
|
165
|
+
(h(!0), P(X, null, j(i.value, (V, r) => (h(), F(le, {
|
|
166
|
+
key: r,
|
|
167
|
+
active: n === r,
|
|
145
168
|
class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
|
|
146
|
-
onClick: (
|
|
147
|
-
onMouseover: (
|
|
169
|
+
onClick: (L) => M(r),
|
|
170
|
+
onMouseover: (L) => K(r)
|
|
148
171
|
}, {
|
|
149
|
-
default:
|
|
150
|
-
|
|
151
|
-
option:
|
|
152
|
-
idx:
|
|
172
|
+
default: g(() => [
|
|
173
|
+
p(t.$slots, "option-content", {
|
|
174
|
+
option: V,
|
|
175
|
+
idx: r
|
|
153
176
|
}, () => [
|
|
154
177
|
u("span", {
|
|
155
|
-
innerHTML:
|
|
156
|
-
}, null, 8,
|
|
178
|
+
innerHTML: V.label
|
|
179
|
+
}, null, 8, ae)
|
|
157
180
|
])
|
|
158
181
|
]),
|
|
159
182
|
_: 2
|
|
@@ -164,5 +187,5 @@ const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ K
|
|
|
164
187
|
}
|
|
165
188
|
});
|
|
166
189
|
export {
|
|
167
|
-
|
|
190
|
+
pe as default
|
|
168
191
|
};
|
|
@@ -110,8 +110,8 @@ const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ I({
|
|
|
110
110
|
}, [
|
|
111
111
|
D(K(V), {
|
|
112
112
|
class: s(["bbt-close-icon uikit-box-border", e.closeIcon?.classes]),
|
|
113
|
-
width: e.closeIcon?.size ||
|
|
114
|
-
height: e.closeIcon?.size ||
|
|
113
|
+
width: e.closeIcon?.size || 20,
|
|
114
|
+
height: e.closeIcon?.size || 20
|
|
115
115
|
}, null, 8, ["class", "width", "height"])
|
|
116
116
|
], 2)) : w("", !0),
|
|
117
117
|
d(t.$slots, "header", { closeModal: o }, () => [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as v, ref as D, computed as h, watch as E, renderSlot as b, createElementVNode as $, normalizeClass as g, createElementBlock as B, createCommentVNode as A, openBlock as C, Fragment as I, renderList as R, createBlock as K, unref as V } from "vue";
|
|
2
2
|
import { stringToHyphened as L, isArrNullOrEmpty as G } from "@wikicasa-dev/utilities";
|
|
3
3
|
import N from "./CheckboxBtn.vue.js";
|
|
4
4
|
import '../../../../../assets/CheckboxBtn.css';/* empty css */
|
|
5
|
-
const T = ["id", "data-cy"], j = /* @__PURE__ */
|
|
5
|
+
const T = ["id", "data-cy"], j = /* @__PURE__ */ v({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "CheckboxGroup",
|
|
8
8
|
props: {
|
|
@@ -20,14 +20,14 @@ const T = ["id", "data-cy"], j = /* @__PURE__ */ p({
|
|
|
20
20
|
dataCy: { default: "" }
|
|
21
21
|
},
|
|
22
22
|
emits: ["resetted", "update:modelValue", "checkedGroup"],
|
|
23
|
-
setup(a, { emit:
|
|
24
|
-
const o = a, s =
|
|
23
|
+
setup(a, { emit: y }) {
|
|
24
|
+
const o = a, s = y, l = D(
|
|
25
25
|
/* @__PURE__ */ new Map()
|
|
26
26
|
), r = h(() => {
|
|
27
27
|
for (const e of o.checkboxData)
|
|
28
28
|
if (e.reset) return e;
|
|
29
29
|
return null;
|
|
30
|
-
}),
|
|
30
|
+
}), x = h(() => o.checkboxData.length), f = h(() => {
|
|
31
31
|
let e = 0;
|
|
32
32
|
return l.value.forEach((t) => {
|
|
33
33
|
t.checked && e++;
|
|
@@ -60,7 +60,7 @@ const T = ["id", "data-cy"], j = /* @__PURE__ */ p({
|
|
|
60
60
|
}, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, i = (e) => {
|
|
61
61
|
if (G(o.checkboxData)) return;
|
|
62
62
|
const t = l.value.get(e.id);
|
|
63
|
-
t?.reset && e.checked ? k() : r.value && !t?.reset && u(o.getKey(r.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && r.value && f.value ===
|
|
63
|
+
t?.reset && e.checked ? k() : r.value && !t?.reset && u(o.getKey(r.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && r.value && f.value === x.value - 1 && l.value.forEach((n) => {
|
|
64
64
|
n.checked = !!n.reset;
|
|
65
65
|
}), o.autoCheckResetEmpty && r.value && !f.value && (!o.manualToggleResetButton || !t?.reset) && u(o.getKey(r.value), { checked: !0 });
|
|
66
66
|
const c = [];
|
|
@@ -68,7 +68,7 @@ const T = ["id", "data-cy"], j = /* @__PURE__ */ p({
|
|
|
68
68
|
n.checked && c.push(n);
|
|
69
69
|
}), s("update:modelValue", c), s("checkedGroup", o.groupId);
|
|
70
70
|
};
|
|
71
|
-
return
|
|
71
|
+
return E(
|
|
72
72
|
() => o.reset,
|
|
73
73
|
(e) => {
|
|
74
74
|
e && m();
|
|
@@ -78,9 +78,9 @@ const T = ["id", "data-cy"], j = /* @__PURE__ */ p({
|
|
|
78
78
|
handleChange: i,
|
|
79
79
|
checkboxesData: a.checkboxData
|
|
80
80
|
}, () => [
|
|
81
|
-
|
|
81
|
+
$("div", {
|
|
82
82
|
id: a.groupId,
|
|
83
|
-
class:
|
|
83
|
+
class: g(["checkbox-group-container", e.$attrs.class || ""]),
|
|
84
84
|
"data-cy": a.dataCy
|
|
85
85
|
}, [
|
|
86
86
|
b(e.$slots, "checkbox_elements", {
|
|
@@ -89,19 +89,19 @@ const T = ["id", "data-cy"], j = /* @__PURE__ */ p({
|
|
|
89
89
|
checkboxesData: a.checkboxData,
|
|
90
90
|
reset: m
|
|
91
91
|
}, () => [
|
|
92
|
-
a.checkboxData ? (
|
|
92
|
+
a.checkboxData ? (C(!0), B(I, { key: 0 }, R(a.checkboxData, (c, n) => (C(), K(N, {
|
|
93
93
|
id: a.getKey(c),
|
|
94
94
|
key: n,
|
|
95
95
|
"data-cy": c.dataCy ?? `checkbox_${V(L)(`${c.label}`)}`,
|
|
96
96
|
label: c.label,
|
|
97
97
|
inline: a.formCheckInline,
|
|
98
98
|
"model-value": d(c),
|
|
99
|
-
|
|
99
|
+
class: g([
|
|
100
100
|
a.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
|
|
101
101
|
a.checkboxContainerClasses
|
|
102
|
-
],
|
|
103
|
-
onChange: t[0] || (t[0] = (
|
|
104
|
-
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "
|
|
102
|
+
]),
|
|
103
|
+
onChange: t[0] || (t[0] = (p) => i(p))
|
|
104
|
+
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "class"]))), 128)) : A("", !0)
|
|
105
105
|
])
|
|
106
106
|
], 10, T)
|
|
107
107
|
]);
|
package/package.json
CHANGED
|
File without changes
|