@ulu/frontend-vue 0.1.3-beta.15 → 0.1.3-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/frontend-vue.js +491 -469
- package/dist/types/components/systems/scroll-anchors/UluScrollAnchorsHeadlessSection.vue.d.ts +3 -0
- package/dist/types/components/systems/scroll-anchors/UluScrollAnchorsHeadlessSection.vue.d.ts.map +1 -1
- package/dist/types/components/systems/scroll-anchors/UluScrollAnchorsSection.vue.d.ts.map +1 -1
- package/dist/types/components/systems/scroll-anchors/useScrollAnchorSection.d.ts.map +1 -1
- package/dist/types/components/systems/scroll-anchors/useScrollAnchors.d.ts.map +1 -1
- package/lib/components/systems/scroll-anchors/UluScrollAnchorsHeadlessSection.vue +21 -7
- package/lib/components/systems/scroll-anchors/UluScrollAnchorsSection.vue +15 -4
- package/lib/components/systems/scroll-anchors/useScrollAnchorSection.js +5 -1
- package/lib/components/systems/scroll-anchors/useScrollAnchors.js +9 -3
- package/package.json +1 -1
package/dist/frontend-vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as lt, inject as Oe, ref as O, computed as
|
|
1
|
+
import { reactive as lt, inject as Oe, ref as O, computed as _, watch as te, toRef as xs, createElementBlock as f, openBlock as u, normalizeStyle as Y, unref as S, normalizeClass as m, createCommentVNode as p, createBlock as w, resolveDynamicComponent as j, normalizeProps as de, mergeProps as le, Fragment as U, createTextVNode as T, toDisplayString as k, Teleport as yt, createVNode as x, resolveDirective as Nn, withDirectives as ze, createElementVNode as h, renderSlot as g, withKeys as Wn, nextTick as Ke, markRaw as Ue, watchEffect as pt, defineAsyncComponent as Bs, toRefs as Es, toValue as ct, resolveComponent as ee, withModifiers as Rs, useSlots as Dn, renderList as R, TransitionGroup as qn, withCtx as $, onMounted as Ee, onBeforeUnmount as bt, createSlots as Te, isRef as Is, hasInjectionContext as js, getCurrentInstance as Fs, onDeactivated as Ms, onActivated as Ps, onUnmounted as _t, guardReactiveProps as ve, h as zs, watchPostEffect as Ls, vModelText as Vs, vShow as zt, provide as Bt } from "vue";
|
|
2
2
|
import { useFloating as Hs, autoUpdate as Ns, inline as Ws, offset as Ds, flip as qs, shift as Xs, arrow as Gs } from "@floating-ui/vue";
|
|
3
3
|
import { normalizeClasses as fn } from "@ulu/utils/templating.js";
|
|
4
4
|
import { preventScroll as Ys, wasClickOutside as Ks, isBrowser as Js, getScrollParent as Qs } from "@ulu/utils/browser/dom.js";
|
|
@@ -101,7 +101,7 @@ function Ce(e) {
|
|
|
101
101
|
return n;
|
|
102
102
|
}
|
|
103
103
|
function Yn(e, n, t) {
|
|
104
|
-
const s = O(null), l = O([]), o =
|
|
104
|
+
const s = O(null), l = O([]), o = _(() => t.value?.placement), {
|
|
105
105
|
floatingStyles: a,
|
|
106
106
|
placement: r,
|
|
107
107
|
middlewareData: c,
|
|
@@ -120,7 +120,7 @@ function Yn(e, n, t) {
|
|
|
120
120
|
},
|
|
121
121
|
{ immediate: !0, deep: !0 }
|
|
122
122
|
);
|
|
123
|
-
const v =
|
|
123
|
+
const v = _(() => {
|
|
124
124
|
const b = c.value?.arrow;
|
|
125
125
|
return b ? {
|
|
126
126
|
position: "absolute",
|
|
@@ -131,7 +131,7 @@ function Yn(e, n, t) {
|
|
|
131
131
|
te(t, (b) => {
|
|
132
132
|
b && b.onReady && b.onReady({ update: i, isPositioned: d });
|
|
133
133
|
});
|
|
134
|
-
const y =
|
|
134
|
+
const y = _(() => t.value?.strategy === "fixed");
|
|
135
135
|
return {
|
|
136
136
|
floatingStyles: a,
|
|
137
137
|
placement: r,
|
|
@@ -156,7 +156,7 @@ const hl = ["id", "data-placement"], ml = ["innerHTML"], gl = {
|
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
setup(e) {
|
|
159
|
-
const n = e, t = O(null), s =
|
|
159
|
+
const n = e, t = O(null), s = _(() => n.config), {
|
|
160
160
|
floatingStyles: l,
|
|
161
161
|
placement: o,
|
|
162
162
|
arrowStyles: a,
|
|
@@ -166,23 +166,23 @@ const hl = ["id", "data-placement"], ml = ["innerHTML"], gl = {
|
|
|
166
166
|
return (i, d) => (u(), f("span", {
|
|
167
167
|
class: m(["popover popover--tooltip is-active", [
|
|
168
168
|
{
|
|
169
|
-
"popover--fixed":
|
|
169
|
+
"popover--fixed": S(c)
|
|
170
170
|
},
|
|
171
171
|
s.value.class
|
|
172
172
|
]]),
|
|
173
173
|
ref_key: "content",
|
|
174
174
|
ref: t,
|
|
175
|
-
id:
|
|
176
|
-
"data-placement":
|
|
177
|
-
style:
|
|
175
|
+
id: S(Kn),
|
|
176
|
+
"data-placement": S(o),
|
|
177
|
+
style: Y(S(l))
|
|
178
178
|
}, [
|
|
179
179
|
s.value.isHtml ? (u(), f("span", {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: "popover__inner",
|
|
182
182
|
innerHTML: s.value.content
|
|
183
183
|
}, null, 8, ml)) : (u(), f("span", gl, [
|
|
184
|
-
s.value.component ? (u(),
|
|
185
|
-
T(
|
|
184
|
+
s.value.component ? (u(), w(j(s.value.component), de(le({ key: 0 }, s.value.componentProps)), null, 16)) : (u(), f(U, { key: 1 }, [
|
|
185
|
+
T(k(s.value.content), 1)
|
|
186
186
|
], 64))
|
|
187
187
|
])),
|
|
188
188
|
s.value.arrow ? (u(), f("span", {
|
|
@@ -190,7 +190,7 @@ const hl = ["id", "data-placement"], ml = ["innerHTML"], gl = {
|
|
|
190
190
|
class: "popover__arrow",
|
|
191
191
|
ref_key: "contentArrow",
|
|
192
192
|
ref: r,
|
|
193
|
-
style:
|
|
193
|
+
style: Y(S(a))
|
|
194
194
|
}, null, 4)) : p("", !0)
|
|
195
195
|
], 14, hl));
|
|
196
196
|
}
|
|
@@ -198,13 +198,13 @@ const hl = ["id", "data-placement"], ml = ["innerHTML"], gl = {
|
|
|
198
198
|
__name: "UluTooltipDisplay",
|
|
199
199
|
setup(e) {
|
|
200
200
|
const n = Ce(kt);
|
|
201
|
-
return (t, s) =>
|
|
201
|
+
return (t, s) => S(n)?.state.visible ? (u(), w(yt, {
|
|
202
202
|
key: 0,
|
|
203
|
-
to:
|
|
203
|
+
to: S(n).state.config.teleportTo || "body"
|
|
204
204
|
}, [
|
|
205
205
|
x(vl, {
|
|
206
|
-
trigger:
|
|
207
|
-
config:
|
|
206
|
+
trigger: S(n).state.trigger,
|
|
207
|
+
config: S(n).state.config
|
|
208
208
|
}, null, 8, ["trigger", "config"])
|
|
209
209
|
], 8, ["to"])) : p("", !0);
|
|
210
210
|
}
|
|
@@ -374,86 +374,86 @@ const _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
374
374
|
},
|
|
375
375
|
emits: ["toggle"],
|
|
376
376
|
setup(e, { emit: n }) {
|
|
377
|
-
const t = n, s = e, l = se(), o = se(), a = Ce(St), r = a ? a.popover : Pe.popover, c =
|
|
377
|
+
const t = n, s = e, l = se(), o = se(), a = Ce(St), r = a ? a.popover : Pe.popover, c = _(() => ({ ...r, ...s.config })), i = O(s.startOpen || !1), d = O(null), v = O(null), {
|
|
378
378
|
floatingStyles: y,
|
|
379
379
|
placement: b,
|
|
380
380
|
update: A,
|
|
381
381
|
arrowStyles: C,
|
|
382
382
|
contentArrow: B,
|
|
383
383
|
isFixedStrategy: H
|
|
384
|
-
} = Yn(d, v, c),
|
|
384
|
+
} = Yn(d, v, c), K = () => {
|
|
385
385
|
I(!i.value);
|
|
386
386
|
}, I = (re) => {
|
|
387
387
|
i.value = re;
|
|
388
388
|
const Se = {
|
|
389
|
-
trigger:
|
|
390
|
-
content:
|
|
391
|
-
isOpen:
|
|
392
|
-
},
|
|
389
|
+
trigger: S(d),
|
|
390
|
+
content: S(v),
|
|
391
|
+
isOpen: S(i)
|
|
392
|
+
}, Fe = { isOpen: Se.isOpen };
|
|
393
393
|
Ke(() => {
|
|
394
394
|
i.value ? (A(), window.setTimeout(() => {
|
|
395
|
-
|
|
396
|
-
}, 0)) : (
|
|
395
|
+
X(), s.directFocus(Se), t("toggle", Fe);
|
|
396
|
+
}, 0)) : (Q(), s.directFocus(Se), t("toggle", Fe));
|
|
397
397
|
});
|
|
398
398
|
};
|
|
399
|
-
let
|
|
400
|
-
const
|
|
401
|
-
s.clickOutsideCloses && (
|
|
399
|
+
let M;
|
|
400
|
+
const X = () => {
|
|
401
|
+
s.clickOutsideCloses && (M && Q(), M = (re) => {
|
|
402
402
|
v.value && !v.value.contains(re.target) && I(!1);
|
|
403
|
-
}, document.addEventListener("click",
|
|
404
|
-
},
|
|
405
|
-
|
|
403
|
+
}, document.addEventListener("click", M));
|
|
404
|
+
}, Q = () => {
|
|
405
|
+
M && (document.removeEventListener("click", M), M = null);
|
|
406
406
|
}, oe = () => I(!1);
|
|
407
407
|
return (re, Se) => {
|
|
408
|
-
const
|
|
408
|
+
const Fe = Nn("ulu-tooltip");
|
|
409
409
|
return u(), f(U, null, [
|
|
410
410
|
ze((u(), f("button", {
|
|
411
411
|
type: "button",
|
|
412
412
|
ref_key: "trigger",
|
|
413
413
|
ref: d,
|
|
414
|
-
onClick:
|
|
415
|
-
id:
|
|
414
|
+
onClick: K,
|
|
415
|
+
id: S(o),
|
|
416
416
|
disabled: e.disabled,
|
|
417
417
|
class: m([
|
|
418
418
|
{ [e.activeClass]: i.value },
|
|
419
419
|
e.classes.trigger
|
|
420
420
|
]),
|
|
421
421
|
"aria-expanded": i.value ? "true" : "false",
|
|
422
|
-
"aria-controls":
|
|
422
|
+
"aria-controls": S(l),
|
|
423
423
|
"aria-label": e.triggerAlt
|
|
424
424
|
}, [
|
|
425
425
|
g(re.$slots, "trigger", {
|
|
426
426
|
isOpen: i.value,
|
|
427
427
|
close: oe
|
|
428
428
|
}, () => [
|
|
429
|
-
T(
|
|
429
|
+
T(k(e.triggerText), 1)
|
|
430
430
|
])
|
|
431
431
|
], 10, wl)), [
|
|
432
|
-
[
|
|
432
|
+
[Fe, e.tooltip ? e.tooltip : null]
|
|
433
433
|
]),
|
|
434
434
|
h("span", {
|
|
435
435
|
class: m(["popover", [
|
|
436
436
|
e.size ? `popover--${e.size}` : "",
|
|
437
437
|
{
|
|
438
438
|
"popover--no-padding": e.noPadding,
|
|
439
|
-
"popover--fixed":
|
|
439
|
+
"popover--fixed": S(H),
|
|
440
440
|
"is-active": i.value
|
|
441
441
|
},
|
|
442
442
|
e.classes.content
|
|
443
443
|
]]),
|
|
444
444
|
ref_key: "content",
|
|
445
445
|
ref: v,
|
|
446
|
-
"aria-labelledby":
|
|
447
|
-
id:
|
|
448
|
-
style:
|
|
449
|
-
"data-placement":
|
|
446
|
+
"aria-labelledby": S(o),
|
|
447
|
+
id: S(l),
|
|
448
|
+
style: Y(S(y)),
|
|
449
|
+
"data-placement": S(b),
|
|
450
450
|
onKeydown: Se[0] || (Se[0] = Wn((xt) => I(!1), ["esc"])),
|
|
451
451
|
tabindex: "-1"
|
|
452
452
|
}, [
|
|
453
453
|
h("span", kl, [
|
|
454
454
|
g(re.$slots, "default", {
|
|
455
455
|
isOpen: i.value,
|
|
456
|
-
toggle:
|
|
456
|
+
toggle: K,
|
|
457
457
|
close: oe
|
|
458
458
|
})
|
|
459
459
|
]),
|
|
@@ -465,7 +465,7 @@ const _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
465
465
|
class: "popover__arrow",
|
|
466
466
|
ref_key: "contentArrow",
|
|
467
467
|
ref: B,
|
|
468
|
-
style:
|
|
468
|
+
style: Y(S(C)),
|
|
469
469
|
"data-ulu-popover-arrow": ""
|
|
470
470
|
}, null, 4)) : p("", !0)
|
|
471
471
|
], 46, Sl)
|
|
@@ -488,7 +488,7 @@ function Gf(e) {
|
|
|
488
488
|
const n = Ce(kt), t = Ce(St);
|
|
489
489
|
e.content || console.warn("Missing content for 'useTooltipFollow' tooltip", e);
|
|
490
490
|
let s;
|
|
491
|
-
const l = O(0), o = O(0), a =
|
|
491
|
+
const l = O(0), o = O(0), a = _(() => ({
|
|
492
492
|
getBoundingClientRect() {
|
|
493
493
|
return {
|
|
494
494
|
width: 0,
|
|
@@ -567,7 +567,7 @@ function Yf(e, n = {}) {
|
|
|
567
567
|
}, C = () => {
|
|
568
568
|
clearTimeout(b), b = null, o();
|
|
569
569
|
}, { showEvents: B, hideEvents: H } = y;
|
|
570
|
-
B.forEach((
|
|
570
|
+
B.forEach((K) => d.addEventListener(K, A)), H.forEach((K) => d.addEventListener(K, C)), a.set(d, { show: A, hide: C, showEvents: B, hideEvents: H });
|
|
571
571
|
},
|
|
572
572
|
updated(d, v) {
|
|
573
573
|
const y = a.get(d);
|
|
@@ -584,8 +584,8 @@ function Yf(e, n = {}) {
|
|
|
584
584
|
}, b.delay));
|
|
585
585
|
}, B = () => {
|
|
586
586
|
clearTimeout(A), A = null, o();
|
|
587
|
-
}, { showEvents: H, hideEvents:
|
|
588
|
-
H.forEach((I) => d.addEventListener(I, C)),
|
|
587
|
+
}, { showEvents: H, hideEvents: K } = b;
|
|
588
|
+
H.forEach((I) => d.addEventListener(I, C)), K.forEach((I) => d.addEventListener(I, B)), a.set(d, { show: C, hide: B, showEvents: H, hideEvents: K }), s.visible && s.trigger === d && l(d, b);
|
|
589
589
|
},
|
|
590
590
|
beforeUnmount(d) {
|
|
591
591
|
s.visible && s.trigger === d && o();
|
|
@@ -640,7 +640,7 @@ const L = (e, n) => {
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
function Tl(e, n, t, s, l, o) {
|
|
643
|
-
return o.currentModal ? (u(),
|
|
643
|
+
return o.currentModal ? (u(), w(j(o.currentModal.component), le({ key: 0 }, o.currentProps, {
|
|
644
644
|
modelValue: l.open,
|
|
645
645
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => l.open = a),
|
|
646
646
|
onVnodeMounted: o.modalMounted,
|
|
@@ -681,7 +681,7 @@ const q = {
|
|
|
681
681
|
setup(e) {
|
|
682
682
|
const n = Oe("uluCore"), t = O(null), { getIconProps: s, getClassesFromDefinition: l } = Ol();
|
|
683
683
|
let o;
|
|
684
|
-
const a = e, r =
|
|
684
|
+
const a = e, r = _(() => n.getSetting("fontAwesomeStatic")), c = _(() => n.getSetting("iconComponent")), i = _(() => n.getSetting("iconPropResolver")), d = _(() => {
|
|
685
685
|
const { icon: C } = a;
|
|
686
686
|
if (typeof C == "string" && C.startsWith("type:"))
|
|
687
687
|
try {
|
|
@@ -691,7 +691,7 @@ const q = {
|
|
|
691
691
|
return console.warn(B), null;
|
|
692
692
|
}
|
|
693
693
|
return C;
|
|
694
|
-
}), v =
|
|
694
|
+
}), v = _(() => !c.value || !d.value ? null : i.value(d.value)), y = _(() => s(d.value)), b = _(() => l(d.value)), A = _(() => ({
|
|
695
695
|
"flow-inline": a.spaced
|
|
696
696
|
}));
|
|
697
697
|
return pt(async () => {
|
|
@@ -708,7 +708,7 @@ const q = {
|
|
|
708
708
|
}
|
|
709
709
|
} else
|
|
710
710
|
t.value = null;
|
|
711
|
-
}), (C, B) => c.value ? (u(),
|
|
711
|
+
}), (C, B) => c.value ? (u(), w(j(c.value), le({ key: 0 }, v.value, { class: A.value }), null, 16, ["class"])) : !r.value && t.value && d.value ? (u(), w(j(t.value), le({ key: 1 }, y.value, { class: A.value }), null, 16, ["class"])) : r.value && d.value ? (u(), f("span", {
|
|
712
712
|
key: 2,
|
|
713
713
|
class: m([b.value, A.value]),
|
|
714
714
|
"aria-hidden": "true"
|
|
@@ -717,7 +717,7 @@ const q = {
|
|
|
717
717
|
};
|
|
718
718
|
function fe({ props: e, baseClass: n, internal: t = {} }) {
|
|
719
719
|
const { modifiers: s } = Es(e);
|
|
720
|
-
return { resolvedModifiers:
|
|
720
|
+
return { resolvedModifiers: _(() => {
|
|
721
721
|
const o = ct(n), a = fn(ct(s)), r = fn(ct(t));
|
|
722
722
|
if (!o)
|
|
723
723
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
@@ -844,12 +844,12 @@ const Ul = {
|
|
|
844
844
|
};
|
|
845
845
|
},
|
|
846
846
|
setup(e) {
|
|
847
|
-
const n = Dn(), t =
|
|
847
|
+
const n = Dn(), t = _(() => e.title || n.title), s = _(() => {
|
|
848
848
|
const { allowResize: r, position: c } = e;
|
|
849
849
|
if (!r || !c) return;
|
|
850
850
|
const i = ["left", "right", "center"];
|
|
851
851
|
return i.includes(c) ? !0 : (console.warn(`Passed invalid position for resize (${c}), use ${i.join(", ")}`), !1);
|
|
852
|
-
}), l =
|
|
852
|
+
}), l = _(() => e.position === "center" ? "type:resizeBoth" : "type:resizeHorizontal"), o = _(() => ({
|
|
853
853
|
[e.position]: e.position,
|
|
854
854
|
resize: e.allowResize,
|
|
855
855
|
"no-resize": !e.allowResize,
|
|
@@ -961,8 +961,8 @@ const Ul = {
|
|
|
961
961
|
type: "button"
|
|
962
962
|
};
|
|
963
963
|
function Il(e, n, t, s, l, o) {
|
|
964
|
-
const a =
|
|
965
|
-
return u(),
|
|
964
|
+
const a = ee("UluIcon");
|
|
965
|
+
return u(), w(yt, {
|
|
966
966
|
to: t.teleport === !1 ? null : t.teleport,
|
|
967
967
|
disabled: t.teleport === !1
|
|
968
968
|
}, [
|
|
@@ -971,7 +971,7 @@ function Il(e, n, t, s, l, o) {
|
|
|
971
971
|
"aria-labelledby": o.resolvedLabelledby,
|
|
972
972
|
"aria-describedby": t.describedby,
|
|
973
973
|
ref: "container",
|
|
974
|
-
style:
|
|
974
|
+
style: Y({ width: l.containerWidth }),
|
|
975
975
|
onCancel: n[1] || (n[1] = Rs((...r) => o.close && o.close(...r), ["prevent"])),
|
|
976
976
|
onClose: n[2] || (n[2] = (...r) => o.handleDialogCloseEvent && o.handleDialogCloseEvent(...r)),
|
|
977
977
|
onClick: n[3] || (n[3] = (...r) => o.handleClick && o.handleClick(...r)),
|
|
@@ -986,12 +986,12 @@ function Il(e, n, t, s, l, o) {
|
|
|
986
986
|
id: l.titleId
|
|
987
987
|
}, [
|
|
988
988
|
g(e.$slots, "title", { close: o.close }, () => [
|
|
989
|
-
t.titleIcon ? (u(),
|
|
989
|
+
t.titleIcon ? (u(), w(a, {
|
|
990
990
|
key: 0,
|
|
991
991
|
class: "modal__title-icon",
|
|
992
992
|
icon: t.titleIcon
|
|
993
993
|
}, null, 8, ["icon"])) : p("", !0),
|
|
994
|
-
h("span", El,
|
|
994
|
+
h("span", El, k(t.title), 1)
|
|
995
995
|
])
|
|
996
996
|
], 10, Bl),
|
|
997
997
|
h("button", {
|
|
@@ -1042,7 +1042,7 @@ const Jn = /* @__PURE__ */ L(Ul, [["render", Il]]), Xe = [], jl = O({
|
|
|
1042
1042
|
}), Ge = jl.value, gn = {
|
|
1043
1043
|
data: Ge,
|
|
1044
1044
|
modals: Xe
|
|
1045
|
-
},
|
|
1045
|
+
}, Fl = (e) => ({
|
|
1046
1046
|
open(n, t = null) {
|
|
1047
1047
|
const s = this.get(n);
|
|
1048
1048
|
Ge.active = Ue(s), Ge.activeProps = Object.assign({}, s.props, t);
|
|
@@ -1082,12 +1082,12 @@ const Jn = /* @__PURE__ */ L(Ul, [["render", Il]]), Xe = [], jl = O({
|
|
|
1082
1082
|
return Xe.splice(t, 1);
|
|
1083
1083
|
warn("unable to find modal to remove");
|
|
1084
1084
|
}
|
|
1085
|
-
}),
|
|
1085
|
+
}), Ml = {
|
|
1086
1086
|
modals: [],
|
|
1087
1087
|
modalOptions: {}
|
|
1088
1088
|
};
|
|
1089
1089
|
function Kf(e, n) {
|
|
1090
|
-
const t = Object.assign({},
|
|
1090
|
+
const t = Object.assign({}, Ml, n), l = Fl((o) => Object.assign({}, t.modalOptions, o));
|
|
1091
1091
|
e.component("UluModalsDisplay", Al), e.component("UluModal", Jn), t.modals.forEach((o) => {
|
|
1092
1092
|
l.add(o);
|
|
1093
1093
|
}), gn.options = t, e.config.globalProperties.$uluModals = l, e.provide("uluModals", l), e.config.globalProperties.$uluModalsState = gn;
|
|
@@ -1126,7 +1126,7 @@ const Pl = {
|
|
|
1126
1126
|
}
|
|
1127
1127
|
}, zl = ["onClick"];
|
|
1128
1128
|
function Ll(e, n, t, s, l, o) {
|
|
1129
|
-
const a =
|
|
1129
|
+
const a = ee("UluIcon");
|
|
1130
1130
|
return u(), f("div", {
|
|
1131
1131
|
class: m(["toast", [
|
|
1132
1132
|
{
|
|
@@ -1140,7 +1140,7 @@ function Ll(e, n, t, s, l, o) {
|
|
|
1140
1140
|
class: m(["toast__icon", t.classes.icon])
|
|
1141
1141
|
}, [
|
|
1142
1142
|
g(e.$slots, "icon", { toast: t.toast }, () => [
|
|
1143
|
-
t.toast.icon ? (u(),
|
|
1143
|
+
t.toast.icon ? (u(), w(a, {
|
|
1144
1144
|
key: 0,
|
|
1145
1145
|
icon: t.toast.icon
|
|
1146
1146
|
}, null, 8, ["icon"])) : p("", !0)
|
|
@@ -1156,16 +1156,16 @@ function Ll(e, n, t, s, l, o) {
|
|
|
1156
1156
|
}, [
|
|
1157
1157
|
h("strong", {
|
|
1158
1158
|
class: m(["toast__title", t.classes.title])
|
|
1159
|
-
},
|
|
1159
|
+
}, k(t.toast.title), 3),
|
|
1160
1160
|
t.toast.date ? (u(), f("span", {
|
|
1161
1161
|
key: 0,
|
|
1162
1162
|
class: m(["toast__date", t.classes.date])
|
|
1163
|
-
},
|
|
1163
|
+
}, k(t.toast.date), 3)) : p("", !0)
|
|
1164
1164
|
], 2)) : p("", !0),
|
|
1165
1165
|
t.toast.description ? (u(), f("div", {
|
|
1166
1166
|
key: 1,
|
|
1167
1167
|
class: m(["toast__body", t.classes.body])
|
|
1168
|
-
},
|
|
1168
|
+
}, k(t.toast.description), 3)) : p("", !0)
|
|
1169
1169
|
])
|
|
1170
1170
|
], 2),
|
|
1171
1171
|
t.toast.actions?.length ? (u(), f("div", {
|
|
@@ -1176,7 +1176,7 @@ function Ll(e, n, t, s, l, o) {
|
|
|
1176
1176
|
key: c,
|
|
1177
1177
|
class: m(["toast__action", t.classes.action]),
|
|
1178
1178
|
onClick: (i) => o.handleAction(i, r)
|
|
1179
|
-
},
|
|
1179
|
+
}, k(r.label), 11, zl))), 128))
|
|
1180
1180
|
], 2)) : p("", !0),
|
|
1181
1181
|
h("button", {
|
|
1182
1182
|
class: m(["toast__close", t.classes.closeButton]),
|
|
@@ -1273,7 +1273,7 @@ const ke = lt({
|
|
|
1273
1273
|
}
|
|
1274
1274
|
};
|
|
1275
1275
|
function Nl(e, n, t, s, l, o) {
|
|
1276
|
-
return u(),
|
|
1276
|
+
return u(), w(yt, {
|
|
1277
1277
|
to: l.pluginOptions.teleportTo
|
|
1278
1278
|
}, [
|
|
1279
1279
|
x(qn, {
|
|
@@ -1282,7 +1282,7 @@ function Nl(e, n, t, s, l, o) {
|
|
|
1282
1282
|
tag: "div"
|
|
1283
1283
|
}, {
|
|
1284
1284
|
default: $(() => [
|
|
1285
|
-
(u(!0), f(U, null, R(l.toasts, (a) => (u(),
|
|
1285
|
+
(u(!0), f(U, null, R(l.toasts, (a) => (u(), w(j(a.component), {
|
|
1286
1286
|
key: a.uid,
|
|
1287
1287
|
toast: a
|
|
1288
1288
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -1353,9 +1353,9 @@ function Qf(e, n) {
|
|
|
1353
1353
|
breakpointActive: i,
|
|
1354
1354
|
breakpointDirection: d
|
|
1355
1355
|
} = ql(r);
|
|
1356
|
-
e.provide("uluBreakpointActive",
|
|
1356
|
+
e.provide("uluBreakpointActive", _(() => i.value)), e.provide("uluBreakpointDirection", _(() => d.value)), e.provide("uluBreakpointManager", _(() => c.value)), e.provide("uluIsMobile", _(() => t.value));
|
|
1357
1357
|
}
|
|
1358
|
-
const Ht = /* @__PURE__ */ new Set(), ne = /* @__PURE__ */ new WeakMap(), xe = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(),
|
|
1358
|
+
const Ht = /* @__PURE__ */ new Set(), ne = /* @__PURE__ */ new WeakMap(), xe = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakSet();
|
|
1359
1359
|
let ae, Jt = 0, Qt = 0;
|
|
1360
1360
|
const _e = "__aa_tgt", et = "__aa_del", ht = "__aa_new", Zn = (e) => {
|
|
1361
1361
|
const n = Jl(e);
|
|
@@ -1499,7 +1499,7 @@ function ls(e) {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
function en(e) {
|
|
1501
1501
|
const n = ls(e);
|
|
1502
|
-
return n ?
|
|
1502
|
+
return n ? Me.has(n) : !1;
|
|
1503
1503
|
}
|
|
1504
1504
|
function ut(e, ...n) {
|
|
1505
1505
|
n.forEach((t) => t(e, Ae.has(e)));
|
|
@@ -1660,7 +1660,7 @@ function so(e) {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
function lo(e, n = {}) {
|
|
1662
1662
|
if (ns && pe && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !tt(n) && !n.disrespectUserMotionPreference)) {
|
|
1663
|
-
|
|
1663
|
+
Me.add(e), getComputedStyle(e).position === "static" && Object.assign(e.style, { position: "relative" }), ut(e, Re, Kl, (a) => pe?.observe(a)), tt(n) ? Ae.set(e, n) : Ae.set(e, {
|
|
1664
1664
|
duration: 250,
|
|
1665
1665
|
easing: "ease-in-out",
|
|
1666
1666
|
...n
|
|
@@ -1671,10 +1671,10 @@ function lo(e, n = {}) {
|
|
|
1671
1671
|
return Object.freeze({
|
|
1672
1672
|
parent: e,
|
|
1673
1673
|
enable: () => {
|
|
1674
|
-
|
|
1674
|
+
Me.add(e);
|
|
1675
1675
|
},
|
|
1676
1676
|
disable: () => {
|
|
1677
|
-
|
|
1677
|
+
Me.delete(e), ut(e, (s) => {
|
|
1678
1678
|
const l = ie.get(s);
|
|
1679
1679
|
try {
|
|
1680
1680
|
l?.cancel();
|
|
@@ -1687,9 +1687,9 @@ function lo(e, n = {}) {
|
|
|
1687
1687
|
a && clearInterval(a), Ye.delete(s);
|
|
1688
1688
|
});
|
|
1689
1689
|
},
|
|
1690
|
-
isEnabled: () =>
|
|
1690
|
+
isEnabled: () => Me.has(e),
|
|
1691
1691
|
destroy: () => {
|
|
1692
|
-
|
|
1692
|
+
Me.delete(e), Ht.delete(e), Ae.delete(e);
|
|
1693
1693
|
const s = Rt.get(e);
|
|
1694
1694
|
s?.disconnect(), Rt.delete(e), ut(e, (l) => {
|
|
1695
1695
|
pe?.unobserve(l);
|
|
@@ -1777,13 +1777,13 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1777
1777
|
},
|
|
1778
1778
|
emits: ["update:modelValue"],
|
|
1779
1779
|
setup(e, { emit: n }) {
|
|
1780
|
-
const t = e, s = n, l =
|
|
1780
|
+
const t = e, s = n, l = _(() => typeof t.animate == "object" ? t.animate : {}), [o, a] = oo(l);
|
|
1781
1781
|
Ee(() => {
|
|
1782
1782
|
a(!!t.animate);
|
|
1783
1783
|
}), te(() => t.animate, (A) => {
|
|
1784
1784
|
a(!!A);
|
|
1785
1785
|
});
|
|
1786
|
-
const r =
|
|
1786
|
+
const r = _(() => t.modelValue !== void 0), c = O(t.startOpen), i = _({
|
|
1787
1787
|
get() {
|
|
1788
1788
|
return r.value ? t.modelValue : c.value;
|
|
1789
1789
|
},
|
|
@@ -1811,7 +1811,7 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1811
1811
|
onClick: y
|
|
1812
1812
|
}, [
|
|
1813
1813
|
g(A.$slots, "trigger", { isOpen: i.value }, () => [
|
|
1814
|
-
T(
|
|
1814
|
+
T(k(e.triggerText), 1)
|
|
1815
1815
|
])
|
|
1816
1816
|
], 10, ao),
|
|
1817
1817
|
i.value ? (u(), f("div", {
|
|
@@ -1885,11 +1885,11 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1885
1885
|
},
|
|
1886
1886
|
emits: ["update:modelValue"],
|
|
1887
1887
|
setup(e, { emit: n }) {
|
|
1888
|
-
const t = e, { resolvedModifiers: s } = fe({ props: t, baseClass: "accordion" }), l =
|
|
1888
|
+
const t = e, { resolvedModifiers: s } = fe({ props: t, baseClass: "accordion" }), l = _(() => {
|
|
1889
1889
|
const o = { ...t.classes };
|
|
1890
1890
|
return o.container = [o.container, s.value], o;
|
|
1891
1891
|
});
|
|
1892
|
-
return (o, a) => (u(),
|
|
1892
|
+
return (o, a) => (u(), w(Nt, {
|
|
1893
1893
|
"model-value": e.modelValue,
|
|
1894
1894
|
"start-open": e.startOpen,
|
|
1895
1895
|
"trigger-text": e.triggerText,
|
|
@@ -1899,9 +1899,9 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1899
1899
|
}, {
|
|
1900
1900
|
trigger: $(({ isOpen: r }) => [
|
|
1901
1901
|
g(o.$slots, "trigger", { isOpen: r }, () => [
|
|
1902
|
-
(u(),
|
|
1902
|
+
(u(), w(j(e.triggerTextElement), null, {
|
|
1903
1903
|
default: $(() => [
|
|
1904
|
-
T(
|
|
1904
|
+
T(k(e.triggerText), 1)
|
|
1905
1905
|
]),
|
|
1906
1906
|
_: 1
|
|
1907
1907
|
}))
|
|
@@ -1973,7 +1973,7 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1973
1973
|
}) : t.value[l].isOpen = !1;
|
|
1974
1974
|
}
|
|
1975
1975
|
return (l, o) => (u(), f("div", io, [
|
|
1976
|
-
(u(!0), f(U, null, R(t.value, (a, r) => (u(),
|
|
1976
|
+
(u(!0), f(U, null, R(t.value, (a, r) => (u(), w(Wt, {
|
|
1977
1977
|
key: r,
|
|
1978
1978
|
"model-value": a.isOpen,
|
|
1979
1979
|
"onUpdate:modelValue": (c) => s(r, c),
|
|
@@ -1990,7 +1990,7 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1990
1990
|
isOpen: c,
|
|
1991
1991
|
toggle: i
|
|
1992
1992
|
}, () => [
|
|
1993
|
-
T(
|
|
1993
|
+
T(k(a.content), 1)
|
|
1994
1994
|
])
|
|
1995
1995
|
]),
|
|
1996
1996
|
_: 2
|
|
@@ -2058,16 +2058,16 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
2058
2058
|
[`tag--${e.size}`]: e.size,
|
|
2059
2059
|
[`tag--${e.type}`]: e.type
|
|
2060
2060
|
},
|
|
2061
|
-
|
|
2061
|
+
S(t)
|
|
2062
2062
|
]])
|
|
2063
2063
|
}, [
|
|
2064
|
-
e.icon ? (u(),
|
|
2064
|
+
e.icon ? (u(), w(q, {
|
|
2065
2065
|
key: 0,
|
|
2066
2066
|
icon: e.icon,
|
|
2067
2067
|
spaced: ""
|
|
2068
2068
|
}, null, 8, ["icon"])) : p("", !0),
|
|
2069
2069
|
g(s.$slots, "default", {}, () => [
|
|
2070
|
-
h("span", null,
|
|
2070
|
+
h("span", null, k(e.text), 1)
|
|
2071
2071
|
])
|
|
2072
2072
|
], 2));
|
|
2073
2073
|
}
|
|
@@ -2121,7 +2121,7 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
2121
2121
|
}
|
|
2122
2122
|
};
|
|
2123
2123
|
function uo(e, n, t, s, l, o) {
|
|
2124
|
-
const a =
|
|
2124
|
+
const a = ee("UluIcon"), r = ee("UluTag"), c = ee("UluMenu", !0), i = Nn("ulu-tooltip");
|
|
2125
2125
|
return t.items?.length ? (u(), f("ul", {
|
|
2126
2126
|
key: 0,
|
|
2127
2127
|
class: m(t.classes.list)
|
|
@@ -2135,7 +2135,7 @@ function uo(e, n, t, s, l, o) {
|
|
|
2135
2135
|
d.separatorAfter ? t.classes.itemSeparatorAfter : ""
|
|
2136
2136
|
])
|
|
2137
2137
|
}, [
|
|
2138
|
-
ze((u(),
|
|
2138
|
+
ze((u(), w(j(d.to || d.path ? "router-link" : d.click ? "button" : "a"), le({ ref_for: !0 }, {
|
|
2139
2139
|
...d.to || d.path ? {
|
|
2140
2140
|
to: d.to || d.path,
|
|
2141
2141
|
activeClass: t.classes.linkActive || null,
|
|
@@ -2155,15 +2155,15 @@ function uo(e, n, t, s, l, o) {
|
|
|
2155
2155
|
item: d,
|
|
2156
2156
|
index: v
|
|
2157
2157
|
}, () => [
|
|
2158
|
-
d.icon ? (u(),
|
|
2158
|
+
d.icon ? (u(), w(a, {
|
|
2159
2159
|
key: 0,
|
|
2160
2160
|
icon: d.icon,
|
|
2161
2161
|
class: m([t.classes.linkIcon, d?.classes?.linkIcon])
|
|
2162
2162
|
}, null, 8, ["icon", "class"])) : p("", !0),
|
|
2163
2163
|
h("span", {
|
|
2164
2164
|
class: m([t.classes.linkText, d?.classes?.linkText])
|
|
2165
|
-
},
|
|
2166
|
-
d.tag ? (u(),
|
|
2165
|
+
}, k(d.title), 3),
|
|
2166
|
+
d.tag ? (u(), w(r, le({
|
|
2167
2167
|
key: 1,
|
|
2168
2168
|
ref_for: !0
|
|
2169
2169
|
}, d.tag), null, 16)) : p("", !0)
|
|
@@ -2173,7 +2173,7 @@ function uo(e, n, t, s, l, o) {
|
|
|
2173
2173
|
}, 1040, ["onClick", "class", "aria-label", "id"])), [
|
|
2174
2174
|
[i, t.iconOnly ? d.title : d.tooltip || null]
|
|
2175
2175
|
]),
|
|
2176
|
-
!t.noChildren && d?.children?.length ? (u(),
|
|
2176
|
+
!t.noChildren && d?.children?.length ? (u(), w(c, {
|
|
2177
2177
|
key: 0,
|
|
2178
2178
|
iconOnly: t.iconOnly,
|
|
2179
2179
|
classes: t.classes,
|
|
@@ -2214,7 +2214,7 @@ const as = /* @__PURE__ */ L(co, [["render", uo]]), fo = {
|
|
|
2214
2214
|
modifiers: [String, Array]
|
|
2215
2215
|
},
|
|
2216
2216
|
setup(e) {
|
|
2217
|
-
const n = e, t =
|
|
2217
|
+
const n = e, t = _(() => ({
|
|
2218
2218
|
hanging: n.hanging,
|
|
2219
2219
|
compact: n.compact
|
|
2220
2220
|
})), { resolvedModifiers: s } = fe({
|
|
@@ -2222,8 +2222,8 @@ const as = /* @__PURE__ */ L(co, [["render", uo]]), fo = {
|
|
|
2222
2222
|
internal: t,
|
|
2223
2223
|
baseClass: "menu-stack"
|
|
2224
2224
|
});
|
|
2225
|
-
return (l, o) => (u(),
|
|
2226
|
-
class: m(["menu-stack",
|
|
2225
|
+
return (l, o) => (u(), w(j(e.containerElement), {
|
|
2226
|
+
class: m(["menu-stack", S(s)])
|
|
2227
2227
|
}, {
|
|
2228
2228
|
default: $(() => [
|
|
2229
2229
|
x(as, {
|
|
@@ -2265,14 +2265,14 @@ const as = /* @__PURE__ */ L(co, [["render", uo]]), fo = {
|
|
|
2265
2265
|
}
|
|
2266
2266
|
},
|
|
2267
2267
|
setup(e) {
|
|
2268
|
-
return (n, t) => (u(),
|
|
2268
|
+
return (n, t) => (u(), w(wt, { classes: e.popoverClasses }, {
|
|
2269
2269
|
trigger: $(({ isOpen: s }) => [
|
|
2270
2270
|
g(n.$slots, "trigger", { isOpen: s }, () => [
|
|
2271
|
-
h("span", null,
|
|
2271
|
+
h("span", null, k(e.triggerText), 1),
|
|
2272
2272
|
x(q, {
|
|
2273
2273
|
class: "button__icon",
|
|
2274
2274
|
icon: "type:dropdownExpand",
|
|
2275
|
-
style:
|
|
2275
|
+
style: Y({ transform: s ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s" })
|
|
2276
2276
|
}, null, 8, ["style"])
|
|
2277
2277
|
])
|
|
2278
2278
|
]),
|
|
@@ -2311,17 +2311,17 @@ function mo() {
|
|
|
2311
2311
|
};
|
|
2312
2312
|
}
|
|
2313
2313
|
function th(e, n) {
|
|
2314
|
-
const t = Xn(), s = el(), l =
|
|
2314
|
+
const t = Xn(), s = el(), l = _(() => {
|
|
2315
2315
|
const i = parseInt(t.query.page || "1", 10);
|
|
2316
2316
|
return isNaN(i) || i < 1 ? 1 : i;
|
|
2317
|
-
}), o =
|
|
2317
|
+
}), o = _(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / n));
|
|
2318
2318
|
te(o, (i) => {
|
|
2319
2319
|
l.value > i && s.push({ query: { ...t.query, page: i } });
|
|
2320
2320
|
});
|
|
2321
|
-
const a =
|
|
2321
|
+
const a = _(() => {
|
|
2322
2322
|
const i = (l.value - 1) * n, d = i + n;
|
|
2323
2323
|
return e.value.slice(i, d);
|
|
2324
|
-
}), r =
|
|
2324
|
+
}), r = _(() => {
|
|
2325
2325
|
if (o.value <= 1)
|
|
2326
2326
|
return null;
|
|
2327
2327
|
const i = {
|
|
@@ -2338,7 +2338,7 @@ function th(e, n) {
|
|
|
2338
2338
|
for (let B = A; B <= C; B++)
|
|
2339
2339
|
i.pages[B] = { href: b(B) };
|
|
2340
2340
|
return i;
|
|
2341
|
-
}), c =
|
|
2341
|
+
}), c = _(() => {
|
|
2342
2342
|
const i = { previous: !1, next: !1 };
|
|
2343
2343
|
if (!r.value || !r.value.pages) return i;
|
|
2344
2344
|
const d = Object.keys(r.value.pages).map(Number);
|
|
@@ -2387,9 +2387,9 @@ function bo(e, n, t = {}) {
|
|
|
2387
2387
|
return pt(() => {
|
|
2388
2388
|
const a = s.value ? {} : Dt(n, go);
|
|
2389
2389
|
l ? l.patch(a) : l = e.push(a, t);
|
|
2390
|
-
}),
|
|
2390
|
+
}), Fs() && (bt(() => {
|
|
2391
2391
|
l.dispose();
|
|
2392
|
-
}),
|
|
2392
|
+
}), Ms(() => {
|
|
2393
2393
|
s.value = !0;
|
|
2394
2394
|
}), Ps(() => {
|
|
2395
2395
|
s.value = !1;
|
|
@@ -2532,13 +2532,13 @@ function nh(e = {}) {
|
|
|
2532
2532
|
} = e, o = s(), a = o.path;
|
|
2533
2533
|
if (n !== void 0) {
|
|
2534
2534
|
pt(() => {
|
|
2535
|
-
jt[a] =
|
|
2535
|
+
jt[a] = S(n);
|
|
2536
2536
|
}), _t(() => {
|
|
2537
2537
|
delete jt[a];
|
|
2538
2538
|
});
|
|
2539
2539
|
return;
|
|
2540
2540
|
}
|
|
2541
|
-
const r =
|
|
2541
|
+
const r = _(() => {
|
|
2542
2542
|
const c = jt[o.path], i = Ct(o, o), d = c || i;
|
|
2543
2543
|
return d ? t.replace("%s", d) : "App";
|
|
2544
2544
|
});
|
|
@@ -2569,7 +2569,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2569
2569
|
}, [
|
|
2570
2570
|
g(r.$slots, "default")
|
|
2571
2571
|
], 512),
|
|
2572
|
-
l.value && !
|
|
2572
|
+
l.value && !S(n) ? (u(), w(wt, {
|
|
2573
2573
|
key: 0,
|
|
2574
2574
|
triggerAlt: "Show Full Text",
|
|
2575
2575
|
size: "large"
|
|
@@ -2591,7 +2591,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2591
2591
|
}, lh = {
|
|
2592
2592
|
__name: "UluTab",
|
|
2593
2593
|
setup(e) {
|
|
2594
|
-
return (n, t) => (u(),
|
|
2594
|
+
return (n, t) => (u(), w(S(tl), null, {
|
|
2595
2595
|
default: $((s) => [
|
|
2596
2596
|
g(n.$slots, "default", de(ve(s)))
|
|
2597
2597
|
]),
|
|
@@ -2613,7 +2613,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2613
2613
|
vertical: Boolean
|
|
2614
2614
|
},
|
|
2615
2615
|
setup(e) {
|
|
2616
|
-
return (n, t) => (u(),
|
|
2616
|
+
return (n, t) => (u(), w(S(nl), {
|
|
2617
2617
|
defaultIndex: e.defaultIndex,
|
|
2618
2618
|
vertical: e.vertical
|
|
2619
2619
|
}, {
|
|
@@ -2632,7 +2632,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2632
2632
|
}), ah = {
|
|
2633
2633
|
__name: "UluTabList",
|
|
2634
2634
|
setup(e) {
|
|
2635
|
-
return (n, t) => (u(),
|
|
2635
|
+
return (n, t) => (u(), w(S(sl), { class: "tabs__tablist" }, {
|
|
2636
2636
|
default: $(() => [
|
|
2637
2637
|
g(n.$slots, "default")
|
|
2638
2638
|
]),
|
|
@@ -2642,7 +2642,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2642
2642
|
}, rh = {
|
|
2643
2643
|
__name: "UluTabPanel",
|
|
2644
2644
|
setup(e) {
|
|
2645
|
-
return (n, t) => (u(),
|
|
2645
|
+
return (n, t) => (u(), w(S(ll), null, {
|
|
2646
2646
|
default: $((s) => [
|
|
2647
2647
|
g(n.$slots, "default", de(ve(s)))
|
|
2648
2648
|
]),
|
|
@@ -2652,7 +2652,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2652
2652
|
}, ih = {
|
|
2653
2653
|
__name: "UluTabPanels",
|
|
2654
2654
|
setup(e) {
|
|
2655
|
-
return (n, t) => (u(),
|
|
2655
|
+
return (n, t) => (u(), w(S(ol), null, {
|
|
2656
2656
|
default: $((s) => [
|
|
2657
2657
|
g(n.$slots, "default", de(ve(s)))
|
|
2658
2658
|
]),
|
|
@@ -2762,8 +2762,8 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2762
2762
|
}
|
|
2763
2763
|
}, xo = { key: 1 };
|
|
2764
2764
|
function Bo(e, n, t, s, l, o) {
|
|
2765
|
-
const a =
|
|
2766
|
-
return u(),
|
|
2765
|
+
const a = ee("UluIcon");
|
|
2766
|
+
return u(), w(j(o.element), le({
|
|
2767
2767
|
class: ["button", [
|
|
2768
2768
|
{
|
|
2769
2769
|
"button--transparent": t.transparent,
|
|
@@ -2781,17 +2781,17 @@ function Bo(e, n, t, s, l, o) {
|
|
|
2781
2781
|
}, o.attrs, { "aria-label": o.resolvedAriaLabel }), {
|
|
2782
2782
|
default: $(() => [
|
|
2783
2783
|
g(e.$slots, "before"),
|
|
2784
|
-
t.icon && (t.iconBefore || t.iconOnly) ? (u(),
|
|
2784
|
+
t.icon && (t.iconBefore || t.iconOnly) ? (u(), w(a, {
|
|
2785
2785
|
key: 0,
|
|
2786
2786
|
icon: t.icon,
|
|
2787
2787
|
class: "button__icon"
|
|
2788
2788
|
}, null, 8, ["icon"])) : p("", !0),
|
|
2789
2789
|
(e.$slots.default || t.text) && !t.iconOnly ? (u(), f("span", xo, [
|
|
2790
2790
|
g(e.$slots, "default", {}, () => [
|
|
2791
|
-
T(
|
|
2791
|
+
T(k(t.text), 1)
|
|
2792
2792
|
])
|
|
2793
2793
|
])) : p("", !0),
|
|
2794
|
-
t.icon && !t.iconBefore && !t.iconOnly ? (u(),
|
|
2794
|
+
t.icon && !t.iconBefore && !t.iconOnly ? (u(), w(a, {
|
|
2795
2795
|
key: 2,
|
|
2796
2796
|
icon: t.icon,
|
|
2797
2797
|
class: "button__icon"
|
|
@@ -2840,19 +2840,19 @@ const Eo = /* @__PURE__ */ L(Uo, [["render", Bo]]), Ro = {
|
|
|
2840
2840
|
const { resolvedModifiers: n } = fe({
|
|
2841
2841
|
props: e,
|
|
2842
2842
|
baseClass: "callout",
|
|
2843
|
-
internal:
|
|
2843
|
+
internal: _(() => ({
|
|
2844
2844
|
[e.type]: e.type,
|
|
2845
2845
|
compact: e.compact
|
|
2846
2846
|
}))
|
|
2847
2847
|
});
|
|
2848
2848
|
return { resolvedModifiers: n };
|
|
2849
2849
|
}
|
|
2850
|
-
}, Io = { class: "layout-flex" }, jo = { class: "type-small" },
|
|
2850
|
+
}, Io = { class: "layout-flex" }, jo = { class: "type-small" }, Fo = {
|
|
2851
2851
|
key: 0,
|
|
2852
2852
|
class: "margin-left-auto align-self-center"
|
|
2853
2853
|
};
|
|
2854
|
-
function
|
|
2855
|
-
const a =
|
|
2854
|
+
function Mo(e, n, t, s, l, o) {
|
|
2855
|
+
const a = ee("UluIcon");
|
|
2856
2856
|
return u(), f("div", {
|
|
2857
2857
|
class: m(["callout", s.resolvedModifiers])
|
|
2858
2858
|
}, [
|
|
@@ -2864,22 +2864,22 @@ function Fo(e, n, t, s, l, o) {
|
|
|
2864
2864
|
h("div", jo, [
|
|
2865
2865
|
h("div", null, [
|
|
2866
2866
|
g(e.$slots, "title", {}, () => [
|
|
2867
|
-
h("strong", null,
|
|
2867
|
+
h("strong", null, k(t.title), 1)
|
|
2868
2868
|
])
|
|
2869
2869
|
]),
|
|
2870
2870
|
h("div", null, [
|
|
2871
2871
|
g(e.$slots, "description", {}, () => [
|
|
2872
|
-
T(
|
|
2872
|
+
T(k(t.description), 1)
|
|
2873
2873
|
])
|
|
2874
2874
|
])
|
|
2875
2875
|
]),
|
|
2876
|
-
e.$slots.action ? (u(), f("div",
|
|
2876
|
+
e.$slots.action ? (u(), f("div", Fo, [
|
|
2877
2877
|
g(e.$slots, "action")
|
|
2878
2878
|
])) : p("", !0)
|
|
2879
2879
|
])
|
|
2880
2880
|
], 2);
|
|
2881
2881
|
}
|
|
2882
|
-
const ch = /* @__PURE__ */ L(Ro, [["render",
|
|
2882
|
+
const ch = /* @__PURE__ */ L(Ro, [["render", Mo]]), Po = ["aria-hidden"], zo = {
|
|
2883
2883
|
key: 2,
|
|
2884
2884
|
class: "hidden-visually"
|
|
2885
2885
|
}, Lo = {
|
|
@@ -2919,11 +2919,11 @@ const ch = /* @__PURE__ */ L(Ro, [["render", Fo]]), Po = ["aria-hidden"], zo = {
|
|
|
2919
2919
|
href: String
|
|
2920
2920
|
},
|
|
2921
2921
|
setup(e) {
|
|
2922
|
-
const n = e, t =
|
|
2922
|
+
const n = e, t = _(() => !!(n.to || n.click)), s = _(() => {
|
|
2923
2923
|
const { click: l, to: o, href: a } = n;
|
|
2924
2924
|
return l ? "button" : o ? Qe : a ? "a" : "span";
|
|
2925
2925
|
});
|
|
2926
|
-
return (l, o) => (u(),
|
|
2926
|
+
return (l, o) => (u(), w(j(s.value), {
|
|
2927
2927
|
class: m(["badge", [
|
|
2928
2928
|
e.size ? `badge--${e.size}` : null,
|
|
2929
2929
|
e.type ? `badge--${e.type}` : null,
|
|
@@ -2940,8 +2940,8 @@ const ch = /* @__PURE__ */ L(Ro, [["render", Fo]]), Po = ["aria-hidden"], zo = {
|
|
|
2940
2940
|
e.text ? (u(), f("span", {
|
|
2941
2941
|
key: 0,
|
|
2942
2942
|
"aria-hidden": e.alt ? "true" : null
|
|
2943
|
-
},
|
|
2944
|
-
e.alt ? (u(), f("span", zo,
|
|
2943
|
+
}, k(e.text), 9, Po)) : g(l.$slots, "default", { key: 1 }),
|
|
2944
|
+
e.alt ? (u(), f("span", zo, k(e.alt), 1)) : p("", !0)
|
|
2945
2945
|
], 2)
|
|
2946
2946
|
]),
|
|
2947
2947
|
_: 3
|
|
@@ -3037,8 +3037,8 @@ const ch = /* @__PURE__ */ L(Ro, [["render", Fo]]), Po = ["aria-hidden"], zo = {
|
|
|
3037
3037
|
class: "button-verbose__body"
|
|
3038
3038
|
};
|
|
3039
3039
|
function Wo(e, n, t, s, l, o) {
|
|
3040
|
-
const a =
|
|
3041
|
-
return u(),
|
|
3040
|
+
const a = ee("UluIcon");
|
|
3041
|
+
return u(), w(j(o.element), le({
|
|
3042
3042
|
class: ["button-verbose", [
|
|
3043
3043
|
{
|
|
3044
3044
|
"button-verbose--inline": t.inline,
|
|
@@ -3048,23 +3048,23 @@ function Wo(e, n, t, s, l, o) {
|
|
|
3048
3048
|
]]
|
|
3049
3049
|
}, o.attrs), {
|
|
3050
3050
|
default: $(() => [
|
|
3051
|
-
e.$slots.title || t.title ? (u(),
|
|
3051
|
+
e.$slots.title || t.title ? (u(), w(j(t.titleElement), {
|
|
3052
3052
|
key: 0,
|
|
3053
3053
|
class: "button-verbose__title"
|
|
3054
3054
|
}, {
|
|
3055
3055
|
default: $(() => [
|
|
3056
3056
|
g(e.$slots, "title", {}, () => [
|
|
3057
|
-
T(
|
|
3057
|
+
T(k(t.title), 1)
|
|
3058
3058
|
])
|
|
3059
3059
|
]),
|
|
3060
3060
|
_: 3
|
|
3061
3061
|
})) : p("", !0),
|
|
3062
3062
|
e.$slots.default || t.body ? (u(), f("span", No, [
|
|
3063
3063
|
g(e.$slots, "default", {}, () => [
|
|
3064
|
-
T(
|
|
3064
|
+
T(k(t.body), 1)
|
|
3065
3065
|
])
|
|
3066
3066
|
])) : p("", !0),
|
|
3067
|
-
t.icon ? (u(),
|
|
3067
|
+
t.icon ? (u(), w(a, {
|
|
3068
3068
|
key: 2,
|
|
3069
3069
|
icon: t.icon,
|
|
3070
3070
|
class: "button-verbose__icon",
|
|
@@ -3212,30 +3212,30 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3212
3212
|
setup(e, { emit: n }) {
|
|
3213
3213
|
const t = e, s = n, l = Dn();
|
|
3214
3214
|
t.proxyClick && (t.to || t.href) && console.warn("UluCard: 'proxyClick' is ignored when 'to' or 'href' are present."), (t.titleTo || t.titleHref) && (t.to || t.href) && console.warn("UluCard: 'titleTo'/'titleHref' should not be used with 'to'/'href'.");
|
|
3215
|
-
const o = O(null), a = O(null), { resolvedModifiers: r } = fe({ props: t, baseClass: "card" }), c = O(null), i = O(!1), d =
|
|
3215
|
+
const o = O(null), a = O(null), { resolvedModifiers: r } = fe({ props: t, baseClass: "card" }), c = O(null), i = O(!1), d = _(() => t.proxyClick && !t.to && !t.href), v = _(() => d.value && (t.titleTo || t.titleHref)), y = _(() => d.value && !v.value), b = _(() => d.value || null), A = _(() => ({
|
|
3216
3216
|
selectorPrevent: "input, select, textarea, button, a, [tabindex='-1']",
|
|
3217
3217
|
mousedownDurationPrevent: 250,
|
|
3218
3218
|
...t.proxyClickOptions
|
|
3219
|
-
})), C =
|
|
3220
|
-
function H({ target: I, timeStamp:
|
|
3219
|
+
})), C = _(() => d.value ? "pointer" : null), B = _(() => t.to ? Qe : t.href ? "a" : t.cardElement);
|
|
3220
|
+
function H({ target: I, timeStamp: M }) {
|
|
3221
3221
|
if (!b.value) return;
|
|
3222
|
-
const { selectorPrevent:
|
|
3223
|
-
i.value = !1, I.closest(
|
|
3222
|
+
const { selectorPrevent: X } = A.value;
|
|
3223
|
+
i.value = !1, I.closest(X) || (i.value = !0, c.value = M);
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3225
|
+
function K({ timeStamp: I }) {
|
|
3226
3226
|
if (!b.value || !i.value) return;
|
|
3227
|
-
const { mousedownDurationPrevent:
|
|
3228
|
-
if (I - c.value <
|
|
3227
|
+
const { mousedownDurationPrevent: M } = A.value;
|
|
3228
|
+
if (I - c.value < M) {
|
|
3229
3229
|
if (v.value)
|
|
3230
3230
|
a.value?.click();
|
|
3231
3231
|
else if (y.value) {
|
|
3232
|
-
const
|
|
3233
|
-
|
|
3232
|
+
const X = o.value?.querySelector("[data-ulu-card-proxy-target]");
|
|
3233
|
+
X ? X.click() : s("proxy-click");
|
|
3234
3234
|
}
|
|
3235
3235
|
}
|
|
3236
3236
|
i.value = !1;
|
|
3237
3237
|
}
|
|
3238
|
-
return (I,
|
|
3238
|
+
return (I, M) => (u(), w(j(B.value), {
|
|
3239
3239
|
ref_key: "cardRoot",
|
|
3240
3240
|
ref: o,
|
|
3241
3241
|
class: m(["card", [
|
|
@@ -3244,11 +3244,11 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3244
3244
|
"card--horizontal-center": e.horizontalCenter,
|
|
3245
3245
|
"card--overlay": e.overlay
|
|
3246
3246
|
},
|
|
3247
|
-
|
|
3247
|
+
S(r)
|
|
3248
3248
|
]]),
|
|
3249
3249
|
onMousedown: H,
|
|
3250
|
-
onMouseup:
|
|
3251
|
-
style:
|
|
3250
|
+
onMouseup: K,
|
|
3251
|
+
style: Y({ cursor: C.value }),
|
|
3252
3252
|
target: e.target,
|
|
3253
3253
|
to: e.to,
|
|
3254
3254
|
href: e.href,
|
|
@@ -3257,12 +3257,12 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3257
3257
|
default: $(() => [
|
|
3258
3258
|
h("div", Xo, [
|
|
3259
3259
|
h("div", Go, [
|
|
3260
|
-
e.title ||
|
|
3260
|
+
e.title || S(l).title ? (u(), w(j(e.titleElement), {
|
|
3261
3261
|
key: 0,
|
|
3262
3262
|
class: m(["card__title", e.classes.title])
|
|
3263
3263
|
}, {
|
|
3264
3264
|
default: $(() => [
|
|
3265
|
-
e.titleTo ? (u(),
|
|
3265
|
+
e.titleTo ? (u(), w(S(Qe), {
|
|
3266
3266
|
key: 0,
|
|
3267
3267
|
class: "card__title-link",
|
|
3268
3268
|
to: e.titleTo,
|
|
@@ -3271,7 +3271,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3271
3271
|
}, {
|
|
3272
3272
|
default: $(() => [
|
|
3273
3273
|
g(I.$slots, "title", {}, () => [
|
|
3274
|
-
T(
|
|
3274
|
+
T(k(e.title), 1)
|
|
3275
3275
|
])
|
|
3276
3276
|
]),
|
|
3277
3277
|
_: 3
|
|
@@ -3284,21 +3284,21 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3284
3284
|
ref: a
|
|
3285
3285
|
}, [
|
|
3286
3286
|
g(I.$slots, "title", {}, () => [
|
|
3287
|
-
T(
|
|
3287
|
+
T(k(e.title), 1)
|
|
3288
3288
|
])
|
|
3289
3289
|
], 8, Yo)) : g(I.$slots, "title", { key: 2 }, () => [
|
|
3290
|
-
T(
|
|
3290
|
+
T(k(e.title), 1)
|
|
3291
3291
|
])
|
|
3292
3292
|
]),
|
|
3293
3293
|
_: 3
|
|
3294
3294
|
}, 8, ["class"])) : p("", !0),
|
|
3295
3295
|
g(I.$slots, "body")
|
|
3296
3296
|
]),
|
|
3297
|
-
|
|
3297
|
+
S(l).aside ? (u(), f("div", Ko, [
|
|
3298
3298
|
g(I.$slots, "aside")
|
|
3299
3299
|
])) : p("", !0)
|
|
3300
3300
|
]),
|
|
3301
|
-
|
|
3301
|
+
S(l).image || e.imageSrc ? (u(), f("div", {
|
|
3302
3302
|
key: 0,
|
|
3303
3303
|
class: m(["card__image", [
|
|
3304
3304
|
{ "card__image--icon": e.imageIcon },
|
|
@@ -3312,7 +3312,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3312
3312
|
}, null, 8, Jo)
|
|
3313
3313
|
])
|
|
3314
3314
|
], 2)) : p("", !0),
|
|
3315
|
-
|
|
3315
|
+
S(l).footer ? (u(), f("div", Qo, [
|
|
3316
3316
|
g(I.$slots, "footer")
|
|
3317
3317
|
])) : p("", !0)
|
|
3318
3318
|
]),
|
|
@@ -3368,7 +3368,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3368
3368
|
compact: Boolean
|
|
3369
3369
|
},
|
|
3370
3370
|
setup(e) {
|
|
3371
|
-
const n = e, t =
|
|
3371
|
+
const n = e, t = _(() => ({
|
|
3372
3372
|
inline: n.inline,
|
|
3373
3373
|
"inline-all": n.inlineAll,
|
|
3374
3374
|
table: n.table,
|
|
@@ -3382,7 +3382,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3382
3382
|
baseClass: "definition-list"
|
|
3383
3383
|
});
|
|
3384
3384
|
return (l, o) => (u(), f("dl", {
|
|
3385
|
-
class: m(["definition-list", [
|
|
3385
|
+
class: m(["definition-list", [S(s), e.classes.list]])
|
|
3386
3386
|
}, [
|
|
3387
3387
|
(u(!0), f(U, null, R(e.items, (a, r) => (u(), f("div", {
|
|
3388
3388
|
key: r,
|
|
@@ -3395,7 +3395,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3395
3395
|
item: a,
|
|
3396
3396
|
index: r
|
|
3397
3397
|
}, () => [
|
|
3398
|
-
T(
|
|
3398
|
+
T(k(a.term), 1)
|
|
3399
3399
|
])
|
|
3400
3400
|
], 2),
|
|
3401
3401
|
h("dd", {
|
|
@@ -3405,7 +3405,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3405
3405
|
item: a,
|
|
3406
3406
|
index: r
|
|
3407
3407
|
}, () => [
|
|
3408
|
-
T(
|
|
3408
|
+
T(k(a.description), 1)
|
|
3409
3409
|
])
|
|
3410
3410
|
], 2)
|
|
3411
3411
|
], 2))), 128))
|
|
@@ -3442,7 +3442,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3442
3442
|
}, [
|
|
3443
3443
|
h("span", ea, [
|
|
3444
3444
|
g(n.$slots, "default", {}, () => [
|
|
3445
|
-
T(
|
|
3445
|
+
T(k(e.text), 1)
|
|
3446
3446
|
])
|
|
3447
3447
|
]),
|
|
3448
3448
|
x(q, {
|
|
@@ -3501,8 +3501,8 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3501
3501
|
listStyleType: String
|
|
3502
3502
|
},
|
|
3503
3503
|
setup(e) {
|
|
3504
|
-
const n = e, t =
|
|
3505
|
-
return (l, o) => (u(),
|
|
3504
|
+
const n = e, t = _(() => n.ordered || n.forceOrdered), s = _(() => t.value ? "ol" : "ul");
|
|
3505
|
+
return (l, o) => (u(), w(j(s.value), {
|
|
3506
3506
|
class: m([
|
|
3507
3507
|
{
|
|
3508
3508
|
"list-ordered": e.ordered,
|
|
@@ -3512,7 +3512,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3512
3512
|
},
|
|
3513
3513
|
e.classes.list
|
|
3514
3514
|
]),
|
|
3515
|
-
style:
|
|
3515
|
+
style: Y({
|
|
3516
3516
|
listStyleType: e.listStyleType
|
|
3517
3517
|
}),
|
|
3518
3518
|
reversed: t.value ? e.reversed : null,
|
|
@@ -3527,7 +3527,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3527
3527
|
item: a,
|
|
3528
3528
|
index: r
|
|
3529
3529
|
}, () => [
|
|
3530
|
-
T(
|
|
3530
|
+
T(k(a), 1)
|
|
3531
3531
|
])
|
|
3532
3532
|
], 2))), 128))
|
|
3533
3533
|
]),
|
|
@@ -3569,7 +3569,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3569
3569
|
modifiers: [String, Array]
|
|
3570
3570
|
},
|
|
3571
3571
|
setup(e) {
|
|
3572
|
-
const n = e, t =
|
|
3572
|
+
const n = e, t = _(() => ({
|
|
3573
3573
|
short: n.short,
|
|
3574
3574
|
light: n.light,
|
|
3575
3575
|
large: n.large,
|
|
@@ -3581,10 +3581,10 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3581
3581
|
});
|
|
3582
3582
|
return (l, o) => e.semantic ? (u(), f("hr", {
|
|
3583
3583
|
key: 0,
|
|
3584
|
-
class: m(["rule",
|
|
3584
|
+
class: m(["rule", S(s)])
|
|
3585
3585
|
}, null, 2)) : (u(), f("div", {
|
|
3586
3586
|
key: 1,
|
|
3587
|
-
class: m(["rule",
|
|
3587
|
+
class: m(["rule", S(s)])
|
|
3588
3588
|
}, null, 2));
|
|
3589
3589
|
}
|
|
3590
3590
|
}, la = { class: "spoke-spinner__spinner" }, bh = {
|
|
@@ -3637,7 +3637,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3637
3637
|
},
|
|
3638
3638
|
emits: ["update:modelValue"],
|
|
3639
3639
|
setup(e, { emit: n }) {
|
|
3640
|
-
const t = e, s = n, l =
|
|
3640
|
+
const t = e, s = n, l = _(() => t.legend ? t.legend.toLowerCase().replace(/\s+/g, "-") : `menu-${Math.random().toString(36).substring(7)}`), o = _(() => l.value ? `${l.value}-legend` : null), a = _(() => t.type === "radio" ? "radiogroup" : "group"), r = (d) => `${l.value}-${d.uid}`, c = (d) => t.type === "radio" ? t.modelValue === d.uid : Array.isArray(t.modelValue) ? t.modelValue.includes(d.uid) : t.type === "checkbox" && d.checked || !1, i = (d, v) => {
|
|
3641
3641
|
if (t.type === "radio")
|
|
3642
3642
|
s("update:modelValue", d.uid);
|
|
3643
3643
|
else if (Array.isArray(t.modelValue)) {
|
|
@@ -3658,7 +3658,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3658
3658
|
key: 0,
|
|
3659
3659
|
id: o.value,
|
|
3660
3660
|
class: "hidden-visually"
|
|
3661
|
-
},
|
|
3661
|
+
}, k(e.legend), 9, aa)) : p("", !0),
|
|
3662
3662
|
h("ul", ra, [
|
|
3663
3663
|
(u(!0), f(U, null, R(e.options, (y) => (u(), f("li", {
|
|
3664
3664
|
class: "menu-stack__item",
|
|
@@ -3677,7 +3677,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3677
3677
|
for: r(y)
|
|
3678
3678
|
}, [
|
|
3679
3679
|
g(d.$slots, "default", { option: y }, () => [
|
|
3680
|
-
T(
|
|
3680
|
+
T(k(y?.label || y?.title || y?.text), 1)
|
|
3681
3681
|
])
|
|
3682
3682
|
], 8, ua)
|
|
3683
3683
|
])
|
|
@@ -3708,7 +3708,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3708
3708
|
noFileSize: Boolean
|
|
3709
3709
|
},
|
|
3710
3710
|
setup(e) {
|
|
3711
|
-
const n = e, t =
|
|
3711
|
+
const n = e, t = _(() => typeof window > "u" ? "" : window.URL.createObjectURL(n.file)), s = _(() => {
|
|
3712
3712
|
const { size: l } = n.file, o = l / 1e6, a = l / 1e3, r = (c) => parseFloat(c.toFixed(2));
|
|
3713
3713
|
return o > 1 ? `${r(o)}Mb` : a > 1 ? `${r(a)}Kb` : `${r(l)}B`;
|
|
3714
3714
|
});
|
|
@@ -3726,8 +3726,8 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3726
3726
|
icon: e.icon
|
|
3727
3727
|
}, null, 8, ["icon"]),
|
|
3728
3728
|
h("span", fa, [
|
|
3729
|
-
T(
|
|
3730
|
-
e.noFileSize ? p("", !0) : (u(),
|
|
3729
|
+
T(k(e.file.name) + " ", 1),
|
|
3730
|
+
e.noFileSize ? p("", !0) : (u(), w(os, {
|
|
3731
3731
|
key: 0,
|
|
3732
3732
|
text: s.value,
|
|
3733
3733
|
small: "",
|
|
@@ -3781,18 +3781,18 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3781
3781
|
return (o, a) => (u(), f(U, null, [
|
|
3782
3782
|
h("label", {
|
|
3783
3783
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3784
|
-
for:
|
|
3784
|
+
for: S(s)
|
|
3785
3785
|
}, [
|
|
3786
3786
|
g(o.$slots, "label", {}, () => [
|
|
3787
|
-
T(
|
|
3788
|
-
e.required ? (u(),
|
|
3787
|
+
T(k(e.label), 1),
|
|
3788
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
3789
3789
|
])
|
|
3790
3790
|
], 10, ma),
|
|
3791
3791
|
h("input", le({
|
|
3792
3792
|
type: "file",
|
|
3793
3793
|
onChange: l,
|
|
3794
3794
|
multiple: e.multiple,
|
|
3795
|
-
id:
|
|
3795
|
+
id: S(s)
|
|
3796
3796
|
}, e.inputAttrs, { required: e.required }), null, 16, ga)
|
|
3797
3797
|
], 64));
|
|
3798
3798
|
}
|
|
@@ -3815,7 +3815,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3815
3815
|
"form-theme__warning": e.warning
|
|
3816
3816
|
}])
|
|
3817
3817
|
}, [
|
|
3818
|
-
e.error || e.warning ? (u(),
|
|
3818
|
+
e.error || e.warning ? (u(), w(q, {
|
|
3819
3819
|
key: 0,
|
|
3820
3820
|
icon: `type:${e.error ? "error" : "warning"}`
|
|
3821
3821
|
}, null, 8, ["icon"])) : p("", !0),
|
|
@@ -3852,15 +3852,15 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3852
3852
|
return (t, s) => (u(), f(U, null, [
|
|
3853
3853
|
h("label", {
|
|
3854
3854
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3855
|
-
for:
|
|
3855
|
+
for: S(n)
|
|
3856
3856
|
}, [
|
|
3857
3857
|
g(t.$slots, "label", {}, () => [
|
|
3858
|
-
T(
|
|
3859
|
-
e.required ? (u(),
|
|
3858
|
+
T(k(e.label), 1),
|
|
3859
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
3860
3860
|
])
|
|
3861
3861
|
], 10, va),
|
|
3862
3862
|
h("select", {
|
|
3863
|
-
id:
|
|
3863
|
+
id: S(n),
|
|
3864
3864
|
value: e.modelValue,
|
|
3865
3865
|
onInput: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.value)),
|
|
3866
3866
|
required: e.required
|
|
@@ -3872,7 +3872,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3872
3872
|
(u(!0), f(U, null, R(e.options, (l, o) => (u(), f("option", {
|
|
3873
3873
|
key: o,
|
|
3874
3874
|
value: l.value
|
|
3875
|
-
},
|
|
3875
|
+
}, k(l.text), 9, pa))), 128))
|
|
3876
3876
|
], 40, ya)
|
|
3877
3877
|
], 64));
|
|
3878
3878
|
}
|
|
@@ -3902,18 +3902,18 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3902
3902
|
return (t, s) => (u(), f(U, null, [
|
|
3903
3903
|
h("label", {
|
|
3904
3904
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3905
|
-
for:
|
|
3905
|
+
for: S(n)
|
|
3906
3906
|
}, [
|
|
3907
3907
|
g(t.$slots, "label", {}, () => [
|
|
3908
|
-
T(
|
|
3909
|
-
e.required ? (u(),
|
|
3908
|
+
T(k(e.label), 1),
|
|
3909
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
3910
3910
|
])
|
|
3911
3911
|
], 10, ba),
|
|
3912
3912
|
h("input", {
|
|
3913
3913
|
type: "text",
|
|
3914
3914
|
value: e.modelValue,
|
|
3915
3915
|
onInput: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.value)),
|
|
3916
|
-
id:
|
|
3916
|
+
id: S(n),
|
|
3917
3917
|
required: e.required
|
|
3918
3918
|
}, null, 40, _a)
|
|
3919
3919
|
], 64));
|
|
@@ -3976,7 +3976,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3976
3976
|
actionsRight: Boolean
|
|
3977
3977
|
},
|
|
3978
3978
|
setup(e) {
|
|
3979
|
-
return (n, t) => (u(),
|
|
3979
|
+
return (n, t) => (u(), w(j(e.element), {
|
|
3980
3980
|
class: m(["form-theme", [{
|
|
3981
3981
|
"form-theme--full-width": e.fullWidth,
|
|
3982
3982
|
"form-theme--full-width-select": e.fullWidthSelect,
|
|
@@ -4019,15 +4019,15 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4019
4019
|
return (t, s) => (u(), f(U, null, [
|
|
4020
4020
|
h("input", {
|
|
4021
4021
|
type: "checkbox",
|
|
4022
|
-
id:
|
|
4022
|
+
id: S(n),
|
|
4023
4023
|
checked: e.modelValue,
|
|
4024
4024
|
onChange: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.checked)),
|
|
4025
4025
|
required: e.required
|
|
4026
4026
|
}, null, 40, Ta),
|
|
4027
|
-
h("label", { for:
|
|
4027
|
+
h("label", { for: S(n) }, [
|
|
4028
4028
|
g(t.$slots, "default", {}, () => [
|
|
4029
|
-
T(
|
|
4030
|
-
e.required ? (u(),
|
|
4029
|
+
T(k(e.label), 1),
|
|
4030
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
4031
4031
|
])
|
|
4032
4032
|
], 8, Aa)
|
|
4033
4033
|
], 64));
|
|
@@ -4042,7 +4042,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4042
4042
|
},
|
|
4043
4043
|
setup(e) {
|
|
4044
4044
|
return (n, t) => (u(), f("fieldset", Oa, [
|
|
4045
|
-
e.legend ? (u(), f("legend", Ua,
|
|
4045
|
+
e.legend ? (u(), f("legend", Ua, k(e.legend), 1)) : p("", !0),
|
|
4046
4046
|
g(n.$slots, "default")
|
|
4047
4047
|
]));
|
|
4048
4048
|
}
|
|
@@ -4130,17 +4130,17 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4130
4130
|
return (t, s) => (u(), f(U, null, [
|
|
4131
4131
|
h("input", {
|
|
4132
4132
|
type: "radio",
|
|
4133
|
-
id:
|
|
4133
|
+
id: S(n),
|
|
4134
4134
|
name: e.name,
|
|
4135
4135
|
value: e.value,
|
|
4136
4136
|
checked: e.modelValue === e.value,
|
|
4137
4137
|
onChange: s[0] || (s[0] = (l) => t.$emit("update:modelValue", e.value)),
|
|
4138
4138
|
required: e.required
|
|
4139
4139
|
}, null, 40, Ba),
|
|
4140
|
-
h("label", { for:
|
|
4140
|
+
h("label", { for: S(n) }, [
|
|
4141
4141
|
g(t.$slots, "default", {}, () => [
|
|
4142
|
-
T(
|
|
4143
|
-
e.required ? (u(),
|
|
4142
|
+
T(k(e.label), 1),
|
|
4143
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
4144
4144
|
])
|
|
4145
4145
|
], 8, Ea)
|
|
4146
4146
|
], 64));
|
|
@@ -4171,17 +4171,17 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4171
4171
|
return (t, s) => (u(), f(U, null, [
|
|
4172
4172
|
h("label", {
|
|
4173
4173
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
4174
|
-
for:
|
|
4174
|
+
for: S(n)
|
|
4175
4175
|
}, [
|
|
4176
4176
|
g(t.$slots, "label", {}, () => [
|
|
4177
|
-
T(
|
|
4178
|
-
e.required ? (u(),
|
|
4177
|
+
T(k(e.label), 1),
|
|
4178
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
4179
4179
|
])
|
|
4180
4180
|
], 10, Ra),
|
|
4181
4181
|
h("textarea", {
|
|
4182
4182
|
value: e.modelValue,
|
|
4183
4183
|
onInput: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.value)),
|
|
4184
|
-
id:
|
|
4184
|
+
id: S(n),
|
|
4185
4185
|
required: e.required
|
|
4186
4186
|
}, null, 40, Ia)
|
|
4187
4187
|
], 64));
|
|
@@ -4190,7 +4190,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4190
4190
|
__name: "UluAdaptiveLayout",
|
|
4191
4191
|
setup(e) {
|
|
4192
4192
|
const n = Ce("uluIsMobile");
|
|
4193
|
-
return (t, s) => !
|
|
4193
|
+
return (t, s) => !S(n) || !t.$slots.mobile ? g(t.$slots, "default", { key: 0 }) : g(t.$slots, "mobile", { key: 1 });
|
|
4194
4194
|
}
|
|
4195
4195
|
}, jh = {
|
|
4196
4196
|
__name: "UluDataGrid",
|
|
@@ -4218,7 +4218,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4218
4218
|
o && (window.removeEventListener("resize", o), o = null, l = null);
|
|
4219
4219
|
}), te(() => n.hidden, (a, r) => {
|
|
4220
4220
|
r && !a && l && l();
|
|
4221
|
-
}), (a, r) => (u(),
|
|
4221
|
+
}), (a, r) => (u(), w(j(e.element), {
|
|
4222
4222
|
"data-grid-init": s.value,
|
|
4223
4223
|
ref_key: "rootElement",
|
|
4224
4224
|
ref: t
|
|
@@ -4272,12 +4272,12 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4272
4272
|
*/
|
|
4273
4273
|
rule: Boolean
|
|
4274
4274
|
}
|
|
4275
|
-
},
|
|
4275
|
+
}, Fa = {
|
|
4276
4276
|
key: 0,
|
|
4277
4277
|
class: "rail__item rail__item--pull"
|
|
4278
4278
|
};
|
|
4279
|
-
function
|
|
4280
|
-
const a =
|
|
4279
|
+
function Ma(e, n, t, s, l, o) {
|
|
4280
|
+
const a = ee("UluIcon");
|
|
4281
4281
|
return u(), f("div", {
|
|
4282
4282
|
class: m(["rail rail--title-rail", {
|
|
4283
4283
|
"rail--rule": t.rule
|
|
@@ -4286,29 +4286,29 @@ function Fa(e, n, t, s, l, o) {
|
|
|
4286
4286
|
h("div", {
|
|
4287
4287
|
class: m(["rail__item rail__item--title", t.classes.itemTitle])
|
|
4288
4288
|
}, [
|
|
4289
|
-
(u(),
|
|
4289
|
+
(u(), w(j(t.titleElement), {
|
|
4290
4290
|
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
4291
|
-
style:
|
|
4291
|
+
style: Y({ alignItems: t.iconAlign })
|
|
4292
4292
|
}, {
|
|
4293
4293
|
default: $(() => [
|
|
4294
|
-
t.icon ? (u(),
|
|
4294
|
+
t.icon ? (u(), w(a, {
|
|
4295
4295
|
key: 0,
|
|
4296
4296
|
class: m(t.classes.icon),
|
|
4297
4297
|
icon: t.icon
|
|
4298
4298
|
}, null, 8, ["class", "icon"])) : p("", !0),
|
|
4299
4299
|
g(e.$slots, "default", {}, () => [
|
|
4300
|
-
T(
|
|
4300
|
+
T(k(t.title), 1)
|
|
4301
4301
|
])
|
|
4302
4302
|
]),
|
|
4303
4303
|
_: 3
|
|
4304
4304
|
}, 8, ["class", "style"]))
|
|
4305
4305
|
], 2),
|
|
4306
|
-
e.$slots.end ? (u(), f("div",
|
|
4306
|
+
e.$slots.end ? (u(), f("div", Fa, [
|
|
4307
4307
|
g(e.$slots, "end")
|
|
4308
4308
|
])) : p("", !0)
|
|
4309
4309
|
], 2);
|
|
4310
4310
|
}
|
|
4311
|
-
const
|
|
4311
|
+
const Fh = /* @__PURE__ */ L(ja, [["render", Ma]]), Mh = {
|
|
4312
4312
|
__name: "UluWhenBreakpoint",
|
|
4313
4313
|
props: {
|
|
4314
4314
|
/**
|
|
@@ -4325,7 +4325,7 @@ const Mh = /* @__PURE__ */ L(ja, [["render", Fa]]), Fh = {
|
|
|
4325
4325
|
only: String
|
|
4326
4326
|
},
|
|
4327
4327
|
setup(e) {
|
|
4328
|
-
const n = e, t = Ce("uluBreakpointManager"), s = O({}), l = O([]), o = O(!1), a =
|
|
4328
|
+
const n = e, t = Ce("uluBreakpointManager"), s = O({}), l = O([]), o = O(!1), a = _(() => !o.value || ["max", "min", "only"].filter((d) => n[d]).length === 0 ? !1 : Object.values(s.value).every((d) => d)), r = (i) => {
|
|
4329
4329
|
const d = (v) => {
|
|
4330
4330
|
const y = n[v];
|
|
4331
4331
|
if (y) {
|
|
@@ -4391,7 +4391,7 @@ const Mh = /* @__PURE__ */ L(ja, [["render", Fa]]), Fh = {
|
|
|
4391
4391
|
}
|
|
4392
4392
|
};
|
|
4393
4393
|
function za(e, n, t, s, l, o) {
|
|
4394
|
-
const a =
|
|
4394
|
+
const a = ee("router-link"), r = ee("UluIcon");
|
|
4395
4395
|
return t.items.length ? (u(), f("nav", {
|
|
4396
4396
|
key: 0,
|
|
4397
4397
|
class: m(t.classes.nav),
|
|
@@ -4409,9 +4409,9 @@ function za(e, n, t, s, l, o) {
|
|
|
4409
4409
|
class: m(c.current)
|
|
4410
4410
|
}, [
|
|
4411
4411
|
g(e.$slots, "default", { item: c }, () => [
|
|
4412
|
-
T(
|
|
4412
|
+
T(k(c.title), 1)
|
|
4413
4413
|
])
|
|
4414
|
-
], 2)) : (u(),
|
|
4414
|
+
], 2)) : (u(), w(a, {
|
|
4415
4415
|
key: 0,
|
|
4416
4416
|
to: c.to,
|
|
4417
4417
|
class: m(t.classes.link),
|
|
@@ -4419,7 +4419,7 @@ function za(e, n, t, s, l, o) {
|
|
|
4419
4419
|
}, {
|
|
4420
4420
|
default: $(() => [
|
|
4421
4421
|
g(e.$slots, "default", { item: c }, () => [
|
|
4422
|
-
T(
|
|
4422
|
+
T(k(c.title), 1)
|
|
4423
4423
|
])
|
|
4424
4424
|
]),
|
|
4425
4425
|
_: 2
|
|
@@ -4459,7 +4459,7 @@ const Ph = /* @__PURE__ */ L(Pa, [["render", za]]), La = {
|
|
|
4459
4459
|
}
|
|
4460
4460
|
};
|
|
4461
4461
|
function Va(e, n, t, s, l, o) {
|
|
4462
|
-
const a =
|
|
4462
|
+
const a = ee("UluMenu");
|
|
4463
4463
|
return u(), f("nav", {
|
|
4464
4464
|
class: m(["nav-strip", {
|
|
4465
4465
|
"nav-strip--rule": t.rule,
|
|
@@ -4536,15 +4536,15 @@ const zh = /* @__PURE__ */ L(La, [["render", Va]]), Ha = ["aria-labelledby"], Na
|
|
|
4536
4536
|
return n.current == l ? "Current page" : `Go to page ${l}`;
|
|
4537
4537
|
}
|
|
4538
4538
|
return (l, o) => {
|
|
4539
|
-
const a =
|
|
4539
|
+
const a = ee("router-link");
|
|
4540
4540
|
return e.items ? (u(), f("nav", {
|
|
4541
4541
|
key: 0,
|
|
4542
4542
|
class: "pager",
|
|
4543
4543
|
role: "navigation",
|
|
4544
|
-
"aria-labelledby":
|
|
4544
|
+
"aria-labelledby": S(t)
|
|
4545
4545
|
}, [
|
|
4546
|
-
(u(),
|
|
4547
|
-
id:
|
|
4546
|
+
(u(), w(j(e.titleElement), {
|
|
4547
|
+
id: S(t),
|
|
4548
4548
|
class: "hidden-visually"
|
|
4549
4549
|
}, {
|
|
4550
4550
|
default: $(() => [...o[0] || (o[0] = [
|
|
@@ -4594,8 +4594,8 @@ const zh = /* @__PURE__ */ L(La, [["render", Va]]), Ha = ["aria-labelledby"], Na
|
|
|
4594
4594
|
title: s(c)
|
|
4595
4595
|
}, { ref_for: !0 }, r.attributes), {
|
|
4596
4596
|
default: $(() => [
|
|
4597
|
-
h("span", Xa,
|
|
4598
|
-
T(" " +
|
|
4597
|
+
h("span", Xa, k(e.current == c ? "Current page" : "Page"), 1),
|
|
4598
|
+
T(" " + k(c), 1)
|
|
4599
4599
|
]),
|
|
4600
4600
|
_: 2
|
|
4601
4601
|
}, 1040, ["to", "title"])
|
|
@@ -4660,9 +4660,9 @@ const Vh = /* @__PURE__ */ L(Ja, [["render", Za]]), er = {
|
|
|
4660
4660
|
}
|
|
4661
4661
|
};
|
|
4662
4662
|
function tr(e, n, t, s, l, o) {
|
|
4663
|
-
return t.text != null ? (u(),
|
|
4663
|
+
return t.text != null ? (u(), w(j(t.element), { key: 0 }, {
|
|
4664
4664
|
default: $(() => [
|
|
4665
|
-
T(
|
|
4665
|
+
T(k(t.text), 1)
|
|
4666
4666
|
]),
|
|
4667
4667
|
_: 1
|
|
4668
4668
|
})) : p("", !0);
|
|
@@ -4690,7 +4690,7 @@ const Hh = /* @__PURE__ */ L(er, [["render", tr]]), nr = {
|
|
|
4690
4690
|
}
|
|
4691
4691
|
},
|
|
4692
4692
|
setup(e) {
|
|
4693
|
-
return (n, t) => e.unwrapped ? g(n.$slots, "default", { key: 1 }) : (u(),
|
|
4693
|
+
return (n, t) => e.unwrapped ? g(n.$slots, "default", { key: 1 }) : (u(), w(j(e.is), { key: 0 }, {
|
|
4694
4694
|
default: $(() => [
|
|
4695
4695
|
g(n.$slots, "default")
|
|
4696
4696
|
]),
|
|
@@ -4703,8 +4703,8 @@ function or(e, n) {
|
|
|
4703
4703
|
}
|
|
4704
4704
|
const Nh = /* @__PURE__ */ L(sr, [["render", or]]), ar = {};
|
|
4705
4705
|
function rr(e, n) {
|
|
4706
|
-
const t =
|
|
4707
|
-
return u(),
|
|
4706
|
+
const t = ee("router-view");
|
|
4707
|
+
return u(), w(t);
|
|
4708
4708
|
}
|
|
4709
4709
|
const Wh = /* @__PURE__ */ L(ar, [["render", rr]]), ir = {
|
|
4710
4710
|
name: "UluPlaceholderImage",
|
|
@@ -4767,7 +4767,7 @@ const Dh = /* @__PURE__ */ L(ir, [["render", ur]]), dr = {
|
|
|
4767
4767
|
}
|
|
4768
4768
|
};
|
|
4769
4769
|
function fr(e, n, t, s, l, o) {
|
|
4770
|
-
return u(!0), f(U, null, R(parseInt(t.amount), (a) => (u(),
|
|
4770
|
+
return u(!0), f(U, null, R(parseInt(t.amount), (a) => (u(), w(j(t.element), { key: a }, {
|
|
4771
4771
|
default: $(() => [...n[0] || (n[0] = [
|
|
4772
4772
|
T(" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed semper erat tincidunt tellus vestibulum dictum. Fusce vel augue commodo, egestas diam sed, accumsan leo. Maecenas congue nec nisl et ullamcorper. Maecenas tincidunt, tortor et viverra eleifend, enim leo vestibulum ipsum, quis placerat mi nisi nec ex. Vivamus a justo volutpat, scelerisque elit eget, lacinia ex. Phasellus dapibus sollicitudin tortor, vitae suscipit nunc condimentum ut. Cras suscipit feugiat nibh nec consectetur. Phasellus vitae quam blandit, cursus metus ut, placerat mi. Sed tempor lacus non est interdum imperdiet nec quis metus. Praesent vel eleifend diam. Donec tincidunt eget purus sed posuere. ", -1)
|
|
4773
4773
|
])]),
|
|
@@ -4825,7 +4825,7 @@ function mr(e, n, t, s, l, o) {
|
|
|
4825
4825
|
tabindex: "-1",
|
|
4826
4826
|
class: "hidden-visually",
|
|
4827
4827
|
ref: "el"
|
|
4828
|
-
},
|
|
4828
|
+
}, k(o.title), 513)) : p("", !0);
|
|
4829
4829
|
}
|
|
4830
4830
|
const Xh = /* @__PURE__ */ L(hr, [["render", mr]]), Gh = {
|
|
4831
4831
|
__name: "UluSanityRichText",
|
|
@@ -4851,13 +4851,13 @@ const Xh = /* @__PURE__ */ L(hr, [["render", mr]]), Gh = {
|
|
|
4851
4851
|
})
|
|
4852
4852
|
}
|
|
4853
4853
|
};
|
|
4854
|
-
return (t, s) => e.content?.length ? (u(),
|
|
4854
|
+
return (t, s) => e.content?.length ? (u(), w(nr, {
|
|
4855
4855
|
key: 0,
|
|
4856
4856
|
class: "wysiwyg",
|
|
4857
4857
|
unwrapped: e.noWrapper
|
|
4858
4858
|
}, {
|
|
4859
4859
|
default: $(() => [
|
|
4860
|
-
x(
|
|
4860
|
+
x(S(rl), {
|
|
4861
4861
|
value: e.content,
|
|
4862
4862
|
components: n
|
|
4863
4863
|
}, null, 8, ["value"])
|
|
@@ -4893,7 +4893,7 @@ const Xh = /* @__PURE__ */ L(hr, [["render", mr]]), Gh = {
|
|
|
4893
4893
|
function vr(e, n, t, s, l, o) {
|
|
4894
4894
|
return u(), f("span", null, [
|
|
4895
4895
|
g(e.$slots, "default", { currentValue: l.currentValue }, () => [
|
|
4896
|
-
T(
|
|
4896
|
+
T(k(l.currentValue), 1)
|
|
4897
4897
|
])
|
|
4898
4898
|
]);
|
|
4899
4899
|
}
|
|
@@ -4996,7 +4996,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
4996
4996
|
amountInHeader: Boolean
|
|
4997
4997
|
},
|
|
4998
4998
|
setup(e) {
|
|
4999
|
-
const n = e, t = (a, r) => `${r === 0 ? 0 : a / r * 100}%`, s =
|
|
4999
|
+
const n = e, t = (a, r) => `${r === 0 ? 0 : a / r * 100}%`, s = _(() => n.indeterminate ? null : t(n.amount, n.total)), l = _(() => t(n.deficit, n.total)), o = _(() => ({
|
|
5000
5000
|
"progress-bar": !0,
|
|
5001
5001
|
"progress-bar--small": n.small,
|
|
5002
5002
|
"progress-bar--positive": n.positive,
|
|
@@ -5010,13 +5010,13 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5010
5010
|
class: m(o.value)
|
|
5011
5011
|
}, [
|
|
5012
5012
|
e.label || a.$slots.label || a.$slots.icon || e.amountInHeader ? (u(), f("div", yr, [
|
|
5013
|
-
e.label ? (u(),
|
|
5013
|
+
e.label ? (u(), w(j(e.labelElement), {
|
|
5014
5014
|
key: 0,
|
|
5015
5015
|
class: m(["progress-bar__label", [e.classes.label, { "hidden-visually": e.labelHidden }]])
|
|
5016
5016
|
}, {
|
|
5017
5017
|
default: $(() => [
|
|
5018
5018
|
g(a.$slots, "label", {}, () => [
|
|
5019
|
-
T(
|
|
5019
|
+
T(k(e.label), 1)
|
|
5020
5020
|
])
|
|
5021
5021
|
]),
|
|
5022
5022
|
_: 3
|
|
@@ -5024,7 +5024,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5024
5024
|
e.amountInHeader ? (u(), f("div", pr, [
|
|
5025
5025
|
r[0] || (r[0] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
5026
5026
|
g(a.$slots, "valueAmount", { value: e.amount }, () => [
|
|
5027
|
-
T(
|
|
5027
|
+
T(k(e.formatValue(e.amount, "amount")), 1)
|
|
5028
5028
|
])
|
|
5029
5029
|
])) : p("", !0),
|
|
5030
5030
|
a.$slots.icon ? (u(), f("div", br, [
|
|
@@ -5034,31 +5034,31 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5034
5034
|
h("div", _r, [
|
|
5035
5035
|
h("div", {
|
|
5036
5036
|
class: "progress-bar__bar",
|
|
5037
|
-
style:
|
|
5037
|
+
style: Y({ width: s.value })
|
|
5038
5038
|
}, null, 4),
|
|
5039
5039
|
e.deficit > 0 ? (u(), f("div", {
|
|
5040
5040
|
key: 0,
|
|
5041
5041
|
class: "progress-bar__bar--deficit",
|
|
5042
|
-
style:
|
|
5042
|
+
style: Y({ width: l.value })
|
|
5043
5043
|
}, null, 4)) : p("", !0)
|
|
5044
5044
|
]),
|
|
5045
5045
|
!e.noValues && !e.amountInHeader && !e.loader && !e.indeterminate ? (u(), f("div", wr, [
|
|
5046
5046
|
h("div", Sr, [
|
|
5047
5047
|
r[1] || (r[1] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
5048
5048
|
g(a.$slots, "valueAmount", { value: e.amount }, () => [
|
|
5049
|
-
T(
|
|
5049
|
+
T(k(e.formatValue(e.amount, "amount")), 1)
|
|
5050
5050
|
])
|
|
5051
5051
|
]),
|
|
5052
5052
|
e.deficit > 0 ? (u(), f("div", kr, [
|
|
5053
5053
|
r[2] || (r[2] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
|
|
5054
5054
|
g(a.$slots, "valueDeficit", { value: e.deficit }, () => [
|
|
5055
|
-
T("-" +
|
|
5055
|
+
T("-" + k(e.formatValue(e.deficit, "deficit")), 1)
|
|
5056
5056
|
])
|
|
5057
5057
|
])) : p("", !0),
|
|
5058
5058
|
h("div", $r, [
|
|
5059
5059
|
r[3] || (r[3] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
|
|
5060
5060
|
g(a.$slots, "valueTotal", { value: e.total }, () => [
|
|
5061
|
-
T(
|
|
5061
|
+
T(k(e.formatValue(e.total, "total")), 1)
|
|
5062
5062
|
])
|
|
5063
5063
|
])
|
|
5064
5064
|
])) : p("", !0)
|
|
@@ -5155,7 +5155,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5155
5155
|
te(() => n.percentage, (c, i) => {
|
|
5156
5156
|
c !== i && l(s(i));
|
|
5157
5157
|
});
|
|
5158
|
-
const o =
|
|
5158
|
+
const o = _(() => `${s(n.percentage)} 100`), a = _(() => n.outside || n.outsideBelow || n.small), r = _(() => {
|
|
5159
5159
|
const c = {
|
|
5160
5160
|
"progress-circle": !0,
|
|
5161
5161
|
"progress-circle--small": n.small,
|
|
@@ -5171,7 +5171,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5171
5171
|
}), (c, i) => (u(), f("div", {
|
|
5172
5172
|
class: m(r.value)
|
|
5173
5173
|
}, [
|
|
5174
|
-
h("strong", Cr,
|
|
5174
|
+
h("strong", Cr, k(e.label), 1),
|
|
5175
5175
|
h("div", Tr, [
|
|
5176
5176
|
(u(), f("svg", Ar, [
|
|
5177
5177
|
i[0] || (i[0] = h("circle", {
|
|
@@ -5187,7 +5187,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5187
5187
|
r: "16",
|
|
5188
5188
|
cx: "16",
|
|
5189
5189
|
cy: "16",
|
|
5190
|
-
style:
|
|
5190
|
+
style: Y({ strokeDasharray: o.value })
|
|
5191
5191
|
}, null, 4),
|
|
5192
5192
|
i[1] || (i[1] = h("circle", {
|
|
5193
5193
|
class: "progress-circle__chart-mask",
|
|
@@ -5197,13 +5197,13 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5197
5197
|
])),
|
|
5198
5198
|
!a.value && !e.noValue ? (u(), f("strong", Or, [
|
|
5199
5199
|
g(c.$slots, "value", { value: e.percentage }, () => [
|
|
5200
|
-
T(
|
|
5200
|
+
T(k(e.formatValue(e.percentage)), 1)
|
|
5201
5201
|
])
|
|
5202
5202
|
])) : p("", !0)
|
|
5203
5203
|
]),
|
|
5204
5204
|
a.value && !e.noValue ? (u(), f("strong", Ur, [
|
|
5205
5205
|
g(c.$slots, "value", { value: e.percentage }, () => [
|
|
5206
|
-
T(
|
|
5206
|
+
T(k(e.formatValue(e.percentage)), 1)
|
|
5207
5207
|
])
|
|
5208
5208
|
])) : p("", !0)
|
|
5209
5209
|
], 2));
|
|
@@ -5269,155 +5269,155 @@ function Qh(e, n = {}) {
|
|
|
5269
5269
|
countMode: d = "none",
|
|
5270
5270
|
// 'none', 'simple', 'intuitive'
|
|
5271
5271
|
urlSync: v
|
|
5272
|
-
} = n, y = (E) => E.sort((
|
|
5273
|
-
const P = i(
|
|
5272
|
+
} = n, y = (E) => E.sort((F, J) => {
|
|
5273
|
+
const P = i(F), z = i(J);
|
|
5274
5274
|
return P && z ? String(P).localeCompare(String(z)) : P ? -1 : z ? 1 : 0;
|
|
5275
5275
|
}), b = {
|
|
5276
5276
|
az: { text: "A-Z", sort: y },
|
|
5277
5277
|
za: { text: "Z-A", sort: (E) => y(E).reverse() }
|
|
5278
5278
|
};
|
|
5279
5279
|
function A(E) {
|
|
5280
|
-
return (E || []).map((
|
|
5281
|
-
...
|
|
5282
|
-
open:
|
|
5283
|
-
children:
|
|
5284
|
-
...
|
|
5285
|
-
selected:
|
|
5280
|
+
return (E || []).map((F) => ({
|
|
5281
|
+
...F,
|
|
5282
|
+
open: F.open || !1,
|
|
5283
|
+
children: F.children.map((J) => ({
|
|
5284
|
+
...J,
|
|
5285
|
+
selected: J.selected || !1
|
|
5286
5286
|
})),
|
|
5287
5287
|
selectedCount: 0
|
|
5288
5288
|
}));
|
|
5289
5289
|
}
|
|
5290
|
-
const C = O([]), B = O(l), H = O(o),
|
|
5290
|
+
const C = O([]), B = O(l), H = O(o), K = _(() => !s || !e.value?.length ? null : Br(e.value, s)), I = _(() => ({
|
|
5291
5291
|
...a ? {} : b,
|
|
5292
5292
|
...r
|
|
5293
|
-
})),
|
|
5294
|
-
const E = /* @__PURE__ */ new Map(),
|
|
5295
|
-
if (!
|
|
5296
|
-
const
|
|
5297
|
-
const z = P.getValue || ((
|
|
5293
|
+
})), M = _(() => {
|
|
5294
|
+
const E = /* @__PURE__ */ new Map(), F = Q.value;
|
|
5295
|
+
if (!F || !s) return E;
|
|
5296
|
+
const J = new Map(s.map((P) => {
|
|
5297
|
+
const z = P.getValue || ((Z) => Z[P.uid]);
|
|
5298
5298
|
return [P.uid, z];
|
|
5299
5299
|
}));
|
|
5300
|
-
for (let P = 0; P <
|
|
5301
|
-
const z =
|
|
5302
|
-
for (const
|
|
5303
|
-
const N =
|
|
5304
|
-
for (const ce of
|
|
5305
|
-
const ue = `${
|
|
5300
|
+
for (let P = 0; P < F.length; P++) {
|
|
5301
|
+
const z = F[P];
|
|
5302
|
+
for (const Z of s) {
|
|
5303
|
+
const N = J.get(Z.uid)(z), G = Array.isArray(N) ? N : N ? [N] : [];
|
|
5304
|
+
for (const ce of G) {
|
|
5305
|
+
const ue = `${Z.uid}:${ce}`;
|
|
5306
5306
|
E.has(ue) || E.set(ue, /* @__PURE__ */ new Set()), E.get(ue).add(P);
|
|
5307
5307
|
}
|
|
5308
5308
|
}
|
|
5309
5309
|
}
|
|
5310
5310
|
return E;
|
|
5311
|
-
}),
|
|
5311
|
+
}), X = _(() => ({
|
|
5312
5312
|
shouldSort: !0,
|
|
5313
5313
|
keys: ["title", "label", "description", "author"],
|
|
5314
5314
|
...c
|
|
5315
|
-
})),
|
|
5315
|
+
})), Q = _(() => B.value?.length ? new cl(e.value, X.value).search(B.value).map((F) => F.item) : e.value), oe = _(() => {
|
|
5316
5316
|
const E = [];
|
|
5317
|
-
return C.value.forEach((
|
|
5318
|
-
const
|
|
5319
|
-
|
|
5317
|
+
return C.value.forEach((F) => {
|
|
5318
|
+
const J = F.children.filter((P) => P.selected);
|
|
5319
|
+
J.length > 0 && E.push({ ...F, children: J });
|
|
5320
5320
|
}), E;
|
|
5321
|
-
}), re =
|
|
5321
|
+
}), re = _(() => {
|
|
5322
5322
|
if (!oe.value.length)
|
|
5323
|
-
return
|
|
5324
|
-
const E =
|
|
5325
|
-
if (E.size === 0 &&
|
|
5323
|
+
return Q.value;
|
|
5324
|
+
const E = M.value;
|
|
5325
|
+
if (E.size === 0 && Q.value.length > 0 && s?.length > 0)
|
|
5326
5326
|
return [];
|
|
5327
|
-
const
|
|
5328
|
-
for (const z of
|
|
5329
|
-
P.push(
|
|
5327
|
+
const F = new Set(Q.value.map((z, Z) => Z)), J = it(oe.value, E, F), P = [];
|
|
5328
|
+
for (const z of J)
|
|
5329
|
+
P.push(Q.value[z]);
|
|
5330
5330
|
return P;
|
|
5331
|
-
}), Se =
|
|
5331
|
+
}), Se = _(() => {
|
|
5332
5332
|
const E = I.value[H.value]?.sort;
|
|
5333
5333
|
return typeof E != "function" ? re.value : E([...re.value]);
|
|
5334
5334
|
});
|
|
5335
|
-
function
|
|
5335
|
+
function Fe() {
|
|
5336
5336
|
C.value.forEach((E) => {
|
|
5337
|
-
E.children && E.children.forEach((
|
|
5337
|
+
E.children && E.children.forEach((F) => F.selected = !1), E.selectedCount = 0;
|
|
5338
5338
|
});
|
|
5339
5339
|
}
|
|
5340
|
-
function xt({ groupUid: E, facetUid:
|
|
5340
|
+
function xt({ groupUid: E, facetUid: F, selected: J }) {
|
|
5341
5341
|
const P = C.value.find((z) => z.uid === E);
|
|
5342
5342
|
if (P) {
|
|
5343
|
-
!P.multiple &&
|
|
5344
|
-
|
|
5343
|
+
!P.multiple && J && P.children.forEach((Z) => {
|
|
5344
|
+
Z.uid !== F && (Z.selected = !1);
|
|
5345
5345
|
});
|
|
5346
|
-
const z = P.children.find((
|
|
5347
|
-
z && (z.selected =
|
|
5346
|
+
const z = P.children.find((Z) => Z.uid === F);
|
|
5347
|
+
z && (z.selected = J), P.selectedCount = P.children.filter((Z) => Z.selected).length;
|
|
5348
5348
|
}
|
|
5349
5349
|
}
|
|
5350
|
-
if (te(
|
|
5351
|
-
const
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
}), C.value =
|
|
5355
|
-
}, { immediate: !0 }), te([oe,
|
|
5356
|
-
if (!(d === "none" || !C.value.length) && !(E ===
|
|
5350
|
+
if (te(K, (E) => {
|
|
5351
|
+
const F = A(t || E);
|
|
5352
|
+
F.forEach((J) => {
|
|
5353
|
+
J.selectedCount = J.children.filter((P) => P.selected).length;
|
|
5354
|
+
}), C.value = F;
|
|
5355
|
+
}, { immediate: !0 }), te([oe, Q], ([E, F], [J, P]) => {
|
|
5356
|
+
if (!(d === "none" || !C.value.length) && !(E === J && F === P)) {
|
|
5357
5357
|
if (d === "simple") {
|
|
5358
|
-
const z =
|
|
5359
|
-
if (z.size === 0 &&
|
|
5358
|
+
const z = M.value;
|
|
5359
|
+
if (z.size === 0 && Q.value.length > 0 && s?.length > 0)
|
|
5360
5360
|
return;
|
|
5361
|
-
const
|
|
5361
|
+
const Z = new Set(Q.value.map((D, N) => N));
|
|
5362
5362
|
C.value.forEach((D) => {
|
|
5363
|
-
const N = E.filter((ce) => ce.uid !== D.uid),
|
|
5363
|
+
const N = E.filter((ce) => ce.uid !== D.uid), G = it(N, z, Z);
|
|
5364
5364
|
D.children.forEach((ce) => {
|
|
5365
|
-
const ue = `${D.uid}:${ce.uid}`, he = z.get(ue) || /* @__PURE__ */ new Set(), me = gt([
|
|
5365
|
+
const ue = `${D.uid}:${ce.uid}`, he = z.get(ue) || /* @__PURE__ */ new Set(), me = gt([G, he]);
|
|
5366
5366
|
ce.count = me.size;
|
|
5367
5367
|
});
|
|
5368
5368
|
});
|
|
5369
5369
|
} else if (d === "intuitive") {
|
|
5370
|
-
const z =
|
|
5371
|
-
if (z.size === 0 &&
|
|
5370
|
+
const z = M.value;
|
|
5371
|
+
if (z.size === 0 && Q.value.length > 0 && s?.length > 0)
|
|
5372
5372
|
return;
|
|
5373
|
-
const
|
|
5373
|
+
const Z = new Set(Q.value.map((N, G) => G)), D = it(E, z, Z);
|
|
5374
5374
|
C.value.forEach((N) => {
|
|
5375
|
-
N.children.forEach((
|
|
5376
|
-
const ce = `${N.uid}:${
|
|
5377
|
-
if (
|
|
5375
|
+
N.children.forEach((G) => {
|
|
5376
|
+
const ce = `${N.uid}:${G.uid}`, ue = z.get(ce) || /* @__PURE__ */ new Set();
|
|
5377
|
+
if (G.selected)
|
|
5378
5378
|
if (N.multiple) {
|
|
5379
5379
|
const he = gt([D, ue]);
|
|
5380
|
-
|
|
5380
|
+
G.count = he.size;
|
|
5381
5381
|
} else
|
|
5382
|
-
|
|
5382
|
+
G.count = D.size;
|
|
5383
5383
|
else {
|
|
5384
5384
|
const he = [];
|
|
5385
5385
|
for (const rt of E)
|
|
5386
5386
|
he.push({ ...rt, children: [...rt.children] });
|
|
5387
5387
|
let me = he.find((rt) => rt.uid === N.uid);
|
|
5388
|
-
me || (me = { ...N, children: [] }, he.push(me)), N.multiple ? me.children.push(
|
|
5389
|
-
const Us = it(he, z,
|
|
5390
|
-
|
|
5388
|
+
me || (me = { ...N, children: [] }, he.push(me)), N.multiple ? me.children.push(G) : me.children = [G];
|
|
5389
|
+
const Us = it(he, z, Z);
|
|
5390
|
+
G.count = Us.size;
|
|
5391
5391
|
}
|
|
5392
5392
|
});
|
|
5393
5393
|
});
|
|
5394
5394
|
}
|
|
5395
5395
|
}
|
|
5396
5396
|
}, { deep: !0, immediate: !0 }), v?.router && v?.route) {
|
|
5397
|
-
const { router: E, route:
|
|
5398
|
-
if (!
|
|
5399
|
-
const D = { ...
|
|
5397
|
+
const { router: E, route: F } = v, J = () => C.value && C.value.length > 0, P = () => {
|
|
5398
|
+
if (!J()) return;
|
|
5399
|
+
const D = { ...F.query };
|
|
5400
5400
|
delete D.sort, delete D.search, C.value.forEach((N) => delete D[N.uid]), H.value && H.value !== o && (D.sort = H.value), B.value && (D.search = B.value), oe.value.forEach((N) => {
|
|
5401
|
-
N.children.length > 0 && (D[N.uid] = N.children.map((
|
|
5402
|
-
}), JSON.stringify(D) !== JSON.stringify(
|
|
5401
|
+
N.children.length > 0 && (D[N.uid] = N.children.map((G) => G.uid).join(","));
|
|
5402
|
+
}), JSON.stringify(D) !== JSON.stringify(F.query) && E.push({ query: D });
|
|
5403
5403
|
}, z = () => {
|
|
5404
|
-
const D =
|
|
5404
|
+
const D = F.query;
|
|
5405
5405
|
D.sort && (H.value = D.sort), D.search && (B.value = D.search);
|
|
5406
5406
|
const N = /* @__PURE__ */ new Map();
|
|
5407
|
-
C.value.forEach((
|
|
5408
|
-
const ce = D[
|
|
5409
|
-
N.set(
|
|
5410
|
-
}), C.value.forEach((
|
|
5411
|
-
const ce = N.get(
|
|
5412
|
-
|
|
5407
|
+
C.value.forEach((G) => {
|
|
5408
|
+
const ce = D[G.uid] ? D[G.uid].split(",") : [];
|
|
5409
|
+
N.set(G.uid, new Set(ce));
|
|
5410
|
+
}), C.value.forEach((G) => {
|
|
5411
|
+
const ce = N.get(G.uid) || /* @__PURE__ */ new Set();
|
|
5412
|
+
G.children.forEach((ue) => {
|
|
5413
5413
|
const he = ue.selected, me = ce.has(ue.uid);
|
|
5414
|
-
he !== me && xt({ groupUid:
|
|
5414
|
+
he !== me && xt({ groupUid: G.uid, facetUid: ue.uid, selected: me });
|
|
5415
5415
|
});
|
|
5416
5416
|
});
|
|
5417
|
-
},
|
|
5418
|
-
C.value && C.value.length > 0 && (z(),
|
|
5417
|
+
}, Z = Ls(() => {
|
|
5418
|
+
C.value && C.value.length > 0 && (z(), Z());
|
|
5419
5419
|
});
|
|
5420
|
-
te([H, B, oe], P, { deep: !0 }), te(() =>
|
|
5420
|
+
te([H, B, oe], P, { deep: !0 }), te(() => F.query, z);
|
|
5421
5421
|
}
|
|
5422
5422
|
return {
|
|
5423
5423
|
facets: C,
|
|
@@ -5426,7 +5426,7 @@ function Qh(e, n = {}) {
|
|
|
5426
5426
|
sortTypes: I,
|
|
5427
5427
|
displayItems: Se,
|
|
5428
5428
|
selectedFacets: oe,
|
|
5429
|
-
clearFilters:
|
|
5429
|
+
clearFilters: Fe,
|
|
5430
5430
|
handleFacetChange: xt
|
|
5431
5431
|
};
|
|
5432
5432
|
}
|
|
@@ -5473,7 +5473,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5473
5473
|
},
|
|
5474
5474
|
emits: ["facet-change", "clear-filters"],
|
|
5475
5475
|
setup(e, { emit: n }) {
|
|
5476
|
-
const t = e, s = n, l =
|
|
5476
|
+
const t = e, s = n, l = _(() => {
|
|
5477
5477
|
const r = [];
|
|
5478
5478
|
return t.selectedFacets.forEach((c) => {
|
|
5479
5479
|
c.children.forEach((i) => {
|
|
@@ -5498,7 +5498,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5498
5498
|
key: 0,
|
|
5499
5499
|
class: m(["facets-active", e.classes.container])
|
|
5500
5500
|
}, [
|
|
5501
|
-
(u(),
|
|
5501
|
+
(u(), w(j(e.labelElement), {
|
|
5502
5502
|
class: m(["facets-active__label", e.classes.label])
|
|
5503
5503
|
}, {
|
|
5504
5504
|
default: $(() => [
|
|
@@ -5524,7 +5524,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5524
5524
|
class: m(e.classes.filterButtonText)
|
|
5525
5525
|
}, [
|
|
5526
5526
|
c[1] || (c[1] = h("span", { class: "hidden-visually" }, "Remove Active Filter:", -1)),
|
|
5527
|
-
T(" " +
|
|
5527
|
+
T(" " + k(i.label), 1)
|
|
5528
5528
|
], 2),
|
|
5529
5529
|
h("span", {
|
|
5530
5530
|
class: m(e.classes.filterButtonIcon)
|
|
@@ -5555,7 +5555,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5555
5555
|
},
|
|
5556
5556
|
emits: ["facet-change"],
|
|
5557
5557
|
setup(e, { emit: n }) {
|
|
5558
|
-
const t = e, s = n, l =
|
|
5558
|
+
const t = e, s = n, l = _(() => t.type === "radio" ? [{ label: `All ${t.groupName}s`, uid: "" }, ...t.children] : t.children);
|
|
5559
5559
|
function o(a) {
|
|
5560
5560
|
if (t.type === "radio") {
|
|
5561
5561
|
const r = a;
|
|
@@ -5579,7 +5579,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5579
5579
|
});
|
|
5580
5580
|
}
|
|
5581
5581
|
}
|
|
5582
|
-
return (a, r) => (u(),
|
|
5582
|
+
return (a, r) => (u(), w(us, {
|
|
5583
5583
|
class: "facets-list",
|
|
5584
5584
|
legend: e.groupUid,
|
|
5585
5585
|
type: e.type,
|
|
@@ -5589,8 +5589,8 @@ const Er = ["onClick"], Zh = {
|
|
|
5589
5589
|
"onUpdate:modelValue": o
|
|
5590
5590
|
}, {
|
|
5591
5591
|
default: $(({ option: c }) => [
|
|
5592
|
-
T(
|
|
5593
|
-
c.count !== void 0 ? (u(), f("span", Rr, "(" +
|
|
5592
|
+
T(k(c.label) + " ", 1),
|
|
5593
|
+
c.count !== void 0 ? (u(), f("span", Rr, "(" + k(c.count) + ")", 1)) : p("", !0)
|
|
5594
5594
|
]),
|
|
5595
5595
|
_: 1
|
|
5596
5596
|
}, 8, ["legend", "type", "options", "compact", "model-value"]));
|
|
@@ -5628,7 +5628,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5628
5628
|
setup(e, { emit: n }) {
|
|
5629
5629
|
const t = n, s = (l) => l.multiple ? l.children.filter((o) => o.selected).map((o) => o.uid) : l.children.find((o) => o.selected)?.uid || "";
|
|
5630
5630
|
return (l, o) => (u(), f("div", Ir, [
|
|
5631
|
-
(u(!0), f(U, null, R(e.facets, (a) => (u(),
|
|
5631
|
+
(u(!0), f(U, null, R(e.facets, (a) => (u(), w(Nt, {
|
|
5632
5632
|
key: a.uid,
|
|
5633
5633
|
classes: {
|
|
5634
5634
|
container: ["facets-filters__group", e.classes.group],
|
|
@@ -5644,7 +5644,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5644
5644
|
group: a,
|
|
5645
5645
|
isOpen: r
|
|
5646
5646
|
}, () => [
|
|
5647
|
-
T(
|
|
5647
|
+
T(k(a.name), 1)
|
|
5648
5648
|
])
|
|
5649
5649
|
]),
|
|
5650
5650
|
default: $(() => [
|
|
@@ -5657,12 +5657,12 @@ const Er = ["onClick"], Zh = {
|
|
|
5657
5657
|
"model-value": s(a),
|
|
5658
5658
|
onFacetChange: o[0] || (o[0] = (r) => t("facet-change", r))
|
|
5659
5659
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5660
|
-
a.children.length > e.maxVisible ? (u(),
|
|
5660
|
+
a.children.length > e.maxVisible ? (u(), w(Nt, {
|
|
5661
5661
|
key: 0,
|
|
5662
5662
|
class: m(["facets-filters__more-facets", e.classes.moreFacets])
|
|
5663
5663
|
}, {
|
|
5664
5664
|
trigger: $(({ isOpen: r }) => [
|
|
5665
|
-
T(
|
|
5665
|
+
T(k(r ? "View Less" : "Show More"), 1)
|
|
5666
5666
|
]),
|
|
5667
5667
|
default: $(() => [
|
|
5668
5668
|
x(vt, {
|
|
@@ -5719,7 +5719,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5719
5719
|
setup(e, { emit: n }) {
|
|
5720
5720
|
const t = n, s = (l) => l.multiple ? l.children.filter((o) => o.selected).map((o) => o.uid) : l.children.find((o) => o.selected)?.uid || "";
|
|
5721
5721
|
return (l, o) => (u(), f("div", jr, [
|
|
5722
|
-
(u(!0), f(U, null, R(e.facets, (a) => (u(),
|
|
5722
|
+
(u(!0), f(U, null, R(e.facets, (a) => (u(), w(Wt, {
|
|
5723
5723
|
key: a.uid,
|
|
5724
5724
|
modifiers: e.accordionModifiers,
|
|
5725
5725
|
startOpen: a.open
|
|
@@ -5729,7 +5729,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5729
5729
|
group: a,
|
|
5730
5730
|
isOpen: r
|
|
5731
5731
|
}, () => [
|
|
5732
|
-
T(
|
|
5732
|
+
T(k(a.name), 1)
|
|
5733
5733
|
])
|
|
5734
5734
|
]),
|
|
5735
5735
|
default: $(() => [
|
|
@@ -5742,13 +5742,13 @@ const Er = ["onClick"], Zh = {
|
|
|
5742
5742
|
"model-value": s(a),
|
|
5743
5743
|
onFacetChange: o[0] || (o[0] = (r) => t("facet-change", r))
|
|
5744
5744
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5745
|
-
a.children.length > e.maxVisible ? (u(),
|
|
5745
|
+
a.children.length > e.maxVisible ? (u(), w(Wt, {
|
|
5746
5746
|
key: 0,
|
|
5747
5747
|
class: m(["facets-filters__more-facets", e.classes.moreFacets]),
|
|
5748
5748
|
modifiers: e.accordionModifiers
|
|
5749
5749
|
}, {
|
|
5750
5750
|
trigger: $(({ isOpen: r }) => [
|
|
5751
|
-
T(
|
|
5751
|
+
T(k(r ? "View Less" : "Show More"), 1)
|
|
5752
5752
|
]),
|
|
5753
5753
|
default: $(() => [
|
|
5754
5754
|
x(vt, {
|
|
@@ -5844,8 +5844,8 @@ const Er = ["onClick"], Zh = {
|
|
|
5844
5844
|
label: o(i)
|
|
5845
5845
|
}, () => [
|
|
5846
5846
|
h("span", null, [
|
|
5847
|
-
T(
|
|
5848
|
-
h("strong", null,
|
|
5847
|
+
T(k(i.name) + ": ", 1),
|
|
5848
|
+
h("strong", null, k(o(i)), 1)
|
|
5849
5849
|
])
|
|
5850
5850
|
]),
|
|
5851
5851
|
x(q, {
|
|
@@ -5868,7 +5868,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5868
5868
|
], 2))), 128))
|
|
5869
5869
|
], 2));
|
|
5870
5870
|
}
|
|
5871
|
-
},
|
|
5871
|
+
}, Fr = ["for"], Mr = ["id", "onChange"], Pr = { value: "" }, zr = ["value", "selected"], sm = {
|
|
5872
5872
|
__name: "UluFacetsFilterSelects",
|
|
5873
5873
|
props: {
|
|
5874
5874
|
/**
|
|
@@ -5913,9 +5913,9 @@ const Er = ["onClick"], Zh = {
|
|
|
5913
5913
|
class: m(["facets-dropdown-filters__label", e.classes.label])
|
|
5914
5914
|
}, [
|
|
5915
5915
|
g(o.$slots, "label", {}, () => [
|
|
5916
|
-
T(
|
|
5916
|
+
T(k(r.name), 1)
|
|
5917
5917
|
])
|
|
5918
|
-
], 10,
|
|
5918
|
+
], 10, Fr),
|
|
5919
5919
|
h("select", {
|
|
5920
5920
|
id: `facet-dropdown-${r.uid}`,
|
|
5921
5921
|
class: m(["facets-dropdown-filters__select", e.classes.select]),
|
|
@@ -5923,7 +5923,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5923
5923
|
}, [
|
|
5924
5924
|
h("option", Pr, [
|
|
5925
5925
|
g(o.$slots, "optionAll", { group: r }, () => [
|
|
5926
|
-
T(" All " +
|
|
5926
|
+
T(" All " + k(r.name) + "s ", 1)
|
|
5927
5927
|
])
|
|
5928
5928
|
]),
|
|
5929
5929
|
(u(!0), f(U, null, R(r.children, (c, i) => (u(), f("option", {
|
|
@@ -5936,10 +5936,10 @@ const Er = ["onClick"], Zh = {
|
|
|
5936
5936
|
option: c,
|
|
5937
5937
|
index: i
|
|
5938
5938
|
}, () => [
|
|
5939
|
-
T(
|
|
5939
|
+
T(k(c.label), 1)
|
|
5940
5940
|
])
|
|
5941
5941
|
], 8, zr))), 128))
|
|
5942
|
-
], 42,
|
|
5942
|
+
], 42, Mr)
|
|
5943
5943
|
], 2))), 128))
|
|
5944
5944
|
], 2));
|
|
5945
5945
|
}
|
|
@@ -5980,7 +5980,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5980
5980
|
},
|
|
5981
5981
|
setup(e) {
|
|
5982
5982
|
return (n, t) => (u(), f("div", Nr, [
|
|
5983
|
-
e.items.length ? (u(),
|
|
5983
|
+
e.items.length ? (u(), w(qn, {
|
|
5984
5984
|
key: 0,
|
|
5985
5985
|
tag: e.tag,
|
|
5986
5986
|
name: e.transitionName,
|
|
@@ -6020,7 +6020,7 @@ const Er = ["onClick"], Zh = {
|
|
|
6020
6020
|
},
|
|
6021
6021
|
emits: ["update:modelValue"],
|
|
6022
6022
|
setup(e, { emit: n }) {
|
|
6023
|
-
const t = e, s = n, l = se("facet-view-keyword"), o =
|
|
6023
|
+
const t = e, s = n, l = se("facet-view-keyword"), o = _({
|
|
6024
6024
|
get() {
|
|
6025
6025
|
return t.modelValue;
|
|
6026
6026
|
},
|
|
@@ -6033,12 +6033,12 @@ const Er = ["onClick"], Zh = {
|
|
|
6033
6033
|
}, [
|
|
6034
6034
|
h("label", {
|
|
6035
6035
|
class: m(e.classes.label),
|
|
6036
|
-
for:
|
|
6036
|
+
for: S(l)
|
|
6037
6037
|
}, [...r[1] || (r[1] = [
|
|
6038
6038
|
h("strong", null, "Search", -1)
|
|
6039
6039
|
])], 10, Dr),
|
|
6040
6040
|
ze(h("input", {
|
|
6041
|
-
id:
|
|
6041
|
+
id: S(l),
|
|
6042
6042
|
class: m(e.classes.input),
|
|
6043
6043
|
"onUpdate:modelValue": r[0] || (r[0] = (c) => o.value = c),
|
|
6044
6044
|
type: "text",
|
|
@@ -6068,9 +6068,9 @@ const Er = ["onClick"], Zh = {
|
|
|
6068
6068
|
}
|
|
6069
6069
|
},
|
|
6070
6070
|
setup(e) {
|
|
6071
|
-
const n = O(!1), t = Oe("uluIsMobile"), s = O(null), l = O(null), o =
|
|
6071
|
+
const n = O(!1), t = Oe("uluIsMobile"), s = O(null), l = O(null), o = _(() => t.value ? l.value : s.value);
|
|
6072
6072
|
return (a, r) => (u(), f("div", {
|
|
6073
|
-
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden":
|
|
6073
|
+
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": S(t) }])
|
|
6074
6074
|
}, [
|
|
6075
6075
|
h("div", Xr, [
|
|
6076
6076
|
g(a.$slots, "header")
|
|
@@ -6079,9 +6079,9 @@ const Er = ["onClick"], Zh = {
|
|
|
6079
6079
|
h("button", {
|
|
6080
6080
|
class: m(e.classes.mobileButton),
|
|
6081
6081
|
onClick: r[0] || (r[0] = (c) => n.value = !0)
|
|
6082
|
-
},
|
|
6082
|
+
}, k(e.mobileButtonText), 3)
|
|
6083
6083
|
], 512), [
|
|
6084
|
-
[zt,
|
|
6084
|
+
[zt, S(t)]
|
|
6085
6085
|
]),
|
|
6086
6086
|
h("div", Yr, [
|
|
6087
6087
|
ze(h("div", {
|
|
@@ -6089,13 +6089,13 @@ const Er = ["onClick"], Zh = {
|
|
|
6089
6089
|
ref_key: "desktopTarget",
|
|
6090
6090
|
ref: s
|
|
6091
6091
|
}, null, 512), [
|
|
6092
|
-
[zt, !
|
|
6092
|
+
[zt, !S(t)]
|
|
6093
6093
|
]),
|
|
6094
6094
|
h("div", Kr, [
|
|
6095
6095
|
g(a.$slots, "main")
|
|
6096
6096
|
])
|
|
6097
6097
|
]),
|
|
6098
|
-
|
|
6098
|
+
S(t) ? (u(), w(Jn, {
|
|
6099
6099
|
key: 0,
|
|
6100
6100
|
modelValue: n.value,
|
|
6101
6101
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => n.value = c),
|
|
@@ -6112,7 +6112,7 @@ const Er = ["onClick"], Zh = {
|
|
|
6112
6112
|
]),
|
|
6113
6113
|
_: 1
|
|
6114
6114
|
}, 8, ["modelValue"])) : p("", !0),
|
|
6115
|
-
o.value ? (u(),
|
|
6115
|
+
o.value ? (u(), w(yt, {
|
|
6116
6116
|
key: 1,
|
|
6117
6117
|
to: o.value
|
|
6118
6118
|
}, [
|
|
@@ -6143,7 +6143,7 @@ const Er = ["onClick"], Zh = {
|
|
|
6143
6143
|
class: m(["facets-sort", e.classes.container])
|
|
6144
6144
|
}, [
|
|
6145
6145
|
h("label", {
|
|
6146
|
-
for:
|
|
6146
|
+
for: S(s),
|
|
6147
6147
|
class: m(e.classes.label)
|
|
6148
6148
|
}, [
|
|
6149
6149
|
g(l.$slots, "default", {}, () => [
|
|
@@ -6153,13 +6153,13 @@ const Er = ["onClick"], Zh = {
|
|
|
6153
6153
|
h("select", {
|
|
6154
6154
|
value: e.modelValue,
|
|
6155
6155
|
onChange: o[0] || (o[0] = (a) => t("update:modelValue", a.target.value)),
|
|
6156
|
-
id:
|
|
6156
|
+
id: S(s),
|
|
6157
6157
|
class: m(e.classes.select)
|
|
6158
6158
|
}, [
|
|
6159
6159
|
(u(!0), f(U, null, R(e.sortTypes, (a, r) => (u(), f("option", {
|
|
6160
6160
|
value: r,
|
|
6161
6161
|
key: r
|
|
6162
|
-
},
|
|
6162
|
+
}, k(a.text), 9, Zr))), 128))
|
|
6163
6163
|
], 42, Qr)
|
|
6164
6164
|
], 2));
|
|
6165
6165
|
}
|
|
@@ -6169,40 +6169,40 @@ function ei({ sections: e, props: n, emit: t, componentElRef: s }) {
|
|
|
6169
6169
|
function o(d) {
|
|
6170
6170
|
return e.value.findIndex(({ element: v }) => d === v);
|
|
6171
6171
|
}
|
|
6172
|
-
function a(d = null) {
|
|
6173
|
-
e.value.forEach((
|
|
6174
|
-
|
|
6172
|
+
function a(d = null, v = "down") {
|
|
6173
|
+
e.value.forEach((y) => {
|
|
6174
|
+
y !== d && (y.active && (y.inactiveFrom = v === "down" ? "forward" : "reverse", y.activeFrom = null), y.active = !1);
|
|
6175
6175
|
});
|
|
6176
6176
|
}
|
|
6177
6177
|
function r() {
|
|
6178
6178
|
let d = 0, v = !0;
|
|
6179
6179
|
const y = (C) => {
|
|
6180
6180
|
const { root: B } = l, H = B ? B.scrollTop : document.documentElement.scrollTop || window.scrollY;
|
|
6181
|
-
if (n.debug && (console.group("useScrollAnchors: onObserve"), console.log("Observer:", l), console.log("Last/Current Y:", `${d}/${H}`), console.log("Entries:", C.map((
|
|
6181
|
+
if (n.debug && (console.group("useScrollAnchors: onObserve"), console.log("Observer:", l), console.log("Last/Current Y:", `${d}/${H}`), console.log("Entries:", C.map((M) => ({ el: M.target, is: M.isIntersecting })))), v && n.firstItemActive) {
|
|
6182
6182
|
n.debug && console.log("Initial observation, respecting `firstItemActive`."), v = !1, d = H, n.debug && console.groupEnd();
|
|
6183
6183
|
return;
|
|
6184
6184
|
}
|
|
6185
6185
|
v = !1;
|
|
6186
|
-
const
|
|
6187
|
-
d = H, n.debug && console.log(`Scroll direction: ${
|
|
6188
|
-
const I = C.filter((
|
|
6189
|
-
if (n.debug && console.log("Intersecting entries:", I.map((
|
|
6190
|
-
I.sort((
|
|
6191
|
-
const
|
|
6192
|
-
n.debug && console.log("Chosen target entry:",
|
|
6193
|
-
const
|
|
6194
|
-
|
|
6195
|
-
a(
|
|
6186
|
+
const K = H > d ? "down" : "up";
|
|
6187
|
+
d = H, n.debug && console.log(`Scroll direction: ${K}`);
|
|
6188
|
+
const I = C.filter((M) => M.isIntersecting);
|
|
6189
|
+
if (n.debug && console.log("Intersecting entries:", I.map((M) => M.target)), I.length > 0) {
|
|
6190
|
+
I.sort((Q, oe) => o(Q.target) - o(oe.target));
|
|
6191
|
+
const M = K === "down" ? I[I.length - 1] : I[0];
|
|
6192
|
+
n.debug && console.log("Chosen target entry:", M.target);
|
|
6193
|
+
const X = e.value[o(M.target)];
|
|
6194
|
+
X && !X.active && (n.debug && console.log("Activating section:", X.title), Ke(() => {
|
|
6195
|
+
a(X, K), X.active = !0, X.inactiveFrom = null, X.activeFrom = K === "down" ? "forward" : "reverse", t("section-change", { section: X, sections: e.value, active: !0 });
|
|
6196
6196
|
}));
|
|
6197
6197
|
} else {
|
|
6198
6198
|
n.debug && console.log("No intersecting entries. Checking edge cases.");
|
|
6199
|
-
const
|
|
6200
|
-
if (
|
|
6201
|
-
const
|
|
6202
|
-
if (
|
|
6203
|
-
const
|
|
6204
|
-
(oe &&
|
|
6205
|
-
a(), t("section-change", { section:
|
|
6199
|
+
const M = e.value.find((X) => X.active);
|
|
6200
|
+
if (M) {
|
|
6201
|
+
const X = C.find((Q) => Q.target === M.element);
|
|
6202
|
+
if (X && !X.isIntersecting) {
|
|
6203
|
+
const Q = o(X.target), oe = Q === 0, re = Q === e.value.length - 1;
|
|
6204
|
+
(oe && K === "up" && !n.firstItemActive || re && K === "down") && (n.debug && console.log("Deactivating section at edge:", M.title), Ke(() => {
|
|
6205
|
+
a(null, K), t("section-change", { section: M, sections: e.value, active: !1 });
|
|
6206
6206
|
}));
|
|
6207
6207
|
}
|
|
6208
6208
|
}
|
|
@@ -6240,13 +6240,15 @@ function ei({ sections: e, props: n, emit: t, componentElRef: s }) {
|
|
|
6240
6240
|
});
|
|
6241
6241
|
}
|
|
6242
6242
|
function ds(e) {
|
|
6243
|
-
const n = O(null), t = Oe("uluScrollAnchorsRegister"), s = Oe("uluScrollAnchorsUnregister"), l = (r) => `ulu-sa-${ul(r)}`, o =
|
|
6243
|
+
const n = O(null), t = Oe("uluScrollAnchorsRegister"), s = Oe("uluScrollAnchorsUnregister"), l = (r) => `ulu-sa-${ul(r)}`, o = _(() => e.customTitleId || l(e.title)), a = lt({
|
|
6244
6244
|
id: Symbol("section-id"),
|
|
6245
6245
|
title: e.title,
|
|
6246
6246
|
titleId: o.value,
|
|
6247
6247
|
element: null,
|
|
6248
6248
|
// will be set on mount
|
|
6249
|
-
active: !1
|
|
6249
|
+
active: !1,
|
|
6250
|
+
inactiveFrom: null,
|
|
6251
|
+
activeFrom: null
|
|
6250
6252
|
});
|
|
6251
6253
|
return te(() => e.title, (r) => {
|
|
6252
6254
|
a.title = r, a.titleId = e.customTitleId || l(r);
|
|
@@ -6260,7 +6262,9 @@ function ds(e) {
|
|
|
6260
6262
|
sectionRef: n,
|
|
6261
6263
|
// the ref for the user to attach
|
|
6262
6264
|
titleId: o,
|
|
6263
|
-
isActive:
|
|
6265
|
+
isActive: _(() => a.active),
|
|
6266
|
+
inactiveFrom: _(() => a.inactiveFrom),
|
|
6267
|
+
activeFrom: _(() => a.activeFrom),
|
|
6264
6268
|
section: a
|
|
6265
6269
|
};
|
|
6266
6270
|
}
|
|
@@ -6296,7 +6300,7 @@ const cm = {
|
|
|
6296
6300
|
emits: ["section-change"],
|
|
6297
6301
|
setup(e, { emit: n }) {
|
|
6298
6302
|
const t = e, s = n, l = O([]), o = O(null);
|
|
6299
|
-
return ei({ sections: l, props: t, emit: s, componentElRef: o }), Bt("uluScrollAnchorsSections",
|
|
6303
|
+
return ei({ sections: l, props: t, emit: s, componentElRef: o }), Bt("uluScrollAnchorsSections", _(() => l.value)), Bt("uluScrollAnchorsRegister", (a) => {
|
|
6300
6304
|
l.value.push(a);
|
|
6301
6305
|
}), Bt("uluScrollAnchorsUnregister", (a) => {
|
|
6302
6306
|
const r = l.value.findIndex((c) => c.id === a);
|
|
@@ -6322,13 +6326,13 @@ const cm = {
|
|
|
6322
6326
|
},
|
|
6323
6327
|
setup(e) {
|
|
6324
6328
|
const n = fs();
|
|
6325
|
-
return (t, s) =>
|
|
6329
|
+
return (t, s) => S(n) && S(n).length ? (u(), w(j(e.element), {
|
|
6326
6330
|
key: 0,
|
|
6327
6331
|
class: "scroll-anchors__nav"
|
|
6328
6332
|
}, {
|
|
6329
6333
|
default: $(() => [
|
|
6330
6334
|
h("ul", null, [
|
|
6331
|
-
(u(!0), f(U, null, R(
|
|
6335
|
+
(u(!0), f(U, null, R(S(n), (l, o) => (u(), f("li", {
|
|
6332
6336
|
key: o,
|
|
6333
6337
|
class: m({ "is-active": l.active })
|
|
6334
6338
|
}, [
|
|
@@ -6340,7 +6344,7 @@ const cm = {
|
|
|
6340
6344
|
item: l,
|
|
6341
6345
|
index: o
|
|
6342
6346
|
}, () => [
|
|
6343
|
-
T(
|
|
6347
|
+
T(k(l.title), 1)
|
|
6344
6348
|
])
|
|
6345
6349
|
], 10, ti)
|
|
6346
6350
|
], 2))), 128))
|
|
@@ -6397,7 +6401,7 @@ const cm = {
|
|
|
6397
6401
|
}
|
|
6398
6402
|
},
|
|
6399
6403
|
setup(e) {
|
|
6400
|
-
const n = e, t = fs(), s = O({}), l = O(!1), o = O(null), a =
|
|
6404
|
+
const n = e, t = fs(), s = O({}), l = O(!1), o = O(null), a = _(() => {
|
|
6401
6405
|
if (!t || !t.value || !t.value.length)
|
|
6402
6406
|
return !1;
|
|
6403
6407
|
const c = t.value.findIndex((B) => B.active);
|
|
@@ -6417,14 +6421,14 @@ const cm = {
|
|
|
6417
6421
|
function r(c, i) {
|
|
6418
6422
|
i && (s.value[c] = i);
|
|
6419
6423
|
}
|
|
6420
|
-
return (c, i) =>
|
|
6424
|
+
return (c, i) => S(t) && S(t).length ? (u(), w(j(e.element), {
|
|
6421
6425
|
key: 0,
|
|
6422
6426
|
class: "scroll-anchors__nav scroll-anchors__nav--animated scroll-anchors-nav-animated",
|
|
6423
|
-
style:
|
|
6427
|
+
style: Y({ "--ulu-sa-nav-rail-width": `${e.railWidth}px` })
|
|
6424
6428
|
}, {
|
|
6425
6429
|
default: $(() => [
|
|
6426
6430
|
h("ul", ni, [
|
|
6427
|
-
(u(!0), f(U, null, R(
|
|
6431
|
+
(u(!0), f(U, null, R(S(t), (d, v) => (u(), f("li", {
|
|
6428
6432
|
key: v,
|
|
6429
6433
|
class: m({ "is-active": d.active })
|
|
6430
6434
|
}, [
|
|
@@ -6438,7 +6442,7 @@ const cm = {
|
|
|
6438
6442
|
item: d,
|
|
6439
6443
|
index: v
|
|
6440
6444
|
}, () => [
|
|
6441
|
-
T(
|
|
6445
|
+
T(k(d.title), 1)
|
|
6442
6446
|
])
|
|
6443
6447
|
], 10, si)
|
|
6444
6448
|
], 2))), 128))
|
|
@@ -6449,7 +6453,7 @@ const cm = {
|
|
|
6449
6453
|
}]),
|
|
6450
6454
|
ref_key: "indicator",
|
|
6451
6455
|
ref: o,
|
|
6452
|
-
style:
|
|
6456
|
+
style: Y({
|
|
6453
6457
|
opacity: a.value ? "1" : "0",
|
|
6454
6458
|
transform: `translateY(${a.value ? a.value.y : 0}px)`,
|
|
6455
6459
|
height: `${a.value ? a.value.height : 0}px`,
|
|
@@ -6508,28 +6512,34 @@ const cm = {
|
|
|
6508
6512
|
}
|
|
6509
6513
|
},
|
|
6510
6514
|
setup(e) {
|
|
6511
|
-
const n = e, { sectionRef: t, titleId: s, isActive: l,
|
|
6512
|
-
|
|
6513
|
-
|
|
6515
|
+
const n = e, { sectionRef: t, titleId: s, isActive: l, inactiveFrom: o, activeFrom: a, section: r } = ds(n), c = _(() => {
|
|
6516
|
+
if (l.value) {
|
|
6517
|
+
if (a.value) return `enter-${a.value}`;
|
|
6518
|
+
} else if (o.value) return `exit-${o.value}`;
|
|
6519
|
+
return null;
|
|
6520
|
+
});
|
|
6521
|
+
return (i, d) => (u(), w(j(e.element), {
|
|
6522
|
+
class: m([e.wrapperClass, { [e.activeClass]: e.activeClass && S(l) }]),
|
|
6523
|
+
"data-scrollpoint-state": c.value,
|
|
6514
6524
|
ref_key: "sectionRef",
|
|
6515
6525
|
ref: t
|
|
6516
6526
|
}, {
|
|
6517
6527
|
default: $(() => [
|
|
6518
|
-
(u(),
|
|
6528
|
+
(u(), w(j(e.titleElement), {
|
|
6519
6529
|
class: m(e.titleClass),
|
|
6520
|
-
id:
|
|
6530
|
+
id: S(s)
|
|
6521
6531
|
}, {
|
|
6522
6532
|
default: $(() => [
|
|
6523
|
-
g(
|
|
6524
|
-
T(
|
|
6533
|
+
g(i.$slots, "title", {}, () => [
|
|
6534
|
+
T(k(e.title), 1)
|
|
6525
6535
|
])
|
|
6526
6536
|
]),
|
|
6527
6537
|
_: 3
|
|
6528
6538
|
}, 8, ["class", "id"])),
|
|
6529
|
-
g(
|
|
6539
|
+
g(i.$slots, "default", { section: S(r) })
|
|
6530
6540
|
]),
|
|
6531
6541
|
_: 3
|
|
6532
|
-
}, 8, ["class"]));
|
|
6542
|
+
}, 8, ["class", "data-scrollpoint-state"]));
|
|
6533
6543
|
}
|
|
6534
6544
|
}, hm = {
|
|
6535
6545
|
__name: "UluScrollAnchorsHeadlessSection",
|
|
@@ -6546,7 +6556,7 @@ const cm = {
|
|
|
6546
6556
|
*/
|
|
6547
6557
|
customTitleId: String,
|
|
6548
6558
|
/**
|
|
6549
|
-
* Element to use
|
|
6559
|
+
* Element to use
|
|
6550
6560
|
*/
|
|
6551
6561
|
element: {
|
|
6552
6562
|
type: String,
|
|
@@ -6554,21 +6564,33 @@ const cm = {
|
|
|
6554
6564
|
}
|
|
6555
6565
|
},
|
|
6556
6566
|
setup(e) {
|
|
6557
|
-
const n = e, { sectionRef: t, titleId: s, isActive: l,
|
|
6558
|
-
|
|
6559
|
-
|
|
6567
|
+
const n = e, { sectionRef: t, titleId: s, isActive: l, inactiveFrom: o, activeFrom: a, section: r } = ds(n), c = _(() => {
|
|
6568
|
+
if (l.value) {
|
|
6569
|
+
if (a.value) return `enter-${a.value}`;
|
|
6570
|
+
} else if (o.value) return `exit-${o.value}`;
|
|
6571
|
+
return null;
|
|
6572
|
+
});
|
|
6573
|
+
return (i, d) => (u(), w(j(e.element), {
|
|
6574
|
+
class: m([
|
|
6575
|
+
"scroll-anchors__section",
|
|
6576
|
+
{ "is-active": S(l) }
|
|
6577
|
+
]),
|
|
6578
|
+
"data-scrollpoint-state": c.value,
|
|
6560
6579
|
ref_key: "sectionRef",
|
|
6561
6580
|
ref: t
|
|
6562
6581
|
}, {
|
|
6563
6582
|
default: $(() => [
|
|
6564
|
-
g(
|
|
6565
|
-
isActive:
|
|
6566
|
-
titleId:
|
|
6567
|
-
section:
|
|
6583
|
+
g(i.$slots, "default", {
|
|
6584
|
+
isActive: S(l),
|
|
6585
|
+
titleId: S(s),
|
|
6586
|
+
section: S(r),
|
|
6587
|
+
inactiveFrom: S(o),
|
|
6588
|
+
activeFrom: S(a),
|
|
6589
|
+
sectionState: c.value
|
|
6568
6590
|
})
|
|
6569
6591
|
]),
|
|
6570
6592
|
_: 3
|
|
6571
|
-
}, 8, ["class"]));
|
|
6593
|
+
}, 8, ["class", "data-scrollpoint-state"]));
|
|
6572
6594
|
}
|
|
6573
6595
|
}, li = {
|
|
6574
6596
|
__name: "UluSkeletonText",
|
|
@@ -6604,7 +6626,7 @@ const cm = {
|
|
|
6604
6626
|
when: Boolean
|
|
6605
6627
|
},
|
|
6606
6628
|
setup(e) {
|
|
6607
|
-
return (n, t) => e.when ? (u(),
|
|
6629
|
+
return (n, t) => e.when ? (u(), w(li, {
|
|
6608
6630
|
key: 1,
|
|
6609
6631
|
inline: ""
|
|
6610
6632
|
})) : g(n.$slots, "default", { key: 0 });
|
|
@@ -6621,7 +6643,7 @@ const cm = {
|
|
|
6621
6643
|
}
|
|
6622
6644
|
},
|
|
6623
6645
|
setup(e) {
|
|
6624
|
-
const n = e, t =
|
|
6646
|
+
const n = e, t = _(() => dl(n.lines, () => {
|
|
6625
6647
|
const l = ft(70, 100);
|
|
6626
6648
|
let o = 0;
|
|
6627
6649
|
const a = () => {
|
|
@@ -6640,7 +6662,7 @@ const cm = {
|
|
|
6640
6662
|
(u(!0), f(U, null, R(o, (r) => (u(), f("span", {
|
|
6641
6663
|
key: r,
|
|
6642
6664
|
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": r.alt }]),
|
|
6643
|
-
style:
|
|
6665
|
+
style: Y({ width: `${r.width}%` })
|
|
6644
6666
|
}, null, 6))), 128))
|
|
6645
6667
|
]))), 128))
|
|
6646
6668
|
]));
|
|
@@ -6862,7 +6884,7 @@ const cm = {
|
|
|
6862
6884
|
ref: "nav"
|
|
6863
6885
|
}, pi = ["onClick"], bi = { class: "hidden-visually" };
|
|
6864
6886
|
function _i(e, n, t, s, l, o) {
|
|
6865
|
-
const a =
|
|
6887
|
+
const a = ee("UluIcon");
|
|
6866
6888
|
return u(), f("div", ri, [
|
|
6867
6889
|
h("div", ii, [
|
|
6868
6890
|
h("div", ci, [
|
|
@@ -6930,7 +6952,7 @@ function _i(e, n, t, s, l, o) {
|
|
|
6930
6952
|
index: c,
|
|
6931
6953
|
active: r.active
|
|
6932
6954
|
}, () => [
|
|
6933
|
-
h("span", bi, "Item " +
|
|
6955
|
+
h("span", bi, "Item " + k(c + 1), 1)
|
|
6934
6956
|
])
|
|
6935
6957
|
], 10, pi)
|
|
6936
6958
|
], 2))), 128))
|
|
@@ -6968,8 +6990,8 @@ const wi = /* @__PURE__ */ L(ai, [["render", _i]]), Si = {
|
|
|
6968
6990
|
}
|
|
6969
6991
|
}, ki = ["src", "alt"], $i = { class: "slideshow__image-actions" }, Ci = ["src", "alt"];
|
|
6970
6992
|
function Ti(e, n, t, s, l, o) {
|
|
6971
|
-
const a =
|
|
6972
|
-
return u(),
|
|
6993
|
+
const a = ee("AppButton"), r = ee("UluSlideShow");
|
|
6994
|
+
return u(), w(r, {
|
|
6973
6995
|
class: "slideshow--images",
|
|
6974
6996
|
items: t.images,
|
|
6975
6997
|
onSlideChange: o.slideChange
|
|
@@ -6980,7 +7002,7 @@ function Ti(e, n, t, s, l, o) {
|
|
|
6980
7002
|
alt: c.alt
|
|
6981
7003
|
}, null, 8, ki),
|
|
6982
7004
|
h("div", $i, [
|
|
6983
|
-
t.selectButton ? (u(),
|
|
7005
|
+
t.selectButton ? (u(), w(a, {
|
|
6984
7006
|
key: 0,
|
|
6985
7007
|
class: "type-small",
|
|
6986
7008
|
icon: "plus",
|
|
@@ -7046,17 +7068,17 @@ function Ei(e, n, t, s, l, o) {
|
|
|
7046
7068
|
key: `br-${r}`,
|
|
7047
7069
|
id: t.optionalAttr(t.isActual && a.id),
|
|
7048
7070
|
class: m(t.resolveClasses(t.classes.row, { row: a.data, rowIndex: r, isActual: t.isActual, foot: t.foot })),
|
|
7049
|
-
style:
|
|
7071
|
+
style: Y({
|
|
7050
7072
|
height: a.height
|
|
7051
7073
|
})
|
|
7052
7074
|
}, [
|
|
7053
|
-
(u(!0), f(U, null, R(t.rowColumns, (c, i) => (u(),
|
|
7075
|
+
(u(!0), f(U, null, R(t.rowColumns, (c, i) => (u(), w(j(c.rowHeader ? "th" : "td"), {
|
|
7054
7076
|
id: t.optionalAttr(t.isActual && c.rowHeader && c.getRowHeaderId(r)),
|
|
7055
7077
|
scope: t.optionalAttr(t.isActual && c.rowHeader && "row"),
|
|
7056
7078
|
key: `bc-${i}`,
|
|
7057
7079
|
headers: t.optionalAttr(t.isActual && t.getCellHeaders(c, r)),
|
|
7058
7080
|
class: m(t.resolveClasses(c.class, { column: c, index: i, isActual: t.isActual, row: a, rowIndex: r, foot: t.foot })),
|
|
7059
|
-
style:
|
|
7081
|
+
style: Y({
|
|
7060
7082
|
width: t.columnWidth
|
|
7061
7083
|
})
|
|
7062
7084
|
}, {
|
|
@@ -7073,7 +7095,7 @@ function Ei(e, n, t, s, l, o) {
|
|
|
7073
7095
|
key: 1,
|
|
7074
7096
|
innerHTML: t.value({ row: a, column: c, rowIndex: r, isActual: t.isActual, foot: t.foot })
|
|
7075
7097
|
}, null, 8, Bi)) : (u(), f(U, { key: 2 }, [
|
|
7076
|
-
T(
|
|
7098
|
+
T(k(t.value({ row: a, column: c, rowIndex: r, isActual: t.isActual, foot: t.foot })), 1)
|
|
7077
7099
|
], 64))
|
|
7078
7100
|
]),
|
|
7079
7101
|
_: 2
|
|
@@ -7163,26 +7185,26 @@ const Ri = /* @__PURE__ */ L(Ui, [["render", Ei]]), Ii = {
|
|
|
7163
7185
|
return n.join(" ");
|
|
7164
7186
|
}
|
|
7165
7187
|
}
|
|
7166
|
-
}, ji = ["aria-hidden"],
|
|
7188
|
+
}, ji = ["aria-hidden"], Fi = {
|
|
7167
7189
|
key: 0,
|
|
7168
7190
|
class: "table-sticky__caption"
|
|
7169
|
-
},
|
|
7191
|
+
}, Mi = ["id"], Pi = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], zi = ["innerHTML"], Li = {
|
|
7170
7192
|
class: "table-sticky__sort-icon",
|
|
7171
7193
|
"aria-hidden": "true"
|
|
7172
7194
|
}, Vi = { class: "table-sticky__sort-icon-inner" }, Hi = ["innerHTML"], Ni = { key: 1 }, Wi = { key: 2 };
|
|
7173
7195
|
function Di(e, n, t, s, l, o) {
|
|
7174
|
-
const a =
|
|
7196
|
+
const a = ee("UluTableStickyRows");
|
|
7175
7197
|
return u(), f("table", {
|
|
7176
7198
|
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
7177
7199
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
7178
7200
|
}, [
|
|
7179
|
-
t.caption ? (u(), f("caption",
|
|
7201
|
+
t.caption ? (u(), f("caption", Fi, k(t.caption), 1)) : p("", !0),
|
|
7180
7202
|
h("thead", null, [
|
|
7181
7203
|
(u(!0), f(U, null, R(t.headerRows, (r, c) => (u(), f("tr", {
|
|
7182
7204
|
key: `hr-${c}`,
|
|
7183
7205
|
id: o.optionalAttr(t.isActual && r.id),
|
|
7184
7206
|
class: m(t.resolveClasses(t.classes.rowHeader, { row: r, rowIndex: c, isActual: t.isActual })),
|
|
7185
|
-
style:
|
|
7207
|
+
style: Y({
|
|
7186
7208
|
height: r.height
|
|
7187
7209
|
})
|
|
7188
7210
|
}, [
|
|
@@ -7200,7 +7222,7 @@ function Di(e, n, t, s, l, o) {
|
|
|
7200
7222
|
},
|
|
7201
7223
|
t.resolveClasses(i.classHeader, { column: i, index: d, isActual: t.isActual })
|
|
7202
7224
|
]),
|
|
7203
|
-
style:
|
|
7225
|
+
style: Y({
|
|
7204
7226
|
width: i.width
|
|
7205
7227
|
}),
|
|
7206
7228
|
"aria-sort": i.sort ? i.sortAscending ? "ascending" : "descending" : null,
|
|
@@ -7209,7 +7231,7 @@ function Di(e, n, t, s, l, o) {
|
|
|
7209
7231
|
ref_for: !0,
|
|
7210
7232
|
ref: (v) => o.addHeaderRef(i, v)
|
|
7211
7233
|
}, [
|
|
7212
|
-
i.sortable ? (u(),
|
|
7234
|
+
i.sortable ? (u(), w(j(t.isActual ? "button" : "div"), {
|
|
7213
7235
|
key: 0,
|
|
7214
7236
|
class: m(["table-sticky__sort-button", {
|
|
7215
7237
|
"table-sticky__sort-button--focused": i.sortFocused
|
|
@@ -7229,7 +7251,7 @@ function Di(e, n, t, s, l, o) {
|
|
|
7229
7251
|
key: 1,
|
|
7230
7252
|
innerHTML: t.getColumnTitle({ column: i, index: d, isActual: t.isActual })
|
|
7231
7253
|
}, null, 8, zi)) : (u(), f(U, { key: 2 }, [
|
|
7232
|
-
T(
|
|
7254
|
+
T(k(t.getColumnTitle({ column: i, index: d, isActual: t.isActual })), 1)
|
|
7233
7255
|
], 64)),
|
|
7234
7256
|
h("span", Li, [
|
|
7235
7257
|
h("span", Vi, [
|
|
@@ -7250,11 +7272,11 @@ function Di(e, n, t, s, l, o) {
|
|
|
7250
7272
|
key: 1,
|
|
7251
7273
|
innerHTML: t.getColumnTitle({ column: i, index: d, isActual: t.isActual })
|
|
7252
7274
|
}, null, 8, Hi)) : (u(), f(U, { key: 2 }, [
|
|
7253
|
-
T(
|
|
7275
|
+
T(k(t.getColumnTitle({ column: i, index: d, isActual: t.isActual })), 1)
|
|
7254
7276
|
], 64))
|
|
7255
7277
|
], 64))
|
|
7256
7278
|
], 14, Pi))), 128))
|
|
7257
|
-
], 14,
|
|
7279
|
+
], 14, Mi))), 128))
|
|
7258
7280
|
]),
|
|
7259
7281
|
t.rows ? (u(), f("tbody", Ni, [
|
|
7260
7282
|
x(a, {
|
|
@@ -7386,8 +7408,8 @@ function vs(e) {
|
|
|
7386
7408
|
var n = ot(e);
|
|
7387
7409
|
return n == mc || n == gc || n == hc || n == vc;
|
|
7388
7410
|
}
|
|
7389
|
-
var
|
|
7390
|
-
var e = /[^.]+$/.exec(
|
|
7411
|
+
var Ft = ye["__core-js_shared__"], wn = function() {
|
|
7412
|
+
var e = /[^.]+$/.exec(Ft && Ft.keys && Ft.keys.IE_PROTO || "");
|
|
7391
7413
|
return e ? "Symbol(src)_1." + e : "";
|
|
7392
7414
|
}();
|
|
7393
7415
|
function yc(e) {
|
|
@@ -7440,10 +7462,10 @@ function Ic(e) {
|
|
|
7440
7462
|
}
|
|
7441
7463
|
return Rc.call(n, e) ? n[e] : void 0;
|
|
7442
7464
|
}
|
|
7443
|
-
var jc = Object.prototype,
|
|
7444
|
-
function
|
|
7465
|
+
var jc = Object.prototype, Fc = jc.hasOwnProperty;
|
|
7466
|
+
function Mc(e) {
|
|
7445
7467
|
var n = this.__data__;
|
|
7446
|
-
return st ? n[e] !== void 0 :
|
|
7468
|
+
return st ? n[e] !== void 0 : Fc.call(n, e);
|
|
7447
7469
|
}
|
|
7448
7470
|
var Pc = "__lodash_hash_undefined__";
|
|
7449
7471
|
function zc(e, n) {
|
|
@@ -7460,7 +7482,7 @@ function Be(e) {
|
|
|
7460
7482
|
Be.prototype.clear = Uc;
|
|
7461
7483
|
Be.prototype.delete = xc;
|
|
7462
7484
|
Be.prototype.get = Ic;
|
|
7463
|
-
Be.prototype.has =
|
|
7485
|
+
Be.prototype.has = Mc;
|
|
7464
7486
|
Be.prototype.set = zc;
|
|
7465
7487
|
function Lc() {
|
|
7466
7488
|
this.size = 0, this.__data__ = {
|
|
@@ -7588,15 +7610,15 @@ function un(e) {
|
|
|
7588
7610
|
return e(n);
|
|
7589
7611
|
};
|
|
7590
7612
|
}
|
|
7591
|
-
var ws = typeof exports == "object" && exports && !exports.nodeType && exports, Je = ws && typeof module == "object" && module && !module.nodeType && module,
|
|
7613
|
+
var ws = typeof exports == "object" && exports && !exports.nodeType && exports, Je = ws && typeof module == "object" && module && !module.nodeType && module, Fu = Je && Je.exports === ws, Mt = Fu && ms.process, He = function() {
|
|
7592
7614
|
try {
|
|
7593
7615
|
var e = Je && Je.require && Je.require("util").types;
|
|
7594
|
-
return e ||
|
|
7616
|
+
return e || Mt && Mt.binding && Mt.binding("util");
|
|
7595
7617
|
} catch {
|
|
7596
7618
|
}
|
|
7597
|
-
}(), Tn = He && He.isTypedArray,
|
|
7619
|
+
}(), Tn = He && He.isTypedArray, Mu = Tn ? un(Tn) : ju, Pu = Object.prototype, zu = Pu.hasOwnProperty;
|
|
7598
7620
|
function Lu(e, n) {
|
|
7599
|
-
var t = cn(e), s = !t && su(e), l = !t && !s && bs(e), o = !t && !s && !l &&
|
|
7621
|
+
var t = cn(e), s = !t && su(e), l = !t && !s && bs(e), o = !t && !s && !l && Mu(e), a = t || s || l || o, r = a ? Zc(e.length, String) : [], c = r.length;
|
|
7600
7622
|
for (var i in e)
|
|
7601
7623
|
zu.call(e, i) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7602
7624
|
(i == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -7700,15 +7722,15 @@ function vd(e) {
|
|
|
7700
7722
|
var n = new e.constructor(e.source, gd.exec(e));
|
|
7701
7723
|
return n.lastIndex = e.lastIndex, n;
|
|
7702
7724
|
}
|
|
7703
|
-
var
|
|
7725
|
+
var Fn = Ve ? Ve.prototype : void 0, Mn = Fn ? Fn.valueOf : void 0;
|
|
7704
7726
|
function yd(e) {
|
|
7705
|
-
return
|
|
7727
|
+
return Mn ? Object(Mn.call(e)) : {};
|
|
7706
7728
|
}
|
|
7707
7729
|
function pd(e, n) {
|
|
7708
7730
|
var t = dn(e.buffer);
|
|
7709
7731
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
7710
7732
|
}
|
|
7711
|
-
var bd = "[object Boolean]", _d = "[object Date]", wd = "[object Map]", Sd = "[object Number]", kd = "[object RegExp]", $d = "[object Set]", Cd = "[object String]", Td = "[object Symbol]", Ad = "[object ArrayBuffer]", Od = "[object DataView]", Ud = "[object Float32Array]", xd = "[object Float64Array]", Bd = "[object Int8Array]", Ed = "[object Int16Array]", Rd = "[object Int32Array]", Id = "[object Uint8Array]", jd = "[object Uint8ClampedArray]",
|
|
7733
|
+
var bd = "[object Boolean]", _d = "[object Date]", wd = "[object Map]", Sd = "[object Number]", kd = "[object RegExp]", $d = "[object Set]", Cd = "[object String]", Td = "[object Symbol]", Ad = "[object ArrayBuffer]", Od = "[object DataView]", Ud = "[object Float32Array]", xd = "[object Float64Array]", Bd = "[object Int8Array]", Ed = "[object Int16Array]", Rd = "[object Int32Array]", Id = "[object Uint8Array]", jd = "[object Uint8ClampedArray]", Fd = "[object Uint16Array]", Md = "[object Uint32Array]";
|
|
7712
7734
|
function Pd(e, n, t) {
|
|
7713
7735
|
var s = e.constructor;
|
|
7714
7736
|
switch (n) {
|
|
@@ -7726,8 +7748,8 @@ function Pd(e, n, t) {
|
|
|
7726
7748
|
case Rd:
|
|
7727
7749
|
case Id:
|
|
7728
7750
|
case jd:
|
|
7729
|
-
case Md:
|
|
7730
7751
|
case Fd:
|
|
7752
|
+
case Md:
|
|
7731
7753
|
return pd(e);
|
|
7732
7754
|
case wd:
|
|
7733
7755
|
return new s();
|
|
@@ -8222,7 +8244,7 @@ const _f = {
|
|
|
8222
8244
|
class: "table-sticky__display"
|
|
8223
8245
|
};
|
|
8224
8246
|
function Uf(e, n, t, s, l, o) {
|
|
8225
|
-
const a =
|
|
8247
|
+
const a = ee("UluTableStickyTable");
|
|
8226
8248
|
return u(), f("div", {
|
|
8227
8249
|
class: m(["table-sticky", {
|
|
8228
8250
|
"table-sticky--overflown-x": l.overflownX,
|
|
@@ -8241,7 +8263,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8241
8263
|
getColumnTitle: t.getColumnTitle,
|
|
8242
8264
|
idPrefix: t.idPrefix,
|
|
8243
8265
|
headerRows: l.headerRows,
|
|
8244
|
-
style:
|
|
8266
|
+
style: Y({
|
|
8245
8267
|
opacity: l.sizesCalculated ? "1" : "0",
|
|
8246
8268
|
pointerEvents: l.sizesCalculated ? "auto" : "none",
|
|
8247
8269
|
width: l.tableWidth
|
|
@@ -8258,7 +8280,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8258
8280
|
])
|
|
8259
8281
|
]),
|
|
8260
8282
|
h("div", kf, [
|
|
8261
|
-
t.firstColumnSticky ? (u(),
|
|
8283
|
+
t.firstColumnSticky ? (u(), w(a, {
|
|
8262
8284
|
key: 0,
|
|
8263
8285
|
ref: "firstColumnHeader",
|
|
8264
8286
|
class: "table-sticky__table table-sticky__table--first-column-header",
|
|
@@ -8268,7 +8290,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8268
8290
|
getColumnTitle: t.getColumnTitle,
|
|
8269
8291
|
idPrefix: t.idPrefix,
|
|
8270
8292
|
headerRows: o.headerRowsFirst,
|
|
8271
|
-
style:
|
|
8293
|
+
style: Y({
|
|
8272
8294
|
opacity: o.headerOpacityX,
|
|
8273
8295
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
8274
8296
|
}),
|
|
@@ -8293,7 +8315,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8293
8315
|
scrollRight: o.scrollRight,
|
|
8294
8316
|
canScrollLeft: l.canScrollLeft,
|
|
8295
8317
|
canScrollRight: l.canScrollRight
|
|
8296
|
-
}) : t.controlsComponent ? (u(),
|
|
8318
|
+
}) : t.controlsComponent ? (u(), w(j(t.controlsComponent), {
|
|
8297
8319
|
key: 1,
|
|
8298
8320
|
scrollLeft: o.scrollLeft,
|
|
8299
8321
|
scrollRight: o.scrollRight,
|
|
@@ -8353,7 +8375,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8353
8375
|
}))
|
|
8354
8376
|
]), 1032, ["classes", "resolveClasses", "headerRows", "rows", "footerRows", "rowColumns", "caption", "idPrefix", "getRowValue", "getColumnTitle", "onVnodeMounted", "onActualHeaderRemoved", "onActualHeaderAdded", "onColumnSorted"])
|
|
8355
8377
|
], 512),
|
|
8356
|
-
t.firstColumnSticky ? (u(),
|
|
8378
|
+
t.firstColumnSticky ? (u(), w(a, {
|
|
8357
8379
|
key: 0,
|
|
8358
8380
|
ref: "firstColumn",
|
|
8359
8381
|
class: "table-sticky__table table-sticky__table--first-column",
|
|
@@ -8368,7 +8390,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8368
8390
|
idPrefix: t.idPrefix,
|
|
8369
8391
|
getRowValue: t.getRowValue,
|
|
8370
8392
|
getColumnTitle: t.getColumnTitle,
|
|
8371
|
-
style:
|
|
8393
|
+
style: Y({
|
|
8372
8394
|
opacity: o.headerOpacityX,
|
|
8373
8395
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
8374
8396
|
}),
|
|
@@ -8476,8 +8498,8 @@ export {
|
|
|
8476
8498
|
Ri as UluTableStickyRows,
|
|
8477
8499
|
qi as UluTableStickyTable,
|
|
8478
8500
|
os as UluTag,
|
|
8479
|
-
|
|
8480
|
-
|
|
8501
|
+
Fh as UluTitleRail,
|
|
8502
|
+
Mh as UluWhenBreakpoint,
|
|
8481
8503
|
Qf as breakpointsPlugin,
|
|
8482
8504
|
qf as corePlugin,
|
|
8483
8505
|
Kf as modalsPlugin,
|