@ulu/frontend-vue 0.1.1-beta.17 → 0.1.1-beta.18
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/{breakpoints-DGRU8UaH.js → breakpoints-DMo5a-Xm.js} +1 -1
- package/dist/frontend-vue.js +1 -1
- package/dist/{index-XmLnxPpm.js → index-CFgUxIw_.js} +261 -216
- package/lib/components/elements/UluDefinitionList.vue +55 -3
- package/lib/components/navigation/UluMenuStack.vue +2 -2
- package/package.json +3 -3
- package/types/components/elements/UluDefinitionList.vue.d.ts +18 -2
- package/types/components/elements/UluDefinitionList.vue.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as Kt, ref as j, computed as w, resolveDirective as Zn, createElementBlock as d, openBlock as u, Fragment as x, withDirectives as Oe, createElementVNode as h, unref as T, normalizeClass as m, renderSlot as g, createTextVNode as k, toDisplayString as y, withKeys as Jn, normalizeStyle as H, createCommentVNode as b, nextTick as Qn, toRef as Xs, createBlock as _, Teleport as ft, resolveDynamicComponent as F, mergeProps as
|
|
1
|
+
import { reactive as Kt, ref as j, computed as w, resolveDirective as Zn, createElementBlock as d, openBlock as u, Fragment as x, withDirectives as Oe, createElementVNode as h, unref as T, normalizeClass as m, renderSlot as g, createTextVNode as k, toDisplayString as y, withKeys as Jn, normalizeStyle as H, createCommentVNode as b, nextTick as Qn, toRef as Xs, createBlock as _, Teleport as ft, resolveDynamicComponent as F, mergeProps as ae, inject as ht, watchEffect as mt, defineAsyncComponent as Ys, markRaw as xe, toRefs as qs, toValue as ot, resolveComponent as D, withModifiers as Ks, createVNode as R, useSlots as Gs, renderList as O, TransitionGroup as es, withCtx as S, onMounted as gt, onBeforeUnmount as ts, watch as De, isRef as Zs, hasInjectionContext as Js, getCurrentInstance as Qs, onDeactivated as eo, onActivated as to, onUnmounted as ns, normalizeProps as ee, guardReactiveProps as te, vModelText as no, vShow as Mt, createSlots as Te } from "vue";
|
|
2
2
|
import { inline as ss, offset as os, flip as is, shift as rs, arrow as ls, useFloating as as, autoUpdate as cs } from "@floating-ui/vue";
|
|
3
3
|
import { useRoute as us, useRouter as so, RouterLink as vt } from "vue-router";
|
|
4
4
|
import { Tab as oo, TabGroup as io, TabList as ro, TabPanel as lo, TabPanels as ao } from "@headlessui/vue";
|
|
@@ -294,11 +294,11 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
294
294
|
}, {
|
|
295
295
|
floatingStyles: $,
|
|
296
296
|
placement: A,
|
|
297
|
-
middlewareData:
|
|
297
|
+
middlewareData: U,
|
|
298
298
|
update: I,
|
|
299
299
|
isPositioned: ue
|
|
300
300
|
} = as(a, c, v), Je = w(() => {
|
|
301
|
-
const X =
|
|
301
|
+
const X = U.value?.arrow;
|
|
302
302
|
return X ? {
|
|
303
303
|
position: "absolute",
|
|
304
304
|
left: X?.x != null ? `${X.x}px` : "",
|
|
@@ -321,13 +321,13 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
321
321
|
}, 0)) : (J(), s.directFocus(fe), t("toggle", ke));
|
|
322
322
|
});
|
|
323
323
|
};
|
|
324
|
-
let
|
|
324
|
+
let oe;
|
|
325
325
|
const At = () => {
|
|
326
|
-
s.clickOutsideCloses && (
|
|
326
|
+
s.clickOutsideCloses && (oe && J(), oe = (X) => {
|
|
327
327
|
c.value.contains(X.target) || ge(!1);
|
|
328
|
-
}, document.addEventListener("click",
|
|
328
|
+
}, document.addEventListener("click", oe));
|
|
329
329
|
}, J = () => {
|
|
330
|
-
|
|
330
|
+
oe && (document.removeEventListener("click", oe), oe = null);
|
|
331
331
|
}, de = () => ge(!1);
|
|
332
332
|
return (X, fe) => {
|
|
333
333
|
const ke = Zn("ulu-tooltip");
|
|
@@ -514,7 +514,7 @@ const E = (e, n) => {
|
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
516
|
function xo(e, n, t, s, o, i) {
|
|
517
|
-
return i.currentModal ? (u(), _(F(i.currentModal.component),
|
|
517
|
+
return i.currentModal ? (u(), _(F(i.currentModal.component), ae({ key: 0 }, i.currentProps, {
|
|
518
518
|
modelValue: o.open,
|
|
519
519
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => o.open = r),
|
|
520
520
|
onVnodeMounted: i.modalMounted,
|
|
@@ -556,15 +556,15 @@ const N = {
|
|
|
556
556
|
const n = ht("uluCore"), t = j(null), { getIconProps: s, getClassesFromDefinition: o } = Ro();
|
|
557
557
|
let i;
|
|
558
558
|
const r = e, l = w(() => n.getSetting("fontAwesomeStatic")), a = w(() => n.getSetting("iconComponent")), c = w(() => n.getSetting("iconPropResolver")), f = w(() => {
|
|
559
|
-
const { icon:
|
|
560
|
-
if (typeof
|
|
559
|
+
const { icon: U } = r;
|
|
560
|
+
if (typeof U == "string" && U.startsWith("type:"))
|
|
561
561
|
try {
|
|
562
|
-
const I =
|
|
562
|
+
const I = U.substring(5);
|
|
563
563
|
return n.getIcon(I);
|
|
564
564
|
} catch (I) {
|
|
565
565
|
return console.warn(I), null;
|
|
566
566
|
}
|
|
567
|
-
return
|
|
567
|
+
return U;
|
|
568
568
|
}), p = w(() => !a.value || !f.value ? null : c.value(f.value)), v = w(() => s(f.value)), $ = w(() => o(f.value)), A = w(() => ({
|
|
569
569
|
"flow-inline": r.spaced
|
|
570
570
|
}));
|
|
@@ -574,22 +574,22 @@ const N = {
|
|
|
574
574
|
if (i)
|
|
575
575
|
t.value = xe(i.FontAwesomeIcon);
|
|
576
576
|
else {
|
|
577
|
-
const
|
|
577
|
+
const U = Ys(async () => {
|
|
578
578
|
const I = await import("./index.es-HlG3u0J5.js");
|
|
579
579
|
return i = I, I.FontAwesomeIcon;
|
|
580
580
|
});
|
|
581
|
-
t.value = xe(
|
|
581
|
+
t.value = xe(U);
|
|
582
582
|
}
|
|
583
583
|
} else
|
|
584
584
|
t.value = null;
|
|
585
|
-
}), (
|
|
585
|
+
}), (U, I) => a.value ? (u(), _(F(a.value), ae({ key: 0 }, p.value, { class: A.value }), null, 16, ["class"])) : !l.value && t.value && f.value ? (u(), _(F(t.value), ae({ key: 1 }, v.value, { class: A.value }), null, 16, ["class"])) : l.value && f.value ? (u(), d("span", {
|
|
586
586
|
key: 2,
|
|
587
587
|
class: m([$.value, A.value]),
|
|
588
588
|
"aria-hidden": "true"
|
|
589
589
|
}, null, 2)) : b("", !0);
|
|
590
590
|
}
|
|
591
591
|
};
|
|
592
|
-
function
|
|
592
|
+
function Ut(e) {
|
|
593
593
|
const n = /* @__PURE__ */ new Set();
|
|
594
594
|
if (!e)
|
|
595
595
|
return n;
|
|
@@ -599,17 +599,17 @@ function Mt(e) {
|
|
|
599
599
|
});
|
|
600
600
|
else if (Array.isArray(e))
|
|
601
601
|
e.forEach((t) => {
|
|
602
|
-
|
|
602
|
+
Ut(t).forEach((s) => n.add(s));
|
|
603
603
|
});
|
|
604
604
|
else if (typeof e == "object")
|
|
605
605
|
for (const t in e)
|
|
606
606
|
Object.prototype.hasOwnProperty.call(e, t) && e[t] && t && n.add(t);
|
|
607
607
|
return n;
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function ne({ props: e, baseClass: n, internal: t = {} }) {
|
|
610
610
|
const { modifiers: s } = qs(e);
|
|
611
611
|
return { resolvedModifiers: w(() => {
|
|
612
|
-
const i = ot(n), r =
|
|
612
|
+
const i = ot(n), r = Ut(ot(s)), l = Ut(ot(t));
|
|
613
613
|
if (!i)
|
|
614
614
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
615
615
|
const a = /* @__PURE__ */ new Set([...l, ...r]);
|
|
@@ -629,7 +629,7 @@ function jo(e, n) {
|
|
|
629
629
|
function Io(e = document.body, n = window) {
|
|
630
630
|
return n.innerWidth - e.clientWidth;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Bo({ preventShift: e = !1, container: n = document.body }) {
|
|
633
633
|
const t = n.style.overflow, s = n.style.paddingRight;
|
|
634
634
|
if (n.style.overflow = "hidden", e) {
|
|
635
635
|
const o = Io();
|
|
@@ -651,7 +651,7 @@ function pt(e, n, t, s) {
|
|
|
651
651
|
clearTimeout(o), o = setTimeout(a, n), c && e.apply(r, l);
|
|
652
652
|
};
|
|
653
653
|
}
|
|
654
|
-
ds() && (
|
|
654
|
+
ds() && (Mo(), Uo());
|
|
655
655
|
const bn = {
|
|
656
656
|
/**
|
|
657
657
|
* Event is dispatched when DOM in the page has changed, triggers updates from
|
|
@@ -683,16 +683,16 @@ const bn = {
|
|
|
683
683
|
function Pt(e, n) {
|
|
684
684
|
bn[e] ? bn[e](n) : console.warn(`Unable to dispatch site event: ${e} in context:`, n);
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function zo(e) {
|
|
687
687
|
return "ulu:" + e;
|
|
688
688
|
}
|
|
689
689
|
function Le(e, n = null, t = { bubbles: !0 }) {
|
|
690
|
-
return new CustomEvent(
|
|
690
|
+
return new CustomEvent(zo(e), { detail: n, ...t });
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function Mo() {
|
|
693
693
|
window.addEventListener("resize", pt(() => Pt("pageResized", document), 250));
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Uo() {
|
|
696
696
|
window.addEventListener("beforeprint", () => {
|
|
697
697
|
Pt("beforePrint", document);
|
|
698
698
|
}), window.addEventListener("afterprint", () => {
|
|
@@ -1077,7 +1077,7 @@ const Fo = {
|
|
|
1077
1077
|
"no-min-height": e.noMinHeight,
|
|
1078
1078
|
"non-modal": e.nonModal,
|
|
1079
1079
|
"resizer-active": s.value
|
|
1080
|
-
})), { resolvedModifiers: r } =
|
|
1080
|
+
})), { resolvedModifiers: r } = ne({
|
|
1081
1081
|
props: e,
|
|
1082
1082
|
baseClass: "modal",
|
|
1083
1083
|
internal: i
|
|
@@ -1144,7 +1144,7 @@ const Fo = {
|
|
|
1144
1144
|
handleToggle(e) {
|
|
1145
1145
|
if (!this.nonModal && this.preventScroll) {
|
|
1146
1146
|
const { preventScrollShift: n } = this;
|
|
1147
|
-
e.newState === "open" ? this.restoreScroll =
|
|
1147
|
+
e.newState === "open" ? this.restoreScroll = Bo({ preventShift: n }) : this.destroyPreventScroll();
|
|
1148
1148
|
}
|
|
1149
1149
|
},
|
|
1150
1150
|
setupResizer() {
|
|
@@ -1541,7 +1541,7 @@ function si(e) {
|
|
|
1541
1541
|
await new Promise((f) => {
|
|
1542
1542
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
|
|
1543
1543
|
});
|
|
1544
|
-
const r = await import("./breakpoints-
|
|
1544
|
+
const r = await import("./breakpoints-DMo5a-Xm.js"), { BreakpointManager: l } = r, a = xe(new l(n.plugin));
|
|
1545
1545
|
t.value = xe(a);
|
|
1546
1546
|
const c = () => {
|
|
1547
1547
|
s.value = a.active, o.value = a.resizeDirection;
|
|
@@ -1580,7 +1580,7 @@ function Jf(e, n) {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
const Ft = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new WeakMap(), pe = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), me = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakSet();
|
|
1582
1582
|
let K, Qt = 0, en = 0;
|
|
1583
|
-
const
|
|
1583
|
+
const le = "__aa_tgt", Xe = "__aa_del", at = "__aa_new", ms = (e) => {
|
|
1584
1584
|
const n = ai(e);
|
|
1585
1585
|
n && n.forEach((t) => ci(t));
|
|
1586
1586
|
}, ii = (e) => {
|
|
@@ -1636,11 +1636,11 @@ function li(e) {
|
|
|
1636
1636
|
function vs(e) {
|
|
1637
1637
|
typeof requestIdleCallback == "function" ? requestIdleCallback(() => e()) : requestAnimationFrame(() => e());
|
|
1638
1638
|
}
|
|
1639
|
-
let
|
|
1639
|
+
let ie;
|
|
1640
1640
|
const ys = typeof window < "u" && "ResizeObserver" in window;
|
|
1641
|
-
ys && (K = document.documentElement, new MutationObserver(ms),
|
|
1641
|
+
ys && (K = document.documentElement, new MutationObserver(ms), ie = new ResizeObserver(ii), window.addEventListener("scroll", () => {
|
|
1642
1642
|
en = window.scrollY, Qt = window.scrollX;
|
|
1643
|
-
}),
|
|
1643
|
+
}), ie.observe(K));
|
|
1644
1644
|
function ai(e) {
|
|
1645
1645
|
return e.reduce((s, o) => [
|
|
1646
1646
|
...s,
|
|
@@ -1676,7 +1676,7 @@ function ai(e) {
|
|
|
1676
1676
|
}, /* @__PURE__ */ new Set());
|
|
1677
1677
|
}
|
|
1678
1678
|
function Et(e, n) {
|
|
1679
|
-
!n && !(
|
|
1679
|
+
!n && !(le in e) ? Object.defineProperty(e, le, { value: e }) : n && !(le in n) && Object.defineProperty(n, le, { value: e });
|
|
1680
1680
|
}
|
|
1681
1681
|
function ci(e) {
|
|
1682
1682
|
var n, t;
|
|
@@ -1714,11 +1714,11 @@ function ps(e, n, t) {
|
|
|
1714
1714
|
return [s, i, o, r].map(Math.round);
|
|
1715
1715
|
}
|
|
1716
1716
|
function bt(e) {
|
|
1717
|
-
return
|
|
1717
|
+
return le in e && ye.has(e[le]) ? ye.get(e[le]) : { duration: 250, easing: "ease-in-out" };
|
|
1718
1718
|
}
|
|
1719
1719
|
function bs(e) {
|
|
1720
|
-
if (
|
|
1721
|
-
return e[
|
|
1720
|
+
if (le in e)
|
|
1721
|
+
return e[le];
|
|
1722
1722
|
}
|
|
1723
1723
|
function nn(e) {
|
|
1724
1724
|
const n = bs(e);
|
|
@@ -1844,8 +1844,8 @@ function fi(e) {
|
|
|
1844
1844
|
easing: "ease-out"
|
|
1845
1845
|
});
|
|
1846
1846
|
else {
|
|
1847
|
-
const [A,
|
|
1848
|
-
|
|
1847
|
+
const [A, U] = sn(f(e, "remove", p));
|
|
1848
|
+
U?.styleReset !== !1 && ($ = U?.styleReset || $, Object.assign(e.style, $)), v = new Animation(A), v.play();
|
|
1849
1849
|
}
|
|
1850
1850
|
Z.set(e, v), v.addEventListener("finish", () => kn(e, $), {
|
|
1851
1851
|
once: !0
|
|
@@ -1882,8 +1882,8 @@ function mi(e) {
|
|
|
1882
1882
|
return [a, c, s, o];
|
|
1883
1883
|
}
|
|
1884
1884
|
function gi(e, n = {}) {
|
|
1885
|
-
if (ys &&
|
|
1886
|
-
Ae.add(e), getComputedStyle(e).position === "static" && Object.assign(e.style, { position: "relative" }), rt(e, _e, li, (r) =>
|
|
1885
|
+
if (ys && ie && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !Ye(n) && !n.disrespectUserMotionPreference)) {
|
|
1886
|
+
Ae.add(e), getComputedStyle(e).position === "static" && Object.assign(e.style, { position: "relative" }), rt(e, _e, li, (r) => ie?.observe(r)), Ye(n) ? ye.set(e, n) : ye.set(e, {
|
|
1887
1887
|
duration: 250,
|
|
1888
1888
|
easing: "ease-in-out",
|
|
1889
1889
|
...n
|
|
@@ -1915,7 +1915,7 @@ function gi(e, n = {}) {
|
|
|
1915
1915
|
Ae.delete(e), Ft.delete(e), ye.delete(e);
|
|
1916
1916
|
const s = xt.get(e);
|
|
1917
1917
|
s?.disconnect(), xt.delete(e), rt(e, (o) => {
|
|
1918
|
-
|
|
1918
|
+
ie?.unobserve(o);
|
|
1919
1919
|
const i = Z.get(o);
|
|
1920
1920
|
try {
|
|
1921
1921
|
i?.cancel();
|
|
@@ -2037,7 +2037,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2037
2037
|
function $() {
|
|
2038
2038
|
t.closeOnEscape && c.value && (c.value = !1);
|
|
2039
2039
|
}
|
|
2040
|
-
return (A,
|
|
2040
|
+
return (A, U) => (u(), d("div", {
|
|
2041
2041
|
ref_key: "container",
|
|
2042
2042
|
ref: i,
|
|
2043
2043
|
onKeydown: Jn($, ["esc"]),
|
|
@@ -2125,7 +2125,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2125
2125
|
},
|
|
2126
2126
|
emits: ["update:modelValue"],
|
|
2127
2127
|
setup(e, { emit: n }) {
|
|
2128
|
-
const t = e, { resolvedModifiers: s } =
|
|
2128
|
+
const t = e, { resolvedModifiers: s } = ne({ props: t, baseClass: "accordion" }), o = w(() => {
|
|
2129
2129
|
const i = { ...t.classes };
|
|
2130
2130
|
return i.container = [i.container, s.value], i;
|
|
2131
2131
|
});
|
|
@@ -2196,7 +2196,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2196
2196
|
modifiers: [String, Array]
|
|
2197
2197
|
},
|
|
2198
2198
|
setup(e) {
|
|
2199
|
-
const n = e, { resolvedModifiers: t } =
|
|
2199
|
+
const n = e, { resolvedModifiers: t } = ne({ props: n, baseClass: "tag" });
|
|
2200
2200
|
return (s, o) => (u(), d("span", {
|
|
2201
2201
|
class: m(["tag", [
|
|
2202
2202
|
{
|
|
@@ -2281,7 +2281,7 @@ function ki(e, n, t, s, o, i) {
|
|
|
2281
2281
|
f.separatorAfter ? t.classes.itemSeparatorAfter : ""
|
|
2282
2282
|
])
|
|
2283
2283
|
}, [
|
|
2284
|
-
Oe((u(), _(F(f.to || f.path ? "router-link" : f.click ? "button" : "a"),
|
|
2284
|
+
Oe((u(), _(F(f.to || f.path ? "router-link" : f.click ? "button" : "a"), ae({ ref_for: !0 }, {
|
|
2285
2285
|
...f.to || f.path ? {
|
|
2286
2286
|
to: f.to || f.path,
|
|
2287
2287
|
activeClass: t.classes.linkActive || null,
|
|
@@ -2309,7 +2309,7 @@ function ki(e, n, t, s, o, i) {
|
|
|
2309
2309
|
h("span", {
|
|
2310
2310
|
class: m([t.classes.linkText, f?.classes?.linkText])
|
|
2311
2311
|
}, y(f.title), 3),
|
|
2312
|
-
f.tag ? (u(), _(l,
|
|
2312
|
+
f.tag ? (u(), _(l, ae({
|
|
2313
2313
|
key: 1,
|
|
2314
2314
|
ref_for: !0
|
|
2315
2315
|
}, f.tag), null, 16)) : b("", !0)
|
|
@@ -2363,7 +2363,7 @@ const ws = /* @__PURE__ */ E(Si, [["render", ki]]), $i = {
|
|
|
2363
2363
|
const n = e, t = w(() => ({
|
|
2364
2364
|
hanging: n.hanging,
|
|
2365
2365
|
compact: n.compact
|
|
2366
|
-
})), { resolvedModifiers: s } =
|
|
2366
|
+
})), { resolvedModifiers: s } = ne({
|
|
2367
2367
|
props: n,
|
|
2368
2368
|
internal: t,
|
|
2369
2369
|
baseClass: "menu-stack"
|
|
@@ -2491,14 +2491,14 @@ function eh(e, n) {
|
|
|
2491
2491
|
pages: {}
|
|
2492
2492
|
}, f = o.value, p = i.value, v = 5, $ = (I) => ({ query: { ...t.query, page: I } });
|
|
2493
2493
|
f > 1 && (c.first = { href: $(1) }, c.previous = { href: $(f - 1) }), f < p && (c.next = { href: $(f + 1) }, c.last = { href: $(p) });
|
|
2494
|
-
let A,
|
|
2494
|
+
let A, U;
|
|
2495
2495
|
if (p <= v)
|
|
2496
|
-
A = 1,
|
|
2496
|
+
A = 1, U = p;
|
|
2497
2497
|
else {
|
|
2498
2498
|
const I = Math.floor(v / 2), ue = Math.ceil(v / 2) - 1;
|
|
2499
|
-
f <= I ? (A = 1,
|
|
2499
|
+
f <= I ? (A = 1, U = v) : f + ue >= p ? (A = p - v + 1, U = p) : (A = f - I, U = f + ue);
|
|
2500
2500
|
}
|
|
2501
|
-
for (let I = A; I <=
|
|
2501
|
+
for (let I = A; I <= U; I++)
|
|
2502
2502
|
c.pages[I] = { href: $(I) };
|
|
2503
2503
|
return c;
|
|
2504
2504
|
}), a = w(() => {
|
|
@@ -2562,7 +2562,7 @@ function _t(e, n) {
|
|
|
2562
2562
|
let s = (e?.meta || {}).title;
|
|
2563
2563
|
return typeof s == "function" && (s = s(n || e)), s;
|
|
2564
2564
|
}
|
|
2565
|
-
function
|
|
2565
|
+
function Bi(e, n) {
|
|
2566
2566
|
const s = Object.assign({}, {
|
|
2567
2567
|
qualifier(r, l) {
|
|
2568
2568
|
return l ? an(r) : Ss(r);
|
|
@@ -2576,7 +2576,7 @@ function zi(e, n) {
|
|
|
2576
2576
|
}).sort(s.sort);
|
|
2577
2577
|
return i(e);
|
|
2578
2578
|
}
|
|
2579
|
-
function
|
|
2579
|
+
function zi(e) {
|
|
2580
2580
|
function n(t) {
|
|
2581
2581
|
const s = [];
|
|
2582
2582
|
for (const o of t) {
|
|
@@ -2587,7 +2587,7 @@ function Bi(e) {
|
|
|
2587
2587
|
}
|
|
2588
2588
|
return n(e);
|
|
2589
2589
|
}
|
|
2590
|
-
function
|
|
2590
|
+
function Mi(e, n, t) {
|
|
2591
2591
|
const o = Object.assign({}, {
|
|
2592
2592
|
includeIndex: !1,
|
|
2593
2593
|
item: {},
|
|
@@ -2627,7 +2627,7 @@ function Ss(e) {
|
|
|
2627
2627
|
const n = e.path.match(/\//g) || [];
|
|
2628
2628
|
return an(e) && n.length === 1;
|
|
2629
2629
|
}
|
|
2630
|
-
function
|
|
2630
|
+
function Ui(e, n) {
|
|
2631
2631
|
const { target: t } = n, s = t.closest("a");
|
|
2632
2632
|
if (s) {
|
|
2633
2633
|
let o = s.getAttribute("href");
|
|
@@ -2676,15 +2676,15 @@ const Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2676
2676
|
$createSectionMenu: Pi,
|
|
2677
2677
|
$getParentRoute: cn,
|
|
2678
2678
|
$getRouteChildren: ks,
|
|
2679
|
-
createBaseMenu:
|
|
2679
|
+
createBaseMenu: Bi,
|
|
2680
2680
|
createMenuItem: wt,
|
|
2681
|
-
createSectionMenu:
|
|
2682
|
-
flattenMenu:
|
|
2681
|
+
createSectionMenu: Mi,
|
|
2682
|
+
flattenMenu: zi,
|
|
2683
2683
|
getChildIndexRoute: ln,
|
|
2684
2684
|
getRouteTitle: _t,
|
|
2685
2685
|
isStaticBaseRoute: Ss,
|
|
2686
2686
|
isStaticRoute: an,
|
|
2687
|
-
nativeLinkRouter:
|
|
2687
|
+
nativeLinkRouter: Ui
|
|
2688
2688
|
}, Symbol.toStringTag, { value: "Module" })), Rt = Kt({});
|
|
2689
2689
|
function th(e = {}) {
|
|
2690
2690
|
const {
|
|
@@ -2903,7 +2903,7 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2903
2903
|
modifiers: [String, Array]
|
|
2904
2904
|
},
|
|
2905
2905
|
setup(e) {
|
|
2906
|
-
const { resolvedModifiers: n } =
|
|
2906
|
+
const { resolvedModifiers: n } = ne({ props: e, baseClass: "button" });
|
|
2907
2907
|
return { resolvedModifiers: n };
|
|
2908
2908
|
},
|
|
2909
2909
|
computed: {
|
|
@@ -2926,7 +2926,7 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2926
2926
|
}, Di = { key: 1 };
|
|
2927
2927
|
function Wi(e, n, t, s, o, i) {
|
|
2928
2928
|
const r = D("UluIcon");
|
|
2929
|
-
return u(), _(F(i.element),
|
|
2929
|
+
return u(), _(F(i.element), ae({
|
|
2930
2930
|
class: ["button", [
|
|
2931
2931
|
{
|
|
2932
2932
|
"button--transparent": t.transparent,
|
|
@@ -3000,7 +3000,7 @@ const Xi = /* @__PURE__ */ E(Ni, [["render", Wi]]), Yi = {
|
|
|
3000
3000
|
modifiers: [String, Array]
|
|
3001
3001
|
},
|
|
3002
3002
|
setup(e) {
|
|
3003
|
-
const { resolvedModifiers: n } =
|
|
3003
|
+
const { resolvedModifiers: n } = ne({
|
|
3004
3004
|
props: e,
|
|
3005
3005
|
baseClass: "callout",
|
|
3006
3006
|
internal: w(() => ({
|
|
@@ -3124,7 +3124,7 @@ const ah = /* @__PURE__ */ E(Yi, [["render", Zi]]), Ji = ["aria-hidden"], Qi = {
|
|
|
3124
3124
|
class: "badge-stack__item",
|
|
3125
3125
|
key: o
|
|
3126
3126
|
}, [
|
|
3127
|
-
R(er,
|
|
3127
|
+
R(er, ae({ ref_for: !0 }, s), null, 16)
|
|
3128
3128
|
]))), 128))
|
|
3129
3129
|
]));
|
|
3130
3130
|
}
|
|
@@ -3183,7 +3183,7 @@ const ah = /* @__PURE__ */ E(Yi, [["render", Zi]]), Ji = ["aria-hidden"], Qi = {
|
|
|
3183
3183
|
modifiers: [String, Array]
|
|
3184
3184
|
},
|
|
3185
3185
|
setup(e) {
|
|
3186
|
-
const { resolvedModifiers: n } =
|
|
3186
|
+
const { resolvedModifiers: n } = ne({ props: e, baseClass: "button-verbose" });
|
|
3187
3187
|
return { resolvedModifiers: n };
|
|
3188
3188
|
},
|
|
3189
3189
|
computed: {
|
|
@@ -3201,7 +3201,7 @@ const ah = /* @__PURE__ */ E(Yi, [["render", Zi]]), Ji = ["aria-hidden"], Qi = {
|
|
|
3201
3201
|
};
|
|
3202
3202
|
function or(e, n, t, s, o, i) {
|
|
3203
3203
|
const r = D("UluIcon");
|
|
3204
|
-
return u(), _(F(i.element),
|
|
3204
|
+
return u(), _(F(i.element), ae({
|
|
3205
3205
|
class: ["button-verbose", [
|
|
3206
3206
|
{
|
|
3207
3207
|
"button-verbose--inline": t.inline,
|
|
@@ -3251,7 +3251,7 @@ const uh = /* @__PURE__ */ E(nr, [["render", or]]), ir = {
|
|
|
3251
3251
|
modifiers: [String, Array]
|
|
3252
3252
|
},
|
|
3253
3253
|
setup(e) {
|
|
3254
|
-
const { resolvedModifiers: n } =
|
|
3254
|
+
const { resolvedModifiers: n } = ne({ props: e, baseClass: "callout" });
|
|
3255
3255
|
return { resolvedModifiers: n };
|
|
3256
3256
|
}
|
|
3257
3257
|
};
|
|
@@ -3385,7 +3385,7 @@ const dh = /* @__PURE__ */ E(ir, [["render", rr]]), Tn = (e, n) => {
|
|
|
3385
3385
|
};
|
|
3386
3386
|
},
|
|
3387
3387
|
setup(e) {
|
|
3388
|
-
const { resolvedModifiers: n } =
|
|
3388
|
+
const { resolvedModifiers: n } = ne({ props: e, baseClass: "card" });
|
|
3389
3389
|
return { resolvedModifiers: n };
|
|
3390
3390
|
},
|
|
3391
3391
|
computed: {
|
|
@@ -3508,34 +3508,79 @@ const fh = /* @__PURE__ */ E(lr, [["render", mr]]), hh = {
|
|
|
3508
3508
|
classes: {
|
|
3509
3509
|
type: Object,
|
|
3510
3510
|
default: () => ({})
|
|
3511
|
-
}
|
|
3511
|
+
},
|
|
3512
|
+
/**
|
|
3513
|
+
* Class modifiers (ie. 'transparent', 'secondary', etc)
|
|
3514
|
+
*/
|
|
3515
|
+
modifiers: [String, Array],
|
|
3516
|
+
/**
|
|
3517
|
+
* Displays only the definition descriptions on the same line.
|
|
3518
|
+
*/
|
|
3519
|
+
inline: Boolean,
|
|
3520
|
+
/**
|
|
3521
|
+
* Displays both the definition term and its descriptions on the same line.
|
|
3522
|
+
*/
|
|
3523
|
+
inlineAll: Boolean,
|
|
3524
|
+
/**
|
|
3525
|
+
* Displays the list in a two-column grid on larger screens.
|
|
3526
|
+
*/
|
|
3527
|
+
table: Boolean,
|
|
3528
|
+
/**
|
|
3529
|
+
* Adds a rule between each item.
|
|
3530
|
+
*/
|
|
3531
|
+
separated: Boolean,
|
|
3532
|
+
/**
|
|
3533
|
+
* Adds a rule to the top of the first item.
|
|
3534
|
+
*/
|
|
3535
|
+
separatedFirst: Boolean,
|
|
3536
|
+
/**
|
|
3537
|
+
* Adds a rule to the bottom of the last item.
|
|
3538
|
+
*/
|
|
3539
|
+
separatedLast: Boolean,
|
|
3540
|
+
/**
|
|
3541
|
+
* Reduces the margin between items.
|
|
3542
|
+
*/
|
|
3543
|
+
compact: Boolean
|
|
3512
3544
|
},
|
|
3513
3545
|
setup(e) {
|
|
3514
|
-
|
|
3515
|
-
|
|
3546
|
+
const n = e, t = w(() => ({
|
|
3547
|
+
inline: n.inline,
|
|
3548
|
+
"inline-all": n.inlineAll,
|
|
3549
|
+
table: n.table,
|
|
3550
|
+
separated: n.separated,
|
|
3551
|
+
"separated-first": n.separatedFirst,
|
|
3552
|
+
"separated-last": n.separatedLast,
|
|
3553
|
+
compact: n.compact
|
|
3554
|
+
})), { resolvedModifiers: s } = ne({
|
|
3555
|
+
props: n,
|
|
3556
|
+
internal: t,
|
|
3557
|
+
baseClass: "definition-list"
|
|
3558
|
+
});
|
|
3559
|
+
return (o, i) => (u(), d("dl", {
|
|
3560
|
+
class: m(["definition-list", [T(s), e.classes.list]])
|
|
3516
3561
|
}, [
|
|
3517
|
-
(u(!0), d(x, null, O(e.items, (
|
|
3518
|
-
key:
|
|
3562
|
+
(u(!0), d(x, null, O(e.items, (r, l) => (u(), d("div", {
|
|
3563
|
+
key: l,
|
|
3519
3564
|
class: m(e.classes.item)
|
|
3520
3565
|
}, [
|
|
3521
3566
|
h("dt", {
|
|
3522
3567
|
class: m(e.classes.term)
|
|
3523
3568
|
}, [
|
|
3524
|
-
g(
|
|
3525
|
-
item:
|
|
3526
|
-
index:
|
|
3569
|
+
g(o.$slots, "term", {
|
|
3570
|
+
item: r,
|
|
3571
|
+
index: l
|
|
3527
3572
|
}, () => [
|
|
3528
|
-
k(y(
|
|
3573
|
+
k(y(r.term), 1)
|
|
3529
3574
|
])
|
|
3530
3575
|
], 2),
|
|
3531
3576
|
h("dd", {
|
|
3532
3577
|
class: m(e.classes.description)
|
|
3533
3578
|
}, [
|
|
3534
|
-
g(
|
|
3535
|
-
item:
|
|
3536
|
-
index:
|
|
3579
|
+
g(o.$slots, "description", {
|
|
3580
|
+
item: r,
|
|
3581
|
+
index: l
|
|
3537
3582
|
}, () => [
|
|
3538
|
-
k(y(
|
|
3583
|
+
k(y(r.description), 1)
|
|
3539
3584
|
])
|
|
3540
3585
|
], 2)
|
|
3541
3586
|
], 2))), 128))
|
|
@@ -3864,7 +3909,7 @@ const vh = /* @__PURE__ */ E(yr, [["render", br]]), _r = { class: "spoke-spinner
|
|
|
3864
3909
|
k(y(e.label), 1)
|
|
3865
3910
|
])
|
|
3866
3911
|
], 10, Er),
|
|
3867
|
-
h("input",
|
|
3912
|
+
h("input", ae({
|
|
3868
3913
|
type: "file",
|
|
3869
3914
|
onChange: i,
|
|
3870
3915
|
multiple: e.multiple,
|
|
@@ -3898,7 +3943,7 @@ const vh = /* @__PURE__ */ E(yr, [["render", br]]), _r = { class: "spoke-spinner
|
|
|
3898
3943
|
g(n.$slots, "default")
|
|
3899
3944
|
], 2));
|
|
3900
3945
|
}
|
|
3901
|
-
}, jr = { class: "site-form__item site-form__item--select" }, Ir = ["for"],
|
|
3946
|
+
}, jr = { class: "site-form__item site-form__item--select" }, Ir = ["for"], Br = ["id", "value"], zr = ["value"], wh = {
|
|
3902
3947
|
__name: "UluFormSelect",
|
|
3903
3948
|
props: {
|
|
3904
3949
|
/**
|
|
@@ -3945,11 +3990,11 @@ const vh = /* @__PURE__ */ E(yr, [["render", br]]), _r = { class: "spoke-spinner
|
|
|
3945
3990
|
(u(!0), d(x, null, O(e.options, (i, r) => (u(), d("option", {
|
|
3946
3991
|
key: r,
|
|
3947
3992
|
value: i.value
|
|
3948
|
-
}, y(i.text), 9,
|
|
3949
|
-
], 40,
|
|
3993
|
+
}, y(i.text), 9, zr))), 128))
|
|
3994
|
+
], 40, Br)
|
|
3950
3995
|
]));
|
|
3951
3996
|
}
|
|
3952
|
-
},
|
|
3997
|
+
}, Mr = { class: "site-form__item site-form__item--text" }, Ur = ["for"], Pr = ["value", "id"], Sh = {
|
|
3953
3998
|
__name: "UluFormText",
|
|
3954
3999
|
props: {
|
|
3955
4000
|
/**
|
|
@@ -3971,7 +4016,7 @@ const vh = /* @__PURE__ */ E(yr, [["render", br]]), _r = { class: "spoke-spinner
|
|
|
3971
4016
|
let s = 0;
|
|
3972
4017
|
return () => `text-input-id-${++s}`;
|
|
3973
4018
|
})())();
|
|
3974
|
-
return (s, o) => (u(), d("div",
|
|
4019
|
+
return (s, o) => (u(), d("div", Mr, [
|
|
3975
4020
|
h("label", {
|
|
3976
4021
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3977
4022
|
for: T(t)
|
|
@@ -3979,7 +4024,7 @@ const vh = /* @__PURE__ */ E(yr, [["render", br]]), _r = { class: "spoke-spinner
|
|
|
3979
4024
|
g(s.$slots, "default", {}, () => [
|
|
3980
4025
|
k(y(e.label), 1)
|
|
3981
4026
|
])
|
|
3982
|
-
], 10,
|
|
4027
|
+
], 10, Ur),
|
|
3983
4028
|
h("input", {
|
|
3984
4029
|
type: "text",
|
|
3985
4030
|
value: e.modelValue,
|
|
@@ -4375,7 +4420,7 @@ function ml(e, n, t, s, o, i) {
|
|
|
4375
4420
|
_: 2
|
|
4376
4421
|
}, 1024))), 128);
|
|
4377
4422
|
}
|
|
4378
|
-
const
|
|
4423
|
+
const Bh = /* @__PURE__ */ E(hl, [["render", ml]]), gl = {
|
|
4379
4424
|
name: "RouteAnnouncer",
|
|
4380
4425
|
props: {
|
|
4381
4426
|
/**
|
|
@@ -4428,7 +4473,7 @@ function vl(e, n, t, s, o, i) {
|
|
|
4428
4473
|
ref: "el"
|
|
4429
4474
|
}, y(i.title), 513)) : b("", !0);
|
|
4430
4475
|
}
|
|
4431
|
-
const
|
|
4476
|
+
const zh = /* @__PURE__ */ E(gl, [["render", vl]]), yl = {
|
|
4432
4477
|
name: "AnimateNumber",
|
|
4433
4478
|
props: {
|
|
4434
4479
|
/**
|
|
@@ -4460,7 +4505,7 @@ function pl(e, n, t, s, o, i) {
|
|
|
4460
4505
|
])
|
|
4461
4506
|
]);
|
|
4462
4507
|
}
|
|
4463
|
-
const
|
|
4508
|
+
const Mh = /* @__PURE__ */ E(yl, [["render", pl]]), bl = {
|
|
4464
4509
|
key: 0,
|
|
4465
4510
|
class: "progress-bar__header"
|
|
4466
4511
|
}, _l = {
|
|
@@ -4475,7 +4520,7 @@ const Uh = /* @__PURE__ */ E(yl, [["render", pl]]), bl = {
|
|
|
4475
4520
|
}, $l = { class: "progress-bar__value progress-bar__value--amount" }, Cl = {
|
|
4476
4521
|
key: 0,
|
|
4477
4522
|
class: "progress-bar__value progress-bar__value--deficit"
|
|
4478
|
-
}, Al = { class: "progress-bar__value progress-bar__value--total" },
|
|
4523
|
+
}, Al = { class: "progress-bar__value progress-bar__value--total" }, Uh = {
|
|
4479
4524
|
__name: "UluProgressBar",
|
|
4480
4525
|
props: {
|
|
4481
4526
|
/**
|
|
@@ -4820,8 +4865,8 @@ function Il(e, n) {
|
|
|
4820
4865
|
});
|
|
4821
4866
|
}
|
|
4822
4867
|
function Lh(e, n = {}) {
|
|
4823
|
-
const t = (C,
|
|
4824
|
-
const P = C[
|
|
4868
|
+
const t = (C, B) => {
|
|
4869
|
+
const P = C[B];
|
|
4825
4870
|
return P === null || typeof P > "u" ? [] : Array.isArray(P) ? P : [P];
|
|
4826
4871
|
}, {
|
|
4827
4872
|
initialFacets: s,
|
|
@@ -4835,18 +4880,18 @@ function Lh(e, n = {}) {
|
|
|
4835
4880
|
getSortValue: p = (C) => C.title || C.label || "",
|
|
4836
4881
|
countMode: v = "none"
|
|
4837
4882
|
// 'none', 'simple', 'intuitive'
|
|
4838
|
-
} = n, $ = (C) => C.sort((
|
|
4839
|
-
const
|
|
4840
|
-
return
|
|
4883
|
+
} = n, $ = (C) => C.sort((B, P) => {
|
|
4884
|
+
const z = p(B), V = p(P);
|
|
4885
|
+
return z && V ? String(z).localeCompare(String(V)) : z ? -1 : V ? 1 : 0;
|
|
4841
4886
|
}), A = {
|
|
4842
4887
|
az: { text: "A-Z", sort: $ },
|
|
4843
4888
|
za: { text: "Z-A", sort: (C) => $(C).reverse() }
|
|
4844
4889
|
};
|
|
4845
|
-
function
|
|
4846
|
-
return (C || []).map((
|
|
4847
|
-
...
|
|
4848
|
-
open:
|
|
4849
|
-
children:
|
|
4890
|
+
function U(C) {
|
|
4891
|
+
return (C || []).map((B) => ({
|
|
4892
|
+
...B,
|
|
4893
|
+
open: B.open || !1,
|
|
4894
|
+
children: B.children.map((P) => ({
|
|
4850
4895
|
...P,
|
|
4851
4896
|
selected: P.selected || !1
|
|
4852
4897
|
})),
|
|
@@ -4856,20 +4901,20 @@ function Lh(e, n = {}) {
|
|
|
4856
4901
|
const I = j([]), ue = j(i), Je = j(r), Qe = w(() => !o || !e.value?.length ? null : Il(e.value, o)), ge = w(() => ({
|
|
4857
4902
|
...l ? {} : A,
|
|
4858
4903
|
...a
|
|
4859
|
-
})),
|
|
4860
|
-
const C = /* @__PURE__ */ new Map(),
|
|
4861
|
-
if (!
|
|
4862
|
-
const P = new Map(o.map((
|
|
4863
|
-
const V =
|
|
4864
|
-
return [
|
|
4904
|
+
})), oe = w(() => {
|
|
4905
|
+
const C = /* @__PURE__ */ new Map(), B = J.value;
|
|
4906
|
+
if (!B || !o) return C;
|
|
4907
|
+
const P = new Map(o.map((z) => {
|
|
4908
|
+
const V = z.getValue || ((W) => W[z.uid]);
|
|
4909
|
+
return [z.uid, V];
|
|
4865
4910
|
}));
|
|
4866
|
-
for (let
|
|
4867
|
-
const V = z
|
|
4911
|
+
for (let z = 0; z < B.length; z++) {
|
|
4912
|
+
const V = B[z];
|
|
4868
4913
|
for (const W of o) {
|
|
4869
4914
|
const Y = P.get(W.uid)(V), G = Array.isArray(Y) ? Y : Y ? [Y] : [];
|
|
4870
4915
|
for (const et of G) {
|
|
4871
|
-
const
|
|
4872
|
-
C.has(
|
|
4916
|
+
const Me = `${W.uid}:${et}`;
|
|
4917
|
+
C.has(Me) || C.set(Me, /* @__PURE__ */ new Set()), C.get(Me).add(z);
|
|
4873
4918
|
}
|
|
4874
4919
|
}
|
|
4875
4920
|
}
|
|
@@ -4878,75 +4923,75 @@ function Lh(e, n = {}) {
|
|
|
4878
4923
|
shouldSort: !0,
|
|
4879
4924
|
keys: ["title", "label", "description", "author"],
|
|
4880
4925
|
...c
|
|
4881
|
-
})), J = w(() => ue.value?.length ? new uo(e.value, At.value).search(ue.value).map((
|
|
4926
|
+
})), J = w(() => ue.value?.length ? new uo(e.value, At.value).search(ue.value).map((B) => B.item) : e.value), de = w(() => {
|
|
4882
4927
|
const C = [];
|
|
4883
|
-
return I.value.forEach((
|
|
4884
|
-
const P =
|
|
4885
|
-
P.length > 0 && C.push({ ...
|
|
4928
|
+
return I.value.forEach((B) => {
|
|
4929
|
+
const P = B.children.filter((z) => z.selected);
|
|
4930
|
+
P.length > 0 && C.push({ ...B, children: P });
|
|
4886
4931
|
}), C;
|
|
4887
4932
|
}), X = w(() => {
|
|
4888
4933
|
if (!de.value.length)
|
|
4889
4934
|
return J.value;
|
|
4890
|
-
const C =
|
|
4935
|
+
const C = oe.value;
|
|
4891
4936
|
if (C.size === 0 && J.value.length > 0 && o?.length > 0)
|
|
4892
4937
|
return [];
|
|
4893
|
-
const
|
|
4938
|
+
const B = new Set(J.value.map((V, W) => W)), P = jt(de.value, C, B), z = [];
|
|
4894
4939
|
for (const V of P)
|
|
4895
|
-
|
|
4896
|
-
return
|
|
4940
|
+
z.push(J.value[V]);
|
|
4941
|
+
return z;
|
|
4897
4942
|
}), fe = w(() => {
|
|
4898
4943
|
const C = ge.value[Je.value]?.sort;
|
|
4899
4944
|
return typeof C != "function" ? X.value : C([...X.value]);
|
|
4900
4945
|
});
|
|
4901
4946
|
function ke() {
|
|
4902
4947
|
I.value.forEach((C) => {
|
|
4903
|
-
C.children && C.children.forEach((
|
|
4948
|
+
C.children && C.children.forEach((B) => B.selected = !1), C.selectedCount = 0;
|
|
4904
4949
|
});
|
|
4905
4950
|
}
|
|
4906
|
-
function mn({ groupUid: C, facetUid:
|
|
4907
|
-
const
|
|
4908
|
-
if (
|
|
4909
|
-
!
|
|
4910
|
-
W.uid !==
|
|
4951
|
+
function mn({ groupUid: C, facetUid: B, selected: P }) {
|
|
4952
|
+
const z = I.value.find((V) => V.uid === C);
|
|
4953
|
+
if (z) {
|
|
4954
|
+
!z.multiple && P && z.children.forEach((W) => {
|
|
4955
|
+
W.uid !== B && (W.selected = !1);
|
|
4911
4956
|
});
|
|
4912
|
-
const V =
|
|
4913
|
-
V && (V.selected = P),
|
|
4957
|
+
const V = z.children.find((W) => W.uid === B);
|
|
4958
|
+
V && (V.selected = P), z.selectedCount = z.children.filter((W) => W.selected).length;
|
|
4914
4959
|
}
|
|
4915
4960
|
}
|
|
4916
4961
|
return De(Qe, (C) => {
|
|
4917
|
-
const
|
|
4918
|
-
|
|
4919
|
-
P.selectedCount = P.children.filter((
|
|
4920
|
-
}), I.value =
|
|
4921
|
-
}, { immediate: !0 }), De([de, J], ([C,
|
|
4922
|
-
if (!(v === "none" || !I.value.length) && !(C === P &&
|
|
4962
|
+
const B = U(s || C);
|
|
4963
|
+
B.forEach((P) => {
|
|
4964
|
+
P.selectedCount = P.children.filter((z) => z.selected).length;
|
|
4965
|
+
}), I.value = B;
|
|
4966
|
+
}, { immediate: !0 }), De([de, J], ([C, B], [P, z]) => {
|
|
4967
|
+
if (!(v === "none" || !I.value.length) && !(C === P && B === z)) {
|
|
4923
4968
|
if (v === "simple")
|
|
4924
4969
|
I.value.forEach((V) => {
|
|
4925
|
-
const W = C.filter((Y) => Y.uid !== V.uid),
|
|
4970
|
+
const W = C.filter((Y) => Y.uid !== V.uid), ze = getFilteredItems(B, W);
|
|
4926
4971
|
V.children.forEach((Y) => {
|
|
4927
|
-
Y.count =
|
|
4972
|
+
Y.count = ze.filter((G) => f(G, V.uid).includes(Y.uid)).length;
|
|
4928
4973
|
});
|
|
4929
4974
|
});
|
|
4930
4975
|
else if (v === "intuitive") {
|
|
4931
|
-
const V =
|
|
4976
|
+
const V = oe.value;
|
|
4932
4977
|
if (V.size === 0 && J.value.length > 0 && o?.length > 0)
|
|
4933
4978
|
return;
|
|
4934
|
-
const W = new Set(J.value.map((Y, G) => G)),
|
|
4979
|
+
const W = new Set(J.value.map((Y, G) => G)), ze = jt(C, V, W);
|
|
4935
4980
|
I.value.forEach((Y) => {
|
|
4936
4981
|
Y.children.forEach((G) => {
|
|
4937
|
-
const et = `${Y.uid}:${G.uid}`,
|
|
4982
|
+
const et = `${Y.uid}:${G.uid}`, Me = V.get(et) || /* @__PURE__ */ new Set();
|
|
4938
4983
|
if (G.selected)
|
|
4939
4984
|
if (Y.multiple) {
|
|
4940
|
-
const $e = Dt([
|
|
4985
|
+
const $e = Dt([ze, Me]);
|
|
4941
4986
|
G.count = $e.size;
|
|
4942
4987
|
} else
|
|
4943
|
-
G.count =
|
|
4988
|
+
G.count = ze.size;
|
|
4944
4989
|
else {
|
|
4945
4990
|
const $e = [];
|
|
4946
4991
|
for (const tt of C)
|
|
4947
4992
|
$e.push({ ...tt, children: [...tt.children] });
|
|
4948
|
-
let
|
|
4949
|
-
|
|
4993
|
+
let Ue = $e.find((tt) => tt.uid === Y.uid);
|
|
4994
|
+
Ue || (Ue = { ...Y, children: [] }, $e.push(Ue)), Y.multiple ? Ue.children.push(G) : Ue.children = [G];
|
|
4950
4995
|
const Ws = jt($e, V, W);
|
|
4951
4996
|
G.count = Ws.size;
|
|
4952
4997
|
}
|
|
@@ -4965,7 +5010,7 @@ function Lh(e, n = {}) {
|
|
|
4965
5010
|
handleFacetChange: mn
|
|
4966
5011
|
};
|
|
4967
5012
|
}
|
|
4968
|
-
const
|
|
5013
|
+
const Bl = ["onClick"], Fh = {
|
|
4969
5014
|
__name: "UluFacetsActiveFilters",
|
|
4970
5015
|
props: {
|
|
4971
5016
|
/**
|
|
@@ -5066,7 +5111,7 @@ const zl = ["onClick"], Fh = {
|
|
|
5066
5111
|
}, [
|
|
5067
5112
|
R(N, { icon: e.removeIcon }, null, 8, ["icon"])
|
|
5068
5113
|
], 2)
|
|
5069
|
-
], 10,
|
|
5114
|
+
], 10, Bl)
|
|
5070
5115
|
], 2))), 128))
|
|
5071
5116
|
], 2),
|
|
5072
5117
|
h("button", {
|
|
@@ -5075,7 +5120,7 @@ const zl = ["onClick"], Fh = {
|
|
|
5075
5120
|
}, "Clear All", 2)
|
|
5076
5121
|
], 2)) : b("", !0);
|
|
5077
5122
|
}
|
|
5078
|
-
},
|
|
5123
|
+
}, zl = { key: 0 }, dt = {
|
|
5079
5124
|
__name: "UluFacetsList",
|
|
5080
5125
|
props: {
|
|
5081
5126
|
groupUid: String,
|
|
@@ -5125,12 +5170,12 @@ const zl = ["onClick"], Fh = {
|
|
|
5125
5170
|
}, {
|
|
5126
5171
|
default: S(({ option: a }) => [
|
|
5127
5172
|
k(y(a.label) + " ", 1),
|
|
5128
|
-
a.count !== void 0 ? (u(), d("span",
|
|
5173
|
+
a.count !== void 0 ? (u(), d("span", zl, "(" + y(a.count) + ")", 1)) : b("", !0)
|
|
5129
5174
|
]),
|
|
5130
5175
|
_: 1
|
|
5131
5176
|
}, 8, ["legend", "type", "options", "compact", "model-value"]));
|
|
5132
5177
|
}
|
|
5133
|
-
},
|
|
5178
|
+
}, Ml = { class: "facets-filters" }, Vh = {
|
|
5134
5179
|
__name: "UluFacetsFilterLists",
|
|
5135
5180
|
props: {
|
|
5136
5181
|
/**
|
|
@@ -5162,7 +5207,7 @@ const zl = ["onClick"], Fh = {
|
|
|
5162
5207
|
emits: ["facet-change"],
|
|
5163
5208
|
setup(e, { emit: n }) {
|
|
5164
5209
|
const t = n, s = (o) => o.multiple ? o.children.filter((i) => i.selected).map((i) => i.uid) : o.children.find((i) => i.selected)?.uid || "";
|
|
5165
|
-
return (o, i) => (u(), d("div",
|
|
5210
|
+
return (o, i) => (u(), d("div", Ml, [
|
|
5166
5211
|
(u(!0), d(x, null, O(e.facets, (r) => (u(), _(Ht, {
|
|
5167
5212
|
key: r.uid,
|
|
5168
5213
|
classes: {
|
|
@@ -5217,7 +5262,7 @@ const zl = ["onClick"], Fh = {
|
|
|
5217
5262
|
}, 1032, ["classes", "startOpen"]))), 128))
|
|
5218
5263
|
]));
|
|
5219
5264
|
}
|
|
5220
|
-
},
|
|
5265
|
+
}, Ul = { class: "facets-filters" }, Hh = {
|
|
5221
5266
|
__name: "UluFacetsFilterAccordions",
|
|
5222
5267
|
props: {
|
|
5223
5268
|
/**
|
|
@@ -5253,7 +5298,7 @@ const zl = ["onClick"], Fh = {
|
|
|
5253
5298
|
emits: ["facet-change"],
|
|
5254
5299
|
setup(e, { emit: n }) {
|
|
5255
5300
|
const t = n, s = (o) => o.multiple ? o.children.filter((i) => i.selected).map((i) => i.uid) : o.children.find((i) => i.selected)?.uid || "";
|
|
5256
|
-
return (o, i) => (u(), d("div",
|
|
5301
|
+
return (o, i) => (u(), d("div", Ul, [
|
|
5257
5302
|
(u(!0), d(x, null, O(e.facets, (r) => (u(), _($n, {
|
|
5258
5303
|
key: r.uid,
|
|
5259
5304
|
modifiers: e.accordionModifiers,
|
|
@@ -5587,7 +5632,7 @@ const zl = ["onClick"], Fh = {
|
|
|
5587
5632
|
onClick: l[0] || (l[0] = (a) => n.value = !0)
|
|
5588
5633
|
}, y(e.mobileButtonText), 3)
|
|
5589
5634
|
], 512), [
|
|
5590
|
-
[
|
|
5635
|
+
[Mt, T(t)]
|
|
5591
5636
|
]),
|
|
5592
5637
|
h("div", Jl, [
|
|
5593
5638
|
Oe(h("div", {
|
|
@@ -5595,7 +5640,7 @@ const zl = ["onClick"], Fh = {
|
|
|
5595
5640
|
ref_key: "desktopTarget",
|
|
5596
5641
|
ref: s
|
|
5597
5642
|
}, null, 512), [
|
|
5598
|
-
[
|
|
5643
|
+
[Mt, !T(t)]
|
|
5599
5644
|
]),
|
|
5600
5645
|
h("div", Ql, [
|
|
5601
5646
|
g(r.$slots, "main")
|
|
@@ -6341,7 +6386,7 @@ function ja(e, n, t, s, o, i) {
|
|
|
6341
6386
|
], 512))
|
|
6342
6387
|
]);
|
|
6343
6388
|
}
|
|
6344
|
-
const Ia = /* @__PURE__ */ E(pa, [["render", ja]]),
|
|
6389
|
+
const Ia = /* @__PURE__ */ E(pa, [["render", ja]]), Ba = {
|
|
6345
6390
|
name: "ImageSlideShow",
|
|
6346
6391
|
components: {
|
|
6347
6392
|
UluSlideShow: Ia
|
|
@@ -6370,7 +6415,7 @@ const Ia = /* @__PURE__ */ E(pa, [["render", ja]]), za = {
|
|
|
6370
6415
|
console.log("left/right", i, a), t && s && (c > a ? f = i + (c - a) : r < i && (f = r), f !== null && n.scrollTo({ left: f, top: 0, behavior: "smooth" }));
|
|
6371
6416
|
}
|
|
6372
6417
|
}
|
|
6373
|
-
},
|
|
6418
|
+
}, za = ["src", "alt"], Ma = { class: "slideshow__image-actions" }, Ua = ["src", "alt"];
|
|
6374
6419
|
function Pa(e, n, t, s, o, i) {
|
|
6375
6420
|
const r = D("AppButton"), l = D("UluSlideShow");
|
|
6376
6421
|
return u(), _(l, {
|
|
@@ -6382,8 +6427,8 @@ function Pa(e, n, t, s, o, i) {
|
|
|
6382
6427
|
h("img", {
|
|
6383
6428
|
src: a.src,
|
|
6384
6429
|
alt: a.alt
|
|
6385
|
-
}, null, 8,
|
|
6386
|
-
h("div",
|
|
6430
|
+
}, null, 8, za),
|
|
6431
|
+
h("div", Ma, [
|
|
6387
6432
|
t.selectButton ? (u(), _(r, {
|
|
6388
6433
|
key: 0,
|
|
6389
6434
|
class: "type-small",
|
|
@@ -6402,12 +6447,12 @@ function Pa(e, n, t, s, o, i) {
|
|
|
6402
6447
|
h("img", {
|
|
6403
6448
|
src: t.images[a].src,
|
|
6404
6449
|
alt: `View image ${a}`
|
|
6405
|
-
}, null, 8,
|
|
6450
|
+
}, null, 8, Ua)
|
|
6406
6451
|
]),
|
|
6407
6452
|
_: 1
|
|
6408
6453
|
}, 8, ["items", "onSlideChange"]);
|
|
6409
6454
|
}
|
|
6410
|
-
const om = /* @__PURE__ */ E(
|
|
6455
|
+
const om = /* @__PURE__ */ E(Ba, [["render", Pa]]), La = {
|
|
6411
6456
|
name: "SlideShowSlide",
|
|
6412
6457
|
props: {
|
|
6413
6458
|
/**
|
|
@@ -6760,7 +6805,7 @@ function mc(e) {
|
|
|
6760
6805
|
function gc(e) {
|
|
6761
6806
|
return this.__data__.has(e);
|
|
6762
6807
|
}
|
|
6763
|
-
var Es = typeof global == "object" && global && global.Object === Object && global, vc = typeof self == "object" && self && self.Object === Object && self,
|
|
6808
|
+
var Es = typeof global == "object" && global && global.Object === Object && global, vc = typeof self == "object" && self && self.Object === Object && self, se = Es || vc || Function("return this")(), Re = se.Symbol, Rs = Object.prototype, yc = Rs.hasOwnProperty, pc = Rs.toString, Pe = Re ? Re.toStringTag : void 0;
|
|
6764
6809
|
function bc(e) {
|
|
6765
6810
|
var n = yc.call(e, Pe), t = e[Pe];
|
|
6766
6811
|
try {
|
|
@@ -6790,7 +6835,7 @@ function js(e) {
|
|
|
6790
6835
|
var n = Ge(e);
|
|
6791
6836
|
return n == Ac || n == Tc || n == Cc || n == Oc;
|
|
6792
6837
|
}
|
|
6793
|
-
var It =
|
|
6838
|
+
var It = se["__core-js_shared__"], xn = function() {
|
|
6794
6839
|
var e = /[^.]+$/.exec(It && It.keys && It.keys.IE_PROTO || "");
|
|
6795
6840
|
return e ? "Symbol(src)_1." + e : "";
|
|
6796
6841
|
}();
|
|
@@ -6811,8 +6856,8 @@ function we(e) {
|
|
|
6811
6856
|
}
|
|
6812
6857
|
return "";
|
|
6813
6858
|
}
|
|
6814
|
-
var jc = /[\\^$.*+?()[\]{}|]/g, Ic = /^\[object .+?Constructor\]$/,
|
|
6815
|
-
"^" +
|
|
6859
|
+
var jc = /[\\^$.*+?()[\]{}|]/g, Ic = /^\[object .+?Constructor\]$/, Bc = Function.prototype, zc = Object.prototype, Mc = Bc.toString, Uc = zc.hasOwnProperty, Pc = RegExp(
|
|
6860
|
+
"^" + Mc.call(Uc).replace(jc, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6816
6861
|
);
|
|
6817
6862
|
function Lc(e) {
|
|
6818
6863
|
if (!$t(e) || xc(e))
|
|
@@ -6827,7 +6872,7 @@ function Se(e, n) {
|
|
|
6827
6872
|
var t = Fc(e, n);
|
|
6828
6873
|
return Lc(t) ? t : void 0;
|
|
6829
6874
|
}
|
|
6830
|
-
var qe = Se(
|
|
6875
|
+
var qe = Se(se, "Map"), Ke = Se(Object, "create");
|
|
6831
6876
|
function Vc() {
|
|
6832
6877
|
this.__data__ = Ke ? Ke(null) : {}, this.size = 0;
|
|
6833
6878
|
}
|
|
@@ -6918,15 +6963,15 @@ function iu(e, n) {
|
|
|
6918
6963
|
}
|
|
6919
6964
|
return t.set(e, n), this.size = t.size, this;
|
|
6920
6965
|
}
|
|
6921
|
-
function
|
|
6966
|
+
function Be(e) {
|
|
6922
6967
|
var n = this.__data__ = new ce(e);
|
|
6923
6968
|
this.size = n.size;
|
|
6924
6969
|
}
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6970
|
+
Be.prototype.clear = fc;
|
|
6971
|
+
Be.prototype.delete = hc;
|
|
6972
|
+
Be.prototype.get = mc;
|
|
6973
|
+
Be.prototype.has = gc;
|
|
6974
|
+
Be.prototype.set = iu;
|
|
6930
6975
|
function ru(e, n) {
|
|
6931
6976
|
for (var t = -1, s = e == null ? 0 : e.length; ++t < s && n(e[t], t, e) !== !1; )
|
|
6932
6977
|
;
|
|
@@ -6972,35 +7017,35 @@ var Is = Object.prototype, hu = Is.hasOwnProperty, mu = Is.propertyIsEnumerable,
|
|
|
6972
7017
|
function vu() {
|
|
6973
7018
|
return !1;
|
|
6974
7019
|
}
|
|
6975
|
-
var
|
|
7020
|
+
var Bs = typeof exports == "object" && exports && !exports.nodeType && exports, jn = Bs && typeof module == "object" && module && !module.nodeType && module, yu = jn && jn.exports === Bs, In = yu ? se.Buffer : void 0, pu = In ? In.isBuffer : void 0, zs = pu || vu, bu = 9007199254740991, _u = /^(?:0|[1-9]\d*)$/;
|
|
6976
7021
|
function wu(e, n) {
|
|
6977
7022
|
var t = typeof e;
|
|
6978
7023
|
return n = n ?? bu, !!n && (t == "number" || t != "symbol" && _u.test(e)) && e > -1 && e % 1 == 0 && e < n;
|
|
6979
7024
|
}
|
|
6980
7025
|
var Su = 9007199254740991;
|
|
6981
|
-
function
|
|
7026
|
+
function Ms(e) {
|
|
6982
7027
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Su;
|
|
6983
7028
|
}
|
|
6984
|
-
var ku = "[object Arguments]", $u = "[object Array]", Cu = "[object Boolean]", Au = "[object Date]", Tu = "[object Error]", Ou = "[object Function]", xu = "[object Map]", Eu = "[object Number]", Ru = "[object Object]", ju = "[object RegExp]", Iu = "[object Set]",
|
|
7029
|
+
var ku = "[object Arguments]", $u = "[object Array]", Cu = "[object Boolean]", Au = "[object Date]", Tu = "[object Error]", Ou = "[object Function]", xu = "[object Map]", Eu = "[object Number]", Ru = "[object Object]", ju = "[object RegExp]", Iu = "[object Set]", Bu = "[object String]", zu = "[object WeakMap]", Mu = "[object ArrayBuffer]", Uu = "[object DataView]", Pu = "[object Float32Array]", Lu = "[object Float64Array]", Fu = "[object Int8Array]", Vu = "[object Int16Array]", Hu = "[object Int32Array]", Nu = "[object Uint8Array]", Du = "[object Uint8ClampedArray]", Wu = "[object Uint16Array]", Xu = "[object Uint32Array]", L = {};
|
|
6985
7030
|
L[Pu] = L[Lu] = L[Fu] = L[Vu] = L[Hu] = L[Nu] = L[Du] = L[Wu] = L[Xu] = !0;
|
|
6986
|
-
L[ku] = L[$u] = L[
|
|
7031
|
+
L[ku] = L[$u] = L[Mu] = L[Cu] = L[Uu] = L[Au] = L[Tu] = L[Ou] = L[xu] = L[Eu] = L[Ru] = L[ju] = L[Iu] = L[Bu] = L[zu] = !1;
|
|
6987
7032
|
function Yu(e) {
|
|
6988
|
-
return Ze(e) &&
|
|
7033
|
+
return Ze(e) && Ms(e.length) && !!L[Ge(e)];
|
|
6989
7034
|
}
|
|
6990
7035
|
function fn(e) {
|
|
6991
7036
|
return function(n) {
|
|
6992
7037
|
return e(n);
|
|
6993
7038
|
};
|
|
6994
7039
|
}
|
|
6995
|
-
var
|
|
7040
|
+
var Us = typeof exports == "object" && exports && !exports.nodeType && exports, Ne = Us && typeof module == "object" && module && !module.nodeType && module, qu = Ne && Ne.exports === Us, Bt = qu && Es.process, je = function() {
|
|
6996
7041
|
try {
|
|
6997
7042
|
var e = Ne && Ne.require && Ne.require("util").types;
|
|
6998
|
-
return e ||
|
|
7043
|
+
return e || Bt && Bt.binding && Bt.binding("util");
|
|
6999
7044
|
} catch {
|
|
7000
7045
|
}
|
|
7001
|
-
}(),
|
|
7046
|
+
}(), Bn = je && je.isTypedArray, Ku = Bn ? fn(Bn) : Yu, Gu = Object.prototype, Zu = Gu.hasOwnProperty;
|
|
7002
7047
|
function Ju(e, n) {
|
|
7003
|
-
var t = dn(e), s = !t && gu(e), o = !t && !s &&
|
|
7048
|
+
var t = dn(e), s = !t && gu(e), o = !t && !s && zs(e), i = !t && !s && !o && Ku(e), r = t || s || o || i, l = r ? du(e.length, String) : [], a = l.length;
|
|
7004
7049
|
for (var c in e)
|
|
7005
7050
|
Zu.call(e, c) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7006
7051
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -7029,13 +7074,13 @@ function sd(e) {
|
|
|
7029
7074
|
return n;
|
|
7030
7075
|
}
|
|
7031
7076
|
function od(e) {
|
|
7032
|
-
return e != null &&
|
|
7077
|
+
return e != null && Ms(e.length) && !js(e);
|
|
7033
7078
|
}
|
|
7034
7079
|
function id(e) {
|
|
7035
7080
|
return od(e) ? Ju(e) : sd(e);
|
|
7036
7081
|
}
|
|
7037
|
-
var Fs = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
7038
|
-
|
|
7082
|
+
var Fs = typeof exports == "object" && exports && !exports.nodeType && exports, zn = Fs && typeof module == "object" && module && !module.nodeType && module, rd = zn && zn.exports === Fs, Mn = rd ? se.Buffer : void 0;
|
|
7083
|
+
Mn && Mn.allocUnsafe;
|
|
7039
7084
|
function ld(e, n) {
|
|
7040
7085
|
return e.slice();
|
|
7041
7086
|
}
|
|
@@ -7049,8 +7094,8 @@ function ad(e, n) {
|
|
|
7049
7094
|
function cd() {
|
|
7050
7095
|
return [];
|
|
7051
7096
|
}
|
|
7052
|
-
var ud = Object.prototype, dd = ud.propertyIsEnumerable,
|
|
7053
|
-
return e == null ? [] : (e = Object(e), ad(
|
|
7097
|
+
var ud = Object.prototype, dd = ud.propertyIsEnumerable, Un = Object.getOwnPropertySymbols, fd = Un ? function(e) {
|
|
7098
|
+
return e == null ? [] : (e = Object(e), ad(Un(e), function(n) {
|
|
7054
7099
|
return dd.call(e, n);
|
|
7055
7100
|
}));
|
|
7056
7101
|
} : cd;
|
|
@@ -7067,8 +7112,8 @@ function gd(e, n, t) {
|
|
|
7067
7112
|
function vd(e) {
|
|
7068
7113
|
return gd(e, id, fd);
|
|
7069
7114
|
}
|
|
7070
|
-
var Wt = Se(
|
|
7071
|
-
(Wt &&
|
|
7115
|
+
var Wt = Se(se, "DataView"), Xt = Se(se, "Promise"), Yt = Se(se, "Set"), qt = Se(se, "WeakMap"), Pn = "[object Map]", yd = "[object Object]", Ln = "[object Promise]", Fn = "[object Set]", Vn = "[object WeakMap]", Hn = "[object DataView]", pd = we(Wt), bd = we(qe), _d = we(Xt), wd = we(Yt), Sd = we(qt), re = Ge;
|
|
7116
|
+
(Wt && re(new Wt(new ArrayBuffer(1))) != Hn || qe && re(new qe()) != Pn || Xt && re(Xt.resolve()) != Ln || Yt && re(new Yt()) != Fn || qt && re(new qt()) != Vn) && (re = function(e) {
|
|
7072
7117
|
var n = Ge(e), t = n == yd ? e.constructor : void 0, s = t ? we(t) : "";
|
|
7073
7118
|
if (s)
|
|
7074
7119
|
switch (s) {
|
|
@@ -7090,7 +7135,7 @@ function Cd(e) {
|
|
|
7090
7135
|
var n = e.length, t = new e.constructor(n);
|
|
7091
7136
|
return n && typeof e[0] == "string" && $d.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
7092
7137
|
}
|
|
7093
|
-
var Nn =
|
|
7138
|
+
var Nn = se.Uint8Array;
|
|
7094
7139
|
function hn(e) {
|
|
7095
7140
|
var n = new e.constructor(e.byteLength);
|
|
7096
7141
|
return new Nn(n).set(new Nn(e)), n;
|
|
@@ -7112,7 +7157,7 @@ function Ed(e, n) {
|
|
|
7112
7157
|
var t = hn(e.buffer);
|
|
7113
7158
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
7114
7159
|
}
|
|
7115
|
-
var Rd = "[object Boolean]", jd = "[object Date]", Id = "[object Map]",
|
|
7160
|
+
var Rd = "[object Boolean]", jd = "[object Date]", Id = "[object Map]", Bd = "[object Number]", zd = "[object RegExp]", Md = "[object Set]", Ud = "[object String]", Pd = "[object Symbol]", Ld = "[object ArrayBuffer]", Fd = "[object DataView]", Vd = "[object Float32Array]", Hd = "[object Float64Array]", Nd = "[object Int8Array]", Dd = "[object Int16Array]", Wd = "[object Int32Array]", Xd = "[object Uint8Array]", Yd = "[object Uint8ClampedArray]", qd = "[object Uint16Array]", Kd = "[object Uint32Array]";
|
|
7116
7161
|
function Gd(e, n, t) {
|
|
7117
7162
|
var s = e.constructor;
|
|
7118
7163
|
switch (n) {
|
|
@@ -7135,12 +7180,12 @@ function Gd(e, n, t) {
|
|
|
7135
7180
|
return Ed(e);
|
|
7136
7181
|
case Id:
|
|
7137
7182
|
return new s();
|
|
7138
|
-
case zd:
|
|
7139
|
-
case Md:
|
|
7140
|
-
return new s(e);
|
|
7141
7183
|
case Bd:
|
|
7142
|
-
return Od(e);
|
|
7143
7184
|
case Ud:
|
|
7185
|
+
return new s(e);
|
|
7186
|
+
case zd:
|
|
7187
|
+
return Od(e);
|
|
7188
|
+
case Md:
|
|
7144
7189
|
return new s();
|
|
7145
7190
|
case Pd:
|
|
7146
7191
|
return xd(e);
|
|
@@ -7164,15 +7209,15 @@ function Jd(e) {
|
|
|
7164
7209
|
}
|
|
7165
7210
|
var Qd = "[object Map]";
|
|
7166
7211
|
function ef(e) {
|
|
7167
|
-
return Ze(e) &&
|
|
7212
|
+
return Ze(e) && re(e) == Qd;
|
|
7168
7213
|
}
|
|
7169
7214
|
var Yn = je && je.isMap, tf = Yn ? fn(Yn) : ef, nf = "[object Set]";
|
|
7170
7215
|
function sf(e) {
|
|
7171
|
-
return Ze(e) &&
|
|
7216
|
+
return Ze(e) && re(e) == nf;
|
|
7172
7217
|
}
|
|
7173
|
-
var qn = je && je.isSet, of = qn ? fn(qn) : sf, Vs = "[object Arguments]", rf = "[object Array]", lf = "[object Boolean]", af = "[object Date]", cf = "[object Error]", Hs = "[object Function]", uf = "[object GeneratorFunction]", df = "[object Map]", ff = "[object Number]", Ns = "[object Object]", hf = "[object RegExp]", mf = "[object Set]", gf = "[object String]", vf = "[object Symbol]", yf = "[object WeakMap]", pf = "[object ArrayBuffer]", bf = "[object DataView]", _f = "[object Float32Array]", wf = "[object Float64Array]", Sf = "[object Int8Array]", kf = "[object Int16Array]", $f = "[object Int32Array]", Cf = "[object Uint8Array]", Af = "[object Uint8ClampedArray]", Tf = "[object Uint16Array]", Of = "[object Uint32Array]",
|
|
7174
|
-
|
|
7175
|
-
|
|
7218
|
+
var qn = je && je.isSet, of = qn ? fn(qn) : sf, Vs = "[object Arguments]", rf = "[object Array]", lf = "[object Boolean]", af = "[object Date]", cf = "[object Error]", Hs = "[object Function]", uf = "[object GeneratorFunction]", df = "[object Map]", ff = "[object Number]", Ns = "[object Object]", hf = "[object RegExp]", mf = "[object Set]", gf = "[object String]", vf = "[object Symbol]", yf = "[object WeakMap]", pf = "[object ArrayBuffer]", bf = "[object DataView]", _f = "[object Float32Array]", wf = "[object Float64Array]", Sf = "[object Int8Array]", kf = "[object Int16Array]", $f = "[object Int32Array]", Cf = "[object Uint8Array]", Af = "[object Uint8ClampedArray]", Tf = "[object Uint16Array]", Of = "[object Uint32Array]", M = {};
|
|
7219
|
+
M[Vs] = M[rf] = M[pf] = M[bf] = M[lf] = M[af] = M[_f] = M[wf] = M[Sf] = M[kf] = M[$f] = M[df] = M[ff] = M[Ns] = M[hf] = M[mf] = M[gf] = M[vf] = M[Cf] = M[Af] = M[Tf] = M[Of] = !0;
|
|
7220
|
+
M[cf] = M[Hs] = M[yf] = !1;
|
|
7176
7221
|
function lt(e, n, t, s, o, i) {
|
|
7177
7222
|
var r;
|
|
7178
7223
|
if (r !== void 0)
|
|
@@ -7183,18 +7228,18 @@ function lt(e, n, t, s, o, i) {
|
|
|
7183
7228
|
if (l)
|
|
7184
7229
|
r = Cd(e);
|
|
7185
7230
|
else {
|
|
7186
|
-
var a =
|
|
7187
|
-
if (
|
|
7231
|
+
var a = re(e), c = a == Hs || a == uf;
|
|
7232
|
+
if (zs(e))
|
|
7188
7233
|
return ld(e);
|
|
7189
7234
|
if (a == Ns || a == Vs || c && !o)
|
|
7190
7235
|
r = c ? {} : Jd(e);
|
|
7191
7236
|
else {
|
|
7192
|
-
if (!
|
|
7237
|
+
if (!M[a])
|
|
7193
7238
|
return o ? e : {};
|
|
7194
7239
|
r = Gd(e, a);
|
|
7195
7240
|
}
|
|
7196
7241
|
}
|
|
7197
|
-
i || (i = new
|
|
7242
|
+
i || (i = new Be());
|
|
7198
7243
|
var f = i.get(e);
|
|
7199
7244
|
if (f)
|
|
7200
7245
|
return f;
|
|
@@ -7212,7 +7257,7 @@ var xf = 1, Ef = 4;
|
|
|
7212
7257
|
function Rf(e) {
|
|
7213
7258
|
return lt(e, xf | Ef);
|
|
7214
7259
|
}
|
|
7215
|
-
const
|
|
7260
|
+
const zt = (e) => e.every((n) => typeof n == "object"), Kn = !0, Ds = () => window.innerWidth;
|
|
7216
7261
|
let Gn = Ds();
|
|
7217
7262
|
const jf = {
|
|
7218
7263
|
name: "UluTableSticky",
|
|
@@ -7269,7 +7314,7 @@ const jf = {
|
|
|
7269
7314
|
*/
|
|
7270
7315
|
columns: {
|
|
7271
7316
|
type: Array,
|
|
7272
|
-
validator:
|
|
7317
|
+
validator: zt,
|
|
7273
7318
|
required: Kn
|
|
7274
7319
|
},
|
|
7275
7320
|
/**
|
|
@@ -7290,7 +7335,7 @@ const jf = {
|
|
|
7290
7335
|
*/
|
|
7291
7336
|
rows: {
|
|
7292
7337
|
type: Array,
|
|
7293
|
-
validator:
|
|
7338
|
+
validator: zt
|
|
7294
7339
|
// required
|
|
7295
7340
|
},
|
|
7296
7341
|
/**
|
|
@@ -7298,7 +7343,7 @@ const jf = {
|
|
|
7298
7343
|
*/
|
|
7299
7344
|
footerRows: {
|
|
7300
7345
|
type: Array,
|
|
7301
|
-
validator:
|
|
7346
|
+
validator: zt
|
|
7302
7347
|
},
|
|
7303
7348
|
/**
|
|
7304
7349
|
* Enables the visibility of the scroll controls
|
|
@@ -7618,7 +7663,7 @@ const jf = {
|
|
|
7618
7663
|
unmounted() {
|
|
7619
7664
|
this.columnResizeObserver.disconnect(), this.columnResizeObserver = null;
|
|
7620
7665
|
}
|
|
7621
|
-
}, If = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--header" },
|
|
7666
|
+
}, If = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--header" }, Bf = { class: "table-sticky__header-wrap" }, zf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--first-column-header" }, Mf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--controls" }, Uf = {
|
|
7622
7667
|
key: 2,
|
|
7623
7668
|
class: "table-sticky__controls-inner"
|
|
7624
7669
|
}, Pf = ["disabled"], Lf = ["disabled"], Ff = {
|
|
@@ -7635,7 +7680,7 @@ function Vf(e, n, t, s, o, i) {
|
|
|
7635
7680
|
}])
|
|
7636
7681
|
}, [
|
|
7637
7682
|
h("div", If, [
|
|
7638
|
-
h("div",
|
|
7683
|
+
h("div", Bf, [
|
|
7639
7684
|
R(r, {
|
|
7640
7685
|
ref: "header",
|
|
7641
7686
|
class: "table-sticky__table table-sticky__table--header",
|
|
@@ -7661,7 +7706,7 @@ function Vf(e, n, t, s, o, i) {
|
|
|
7661
7706
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
7662
7707
|
])
|
|
7663
7708
|
]),
|
|
7664
|
-
h("div",
|
|
7709
|
+
h("div", zf, [
|
|
7665
7710
|
t.firstColumnSticky ? (u(), _(r, {
|
|
7666
7711
|
key: 0,
|
|
7667
7712
|
ref: "firstColumnHeader",
|
|
@@ -7686,7 +7731,7 @@ function Vf(e, n, t, s, o, i) {
|
|
|
7686
7731
|
}))
|
|
7687
7732
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : b("", !0)
|
|
7688
7733
|
]),
|
|
7689
|
-
h("div",
|
|
7734
|
+
h("div", Mf, [
|
|
7690
7735
|
Oe(h("div", {
|
|
7691
7736
|
class: m(["table-sticky__controls", i.resolveClasses(t.classes.controls)]),
|
|
7692
7737
|
ref: "controls"
|
|
@@ -7703,7 +7748,7 @@ function Vf(e, n, t, s, o, i) {
|
|
|
7703
7748
|
scrollRight: i.scrollRight,
|
|
7704
7749
|
canScrollLeft: o.canScrollLeft,
|
|
7705
7750
|
canScrollRight: o.canScrollRight
|
|
7706
|
-
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (u(), d("div",
|
|
7751
|
+
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (u(), d("div", Uf, [
|
|
7707
7752
|
h("button", {
|
|
7708
7753
|
class: m(["table-sticky__control table-sticky__control--left", i.resolveClasses(t.classes.controlButton)]),
|
|
7709
7754
|
"aria-label": "Scroll Left",
|
|
@@ -7726,7 +7771,7 @@ function Vf(e, n, t, s, o, i) {
|
|
|
7726
7771
|
], 10, Lf)
|
|
7727
7772
|
]))
|
|
7728
7773
|
], 2), [
|
|
7729
|
-
[
|
|
7774
|
+
[Mt, i.controlsShown]
|
|
7730
7775
|
])
|
|
7731
7776
|
]),
|
|
7732
7777
|
h("div", Ff, [
|
|
@@ -7793,7 +7838,7 @@ const rm = /* @__PURE__ */ E(jf, [["render", Vf]]), lm = /* @__PURE__ */ Object.
|
|
|
7793
7838
|
router: Fi
|
|
7794
7839
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7795
7840
|
export {
|
|
7796
|
-
|
|
7841
|
+
Bh as $,
|
|
7797
7842
|
mh as A,
|
|
7798
7843
|
N as B,
|
|
7799
7844
|
gh as C,
|
|
@@ -7822,9 +7867,9 @@ export {
|
|
|
7822
7867
|
Ih as Z,
|
|
7823
7868
|
$n as _,
|
|
7824
7869
|
st as a,
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7870
|
+
zh as a0,
|
|
7871
|
+
Mh as a1,
|
|
7872
|
+
Uh as a2,
|
|
7828
7873
|
Ph as a3,
|
|
7829
7874
|
Lh as a4,
|
|
7830
7875
|
Fh as a5,
|
|
@@ -7854,7 +7899,7 @@ export {
|
|
|
7854
7899
|
Wa as as,
|
|
7855
7900
|
oc as at,
|
|
7856
7901
|
Ro as au,
|
|
7857
|
-
|
|
7902
|
+
ne as av,
|
|
7858
7903
|
Ai as aw,
|
|
7859
7904
|
Oi as ax,
|
|
7860
7905
|
si as ay,
|
|
@@ -7864,7 +7909,7 @@ export {
|
|
|
7864
7909
|
Gf as d,
|
|
7865
7910
|
Zf as e,
|
|
7866
7911
|
Jf as f,
|
|
7867
|
-
|
|
7912
|
+
zo as g,
|
|
7868
7913
|
Ht as h,
|
|
7869
7914
|
lm as i,
|
|
7870
7915
|
Qf as j,
|