@ulu/frontend-vue 0.1.3-beta.14 → 0.1.3-beta.16
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 +517 -471
- package/dist/types/components/collapsible/UluAccordionGroup.vue.d.ts +6 -0
- package/dist/types/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -1
- 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/collapsible/UluAccordionGroup.vue +26 -2
- 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
|
}))
|
|
@@ -1936,6 +1936,27 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1936
1936
|
items: {
|
|
1937
1937
|
type: Array,
|
|
1938
1938
|
default: () => []
|
|
1939
|
+
},
|
|
1940
|
+
/**
|
|
1941
|
+
* If using summary text sets the inner element the text is wrapped in, usually a headline or strong
|
|
1942
|
+
*/
|
|
1943
|
+
triggerTextElement: {
|
|
1944
|
+
type: String,
|
|
1945
|
+
default: "strong"
|
|
1946
|
+
},
|
|
1947
|
+
/**
|
|
1948
|
+
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
1949
|
+
*/
|
|
1950
|
+
modifiers: [String, Array],
|
|
1951
|
+
/**
|
|
1952
|
+
* Enable or configure animations.
|
|
1953
|
+
* - `false` (default) to disable all animations.
|
|
1954
|
+
* - `true` to enable animations with default settings.
|
|
1955
|
+
* - An object to provide custom options to auto-animate (e.g., { duration: 100, easing: 'linear' }).
|
|
1956
|
+
*/
|
|
1957
|
+
animate: {
|
|
1958
|
+
type: [Boolean, Object],
|
|
1959
|
+
default: !0
|
|
1939
1960
|
}
|
|
1940
1961
|
},
|
|
1941
1962
|
setup(e) {
|
|
@@ -1952,12 +1973,15 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1952
1973
|
}) : t.value[l].isOpen = !1;
|
|
1953
1974
|
}
|
|
1954
1975
|
return (l, o) => (u(), f("div", io, [
|
|
1955
|
-
(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, {
|
|
1956
1977
|
key: r,
|
|
1957
1978
|
"model-value": a.isOpen,
|
|
1958
1979
|
"onUpdate:modelValue": (c) => s(r, c),
|
|
1959
1980
|
"trigger-text": a.title,
|
|
1960
|
-
classes: a.classes
|
|
1981
|
+
classes: a.classes,
|
|
1982
|
+
"trigger-text-element": e.triggerTextElement,
|
|
1983
|
+
modifiers: e.modifiers,
|
|
1984
|
+
animate: e.animate
|
|
1961
1985
|
}, Te({
|
|
1962
1986
|
default: $(({ isOpen: c, toggle: i }) => [
|
|
1963
1987
|
g(l.$slots, "item", {
|
|
@@ -1966,7 +1990,7 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1966
1990
|
isOpen: c,
|
|
1967
1991
|
toggle: i
|
|
1968
1992
|
}, () => [
|
|
1969
|
-
T(
|
|
1993
|
+
T(k(a.content), 1)
|
|
1970
1994
|
])
|
|
1971
1995
|
]),
|
|
1972
1996
|
_: 2
|
|
@@ -1993,7 +2017,7 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
1993
2017
|
]),
|
|
1994
2018
|
key: "1"
|
|
1995
2019
|
} : void 0
|
|
1996
|
-
]), 1032, ["model-value", "onUpdate:modelValue", "trigger-text", "classes"]))), 128))
|
|
2020
|
+
]), 1032, ["model-value", "onUpdate:modelValue", "trigger-text", "classes", "trigger-text-element", "modifiers", "animate"]))), 128))
|
|
1997
2021
|
]));
|
|
1998
2022
|
}
|
|
1999
2023
|
}, os = {
|
|
@@ -2034,16 +2058,16 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
2034
2058
|
[`tag--${e.size}`]: e.size,
|
|
2035
2059
|
[`tag--${e.type}`]: e.type
|
|
2036
2060
|
},
|
|
2037
|
-
|
|
2061
|
+
S(t)
|
|
2038
2062
|
]])
|
|
2039
2063
|
}, [
|
|
2040
|
-
e.icon ? (u(),
|
|
2064
|
+
e.icon ? (u(), w(q, {
|
|
2041
2065
|
key: 0,
|
|
2042
2066
|
icon: e.icon,
|
|
2043
2067
|
spaced: ""
|
|
2044
2068
|
}, null, 8, ["icon"])) : p("", !0),
|
|
2045
2069
|
g(s.$slots, "default", {}, () => [
|
|
2046
|
-
h("span", null,
|
|
2070
|
+
h("span", null, k(e.text), 1)
|
|
2047
2071
|
])
|
|
2048
2072
|
], 2));
|
|
2049
2073
|
}
|
|
@@ -2097,7 +2121,7 @@ const ao = ["id", "aria-controls", "aria-expanded"], ro = ["id", "aria-hidden",
|
|
|
2097
2121
|
}
|
|
2098
2122
|
};
|
|
2099
2123
|
function uo(e, n, t, s, l, o) {
|
|
2100
|
-
const a =
|
|
2124
|
+
const a = ee("UluIcon"), r = ee("UluTag"), c = ee("UluMenu", !0), i = Nn("ulu-tooltip");
|
|
2101
2125
|
return t.items?.length ? (u(), f("ul", {
|
|
2102
2126
|
key: 0,
|
|
2103
2127
|
class: m(t.classes.list)
|
|
@@ -2111,7 +2135,7 @@ function uo(e, n, t, s, l, o) {
|
|
|
2111
2135
|
d.separatorAfter ? t.classes.itemSeparatorAfter : ""
|
|
2112
2136
|
])
|
|
2113
2137
|
}, [
|
|
2114
|
-
ze((u(),
|
|
2138
|
+
ze((u(), w(j(d.to || d.path ? "router-link" : d.click ? "button" : "a"), le({ ref_for: !0 }, {
|
|
2115
2139
|
...d.to || d.path ? {
|
|
2116
2140
|
to: d.to || d.path,
|
|
2117
2141
|
activeClass: t.classes.linkActive || null,
|
|
@@ -2131,15 +2155,15 @@ function uo(e, n, t, s, l, o) {
|
|
|
2131
2155
|
item: d,
|
|
2132
2156
|
index: v
|
|
2133
2157
|
}, () => [
|
|
2134
|
-
d.icon ? (u(),
|
|
2158
|
+
d.icon ? (u(), w(a, {
|
|
2135
2159
|
key: 0,
|
|
2136
2160
|
icon: d.icon,
|
|
2137
2161
|
class: m([t.classes.linkIcon, d?.classes?.linkIcon])
|
|
2138
2162
|
}, null, 8, ["icon", "class"])) : p("", !0),
|
|
2139
2163
|
h("span", {
|
|
2140
2164
|
class: m([t.classes.linkText, d?.classes?.linkText])
|
|
2141
|
-
},
|
|
2142
|
-
d.tag ? (u(),
|
|
2165
|
+
}, k(d.title), 3),
|
|
2166
|
+
d.tag ? (u(), w(r, le({
|
|
2143
2167
|
key: 1,
|
|
2144
2168
|
ref_for: !0
|
|
2145
2169
|
}, d.tag), null, 16)) : p("", !0)
|
|
@@ -2149,7 +2173,7 @@ function uo(e, n, t, s, l, o) {
|
|
|
2149
2173
|
}, 1040, ["onClick", "class", "aria-label", "id"])), [
|
|
2150
2174
|
[i, t.iconOnly ? d.title : d.tooltip || null]
|
|
2151
2175
|
]),
|
|
2152
|
-
!t.noChildren && d?.children?.length ? (u(),
|
|
2176
|
+
!t.noChildren && d?.children?.length ? (u(), w(c, {
|
|
2153
2177
|
key: 0,
|
|
2154
2178
|
iconOnly: t.iconOnly,
|
|
2155
2179
|
classes: t.classes,
|
|
@@ -2190,7 +2214,7 @@ const as = /* @__PURE__ */ L(co, [["render", uo]]), fo = {
|
|
|
2190
2214
|
modifiers: [String, Array]
|
|
2191
2215
|
},
|
|
2192
2216
|
setup(e) {
|
|
2193
|
-
const n = e, t =
|
|
2217
|
+
const n = e, t = _(() => ({
|
|
2194
2218
|
hanging: n.hanging,
|
|
2195
2219
|
compact: n.compact
|
|
2196
2220
|
})), { resolvedModifiers: s } = fe({
|
|
@@ -2198,8 +2222,8 @@ const as = /* @__PURE__ */ L(co, [["render", uo]]), fo = {
|
|
|
2198
2222
|
internal: t,
|
|
2199
2223
|
baseClass: "menu-stack"
|
|
2200
2224
|
});
|
|
2201
|
-
return (l, o) => (u(),
|
|
2202
|
-
class: m(["menu-stack",
|
|
2225
|
+
return (l, o) => (u(), w(j(e.containerElement), {
|
|
2226
|
+
class: m(["menu-stack", S(s)])
|
|
2203
2227
|
}, {
|
|
2204
2228
|
default: $(() => [
|
|
2205
2229
|
x(as, {
|
|
@@ -2241,14 +2265,14 @@ const as = /* @__PURE__ */ L(co, [["render", uo]]), fo = {
|
|
|
2241
2265
|
}
|
|
2242
2266
|
},
|
|
2243
2267
|
setup(e) {
|
|
2244
|
-
return (n, t) => (u(),
|
|
2268
|
+
return (n, t) => (u(), w(wt, { classes: e.popoverClasses }, {
|
|
2245
2269
|
trigger: $(({ isOpen: s }) => [
|
|
2246
2270
|
g(n.$slots, "trigger", { isOpen: s }, () => [
|
|
2247
|
-
h("span", null,
|
|
2271
|
+
h("span", null, k(e.triggerText), 1),
|
|
2248
2272
|
x(q, {
|
|
2249
2273
|
class: "button__icon",
|
|
2250
2274
|
icon: "type:dropdownExpand",
|
|
2251
|
-
style:
|
|
2275
|
+
style: Y({ transform: s ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s" })
|
|
2252
2276
|
}, null, 8, ["style"])
|
|
2253
2277
|
])
|
|
2254
2278
|
]),
|
|
@@ -2287,17 +2311,17 @@ function mo() {
|
|
|
2287
2311
|
};
|
|
2288
2312
|
}
|
|
2289
2313
|
function th(e, n) {
|
|
2290
|
-
const t = Xn(), s = el(), l =
|
|
2314
|
+
const t = Xn(), s = el(), l = _(() => {
|
|
2291
2315
|
const i = parseInt(t.query.page || "1", 10);
|
|
2292
2316
|
return isNaN(i) || i < 1 ? 1 : i;
|
|
2293
|
-
}), o =
|
|
2317
|
+
}), o = _(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / n));
|
|
2294
2318
|
te(o, (i) => {
|
|
2295
2319
|
l.value > i && s.push({ query: { ...t.query, page: i } });
|
|
2296
2320
|
});
|
|
2297
|
-
const a =
|
|
2321
|
+
const a = _(() => {
|
|
2298
2322
|
const i = (l.value - 1) * n, d = i + n;
|
|
2299
2323
|
return e.value.slice(i, d);
|
|
2300
|
-
}), r =
|
|
2324
|
+
}), r = _(() => {
|
|
2301
2325
|
if (o.value <= 1)
|
|
2302
2326
|
return null;
|
|
2303
2327
|
const i = {
|
|
@@ -2314,7 +2338,7 @@ function th(e, n) {
|
|
|
2314
2338
|
for (let B = A; B <= C; B++)
|
|
2315
2339
|
i.pages[B] = { href: b(B) };
|
|
2316
2340
|
return i;
|
|
2317
|
-
}), c =
|
|
2341
|
+
}), c = _(() => {
|
|
2318
2342
|
const i = { previous: !1, next: !1 };
|
|
2319
2343
|
if (!r.value || !r.value.pages) return i;
|
|
2320
2344
|
const d = Object.keys(r.value.pages).map(Number);
|
|
@@ -2363,9 +2387,9 @@ function bo(e, n, t = {}) {
|
|
|
2363
2387
|
return pt(() => {
|
|
2364
2388
|
const a = s.value ? {} : Dt(n, go);
|
|
2365
2389
|
l ? l.patch(a) : l = e.push(a, t);
|
|
2366
|
-
}),
|
|
2390
|
+
}), Fs() && (bt(() => {
|
|
2367
2391
|
l.dispose();
|
|
2368
|
-
}),
|
|
2392
|
+
}), Ms(() => {
|
|
2369
2393
|
s.value = !0;
|
|
2370
2394
|
}), Ps(() => {
|
|
2371
2395
|
s.value = !1;
|
|
@@ -2508,13 +2532,13 @@ function nh(e = {}) {
|
|
|
2508
2532
|
} = e, o = s(), a = o.path;
|
|
2509
2533
|
if (n !== void 0) {
|
|
2510
2534
|
pt(() => {
|
|
2511
|
-
jt[a] =
|
|
2535
|
+
jt[a] = S(n);
|
|
2512
2536
|
}), _t(() => {
|
|
2513
2537
|
delete jt[a];
|
|
2514
2538
|
});
|
|
2515
2539
|
return;
|
|
2516
2540
|
}
|
|
2517
|
-
const r =
|
|
2541
|
+
const r = _(() => {
|
|
2518
2542
|
const c = jt[o.path], i = Ct(o, o), d = c || i;
|
|
2519
2543
|
return d ? t.replace("%s", d) : "App";
|
|
2520
2544
|
});
|
|
@@ -2545,7 +2569,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2545
2569
|
}, [
|
|
2546
2570
|
g(r.$slots, "default")
|
|
2547
2571
|
], 512),
|
|
2548
|
-
l.value && !
|
|
2572
|
+
l.value && !S(n) ? (u(), w(wt, {
|
|
2549
2573
|
key: 0,
|
|
2550
2574
|
triggerAlt: "Show Full Text",
|
|
2551
2575
|
size: "large"
|
|
@@ -2567,7 +2591,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2567
2591
|
}, lh = {
|
|
2568
2592
|
__name: "UluTab",
|
|
2569
2593
|
setup(e) {
|
|
2570
|
-
return (n, t) => (u(),
|
|
2594
|
+
return (n, t) => (u(), w(S(tl), null, {
|
|
2571
2595
|
default: $((s) => [
|
|
2572
2596
|
g(n.$slots, "default", de(ve(s)))
|
|
2573
2597
|
]),
|
|
@@ -2589,7 +2613,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2589
2613
|
vertical: Boolean
|
|
2590
2614
|
},
|
|
2591
2615
|
setup(e) {
|
|
2592
|
-
return (n, t) => (u(),
|
|
2616
|
+
return (n, t) => (u(), w(S(nl), {
|
|
2593
2617
|
defaultIndex: e.defaultIndex,
|
|
2594
2618
|
vertical: e.vertical
|
|
2595
2619
|
}, {
|
|
@@ -2608,7 +2632,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2608
2632
|
}), ah = {
|
|
2609
2633
|
__name: "UluTabList",
|
|
2610
2634
|
setup(e) {
|
|
2611
|
-
return (n, t) => (u(),
|
|
2635
|
+
return (n, t) => (u(), w(S(sl), { class: "tabs__tablist" }, {
|
|
2612
2636
|
default: $(() => [
|
|
2613
2637
|
g(n.$slots, "default")
|
|
2614
2638
|
]),
|
|
@@ -2618,7 +2642,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2618
2642
|
}, rh = {
|
|
2619
2643
|
__name: "UluTabPanel",
|
|
2620
2644
|
setup(e) {
|
|
2621
|
-
return (n, t) => (u(),
|
|
2645
|
+
return (n, t) => (u(), w(S(ll), null, {
|
|
2622
2646
|
default: $((s) => [
|
|
2623
2647
|
g(n.$slots, "default", de(ve(s)))
|
|
2624
2648
|
]),
|
|
@@ -2628,7 +2652,7 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2628
2652
|
}, ih = {
|
|
2629
2653
|
__name: "UluTabPanels",
|
|
2630
2654
|
setup(e) {
|
|
2631
|
-
return (n, t) => (u(),
|
|
2655
|
+
return (n, t) => (u(), w(S(ol), null, {
|
|
2632
2656
|
default: $((s) => [
|
|
2633
2657
|
g(n.$slots, "default", de(ve(s)))
|
|
2634
2658
|
]),
|
|
@@ -2738,8 +2762,8 @@ const Ao = { class: "layout-flex-baseline" }, Oo = { class: "type-word-break" },
|
|
|
2738
2762
|
}
|
|
2739
2763
|
}, xo = { key: 1 };
|
|
2740
2764
|
function Bo(e, n, t, s, l, o) {
|
|
2741
|
-
const a =
|
|
2742
|
-
return u(),
|
|
2765
|
+
const a = ee("UluIcon");
|
|
2766
|
+
return u(), w(j(o.element), le({
|
|
2743
2767
|
class: ["button", [
|
|
2744
2768
|
{
|
|
2745
2769
|
"button--transparent": t.transparent,
|
|
@@ -2757,17 +2781,17 @@ function Bo(e, n, t, s, l, o) {
|
|
|
2757
2781
|
}, o.attrs, { "aria-label": o.resolvedAriaLabel }), {
|
|
2758
2782
|
default: $(() => [
|
|
2759
2783
|
g(e.$slots, "before"),
|
|
2760
|
-
t.icon && (t.iconBefore || t.iconOnly) ? (u(),
|
|
2784
|
+
t.icon && (t.iconBefore || t.iconOnly) ? (u(), w(a, {
|
|
2761
2785
|
key: 0,
|
|
2762
2786
|
icon: t.icon,
|
|
2763
2787
|
class: "button__icon"
|
|
2764
2788
|
}, null, 8, ["icon"])) : p("", !0),
|
|
2765
2789
|
(e.$slots.default || t.text) && !t.iconOnly ? (u(), f("span", xo, [
|
|
2766
2790
|
g(e.$slots, "default", {}, () => [
|
|
2767
|
-
T(
|
|
2791
|
+
T(k(t.text), 1)
|
|
2768
2792
|
])
|
|
2769
2793
|
])) : p("", !0),
|
|
2770
|
-
t.icon && !t.iconBefore && !t.iconOnly ? (u(),
|
|
2794
|
+
t.icon && !t.iconBefore && !t.iconOnly ? (u(), w(a, {
|
|
2771
2795
|
key: 2,
|
|
2772
2796
|
icon: t.icon,
|
|
2773
2797
|
class: "button__icon"
|
|
@@ -2816,19 +2840,19 @@ const Eo = /* @__PURE__ */ L(Uo, [["render", Bo]]), Ro = {
|
|
|
2816
2840
|
const { resolvedModifiers: n } = fe({
|
|
2817
2841
|
props: e,
|
|
2818
2842
|
baseClass: "callout",
|
|
2819
|
-
internal:
|
|
2843
|
+
internal: _(() => ({
|
|
2820
2844
|
[e.type]: e.type,
|
|
2821
2845
|
compact: e.compact
|
|
2822
2846
|
}))
|
|
2823
2847
|
});
|
|
2824
2848
|
return { resolvedModifiers: n };
|
|
2825
2849
|
}
|
|
2826
|
-
}, Io = { class: "layout-flex" }, jo = { class: "type-small" },
|
|
2850
|
+
}, Io = { class: "layout-flex" }, jo = { class: "type-small" }, Fo = {
|
|
2827
2851
|
key: 0,
|
|
2828
2852
|
class: "margin-left-auto align-self-center"
|
|
2829
2853
|
};
|
|
2830
|
-
function
|
|
2831
|
-
const a =
|
|
2854
|
+
function Mo(e, n, t, s, l, o) {
|
|
2855
|
+
const a = ee("UluIcon");
|
|
2832
2856
|
return u(), f("div", {
|
|
2833
2857
|
class: m(["callout", s.resolvedModifiers])
|
|
2834
2858
|
}, [
|
|
@@ -2840,22 +2864,22 @@ function Fo(e, n, t, s, l, o) {
|
|
|
2840
2864
|
h("div", jo, [
|
|
2841
2865
|
h("div", null, [
|
|
2842
2866
|
g(e.$slots, "title", {}, () => [
|
|
2843
|
-
h("strong", null,
|
|
2867
|
+
h("strong", null, k(t.title), 1)
|
|
2844
2868
|
])
|
|
2845
2869
|
]),
|
|
2846
2870
|
h("div", null, [
|
|
2847
2871
|
g(e.$slots, "description", {}, () => [
|
|
2848
|
-
T(
|
|
2872
|
+
T(k(t.description), 1)
|
|
2849
2873
|
])
|
|
2850
2874
|
])
|
|
2851
2875
|
]),
|
|
2852
|
-
e.$slots.action ? (u(), f("div",
|
|
2876
|
+
e.$slots.action ? (u(), f("div", Fo, [
|
|
2853
2877
|
g(e.$slots, "action")
|
|
2854
2878
|
])) : p("", !0)
|
|
2855
2879
|
])
|
|
2856
2880
|
], 2);
|
|
2857
2881
|
}
|
|
2858
|
-
const ch = /* @__PURE__ */ L(Ro, [["render",
|
|
2882
|
+
const ch = /* @__PURE__ */ L(Ro, [["render", Mo]]), Po = ["aria-hidden"], zo = {
|
|
2859
2883
|
key: 2,
|
|
2860
2884
|
class: "hidden-visually"
|
|
2861
2885
|
}, Lo = {
|
|
@@ -2895,11 +2919,11 @@ const ch = /* @__PURE__ */ L(Ro, [["render", Fo]]), Po = ["aria-hidden"], zo = {
|
|
|
2895
2919
|
href: String
|
|
2896
2920
|
},
|
|
2897
2921
|
setup(e) {
|
|
2898
|
-
const n = e, t =
|
|
2922
|
+
const n = e, t = _(() => !!(n.to || n.click)), s = _(() => {
|
|
2899
2923
|
const { click: l, to: o, href: a } = n;
|
|
2900
2924
|
return l ? "button" : o ? Qe : a ? "a" : "span";
|
|
2901
2925
|
});
|
|
2902
|
-
return (l, o) => (u(),
|
|
2926
|
+
return (l, o) => (u(), w(j(s.value), {
|
|
2903
2927
|
class: m(["badge", [
|
|
2904
2928
|
e.size ? `badge--${e.size}` : null,
|
|
2905
2929
|
e.type ? `badge--${e.type}` : null,
|
|
@@ -2916,8 +2940,8 @@ const ch = /* @__PURE__ */ L(Ro, [["render", Fo]]), Po = ["aria-hidden"], zo = {
|
|
|
2916
2940
|
e.text ? (u(), f("span", {
|
|
2917
2941
|
key: 0,
|
|
2918
2942
|
"aria-hidden": e.alt ? "true" : null
|
|
2919
|
-
},
|
|
2920
|
-
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)
|
|
2921
2945
|
], 2)
|
|
2922
2946
|
]),
|
|
2923
2947
|
_: 3
|
|
@@ -3013,8 +3037,8 @@ const ch = /* @__PURE__ */ L(Ro, [["render", Fo]]), Po = ["aria-hidden"], zo = {
|
|
|
3013
3037
|
class: "button-verbose__body"
|
|
3014
3038
|
};
|
|
3015
3039
|
function Wo(e, n, t, s, l, o) {
|
|
3016
|
-
const a =
|
|
3017
|
-
return u(),
|
|
3040
|
+
const a = ee("UluIcon");
|
|
3041
|
+
return u(), w(j(o.element), le({
|
|
3018
3042
|
class: ["button-verbose", [
|
|
3019
3043
|
{
|
|
3020
3044
|
"button-verbose--inline": t.inline,
|
|
@@ -3024,23 +3048,23 @@ function Wo(e, n, t, s, l, o) {
|
|
|
3024
3048
|
]]
|
|
3025
3049
|
}, o.attrs), {
|
|
3026
3050
|
default: $(() => [
|
|
3027
|
-
e.$slots.title || t.title ? (u(),
|
|
3051
|
+
e.$slots.title || t.title ? (u(), w(j(t.titleElement), {
|
|
3028
3052
|
key: 0,
|
|
3029
3053
|
class: "button-verbose__title"
|
|
3030
3054
|
}, {
|
|
3031
3055
|
default: $(() => [
|
|
3032
3056
|
g(e.$slots, "title", {}, () => [
|
|
3033
|
-
T(
|
|
3057
|
+
T(k(t.title), 1)
|
|
3034
3058
|
])
|
|
3035
3059
|
]),
|
|
3036
3060
|
_: 3
|
|
3037
3061
|
})) : p("", !0),
|
|
3038
3062
|
e.$slots.default || t.body ? (u(), f("span", No, [
|
|
3039
3063
|
g(e.$slots, "default", {}, () => [
|
|
3040
|
-
T(
|
|
3064
|
+
T(k(t.body), 1)
|
|
3041
3065
|
])
|
|
3042
3066
|
])) : p("", !0),
|
|
3043
|
-
t.icon ? (u(),
|
|
3067
|
+
t.icon ? (u(), w(a, {
|
|
3044
3068
|
key: 2,
|
|
3045
3069
|
icon: t.icon,
|
|
3046
3070
|
class: "button-verbose__icon",
|
|
@@ -3188,30 +3212,30 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3188
3212
|
setup(e, { emit: n }) {
|
|
3189
3213
|
const t = e, s = n, l = Dn();
|
|
3190
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'.");
|
|
3191
|
-
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 = _(() => ({
|
|
3192
3216
|
selectorPrevent: "input, select, textarea, button, a, [tabindex='-1']",
|
|
3193
3217
|
mousedownDurationPrevent: 250,
|
|
3194
3218
|
...t.proxyClickOptions
|
|
3195
|
-
})), C =
|
|
3196
|
-
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 }) {
|
|
3197
3221
|
if (!b.value) return;
|
|
3198
|
-
const { selectorPrevent:
|
|
3199
|
-
i.value = !1, I.closest(
|
|
3222
|
+
const { selectorPrevent: X } = A.value;
|
|
3223
|
+
i.value = !1, I.closest(X) || (i.value = !0, c.value = M);
|
|
3200
3224
|
}
|
|
3201
|
-
function
|
|
3225
|
+
function K({ timeStamp: I }) {
|
|
3202
3226
|
if (!b.value || !i.value) return;
|
|
3203
|
-
const { mousedownDurationPrevent:
|
|
3204
|
-
if (I - c.value <
|
|
3227
|
+
const { mousedownDurationPrevent: M } = A.value;
|
|
3228
|
+
if (I - c.value < M) {
|
|
3205
3229
|
if (v.value)
|
|
3206
3230
|
a.value?.click();
|
|
3207
3231
|
else if (y.value) {
|
|
3208
|
-
const
|
|
3209
|
-
|
|
3232
|
+
const X = o.value?.querySelector("[data-ulu-card-proxy-target]");
|
|
3233
|
+
X ? X.click() : s("proxy-click");
|
|
3210
3234
|
}
|
|
3211
3235
|
}
|
|
3212
3236
|
i.value = !1;
|
|
3213
3237
|
}
|
|
3214
|
-
return (I,
|
|
3238
|
+
return (I, M) => (u(), w(j(B.value), {
|
|
3215
3239
|
ref_key: "cardRoot",
|
|
3216
3240
|
ref: o,
|
|
3217
3241
|
class: m(["card", [
|
|
@@ -3220,11 +3244,11 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3220
3244
|
"card--horizontal-center": e.horizontalCenter,
|
|
3221
3245
|
"card--overlay": e.overlay
|
|
3222
3246
|
},
|
|
3223
|
-
|
|
3247
|
+
S(r)
|
|
3224
3248
|
]]),
|
|
3225
3249
|
onMousedown: H,
|
|
3226
|
-
onMouseup:
|
|
3227
|
-
style:
|
|
3250
|
+
onMouseup: K,
|
|
3251
|
+
style: Y({ cursor: C.value }),
|
|
3228
3252
|
target: e.target,
|
|
3229
3253
|
to: e.to,
|
|
3230
3254
|
href: e.href,
|
|
@@ -3233,12 +3257,12 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3233
3257
|
default: $(() => [
|
|
3234
3258
|
h("div", Xo, [
|
|
3235
3259
|
h("div", Go, [
|
|
3236
|
-
e.title ||
|
|
3260
|
+
e.title || S(l).title ? (u(), w(j(e.titleElement), {
|
|
3237
3261
|
key: 0,
|
|
3238
3262
|
class: m(["card__title", e.classes.title])
|
|
3239
3263
|
}, {
|
|
3240
3264
|
default: $(() => [
|
|
3241
|
-
e.titleTo ? (u(),
|
|
3265
|
+
e.titleTo ? (u(), w(S(Qe), {
|
|
3242
3266
|
key: 0,
|
|
3243
3267
|
class: "card__title-link",
|
|
3244
3268
|
to: e.titleTo,
|
|
@@ -3247,7 +3271,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3247
3271
|
}, {
|
|
3248
3272
|
default: $(() => [
|
|
3249
3273
|
g(I.$slots, "title", {}, () => [
|
|
3250
|
-
T(
|
|
3274
|
+
T(k(e.title), 1)
|
|
3251
3275
|
])
|
|
3252
3276
|
]),
|
|
3253
3277
|
_: 3
|
|
@@ -3260,21 +3284,21 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3260
3284
|
ref: a
|
|
3261
3285
|
}, [
|
|
3262
3286
|
g(I.$slots, "title", {}, () => [
|
|
3263
|
-
T(
|
|
3287
|
+
T(k(e.title), 1)
|
|
3264
3288
|
])
|
|
3265
3289
|
], 8, Yo)) : g(I.$slots, "title", { key: 2 }, () => [
|
|
3266
|
-
T(
|
|
3290
|
+
T(k(e.title), 1)
|
|
3267
3291
|
])
|
|
3268
3292
|
]),
|
|
3269
3293
|
_: 3
|
|
3270
3294
|
}, 8, ["class"])) : p("", !0),
|
|
3271
3295
|
g(I.$slots, "body")
|
|
3272
3296
|
]),
|
|
3273
|
-
|
|
3297
|
+
S(l).aside ? (u(), f("div", Ko, [
|
|
3274
3298
|
g(I.$slots, "aside")
|
|
3275
3299
|
])) : p("", !0)
|
|
3276
3300
|
]),
|
|
3277
|
-
|
|
3301
|
+
S(l).image || e.imageSrc ? (u(), f("div", {
|
|
3278
3302
|
key: 0,
|
|
3279
3303
|
class: m(["card__image", [
|
|
3280
3304
|
{ "card__image--icon": e.imageIcon },
|
|
@@ -3288,7 +3312,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3288
3312
|
}, null, 8, Jo)
|
|
3289
3313
|
])
|
|
3290
3314
|
], 2)) : p("", !0),
|
|
3291
|
-
|
|
3315
|
+
S(l).footer ? (u(), f("div", Qo, [
|
|
3292
3316
|
g(I.$slots, "footer")
|
|
3293
3317
|
])) : p("", !0)
|
|
3294
3318
|
]),
|
|
@@ -3344,7 +3368,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3344
3368
|
compact: Boolean
|
|
3345
3369
|
},
|
|
3346
3370
|
setup(e) {
|
|
3347
|
-
const n = e, t =
|
|
3371
|
+
const n = e, t = _(() => ({
|
|
3348
3372
|
inline: n.inline,
|
|
3349
3373
|
"inline-all": n.inlineAll,
|
|
3350
3374
|
table: n.table,
|
|
@@ -3358,7 +3382,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3358
3382
|
baseClass: "definition-list"
|
|
3359
3383
|
});
|
|
3360
3384
|
return (l, o) => (u(), f("dl", {
|
|
3361
|
-
class: m(["definition-list", [
|
|
3385
|
+
class: m(["definition-list", [S(s), e.classes.list]])
|
|
3362
3386
|
}, [
|
|
3363
3387
|
(u(!0), f(U, null, R(e.items, (a, r) => (u(), f("div", {
|
|
3364
3388
|
key: r,
|
|
@@ -3371,7 +3395,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3371
3395
|
item: a,
|
|
3372
3396
|
index: r
|
|
3373
3397
|
}, () => [
|
|
3374
|
-
T(
|
|
3398
|
+
T(k(a.term), 1)
|
|
3375
3399
|
])
|
|
3376
3400
|
], 2),
|
|
3377
3401
|
h("dd", {
|
|
@@ -3381,7 +3405,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3381
3405
|
item: a,
|
|
3382
3406
|
index: r
|
|
3383
3407
|
}, () => [
|
|
3384
|
-
T(
|
|
3408
|
+
T(k(a.description), 1)
|
|
3385
3409
|
])
|
|
3386
3410
|
], 2)
|
|
3387
3411
|
], 2))), 128))
|
|
@@ -3418,7 +3442,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3418
3442
|
}, [
|
|
3419
3443
|
h("span", ea, [
|
|
3420
3444
|
g(n.$slots, "default", {}, () => [
|
|
3421
|
-
T(
|
|
3445
|
+
T(k(e.text), 1)
|
|
3422
3446
|
])
|
|
3423
3447
|
]),
|
|
3424
3448
|
x(q, {
|
|
@@ -3477,8 +3501,8 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3477
3501
|
listStyleType: String
|
|
3478
3502
|
},
|
|
3479
3503
|
setup(e) {
|
|
3480
|
-
const n = e, t =
|
|
3481
|
-
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), {
|
|
3482
3506
|
class: m([
|
|
3483
3507
|
{
|
|
3484
3508
|
"list-ordered": e.ordered,
|
|
@@ -3488,7 +3512,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3488
3512
|
},
|
|
3489
3513
|
e.classes.list
|
|
3490
3514
|
]),
|
|
3491
|
-
style:
|
|
3515
|
+
style: Y({
|
|
3492
3516
|
listStyleType: e.listStyleType
|
|
3493
3517
|
}),
|
|
3494
3518
|
reversed: t.value ? e.reversed : null,
|
|
@@ -3503,7 +3527,7 @@ const fh = /* @__PURE__ */ L(Do, [["render", qo]]), Xo = { class: "card__body" }
|
|
|
3503
3527
|
item: a,
|
|
3504
3528
|
index: r
|
|
3505
3529
|
}, () => [
|
|
3506
|
-
T(
|
|
3530
|
+
T(k(a), 1)
|
|
3507
3531
|
])
|
|
3508
3532
|
], 2))), 128))
|
|
3509
3533
|
]),
|
|
@@ -3545,7 +3569,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3545
3569
|
modifiers: [String, Array]
|
|
3546
3570
|
},
|
|
3547
3571
|
setup(e) {
|
|
3548
|
-
const n = e, t =
|
|
3572
|
+
const n = e, t = _(() => ({
|
|
3549
3573
|
short: n.short,
|
|
3550
3574
|
light: n.light,
|
|
3551
3575
|
large: n.large,
|
|
@@ -3557,10 +3581,10 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3557
3581
|
});
|
|
3558
3582
|
return (l, o) => e.semantic ? (u(), f("hr", {
|
|
3559
3583
|
key: 0,
|
|
3560
|
-
class: m(["rule",
|
|
3584
|
+
class: m(["rule", S(s)])
|
|
3561
3585
|
}, null, 2)) : (u(), f("div", {
|
|
3562
3586
|
key: 1,
|
|
3563
|
-
class: m(["rule",
|
|
3587
|
+
class: m(["rule", S(s)])
|
|
3564
3588
|
}, null, 2));
|
|
3565
3589
|
}
|
|
3566
3590
|
}, la = { class: "spoke-spinner__spinner" }, bh = {
|
|
@@ -3613,7 +3637,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3613
3637
|
},
|
|
3614
3638
|
emits: ["update:modelValue"],
|
|
3615
3639
|
setup(e, { emit: n }) {
|
|
3616
|
-
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) => {
|
|
3617
3641
|
if (t.type === "radio")
|
|
3618
3642
|
s("update:modelValue", d.uid);
|
|
3619
3643
|
else if (Array.isArray(t.modelValue)) {
|
|
@@ -3634,7 +3658,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3634
3658
|
key: 0,
|
|
3635
3659
|
id: o.value,
|
|
3636
3660
|
class: "hidden-visually"
|
|
3637
|
-
},
|
|
3661
|
+
}, k(e.legend), 9, aa)) : p("", !0),
|
|
3638
3662
|
h("ul", ra, [
|
|
3639
3663
|
(u(!0), f(U, null, R(e.options, (y) => (u(), f("li", {
|
|
3640
3664
|
class: "menu-stack__item",
|
|
@@ -3653,7 +3677,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3653
3677
|
for: r(y)
|
|
3654
3678
|
}, [
|
|
3655
3679
|
g(d.$slots, "default", { option: y }, () => [
|
|
3656
|
-
T(
|
|
3680
|
+
T(k(y?.label || y?.title || y?.text), 1)
|
|
3657
3681
|
])
|
|
3658
3682
|
], 8, ua)
|
|
3659
3683
|
])
|
|
@@ -3684,7 +3708,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3684
3708
|
noFileSize: Boolean
|
|
3685
3709
|
},
|
|
3686
3710
|
setup(e) {
|
|
3687
|
-
const n = e, t =
|
|
3711
|
+
const n = e, t = _(() => typeof window > "u" ? "" : window.URL.createObjectURL(n.file)), s = _(() => {
|
|
3688
3712
|
const { size: l } = n.file, o = l / 1e6, a = l / 1e3, r = (c) => parseFloat(c.toFixed(2));
|
|
3689
3713
|
return o > 1 ? `${r(o)}Mb` : a > 1 ? `${r(a)}Kb` : `${r(l)}B`;
|
|
3690
3714
|
});
|
|
@@ -3702,8 +3726,8 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3702
3726
|
icon: e.icon
|
|
3703
3727
|
}, null, 8, ["icon"]),
|
|
3704
3728
|
h("span", fa, [
|
|
3705
|
-
T(
|
|
3706
|
-
e.noFileSize ? p("", !0) : (u(),
|
|
3729
|
+
T(k(e.file.name) + " ", 1),
|
|
3730
|
+
e.noFileSize ? p("", !0) : (u(), w(os, {
|
|
3707
3731
|
key: 0,
|
|
3708
3732
|
text: s.value,
|
|
3709
3733
|
small: "",
|
|
@@ -3757,18 +3781,18 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3757
3781
|
return (o, a) => (u(), f(U, null, [
|
|
3758
3782
|
h("label", {
|
|
3759
3783
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3760
|
-
for:
|
|
3784
|
+
for: S(s)
|
|
3761
3785
|
}, [
|
|
3762
3786
|
g(o.$slots, "label", {}, () => [
|
|
3763
|
-
T(
|
|
3764
|
-
e.required ? (u(),
|
|
3787
|
+
T(k(e.label), 1),
|
|
3788
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
3765
3789
|
])
|
|
3766
3790
|
], 10, ma),
|
|
3767
3791
|
h("input", le({
|
|
3768
3792
|
type: "file",
|
|
3769
3793
|
onChange: l,
|
|
3770
3794
|
multiple: e.multiple,
|
|
3771
|
-
id:
|
|
3795
|
+
id: S(s)
|
|
3772
3796
|
}, e.inputAttrs, { required: e.required }), null, 16, ga)
|
|
3773
3797
|
], 64));
|
|
3774
3798
|
}
|
|
@@ -3791,7 +3815,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3791
3815
|
"form-theme__warning": e.warning
|
|
3792
3816
|
}])
|
|
3793
3817
|
}, [
|
|
3794
|
-
e.error || e.warning ? (u(),
|
|
3818
|
+
e.error || e.warning ? (u(), w(q, {
|
|
3795
3819
|
key: 0,
|
|
3796
3820
|
icon: `type:${e.error ? "error" : "warning"}`
|
|
3797
3821
|
}, null, 8, ["icon"])) : p("", !0),
|
|
@@ -3828,15 +3852,15 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3828
3852
|
return (t, s) => (u(), f(U, null, [
|
|
3829
3853
|
h("label", {
|
|
3830
3854
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3831
|
-
for:
|
|
3855
|
+
for: S(n)
|
|
3832
3856
|
}, [
|
|
3833
3857
|
g(t.$slots, "label", {}, () => [
|
|
3834
|
-
T(
|
|
3835
|
-
e.required ? (u(),
|
|
3858
|
+
T(k(e.label), 1),
|
|
3859
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
3836
3860
|
])
|
|
3837
3861
|
], 10, va),
|
|
3838
3862
|
h("select", {
|
|
3839
|
-
id:
|
|
3863
|
+
id: S(n),
|
|
3840
3864
|
value: e.modelValue,
|
|
3841
3865
|
onInput: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.value)),
|
|
3842
3866
|
required: e.required
|
|
@@ -3848,7 +3872,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3848
3872
|
(u(!0), f(U, null, R(e.options, (l, o) => (u(), f("option", {
|
|
3849
3873
|
key: o,
|
|
3850
3874
|
value: l.value
|
|
3851
|
-
},
|
|
3875
|
+
}, k(l.text), 9, pa))), 128))
|
|
3852
3876
|
], 40, ya)
|
|
3853
3877
|
], 64));
|
|
3854
3878
|
}
|
|
@@ -3878,18 +3902,18 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3878
3902
|
return (t, s) => (u(), f(U, null, [
|
|
3879
3903
|
h("label", {
|
|
3880
3904
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3881
|
-
for:
|
|
3905
|
+
for: S(n)
|
|
3882
3906
|
}, [
|
|
3883
3907
|
g(t.$slots, "label", {}, () => [
|
|
3884
|
-
T(
|
|
3885
|
-
e.required ? (u(),
|
|
3908
|
+
T(k(e.label), 1),
|
|
3909
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
3886
3910
|
])
|
|
3887
3911
|
], 10, ba),
|
|
3888
3912
|
h("input", {
|
|
3889
3913
|
type: "text",
|
|
3890
3914
|
value: e.modelValue,
|
|
3891
3915
|
onInput: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.value)),
|
|
3892
|
-
id:
|
|
3916
|
+
id: S(n),
|
|
3893
3917
|
required: e.required
|
|
3894
3918
|
}, null, 40, _a)
|
|
3895
3919
|
], 64));
|
|
@@ -3952,7 +3976,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3952
3976
|
actionsRight: Boolean
|
|
3953
3977
|
},
|
|
3954
3978
|
setup(e) {
|
|
3955
|
-
return (n, t) => (u(),
|
|
3979
|
+
return (n, t) => (u(), w(j(e.element), {
|
|
3956
3980
|
class: m(["form-theme", [{
|
|
3957
3981
|
"form-theme--full-width": e.fullWidth,
|
|
3958
3982
|
"form-theme--full-width-select": e.fullWidthSelect,
|
|
@@ -3995,15 +4019,15 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
3995
4019
|
return (t, s) => (u(), f(U, null, [
|
|
3996
4020
|
h("input", {
|
|
3997
4021
|
type: "checkbox",
|
|
3998
|
-
id:
|
|
4022
|
+
id: S(n),
|
|
3999
4023
|
checked: e.modelValue,
|
|
4000
4024
|
onChange: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.checked)),
|
|
4001
4025
|
required: e.required
|
|
4002
4026
|
}, null, 40, Ta),
|
|
4003
|
-
h("label", { for:
|
|
4027
|
+
h("label", { for: S(n) }, [
|
|
4004
4028
|
g(t.$slots, "default", {}, () => [
|
|
4005
|
-
T(
|
|
4006
|
-
e.required ? (u(),
|
|
4029
|
+
T(k(e.label), 1),
|
|
4030
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
4007
4031
|
])
|
|
4008
4032
|
], 8, Aa)
|
|
4009
4033
|
], 64));
|
|
@@ -4018,7 +4042,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4018
4042
|
},
|
|
4019
4043
|
setup(e) {
|
|
4020
4044
|
return (n, t) => (u(), f("fieldset", Oa, [
|
|
4021
|
-
e.legend ? (u(), f("legend", Ua,
|
|
4045
|
+
e.legend ? (u(), f("legend", Ua, k(e.legend), 1)) : p("", !0),
|
|
4022
4046
|
g(n.$slots, "default")
|
|
4023
4047
|
]));
|
|
4024
4048
|
}
|
|
@@ -4106,17 +4130,17 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4106
4130
|
return (t, s) => (u(), f(U, null, [
|
|
4107
4131
|
h("input", {
|
|
4108
4132
|
type: "radio",
|
|
4109
|
-
id:
|
|
4133
|
+
id: S(n),
|
|
4110
4134
|
name: e.name,
|
|
4111
4135
|
value: e.value,
|
|
4112
4136
|
checked: e.modelValue === e.value,
|
|
4113
4137
|
onChange: s[0] || (s[0] = (l) => t.$emit("update:modelValue", e.value)),
|
|
4114
4138
|
required: e.required
|
|
4115
4139
|
}, null, 40, Ba),
|
|
4116
|
-
h("label", { for:
|
|
4140
|
+
h("label", { for: S(n) }, [
|
|
4117
4141
|
g(t.$slots, "default", {}, () => [
|
|
4118
|
-
T(
|
|
4119
|
-
e.required ? (u(),
|
|
4142
|
+
T(k(e.label), 1),
|
|
4143
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
4120
4144
|
])
|
|
4121
4145
|
], 8, Ea)
|
|
4122
4146
|
], 64));
|
|
@@ -4147,17 +4171,17 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4147
4171
|
return (t, s) => (u(), f(U, null, [
|
|
4148
4172
|
h("label", {
|
|
4149
4173
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
4150
|
-
for:
|
|
4174
|
+
for: S(n)
|
|
4151
4175
|
}, [
|
|
4152
4176
|
g(t.$slots, "label", {}, () => [
|
|
4153
|
-
T(
|
|
4154
|
-
e.required ? (u(),
|
|
4177
|
+
T(k(e.label), 1),
|
|
4178
|
+
e.required ? (u(), w(Ne, { key: 0 })) : p("", !0)
|
|
4155
4179
|
])
|
|
4156
4180
|
], 10, Ra),
|
|
4157
4181
|
h("textarea", {
|
|
4158
4182
|
value: e.modelValue,
|
|
4159
4183
|
onInput: s[0] || (s[0] = (l) => t.$emit("update:modelValue", l.target.value)),
|
|
4160
|
-
id:
|
|
4184
|
+
id: S(n),
|
|
4161
4185
|
required: e.required
|
|
4162
4186
|
}, null, 40, Ia)
|
|
4163
4187
|
], 64));
|
|
@@ -4166,7 +4190,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4166
4190
|
__name: "UluAdaptiveLayout",
|
|
4167
4191
|
setup(e) {
|
|
4168
4192
|
const n = Ce("uluIsMobile");
|
|
4169
|
-
return (t, s) => !
|
|
4193
|
+
return (t, s) => !S(n) || !t.$slots.mobile ? g(t.$slots, "default", { key: 0 }) : g(t.$slots, "mobile", { key: 1 });
|
|
4170
4194
|
}
|
|
4171
4195
|
}, jh = {
|
|
4172
4196
|
__name: "UluDataGrid",
|
|
@@ -4194,7 +4218,7 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4194
4218
|
o && (window.removeEventListener("resize", o), o = null, l = null);
|
|
4195
4219
|
}), te(() => n.hidden, (a, r) => {
|
|
4196
4220
|
r && !a && l && l();
|
|
4197
|
-
}), (a, r) => (u(),
|
|
4221
|
+
}), (a, r) => (u(), w(j(e.element), {
|
|
4198
4222
|
"data-grid-init": s.value,
|
|
4199
4223
|
ref_key: "rootElement",
|
|
4200
4224
|
ref: t
|
|
@@ -4248,12 +4272,12 @@ const yh = /* @__PURE__ */ L(ta, [["render", sa]]), ph = {
|
|
|
4248
4272
|
*/
|
|
4249
4273
|
rule: Boolean
|
|
4250
4274
|
}
|
|
4251
|
-
},
|
|
4275
|
+
}, Fa = {
|
|
4252
4276
|
key: 0,
|
|
4253
4277
|
class: "rail__item rail__item--pull"
|
|
4254
4278
|
};
|
|
4255
|
-
function
|
|
4256
|
-
const a =
|
|
4279
|
+
function Ma(e, n, t, s, l, o) {
|
|
4280
|
+
const a = ee("UluIcon");
|
|
4257
4281
|
return u(), f("div", {
|
|
4258
4282
|
class: m(["rail rail--title-rail", {
|
|
4259
4283
|
"rail--rule": t.rule
|
|
@@ -4262,29 +4286,29 @@ function Fa(e, n, t, s, l, o) {
|
|
|
4262
4286
|
h("div", {
|
|
4263
4287
|
class: m(["rail__item rail__item--title", t.classes.itemTitle])
|
|
4264
4288
|
}, [
|
|
4265
|
-
(u(),
|
|
4289
|
+
(u(), w(j(t.titleElement), {
|
|
4266
4290
|
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
4267
|
-
style:
|
|
4291
|
+
style: Y({ alignItems: t.iconAlign })
|
|
4268
4292
|
}, {
|
|
4269
4293
|
default: $(() => [
|
|
4270
|
-
t.icon ? (u(),
|
|
4294
|
+
t.icon ? (u(), w(a, {
|
|
4271
4295
|
key: 0,
|
|
4272
4296
|
class: m(t.classes.icon),
|
|
4273
4297
|
icon: t.icon
|
|
4274
4298
|
}, null, 8, ["class", "icon"])) : p("", !0),
|
|
4275
4299
|
g(e.$slots, "default", {}, () => [
|
|
4276
|
-
T(
|
|
4300
|
+
T(k(t.title), 1)
|
|
4277
4301
|
])
|
|
4278
4302
|
]),
|
|
4279
4303
|
_: 3
|
|
4280
4304
|
}, 8, ["class", "style"]))
|
|
4281
4305
|
], 2),
|
|
4282
|
-
e.$slots.end ? (u(), f("div",
|
|
4306
|
+
e.$slots.end ? (u(), f("div", Fa, [
|
|
4283
4307
|
g(e.$slots, "end")
|
|
4284
4308
|
])) : p("", !0)
|
|
4285
4309
|
], 2);
|
|
4286
4310
|
}
|
|
4287
|
-
const
|
|
4311
|
+
const Fh = /* @__PURE__ */ L(ja, [["render", Ma]]), Mh = {
|
|
4288
4312
|
__name: "UluWhenBreakpoint",
|
|
4289
4313
|
props: {
|
|
4290
4314
|
/**
|
|
@@ -4301,7 +4325,7 @@ const Mh = /* @__PURE__ */ L(ja, [["render", Fa]]), Fh = {
|
|
|
4301
4325
|
only: String
|
|
4302
4326
|
},
|
|
4303
4327
|
setup(e) {
|
|
4304
|
-
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) => {
|
|
4305
4329
|
const d = (v) => {
|
|
4306
4330
|
const y = n[v];
|
|
4307
4331
|
if (y) {
|
|
@@ -4367,7 +4391,7 @@ const Mh = /* @__PURE__ */ L(ja, [["render", Fa]]), Fh = {
|
|
|
4367
4391
|
}
|
|
4368
4392
|
};
|
|
4369
4393
|
function za(e, n, t, s, l, o) {
|
|
4370
|
-
const a =
|
|
4394
|
+
const a = ee("router-link"), r = ee("UluIcon");
|
|
4371
4395
|
return t.items.length ? (u(), f("nav", {
|
|
4372
4396
|
key: 0,
|
|
4373
4397
|
class: m(t.classes.nav),
|
|
@@ -4385,9 +4409,9 @@ function za(e, n, t, s, l, o) {
|
|
|
4385
4409
|
class: m(c.current)
|
|
4386
4410
|
}, [
|
|
4387
4411
|
g(e.$slots, "default", { item: c }, () => [
|
|
4388
|
-
T(
|
|
4412
|
+
T(k(c.title), 1)
|
|
4389
4413
|
])
|
|
4390
|
-
], 2)) : (u(),
|
|
4414
|
+
], 2)) : (u(), w(a, {
|
|
4391
4415
|
key: 0,
|
|
4392
4416
|
to: c.to,
|
|
4393
4417
|
class: m(t.classes.link),
|
|
@@ -4395,7 +4419,7 @@ function za(e, n, t, s, l, o) {
|
|
|
4395
4419
|
}, {
|
|
4396
4420
|
default: $(() => [
|
|
4397
4421
|
g(e.$slots, "default", { item: c }, () => [
|
|
4398
|
-
T(
|
|
4422
|
+
T(k(c.title), 1)
|
|
4399
4423
|
])
|
|
4400
4424
|
]),
|
|
4401
4425
|
_: 2
|
|
@@ -4435,7 +4459,7 @@ const Ph = /* @__PURE__ */ L(Pa, [["render", za]]), La = {
|
|
|
4435
4459
|
}
|
|
4436
4460
|
};
|
|
4437
4461
|
function Va(e, n, t, s, l, o) {
|
|
4438
|
-
const a =
|
|
4462
|
+
const a = ee("UluMenu");
|
|
4439
4463
|
return u(), f("nav", {
|
|
4440
4464
|
class: m(["nav-strip", {
|
|
4441
4465
|
"nav-strip--rule": t.rule,
|
|
@@ -4512,15 +4536,15 @@ const zh = /* @__PURE__ */ L(La, [["render", Va]]), Ha = ["aria-labelledby"], Na
|
|
|
4512
4536
|
return n.current == l ? "Current page" : `Go to page ${l}`;
|
|
4513
4537
|
}
|
|
4514
4538
|
return (l, o) => {
|
|
4515
|
-
const a =
|
|
4539
|
+
const a = ee("router-link");
|
|
4516
4540
|
return e.items ? (u(), f("nav", {
|
|
4517
4541
|
key: 0,
|
|
4518
4542
|
class: "pager",
|
|
4519
4543
|
role: "navigation",
|
|
4520
|
-
"aria-labelledby":
|
|
4544
|
+
"aria-labelledby": S(t)
|
|
4521
4545
|
}, [
|
|
4522
|
-
(u(),
|
|
4523
|
-
id:
|
|
4546
|
+
(u(), w(j(e.titleElement), {
|
|
4547
|
+
id: S(t),
|
|
4524
4548
|
class: "hidden-visually"
|
|
4525
4549
|
}, {
|
|
4526
4550
|
default: $(() => [...o[0] || (o[0] = [
|
|
@@ -4570,8 +4594,8 @@ const zh = /* @__PURE__ */ L(La, [["render", Va]]), Ha = ["aria-labelledby"], Na
|
|
|
4570
4594
|
title: s(c)
|
|
4571
4595
|
}, { ref_for: !0 }, r.attributes), {
|
|
4572
4596
|
default: $(() => [
|
|
4573
|
-
h("span", Xa,
|
|
4574
|
-
T(" " +
|
|
4597
|
+
h("span", Xa, k(e.current == c ? "Current page" : "Page"), 1),
|
|
4598
|
+
T(" " + k(c), 1)
|
|
4575
4599
|
]),
|
|
4576
4600
|
_: 2
|
|
4577
4601
|
}, 1040, ["to", "title"])
|
|
@@ -4636,9 +4660,9 @@ const Vh = /* @__PURE__ */ L(Ja, [["render", Za]]), er = {
|
|
|
4636
4660
|
}
|
|
4637
4661
|
};
|
|
4638
4662
|
function tr(e, n, t, s, l, o) {
|
|
4639
|
-
return t.text != null ? (u(),
|
|
4663
|
+
return t.text != null ? (u(), w(j(t.element), { key: 0 }, {
|
|
4640
4664
|
default: $(() => [
|
|
4641
|
-
T(
|
|
4665
|
+
T(k(t.text), 1)
|
|
4642
4666
|
]),
|
|
4643
4667
|
_: 1
|
|
4644
4668
|
})) : p("", !0);
|
|
@@ -4666,7 +4690,7 @@ const Hh = /* @__PURE__ */ L(er, [["render", tr]]), nr = {
|
|
|
4666
4690
|
}
|
|
4667
4691
|
},
|
|
4668
4692
|
setup(e) {
|
|
4669
|
-
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 }, {
|
|
4670
4694
|
default: $(() => [
|
|
4671
4695
|
g(n.$slots, "default")
|
|
4672
4696
|
]),
|
|
@@ -4679,8 +4703,8 @@ function or(e, n) {
|
|
|
4679
4703
|
}
|
|
4680
4704
|
const Nh = /* @__PURE__ */ L(sr, [["render", or]]), ar = {};
|
|
4681
4705
|
function rr(e, n) {
|
|
4682
|
-
const t =
|
|
4683
|
-
return u(),
|
|
4706
|
+
const t = ee("router-view");
|
|
4707
|
+
return u(), w(t);
|
|
4684
4708
|
}
|
|
4685
4709
|
const Wh = /* @__PURE__ */ L(ar, [["render", rr]]), ir = {
|
|
4686
4710
|
name: "UluPlaceholderImage",
|
|
@@ -4743,7 +4767,7 @@ const Dh = /* @__PURE__ */ L(ir, [["render", ur]]), dr = {
|
|
|
4743
4767
|
}
|
|
4744
4768
|
};
|
|
4745
4769
|
function fr(e, n, t, s, l, o) {
|
|
4746
|
-
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 }, {
|
|
4747
4771
|
default: $(() => [...n[0] || (n[0] = [
|
|
4748
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)
|
|
4749
4773
|
])]),
|
|
@@ -4801,7 +4825,7 @@ function mr(e, n, t, s, l, o) {
|
|
|
4801
4825
|
tabindex: "-1",
|
|
4802
4826
|
class: "hidden-visually",
|
|
4803
4827
|
ref: "el"
|
|
4804
|
-
},
|
|
4828
|
+
}, k(o.title), 513)) : p("", !0);
|
|
4805
4829
|
}
|
|
4806
4830
|
const Xh = /* @__PURE__ */ L(hr, [["render", mr]]), Gh = {
|
|
4807
4831
|
__name: "UluSanityRichText",
|
|
@@ -4827,13 +4851,13 @@ const Xh = /* @__PURE__ */ L(hr, [["render", mr]]), Gh = {
|
|
|
4827
4851
|
})
|
|
4828
4852
|
}
|
|
4829
4853
|
};
|
|
4830
|
-
return (t, s) => e.content?.length ? (u(),
|
|
4854
|
+
return (t, s) => e.content?.length ? (u(), w(nr, {
|
|
4831
4855
|
key: 0,
|
|
4832
4856
|
class: "wysiwyg",
|
|
4833
4857
|
unwrapped: e.noWrapper
|
|
4834
4858
|
}, {
|
|
4835
4859
|
default: $(() => [
|
|
4836
|
-
x(
|
|
4860
|
+
x(S(rl), {
|
|
4837
4861
|
value: e.content,
|
|
4838
4862
|
components: n
|
|
4839
4863
|
}, null, 8, ["value"])
|
|
@@ -4869,7 +4893,7 @@ const Xh = /* @__PURE__ */ L(hr, [["render", mr]]), Gh = {
|
|
|
4869
4893
|
function vr(e, n, t, s, l, o) {
|
|
4870
4894
|
return u(), f("span", null, [
|
|
4871
4895
|
g(e.$slots, "default", { currentValue: l.currentValue }, () => [
|
|
4872
|
-
T(
|
|
4896
|
+
T(k(l.currentValue), 1)
|
|
4873
4897
|
])
|
|
4874
4898
|
]);
|
|
4875
4899
|
}
|
|
@@ -4972,7 +4996,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
4972
4996
|
amountInHeader: Boolean
|
|
4973
4997
|
},
|
|
4974
4998
|
setup(e) {
|
|
4975
|
-
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 = _(() => ({
|
|
4976
5000
|
"progress-bar": !0,
|
|
4977
5001
|
"progress-bar--small": n.small,
|
|
4978
5002
|
"progress-bar--positive": n.positive,
|
|
@@ -4986,13 +5010,13 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
4986
5010
|
class: m(o.value)
|
|
4987
5011
|
}, [
|
|
4988
5012
|
e.label || a.$slots.label || a.$slots.icon || e.amountInHeader ? (u(), f("div", yr, [
|
|
4989
|
-
e.label ? (u(),
|
|
5013
|
+
e.label ? (u(), w(j(e.labelElement), {
|
|
4990
5014
|
key: 0,
|
|
4991
5015
|
class: m(["progress-bar__label", [e.classes.label, { "hidden-visually": e.labelHidden }]])
|
|
4992
5016
|
}, {
|
|
4993
5017
|
default: $(() => [
|
|
4994
5018
|
g(a.$slots, "label", {}, () => [
|
|
4995
|
-
T(
|
|
5019
|
+
T(k(e.label), 1)
|
|
4996
5020
|
])
|
|
4997
5021
|
]),
|
|
4998
5022
|
_: 3
|
|
@@ -5000,7 +5024,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5000
5024
|
e.amountInHeader ? (u(), f("div", pr, [
|
|
5001
5025
|
r[0] || (r[0] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
5002
5026
|
g(a.$slots, "valueAmount", { value: e.amount }, () => [
|
|
5003
|
-
T(
|
|
5027
|
+
T(k(e.formatValue(e.amount, "amount")), 1)
|
|
5004
5028
|
])
|
|
5005
5029
|
])) : p("", !0),
|
|
5006
5030
|
a.$slots.icon ? (u(), f("div", br, [
|
|
@@ -5010,31 +5034,31 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5010
5034
|
h("div", _r, [
|
|
5011
5035
|
h("div", {
|
|
5012
5036
|
class: "progress-bar__bar",
|
|
5013
|
-
style:
|
|
5037
|
+
style: Y({ width: s.value })
|
|
5014
5038
|
}, null, 4),
|
|
5015
5039
|
e.deficit > 0 ? (u(), f("div", {
|
|
5016
5040
|
key: 0,
|
|
5017
5041
|
class: "progress-bar__bar--deficit",
|
|
5018
|
-
style:
|
|
5042
|
+
style: Y({ width: l.value })
|
|
5019
5043
|
}, null, 4)) : p("", !0)
|
|
5020
5044
|
]),
|
|
5021
5045
|
!e.noValues && !e.amountInHeader && !e.loader && !e.indeterminate ? (u(), f("div", wr, [
|
|
5022
5046
|
h("div", Sr, [
|
|
5023
5047
|
r[1] || (r[1] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
5024
5048
|
g(a.$slots, "valueAmount", { value: e.amount }, () => [
|
|
5025
|
-
T(
|
|
5049
|
+
T(k(e.formatValue(e.amount, "amount")), 1)
|
|
5026
5050
|
])
|
|
5027
5051
|
]),
|
|
5028
5052
|
e.deficit > 0 ? (u(), f("div", kr, [
|
|
5029
5053
|
r[2] || (r[2] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
|
|
5030
5054
|
g(a.$slots, "valueDeficit", { value: e.deficit }, () => [
|
|
5031
|
-
T("-" +
|
|
5055
|
+
T("-" + k(e.formatValue(e.deficit, "deficit")), 1)
|
|
5032
5056
|
])
|
|
5033
5057
|
])) : p("", !0),
|
|
5034
5058
|
h("div", $r, [
|
|
5035
5059
|
r[3] || (r[3] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
|
|
5036
5060
|
g(a.$slots, "valueTotal", { value: e.total }, () => [
|
|
5037
|
-
T(
|
|
5061
|
+
T(k(e.formatValue(e.total, "total")), 1)
|
|
5038
5062
|
])
|
|
5039
5063
|
])
|
|
5040
5064
|
])) : p("", !0)
|
|
@@ -5131,7 +5155,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5131
5155
|
te(() => n.percentage, (c, i) => {
|
|
5132
5156
|
c !== i && l(s(i));
|
|
5133
5157
|
});
|
|
5134
|
-
const o =
|
|
5158
|
+
const o = _(() => `${s(n.percentage)} 100`), a = _(() => n.outside || n.outsideBelow || n.small), r = _(() => {
|
|
5135
5159
|
const c = {
|
|
5136
5160
|
"progress-circle": !0,
|
|
5137
5161
|
"progress-circle--small": n.small,
|
|
@@ -5147,7 +5171,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5147
5171
|
}), (c, i) => (u(), f("div", {
|
|
5148
5172
|
class: m(r.value)
|
|
5149
5173
|
}, [
|
|
5150
|
-
h("strong", Cr,
|
|
5174
|
+
h("strong", Cr, k(e.label), 1),
|
|
5151
5175
|
h("div", Tr, [
|
|
5152
5176
|
(u(), f("svg", Ar, [
|
|
5153
5177
|
i[0] || (i[0] = h("circle", {
|
|
@@ -5163,7 +5187,7 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5163
5187
|
r: "16",
|
|
5164
5188
|
cx: "16",
|
|
5165
5189
|
cy: "16",
|
|
5166
|
-
style:
|
|
5190
|
+
style: Y({ strokeDasharray: o.value })
|
|
5167
5191
|
}, null, 4),
|
|
5168
5192
|
i[1] || (i[1] = h("circle", {
|
|
5169
5193
|
class: "progress-circle__chart-mask",
|
|
@@ -5173,13 +5197,13 @@ const Yh = /* @__PURE__ */ L(gr, [["render", vr]]), yr = {
|
|
|
5173
5197
|
])),
|
|
5174
5198
|
!a.value && !e.noValue ? (u(), f("strong", Or, [
|
|
5175
5199
|
g(c.$slots, "value", { value: e.percentage }, () => [
|
|
5176
|
-
T(
|
|
5200
|
+
T(k(e.formatValue(e.percentage)), 1)
|
|
5177
5201
|
])
|
|
5178
5202
|
])) : p("", !0)
|
|
5179
5203
|
]),
|
|
5180
5204
|
a.value && !e.noValue ? (u(), f("strong", Ur, [
|
|
5181
5205
|
g(c.$slots, "value", { value: e.percentage }, () => [
|
|
5182
|
-
T(
|
|
5206
|
+
T(k(e.formatValue(e.percentage)), 1)
|
|
5183
5207
|
])
|
|
5184
5208
|
])) : p("", !0)
|
|
5185
5209
|
], 2));
|
|
@@ -5245,155 +5269,155 @@ function Qh(e, n = {}) {
|
|
|
5245
5269
|
countMode: d = "none",
|
|
5246
5270
|
// 'none', 'simple', 'intuitive'
|
|
5247
5271
|
urlSync: v
|
|
5248
|
-
} = n, y = (E) => E.sort((
|
|
5249
|
-
const P = i(
|
|
5272
|
+
} = n, y = (E) => E.sort((F, J) => {
|
|
5273
|
+
const P = i(F), z = i(J);
|
|
5250
5274
|
return P && z ? String(P).localeCompare(String(z)) : P ? -1 : z ? 1 : 0;
|
|
5251
5275
|
}), b = {
|
|
5252
5276
|
az: { text: "A-Z", sort: y },
|
|
5253
5277
|
za: { text: "Z-A", sort: (E) => y(E).reverse() }
|
|
5254
5278
|
};
|
|
5255
5279
|
function A(E) {
|
|
5256
|
-
return (E || []).map((
|
|
5257
|
-
...
|
|
5258
|
-
open:
|
|
5259
|
-
children:
|
|
5260
|
-
...
|
|
5261
|
-
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
|
|
5262
5286
|
})),
|
|
5263
5287
|
selectedCount: 0
|
|
5264
5288
|
}));
|
|
5265
5289
|
}
|
|
5266
|
-
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 = _(() => ({
|
|
5267
5291
|
...a ? {} : b,
|
|
5268
5292
|
...r
|
|
5269
|
-
})),
|
|
5270
|
-
const E = /* @__PURE__ */ new Map(),
|
|
5271
|
-
if (!
|
|
5272
|
-
const
|
|
5273
|
-
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]);
|
|
5274
5298
|
return [P.uid, z];
|
|
5275
5299
|
}));
|
|
5276
|
-
for (let P = 0; P <
|
|
5277
|
-
const z =
|
|
5278
|
-
for (const
|
|
5279
|
-
const N =
|
|
5280
|
-
for (const ce of
|
|
5281
|
-
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}`;
|
|
5282
5306
|
E.has(ue) || E.set(ue, /* @__PURE__ */ new Set()), E.get(ue).add(P);
|
|
5283
5307
|
}
|
|
5284
5308
|
}
|
|
5285
5309
|
}
|
|
5286
5310
|
return E;
|
|
5287
|
-
}),
|
|
5311
|
+
}), X = _(() => ({
|
|
5288
5312
|
shouldSort: !0,
|
|
5289
5313
|
keys: ["title", "label", "description", "author"],
|
|
5290
5314
|
...c
|
|
5291
|
-
})),
|
|
5315
|
+
})), Q = _(() => B.value?.length ? new cl(e.value, X.value).search(B.value).map((F) => F.item) : e.value), oe = _(() => {
|
|
5292
5316
|
const E = [];
|
|
5293
|
-
return C.value.forEach((
|
|
5294
|
-
const
|
|
5295
|
-
|
|
5317
|
+
return C.value.forEach((F) => {
|
|
5318
|
+
const J = F.children.filter((P) => P.selected);
|
|
5319
|
+
J.length > 0 && E.push({ ...F, children: J });
|
|
5296
5320
|
}), E;
|
|
5297
|
-
}), re =
|
|
5321
|
+
}), re = _(() => {
|
|
5298
5322
|
if (!oe.value.length)
|
|
5299
|
-
return
|
|
5300
|
-
const E =
|
|
5301
|
-
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)
|
|
5302
5326
|
return [];
|
|
5303
|
-
const
|
|
5304
|
-
for (const z of
|
|
5305
|
-
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]);
|
|
5306
5330
|
return P;
|
|
5307
|
-
}), Se =
|
|
5331
|
+
}), Se = _(() => {
|
|
5308
5332
|
const E = I.value[H.value]?.sort;
|
|
5309
5333
|
return typeof E != "function" ? re.value : E([...re.value]);
|
|
5310
5334
|
});
|
|
5311
|
-
function
|
|
5335
|
+
function Fe() {
|
|
5312
5336
|
C.value.forEach((E) => {
|
|
5313
|
-
E.children && E.children.forEach((
|
|
5337
|
+
E.children && E.children.forEach((F) => F.selected = !1), E.selectedCount = 0;
|
|
5314
5338
|
});
|
|
5315
5339
|
}
|
|
5316
|
-
function xt({ groupUid: E, facetUid:
|
|
5340
|
+
function xt({ groupUid: E, facetUid: F, selected: J }) {
|
|
5317
5341
|
const P = C.value.find((z) => z.uid === E);
|
|
5318
5342
|
if (P) {
|
|
5319
|
-
!P.multiple &&
|
|
5320
|
-
|
|
5343
|
+
!P.multiple && J && P.children.forEach((Z) => {
|
|
5344
|
+
Z.uid !== F && (Z.selected = !1);
|
|
5321
5345
|
});
|
|
5322
|
-
const z = P.children.find((
|
|
5323
|
-
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;
|
|
5324
5348
|
}
|
|
5325
5349
|
}
|
|
5326
|
-
if (te(
|
|
5327
|
-
const
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
}), C.value =
|
|
5331
|
-
}, { immediate: !0 }), te([oe,
|
|
5332
|
-
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)) {
|
|
5333
5357
|
if (d === "simple") {
|
|
5334
|
-
const z =
|
|
5335
|
-
if (z.size === 0 &&
|
|
5358
|
+
const z = M.value;
|
|
5359
|
+
if (z.size === 0 && Q.value.length > 0 && s?.length > 0)
|
|
5336
5360
|
return;
|
|
5337
|
-
const
|
|
5361
|
+
const Z = new Set(Q.value.map((D, N) => N));
|
|
5338
5362
|
C.value.forEach((D) => {
|
|
5339
|
-
const N = E.filter((ce) => ce.uid !== D.uid),
|
|
5363
|
+
const N = E.filter((ce) => ce.uid !== D.uid), G = it(N, z, Z);
|
|
5340
5364
|
D.children.forEach((ce) => {
|
|
5341
|
-
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]);
|
|
5342
5366
|
ce.count = me.size;
|
|
5343
5367
|
});
|
|
5344
5368
|
});
|
|
5345
5369
|
} else if (d === "intuitive") {
|
|
5346
|
-
const z =
|
|
5347
|
-
if (z.size === 0 &&
|
|
5370
|
+
const z = M.value;
|
|
5371
|
+
if (z.size === 0 && Q.value.length > 0 && s?.length > 0)
|
|
5348
5372
|
return;
|
|
5349
|
-
const
|
|
5373
|
+
const Z = new Set(Q.value.map((N, G) => G)), D = it(E, z, Z);
|
|
5350
5374
|
C.value.forEach((N) => {
|
|
5351
|
-
N.children.forEach((
|
|
5352
|
-
const ce = `${N.uid}:${
|
|
5353
|
-
if (
|
|
5375
|
+
N.children.forEach((G) => {
|
|
5376
|
+
const ce = `${N.uid}:${G.uid}`, ue = z.get(ce) || /* @__PURE__ */ new Set();
|
|
5377
|
+
if (G.selected)
|
|
5354
5378
|
if (N.multiple) {
|
|
5355
5379
|
const he = gt([D, ue]);
|
|
5356
|
-
|
|
5380
|
+
G.count = he.size;
|
|
5357
5381
|
} else
|
|
5358
|
-
|
|
5382
|
+
G.count = D.size;
|
|
5359
5383
|
else {
|
|
5360
5384
|
const he = [];
|
|
5361
5385
|
for (const rt of E)
|
|
5362
5386
|
he.push({ ...rt, children: [...rt.children] });
|
|
5363
5387
|
let me = he.find((rt) => rt.uid === N.uid);
|
|
5364
|
-
me || (me = { ...N, children: [] }, he.push(me)), N.multiple ? me.children.push(
|
|
5365
|
-
const Us = it(he, z,
|
|
5366
|
-
|
|
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;
|
|
5367
5391
|
}
|
|
5368
5392
|
});
|
|
5369
5393
|
});
|
|
5370
5394
|
}
|
|
5371
5395
|
}
|
|
5372
5396
|
}, { deep: !0, immediate: !0 }), v?.router && v?.route) {
|
|
5373
|
-
const { router: E, route:
|
|
5374
|
-
if (!
|
|
5375
|
-
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 };
|
|
5376
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) => {
|
|
5377
|
-
N.children.length > 0 && (D[N.uid] = N.children.map((
|
|
5378
|
-
}), 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 });
|
|
5379
5403
|
}, z = () => {
|
|
5380
|
-
const D =
|
|
5404
|
+
const D = F.query;
|
|
5381
5405
|
D.sort && (H.value = D.sort), D.search && (B.value = D.search);
|
|
5382
5406
|
const N = /* @__PURE__ */ new Map();
|
|
5383
|
-
C.value.forEach((
|
|
5384
|
-
const ce = D[
|
|
5385
|
-
N.set(
|
|
5386
|
-
}), C.value.forEach((
|
|
5387
|
-
const ce = N.get(
|
|
5388
|
-
|
|
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) => {
|
|
5389
5413
|
const he = ue.selected, me = ce.has(ue.uid);
|
|
5390
|
-
he !== me && xt({ groupUid:
|
|
5414
|
+
he !== me && xt({ groupUid: G.uid, facetUid: ue.uid, selected: me });
|
|
5391
5415
|
});
|
|
5392
5416
|
});
|
|
5393
|
-
},
|
|
5394
|
-
C.value && C.value.length > 0 && (z(),
|
|
5417
|
+
}, Z = Ls(() => {
|
|
5418
|
+
C.value && C.value.length > 0 && (z(), Z());
|
|
5395
5419
|
});
|
|
5396
|
-
te([H, B, oe], P, { deep: !0 }), te(() =>
|
|
5420
|
+
te([H, B, oe], P, { deep: !0 }), te(() => F.query, z);
|
|
5397
5421
|
}
|
|
5398
5422
|
return {
|
|
5399
5423
|
facets: C,
|
|
@@ -5402,7 +5426,7 @@ function Qh(e, n = {}) {
|
|
|
5402
5426
|
sortTypes: I,
|
|
5403
5427
|
displayItems: Se,
|
|
5404
5428
|
selectedFacets: oe,
|
|
5405
|
-
clearFilters:
|
|
5429
|
+
clearFilters: Fe,
|
|
5406
5430
|
handleFacetChange: xt
|
|
5407
5431
|
};
|
|
5408
5432
|
}
|
|
@@ -5449,7 +5473,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5449
5473
|
},
|
|
5450
5474
|
emits: ["facet-change", "clear-filters"],
|
|
5451
5475
|
setup(e, { emit: n }) {
|
|
5452
|
-
const t = e, s = n, l =
|
|
5476
|
+
const t = e, s = n, l = _(() => {
|
|
5453
5477
|
const r = [];
|
|
5454
5478
|
return t.selectedFacets.forEach((c) => {
|
|
5455
5479
|
c.children.forEach((i) => {
|
|
@@ -5474,7 +5498,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5474
5498
|
key: 0,
|
|
5475
5499
|
class: m(["facets-active", e.classes.container])
|
|
5476
5500
|
}, [
|
|
5477
|
-
(u(),
|
|
5501
|
+
(u(), w(j(e.labelElement), {
|
|
5478
5502
|
class: m(["facets-active__label", e.classes.label])
|
|
5479
5503
|
}, {
|
|
5480
5504
|
default: $(() => [
|
|
@@ -5500,7 +5524,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5500
5524
|
class: m(e.classes.filterButtonText)
|
|
5501
5525
|
}, [
|
|
5502
5526
|
c[1] || (c[1] = h("span", { class: "hidden-visually" }, "Remove Active Filter:", -1)),
|
|
5503
|
-
T(" " +
|
|
5527
|
+
T(" " + k(i.label), 1)
|
|
5504
5528
|
], 2),
|
|
5505
5529
|
h("span", {
|
|
5506
5530
|
class: m(e.classes.filterButtonIcon)
|
|
@@ -5531,7 +5555,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5531
5555
|
},
|
|
5532
5556
|
emits: ["facet-change"],
|
|
5533
5557
|
setup(e, { emit: n }) {
|
|
5534
|
-
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);
|
|
5535
5559
|
function o(a) {
|
|
5536
5560
|
if (t.type === "radio") {
|
|
5537
5561
|
const r = a;
|
|
@@ -5555,7 +5579,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5555
5579
|
});
|
|
5556
5580
|
}
|
|
5557
5581
|
}
|
|
5558
|
-
return (a, r) => (u(),
|
|
5582
|
+
return (a, r) => (u(), w(us, {
|
|
5559
5583
|
class: "facets-list",
|
|
5560
5584
|
legend: e.groupUid,
|
|
5561
5585
|
type: e.type,
|
|
@@ -5565,8 +5589,8 @@ const Er = ["onClick"], Zh = {
|
|
|
5565
5589
|
"onUpdate:modelValue": o
|
|
5566
5590
|
}, {
|
|
5567
5591
|
default: $(({ option: c }) => [
|
|
5568
|
-
T(
|
|
5569
|
-
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)
|
|
5570
5594
|
]),
|
|
5571
5595
|
_: 1
|
|
5572
5596
|
}, 8, ["legend", "type", "options", "compact", "model-value"]));
|
|
@@ -5604,7 +5628,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5604
5628
|
setup(e, { emit: n }) {
|
|
5605
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 || "";
|
|
5606
5630
|
return (l, o) => (u(), f("div", Ir, [
|
|
5607
|
-
(u(!0), f(U, null, R(e.facets, (a) => (u(),
|
|
5631
|
+
(u(!0), f(U, null, R(e.facets, (a) => (u(), w(Nt, {
|
|
5608
5632
|
key: a.uid,
|
|
5609
5633
|
classes: {
|
|
5610
5634
|
container: ["facets-filters__group", e.classes.group],
|
|
@@ -5620,7 +5644,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5620
5644
|
group: a,
|
|
5621
5645
|
isOpen: r
|
|
5622
5646
|
}, () => [
|
|
5623
|
-
T(
|
|
5647
|
+
T(k(a.name), 1)
|
|
5624
5648
|
])
|
|
5625
5649
|
]),
|
|
5626
5650
|
default: $(() => [
|
|
@@ -5633,12 +5657,12 @@ const Er = ["onClick"], Zh = {
|
|
|
5633
5657
|
"model-value": s(a),
|
|
5634
5658
|
onFacetChange: o[0] || (o[0] = (r) => t("facet-change", r))
|
|
5635
5659
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5636
|
-
a.children.length > e.maxVisible ? (u(),
|
|
5660
|
+
a.children.length > e.maxVisible ? (u(), w(Nt, {
|
|
5637
5661
|
key: 0,
|
|
5638
5662
|
class: m(["facets-filters__more-facets", e.classes.moreFacets])
|
|
5639
5663
|
}, {
|
|
5640
5664
|
trigger: $(({ isOpen: r }) => [
|
|
5641
|
-
T(
|
|
5665
|
+
T(k(r ? "View Less" : "Show More"), 1)
|
|
5642
5666
|
]),
|
|
5643
5667
|
default: $(() => [
|
|
5644
5668
|
x(vt, {
|
|
@@ -5695,7 +5719,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5695
5719
|
setup(e, { emit: n }) {
|
|
5696
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 || "";
|
|
5697
5721
|
return (l, o) => (u(), f("div", jr, [
|
|
5698
|
-
(u(!0), f(U, null, R(e.facets, (a) => (u(),
|
|
5722
|
+
(u(!0), f(U, null, R(e.facets, (a) => (u(), w(Wt, {
|
|
5699
5723
|
key: a.uid,
|
|
5700
5724
|
modifiers: e.accordionModifiers,
|
|
5701
5725
|
startOpen: a.open
|
|
@@ -5705,7 +5729,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5705
5729
|
group: a,
|
|
5706
5730
|
isOpen: r
|
|
5707
5731
|
}, () => [
|
|
5708
|
-
T(
|
|
5732
|
+
T(k(a.name), 1)
|
|
5709
5733
|
])
|
|
5710
5734
|
]),
|
|
5711
5735
|
default: $(() => [
|
|
@@ -5718,13 +5742,13 @@ const Er = ["onClick"], Zh = {
|
|
|
5718
5742
|
"model-value": s(a),
|
|
5719
5743
|
onFacetChange: o[0] || (o[0] = (r) => t("facet-change", r))
|
|
5720
5744
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5721
|
-
a.children.length > e.maxVisible ? (u(),
|
|
5745
|
+
a.children.length > e.maxVisible ? (u(), w(Wt, {
|
|
5722
5746
|
key: 0,
|
|
5723
5747
|
class: m(["facets-filters__more-facets", e.classes.moreFacets]),
|
|
5724
5748
|
modifiers: e.accordionModifiers
|
|
5725
5749
|
}, {
|
|
5726
5750
|
trigger: $(({ isOpen: r }) => [
|
|
5727
|
-
T(
|
|
5751
|
+
T(k(r ? "View Less" : "Show More"), 1)
|
|
5728
5752
|
]),
|
|
5729
5753
|
default: $(() => [
|
|
5730
5754
|
x(vt, {
|
|
@@ -5820,8 +5844,8 @@ const Er = ["onClick"], Zh = {
|
|
|
5820
5844
|
label: o(i)
|
|
5821
5845
|
}, () => [
|
|
5822
5846
|
h("span", null, [
|
|
5823
|
-
T(
|
|
5824
|
-
h("strong", null,
|
|
5847
|
+
T(k(i.name) + ": ", 1),
|
|
5848
|
+
h("strong", null, k(o(i)), 1)
|
|
5825
5849
|
])
|
|
5826
5850
|
]),
|
|
5827
5851
|
x(q, {
|
|
@@ -5844,7 +5868,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5844
5868
|
], 2))), 128))
|
|
5845
5869
|
], 2));
|
|
5846
5870
|
}
|
|
5847
|
-
},
|
|
5871
|
+
}, Fr = ["for"], Mr = ["id", "onChange"], Pr = { value: "" }, zr = ["value", "selected"], sm = {
|
|
5848
5872
|
__name: "UluFacetsFilterSelects",
|
|
5849
5873
|
props: {
|
|
5850
5874
|
/**
|
|
@@ -5889,9 +5913,9 @@ const Er = ["onClick"], Zh = {
|
|
|
5889
5913
|
class: m(["facets-dropdown-filters__label", e.classes.label])
|
|
5890
5914
|
}, [
|
|
5891
5915
|
g(o.$slots, "label", {}, () => [
|
|
5892
|
-
T(
|
|
5916
|
+
T(k(r.name), 1)
|
|
5893
5917
|
])
|
|
5894
|
-
], 10,
|
|
5918
|
+
], 10, Fr),
|
|
5895
5919
|
h("select", {
|
|
5896
5920
|
id: `facet-dropdown-${r.uid}`,
|
|
5897
5921
|
class: m(["facets-dropdown-filters__select", e.classes.select]),
|
|
@@ -5899,7 +5923,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5899
5923
|
}, [
|
|
5900
5924
|
h("option", Pr, [
|
|
5901
5925
|
g(o.$slots, "optionAll", { group: r }, () => [
|
|
5902
|
-
T(" All " +
|
|
5926
|
+
T(" All " + k(r.name) + "s ", 1)
|
|
5903
5927
|
])
|
|
5904
5928
|
]),
|
|
5905
5929
|
(u(!0), f(U, null, R(r.children, (c, i) => (u(), f("option", {
|
|
@@ -5912,10 +5936,10 @@ const Er = ["onClick"], Zh = {
|
|
|
5912
5936
|
option: c,
|
|
5913
5937
|
index: i
|
|
5914
5938
|
}, () => [
|
|
5915
|
-
T(
|
|
5939
|
+
T(k(c.label), 1)
|
|
5916
5940
|
])
|
|
5917
5941
|
], 8, zr))), 128))
|
|
5918
|
-
], 42,
|
|
5942
|
+
], 42, Mr)
|
|
5919
5943
|
], 2))), 128))
|
|
5920
5944
|
], 2));
|
|
5921
5945
|
}
|
|
@@ -5956,7 +5980,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5956
5980
|
},
|
|
5957
5981
|
setup(e) {
|
|
5958
5982
|
return (n, t) => (u(), f("div", Nr, [
|
|
5959
|
-
e.items.length ? (u(),
|
|
5983
|
+
e.items.length ? (u(), w(qn, {
|
|
5960
5984
|
key: 0,
|
|
5961
5985
|
tag: e.tag,
|
|
5962
5986
|
name: e.transitionName,
|
|
@@ -5996,7 +6020,7 @@ const Er = ["onClick"], Zh = {
|
|
|
5996
6020
|
},
|
|
5997
6021
|
emits: ["update:modelValue"],
|
|
5998
6022
|
setup(e, { emit: n }) {
|
|
5999
|
-
const t = e, s = n, l = se("facet-view-keyword"), o =
|
|
6023
|
+
const t = e, s = n, l = se("facet-view-keyword"), o = _({
|
|
6000
6024
|
get() {
|
|
6001
6025
|
return t.modelValue;
|
|
6002
6026
|
},
|
|
@@ -6009,12 +6033,12 @@ const Er = ["onClick"], Zh = {
|
|
|
6009
6033
|
}, [
|
|
6010
6034
|
h("label", {
|
|
6011
6035
|
class: m(e.classes.label),
|
|
6012
|
-
for:
|
|
6036
|
+
for: S(l)
|
|
6013
6037
|
}, [...r[1] || (r[1] = [
|
|
6014
6038
|
h("strong", null, "Search", -1)
|
|
6015
6039
|
])], 10, Dr),
|
|
6016
6040
|
ze(h("input", {
|
|
6017
|
-
id:
|
|
6041
|
+
id: S(l),
|
|
6018
6042
|
class: m(e.classes.input),
|
|
6019
6043
|
"onUpdate:modelValue": r[0] || (r[0] = (c) => o.value = c),
|
|
6020
6044
|
type: "text",
|
|
@@ -6044,9 +6068,9 @@ const Er = ["onClick"], Zh = {
|
|
|
6044
6068
|
}
|
|
6045
6069
|
},
|
|
6046
6070
|
setup(e) {
|
|
6047
|
-
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);
|
|
6048
6072
|
return (a, r) => (u(), f("div", {
|
|
6049
|
-
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden":
|
|
6073
|
+
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": S(t) }])
|
|
6050
6074
|
}, [
|
|
6051
6075
|
h("div", Xr, [
|
|
6052
6076
|
g(a.$slots, "header")
|
|
@@ -6055,9 +6079,9 @@ const Er = ["onClick"], Zh = {
|
|
|
6055
6079
|
h("button", {
|
|
6056
6080
|
class: m(e.classes.mobileButton),
|
|
6057
6081
|
onClick: r[0] || (r[0] = (c) => n.value = !0)
|
|
6058
|
-
},
|
|
6082
|
+
}, k(e.mobileButtonText), 3)
|
|
6059
6083
|
], 512), [
|
|
6060
|
-
[zt,
|
|
6084
|
+
[zt, S(t)]
|
|
6061
6085
|
]),
|
|
6062
6086
|
h("div", Yr, [
|
|
6063
6087
|
ze(h("div", {
|
|
@@ -6065,13 +6089,13 @@ const Er = ["onClick"], Zh = {
|
|
|
6065
6089
|
ref_key: "desktopTarget",
|
|
6066
6090
|
ref: s
|
|
6067
6091
|
}, null, 512), [
|
|
6068
|
-
[zt, !
|
|
6092
|
+
[zt, !S(t)]
|
|
6069
6093
|
]),
|
|
6070
6094
|
h("div", Kr, [
|
|
6071
6095
|
g(a.$slots, "main")
|
|
6072
6096
|
])
|
|
6073
6097
|
]),
|
|
6074
|
-
|
|
6098
|
+
S(t) ? (u(), w(Jn, {
|
|
6075
6099
|
key: 0,
|
|
6076
6100
|
modelValue: n.value,
|
|
6077
6101
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => n.value = c),
|
|
@@ -6088,7 +6112,7 @@ const Er = ["onClick"], Zh = {
|
|
|
6088
6112
|
]),
|
|
6089
6113
|
_: 1
|
|
6090
6114
|
}, 8, ["modelValue"])) : p("", !0),
|
|
6091
|
-
o.value ? (u(),
|
|
6115
|
+
o.value ? (u(), w(yt, {
|
|
6092
6116
|
key: 1,
|
|
6093
6117
|
to: o.value
|
|
6094
6118
|
}, [
|
|
@@ -6119,7 +6143,7 @@ const Er = ["onClick"], Zh = {
|
|
|
6119
6143
|
class: m(["facets-sort", e.classes.container])
|
|
6120
6144
|
}, [
|
|
6121
6145
|
h("label", {
|
|
6122
|
-
for:
|
|
6146
|
+
for: S(s),
|
|
6123
6147
|
class: m(e.classes.label)
|
|
6124
6148
|
}, [
|
|
6125
6149
|
g(l.$slots, "default", {}, () => [
|
|
@@ -6129,13 +6153,13 @@ const Er = ["onClick"], Zh = {
|
|
|
6129
6153
|
h("select", {
|
|
6130
6154
|
value: e.modelValue,
|
|
6131
6155
|
onChange: o[0] || (o[0] = (a) => t("update:modelValue", a.target.value)),
|
|
6132
|
-
id:
|
|
6156
|
+
id: S(s),
|
|
6133
6157
|
class: m(e.classes.select)
|
|
6134
6158
|
}, [
|
|
6135
6159
|
(u(!0), f(U, null, R(e.sortTypes, (a, r) => (u(), f("option", {
|
|
6136
6160
|
value: r,
|
|
6137
6161
|
key: r
|
|
6138
|
-
},
|
|
6162
|
+
}, k(a.text), 9, Zr))), 128))
|
|
6139
6163
|
], 42, Qr)
|
|
6140
6164
|
], 2));
|
|
6141
6165
|
}
|
|
@@ -6145,40 +6169,40 @@ function ei({ sections: e, props: n, emit: t, componentElRef: s }) {
|
|
|
6145
6169
|
function o(d) {
|
|
6146
6170
|
return e.value.findIndex(({ element: v }) => d === v);
|
|
6147
6171
|
}
|
|
6148
|
-
function a(d = null) {
|
|
6149
|
-
e.value.forEach((
|
|
6150
|
-
|
|
6172
|
+
function a(d = null, v = "down") {
|
|
6173
|
+
e.value.forEach((y) => {
|
|
6174
|
+
y !== d && (y.active && (y.inactiveFrom = v === "down" ? "above" : "below", y.activeFrom = null), y.active = !1);
|
|
6151
6175
|
});
|
|
6152
6176
|
}
|
|
6153
6177
|
function r() {
|
|
6154
6178
|
let d = 0, v = !0;
|
|
6155
6179
|
const y = (C) => {
|
|
6156
6180
|
const { root: B } = l, H = B ? B.scrollTop : document.documentElement.scrollTop || window.scrollY;
|
|
6157
|
-
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) {
|
|
6158
6182
|
n.debug && console.log("Initial observation, respecting `firstItemActive`."), v = !1, d = H, n.debug && console.groupEnd();
|
|
6159
6183
|
return;
|
|
6160
6184
|
}
|
|
6161
6185
|
v = !1;
|
|
6162
|
-
const
|
|
6163
|
-
d = H, n.debug && console.log(`Scroll direction: ${
|
|
6164
|
-
const I = C.filter((
|
|
6165
|
-
if (n.debug && console.log("Intersecting entries:", I.map((
|
|
6166
|
-
I.sort((
|
|
6167
|
-
const
|
|
6168
|
-
n.debug && console.log("Chosen target entry:",
|
|
6169
|
-
const
|
|
6170
|
-
|
|
6171
|
-
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" ? "below" : "above", t("section-change", { section: X, sections: e.value, active: !0 });
|
|
6172
6196
|
}));
|
|
6173
6197
|
} else {
|
|
6174
6198
|
n.debug && console.log("No intersecting entries. Checking edge cases.");
|
|
6175
|
-
const
|
|
6176
|
-
if (
|
|
6177
|
-
const
|
|
6178
|
-
if (
|
|
6179
|
-
const
|
|
6180
|
-
(oe &&
|
|
6181
|
-
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 });
|
|
6182
6206
|
}));
|
|
6183
6207
|
}
|
|
6184
6208
|
}
|
|
@@ -6216,13 +6240,15 @@ function ei({ sections: e, props: n, emit: t, componentElRef: s }) {
|
|
|
6216
6240
|
});
|
|
6217
6241
|
}
|
|
6218
6242
|
function ds(e) {
|
|
6219
|
-
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({
|
|
6220
6244
|
id: Symbol("section-id"),
|
|
6221
6245
|
title: e.title,
|
|
6222
6246
|
titleId: o.value,
|
|
6223
6247
|
element: null,
|
|
6224
6248
|
// will be set on mount
|
|
6225
|
-
active: !1
|
|
6249
|
+
active: !1,
|
|
6250
|
+
inactiveFrom: null,
|
|
6251
|
+
activeFrom: null
|
|
6226
6252
|
});
|
|
6227
6253
|
return te(() => e.title, (r) => {
|
|
6228
6254
|
a.title = r, a.titleId = e.customTitleId || l(r);
|
|
@@ -6236,7 +6262,9 @@ function ds(e) {
|
|
|
6236
6262
|
sectionRef: n,
|
|
6237
6263
|
// the ref for the user to attach
|
|
6238
6264
|
titleId: o,
|
|
6239
|
-
isActive:
|
|
6265
|
+
isActive: _(() => a.active),
|
|
6266
|
+
inactiveFrom: _(() => a.inactiveFrom),
|
|
6267
|
+
activeFrom: _(() => a.activeFrom),
|
|
6240
6268
|
section: a
|
|
6241
6269
|
};
|
|
6242
6270
|
}
|
|
@@ -6272,7 +6300,7 @@ const cm = {
|
|
|
6272
6300
|
emits: ["section-change"],
|
|
6273
6301
|
setup(e, { emit: n }) {
|
|
6274
6302
|
const t = e, s = n, l = O([]), o = O(null);
|
|
6275
|
-
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) => {
|
|
6276
6304
|
l.value.push(a);
|
|
6277
6305
|
}), Bt("uluScrollAnchorsUnregister", (a) => {
|
|
6278
6306
|
const r = l.value.findIndex((c) => c.id === a);
|
|
@@ -6298,13 +6326,13 @@ const cm = {
|
|
|
6298
6326
|
},
|
|
6299
6327
|
setup(e) {
|
|
6300
6328
|
const n = fs();
|
|
6301
|
-
return (t, s) =>
|
|
6329
|
+
return (t, s) => S(n) && S(n).length ? (u(), w(j(e.element), {
|
|
6302
6330
|
key: 0,
|
|
6303
6331
|
class: "scroll-anchors__nav"
|
|
6304
6332
|
}, {
|
|
6305
6333
|
default: $(() => [
|
|
6306
6334
|
h("ul", null, [
|
|
6307
|
-
(u(!0), f(U, null, R(
|
|
6335
|
+
(u(!0), f(U, null, R(S(n), (l, o) => (u(), f("li", {
|
|
6308
6336
|
key: o,
|
|
6309
6337
|
class: m({ "is-active": l.active })
|
|
6310
6338
|
}, [
|
|
@@ -6316,7 +6344,7 @@ const cm = {
|
|
|
6316
6344
|
item: l,
|
|
6317
6345
|
index: o
|
|
6318
6346
|
}, () => [
|
|
6319
|
-
T(
|
|
6347
|
+
T(k(l.title), 1)
|
|
6320
6348
|
])
|
|
6321
6349
|
], 10, ti)
|
|
6322
6350
|
], 2))), 128))
|
|
@@ -6373,7 +6401,7 @@ const cm = {
|
|
|
6373
6401
|
}
|
|
6374
6402
|
},
|
|
6375
6403
|
setup(e) {
|
|
6376
|
-
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 = _(() => {
|
|
6377
6405
|
if (!t || !t.value || !t.value.length)
|
|
6378
6406
|
return !1;
|
|
6379
6407
|
const c = t.value.findIndex((B) => B.active);
|
|
@@ -6393,14 +6421,14 @@ const cm = {
|
|
|
6393
6421
|
function r(c, i) {
|
|
6394
6422
|
i && (s.value[c] = i);
|
|
6395
6423
|
}
|
|
6396
|
-
return (c, i) =>
|
|
6424
|
+
return (c, i) => S(t) && S(t).length ? (u(), w(j(e.element), {
|
|
6397
6425
|
key: 0,
|
|
6398
6426
|
class: "scroll-anchors__nav scroll-anchors__nav--animated scroll-anchors-nav-animated",
|
|
6399
|
-
style:
|
|
6427
|
+
style: Y({ "--ulu-sa-nav-rail-width": `${e.railWidth}px` })
|
|
6400
6428
|
}, {
|
|
6401
6429
|
default: $(() => [
|
|
6402
6430
|
h("ul", ni, [
|
|
6403
|
-
(u(!0), f(U, null, R(
|
|
6431
|
+
(u(!0), f(U, null, R(S(t), (d, v) => (u(), f("li", {
|
|
6404
6432
|
key: v,
|
|
6405
6433
|
class: m({ "is-active": d.active })
|
|
6406
6434
|
}, [
|
|
@@ -6414,7 +6442,7 @@ const cm = {
|
|
|
6414
6442
|
item: d,
|
|
6415
6443
|
index: v
|
|
6416
6444
|
}, () => [
|
|
6417
|
-
T(
|
|
6445
|
+
T(k(d.title), 1)
|
|
6418
6446
|
])
|
|
6419
6447
|
], 10, si)
|
|
6420
6448
|
], 2))), 128))
|
|
@@ -6425,7 +6453,7 @@ const cm = {
|
|
|
6425
6453
|
}]),
|
|
6426
6454
|
ref_key: "indicator",
|
|
6427
6455
|
ref: o,
|
|
6428
|
-
style:
|
|
6456
|
+
style: Y({
|
|
6429
6457
|
opacity: a.value ? "1" : "0",
|
|
6430
6458
|
transform: `translateY(${a.value ? a.value.y : 0}px)`,
|
|
6431
6459
|
height: `${a.value ? a.value.height : 0}px`,
|
|
@@ -6484,28 +6512,34 @@ const cm = {
|
|
|
6484
6512
|
}
|
|
6485
6513
|
},
|
|
6486
6514
|
setup(e) {
|
|
6487
|
-
const n = e, { sectionRef: t, titleId: s, isActive: l,
|
|
6488
|
-
|
|
6489
|
-
|
|
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,
|
|
6490
6524
|
ref_key: "sectionRef",
|
|
6491
6525
|
ref: t
|
|
6492
6526
|
}, {
|
|
6493
6527
|
default: $(() => [
|
|
6494
|
-
(u(),
|
|
6528
|
+
(u(), w(j(e.titleElement), {
|
|
6495
6529
|
class: m(e.titleClass),
|
|
6496
|
-
id:
|
|
6530
|
+
id: S(s)
|
|
6497
6531
|
}, {
|
|
6498
6532
|
default: $(() => [
|
|
6499
|
-
g(
|
|
6500
|
-
T(
|
|
6533
|
+
g(i.$slots, "title", {}, () => [
|
|
6534
|
+
T(k(e.title), 1)
|
|
6501
6535
|
])
|
|
6502
6536
|
]),
|
|
6503
6537
|
_: 3
|
|
6504
6538
|
}, 8, ["class", "id"])),
|
|
6505
|
-
g(
|
|
6539
|
+
g(i.$slots, "default", { section: S(r) })
|
|
6506
6540
|
]),
|
|
6507
6541
|
_: 3
|
|
6508
|
-
}, 8, ["class"]));
|
|
6542
|
+
}, 8, ["class", "data-scrollpoint-state"]));
|
|
6509
6543
|
}
|
|
6510
6544
|
}, hm = {
|
|
6511
6545
|
__name: "UluScrollAnchorsHeadlessSection",
|
|
@@ -6522,7 +6556,7 @@ const cm = {
|
|
|
6522
6556
|
*/
|
|
6523
6557
|
customTitleId: String,
|
|
6524
6558
|
/**
|
|
6525
|
-
* Element to use
|
|
6559
|
+
* Element to use
|
|
6526
6560
|
*/
|
|
6527
6561
|
element: {
|
|
6528
6562
|
type: String,
|
|
@@ -6530,21 +6564,33 @@ const cm = {
|
|
|
6530
6564
|
}
|
|
6531
6565
|
},
|
|
6532
6566
|
setup(e) {
|
|
6533
|
-
const n = e, { sectionRef: t, titleId: s, isActive: l,
|
|
6534
|
-
|
|
6535
|
-
|
|
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,
|
|
6536
6579
|
ref_key: "sectionRef",
|
|
6537
6580
|
ref: t
|
|
6538
6581
|
}, {
|
|
6539
6582
|
default: $(() => [
|
|
6540
|
-
g(
|
|
6541
|
-
isActive:
|
|
6542
|
-
titleId:
|
|
6543
|
-
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
|
|
6544
6590
|
})
|
|
6545
6591
|
]),
|
|
6546
6592
|
_: 3
|
|
6547
|
-
}, 8, ["class"]));
|
|
6593
|
+
}, 8, ["class", "data-scrollpoint-state"]));
|
|
6548
6594
|
}
|
|
6549
6595
|
}, li = {
|
|
6550
6596
|
__name: "UluSkeletonText",
|
|
@@ -6580,7 +6626,7 @@ const cm = {
|
|
|
6580
6626
|
when: Boolean
|
|
6581
6627
|
},
|
|
6582
6628
|
setup(e) {
|
|
6583
|
-
return (n, t) => e.when ? (u(),
|
|
6629
|
+
return (n, t) => e.when ? (u(), w(li, {
|
|
6584
6630
|
key: 1,
|
|
6585
6631
|
inline: ""
|
|
6586
6632
|
})) : g(n.$slots, "default", { key: 0 });
|
|
@@ -6597,7 +6643,7 @@ const cm = {
|
|
|
6597
6643
|
}
|
|
6598
6644
|
},
|
|
6599
6645
|
setup(e) {
|
|
6600
|
-
const n = e, t =
|
|
6646
|
+
const n = e, t = _(() => dl(n.lines, () => {
|
|
6601
6647
|
const l = ft(70, 100);
|
|
6602
6648
|
let o = 0;
|
|
6603
6649
|
const a = () => {
|
|
@@ -6616,7 +6662,7 @@ const cm = {
|
|
|
6616
6662
|
(u(!0), f(U, null, R(o, (r) => (u(), f("span", {
|
|
6617
6663
|
key: r,
|
|
6618
6664
|
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": r.alt }]),
|
|
6619
|
-
style:
|
|
6665
|
+
style: Y({ width: `${r.width}%` })
|
|
6620
6666
|
}, null, 6))), 128))
|
|
6621
6667
|
]))), 128))
|
|
6622
6668
|
]));
|
|
@@ -6838,7 +6884,7 @@ const cm = {
|
|
|
6838
6884
|
ref: "nav"
|
|
6839
6885
|
}, pi = ["onClick"], bi = { class: "hidden-visually" };
|
|
6840
6886
|
function _i(e, n, t, s, l, o) {
|
|
6841
|
-
const a =
|
|
6887
|
+
const a = ee("UluIcon");
|
|
6842
6888
|
return u(), f("div", ri, [
|
|
6843
6889
|
h("div", ii, [
|
|
6844
6890
|
h("div", ci, [
|
|
@@ -6906,7 +6952,7 @@ function _i(e, n, t, s, l, o) {
|
|
|
6906
6952
|
index: c,
|
|
6907
6953
|
active: r.active
|
|
6908
6954
|
}, () => [
|
|
6909
|
-
h("span", bi, "Item " +
|
|
6955
|
+
h("span", bi, "Item " + k(c + 1), 1)
|
|
6910
6956
|
])
|
|
6911
6957
|
], 10, pi)
|
|
6912
6958
|
], 2))), 128))
|
|
@@ -6944,8 +6990,8 @@ const wi = /* @__PURE__ */ L(ai, [["render", _i]]), Si = {
|
|
|
6944
6990
|
}
|
|
6945
6991
|
}, ki = ["src", "alt"], $i = { class: "slideshow__image-actions" }, Ci = ["src", "alt"];
|
|
6946
6992
|
function Ti(e, n, t, s, l, o) {
|
|
6947
|
-
const a =
|
|
6948
|
-
return u(),
|
|
6993
|
+
const a = ee("AppButton"), r = ee("UluSlideShow");
|
|
6994
|
+
return u(), w(r, {
|
|
6949
6995
|
class: "slideshow--images",
|
|
6950
6996
|
items: t.images,
|
|
6951
6997
|
onSlideChange: o.slideChange
|
|
@@ -6956,7 +7002,7 @@ function Ti(e, n, t, s, l, o) {
|
|
|
6956
7002
|
alt: c.alt
|
|
6957
7003
|
}, null, 8, ki),
|
|
6958
7004
|
h("div", $i, [
|
|
6959
|
-
t.selectButton ? (u(),
|
|
7005
|
+
t.selectButton ? (u(), w(a, {
|
|
6960
7006
|
key: 0,
|
|
6961
7007
|
class: "type-small",
|
|
6962
7008
|
icon: "plus",
|
|
@@ -7022,17 +7068,17 @@ function Ei(e, n, t, s, l, o) {
|
|
|
7022
7068
|
key: `br-${r}`,
|
|
7023
7069
|
id: t.optionalAttr(t.isActual && a.id),
|
|
7024
7070
|
class: m(t.resolveClasses(t.classes.row, { row: a.data, rowIndex: r, isActual: t.isActual, foot: t.foot })),
|
|
7025
|
-
style:
|
|
7071
|
+
style: Y({
|
|
7026
7072
|
height: a.height
|
|
7027
7073
|
})
|
|
7028
7074
|
}, [
|
|
7029
|
-
(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"), {
|
|
7030
7076
|
id: t.optionalAttr(t.isActual && c.rowHeader && c.getRowHeaderId(r)),
|
|
7031
7077
|
scope: t.optionalAttr(t.isActual && c.rowHeader && "row"),
|
|
7032
7078
|
key: `bc-${i}`,
|
|
7033
7079
|
headers: t.optionalAttr(t.isActual && t.getCellHeaders(c, r)),
|
|
7034
7080
|
class: m(t.resolveClasses(c.class, { column: c, index: i, isActual: t.isActual, row: a, rowIndex: r, foot: t.foot })),
|
|
7035
|
-
style:
|
|
7081
|
+
style: Y({
|
|
7036
7082
|
width: t.columnWidth
|
|
7037
7083
|
})
|
|
7038
7084
|
}, {
|
|
@@ -7049,7 +7095,7 @@ function Ei(e, n, t, s, l, o) {
|
|
|
7049
7095
|
key: 1,
|
|
7050
7096
|
innerHTML: t.value({ row: a, column: c, rowIndex: r, isActual: t.isActual, foot: t.foot })
|
|
7051
7097
|
}, null, 8, Bi)) : (u(), f(U, { key: 2 }, [
|
|
7052
|
-
T(
|
|
7098
|
+
T(k(t.value({ row: a, column: c, rowIndex: r, isActual: t.isActual, foot: t.foot })), 1)
|
|
7053
7099
|
], 64))
|
|
7054
7100
|
]),
|
|
7055
7101
|
_: 2
|
|
@@ -7139,26 +7185,26 @@ const Ri = /* @__PURE__ */ L(Ui, [["render", Ei]]), Ii = {
|
|
|
7139
7185
|
return n.join(" ");
|
|
7140
7186
|
}
|
|
7141
7187
|
}
|
|
7142
|
-
}, ji = ["aria-hidden"],
|
|
7188
|
+
}, ji = ["aria-hidden"], Fi = {
|
|
7143
7189
|
key: 0,
|
|
7144
7190
|
class: "table-sticky__caption"
|
|
7145
|
-
},
|
|
7191
|
+
}, Mi = ["id"], Pi = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], zi = ["innerHTML"], Li = {
|
|
7146
7192
|
class: "table-sticky__sort-icon",
|
|
7147
7193
|
"aria-hidden": "true"
|
|
7148
7194
|
}, Vi = { class: "table-sticky__sort-icon-inner" }, Hi = ["innerHTML"], Ni = { key: 1 }, Wi = { key: 2 };
|
|
7149
7195
|
function Di(e, n, t, s, l, o) {
|
|
7150
|
-
const a =
|
|
7196
|
+
const a = ee("UluTableStickyRows");
|
|
7151
7197
|
return u(), f("table", {
|
|
7152
7198
|
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
7153
7199
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
7154
7200
|
}, [
|
|
7155
|
-
t.caption ? (u(), f("caption",
|
|
7201
|
+
t.caption ? (u(), f("caption", Fi, k(t.caption), 1)) : p("", !0),
|
|
7156
7202
|
h("thead", null, [
|
|
7157
7203
|
(u(!0), f(U, null, R(t.headerRows, (r, c) => (u(), f("tr", {
|
|
7158
7204
|
key: `hr-${c}`,
|
|
7159
7205
|
id: o.optionalAttr(t.isActual && r.id),
|
|
7160
7206
|
class: m(t.resolveClasses(t.classes.rowHeader, { row: r, rowIndex: c, isActual: t.isActual })),
|
|
7161
|
-
style:
|
|
7207
|
+
style: Y({
|
|
7162
7208
|
height: r.height
|
|
7163
7209
|
})
|
|
7164
7210
|
}, [
|
|
@@ -7176,7 +7222,7 @@ function Di(e, n, t, s, l, o) {
|
|
|
7176
7222
|
},
|
|
7177
7223
|
t.resolveClasses(i.classHeader, { column: i, index: d, isActual: t.isActual })
|
|
7178
7224
|
]),
|
|
7179
|
-
style:
|
|
7225
|
+
style: Y({
|
|
7180
7226
|
width: i.width
|
|
7181
7227
|
}),
|
|
7182
7228
|
"aria-sort": i.sort ? i.sortAscending ? "ascending" : "descending" : null,
|
|
@@ -7185,7 +7231,7 @@ function Di(e, n, t, s, l, o) {
|
|
|
7185
7231
|
ref_for: !0,
|
|
7186
7232
|
ref: (v) => o.addHeaderRef(i, v)
|
|
7187
7233
|
}, [
|
|
7188
|
-
i.sortable ? (u(),
|
|
7234
|
+
i.sortable ? (u(), w(j(t.isActual ? "button" : "div"), {
|
|
7189
7235
|
key: 0,
|
|
7190
7236
|
class: m(["table-sticky__sort-button", {
|
|
7191
7237
|
"table-sticky__sort-button--focused": i.sortFocused
|
|
@@ -7205,7 +7251,7 @@ function Di(e, n, t, s, l, o) {
|
|
|
7205
7251
|
key: 1,
|
|
7206
7252
|
innerHTML: t.getColumnTitle({ column: i, index: d, isActual: t.isActual })
|
|
7207
7253
|
}, null, 8, zi)) : (u(), f(U, { key: 2 }, [
|
|
7208
|
-
T(
|
|
7254
|
+
T(k(t.getColumnTitle({ column: i, index: d, isActual: t.isActual })), 1)
|
|
7209
7255
|
], 64)),
|
|
7210
7256
|
h("span", Li, [
|
|
7211
7257
|
h("span", Vi, [
|
|
@@ -7226,11 +7272,11 @@ function Di(e, n, t, s, l, o) {
|
|
|
7226
7272
|
key: 1,
|
|
7227
7273
|
innerHTML: t.getColumnTitle({ column: i, index: d, isActual: t.isActual })
|
|
7228
7274
|
}, null, 8, Hi)) : (u(), f(U, { key: 2 }, [
|
|
7229
|
-
T(
|
|
7275
|
+
T(k(t.getColumnTitle({ column: i, index: d, isActual: t.isActual })), 1)
|
|
7230
7276
|
], 64))
|
|
7231
7277
|
], 64))
|
|
7232
7278
|
], 14, Pi))), 128))
|
|
7233
|
-
], 14,
|
|
7279
|
+
], 14, Mi))), 128))
|
|
7234
7280
|
]),
|
|
7235
7281
|
t.rows ? (u(), f("tbody", Ni, [
|
|
7236
7282
|
x(a, {
|
|
@@ -7362,8 +7408,8 @@ function vs(e) {
|
|
|
7362
7408
|
var n = ot(e);
|
|
7363
7409
|
return n == mc || n == gc || n == hc || n == vc;
|
|
7364
7410
|
}
|
|
7365
|
-
var
|
|
7366
|
-
var e = /[^.]+$/.exec(
|
|
7411
|
+
var Ft = ye["__core-js_shared__"], wn = function() {
|
|
7412
|
+
var e = /[^.]+$/.exec(Ft && Ft.keys && Ft.keys.IE_PROTO || "");
|
|
7367
7413
|
return e ? "Symbol(src)_1." + e : "";
|
|
7368
7414
|
}();
|
|
7369
7415
|
function yc(e) {
|
|
@@ -7416,10 +7462,10 @@ function Ic(e) {
|
|
|
7416
7462
|
}
|
|
7417
7463
|
return Rc.call(n, e) ? n[e] : void 0;
|
|
7418
7464
|
}
|
|
7419
|
-
var jc = Object.prototype,
|
|
7420
|
-
function
|
|
7465
|
+
var jc = Object.prototype, Fc = jc.hasOwnProperty;
|
|
7466
|
+
function Mc(e) {
|
|
7421
7467
|
var n = this.__data__;
|
|
7422
|
-
return st ? n[e] !== void 0 :
|
|
7468
|
+
return st ? n[e] !== void 0 : Fc.call(n, e);
|
|
7423
7469
|
}
|
|
7424
7470
|
var Pc = "__lodash_hash_undefined__";
|
|
7425
7471
|
function zc(e, n) {
|
|
@@ -7436,7 +7482,7 @@ function Be(e) {
|
|
|
7436
7482
|
Be.prototype.clear = Uc;
|
|
7437
7483
|
Be.prototype.delete = xc;
|
|
7438
7484
|
Be.prototype.get = Ic;
|
|
7439
|
-
Be.prototype.has =
|
|
7485
|
+
Be.prototype.has = Mc;
|
|
7440
7486
|
Be.prototype.set = zc;
|
|
7441
7487
|
function Lc() {
|
|
7442
7488
|
this.size = 0, this.__data__ = {
|
|
@@ -7564,15 +7610,15 @@ function un(e) {
|
|
|
7564
7610
|
return e(n);
|
|
7565
7611
|
};
|
|
7566
7612
|
}
|
|
7567
|
-
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() {
|
|
7568
7614
|
try {
|
|
7569
7615
|
var e = Je && Je.require && Je.require("util").types;
|
|
7570
|
-
return e ||
|
|
7616
|
+
return e || Mt && Mt.binding && Mt.binding("util");
|
|
7571
7617
|
} catch {
|
|
7572
7618
|
}
|
|
7573
|
-
}(), Tn = He && He.isTypedArray,
|
|
7619
|
+
}(), Tn = He && He.isTypedArray, Mu = Tn ? un(Tn) : ju, Pu = Object.prototype, zu = Pu.hasOwnProperty;
|
|
7574
7620
|
function Lu(e, n) {
|
|
7575
|
-
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;
|
|
7576
7622
|
for (var i in e)
|
|
7577
7623
|
zu.call(e, i) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7578
7624
|
(i == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -7676,15 +7722,15 @@ function vd(e) {
|
|
|
7676
7722
|
var n = new e.constructor(e.source, gd.exec(e));
|
|
7677
7723
|
return n.lastIndex = e.lastIndex, n;
|
|
7678
7724
|
}
|
|
7679
|
-
var
|
|
7725
|
+
var Fn = Ve ? Ve.prototype : void 0, Mn = Fn ? Fn.valueOf : void 0;
|
|
7680
7726
|
function yd(e) {
|
|
7681
|
-
return
|
|
7727
|
+
return Mn ? Object(Mn.call(e)) : {};
|
|
7682
7728
|
}
|
|
7683
7729
|
function pd(e, n) {
|
|
7684
7730
|
var t = dn(e.buffer);
|
|
7685
7731
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
7686
7732
|
}
|
|
7687
|
-
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]";
|
|
7688
7734
|
function Pd(e, n, t) {
|
|
7689
7735
|
var s = e.constructor;
|
|
7690
7736
|
switch (n) {
|
|
@@ -7702,8 +7748,8 @@ function Pd(e, n, t) {
|
|
|
7702
7748
|
case Rd:
|
|
7703
7749
|
case Id:
|
|
7704
7750
|
case jd:
|
|
7705
|
-
case Md:
|
|
7706
7751
|
case Fd:
|
|
7752
|
+
case Md:
|
|
7707
7753
|
return pd(e);
|
|
7708
7754
|
case wd:
|
|
7709
7755
|
return new s();
|
|
@@ -8198,7 +8244,7 @@ const _f = {
|
|
|
8198
8244
|
class: "table-sticky__display"
|
|
8199
8245
|
};
|
|
8200
8246
|
function Uf(e, n, t, s, l, o) {
|
|
8201
|
-
const a =
|
|
8247
|
+
const a = ee("UluTableStickyTable");
|
|
8202
8248
|
return u(), f("div", {
|
|
8203
8249
|
class: m(["table-sticky", {
|
|
8204
8250
|
"table-sticky--overflown-x": l.overflownX,
|
|
@@ -8217,7 +8263,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8217
8263
|
getColumnTitle: t.getColumnTitle,
|
|
8218
8264
|
idPrefix: t.idPrefix,
|
|
8219
8265
|
headerRows: l.headerRows,
|
|
8220
|
-
style:
|
|
8266
|
+
style: Y({
|
|
8221
8267
|
opacity: l.sizesCalculated ? "1" : "0",
|
|
8222
8268
|
pointerEvents: l.sizesCalculated ? "auto" : "none",
|
|
8223
8269
|
width: l.tableWidth
|
|
@@ -8234,7 +8280,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8234
8280
|
])
|
|
8235
8281
|
]),
|
|
8236
8282
|
h("div", kf, [
|
|
8237
|
-
t.firstColumnSticky ? (u(),
|
|
8283
|
+
t.firstColumnSticky ? (u(), w(a, {
|
|
8238
8284
|
key: 0,
|
|
8239
8285
|
ref: "firstColumnHeader",
|
|
8240
8286
|
class: "table-sticky__table table-sticky__table--first-column-header",
|
|
@@ -8244,7 +8290,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8244
8290
|
getColumnTitle: t.getColumnTitle,
|
|
8245
8291
|
idPrefix: t.idPrefix,
|
|
8246
8292
|
headerRows: o.headerRowsFirst,
|
|
8247
|
-
style:
|
|
8293
|
+
style: Y({
|
|
8248
8294
|
opacity: o.headerOpacityX,
|
|
8249
8295
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
8250
8296
|
}),
|
|
@@ -8269,7 +8315,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8269
8315
|
scrollRight: o.scrollRight,
|
|
8270
8316
|
canScrollLeft: l.canScrollLeft,
|
|
8271
8317
|
canScrollRight: l.canScrollRight
|
|
8272
|
-
}) : t.controlsComponent ? (u(),
|
|
8318
|
+
}) : t.controlsComponent ? (u(), w(j(t.controlsComponent), {
|
|
8273
8319
|
key: 1,
|
|
8274
8320
|
scrollLeft: o.scrollLeft,
|
|
8275
8321
|
scrollRight: o.scrollRight,
|
|
@@ -8329,7 +8375,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8329
8375
|
}))
|
|
8330
8376
|
]), 1032, ["classes", "resolveClasses", "headerRows", "rows", "footerRows", "rowColumns", "caption", "idPrefix", "getRowValue", "getColumnTitle", "onVnodeMounted", "onActualHeaderRemoved", "onActualHeaderAdded", "onColumnSorted"])
|
|
8331
8377
|
], 512),
|
|
8332
|
-
t.firstColumnSticky ? (u(),
|
|
8378
|
+
t.firstColumnSticky ? (u(), w(a, {
|
|
8333
8379
|
key: 0,
|
|
8334
8380
|
ref: "firstColumn",
|
|
8335
8381
|
class: "table-sticky__table table-sticky__table--first-column",
|
|
@@ -8344,7 +8390,7 @@ function Uf(e, n, t, s, l, o) {
|
|
|
8344
8390
|
idPrefix: t.idPrefix,
|
|
8345
8391
|
getRowValue: t.getRowValue,
|
|
8346
8392
|
getColumnTitle: t.getColumnTitle,
|
|
8347
|
-
style:
|
|
8393
|
+
style: Y({
|
|
8348
8394
|
opacity: o.headerOpacityX,
|
|
8349
8395
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
8350
8396
|
}),
|
|
@@ -8452,8 +8498,8 @@ export {
|
|
|
8452
8498
|
Ri as UluTableStickyRows,
|
|
8453
8499
|
qi as UluTableStickyTable,
|
|
8454
8500
|
os as UluTag,
|
|
8455
|
-
|
|
8456
|
-
|
|
8501
|
+
Fh as UluTitleRail,
|
|
8502
|
+
Mh as UluWhenBreakpoint,
|
|
8457
8503
|
Qf as breakpointsPlugin,
|
|
8458
8504
|
qf as corePlugin,
|
|
8459
8505
|
Kf as modalsPlugin,
|