@wikicasa-dev/components 1.2.12 → 1.2.13
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/README.md +46 -46
- package/dist/UIKit/AccessibleSelect.vue.d.ts +15 -15
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +11 -11
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +11 -11
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +8 -8
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +12 -12
- package/dist/UIKit/BaseAlert.vue.d.ts +11 -11
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +16 -14
- package/dist/UIKit/BaseBadge.vue.d.ts +14 -14
- package/dist/UIKit/BaseBtModal.vue.d.ts +172 -0
- package/dist/UIKit/BaseButton.vue.d.ts +16 -16
- package/dist/UIKit/BaseCard.vue.d.ts +11 -11
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +2 -2
- package/dist/UIKit/BaseDropDown.vue.d.ts +19 -19
- package/dist/UIKit/BaseIcon.vue.d.ts +2 -2
- package/dist/UIKit/BaseInput.vue.d.ts +7 -7
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +12 -12
- package/dist/UIKit/BaseSnackbar.vue.d.ts +56 -0
- package/dist/UIKit/BaseTextarea.vue.d.ts +3 -3
- package/dist/UIKit/BaseTooltip.vue.d.ts +1 -1
- package/dist/UIKit/BaseUploadFile.vue.d.ts +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +14 -14
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +12 -12
- package/dist/UIKit/StaticSpinner.vue.d.ts +12 -12
- package/dist/Views/AccordionSection.vue.d.ts +2 -0
- package/dist/Views/AlertSection.vue.d.ts +2 -0
- package/dist/Views/AutocompleteSection.vue.d.ts +2 -0
- package/dist/Views/BadgeSection.vue.d.ts +2 -0
- package/dist/Views/ButtonsSection.vue.d.ts +2 -0
- package/dist/Views/CardSection.vue.d.ts +2 -0
- package/dist/Views/CheckboxSection.vue.d.ts +6 -0
- package/dist/Views/DropdownSection.vue.d.ts +35 -0
- package/dist/Views/ModalSection.vue.d.ts +4 -0
- package/dist/Views/PaginationSection.vue.d.ts +2 -0
- package/dist/Views/PaperSection.vue.d.ts +2 -0
- package/dist/Views/RadioSection.vue.d.ts +9 -0
- package/dist/Views/SliderSection.vue.d.ts +9 -0
- package/dist/Views/SnackbarSection.vue.d.ts +2 -0
- package/dist/Views/TabSection.vue.d.ts +2 -0
- package/dist/Views/TextInputSection.vue.d.ts +2 -0
- package/dist/Views/TextareaSection.vue.d.ts +6 -0
- package/dist/Views/ToggleSection.vue.d.ts +2 -0
- package/dist/Views/TooltipSection.vue.d.ts +2 -0
- package/dist/Views/UiKitSidebar.vue.d.ts +18 -0
- package/dist/Views/UploadBtnSection.vue.d.ts +2 -0
- package/dist/Views/WikicasaUiKit.vue.d.ts +19 -0
- package/dist/components/HelloWorld.vue.d.ts +2 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +8 -8
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +11 -11
- package/dist/components/Pera.vue.d.ts +14 -0
- package/dist/components/base/BaseEmptyButton.vue.d.ts +35 -0
- package/dist/components/base/StaticSpinner.vue.d.ts +23 -0
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +13 -13
- package/dist/components/input/TripleSelect.vue.d.ts +26 -0
- package/dist/components/insert/QualityScore.vue.d.ts +16 -0
- package/dist/components.js +1 -1
- package/dist/components.umd.cjs +5 -5
- package/dist/{index-BtxYTF3f.js → index-1oh628Cu.js} +2 -2
- package/dist/{index-BZnZUpib.js → index-BYiujdKM.js} +389 -389
- package/dist/index.d.ts +33 -32
- package/dist/stories/Button.stories.d.ts +6 -6
- package/dist/stories/Button.vue.d.ts +64 -0
- package/dist/stories/Header.vue.d.ts +28 -0
- package/dist/stories/Page.vue.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as L, ref as F, renderSlot as S, h as ke, openBlock as b, createElementBlock as g, normalizeClass as v, createElementVNode as $, withModifiers as
|
|
1
|
+
import { defineComponent as L, ref as F, renderSlot as S, h as ke, openBlock as b, createElementBlock as g, normalizeClass as v, createElementVNode as $, withModifiers as B, createVNode as K, unref as x, watch as ie, createBlock as J, withCtx as _, createCommentVNode as T, nextTick as Yt, toDisplayString as de, useAttrs as gi, reactive as lt, computed as W, onBeforeMount as Se, Fragment as q, renderList as ee, createTextVNode as xt, resolveComponent as ce, onMounted as ze, onUnmounted as ut, withKeys as vi, normalizeStyle as qt, resolveDynamicComponent as yi, mergeModels as St, useModel as wi, pushScopeId as $i, popScopeId as Ci, onBeforeUnmount as Ei, mergeProps as Tt } from "vue";
|
|
2
2
|
import { Swiper as Ot } from "swiper";
|
|
3
|
-
const
|
|
3
|
+
const Ar = /* @__PURE__ */ L({
|
|
4
4
|
__name: "BaseAccordion",
|
|
5
5
|
props: {
|
|
6
6
|
autoClose: { type: Boolean, default: !0 }
|
|
@@ -19,7 +19,7 @@ const Ir = /* @__PURE__ */ L({
|
|
|
19
19
|
height: 20,
|
|
20
20
|
strokeColor: "#222",
|
|
21
21
|
fillColor: "none"
|
|
22
|
-
}),
|
|
22
|
+
}), Ne = (e, { attrs: t }) => {
|
|
23
23
|
e = { ...Kt(), ...e };
|
|
24
24
|
const { width: n, height: i } = e;
|
|
25
25
|
return ke(
|
|
@@ -73,11 +73,11 @@ const Ir = /* @__PURE__ */ L({
|
|
|
73
73
|
class: v(["uikit-bg-transparent", i.$attrs["btn-classes"]]),
|
|
74
74
|
"aria-expanded": i.accordionOpen,
|
|
75
75
|
"aria-controls": `accordion-text-${i.id}`,
|
|
76
|
-
onClick: a[0] || (a[0] =
|
|
76
|
+
onClick: a[0] || (a[0] = B((r) => {
|
|
77
77
|
i.toggleAccordion(), n("click");
|
|
78
78
|
}, ["prevent", "stop"]))
|
|
79
79
|
}, [
|
|
80
|
-
K(x(
|
|
80
|
+
K(x(Ne), {
|
|
81
81
|
class: v(["uikit-transition-transform motion-reduce:uikit-transition-none", [
|
|
82
82
|
i.accordionOpen && "uikit-rotate-180",
|
|
83
83
|
i.$attrs["arrow-classes"]
|
|
@@ -89,7 +89,7 @@ const Ir = /* @__PURE__ */ L({
|
|
|
89
89
|
])
|
|
90
90
|
], 10, Si));
|
|
91
91
|
}
|
|
92
|
-
}), Li = ["id", "aria-labelledby"],
|
|
92
|
+
}), Li = ["id", "aria-labelledby"], Vi = { class: "uikit-overflow-hidden" }, Bi = { class: "uikit-mb-0" }, Ai = /* @__PURE__ */ L({
|
|
93
93
|
inheritAttrs: !1,
|
|
94
94
|
__name: "BaseAccordionContent",
|
|
95
95
|
props: {
|
|
@@ -108,15 +108,15 @@ const Ir = /* @__PURE__ */ L({
|
|
|
108
108
|
]])
|
|
109
109
|
}, [
|
|
110
110
|
S(t.$slots, "custom_accordion_content", { isOpen: t.accordionOpen }, () => [
|
|
111
|
-
$("div",
|
|
112
|
-
$("p",
|
|
111
|
+
$("div", Vi, [
|
|
112
|
+
$("p", Bi, [
|
|
113
113
|
S(t.$slots, "default", { isOpen: t.accordionOpen })
|
|
114
114
|
])
|
|
115
115
|
])
|
|
116
116
|
])
|
|
117
117
|
], 10, Li));
|
|
118
118
|
}
|
|
119
|
-
}), Ii = { key: 0 }, Pi = ["id", "data-cy", "aria-expanded", "aria-controls"], Mi = ["itemprop", "innerHTML"],
|
|
119
|
+
}), Ii = { key: 0 }, Pi = ["id", "data-cy", "aria-expanded", "aria-controls"], Mi = ["itemprop", "innerHTML"], Ir = /* @__PURE__ */ L({
|
|
120
120
|
inheritAttrs: !1,
|
|
121
121
|
__name: "BaseAccordionItem",
|
|
122
122
|
props: {
|
|
@@ -152,7 +152,7 @@ const Ir = /* @__PURE__ */ L({
|
|
|
152
152
|
"data-cy": s.$attrs["data-cy"],
|
|
153
153
|
"aria-expanded": i.value,
|
|
154
154
|
"aria-controls": `accordion-text-${s.id}`,
|
|
155
|
-
onClick: o[0] || (o[0] =
|
|
155
|
+
onClick: o[0] || (o[0] = B((d) => {
|
|
156
156
|
r(), n("click");
|
|
157
157
|
}, ["prevent", "stop"]))
|
|
158
158
|
}, [
|
|
@@ -160,7 +160,7 @@ const Ir = /* @__PURE__ */ L({
|
|
|
160
160
|
itemprop: s.$attrs.itemprop,
|
|
161
161
|
innerHTML: s.title
|
|
162
162
|
}, null, 8, Mi),
|
|
163
|
-
K(x(
|
|
163
|
+
K(x(Ne), {
|
|
164
164
|
class: v(["uikit-flex-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", [
|
|
165
165
|
i.value && "uikit-rotate-180",
|
|
166
166
|
s.$attrs["arrow-classes"]
|
|
@@ -252,7 +252,7 @@ const Ir = /* @__PURE__ */ L({
|
|
|
252
252
|
])
|
|
253
253
|
], 42, Ri));
|
|
254
254
|
}
|
|
255
|
-
}), Di = ["id"],
|
|
255
|
+
}), Di = ["id"], zi = ["id", "data-cy", "checked", "disabled"], Ni = ["for"], Hi = /* @__PURE__ */ L({
|
|
256
256
|
__name: "CheckboxBtn",
|
|
257
257
|
props: {
|
|
258
258
|
id: {},
|
|
@@ -289,7 +289,7 @@ const Ir = /* @__PURE__ */ L({
|
|
|
289
289
|
s.$attrs["wrapper-margin-y"],
|
|
290
290
|
s.containerClass
|
|
291
291
|
]]),
|
|
292
|
-
onClick:
|
|
292
|
+
onClick: B(r, ["stop", "prevent"])
|
|
293
293
|
}, [
|
|
294
294
|
$("input", {
|
|
295
295
|
id: `${s.id}`,
|
|
@@ -303,14 +303,14 @@ const Ir = /* @__PURE__ */ L({
|
|
|
303
303
|
type: "checkbox",
|
|
304
304
|
checked: s.$attrs.checked || s.modelValue,
|
|
305
305
|
disabled: s.$attrs.disabled,
|
|
306
|
-
onChange: o[0] || (o[0] =
|
|
307
|
-
onClick: o[1] || (o[1] =
|
|
308
|
-
}, null, 42,
|
|
306
|
+
onChange: o[0] || (o[0] = B((d) => a(), ["stop", "prevent"])),
|
|
307
|
+
onClick: o[1] || (o[1] = B((d) => i("click"), ["stop"]))
|
|
308
|
+
}, null, 42, zi),
|
|
309
309
|
S(s.$slots, "label", {}, () => [
|
|
310
310
|
$("label", {
|
|
311
311
|
class: v(["uikit-pl-10px group-hover:uikit-cursor-pointer", [s.labelClass, { "uikit-text-w-danger": s.isValid === !1 }]]),
|
|
312
312
|
for: `${s.id}`
|
|
313
|
-
}, de(s.label), 11,
|
|
313
|
+
}, de(s.label), 11, Ni),
|
|
314
314
|
s.$attrs.required ? (b(), g("span", {
|
|
315
315
|
key: 0,
|
|
316
316
|
class: v(["required after:uikit-content-['*']", [
|
|
@@ -325,7 +325,7 @@ const Ir = /* @__PURE__ */ L({
|
|
|
325
325
|
for (const [i, a] of t)
|
|
326
326
|
n[i] = a;
|
|
327
327
|
return n;
|
|
328
|
-
}, Ui = /* @__PURE__ */ D(Hi, [["__scopeId", "data-v-
|
|
328
|
+
}, Ui = /* @__PURE__ */ D(Hi, [["__scopeId", "data-v-b923a7c2"]]);
|
|
329
329
|
function Gt(e, t) {
|
|
330
330
|
return function() {
|
|
331
331
|
return e.apply(t, arguments);
|
|
@@ -465,10 +465,10 @@ const nn = (e, t, n, { allOwnKeys: i } = {}) => (Te(t, (a, r) => {
|
|
|
465
465
|
};
|
|
466
466
|
return ve(e) ? i(e) : i(String(e).split(t)), n;
|
|
467
467
|
}, kn = () => {
|
|
468
|
-
}, gn = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Ze = "abcdefghijklmnopqrstuvwxyz",
|
|
469
|
-
DIGIT:
|
|
468
|
+
}, gn = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Ze = "abcdefghijklmnopqrstuvwxyz", Vt = "0123456789", ii = {
|
|
469
|
+
DIGIT: Vt,
|
|
470
470
|
ALPHA: Ze,
|
|
471
|
-
ALPHA_DIGIT: Ze + Ze.toUpperCase() +
|
|
471
|
+
ALPHA_DIGIT: Ze + Ze.toUpperCase() + Vt
|
|
472
472
|
}, vn = (e = 16, t = ii.ALPHA_DIGIT) => {
|
|
473
473
|
let n = "";
|
|
474
474
|
const { length: i } = t;
|
|
@@ -607,7 +607,7 @@ function st(e) {
|
|
|
607
607
|
function ai(e) {
|
|
608
608
|
return c.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function Bt(e, t, n) {
|
|
611
611
|
return e ? e.concat(t).map(function(i, a) {
|
|
612
612
|
return i = ai(i), !n && a ? "[" + i + "]" : i;
|
|
613
613
|
}).join(n ? "." : "") : t;
|
|
@@ -649,12 +649,12 @@ function Xe(e, t, n) {
|
|
|
649
649
|
return k = ai(k), P.forEach(function(Q, oe) {
|
|
650
650
|
!(c.isUndefined(Q) || Q === null) && t.append(
|
|
651
651
|
// eslint-disable-next-line no-nested-ternary
|
|
652
|
-
s === !0 ?
|
|
652
|
+
s === !0 ? Bt([k], oe, r) : s === null ? k : k + "[]",
|
|
653
653
|
d(Q)
|
|
654
654
|
);
|
|
655
655
|
}), !1;
|
|
656
656
|
}
|
|
657
|
-
return st(p) ? !0 : (t.append(
|
|
657
|
+
return st(p) ? !0 : (t.append(Bt(I, k, r), d(p)), !1);
|
|
658
658
|
}
|
|
659
659
|
const f = [], l = Object.assign(Tn, {
|
|
660
660
|
defaultVisitor: m,
|
|
@@ -723,7 +723,7 @@ function oi(e, t, n) {
|
|
|
723
723
|
}
|
|
724
724
|
return e;
|
|
725
725
|
}
|
|
726
|
-
class
|
|
726
|
+
class It {
|
|
727
727
|
constructor() {
|
|
728
728
|
this.handlers = [];
|
|
729
729
|
}
|
|
@@ -777,36 +777,36 @@ class Ln {
|
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
|
-
const
|
|
780
|
+
const li = {
|
|
781
781
|
silentJSONParsing: !0,
|
|
782
782
|
forcedJSONParsing: !0,
|
|
783
783
|
clarifyTimeoutError: !1
|
|
784
|
-
},
|
|
784
|
+
}, Ln = typeof URLSearchParams < "u" ? URLSearchParams : ct, Vn = typeof FormData < "u" ? FormData : null, Bn = typeof Blob < "u" ? Blob : null, An = (() => {
|
|
785
785
|
let e;
|
|
786
786
|
return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
787
|
-
})(),
|
|
787
|
+
})(), In = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
788
788
|
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", te = {
|
|
789
789
|
isBrowser: !0,
|
|
790
790
|
classes: {
|
|
791
|
-
URLSearchParams:
|
|
791
|
+
URLSearchParams: Ln,
|
|
792
792
|
FormData: Vn,
|
|
793
|
-
Blob:
|
|
793
|
+
Blob: Bn
|
|
794
794
|
},
|
|
795
|
-
isStandardBrowserEnv:
|
|
796
|
-
isStandardBrowserWebWorkerEnv:
|
|
795
|
+
isStandardBrowserEnv: An,
|
|
796
|
+
isStandardBrowserWebWorkerEnv: In,
|
|
797
797
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
798
798
|
};
|
|
799
|
-
function
|
|
799
|
+
function Pn(e, t) {
|
|
800
800
|
return Xe(e, new te.classes.URLSearchParams(), Object.assign({
|
|
801
801
|
visitor: function(n, i, a, r) {
|
|
802
802
|
return te.isNode && c.isBuffer(n) ? (this.append(i, n.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
|
|
803
803
|
}
|
|
804
804
|
}, t));
|
|
805
805
|
}
|
|
806
|
-
function
|
|
806
|
+
function Mn(e) {
|
|
807
807
|
return c.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function Rn(e) {
|
|
810
810
|
const t = {}, n = Object.keys(e);
|
|
811
811
|
let i;
|
|
812
812
|
const a = n.length;
|
|
@@ -819,20 +819,20 @@ function ui(e) {
|
|
|
819
819
|
function t(n, i, a, r) {
|
|
820
820
|
let s = n[r++];
|
|
821
821
|
const o = Number.isFinite(+s), d = r >= n.length;
|
|
822
|
-
return s = !s && c.isArray(a) ? a.length : s, d ? (c.hasOwnProp(a, s) ? a[s] = [a[s], i] : a[s] = i, !o) : ((!a[s] || !c.isObject(a[s])) && (a[s] = []), t(n, i, a[s], r) && c.isArray(a[s]) && (a[s] =
|
|
822
|
+
return s = !s && c.isArray(a) ? a.length : s, d ? (c.hasOwnProp(a, s) ? a[s] = [a[s], i] : a[s] = i, !o) : ((!a[s] || !c.isObject(a[s])) && (a[s] = []), t(n, i, a[s], r) && c.isArray(a[s]) && (a[s] = Rn(a[s])), !o);
|
|
823
823
|
}
|
|
824
824
|
if (c.isFormData(e) && c.isFunction(e.entries)) {
|
|
825
825
|
const n = {};
|
|
826
826
|
return c.forEachEntry(e, (i, a) => {
|
|
827
|
-
t(
|
|
827
|
+
t(Mn(i), a, n, 0);
|
|
828
828
|
}), n;
|
|
829
829
|
}
|
|
830
830
|
return null;
|
|
831
831
|
}
|
|
832
|
-
const
|
|
832
|
+
const jn = {
|
|
833
833
|
"Content-Type": void 0
|
|
834
834
|
};
|
|
835
|
-
function
|
|
835
|
+
function Fn(e, t, n) {
|
|
836
836
|
if (c.isString(e))
|
|
837
837
|
try {
|
|
838
838
|
return (t || JSON.parse)(e), c.trim(e);
|
|
@@ -858,7 +858,7 @@ const Ye = {
|
|
|
858
858
|
let r;
|
|
859
859
|
if (a) {
|
|
860
860
|
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
861
|
-
return
|
|
861
|
+
return Pn(e, this.formSerializer).toString();
|
|
862
862
|
if ((r = c.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
|
|
863
863
|
const s = this.env && this.env.FormData;
|
|
864
864
|
return Xe(
|
|
@@ -868,7 +868,7 @@ const Ye = {
|
|
|
868
868
|
);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
return a || i ? (t.setContentType("application/json", !1),
|
|
871
|
+
return a || i ? (t.setContentType("application/json", !1), Fn(e)) : e;
|
|
872
872
|
}],
|
|
873
873
|
transformResponse: [function(e) {
|
|
874
874
|
const t = this.transitional || Ye.transitional, n = t && t.forcedJSONParsing, i = this.responseType === "json";
|
|
@@ -909,9 +909,9 @@ c.forEach(["delete", "get", "head"], function(e) {
|
|
|
909
909
|
Ye.headers[e] = {};
|
|
910
910
|
});
|
|
911
911
|
c.forEach(["post", "put", "patch"], function(e) {
|
|
912
|
-
Ye.headers[e] = c.merge(
|
|
912
|
+
Ye.headers[e] = c.merge(jn);
|
|
913
913
|
});
|
|
914
|
-
const pt = Ye,
|
|
914
|
+
const pt = Ye, Dn = c.toObjectSet([
|
|
915
915
|
"age",
|
|
916
916
|
"authorization",
|
|
917
917
|
"content-length",
|
|
@@ -934,7 +934,7 @@ const pt = Ye, Nn = c.toObjectSet([
|
|
|
934
934
|
let n, i, a;
|
|
935
935
|
return e && e.split(`
|
|
936
936
|
`).forEach(function(r) {
|
|
937
|
-
a = r.indexOf(":"), n = r.substring(0, a).trim().toLowerCase(), i = r.substring(a + 1).trim(), !(!n || t[n] &&
|
|
937
|
+
a = r.indexOf(":"), n = r.substring(0, a).trim().toLowerCase(), i = r.substring(a + 1).trim(), !(!n || t[n] && Dn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(i) : t[n] = [i] : t[n] = t[n] ? t[n] + ", " + i : i);
|
|
938
938
|
}), t;
|
|
939
939
|
}, Pt = Symbol("internals");
|
|
940
940
|
function $e(e) {
|
|
@@ -943,14 +943,14 @@ function $e(e) {
|
|
|
943
943
|
function Re(e) {
|
|
944
944
|
return e === !1 || e == null ? e : c.isArray(e) ? e.map(Re) : String(e);
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function Nn(e) {
|
|
947
947
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
948
948
|
let i;
|
|
949
949
|
for (; i = n.exec(e); )
|
|
950
950
|
t[i[1]] = i[2];
|
|
951
951
|
return t;
|
|
952
952
|
}
|
|
953
|
-
const
|
|
953
|
+
const Hn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
954
954
|
function Qe(e, t, n, i, a) {
|
|
955
955
|
if (c.isFunction(i))
|
|
956
956
|
return i.call(this, t, n);
|
|
@@ -961,10 +961,10 @@ function Qe(e, t, n, i, a) {
|
|
|
961
961
|
return i.test(t);
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function Un(e) {
|
|
965
965
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, i) => n.toUpperCase() + i);
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function Wn(e, t) {
|
|
968
968
|
const n = c.toCamelCase(" " + t);
|
|
969
969
|
["get", "set", "has"].forEach((i) => {
|
|
970
970
|
Object.defineProperty(e, i + n, {
|
|
@@ -989,7 +989,7 @@ class xe {
|
|
|
989
989
|
(!l || a[l] === void 0 || m === !0 || m === void 0 && a[l] !== !1) && (a[l || d] = Re(o));
|
|
990
990
|
}
|
|
991
991
|
const s = (o, d) => c.forEach(o, (m, f) => r(m, f, d));
|
|
992
|
-
return c.isPlainObject(t) || t instanceof this.constructor ? s(t, n) : c.isString(t) && (t = t.trim()) && !
|
|
992
|
+
return c.isPlainObject(t) || t instanceof this.constructor ? s(t, n) : c.isString(t) && (t = t.trim()) && !Hn(t) ? s(zn(t), n) : t != null && r(n, t, i), this;
|
|
993
993
|
}
|
|
994
994
|
get(t, n) {
|
|
995
995
|
if (t = $e(t), t) {
|
|
@@ -999,7 +999,7 @@ class xe {
|
|
|
999
999
|
if (!n)
|
|
1000
1000
|
return a;
|
|
1001
1001
|
if (n === !0)
|
|
1002
|
-
return
|
|
1002
|
+
return Nn(a);
|
|
1003
1003
|
if (c.isFunction(n))
|
|
1004
1004
|
return n.call(this, a, i);
|
|
1005
1005
|
if (c.isRegExp(n))
|
|
@@ -1043,7 +1043,7 @@ class xe {
|
|
|
1043
1043
|
n[s] = Re(a), delete n[r];
|
|
1044
1044
|
return;
|
|
1045
1045
|
}
|
|
1046
|
-
const o = t ?
|
|
1046
|
+
const o = t ? Un(r) : String(r).trim();
|
|
1047
1047
|
o !== r && delete n[r], n[o] = Re(a), i[o] = !0;
|
|
1048
1048
|
}), this;
|
|
1049
1049
|
}
|
|
@@ -1079,7 +1079,7 @@ class xe {
|
|
|
1079
1079
|
}).accessors, i = this.prototype;
|
|
1080
1080
|
function a(r) {
|
|
1081
1081
|
const s = $e(r);
|
|
1082
|
-
n[s] || (
|
|
1082
|
+
n[s] || (Wn(i, r), n[s] = !0);
|
|
1083
1083
|
}
|
|
1084
1084
|
return c.isArray(t) ? t.forEach(a) : a(t), this;
|
|
1085
1085
|
}
|
|
@@ -1104,7 +1104,7 @@ function Oe(e, t, n) {
|
|
|
1104
1104
|
c.inherits(Oe, O, {
|
|
1105
1105
|
__CANCEL__: !0
|
|
1106
1106
|
});
|
|
1107
|
-
function
|
|
1107
|
+
function Xn(e, t, n) {
|
|
1108
1108
|
const i = n.config.validateStatus;
|
|
1109
1109
|
!n.status || !i || i(n.status) ? e(n) : t(new O(
|
|
1110
1110
|
"Request failed with status code " + n.status,
|
|
@@ -1114,7 +1114,7 @@ function Yn(e, t, n) {
|
|
|
1114
1114
|
n
|
|
1115
1115
|
));
|
|
1116
1116
|
}
|
|
1117
|
-
const
|
|
1117
|
+
const Yn = te.isStandardBrowserEnv ? (
|
|
1118
1118
|
// Standard browser envs support document.cookie
|
|
1119
1119
|
/* @__PURE__ */ function() {
|
|
1120
1120
|
return {
|
|
@@ -1145,16 +1145,16 @@ const xn = te.isStandardBrowserEnv ? (
|
|
|
1145
1145
|
};
|
|
1146
1146
|
}()
|
|
1147
1147
|
);
|
|
1148
|
-
function
|
|
1148
|
+
function xn(e) {
|
|
1149
1149
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function qn(e, t) {
|
|
1152
1152
|
return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
1153
1153
|
}
|
|
1154
1154
|
function ci(e, t) {
|
|
1155
|
-
return e && !
|
|
1155
|
+
return e && !xn(t) ? qn(e, t) : t;
|
|
1156
1156
|
}
|
|
1157
|
-
const
|
|
1157
|
+
const Kn = te.isStandardBrowserEnv ? (
|
|
1158
1158
|
// Standard browser envs have full support of the APIs needed to test
|
|
1159
1159
|
// whether the request URL is of the same origin as current location.
|
|
1160
1160
|
function() {
|
|
@@ -1186,11 +1186,11 @@ const Gn = te.isStandardBrowserEnv ? (
|
|
|
1186
1186
|
};
|
|
1187
1187
|
}()
|
|
1188
1188
|
);
|
|
1189
|
-
function
|
|
1189
|
+
function Gn(e) {
|
|
1190
1190
|
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
1191
1191
|
return t && t[1] || "";
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function Jn(e, t) {
|
|
1194
1194
|
e = e || 10;
|
|
1195
1195
|
const n = new Array(e), i = new Array(e);
|
|
1196
1196
|
let a = 0, r = 0, s;
|
|
@@ -1208,7 +1208,7 @@ function Zn(e, t) {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
function Mt(e, t) {
|
|
1210
1210
|
let n = 0;
|
|
1211
|
-
const i =
|
|
1211
|
+
const i = Jn(50, 250);
|
|
1212
1212
|
return (a) => {
|
|
1213
1213
|
const r = a.loaded, s = a.lengthComputable ? a.total : void 0, o = r - n, d = i(o), m = r <= s;
|
|
1214
1214
|
n = r;
|
|
@@ -1224,7 +1224,7 @@ function Mt(e, t) {
|
|
|
1224
1224
|
f[t ? "download" : "upload"] = !0, e(f);
|
|
1225
1225
|
};
|
|
1226
1226
|
}
|
|
1227
|
-
const
|
|
1227
|
+
const Zn = typeof XMLHttpRequest < "u", Qn = Zn && function(e) {
|
|
1228
1228
|
return new Promise(function(t, n) {
|
|
1229
1229
|
let i = e.data;
|
|
1230
1230
|
const a = re.from(e.headers).normalize(), r = e.responseType;
|
|
@@ -1253,7 +1253,7 @@ const Qn = typeof XMLHttpRequest < "u", _n = Qn && function(e) {
|
|
|
1253
1253
|
config: e,
|
|
1254
1254
|
request: d
|
|
1255
1255
|
};
|
|
1256
|
-
|
|
1256
|
+
Xn(function(k) {
|
|
1257
1257
|
t(k), o();
|
|
1258
1258
|
}, function(k) {
|
|
1259
1259
|
n(k), o();
|
|
@@ -1275,7 +1275,7 @@ const Qn = typeof XMLHttpRequest < "u", _n = Qn && function(e) {
|
|
|
1275
1275
|
d
|
|
1276
1276
|
)), d = null;
|
|
1277
1277
|
}, te.isStandardBrowserEnv) {
|
|
1278
|
-
const u = (e.withCredentials ||
|
|
1278
|
+
const u = (e.withCredentials || Kn(m)) && e.xsrfCookieName && Yn.read(e.xsrfCookieName);
|
|
1279
1279
|
u && a.set(e.xsrfHeaderName, u);
|
|
1280
1280
|
}
|
|
1281
1281
|
i === void 0 && a.setContentType(null), "setRequestHeader" in d && c.forEach(a.toJSON(), function(u, p) {
|
|
@@ -1283,7 +1283,7 @@ const Qn = typeof XMLHttpRequest < "u", _n = Qn && function(e) {
|
|
|
1283
1283
|
}), c.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), r && r !== "json" && (d.responseType = e.responseType), typeof e.onDownloadProgress == "function" && d.addEventListener("progress", Mt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Mt(e.onUploadProgress)), (e.cancelToken || e.signal) && (s = (u) => {
|
|
1284
1284
|
d && (n(!u || u.type ? new Oe(null, e, d) : u), d.abort(), d = null);
|
|
1285
1285
|
}, e.cancelToken && e.cancelToken.subscribe(s), e.signal && (e.signal.aborted ? s() : e.signal.addEventListener("abort", s)));
|
|
1286
|
-
const l =
|
|
1286
|
+
const l = Gn(m);
|
|
1287
1287
|
if (l && te.protocols.indexOf(l) === -1) {
|
|
1288
1288
|
n(new O("Unsupported protocol " + l + ":", O.ERR_BAD_REQUEST, e));
|
|
1289
1289
|
return;
|
|
@@ -1292,7 +1292,7 @@ const Qn = typeof XMLHttpRequest < "u", _n = Qn && function(e) {
|
|
|
1292
1292
|
});
|
|
1293
1293
|
}, je = {
|
|
1294
1294
|
http: En,
|
|
1295
|
-
xhr:
|
|
1295
|
+
xhr: Qn
|
|
1296
1296
|
};
|
|
1297
1297
|
c.forEach(je, (e, t) => {
|
|
1298
1298
|
if (e) {
|
|
@@ -1303,7 +1303,7 @@ c.forEach(je, (e, t) => {
|
|
|
1303
1303
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1304
1304
|
}
|
|
1305
1305
|
});
|
|
1306
|
-
const
|
|
1306
|
+
const _n = {
|
|
1307
1307
|
getAdapter: (e) => {
|
|
1308
1308
|
e = c.isArray(e) ? e : [e];
|
|
1309
1309
|
const { length: t } = e;
|
|
@@ -1331,7 +1331,7 @@ function Rt(e) {
|
|
|
1331
1331
|
return et(e), e.headers = re.from(e.headers), e.data = _e.call(
|
|
1332
1332
|
e,
|
|
1333
1333
|
e.transformRequest
|
|
1334
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1334
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), _n.getAdapter(e.adapter || pt.adapter)(e).then(function(t) {
|
|
1335
1335
|
return et(e), t.data = _e.call(
|
|
1336
1336
|
e,
|
|
1337
1337
|
e.transformResponse,
|
|
@@ -1436,7 +1436,7 @@ ft.transitional = function(e, t, n) {
|
|
|
1436
1436
|
)), e ? e(a, r, s) : !0;
|
|
1437
1437
|
};
|
|
1438
1438
|
};
|
|
1439
|
-
function
|
|
1439
|
+
function es(e, t, n) {
|
|
1440
1440
|
if (typeof e != "object")
|
|
1441
1441
|
throw new O("options must be an object", O.ERR_BAD_OPTION_VALUE);
|
|
1442
1442
|
const i = Object.keys(e);
|
|
@@ -1454,7 +1454,7 @@ function ts(e, t, n) {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
1456
|
const at = {
|
|
1457
|
-
assertOptions:
|
|
1457
|
+
assertOptions: es,
|
|
1458
1458
|
validators: ft
|
|
1459
1459
|
}, ue = at.validators;
|
|
1460
1460
|
class De {
|
|
@@ -1630,13 +1630,13 @@ class mt {
|
|
|
1630
1630
|
};
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
|
-
const
|
|
1634
|
-
function
|
|
1633
|
+
const ts = mt;
|
|
1634
|
+
function is(e) {
|
|
1635
1635
|
return function(t) {
|
|
1636
1636
|
return e.apply(null, t);
|
|
1637
1637
|
};
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function ns(e) {
|
|
1640
1640
|
return c.isObject(e) && e.isAxiosError === !0;
|
|
1641
1641
|
}
|
|
1642
1642
|
const rt = {
|
|
@@ -1707,70 +1707,70 @@ const rt = {
|
|
|
1707
1707
|
Object.entries(rt).forEach(([e, t]) => {
|
|
1708
1708
|
rt[t] = e;
|
|
1709
1709
|
});
|
|
1710
|
-
const
|
|
1710
|
+
const ss = rt;
|
|
1711
1711
|
function fi(e) {
|
|
1712
1712
|
const t = new Fe(e), n = Gt(Fe.prototype.request, t);
|
|
1713
1713
|
return c.extend(n, Fe.prototype, t, { allOwnKeys: !0 }), c.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(i) {
|
|
1714
1714
|
return fi(ge(e, i));
|
|
1715
1715
|
}, n;
|
|
1716
1716
|
}
|
|
1717
|
-
const
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1717
|
+
const z = fi(pt);
|
|
1718
|
+
z.Axios = Fe;
|
|
1719
|
+
z.CanceledError = Oe;
|
|
1720
|
+
z.CancelToken = ts;
|
|
1721
|
+
z.isCancel = di;
|
|
1722
|
+
z.VERSION = pi;
|
|
1723
|
+
z.toFormData = Xe;
|
|
1724
|
+
z.AxiosError = O;
|
|
1725
|
+
z.Cancel = z.CanceledError;
|
|
1726
|
+
z.all = function(e) {
|
|
1727
1727
|
return Promise.all(e);
|
|
1728
1728
|
};
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
function
|
|
1729
|
+
z.spread = is;
|
|
1730
|
+
z.isAxiosError = ns;
|
|
1731
|
+
z.mergeConfig = ge;
|
|
1732
|
+
z.AxiosHeaders = re;
|
|
1733
|
+
z.formToJSON = (e) => ui(c.isHTMLForm(e) ? new FormData(e) : e);
|
|
1734
|
+
z.HttpStatusCode = ss;
|
|
1735
|
+
z.default = z;
|
|
1736
|
+
function as(e, t) {
|
|
1737
1737
|
if (e)
|
|
1738
1738
|
for (const n in e)
|
|
1739
1739
|
t[n] = e[n];
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1741
|
+
function rs(e) {
|
|
1742
1742
|
return !e || !Object.keys(e).length;
|
|
1743
1743
|
}
|
|
1744
1744
|
let Ie;
|
|
1745
|
-
const
|
|
1746
|
-
function
|
|
1745
|
+
const os = new Uint8Array(16);
|
|
1746
|
+
function ls() {
|
|
1747
1747
|
if (!Ie && (Ie = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ie))
|
|
1748
1748
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1749
|
-
return Ie(
|
|
1749
|
+
return Ie(os);
|
|
1750
1750
|
}
|
|
1751
1751
|
const U = [];
|
|
1752
1752
|
for (let e = 0; e < 256; ++e)
|
|
1753
1753
|
U.push((e + 256).toString(16).slice(1));
|
|
1754
|
-
function
|
|
1754
|
+
function us(e, t = 0) {
|
|
1755
1755
|
return (U[e[t + 0]] + U[e[t + 1]] + U[e[t + 2]] + U[e[t + 3]] + "-" + U[e[t + 4]] + U[e[t + 5]] + "-" + U[e[t + 6]] + U[e[t + 7]] + "-" + U[e[t + 8]] + U[e[t + 9]] + "-" + U[e[t + 10]] + U[e[t + 11]] + U[e[t + 12]] + U[e[t + 13]] + U[e[t + 14]] + U[e[t + 15]]).toLowerCase();
|
|
1756
1756
|
}
|
|
1757
|
-
const
|
|
1758
|
-
randomUUID:
|
|
1757
|
+
const ds = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Dt = {
|
|
1758
|
+
randomUUID: ds
|
|
1759
1759
|
};
|
|
1760
|
-
function
|
|
1760
|
+
function cs(e, t, n) {
|
|
1761
1761
|
if (Dt.randomUUID && !t && !e)
|
|
1762
1762
|
return Dt.randomUUID();
|
|
1763
1763
|
e = e || {};
|
|
1764
|
-
const i = e.random || (e.rng ||
|
|
1764
|
+
const i = e.random || (e.rng || ls)();
|
|
1765
1765
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, t) {
|
|
1766
1766
|
n = n || 0;
|
|
1767
1767
|
for (let a = 0; a < 16; ++a)
|
|
1768
1768
|
t[n + a] = i[a];
|
|
1769
1769
|
return t;
|
|
1770
1770
|
}
|
|
1771
|
-
return
|
|
1771
|
+
return us(i);
|
|
1772
1772
|
}
|
|
1773
|
-
|
|
1773
|
+
cs();
|
|
1774
1774
|
/*! js-cookie v3.0.5 | MIT */
|
|
1775
1775
|
function Pe(e) {
|
|
1776
1776
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -1780,7 +1780,7 @@ function Pe(e) {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
return e;
|
|
1782
1782
|
}
|
|
1783
|
-
var
|
|
1783
|
+
var ps = {
|
|
1784
1784
|
read: function(e) {
|
|
1785
1785
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
1786
1786
|
},
|
|
@@ -1841,8 +1841,8 @@ function ot(e, t) {
|
|
|
1841
1841
|
}
|
|
1842
1842
|
);
|
|
1843
1843
|
}
|
|
1844
|
-
ot(
|
|
1845
|
-
function
|
|
1844
|
+
ot(ps, { path: "/" });
|
|
1845
|
+
function fs(e, t) {
|
|
1846
1846
|
return (...n) => new Promise((i, a) => {
|
|
1847
1847
|
e.id && clearTimeout(e.id), e.id = setTimeout(() => {
|
|
1848
1848
|
try {
|
|
@@ -1854,11 +1854,11 @@ function ms(e, t) {
|
|
|
1854
1854
|
}, e.delay);
|
|
1855
1855
|
});
|
|
1856
1856
|
}
|
|
1857
|
-
const
|
|
1858
|
-
function
|
|
1859
|
-
return e == null ? "" :
|
|
1857
|
+
const ms = (e = "") => !e || !e.trim() ? "" : (e = e.trim(), e.replace(" ", "-").toLowerCase());
|
|
1858
|
+
function zt(e, t = !1) {
|
|
1859
|
+
return e == null ? "" : hs(t ? Math.round(e) : Math.floor(e), 0);
|
|
1860
1860
|
}
|
|
1861
|
-
function
|
|
1861
|
+
function hs(e, t) {
|
|
1862
1862
|
return !e && e !== 0 ? "" : e.toLocaleString(
|
|
1863
1863
|
"it-IT",
|
|
1864
1864
|
// usare una stringa tipo 'en-US' per sovrascrivere la lingua del browser
|
|
@@ -1868,7 +1868,7 @@ function bs(e, t) {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
);
|
|
1870
1870
|
}
|
|
1871
|
-
const
|
|
1871
|
+
const bs = ["id", "data-cy"], Pr = /* @__PURE__ */ L({
|
|
1872
1872
|
inheritAttrs: !1,
|
|
1873
1873
|
__name: "CheckboxGroup",
|
|
1874
1874
|
props: {
|
|
@@ -1920,7 +1920,7 @@ const ks = ["id", "data-cy"], Mr = /* @__PURE__ */ L({
|
|
|
1920
1920
|
}, f = (p) => r.checkedValuesObj[i.getKey(p)].checked, l = (p) => {
|
|
1921
1921
|
r.checkedValuesObj[p.id].checked = !f(p);
|
|
1922
1922
|
}, u = (p) => {
|
|
1923
|
-
if (!(!i.valuesObj ||
|
|
1923
|
+
if (!(!i.valuesObj || rs(i.valuesObj))) {
|
|
1924
1924
|
if (i.valuesObj[p.id].reset && p.checked ? m() : s.value && !i.valuesObj[p.id].reset && (r.checkedValuesObj[i.getKey(s.value)].checked = !1), r.checkedValuesObj[p.id].checked = !!p.checked, i.autoCheckResetAll && s.value && d.value === o.value - 1)
|
|
1925
1925
|
for (const k in r.checkedValuesObj)
|
|
1926
1926
|
r.checkedValuesObj[k].checked = !!r.checkedValuesObj[k].reset;
|
|
@@ -1944,7 +1944,7 @@ const ks = ["id", "data-cy"], Mr = /* @__PURE__ */ L({
|
|
|
1944
1944
|
p.valuesObj ? (b(!0), g(q, { key: 0 }, ee(p.valuesObj, (I, P, Q) => (b(), J(Ui, {
|
|
1945
1945
|
id: p.getKey(I),
|
|
1946
1946
|
key: Q,
|
|
1947
|
-
"data-cy": `checkbox_${x(
|
|
1947
|
+
"data-cy": `checkbox_${x(ms)(`${I.label}`)}`,
|
|
1948
1948
|
label: I.label,
|
|
1949
1949
|
inline: p.formCheckInline,
|
|
1950
1950
|
"wrapper-margin-y": p.$attrs["checkbox-padding-y"],
|
|
@@ -1952,9 +1952,9 @@ const ks = ["id", "data-cy"], Mr = /* @__PURE__ */ L({
|
|
|
1952
1952
|
onChange: u
|
|
1953
1953
|
}, null, 8, ["id", "data-cy", "label", "inline", "wrapper-margin-y", "model-value"]))), 128)) : T("", !0)
|
|
1954
1954
|
])
|
|
1955
|
-
], 10,
|
|
1955
|
+
], 10, bs));
|
|
1956
1956
|
}
|
|
1957
|
-
}),
|
|
1957
|
+
}), ks = L({
|
|
1958
1958
|
name: "RadioButton",
|
|
1959
1959
|
inheritAttrs: !1,
|
|
1960
1960
|
props: {
|
|
@@ -1978,11 +1978,11 @@ const ks = ["id", "data-cy"], Mr = /* @__PURE__ */ L({
|
|
|
1978
1978
|
this.emitChange();
|
|
1979
1979
|
}
|
|
1980
1980
|
}
|
|
1981
|
-
}),
|
|
1982
|
-
function
|
|
1981
|
+
}), gs = ["id", "value", "name", "checked"], vs = ["for"];
|
|
1982
|
+
function ys(e, t, n, i, a, r) {
|
|
1983
1983
|
return b(), g("div", {
|
|
1984
1984
|
class: v([e.$attrs.class, "uikit-mb-4 uikit-mr-4 uikit-inline-block"]),
|
|
1985
|
-
onClick: t[1] || (t[1] =
|
|
1985
|
+
onClick: t[1] || (t[1] = B((...s) => e.handleClick && e.handleClick(...s), ["stop"]))
|
|
1986
1986
|
}, [
|
|
1987
1987
|
$("input", {
|
|
1988
1988
|
id: e.$attrs.id,
|
|
@@ -1992,8 +1992,8 @@ function ws(e, t, n, i, a, r) {
|
|
|
1992
1992
|
value: e.label,
|
|
1993
1993
|
name: e.$attrs.name,
|
|
1994
1994
|
checked: e.isChecked,
|
|
1995
|
-
onChange: t[0] || (t[0] =
|
|
1996
|
-
}, null, 40,
|
|
1995
|
+
onChange: t[0] || (t[0] = B((...s) => e.handleOnInput && e.handleOnInput(...s), ["stop"]))
|
|
1996
|
+
}, null, 40, gs),
|
|
1997
1997
|
$("label", {
|
|
1998
1998
|
class: v([e.$attrs["label-classes"], "uikit-flex uikit-cursor-pointer uikit-items-center"]),
|
|
1999
1999
|
for: e.$attrs.id
|
|
@@ -2004,12 +2004,12 @@ function ws(e, t, n, i, a, r) {
|
|
|
2004
2004
|
}])
|
|
2005
2005
|
}, null, 2),
|
|
2006
2006
|
xt(" " + de(e.label), 1)
|
|
2007
|
-
], 10,
|
|
2007
|
+
], 10, vs)
|
|
2008
2008
|
], 2);
|
|
2009
2009
|
}
|
|
2010
|
-
const
|
|
2010
|
+
const ws = /* @__PURE__ */ D(ks, [["render", ys]]), $s = L({
|
|
2011
2011
|
name: "RadioGroup",
|
|
2012
|
-
components: { RadioButton:
|
|
2012
|
+
components: { RadioButton: ws },
|
|
2013
2013
|
inheritAttrs: !1,
|
|
2014
2014
|
props: {
|
|
2015
2015
|
initialValue: { type: Object },
|
|
@@ -2043,8 +2043,8 @@ const $s = /* @__PURE__ */ D(gs, [["render", ws]]), Cs = L({
|
|
|
2043
2043
|
return this.selectedValue ? this.selectedValue.id === e.id : !1;
|
|
2044
2044
|
}
|
|
2045
2045
|
}
|
|
2046
|
-
}),
|
|
2047
|
-
function
|
|
2046
|
+
}), Cs = ["data-cy"];
|
|
2047
|
+
function Es(e, t, n, i, a, r) {
|
|
2048
2048
|
const s = ce("radio-button");
|
|
2049
2049
|
return b(), g("div", {
|
|
2050
2050
|
class: v(["radio-group-container", e.$attrs.class || ""]),
|
|
@@ -2067,9 +2067,9 @@ function Ss(e, t, n, i, a, r) {
|
|
|
2067
2067
|
}, null, 8, ["id", "label", "is-checked", "onChange"]);
|
|
2068
2068
|
}), 128))
|
|
2069
2069
|
])
|
|
2070
|
-
], 10,
|
|
2070
|
+
], 10, Cs);
|
|
2071
2071
|
}
|
|
2072
|
-
const
|
|
2072
|
+
const Mr = /* @__PURE__ */ D($s, [["render", Es]]), mi = (e) => {
|
|
2073
2073
|
const { isDropdownOpen: t, disableSpaceHandler: n } = e, i = F(-1), a = F(-1), r = (s) => {
|
|
2074
2074
|
const o = "ArrowUp", d = "ArrowDown", m = "Enter", f = "Escape", l = " ", u = "PageUp", p = "Home", k = "PageDown", I = "End";
|
|
2075
2075
|
if (!t.value || ![
|
|
@@ -2097,7 +2097,7 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2097
2097
|
s.key === f ? (i.value = a.value, t.value = !1) : s.key === u || s.key === p ? i.value = 0 : (s.key === k || s.key === I) && (i.value = P - 1);
|
|
2098
2098
|
s.stopPropagation(), s.preventDefault();
|
|
2099
2099
|
};
|
|
2100
|
-
return
|
|
2100
|
+
return ze(() => {
|
|
2101
2101
|
document && document.addEventListener("keydown", r);
|
|
2102
2102
|
}), ut(() => {
|
|
2103
2103
|
document && document.removeEventListener("keydown", r);
|
|
@@ -2105,7 +2105,7 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2105
2105
|
activeIdx: i,
|
|
2106
2106
|
selectedIdx: a
|
|
2107
2107
|
};
|
|
2108
|
-
},
|
|
2108
|
+
}, Ss = (e, { attrs: t }) => {
|
|
2109
2109
|
e = { ...Kt(), ...e };
|
|
2110
2110
|
const { width: n, height: i } = e;
|
|
2111
2111
|
return ke(
|
|
@@ -2139,7 +2139,7 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2139
2139
|
})
|
|
2140
2140
|
]
|
|
2141
2141
|
);
|
|
2142
|
-
},
|
|
2142
|
+
}, Ts = ["id", "innerHTML"], Os = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], Ls = ["innerHTML"], Vs = { class: "uikit-inline-flex" }, Bs = ["innerHTML"], As = ["data-cy"], Is = ["id", "aria-selected", "onClick", "onMouseover"], Ps = { class: "uikit-inline-block uikit-cursor-pointer" }, Ms = ["name", "checked", "onInput"], Rs = ["innerHTML"], js = ["id", "arial-live", "innerHTML"], Fs = ["id", "arial-live", "innerHTML"], Rr = /* @__PURE__ */ L({
|
|
2143
2143
|
inheritAttrs: !1,
|
|
2144
2144
|
__name: "AccessibleSelect",
|
|
2145
2145
|
props: {
|
|
@@ -2168,7 +2168,7 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2168
2168
|
const f = () => {
|
|
2169
2169
|
i.value = !1;
|
|
2170
2170
|
};
|
|
2171
|
-
return
|
|
2171
|
+
return ze(() => {
|
|
2172
2172
|
document && document.addEventListener("click", f);
|
|
2173
2173
|
}), ut(() => {
|
|
2174
2174
|
document && document.removeEventListener("click", f);
|
|
@@ -2184,7 +2184,7 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2184
2184
|
l.$attrs["label-classes"]
|
|
2185
2185
|
]]),
|
|
2186
2186
|
innerHTML: l.label
|
|
2187
|
-
}, null, 10,
|
|
2187
|
+
}, null, 10, Ts)) : T("", !0),
|
|
2188
2188
|
S(l.$slots, "lefticon"),
|
|
2189
2189
|
$("button", {
|
|
2190
2190
|
id: `${l.namespace}_btn`,
|
|
@@ -2202,27 +2202,27 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2202
2202
|
"aria-activedescendant": x(o) >= 0 && i.value ? `${l.namespace}_element_${l.options[x(o)].label}` : "",
|
|
2203
2203
|
"aria-invalid": n.isValid === !1,
|
|
2204
2204
|
"aria-describedby": n.isValid === !1 ? `${l.namespace}_invalid_msg` : void 0,
|
|
2205
|
-
onClick: u[0] || (u[0] =
|
|
2205
|
+
onClick: u[0] || (u[0] = B((p) => i.value = !i.value, ["stop"]))
|
|
2206
2206
|
}, [
|
|
2207
2207
|
$("span", {
|
|
2208
2208
|
class: v(l.$attrs["btn-text-classes"]),
|
|
2209
2209
|
innerHTML: l.modelValue.visibleLabel || l.modelValue.label
|
|
2210
|
-
}, null, 10,
|
|
2210
|
+
}, null, 10, Ls),
|
|
2211
2211
|
$("span", Vs, [
|
|
2212
|
-
n.isValid == !1 ? (b(), J(x(
|
|
2212
|
+
n.isValid == !1 ? (b(), J(x(Ss), {
|
|
2213
2213
|
key: 0,
|
|
2214
2214
|
class: "uikit-mr-1",
|
|
2215
2215
|
width: 20,
|
|
2216
2216
|
height: 20
|
|
2217
2217
|
})) : T("", !0),
|
|
2218
|
-
K(x(
|
|
2218
|
+
K(x(Ne), {
|
|
2219
2219
|
class: v(["uikit-transition-transform motion-reduce:uikit-transition-none", i.value && "uikit-rotate-180"]),
|
|
2220
2220
|
width: 18,
|
|
2221
2221
|
height: 18,
|
|
2222
2222
|
"stroke-color": l.isValid ? "#2B5DFF" : l.isValid === !1 ? "#FA4F64" : "#222"
|
|
2223
2223
|
}, null, 8, ["class", "stroke-color"])
|
|
2224
2224
|
])
|
|
2225
|
-
], 10,
|
|
2225
|
+
], 10, Os),
|
|
2226
2226
|
$("fieldset", {
|
|
2227
2227
|
"aria-hidden": "true",
|
|
2228
2228
|
class: v(["uikit-pointer-events-none uikit-absolute -uikit-top-[1px] uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-cursor-pointer uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus-visible:uikit-border-2 peer-focus-visible:uikit-border-w-primary peer-aria-invalid:uikit-border-w-danger", [
|
|
@@ -2238,7 +2238,7 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2238
2238
|
$("span", {
|
|
2239
2239
|
class: v(["uikit-mx-5px", l.modelValue.label ? "uikit-invisible" : "uikit-hidden"]),
|
|
2240
2240
|
innerHTML: l.label
|
|
2241
|
-
}, null, 10,
|
|
2241
|
+
}, null, 10, Bs)
|
|
2242
2242
|
], 2)) : T("", !0)
|
|
2243
2243
|
], 2),
|
|
2244
2244
|
$("ul", {
|
|
@@ -2255,7 +2255,7 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2255
2255
|
{ "uikit-top-[55px]": l.dropdownPosition === "bottom" },
|
|
2256
2256
|
l.$attrs["dropdown-classes"]
|
|
2257
2257
|
]]),
|
|
2258
|
-
onClick: u[1] || (u[1] =
|
|
2258
|
+
onClick: u[1] || (u[1] = B(() => {
|
|
2259
2259
|
}, ["stop"]))
|
|
2260
2260
|
}, [
|
|
2261
2261
|
(b(!0), g(q, null, ee(l.options, (p, k) => (b(), g("li", {
|
|
@@ -2264,24 +2264,24 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2264
2264
|
role: "option",
|
|
2265
2265
|
"aria-selected": x(o) === k,
|
|
2266
2266
|
class: v(["uikit-m-1 uikit-cursor-pointer uikit-px-20px uikit-py-10px aria-selected:uikit-rounded-xs aria-selected:uikit-bg-w-cultured", l.$attrs["dropdown-item-classes"]]),
|
|
2267
|
-
onClick:
|
|
2268
|
-
onMouseover:
|
|
2267
|
+
onClick: B((I) => m(p), ["stop"]),
|
|
2268
|
+
onMouseover: B((I) => o.value = k, ["stop"])
|
|
2269
2269
|
}, [
|
|
2270
|
-
$("label",
|
|
2270
|
+
$("label", Ps, [
|
|
2271
2271
|
$("input", {
|
|
2272
2272
|
tabindex: "-1",
|
|
2273
2273
|
class: "uikit-appearance-none",
|
|
2274
2274
|
name: `${l.namespace}_radio`,
|
|
2275
2275
|
type: "radio",
|
|
2276
2276
|
checked: p.label === l.modelValue.label,
|
|
2277
|
-
onInput:
|
|
2278
|
-
}, null, 40,
|
|
2277
|
+
onInput: B((I) => m(p), ["stop"])
|
|
2278
|
+
}, null, 40, Ms),
|
|
2279
2279
|
$("span", {
|
|
2280
2280
|
innerHTML: p.label
|
|
2281
|
-
}, null, 8,
|
|
2281
|
+
}, null, 8, Rs)
|
|
2282
2282
|
])
|
|
2283
|
-
], 42,
|
|
2284
|
-
], 10,
|
|
2283
|
+
], 42, Is))), 128))
|
|
2284
|
+
], 10, As)
|
|
2285
2285
|
], 2),
|
|
2286
2286
|
l.feedback ? (b(), g(q, { key: 0 }, [
|
|
2287
2287
|
l.feedback.valid ? (b(), g("span", {
|
|
@@ -2290,18 +2290,18 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2290
2290
|
"arial-live": l.$attrs["aria-live"],
|
|
2291
2291
|
class: "uikit-mb-2 uikit-text-sm",
|
|
2292
2292
|
innerHTML: l.isValid ? l.feedback.valid : ""
|
|
2293
|
-
}, null, 8,
|
|
2293
|
+
}, null, 8, js)) : T("", !0),
|
|
2294
2294
|
l.feedback.invalid ? (b(), g("span", {
|
|
2295
2295
|
key: 1,
|
|
2296
2296
|
id: `${l.namespace}_invalid_msg`,
|
|
2297
2297
|
"arial-live": l.$attrs["aria-live"],
|
|
2298
2298
|
class: "uikit-mb-2 uikit-text-sm uikit-text-w-danger",
|
|
2299
2299
|
innerHTML: l.isValid === !1 ? l.feedback.invalid : ""
|
|
2300
|
-
}, null, 8,
|
|
2300
|
+
}, null, 8, Fs)) : T("", !0)
|
|
2301
2301
|
], 64)) : T("", !0)
|
|
2302
2302
|
], 64));
|
|
2303
2303
|
}
|
|
2304
|
-
}),
|
|
2304
|
+
}), Ds = ["id"], zs = /* @__PURE__ */ L({
|
|
2305
2305
|
__name: "BaseAlert",
|
|
2306
2306
|
props: {
|
|
2307
2307
|
text: { default: "" },
|
|
@@ -2316,9 +2316,9 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2316
2316
|
S(t.$slots, "default", {}, () => [
|
|
2317
2317
|
xt(de(t.text), 1)
|
|
2318
2318
|
], !0)
|
|
2319
|
-
], 10,
|
|
2319
|
+
], 10, Ds));
|
|
2320
2320
|
}
|
|
2321
|
-
}),
|
|
2321
|
+
}), jr = /* @__PURE__ */ D(zs, [["__scopeId", "data-v-82501fde"]]), Ns = L({
|
|
2322
2322
|
name: "BaseFloatingLabel",
|
|
2323
2323
|
props: {
|
|
2324
2324
|
labelState: {
|
|
@@ -2339,8 +2339,8 @@ const Rr = /* @__PURE__ */ D(Cs, [["render", Ss]]), mi = (e) => {
|
|
|
2339
2339
|
}
|
|
2340
2340
|
},
|
|
2341
2341
|
emits: ["click"]
|
|
2342
|
-
}),
|
|
2343
|
-
function
|
|
2342
|
+
}), Hs = ["for"], Us = ["innerHTML"];
|
|
2343
|
+
function Ws(e, t, n, i, a, r) {
|
|
2344
2344
|
return b(), g("label", {
|
|
2345
2345
|
for: e.$attrs.for,
|
|
2346
2346
|
class: v(["uikit-absolute uikit-left-15px uikit-h-5", [
|
|
@@ -2348,19 +2348,19 @@ function Xs(e, t, n, i, a, r) {
|
|
|
2348
2348
|
{ "uikit-text-w-secondary": e.disabled },
|
|
2349
2349
|
e.$attrs["label-classes"]
|
|
2350
2350
|
]]),
|
|
2351
|
-
onClick: t[0] || (t[0] =
|
|
2351
|
+
onClick: t[0] || (t[0] = B((s) => e.$emit("click"), ["stop"]))
|
|
2352
2352
|
}, [
|
|
2353
2353
|
$("span", {
|
|
2354
2354
|
class: v(["uikit-text uikit-font-medium uikit-text-w-black", { "!uikit-text-w-secondary": e.disabled }]),
|
|
2355
2355
|
innerHTML: e.labelText
|
|
2356
|
-
}, null, 10,
|
|
2356
|
+
}, null, 10, Us),
|
|
2357
2357
|
e.$attrs.required ? (b(), g("sup", {
|
|
2358
2358
|
key: 0,
|
|
2359
2359
|
class: v(["-uikit-top-[0.3rem] uikit-text uikit-text-w-primary", { "uikit-text-w-secondary": e.disabled }])
|
|
2360
2360
|
}, " *", 2)) : T("", !0)
|
|
2361
|
-
], 10,
|
|
2361
|
+
], 10, Hs);
|
|
2362
2362
|
}
|
|
2363
|
-
const ht = /* @__PURE__ */ D(
|
|
2363
|
+
const ht = /* @__PURE__ */ D(Ns, [["render", Ws], ["__scopeId", "data-v-778ca2a7"]]);
|
|
2364
2364
|
function hi(e) {
|
|
2365
2365
|
const t = F("inline-label");
|
|
2366
2366
|
function n(o) {
|
|
@@ -2390,7 +2390,7 @@ function hi(e) {
|
|
|
2390
2390
|
setFloatingLabel: s
|
|
2391
2391
|
};
|
|
2392
2392
|
}
|
|
2393
|
-
const
|
|
2393
|
+
const Xs = L({
|
|
2394
2394
|
name: "BaseInput",
|
|
2395
2395
|
components: { BaseFloatingLabel: ht },
|
|
2396
2396
|
inheritAttrs: !1,
|
|
@@ -2536,11 +2536,11 @@ const Ys = L({
|
|
|
2536
2536
|
this.type === "password" ? this.type = "text" : this.type === "text" && (this.type = "password");
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
2539
|
-
}),
|
|
2539
|
+
}), Ys = ["id", "data-cy", "name", "autocomplete", "disabled", "aria-labelledby", "readonly", "type", "pattern", "min", "max", "maxlength", "inputmode", "placeholder"], xs = {
|
|
2540
2540
|
key: 0,
|
|
2541
2541
|
class: "uikit-invisible uikit-float-none uikit-mb-2 uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-transition-[max-width] uikit-duration-[50ms] uikit-ease-out"
|
|
2542
|
-
},
|
|
2543
|
-
function
|
|
2542
|
+
}, qs = ["innerHTML"], Ks = ["innerHTML"], Gs = ["innerHTML"], Js = { class: "under-label uikit-absolute uikit-text-12" };
|
|
2543
|
+
function Zs(e, t, n, i, a, r) {
|
|
2544
2544
|
const s = ce("base-floating-label");
|
|
2545
2545
|
return b(), g("div", {
|
|
2546
2546
|
class: v(["input-wrapper uikit-relative uikit-inline-block uikit-w-full [&.has-right-icon.is-invalid_.text-input-icon]:uikit-mr-25px [&.has-right-icon.is-valid_.text-input-icon]:uikit-mr-25px", [
|
|
@@ -2598,14 +2598,14 @@ function Qs(e, t, n, i, a, r) {
|
|
|
2598
2598
|
inputmode: e.$attrs.inputmode,
|
|
2599
2599
|
placeholder: e.$attrs.placeholder,
|
|
2600
2600
|
onClick: t[0] || (t[0] = (...o) => e.handleClick && e.handleClick(...o)),
|
|
2601
|
-
onFocusin: t[1] || (t[1] =
|
|
2602
|
-
onFocusout: t[2] || (t[2] =
|
|
2603
|
-
onInput: t[3] || (t[3] =
|
|
2601
|
+
onFocusin: t[1] || (t[1] = B(() => e.handleFocusIn(), ["stop"])),
|
|
2602
|
+
onFocusout: t[2] || (t[2] = B((o) => !e.keepFloatingLabel && e.handleFocusOut(e.modelValue, !1, e.auto), ["stop"])),
|
|
2603
|
+
onInput: t[3] || (t[3] = B((...o) => e.handleInputChange && e.handleInputChange(...o), ["stop"])),
|
|
2604
2604
|
onKeydown: [
|
|
2605
2605
|
t[4] || (t[4] = vi((o) => e.$emit("keydown-enter-pressed"), ["enter"])),
|
|
2606
2606
|
t[5] || (t[5] = (o) => e.$emit("keydown", o))
|
|
2607
2607
|
]
|
|
2608
|
-
}, null, 42,
|
|
2608
|
+
}, null, 42, Ys),
|
|
2609
2609
|
$("fieldset", {
|
|
2610
2610
|
class: v(["uikit-pointer-events-none uikit-absolute -uikit-top-[5px] uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-h-12 uikit-overflow-hidden uikit-px-2 uikit-py-0 uikit-text-left", [
|
|
2611
2611
|
{
|
|
@@ -2619,7 +2619,7 @@ function Qs(e, t, n, i, a, r) {
|
|
|
2619
2619
|
e.$attrs["fieldset-classes"]
|
|
2620
2620
|
]])
|
|
2621
2621
|
}, [
|
|
2622
|
-
e.labelText ? (b(), g("legend",
|
|
2622
|
+
e.labelText ? (b(), g("legend", xs, [
|
|
2623
2623
|
$("span", {
|
|
2624
2624
|
class: v(["visible-label uikit-opacity-0", [
|
|
2625
2625
|
{ "uikit-mx-5px": e.labelText },
|
|
@@ -2631,7 +2631,7 @@ function Qs(e, t, n, i, a, r) {
|
|
|
2631
2631
|
}
|
|
2632
2632
|
]]),
|
|
2633
2633
|
innerHTML: e.labelText
|
|
2634
|
-
}, null, 10,
|
|
2634
|
+
}, null, 10, qs)
|
|
2635
2635
|
])) : T("", !0)
|
|
2636
2636
|
], 2),
|
|
2637
2637
|
e.labelText ? (b(), J(s, {
|
|
@@ -2649,17 +2649,17 @@ function Qs(e, t, n, i, a, r) {
|
|
|
2649
2649
|
key: `${e.$attrs.id}_invalid_${d}`,
|
|
2650
2650
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-danger",
|
|
2651
2651
|
innerHTML: o
|
|
2652
|
-
}, null, 8,
|
|
2652
|
+
}, null, 8, Ks))), 128)) : e.isValid === !0 ? (b(!0), g(q, { key: 2 }, ee(e.feedbackObj.valid, (o, d) => (b(), g("div", {
|
|
2653
2653
|
key: `${e.$attrs.id}_valid_${d}`,
|
|
2654
2654
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-primary",
|
|
2655
2655
|
innerHTML: o
|
|
2656
|
-
}, null, 8,
|
|
2657
|
-
$("div",
|
|
2656
|
+
}, null, 8, Gs))), 128)) : T("", !0),
|
|
2657
|
+
$("div", Js, [
|
|
2658
2658
|
S(e.$slots, "under-label", {}, void 0, !0)
|
|
2659
2659
|
])
|
|
2660
2660
|
], 2);
|
|
2661
2661
|
}
|
|
2662
|
-
const bi = /* @__PURE__ */ D(
|
|
2662
|
+
const bi = /* @__PURE__ */ D(Xs, [["render", Zs], ["__scopeId", "data-v-90ceb1a9"]]), Qs = L({
|
|
2663
2663
|
name: "BaseIcon",
|
|
2664
2664
|
props: {
|
|
2665
2665
|
lazyLoading: { type: Boolean, default: !1 },
|
|
@@ -2680,8 +2680,8 @@ const bi = /* @__PURE__ */ D(Ys, [["render", Qs], ["__scopeId", "data-v-30a4a23a
|
|
|
2680
2680
|
default: "uikit-mr-5px"
|
|
2681
2681
|
}
|
|
2682
2682
|
}
|
|
2683
|
-
}),
|
|
2684
|
-
function
|
|
2683
|
+
}), _s = ["id", "alt", "src", "width", "height", "loading"];
|
|
2684
|
+
function ea(e, t, n, i, a, r) {
|
|
2685
2685
|
return b(), g("img", {
|
|
2686
2686
|
id: e.$attrs.id,
|
|
2687
2687
|
class: v(["uikit-inline-block", e.iconType, e.iconClass]),
|
|
@@ -2691,12 +2691,12 @@ function ta(e, t, n, i, a, r) {
|
|
|
2691
2691
|
width: e.$attrs.width,
|
|
2692
2692
|
height: e.$attrs.height,
|
|
2693
2693
|
loading: e.lazyLoading ? "lazy" : "eager"
|
|
2694
|
-
}, null, 14,
|
|
2694
|
+
}, null, 14, _s);
|
|
2695
2695
|
}
|
|
2696
|
-
const bt = /* @__PURE__ */ D(
|
|
2696
|
+
const bt = /* @__PURE__ */ D(Qs, [["render", ea], ["__scopeId", "data-v-b74f68b2"]]), ta = {
|
|
2697
2697
|
viewBox: "0 0 128 128",
|
|
2698
2698
|
class: "icon-spin uikit-h-6 uikit-w-6"
|
|
2699
|
-
},
|
|
2699
|
+
}, ia = ["stroke-width"], na = /* @__PURE__ */ L({
|
|
2700
2700
|
__name: "StaticSpinner",
|
|
2701
2701
|
props: {
|
|
2702
2702
|
thickness: { default: 9 },
|
|
@@ -2706,7 +2706,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2706
2706
|
return (t, n) => (b(), g("div", {
|
|
2707
2707
|
class: v(["uikit-m-auto uikit-flex uikit-items-center uikit-justify-center", t.color])
|
|
2708
2708
|
}, [
|
|
2709
|
-
(b(), g("svg",
|
|
2709
|
+
(b(), g("svg", ta, [
|
|
2710
2710
|
$("circle", {
|
|
2711
2711
|
class: "path",
|
|
2712
2712
|
cx: "64",
|
|
@@ -2714,11 +2714,11 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2714
2714
|
r: "42",
|
|
2715
2715
|
fill: "none",
|
|
2716
2716
|
"stroke-width": t.thickness
|
|
2717
|
-
}, null, 8,
|
|
2717
|
+
}, null, 8, ia)
|
|
2718
2718
|
]))
|
|
2719
2719
|
], 2));
|
|
2720
2720
|
}
|
|
2721
|
-
}),
|
|
2721
|
+
}), sa = /* @__PURE__ */ D(na, [["__scopeId", "data-v-8a111551"]]), aa = ["id", "data-cy", "type", "data-active", "disabled", "aria-labelledby"], ra = /* @__PURE__ */ L({
|
|
2722
2722
|
__name: "BaseButton",
|
|
2723
2723
|
props: {
|
|
2724
2724
|
lazyLoadIcon: { type: Boolean, default: !0 },
|
|
@@ -2761,10 +2761,10 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2761
2761
|
"data-active": o.keepActive,
|
|
2762
2762
|
disabled: o.isLoading || o.disabled,
|
|
2763
2763
|
"aria-labelledby": o.$attrs.id,
|
|
2764
|
-
onMouseover: d[0] || (d[0] =
|
|
2764
|
+
onMouseover: d[0] || (d[0] = B((m) => {
|
|
2765
2765
|
a(), o.$emit("mouseover", m);
|
|
2766
2766
|
}, ["stop"])),
|
|
2767
|
-
onMouseout: d[1] || (d[1] =
|
|
2767
|
+
onMouseout: d[1] || (d[1] = B((m) => {
|
|
2768
2768
|
r(), o.$emit("mouseout", m);
|
|
2769
2769
|
}, ["stop"])),
|
|
2770
2770
|
onClick: d[2] || (d[2] = (m) => o.$emit("click", m))
|
|
@@ -2777,16 +2777,16 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2777
2777
|
"lazy-loading": o.lazyLoadIcon
|
|
2778
2778
|
}, null, 8, ["icon-name", "icon-class", "lazy-loading"])) : T("", !0),
|
|
2779
2779
|
o.isLoading ? S(o.$slots, "spinner", { key: 2 }, () => [
|
|
2780
|
-
K(
|
|
2780
|
+
K(sa, {
|
|
2781
2781
|
color: o.btnClass.includes("uikit-btn-light") ? "uikit-stroke-black" : "uikit-stroke-white"
|
|
2782
2782
|
}, null, 8, ["color"])
|
|
2783
2783
|
]) : S(o.$slots, "default", {
|
|
2784
2784
|
key: 1,
|
|
2785
2785
|
hover: n.value
|
|
2786
2786
|
})
|
|
2787
|
-
], 46,
|
|
2787
|
+
], 46, aa));
|
|
2788
2788
|
}
|
|
2789
|
-
}),
|
|
2789
|
+
}), oa = ["innerHTML"], la = /* @__PURE__ */ L({
|
|
2790
2790
|
inheritAttrs: !1,
|
|
2791
2791
|
__name: "BaseDropDown",
|
|
2792
2792
|
props: {
|
|
@@ -2832,7 +2832,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2832
2832
|
n.closeWhenClickedOutside && document && document.body.removeEventListener("click", r);
|
|
2833
2833
|
}), (o, d) => (b(), g("div", {
|
|
2834
2834
|
class: v(["uikit-relative uikit-block", o.$attrs.class]),
|
|
2835
|
-
onClick: d[1] || (d[1] =
|
|
2835
|
+
onClick: d[1] || (d[1] = B((m) => {
|
|
2836
2836
|
i("click"), s();
|
|
2837
2837
|
}, ["stop"]))
|
|
2838
2838
|
}, [
|
|
@@ -2840,7 +2840,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2840
2840
|
toggleDropdown: s,
|
|
2841
2841
|
isOpen: a.value
|
|
2842
2842
|
}, () => [
|
|
2843
|
-
K(
|
|
2843
|
+
K(ra, {
|
|
2844
2844
|
id: o.id,
|
|
2845
2845
|
type: "button",
|
|
2846
2846
|
"data-cy": o.$attrs["data-cy"],
|
|
@@ -2857,8 +2857,8 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2857
2857
|
$("span", {
|
|
2858
2858
|
class: v(["uikit-mr-5px", o.labelClasses]),
|
|
2859
2859
|
innerHTML: o.btnLabel
|
|
2860
|
-
}, null, 10,
|
|
2861
|
-
o.withArrowIcon ? (b(), J(x(
|
|
2860
|
+
}, null, 10, oa),
|
|
2861
|
+
o.withArrowIcon ? (b(), J(x(Ne), {
|
|
2862
2862
|
key: 0,
|
|
2863
2863
|
class: v(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", a.value && "uikit-rotate-180"]),
|
|
2864
2864
|
width: o.arrowWidth,
|
|
@@ -2880,7 +2880,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2880
2880
|
{ "uikit-rounded-b uikit-border-t-0": o.direction === "down" },
|
|
2881
2881
|
{ "uikit-absolute": o.isAbsolute }
|
|
2882
2882
|
]]),
|
|
2883
|
-
onClick: d[0] || (d[0] =
|
|
2883
|
+
onClick: d[0] || (d[0] = B(() => {
|
|
2884
2884
|
}, ["stop"]))
|
|
2885
2885
|
}, {
|
|
2886
2886
|
default: _(() => [
|
|
@@ -2890,7 +2890,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2890
2890
|
}, 8, ["id", "data-cy", "class"]))
|
|
2891
2891
|
], 2));
|
|
2892
2892
|
}
|
|
2893
|
-
}),
|
|
2893
|
+
}), ua = ["innerHTML"], Fr = /* @__PURE__ */ L({
|
|
2894
2894
|
__name: "BaseAutocomplete",
|
|
2895
2895
|
props: /* @__PURE__ */ St({
|
|
2896
2896
|
border: { type: Boolean, default: !0 },
|
|
@@ -2915,7 +2915,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2915
2915
|
const i = e, a = wi(e, "modelValue"), r = n, s = F(""), o = F([]), d = F(null), m = F(!1), f = F(!1), l = F(null), u = W(() => o.value.length);
|
|
2916
2916
|
Se(() => {
|
|
2917
2917
|
var h;
|
|
2918
|
-
s.value = ((h = a.value) == null ? void 0 : h.label) || "", d.value =
|
|
2918
|
+
s.value = ((h = a.value) == null ? void 0 : h.label) || "", d.value = fs({ delay: 300 }, i.onInputChangeCb);
|
|
2919
2919
|
});
|
|
2920
2920
|
const { activeIdx: p, selectedIdx: k } = mi({
|
|
2921
2921
|
optionsLength: u,
|
|
@@ -2963,19 +2963,19 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2963
2963
|
}
|
|
2964
2964
|
i.disableCb || (o.value = await d.value(h), o.value.length && (f.value = !0));
|
|
2965
2965
|
}
|
|
2966
|
-
}, se = (h,
|
|
2967
|
-
i.onOptionSelectedCb && i.onOptionSelectedCb(h), m.value = !0, s.value = h.label, a.value = h, f.value = !1, k.value =
|
|
2966
|
+
}, se = (h, V) => {
|
|
2967
|
+
i.onOptionSelectedCb && i.onOptionSelectedCb(h), m.value = !0, s.value = h.label, a.value = h, f.value = !1, k.value = V;
|
|
2968
2968
|
}, w = () => {
|
|
2969
2969
|
o.value.length && i.keepState !== "closed" && (f.value = !0);
|
|
2970
2970
|
};
|
|
2971
|
-
return ie(a, (h,
|
|
2972
|
-
h !==
|
|
2971
|
+
return ie(a, (h, V) => {
|
|
2972
|
+
h !== V && (s.value = (h == null ? void 0 : h.label) || "");
|
|
2973
2973
|
}), ie(k, (h) => {
|
|
2974
2974
|
var M;
|
|
2975
2975
|
if (h === -1)
|
|
2976
2976
|
return;
|
|
2977
|
-
const
|
|
2978
|
-
m.value &&
|
|
2977
|
+
const V = o.value[h];
|
|
2978
|
+
m.value && V.label === ((M = a.value) == null ? void 0 : M.label) || se(V, h);
|
|
2979
2979
|
}), ie(
|
|
2980
2980
|
() => i.manualClose,
|
|
2981
2981
|
(h) => {
|
|
@@ -2986,7 +2986,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
2986
2986
|
var h;
|
|
2987
2987
|
(h = l.value) == null || h.select();
|
|
2988
2988
|
}
|
|
2989
|
-
}), (h,
|
|
2989
|
+
}), (h, V) => (b(), J(la, {
|
|
2990
2990
|
class: v(h.$attrs["root-classes"]),
|
|
2991
2991
|
"data-cy": `ac_${h.$attrs.id}`,
|
|
2992
2992
|
"dropdown-element": "ul",
|
|
@@ -3003,8 +3003,8 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
3003
3003
|
],
|
|
3004
3004
|
"open-dropdown": f.value,
|
|
3005
3005
|
"keep-state": o.value.length ? "" : "closed",
|
|
3006
|
-
"onUpdate:dropdownState":
|
|
3007
|
-
onClick:
|
|
3006
|
+
"onUpdate:dropdownState": V[0] || (V[0] = (M) => f.value = M),
|
|
3007
|
+
onClick: V[1] || (V[1] = (M) => {
|
|
3008
3008
|
r("click"), w();
|
|
3009
3009
|
})
|
|
3010
3010
|
}, {
|
|
@@ -3051,7 +3051,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
3051
3051
|
default: _(() => [
|
|
3052
3052
|
$("span", {
|
|
3053
3053
|
innerHTML: M.label
|
|
3054
|
-
}, null, 8,
|
|
3054
|
+
}, null, 8, ua)
|
|
3055
3055
|
]),
|
|
3056
3056
|
_: 2
|
|
3057
3057
|
}, 1032, ["active", "onClick", "onMouseover"]))), 128))
|
|
@@ -3059,7 +3059,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
3059
3059
|
_: 3
|
|
3060
3060
|
}, 8, ["class", "data-cy", "dropdown-classes", "open-dropdown", "keep-state"]));
|
|
3061
3061
|
}
|
|
3062
|
-
}),
|
|
3062
|
+
}), da = ["id"], ca = /* @__PURE__ */ L({
|
|
3063
3063
|
inheritAttrs: !1,
|
|
3064
3064
|
__name: "BaseBadge",
|
|
3065
3065
|
props: {
|
|
@@ -3071,9 +3071,9 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
3071
3071
|
class: v(["uikit-badge uikit-shadow-sm", t.badgeClass, t.$attrs.class])
|
|
3072
3072
|
}, [
|
|
3073
3073
|
S(t.$slots, "default", {}, void 0, !0)
|
|
3074
|
-
], 10,
|
|
3074
|
+
], 10, da));
|
|
3075
3075
|
}
|
|
3076
|
-
}),
|
|
3076
|
+
}), Dr = /* @__PURE__ */ D(ca, [["__scopeId", "data-v-76913a36"]]), pa = /* @__PURE__ */ L({
|
|
3077
3077
|
inheritAttrs: !1,
|
|
3078
3078
|
__name: "BaseCard",
|
|
3079
3079
|
props: {
|
|
@@ -3100,7 +3100,7 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
3100
3100
|
], 2)
|
|
3101
3101
|
], 2));
|
|
3102
3102
|
}
|
|
3103
|
-
}), zr = /* @__PURE__ */ D(
|
|
3103
|
+
}), zr = /* @__PURE__ */ D(pa, [["__scopeId", "data-v-14528c55"]]), fa = L({
|
|
3104
3104
|
name: "BaseComplexToggle",
|
|
3105
3105
|
props: {
|
|
3106
3106
|
labels: {
|
|
@@ -3178,8 +3178,8 @@ const bt = /* @__PURE__ */ D(_s, [["render", ta], ["__scopeId", "data-v-e98a91a0
|
|
|
3178
3178
|
this.$emit("update:modelValue", this.labels.rightToggle.label);
|
|
3179
3179
|
}
|
|
3180
3180
|
}
|
|
3181
|
-
}),
|
|
3182
|
-
function
|
|
3181
|
+
}), ma = ["id", "data-cy"], ha = ["data-cy"], ba = ["src", "alt"], ka = ["innerHTML"], ga = ["data-cy"], va = ["src", "alt"], ya = ["innerHTML"];
|
|
3182
|
+
function wa(e, t, n, i, a, r) {
|
|
3183
3183
|
return b(), g("div", {
|
|
3184
3184
|
id: e.$attrs.id || "",
|
|
3185
3185
|
"data-cy": e.$attrs["data-cy"] || "",
|
|
@@ -3189,7 +3189,7 @@ function $a(e, t, n, i, a, r) {
|
|
|
3189
3189
|
ref: "leftBtn",
|
|
3190
3190
|
"data-cy": `bct-left-btn${e.labels.leftToggle.label ? `-${e.labels.leftToggle.label}` : ""}`,
|
|
3191
3191
|
class: "left-button uikit-flex uikit-flex-1 uikit-items-center uikit-justify-center hover:uikit-cursor-pointer",
|
|
3192
|
-
onClick: t[0] || (t[0] =
|
|
3192
|
+
onClick: t[0] || (t[0] = B((s) => e.handleToggle("left-btn"), ["stop"]))
|
|
3193
3193
|
}, [
|
|
3194
3194
|
e.labels.leftToggle.icon ? (b(), g("img", {
|
|
3195
3195
|
key: 0,
|
|
@@ -3198,18 +3198,18 @@ function $a(e, t, n, i, a, r) {
|
|
|
3198
3198
|
alt: e.labels.leftToggle.icon.alt,
|
|
3199
3199
|
width: "15",
|
|
3200
3200
|
height: "15"
|
|
3201
|
-
}, null, 8,
|
|
3201
|
+
}, null, 8, ba)) : T("", !0),
|
|
3202
3202
|
$("span", {
|
|
3203
3203
|
ref: "leftToggleLabel",
|
|
3204
3204
|
class: "base-complex-toggle-label uikit-relative uikit-z-10",
|
|
3205
3205
|
innerHTML: e.labels.leftToggle.label
|
|
3206
|
-
}, null, 8,
|
|
3207
|
-
], 8,
|
|
3206
|
+
}, null, 8, ka)
|
|
3207
|
+
], 8, ha),
|
|
3208
3208
|
$("div", {
|
|
3209
3209
|
ref: "rightBtn",
|
|
3210
3210
|
"data-cy": `bct-right-btn${e.labels.rightToggle.label ? `-${e.labels.rightToggle.label}` : ""}`,
|
|
3211
3211
|
class: "right-button uikit-flex uikit-flex-1 uikit-items-center uikit-justify-center hover:uikit-cursor-pointer",
|
|
3212
|
-
onClick: t[1] || (t[1] =
|
|
3212
|
+
onClick: t[1] || (t[1] = B((s) => e.handleToggle("right-btn"), ["stop"]))
|
|
3213
3213
|
}, [
|
|
3214
3214
|
e.labels.rightToggle.icon ? (b(), g("img", {
|
|
3215
3215
|
key: 0,
|
|
@@ -3218,13 +3218,13 @@ function $a(e, t, n, i, a, r) {
|
|
|
3218
3218
|
alt: e.labels.rightToggle.icon.alt,
|
|
3219
3219
|
width: "15",
|
|
3220
3220
|
height: "15"
|
|
3221
|
-
}, null, 8,
|
|
3221
|
+
}, null, 8, va)) : T("", !0),
|
|
3222
3222
|
$("span", {
|
|
3223
3223
|
ref: "rightToggleLabel",
|
|
3224
3224
|
class: "base-complex-toggle-label uikit-relative uikit-z-10",
|
|
3225
3225
|
innerHTML: e.labels.rightToggle.label
|
|
3226
|
-
}, null, 8,
|
|
3227
|
-
], 8,
|
|
3226
|
+
}, null, 8, ya)
|
|
3227
|
+
], 8, ga),
|
|
3228
3228
|
$("div", {
|
|
3229
3229
|
ref: "dynamicBg",
|
|
3230
3230
|
class: v(["uikit-absolute uikit-transition-all uikit-duration-200 uikit-ease-out", [
|
|
@@ -3233,9 +3233,9 @@ function $a(e, t, n, i, a, r) {
|
|
|
3233
3233
|
e.mode
|
|
3234
3234
|
]])
|
|
3235
3235
|
}, null, 2)
|
|
3236
|
-
], 10,
|
|
3236
|
+
], 10, ma);
|
|
3237
3237
|
}
|
|
3238
|
-
const
|
|
3238
|
+
const Nr = /* @__PURE__ */ D(fa, [["render", wa], ["__scopeId", "data-v-33d27f1d"]]), $a = L({
|
|
3239
3239
|
name: "BaseNavItem",
|
|
3240
3240
|
components: { BaseIcon: bt },
|
|
3241
3241
|
props: {
|
|
@@ -3264,8 +3264,8 @@ const Hr = /* @__PURE__ */ D(ma, [["render", $a], ["__scopeId", "data-v-eddae877
|
|
|
3264
3264
|
e ? t.classList.add("active") : t.classList.remove("active");
|
|
3265
3265
|
}
|
|
3266
3266
|
}
|
|
3267
|
-
}),
|
|
3268
|
-
function
|
|
3267
|
+
}), Ca = ["id"];
|
|
3268
|
+
function Ea(e, t, n, i, a, r) {
|
|
3269
3269
|
const s = ce("base-icon");
|
|
3270
3270
|
return b(), g("li", {
|
|
3271
3271
|
id: `${e.$attrs.id}`,
|
|
@@ -3284,9 +3284,9 @@ function Sa(e, t, n, i, a, r) {
|
|
|
3284
3284
|
class: "after:uikit-absolute after:uikit-bottom-0 after:uikit-left-0 after:uikit-w-full after:uikit-content-[''] group-hover/tabs:after:uikit-border-b-2 group-hover/tabs:after:uikit-border-b-w-primary group-hover/tabs:after:[border-bottom-style:solid]"
|
|
3285
3285
|
}, de(e.text), 513)
|
|
3286
3286
|
], !0)
|
|
3287
|
-
], 10,
|
|
3287
|
+
], 10, Ca);
|
|
3288
3288
|
}
|
|
3289
|
-
const
|
|
3289
|
+
const Sa = /* @__PURE__ */ D($a, [["render", Ea], ["__scopeId", "data-v-4e340740"]]), Ta = L({
|
|
3290
3290
|
name: "BasePagination",
|
|
3291
3291
|
components: { BaseIcon: bt },
|
|
3292
3292
|
props: {
|
|
@@ -3326,7 +3326,7 @@ const Ta = /* @__PURE__ */ D(Ca, [["render", Sa], ["__scopeId", "data-v-9e206ee4
|
|
|
3326
3326
|
return Math.ceil((this.count + this.additionalCount) / this.limit);
|
|
3327
3327
|
},
|
|
3328
3328
|
getFormattedPages() {
|
|
3329
|
-
return
|
|
3329
|
+
return zt(
|
|
3330
3330
|
Math.ceil((this.count + this.additionalCount) / this.limit)
|
|
3331
3331
|
);
|
|
3332
3332
|
},
|
|
@@ -3351,7 +3351,7 @@ const Ta = /* @__PURE__ */ D(Ca, [["render", Sa], ["__scopeId", "data-v-9e206ee4
|
|
|
3351
3351
|
return t;
|
|
3352
3352
|
},
|
|
3353
3353
|
formatInteger(e) {
|
|
3354
|
-
return
|
|
3354
|
+
return zt(e);
|
|
3355
3355
|
},
|
|
3356
3356
|
selectPage(e) {
|
|
3357
3357
|
this.$emit(
|
|
@@ -3363,20 +3363,20 @@ const Ta = /* @__PURE__ */ D(Ca, [["render", Sa], ["__scopeId", "data-v-9e206ee4
|
|
|
3363
3363
|
return this.count;
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
|
-
}),
|
|
3366
|
+
}), Oa = { "aria-label": "Page navigation" }, La = {
|
|
3367
3367
|
key: 0,
|
|
3368
3368
|
class: "uikit-text-14 uikit-flex uikit-list-none uikit-content-center uikit-gap-4 uikit-pl-0 uikit-font-semibold sm:uikit-gap-5"
|
|
3369
3369
|
}, Va = {
|
|
3370
3370
|
key: 2,
|
|
3371
3371
|
class: "font-weight-bold uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
3372
|
-
},
|
|
3372
|
+
}, Ba = ["onClick"], Aa = { class: "selected uikit-pointer-events-none uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-bg-w-primary uikit-p-5px uikit-text-white hover:uikit-bg-w-primary hover:uikit-text-white" }, Ia = ["onClick"], Pa = {
|
|
3373
3373
|
key: 3,
|
|
3374
3374
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
3375
3375
|
};
|
|
3376
|
-
function
|
|
3376
|
+
function Ma(e, t, n, i, a, r) {
|
|
3377
3377
|
const s = ce("baseIcon");
|
|
3378
|
-
return b(), g("nav",
|
|
3379
|
-
e.getCount() > 0 ? (b(), g("ul",
|
|
3378
|
+
return b(), g("nav", Oa, [
|
|
3379
|
+
e.getCount() > 0 ? (b(), g("ul", La, [
|
|
3380
3380
|
e.getCurrentPage() > 1 ? (b(), g("li", {
|
|
3381
3381
|
key: 0,
|
|
3382
3382
|
class: "arrow-button prev-page uikit-h-30x uikit-flex uikit-min-w-[30px] uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary md:uikit-mr-5 [&_>_img]:hover:uikit-brightness-0 [&_>_img]:hover:uikit-invert",
|
|
@@ -3400,14 +3400,14 @@ function Ra(e, t, n, i, a, r) {
|
|
|
3400
3400
|
key: o,
|
|
3401
3401
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white",
|
|
3402
3402
|
onClick: (d) => e.selectPage(o)
|
|
3403
|
-
}, de(e.formatInteger(o)), 9,
|
|
3404
|
-
$("li",
|
|
3403
|
+
}, de(e.formatInteger(o)), 9, Ba))), 128)),
|
|
3404
|
+
$("li", Aa, de(e.getCurrentPage()), 1),
|
|
3405
3405
|
(b(!0), g(q, null, ee(e.getNextPages(), (o) => (b(), g("li", {
|
|
3406
3406
|
key: o,
|
|
3407
3407
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white",
|
|
3408
3408
|
onClick: (d) => e.selectPage(o)
|
|
3409
|
-
}, de(e.formatInteger(o)), 9,
|
|
3410
|
-
e.getCurrentPage() < e.getPages() - e.siblings - 1 ? (b(), g("li",
|
|
3409
|
+
}, de(e.formatInteger(o)), 9, Ia))), 128)),
|
|
3410
|
+
e.getCurrentPage() < e.getPages() - e.siblings - 1 ? (b(), g("li", Pa, " ... ")) : T("", !0),
|
|
3411
3411
|
e.getCurrentPage() < e.getPages() ? (b(), g("li", {
|
|
3412
3412
|
key: 4,
|
|
3413
3413
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white",
|
|
@@ -3429,20 +3429,20 @@ function Ra(e, t, n, i, a, r) {
|
|
|
3429
3429
|
])) : T("", !0)
|
|
3430
3430
|
]);
|
|
3431
3431
|
}
|
|
3432
|
-
const
|
|
3432
|
+
const Hr = /* @__PURE__ */ D(Ta, [["render", Ma]]), Ra = L({
|
|
3433
3433
|
name: "BasePaper"
|
|
3434
|
-
}),
|
|
3435
|
-
function
|
|
3436
|
-
return b(), g("div",
|
|
3434
|
+
}), ja = { class: "base-paper" };
|
|
3435
|
+
function Fa(e, t, n, i, a, r) {
|
|
3436
|
+
return b(), g("div", ja, [
|
|
3437
3437
|
S(e.$slots, "content", {}, void 0, !0)
|
|
3438
3438
|
]);
|
|
3439
3439
|
}
|
|
3440
|
-
const
|
|
3441
|
-
function
|
|
3440
|
+
const Ur = /* @__PURE__ */ D(Ra, [["render", Fa], ["__scopeId", "data-v-7f4a78ca"]]);
|
|
3441
|
+
function Nt(e, t) {
|
|
3442
3442
|
const n = parseInt(e.value, 10), i = parseInt(t.value, 10);
|
|
3443
3443
|
return [n, i];
|
|
3444
3444
|
}
|
|
3445
|
-
const
|
|
3445
|
+
const Da = (e) => e.minPos + (Math.log(e.value) - e.minlval) / e.scale, za = (e) => Math.exp(
|
|
3446
3446
|
(e.position - e.minPos) * e.scale + e.minlval
|
|
3447
3447
|
);
|
|
3448
3448
|
function Ce(e, t, n, i, a) {
|
|
@@ -3459,7 +3459,7 @@ function Ce(e, t, n, i, a) {
|
|
|
3459
3459
|
function tt(e, t) {
|
|
3460
3460
|
e <= 0 ? t.style.zIndex = "2" : t.style.zIndex = "0";
|
|
3461
3461
|
}
|
|
3462
|
-
const
|
|
3462
|
+
const Na = L({
|
|
3463
3463
|
name: "BaseSlider",
|
|
3464
3464
|
components: { BaseInput: bi },
|
|
3465
3465
|
props: {
|
|
@@ -3544,7 +3544,7 @@ const Ha = L({
|
|
|
3544
3544
|
getCurrentPosition(e) {
|
|
3545
3545
|
if (this.type === "logarithmic")
|
|
3546
3546
|
return e = e || 1, parseInt(
|
|
3547
|
-
|
|
3547
|
+
Da({
|
|
3548
3548
|
value: e,
|
|
3549
3549
|
minPos: this.leftSliderLimit,
|
|
3550
3550
|
minlval: this.minlval,
|
|
@@ -3606,7 +3606,7 @@ const Ha = L({
|
|
|
3606
3606
|
controlFromSlider(e, t) {
|
|
3607
3607
|
if (!this.toSlider)
|
|
3608
3608
|
return;
|
|
3609
|
-
const [n, i] =
|
|
3609
|
+
const [n, i] = Nt(e, t), a = this.getCurrentValue(n);
|
|
3610
3610
|
Ce(
|
|
3611
3611
|
n,
|
|
3612
3612
|
{
|
|
@@ -3622,7 +3622,7 @@ const Ha = L({
|
|
|
3622
3622
|
controlToSlider(e, t) {
|
|
3623
3623
|
if (!this.toSlider)
|
|
3624
3624
|
return;
|
|
3625
|
-
const [n, i] =
|
|
3625
|
+
const [n, i] = Nt(e, t), a = this.getCurrentValue(i);
|
|
3626
3626
|
Ce(
|
|
3627
3627
|
this.sliderMinValue,
|
|
3628
3628
|
{
|
|
@@ -3636,11 +3636,11 @@ const Ha = L({
|
|
|
3636
3636
|
), tt(parseInt(this.toSlider.value, 10), t), n <= i ? (this.sliderMaxValue = i, this.maxValue = a) : (t.value = `${n}`, this.sliderMaxValue = n, this.maxValue = n);
|
|
3637
3637
|
}
|
|
3638
3638
|
}
|
|
3639
|
-
}),
|
|
3640
|
-
function
|
|
3639
|
+
}), Ha = { class: "range_container" }, Ua = { class: "sliders_control" }, Wa = ["value", "min", "max", "step"], Xa = ["value", "min", "max", "step"], Ya = { class: "form_control row" }, xa = { class: "pb-15 pb-sm-0 col-sm-6 col-xl-4" }, qa = { class: "col-sm-6 col-xl-4" };
|
|
3640
|
+
function Ka(e, t, n, i, a, r) {
|
|
3641
3641
|
const s = ce("base-input");
|
|
3642
|
-
return b(), g("div",
|
|
3643
|
-
$("div",
|
|
3642
|
+
return b(), g("div", Ha, [
|
|
3643
|
+
$("div", Ua, [
|
|
3644
3644
|
$("input", {
|
|
3645
3645
|
ref: "fromSlider",
|
|
3646
3646
|
class: "fromSlider",
|
|
@@ -3649,11 +3649,11 @@ function Ga(e, t, n, i, a, r) {
|
|
|
3649
3649
|
min: e.leftSliderLimit,
|
|
3650
3650
|
max: e.rightSliderLimit,
|
|
3651
3651
|
step: e.$attrs.step,
|
|
3652
|
-
onInput: t[0] || (t[0] =
|
|
3652
|
+
onInput: t[0] || (t[0] = B((o) => e.controlFromSlider(
|
|
3653
3653
|
e.fromSlider,
|
|
3654
3654
|
e.toSlider
|
|
3655
3655
|
), ["stop"]))
|
|
3656
|
-
}, null, 40,
|
|
3656
|
+
}, null, 40, Wa),
|
|
3657
3657
|
$("input", {
|
|
3658
3658
|
ref: "toSlider",
|
|
3659
3659
|
class: "toSlider",
|
|
@@ -3662,14 +3662,14 @@ function Ga(e, t, n, i, a, r) {
|
|
|
3662
3662
|
min: e.leftSliderLimit,
|
|
3663
3663
|
max: e.rightSliderLimit,
|
|
3664
3664
|
step: e.$attrs.step,
|
|
3665
|
-
onInput: t[1] || (t[1] =
|
|
3665
|
+
onInput: t[1] || (t[1] = B((o) => e.controlToSlider(
|
|
3666
3666
|
e.fromSlider,
|
|
3667
3667
|
e.toSlider
|
|
3668
3668
|
), ["stop"]))
|
|
3669
|
-
}, null, 40,
|
|
3669
|
+
}, null, 40, Xa)
|
|
3670
3670
|
]),
|
|
3671
|
-
$("div",
|
|
3672
|
-
$("div",
|
|
3671
|
+
$("div", Ya, [
|
|
3672
|
+
$("div", xa, [
|
|
3673
3673
|
K(s, {
|
|
3674
3674
|
"label-text": "Min",
|
|
3675
3675
|
type: "text",
|
|
@@ -3679,7 +3679,7 @@ function Ga(e, t, n, i, a, r) {
|
|
|
3679
3679
|
"onUpdate:modelValue": t[2] || (t[2] = (o) => e.handleInputChange("min-input", o))
|
|
3680
3680
|
}, null, 8, ["model-value"])
|
|
3681
3681
|
]),
|
|
3682
|
-
$("div",
|
|
3682
|
+
$("div", qa, [
|
|
3683
3683
|
K(s, {
|
|
3684
3684
|
"label-text": "Max",
|
|
3685
3685
|
type: "text",
|
|
@@ -3692,9 +3692,9 @@ function Ga(e, t, n, i, a, r) {
|
|
|
3692
3692
|
])
|
|
3693
3693
|
]);
|
|
3694
3694
|
}
|
|
3695
|
-
const
|
|
3695
|
+
const Wr = /* @__PURE__ */ D(Na, [["render", Ka], ["__scopeId", "data-v-66326ce0"]]), Ga = L({
|
|
3696
3696
|
name: "BaseTab",
|
|
3697
|
-
components: { BaseNavItem:
|
|
3697
|
+
components: { BaseNavItem: Sa },
|
|
3698
3698
|
props: {
|
|
3699
3699
|
navTabsCustomClass: {
|
|
3700
3700
|
type: String
|
|
@@ -3732,7 +3732,7 @@ const Xr = /* @__PURE__ */ D(Ha, [["render", Ga], ["__scopeId", "data-v-f3e3ba75
|
|
|
3732
3732
|
}
|
|
3733
3733
|
}
|
|
3734
3734
|
});
|
|
3735
|
-
function
|
|
3735
|
+
function Ja(e, t, n, i, a, r) {
|
|
3736
3736
|
const s = ce("base-nav-item");
|
|
3737
3737
|
return b(), g("ul", {
|
|
3738
3738
|
class: v(["uikit-inline-flex uikit-flex-wrap uikit-gap-5", [e.navTabsCustomClass]])
|
|
@@ -3763,7 +3763,7 @@ function Za(e, t, n, i, a, r) {
|
|
|
3763
3763
|
])
|
|
3764
3764
|
], 2);
|
|
3765
3765
|
}
|
|
3766
|
-
const
|
|
3766
|
+
const Xr = /* @__PURE__ */ D(Ga, [["render", Ja]]), Za = L({
|
|
3767
3767
|
name: "BaseTextarea",
|
|
3768
3768
|
components: { BaseFloatingLabel: ht },
|
|
3769
3769
|
inheritAttrs: !1,
|
|
@@ -3825,11 +3825,11 @@ const Yr = /* @__PURE__ */ D(Ja, [["render", Za]]), Qa = L({
|
|
|
3825
3825
|
});
|
|
3826
3826
|
}
|
|
3827
3827
|
}
|
|
3828
|
-
}),
|
|
3828
|
+
}), Qa = ["id", "data-cy", "rows", "disabled", "aria-labelledby", "innerHTML"], _a = {
|
|
3829
3829
|
key: 0,
|
|
3830
3830
|
class: "uikit-visible uikit-float-none uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-duration-[50s] uikit-ease-out"
|
|
3831
|
-
},
|
|
3832
|
-
function
|
|
3831
|
+
}, er = ["innerHTML"], tr = ["innerHTML"];
|
|
3832
|
+
function ir(e, t, n, i, a, r) {
|
|
3833
3833
|
const s = ce("base-floating-label");
|
|
3834
3834
|
return b(), g("div", {
|
|
3835
3835
|
class: v(e.$attrs["wrapper-classes"])
|
|
@@ -3852,11 +3852,11 @@ function nr(e, t, n, i, a, r) {
|
|
|
3852
3852
|
rows: e.$attrs.rows,
|
|
3853
3853
|
disabled: e.$attrs.disabled,
|
|
3854
3854
|
"aria-labelledby": e.$attrs.id,
|
|
3855
|
-
onFocusin: t[0] || (t[0] =
|
|
3856
|
-
onFocusout: t[1] || (t[1] =
|
|
3857
|
-
onInput: t[2] || (t[2] =
|
|
3855
|
+
onFocusin: t[0] || (t[0] = B(() => e.handleFocusIn(), ["stop"])),
|
|
3856
|
+
onFocusout: t[1] || (t[1] = B((o) => e.handleFocusOut(`${e.modelValue}`.trim() || e.value), ["stop"])),
|
|
3857
|
+
onInput: t[2] || (t[2] = B((...o) => e.handleOnChange && e.handleOnChange(...o), ["stop"])),
|
|
3858
3858
|
innerHTML: e.modelValue
|
|
3859
|
-
}, null, 42,
|
|
3859
|
+
}, null, 42, Qa),
|
|
3860
3860
|
$("fieldset", {
|
|
3861
3861
|
class: v(["uikit-pointer-events-none uikit-absolute -uikit-top-5px uikit-bottom-5px uikit-left-0 uikit-right-0 uikit-m-0 uikit-min-w-0 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-text-start uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus/fieldset:uikit-border-2 peer-focus/fieldset:uikit-border-w-primary", [
|
|
3862
3862
|
{ "is-invalid": e.isValid === !1, "is-valid": e.isValid },
|
|
@@ -3865,7 +3865,7 @@ function nr(e, t, n, i, a, r) {
|
|
|
3865
3865
|
{ "uikit-border-w-secondary": e.isValid === null }
|
|
3866
3866
|
]])
|
|
3867
3867
|
}, [
|
|
3868
|
-
e.labelText ? (b(), g("legend",
|
|
3868
|
+
e.labelText ? (b(), g("legend", _a, [
|
|
3869
3869
|
$("span", {
|
|
3870
3870
|
class: v(["uikit-px-5px uikit-opacity-0", [
|
|
3871
3871
|
{
|
|
@@ -3876,7 +3876,7 @@ function nr(e, t, n, i, a, r) {
|
|
|
3876
3876
|
}
|
|
3877
3877
|
]]),
|
|
3878
3878
|
innerHTML: e.labelText
|
|
3879
|
-
}, null, 10,
|
|
3879
|
+
}, null, 10, er)
|
|
3880
3880
|
])) : T("", !0)
|
|
3881
3881
|
], 2),
|
|
3882
3882
|
K(s, {
|
|
@@ -3894,10 +3894,10 @@ function nr(e, t, n, i, a, r) {
|
|
|
3894
3894
|
e.isValid === !1 ? "uikit-mt-1 uikit-text-12 uikit-text-w-danger" : "uikit-mt-1 uikit-text-12 uikit-text-w-primary"
|
|
3895
3895
|
),
|
|
3896
3896
|
innerHTML: e.isValid === !1 ? e.feedback.invalid : e.feedback.valid
|
|
3897
|
-
}, null, 10,
|
|
3897
|
+
}, null, 10, tr)) : T("", !0)
|
|
3898
3898
|
], 2);
|
|
3899
3899
|
}
|
|
3900
|
-
const
|
|
3900
|
+
const Yr = /* @__PURE__ */ D(Za, [["render", ir], ["__scopeId", "data-v-f2936c06"]]), nr = L({
|
|
3901
3901
|
name: "BaseToggle",
|
|
3902
3902
|
inheritAttrs: !1,
|
|
3903
3903
|
props: {
|
|
@@ -3911,31 +3911,31 @@ const xr = /* @__PURE__ */ D(Qa, [["render", nr], ["__scopeId", "data-v-5e7fac48
|
|
|
3911
3911
|
this.$emit("update:modelValue", e.checked);
|
|
3912
3912
|
}
|
|
3913
3913
|
}
|
|
3914
|
-
}),
|
|
3915
|
-
function
|
|
3914
|
+
}), sr = (e) => ($i("data-v-42a43348"), e = e(), Ci(), e), ar = { class: "switch uikit-relative uikit-inline-block uikit-min-w-[40px]" }, rr = ["data-cy", "checked"], or = /* @__PURE__ */ sr(() => /* @__PURE__ */ $("span", { class: "slider round uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-cursor-pointer uikit-bg-w-lavender uikit-duration-300 before:uikit-absolute before:uikit-bottom-0 before:uikit-left-0 before:uikit-h-[22px] before:uikit-w-[22px] before:uikit-rounded-circle before:uikit-border before:uikit-border-solid before:uikit-border-w-secondary before:uikit-bg-white before:uikit-shadow-sm before:uikit-duration-300 before:uikit-content-[''] peer-checked/toggle:uikit-bg-w-primary" }, null, -1)), lr = ["innerHTML"];
|
|
3915
|
+
function ur(e, t, n, i, a, r) {
|
|
3916
3916
|
return b(), g("div", {
|
|
3917
3917
|
class: v(["switch-container uikit-inline-block uikit-items-center", e.$attrs.class])
|
|
3918
3918
|
}, [
|
|
3919
3919
|
S(e.$slots, "leftLabel", {}, void 0, !0),
|
|
3920
|
-
$("label",
|
|
3920
|
+
$("label", ar, [
|
|
3921
3921
|
$("input", {
|
|
3922
3922
|
"data-cy": e.$attrs["data-cy"] ?? "",
|
|
3923
3923
|
class: "uikit-peer/toggle uikit-h-0 uikit-w-0 uikit-opacity-0",
|
|
3924
3924
|
type: "checkbox",
|
|
3925
3925
|
checked: e.modelValue,
|
|
3926
|
-
onInput: t[0] || (t[0] =
|
|
3927
|
-
}, null, 40,
|
|
3928
|
-
|
|
3926
|
+
onInput: t[0] || (t[0] = B((s) => e.handleToggle(s), ["stop"]))
|
|
3927
|
+
}, null, 40, rr),
|
|
3928
|
+
or
|
|
3929
3929
|
]),
|
|
3930
3930
|
e.withRightLabel ? S(e.$slots, "rightLabel", { key: 0 }, () => [
|
|
3931
3931
|
$("span", {
|
|
3932
3932
|
class: "uikit-ml-10px",
|
|
3933
3933
|
innerHTML: e.label
|
|
3934
|
-
}, null, 8,
|
|
3934
|
+
}, null, 8, lr)
|
|
3935
3935
|
], !0) : T("", !0)
|
|
3936
3936
|
], 2);
|
|
3937
3937
|
}
|
|
3938
|
-
const
|
|
3938
|
+
const xr = /* @__PURE__ */ D(nr, [["render", ur], ["__scopeId", "data-v-42a43348"]]), dr = L({
|
|
3939
3939
|
name: "BaseTooltip",
|
|
3940
3940
|
inheritAttrs: !1,
|
|
3941
3941
|
props: {
|
|
@@ -3962,7 +3962,7 @@ const qr = /* @__PURE__ */ D(sr, [["render", dr], ["__scopeId", "data-v-7c314d22
|
|
|
3962
3962
|
}
|
|
3963
3963
|
}
|
|
3964
3964
|
});
|
|
3965
|
-
function
|
|
3965
|
+
function cr(e, t, n, i, a, r) {
|
|
3966
3966
|
return b(), g("div", {
|
|
3967
3967
|
class: v(["base-tooltip", e.$attrs.class])
|
|
3968
3968
|
}, [
|
|
@@ -3982,7 +3982,7 @@ function pr(e, t, n, i, a, r) {
|
|
|
3982
3982
|
], 2)
|
|
3983
3983
|
], 2);
|
|
3984
3984
|
}
|
|
3985
|
-
const
|
|
3985
|
+
const qr = /* @__PURE__ */ D(dr, [["render", cr], ["__scopeId", "data-v-bf60f4f9"]]), pr = L({
|
|
3986
3986
|
name: "BaseUploadFile",
|
|
3987
3987
|
components: {
|
|
3988
3988
|
BaseFloatingLabel: ht
|
|
@@ -4012,18 +4012,18 @@ const Kr = /* @__PURE__ */ D(cr, [["render", pr], ["__scopeId", "data-v-c72b1d2a
|
|
|
4012
4012
|
t != null && t.length && (this.filename = t[0].name, this.$emit("uploaded", t[0]));
|
|
4013
4013
|
}
|
|
4014
4014
|
}
|
|
4015
|
-
}),
|
|
4016
|
-
function
|
|
4015
|
+
}), fr = { class: "uikit-pointer-events-none uikit-absolute -uikit-top-5px uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-h-[47px] uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-dashed uikit-border-w-secondary uikit-px-2 uikit-py-0 uikit-text-start" }, mr = { class: "uikit-invisible uikit-float-none uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text" }, hr = ["innerHTML"], br = { class: "upload-file-input uikit-flex uikit-h-[42px] uikit-w-full uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-xs uikit-bg-w-lavender" }, kr = ["id", "multiple", "accept"];
|
|
4016
|
+
function gr(e, t, n, i, a, r) {
|
|
4017
4017
|
const s = ce("BaseFloatingLabel");
|
|
4018
4018
|
return b(), g("div", {
|
|
4019
4019
|
class: v(["base-upload-file-wrapper uikit-relative", [{ "mt-10": e.withMargin }, e.$attrs.class]])
|
|
4020
4020
|
}, [
|
|
4021
|
-
$("fieldset",
|
|
4022
|
-
$("legend",
|
|
4021
|
+
$("fieldset", fr, [
|
|
4022
|
+
$("legend", mr, [
|
|
4023
4023
|
$("span", {
|
|
4024
4024
|
class: "uikit-visible uikit-inline-block uikit-px-5px uikit-opacity-0",
|
|
4025
4025
|
innerHTML: e.labelText
|
|
4026
|
-
}, null, 8,
|
|
4026
|
+
}, null, 8, hr)
|
|
4027
4027
|
])
|
|
4028
4028
|
]),
|
|
4029
4029
|
e.labelText ? (b(), J(s, {
|
|
@@ -4032,7 +4032,7 @@ function vr(e, t, n, i, a, r) {
|
|
|
4032
4032
|
"label-text": e.labelText,
|
|
4033
4033
|
"label-state": "floating-label"
|
|
4034
4034
|
}, null, 8, ["class", "label-text"])) : T("", !0),
|
|
4035
|
-
$("label",
|
|
4035
|
+
$("label", br, [
|
|
4036
4036
|
$("input", {
|
|
4037
4037
|
id: e.$attrs.id,
|
|
4038
4038
|
multiple: e.$attrs.multiple,
|
|
@@ -4040,12 +4040,12 @@ function vr(e, t, n, i, a, r) {
|
|
|
4040
4040
|
class: "uikit-hidden",
|
|
4041
4041
|
accept: e.$attrs.accept,
|
|
4042
4042
|
onInput: t[0] || (t[0] = (...o) => e.handleInput && e.handleInput(...o))
|
|
4043
|
-
}, null, 40,
|
|
4043
|
+
}, null, 40, kr),
|
|
4044
4044
|
S(e.$slots, "label", { filename: e.filename })
|
|
4045
4045
|
])
|
|
4046
4046
|
], 2);
|
|
4047
4047
|
}
|
|
4048
|
-
const
|
|
4048
|
+
const Kr = /* @__PURE__ */ D(pr, [["render", gr]]), Gr = /* @__PURE__ */ L({
|
|
4049
4049
|
__name: "IntersectionObservable",
|
|
4050
4050
|
props: {
|
|
4051
4051
|
observer: {},
|
|
@@ -4053,7 +4053,7 @@ const Gr = /* @__PURE__ */ D(fr, [["render", vr]]), Jr = /* @__PURE__ */ L({
|
|
|
4053
4053
|
},
|
|
4054
4054
|
setup(e) {
|
|
4055
4055
|
const t = e, n = F(null);
|
|
4056
|
-
return
|
|
4056
|
+
return ze(() => {
|
|
4057
4057
|
!t.observer || !n.value || t.observer.observe(n.value);
|
|
4058
4058
|
}), (i, a) => i.isVisible ? S(i.$slots, "observable", { key: 1 }) : (b(), g("div", {
|
|
4059
4059
|
key: 0,
|
|
@@ -4064,7 +4064,7 @@ const Gr = /* @__PURE__ */ D(fr, [["render", vr]]), Jr = /* @__PURE__ */ L({
|
|
|
4064
4064
|
S(i.$slots, "observable")
|
|
4065
4065
|
], 2));
|
|
4066
4066
|
}
|
|
4067
|
-
}),
|
|
4067
|
+
}), Jr = /* @__PURE__ */ L({
|
|
4068
4068
|
__name: "IntersectionObserver",
|
|
4069
4069
|
props: {
|
|
4070
4070
|
observeOnce: { type: Boolean, default: !0 },
|
|
@@ -4175,11 +4175,11 @@ const ki = {
|
|
|
4175
4175
|
search: ""
|
|
4176
4176
|
}
|
|
4177
4177
|
};
|
|
4178
|
-
function
|
|
4178
|
+
function vr() {
|
|
4179
4179
|
const e = typeof document < "u" ? document : {};
|
|
4180
4180
|
return kt(e, ki), e;
|
|
4181
4181
|
}
|
|
4182
|
-
const
|
|
4182
|
+
const yr = {
|
|
4183
4183
|
document: ki,
|
|
4184
4184
|
navigator: {
|
|
4185
4185
|
userAgent: ""
|
|
@@ -4239,18 +4239,18 @@ const wr = {
|
|
|
4239
4239
|
};
|
|
4240
4240
|
function Le() {
|
|
4241
4241
|
const e = typeof window < "u" ? window : {};
|
|
4242
|
-
return kt(e,
|
|
4242
|
+
return kt(e, yr), e;
|
|
4243
4243
|
}
|
|
4244
|
-
function
|
|
4244
|
+
function wr(e) {
|
|
4245
4245
|
return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
|
|
4246
4246
|
}
|
|
4247
|
-
function
|
|
4247
|
+
function Zr(e, t) {
|
|
4248
4248
|
return t === void 0 && (t = 0), setTimeout(e, t);
|
|
4249
4249
|
}
|
|
4250
|
-
function
|
|
4250
|
+
function Qr() {
|
|
4251
4251
|
return Date.now();
|
|
4252
4252
|
}
|
|
4253
|
-
function
|
|
4253
|
+
function $r(e) {
|
|
4254
4254
|
const t = Le();
|
|
4255
4255
|
let n;
|
|
4256
4256
|
return t.getComputedStyle && (n = t.getComputedStyle(e, null)), !n && e.currentStyle && (n = e.currentStyle), n || (n = e.style), n;
|
|
@@ -4259,28 +4259,28 @@ function Ut(e, t) {
|
|
|
4259
4259
|
t === void 0 && (t = "x");
|
|
4260
4260
|
const n = Le();
|
|
4261
4261
|
let i, a, r;
|
|
4262
|
-
const s =
|
|
4262
|
+
const s = $r(e);
|
|
4263
4263
|
return n.WebKitCSSMatrix ? (a = s.transform || s.webkitTransform, a.split(",").length > 6 && (a = a.split(", ").map((o) => o.replace(",", ".")).join(", ")), r = new n.WebKitCSSMatrix(a === "none" ? "" : a)) : (r = s.MozTransform || s.OTransform || s.MsTransform || s.msTransform || s.transform || s.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), i = r.toString().split(",")), t === "x" && (n.WebKitCSSMatrix ? a = r.m41 : i.length === 16 ? a = parseFloat(i[12]) : a = parseFloat(i[4])), t === "y" && (n.WebKitCSSMatrix ? a = r.m42 : i.length === 16 ? a = parseFloat(i[13]) : a = parseFloat(i[5])), a || 0;
|
|
4264
4264
|
}
|
|
4265
|
-
function
|
|
4265
|
+
function _r(e) {
|
|
4266
4266
|
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
4267
4267
|
}
|
|
4268
4268
|
function Wt(e, t) {
|
|
4269
4269
|
return t === void 0 && (t = ""), [...e.children].filter((n) => n.matches(t));
|
|
4270
4270
|
}
|
|
4271
|
-
function
|
|
4271
|
+
function eo(e, t) {
|
|
4272
4272
|
t === void 0 && (t = []);
|
|
4273
4273
|
const n = document.createElement(e);
|
|
4274
|
-
return n.classList.add(...Array.isArray(t) ? t :
|
|
4274
|
+
return n.classList.add(...Array.isArray(t) ? t : wr(t)), n;
|
|
4275
4275
|
}
|
|
4276
4276
|
function Xt(e) {
|
|
4277
|
-
const t = Le(), n =
|
|
4277
|
+
const t = Le(), n = vr(), i = e.getBoundingClientRect(), a = n.body, r = e.clientTop || a.clientTop || 0, s = e.clientLeft || a.clientLeft || 0, o = e === t ? t.scrollY : e.scrollTop, d = e === t ? t.scrollX : e.scrollLeft;
|
|
4278
4278
|
return {
|
|
4279
4279
|
top: i.top + o - r,
|
|
4280
4280
|
left: i.left + d - s
|
|
4281
4281
|
};
|
|
4282
4282
|
}
|
|
4283
|
-
function
|
|
4283
|
+
function to(e) {
|
|
4284
4284
|
let t = e, n;
|
|
4285
4285
|
if (t) {
|
|
4286
4286
|
for (n = 0; (t = t.previousSibling) !== null; )
|
|
@@ -4295,20 +4295,20 @@ function it(e, t) {
|
|
|
4295
4295
|
t ? i.matches(t) && n.push(i) : n.push(i), i = i.parentElement;
|
|
4296
4296
|
return n;
|
|
4297
4297
|
}
|
|
4298
|
-
function
|
|
4298
|
+
function io(e, t) {
|
|
4299
4299
|
function n(i) {
|
|
4300
4300
|
i.target === e && (t.call(e, i), e.removeEventListener("transitionend", n));
|
|
4301
4301
|
}
|
|
4302
4302
|
t && e.addEventListener("transitionend", n);
|
|
4303
4303
|
}
|
|
4304
|
-
function
|
|
4304
|
+
function no(e, t, n) {
|
|
4305
4305
|
const i = Le();
|
|
4306
4306
|
return n ? e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(i.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(i.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom")) : e.offsetWidth;
|
|
4307
4307
|
}
|
|
4308
|
-
function
|
|
4308
|
+
function so(e) {
|
|
4309
4309
|
return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
|
|
4310
4310
|
}
|
|
4311
|
-
function
|
|
4311
|
+
function Cr(e) {
|
|
4312
4312
|
let {
|
|
4313
4313
|
swiper: t,
|
|
4314
4314
|
extendParams: n,
|
|
@@ -4435,7 +4435,7 @@ function Er(e) {
|
|
|
4435
4435
|
const C = t.params.zoom, E = t.zoom, j = f.findIndex((G) => G.pointerId === y.pointerId);
|
|
4436
4436
|
j >= 0 && (f[j] = y), !(f.length < 2) && (m = !0, l.scaleMove = I(), l.imageEl && (E.scale = l.scaleMove / l.scaleStart * s, E.scale > l.maxRatio && (E.scale = l.maxRatio - 1 + (E.scale - l.maxRatio + 1) ** 0.5), E.scale < C.minRatio && (E.scale = C.minRatio + 1 - (C.minRatio - E.scale + 1) ** 0.5), l.imageEl.style.transform = `translate3d(0,0,0) scale(${E.scale})`));
|
|
4437
4437
|
}
|
|
4438
|
-
function
|
|
4438
|
+
function V(y) {
|
|
4439
4439
|
if (!se(y) || y.pointerType === "mouse" && y.type === "pointerout")
|
|
4440
4440
|
return;
|
|
4441
4441
|
const C = t.params.zoom, E = t.zoom, j = f.findIndex((G) => G.pointerId === y.pointerId);
|
|
@@ -4490,10 +4490,10 @@ function Er(e) {
|
|
|
4490
4490
|
p.x !== 0 && (C = Math.abs((G - u.currentX) / p.x)), p.y !== 0 && (E = Math.abs((fe - u.currentY) / p.y));
|
|
4491
4491
|
const be = Math.max(C, E);
|
|
4492
4492
|
u.currentX = G, u.currentY = fe;
|
|
4493
|
-
const
|
|
4494
|
-
u.minX = Math.min(l.slideWidth / 2 -
|
|
4493
|
+
const Ve = u.width * y.scale, ae = u.height * y.scale;
|
|
4494
|
+
u.minX = Math.min(l.slideWidth / 2 - Ve / 2, 0), u.maxX = -u.minX, u.minY = Math.min(l.slideHeight / 2 - ae / 2, 0), u.maxY = -u.minY, u.currentX = Math.max(Math.min(u.currentX, u.maxX), u.minX), u.currentY = Math.max(Math.min(u.currentY, u.maxY), u.minY), l.imageWrapEl.style.transitionDuration = `${be}ms`, l.imageWrapEl.style.transform = `translate3d(${u.currentX}px, ${u.currentY}px,0)`;
|
|
4495
4495
|
}
|
|
4496
|
-
function
|
|
4496
|
+
function N() {
|
|
4497
4497
|
const y = t.zoom;
|
|
4498
4498
|
l.slideEl && t.activeIndex !== t.slides.indexOf(l.slideEl) && (l.imageEl && (l.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), l.imageWrapEl && (l.imageWrapEl.style.transform = "translate3d(0,0,0)"), l.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`), y.scale = 1, s = 1, l.slideEl = void 0, l.imageEl = void 0, l.imageWrapEl = void 0, l.originX = 0, l.originY = 0);
|
|
4499
4499
|
}
|
|
@@ -4507,12 +4507,12 @@ function Er(e) {
|
|
|
4507
4507
|
if (!l.imageEl || !l.imageWrapEl)
|
|
4508
4508
|
return;
|
|
4509
4509
|
t.params.cssMode && (t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.touchAction = "none"), l.slideEl.classList.add(`${E.zoomedSlideClass}`);
|
|
4510
|
-
let j, G, pe, fe, be,
|
|
4510
|
+
let j, G, pe, fe, be, Ve, ae, me, yt, wt, $t, Ct, Be, Ae, qe, Ke, Ge, Je;
|
|
4511
4511
|
typeof u.touchesStart.x > "u" && y ? (j = y.pageX, G = y.pageY) : (j = u.touchesStart.x, G = u.touchesStart.y);
|
|
4512
4512
|
const ye = typeof y == "number" ? y : null;
|
|
4513
4513
|
s === 1 && ye && (j = void 0, G = void 0);
|
|
4514
4514
|
const Et = P();
|
|
4515
|
-
C.scale = ye || Et, s = ye || Et, y && !(s === 1 && ye) ? (Ge = l.slideEl.offsetWidth, Je = l.slideEl.offsetHeight, pe = Xt(l.slideEl).left + r.scrollX, fe = Xt(l.slideEl).top + r.scrollY, be = pe + Ge / 2 - j,
|
|
4515
|
+
C.scale = ye || Et, s = ye || Et, y && !(s === 1 && ye) ? (Ge = l.slideEl.offsetWidth, Je = l.slideEl.offsetHeight, pe = Xt(l.slideEl).left + r.scrollX, fe = Xt(l.slideEl).top + r.scrollY, be = pe + Ge / 2 - j, Ve = fe + Je / 2 - G, yt = l.imageEl.offsetWidth, wt = l.imageEl.offsetHeight, $t = yt * C.scale, Ct = wt * C.scale, Be = Math.min(Ge / 2 - $t / 2, 0), Ae = Math.min(Je / 2 - Ct / 2, 0), qe = -Be, Ke = -Ae, ae = be * C.scale, me = Ve * C.scale, ae < Be && (ae = Be), ae > qe && (ae = qe), me < Ae && (me = Ae), me > Ke && (me = Ke)) : (ae = 0, me = 0), ye && C.scale === 1 && (l.originX = 0, l.originY = 0), l.imageWrapEl.style.transitionDuration = "300ms", l.imageWrapEl.style.transform = `translate3d(${ae}px, ${me}px,0)`, l.imageEl.style.transitionDuration = "300ms", l.imageEl.style.transform = `translate3d(0,0,0) scale(${C.scale})`;
|
|
4516
4516
|
}
|
|
4517
4517
|
function R() {
|
|
4518
4518
|
const y = t.zoom, C = t.params.zoom;
|
|
@@ -4550,7 +4550,7 @@ function Er(e) {
|
|
|
4550
4550
|
activeListenerWithCapture: E
|
|
4551
4551
|
} = he();
|
|
4552
4552
|
t.wrapperEl.addEventListener("pointerdown", A, C), t.wrapperEl.addEventListener("pointermove", h, E), ["pointerup", "pointercancel", "pointerout"].forEach((j) => {
|
|
4553
|
-
t.wrapperEl.addEventListener(j,
|
|
4553
|
+
t.wrapperEl.addEventListener(j, V, C);
|
|
4554
4554
|
}), t.wrapperEl.addEventListener("pointermove", X, E);
|
|
4555
4555
|
}
|
|
4556
4556
|
function vt() {
|
|
@@ -4563,7 +4563,7 @@ function Er(e) {
|
|
|
4563
4563
|
activeListenerWithCapture: E
|
|
4564
4564
|
} = he();
|
|
4565
4565
|
t.wrapperEl.removeEventListener("pointerdown", A, C), t.wrapperEl.removeEventListener("pointermove", h, E), ["pointerup", "pointercancel", "pointerout"].forEach((j) => {
|
|
4566
|
-
t.wrapperEl.removeEventListener(j,
|
|
4566
|
+
t.wrapperEl.removeEventListener(j, V, C);
|
|
4567
4567
|
}), t.wrapperEl.removeEventListener("pointermove", X, E);
|
|
4568
4568
|
}
|
|
4569
4569
|
i("init", () => {
|
|
@@ -4577,9 +4577,9 @@ function Er(e) {
|
|
|
4577
4577
|
}), i("doubleTap", (y, C) => {
|
|
4578
4578
|
!t.animating && t.params.zoom.enabled && t.zoom.enabled && t.params.zoom.toggle && H(C);
|
|
4579
4579
|
}), i("transitionEnd", () => {
|
|
4580
|
-
t.zoom.enabled && t.params.zoom.enabled &&
|
|
4580
|
+
t.zoom.enabled && t.params.zoom.enabled && N();
|
|
4581
4581
|
}), i("slideChange", () => {
|
|
4582
|
-
t.zoom.enabled && t.params.zoom.enabled && t.params.cssMode &&
|
|
4582
|
+
t.zoom.enabled && t.params.zoom.enabled && t.params.cssMode && N();
|
|
4583
4583
|
}), Object.assign(t.zoom, {
|
|
4584
4584
|
enable: gt,
|
|
4585
4585
|
disable: vt,
|
|
@@ -4588,7 +4588,7 @@ function Er(e) {
|
|
|
4588
4588
|
toggle: H
|
|
4589
4589
|
});
|
|
4590
4590
|
}
|
|
4591
|
-
const
|
|
4591
|
+
const Er = ["id"], Sr = ["id", "data-cy"], Tr = ["data-idx", "loading", "alt", "width", "height", "onLoad"], Or = ["id"], Lr = ["loading", "alt"], ao = /* @__PURE__ */ L({
|
|
4592
4592
|
inheritAttrs: !1,
|
|
4593
4593
|
__name: "SwiperCarousel",
|
|
4594
4594
|
props: {
|
|
@@ -4604,7 +4604,7 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4604
4604
|
emits: ["moved", "click", "firstSlideLoaded"],
|
|
4605
4605
|
setup(e, { expose: t, emit: n }) {
|
|
4606
4606
|
const i = e, a = n, r = lt({
|
|
4607
|
-
swiperParams: { modules: [
|
|
4607
|
+
swiperParams: { modules: [Cr] },
|
|
4608
4608
|
swiper: null,
|
|
4609
4609
|
initCarousel: !1
|
|
4610
4610
|
}), s = F(), o = W(() => {
|
|
@@ -4631,26 +4631,26 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4631
4631
|
return ((w = i.swiperOptions) == null ? void 0 : w.effect) || "slider";
|
|
4632
4632
|
}
|
|
4633
4633
|
), k = () => {
|
|
4634
|
-
i.swiperOptions &&
|
|
4634
|
+
i.swiperOptions && as(i.swiperOptions, r.swiperParams);
|
|
4635
4635
|
}, I = (w, A = -1) => {
|
|
4636
4636
|
if (!w.images)
|
|
4637
4637
|
return { src: w.src || "" };
|
|
4638
|
-
let h = "",
|
|
4638
|
+
let h = "", V = "", M = "";
|
|
4639
4639
|
if (i.artDirection) {
|
|
4640
|
-
for (const
|
|
4641
|
-
const { mq: Y, width: R } = i.artDirection[
|
|
4640
|
+
for (const N in i.artDirection) {
|
|
4641
|
+
const { mq: Y, width: R } = i.artDirection[N];
|
|
4642
4642
|
R && (M += M ? `,${Y} ${parseInt(R)}px` : `${Y} ${parseInt(R)}px`);
|
|
4643
4643
|
}
|
|
4644
|
-
|
|
4644
|
+
V = w.images.reduce((N, Y, R) => {
|
|
4645
4645
|
const H = Object.values(i.artDirection)[R];
|
|
4646
|
-
return !H || !H.width || (
|
|
4646
|
+
return !H || !H.width || (N += N ? `, ${Y.storagePath} ${H.width}` : `${Y.storagePath} ${H.width}`), N;
|
|
4647
4647
|
}, ""), h = w.images[0].storagePath;
|
|
4648
4648
|
} else {
|
|
4649
|
-
let
|
|
4650
|
-
w.images.length > 3 ?
|
|
4649
|
+
let N = w.images;
|
|
4650
|
+
w.images.length > 3 ? N = w.images.slice(2, 5) : i.shiftFirstImage && (N[0] = N[1]), V = N.reduce((Y, R, H) => (H === 0 && (h = `${R.storagePath}`), H > 0 && (Y += ", "), `${Y}${R.storagePath} ${H + 1}x`), "");
|
|
4651
4651
|
}
|
|
4652
|
-
const X = h, le =
|
|
4653
|
-
return typeof o.value == "number" && A > o.value ? (h = "",
|
|
4652
|
+
const X = h, le = V;
|
|
4653
|
+
return typeof o.value == "number" && A > o.value ? (h = "", V = "", { sizes: M, "data-src": X, "data-srcset": le }) : { src: h, srcset: V, sizes: M };
|
|
4654
4654
|
}, P = [], Q = (w) => {
|
|
4655
4655
|
if (typeof o.value == "string")
|
|
4656
4656
|
return;
|
|
@@ -4671,15 +4671,15 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4671
4671
|
(A = oe.value) == null || A.setAttribute("data-first-slide-loaded", "true"), a("firstSlideLoaded");
|
|
4672
4672
|
});
|
|
4673
4673
|
};
|
|
4674
|
-
return
|
|
4675
|
-
var h,
|
|
4674
|
+
return ze(async () => {
|
|
4675
|
+
var h, V, M, X, le, N, Y;
|
|
4676
4676
|
if (k(), m.value) {
|
|
4677
|
-
const { Keyboard: R } = await import("./index-
|
|
4677
|
+
const { Keyboard: R } = await import("./index-1oh628Cu.js");
|
|
4678
4678
|
(h = r.swiperParams.modules) == null || h.push(R), r.swiperParams.keyboard = i.swiperOptions.keyboard;
|
|
4679
4679
|
}
|
|
4680
4680
|
if (l.value) {
|
|
4681
|
-
const { Pagination: R } = await import("./index-
|
|
4682
|
-
(
|
|
4681
|
+
const { Pagination: R } = await import("./index-1oh628Cu.js");
|
|
4682
|
+
(V = r.swiperParams.modules) == null || V.push(R), await import("./pagination-l0sNRNKZ.js"), r.swiperParams.pagination = {
|
|
4683
4683
|
el: ".swiper-pagination",
|
|
4684
4684
|
renderFraction: (H, he) => `<div class="tw-rounded-xs tw-border-w-black tw-border tw-border-solid tw-px-3 tw-bg-white tw-pt-[3px] tw-pb-[3px]">
|
|
4685
4685
|
<span data-cy="swiper-pagination-current" class="${H}"></span>
|
|
@@ -4690,7 +4690,7 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4690
4690
|
};
|
|
4691
4691
|
}
|
|
4692
4692
|
if (f.value) {
|
|
4693
|
-
const { Navigation: R } = await import("./index-
|
|
4693
|
+
const { Navigation: R } = await import("./index-1oh628Cu.js");
|
|
4694
4694
|
(M = r.swiperParams.modules) == null || M.push(R), await import("./navigation-l0sNRNKZ.js");
|
|
4695
4695
|
const H = {
|
|
4696
4696
|
...i.swiperOptions.navigation.nextEl ?? {
|
|
@@ -4706,7 +4706,7 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4706
4706
|
};
|
|
4707
4707
|
}
|
|
4708
4708
|
if (u.value) {
|
|
4709
|
-
const { Autoplay: R } = await import("./index-
|
|
4709
|
+
const { Autoplay: R } = await import("./index-1oh628Cu.js");
|
|
4710
4710
|
(X = r.swiperParams.modules) == null || X.push(R), await import("./autoplay-l0sNRNKZ.js"), r.swiperParams.autoplay = i.swiperOptions.autoplay;
|
|
4711
4711
|
}
|
|
4712
4712
|
const w = {
|
|
@@ -4719,8 +4719,8 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4719
4719
|
};
|
|
4720
4720
|
let A = null;
|
|
4721
4721
|
if (i.thumbSwiperOptions) {
|
|
4722
|
-
const { Thumbs: R, FreeMode: H, Controller: he } = await import("./index-
|
|
4723
|
-
(le = r.swiperParams.modules) == null || le.push(R), (
|
|
4722
|
+
const { Thumbs: R, FreeMode: H, Controller: he } = await import("./index-1oh628Cu.js");
|
|
4723
|
+
(le = r.swiperParams.modules) == null || le.push(R), (N = r.swiperParams.modules) == null || N.push(he), await import("./thumbs-l0sNRNKZ.js"), await import("./free-mode-l0sNRNKZ.js"), await import("./controller-l0sNRNKZ.js"), A = new Ot(`#thumb_${i.id}`, {
|
|
4724
4724
|
...i.thumbSwiperOptions,
|
|
4725
4725
|
modules: [H]
|
|
4726
4726
|
}), w.thumbs = {
|
|
@@ -4749,8 +4749,8 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4749
4749
|
onClick: A[0] || (A[0] = (h) => a("click"))
|
|
4750
4750
|
}, [
|
|
4751
4751
|
S(w.$slots, "swiper_slide", {}, () => [
|
|
4752
|
-
(b(!0), g(q, null, ee(w.images, (h,
|
|
4753
|
-
key: `swiper_${w.id}_${
|
|
4752
|
+
(b(!0), g(q, null, ee(w.images, (h, V) => (b(), g("div", {
|
|
4753
|
+
key: `swiper_${w.id}_${V}`,
|
|
4754
4754
|
class: v(["swiper-slide", w.$attrs["swiper-slide-classes"]])
|
|
4755
4755
|
}, [
|
|
4756
4756
|
$("div", {
|
|
@@ -4763,15 +4763,15 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4763
4763
|
P.push(M);
|
|
4764
4764
|
},
|
|
4765
4765
|
class: ["disable-select", [w.$attrs["slide-img-classes"] || h.classes]],
|
|
4766
|
-
"data-idx": `${w.id}-slide-img-${
|
|
4767
|
-
}, I(h,
|
|
4768
|
-
loading: w.lazyLoadImages ||
|
|
4766
|
+
"data-idx": `${w.id}-slide-img-${V}`
|
|
4767
|
+
}, I(h, V), {
|
|
4768
|
+
loading: w.lazyLoadImages || V >= o.value ? "lazy" : void 0,
|
|
4769
4769
|
alt: h.alt,
|
|
4770
4770
|
itemprop: "image",
|
|
4771
4771
|
width: h.width,
|
|
4772
4772
|
height: h.height,
|
|
4773
|
-
onLoad: (M) => se(
|
|
4774
|
-
}), null, 16,
|
|
4773
|
+
onLoad: (M) => se(V)
|
|
4774
|
+
}), null, 16, Tr))
|
|
4775
4775
|
], 2)
|
|
4776
4776
|
], 2))), 128))
|
|
4777
4777
|
])
|
|
@@ -4779,24 +4779,24 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4779
4779
|
l.value ? (b(), g("div", {
|
|
4780
4780
|
key: 0,
|
|
4781
4781
|
class: v([w.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:tw-flex [&.swiper-pagination-fraction]:tw-justify-center"]),
|
|
4782
|
-
onClick: A[1] || (A[1] =
|
|
4782
|
+
onClick: A[1] || (A[1] = B(() => {
|
|
4783
4783
|
}, ["stop"]))
|
|
4784
4784
|
}, null, 2)) : T("", !0),
|
|
4785
4785
|
f.value ? (b(), g(q, { key: 1 }, [
|
|
4786
4786
|
$("div", {
|
|
4787
4787
|
class: "swiper-button-prev",
|
|
4788
4788
|
"data-cy": "swiper-button-prev",
|
|
4789
|
-
onClick: A[2] || (A[2] =
|
|
4789
|
+
onClick: A[2] || (A[2] = B(() => {
|
|
4790
4790
|
}, ["stop"]))
|
|
4791
4791
|
}),
|
|
4792
4792
|
$("div", {
|
|
4793
4793
|
class: "swiper-button-next",
|
|
4794
4794
|
"data-cy": "swiper-button-next",
|
|
4795
|
-
onClick: A[3] || (A[3] =
|
|
4795
|
+
onClick: A[3] || (A[3] = B(() => {
|
|
4796
4796
|
}, ["stop"]))
|
|
4797
4797
|
})
|
|
4798
4798
|
], 64)) : T("", !0)
|
|
4799
|
-
], 10,
|
|
4799
|
+
], 10, Sr),
|
|
4800
4800
|
w.thumbSwiperOptions ? (b(), g("div", {
|
|
4801
4801
|
key: 0,
|
|
4802
4802
|
id: `thumb_${w.id}`,
|
|
@@ -4806,66 +4806,66 @@ const Sr = ["id"], Tr = ["id", "data-cy"], Or = ["data-idx", "loading", "alt", "
|
|
|
4806
4806
|
$("div", {
|
|
4807
4807
|
class: v(["swiper-wrapper", w.$attrs["thumb-swiper-wrapper-classes"]])
|
|
4808
4808
|
}, [
|
|
4809
|
-
(b(!0), g(q, null, ee(w.images, (h,
|
|
4810
|
-
key: `thumb_${w.id}_${
|
|
4809
|
+
(b(!0), g(q, null, ee(w.images, (h, V) => (b(), g("div", {
|
|
4810
|
+
key: `thumb_${w.id}_${V}`,
|
|
4811
4811
|
class: v(["swiper-slide", w.$attrs["thumb-img-wrapper-classes"]])
|
|
4812
4812
|
}, [
|
|
4813
4813
|
$("img", Tt({
|
|
4814
4814
|
class: w.$attrs["thumb-img-classes"]
|
|
4815
4815
|
}, I(h), {
|
|
4816
|
-
loading:
|
|
4816
|
+
loading: V >= d.value ? "lazy" : void 0,
|
|
4817
4817
|
alt: h.alt
|
|
4818
|
-
}), null, 16,
|
|
4818
|
+
}), null, 16, Lr)
|
|
4819
4819
|
], 2))), 128))
|
|
4820
4820
|
], 2)
|
|
4821
|
-
], 10,
|
|
4822
|
-
], 10,
|
|
4821
|
+
], 10, Or)) : T("", !0)
|
|
4822
|
+
], 10, Er));
|
|
4823
4823
|
}
|
|
4824
4824
|
});
|
|
4825
4825
|
export {
|
|
4826
4826
|
bi as A,
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4827
|
+
jr as B,
|
|
4828
|
+
Sa as C,
|
|
4829
|
+
Hr as D,
|
|
4830
|
+
Ur as E,
|
|
4831
|
+
Wr as F,
|
|
4832
|
+
Xr as G,
|
|
4833
|
+
Yr as H,
|
|
4834
|
+
xr as I,
|
|
4835
|
+
qr as J,
|
|
4836
|
+
Kr as K,
|
|
4837
4837
|
Ui as L,
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4838
|
+
Pr as M,
|
|
4839
|
+
Mr as N,
|
|
4840
|
+
ao as O,
|
|
4841
|
+
Gr as P,
|
|
4842
|
+
Jr as Q,
|
|
4843
|
+
ws as R,
|
|
4844
|
+
Cr as Z,
|
|
4845
|
+
Ar as _,
|
|
4846
4846
|
Le as a,
|
|
4847
4847
|
Xt as b,
|
|
4848
4848
|
Wt as c,
|
|
4849
|
-
|
|
4849
|
+
eo as d,
|
|
4850
4850
|
it as e,
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4851
|
+
no as f,
|
|
4852
|
+
vr as g,
|
|
4853
|
+
to as h,
|
|
4854
|
+
io as i,
|
|
4855
|
+
_r as j,
|
|
4856
|
+
Qr as k,
|
|
4857
4857
|
Oi as l,
|
|
4858
|
-
|
|
4859
|
-
|
|
4858
|
+
so as m,
|
|
4859
|
+
Zr as n,
|
|
4860
4860
|
Ai as o,
|
|
4861
|
-
|
|
4861
|
+
Ir as p,
|
|
4862
4862
|
Fi as q,
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4863
|
+
Fr as r,
|
|
4864
|
+
Dr as s,
|
|
4865
|
+
ra as t,
|
|
4866
|
+
Rr as u,
|
|
4867
|
+
Nr as v,
|
|
4868
|
+
la as w,
|
|
4869
4869
|
ht as x,
|
|
4870
4870
|
zr as y,
|
|
4871
4871
|
bt as z
|