@ulu/frontend-vue 0.1.1-beta.14 → 0.1.1-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/{breakpoints-C2dyQISk.js → breakpoints-B0Wreot9.js} +1 -1
- package/dist/frontend-vue.css +1 -1
- package/dist/frontend-vue.js +1 -1
- package/dist/{index-C9eXElLr.js → index-slmI2p79.js} +860 -809
- package/lib/components/systems/facets/UluFacetsActiveFilters.vue +88 -68
- package/lib/components/systems/facets/UluFacetsFilterLists.vue +7 -7
- package/lib/components/systems/facets/UluFacetsList.vue +1 -1
- package/lib/components/systems/facets/UluFacetsSearch.vue +1 -1
- package/lib/plugins/core/index.js +1 -0
- package/package.json +3 -3
- package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts +6 -0
- package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts.map +1 -1
- package/types/plugins/core/index.d.ts.map +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { reactive as qt, ref as R, computed as w, resolveDirective as Gn, createElementBlock as d, openBlock as u, Fragment as x, withDirectives as Oe, createElementVNode as h, unref as
|
|
1
|
+
import { reactive as qt, ref as R, computed as w, resolveDirective as Gn, createElementBlock as d, openBlock as u, Fragment as x, withDirectives as Oe, createElementVNode as h, unref as A, normalizeClass as m, renderSlot as g, createTextVNode as k, toDisplayString as p, withKeys as Zn, normalizeStyle as H, createCommentVNode as b, nextTick as Qn, toRef as Ws, createBlock as _, Teleport as dt, resolveDynamicComponent as F, mergeProps as le, inject as ft, watchEffect as ht, defineAsyncComponent as Xs, markRaw as xe, toRefs as Ys, toValue as ot, resolveComponent as D, withModifiers as qs, createVNode as z, useSlots as Ks, renderList as O, TransitionGroup as Jn, withCtx as S, onMounted as mt, onBeforeUnmount as es, watch as De, isRef as Gs, hasInjectionContext as Zs, getCurrentInstance as Qs, onDeactivated as Js, onActivated as eo, onUnmounted as ts, normalizeProps as ee, guardReactiveProps as te, vModelText as to, vShow as Bt, createSlots as Ae } from "vue";
|
|
2
2
|
import { inline as ns, offset as ss, flip as os, shift as is, arrow as rs, useFloating as ls, autoUpdate as as } from "@floating-ui/vue";
|
|
3
|
-
import { useRoute as cs, useRouter as
|
|
4
|
-
import { Tab as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { useRoute as cs, useRouter as no, RouterLink as gt } from "vue-router";
|
|
4
|
+
import { Tab as so, TabGroup as oo, TabList as io, TabPanel as ro, TabPanels as lo } from "@headlessui/vue";
|
|
5
|
+
import ao from "gsap";
|
|
6
|
+
import co from "fuse.js";
|
|
7
7
|
const mn = {
|
|
8
8
|
fontAwesomeStatic: !1,
|
|
9
9
|
iconComponent: null,
|
|
@@ -15,6 +15,7 @@ const mn = {
|
|
|
15
15
|
success: "fas fa-circle-check",
|
|
16
16
|
externalLink: "fas fa-arrow-up-right-from-square",
|
|
17
17
|
close: "fas fa-xmark",
|
|
18
|
+
remove: "fas fa-xmark",
|
|
18
19
|
expand: "fas fa-plus",
|
|
19
20
|
collapse: "fas fa-minus",
|
|
20
21
|
resizeHorizontal: "fas fa-grip-lines-vertical",
|
|
@@ -29,7 +30,7 @@ const mn = {
|
|
|
29
30
|
dropdownExpand: "fas fa-caret-down"
|
|
30
31
|
}
|
|
31
32
|
};
|
|
32
|
-
function
|
|
33
|
+
function Xf(e, n = {}) {
|
|
33
34
|
const t = qt({ ...mn }), { iconsByType: s, ...o } = n || {};
|
|
34
35
|
o && Object.assign(t, o);
|
|
35
36
|
const i = {
|
|
@@ -182,19 +183,19 @@ const nt = {
|
|
|
182
183
|
popover: { ...nt.popover },
|
|
183
184
|
tooltip: { ...nt.tooltip, ...nt.popover }
|
|
184
185
|
}, Kt = R(!1), Gt = R(null);
|
|
185
|
-
function
|
|
186
|
+
function uo(e = {}) {
|
|
186
187
|
return Object.assign(ve.popover, e.popover), Object.assign(ve.tooltip, e.tooltip), Object.assign(ve.plugin, e.plugin), ve;
|
|
187
188
|
}
|
|
188
|
-
function
|
|
189
|
+
function fo(e) {
|
|
189
190
|
return Object.assign({}, ve.tooltip, e);
|
|
190
191
|
}
|
|
191
|
-
function
|
|
192
|
+
function ho(e) {
|
|
192
193
|
Kt.value = !0, Gt.value = e;
|
|
193
194
|
}
|
|
194
|
-
function
|
|
195
|
+
function mo() {
|
|
195
196
|
Kt.value = !1, Gt.value = null;
|
|
196
197
|
}
|
|
197
|
-
const it = /* @__PURE__ */ new WeakMap(),
|
|
198
|
+
const it = /* @__PURE__ */ new WeakMap(), go = {
|
|
198
199
|
mounted(e, n) {
|
|
199
200
|
gn(e, n);
|
|
200
201
|
},
|
|
@@ -209,15 +210,15 @@ const it = /* @__PURE__ */ new WeakMap(), vo = {
|
|
|
209
210
|
}
|
|
210
211
|
};
|
|
211
212
|
function gn(e, n) {
|
|
212
|
-
const t =
|
|
213
|
+
const t = vo(e, n);
|
|
213
214
|
if (!t) return;
|
|
214
215
|
let s = null;
|
|
215
216
|
const o = () => {
|
|
216
217
|
s || (s = setTimeout(() => {
|
|
217
|
-
|
|
218
|
+
ho(t), clearTimeout(s);
|
|
218
219
|
}, t.delay));
|
|
219
220
|
}, i = () => {
|
|
220
|
-
s && (clearTimeout(s), s = null),
|
|
221
|
+
s && (clearTimeout(s), s = null), mo();
|
|
221
222
|
};
|
|
222
223
|
t.showEvents.forEach((r) => {
|
|
223
224
|
e.addEventListener(r, o);
|
|
@@ -235,17 +236,17 @@ function vn(e) {
|
|
|
235
236
|
e.removeEventListener(o, s);
|
|
236
237
|
}), it.delete(e);
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
+
function vo(e, n) {
|
|
239
240
|
const { value: t } = n;
|
|
240
241
|
let s;
|
|
241
242
|
if (!(t === !1 || t === null))
|
|
242
|
-
return typeof t == "object" ? s = t : s = { content: t },
|
|
243
|
+
return typeof t == "object" ? s = t : s = { content: t }, fo(Object.assign({}, { trigger: e }, s));
|
|
243
244
|
}
|
|
244
|
-
let
|
|
245
|
+
let yo = 0;
|
|
245
246
|
function yn() {
|
|
246
|
-
return `ulu-popovers-uid-${++
|
|
247
|
+
return `ulu-popovers-uid-${++yo}`;
|
|
247
248
|
}
|
|
248
|
-
const
|
|
249
|
+
const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], bo = ["aria-labelledby", "id", "data-placement"], _o = { class: "popover__inner" }, wo = {
|
|
249
250
|
key: 0,
|
|
250
251
|
class: "popover__footer"
|
|
251
252
|
}, vt = {
|
|
@@ -292,12 +293,12 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
292
293
|
middleware: y
|
|
293
294
|
}, {
|
|
294
295
|
floatingStyles: $,
|
|
295
|
-
placement:
|
|
296
|
-
middlewareData:
|
|
296
|
+
placement: T,
|
|
297
|
+
middlewareData: U,
|
|
297
298
|
update: j,
|
|
298
299
|
isPositioned: ue
|
|
299
300
|
} = ls(a, c, v), Qe = w(() => {
|
|
300
|
-
const X =
|
|
301
|
+
const X = U.value?.arrow;
|
|
301
302
|
return X ? {
|
|
302
303
|
position: "absolute",
|
|
303
304
|
left: X?.x != null ? `${X.x}px` : "",
|
|
@@ -310,9 +311,9 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
310
311
|
}, ge = (X) => {
|
|
311
312
|
l.value = X;
|
|
312
313
|
const fe = {
|
|
313
|
-
trigger:
|
|
314
|
-
content:
|
|
315
|
-
isOpen:
|
|
314
|
+
trigger: A(a),
|
|
315
|
+
content: A(c),
|
|
316
|
+
isOpen: A(l)
|
|
316
317
|
}, ke = { isOpen: fe.isOpen };
|
|
317
318
|
Qn(() => {
|
|
318
319
|
l.value ? (j(), window.setTimeout(() => {
|
|
@@ -336,14 +337,14 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
336
337
|
ref_key: "trigger",
|
|
337
338
|
ref: a,
|
|
338
339
|
onClick: Je,
|
|
339
|
-
id:
|
|
340
|
+
id: A(i),
|
|
340
341
|
disabled: e.disabled,
|
|
341
342
|
class: m([
|
|
342
343
|
{ [e.activeClass]: l.value },
|
|
343
344
|
e.classes.trigger
|
|
344
345
|
]),
|
|
345
346
|
"aria-expanded": l.value ? "true" : "false",
|
|
346
|
-
"aria-controls":
|
|
347
|
+
"aria-controls": A(o),
|
|
347
348
|
"aria-label": e.triggerAlt
|
|
348
349
|
}, [
|
|
349
350
|
g(X.$slots, "trigger", {
|
|
@@ -352,7 +353,7 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
352
353
|
}, () => [
|
|
353
354
|
k(p(e.triggerText), 1)
|
|
354
355
|
])
|
|
355
|
-
], 10,
|
|
356
|
+
], 10, po)), [
|
|
356
357
|
[ke, e.tooltip ? e.tooltip : null]
|
|
357
358
|
]),
|
|
358
359
|
h("span", {
|
|
@@ -366,24 +367,24 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
366
367
|
]]),
|
|
367
368
|
ref_key: "content",
|
|
368
369
|
ref: c,
|
|
369
|
-
"aria-labelledby":
|
|
370
|
-
id:
|
|
371
|
-
style: H(
|
|
372
|
-
"data-placement": T
|
|
370
|
+
"aria-labelledby": A(i),
|
|
371
|
+
id: A(o),
|
|
372
|
+
style: H(A($)),
|
|
373
|
+
"data-placement": A(T),
|
|
373
374
|
onKeydown: fe[0] || (fe[0] = Zn((hn) => ge(!1), ["esc"])),
|
|
374
375
|
tabindex: "-1"
|
|
375
376
|
}, [
|
|
376
|
-
h("span",
|
|
377
|
+
h("span", _o, [
|
|
377
378
|
g(X.$slots, "default", {
|
|
378
379
|
isOpen: l.value,
|
|
379
380
|
toggle: Je,
|
|
380
381
|
close: de
|
|
381
382
|
})
|
|
382
383
|
]),
|
|
383
|
-
X.$slots.footer ? (u(), d("span",
|
|
384
|
+
X.$slots.footer ? (u(), d("span", wo, [
|
|
384
385
|
g(X.$slots, "footer", { close: de })
|
|
385
386
|
])) : b("", !0),
|
|
386
|
-
|
|
387
|
+
A(r).arrow ? (u(), d("span", {
|
|
387
388
|
key: 1,
|
|
388
389
|
class: "popover__arrow",
|
|
389
390
|
ref_key: "contentArrow",
|
|
@@ -391,20 +392,20 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
391
392
|
style: H(Qe.value),
|
|
392
393
|
"data-ulu-popover-arrow": ""
|
|
393
394
|
}, null, 4)) : b("", !0)
|
|
394
|
-
], 46,
|
|
395
|
+
], 46, bo)
|
|
395
396
|
], 64);
|
|
396
397
|
};
|
|
397
398
|
}
|
|
398
|
-
},
|
|
399
|
+
}, So = ["data-placement"], ko = ["innerHTML"], $o = {
|
|
399
400
|
key: 1,
|
|
400
401
|
class: "popover__inner"
|
|
401
|
-
},
|
|
402
|
+
}, Co = {
|
|
402
403
|
__name: "UluTooltipPopover",
|
|
403
404
|
props: {
|
|
404
405
|
config: Object
|
|
405
406
|
},
|
|
406
407
|
setup(e) {
|
|
407
|
-
const n =
|
|
408
|
+
const n = Ws(e.config.trigger), t = R(null), s = R(null), o = [
|
|
408
409
|
...e.config.inline ? [ns()] : [],
|
|
409
410
|
...e.config.offset ? [ss(e.config.offset)] : [],
|
|
410
411
|
os(),
|
|
@@ -433,14 +434,14 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
433
434
|
ref_key: "content",
|
|
434
435
|
ref: t,
|
|
435
436
|
"aria-hidden": "true",
|
|
436
|
-
"data-placement":
|
|
437
|
-
style: H(
|
|
437
|
+
"data-placement": A(l),
|
|
438
|
+
style: H(A(r))
|
|
438
439
|
}, [
|
|
439
440
|
e.config.isHtml ? (u(), d("span", {
|
|
440
441
|
key: 0,
|
|
441
442
|
class: "popover__inner",
|
|
442
443
|
innerHTML: e.config.content
|
|
443
|
-
}, null, 8,
|
|
444
|
+
}, null, 8, ko)) : (u(), d("span", $o, p(e.config.content), 1)),
|
|
444
445
|
e.config.arrow ? (u(), d("span", {
|
|
445
446
|
key: 2,
|
|
446
447
|
class: "popover__arrow",
|
|
@@ -448,31 +449,31 @@ const bo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], _
|
|
|
448
449
|
ref: s,
|
|
449
450
|
style: H(y.value)
|
|
450
451
|
}, null, 4)) : b("", !0)
|
|
451
|
-
], 14,
|
|
452
|
+
], 14, So));
|
|
452
453
|
}
|
|
453
454
|
}, To = {
|
|
454
455
|
__name: "UluTooltipDisplay",
|
|
455
456
|
setup(e) {
|
|
456
457
|
return (n, t) => (u(), _(dt, {
|
|
457
|
-
to:
|
|
458
|
+
to: A(ve).plugin.tooltipTeleportTo
|
|
458
459
|
}, [
|
|
459
|
-
|
|
460
|
+
A(Kt) ? (u(), _(Co, {
|
|
460
461
|
key: 0,
|
|
461
|
-
config:
|
|
462
|
+
config: A(Gt)
|
|
462
463
|
}, null, 8, ["config"])) : b("", !0)
|
|
463
464
|
], 8, ["to"]));
|
|
464
465
|
}
|
|
465
466
|
};
|
|
466
|
-
function
|
|
467
|
-
const t =
|
|
468
|
-
t.plugin.global && (e.directive(t.plugin.directiveName,
|
|
467
|
+
function Yf(e, n = {}) {
|
|
468
|
+
const t = uo(n);
|
|
469
|
+
t.plugin.global && (e.directive(t.plugin.directiveName, go), e.component("UluTooltipDisplay", To), e.component("UluPopover", vt));
|
|
469
470
|
}
|
|
470
471
|
const E = (e, n) => {
|
|
471
472
|
const t = e.__vccOpts || e;
|
|
472
473
|
for (const [s, o] of n)
|
|
473
474
|
t[s] = o;
|
|
474
475
|
return t;
|
|
475
|
-
},
|
|
476
|
+
}, Ao = {
|
|
476
477
|
name: "UluModalsDisplay",
|
|
477
478
|
emits: [
|
|
478
479
|
"modal-unmount",
|
|
@@ -512,16 +513,16 @@ const E = (e, n) => {
|
|
|
512
513
|
}
|
|
513
514
|
}
|
|
514
515
|
};
|
|
515
|
-
function
|
|
516
|
-
return i.currentModal ? (u(), _(
|
|
516
|
+
function Oo(e, n, t, s, o, i) {
|
|
517
|
+
return i.currentModal ? (u(), _(F(i.currentModal.component), le({ key: 0 }, i.currentProps, {
|
|
517
518
|
modelValue: o.open,
|
|
518
519
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => o.open = r),
|
|
519
520
|
onVnodeMounted: i.modalMounted,
|
|
520
521
|
onVnodeUnmounted: i.modalUnmounted
|
|
521
522
|
}), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : b("", !0);
|
|
522
523
|
}
|
|
523
|
-
const
|
|
524
|
-
function
|
|
524
|
+
const xo = /* @__PURE__ */ E(Ao, [["render", Oo]]);
|
|
525
|
+
function Eo() {
|
|
525
526
|
return { getIconProps: (t) => t ? typeof t == "object" && !Array.isArray(t) ? t : { icon: t } : null, getClassesFromDefinition: (t) => {
|
|
526
527
|
if (!t)
|
|
527
528
|
return null;
|
|
@@ -552,19 +553,19 @@ const N = {
|
|
|
552
553
|
spaced: Boolean
|
|
553
554
|
},
|
|
554
555
|
setup(e) {
|
|
555
|
-
const n = ft("uluCore"), t = R(null), { getIconProps: s, getClassesFromDefinition: o } =
|
|
556
|
+
const n = ft("uluCore"), t = R(null), { getIconProps: s, getClassesFromDefinition: o } = Eo();
|
|
556
557
|
let i;
|
|
557
558
|
const r = e, l = w(() => n.getSetting("fontAwesomeStatic")), a = w(() => n.getSetting("iconComponent")), c = w(() => n.getSetting("iconPropResolver")), f = w(() => {
|
|
558
|
-
const { icon:
|
|
559
|
-
if (typeof
|
|
559
|
+
const { icon: U } = r;
|
|
560
|
+
if (typeof U == "string" && U.startsWith("type:"))
|
|
560
561
|
try {
|
|
561
|
-
const j =
|
|
562
|
+
const j = U.substring(5);
|
|
562
563
|
return n.getIcon(j);
|
|
563
564
|
} catch (j) {
|
|
564
565
|
return console.warn(j), null;
|
|
565
566
|
}
|
|
566
|
-
return
|
|
567
|
-
}), y = w(() => !a.value || !f.value ? null : c.value(f.value)), v = w(() => s(f.value)), $ = w(() => o(f.value)),
|
|
567
|
+
return U;
|
|
568
|
+
}), y = w(() => !a.value || !f.value ? null : c.value(f.value)), v = w(() => s(f.value)), $ = w(() => o(f.value)), T = w(() => ({
|
|
568
569
|
"flow-inline": r.spaced
|
|
569
570
|
}));
|
|
570
571
|
return ht(async () => {
|
|
@@ -573,22 +574,22 @@ const N = {
|
|
|
573
574
|
if (i)
|
|
574
575
|
t.value = xe(i.FontAwesomeIcon);
|
|
575
576
|
else {
|
|
576
|
-
const
|
|
577
|
+
const U = Xs(async () => {
|
|
577
578
|
const j = await import("./index.es-HlG3u0J5.js");
|
|
578
579
|
return i = j, j.FontAwesomeIcon;
|
|
579
580
|
});
|
|
580
|
-
t.value = xe(
|
|
581
|
+
t.value = xe(U);
|
|
581
582
|
}
|
|
582
583
|
} else
|
|
583
584
|
t.value = null;
|
|
584
|
-
}), (
|
|
585
|
+
}), (U, j) => a.value ? (u(), _(F(a.value), le({ key: 0 }, y.value, { class: T.value }), null, 16, ["class"])) : !l.value && t.value && f.value ? (u(), _(F(t.value), le({ key: 1 }, v.value, { class: T.value }), null, 16, ["class"])) : l.value && f.value ? (u(), d("span", {
|
|
585
586
|
key: 2,
|
|
586
|
-
class: m([$.value,
|
|
587
|
+
class: m([$.value, T.value]),
|
|
587
588
|
"aria-hidden": "true"
|
|
588
589
|
}, null, 2)) : b("", !0);
|
|
589
590
|
}
|
|
590
591
|
};
|
|
591
|
-
function
|
|
592
|
+
function Mt(e) {
|
|
592
593
|
const n = /* @__PURE__ */ new Set();
|
|
593
594
|
if (!e)
|
|
594
595
|
return n;
|
|
@@ -598,7 +599,7 @@ function Ut(e) {
|
|
|
598
599
|
});
|
|
599
600
|
else if (Array.isArray(e))
|
|
600
601
|
e.forEach((t) => {
|
|
601
|
-
|
|
602
|
+
Mt(t).forEach((s) => n.add(s));
|
|
602
603
|
});
|
|
603
604
|
else if (typeof e == "object")
|
|
604
605
|
for (const t in e)
|
|
@@ -606,9 +607,9 @@ function Ut(e) {
|
|
|
606
607
|
return n;
|
|
607
608
|
}
|
|
608
609
|
function ae({ props: e, baseClass: n, internal: t = {} }) {
|
|
609
|
-
const { modifiers: s } =
|
|
610
|
+
const { modifiers: s } = Ys(e);
|
|
610
611
|
return { resolvedModifiers: w(() => {
|
|
611
|
-
const i = ot(n), r =
|
|
612
|
+
const i = ot(n), r = Mt(ot(s)), l = Mt(ot(t));
|
|
612
613
|
if (!i)
|
|
613
614
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
614
615
|
const a = /* @__PURE__ */ new Set([...l, ...r]);
|
|
@@ -618,20 +619,20 @@ function ae({ props: e, baseClass: n, internal: t = {} }) {
|
|
|
618
619
|
function us() {
|
|
619
620
|
return typeof window < "u" && typeof window.document < "u";
|
|
620
621
|
}
|
|
621
|
-
function
|
|
622
|
+
function Ro(e, n) {
|
|
622
623
|
const t = e.getBoundingClientRect();
|
|
623
624
|
return n.clientY < t.top || // above
|
|
624
625
|
n.clientY > t.top + t.height || // below
|
|
625
626
|
n.clientX < t.left || // left side
|
|
626
627
|
n.clientX > t.left + t.width;
|
|
627
628
|
}
|
|
628
|
-
function
|
|
629
|
+
function jo(e = document.body, n = window) {
|
|
629
630
|
return n.innerWidth - e.clientWidth;
|
|
630
631
|
}
|
|
631
|
-
function
|
|
632
|
+
function Io({ preventShift: e = !1, container: n = document.body }) {
|
|
632
633
|
const t = n.style.overflow, s = n.style.paddingRight;
|
|
633
634
|
if (n.style.overflow = "hidden", e) {
|
|
634
|
-
const o =
|
|
635
|
+
const o = jo();
|
|
635
636
|
if (o > 0) {
|
|
636
637
|
const i = parseInt(s || "0px", 10);
|
|
637
638
|
n.style.paddingRight = `${i + o}px`;
|
|
@@ -650,7 +651,7 @@ function yt(e, n, t, s) {
|
|
|
650
651
|
clearTimeout(o), o = setTimeout(a, n), c && e.apply(r, l);
|
|
651
652
|
};
|
|
652
653
|
}
|
|
653
|
-
us() && (
|
|
654
|
+
us() && (Bo(), Mo());
|
|
654
655
|
const pn = {
|
|
655
656
|
/**
|
|
656
657
|
* Event is dispatched when DOM in the page has changed, triggers updates from
|
|
@@ -679,36 +680,36 @@ const pn = {
|
|
|
679
680
|
e.dispatchEvent(Le("afterPrint"));
|
|
680
681
|
}
|
|
681
682
|
};
|
|
682
|
-
function
|
|
683
|
+
function Ut(e, n) {
|
|
683
684
|
pn[e] ? pn[e](n) : console.warn(`Unable to dispatch site event: ${e} in context:`, n);
|
|
684
685
|
}
|
|
685
|
-
function
|
|
686
|
+
function zo(e) {
|
|
686
687
|
return "ulu:" + e;
|
|
687
688
|
}
|
|
688
689
|
function Le(e, n = null, t = { bubbles: !0 }) {
|
|
689
|
-
return new CustomEvent(
|
|
690
|
-
}
|
|
691
|
-
function Uo() {
|
|
692
|
-
window.addEventListener("resize", yt(() => Bt("pageResized", document), 250));
|
|
690
|
+
return new CustomEvent(zo(e), { detail: n, ...t });
|
|
693
691
|
}
|
|
694
692
|
function Bo() {
|
|
693
|
+
window.addEventListener("resize", yt(() => Ut("pageResized", document), 250));
|
|
694
|
+
}
|
|
695
|
+
function Mo() {
|
|
695
696
|
window.addEventListener("beforeprint", () => {
|
|
696
|
-
|
|
697
|
+
Ut("beforePrint", document);
|
|
697
698
|
}), window.addEventListener("afterprint", () => {
|
|
698
|
-
|
|
699
|
+
Ut("afterPrint", document);
|
|
699
700
|
});
|
|
700
701
|
}
|
|
701
|
-
function
|
|
702
|
+
function Uo(e) {
|
|
702
703
|
return typeof e == "object" && e?.constructor?.name;
|
|
703
704
|
}
|
|
704
|
-
function
|
|
705
|
-
const s =
|
|
705
|
+
function Po(e, n, t) {
|
|
706
|
+
const s = Uo(n) || "Logger";
|
|
706
707
|
console[e](s, ...t);
|
|
707
708
|
}
|
|
708
709
|
function Ce(e, ...n) {
|
|
709
710
|
}
|
|
710
711
|
function st(e, ...n) {
|
|
711
|
-
|
|
712
|
+
Po("error", e, n);
|
|
712
713
|
}
|
|
713
714
|
class Zt {
|
|
714
715
|
static defaults = {
|
|
@@ -941,8 +942,8 @@ class Zt {
|
|
|
941
942
|
this.container.dispatchEvent(Le(n, t));
|
|
942
943
|
}
|
|
943
944
|
}
|
|
944
|
-
let
|
|
945
|
-
const
|
|
945
|
+
let Tt = 0;
|
|
946
|
+
const Lo = {
|
|
946
947
|
name: "UluModal",
|
|
947
948
|
components: {
|
|
948
949
|
UluIcon: N
|
|
@@ -1052,16 +1053,16 @@ const Fo = {
|
|
|
1052
1053
|
modifiers: [String, Array]
|
|
1053
1054
|
},
|
|
1054
1055
|
data() {
|
|
1055
|
-
return ++
|
|
1056
|
+
return ++Tt, {
|
|
1056
1057
|
containerWidth: null,
|
|
1057
|
-
titleId: `ulu-modal-${
|
|
1058
|
+
titleId: `ulu-modal-${Tt}-title`,
|
|
1058
1059
|
bodyOverflowValue: null,
|
|
1059
1060
|
bodyPaddingRightValue: null,
|
|
1060
1061
|
isResizing: !1
|
|
1061
1062
|
};
|
|
1062
1063
|
},
|
|
1063
1064
|
setup(e) {
|
|
1064
|
-
const n =
|
|
1065
|
+
const n = Ks(), t = w(() => e.title || n.title), s = w(() => {
|
|
1065
1066
|
const { allowResize: l, position: a } = e;
|
|
1066
1067
|
if (!l || !a) return;
|
|
1067
1068
|
const c = ["left", "right", "center"];
|
|
@@ -1130,7 +1131,7 @@ const Fo = {
|
|
|
1130
1131
|
handleClick(e) {
|
|
1131
1132
|
if (this.clickOutsideCloses && !this.isResizing) {
|
|
1132
1133
|
const { target: n } = e, { container: t } = this.$refs;
|
|
1133
|
-
n === t &&
|
|
1134
|
+
n === t && Ro(t, e) && this.close();
|
|
1134
1135
|
}
|
|
1135
1136
|
},
|
|
1136
1137
|
setupPreventScroll() {
|
|
@@ -1143,7 +1144,7 @@ const Fo = {
|
|
|
1143
1144
|
handleToggle(e) {
|
|
1144
1145
|
if (!this.nonModal && this.preventScroll) {
|
|
1145
1146
|
const { preventScrollShift: n } = this;
|
|
1146
|
-
e.newState === "open" ? this.restoreScroll =
|
|
1147
|
+
e.newState === "open" ? this.restoreScroll = Io({ preventShift: n }) : this.destroyPreventScroll();
|
|
1147
1148
|
}
|
|
1148
1149
|
},
|
|
1149
1150
|
setupResizer() {
|
|
@@ -1165,19 +1166,19 @@ const Fo = {
|
|
|
1165
1166
|
}
|
|
1166
1167
|
},
|
|
1167
1168
|
mounted() {
|
|
1168
|
-
++
|
|
1169
|
+
++Tt, this.preventScroll && this.setupPreventScroll(), this.setupResizer();
|
|
1169
1170
|
},
|
|
1170
1171
|
beforeUnmount() {
|
|
1171
1172
|
const { container: e } = this.$refs;
|
|
1172
1173
|
e && e.open && e.close(), this.destroyPreventScroll(), this.destroyResizer();
|
|
1173
1174
|
}
|
|
1174
|
-
},
|
|
1175
|
+
}, Fo = ["aria-labelledby", "aria-describedby"], Vo = ["id"], Ho = { class: "modal__title-text" }, No = {
|
|
1175
1176
|
key: 2,
|
|
1176
1177
|
class: "modal__resizer",
|
|
1177
1178
|
ref: "resizer",
|
|
1178
1179
|
type: "button"
|
|
1179
1180
|
};
|
|
1180
|
-
function
|
|
1181
|
+
function Do(e, n, t, s, o, i) {
|
|
1181
1182
|
const r = D("UluIcon");
|
|
1182
1183
|
return u(), _(dt, {
|
|
1183
1184
|
to: t.teleport === !1 ? null : t.teleport,
|
|
@@ -1189,7 +1190,7 @@ function Wo(e, n, t, s, o, i) {
|
|
|
1189
1190
|
"aria-describedby": t.describedby,
|
|
1190
1191
|
ref: "container",
|
|
1191
1192
|
style: H({ width: o.containerWidth }),
|
|
1192
|
-
onCancel: n[1] || (n[1] =
|
|
1193
|
+
onCancel: n[1] || (n[1] = qs((...l) => i.close && i.close(...l), ["prevent"])),
|
|
1193
1194
|
onClose: n[2] || (n[2] = (...l) => i.handleDialogCloseEvent && i.handleDialogCloseEvent(...l)),
|
|
1194
1195
|
onClick: n[3] || (n[3] = (...l) => i.handleClick && i.handleClick(...l)),
|
|
1195
1196
|
onToggle: n[4] || (n[4] = (...l) => i.handleToggle && i.handleToggle(...l))
|
|
@@ -1208,9 +1209,9 @@ function Wo(e, n, t, s, o, i) {
|
|
|
1208
1209
|
class: "modal__title-icon",
|
|
1209
1210
|
icon: t.titleIcon
|
|
1210
1211
|
}, null, 8, ["icon"])) : b("", !0),
|
|
1211
|
-
h("span",
|
|
1212
|
+
h("span", Ho, p(t.title), 1)
|
|
1212
1213
|
])
|
|
1213
|
-
], 10,
|
|
1214
|
+
], 10, Vo),
|
|
1214
1215
|
h("button", {
|
|
1215
1216
|
class: "modal__close",
|
|
1216
1217
|
"aria-label": "Close modal",
|
|
@@ -1236,7 +1237,7 @@ function Wo(e, n, t, s, o, i) {
|
|
|
1236
1237
|
}, [
|
|
1237
1238
|
g(e.$slots, "footer", { close: i.close })
|
|
1238
1239
|
], 2)) : b("", !0),
|
|
1239
|
-
s.resizerEnabled ? (u(), d("button",
|
|
1240
|
+
s.resizerEnabled ? (u(), d("button", No, [
|
|
1240
1241
|
g(e.$slots, "resizerIcon", {}, () => [
|
|
1241
1242
|
z(r, {
|
|
1242
1243
|
class: "modal__resizer-icon",
|
|
@@ -1244,10 +1245,10 @@ function Wo(e, n, t, s, o, i) {
|
|
|
1244
1245
|
}, null, 8, ["icon"])
|
|
1245
1246
|
])
|
|
1246
1247
|
], 512)) : b("", !0)
|
|
1247
|
-
], 46,
|
|
1248
|
+
], 46, Fo)
|
|
1248
1249
|
], 8, ["to", "disabled"]);
|
|
1249
1250
|
}
|
|
1250
|
-
const ds = /* @__PURE__ */ E(
|
|
1251
|
+
const ds = /* @__PURE__ */ E(Lo, [["render", Do]]), Fe = [], Wo = R({
|
|
1251
1252
|
/**
|
|
1252
1253
|
* Holds active component options (including component, and options)
|
|
1253
1254
|
*/
|
|
@@ -1256,10 +1257,10 @@ const ds = /* @__PURE__ */ E(Fo, [["render", Wo]]), Fe = [], Xo = R({
|
|
|
1256
1257
|
* Populated with any props passed to open method, bound to modal component
|
|
1257
1258
|
*/
|
|
1258
1259
|
activeProps: null
|
|
1259
|
-
}), Ve =
|
|
1260
|
+
}), Ve = Wo.value, bn = {
|
|
1260
1261
|
data: Ve,
|
|
1261
1262
|
modals: Fe
|
|
1262
|
-
},
|
|
1263
|
+
}, Xo = (e) => ({
|
|
1263
1264
|
open(n, t = null) {
|
|
1264
1265
|
const s = this.get(n);
|
|
1265
1266
|
Ve.active = xe(s), Ve.activeProps = Object.assign({}, s.props, t);
|
|
@@ -1299,19 +1300,19 @@ const ds = /* @__PURE__ */ E(Fo, [["render", Wo]]), Fe = [], Xo = R({
|
|
|
1299
1300
|
return Fe.splice(t, 1);
|
|
1300
1301
|
warn("unable to find modal to remove");
|
|
1301
1302
|
}
|
|
1302
|
-
}),
|
|
1303
|
+
}), Yo = {
|
|
1303
1304
|
componentNameDisplay: "UluModalsDisplay",
|
|
1304
1305
|
componentNameModal: "UluModal",
|
|
1305
1306
|
modals: [],
|
|
1306
1307
|
modalOptions: {}
|
|
1307
1308
|
};
|
|
1308
|
-
function
|
|
1309
|
-
const t = Object.assign({},
|
|
1310
|
-
e.component(t.componentNameDisplay,
|
|
1309
|
+
function qf(e, n) {
|
|
1310
|
+
const t = Object.assign({}, Yo, n), o = Xo((i) => Object.assign({}, t.modalOptions, i));
|
|
1311
|
+
e.component(t.componentNameDisplay, xo), e.component(t.componentNameModal, ds), t.modals.forEach((i) => {
|
|
1311
1312
|
o.add(i);
|
|
1312
1313
|
}), bn.options = t, e.config.globalProperties.$uluModals = o, e.provide("uluModals", o), e.config.globalProperties.$uluModalsState = bn;
|
|
1313
1314
|
}
|
|
1314
|
-
const
|
|
1315
|
+
const qo = {
|
|
1315
1316
|
name: "UluToast",
|
|
1316
1317
|
components: {
|
|
1317
1318
|
UluIcon: N
|
|
@@ -1343,8 +1344,8 @@ const Ko = {
|
|
|
1343
1344
|
});
|
|
1344
1345
|
}
|
|
1345
1346
|
}
|
|
1346
|
-
},
|
|
1347
|
-
function
|
|
1347
|
+
}, Ko = ["onClick"];
|
|
1348
|
+
function Go(e, n, t, s, o, i) {
|
|
1348
1349
|
const r = D("UluIcon");
|
|
1349
1350
|
return u(), d("div", {
|
|
1350
1351
|
class: m(["toast", [
|
|
@@ -1395,7 +1396,7 @@ function Zo(e, n, t, s, o, i) {
|
|
|
1395
1396
|
key: a,
|
|
1396
1397
|
class: m(["toast__action", t.classes.action]),
|
|
1397
1398
|
onClick: (c) => i.handleAction(c, l)
|
|
1398
|
-
}, p(l.label), 11,
|
|
1399
|
+
}, p(l.label), 11, Ko))), 128))
|
|
1399
1400
|
], 2)) : b("", !0),
|
|
1400
1401
|
h("button", {
|
|
1401
1402
|
class: m(["toast__close", t.classes.closeButton]),
|
|
@@ -1405,7 +1406,7 @@ function Zo(e, n, t, s, o, i) {
|
|
|
1405
1406
|
], 2)
|
|
1406
1407
|
], 2);
|
|
1407
1408
|
}
|
|
1408
|
-
const fs = /* @__PURE__ */ E(
|
|
1409
|
+
const fs = /* @__PURE__ */ E(qo, [["render", Go]]), _n = {
|
|
1409
1410
|
toastOptions: {
|
|
1410
1411
|
/**
|
|
1411
1412
|
* Component used to render the toast in the display
|
|
@@ -1430,8 +1431,8 @@ const fs = /* @__PURE__ */ E(Ko, [["render", Zo]]), _n = {
|
|
|
1430
1431
|
*/
|
|
1431
1432
|
position: ["top", "right"]
|
|
1432
1433
|
}
|
|
1433
|
-
}, { assign:
|
|
1434
|
-
let
|
|
1434
|
+
}, { assign: At } = Object;
|
|
1435
|
+
let Zo = 0;
|
|
1435
1436
|
const he = qt({
|
|
1436
1437
|
toasts: [],
|
|
1437
1438
|
/**
|
|
@@ -1440,14 +1441,14 @@ const he = qt({
|
|
|
1440
1441
|
pluginOptions: _n.pluginOptions,
|
|
1441
1442
|
toastOptions: _n.toastOptions,
|
|
1442
1443
|
setToastOptions(e) {
|
|
1443
|
-
return this.toastOptions =
|
|
1444
|
+
return this.toastOptions = At({}, this.toastOptions, e), this.pluginOptions;
|
|
1444
1445
|
},
|
|
1445
1446
|
setPluginOptions(e) {
|
|
1446
|
-
return this.pluginOptions =
|
|
1447
|
+
return this.pluginOptions = At({}, this.pluginOptions, e), this.pluginOptions;
|
|
1447
1448
|
},
|
|
1448
1449
|
createToast(e) {
|
|
1449
|
-
const n = `toast-${++
|
|
1450
|
-
return
|
|
1450
|
+
const n = `toast-${++Zo}`;
|
|
1451
|
+
return At({}, this.toastOptions, e, {
|
|
1451
1452
|
uid: n,
|
|
1452
1453
|
close() {
|
|
1453
1454
|
Pt.remove(n);
|
|
@@ -1480,7 +1481,7 @@ const he = qt({
|
|
|
1480
1481
|
removeAll() {
|
|
1481
1482
|
he.toasts = [];
|
|
1482
1483
|
}
|
|
1483
|
-
},
|
|
1484
|
+
}, Qo = {
|
|
1484
1485
|
name: "UluTooltipDisplay",
|
|
1485
1486
|
data() {
|
|
1486
1487
|
const { toasts: e, pluginOptions: n } = he;
|
|
@@ -1493,7 +1494,7 @@ const he = qt({
|
|
|
1493
1494
|
}
|
|
1494
1495
|
}
|
|
1495
1496
|
};
|
|
1496
|
-
function
|
|
1497
|
+
function Jo(e, n, t, s, o, i) {
|
|
1497
1498
|
return u(), _(dt, {
|
|
1498
1499
|
to: o.pluginOptions.teleportTo
|
|
1499
1500
|
}, [
|
|
@@ -1503,7 +1504,7 @@ function ei(e, n, t, s, o, i) {
|
|
|
1503
1504
|
tag: "div"
|
|
1504
1505
|
}, {
|
|
1505
1506
|
default: S(() => [
|
|
1506
|
-
(u(!0), d(x, null, O(o.toasts, (r) => (u(), _(
|
|
1507
|
+
(u(!0), d(x, null, O(o.toasts, (r) => (u(), _(F(r.component), {
|
|
1507
1508
|
key: r.uid,
|
|
1508
1509
|
toast: r
|
|
1509
1510
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -1512,12 +1513,12 @@ function ei(e, n, t, s, o, i) {
|
|
|
1512
1513
|
}, 8, ["class"])
|
|
1513
1514
|
], 8, ["to"]);
|
|
1514
1515
|
}
|
|
1515
|
-
const
|
|
1516
|
-
function
|
|
1516
|
+
const ei = /* @__PURE__ */ E(Qo, [["render", Jo]]);
|
|
1517
|
+
function Kf(e, n = {}) {
|
|
1517
1518
|
const t = he.setPluginOptions(n?.plugin);
|
|
1518
|
-
he.setToastOptions(n?.toast), e.component(t.componentName, fs), e.component(t.componentNameDisplay,
|
|
1519
|
+
he.setToastOptions(n?.toast), e.component(t.componentName, fs), e.component(t.componentNameDisplay, ei), e.config.globalProperties.$uluToast = Pt, e.provide("uluToast", Pt);
|
|
1519
1520
|
}
|
|
1520
|
-
const
|
|
1521
|
+
const ti = {
|
|
1521
1522
|
/**
|
|
1522
1523
|
* Set an initial value (value in mounted, SSR)
|
|
1523
1524
|
*/
|
|
@@ -1533,14 +1534,14 @@ const ni = {
|
|
|
1533
1534
|
customProperty: "--breakpoint"
|
|
1534
1535
|
}
|
|
1535
1536
|
};
|
|
1536
|
-
function
|
|
1537
|
-
const n = Object.assign({},
|
|
1537
|
+
function ni(e) {
|
|
1538
|
+
const n = Object.assign({}, ti, e), t = R(null), s = R(n.initialValue), o = R(null);
|
|
1538
1539
|
return (async () => {
|
|
1539
1540
|
if (!us()) return;
|
|
1540
1541
|
await new Promise((f) => {
|
|
1541
1542
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
|
|
1542
1543
|
});
|
|
1543
|
-
const r = await import("./breakpoints-
|
|
1544
|
+
const r = await import("./breakpoints-B0Wreot9.js"), { BreakpointManager: l } = r, a = xe(new l(n.plugin));
|
|
1544
1545
|
t.value = xe(a);
|
|
1545
1546
|
const c = () => {
|
|
1546
1547
|
s.value = a.active, o.value = a.resizeDirection;
|
|
@@ -1548,7 +1549,7 @@ function si(e) {
|
|
|
1548
1549
|
c(), n.onReady && n.onReady(a), a.onChange(c);
|
|
1549
1550
|
})(), { breakpointManager: t, breakpointActive: s, breakpointDirection: o };
|
|
1550
1551
|
}
|
|
1551
|
-
const
|
|
1552
|
+
const si = {
|
|
1552
1553
|
/**
|
|
1553
1554
|
* Breakpoint for mobile down/max
|
|
1554
1555
|
*/
|
|
@@ -1558,8 +1559,8 @@ const oi = {
|
|
|
1558
1559
|
*/
|
|
1559
1560
|
managerOptions: {}
|
|
1560
1561
|
};
|
|
1561
|
-
function
|
|
1562
|
-
const t = R(!1), s = Object.assign({},
|
|
1562
|
+
function Gf(e, n) {
|
|
1563
|
+
const t = R(!1), s = Object.assign({}, si, n), { breakpointMobile: o } = s, { onReady: i } = s.managerOptions, r = {
|
|
1563
1564
|
onReady(y) {
|
|
1564
1565
|
y.at(o).max({
|
|
1565
1566
|
on() {
|
|
@@ -1574,17 +1575,17 @@ function Zf(e, n) {
|
|
|
1574
1575
|
breakpointManager: a,
|
|
1575
1576
|
breakpointActive: c,
|
|
1576
1577
|
breakpointDirection: f
|
|
1577
|
-
} =
|
|
1578
|
+
} = ni(l);
|
|
1578
1579
|
e.provide("uluBreakpointActive", w(() => c.value)), e.provide("uluBreakpointDirection", w(() => f.value)), e.provide("uluBreakpointManager", w(() => a.value)), e.provide("uluIsMobile", w(() => t.value));
|
|
1579
1580
|
}
|
|
1580
|
-
const Lt = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new WeakMap(), pe = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), me = /* @__PURE__ */ new WeakMap(),
|
|
1581
|
+
const Lt = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new WeakMap(), pe = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), me = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakSet();
|
|
1581
1582
|
let K, Qt = 0, Jt = 0;
|
|
1582
1583
|
const re = "__aa_tgt", Xe = "__aa_del", at = "__aa_new", hs = (e) => {
|
|
1583
|
-
const n =
|
|
1584
|
-
n && n.forEach((t) =>
|
|
1585
|
-
},
|
|
1584
|
+
const n = li(e);
|
|
1585
|
+
n && n.forEach((t) => ai(t));
|
|
1586
|
+
}, oi = (e) => {
|
|
1586
1587
|
e.forEach((n) => {
|
|
1587
|
-
n.target === K &&
|
|
1588
|
+
n.target === K && ii(), q.has(n.target) && _e(n.target);
|
|
1588
1589
|
});
|
|
1589
1590
|
};
|
|
1590
1591
|
function ms(e) {
|
|
@@ -1622,12 +1623,12 @@ function _e(e, n = !0) {
|
|
|
1622
1623
|
}
|
|
1623
1624
|
}, s));
|
|
1624
1625
|
}
|
|
1625
|
-
function
|
|
1626
|
+
function ii() {
|
|
1626
1627
|
clearTimeout(me.get(K)), me.set(K, setTimeout(() => {
|
|
1627
1628
|
Lt.forEach((e) => rt(e, (n) => gs(() => _e(n))));
|
|
1628
1629
|
}, 100));
|
|
1629
1630
|
}
|
|
1630
|
-
function
|
|
1631
|
+
function ri(e) {
|
|
1631
1632
|
setTimeout(() => {
|
|
1632
1633
|
He.set(e, setInterval(() => gs(_e.bind(null, e)), 2e3));
|
|
1633
1634
|
}, Math.round(2e3 * Math.random()));
|
|
@@ -1637,10 +1638,10 @@ function gs(e) {
|
|
|
1637
1638
|
}
|
|
1638
1639
|
let oe;
|
|
1639
1640
|
const vs = typeof window < "u" && "ResizeObserver" in window;
|
|
1640
|
-
vs && (K = document.documentElement, new MutationObserver(hs), oe = new ResizeObserver(
|
|
1641
|
+
vs && (K = document.documentElement, new MutationObserver(hs), oe = new ResizeObserver(oi), window.addEventListener("scroll", () => {
|
|
1641
1642
|
Jt = window.scrollY, Qt = window.scrollX;
|
|
1642
1643
|
}), oe.observe(K));
|
|
1643
|
-
function
|
|
1644
|
+
function li(e) {
|
|
1644
1645
|
return e.reduce((s, o) => [
|
|
1645
1646
|
...s,
|
|
1646
1647
|
...Array.from(o.addedNodes),
|
|
@@ -1677,15 +1678,15 @@ function ai(e) {
|
|
|
1677
1678
|
function xt(e, n) {
|
|
1678
1679
|
!n && !(re in e) ? Object.defineProperty(e, re, { value: e }) : n && !(re in n) && Object.defineProperty(n, re, { value: e });
|
|
1679
1680
|
}
|
|
1680
|
-
function
|
|
1681
|
+
function ai(e) {
|
|
1681
1682
|
var n, t;
|
|
1682
1683
|
const s = e.isConnected, o = q.has(e);
|
|
1683
|
-
s && pe.has(e) && pe.delete(e), ((n = Z.get(e)) === null || n === void 0 ? void 0 : n.playState) !== "finished" && ((t = Z.get(e)) === null || t === void 0 || t.cancel()), at in e ? wn(e) : o && s ?
|
|
1684
|
+
s && pe.has(e) && pe.delete(e), ((n = Z.get(e)) === null || n === void 0 ? void 0 : n.playState) !== "finished" && ((t = Z.get(e)) === null || t === void 0 || t.cancel()), at in e ? wn(e) : o && s ? ui(e) : o && !s ? di(e) : wn(e);
|
|
1684
1685
|
}
|
|
1685
1686
|
function J(e) {
|
|
1686
1687
|
return Number(e.replace(/[^0-9.\-]/g, ""));
|
|
1687
1688
|
}
|
|
1688
|
-
function
|
|
1689
|
+
function ci(e) {
|
|
1689
1690
|
let n = e.parentElement;
|
|
1690
1691
|
for (; n; ) {
|
|
1691
1692
|
if (n.scrollLeft || n.scrollTop)
|
|
@@ -1695,7 +1696,7 @@ function ui(e) {
|
|
|
1695
1696
|
return { x: 0, y: 0 };
|
|
1696
1697
|
}
|
|
1697
1698
|
function Ee(e) {
|
|
1698
|
-
const n = e.getBoundingClientRect(), { x: t, y: s } =
|
|
1699
|
+
const n = e.getBoundingClientRect(), { x: t, y: s } = ci(e);
|
|
1699
1700
|
return {
|
|
1700
1701
|
top: n.top + s,
|
|
1701
1702
|
left: n.left + t,
|
|
@@ -1721,7 +1722,7 @@ function ps(e) {
|
|
|
1721
1722
|
}
|
|
1722
1723
|
function tn(e) {
|
|
1723
1724
|
const n = ps(e);
|
|
1724
|
-
return n ?
|
|
1725
|
+
return n ? Te.has(n) : !1;
|
|
1725
1726
|
}
|
|
1726
1727
|
function rt(e, ...n) {
|
|
1727
1728
|
n.forEach((t) => t(e, ye.has(e)));
|
|
@@ -1736,7 +1737,7 @@ function nn(e) {
|
|
|
1736
1737
|
function Ye(e) {
|
|
1737
1738
|
return typeof e == "function";
|
|
1738
1739
|
}
|
|
1739
|
-
function
|
|
1740
|
+
function ui(e) {
|
|
1740
1741
|
const n = q.get(e), t = Ee(e);
|
|
1741
1742
|
if (!tn(e))
|
|
1742
1743
|
return q.set(e, t);
|
|
@@ -1754,10 +1755,10 @@ function di(e) {
|
|
|
1754
1755
|
n.top + n.height - (t.top + t.height) == 0 && (r = 0), l == 0 && (i = 0);
|
|
1755
1756
|
const [c, f, y, v] = ys(e, n, t), $ = {
|
|
1756
1757
|
transform: `translate(${i}px, ${r}px)`
|
|
1757
|
-
},
|
|
1758
|
+
}, T = {
|
|
1758
1759
|
transform: "translate(0, 0)"
|
|
1759
1760
|
};
|
|
1760
|
-
c !== f && ($.width = `${c}px`,
|
|
1761
|
+
c !== f && ($.width = `${c}px`, T.width = `${f}px`), y !== v && ($.height = `${y}px`, T.height = `${v}px`), s = e.animate([$, T], {
|
|
1761
1762
|
duration: o.duration,
|
|
1762
1763
|
easing: o.easing
|
|
1763
1764
|
});
|
|
@@ -1806,7 +1807,7 @@ function Sn(e, n) {
|
|
|
1806
1807
|
e.style[s] = "";
|
|
1807
1808
|
}, 0);
|
|
1808
1809
|
}
|
|
1809
|
-
function
|
|
1810
|
+
function di(e) {
|
|
1810
1811
|
var n;
|
|
1811
1812
|
if (!pe.has(e) || !q.has(e))
|
|
1812
1813
|
return;
|
|
@@ -1815,8 +1816,8 @@ function fi(e) {
|
|
|
1815
1816
|
const o = window.scrollX, i = window.scrollY;
|
|
1816
1817
|
if (s && s.parentNode && s.parentNode instanceof Element ? s.parentNode.insertBefore(e, s) : t && t.parentNode ? t.parentNode.appendChild(e) : (n = ps(e)) === null || n === void 0 || n.appendChild(e), !tn(e))
|
|
1817
1818
|
return Sn(e);
|
|
1818
|
-
const [r, l, a, c] =
|
|
1819
|
-
(o !== Qt || i !== Jt) &&
|
|
1819
|
+
const [r, l, a, c] = hi(e), f = pt(e), y = q.get(e);
|
|
1820
|
+
(o !== Qt || i !== Jt) && fi(e, o, i, f);
|
|
1820
1821
|
let v, $ = {
|
|
1821
1822
|
position: "absolute",
|
|
1822
1823
|
top: `${r}px`,
|
|
@@ -1843,14 +1844,14 @@ function fi(e) {
|
|
|
1843
1844
|
easing: "ease-out"
|
|
1844
1845
|
});
|
|
1845
1846
|
else {
|
|
1846
|
-
const [
|
|
1847
|
-
|
|
1847
|
+
const [T, U] = nn(f(e, "remove", y));
|
|
1848
|
+
U?.styleReset !== !1 && ($ = U?.styleReset || $, Object.assign(e.style, $)), v = new Animation(T), v.play();
|
|
1848
1849
|
}
|
|
1849
1850
|
Z.set(e, v), v.addEventListener("finish", () => Sn(e, $), {
|
|
1850
1851
|
once: !0
|
|
1851
1852
|
});
|
|
1852
1853
|
}
|
|
1853
|
-
function
|
|
1854
|
+
function fi(e, n, t, s) {
|
|
1854
1855
|
const o = Qt - n, i = Jt - t, r = document.documentElement.style.scrollBehavior;
|
|
1855
1856
|
if (getComputedStyle(K).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + o, window.scrollY + i), !e.parentElement)
|
|
1856
1857
|
return;
|
|
@@ -1860,9 +1861,9 @@ function hi(e, n, t, s) {
|
|
|
1860
1861
|
function v() {
|
|
1861
1862
|
requestAnimationFrame(() => {
|
|
1862
1863
|
if (!Ye(s)) {
|
|
1863
|
-
const $ = c - a.clientHeight,
|
|
1864
|
+
const $ = c - a.clientHeight, T = f - a.clientWidth;
|
|
1864
1865
|
y + s.duration > performance.now() ? (window.scrollTo({
|
|
1865
|
-
left: window.scrollX -
|
|
1866
|
+
left: window.scrollX - T,
|
|
1866
1867
|
top: window.scrollY - $
|
|
1867
1868
|
}), c = a.clientHeight, f = a.clientWidth, v()) : document.documentElement.style.scrollBehavior = r;
|
|
1868
1869
|
}
|
|
@@ -1870,7 +1871,7 @@ function hi(e, n, t, s) {
|
|
|
1870
1871
|
}
|
|
1871
1872
|
v();
|
|
1872
1873
|
}
|
|
1873
|
-
function
|
|
1874
|
+
function hi(e) {
|
|
1874
1875
|
var n;
|
|
1875
1876
|
const t = q.get(e), [s, , o] = ys(e, t, Ee(e));
|
|
1876
1877
|
let i = e.parentElement;
|
|
@@ -1880,9 +1881,9 @@ function mi(e) {
|
|
|
1880
1881
|
const r = getComputedStyle(i), l = !Z.has(e) || ((n = Z.get(e)) === null || n === void 0 ? void 0 : n.playState) === "finished" ? Ee(i) : q.get(i), a = Math.round(t.top - l.top) - J(r.borderTopWidth), c = Math.round(t.left - l.left) - J(r.borderLeftWidth);
|
|
1881
1882
|
return [a, c, s, o];
|
|
1882
1883
|
}
|
|
1883
|
-
function
|
|
1884
|
+
function mi(e, n = {}) {
|
|
1884
1885
|
if (vs && oe && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !Ye(n) && !n.disrespectUserMotionPreference)) {
|
|
1885
|
-
|
|
1886
|
+
Te.add(e), getComputedStyle(e).position === "static" && Object.assign(e.style, { position: "relative" }), rt(e, _e, ri, (r) => oe?.observe(r)), Ye(n) ? ye.set(e, n) : ye.set(e, {
|
|
1886
1887
|
duration: 250,
|
|
1887
1888
|
easing: "ease-in-out",
|
|
1888
1889
|
...n
|
|
@@ -1893,10 +1894,10 @@ function gi(e, n = {}) {
|
|
|
1893
1894
|
return Object.freeze({
|
|
1894
1895
|
parent: e,
|
|
1895
1896
|
enable: () => {
|
|
1896
|
-
|
|
1897
|
+
Te.add(e);
|
|
1897
1898
|
},
|
|
1898
1899
|
disable: () => {
|
|
1899
|
-
|
|
1900
|
+
Te.delete(e), rt(e, (s) => {
|
|
1900
1901
|
const o = Z.get(s);
|
|
1901
1902
|
try {
|
|
1902
1903
|
o?.cancel();
|
|
@@ -1909,9 +1910,9 @@ function gi(e, n = {}) {
|
|
|
1909
1910
|
r && clearInterval(r), He.delete(s);
|
|
1910
1911
|
});
|
|
1911
1912
|
},
|
|
1912
|
-
isEnabled: () =>
|
|
1913
|
+
isEnabled: () => Te.has(e),
|
|
1913
1914
|
destroy: () => {
|
|
1914
|
-
|
|
1915
|
+
Te.delete(e), Lt.delete(e), ye.delete(e);
|
|
1915
1916
|
const s = Ot.get(e);
|
|
1916
1917
|
s?.disconnect(), Ot.delete(e), rt(e, (o) => {
|
|
1917
1918
|
oe?.unobserve(o);
|
|
@@ -1931,7 +1932,7 @@ function gi(e, n = {}) {
|
|
|
1931
1932
|
}
|
|
1932
1933
|
});
|
|
1933
1934
|
}
|
|
1934
|
-
function
|
|
1935
|
+
function gi(e) {
|
|
1935
1936
|
const n = R();
|
|
1936
1937
|
let t;
|
|
1937
1938
|
function s(o) {
|
|
@@ -1940,7 +1941,7 @@ function vi(e) {
|
|
|
1940
1941
|
return mt(() => {
|
|
1941
1942
|
ht((o) => {
|
|
1942
1943
|
let i;
|
|
1943
|
-
n.value instanceof HTMLElement ? i = n.value : n.value && "$el" in n.value && n.value.$el instanceof HTMLElement && (i = n.value.$el), i && (t =
|
|
1944
|
+
n.value instanceof HTMLElement ? i = n.value : n.value && "$el" in n.value && n.value.$el instanceof HTMLElement && (i = n.value.$el), i && (t = mi(i, e || {}), o(() => {
|
|
1944
1945
|
var r;
|
|
1945
1946
|
(r = t?.destroy) === null || r === void 0 || r.call(t), t = void 0;
|
|
1946
1947
|
}));
|
|
@@ -1950,7 +1951,7 @@ function vi(e) {
|
|
|
1950
1951
|
(o = t?.destroy) === null || o === void 0 || o.call(t), t = void 0;
|
|
1951
1952
|
}), [n, s];
|
|
1952
1953
|
}
|
|
1953
|
-
function
|
|
1954
|
+
function vi(e) {
|
|
1954
1955
|
if (e) {
|
|
1955
1956
|
if (e instanceof HTMLElement)
|
|
1956
1957
|
return e;
|
|
@@ -1958,16 +1959,16 @@ function yi(e) {
|
|
|
1958
1959
|
return e.$el;
|
|
1959
1960
|
}
|
|
1960
1961
|
}
|
|
1961
|
-
let
|
|
1962
|
+
let yi = 0;
|
|
1962
1963
|
function Ft(e = "ulu-id") {
|
|
1963
|
-
const n = `${e}-${++
|
|
1964
|
+
const n = `${e}-${++yi}`;
|
|
1964
1965
|
return typeof document < "u" && document.getElementById(n) ? generateUid(e) : n;
|
|
1965
1966
|
}
|
|
1966
|
-
const
|
|
1967
|
+
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1967
1968
|
__proto__: null,
|
|
1968
1969
|
newId: Ft,
|
|
1969
|
-
refToElement:
|
|
1970
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1970
|
+
refToElement: vi
|
|
1971
|
+
}, Symbol.toStringTag, { value: "Module" })), bi = ["id", "aria-controls", "aria-expanded"], _i = ["id", "aria-hidden", "aria-labelledby"], Vt = {
|
|
1971
1972
|
__name: "UluCollapsible",
|
|
1972
1973
|
props: {
|
|
1973
1974
|
/**
|
|
@@ -2016,18 +2017,18 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2016
2017
|
},
|
|
2017
2018
|
emits: ["update:modelValue"],
|
|
2018
2019
|
setup(e, { emit: n }) {
|
|
2019
|
-
const t = e, s = n, o = w(() => typeof t.animate == "object" ? t.animate : {}), [i, r] =
|
|
2020
|
+
const t = e, s = n, o = w(() => typeof t.animate == "object" ? t.animate : {}), [i, r] = gi(o);
|
|
2020
2021
|
mt(() => {
|
|
2021
2022
|
r(!!t.animate);
|
|
2022
|
-
}), De(() => t.animate, (
|
|
2023
|
-
r(!!
|
|
2023
|
+
}), De(() => t.animate, (T) => {
|
|
2024
|
+
r(!!T);
|
|
2024
2025
|
});
|
|
2025
2026
|
const l = w(() => t.modelValue !== void 0), a = R(t.startOpen), c = w({
|
|
2026
2027
|
get() {
|
|
2027
2028
|
return l.value ? t.modelValue : a.value;
|
|
2028
2029
|
},
|
|
2029
|
-
set(
|
|
2030
|
-
l.value ? s("update:modelValue",
|
|
2030
|
+
set(T) {
|
|
2031
|
+
l.value ? s("update:modelValue", T) : a.value = T;
|
|
2031
2032
|
}
|
|
2032
2033
|
}), f = R(Ft("ulu-collapsible-trigger")), y = R(Ft("ulu-collapsible-content"));
|
|
2033
2034
|
function v() {
|
|
@@ -2036,7 +2037,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2036
2037
|
function $() {
|
|
2037
2038
|
t.closeOnEscape && c.value && (c.value = !1);
|
|
2038
2039
|
}
|
|
2039
|
-
return (
|
|
2040
|
+
return (T, U) => (u(), d("div", {
|
|
2040
2041
|
ref_key: "container",
|
|
2041
2042
|
ref: i,
|
|
2042
2043
|
onKeydown: Zn($, ["esc"]),
|
|
@@ -2049,10 +2050,10 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2049
2050
|
"aria-expanded": c.value,
|
|
2050
2051
|
onClick: v
|
|
2051
2052
|
}, [
|
|
2052
|
-
g(
|
|
2053
|
+
g(T.$slots, "trigger", { isOpen: c.value }, () => [
|
|
2053
2054
|
k(p(e.triggerText), 1)
|
|
2054
2055
|
])
|
|
2055
|
-
], 10,
|
|
2056
|
+
], 10, bi),
|
|
2056
2057
|
c.value ? (u(), d("div", {
|
|
2057
2058
|
key: 0,
|
|
2058
2059
|
class: m(e.classes.content),
|
|
@@ -2061,14 +2062,14 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2061
2062
|
"aria-hidden": !c.value,
|
|
2062
2063
|
"aria-labelledby": f.value
|
|
2063
2064
|
}, [
|
|
2064
|
-
g(
|
|
2065
|
+
g(T.$slots, "default", {
|
|
2065
2066
|
isOpen: c.value,
|
|
2066
2067
|
toggle: v
|
|
2067
2068
|
})
|
|
2068
|
-
], 10,
|
|
2069
|
+
], 10, _i)) : b("", !0)
|
|
2069
2070
|
], 34));
|
|
2070
2071
|
}
|
|
2071
|
-
},
|
|
2072
|
+
}, Zf = {
|
|
2072
2073
|
__name: "UluAccordion",
|
|
2073
2074
|
props: {
|
|
2074
2075
|
/**
|
|
@@ -2138,7 +2139,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2138
2139
|
}, {
|
|
2139
2140
|
trigger: S(({ isOpen: l }) => [
|
|
2140
2141
|
g(i.$slots, "trigger", { isOpen: l }, () => [
|
|
2141
|
-
(u(), _(
|
|
2142
|
+
(u(), _(F(e.triggerTextElement), null, {
|
|
2142
2143
|
default: S(() => [
|
|
2143
2144
|
k(p(e.triggerText), 1)
|
|
2144
2145
|
]),
|
|
@@ -2203,7 +2204,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2203
2204
|
[`tag--${e.size}`]: e.size,
|
|
2204
2205
|
[`tag--${e.type}`]: e.type
|
|
2205
2206
|
},
|
|
2206
|
-
|
|
2207
|
+
A(t)
|
|
2207
2208
|
]])
|
|
2208
2209
|
}, [
|
|
2209
2210
|
e.icon ? (u(), _(N, {
|
|
@@ -2216,7 +2217,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2216
2217
|
])
|
|
2217
2218
|
], 2));
|
|
2218
2219
|
}
|
|
2219
|
-
},
|
|
2220
|
+
}, wi = {
|
|
2220
2221
|
name: "UluMenu",
|
|
2221
2222
|
components: {
|
|
2222
2223
|
UluIcon: N,
|
|
@@ -2265,7 +2266,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2265
2266
|
}
|
|
2266
2267
|
}
|
|
2267
2268
|
};
|
|
2268
|
-
function
|
|
2269
|
+
function Si(e, n, t, s, o, i) {
|
|
2269
2270
|
const r = D("UluIcon"), l = D("UluTag"), a = D("UluMenu", !0), c = Gn("ulu-tooltip");
|
|
2270
2271
|
return t.items?.length ? (u(), d("ul", {
|
|
2271
2272
|
key: 0,
|
|
@@ -2280,7 +2281,7 @@ function ki(e, n, t, s, o, i) {
|
|
|
2280
2281
|
f.separatorAfter ? t.classes.itemSeparatorAfter : ""
|
|
2281
2282
|
])
|
|
2282
2283
|
}, [
|
|
2283
|
-
Oe((u(), _(
|
|
2284
|
+
Oe((u(), _(F(f.to || f.path ? "router-link" : f.click ? "button" : "a"), le({ ref_for: !0 }, {
|
|
2284
2285
|
...f.to || f.path ? {
|
|
2285
2286
|
to: f.to || f.path,
|
|
2286
2287
|
activeClass: t.classes.linkActive || null,
|
|
@@ -2327,7 +2328,7 @@ function ki(e, n, t, s, o, i) {
|
|
|
2327
2328
|
], 2))), 128))
|
|
2328
2329
|
], 2)) : b("", !0);
|
|
2329
2330
|
}
|
|
2330
|
-
const _s = /* @__PURE__ */ E(
|
|
2331
|
+
const _s = /* @__PURE__ */ E(wi, [["render", Si]]), ki = {
|
|
2331
2332
|
__name: "UluMenuStack",
|
|
2332
2333
|
props: {
|
|
2333
2334
|
/**
|
|
@@ -2367,8 +2368,8 @@ const _s = /* @__PURE__ */ E(Si, [["render", ki]]), $i = {
|
|
|
2367
2368
|
internal: t,
|
|
2368
2369
|
baseClass: "menu-stack"
|
|
2369
2370
|
});
|
|
2370
|
-
return (o, i) => (u(), _(
|
|
2371
|
-
class: m(["menu-stack",
|
|
2371
|
+
return (o, i) => (u(), _(F(e.containerElement), {
|
|
2372
|
+
class: m(["menu-stack", A(s)])
|
|
2372
2373
|
}, {
|
|
2373
2374
|
default: S(() => [
|
|
2374
2375
|
z(_s, {
|
|
@@ -2388,7 +2389,7 @@ const _s = /* @__PURE__ */ E(Si, [["render", ki]]), $i = {
|
|
|
2388
2389
|
_: 1
|
|
2389
2390
|
}, 8, ["class"]));
|
|
2390
2391
|
}
|
|
2391
|
-
},
|
|
2392
|
+
}, Qf = {
|
|
2392
2393
|
__name: "UluDropdown",
|
|
2393
2394
|
props: {
|
|
2394
2395
|
/**
|
|
@@ -2422,7 +2423,7 @@ const _s = /* @__PURE__ */ E(Si, [["render", ki]]), $i = {
|
|
|
2422
2423
|
])
|
|
2423
2424
|
]),
|
|
2424
2425
|
default: S(() => [
|
|
2425
|
-
z(
|
|
2426
|
+
z(ki, { items: e.items }, null, 8, ["items"])
|
|
2426
2427
|
]),
|
|
2427
2428
|
_: 3
|
|
2428
2429
|
}, 8, ["classes"]));
|
|
@@ -2434,17 +2435,17 @@ const _s = /* @__PURE__ */ E(Si, [["render", ki]]), $i = {
|
|
|
2434
2435
|
function on() {
|
|
2435
2436
|
window.removeEventListener("resize", on), sn.value = !0, ct.start.forEach((e) => e());
|
|
2436
2437
|
}
|
|
2437
|
-
function
|
|
2438
|
+
function $i() {
|
|
2438
2439
|
sn.value = !1, ct.end.forEach((e) => e()), window.addEventListener("resize", on);
|
|
2439
2440
|
}
|
|
2440
|
-
window.addEventListener("resize", on), window.addEventListener("resize", yt(
|
|
2441
|
+
window.addEventListener("resize", on), window.addEventListener("resize", yt($i, 300));
|
|
2441
2442
|
function kn(e, n) {
|
|
2442
2443
|
return e.push(n), () => {
|
|
2443
2444
|
const t = e.findIndex((s) => s === n);
|
|
2444
2445
|
t > -1 && e.splice(t);
|
|
2445
2446
|
};
|
|
2446
2447
|
}
|
|
2447
|
-
function
|
|
2448
|
+
function Ci() {
|
|
2448
2449
|
return {
|
|
2449
2450
|
resizing: sn,
|
|
2450
2451
|
onResizeStart(e) {
|
|
@@ -2464,7 +2465,7 @@ const Ti = {
|
|
|
2464
2465
|
uluModals: "Modals",
|
|
2465
2466
|
uluToast: "Toast"
|
|
2466
2467
|
}, $n = {};
|
|
2467
|
-
function
|
|
2468
|
+
function Ai(e) {
|
|
2468
2469
|
const n = ft(e, $n);
|
|
2469
2470
|
if (n === $n) {
|
|
2470
2471
|
const t = Ti[e] || "", s = t ? ` from the '${t}' plugin` : "", o = t ? "Please install missing plugin." : "";
|
|
@@ -2472,8 +2473,8 @@ function Oi(e) {
|
|
|
2472
2473
|
}
|
|
2473
2474
|
return n;
|
|
2474
2475
|
}
|
|
2475
|
-
function
|
|
2476
|
-
const t = cs(), s =
|
|
2476
|
+
function Jf(e, n) {
|
|
2477
|
+
const t = cs(), s = no(), o = w(() => {
|
|
2477
2478
|
const c = parseInt(t.query.page || "1", 10);
|
|
2478
2479
|
return isNaN(c) || c < 1 ? 1 : c;
|
|
2479
2480
|
}), i = w(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / n));
|
|
@@ -2490,14 +2491,14 @@ function eh(e, n) {
|
|
|
2490
2491
|
pages: {}
|
|
2491
2492
|
}, f = o.value, y = i.value, v = 5, $ = (j) => ({ query: { ...t.query, page: j } });
|
|
2492
2493
|
f > 1 && (c.first = { href: $(1) }, c.previous = { href: $(f - 1) }), f < y && (c.next = { href: $(f + 1) }, c.last = { href: $(y) });
|
|
2493
|
-
let
|
|
2494
|
+
let T, U;
|
|
2494
2495
|
if (y <= v)
|
|
2495
|
-
|
|
2496
|
+
T = 1, U = y;
|
|
2496
2497
|
else {
|
|
2497
2498
|
const j = Math.floor(v / 2), ue = Math.ceil(v / 2) - 1;
|
|
2498
|
-
f <= j ? (
|
|
2499
|
+
f <= j ? (T = 1, U = v) : f + ue >= y ? (T = y - v + 1, U = y) : (T = f - j, U = f + ue);
|
|
2499
2500
|
}
|
|
2500
|
-
for (let j =
|
|
2501
|
+
for (let j = T; j <= U; j++)
|
|
2501
2502
|
c.pages[j] = { href: $(j) };
|
|
2502
2503
|
return c;
|
|
2503
2504
|
}), a = w(() => {
|
|
@@ -2529,31 +2530,31 @@ function Ht(e, n, t) {
|
|
|
2529
2530
|
}
|
|
2530
2531
|
return o;
|
|
2531
2532
|
}
|
|
2532
|
-
const
|
|
2533
|
-
function
|
|
2534
|
-
if (
|
|
2535
|
-
const e = ft(
|
|
2533
|
+
const Oi = (e, n) => Gs(n) ? ot(n) : n, xi = "usehead";
|
|
2534
|
+
function Ei() {
|
|
2535
|
+
if (Zs()) {
|
|
2536
|
+
const e = ft(xi);
|
|
2536
2537
|
if (!e)
|
|
2537
2538
|
throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
|
|
2538
2539
|
return e;
|
|
2539
2540
|
}
|
|
2540
2541
|
throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
|
|
2541
2542
|
}
|
|
2542
|
-
function
|
|
2543
|
-
const t = n.head ||
|
|
2544
|
-
return t.ssr ? t.push(e || {}, n) :
|
|
2543
|
+
function Ri(e, n = {}) {
|
|
2544
|
+
const t = n.head || Ei();
|
|
2545
|
+
return t.ssr ? t.push(e || {}, n) : ji(t, e, n);
|
|
2545
2546
|
}
|
|
2546
|
-
function
|
|
2547
|
+
function ji(e, n, t = {}) {
|
|
2547
2548
|
const s = R(!1);
|
|
2548
2549
|
let o;
|
|
2549
2550
|
return ht(() => {
|
|
2550
|
-
const r = s.value ? {} : Ht(n,
|
|
2551
|
+
const r = s.value ? {} : Ht(n, Oi);
|
|
2551
2552
|
o ? o.patch(r) : o = e.push(r, t);
|
|
2552
|
-
}),
|
|
2553
|
+
}), Qs() && (es(() => {
|
|
2553
2554
|
o.dispose();
|
|
2554
|
-
}),
|
|
2555
|
+
}), Js(() => {
|
|
2555
2556
|
s.value = !0;
|
|
2556
|
-
}),
|
|
2557
|
+
}), eo(() => {
|
|
2557
2558
|
s.value = !1;
|
|
2558
2559
|
})), o;
|
|
2559
2560
|
}
|
|
@@ -2561,7 +2562,7 @@ function bt(e, n) {
|
|
|
2561
2562
|
let s = (e?.meta || {}).title;
|
|
2562
2563
|
return typeof s == "function" && (s = s(n || e)), s;
|
|
2563
2564
|
}
|
|
2564
|
-
function
|
|
2565
|
+
function Ii(e, n) {
|
|
2565
2566
|
const s = Object.assign({}, {
|
|
2566
2567
|
qualifier(r, l) {
|
|
2567
2568
|
return l ? ln(r) : ws(r);
|
|
@@ -2575,7 +2576,7 @@ function zi(e, n) {
|
|
|
2575
2576
|
}).sort(s.sort);
|
|
2576
2577
|
return i(e);
|
|
2577
2578
|
}
|
|
2578
|
-
function
|
|
2579
|
+
function zi(e) {
|
|
2579
2580
|
function n(t) {
|
|
2580
2581
|
const s = [];
|
|
2581
2582
|
for (const o of t) {
|
|
@@ -2586,7 +2587,7 @@ function Mi(e) {
|
|
|
2586
2587
|
}
|
|
2587
2588
|
return n(e);
|
|
2588
2589
|
}
|
|
2589
|
-
function
|
|
2590
|
+
function Bi(e, n, t) {
|
|
2590
2591
|
const o = Object.assign({}, {
|
|
2591
2592
|
includeIndex: !1,
|
|
2592
2593
|
item: {},
|
|
@@ -2626,7 +2627,7 @@ function ws(e) {
|
|
|
2626
2627
|
const n = e.path.match(/\//g) || [];
|
|
2627
2628
|
return ln(e) && n.length === 1;
|
|
2628
2629
|
}
|
|
2629
|
-
function
|
|
2630
|
+
function Mi(e, n) {
|
|
2630
2631
|
const { target: t } = n, s = t.closest("a");
|
|
2631
2632
|
if (s) {
|
|
2632
2633
|
let o = s.getAttribute("href");
|
|
@@ -2646,7 +2647,7 @@ function ks(e) {
|
|
|
2646
2647
|
function cn(e, n) {
|
|
2647
2648
|
return e?.weight - n?.weight;
|
|
2648
2649
|
}
|
|
2649
|
-
function
|
|
2650
|
+
function Ui(e, n) {
|
|
2650
2651
|
const s = Object.assign({}, {
|
|
2651
2652
|
parent: null,
|
|
2652
2653
|
includeIndex: !1,
|
|
@@ -2655,7 +2656,7 @@ function Pi(e, n) {
|
|
|
2655
2656
|
}, n), o = s.parent || an(e);
|
|
2656
2657
|
return (Ss(e, o) || []).filter(ks(s.includeIndex)).map((r) => _t(r, `${o.path}/${r.path}`, s.item)).sort(s.sort);
|
|
2657
2658
|
}
|
|
2658
|
-
function
|
|
2659
|
+
function Pi(e) {
|
|
2659
2660
|
const { matched: n, path: t } = e;
|
|
2660
2661
|
let s;
|
|
2661
2662
|
return n.reduce((i, r, l) => {
|
|
@@ -2669,32 +2670,32 @@ function Li(e) {
|
|
|
2669
2670
|
}), s = r.path, i;
|
|
2670
2671
|
}, []);
|
|
2671
2672
|
}
|
|
2672
|
-
const
|
|
2673
|
+
const Li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2673
2674
|
__proto__: null,
|
|
2674
|
-
$createBreadcrumb:
|
|
2675
|
-
$createSectionMenu:
|
|
2675
|
+
$createBreadcrumb: Pi,
|
|
2676
|
+
$createSectionMenu: Ui,
|
|
2676
2677
|
$getParentRoute: an,
|
|
2677
2678
|
$getRouteChildren: Ss,
|
|
2678
|
-
createBaseMenu:
|
|
2679
|
+
createBaseMenu: Ii,
|
|
2679
2680
|
createMenuItem: _t,
|
|
2680
|
-
createSectionMenu:
|
|
2681
|
-
flattenMenu:
|
|
2681
|
+
createSectionMenu: Bi,
|
|
2682
|
+
flattenMenu: zi,
|
|
2682
2683
|
getChildIndexRoute: rn,
|
|
2683
2684
|
getRouteTitle: bt,
|
|
2684
2685
|
isStaticBaseRoute: ws,
|
|
2685
2686
|
isStaticRoute: ln,
|
|
2686
|
-
nativeLinkRouter:
|
|
2687
|
+
nativeLinkRouter: Mi
|
|
2687
2688
|
}, Symbol.toStringTag, { value: "Module" })), Et = qt({});
|
|
2688
|
-
function
|
|
2689
|
+
function eh(e = {}) {
|
|
2689
2690
|
const {
|
|
2690
2691
|
title: n,
|
|
2691
2692
|
titleTemplate: t = "%s",
|
|
2692
2693
|
useRoute: s = cs,
|
|
2693
|
-
useHead: o =
|
|
2694
|
+
useHead: o = Ri
|
|
2694
2695
|
} = e, i = s(), r = i.path;
|
|
2695
2696
|
if (n !== void 0) {
|
|
2696
2697
|
ht(() => {
|
|
2697
|
-
Et[r] =
|
|
2698
|
+
Et[r] = A(n);
|
|
2698
2699
|
}), ts(() => {
|
|
2699
2700
|
delete Et[r];
|
|
2700
2701
|
});
|
|
@@ -2708,7 +2709,7 @@ function th(e = {}) {
|
|
|
2708
2709
|
title: l
|
|
2709
2710
|
});
|
|
2710
2711
|
}
|
|
2711
|
-
const
|
|
2712
|
+
const Fi = { class: "layout-flex-baseline" }, Vi = { class: "type-word-break" }, th = {
|
|
2712
2713
|
__name: "UluOverflowPopover",
|
|
2713
2714
|
props: {
|
|
2714
2715
|
/**
|
|
@@ -2717,13 +2718,13 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2717
2718
|
triggerIcon: String
|
|
2718
2719
|
},
|
|
2719
2720
|
setup(e) {
|
|
2720
|
-
const { resizing: n, onResizeEnd: t } =
|
|
2721
|
+
const { resizing: n, onResizeEnd: t } = Ci(), s = R(null), o = R(!1), i = () => {
|
|
2721
2722
|
Qn(() => {
|
|
2722
2723
|
const l = s.value;
|
|
2723
2724
|
o.value = l.offsetWidth < l.scrollWidth;
|
|
2724
2725
|
});
|
|
2725
2726
|
}, r = t(i);
|
|
2726
|
-
return mt(i), ts(r), (l, a) => (u(), d("div",
|
|
2727
|
+
return mt(i), ts(r), (l, a) => (u(), d("div", Fi, [
|
|
2727
2728
|
h("div", {
|
|
2728
2729
|
class: "type-truncate",
|
|
2729
2730
|
ref_key: "text",
|
|
@@ -2731,7 +2732,7 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2731
2732
|
}, [
|
|
2732
2733
|
g(l.$slots, "default")
|
|
2733
2734
|
], 512),
|
|
2734
|
-
o.value && !
|
|
2735
|
+
o.value && !A(n) ? (u(), _(vt, {
|
|
2735
2736
|
key: 0,
|
|
2736
2737
|
triggerAlt: "Show Full Text",
|
|
2737
2738
|
size: "large"
|
|
@@ -2742,7 +2743,7 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2742
2743
|
}, null, 8, ["icon"])
|
|
2743
2744
|
]),
|
|
2744
2745
|
default: S(() => [
|
|
2745
|
-
h("div",
|
|
2746
|
+
h("div", Vi, [
|
|
2746
2747
|
g(l.$slots, "default")
|
|
2747
2748
|
])
|
|
2748
2749
|
]),
|
|
@@ -2750,17 +2751,17 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2750
2751
|
})) : b("", !0)
|
|
2751
2752
|
]));
|
|
2752
2753
|
}
|
|
2753
|
-
},
|
|
2754
|
+
}, nh = {
|
|
2754
2755
|
__name: "UluTab",
|
|
2755
2756
|
setup(e) {
|
|
2756
|
-
return (n, t) => (u(), _(
|
|
2757
|
+
return (n, t) => (u(), _(A(so), null, {
|
|
2757
2758
|
default: S((s) => [
|
|
2758
2759
|
g(n.$slots, "default", ee(te(s)))
|
|
2759
2760
|
]),
|
|
2760
2761
|
_: 3
|
|
2761
2762
|
}));
|
|
2762
2763
|
}
|
|
2763
|
-
},
|
|
2764
|
+
}, sh = /* @__PURE__ */ Object.assign({
|
|
2764
2765
|
inheritAttrs: !1
|
|
2765
2766
|
}, {
|
|
2766
2767
|
__name: "UluTabGroup",
|
|
@@ -2775,7 +2776,7 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2775
2776
|
vertical: Boolean
|
|
2776
2777
|
},
|
|
2777
2778
|
setup(e) {
|
|
2778
|
-
return (n, t) => (u(), _(
|
|
2779
|
+
return (n, t) => (u(), _(A(oo), {
|
|
2779
2780
|
defaultIndex: e.defaultIndex,
|
|
2780
2781
|
vertical: e.vertical
|
|
2781
2782
|
}, {
|
|
@@ -2791,37 +2792,37 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2791
2792
|
_: 3
|
|
2792
2793
|
}, 8, ["defaultIndex", "vertical"]));
|
|
2793
2794
|
}
|
|
2794
|
-
}),
|
|
2795
|
+
}), oh = {
|
|
2795
2796
|
__name: "UluTabList",
|
|
2796
2797
|
setup(e) {
|
|
2797
|
-
return (n, t) => (u(), _(
|
|
2798
|
+
return (n, t) => (u(), _(A(io), { class: "tabs__tablist" }, {
|
|
2798
2799
|
default: S(() => [
|
|
2799
2800
|
g(n.$slots, "default")
|
|
2800
2801
|
]),
|
|
2801
2802
|
_: 3
|
|
2802
2803
|
}));
|
|
2803
2804
|
}
|
|
2804
|
-
},
|
|
2805
|
+
}, ih = {
|
|
2805
2806
|
__name: "UluTabPanel",
|
|
2806
2807
|
setup(e) {
|
|
2807
|
-
return (n, t) => (u(), _(
|
|
2808
|
+
return (n, t) => (u(), _(A(ro), null, {
|
|
2808
2809
|
default: S((s) => [
|
|
2809
2810
|
g(n.$slots, "default", ee(te(s)))
|
|
2810
2811
|
]),
|
|
2811
2812
|
_: 3
|
|
2812
2813
|
}));
|
|
2813
2814
|
}
|
|
2814
|
-
},
|
|
2815
|
+
}, rh = {
|
|
2815
2816
|
__name: "UluTabPanels",
|
|
2816
2817
|
setup(e) {
|
|
2817
|
-
return (n, t) => (u(), _(
|
|
2818
|
+
return (n, t) => (u(), _(A(lo), null, {
|
|
2818
2819
|
default: S((s) => [
|
|
2819
2820
|
g(n.$slots, "default", ee(te(s)))
|
|
2820
2821
|
]),
|
|
2821
2822
|
_: 3
|
|
2822
2823
|
}));
|
|
2823
2824
|
}
|
|
2824
|
-
},
|
|
2825
|
+
}, Hi = {
|
|
2825
2826
|
name: "UluButton",
|
|
2826
2827
|
components: {
|
|
2827
2828
|
UluIcon: N
|
|
@@ -2922,10 +2923,10 @@ const Vi = { class: "layout-flex-baseline" }, Hi = { class: "type-word-break" },
|
|
|
2922
2923
|
return n && (s && (o.target = s), t && (o.download = typeof t == "string" ? t : !0)), o;
|
|
2923
2924
|
}
|
|
2924
2925
|
}
|
|
2925
|
-
},
|
|
2926
|
-
function
|
|
2926
|
+
}, Ni = { key: 1 };
|
|
2927
|
+
function Di(e, n, t, s, o, i) {
|
|
2927
2928
|
const r = D("UluIcon");
|
|
2928
|
-
return u(), _(
|
|
2929
|
+
return u(), _(F(i.element), le({
|
|
2929
2930
|
class: ["button", [
|
|
2930
2931
|
{
|
|
2931
2932
|
"button--transparent": t.transparent,
|
|
@@ -2948,7 +2949,7 @@ function Wi(e, n, t, s, o, i) {
|
|
|
2948
2949
|
icon: t.icon,
|
|
2949
2950
|
class: "button__icon"
|
|
2950
2951
|
}, null, 8, ["icon"])) : b("", !0),
|
|
2951
|
-
(e.$slots.default || t.text) && !t.iconOnly ? (u(), d("span",
|
|
2952
|
+
(e.$slots.default || t.text) && !t.iconOnly ? (u(), d("span", Ni, [
|
|
2952
2953
|
g(e.$slots, "default", {}, () => [
|
|
2953
2954
|
k(p(t.text), 1)
|
|
2954
2955
|
])
|
|
@@ -2963,10 +2964,10 @@ function Wi(e, n, t, s, o, i) {
|
|
|
2963
2964
|
_: 3
|
|
2964
2965
|
}, 16, ["class", "aria-label"]);
|
|
2965
2966
|
}
|
|
2966
|
-
const
|
|
2967
|
+
const Wi = /* @__PURE__ */ E(Hi, [["render", Di]]), Xi = {
|
|
2967
2968
|
name: "UluAlert",
|
|
2968
2969
|
components: {
|
|
2969
|
-
UluButton:
|
|
2970
|
+
UluButton: Wi,
|
|
2970
2971
|
UluIcon: N
|
|
2971
2972
|
},
|
|
2972
2973
|
props: {
|
|
@@ -3041,7 +3042,7 @@ function Gi(e, n, t, s, o, i) {
|
|
|
3041
3042
|
])
|
|
3042
3043
|
], 2);
|
|
3043
3044
|
}
|
|
3044
|
-
const
|
|
3045
|
+
const lh = /* @__PURE__ */ E(Xi, [["render", Gi]]), Zi = ["aria-hidden"], Qi = {
|
|
3045
3046
|
key: 2,
|
|
3046
3047
|
class: "hidden-visually"
|
|
3047
3048
|
}, Ji = {
|
|
@@ -3085,7 +3086,7 @@ const ah = /* @__PURE__ */ E(Xi, [["render", Gi]]), Zi = ["aria-hidden"], Qi = {
|
|
|
3085
3086
|
const { click: o, to: i, href: r } = n;
|
|
3086
3087
|
return o ? "button" : i ? gt : r ? "a" : "span";
|
|
3087
3088
|
});
|
|
3088
|
-
return (o, i) => (u(), _(
|
|
3089
|
+
return (o, i) => (u(), _(F(s.value), {
|
|
3089
3090
|
class: m(["badge", [
|
|
3090
3091
|
e.size ? `badge--${e.size}` : null,
|
|
3091
3092
|
e.type ? `badge--${e.type}` : null,
|
|
@@ -3109,7 +3110,7 @@ const ah = /* @__PURE__ */ E(Xi, [["render", Gi]]), Zi = ["aria-hidden"], Qi = {
|
|
|
3109
3110
|
_: 3
|
|
3110
3111
|
}, 8, ["class", "to", "href", "onClick"]));
|
|
3111
3112
|
}
|
|
3112
|
-
}, er = { class: "badge-stack" },
|
|
3113
|
+
}, er = { class: "badge-stack" }, ah = {
|
|
3113
3114
|
__name: "UluBadgeStack",
|
|
3114
3115
|
props: {
|
|
3115
3116
|
/**
|
|
@@ -3200,7 +3201,7 @@ const ah = /* @__PURE__ */ E(Xi, [["render", Gi]]), Zi = ["aria-hidden"], Qi = {
|
|
|
3200
3201
|
};
|
|
3201
3202
|
function sr(e, n, t, s, o, i) {
|
|
3202
3203
|
const r = D("UluIcon");
|
|
3203
|
-
return u(), _(
|
|
3204
|
+
return u(), _(F(i.element), le({
|
|
3204
3205
|
class: ["button-verbose", [
|
|
3205
3206
|
{
|
|
3206
3207
|
"button-verbose--inline": t.inline,
|
|
@@ -3210,7 +3211,7 @@ function sr(e, n, t, s, o, i) {
|
|
|
3210
3211
|
]]
|
|
3211
3212
|
}, i.attrs), {
|
|
3212
3213
|
default: S(() => [
|
|
3213
|
-
e.$slots.title || t.title ? (u(), _(
|
|
3214
|
+
e.$slots.title || t.title ? (u(), _(F(t.titleElement), {
|
|
3214
3215
|
key: 0,
|
|
3215
3216
|
class: "button-verbose__title"
|
|
3216
3217
|
}, {
|
|
@@ -3236,7 +3237,7 @@ function sr(e, n, t, s, o, i) {
|
|
|
3236
3237
|
_: 3
|
|
3237
3238
|
}, 16, ["class"]);
|
|
3238
3239
|
}
|
|
3239
|
-
const
|
|
3240
|
+
const ch = /* @__PURE__ */ E(tr, [["render", sr]]), or = {
|
|
3240
3241
|
name: "UluCallout",
|
|
3241
3242
|
props: {
|
|
3242
3243
|
/**
|
|
@@ -3261,7 +3262,7 @@ function ir(e, n, t, s, o, i) {
|
|
|
3261
3262
|
g(e.$slots, "default")
|
|
3262
3263
|
], 2);
|
|
3263
3264
|
}
|
|
3264
|
-
const
|
|
3265
|
+
const uh = /* @__PURE__ */ E(or, [["render", ir]]), Cn = (e, n) => {
|
|
3265
3266
|
const t = !(n.to || n.href);
|
|
3266
3267
|
return t || console.warn("'titleHref' and 'titleTo' can't be used with to or href (nesting links)"), t;
|
|
3267
3268
|
}, rr = {
|
|
@@ -3414,7 +3415,7 @@ const dh = /* @__PURE__ */ E(or, [["render", ir]]), Cn = (e, n) => {
|
|
|
3414
3415
|
};
|
|
3415
3416
|
function hr(e, n, t, s, o, i) {
|
|
3416
3417
|
const r = D("router-link");
|
|
3417
|
-
return u(), _(
|
|
3418
|
+
return u(), _(F(i.resolvedElement), {
|
|
3418
3419
|
class: m(["card", [
|
|
3419
3420
|
{
|
|
3420
3421
|
"card--horizontal": t.horizontal || t.horizontalCenter,
|
|
@@ -3434,7 +3435,7 @@ function hr(e, n, t, s, o, i) {
|
|
|
3434
3435
|
default: S(() => [
|
|
3435
3436
|
h("div", lr, [
|
|
3436
3437
|
h("div", ar, [
|
|
3437
|
-
(u(), _(
|
|
3438
|
+
(u(), _(F(t.titleElement), {
|
|
3438
3439
|
class: m(["card__title", t.classes.title])
|
|
3439
3440
|
}, {
|
|
3440
3441
|
default: S(() => [
|
|
@@ -3493,7 +3494,7 @@ function hr(e, n, t, s, o, i) {
|
|
|
3493
3494
|
_: 3
|
|
3494
3495
|
}, 40, ["onMousedown", "onMouseup", "class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]);
|
|
3495
3496
|
}
|
|
3496
|
-
const
|
|
3497
|
+
const dh = /* @__PURE__ */ E(rr, [["render", hr]]), fh = {
|
|
3497
3498
|
__name: "UluDefinitionList",
|
|
3498
3499
|
props: {
|
|
3499
3500
|
/**
|
|
@@ -3540,7 +3541,7 @@ const fh = /* @__PURE__ */ E(rr, [["render", hr]]), hh = {
|
|
|
3540
3541
|
], 2))), 128))
|
|
3541
3542
|
], 2));
|
|
3542
3543
|
}
|
|
3543
|
-
}, mr = ["href", "target"], gr = { class: "external-link__text" },
|
|
3544
|
+
}, mr = ["href", "target"], gr = { class: "external-link__text" }, hh = {
|
|
3544
3545
|
__name: "UluExternalLink",
|
|
3545
3546
|
props: {
|
|
3546
3547
|
/**
|
|
@@ -3580,7 +3581,7 @@ const fh = /* @__PURE__ */ E(rr, [["render", hr]]), hh = {
|
|
|
3580
3581
|
}, null, 8, ["icon"])
|
|
3581
3582
|
], 8, mr));
|
|
3582
3583
|
}
|
|
3583
|
-
},
|
|
3584
|
+
}, mh = {
|
|
3584
3585
|
__name: "UluList",
|
|
3585
3586
|
props: {
|
|
3586
3587
|
/**
|
|
@@ -3631,7 +3632,7 @@ const fh = /* @__PURE__ */ E(rr, [["render", hr]]), hh = {
|
|
|
3631
3632
|
},
|
|
3632
3633
|
setup(e) {
|
|
3633
3634
|
const n = e, t = w(() => n.ordered || n.forceOrdered ? "ol" : "ul");
|
|
3634
|
-
return (s, o) => (u(), _(
|
|
3635
|
+
return (s, o) => (u(), _(F(t.value), {
|
|
3635
3636
|
class: m([
|
|
3636
3637
|
{
|
|
3637
3638
|
"list-ordered": e.ordered,
|
|
@@ -3669,7 +3670,7 @@ function pr(e, n) {
|
|
|
3669
3670
|
g(e.$slots, "default")
|
|
3670
3671
|
]);
|
|
3671
3672
|
}
|
|
3672
|
-
const
|
|
3673
|
+
const gh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner__spinner" }, vh = {
|
|
3673
3674
|
__name: "UluSpokeSpinner",
|
|
3674
3675
|
props: {
|
|
3675
3676
|
/**
|
|
@@ -3686,7 +3687,7 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3686
3687
|
])
|
|
3687
3688
|
], 2));
|
|
3688
3689
|
}
|
|
3689
|
-
}, _r = ["role", "aria-labelledby"], wr = ["id"], Sr = { class: "menu-stack__list" }, kr = { class: "menu-stack__selectable" }, $r = ["type", "id", "name", "value", "checked", "onChange"], Cr = ["for"],
|
|
3690
|
+
}, _r = ["role", "aria-labelledby"], wr = ["id"], Sr = { class: "menu-stack__list" }, kr = { class: "menu-stack__selectable" }, $r = ["type", "id", "name", "value", "checked", "onChange"], Cr = ["for"], $s = {
|
|
3690
3691
|
__name: "UluSelectableMenu",
|
|
3691
3692
|
props: {
|
|
3692
3693
|
/**
|
|
@@ -3767,7 +3768,7 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3767
3768
|
])
|
|
3768
3769
|
], 10, _r));
|
|
3769
3770
|
}
|
|
3770
|
-
},
|
|
3771
|
+
}, Tr = ["href", "download"], Ar = { class: "margin-left-small-x" }, yh = {
|
|
3771
3772
|
__name: "UluFileDisplay",
|
|
3772
3773
|
props: {
|
|
3773
3774
|
/**
|
|
@@ -3807,7 +3808,7 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3807
3808
|
class: "ui-icon",
|
|
3808
3809
|
icon: e.icon
|
|
3809
3810
|
}, null, 8, ["icon"]),
|
|
3810
|
-
h("span",
|
|
3811
|
+
h("span", Ar, [
|
|
3811
3812
|
k(p(e.file.name) + " ", 1),
|
|
3812
3813
|
e.noFileSize ? b("", !0) : (u(), _(bs, {
|
|
3813
3814
|
key: 0,
|
|
@@ -3817,9 +3818,9 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3817
3818
|
}, null, 8, ["text"]))
|
|
3818
3819
|
])
|
|
3819
3820
|
])
|
|
3820
|
-
], 8,
|
|
3821
|
+
], 8, Tr));
|
|
3821
3822
|
}
|
|
3822
|
-
}, Or = { class: "site-form__item site-form__item--file" }, xr = ["for"], Er = ["multiple", "id"],
|
|
3823
|
+
}, Or = { class: "site-form__item site-form__item--file" }, xr = ["for"], Er = ["multiple", "id"], ph = {
|
|
3823
3824
|
__name: "UluFormFile",
|
|
3824
3825
|
props: {
|
|
3825
3826
|
/**
|
|
@@ -3857,7 +3858,7 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3857
3858
|
return (r, l) => (u(), d("div", Or, [
|
|
3858
3859
|
h("label", {
|
|
3859
3860
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3860
|
-
for:
|
|
3861
|
+
for: A(o)
|
|
3861
3862
|
}, [
|
|
3862
3863
|
g(r.$slots, "label", {}, () => [
|
|
3863
3864
|
k(p(e.label), 1)
|
|
@@ -3867,11 +3868,11 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3867
3868
|
type: "file",
|
|
3868
3869
|
onChange: i,
|
|
3869
3870
|
multiple: e.multiple,
|
|
3870
|
-
id:
|
|
3871
|
+
id: A(o)
|
|
3871
3872
|
}, e.inputAttrs), null, 16, Er)
|
|
3872
3873
|
]));
|
|
3873
3874
|
}
|
|
3874
|
-
},
|
|
3875
|
+
}, bh = {
|
|
3875
3876
|
__name: "UluFormMessage",
|
|
3876
3877
|
props: {
|
|
3877
3878
|
/**
|
|
@@ -3897,7 +3898,7 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3897
3898
|
g(n.$slots, "default")
|
|
3898
3899
|
], 2));
|
|
3899
3900
|
}
|
|
3900
|
-
}, Rr = { class: "site-form__item site-form__item--select" }, jr = ["for"], Ir = ["id", "value"], zr = ["value"],
|
|
3901
|
+
}, Rr = { class: "site-form__item site-form__item--select" }, jr = ["for"], Ir = ["id", "value"], zr = ["value"], _h = {
|
|
3901
3902
|
__name: "UluFormSelect",
|
|
3902
3903
|
props: {
|
|
3903
3904
|
/**
|
|
@@ -3926,14 +3927,14 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3926
3927
|
return (s, o) => (u(), d("div", Rr, [
|
|
3927
3928
|
h("label", {
|
|
3928
3929
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3929
|
-
for:
|
|
3930
|
+
for: A(t)
|
|
3930
3931
|
}, [
|
|
3931
3932
|
g(s.$slots, "default", {}, () => [
|
|
3932
3933
|
k(p(e.label), 1)
|
|
3933
3934
|
])
|
|
3934
3935
|
], 10, jr),
|
|
3935
3936
|
h("select", {
|
|
3936
|
-
id:
|
|
3937
|
+
id: A(t),
|
|
3937
3938
|
value: e.modelValue,
|
|
3938
3939
|
onInput: o[0] || (o[0] = (i) => s.$emit("update:modelValue", i.target.value))
|
|
3939
3940
|
}, [
|
|
@@ -3948,7 +3949,7 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3948
3949
|
], 40, Ir)
|
|
3949
3950
|
]));
|
|
3950
3951
|
}
|
|
3951
|
-
},
|
|
3952
|
+
}, Br = { class: "site-form__item site-form__item--text" }, Mr = ["for"], Ur = ["value", "id"], wh = {
|
|
3952
3953
|
__name: "UluFormText",
|
|
3953
3954
|
props: {
|
|
3954
3955
|
/**
|
|
@@ -3970,27 +3971,27 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
3970
3971
|
let s = 0;
|
|
3971
3972
|
return () => `text-input-id-${++s}`;
|
|
3972
3973
|
})())();
|
|
3973
|
-
return (s, o) => (u(), d("div",
|
|
3974
|
+
return (s, o) => (u(), d("div", Br, [
|
|
3974
3975
|
h("label", {
|
|
3975
3976
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3976
|
-
for:
|
|
3977
|
+
for: A(t)
|
|
3977
3978
|
}, [
|
|
3978
3979
|
g(s.$slots, "default", {}, () => [
|
|
3979
3980
|
k(p(e.label), 1)
|
|
3980
3981
|
])
|
|
3981
|
-
], 10,
|
|
3982
|
+
], 10, Mr),
|
|
3982
3983
|
h("input", {
|
|
3983
3984
|
type: "text",
|
|
3984
3985
|
value: e.modelValue,
|
|
3985
3986
|
onInput: o[0] || (o[0] = (i) => s.$emit("update:modelValue", i.target.value)),
|
|
3986
|
-
id:
|
|
3987
|
-
}, null, 40,
|
|
3987
|
+
id: A(t)
|
|
3988
|
+
}, null, 40, Ur)
|
|
3988
3989
|
]));
|
|
3989
3990
|
}
|
|
3990
3991
|
}, Pr = { class: "form-theme search-form type-small" }, Lr = { class: "search-form__field" }, Fr = ["placeholder"], Vr = {
|
|
3991
3992
|
class: "search-form__submit button button--primary",
|
|
3992
3993
|
"aria-label": "Submit Search"
|
|
3993
|
-
},
|
|
3994
|
+
}, Sh = {
|
|
3994
3995
|
__name: "UluSearchForm",
|
|
3995
3996
|
props: {
|
|
3996
3997
|
/**
|
|
@@ -4017,11 +4018,11 @@ const vh = /* @__PURE__ */ E(vr, [["render", pr]]), br = { class: "spoke-spinner
|
|
|
4017
4018
|
])
|
|
4018
4019
|
]));
|
|
4019
4020
|
}
|
|
4020
|
-
},
|
|
4021
|
+
}, kh = {
|
|
4021
4022
|
__name: "UluAdaptiveLayout",
|
|
4022
4023
|
setup(e) {
|
|
4023
|
-
const n =
|
|
4024
|
-
return (t, s) => !
|
|
4024
|
+
const n = Ai("uluIsMobile");
|
|
4025
|
+
return (t, s) => !A(n) || !t.$slots.mobile ? g(t.$slots, "default", { key: 0 }) : g(t.$slots, "mobile", { key: 1 });
|
|
4025
4026
|
}
|
|
4026
4027
|
};
|
|
4027
4028
|
function Hr(e) {
|
|
@@ -4060,7 +4061,7 @@ function Wr(e, n, t, s, o, i) {
|
|
|
4060
4061
|
g(e.$slots, "default")
|
|
4061
4062
|
]);
|
|
4062
4063
|
}
|
|
4063
|
-
const
|
|
4064
|
+
const $h = /* @__PURE__ */ E(Dr, [["render", Wr]]), Xr = {
|
|
4064
4065
|
name: "UluTitleRail",
|
|
4065
4066
|
components: {
|
|
4066
4067
|
UluIcon: N
|
|
@@ -4117,7 +4118,7 @@ function qr(e, n, t, s, o, i) {
|
|
|
4117
4118
|
h("div", {
|
|
4118
4119
|
class: m(["rail__item rail__item--title", t.classes.itemTitle])
|
|
4119
4120
|
}, [
|
|
4120
|
-
(u(), _(
|
|
4121
|
+
(u(), _(F(t.titleElement), {
|
|
4121
4122
|
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
4122
4123
|
style: H({ alignItems: t.iconAlign })
|
|
4123
4124
|
}, {
|
|
@@ -4139,7 +4140,7 @@ function qr(e, n, t, s, o, i) {
|
|
|
4139
4140
|
])) : b("", !0)
|
|
4140
4141
|
], 2);
|
|
4141
4142
|
}
|
|
4142
|
-
const
|
|
4143
|
+
const Ch = /* @__PURE__ */ E(Xr, [["render", qr]]), Kr = {
|
|
4143
4144
|
name: "UluBreadcrumb",
|
|
4144
4145
|
components: {
|
|
4145
4146
|
UluIcon: N
|
|
@@ -4262,14 +4263,14 @@ function Qr(e, n, t, s, o, i) {
|
|
|
4262
4263
|
}, null, 8, ["items"])
|
|
4263
4264
|
], 2);
|
|
4264
4265
|
}
|
|
4265
|
-
const
|
|
4266
|
+
const Ah = /* @__PURE__ */ E(Zr, [["render", Qr]]), Jr = {}, el = {
|
|
4266
4267
|
class: "site-skip-link hidden-visually-focusable",
|
|
4267
4268
|
href: "#main-content"
|
|
4268
4269
|
};
|
|
4269
4270
|
function tl(e, n) {
|
|
4270
4271
|
return u(), d("a", el, " Skip to main content ");
|
|
4271
4272
|
}
|
|
4272
|
-
const
|
|
4273
|
+
const Oh = /* @__PURE__ */ E(Jr, [["render", tl]]), nl = {
|
|
4273
4274
|
name: "UluCondText",
|
|
4274
4275
|
props: {
|
|
4275
4276
|
/**
|
|
@@ -4286,23 +4287,23 @@ const xh = /* @__PURE__ */ E(Jr, [["render", tl]]), nl = {
|
|
|
4286
4287
|
}
|
|
4287
4288
|
};
|
|
4288
4289
|
function sl(e, n, t, s, o, i) {
|
|
4289
|
-
return t.text != null ? (u(), _(
|
|
4290
|
+
return t.text != null ? (u(), _(F(t.element), { key: 0 }, {
|
|
4290
4291
|
default: S(() => [
|
|
4291
4292
|
k(p(t.text), 1)
|
|
4292
4293
|
]),
|
|
4293
4294
|
_: 1
|
|
4294
4295
|
})) : b("", !0);
|
|
4295
4296
|
}
|
|
4296
|
-
const
|
|
4297
|
+
const xh = /* @__PURE__ */ E(nl, [["render", sl]]), ol = {}, il = { style: { display: "none" } };
|
|
4297
4298
|
function rl(e, n) {
|
|
4298
4299
|
return u(), d("span", il);
|
|
4299
4300
|
}
|
|
4300
|
-
const
|
|
4301
|
+
const Eh = /* @__PURE__ */ E(ol, [["render", rl]]), ll = {};
|
|
4301
4302
|
function al(e, n) {
|
|
4302
4303
|
const t = D("router-view");
|
|
4303
4304
|
return u(), _(t);
|
|
4304
4305
|
}
|
|
4305
|
-
const
|
|
4306
|
+
const Rh = /* @__PURE__ */ E(ll, [["render", al]]);
|
|
4306
4307
|
function ut(e = 0, n = 100) {
|
|
4307
4308
|
return e = Math.ceil(e), n = Math.floor(n), Math.floor(Math.random() * (n - e) + e);
|
|
4308
4309
|
}
|
|
@@ -4353,7 +4354,7 @@ function dl(e, n, t, s, o, i) {
|
|
|
4353
4354
|
alt: t.alt
|
|
4354
4355
|
}, null, 8, ul);
|
|
4355
4356
|
}
|
|
4356
|
-
const
|
|
4357
|
+
const jh = /* @__PURE__ */ E(cl, [["render", dl]]), fl = {
|
|
4357
4358
|
name: "PlaceholderText",
|
|
4358
4359
|
props: {
|
|
4359
4360
|
amount: {
|
|
@@ -4367,14 +4368,14 @@ const Ih = /* @__PURE__ */ E(cl, [["render", dl]]), fl = {
|
|
|
4367
4368
|
}
|
|
4368
4369
|
};
|
|
4369
4370
|
function hl(e, n, t, s, o, i) {
|
|
4370
|
-
return u(!0), d(x, null, O(parseInt(t.amount), (r) => (u(), _(
|
|
4371
|
+
return u(!0), d(x, null, O(parseInt(t.amount), (r) => (u(), _(F(t.element), { key: r }, {
|
|
4371
4372
|
default: S(() => [...n[0] || (n[0] = [
|
|
4372
4373
|
k(" 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)
|
|
4373
4374
|
])]),
|
|
4374
4375
|
_: 2
|
|
4375
4376
|
}, 1024))), 128);
|
|
4376
4377
|
}
|
|
4377
|
-
const
|
|
4378
|
+
const Ih = /* @__PURE__ */ E(fl, [["render", hl]]), ml = {
|
|
4378
4379
|
name: "RouteAnnouncer",
|
|
4379
4380
|
props: {
|
|
4380
4381
|
/**
|
|
@@ -4427,7 +4428,7 @@ function gl(e, n, t, s, o, i) {
|
|
|
4427
4428
|
ref: "el"
|
|
4428
4429
|
}, p(i.title), 513)) : b("", !0);
|
|
4429
4430
|
}
|
|
4430
|
-
const
|
|
4431
|
+
const zh = /* @__PURE__ */ E(ml, [["render", gl]]), vl = {
|
|
4431
4432
|
name: "AnimateNumber",
|
|
4432
4433
|
props: {
|
|
4433
4434
|
/**
|
|
@@ -4437,7 +4438,7 @@ const Mh = /* @__PURE__ */ E(ml, [["render", gl]]), vl = {
|
|
|
4437
4438
|
},
|
|
4438
4439
|
watch: {
|
|
4439
4440
|
value() {
|
|
4440
|
-
|
|
4441
|
+
ao.to(this, {
|
|
4441
4442
|
tweenValue: this.value,
|
|
4442
4443
|
onUpdate: () => {
|
|
4443
4444
|
this.currentValue = Math.ceil(this.tweenValue);
|
|
@@ -4459,7 +4460,7 @@ function yl(e, n, t, s, o, i) {
|
|
|
4459
4460
|
])
|
|
4460
4461
|
]);
|
|
4461
4462
|
}
|
|
4462
|
-
const
|
|
4463
|
+
const Bh = /* @__PURE__ */ E(vl, [["render", yl]]), pl = {
|
|
4463
4464
|
key: 0,
|
|
4464
4465
|
class: "progress-bar__header"
|
|
4465
4466
|
}, bl = {
|
|
@@ -4474,7 +4475,7 @@ const Uh = /* @__PURE__ */ E(vl, [["render", yl]]), pl = {
|
|
|
4474
4475
|
}, kl = { class: "progress-bar__value progress-bar__value--amount" }, $l = {
|
|
4475
4476
|
key: 0,
|
|
4476
4477
|
class: "progress-bar__value progress-bar__value--deficit"
|
|
4477
|
-
}, Cl = { class: "progress-bar__value progress-bar__value--total" },
|
|
4478
|
+
}, Cl = { class: "progress-bar__value progress-bar__value--total" }, Mh = {
|
|
4478
4479
|
__name: "UluProgressBar",
|
|
4479
4480
|
props: {
|
|
4480
4481
|
/**
|
|
@@ -4572,7 +4573,7 @@ const Uh = /* @__PURE__ */ E(vl, [["render", yl]]), pl = {
|
|
|
4572
4573
|
class: m(i.value)
|
|
4573
4574
|
}, [
|
|
4574
4575
|
e.label || r.$slots.label || r.$slots.icon || e.amountInHeader ? (u(), d("div", pl, [
|
|
4575
|
-
e.label ? (u(), _(
|
|
4576
|
+
e.label ? (u(), _(F(e.labelElement), {
|
|
4576
4577
|
key: 0,
|
|
4577
4578
|
class: m(["progress-bar__label", [e.classes.label, { "hidden-visually": e.labelHidden }]])
|
|
4578
4579
|
}, {
|
|
@@ -4626,7 +4627,7 @@ const Uh = /* @__PURE__ */ E(vl, [["render", yl]]), pl = {
|
|
|
4626
4627
|
])) : b("", !0)
|
|
4627
4628
|
], 2));
|
|
4628
4629
|
}
|
|
4629
|
-
},
|
|
4630
|
+
}, Tl = { class: "hidden-visually" }, Al = { class: "progress-circle__chart" }, Ol = {
|
|
4630
4631
|
class: "progress-circle__chart-svg",
|
|
4631
4632
|
viewBox: "0 0 32 32"
|
|
4632
4633
|
}, xl = {
|
|
@@ -4635,7 +4636,7 @@ const Uh = /* @__PURE__ */ E(vl, [["render", yl]]), pl = {
|
|
|
4635
4636
|
}, El = {
|
|
4636
4637
|
key: 0,
|
|
4637
4638
|
class: "progress-circle__value type-small-x"
|
|
4638
|
-
},
|
|
4639
|
+
}, Uh = {
|
|
4639
4640
|
__name: "UluProgressCircle",
|
|
4640
4641
|
props: {
|
|
4641
4642
|
/**
|
|
@@ -4733,8 +4734,8 @@ const Uh = /* @__PURE__ */ E(vl, [["render", yl]]), pl = {
|
|
|
4733
4734
|
}), (a, c) => (u(), d("div", {
|
|
4734
4735
|
class: m(l.value)
|
|
4735
4736
|
}, [
|
|
4736
|
-
h("strong",
|
|
4737
|
-
h("div",
|
|
4737
|
+
h("strong", Tl, p(e.label), 1),
|
|
4738
|
+
h("div", Al, [
|
|
4738
4739
|
(u(), d("svg", Ol, [
|
|
4739
4740
|
c[0] || (c[0] = h("circle", {
|
|
4740
4741
|
class: "progress-circle__chart-track",
|
|
@@ -4818,7 +4819,7 @@ function jl(e, n) {
|
|
|
4818
4819
|
};
|
|
4819
4820
|
});
|
|
4820
4821
|
}
|
|
4821
|
-
function
|
|
4822
|
+
function Ph(e, n = {}) {
|
|
4822
4823
|
const t = (C, I) => {
|
|
4823
4824
|
const P = C[I];
|
|
4824
4825
|
return P === null || typeof P > "u" ? [] : Array.isArray(P) ? P : [P];
|
|
@@ -4835,13 +4836,13 @@ function Lh(e, n = {}) {
|
|
|
4835
4836
|
countMode: v = "none"
|
|
4836
4837
|
// 'none', 'simple', 'intuitive'
|
|
4837
4838
|
} = n, $ = (C) => C.sort((I, P) => {
|
|
4838
|
-
const
|
|
4839
|
-
return
|
|
4840
|
-
}),
|
|
4839
|
+
const B = y(I), V = y(P);
|
|
4840
|
+
return B && V ? String(B).localeCompare(String(V)) : B ? -1 : V ? 1 : 0;
|
|
4841
|
+
}), T = {
|
|
4841
4842
|
az: { text: "A-Z", sort: $ },
|
|
4842
4843
|
za: { text: "Z-A", sort: (C) => $(C).reverse() }
|
|
4843
4844
|
};
|
|
4844
|
-
function
|
|
4845
|
+
function U(C) {
|
|
4845
4846
|
return (C || []).map((I) => ({
|
|
4846
4847
|
...I,
|
|
4847
4848
|
open: I.open || !1,
|
|
@@ -4853,22 +4854,22 @@ function Lh(e, n = {}) {
|
|
|
4853
4854
|
}));
|
|
4854
4855
|
}
|
|
4855
4856
|
const j = R([]), ue = R(i), Qe = R(r), Je = w(() => !o || !e.value?.length ? null : jl(e.value, o)), ge = w(() => ({
|
|
4856
|
-
...l ? {} :
|
|
4857
|
+
...l ? {} : T,
|
|
4857
4858
|
...a
|
|
4858
4859
|
})), se = w(() => {
|
|
4859
4860
|
const C = /* @__PURE__ */ new Map(), I = Q.value;
|
|
4860
4861
|
if (!I || !o) return C;
|
|
4861
|
-
const P = new Map(o.map((
|
|
4862
|
-
const
|
|
4863
|
-
return [
|
|
4862
|
+
const P = new Map(o.map((B) => {
|
|
4863
|
+
const V = B.getValue || ((W) => W[B.uid]);
|
|
4864
|
+
return [B.uid, V];
|
|
4864
4865
|
}));
|
|
4865
|
-
for (let
|
|
4866
|
-
const
|
|
4866
|
+
for (let B = 0; B < I.length; B++) {
|
|
4867
|
+
const V = I[B];
|
|
4867
4868
|
for (const W of o) {
|
|
4868
|
-
const Y = P.get(W.uid)(
|
|
4869
|
+
const Y = P.get(W.uid)(V), G = Array.isArray(Y) ? Y : Y ? [Y] : [];
|
|
4869
4870
|
for (const et of G) {
|
|
4870
|
-
const
|
|
4871
|
-
C.has(
|
|
4871
|
+
const Me = `${W.uid}:${et}`;
|
|
4872
|
+
C.has(Me) || C.set(Me, /* @__PURE__ */ new Set()), C.get(Me).add(B);
|
|
4872
4873
|
}
|
|
4873
4874
|
}
|
|
4874
4875
|
}
|
|
@@ -4877,10 +4878,10 @@ function Lh(e, n = {}) {
|
|
|
4877
4878
|
shouldSort: !0,
|
|
4878
4879
|
keys: ["title", "label", "description", "author"],
|
|
4879
4880
|
...c
|
|
4880
|
-
})), Q = w(() => ue.value?.length ? new
|
|
4881
|
+
})), Q = w(() => ue.value?.length ? new co(e.value, Ct.value).search(ue.value).map((I) => I.item) : e.value), de = w(() => {
|
|
4881
4882
|
const C = [];
|
|
4882
4883
|
return j.value.forEach((I) => {
|
|
4883
|
-
const P = I.children.filter((
|
|
4884
|
+
const P = I.children.filter((B) => B.selected);
|
|
4884
4885
|
P.length > 0 && C.push({ ...I, children: P });
|
|
4885
4886
|
}), C;
|
|
4886
4887
|
}), X = w(() => {
|
|
@@ -4889,10 +4890,10 @@ function Lh(e, n = {}) {
|
|
|
4889
4890
|
const C = se.value;
|
|
4890
4891
|
if (C.size === 0 && Q.value.length > 0 && o?.length > 0)
|
|
4891
4892
|
return [];
|
|
4892
|
-
const I = new Set(Q.value.map((
|
|
4893
|
-
for (const
|
|
4894
|
-
|
|
4895
|
-
return
|
|
4893
|
+
const I = new Set(Q.value.map((V, W) => W)), P = Rt(de.value, C, I), B = [];
|
|
4894
|
+
for (const V of P)
|
|
4895
|
+
B.push(Q.value[V]);
|
|
4896
|
+
return B;
|
|
4896
4897
|
}), fe = w(() => {
|
|
4897
4898
|
const C = ge.value[Qe.value]?.sort;
|
|
4898
4899
|
return typeof C != "function" ? X.value : C([...X.value]);
|
|
@@ -4903,51 +4904,51 @@ function Lh(e, n = {}) {
|
|
|
4903
4904
|
});
|
|
4904
4905
|
}
|
|
4905
4906
|
function hn({ groupUid: C, facetUid: I, selected: P }) {
|
|
4906
|
-
const
|
|
4907
|
-
if (
|
|
4908
|
-
!
|
|
4907
|
+
const B = j.value.find((V) => V.uid === C);
|
|
4908
|
+
if (B) {
|
|
4909
|
+
!B.multiple && P && B.children.forEach((W) => {
|
|
4909
4910
|
W.uid !== I && (W.selected = !1);
|
|
4910
4911
|
});
|
|
4911
|
-
const
|
|
4912
|
-
|
|
4912
|
+
const V = B.children.find((W) => W.uid === I);
|
|
4913
|
+
V && (V.selected = P), B.selectedCount = B.children.filter((W) => W.selected).length;
|
|
4913
4914
|
}
|
|
4914
4915
|
}
|
|
4915
4916
|
return De(Je, (C) => {
|
|
4916
|
-
const I =
|
|
4917
|
+
const I = U(s || C);
|
|
4917
4918
|
I.forEach((P) => {
|
|
4918
|
-
P.selectedCount = P.children.filter((
|
|
4919
|
+
P.selectedCount = P.children.filter((B) => B.selected).length;
|
|
4919
4920
|
}), j.value = I;
|
|
4920
|
-
}, { immediate: !0 }), De([de, Q], ([C, I], [P,
|
|
4921
|
-
if (!(v === "none" || !j.value.length) && !(C === P && I ===
|
|
4921
|
+
}, { immediate: !0 }), De([de, Q], ([C, I], [P, B]) => {
|
|
4922
|
+
if (!(v === "none" || !j.value.length) && !(C === P && I === B)) {
|
|
4922
4923
|
if (v === "simple")
|
|
4923
|
-
j.value.forEach((
|
|
4924
|
-
const W = C.filter((Y) => Y.uid !==
|
|
4925
|
-
|
|
4926
|
-
Y.count =
|
|
4924
|
+
j.value.forEach((V) => {
|
|
4925
|
+
const W = C.filter((Y) => Y.uid !== V.uid), Be = getFilteredItems(I, W);
|
|
4926
|
+
V.children.forEach((Y) => {
|
|
4927
|
+
Y.count = Be.filter((G) => f(G, V.uid).includes(Y.uid)).length;
|
|
4927
4928
|
});
|
|
4928
4929
|
});
|
|
4929
4930
|
else if (v === "intuitive") {
|
|
4930
|
-
const
|
|
4931
|
-
if (
|
|
4931
|
+
const V = se.value;
|
|
4932
|
+
if (V.size === 0 && Q.value.length > 0 && o?.length > 0)
|
|
4932
4933
|
return;
|
|
4933
|
-
const W = new Set(Q.value.map((Y, G) => G)),
|
|
4934
|
+
const W = new Set(Q.value.map((Y, G) => G)), Be = Rt(C, V, W);
|
|
4934
4935
|
j.value.forEach((Y) => {
|
|
4935
4936
|
Y.children.forEach((G) => {
|
|
4936
|
-
const et = `${Y.uid}:${G.uid}`,
|
|
4937
|
+
const et = `${Y.uid}:${G.uid}`, Me = V.get(et) || /* @__PURE__ */ new Set();
|
|
4937
4938
|
if (G.selected)
|
|
4938
4939
|
if (Y.multiple) {
|
|
4939
|
-
const $e = Nt([
|
|
4940
|
+
const $e = Nt([Be, Me]);
|
|
4940
4941
|
G.count = $e.size;
|
|
4941
4942
|
} else
|
|
4942
|
-
G.count =
|
|
4943
|
+
G.count = Be.size;
|
|
4943
4944
|
else {
|
|
4944
4945
|
const $e = [];
|
|
4945
4946
|
for (const tt of C)
|
|
4946
4947
|
$e.push({ ...tt, children: [...tt.children] });
|
|
4947
|
-
let
|
|
4948
|
-
|
|
4949
|
-
const
|
|
4950
|
-
G.count =
|
|
4948
|
+
let Ue = $e.find((tt) => tt.uid === Y.uid);
|
|
4949
|
+
Ue || (Ue = { ...Y, children: [] }, $e.push(Ue)), Y.multiple ? Ue.children.push(G) : Ue.children = [G];
|
|
4950
|
+
const Ds = Rt($e, V, W);
|
|
4951
|
+
G.count = Ds.size;
|
|
4951
4952
|
}
|
|
4952
4953
|
});
|
|
4953
4954
|
});
|
|
@@ -4964,10 +4965,7 @@ function Lh(e, n = {}) {
|
|
|
4964
4965
|
handleFacetChange: hn
|
|
4965
4966
|
};
|
|
4966
4967
|
}
|
|
4967
|
-
const Il = {
|
|
4968
|
-
key: 0,
|
|
4969
|
-
class: "ulu-facets-active-filters"
|
|
4970
|
-
}, zl = { class: "ulu-facets-active-filters__items" }, Fh = {
|
|
4968
|
+
const Il = ["onClick"], Lh = {
|
|
4971
4969
|
__name: "UluFacetsActiveFilters",
|
|
4972
4970
|
props: {
|
|
4973
4971
|
/**
|
|
@@ -4976,6 +4974,36 @@ const Il = {
|
|
|
4976
4974
|
selectedFacets: {
|
|
4977
4975
|
type: Array,
|
|
4978
4976
|
default: () => []
|
|
4977
|
+
},
|
|
4978
|
+
/**
|
|
4979
|
+
* Element to use for label
|
|
4980
|
+
*/
|
|
4981
|
+
labelElement: {
|
|
4982
|
+
type: String,
|
|
4983
|
+
default: "strong"
|
|
4984
|
+
},
|
|
4985
|
+
/**
|
|
4986
|
+
* Icon to use for remove (in button)
|
|
4987
|
+
*/
|
|
4988
|
+
removeIcon: {
|
|
4989
|
+
type: String,
|
|
4990
|
+
default: "type:close"
|
|
4991
|
+
},
|
|
4992
|
+
/**
|
|
4993
|
+
* Classes for different element { label, list, item, filterButton, filterButtonText, filterButtonIcon, clearButton }
|
|
4994
|
+
*/
|
|
4995
|
+
classes: {
|
|
4996
|
+
type: Object,
|
|
4997
|
+
default: () => ({
|
|
4998
|
+
container: "layout-flex flex-wrap",
|
|
4999
|
+
label: "hidden-visually",
|
|
5000
|
+
list: "layout-flex flex-wrap",
|
|
5001
|
+
item: "margin-right-small-x",
|
|
5002
|
+
filterButton: "button button--small button--outline no-min-width",
|
|
5003
|
+
filterButtonText: null,
|
|
5004
|
+
filterButtonIcon: "button__icon",
|
|
5005
|
+
clearButton: "button button--small"
|
|
5006
|
+
})
|
|
4979
5007
|
}
|
|
4980
5008
|
},
|
|
4981
5009
|
emits: ["facet-change", "clear-filters"],
|
|
@@ -5001,30 +5029,53 @@ const Il = {
|
|
|
5001
5029
|
function r() {
|
|
5002
5030
|
s("clear-filters");
|
|
5003
5031
|
}
|
|
5004
|
-
return (l, a) => o.value.length ? (u(), d("div",
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5032
|
+
return (l, a) => o.value.length ? (u(), d("div", {
|
|
5033
|
+
key: 0,
|
|
5034
|
+
class: m(["facets-active", e.classes.container])
|
|
5035
|
+
}, [
|
|
5036
|
+
(u(), _(F(e.labelElement), {
|
|
5037
|
+
class: m(["facets-active__label", e.classes.label])
|
|
5038
|
+
}, {
|
|
5039
|
+
default: S(() => [
|
|
5040
|
+
g(l.$slots, "label", {}, () => [
|
|
5041
|
+
a[0] || (a[0] = k(" Active Filters: ", -1))
|
|
5042
|
+
])
|
|
5043
|
+
]),
|
|
5044
|
+
_: 3
|
|
5045
|
+
}, 8, ["class"])),
|
|
5046
|
+
h("ul", {
|
|
5047
|
+
class: m(["facets-active__list", e.classes.list])
|
|
5048
|
+
}, [
|
|
5049
|
+
(u(!0), d(x, null, O(o.value, (c) => (u(), d("li", {
|
|
5050
|
+
class: m(["facets-active__item", e.classes.item]),
|
|
5051
|
+
key: `${c.groupUid}-${c.uid}`
|
|
5052
|
+
}, [
|
|
5053
|
+
h("button", {
|
|
5054
|
+
class: m(e.classes.filterButton),
|
|
5055
|
+
icon: "type:remove",
|
|
5056
|
+
onClick: (f) => i(c)
|
|
5057
|
+
}, [
|
|
5058
|
+
h("span", {
|
|
5059
|
+
class: m(e.classes.filterButtonText)
|
|
5060
|
+
}, [
|
|
5061
|
+
a[1] || (a[1] = h("span", { class: "hidden-visually" }, "Remove Active Filter:", -1)),
|
|
5062
|
+
k(" " + p(c.label), 1)
|
|
5063
|
+
], 2),
|
|
5064
|
+
h("span", {
|
|
5065
|
+
class: m(e.classes.filterButtonIcon)
|
|
5066
|
+
}, [
|
|
5067
|
+
z(N, { icon: e.removeIcon }, null, 8, ["icon"])
|
|
5068
|
+
], 2)
|
|
5069
|
+
], 10, Il)
|
|
5070
|
+
], 2))), 128))
|
|
5071
|
+
], 2),
|
|
5021
5072
|
h("button", {
|
|
5022
5073
|
onClick: r,
|
|
5023
|
-
class:
|
|
5024
|
-
}, "Clear All")
|
|
5025
|
-
])) : b("", !0);
|
|
5074
|
+
class: m(e.classes.clearButton)
|
|
5075
|
+
}, "Clear All", 2)
|
|
5076
|
+
], 2)) : b("", !0);
|
|
5026
5077
|
}
|
|
5027
|
-
},
|
|
5078
|
+
}, zl = { key: 0 }, Tn = {
|
|
5028
5079
|
__name: "UluFacetsList",
|
|
5029
5080
|
props: {
|
|
5030
5081
|
groupUid: String,
|
|
@@ -5063,8 +5114,8 @@ const Il = {
|
|
|
5063
5114
|
});
|
|
5064
5115
|
}
|
|
5065
5116
|
}
|
|
5066
|
-
return (r, l) => (u(), _(
|
|
5067
|
-
class: "
|
|
5117
|
+
return (r, l) => (u(), _($s, {
|
|
5118
|
+
class: "facets-list",
|
|
5068
5119
|
legend: e.groupUid,
|
|
5069
5120
|
type: e.type,
|
|
5070
5121
|
options: o.value,
|
|
@@ -5074,12 +5125,12 @@ const Il = {
|
|
|
5074
5125
|
}, {
|
|
5075
5126
|
default: S(({ option: a }) => [
|
|
5076
5127
|
k(p(a.label) + " ", 1),
|
|
5077
|
-
a.count !== void 0 ? (u(), d("span",
|
|
5128
|
+
a.count !== void 0 ? (u(), d("span", zl, "(" + p(a.count) + ")", 1)) : b("", !0)
|
|
5078
5129
|
]),
|
|
5079
5130
|
_: 1
|
|
5080
5131
|
}, 8, ["legend", "type", "options", "compact", "model-value"]));
|
|
5081
5132
|
}
|
|
5082
|
-
},
|
|
5133
|
+
}, Bl = { class: "facets-filters" }, Fh = {
|
|
5083
5134
|
__name: "UluFacetsFilterLists",
|
|
5084
5135
|
props: {
|
|
5085
5136
|
/**
|
|
@@ -5111,15 +5162,15 @@ const Il = {
|
|
|
5111
5162
|
emits: ["facet-change"],
|
|
5112
5163
|
setup(e, { emit: n }) {
|
|
5113
5164
|
const t = n, s = (o) => o.multiple ? o.children.filter((i) => i.selected).map((i) => i.uid) : o.children.find((i) => i.selected)?.uid || "";
|
|
5114
|
-
return (o, i) => (u(), d("div",
|
|
5165
|
+
return (o, i) => (u(), d("div", Bl, [
|
|
5115
5166
|
(u(!0), d(x, null, O(e.facets, (r) => (u(), _(Vt, {
|
|
5116
5167
|
key: r.uid,
|
|
5117
5168
|
classes: {
|
|
5118
|
-
container: ["
|
|
5119
|
-
containerOpen: ["
|
|
5120
|
-
containerClosed: ["
|
|
5121
|
-
trigger: ["
|
|
5122
|
-
content: ["
|
|
5169
|
+
container: ["facets-filters__group", e.classes.group],
|
|
5170
|
+
containerOpen: ["facets-filters__group--open", e.classes.groupOpen],
|
|
5171
|
+
containerClosed: ["facets-filters__group--closed", e.classes.groupClosed],
|
|
5172
|
+
trigger: ["facets-filters__group-trigger", e.classes.groupTrigger],
|
|
5173
|
+
content: ["facets-filters__group-content", e.classes.groupContent]
|
|
5123
5174
|
},
|
|
5124
5175
|
startOpen: r.open
|
|
5125
5176
|
}, {
|
|
@@ -5132,7 +5183,7 @@ const Il = {
|
|
|
5132
5183
|
])
|
|
5133
5184
|
]),
|
|
5134
5185
|
default: S(() => [
|
|
5135
|
-
z(
|
|
5186
|
+
z(Tn, {
|
|
5136
5187
|
children: r.children.slice(0, e.maxVisible),
|
|
5137
5188
|
groupUid: r.uid,
|
|
5138
5189
|
groupName: r.name,
|
|
@@ -5143,7 +5194,7 @@ const Il = {
|
|
|
5143
5194
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5144
5195
|
r.children.length > e.maxVisible ? (u(), _(Vt, {
|
|
5145
5196
|
key: 0,
|
|
5146
|
-
class: m(["
|
|
5197
|
+
class: m(["facets-filters__more-facets", e.classes.moreFacets]),
|
|
5147
5198
|
clickOutsideCloses: !1,
|
|
5148
5199
|
closeOnEscape: !1,
|
|
5149
5200
|
transitionHeight: !0
|
|
@@ -5152,7 +5203,7 @@ const Il = {
|
|
|
5152
5203
|
k(p(l ? "View Less" : "Show More"), 1)
|
|
5153
5204
|
]),
|
|
5154
5205
|
default: S(() => [
|
|
5155
|
-
z(
|
|
5206
|
+
z(Tn, {
|
|
5156
5207
|
children: r.children.slice(e.maxVisible),
|
|
5157
5208
|
groupUid: r.uid,
|
|
5158
5209
|
groupName: r.name,
|
|
@@ -5169,7 +5220,7 @@ const Il = {
|
|
|
5169
5220
|
}, 1032, ["classes", "startOpen"]))), 128))
|
|
5170
5221
|
]));
|
|
5171
5222
|
}
|
|
5172
|
-
},
|
|
5223
|
+
}, Vh = {
|
|
5173
5224
|
__name: "UluFacetsFilterPopovers",
|
|
5174
5225
|
props: {
|
|
5175
5226
|
/**
|
|
@@ -5255,7 +5306,7 @@ const Il = {
|
|
|
5255
5306
|
}, null, 8, ["class"])
|
|
5256
5307
|
]),
|
|
5257
5308
|
default: S(({ close: f }) => [
|
|
5258
|
-
z(
|
|
5309
|
+
z($s, {
|
|
5259
5310
|
legend: c.name,
|
|
5260
5311
|
type: c.multiple ? "checkbox" : "radio",
|
|
5261
5312
|
options: s(c),
|
|
@@ -5269,7 +5320,7 @@ const Il = {
|
|
|
5269
5320
|
], 2))), 128))
|
|
5270
5321
|
], 2));
|
|
5271
5322
|
}
|
|
5272
|
-
},
|
|
5323
|
+
}, Ml = { class: "facets-dropdown-filters" }, Ul = ["for"], Pl = ["id", "onChange"], Ll = { value: "" }, Fl = ["value", "selected"], Hh = {
|
|
5273
5324
|
__name: "UluFacetsFilterSelects",
|
|
5274
5325
|
props: {
|
|
5275
5326
|
facets: {
|
|
@@ -5291,7 +5342,7 @@ const Il = {
|
|
|
5291
5342
|
});
|
|
5292
5343
|
});
|
|
5293
5344
|
}
|
|
5294
|
-
return (o, i) => (u(), d("div",
|
|
5345
|
+
return (o, i) => (u(), d("div", Ml, [
|
|
5295
5346
|
(u(!0), d(x, null, O(e.facets, (r) => (u(), d("div", {
|
|
5296
5347
|
class: "facets-dropdown-filters__group",
|
|
5297
5348
|
key: r.uid
|
|
@@ -5299,38 +5350,38 @@ const Il = {
|
|
|
5299
5350
|
h("label", {
|
|
5300
5351
|
for: `facet-dropdown-${r.uid}`,
|
|
5301
5352
|
class: "facets-dropdown-filters__label"
|
|
5302
|
-
}, p(r.name), 9,
|
|
5353
|
+
}, p(r.name), 9, Ul),
|
|
5303
5354
|
h("select", {
|
|
5304
5355
|
id: `facet-dropdown-${r.uid}`,
|
|
5305
5356
|
class: "facets-dropdown-filters__select",
|
|
5306
5357
|
onChange: (l) => s(r, l)
|
|
5307
5358
|
}, [
|
|
5308
|
-
h("option",
|
|
5359
|
+
h("option", Ll, "All " + p(r.name) + "s", 1),
|
|
5309
5360
|
(u(!0), d(x, null, O(r.children, (l) => (u(), d("option", {
|
|
5310
5361
|
key: l.uid,
|
|
5311
5362
|
value: l.uid,
|
|
5312
5363
|
selected: l.selected
|
|
5313
|
-
}, p(l.label), 9,
|
|
5314
|
-
], 40,
|
|
5364
|
+
}, p(l.label), 9, Fl))), 128))
|
|
5365
|
+
], 40, Pl)
|
|
5315
5366
|
]))), 128))
|
|
5316
5367
|
]));
|
|
5317
5368
|
}
|
|
5318
|
-
},
|
|
5369
|
+
}, Vl = { class: "facets-header-layout" }, Hl = { class: "facets-header-layout__header" }, Nl = { class: "facets-header-layout__main" }, Nh = {
|
|
5319
5370
|
__name: "UluFacetsHeaderLayout",
|
|
5320
5371
|
setup(e) {
|
|
5321
|
-
return (n, t) => (u(), d("div",
|
|
5322
|
-
h("div",
|
|
5372
|
+
return (n, t) => (u(), d("div", Vl, [
|
|
5373
|
+
h("div", Hl, [
|
|
5323
5374
|
g(n.$slots, "header")
|
|
5324
5375
|
]),
|
|
5325
|
-
h("div",
|
|
5376
|
+
h("div", Nl, [
|
|
5326
5377
|
g(n.$slots, "main")
|
|
5327
5378
|
])
|
|
5328
5379
|
]));
|
|
5329
5380
|
}
|
|
5330
|
-
},
|
|
5381
|
+
}, Dl = { class: "facets-results" }, Wl = {
|
|
5331
5382
|
key: 1,
|
|
5332
5383
|
class: "facets-results__empty"
|
|
5333
|
-
},
|
|
5384
|
+
}, Dh = {
|
|
5334
5385
|
__name: "UluFacetsResults",
|
|
5335
5386
|
props: {
|
|
5336
5387
|
items: {
|
|
@@ -5351,7 +5402,7 @@ const Il = {
|
|
|
5351
5402
|
}
|
|
5352
5403
|
},
|
|
5353
5404
|
setup(e) {
|
|
5354
|
-
return (n, t) => (u(), d("div",
|
|
5405
|
+
return (n, t) => (u(), d("div", Dl, [
|
|
5355
5406
|
e.items.length ? (u(), _(Jn, {
|
|
5356
5407
|
key: 0,
|
|
5357
5408
|
tag: e.tag,
|
|
@@ -5370,14 +5421,14 @@ const Il = {
|
|
|
5370
5421
|
], 2))), 128))
|
|
5371
5422
|
]),
|
|
5372
5423
|
_: 3
|
|
5373
|
-
}, 8, ["tag", "name", "class"])) : (u(), d("div",
|
|
5424
|
+
}, 8, ["tag", "name", "class"])) : (u(), d("div", Wl, [
|
|
5374
5425
|
g(n.$slots, "empty", {}, () => [
|
|
5375
5426
|
t[0] || (t[0] = h("p", null, "No matching items found.", -1))
|
|
5376
5427
|
])
|
|
5377
5428
|
]))
|
|
5378
5429
|
]));
|
|
5379
5430
|
}
|
|
5380
|
-
},
|
|
5431
|
+
}, Xl = { class: "facets-search" }, Yl = ["placeholder"], Wh = {
|
|
5381
5432
|
__name: "UluFacetsSearch",
|
|
5382
5433
|
props: {
|
|
5383
5434
|
classes: {
|
|
@@ -5402,7 +5453,7 @@ const Il = {
|
|
|
5402
5453
|
s("update:modelValue", l);
|
|
5403
5454
|
}
|
|
5404
5455
|
});
|
|
5405
|
-
return (l, a) => (u(), d("div",
|
|
5456
|
+
return (l, a) => (u(), d("div", Xl, [
|
|
5406
5457
|
h("label", {
|
|
5407
5458
|
class: m(e.classes.searchLabel),
|
|
5408
5459
|
for: i
|
|
@@ -5415,12 +5466,12 @@ const Il = {
|
|
|
5415
5466
|
"onUpdate:modelValue": a[0] || (a[0] = (c) => r.value = c),
|
|
5416
5467
|
type: "text",
|
|
5417
5468
|
placeholder: e.placeholder
|
|
5418
|
-
}, null, 10,
|
|
5419
|
-
[
|
|
5469
|
+
}, null, 10, Yl), [
|
|
5470
|
+
[to, r.value]
|
|
5420
5471
|
])
|
|
5421
5472
|
]));
|
|
5422
5473
|
}
|
|
5423
|
-
},
|
|
5474
|
+
}, ql = { class: "facets-sidebar__header" }, Kl = { class: "facets-sidebar__mobile-controls" }, Gl = { class: "facets-sidebar__body" }, Zl = { class: "facets-sidebar__main" }, Xh = {
|
|
5424
5475
|
__name: "UluFacetsSidebarLayout",
|
|
5425
5476
|
props: {
|
|
5426
5477
|
mobileButtonText: {
|
|
@@ -5442,32 +5493,32 @@ const Il = {
|
|
|
5442
5493
|
setup(e) {
|
|
5443
5494
|
const n = R(!1), t = ft("uluIsMobile"), s = R(null), o = R(null), i = w(() => t.value ? o.value : s.value);
|
|
5444
5495
|
return (r, l) => (u(), d("div", {
|
|
5445
|
-
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden":
|
|
5496
|
+
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": A(t) }])
|
|
5446
5497
|
}, [
|
|
5447
|
-
h("div",
|
|
5498
|
+
h("div", ql, [
|
|
5448
5499
|
g(r.$slots, "header")
|
|
5449
5500
|
]),
|
|
5450
|
-
Oe(h("div",
|
|
5501
|
+
Oe(h("div", Kl, [
|
|
5451
5502
|
h("button", {
|
|
5452
5503
|
class: m(e.classes.mobileButton),
|
|
5453
5504
|
onClick: l[0] || (l[0] = (a) => n.value = !0)
|
|
5454
5505
|
}, p(e.mobileButtonText), 3)
|
|
5455
5506
|
], 512), [
|
|
5456
|
-
[
|
|
5507
|
+
[Bt, A(t)]
|
|
5457
5508
|
]),
|
|
5458
|
-
h("div",
|
|
5509
|
+
h("div", Gl, [
|
|
5459
5510
|
Oe(h("div", {
|
|
5460
5511
|
class: "facets-sidebar__sidebar",
|
|
5461
5512
|
ref_key: "desktopTarget",
|
|
5462
5513
|
ref: s
|
|
5463
5514
|
}, null, 512), [
|
|
5464
|
-
[
|
|
5515
|
+
[Bt, !A(t)]
|
|
5465
5516
|
]),
|
|
5466
|
-
h("div",
|
|
5517
|
+
h("div", Zl, [
|
|
5467
5518
|
g(r.$slots, "main")
|
|
5468
5519
|
])
|
|
5469
5520
|
]),
|
|
5470
|
-
|
|
5521
|
+
A(t) ? (u(), _(ds, {
|
|
5471
5522
|
key: 0,
|
|
5472
5523
|
modelValue: n.value,
|
|
5473
5524
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => n.value = a),
|
|
@@ -5492,7 +5543,7 @@ const Il = {
|
|
|
5492
5543
|
], 8, ["to"])) : b("", !0)
|
|
5493
5544
|
], 2));
|
|
5494
5545
|
}
|
|
5495
|
-
},
|
|
5546
|
+
}, Ql = ["for"], Jl = ["value", "id"], ea = ["value"], Yh = {
|
|
5496
5547
|
__name: "UluFacetsSort",
|
|
5497
5548
|
props: {
|
|
5498
5549
|
classes: {
|
|
@@ -5522,7 +5573,7 @@ const Il = {
|
|
|
5522
5573
|
g(i.$slots, "default", {}, () => [
|
|
5523
5574
|
r[1] || (r[1] = k("Sort:", -1))
|
|
5524
5575
|
])
|
|
5525
|
-
], 10,
|
|
5576
|
+
], 10, Ql),
|
|
5526
5577
|
h("select", {
|
|
5527
5578
|
value: e.modelValue,
|
|
5528
5579
|
onChange: r[0] || (r[0] = (l) => s("update:modelValue", l.target.value)),
|
|
@@ -5532,11 +5583,11 @@ const Il = {
|
|
|
5532
5583
|
(u(!0), d(x, null, O(e.sortTypes, (l, a) => (u(), d("option", {
|
|
5533
5584
|
value: a,
|
|
5534
5585
|
key: a
|
|
5535
|
-
}, p(l.text), 9,
|
|
5536
|
-
], 42,
|
|
5586
|
+
}, p(l.text), 9, ea))), 128))
|
|
5587
|
+
], 42, Jl)
|
|
5537
5588
|
], 2));
|
|
5538
5589
|
}
|
|
5539
|
-
},
|
|
5590
|
+
}, Cs = Symbol(), Ts = Symbol(), wt = Symbol(), ta = {
|
|
5540
5591
|
name: "ScrollAnchors",
|
|
5541
5592
|
emits: ["section-change"],
|
|
5542
5593
|
props: {
|
|
@@ -5570,7 +5621,7 @@ const Il = {
|
|
|
5570
5621
|
provide() {
|
|
5571
5622
|
return {
|
|
5572
5623
|
[wt]: w(() => this.sections),
|
|
5573
|
-
[
|
|
5624
|
+
[Cs]: (e) => {
|
|
5574
5625
|
const { titleId: n, title: t } = e, { element: s } = e.$refs;
|
|
5575
5626
|
this.sections.push({
|
|
5576
5627
|
instance: e,
|
|
@@ -5641,13 +5692,13 @@ const Il = {
|
|
|
5641
5692
|
unmounted() {
|
|
5642
5693
|
this.destroyObserver();
|
|
5643
5694
|
}
|
|
5644
|
-
},
|
|
5645
|
-
function
|
|
5646
|
-
return u(), d("div",
|
|
5695
|
+
}, na = { class: "scroll-anchors" };
|
|
5696
|
+
function sa(e, n, t, s, o, i) {
|
|
5697
|
+
return u(), d("div", na, [
|
|
5647
5698
|
g(e.$slots, "default")
|
|
5648
5699
|
]);
|
|
5649
5700
|
}
|
|
5650
|
-
const
|
|
5701
|
+
const qh = /* @__PURE__ */ E(ta, [["render", sa]]), oa = {
|
|
5651
5702
|
name: "ScrollAnchorsNav",
|
|
5652
5703
|
inject: {
|
|
5653
5704
|
sections: { from: wt }
|
|
@@ -5658,9 +5709,9 @@ const Kh = /* @__PURE__ */ E(na, [["render", oa]]), ia = {
|
|
|
5658
5709
|
default: "nav"
|
|
5659
5710
|
}
|
|
5660
5711
|
}
|
|
5661
|
-
},
|
|
5662
|
-
function
|
|
5663
|
-
return i.sections.length ? (u(), _(
|
|
5712
|
+
}, ia = ["href"];
|
|
5713
|
+
function ra(e, n, t, s, o, i) {
|
|
5714
|
+
return i.sections.length ? (u(), _(F(t.element), {
|
|
5664
5715
|
key: 0,
|
|
5665
5716
|
class: "scroll-anchors__nav"
|
|
5666
5717
|
}, {
|
|
@@ -5673,21 +5724,21 @@ function la(e, n, t, s, o, i) {
|
|
|
5673
5724
|
h("a", {
|
|
5674
5725
|
class: m({ "is-active": r.active }),
|
|
5675
5726
|
href: `#${r.titleId}`
|
|
5676
|
-
}, p(r.title), 11,
|
|
5727
|
+
}, p(r.title), 11, ia)
|
|
5677
5728
|
], 2))), 128))
|
|
5678
5729
|
])
|
|
5679
5730
|
]),
|
|
5680
5731
|
_: 1
|
|
5681
5732
|
})) : b("", !0);
|
|
5682
5733
|
}
|
|
5683
|
-
const
|
|
5684
|
-
function
|
|
5734
|
+
const Kh = /* @__PURE__ */ E(oa, [["render", ra]]);
|
|
5735
|
+
function As(e) {
|
|
5685
5736
|
requestAnimationFrame(() => {
|
|
5686
5737
|
const n = new MessageChannel();
|
|
5687
5738
|
n.port1.onmessage = e, n.port2.postMessage(void 0);
|
|
5688
5739
|
});
|
|
5689
5740
|
}
|
|
5690
|
-
const
|
|
5741
|
+
const la = {
|
|
5691
5742
|
name: "ScrollAnchorsNavAnimated",
|
|
5692
5743
|
inject: {
|
|
5693
5744
|
sections: { from: wt }
|
|
@@ -5725,7 +5776,7 @@ const aa = {
|
|
|
5725
5776
|
},
|
|
5726
5777
|
watch: {
|
|
5727
5778
|
indicatorStyles(e) {
|
|
5728
|
-
e && !this.indicatorAnimReady &&
|
|
5779
|
+
e && !this.indicatorAnimReady && As(() => {
|
|
5729
5780
|
this.indicatorAnimReady = !0;
|
|
5730
5781
|
});
|
|
5731
5782
|
}
|
|
@@ -5735,14 +5786,14 @@ const aa = {
|
|
|
5735
5786
|
this.linkRefs[e] = n;
|
|
5736
5787
|
}
|
|
5737
5788
|
}
|
|
5738
|
-
},
|
|
5739
|
-
function
|
|
5740
|
-
return i.sections.length ? (u(), _(
|
|
5789
|
+
}, aa = { class: "scroll-anchors__rail" }, ca = ["href"];
|
|
5790
|
+
function ua(e, n, t, s, o, i) {
|
|
5791
|
+
return i.sections.length ? (u(), _(F(t.element), {
|
|
5741
5792
|
key: 0,
|
|
5742
5793
|
class: "scroll-anchors__nav scroll-anchors__nav--animated"
|
|
5743
5794
|
}, {
|
|
5744
5795
|
default: S(() => [
|
|
5745
|
-
h("ul",
|
|
5796
|
+
h("ul", aa, [
|
|
5746
5797
|
(u(!0), d(x, null, O(i.sections, (r, l) => (u(), d("li", {
|
|
5747
5798
|
key: l,
|
|
5748
5799
|
class: m({ "is-active": r.active })
|
|
@@ -5752,7 +5803,7 @@ function da(e, n, t, s, o, i) {
|
|
|
5752
5803
|
ref_for: !0,
|
|
5753
5804
|
ref: (a) => i.addLinkRef(l, a),
|
|
5754
5805
|
href: `#${r.titleId}`
|
|
5755
|
-
}, p(r.title), 11,
|
|
5806
|
+
}, p(r.title), 11, ca)
|
|
5756
5807
|
], 2))), 128))
|
|
5757
5808
|
]),
|
|
5758
5809
|
h("div", {
|
|
@@ -5770,7 +5821,7 @@ function da(e, n, t, s, o, i) {
|
|
|
5770
5821
|
_: 1
|
|
5771
5822
|
})) : b("", !0);
|
|
5772
5823
|
}
|
|
5773
|
-
const
|
|
5824
|
+
const Gh = /* @__PURE__ */ E(la, [["render", ua]]), da = {
|
|
5774
5825
|
name: "ScrollAnchorsSection",
|
|
5775
5826
|
props: {
|
|
5776
5827
|
title: String,
|
|
@@ -5793,7 +5844,7 @@ const Zh = /* @__PURE__ */ E(aa, [["render", da]]), fa = {
|
|
|
5793
5844
|
}
|
|
5794
5845
|
},
|
|
5795
5846
|
inject: {
|
|
5796
|
-
register: { from:
|
|
5847
|
+
register: { from: Cs },
|
|
5797
5848
|
unregister: { from: Ts },
|
|
5798
5849
|
sections: { from: wt, default: () => w(() => []) }
|
|
5799
5850
|
},
|
|
@@ -5815,12 +5866,12 @@ const Zh = /* @__PURE__ */ E(aa, [["render", da]]), fa = {
|
|
|
5815
5866
|
this.unregister && this.unregister(this);
|
|
5816
5867
|
}
|
|
5817
5868
|
};
|
|
5818
|
-
function
|
|
5869
|
+
function fa(e, n, t, s, o, i) {
|
|
5819
5870
|
return u(), d("div", {
|
|
5820
5871
|
class: m([t.wrapperClass, { [t.activeClass]: t.activeClass && i.section?.active }]),
|
|
5821
5872
|
ref: "element"
|
|
5822
5873
|
}, [
|
|
5823
|
-
(u(), _(
|
|
5874
|
+
(u(), _(F(t.titleElement), {
|
|
5824
5875
|
class: m(t.titleClass),
|
|
5825
5876
|
id: o.titleId
|
|
5826
5877
|
}, {
|
|
@@ -5832,7 +5883,7 @@ function ha(e, n, t, s, o, i) {
|
|
|
5832
5883
|
g(e.$slots, "default", { section: i.section })
|
|
5833
5884
|
], 2);
|
|
5834
5885
|
}
|
|
5835
|
-
const
|
|
5886
|
+
const Zh = /* @__PURE__ */ E(da, [["render", fa]]), ha = {
|
|
5836
5887
|
__name: "UluSkeletonText",
|
|
5837
5888
|
props: {
|
|
5838
5889
|
/**
|
|
@@ -5857,7 +5908,7 @@ const Qh = /* @__PURE__ */ E(fa, [["render", ha]]), ma = {
|
|
|
5857
5908
|
}])
|
|
5858
5909
|
}, null, 2));
|
|
5859
5910
|
}
|
|
5860
|
-
},
|
|
5911
|
+
}, Qh = {
|
|
5861
5912
|
__name: "UluShowSkeleton",
|
|
5862
5913
|
props: {
|
|
5863
5914
|
/**
|
|
@@ -5866,20 +5917,20 @@ const Qh = /* @__PURE__ */ E(fa, [["render", ha]]), ma = {
|
|
|
5866
5917
|
when: Boolean
|
|
5867
5918
|
},
|
|
5868
5919
|
setup(e) {
|
|
5869
|
-
return (n, t) => e.when ? (u(), _(
|
|
5920
|
+
return (n, t) => e.when ? (u(), _(ha, {
|
|
5870
5921
|
key: 1,
|
|
5871
5922
|
inline: ""
|
|
5872
5923
|
})) : g(n.$slots, "default", { key: 0 });
|
|
5873
5924
|
}
|
|
5874
5925
|
};
|
|
5875
|
-
function
|
|
5926
|
+
function ma(e, n) {
|
|
5876
5927
|
return [...Array(e)].map((t, s) => n(s));
|
|
5877
5928
|
}
|
|
5878
|
-
function
|
|
5929
|
+
function Jh(e, n) {
|
|
5879
5930
|
var t = e.indexOf(n);
|
|
5880
5931
|
t > -1 && e.splice(t, 1);
|
|
5881
5932
|
}
|
|
5882
|
-
const
|
|
5933
|
+
const em = {
|
|
5883
5934
|
__name: "UluSkeletonContent",
|
|
5884
5935
|
props: {
|
|
5885
5936
|
/**
|
|
@@ -5891,7 +5942,7 @@ const tm = {
|
|
|
5891
5942
|
}
|
|
5892
5943
|
},
|
|
5893
5944
|
setup(e) {
|
|
5894
|
-
const n = e, t = w(() =>
|
|
5945
|
+
const n = e, t = w(() => ma(n.lines, () => {
|
|
5895
5946
|
const o = ut(70, 100);
|
|
5896
5947
|
let i = 0;
|
|
5897
5948
|
const r = () => {
|
|
@@ -5915,14 +5966,14 @@ const tm = {
|
|
|
5915
5966
|
]))), 128))
|
|
5916
5967
|
]));
|
|
5917
5968
|
}
|
|
5918
|
-
},
|
|
5969
|
+
}, ga = { class: "skeleton skeleton-block--media" }, tm = {
|
|
5919
5970
|
__name: "UluSkeletonMedia",
|
|
5920
5971
|
setup(e) {
|
|
5921
|
-
return (n, t) => (u(), d("div",
|
|
5972
|
+
return (n, t) => (u(), d("div", ga, [
|
|
5922
5973
|
z(N, { icon: "type:image" })
|
|
5923
5974
|
]));
|
|
5924
5975
|
}
|
|
5925
|
-
},
|
|
5976
|
+
}, va = {
|
|
5926
5977
|
name: "SlideShow",
|
|
5927
5978
|
emits: ["slide-change"],
|
|
5928
5979
|
components: {
|
|
@@ -6117,26 +6168,26 @@ const tm = {
|
|
|
6117
6168
|
beforeUnmount() {
|
|
6118
6169
|
this.destroyObserver();
|
|
6119
6170
|
}
|
|
6120
|
-
},
|
|
6171
|
+
}, ya = { class: "slideshow" }, pa = {
|
|
6121
6172
|
class: "slideshow__control-context",
|
|
6122
6173
|
ref: "context"
|
|
6123
|
-
},
|
|
6174
|
+
}, ba = {
|
|
6124
6175
|
class: "slideshow__track-crop",
|
|
6125
6176
|
ref: "crop"
|
|
6126
|
-
},
|
|
6177
|
+
}, _a = {
|
|
6127
6178
|
class: "slideshow__track",
|
|
6128
6179
|
ref: "track"
|
|
6129
|
-
},
|
|
6180
|
+
}, wa = ["tabindex"], Sa = { class: "slideshow__controls" }, ka = { class: "slideshow__controls-item slideshow__controls-item--previous" }, $a = ["disabled"], Ca = { class: "slideshow__controls-item slideshow__controls-item--next" }, Ta = ["disabled"], Aa = {
|
|
6130
6181
|
key: 0,
|
|
6131
6182
|
class: "slideshow__nav",
|
|
6132
6183
|
ref: "nav"
|
|
6133
|
-
},
|
|
6134
|
-
function
|
|
6184
|
+
}, Oa = ["onClick"], xa = { class: "hidden-visually" };
|
|
6185
|
+
function Ea(e, n, t, s, o, i) {
|
|
6135
6186
|
const r = D("UluIcon");
|
|
6136
|
-
return u(), d("div",
|
|
6137
|
-
h("div",
|
|
6138
|
-
h("div",
|
|
6139
|
-
h("ul",
|
|
6187
|
+
return u(), d("div", ya, [
|
|
6188
|
+
h("div", pa, [
|
|
6189
|
+
h("div", ba, [
|
|
6190
|
+
h("ul", _a, [
|
|
6140
6191
|
(u(!0), d(x, null, O(o.slides, (l, a) => (u(), d("li", {
|
|
6141
6192
|
class: m(["slideshow__slide", { "is-active": l.active }]),
|
|
6142
6193
|
key: a,
|
|
@@ -6150,11 +6201,11 @@ function Ra(e, n, t, s, o, i) {
|
|
|
6150
6201
|
item: l.item,
|
|
6151
6202
|
index: a
|
|
6152
6203
|
})
|
|
6153
|
-
], 10,
|
|
6204
|
+
], 10, wa))), 128))
|
|
6154
6205
|
], 512)
|
|
6155
6206
|
], 512),
|
|
6156
|
-
h("ul",
|
|
6157
|
-
h("li",
|
|
6207
|
+
h("ul", Sa, [
|
|
6208
|
+
h("li", ka, [
|
|
6158
6209
|
h("button", {
|
|
6159
6210
|
class: "slideshow__control-button slideshow__control-button--previous",
|
|
6160
6211
|
"aria-label": "Scroll Right",
|
|
@@ -6165,9 +6216,9 @@ function Ra(e, n, t, s, o, i) {
|
|
|
6165
6216
|
class: "slideshow__control-icon",
|
|
6166
6217
|
icon: "type:previous"
|
|
6167
6218
|
})
|
|
6168
|
-
], 8,
|
|
6219
|
+
], 8, $a)
|
|
6169
6220
|
]),
|
|
6170
|
-
h("li",
|
|
6221
|
+
h("li", Ca, [
|
|
6171
6222
|
h("button", {
|
|
6172
6223
|
class: "slideshow__control-button slideshow__control-button--next",
|
|
6173
6224
|
"aria-label": "Scroll Left",
|
|
@@ -6182,7 +6233,7 @@ function Ra(e, n, t, s, o, i) {
|
|
|
6182
6233
|
])
|
|
6183
6234
|
])
|
|
6184
6235
|
], 512),
|
|
6185
|
-
t.noNav ? b("", !0) : (u(), d("ul",
|
|
6236
|
+
t.noNav ? b("", !0) : (u(), d("ul", Aa, [
|
|
6186
6237
|
(u(!0), d(x, null, O(o.slides, (l, a) => (u(), d("li", {
|
|
6187
6238
|
class: m(["slideshow__nav-item", { "is-active": l.active }]),
|
|
6188
6239
|
ref_for: !0,
|
|
@@ -6200,17 +6251,17 @@ function Ra(e, n, t, s, o, i) {
|
|
|
6200
6251
|
index: a,
|
|
6201
6252
|
active: l.active
|
|
6202
6253
|
}, () => [
|
|
6203
|
-
h("span",
|
|
6254
|
+
h("span", xa, "Item " + p(a + 1), 1)
|
|
6204
6255
|
])
|
|
6205
|
-
], 10,
|
|
6256
|
+
], 10, Oa)
|
|
6206
6257
|
], 2))), 128))
|
|
6207
6258
|
], 512))
|
|
6208
6259
|
]);
|
|
6209
6260
|
}
|
|
6210
|
-
const
|
|
6261
|
+
const Ra = /* @__PURE__ */ E(va, [["render", Ea]]), ja = {
|
|
6211
6262
|
name: "ImageSlideShow",
|
|
6212
6263
|
components: {
|
|
6213
|
-
UluSlideShow:
|
|
6264
|
+
UluSlideShow: Ra
|
|
6214
6265
|
},
|
|
6215
6266
|
props: {
|
|
6216
6267
|
images: Array,
|
|
@@ -6236,8 +6287,8 @@ const ja = /* @__PURE__ */ E(ya, [["render", Ra]]), Ia = {
|
|
|
6236
6287
|
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" }));
|
|
6237
6288
|
}
|
|
6238
6289
|
}
|
|
6239
|
-
},
|
|
6240
|
-
function
|
|
6290
|
+
}, Ia = ["src", "alt"], za = { class: "slideshow__image-actions" }, Ba = ["src", "alt"];
|
|
6291
|
+
function Ma(e, n, t, s, o, i) {
|
|
6241
6292
|
const r = D("AppButton"), l = D("UluSlideShow");
|
|
6242
6293
|
return u(), _(l, {
|
|
6243
6294
|
class: "slideshow--images",
|
|
@@ -6248,8 +6299,8 @@ function Ba(e, n, t, s, o, i) {
|
|
|
6248
6299
|
h("img", {
|
|
6249
6300
|
src: a.src,
|
|
6250
6301
|
alt: a.alt
|
|
6251
|
-
}, null, 8,
|
|
6252
|
-
h("div",
|
|
6302
|
+
}, null, 8, Ia),
|
|
6303
|
+
h("div", za, [
|
|
6253
6304
|
t.selectButton ? (u(), _(r, {
|
|
6254
6305
|
key: 0,
|
|
6255
6306
|
class: "type-small",
|
|
@@ -6268,12 +6319,12 @@ function Ba(e, n, t, s, o, i) {
|
|
|
6268
6319
|
h("img", {
|
|
6269
6320
|
src: t.images[a].src,
|
|
6270
6321
|
alt: `View image ${a}`
|
|
6271
|
-
}, null, 8,
|
|
6322
|
+
}, null, 8, Ba)
|
|
6272
6323
|
]),
|
|
6273
6324
|
_: 1
|
|
6274
6325
|
}, 8, ["items", "onSlideChange"]);
|
|
6275
6326
|
}
|
|
6276
|
-
const
|
|
6327
|
+
const nm = /* @__PURE__ */ E(ja, [["render", Ma]]), Ua = {
|
|
6277
6328
|
name: "SlideShowSlide",
|
|
6278
6329
|
props: {
|
|
6279
6330
|
/**
|
|
@@ -6286,14 +6337,14 @@ const sm = /* @__PURE__ */ E(Ia, [["render", Ba]]), Pa = {
|
|
|
6286
6337
|
console.log("slide mounted");
|
|
6287
6338
|
}
|
|
6288
6339
|
};
|
|
6289
|
-
function
|
|
6340
|
+
function Pa(e, n, t, s, o, i) {
|
|
6290
6341
|
return u(), d("li", {
|
|
6291
6342
|
class: m(["slideshow__slide", { "is-active": t.active }])
|
|
6292
6343
|
}, [
|
|
6293
6344
|
g(e.$slots, "default")
|
|
6294
6345
|
], 2);
|
|
6295
6346
|
}
|
|
6296
|
-
const
|
|
6347
|
+
const sm = /* @__PURE__ */ E(Ua, [["render", Pa]]), La = {
|
|
6297
6348
|
name: "UluTableStickyRows",
|
|
6298
6349
|
props: {
|
|
6299
6350
|
rows: Array,
|
|
@@ -6310,8 +6361,8 @@ const om = /* @__PURE__ */ E(Pa, [["render", La]]), Fa = {
|
|
|
6310
6361
|
default: !1
|
|
6311
6362
|
}
|
|
6312
6363
|
}
|
|
6313
|
-
},
|
|
6314
|
-
function
|
|
6364
|
+
}, Fa = ["id"], Va = ["innerHTML"];
|
|
6365
|
+
function Ha(e, n, t, s, o, i) {
|
|
6315
6366
|
return u(!0), d(x, null, O(t.rows, (r, l) => (u(), d("tr", {
|
|
6316
6367
|
key: `br-${l}`,
|
|
6317
6368
|
id: t.optionalAttr(t.isActual && r.id),
|
|
@@ -6320,7 +6371,7 @@ function Na(e, n, t, s, o, i) {
|
|
|
6320
6371
|
height: r.height
|
|
6321
6372
|
})
|
|
6322
6373
|
}, [
|
|
6323
|
-
(u(!0), d(x, null, O(t.rowColumns, (a, c) => (u(), _(
|
|
6374
|
+
(u(!0), d(x, null, O(t.rowColumns, (a, c) => (u(), _(F(a.rowHeader ? "th" : "td"), {
|
|
6324
6375
|
id: t.optionalAttr(t.isActual && a.rowHeader && a.getRowHeaderId(l)),
|
|
6325
6376
|
scope: t.optionalAttr(t.isActual && a.rowHeader && "row"),
|
|
6326
6377
|
key: `bc-${c}`,
|
|
@@ -6342,18 +6393,18 @@ function Na(e, n, t, s, o, i) {
|
|
|
6342
6393
|
}) : a.html ? (u(), d("div", {
|
|
6343
6394
|
key: 1,
|
|
6344
6395
|
innerHTML: t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })
|
|
6345
|
-
}, null, 8,
|
|
6396
|
+
}, null, 8, Va)) : (u(), d(x, { key: 2 }, [
|
|
6346
6397
|
k(p(t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
|
|
6347
6398
|
], 64))
|
|
6348
6399
|
]),
|
|
6349
6400
|
_: 2
|
|
6350
6401
|
}, 1032, ["id", "scope", "headers", "class", "style"]))), 128))
|
|
6351
|
-
], 14,
|
|
6402
|
+
], 14, Fa))), 128);
|
|
6352
6403
|
}
|
|
6353
|
-
const
|
|
6404
|
+
const Na = /* @__PURE__ */ E(La, [["render", Ha]]), Da = {
|
|
6354
6405
|
name: "UluTableStickyTable",
|
|
6355
6406
|
components: {
|
|
6356
|
-
UluTableStickyRows:
|
|
6407
|
+
UluTableStickyRows: Na
|
|
6357
6408
|
},
|
|
6358
6409
|
props: {
|
|
6359
6410
|
resolveClasses: Function,
|
|
@@ -6433,20 +6484,20 @@ const Da = /* @__PURE__ */ E(Fa, [["render", Na]]), Wa = {
|
|
|
6433
6484
|
return n.join(" ");
|
|
6434
6485
|
}
|
|
6435
6486
|
}
|
|
6436
|
-
},
|
|
6487
|
+
}, Wa = ["aria-hidden"], Xa = {
|
|
6437
6488
|
key: 0,
|
|
6438
6489
|
class: "table-sticky__caption"
|
|
6439
|
-
},
|
|
6490
|
+
}, Ya = ["id"], qa = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], Ka = ["innerHTML"], Ga = {
|
|
6440
6491
|
class: "table-sticky__sort-icon",
|
|
6441
6492
|
"aria-hidden": "true"
|
|
6442
|
-
},
|
|
6443
|
-
function
|
|
6493
|
+
}, Za = { class: "table-sticky__sort-icon-inner" }, Qa = ["innerHTML"], Ja = { key: 1 }, ec = { key: 2 };
|
|
6494
|
+
function tc(e, n, t, s, o, i) {
|
|
6444
6495
|
const r = D("UluTableStickyRows");
|
|
6445
6496
|
return u(), d("table", {
|
|
6446
6497
|
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
6447
6498
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
6448
6499
|
}, [
|
|
6449
|
-
t.caption ? (u(), d("caption",
|
|
6500
|
+
t.caption ? (u(), d("caption", Xa, p(t.caption), 1)) : b("", !0),
|
|
6450
6501
|
h("thead", null, [
|
|
6451
6502
|
(u(!0), d(x, null, O(t.headerRows, (l, a) => (u(), d("tr", {
|
|
6452
6503
|
key: `hr-${a}`,
|
|
@@ -6479,7 +6530,7 @@ function nc(e, n, t, s, o, i) {
|
|
|
6479
6530
|
ref_for: !0,
|
|
6480
6531
|
ref: (y) => i.addHeaderRef(c, y)
|
|
6481
6532
|
}, [
|
|
6482
|
-
c.sortable ? (u(), _(
|
|
6533
|
+
c.sortable ? (u(), _(F(t.isActual ? "button" : "div"), {
|
|
6483
6534
|
key: 0,
|
|
6484
6535
|
class: m(["table-sticky__sort-button", {
|
|
6485
6536
|
"table-sticky__sort-button--focused": c.sortFocused
|
|
@@ -6498,11 +6549,11 @@ function nc(e, n, t, s, o, i) {
|
|
|
6498
6549
|
}) : c.htmlTitle ? (u(), d("div", {
|
|
6499
6550
|
key: 1,
|
|
6500
6551
|
innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
|
|
6501
|
-
}, null, 8,
|
|
6552
|
+
}, null, 8, Ka)) : (u(), d(x, { key: 2 }, [
|
|
6502
6553
|
k(p(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
|
|
6503
6554
|
], 64)),
|
|
6504
|
-
h("span",
|
|
6505
|
-
h("span",
|
|
6555
|
+
h("span", Ga, [
|
|
6556
|
+
h("span", Za, [
|
|
6506
6557
|
g(e.$slots, "sortIcon", {}, () => [
|
|
6507
6558
|
n[0] || (n[0] = k("▼", -1))
|
|
6508
6559
|
])
|
|
@@ -6519,14 +6570,14 @@ function nc(e, n, t, s, o, i) {
|
|
|
6519
6570
|
}) : c.htmlTitle ? (u(), d("div", {
|
|
6520
6571
|
key: 1,
|
|
6521
6572
|
innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
|
|
6522
|
-
}, null, 8,
|
|
6573
|
+
}, null, 8, Qa)) : (u(), d(x, { key: 2 }, [
|
|
6523
6574
|
k(p(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
|
|
6524
6575
|
], 64))
|
|
6525
6576
|
], 64))
|
|
6526
|
-
], 14,
|
|
6527
|
-
], 14,
|
|
6577
|
+
], 14, qa))), 128))
|
|
6578
|
+
], 14, Ya))), 128))
|
|
6528
6579
|
]),
|
|
6529
|
-
t.rows ? (u(), d("tbody",
|
|
6580
|
+
t.rows ? (u(), d("tbody", Ja, [
|
|
6530
6581
|
z(r, {
|
|
6531
6582
|
rows: t.rows,
|
|
6532
6583
|
rowColumns: t.rowColumns,
|
|
@@ -6537,7 +6588,7 @@ function nc(e, n, t, s, o, i) {
|
|
|
6537
6588
|
columnWidth: t.columnWidth,
|
|
6538
6589
|
classes: t.classes,
|
|
6539
6590
|
value: i.value
|
|
6540
|
-
},
|
|
6591
|
+
}, Ae({ _: 2 }, [
|
|
6541
6592
|
O(e.$slots, (l, a) => ({
|
|
6542
6593
|
name: a,
|
|
6543
6594
|
fn: S((c) => [
|
|
@@ -6546,7 +6597,7 @@ function nc(e, n, t, s, o, i) {
|
|
|
6546
6597
|
}))
|
|
6547
6598
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
6548
6599
|
])) : b("", !0),
|
|
6549
|
-
t.footerRows ? (u(), d("tfoot",
|
|
6600
|
+
t.footerRows ? (u(), d("tfoot", ec, [
|
|
6550
6601
|
z(r, {
|
|
6551
6602
|
rows: t.footerRows,
|
|
6552
6603
|
rowColumns: t.rowColumns,
|
|
@@ -6558,7 +6609,7 @@ function nc(e, n, t, s, o, i) {
|
|
|
6558
6609
|
classes: t.classes,
|
|
6559
6610
|
value: i.value,
|
|
6560
6611
|
foot: ""
|
|
6561
|
-
},
|
|
6612
|
+
}, Ae({ _: 2 }, [
|
|
6562
6613
|
O(e.$slots, (l, a) => ({
|
|
6563
6614
|
name: a,
|
|
6564
6615
|
fn: S((c) => [
|
|
@@ -6567,37 +6618,37 @@ function nc(e, n, t, s, o, i) {
|
|
|
6567
6618
|
}))
|
|
6568
6619
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
6569
6620
|
])) : b("", !0)
|
|
6570
|
-
], 10,
|
|
6621
|
+
], 10, Wa);
|
|
6571
6622
|
}
|
|
6572
|
-
const
|
|
6573
|
-
function
|
|
6623
|
+
const nc = /* @__PURE__ */ E(Da, [["render", tc]]);
|
|
6624
|
+
function sc() {
|
|
6574
6625
|
this.__data__ = [], this.size = 0;
|
|
6575
6626
|
}
|
|
6576
|
-
function
|
|
6627
|
+
function Os(e, n) {
|
|
6577
6628
|
return e === n || e !== e && n !== n;
|
|
6578
6629
|
}
|
|
6579
6630
|
function St(e, n) {
|
|
6580
6631
|
for (var t = e.length; t--; )
|
|
6581
|
-
if (
|
|
6632
|
+
if (Os(e[t][0], n))
|
|
6582
6633
|
return t;
|
|
6583
6634
|
return -1;
|
|
6584
6635
|
}
|
|
6585
|
-
var
|
|
6586
|
-
function
|
|
6636
|
+
var oc = Array.prototype, ic = oc.splice;
|
|
6637
|
+
function rc(e) {
|
|
6587
6638
|
var n = this.__data__, t = St(n, e);
|
|
6588
6639
|
if (t < 0)
|
|
6589
6640
|
return !1;
|
|
6590
6641
|
var s = n.length - 1;
|
|
6591
|
-
return t == s ? n.pop() :
|
|
6642
|
+
return t == s ? n.pop() : ic.call(n, t, 1), --this.size, !0;
|
|
6592
6643
|
}
|
|
6593
|
-
function
|
|
6644
|
+
function lc(e) {
|
|
6594
6645
|
var n = this.__data__, t = St(n, e);
|
|
6595
6646
|
return t < 0 ? void 0 : n[t][1];
|
|
6596
6647
|
}
|
|
6597
|
-
function
|
|
6648
|
+
function ac(e) {
|
|
6598
6649
|
return St(this.__data__, e) > -1;
|
|
6599
6650
|
}
|
|
6600
|
-
function
|
|
6651
|
+
function cc(e, n) {
|
|
6601
6652
|
var t = this.__data__, s = St(t, e);
|
|
6602
6653
|
return s < 0 ? (++this.size, t.push([e, n])) : t[s][1] = n, this;
|
|
6603
6654
|
}
|
|
@@ -6608,66 +6659,66 @@ function ce(e) {
|
|
|
6608
6659
|
this.set(s[0], s[1]);
|
|
6609
6660
|
}
|
|
6610
6661
|
}
|
|
6611
|
-
ce.prototype.clear =
|
|
6612
|
-
ce.prototype.delete =
|
|
6613
|
-
ce.prototype.get =
|
|
6614
|
-
ce.prototype.has =
|
|
6615
|
-
ce.prototype.set =
|
|
6616
|
-
function
|
|
6662
|
+
ce.prototype.clear = sc;
|
|
6663
|
+
ce.prototype.delete = rc;
|
|
6664
|
+
ce.prototype.get = lc;
|
|
6665
|
+
ce.prototype.has = ac;
|
|
6666
|
+
ce.prototype.set = cc;
|
|
6667
|
+
function uc() {
|
|
6617
6668
|
this.__data__ = new ce(), this.size = 0;
|
|
6618
6669
|
}
|
|
6619
|
-
function
|
|
6670
|
+
function dc(e) {
|
|
6620
6671
|
var n = this.__data__, t = n.delete(e);
|
|
6621
6672
|
return this.size = n.size, t;
|
|
6622
6673
|
}
|
|
6623
|
-
function
|
|
6674
|
+
function fc(e) {
|
|
6624
6675
|
return this.__data__.get(e);
|
|
6625
6676
|
}
|
|
6626
|
-
function
|
|
6677
|
+
function hc(e) {
|
|
6627
6678
|
return this.__data__.has(e);
|
|
6628
6679
|
}
|
|
6629
|
-
var
|
|
6630
|
-
function
|
|
6631
|
-
var n =
|
|
6680
|
+
var xs = typeof global == "object" && global && global.Object === Object && global, mc = typeof self == "object" && self && self.Object === Object && self, ne = xs || mc || Function("return this")(), Re = ne.Symbol, Es = Object.prototype, gc = Es.hasOwnProperty, vc = Es.toString, Pe = Re ? Re.toStringTag : void 0;
|
|
6681
|
+
function yc(e) {
|
|
6682
|
+
var n = gc.call(e, Pe), t = e[Pe];
|
|
6632
6683
|
try {
|
|
6633
6684
|
e[Pe] = void 0;
|
|
6634
6685
|
var s = !0;
|
|
6635
6686
|
} catch {
|
|
6636
6687
|
}
|
|
6637
|
-
var o =
|
|
6688
|
+
var o = vc.call(e);
|
|
6638
6689
|
return s && (n ? e[Pe] = t : delete e[Pe]), o;
|
|
6639
6690
|
}
|
|
6640
|
-
var
|
|
6641
|
-
function
|
|
6642
|
-
return
|
|
6691
|
+
var pc = Object.prototype, bc = pc.toString;
|
|
6692
|
+
function _c(e) {
|
|
6693
|
+
return bc.call(e);
|
|
6643
6694
|
}
|
|
6644
|
-
var
|
|
6695
|
+
var wc = "[object Null]", Sc = "[object Undefined]", An = Re ? Re.toStringTag : void 0;
|
|
6645
6696
|
function Ge(e) {
|
|
6646
|
-
return e == null ? e === void 0 ?
|
|
6697
|
+
return e == null ? e === void 0 ? Sc : wc : An && An in Object(e) ? yc(e) : _c(e);
|
|
6647
6698
|
}
|
|
6648
6699
|
function kt(e) {
|
|
6649
6700
|
var n = typeof e;
|
|
6650
6701
|
return e != null && (n == "object" || n == "function");
|
|
6651
6702
|
}
|
|
6652
|
-
var
|
|
6653
|
-
function
|
|
6703
|
+
var kc = "[object AsyncFunction]", $c = "[object Function]", Cc = "[object GeneratorFunction]", Tc = "[object Proxy]";
|
|
6704
|
+
function Rs(e) {
|
|
6654
6705
|
if (!kt(e))
|
|
6655
6706
|
return !1;
|
|
6656
6707
|
var n = Ge(e);
|
|
6657
|
-
return n ==
|
|
6708
|
+
return n == $c || n == Cc || n == kc || n == Tc;
|
|
6658
6709
|
}
|
|
6659
6710
|
var jt = ne["__core-js_shared__"], On = function() {
|
|
6660
6711
|
var e = /[^.]+$/.exec(jt && jt.keys && jt.keys.IE_PROTO || "");
|
|
6661
6712
|
return e ? "Symbol(src)_1." + e : "";
|
|
6662
6713
|
}();
|
|
6663
|
-
function
|
|
6714
|
+
function Ac(e) {
|
|
6664
6715
|
return !!On && On in e;
|
|
6665
6716
|
}
|
|
6666
|
-
var
|
|
6717
|
+
var Oc = Function.prototype, xc = Oc.toString;
|
|
6667
6718
|
function we(e) {
|
|
6668
6719
|
if (e != null) {
|
|
6669
6720
|
try {
|
|
6670
|
-
return
|
|
6721
|
+
return xc.call(e);
|
|
6671
6722
|
} catch {
|
|
6672
6723
|
}
|
|
6673
6724
|
try {
|
|
@@ -6677,48 +6728,48 @@ function we(e) {
|
|
|
6677
6728
|
}
|
|
6678
6729
|
return "";
|
|
6679
6730
|
}
|
|
6680
|
-
var
|
|
6681
|
-
"^" +
|
|
6731
|
+
var Ec = /[\\^$.*+?()[\]{}|]/g, Rc = /^\[object .+?Constructor\]$/, jc = Function.prototype, Ic = Object.prototype, zc = jc.toString, Bc = Ic.hasOwnProperty, Mc = RegExp(
|
|
6732
|
+
"^" + zc.call(Bc).replace(Ec, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6682
6733
|
);
|
|
6683
|
-
function
|
|
6684
|
-
if (!kt(e) ||
|
|
6734
|
+
function Uc(e) {
|
|
6735
|
+
if (!kt(e) || Ac(e))
|
|
6685
6736
|
return !1;
|
|
6686
|
-
var n =
|
|
6737
|
+
var n = Rs(e) ? Mc : Rc;
|
|
6687
6738
|
return n.test(we(e));
|
|
6688
6739
|
}
|
|
6689
|
-
function
|
|
6740
|
+
function Pc(e, n) {
|
|
6690
6741
|
return e?.[n];
|
|
6691
6742
|
}
|
|
6692
6743
|
function Se(e, n) {
|
|
6693
|
-
var t =
|
|
6694
|
-
return
|
|
6744
|
+
var t = Pc(e, n);
|
|
6745
|
+
return Uc(t) ? t : void 0;
|
|
6695
6746
|
}
|
|
6696
6747
|
var qe = Se(ne, "Map"), Ke = Se(Object, "create");
|
|
6697
|
-
function
|
|
6748
|
+
function Lc() {
|
|
6698
6749
|
this.__data__ = Ke ? Ke(null) : {}, this.size = 0;
|
|
6699
6750
|
}
|
|
6700
|
-
function
|
|
6751
|
+
function Fc(e) {
|
|
6701
6752
|
var n = this.has(e) && delete this.__data__[e];
|
|
6702
6753
|
return this.size -= n ? 1 : 0, n;
|
|
6703
6754
|
}
|
|
6704
|
-
var
|
|
6705
|
-
function
|
|
6755
|
+
var Vc = "__lodash_hash_undefined__", Hc = Object.prototype, Nc = Hc.hasOwnProperty;
|
|
6756
|
+
function Dc(e) {
|
|
6706
6757
|
var n = this.__data__;
|
|
6707
6758
|
if (Ke) {
|
|
6708
6759
|
var t = n[e];
|
|
6709
|
-
return t ===
|
|
6760
|
+
return t === Vc ? void 0 : t;
|
|
6710
6761
|
}
|
|
6711
|
-
return
|
|
6762
|
+
return Nc.call(n, e) ? n[e] : void 0;
|
|
6712
6763
|
}
|
|
6713
|
-
var
|
|
6714
|
-
function
|
|
6764
|
+
var Wc = Object.prototype, Xc = Wc.hasOwnProperty;
|
|
6765
|
+
function Yc(e) {
|
|
6715
6766
|
var n = this.__data__;
|
|
6716
|
-
return Ke ? n[e] !== void 0 :
|
|
6767
|
+
return Ke ? n[e] !== void 0 : Xc.call(n, e);
|
|
6717
6768
|
}
|
|
6718
|
-
var
|
|
6719
|
-
function
|
|
6769
|
+
var qc = "__lodash_hash_undefined__";
|
|
6770
|
+
function Kc(e, n) {
|
|
6720
6771
|
var t = this.__data__;
|
|
6721
|
-
return this.size += this.has(e) ? 0 : 1, t[e] = Ke && n === void 0 ?
|
|
6772
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = Ke && n === void 0 ? qc : n, this;
|
|
6722
6773
|
}
|
|
6723
6774
|
function be(e) {
|
|
6724
6775
|
var n = -1, t = e == null ? 0 : e.length;
|
|
@@ -6727,37 +6778,37 @@ function be(e) {
|
|
|
6727
6778
|
this.set(s[0], s[1]);
|
|
6728
6779
|
}
|
|
6729
6780
|
}
|
|
6730
|
-
be.prototype.clear =
|
|
6731
|
-
be.prototype.delete =
|
|
6732
|
-
be.prototype.get =
|
|
6733
|
-
be.prototype.has =
|
|
6734
|
-
be.prototype.set =
|
|
6735
|
-
function
|
|
6781
|
+
be.prototype.clear = Lc;
|
|
6782
|
+
be.prototype.delete = Fc;
|
|
6783
|
+
be.prototype.get = Dc;
|
|
6784
|
+
be.prototype.has = Yc;
|
|
6785
|
+
be.prototype.set = Kc;
|
|
6786
|
+
function Gc() {
|
|
6736
6787
|
this.size = 0, this.__data__ = {
|
|
6737
6788
|
hash: new be(),
|
|
6738
6789
|
map: new (qe || ce)(),
|
|
6739
6790
|
string: new be()
|
|
6740
6791
|
};
|
|
6741
6792
|
}
|
|
6742
|
-
function
|
|
6793
|
+
function Zc(e) {
|
|
6743
6794
|
var n = typeof e;
|
|
6744
6795
|
return n == "string" || n == "number" || n == "symbol" || n == "boolean" ? e !== "__proto__" : e === null;
|
|
6745
6796
|
}
|
|
6746
6797
|
function $t(e, n) {
|
|
6747
6798
|
var t = e.__data__;
|
|
6748
|
-
return
|
|
6799
|
+
return Zc(n) ? t[typeof n == "string" ? "string" : "hash"] : t.map;
|
|
6749
6800
|
}
|
|
6750
|
-
function
|
|
6801
|
+
function Qc(e) {
|
|
6751
6802
|
var n = $t(this, e).delete(e);
|
|
6752
6803
|
return this.size -= n ? 1 : 0, n;
|
|
6753
6804
|
}
|
|
6754
|
-
function
|
|
6805
|
+
function Jc(e) {
|
|
6755
6806
|
return $t(this, e).get(e);
|
|
6756
6807
|
}
|
|
6757
|
-
function
|
|
6808
|
+
function eu(e) {
|
|
6758
6809
|
return $t(this, e).has(e);
|
|
6759
6810
|
}
|
|
6760
|
-
function
|
|
6811
|
+
function tu(e, n) {
|
|
6761
6812
|
var t = $t(this, e), s = t.size;
|
|
6762
6813
|
return t.set(e, n), this.size += t.size == s ? 0 : 1, this;
|
|
6763
6814
|
}
|
|
@@ -6768,17 +6819,17 @@ function Ie(e) {
|
|
|
6768
6819
|
this.set(s[0], s[1]);
|
|
6769
6820
|
}
|
|
6770
6821
|
}
|
|
6771
|
-
Ie.prototype.clear =
|
|
6772
|
-
Ie.prototype.delete =
|
|
6773
|
-
Ie.prototype.get =
|
|
6774
|
-
Ie.prototype.has =
|
|
6775
|
-
Ie.prototype.set =
|
|
6776
|
-
var
|
|
6777
|
-
function
|
|
6822
|
+
Ie.prototype.clear = Gc;
|
|
6823
|
+
Ie.prototype.delete = Qc;
|
|
6824
|
+
Ie.prototype.get = Jc;
|
|
6825
|
+
Ie.prototype.has = eu;
|
|
6826
|
+
Ie.prototype.set = tu;
|
|
6827
|
+
var nu = 200;
|
|
6828
|
+
function su(e, n) {
|
|
6778
6829
|
var t = this.__data__;
|
|
6779
6830
|
if (t instanceof ce) {
|
|
6780
6831
|
var s = t.__data__;
|
|
6781
|
-
if (!qe || s.length <
|
|
6832
|
+
if (!qe || s.length < nu - 1)
|
|
6782
6833
|
return s.push([e, n]), this.size = ++t.size, this;
|
|
6783
6834
|
t = this.__data__ = new Ie(s);
|
|
6784
6835
|
}
|
|
@@ -6788,12 +6839,12 @@ function ze(e) {
|
|
|
6788
6839
|
var n = this.__data__ = new ce(e);
|
|
6789
6840
|
this.size = n.size;
|
|
6790
6841
|
}
|
|
6791
|
-
ze.prototype.clear =
|
|
6792
|
-
ze.prototype.delete =
|
|
6793
|
-
ze.prototype.get =
|
|
6794
|
-
ze.prototype.has =
|
|
6795
|
-
ze.prototype.set =
|
|
6796
|
-
function
|
|
6842
|
+
ze.prototype.clear = uc;
|
|
6843
|
+
ze.prototype.delete = dc;
|
|
6844
|
+
ze.prototype.get = fc;
|
|
6845
|
+
ze.prototype.has = hc;
|
|
6846
|
+
ze.prototype.set = su;
|
|
6847
|
+
function ou(e, n) {
|
|
6797
6848
|
for (var t = -1, s = e == null ? 0 : e.length; ++t < s && n(e[t], t, e) !== !1; )
|
|
6798
6849
|
;
|
|
6799
6850
|
return e;
|
|
@@ -6805,7 +6856,7 @@ var xn = function() {
|
|
|
6805
6856
|
} catch {
|
|
6806
6857
|
}
|
|
6807
6858
|
}();
|
|
6808
|
-
function
|
|
6859
|
+
function iu(e, n, t) {
|
|
6809
6860
|
n == "__proto__" && xn ? xn(e, n, {
|
|
6810
6861
|
configurable: !0,
|
|
6811
6862
|
enumerable: !0,
|
|
@@ -6813,12 +6864,12 @@ function ru(e, n, t) {
|
|
|
6813
6864
|
writable: !0
|
|
6814
6865
|
}) : e[n] = t;
|
|
6815
6866
|
}
|
|
6816
|
-
var
|
|
6817
|
-
function
|
|
6867
|
+
var ru = Object.prototype, lu = ru.hasOwnProperty;
|
|
6868
|
+
function au(e, n, t) {
|
|
6818
6869
|
var s = e[n];
|
|
6819
|
-
(!(
|
|
6870
|
+
(!(lu.call(e, n) && Os(s, t)) || t === void 0 && !(n in e)) && iu(e, n, t);
|
|
6820
6871
|
}
|
|
6821
|
-
function
|
|
6872
|
+
function cu(e, n) {
|
|
6822
6873
|
for (var t = -1, s = Array(e); ++t < e; )
|
|
6823
6874
|
s[t] = n(t);
|
|
6824
6875
|
return s;
|
|
@@ -6826,169 +6877,170 @@ function uu(e, n) {
|
|
|
6826
6877
|
function Ze(e) {
|
|
6827
6878
|
return e != null && typeof e == "object";
|
|
6828
6879
|
}
|
|
6829
|
-
var
|
|
6880
|
+
var uu = "[object Arguments]";
|
|
6830
6881
|
function En(e) {
|
|
6831
|
-
return Ze(e) && Ge(e) ==
|
|
6882
|
+
return Ze(e) && Ge(e) == uu;
|
|
6832
6883
|
}
|
|
6833
|
-
var
|
|
6884
|
+
var js = Object.prototype, du = js.hasOwnProperty, fu = js.propertyIsEnumerable, hu = En(/* @__PURE__ */ function() {
|
|
6834
6885
|
return arguments;
|
|
6835
6886
|
}()) ? En : function(e) {
|
|
6836
|
-
return Ze(e) &&
|
|
6887
|
+
return Ze(e) && du.call(e, "callee") && !fu.call(e, "callee");
|
|
6837
6888
|
}, un = Array.isArray;
|
|
6838
|
-
function
|
|
6889
|
+
function mu() {
|
|
6839
6890
|
return !1;
|
|
6840
6891
|
}
|
|
6841
|
-
var
|
|
6842
|
-
function
|
|
6892
|
+
var Is = typeof exports == "object" && exports && !exports.nodeType && exports, Rn = Is && typeof module == "object" && module && !module.nodeType && module, gu = Rn && Rn.exports === Is, jn = gu ? ne.Buffer : void 0, vu = jn ? jn.isBuffer : void 0, zs = vu || mu, yu = 9007199254740991, pu = /^(?:0|[1-9]\d*)$/;
|
|
6893
|
+
function bu(e, n) {
|
|
6843
6894
|
var t = typeof e;
|
|
6844
|
-
return n = n ??
|
|
6895
|
+
return n = n ?? yu, !!n && (t == "number" || t != "symbol" && pu.test(e)) && e > -1 && e % 1 == 0 && e < n;
|
|
6845
6896
|
}
|
|
6846
|
-
var
|
|
6847
|
-
function
|
|
6848
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
6897
|
+
var _u = 9007199254740991;
|
|
6898
|
+
function Bs(e) {
|
|
6899
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= _u;
|
|
6849
6900
|
}
|
|
6850
|
-
var
|
|
6851
|
-
L[
|
|
6852
|
-
L[Su] = L[
|
|
6853
|
-
function
|
|
6854
|
-
return Ze(e) &&
|
|
6901
|
+
var wu = "[object Arguments]", Su = "[object Array]", ku = "[object Boolean]", $u = "[object Date]", Cu = "[object Error]", Tu = "[object Function]", Au = "[object Map]", Ou = "[object Number]", xu = "[object Object]", Eu = "[object RegExp]", Ru = "[object Set]", ju = "[object String]", Iu = "[object WeakMap]", zu = "[object ArrayBuffer]", Bu = "[object DataView]", Mu = "[object Float32Array]", Uu = "[object Float64Array]", Pu = "[object Int8Array]", Lu = "[object Int16Array]", Fu = "[object Int32Array]", Vu = "[object Uint8Array]", Hu = "[object Uint8ClampedArray]", Nu = "[object Uint16Array]", Du = "[object Uint32Array]", L = {};
|
|
6902
|
+
L[Mu] = L[Uu] = L[Pu] = L[Lu] = L[Fu] = L[Vu] = L[Hu] = L[Nu] = L[Du] = !0;
|
|
6903
|
+
L[wu] = L[Su] = L[zu] = L[ku] = L[Bu] = L[$u] = L[Cu] = L[Tu] = L[Au] = L[Ou] = L[xu] = L[Eu] = L[Ru] = L[ju] = L[Iu] = !1;
|
|
6904
|
+
function Wu(e) {
|
|
6905
|
+
return Ze(e) && Bs(e.length) && !!L[Ge(e)];
|
|
6855
6906
|
}
|
|
6856
6907
|
function dn(e) {
|
|
6857
6908
|
return function(n) {
|
|
6858
6909
|
return e(n);
|
|
6859
6910
|
};
|
|
6860
6911
|
}
|
|
6861
|
-
var
|
|
6912
|
+
var Ms = typeof exports == "object" && exports && !exports.nodeType && exports, Ne = Ms && typeof module == "object" && module && !module.nodeType && module, Xu = Ne && Ne.exports === Ms, It = Xu && xs.process, je = function() {
|
|
6862
6913
|
try {
|
|
6863
6914
|
var e = Ne && Ne.require && Ne.require("util").types;
|
|
6864
6915
|
return e || It && It.binding && It.binding("util");
|
|
6865
6916
|
} catch {
|
|
6866
6917
|
}
|
|
6867
|
-
}(), In = je && je.isTypedArray,
|
|
6868
|
-
function
|
|
6869
|
-
var t = un(e), s = !t &&
|
|
6918
|
+
}(), In = je && je.isTypedArray, Yu = In ? dn(In) : Wu, qu = Object.prototype, Ku = qu.hasOwnProperty;
|
|
6919
|
+
function Gu(e, n) {
|
|
6920
|
+
var t = un(e), s = !t && hu(e), o = !t && !s && zs(e), i = !t && !s && !o && Yu(e), r = t || s || o || i, l = r ? cu(e.length, String) : [], a = l.length;
|
|
6870
6921
|
for (var c in e)
|
|
6871
|
-
|
|
6922
|
+
Ku.call(e, c) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6872
6923
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6873
6924
|
o && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6874
6925
|
i && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
|
|
6875
|
-
|
|
6926
|
+
bu(c, a))) && l.push(c);
|
|
6876
6927
|
return l;
|
|
6877
6928
|
}
|
|
6878
|
-
var
|
|
6879
|
-
function
|
|
6880
|
-
var n = e && e.constructor, t = typeof n == "function" && n.prototype ||
|
|
6929
|
+
var Zu = Object.prototype;
|
|
6930
|
+
function Us(e) {
|
|
6931
|
+
var n = e && e.constructor, t = typeof n == "function" && n.prototype || Zu;
|
|
6881
6932
|
return e === t;
|
|
6882
6933
|
}
|
|
6883
|
-
function
|
|
6934
|
+
function Ps(e, n) {
|
|
6884
6935
|
return function(t) {
|
|
6885
6936
|
return e(n(t));
|
|
6886
6937
|
};
|
|
6887
6938
|
}
|
|
6888
|
-
var
|
|
6889
|
-
function
|
|
6890
|
-
if (!
|
|
6891
|
-
return
|
|
6939
|
+
var Qu = Ps(Object.keys, Object), Ju = Object.prototype, ed = Ju.hasOwnProperty;
|
|
6940
|
+
function td(e) {
|
|
6941
|
+
if (!Us(e))
|
|
6942
|
+
return Qu(e);
|
|
6892
6943
|
var n = [];
|
|
6893
6944
|
for (var t in Object(e))
|
|
6894
|
-
|
|
6945
|
+
ed.call(e, t) && t != "constructor" && n.push(t);
|
|
6895
6946
|
return n;
|
|
6896
6947
|
}
|
|
6897
|
-
function
|
|
6898
|
-
return e != null &&
|
|
6948
|
+
function nd(e) {
|
|
6949
|
+
return e != null && Bs(e.length) && !Rs(e);
|
|
6899
6950
|
}
|
|
6900
|
-
function
|
|
6901
|
-
return
|
|
6951
|
+
function sd(e) {
|
|
6952
|
+
return nd(e) ? Gu(e) : td(e);
|
|
6902
6953
|
}
|
|
6903
|
-
var
|
|
6904
|
-
|
|
6905
|
-
function
|
|
6954
|
+
var Ls = typeof exports == "object" && exports && !exports.nodeType && exports, zn = Ls && typeof module == "object" && module && !module.nodeType && module, od = zn && zn.exports === Ls, Bn = od ? ne.Buffer : void 0;
|
|
6955
|
+
Bn && Bn.allocUnsafe;
|
|
6956
|
+
function id(e, n) {
|
|
6906
6957
|
return e.slice();
|
|
6907
6958
|
}
|
|
6908
|
-
function
|
|
6959
|
+
function rd(e, n) {
|
|
6909
6960
|
for (var t = -1, s = e == null ? 0 : e.length, o = 0, i = []; ++t < s; ) {
|
|
6910
6961
|
var r = e[t];
|
|
6911
6962
|
n(r, t, e) && (i[o++] = r);
|
|
6912
6963
|
}
|
|
6913
6964
|
return i;
|
|
6914
6965
|
}
|
|
6915
|
-
function
|
|
6966
|
+
function ld() {
|
|
6916
6967
|
return [];
|
|
6917
6968
|
}
|
|
6918
|
-
var
|
|
6919
|
-
return e == null ? [] : (e = Object(e),
|
|
6920
|
-
return
|
|
6969
|
+
var ad = Object.prototype, cd = ad.propertyIsEnumerable, Mn = Object.getOwnPropertySymbols, ud = Mn ? function(e) {
|
|
6970
|
+
return e == null ? [] : (e = Object(e), rd(Mn(e), function(n) {
|
|
6971
|
+
return cd.call(e, n);
|
|
6921
6972
|
}));
|
|
6922
|
-
} :
|
|
6923
|
-
function
|
|
6973
|
+
} : ld;
|
|
6974
|
+
function dd(e, n) {
|
|
6924
6975
|
for (var t = -1, s = n.length, o = e.length; ++t < s; )
|
|
6925
6976
|
e[o + t] = n[t];
|
|
6926
6977
|
return e;
|
|
6927
6978
|
}
|
|
6928
|
-
var
|
|
6929
|
-
function
|
|
6979
|
+
var fd = Ps(Object.getPrototypeOf, Object);
|
|
6980
|
+
function hd(e, n, t) {
|
|
6930
6981
|
var s = n(e);
|
|
6931
|
-
return un(e) ? s :
|
|
6982
|
+
return un(e) ? s : dd(s, t(e));
|
|
6932
6983
|
}
|
|
6933
|
-
function
|
|
6934
|
-
return
|
|
6984
|
+
function md(e) {
|
|
6985
|
+
return hd(e, sd, ud);
|
|
6935
6986
|
}
|
|
6936
|
-
var Dt = Se(ne, "DataView"), Wt = Se(ne, "Promise"), Xt = Se(ne, "Set"), Yt = Se(ne, "WeakMap"),
|
|
6937
|
-
(Dt && ie(new Dt(new ArrayBuffer(1))) != Vn || qe && ie(new qe()) !=
|
|
6938
|
-
var n = Ge(e), t = n ==
|
|
6987
|
+
var Dt = Se(ne, "DataView"), Wt = Se(ne, "Promise"), Xt = Se(ne, "Set"), Yt = Se(ne, "WeakMap"), Un = "[object Map]", gd = "[object Object]", Pn = "[object Promise]", Ln = "[object Set]", Fn = "[object WeakMap]", Vn = "[object DataView]", vd = we(Dt), yd = we(qe), pd = we(Wt), bd = we(Xt), _d = we(Yt), ie = Ge;
|
|
6988
|
+
(Dt && ie(new Dt(new ArrayBuffer(1))) != Vn || qe && ie(new qe()) != Un || Wt && ie(Wt.resolve()) != Pn || Xt && ie(new Xt()) != Ln || Yt && ie(new Yt()) != Fn) && (ie = function(e) {
|
|
6989
|
+
var n = Ge(e), t = n == gd ? e.constructor : void 0, s = t ? we(t) : "";
|
|
6939
6990
|
if (s)
|
|
6940
6991
|
switch (s) {
|
|
6941
|
-
case
|
|
6992
|
+
case vd:
|
|
6942
6993
|
return Vn;
|
|
6994
|
+
case yd:
|
|
6995
|
+
return Un;
|
|
6943
6996
|
case pd:
|
|
6944
|
-
return Bn;
|
|
6945
|
-
case bd:
|
|
6946
6997
|
return Pn;
|
|
6947
|
-
case
|
|
6998
|
+
case bd:
|
|
6948
6999
|
return Ln;
|
|
6949
|
-
case
|
|
7000
|
+
case _d:
|
|
6950
7001
|
return Fn;
|
|
6951
7002
|
}
|
|
6952
7003
|
return n;
|
|
6953
7004
|
});
|
|
6954
|
-
var
|
|
6955
|
-
function
|
|
7005
|
+
var wd = Object.prototype, Sd = wd.hasOwnProperty;
|
|
7006
|
+
function kd(e) {
|
|
6956
7007
|
var n = e.length, t = new e.constructor(n);
|
|
6957
|
-
return n && typeof e[0] == "string" &&
|
|
7008
|
+
return n && typeof e[0] == "string" && Sd.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
6958
7009
|
}
|
|
6959
7010
|
var Hn = ne.Uint8Array;
|
|
6960
7011
|
function fn(e) {
|
|
6961
7012
|
var n = new e.constructor(e.byteLength);
|
|
6962
7013
|
return new Hn(n).set(new Hn(e)), n;
|
|
6963
7014
|
}
|
|
6964
|
-
function
|
|
7015
|
+
function $d(e, n) {
|
|
6965
7016
|
var t = fn(e.buffer);
|
|
6966
7017
|
return new e.constructor(t, e.byteOffset, e.byteLength);
|
|
6967
7018
|
}
|
|
6968
|
-
var
|
|
7019
|
+
var Cd = /\w*$/;
|
|
6969
7020
|
function Td(e) {
|
|
6970
|
-
var n = new e.constructor(e.source,
|
|
7021
|
+
var n = new e.constructor(e.source, Cd.exec(e));
|
|
6971
7022
|
return n.lastIndex = e.lastIndex, n;
|
|
6972
7023
|
}
|
|
6973
7024
|
var Nn = Re ? Re.prototype : void 0, Dn = Nn ? Nn.valueOf : void 0;
|
|
6974
|
-
function
|
|
7025
|
+
function Ad(e) {
|
|
6975
7026
|
return Dn ? Object(Dn.call(e)) : {};
|
|
6976
7027
|
}
|
|
6977
|
-
function
|
|
7028
|
+
function Od(e, n) {
|
|
6978
7029
|
var t = fn(e.buffer);
|
|
6979
7030
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
6980
7031
|
}
|
|
6981
|
-
var
|
|
6982
|
-
function
|
|
7032
|
+
var xd = "[object Boolean]", Ed = "[object Date]", Rd = "[object Map]", jd = "[object Number]", Id = "[object RegExp]", zd = "[object Set]", Bd = "[object String]", Md = "[object Symbol]", Ud = "[object ArrayBuffer]", Pd = "[object DataView]", Ld = "[object Float32Array]", Fd = "[object Float64Array]", Vd = "[object Int8Array]", Hd = "[object Int16Array]", Nd = "[object Int32Array]", Dd = "[object Uint8Array]", Wd = "[object Uint8ClampedArray]", Xd = "[object Uint16Array]", Yd = "[object Uint32Array]";
|
|
7033
|
+
function qd(e, n, t) {
|
|
6983
7034
|
var s = e.constructor;
|
|
6984
7035
|
switch (n) {
|
|
6985
|
-
case
|
|
7036
|
+
case Ud:
|
|
6986
7037
|
return fn(e);
|
|
7038
|
+
case xd:
|
|
6987
7039
|
case Ed:
|
|
6988
|
-
case Rd:
|
|
6989
7040
|
return new s(+e);
|
|
7041
|
+
case Pd:
|
|
7042
|
+
return $d(e);
|
|
6990
7043
|
case Ld:
|
|
6991
|
-
return Cd(e);
|
|
6992
7044
|
case Fd:
|
|
6993
7045
|
case Vd:
|
|
6994
7046
|
case Hd:
|
|
@@ -6997,22 +7049,21 @@ function Kd(e, n, t) {
|
|
|
6997
7049
|
case Wd:
|
|
6998
7050
|
case Xd:
|
|
6999
7051
|
case Yd:
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
case jd:
|
|
7052
|
+
return Od(e);
|
|
7053
|
+
case Rd:
|
|
7003
7054
|
return new s();
|
|
7004
|
-
case
|
|
7005
|
-
case
|
|
7055
|
+
case jd:
|
|
7056
|
+
case Bd:
|
|
7006
7057
|
return new s(e);
|
|
7007
|
-
case
|
|
7058
|
+
case Id:
|
|
7008
7059
|
return Td(e);
|
|
7009
|
-
case
|
|
7060
|
+
case zd:
|
|
7010
7061
|
return new s();
|
|
7011
|
-
case
|
|
7012
|
-
return
|
|
7062
|
+
case Md:
|
|
7063
|
+
return Ad(e);
|
|
7013
7064
|
}
|
|
7014
7065
|
}
|
|
7015
|
-
var Wn = Object.create,
|
|
7066
|
+
var Wn = Object.create, Kd = /* @__PURE__ */ function() {
|
|
7016
7067
|
function e() {
|
|
7017
7068
|
}
|
|
7018
7069
|
return function(n) {
|
|
@@ -7025,20 +7076,20 @@ var Wn = Object.create, Gd = /* @__PURE__ */ function() {
|
|
|
7025
7076
|
return e.prototype = void 0, t;
|
|
7026
7077
|
};
|
|
7027
7078
|
}();
|
|
7028
|
-
function
|
|
7029
|
-
return typeof e.constructor == "function" && !
|
|
7079
|
+
function Gd(e) {
|
|
7080
|
+
return typeof e.constructor == "function" && !Us(e) ? Kd(fd(e)) : {};
|
|
7030
7081
|
}
|
|
7031
|
-
var
|
|
7032
|
-
function
|
|
7033
|
-
return Ze(e) && ie(e) ==
|
|
7082
|
+
var Zd = "[object Map]";
|
|
7083
|
+
function Qd(e) {
|
|
7084
|
+
return Ze(e) && ie(e) == Zd;
|
|
7034
7085
|
}
|
|
7035
|
-
var Xn = je && je.isMap,
|
|
7036
|
-
function
|
|
7037
|
-
return Ze(e) && ie(e) ==
|
|
7086
|
+
var Xn = je && je.isMap, Jd = Xn ? dn(Xn) : Qd, ef = "[object Set]";
|
|
7087
|
+
function tf(e) {
|
|
7088
|
+
return Ze(e) && ie(e) == ef;
|
|
7038
7089
|
}
|
|
7039
|
-
var Yn = je && je.isSet,
|
|
7040
|
-
|
|
7041
|
-
|
|
7090
|
+
var Yn = je && je.isSet, nf = Yn ? dn(Yn) : tf, Fs = "[object Arguments]", sf = "[object Array]", of = "[object Boolean]", rf = "[object Date]", lf = "[object Error]", Vs = "[object Function]", af = "[object GeneratorFunction]", cf = "[object Map]", uf = "[object Number]", Hs = "[object Object]", df = "[object RegExp]", ff = "[object Set]", hf = "[object String]", mf = "[object Symbol]", gf = "[object WeakMap]", vf = "[object ArrayBuffer]", yf = "[object DataView]", pf = "[object Float32Array]", bf = "[object Float64Array]", _f = "[object Int8Array]", wf = "[object Int16Array]", Sf = "[object Int32Array]", kf = "[object Uint8Array]", $f = "[object Uint8ClampedArray]", Cf = "[object Uint16Array]", Tf = "[object Uint32Array]", M = {};
|
|
7091
|
+
M[Fs] = M[sf] = M[vf] = M[yf] = M[of] = M[rf] = M[pf] = M[bf] = M[_f] = M[wf] = M[Sf] = M[cf] = M[uf] = M[Hs] = M[df] = M[ff] = M[hf] = M[mf] = M[kf] = M[$f] = M[Cf] = M[Tf] = !0;
|
|
7092
|
+
M[lf] = M[Vs] = M[gf] = !1;
|
|
7042
7093
|
function lt(e, n, t, s, o, i) {
|
|
7043
7094
|
var r;
|
|
7044
7095
|
if (r !== void 0)
|
|
@@ -7047,43 +7098,43 @@ function lt(e, n, t, s, o, i) {
|
|
|
7047
7098
|
return e;
|
|
7048
7099
|
var l = un(e);
|
|
7049
7100
|
if (l)
|
|
7050
|
-
r =
|
|
7101
|
+
r = kd(e);
|
|
7051
7102
|
else {
|
|
7052
|
-
var a = ie(e), c = a ==
|
|
7053
|
-
if (
|
|
7054
|
-
return
|
|
7055
|
-
if (a ==
|
|
7056
|
-
r = c ? {} :
|
|
7103
|
+
var a = ie(e), c = a == Vs || a == af;
|
|
7104
|
+
if (zs(e))
|
|
7105
|
+
return id(e);
|
|
7106
|
+
if (a == Hs || a == Fs || c && !o)
|
|
7107
|
+
r = c ? {} : Gd(e);
|
|
7057
7108
|
else {
|
|
7058
|
-
if (!
|
|
7109
|
+
if (!M[a])
|
|
7059
7110
|
return o ? e : {};
|
|
7060
|
-
r =
|
|
7111
|
+
r = qd(e, a);
|
|
7061
7112
|
}
|
|
7062
7113
|
}
|
|
7063
7114
|
i || (i = new ze());
|
|
7064
7115
|
var f = i.get(e);
|
|
7065
7116
|
if (f)
|
|
7066
7117
|
return f;
|
|
7067
|
-
i.set(e, r),
|
|
7118
|
+
i.set(e, r), nf(e) ? e.forEach(function($) {
|
|
7068
7119
|
r.add(lt($, n, t, $, e, i));
|
|
7069
|
-
}) :
|
|
7070
|
-
r.set(
|
|
7120
|
+
}) : Jd(e) && e.forEach(function($, T) {
|
|
7121
|
+
r.set(T, lt($, n, t, T, e, i));
|
|
7071
7122
|
});
|
|
7072
|
-
var y =
|
|
7073
|
-
return
|
|
7074
|
-
v && (
|
|
7123
|
+
var y = md, v = l ? void 0 : y(e);
|
|
7124
|
+
return ou(v || e, function($, T) {
|
|
7125
|
+
v && (T = $, $ = e[T]), au(r, T, lt($, n, t, T, e, i));
|
|
7075
7126
|
}), r;
|
|
7076
7127
|
}
|
|
7077
|
-
var
|
|
7078
|
-
function
|
|
7079
|
-
return lt(e,
|
|
7128
|
+
var Af = 1, Of = 4;
|
|
7129
|
+
function xf(e) {
|
|
7130
|
+
return lt(e, Af | Of);
|
|
7080
7131
|
}
|
|
7081
|
-
const zt = (e) => e.every((n) => typeof n == "object"), qn = !0,
|
|
7082
|
-
let Kn =
|
|
7083
|
-
const
|
|
7132
|
+
const zt = (e) => e.every((n) => typeof n == "object"), qn = !0, Ns = () => window.innerWidth;
|
|
7133
|
+
let Kn = Ns();
|
|
7134
|
+
const Ef = {
|
|
7084
7135
|
name: "UluTableSticky",
|
|
7085
7136
|
components: {
|
|
7086
|
-
UluTableStickyTable:
|
|
7137
|
+
UluTableStickyTable: nc
|
|
7087
7138
|
},
|
|
7088
7139
|
props: {
|
|
7089
7140
|
/**
|
|
@@ -7340,7 +7391,7 @@ const Rf = {
|
|
|
7340
7391
|
* - Can be used in the future for adding/removing or enabling/disabling
|
|
7341
7392
|
*/
|
|
7342
7393
|
createColumns() {
|
|
7343
|
-
const e = this.idCreator("c"), n =
|
|
7394
|
+
const e = this.idCreator("c"), n = xf(this.columns), t = (s, o) => {
|
|
7344
7395
|
s.id = e(), s.parent = o, s.width = "auto", s.boxWidth = null, s.sortApplied = !1, s.sortAscending = !1, s.sortFocused = !1;
|
|
7345
7396
|
let i = [];
|
|
7346
7397
|
o && (o.headers && o.headers.length ? i = [...o.headers] : i.push(o.id)), i.push(s.id), s.headers = i, s.columns ? s.columns.forEach((r) => t(r, s)) : !s.key && !s.value && !s.slot && console.warn("UluTableSticky: Missing 'key', 'value' or 'slot' in column configuration for", s);
|
|
@@ -7380,7 +7431,7 @@ const Rf = {
|
|
|
7380
7431
|
})) : [];
|
|
7381
7432
|
},
|
|
7382
7433
|
onResize() {
|
|
7383
|
-
const e =
|
|
7434
|
+
const e = Ns();
|
|
7384
7435
|
Kn !== e && (Kn = e, this.resizing ? (this.resizing = !1, this.setTableSizes(), this.checkOverflowX(), this.syncScrollLeft()) : (this.resizing = !0, this.removeTableSizes()));
|
|
7385
7436
|
},
|
|
7386
7437
|
/**
|
|
@@ -7455,7 +7506,7 @@ const Rf = {
|
|
|
7455
7506
|
i && (o.boxWidth = e(i, "width"), o.width = `${o.boxWidth}px`);
|
|
7456
7507
|
});
|
|
7457
7508
|
}), this.firstColumnSticky && (this.currentRows.forEach((s) => t(s)), this.currentFooterRows.forEach((s) => t(s))), this.$nextTick(() => {
|
|
7458
|
-
this.sizesCalculated = !0,
|
|
7509
|
+
this.sizesCalculated = !0, As(() => {
|
|
7459
7510
|
this.sizesPainted = !0;
|
|
7460
7511
|
});
|
|
7461
7512
|
});
|
|
@@ -7484,14 +7535,14 @@ const Rf = {
|
|
|
7484
7535
|
unmounted() {
|
|
7485
7536
|
this.columnResizeObserver.disconnect(), this.columnResizeObserver = null;
|
|
7486
7537
|
}
|
|
7487
|
-
},
|
|
7538
|
+
}, Rf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--header" }, jf = { class: "table-sticky__header-wrap" }, If = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--first-column-header" }, zf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--controls" }, Bf = {
|
|
7488
7539
|
key: 2,
|
|
7489
7540
|
class: "table-sticky__controls-inner"
|
|
7490
|
-
},
|
|
7541
|
+
}, Mf = ["disabled"], Uf = ["disabled"], Pf = {
|
|
7491
7542
|
ref: "display",
|
|
7492
7543
|
class: "table-sticky__display"
|
|
7493
7544
|
};
|
|
7494
|
-
function
|
|
7545
|
+
function Lf(e, n, t, s, o, i) {
|
|
7495
7546
|
const r = D("UluTableStickyTable");
|
|
7496
7547
|
return u(), d("div", {
|
|
7497
7548
|
class: m(["table-sticky", {
|
|
@@ -7500,8 +7551,8 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7500
7551
|
"table-sticky--can-scroll-left": o.canScrollLeft
|
|
7501
7552
|
}])
|
|
7502
7553
|
}, [
|
|
7503
|
-
h("div",
|
|
7504
|
-
h("div",
|
|
7554
|
+
h("div", Rf, [
|
|
7555
|
+
h("div", jf, [
|
|
7505
7556
|
z(r, {
|
|
7506
7557
|
ref: "header",
|
|
7507
7558
|
class: "table-sticky__table table-sticky__table--header",
|
|
@@ -7517,7 +7568,7 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7517
7568
|
width: o.tableWidth
|
|
7518
7569
|
}),
|
|
7519
7570
|
onColumnSorted: i.applySort
|
|
7520
|
-
},
|
|
7571
|
+
}, Ae({ _: 2 }, [
|
|
7521
7572
|
O(e.$slots, (l, a) => ({
|
|
7522
7573
|
name: a,
|
|
7523
7574
|
fn: S((c) => [
|
|
@@ -7527,7 +7578,7 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7527
7578
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
7528
7579
|
])
|
|
7529
7580
|
]),
|
|
7530
|
-
h("div",
|
|
7581
|
+
h("div", If, [
|
|
7531
7582
|
t.firstColumnSticky ? (u(), _(r, {
|
|
7532
7583
|
key: 0,
|
|
7533
7584
|
ref: "firstColumnHeader",
|
|
@@ -7543,7 +7594,7 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7543
7594
|
pointerEvents: i.headerVisibleX ? "auto" : "none"
|
|
7544
7595
|
}),
|
|
7545
7596
|
onColumnSorted: i.applySort
|
|
7546
|
-
},
|
|
7597
|
+
}, Ae({ _: 2 }, [
|
|
7547
7598
|
O(e.$slots, (l, a) => ({
|
|
7548
7599
|
name: a,
|
|
7549
7600
|
fn: S((c) => [
|
|
@@ -7552,7 +7603,7 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7552
7603
|
}))
|
|
7553
7604
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : b("", !0)
|
|
7554
7605
|
]),
|
|
7555
|
-
h("div",
|
|
7606
|
+
h("div", zf, [
|
|
7556
7607
|
Oe(h("div", {
|
|
7557
7608
|
class: m(["table-sticky__controls", i.resolveClasses(t.classes.controls)]),
|
|
7558
7609
|
ref: "controls"
|
|
@@ -7563,13 +7614,13 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7563
7614
|
scrollRight: i.scrollRight,
|
|
7564
7615
|
canScrollLeft: o.canScrollLeft,
|
|
7565
7616
|
canScrollRight: o.canScrollRight
|
|
7566
|
-
}) : t.controlsComponent ? (u(), _(
|
|
7617
|
+
}) : t.controlsComponent ? (u(), _(F(t.controlsComponent), {
|
|
7567
7618
|
key: 1,
|
|
7568
7619
|
scrollLeft: i.scrollLeft,
|
|
7569
7620
|
scrollRight: i.scrollRight,
|
|
7570
7621
|
canScrollLeft: o.canScrollLeft,
|
|
7571
7622
|
canScrollRight: o.canScrollRight
|
|
7572
|
-
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (u(), d("div",
|
|
7623
|
+
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (u(), d("div", Bf, [
|
|
7573
7624
|
h("button", {
|
|
7574
7625
|
class: m(["table-sticky__control table-sticky__control--left", i.resolveClasses(t.classes.controlButton)]),
|
|
7575
7626
|
"aria-label": "Scroll Left",
|
|
@@ -7579,7 +7630,7 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7579
7630
|
g(e.$slots, "controlLeft", {}, () => [
|
|
7580
7631
|
n[2] || (n[2] = k(" ← ", -1))
|
|
7581
7632
|
])
|
|
7582
|
-
], 10,
|
|
7633
|
+
], 10, Mf),
|
|
7583
7634
|
h("button", {
|
|
7584
7635
|
class: m(["table-sticky__control table-sticky__control--right", i.resolveClasses(t.classes.controlButton)]),
|
|
7585
7636
|
"aria-label": "Scroll Right",
|
|
@@ -7589,13 +7640,13 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7589
7640
|
g(e.$slots, "controlRight", {}, () => [
|
|
7590
7641
|
n[3] || (n[3] = k(" → ", -1))
|
|
7591
7642
|
])
|
|
7592
|
-
], 10,
|
|
7643
|
+
], 10, Uf)
|
|
7593
7644
|
]))
|
|
7594
7645
|
], 2), [
|
|
7595
|
-
[
|
|
7646
|
+
[Bt, i.controlsShown]
|
|
7596
7647
|
])
|
|
7597
7648
|
]),
|
|
7598
|
-
h("div",
|
|
7649
|
+
h("div", Pf, [
|
|
7599
7650
|
z(r, {
|
|
7600
7651
|
ref: "table",
|
|
7601
7652
|
class: "table-sticky__table table-sticky__table--actual",
|
|
@@ -7614,7 +7665,7 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7614
7665
|
onActualHeaderRemoved: i.headerRemoved,
|
|
7615
7666
|
onActualHeaderAdded: i.headerAdded,
|
|
7616
7667
|
onColumnSorted: i.applySort
|
|
7617
|
-
},
|
|
7668
|
+
}, Ae({ _: 2 }, [
|
|
7618
7669
|
O(e.$slots, (l, a) => ({
|
|
7619
7670
|
name: a,
|
|
7620
7671
|
fn: S((c) => [
|
|
@@ -7643,7 +7694,7 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7643
7694
|
pointerEvents: i.headerVisibleX ? "auto" : "none"
|
|
7644
7695
|
}),
|
|
7645
7696
|
onColumnSorted: i.applySort
|
|
7646
|
-
},
|
|
7697
|
+
}, Ae({ _: 2 }, [
|
|
7647
7698
|
O(e.$slots, (l, a) => ({
|
|
7648
7699
|
name: a,
|
|
7649
7700
|
fn: S((c) => [
|
|
@@ -7653,100 +7704,100 @@ function Ff(e, n, t, s, o, i) {
|
|
|
7653
7704
|
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : b("", !0)
|
|
7654
7705
|
], 2);
|
|
7655
7706
|
}
|
|
7656
|
-
const
|
|
7707
|
+
const om = /* @__PURE__ */ E(Ef, [["render", Lf]]), im = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7657
7708
|
__proto__: null,
|
|
7658
|
-
dom:
|
|
7659
|
-
router:
|
|
7709
|
+
dom: pi,
|
|
7710
|
+
router: Li
|
|
7660
7711
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7661
7712
|
export {
|
|
7662
|
-
|
|
7663
|
-
|
|
7713
|
+
Ih as $,
|
|
7714
|
+
hh as A,
|
|
7664
7715
|
N as B,
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7716
|
+
mh as C,
|
|
7717
|
+
gh as D,
|
|
7718
|
+
vh as E,
|
|
7668
7719
|
bs as F,
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7720
|
+
$s as G,
|
|
7721
|
+
yh as H,
|
|
7722
|
+
ph as I,
|
|
7723
|
+
bh as J,
|
|
7724
|
+
_h as K,
|
|
7725
|
+
wh as L,
|
|
7726
|
+
Sh as M,
|
|
7727
|
+
kh as N,
|
|
7728
|
+
$h as O,
|
|
7729
|
+
Ch as P,
|
|
7679
7730
|
Th as Q,
|
|
7680
7731
|
_s as R,
|
|
7681
|
-
|
|
7682
|
-
|
|
7732
|
+
ki as S,
|
|
7733
|
+
Ah as T,
|
|
7683
7734
|
ds as U,
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7735
|
+
Oh as V,
|
|
7736
|
+
xh as W,
|
|
7737
|
+
Eh as X,
|
|
7738
|
+
Rh as Y,
|
|
7739
|
+
jh as Z,
|
|
7740
|
+
Zf as _,
|
|
7690
7741
|
st as a,
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7742
|
+
zh as a0,
|
|
7743
|
+
Bh as a1,
|
|
7744
|
+
Mh as a2,
|
|
7745
|
+
Uh as a3,
|
|
7746
|
+
Ph as a4,
|
|
7747
|
+
Lh as a5,
|
|
7748
|
+
Fh as a6,
|
|
7749
|
+
Vh as a7,
|
|
7750
|
+
Hh as a8,
|
|
7751
|
+
Nh as a9,
|
|
7752
|
+
Dh as aa,
|
|
7753
|
+
Wh as ab,
|
|
7754
|
+
Xh as ac,
|
|
7755
|
+
Yh as ad,
|
|
7756
|
+
Tn as ae,
|
|
7757
|
+
qh as af,
|
|
7758
|
+
Kh as ag,
|
|
7759
|
+
Gh as ah,
|
|
7760
|
+
Zh as ai,
|
|
7761
|
+
Qh as aj,
|
|
7762
|
+
em as ak,
|
|
7763
|
+
tm as al,
|
|
7764
|
+
ha as am,
|
|
7765
|
+
nm as an,
|
|
7766
|
+
Ra as ao,
|
|
7767
|
+
sm as ap,
|
|
7768
|
+
om as aq,
|
|
7769
|
+
Na as ar,
|
|
7770
|
+
nc as as,
|
|
7771
|
+
Eo as at,
|
|
7721
7772
|
ae as au,
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7773
|
+
Ci as av,
|
|
7774
|
+
Ai as aw,
|
|
7775
|
+
ni as ax,
|
|
7776
|
+
Jf as ay,
|
|
7777
|
+
eh as az,
|
|
7778
|
+
Xf as b,
|
|
7779
|
+
Yf as c,
|
|
7780
|
+
qf as d,
|
|
7781
|
+
Kf as e,
|
|
7782
|
+
Gf as f,
|
|
7783
|
+
zo as g,
|
|
7733
7784
|
Vt as h,
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7785
|
+
im as i,
|
|
7786
|
+
Qf as j,
|
|
7787
|
+
th as k,
|
|
7737
7788
|
Ce as l,
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7789
|
+
nh as m,
|
|
7790
|
+
sh as n,
|
|
7791
|
+
oh as o,
|
|
7792
|
+
ih as p,
|
|
7793
|
+
rh as q,
|
|
7794
|
+
Jh as r,
|
|
7795
|
+
lh as s,
|
|
7745
7796
|
Ji as t,
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7797
|
+
ah as u,
|
|
7798
|
+
Wi as v,
|
|
7799
|
+
ch as w,
|
|
7800
|
+
uh as x,
|
|
7801
|
+
dh as y,
|
|
7802
|
+
fh as z
|
|
7752
7803
|
};
|