@ulu/frontend-vue 0.1.1-beta.1 → 0.1.1-beta.2
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-DM-CBTtb.js → breakpoints-DfGETUy5.js} +1 -1
- package/dist/frontend-vue.js +1 -1
- package/dist/{index-BNRZ3Apw.js → index-94HkwBnP.js} +1115 -1061
- package/lib/components/visualizations/UluProgressBar.vue +57 -14
- package/lib/components/visualizations/UluProgressCircle.vue +124 -111
- package/package.json +3 -3
- package/lib/components/visualizations/progress-bar-examples.html +0 -175
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { reactive as
|
|
1
|
+
import { reactive as Ht, ref as I, computed as w, resolveDirective as Xn, createElementBlock as d, openBlock as u, Fragment as R, withDirectives as Oe, createElementVNode as h, unref as A, normalizeClass as m, renderSlot as g, createTextVNode as $, toDisplayString as b, withKeys as Yn, normalizeStyle as F, createCommentVNode as p, nextTick as qn, toRef as Fs, createBlock as _, Teleport as at, resolveDynamicComponent as P, mergeProps as ie, inject as ct, watchEffect as ut, defineAsyncComponent as Hs, markRaw as xe, toRefs as Ns, toValue as tt, resolveComponent as H, withModifiers as Ds, createVNode as z, useSlots as Ws, renderList as x, TransitionGroup as Gn, withCtx as S, onMounted as dt, onBeforeUnmount as Kn, watch as He, isRef as Xs, hasInjectionContext as Ys, getCurrentInstance as qs, onDeactivated as Gs, onActivated as Ks, onUnmounted as Zn, normalizeProps as Q, guardReactiveProps as ee, vModelText as Zs, vShow as Rt, createSlots as Ae } from "vue";
|
|
2
2
|
import { inline as Jn, offset as Qn, flip as es, shift as ts, arrow as ns, useFloating as ss, autoUpdate as os } from "@floating-ui/vue";
|
|
3
|
-
import { useRoute as is, useRouter as Js, RouterLink as
|
|
3
|
+
import { useRoute as is, useRouter as Js, RouterLink as ft } from "vue-router";
|
|
4
4
|
import { Tab as Qs, TabGroup as eo, TabList as to, TabPanel as no, TabPanels as so } from "@headlessui/vue";
|
|
5
5
|
import oo from "gsap";
|
|
6
6
|
import io from "fuse.js";
|
|
@@ -29,8 +29,8 @@ const un = {
|
|
|
29
29
|
dropdownExpand: "fas fa-caret-down"
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
function
|
|
33
|
-
const t =
|
|
32
|
+
function Hf(e, n = {}) {
|
|
33
|
+
const t = Ht({ ...un }), { iconsByType: s, ...o } = n || {};
|
|
34
34
|
o && Object.assign(t, o);
|
|
35
35
|
const i = {
|
|
36
36
|
// Methods to interact with settings
|
|
@@ -70,7 +70,7 @@ function Nf(e, n = {}) {
|
|
|
70
70
|
i.setIcon(r, l);
|
|
71
71
|
e.provide("uluCore", i), e.config.globalProperties.$uluCore = i;
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const Qe = {
|
|
74
74
|
/**
|
|
75
75
|
* Default Plugin Options
|
|
76
76
|
* @type {Object}
|
|
@@ -178,10 +178,10 @@ const Je = {
|
|
|
178
178
|
onReady: null
|
|
179
179
|
}
|
|
180
180
|
}, ge = {
|
|
181
|
-
plugin: { ...
|
|
182
|
-
popover: { ...
|
|
183
|
-
tooltip: { ...
|
|
184
|
-
}, Nt =
|
|
181
|
+
plugin: { ...Qe.plugin },
|
|
182
|
+
popover: { ...Qe.popover },
|
|
183
|
+
tooltip: { ...Qe.tooltip, ...Qe.popover }
|
|
184
|
+
}, Nt = I(!1), Dt = I(null);
|
|
185
185
|
function ro(e = {}) {
|
|
186
186
|
return Object.assign(ge.popover, e.popover), Object.assign(ge.tooltip, e.tooltip), Object.assign(ge.plugin, e.plugin), ge;
|
|
187
187
|
}
|
|
@@ -194,7 +194,7 @@ function ao(e) {
|
|
|
194
194
|
function co() {
|
|
195
195
|
Nt.value = !1, Dt.value = null;
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const nt = /* @__PURE__ */ new WeakMap(), uo = {
|
|
198
198
|
mounted(e, n) {
|
|
199
199
|
dn(e, n);
|
|
200
200
|
},
|
|
@@ -223,17 +223,17 @@ function dn(e, n) {
|
|
|
223
223
|
e.addEventListener(r, o);
|
|
224
224
|
}), t.hideEvents.forEach((r) => {
|
|
225
225
|
e.addEventListener(r, i);
|
|
226
|
-
}),
|
|
226
|
+
}), nt.set(e, { onShow: o, onHide: i, config: t });
|
|
227
227
|
}
|
|
228
228
|
function fn(e) {
|
|
229
|
-
if (!
|
|
229
|
+
if (!nt.has(e))
|
|
230
230
|
return;
|
|
231
|
-
const { config: n, onShow: t, onHide: s } =
|
|
231
|
+
const { config: n, onShow: t, onHide: s } = nt.get(e);
|
|
232
232
|
n.showEvents.forEach((o) => {
|
|
233
233
|
e.removeEventListener(o, t);
|
|
234
234
|
}), n.hideEvents.forEach((o) => {
|
|
235
235
|
e.removeEventListener(o, s);
|
|
236
|
-
}),
|
|
236
|
+
}), nt.delete(e);
|
|
237
237
|
}
|
|
238
238
|
function fo(e, n) {
|
|
239
239
|
const { value: t } = n;
|
|
@@ -245,10 +245,10 @@ let ho = 0;
|
|
|
245
245
|
function hn() {
|
|
246
246
|
return `ulu-popovers-uid-${++ho}`;
|
|
247
247
|
}
|
|
248
|
-
const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], go = ["aria-labelledby", "id", "data-placement"],
|
|
248
|
+
const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], go = ["aria-labelledby", "id", "data-placement"], vo = { class: "popover__inner" }, yo = {
|
|
249
249
|
key: 0,
|
|
250
250
|
class: "popover__footer"
|
|
251
|
-
},
|
|
251
|
+
}, ht = {
|
|
252
252
|
__name: "UluPopover",
|
|
253
253
|
props: {
|
|
254
254
|
triggerText: String,
|
|
@@ -280,24 +280,24 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
280
280
|
},
|
|
281
281
|
emits: ["toggle"],
|
|
282
282
|
setup(e, { emit: n }) {
|
|
283
|
-
const t = n, s = e, o = hn(), i = hn(), r = Object.assign({}, ge.popover, s.config), l =
|
|
283
|
+
const t = n, s = e, o = hn(), i = hn(), r = Object.assign({}, ge.popover, s.config), l = I(s.startOpen || !1), a = I(null), c = I(null), f = I(null), y = [
|
|
284
284
|
...r.inline ? [Jn()] : [],
|
|
285
285
|
...r.offset ? [Qn(r.offset)] : [],
|
|
286
286
|
es(),
|
|
287
287
|
ts(),
|
|
288
288
|
...r.arrow ? [ns({ element: f })] : []
|
|
289
|
-
],
|
|
289
|
+
], v = {
|
|
290
290
|
placement: r.placement,
|
|
291
291
|
whileElementsMounted: os,
|
|
292
|
-
middleware:
|
|
292
|
+
middleware: y
|
|
293
293
|
}, {
|
|
294
294
|
floatingStyles: k,
|
|
295
295
|
placement: E,
|
|
296
|
-
middlewareData:
|
|
296
|
+
middlewareData: C,
|
|
297
297
|
update: T,
|
|
298
298
|
isPositioned: le
|
|
299
|
-
} = ss(a, c,
|
|
300
|
-
const W =
|
|
299
|
+
} = ss(a, c, v), Ke = w(() => {
|
|
300
|
+
const W = C.value?.arrow;
|
|
301
301
|
return W ? {
|
|
302
302
|
position: "absolute",
|
|
303
303
|
left: W?.x != null ? `${W.x}px` : "",
|
|
@@ -310,18 +310,18 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
310
310
|
}, me = (W) => {
|
|
311
311
|
l.value = W;
|
|
312
312
|
const Z = {
|
|
313
|
-
trigger:
|
|
314
|
-
content:
|
|
315
|
-
isOpen:
|
|
313
|
+
trigger: A(a),
|
|
314
|
+
content: A(c),
|
|
315
|
+
isOpen: A(l)
|
|
316
316
|
}, ke = { isOpen: Z.isOpen };
|
|
317
317
|
qn(() => {
|
|
318
318
|
l.value ? (T(), window.setTimeout(() => {
|
|
319
|
-
|
|
319
|
+
Ze(), s.directFocus(Z), t("toggle", ke);
|
|
320
320
|
}, 0)) : (Se(), s.directFocus(Z), t("toggle", ke));
|
|
321
321
|
});
|
|
322
322
|
};
|
|
323
323
|
let ae;
|
|
324
|
-
const
|
|
324
|
+
const Ze = () => {
|
|
325
325
|
s.clickOutsideCloses && (ae && Se(), ae = (W) => {
|
|
326
326
|
c.value.contains(W.target) || me(!1);
|
|
327
327
|
}, document.addEventListener("click", ae));
|
|
@@ -336,14 +336,14 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
336
336
|
ref_key: "trigger",
|
|
337
337
|
ref: a,
|
|
338
338
|
onClick: Me,
|
|
339
|
-
id:
|
|
339
|
+
id: A(i),
|
|
340
340
|
disabled: e.disabled,
|
|
341
341
|
class: m([
|
|
342
342
|
{ [e.activeClass]: l.value },
|
|
343
343
|
e.classes.trigger
|
|
344
344
|
]),
|
|
345
345
|
"aria-expanded": l.value ? "true" : "false",
|
|
346
|
-
"aria-controls":
|
|
346
|
+
"aria-controls": A(o),
|
|
347
347
|
"aria-label": e.triggerAlt
|
|
348
348
|
}, [
|
|
349
349
|
g(W.$slots, "trigger", {
|
|
@@ -351,7 +351,7 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
351
351
|
toggle: Me,
|
|
352
352
|
close: ce
|
|
353
353
|
}, () => [
|
|
354
|
-
|
|
354
|
+
$(b(e.triggerText), 1)
|
|
355
355
|
])
|
|
356
356
|
], 10, mo)), [
|
|
357
357
|
[ke, e.tooltip ? e.tooltip : null]
|
|
@@ -367,36 +367,36 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
367
367
|
]]),
|
|
368
368
|
ref_key: "content",
|
|
369
369
|
ref: c,
|
|
370
|
-
"aria-labelledby":
|
|
371
|
-
id:
|
|
372
|
-
style:
|
|
373
|
-
"data-placement":
|
|
370
|
+
"aria-labelledby": A(i),
|
|
371
|
+
id: A(o),
|
|
372
|
+
style: F(A(k)),
|
|
373
|
+
"data-placement": A(E),
|
|
374
374
|
onKeydown: Z[0] || (Z[0] = Yn((ln) => me(!1), ["esc"])),
|
|
375
375
|
tabindex: "-1"
|
|
376
376
|
}, [
|
|
377
|
-
h("span",
|
|
377
|
+
h("span", vo, [
|
|
378
378
|
g(W.$slots, "default", {
|
|
379
379
|
isOpen: l.value,
|
|
380
380
|
toggle: Me,
|
|
381
381
|
close: ce
|
|
382
382
|
})
|
|
383
383
|
]),
|
|
384
|
-
W.$slots.footer ? (u(), d("span",
|
|
384
|
+
W.$slots.footer ? (u(), d("span", yo, [
|
|
385
385
|
g(W.$slots, "footer", { close: ce })
|
|
386
|
-
])) :
|
|
387
|
-
|
|
386
|
+
])) : p("", !0),
|
|
387
|
+
A(r).arrow ? (u(), d("span", {
|
|
388
388
|
key: 1,
|
|
389
389
|
class: "popover__arrow",
|
|
390
390
|
ref_key: "contentArrow",
|
|
391
391
|
ref: f,
|
|
392
|
-
style:
|
|
392
|
+
style: F(Ke.value),
|
|
393
393
|
"data-ulu-popover-arrow": ""
|
|
394
|
-
}, null, 4)) :
|
|
394
|
+
}, null, 4)) : p("", !0)
|
|
395
395
|
], 46, go)
|
|
396
396
|
], 64);
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
|
-
},
|
|
399
|
+
}, po = ["data-placement"], bo = ["innerHTML"], _o = {
|
|
400
400
|
key: 1,
|
|
401
401
|
class: "popover__inner"
|
|
402
402
|
}, wo = {
|
|
@@ -405,7 +405,7 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
405
405
|
config: Object
|
|
406
406
|
},
|
|
407
407
|
setup(e) {
|
|
408
|
-
const n =
|
|
408
|
+
const n = Fs(e.config.trigger), t = I(null), s = I(null), o = [
|
|
409
409
|
...e.config.inline ? [Jn()] : [],
|
|
410
410
|
...e.config.offset ? [Qn(e.config.offset)] : [],
|
|
411
411
|
es(),
|
|
@@ -421,21 +421,21 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
421
421
|
middlewareData: a,
|
|
422
422
|
update: c,
|
|
423
423
|
isPositioned: f
|
|
424
|
-
} = ss(n, t, i),
|
|
425
|
-
const
|
|
426
|
-
return
|
|
424
|
+
} = ss(n, t, i), y = w(() => {
|
|
425
|
+
const v = a.value?.arrow;
|
|
426
|
+
return v ? {
|
|
427
427
|
position: "absolute",
|
|
428
|
-
left:
|
|
429
|
-
top:
|
|
428
|
+
left: v?.x != null ? `${v.x}px` : "",
|
|
429
|
+
top: v?.y != null ? `${v.y}px` : ""
|
|
430
430
|
} : null;
|
|
431
431
|
});
|
|
432
|
-
return e.config.onReady && e.config.onReady({ update: c, isPositioned: f }), (
|
|
432
|
+
return e.config.onReady && e.config.onReady({ update: c, isPositioned: f }), (v, k) => (u(), d("span", {
|
|
433
433
|
class: m(["popover popover--tooltip is-active", e.config.class]),
|
|
434
434
|
ref_key: "content",
|
|
435
435
|
ref: t,
|
|
436
436
|
"aria-hidden": "true",
|
|
437
|
-
"data-placement":
|
|
438
|
-
style:
|
|
437
|
+
"data-placement": A(l),
|
|
438
|
+
style: F(A(r))
|
|
439
439
|
}, [
|
|
440
440
|
e.config.isHtml ? (u(), d("span", {
|
|
441
441
|
key: 0,
|
|
@@ -447,28 +447,28 @@ const mo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], g
|
|
|
447
447
|
class: "popover__arrow",
|
|
448
448
|
ref_key: "contentArrow",
|
|
449
449
|
ref: s,
|
|
450
|
-
style:
|
|
451
|
-
}, null, 4)) :
|
|
452
|
-
], 14,
|
|
450
|
+
style: F(y.value)
|
|
451
|
+
}, null, 4)) : p("", !0)
|
|
452
|
+
], 14, po));
|
|
453
453
|
}
|
|
454
454
|
}, So = {
|
|
455
455
|
__name: "UluTooltipDisplay",
|
|
456
456
|
setup(e) {
|
|
457
457
|
return (n, t) => (u(), _(at, {
|
|
458
|
-
to:
|
|
458
|
+
to: A(ge).plugin.tooltipTeleportTo
|
|
459
459
|
}, [
|
|
460
|
-
|
|
460
|
+
A(Nt) ? (u(), _(wo, {
|
|
461
461
|
key: 0,
|
|
462
|
-
config:
|
|
463
|
-
}, null, 8, ["config"])) :
|
|
462
|
+
config: A(Dt)
|
|
463
|
+
}, null, 8, ["config"])) : p("", !0)
|
|
464
464
|
], 8, ["to"]));
|
|
465
465
|
}
|
|
466
466
|
};
|
|
467
|
-
function
|
|
467
|
+
function Nf(e, n = {}) {
|
|
468
468
|
const t = ro(n);
|
|
469
|
-
t.plugin.global && (e.directive(t.plugin.directiveName, uo), e.component("UluTooltipDisplay", So), e.component("UluPopover",
|
|
469
|
+
t.plugin.global && (e.directive(t.plugin.directiveName, uo), e.component("UluTooltipDisplay", So), e.component("UluPopover", ht));
|
|
470
470
|
}
|
|
471
|
-
const
|
|
471
|
+
const O = (e, n) => {
|
|
472
472
|
const t = e.__vccOpts || e;
|
|
473
473
|
for (const [s, o] of n)
|
|
474
474
|
t[s] = o;
|
|
@@ -513,15 +513,15 @@ const A = (e, n) => {
|
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
|
-
function
|
|
516
|
+
function $o(e, n, t, s, o, i) {
|
|
517
517
|
return i.currentModal ? (u(), _(P(i.currentModal.component), ie({ key: 0 }, i.currentProps, {
|
|
518
518
|
modelValue: o.open,
|
|
519
519
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => o.open = r),
|
|
520
520
|
onVnodeMounted: i.modalMounted,
|
|
521
521
|
onVnodeUnmounted: i.modalUnmounted
|
|
522
|
-
}), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) :
|
|
522
|
+
}), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : p("", !0);
|
|
523
523
|
}
|
|
524
|
-
const
|
|
524
|
+
const Co = /* @__PURE__ */ O(ko, [["render", $o]]);
|
|
525
525
|
function To() {
|
|
526
526
|
return { getIconProps: (t) => t ? typeof t == "object" && !Array.isArray(t) ? t : { icon: t } : null, getClassesFromDefinition: (t) => {
|
|
527
527
|
if (!t)
|
|
@@ -553,19 +553,19 @@ const N = {
|
|
|
553
553
|
spaced: Boolean
|
|
554
554
|
},
|
|
555
555
|
setup(e) {
|
|
556
|
-
const n = ct("uluCore"), t =
|
|
556
|
+
const n = ct("uluCore"), t = I(null), { getIconProps: s, getClassesFromDefinition: o } = To();
|
|
557
557
|
let i;
|
|
558
558
|
const r = e, l = w(() => n.getSetting("fontAwesomeStatic")), a = w(() => n.getSetting("iconComponent")), c = w(() => n.getSetting("iconPropResolver")), f = w(() => {
|
|
559
|
-
const { icon:
|
|
560
|
-
if (typeof
|
|
559
|
+
const { icon: C } = r;
|
|
560
|
+
if (typeof C == "string" && C.startsWith("type:"))
|
|
561
561
|
try {
|
|
562
|
-
const T =
|
|
562
|
+
const T = C.substring(5);
|
|
563
563
|
return n.getIcon(T);
|
|
564
564
|
} catch (T) {
|
|
565
565
|
return console.warn(T), null;
|
|
566
566
|
}
|
|
567
|
-
return
|
|
568
|
-
}),
|
|
567
|
+
return C;
|
|
568
|
+
}), y = w(() => !a.value || !f.value ? null : c.value(f.value)), v = w(() => s(f.value)), k = w(() => o(f.value)), E = w(() => ({
|
|
569
569
|
"flow-inline": r.spaced
|
|
570
570
|
}));
|
|
571
571
|
return ut(async () => {
|
|
@@ -574,22 +574,22 @@ const N = {
|
|
|
574
574
|
if (i)
|
|
575
575
|
t.value = xe(i.FontAwesomeIcon);
|
|
576
576
|
else {
|
|
577
|
-
const
|
|
577
|
+
const C = Hs(async () => {
|
|
578
578
|
const T = await import("./index.es-HlG3u0J5.js");
|
|
579
579
|
return i = T, T.FontAwesomeIcon;
|
|
580
580
|
});
|
|
581
|
-
t.value = xe(
|
|
581
|
+
t.value = xe(C);
|
|
582
582
|
}
|
|
583
583
|
} else
|
|
584
584
|
t.value = null;
|
|
585
|
-
}), (
|
|
585
|
+
}), (C, T) => a.value ? (u(), _(P(a.value), ie({ key: 0 }, y.value, { class: E.value }), null, 16, ["class"])) : !l.value && t.value && f.value ? (u(), _(P(t.value), ie({ key: 1 }, v.value, { class: E.value }), null, 16, ["class"])) : l.value && f.value ? (u(), d("span", {
|
|
586
586
|
key: 2,
|
|
587
587
|
class: m([k.value, E.value]),
|
|
588
588
|
"aria-hidden": "true"
|
|
589
|
-
}, null, 2)) :
|
|
589
|
+
}, null, 2)) : p("", !0);
|
|
590
590
|
}
|
|
591
591
|
};
|
|
592
|
-
function
|
|
592
|
+
function Et(e) {
|
|
593
593
|
const n = /* @__PURE__ */ new Set();
|
|
594
594
|
if (!e)
|
|
595
595
|
return n;
|
|
@@ -599,7 +599,7 @@ function Rt(e) {
|
|
|
599
599
|
});
|
|
600
600
|
else if (Array.isArray(e))
|
|
601
601
|
e.forEach((t) => {
|
|
602
|
-
|
|
602
|
+
Et(t).forEach((s) => n.add(s));
|
|
603
603
|
});
|
|
604
604
|
else if (typeof e == "object")
|
|
605
605
|
for (const t in e)
|
|
@@ -609,7 +609,7 @@ function Rt(e) {
|
|
|
609
609
|
function he({ props: e, baseClass: n, internal: t = {} }) {
|
|
610
610
|
const { modifiers: s } = Ns(e);
|
|
611
611
|
return { resolvedModifiers: w(() => {
|
|
612
|
-
const i =
|
|
612
|
+
const i = tt(n), r = Et(tt(s)), l = Et(tt(t));
|
|
613
613
|
if (!i)
|
|
614
614
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
615
615
|
const a = /* @__PURE__ */ new Set([...l, ...r]);
|
|
@@ -642,7 +642,7 @@ function xo({ preventShift: e = !1, container: n = document.body }) {
|
|
|
642
642
|
n.style.overflow = t, n.style.paddingRight = s;
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function mt(e, n, t, s) {
|
|
646
646
|
var o;
|
|
647
647
|
return function() {
|
|
648
648
|
var r = s || this, l = arguments, a = function() {
|
|
@@ -680,7 +680,7 @@ const mn = {
|
|
|
680
680
|
e.dispatchEvent(Be("afterPrint"));
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
|
-
function
|
|
683
|
+
function jt(e, n) {
|
|
684
684
|
mn[e] ? mn[e](n) : console.warn(`Unable to dispatch site event: ${e} in context:`, n);
|
|
685
685
|
}
|
|
686
686
|
function Ro(e) {
|
|
@@ -690,26 +690,26 @@ function Be(e, n = null, t = { bubbles: !0 }) {
|
|
|
690
690
|
return new CustomEvent(Ro(e), { detail: n, ...t });
|
|
691
691
|
}
|
|
692
692
|
function Eo() {
|
|
693
|
-
window.addEventListener("resize",
|
|
693
|
+
window.addEventListener("resize", mt(() => jt("pageResized", document), 250));
|
|
694
694
|
}
|
|
695
695
|
function jo() {
|
|
696
696
|
window.addEventListener("beforeprint", () => {
|
|
697
|
-
|
|
697
|
+
jt("beforePrint", document);
|
|
698
698
|
}), window.addEventListener("afterprint", () => {
|
|
699
|
-
|
|
699
|
+
jt("afterPrint", document);
|
|
700
700
|
});
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function Io(e) {
|
|
703
703
|
return typeof e == "object" && e?.constructor?.name;
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
const s =
|
|
705
|
+
function zo(e, n, t) {
|
|
706
|
+
const s = Io(n) || "Logger";
|
|
707
707
|
console[e](s, ...t);
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Ce(e, ...n) {
|
|
710
710
|
}
|
|
711
|
-
function
|
|
712
|
-
|
|
711
|
+
function et(e, ...n) {
|
|
712
|
+
zo("error", e, n);
|
|
713
713
|
}
|
|
714
714
|
class Wt {
|
|
715
715
|
static defaults = {
|
|
@@ -798,22 +798,22 @@ class Wt {
|
|
|
798
798
|
*/
|
|
799
799
|
constructor(n, t, s) {
|
|
800
800
|
if (!t || !n) {
|
|
801
|
-
|
|
801
|
+
et(this, "Missing required elements: control, container");
|
|
802
802
|
return;
|
|
803
803
|
}
|
|
804
804
|
const o = Object.assign({}, Wt.defaults, s);
|
|
805
805
|
this.options = o, this.container = n, this.control = t, this.debug = o.debug;
|
|
806
806
|
const i = ["left", "right"], r = ["top", "bottom"], { fromX: l, fromY: a } = o;
|
|
807
807
|
if (!i.includes(l) && l !== null) {
|
|
808
|
-
|
|
808
|
+
et(this, `Invalid fromX: ${l} (left|right|null)`);
|
|
809
809
|
return;
|
|
810
810
|
}
|
|
811
811
|
if (!r.includes(a) && a !== null) {
|
|
812
|
-
|
|
812
|
+
et(this, `Invalid fromY: ${a} (top|bottom|null)`);
|
|
813
813
|
return;
|
|
814
814
|
}
|
|
815
815
|
if (!l && !a) {
|
|
816
|
-
|
|
816
|
+
et(this, "Invalid fromX/fromY, failed to setup resizer (at least one of fromX or fromY must be set)");
|
|
817
817
|
return;
|
|
818
818
|
}
|
|
819
819
|
this.resizeHorizontal = o.fromX !== null, this.resizeVertical = o.fromY !== null, o.manageEvents && (this.#s = this.onPointerdown.bind(this), this.#o = this.onKeydown.bind(this), o.enablePointerResizing && t.addEventListener("pointerdown", this.#s), o.enableKeyboardResizing && t.addEventListener("keydown", this.#o)), this.#c(), o.manageAriaLabel && t.setAttribute("aria-label", this.getAriaLabel());
|
|
@@ -831,7 +831,7 @@ class Wt {
|
|
|
831
831
|
*/
|
|
832
832
|
destroy() {
|
|
833
833
|
const { control: n, options: t } = this;
|
|
834
|
-
t.manageEvents && (t.enablePointerResizing && n.removeEventListener("pointerdown", this.#s), t.enableKeyboardResizing && n.removeEventListener("keydown", this.#o)), this.#t && clearTimeout(this.#t), this.#c(), t.manageAriaLabel && n.removeAttribute("aria-label"),
|
|
834
|
+
t.manageEvents && (t.enablePointerResizing && n.removeEventListener("pointerdown", this.#s), t.enableKeyboardResizing && n.removeEventListener("keydown", this.#o)), this.#t && clearTimeout(this.#t), this.#c(), t.manageAriaLabel && n.removeAttribute("aria-label"), Ce(this, "Resizer destroyed.");
|
|
835
835
|
}
|
|
836
836
|
/**
|
|
837
837
|
* Initiates a resize operation.
|
|
@@ -846,7 +846,7 @@ class Wt {
|
|
|
846
846
|
return;
|
|
847
847
|
}
|
|
848
848
|
const i = document.defaultView.getComputedStyle(t);
|
|
849
|
-
this.#e.width = parseInt(i.width, 10), this.#e.height = parseInt(i.height, 10), s.overrideMaxDimensions && (this.resizeHorizontal && (t.style.maxWidth = "none"), this.resizeVertical && (t.style.maxHeight = "none")), this.#n = !0, this.dispatchEvent("resizer:start", n),
|
|
849
|
+
this.#e.width = parseInt(i.width, 10), this.#e.height = parseInt(i.height, 10), s.overrideMaxDimensions && (this.resizeHorizontal && (t.style.maxWidth = "none"), this.resizeVertical && (t.style.maxHeight = "none")), this.#n = !0, this.dispatchEvent("resizer:start", n), Ce(this, "Resize started.", {
|
|
850
850
|
initialWidth: this.#e.width,
|
|
851
851
|
initialHeight: this.#e.height,
|
|
852
852
|
...n
|
|
@@ -858,7 +858,7 @@ class Wt {
|
|
|
858
858
|
* @private
|
|
859
859
|
*/
|
|
860
860
|
#d() {
|
|
861
|
-
this.#n && (this.dispatchEvent("resizer:end"), this.#c(),
|
|
861
|
+
this.#n && (this.dispatchEvent("resizer:end"), this.#c(), Ce(this, "Resize ended."));
|
|
862
862
|
}
|
|
863
863
|
/**
|
|
864
864
|
* Core logic for calculating and applying the new size of the container.
|
|
@@ -880,7 +880,7 @@ class Wt {
|
|
|
880
880
|
totalDeltaY: t,
|
|
881
881
|
event: s
|
|
882
882
|
};
|
|
883
|
-
this.dispatchEvent("resizer:update", c),
|
|
883
|
+
this.dispatchEvent("resizer:update", c), Ce(this, "Resizing update.", c);
|
|
884
884
|
}
|
|
885
885
|
/**
|
|
886
886
|
* Public handler for pointerdown events. Call this method from your own event listeners
|
|
@@ -889,7 +889,7 @@ class Wt {
|
|
|
889
889
|
*/
|
|
890
890
|
onPointerdown(n) {
|
|
891
891
|
if (!this.options.enablePointerResizing) {
|
|
892
|
-
|
|
892
|
+
Ce(this, "Pointer resizing disabled. Ignoring pointerdown event.");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
895
|
n.preventDefault();
|
|
@@ -915,7 +915,7 @@ class Wt {
|
|
|
915
915
|
*/
|
|
916
916
|
onKeydown(n) {
|
|
917
917
|
if (!this.options.enableKeyboardResizing) {
|
|
918
|
-
|
|
918
|
+
Ce(this, "Keyboard resizing disabled. Ignoring keydown event.");
|
|
919
919
|
return;
|
|
920
920
|
}
|
|
921
921
|
const { key: t } = n, { keyboardStep: s, keyboardDebounceTime: o } = this.options;
|
|
@@ -942,7 +942,7 @@ class Wt {
|
|
|
942
942
|
this.container.dispatchEvent(Be(n, t));
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
|
-
let
|
|
945
|
+
let St = 0;
|
|
946
946
|
const Mo = {
|
|
947
947
|
name: "UluModal",
|
|
948
948
|
components: {
|
|
@@ -1053,9 +1053,9 @@ const Mo = {
|
|
|
1053
1053
|
modifiers: [String, Array]
|
|
1054
1054
|
},
|
|
1055
1055
|
data() {
|
|
1056
|
-
return ++
|
|
1056
|
+
return ++St, {
|
|
1057
1057
|
containerWidth: null,
|
|
1058
|
-
titleId: `ulu-modal-${
|
|
1058
|
+
titleId: `ulu-modal-${St}-title`,
|
|
1059
1059
|
bodyOverflowValue: null,
|
|
1060
1060
|
bodyPaddingRightValue: null,
|
|
1061
1061
|
isResizing: !1
|
|
@@ -1166,7 +1166,7 @@ const Mo = {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
},
|
|
1168
1168
|
mounted() {
|
|
1169
|
-
++
|
|
1169
|
+
++St, this.preventScroll && this.setupPreventScroll(), this.setupResizer();
|
|
1170
1170
|
},
|
|
1171
1171
|
beforeUnmount() {
|
|
1172
1172
|
const { container: e } = this.$refs;
|
|
@@ -1178,7 +1178,7 @@ const Mo = {
|
|
|
1178
1178
|
ref: "resizer",
|
|
1179
1179
|
type: "button"
|
|
1180
1180
|
};
|
|
1181
|
-
function
|
|
1181
|
+
function Vo(e, n, t, s, o, i) {
|
|
1182
1182
|
const r = H("UluIcon");
|
|
1183
1183
|
return u(), _(at, {
|
|
1184
1184
|
to: t.teleport === !1 ? null : t.teleport,
|
|
@@ -1189,7 +1189,7 @@ function Fo(e, n, t, s, o, i) {
|
|
|
1189
1189
|
"aria-labelledby": i.resolvedLabelledby,
|
|
1190
1190
|
"aria-describedby": t.describedby,
|
|
1191
1191
|
ref: "container",
|
|
1192
|
-
style:
|
|
1192
|
+
style: F({ width: o.containerWidth }),
|
|
1193
1193
|
onCancel: n[1] || (n[1] = Ds((...l) => i.close && i.close(...l), ["prevent"])),
|
|
1194
1194
|
onClose: n[2] || (n[2] = (...l) => i.handleDialogCloseEvent && i.handleDialogCloseEvent(...l)),
|
|
1195
1195
|
onClick: n[3] || (n[3] = (...l) => i.handleClick && i.handleClick(...l)),
|
|
@@ -1208,7 +1208,7 @@ function Fo(e, n, t, s, o, i) {
|
|
|
1208
1208
|
key: 0,
|
|
1209
1209
|
class: "modal__title-icon",
|
|
1210
1210
|
icon: t.titleIcon
|
|
1211
|
-
}, null, 8, ["icon"])) :
|
|
1211
|
+
}, null, 8, ["icon"])) : p("", !0),
|
|
1212
1212
|
h("span", Po, b(t.title), 1)
|
|
1213
1213
|
])
|
|
1214
1214
|
], 10, Bo),
|
|
@@ -1219,13 +1219,13 @@ function Fo(e, n, t, s, o, i) {
|
|
|
1219
1219
|
autofocus: ""
|
|
1220
1220
|
}, [
|
|
1221
1221
|
g(e.$slots, "closeIcon", {}, () => [
|
|
1222
|
-
|
|
1222
|
+
z(r, {
|
|
1223
1223
|
class: "modal__close-icon",
|
|
1224
1224
|
icon: t.closeIcon || "type:close"
|
|
1225
1225
|
}, null, 8, ["icon"])
|
|
1226
1226
|
])
|
|
1227
1227
|
])
|
|
1228
|
-
], 2)) :
|
|
1228
|
+
], 2)) : p("", !0),
|
|
1229
1229
|
h("div", {
|
|
1230
1230
|
class: m(["modal__body", t.classes.body])
|
|
1231
1231
|
}, [
|
|
@@ -1236,19 +1236,19 @@ function Fo(e, n, t, s, o, i) {
|
|
|
1236
1236
|
class: m(["site-modal__footer", t.classes.footer])
|
|
1237
1237
|
}, [
|
|
1238
1238
|
g(e.$slots, "footer", { close: i.close })
|
|
1239
|
-
], 2)) :
|
|
1239
|
+
], 2)) : p("", !0),
|
|
1240
1240
|
s.resizerEnabled ? (u(), d("button", Lo, [
|
|
1241
1241
|
g(e.$slots, "resizerIcon", {}, () => [
|
|
1242
|
-
|
|
1242
|
+
z(r, {
|
|
1243
1243
|
class: "modal__resizer-icon",
|
|
1244
1244
|
icon: t.resizerIcon || s.resizerIconType
|
|
1245
1245
|
}, null, 8, ["icon"])
|
|
1246
1246
|
])
|
|
1247
|
-
], 512)) :
|
|
1247
|
+
], 512)) : p("", !0)
|
|
1248
1248
|
], 46, Uo)
|
|
1249
1249
|
], 8, ["to", "disabled"]);
|
|
1250
1250
|
}
|
|
1251
|
-
const ls = /* @__PURE__ */
|
|
1251
|
+
const ls = /* @__PURE__ */ O(Mo, [["render", Vo]]), Pe = [], Fo = I({
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Holds active component options (including component, and options)
|
|
1254
1254
|
*/
|
|
@@ -1257,7 +1257,7 @@ const ls = /* @__PURE__ */ A(Mo, [["render", Fo]]), Pe = [], Vo = z({
|
|
|
1257
1257
|
* Populated with any props passed to open method, bound to modal component
|
|
1258
1258
|
*/
|
|
1259
1259
|
activeProps: null
|
|
1260
|
-
}), Le =
|
|
1260
|
+
}), Le = Fo.value, gn = {
|
|
1261
1261
|
data: Le,
|
|
1262
1262
|
modals: Pe
|
|
1263
1263
|
}, Ho = (e) => ({
|
|
@@ -1306,9 +1306,9 @@ const ls = /* @__PURE__ */ A(Mo, [["render", Fo]]), Pe = [], Vo = z({
|
|
|
1306
1306
|
modals: [],
|
|
1307
1307
|
modalOptions: {}
|
|
1308
1308
|
};
|
|
1309
|
-
function
|
|
1309
|
+
function Df(e, n) {
|
|
1310
1310
|
const t = Object.assign({}, No, n), o = Ho((i) => Object.assign({}, t.modalOptions, i));
|
|
1311
|
-
e.component(t.componentNameDisplay,
|
|
1311
|
+
e.component(t.componentNameDisplay, Co), e.component(t.componentNameModal, ls), t.modals.forEach((i) => {
|
|
1312
1312
|
o.add(i);
|
|
1313
1313
|
}), gn.options = t, e.config.globalProperties.$uluModals = o, e.provide("uluModals", o), e.config.globalProperties.$uluModalsState = gn;
|
|
1314
1314
|
}
|
|
@@ -1363,9 +1363,9 @@ function Xo(e, n, t, s, o, i) {
|
|
|
1363
1363
|
t.toast.icon ? (u(), _(r, {
|
|
1364
1364
|
key: 0,
|
|
1365
1365
|
icon: t.toast.icon
|
|
1366
|
-
}, null, 8, ["icon"])) :
|
|
1366
|
+
}, null, 8, ["icon"])) : p("", !0)
|
|
1367
1367
|
])
|
|
1368
|
-
], 2)) :
|
|
1368
|
+
], 2)) : p("", !0),
|
|
1369
1369
|
h("div", {
|
|
1370
1370
|
class: m(["toast__content", t.classes.content])
|
|
1371
1371
|
}, [
|
|
@@ -1380,12 +1380,12 @@ function Xo(e, n, t, s, o, i) {
|
|
|
1380
1380
|
t.toast.date ? (u(), d("span", {
|
|
1381
1381
|
key: 0,
|
|
1382
1382
|
class: m(["toast__date", t.classes.date])
|
|
1383
|
-
}, b(t.toast.date), 3)) :
|
|
1384
|
-
], 2)) :
|
|
1383
|
+
}, b(t.toast.date), 3)) : p("", !0)
|
|
1384
|
+
], 2)) : p("", !0),
|
|
1385
1385
|
t.toast.description ? (u(), d("div", {
|
|
1386
1386
|
key: 1,
|
|
1387
1387
|
class: m(["toast__body", t.classes.body])
|
|
1388
|
-
}, b(t.toast.description), 3)) :
|
|
1388
|
+
}, b(t.toast.description), 3)) : p("", !0)
|
|
1389
1389
|
])
|
|
1390
1390
|
], 2),
|
|
1391
1391
|
t.toast.actions?.length ? (u(), d("div", {
|
|
@@ -1397,16 +1397,16 @@ function Xo(e, n, t, s, o, i) {
|
|
|
1397
1397
|
class: m(["toast__action", t.classes.action]),
|
|
1398
1398
|
onClick: (c) => i.handleAction(c, l)
|
|
1399
1399
|
}, b(l.label), 11, Wo))), 128))
|
|
1400
|
-
], 2)) :
|
|
1400
|
+
], 2)) : p("", !0),
|
|
1401
1401
|
h("button", {
|
|
1402
1402
|
class: m(["toast__close", t.classes.closeButton]),
|
|
1403
1403
|
onClick: n[0] || (n[0] = (...l) => t.toast.close && t.toast.close(...l))
|
|
1404
1404
|
}, [
|
|
1405
|
-
|
|
1405
|
+
z(r, { icon: "type:close" })
|
|
1406
1406
|
], 2)
|
|
1407
1407
|
], 2);
|
|
1408
1408
|
}
|
|
1409
|
-
const as = /* @__PURE__ */
|
|
1409
|
+
const as = /* @__PURE__ */ O(Do, [["render", Xo]]), vn = {
|
|
1410
1410
|
toastOptions: {
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Component used to render the toast in the display
|
|
@@ -1431,31 +1431,31 @@ const as = /* @__PURE__ */ A(Do, [["render", Xo]]), pn = {
|
|
|
1431
1431
|
*/
|
|
1432
1432
|
position: ["top", "right"]
|
|
1433
1433
|
}
|
|
1434
|
-
}, { assign:
|
|
1434
|
+
}, { assign: kt } = Object;
|
|
1435
1435
|
let Yo = 0;
|
|
1436
|
-
const de =
|
|
1436
|
+
const de = Ht({
|
|
1437
1437
|
toasts: [],
|
|
1438
1438
|
/**
|
|
1439
1439
|
* Saveable
|
|
1440
1440
|
*/
|
|
1441
|
-
pluginOptions:
|
|
1442
|
-
toastOptions:
|
|
1441
|
+
pluginOptions: vn.pluginOptions,
|
|
1442
|
+
toastOptions: vn.toastOptions,
|
|
1443
1443
|
setToastOptions(e) {
|
|
1444
|
-
return this.toastOptions =
|
|
1444
|
+
return this.toastOptions = kt({}, this.toastOptions, e), this.pluginOptions;
|
|
1445
1445
|
},
|
|
1446
1446
|
setPluginOptions(e) {
|
|
1447
|
-
return this.pluginOptions =
|
|
1447
|
+
return this.pluginOptions = kt({}, this.pluginOptions, e), this.pluginOptions;
|
|
1448
1448
|
},
|
|
1449
1449
|
createToast(e) {
|
|
1450
1450
|
const n = `toast-${++Yo}`;
|
|
1451
|
-
return
|
|
1451
|
+
return kt({}, this.toastOptions, e, {
|
|
1452
1452
|
uid: n,
|
|
1453
1453
|
close() {
|
|
1454
|
-
|
|
1454
|
+
It.remove(n);
|
|
1455
1455
|
}
|
|
1456
1456
|
});
|
|
1457
1457
|
}
|
|
1458
|
-
}),
|
|
1458
|
+
}), It = {
|
|
1459
1459
|
/**
|
|
1460
1460
|
*
|
|
1461
1461
|
* @param {Object} options Toast options
|
|
@@ -1498,7 +1498,7 @@ function Go(e, n, t, s, o, i) {
|
|
|
1498
1498
|
return u(), _(at, {
|
|
1499
1499
|
to: o.pluginOptions.teleportTo
|
|
1500
1500
|
}, [
|
|
1501
|
-
|
|
1501
|
+
z(Gn, {
|
|
1502
1502
|
class: m(["toast-container", i.classes]),
|
|
1503
1503
|
name: "toast-animation",
|
|
1504
1504
|
tag: "div"
|
|
@@ -1513,10 +1513,10 @@ function Go(e, n, t, s, o, i) {
|
|
|
1513
1513
|
}, 8, ["class"])
|
|
1514
1514
|
], 8, ["to"]);
|
|
1515
1515
|
}
|
|
1516
|
-
const Ko = /* @__PURE__ */
|
|
1517
|
-
function
|
|
1516
|
+
const Ko = /* @__PURE__ */ O(qo, [["render", Go]]);
|
|
1517
|
+
function Wf(e, n = {}) {
|
|
1518
1518
|
const t = de.setPluginOptions(n?.plugin);
|
|
1519
|
-
de.setToastOptions(n?.toast), e.component(t.componentName, as), e.component(t.componentNameDisplay, Ko), e.config.globalProperties.$uluToast =
|
|
1519
|
+
de.setToastOptions(n?.toast), e.component(t.componentName, as), e.component(t.componentNameDisplay, Ko), e.config.globalProperties.$uluToast = It, e.provide("uluToast", It);
|
|
1520
1520
|
}
|
|
1521
1521
|
const Zo = {
|
|
1522
1522
|
/**
|
|
@@ -1535,13 +1535,13 @@ const Zo = {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
};
|
|
1537
1537
|
function Jo(e) {
|
|
1538
|
-
const n = Object.assign({}, Zo, e), t =
|
|
1538
|
+
const n = Object.assign({}, Zo, e), t = I(null), s = I(n.initialValue), o = I(null);
|
|
1539
1539
|
return (async () => {
|
|
1540
1540
|
if (!rs()) return;
|
|
1541
1541
|
await new Promise((f) => {
|
|
1542
1542
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
|
|
1543
1543
|
});
|
|
1544
|
-
const r = await import("./breakpoints-
|
|
1544
|
+
const r = await import("./breakpoints-DfGETUy5.js"), { BreakpointManager: l } = r, a = xe(new l(n.plugin));
|
|
1545
1545
|
t.value = xe(a);
|
|
1546
1546
|
const c = () => {
|
|
1547
1547
|
s.value = a.active, o.value = a.resizeDirection;
|
|
@@ -1559,17 +1559,17 @@ const Qo = {
|
|
|
1559
1559
|
*/
|
|
1560
1560
|
managerOptions: {}
|
|
1561
1561
|
};
|
|
1562
|
-
function
|
|
1563
|
-
const t =
|
|
1564
|
-
onReady(
|
|
1565
|
-
|
|
1562
|
+
function Xf(e, n) {
|
|
1563
|
+
const t = I(!1), s = Object.assign({}, Qo, n), { breakpointMobile: o } = s, { onReady: i } = s.managerOptions, r = {
|
|
1564
|
+
onReady(y) {
|
|
1565
|
+
y.at(o).max({
|
|
1566
1566
|
on() {
|
|
1567
1567
|
t.value = !0;
|
|
1568
1568
|
},
|
|
1569
1569
|
off() {
|
|
1570
1570
|
t.value = !1;
|
|
1571
1571
|
}
|
|
1572
|
-
}), i && i(
|
|
1572
|
+
}), i && i(y);
|
|
1573
1573
|
}
|
|
1574
1574
|
}, l = Object.assign({}, s.managerOptions, r), {
|
|
1575
1575
|
breakpointManager: a,
|
|
@@ -1578,9 +1578,9 @@ function Yf(e, n) {
|
|
|
1578
1578
|
} = Jo(l);
|
|
1579
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));
|
|
1580
1580
|
}
|
|
1581
|
-
const zt = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new WeakMap(),
|
|
1581
|
+
const zt = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), Ne = /* @__PURE__ */ new WeakMap(), $t = /* @__PURE__ */ new WeakMap(), Ve = /* @__PURE__ */ new WeakMap(), ve = /* @__PURE__ */ new WeakMap(), fe = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakSet();
|
|
1582
1582
|
let q, Xt = 0, Yt = 0;
|
|
1583
|
-
const oe = "__aa_tgt",
|
|
1583
|
+
const oe = "__aa_tgt", De = "__aa_del", it = "__aa_new", cs = (e) => {
|
|
1584
1584
|
const n = si(e);
|
|
1585
1585
|
n && n.forEach((t) => oi(t));
|
|
1586
1586
|
}, ei = (e) => {
|
|
@@ -1593,7 +1593,7 @@ function us(e) {
|
|
|
1593
1593
|
return n.bottom < 0 || n.top > s || n.right < 0 || n.left > t;
|
|
1594
1594
|
}
|
|
1595
1595
|
function qt(e) {
|
|
1596
|
-
const n =
|
|
1596
|
+
const n = Ne.get(e);
|
|
1597
1597
|
n?.disconnect();
|
|
1598
1598
|
let t = Y.get(e), s = 0;
|
|
1599
1599
|
const o = 5;
|
|
@@ -1610,11 +1610,11 @@ function qt(e) {
|
|
|
1610
1610
|
threshold: 1,
|
|
1611
1611
|
rootMargin: a
|
|
1612
1612
|
});
|
|
1613
|
-
c.observe(e),
|
|
1613
|
+
c.observe(e), Ne.set(e, c);
|
|
1614
1614
|
}
|
|
1615
1615
|
function be(e, n = !0) {
|
|
1616
1616
|
clearTimeout(fe.get(e));
|
|
1617
|
-
const t =
|
|
1617
|
+
const t = gt(e), s = n ? We(t) ? 500 : t.duration : 0;
|
|
1618
1618
|
fe.set(e, setTimeout(async () => {
|
|
1619
1619
|
const o = G.get(e);
|
|
1620
1620
|
try {
|
|
@@ -1625,12 +1625,12 @@ function be(e, n = !0) {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
function ti() {
|
|
1627
1627
|
clearTimeout(fe.get(q)), fe.set(q, setTimeout(() => {
|
|
1628
|
-
zt.forEach((e) =>
|
|
1628
|
+
zt.forEach((e) => st(e, (n) => ds(() => be(n))));
|
|
1629
1629
|
}, 100));
|
|
1630
1630
|
}
|
|
1631
1631
|
function ni(e) {
|
|
1632
1632
|
setTimeout(() => {
|
|
1633
|
-
|
|
1633
|
+
Ve.set(e, setInterval(() => ds(be.bind(null, e)), 2e3));
|
|
1634
1634
|
}, Math.round(2e3 * Math.random()));
|
|
1635
1635
|
}
|
|
1636
1636
|
function ds(e) {
|
|
@@ -1655,7 +1655,7 @@ function si(e) {
|
|
|
1655
1655
|
for (let i = 0; i < o.target.children.length; i++) {
|
|
1656
1656
|
const r = o.target.children.item(i);
|
|
1657
1657
|
if (r) {
|
|
1658
|
-
if (
|
|
1658
|
+
if (De in r)
|
|
1659
1659
|
return !1;
|
|
1660
1660
|
Ct(o.target, r), s.add(r);
|
|
1661
1661
|
}
|
|
@@ -1664,9 +1664,9 @@ function si(e) {
|
|
|
1664
1664
|
if (o.removedNodes.length)
|
|
1665
1665
|
for (let i = 0; i < o.removedNodes.length; i++) {
|
|
1666
1666
|
const r = o.removedNodes[i];
|
|
1667
|
-
if (
|
|
1667
|
+
if (De in r)
|
|
1668
1668
|
return !1;
|
|
1669
|
-
r instanceof Element && (s.add(r), Ct(o.target, r),
|
|
1669
|
+
r instanceof Element && (s.add(r), Ct(o.target, r), ye.set(r, [
|
|
1670
1670
|
o.previousSibling,
|
|
1671
1671
|
o.nextSibling
|
|
1672
1672
|
]));
|
|
@@ -1681,7 +1681,7 @@ function Ct(e, n) {
|
|
|
1681
1681
|
function oi(e) {
|
|
1682
1682
|
var n, t;
|
|
1683
1683
|
const s = e.isConnected, o = Y.has(e);
|
|
1684
|
-
s &&
|
|
1684
|
+
s && ye.has(e) && ye.delete(e), ((n = G.get(e)) === null || n === void 0 ? void 0 : n.playState) !== "finished" && ((t = G.get(e)) === null || t === void 0 || t.cancel()), it in e ? yn(e) : o && s ? ri(e) : o && !s ? li(e) : yn(e);
|
|
1685
1685
|
}
|
|
1686
1686
|
function J(e) {
|
|
1687
1687
|
return Number(e.replace(/[^0-9.\-]/g, ""));
|
|
@@ -1713,8 +1713,8 @@ function hs(e, n, t) {
|
|
|
1713
1713
|
}
|
|
1714
1714
|
return [s, i, o, r].map(Math.round);
|
|
1715
1715
|
}
|
|
1716
|
-
function
|
|
1717
|
-
return oe in e &&
|
|
1716
|
+
function gt(e) {
|
|
1717
|
+
return oe in e && ve.has(e[oe]) ? ve.get(e[oe]) : { duration: 250, easing: "ease-in-out" };
|
|
1718
1718
|
}
|
|
1719
1719
|
function ms(e) {
|
|
1720
1720
|
if (oe in e)
|
|
@@ -1724,17 +1724,17 @@ function Gt(e) {
|
|
|
1724
1724
|
const n = ms(e);
|
|
1725
1725
|
return n ? Te.has(n) : !1;
|
|
1726
1726
|
}
|
|
1727
|
-
function
|
|
1728
|
-
n.forEach((t) => t(e,
|
|
1727
|
+
function st(e, ...n) {
|
|
1728
|
+
n.forEach((t) => t(e, ve.has(e)));
|
|
1729
1729
|
for (let t = 0; t < e.children.length; t++) {
|
|
1730
1730
|
const s = e.children.item(t);
|
|
1731
|
-
s && n.forEach((o) => o(s,
|
|
1731
|
+
s && n.forEach((o) => o(s, ve.has(s)));
|
|
1732
1732
|
}
|
|
1733
1733
|
}
|
|
1734
1734
|
function Kt(e) {
|
|
1735
1735
|
return Array.isArray(e) ? e : [e];
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function We(e) {
|
|
1738
1738
|
return typeof e == "function";
|
|
1739
1739
|
}
|
|
1740
1740
|
function ri(e) {
|
|
@@ -1748,17 +1748,17 @@ function ri(e) {
|
|
|
1748
1748
|
let s;
|
|
1749
1749
|
if (!n)
|
|
1750
1750
|
return;
|
|
1751
|
-
const o =
|
|
1751
|
+
const o = gt(e);
|
|
1752
1752
|
if (typeof o != "function") {
|
|
1753
1753
|
let i = n.left - t.left, r = n.top - t.top;
|
|
1754
1754
|
const l = n.left + n.width - (t.left + t.width);
|
|
1755
1755
|
n.top + n.height - (t.top + t.height) == 0 && (r = 0), l == 0 && (i = 0);
|
|
1756
|
-
const [c, f,
|
|
1756
|
+
const [c, f, y, v] = hs(e, n, t), k = {
|
|
1757
1757
|
transform: `translate(${i}px, ${r}px)`
|
|
1758
1758
|
}, E = {
|
|
1759
1759
|
transform: "translate(0, 0)"
|
|
1760
1760
|
};
|
|
1761
|
-
c !== f && (k.width = `${c}px`, E.width = `${f}px`),
|
|
1761
|
+
c !== f && (k.width = `${c}px`, E.width = `${f}px`), y !== v && (k.height = `${y}px`, E.height = `${v}px`), s = e.animate([k, E], {
|
|
1762
1762
|
duration: o.duration,
|
|
1763
1763
|
easing: o.easing
|
|
1764
1764
|
});
|
|
@@ -1770,11 +1770,11 @@ function ri(e) {
|
|
|
1770
1770
|
once: !0
|
|
1771
1771
|
});
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function yn(e) {
|
|
1774
1774
|
it in e && delete e[it];
|
|
1775
1775
|
const n = Re(e);
|
|
1776
1776
|
Y.set(e, n);
|
|
1777
|
-
const t =
|
|
1777
|
+
const t = gt(e);
|
|
1778
1778
|
if (!Gt(e))
|
|
1779
1779
|
return;
|
|
1780
1780
|
if (us(e)) {
|
|
@@ -1799,26 +1799,26 @@ function vn(e) {
|
|
|
1799
1799
|
once: !0
|
|
1800
1800
|
});
|
|
1801
1801
|
}
|
|
1802
|
-
function
|
|
1802
|
+
function pn(e, n) {
|
|
1803
1803
|
var t;
|
|
1804
|
-
e.remove(), Y.delete(e),
|
|
1805
|
-
if (
|
|
1804
|
+
e.remove(), Y.delete(e), ye.delete(e), G.delete(e), (t = Ne.get(e)) === null || t === void 0 || t.disconnect(), setTimeout(() => {
|
|
1805
|
+
if (De in e && delete e[De], Object.defineProperty(e, it, { value: !0, configurable: !0 }), n && e instanceof HTMLElement)
|
|
1806
1806
|
for (const s in n)
|
|
1807
1807
|
e.style[s] = "";
|
|
1808
1808
|
}, 0);
|
|
1809
1809
|
}
|
|
1810
1810
|
function li(e) {
|
|
1811
1811
|
var n;
|
|
1812
|
-
if (!
|
|
1812
|
+
if (!ye.has(e) || !Y.has(e))
|
|
1813
1813
|
return;
|
|
1814
|
-
const [t, s] =
|
|
1815
|
-
Object.defineProperty(e,
|
|
1814
|
+
const [t, s] = ye.get(e);
|
|
1815
|
+
Object.defineProperty(e, De, { value: !0, configurable: !0 });
|
|
1816
1816
|
const o = window.scrollX, i = window.scrollY;
|
|
1817
1817
|
if (s && s.parentNode && s.parentNode instanceof Element ? s.parentNode.insertBefore(e, s) : t && t.parentNode ? t.parentNode.appendChild(e) : (n = ms(e)) === null || n === void 0 || n.appendChild(e), !Gt(e))
|
|
1818
|
-
return
|
|
1819
|
-
const [r, l, a, c] = ci(e), f =
|
|
1818
|
+
return pn(e);
|
|
1819
|
+
const [r, l, a, c] = ci(e), f = gt(e), y = Y.get(e);
|
|
1820
1820
|
(o !== Xt || i !== Yt) && ai(e, o, i, f);
|
|
1821
|
-
let
|
|
1821
|
+
let v, k = {
|
|
1822
1822
|
position: "absolute",
|
|
1823
1823
|
top: `${r}px`,
|
|
1824
1824
|
left: `${l}px`,
|
|
@@ -1829,8 +1829,8 @@ function li(e) {
|
|
|
1829
1829
|
transformOrigin: "center",
|
|
1830
1830
|
zIndex: "100"
|
|
1831
1831
|
};
|
|
1832
|
-
if (!
|
|
1833
|
-
Object.assign(e.style, k),
|
|
1832
|
+
if (!We(f))
|
|
1833
|
+
Object.assign(e.style, k), v = e.animate([
|
|
1834
1834
|
{
|
|
1835
1835
|
transform: "scale(1)",
|
|
1836
1836
|
opacity: 1
|
|
@@ -1844,10 +1844,10 @@ function li(e) {
|
|
|
1844
1844
|
easing: "ease-out"
|
|
1845
1845
|
});
|
|
1846
1846
|
else {
|
|
1847
|
-
const [E,
|
|
1848
|
-
|
|
1847
|
+
const [E, C] = Kt(f(e, "remove", y));
|
|
1848
|
+
C?.styleReset !== !1 && (k = C?.styleReset || k, Object.assign(e.style, k)), v = new Animation(E), v.play();
|
|
1849
1849
|
}
|
|
1850
|
-
G.set(e,
|
|
1850
|
+
G.set(e, v), v.addEventListener("finish", () => pn(e, k), {
|
|
1851
1851
|
once: !0
|
|
1852
1852
|
});
|
|
1853
1853
|
}
|
|
@@ -1857,19 +1857,19 @@ function ai(e, n, t, s) {
|
|
|
1857
1857
|
return;
|
|
1858
1858
|
const a = e.parentElement;
|
|
1859
1859
|
let c = a.clientHeight, f = a.clientWidth;
|
|
1860
|
-
const
|
|
1861
|
-
function
|
|
1860
|
+
const y = performance.now();
|
|
1861
|
+
function v() {
|
|
1862
1862
|
requestAnimationFrame(() => {
|
|
1863
|
-
if (!
|
|
1863
|
+
if (!We(s)) {
|
|
1864
1864
|
const k = c - a.clientHeight, E = f - a.clientWidth;
|
|
1865
|
-
|
|
1865
|
+
y + s.duration > performance.now() ? (window.scrollTo({
|
|
1866
1866
|
left: window.scrollX - E,
|
|
1867
1867
|
top: window.scrollY - k
|
|
1868
|
-
}), c = a.clientHeight, f = a.clientWidth,
|
|
1868
|
+
}), c = a.clientHeight, f = a.clientWidth, v()) : document.documentElement.style.scrollBehavior = r;
|
|
1869
1869
|
}
|
|
1870
1870
|
});
|
|
1871
1871
|
}
|
|
1872
|
-
|
|
1872
|
+
v();
|
|
1873
1873
|
}
|
|
1874
1874
|
function ci(e) {
|
|
1875
1875
|
var n;
|
|
@@ -1882,14 +1882,14 @@ function ci(e) {
|
|
|
1882
1882
|
return [a, c, s, o];
|
|
1883
1883
|
}
|
|
1884
1884
|
function ui(e, n = {}) {
|
|
1885
|
-
if (fs && ne && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !
|
|
1886
|
-
Te.add(e), getComputedStyle(e).position === "static" && Object.assign(e.style, { position: "relative" }),
|
|
1885
|
+
if (fs && ne && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !We(n) && !n.disrespectUserMotionPreference)) {
|
|
1886
|
+
Te.add(e), getComputedStyle(e).position === "static" && Object.assign(e.style, { position: "relative" }), st(e, be, ni, (r) => ne?.observe(r)), We(n) ? ve.set(e, n) : ve.set(e, {
|
|
1887
1887
|
duration: 250,
|
|
1888
1888
|
easing: "ease-in-out",
|
|
1889
1889
|
...n
|
|
1890
1890
|
});
|
|
1891
1891
|
const i = new MutationObserver(cs);
|
|
1892
|
-
i.observe(e, { childList: !0 }),
|
|
1892
|
+
i.observe(e, { childList: !0 }), $t.set(e, i), zt.add(e);
|
|
1893
1893
|
}
|
|
1894
1894
|
return Object.freeze({
|
|
1895
1895
|
parent: e,
|
|
@@ -1897,7 +1897,7 @@ function ui(e, n = {}) {
|
|
|
1897
1897
|
Te.add(e);
|
|
1898
1898
|
},
|
|
1899
1899
|
disable: () => {
|
|
1900
|
-
Te.delete(e),
|
|
1900
|
+
Te.delete(e), st(e, (s) => {
|
|
1901
1901
|
const o = G.get(s);
|
|
1902
1902
|
try {
|
|
1903
1903
|
o?.cancel();
|
|
@@ -1906,15 +1906,15 @@ function ui(e, n = {}) {
|
|
|
1906
1906
|
G.delete(s);
|
|
1907
1907
|
const i = fe.get(s);
|
|
1908
1908
|
i && clearTimeout(i), fe.delete(s);
|
|
1909
|
-
const r =
|
|
1910
|
-
r && clearInterval(r),
|
|
1909
|
+
const r = Ve.get(s);
|
|
1910
|
+
r && clearInterval(r), Ve.delete(s);
|
|
1911
1911
|
});
|
|
1912
1912
|
},
|
|
1913
1913
|
isEnabled: () => Te.has(e),
|
|
1914
1914
|
destroy: () => {
|
|
1915
|
-
Te.delete(e), zt.delete(e),
|
|
1916
|
-
const s =
|
|
1917
|
-
s?.disconnect(),
|
|
1915
|
+
Te.delete(e), zt.delete(e), ve.delete(e);
|
|
1916
|
+
const s = $t.get(e);
|
|
1917
|
+
s?.disconnect(), $t.delete(e), st(e, (o) => {
|
|
1918
1918
|
ne?.unobserve(o);
|
|
1919
1919
|
const i = G.get(o);
|
|
1920
1920
|
try {
|
|
@@ -1922,23 +1922,23 @@ function ui(e, n = {}) {
|
|
|
1922
1922
|
} catch {
|
|
1923
1923
|
}
|
|
1924
1924
|
G.delete(o);
|
|
1925
|
-
const r =
|
|
1926
|
-
r?.disconnect(),
|
|
1927
|
-
const l =
|
|
1928
|
-
l && clearInterval(l),
|
|
1925
|
+
const r = Ne.get(o);
|
|
1926
|
+
r?.disconnect(), Ne.delete(o);
|
|
1927
|
+
const l = Ve.get(o);
|
|
1928
|
+
l && clearInterval(l), Ve.delete(o);
|
|
1929
1929
|
const a = fe.get(o);
|
|
1930
|
-
a && clearTimeout(a), fe.delete(o), Y.delete(o),
|
|
1930
|
+
a && clearTimeout(a), fe.delete(o), Y.delete(o), ye.delete(o);
|
|
1931
1931
|
});
|
|
1932
1932
|
}
|
|
1933
1933
|
});
|
|
1934
1934
|
}
|
|
1935
1935
|
function di(e) {
|
|
1936
|
-
const n =
|
|
1936
|
+
const n = I();
|
|
1937
1937
|
let t;
|
|
1938
1938
|
function s(o) {
|
|
1939
1939
|
t && (o ? t.enable() : t.disable());
|
|
1940
1940
|
}
|
|
1941
|
-
return
|
|
1941
|
+
return dt(() => {
|
|
1942
1942
|
ut((o) => {
|
|
1943
1943
|
let i;
|
|
1944
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 = ui(i, e || {}), o(() => {
|
|
@@ -1960,15 +1960,15 @@ function fi(e) {
|
|
|
1960
1960
|
}
|
|
1961
1961
|
}
|
|
1962
1962
|
let hi = 0;
|
|
1963
|
-
function
|
|
1963
|
+
function Mt(e = "ulu-id") {
|
|
1964
1964
|
const n = `${e}-${++hi}`;
|
|
1965
1965
|
return typeof document < "u" && document.getElementById(n) ? generateUid(e) : n;
|
|
1966
1966
|
}
|
|
1967
1967
|
const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1968
1968
|
__proto__: null,
|
|
1969
|
-
newId:
|
|
1969
|
+
newId: Mt,
|
|
1970
1970
|
refToElement: fi
|
|
1971
|
-
}, Symbol.toStringTag, { value: "Module" })), gi = ["id", "aria-controls", "aria-expanded"],
|
|
1971
|
+
}, Symbol.toStringTag, { value: "Module" })), gi = ["id", "aria-controls", "aria-expanded"], vi = ["id", "aria-hidden", "aria-labelledby"], Ut = {
|
|
1972
1972
|
__name: "UluCollapsible",
|
|
1973
1973
|
props: {
|
|
1974
1974
|
/**
|
|
@@ -2019,21 +2019,21 @@ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2019
2019
|
emits: ["update:modelValue"],
|
|
2020
2020
|
setup(e, { emit: n }) {
|
|
2021
2021
|
const t = e, s = n, o = w(() => typeof t.animate == "object" ? t.animate : {}), [i, r] = di(o);
|
|
2022
|
-
|
|
2022
|
+
dt(() => {
|
|
2023
2023
|
r(!!t.animate);
|
|
2024
|
-
}),
|
|
2025
|
-
r(
|
|
2024
|
+
}), He(() => t.animate, (C) => {
|
|
2025
|
+
r(!!C);
|
|
2026
2026
|
});
|
|
2027
|
-
const l = w(() => t.modelValue !== void 0), a =
|
|
2027
|
+
const l = w(() => t.modelValue !== void 0), a = I(t.startOpen), c = w({
|
|
2028
2028
|
get() {
|
|
2029
2029
|
return l.value ? t.modelValue : a.value;
|
|
2030
2030
|
},
|
|
2031
|
-
set(
|
|
2032
|
-
l.value ? s("update:modelValue",
|
|
2031
|
+
set(C) {
|
|
2032
|
+
l.value ? s("update:modelValue", C) : a.value = C;
|
|
2033
2033
|
}
|
|
2034
|
-
}), f =
|
|
2035
|
-
const
|
|
2036
|
-
return
|
|
2034
|
+
}), f = I(Mt("ulu-collapsible-toggle")), y = I(Mt("ulu-collapsible-content")), v = w(() => {
|
|
2035
|
+
const C = t.classes, T = {};
|
|
2036
|
+
return C.containerOpen && c.value && (T[C.containerOpen] = !0), C.containerClosed && !c.value && (T[C.containerClosed] = !0), T;
|
|
2037
2037
|
});
|
|
2038
2038
|
function k() {
|
|
2039
2039
|
c.value = !c.value;
|
|
@@ -2041,46 +2041,46 @@ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2041
2041
|
function E() {
|
|
2042
2042
|
t.closeOnEscape && c.value && (c.value = !1);
|
|
2043
2043
|
}
|
|
2044
|
-
return (
|
|
2044
|
+
return (C, T) => (u(), d("div", {
|
|
2045
2045
|
ref_key: "container",
|
|
2046
2046
|
ref: i,
|
|
2047
2047
|
onKeydown: Yn(E, ["esc"]),
|
|
2048
|
-
class: m([e.classes.container,
|
|
2048
|
+
class: m([e.classes.container, v.value])
|
|
2049
2049
|
}, [
|
|
2050
2050
|
h("button", {
|
|
2051
2051
|
class: m(e.classes.toggle),
|
|
2052
2052
|
id: f.value,
|
|
2053
|
-
"aria-controls":
|
|
2053
|
+
"aria-controls": y.value,
|
|
2054
2054
|
"aria-expanded": c.value,
|
|
2055
2055
|
onClick: k
|
|
2056
2056
|
}, [
|
|
2057
|
-
g(
|
|
2057
|
+
g(C.$slots, "trigger", {
|
|
2058
2058
|
isOpen: c.value,
|
|
2059
2059
|
toggle: k
|
|
2060
2060
|
}, () => [
|
|
2061
|
-
|
|
2061
|
+
$(b(e.triggerText), 1)
|
|
2062
2062
|
])
|
|
2063
2063
|
], 10, gi),
|
|
2064
2064
|
c.value ? (u(), d("div", {
|
|
2065
2065
|
key: 0,
|
|
2066
2066
|
class: m(e.classes.content),
|
|
2067
2067
|
tabindex: "-1",
|
|
2068
|
-
id:
|
|
2068
|
+
id: y.value,
|
|
2069
2069
|
"aria-hidden": !c.value,
|
|
2070
2070
|
"aria-labelledby": f.value
|
|
2071
2071
|
}, [
|
|
2072
2072
|
h("div", {
|
|
2073
2073
|
class: m(e.classes.contentInner)
|
|
2074
2074
|
}, [
|
|
2075
|
-
g(
|
|
2075
|
+
g(C.$slots, "default", {
|
|
2076
2076
|
isOpen: c.value,
|
|
2077
2077
|
toggle: k
|
|
2078
2078
|
})
|
|
2079
2079
|
], 2)
|
|
2080
|
-
], 10,
|
|
2080
|
+
], 10, vi)) : p("", !0)
|
|
2081
2081
|
], 34));
|
|
2082
2082
|
}
|
|
2083
|
-
},
|
|
2083
|
+
}, Yf = {
|
|
2084
2084
|
__name: "UluAccordion",
|
|
2085
2085
|
props: {
|
|
2086
2086
|
/**
|
|
@@ -2140,7 +2140,7 @@ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2140
2140
|
const i = { ...t.classes };
|
|
2141
2141
|
return i.container = [i.container, s.value], i;
|
|
2142
2142
|
});
|
|
2143
|
-
return (i, r) => (u(), _(
|
|
2143
|
+
return (i, r) => (u(), _(Ut, {
|
|
2144
2144
|
"model-value": e.modelValue,
|
|
2145
2145
|
"start-open": e.startOpen,
|
|
2146
2146
|
"trigger-text": e.triggerText,
|
|
@@ -2155,7 +2155,7 @@ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2155
2155
|
}, () => [
|
|
2156
2156
|
(u(), _(P(e.triggerTextElement), null, {
|
|
2157
2157
|
default: S(() => [
|
|
2158
|
-
|
|
2158
|
+
$(b(e.triggerText), 1)
|
|
2159
2159
|
]),
|
|
2160
2160
|
_: 1
|
|
2161
2161
|
}))
|
|
@@ -2164,7 +2164,7 @@ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2164
2164
|
h("span", {
|
|
2165
2165
|
class: m(["accordion__icon", e.classes.icon])
|
|
2166
2166
|
}, [
|
|
2167
|
-
|
|
2167
|
+
z(N, {
|
|
2168
2168
|
icon: l ? "type:collapse" : "type:expand",
|
|
2169
2169
|
style: { display: "inline" }
|
|
2170
2170
|
}, null, 8, ["icon"])
|
|
@@ -2218,20 +2218,20 @@ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2218
2218
|
[`tag--${e.size}`]: e.size,
|
|
2219
2219
|
[`tag--${e.type}`]: e.type
|
|
2220
2220
|
},
|
|
2221
|
-
|
|
2221
|
+
A(t)
|
|
2222
2222
|
]])
|
|
2223
2223
|
}, [
|
|
2224
2224
|
e.icon ? (u(), _(N, {
|
|
2225
2225
|
key: 0,
|
|
2226
2226
|
icon: e.icon,
|
|
2227
2227
|
spaced: ""
|
|
2228
|
-
}, null, 8, ["icon"])) :
|
|
2228
|
+
}, null, 8, ["icon"])) : p("", !0),
|
|
2229
2229
|
g(s.$slots, "default", {}, () => [
|
|
2230
2230
|
h("span", null, b(e.text), 1)
|
|
2231
2231
|
])
|
|
2232
2232
|
], 2));
|
|
2233
2233
|
}
|
|
2234
|
-
},
|
|
2234
|
+
}, yi = {
|
|
2235
2235
|
name: "UluMenu",
|
|
2236
2236
|
components: {
|
|
2237
2237
|
UluIcon: N,
|
|
@@ -2280,14 +2280,14 @@ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2280
2280
|
}
|
|
2281
2281
|
}
|
|
2282
2282
|
};
|
|
2283
|
-
function
|
|
2283
|
+
function pi(e, n, t, s, o, i) {
|
|
2284
2284
|
const r = H("UluIcon"), l = H("UluTag"), a = H("UluMenu", !0), c = Xn("ulu-tooltip");
|
|
2285
2285
|
return t.items?.length ? (u(), d("ul", {
|
|
2286
2286
|
key: 0,
|
|
2287
2287
|
class: m(t.classes.list)
|
|
2288
2288
|
}, [
|
|
2289
|
-
(u(!0), d(R, null, x(t.items, (f,
|
|
2290
|
-
key:
|
|
2289
|
+
(u(!0), d(R, null, x(t.items, (f, y) => (u(), d("li", {
|
|
2290
|
+
key: y,
|
|
2291
2291
|
class: m([
|
|
2292
2292
|
t.classes.item,
|
|
2293
2293
|
f?.classes?.item,
|
|
@@ -2299,8 +2299,8 @@ function yi(e, n, t, s, o, i) {
|
|
|
2299
2299
|
...f.to || f.path ? { to: f.to || f.path } : {},
|
|
2300
2300
|
...f.href ? { href: f.href || "#" } : {}
|
|
2301
2301
|
}, {
|
|
2302
|
-
onClick: (
|
|
2303
|
-
i.handleItemClick(
|
|
2302
|
+
onClick: (v) => {
|
|
2303
|
+
i.handleItemClick(v, f);
|
|
2304
2304
|
},
|
|
2305
2305
|
class: [t.classes.link, f?.classes?.link],
|
|
2306
2306
|
activeClass: t.classes.linkActive,
|
|
@@ -2311,20 +2311,20 @@ function yi(e, n, t, s, o, i) {
|
|
|
2311
2311
|
default: S(() => [
|
|
2312
2312
|
g(e.$slots, "default", {
|
|
2313
2313
|
item: f,
|
|
2314
|
-
index:
|
|
2314
|
+
index: y
|
|
2315
2315
|
}, () => [
|
|
2316
2316
|
f.icon ? (u(), _(r, {
|
|
2317
2317
|
key: 0,
|
|
2318
2318
|
icon: f.icon,
|
|
2319
2319
|
class: m([t.classes.linkIcon, f?.classes?.linkIcon])
|
|
2320
|
-
}, null, 8, ["icon", "class"])) :
|
|
2320
|
+
}, null, 8, ["icon", "class"])) : p("", !0),
|
|
2321
2321
|
h("span", {
|
|
2322
2322
|
class: m([t.classes.linkText, f?.classes?.linkText])
|
|
2323
2323
|
}, b(f.title), 3),
|
|
2324
2324
|
f.tag ? (u(), _(l, ie({
|
|
2325
2325
|
key: 1,
|
|
2326
2326
|
ref_for: !0
|
|
2327
|
-
}, f.tag), null, 16)) :
|
|
2327
|
+
}, f.tag), null, 16)) : p("", !0)
|
|
2328
2328
|
])
|
|
2329
2329
|
]),
|
|
2330
2330
|
_: 2
|
|
@@ -2336,14 +2336,14 @@ function yi(e, n, t, s, o, i) {
|
|
|
2336
2336
|
iconOnly: t.iconOnly,
|
|
2337
2337
|
classes: t.classes,
|
|
2338
2338
|
items: f.children
|
|
2339
|
-
}, null, 8, ["iconOnly", "classes", "items"])) :
|
|
2339
|
+
}, null, 8, ["iconOnly", "classes", "items"])) : p("", !0)
|
|
2340
2340
|
], 2))), 128))
|
|
2341
|
-
], 2)) :
|
|
2341
|
+
], 2)) : p("", !0);
|
|
2342
2342
|
}
|
|
2343
|
-
const
|
|
2343
|
+
const vs = /* @__PURE__ */ O(yi, [["render", pi]]), bi = {
|
|
2344
2344
|
name: "UluMenuStack",
|
|
2345
2345
|
components: {
|
|
2346
|
-
UluMenu:
|
|
2346
|
+
UluMenu: vs
|
|
2347
2347
|
},
|
|
2348
2348
|
props: {
|
|
2349
2349
|
/**
|
|
@@ -2372,7 +2372,7 @@ function _i(e, n, t, s, o, i) {
|
|
|
2372
2372
|
"menu-stack--compact": t.compact
|
|
2373
2373
|
}])
|
|
2374
2374
|
}, [
|
|
2375
|
-
|
|
2375
|
+
z(r, {
|
|
2376
2376
|
items: t.items,
|
|
2377
2377
|
classes: {
|
|
2378
2378
|
list: "menu-stack__list",
|
|
@@ -2387,7 +2387,7 @@ function _i(e, n, t, s, o, i) {
|
|
|
2387
2387
|
}, null, 8, ["items", "noChildren"])
|
|
2388
2388
|
], 2);
|
|
2389
2389
|
}
|
|
2390
|
-
const wi = /* @__PURE__ */
|
|
2390
|
+
const wi = /* @__PURE__ */ O(bi, [["render", _i]]), qf = {
|
|
2391
2391
|
__name: "UluDropdown",
|
|
2392
2392
|
props: {
|
|
2393
2393
|
/**
|
|
@@ -2409,24 +2409,24 @@ const wi = /* @__PURE__ */ A(bi, [["render", _i]]), Gf = {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
},
|
|
2411
2411
|
setup(e) {
|
|
2412
|
-
return (n, t) => (u(), _(
|
|
2412
|
+
return (n, t) => (u(), _(ht, { classes: e.popoverClasses }, {
|
|
2413
2413
|
trigger: S(({ isOpen: s }) => [
|
|
2414
2414
|
g(n.$slots, "trigger", { isOpen: s }, () => [
|
|
2415
2415
|
h("span", null, b(e.triggerText), 1),
|
|
2416
|
-
|
|
2416
|
+
z(N, {
|
|
2417
2417
|
class: "button__icon",
|
|
2418
2418
|
icon: "type:dropdownExpand",
|
|
2419
|
-
style:
|
|
2419
|
+
style: F({ transform: s ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s" })
|
|
2420
2420
|
}, null, 8, ["style"])
|
|
2421
2421
|
])
|
|
2422
2422
|
]),
|
|
2423
2423
|
default: S(() => [
|
|
2424
|
-
|
|
2424
|
+
z(wi, { items: e.items }, null, 8, ["items"])
|
|
2425
2425
|
]),
|
|
2426
2426
|
_: 3
|
|
2427
2427
|
}, 8, ["classes"]));
|
|
2428
2428
|
}
|
|
2429
|
-
}, Zt =
|
|
2429
|
+
}, Zt = I(!1), rt = {
|
|
2430
2430
|
start: [],
|
|
2431
2431
|
end: []
|
|
2432
2432
|
};
|
|
@@ -2436,7 +2436,7 @@ function Jt() {
|
|
|
2436
2436
|
function Si() {
|
|
2437
2437
|
Zt.value = !1, rt.end.forEach((e) => e()), window.addEventListener("resize", Jt);
|
|
2438
2438
|
}
|
|
2439
|
-
window.addEventListener("resize", Jt), window.addEventListener("resize",
|
|
2439
|
+
window.addEventListener("resize", Jt), window.addEventListener("resize", mt(Si, 300));
|
|
2440
2440
|
function bn(e, n) {
|
|
2441
2441
|
return e.push(n), () => {
|
|
2442
2442
|
const t = e.findIndex((s) => s === n);
|
|
@@ -2454,7 +2454,7 @@ function ki() {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
};
|
|
2456
2456
|
}
|
|
2457
|
-
const
|
|
2457
|
+
const $i = {
|
|
2458
2458
|
uluCore: "Core",
|
|
2459
2459
|
uluIsMobile: "Breakpoints",
|
|
2460
2460
|
uluBreakpointActive: "Breakpoints",
|
|
@@ -2463,20 +2463,20 @@ const Ci = {
|
|
|
2463
2463
|
uluModals: "Modals",
|
|
2464
2464
|
uluToast: "Toast"
|
|
2465
2465
|
}, _n = {};
|
|
2466
|
-
function
|
|
2466
|
+
function Ci(e) {
|
|
2467
2467
|
const n = ct(e, _n);
|
|
2468
2468
|
if (n === _n) {
|
|
2469
|
-
const t =
|
|
2469
|
+
const t = $i[e] || "", s = t ? ` from the '${t}' plugin` : "", o = t ? "Please install missing plugin." : "";
|
|
2470
2470
|
throw new Error(`Required inject: '${e}'${s} was not provided. ${o}`);
|
|
2471
2471
|
}
|
|
2472
2472
|
return n;
|
|
2473
2473
|
}
|
|
2474
|
-
function
|
|
2474
|
+
function Gf(e, n) {
|
|
2475
2475
|
const t = is(), s = Js(), o = w(() => {
|
|
2476
2476
|
const c = parseInt(t.query.page || "1", 10);
|
|
2477
2477
|
return isNaN(c) || c < 1 ? 1 : c;
|
|
2478
2478
|
}), i = w(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / n));
|
|
2479
|
-
|
|
2479
|
+
He(i, (c) => {
|
|
2480
2480
|
o.value > c && s.push({ query: { ...t.query, page: c } });
|
|
2481
2481
|
});
|
|
2482
2482
|
const r = w(() => {
|
|
@@ -2487,16 +2487,16 @@ function Kf(e, n) {
|
|
|
2487
2487
|
return null;
|
|
2488
2488
|
const c = {
|
|
2489
2489
|
pages: {}
|
|
2490
|
-
}, f = o.value,
|
|
2491
|
-
f > 1 && (c.first = { href: k(1) }, c.previous = { href: k(f - 1) }), f <
|
|
2492
|
-
let E,
|
|
2493
|
-
if (
|
|
2494
|
-
E = 1,
|
|
2490
|
+
}, f = o.value, y = i.value, v = 5, k = (T) => ({ query: { ...t.query, page: T } });
|
|
2491
|
+
f > 1 && (c.first = { href: k(1) }, c.previous = { href: k(f - 1) }), f < y && (c.next = { href: k(f + 1) }, c.last = { href: k(y) });
|
|
2492
|
+
let E, C;
|
|
2493
|
+
if (y <= v)
|
|
2494
|
+
E = 1, C = y;
|
|
2495
2495
|
else {
|
|
2496
|
-
const T = Math.floor(
|
|
2497
|
-
f <= T ? (E = 1,
|
|
2496
|
+
const T = Math.floor(v / 2), le = Math.ceil(v / 2) - 1;
|
|
2497
|
+
f <= T ? (E = 1, C = v) : f + le >= y ? (E = y - v + 1, C = y) : (E = f - T, C = f + le);
|
|
2498
2498
|
}
|
|
2499
|
-
for (let T = E; T <=
|
|
2499
|
+
for (let T = E; T <= C; T++)
|
|
2500
2500
|
c.pages[T] = { href: k(T) };
|
|
2501
2501
|
return c;
|
|
2502
2502
|
}), a = w(() => {
|
|
@@ -2504,8 +2504,8 @@ function Kf(e, n) {
|
|
|
2504
2504
|
if (!l.value || !l.value.pages) return c;
|
|
2505
2505
|
const f = Object.keys(l.value.pages).map(Number);
|
|
2506
2506
|
if (f.length === 0) return c;
|
|
2507
|
-
const
|
|
2508
|
-
return
|
|
2507
|
+
const y = Math.min(...f), v = Math.max(...f);
|
|
2508
|
+
return y > 1 && (c.previous = !0), v < i.value && (c.next = !0), c;
|
|
2509
2509
|
});
|
|
2510
2510
|
return {
|
|
2511
2511
|
currentPage: o,
|
|
@@ -2515,20 +2515,20 @@ function Kf(e, n) {
|
|
|
2515
2515
|
pagerEllipses: a
|
|
2516
2516
|
};
|
|
2517
2517
|
}
|
|
2518
|
-
function
|
|
2518
|
+
function Bt(e, n, t) {
|
|
2519
2519
|
typeof e === "function" && (!t || t !== "titleTemplate" && !(t[0] === "o" && t[1] === "n")) && (e = e());
|
|
2520
2520
|
let o;
|
|
2521
2521
|
if (n && (o = n(t, e)), Array.isArray(o))
|
|
2522
|
-
return o.map((i) =>
|
|
2522
|
+
return o.map((i) => Bt(i, n));
|
|
2523
2523
|
if (o?.constructor === Object) {
|
|
2524
2524
|
const i = {};
|
|
2525
2525
|
for (const r of Object.keys(o))
|
|
2526
|
-
i[r] =
|
|
2526
|
+
i[r] = Bt(o[r], n, r);
|
|
2527
2527
|
return i;
|
|
2528
2528
|
}
|
|
2529
2529
|
return o;
|
|
2530
2530
|
}
|
|
2531
|
-
const Ti = (e, n) => Xs(n) ?
|
|
2531
|
+
const Ti = (e, n) => Xs(n) ? tt(n) : n, Ai = "usehead";
|
|
2532
2532
|
function Oi() {
|
|
2533
2533
|
if (Ys()) {
|
|
2534
2534
|
const e = ct(Ai);
|
|
@@ -2543,10 +2543,10 @@ function xi(e, n = {}) {
|
|
|
2543
2543
|
return t.ssr ? t.push(e || {}, n) : Ri(t, e, n);
|
|
2544
2544
|
}
|
|
2545
2545
|
function Ri(e, n, t = {}) {
|
|
2546
|
-
const s =
|
|
2546
|
+
const s = I(!1);
|
|
2547
2547
|
let o;
|
|
2548
2548
|
return ut(() => {
|
|
2549
|
-
const r = s.value ? {} :
|
|
2549
|
+
const r = s.value ? {} : Bt(n, Ti);
|
|
2550
2550
|
o ? o.patch(r) : o = e.push(r, t);
|
|
2551
2551
|
}), qs() && (Kn(() => {
|
|
2552
2552
|
o.dispose();
|
|
@@ -2556,21 +2556,21 @@ function Ri(e, n, t = {}) {
|
|
|
2556
2556
|
s.value = !1;
|
|
2557
2557
|
})), o;
|
|
2558
2558
|
}
|
|
2559
|
-
function
|
|
2559
|
+
function vt(e, n) {
|
|
2560
2560
|
let s = (e?.meta || {}).title;
|
|
2561
2561
|
return typeof s == "function" && (s = s(n || e)), s;
|
|
2562
2562
|
}
|
|
2563
2563
|
function Ei(e, n) {
|
|
2564
2564
|
const s = Object.assign({}, {
|
|
2565
2565
|
qualifier(r, l) {
|
|
2566
|
-
return l ? en(r) :
|
|
2566
|
+
return l ? en(r) : ys(r);
|
|
2567
2567
|
},
|
|
2568
2568
|
sort: nn,
|
|
2569
2569
|
item: {},
|
|
2570
2570
|
includeChildren: !1
|
|
2571
2571
|
}, n), o = (r, l) => l ? `${l}/${r.path}` : r.path, i = (r, l = null) => r.filter((a) => s.qualifier(a, l)).map((a) => {
|
|
2572
|
-
const c = a.children ? Qt(a.children) : a, f = a.children ? a.children.filter((
|
|
2573
|
-
return s.includeChildren && f.length && (
|
|
2572
|
+
const c = a.children ? Qt(a.children) : a, f = a.children ? a.children.filter((v) => v.path !== "") : !1, y = yt(c, o(a, l), s.item);
|
|
2573
|
+
return s.includeChildren && f.length && (y.children = i(f, y.path)), y;
|
|
2574
2574
|
}).sort(s.sort);
|
|
2575
2575
|
return i(e);
|
|
2576
2576
|
}
|
|
@@ -2585,25 +2585,25 @@ function ji(e) {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
return n(e);
|
|
2587
2587
|
}
|
|
2588
|
-
function
|
|
2588
|
+
function Ii(e, n, t) {
|
|
2589
2589
|
const o = Object.assign({}, {
|
|
2590
2590
|
includeIndex: !1,
|
|
2591
2591
|
item: {},
|
|
2592
2592
|
sort: nn
|
|
2593
|
-
}, t), i = e.find((c) => c.path !== "/" && n.includes(c.path)), r = (c, f,
|
|
2593
|
+
}, t), i = e.find((c) => c.path !== "/" && n.includes(c.path)), r = (c, f, y) => {
|
|
2594
2594
|
if (c.children) {
|
|
2595
|
-
const
|
|
2596
|
-
if (
|
|
2597
|
-
return r(
|
|
2595
|
+
const v = c.children.find((k) => k.path.includes(n));
|
|
2596
|
+
if (v)
|
|
2597
|
+
return r(v, c, y + v.path);
|
|
2598
2598
|
}
|
|
2599
|
-
return { route: f, path:
|
|
2599
|
+
return { route: f, path: y };
|
|
2600
2600
|
}, { route: l, path: a } = r(i, i, i.path);
|
|
2601
|
-
return l.children ? l.children.filter(bs(o.includeIndex)).map((c) =>
|
|
2601
|
+
return l.children ? l.children.filter(bs(o.includeIndex)).map((c) => yt(c, `${a}/${c.path}`, o.item)).sort(o.sort) : (console.warn("Unable to build menu for:", n), []);
|
|
2602
2602
|
}
|
|
2603
2603
|
function Qt(e) {
|
|
2604
2604
|
return e.find((n) => n.path === "");
|
|
2605
2605
|
}
|
|
2606
|
-
function
|
|
2606
|
+
function yt(e, n = e.path, t) {
|
|
2607
2607
|
const o = Object.assign({}, {
|
|
2608
2608
|
indexMeta: !0,
|
|
2609
2609
|
modify: null
|
|
@@ -2612,7 +2612,7 @@ function pt(e, n = e.path, t) {
|
|
|
2612
2612
|
o.indexMeta && e.children && (i = Object.assign({}, i, Qt(e.children)?.meta));
|
|
2613
2613
|
const r = { ...e, meta: i }, l = {
|
|
2614
2614
|
path: n,
|
|
2615
|
-
title:
|
|
2615
|
+
title: vt(r, e) || "Missing Title",
|
|
2616
2616
|
weight: i?.weight || 0,
|
|
2617
2617
|
meta: i
|
|
2618
2618
|
};
|
|
@@ -2621,18 +2621,18 @@ function pt(e, n = e.path, t) {
|
|
|
2621
2621
|
function en(e) {
|
|
2622
2622
|
return !e.path.includes("/:");
|
|
2623
2623
|
}
|
|
2624
|
-
function
|
|
2624
|
+
function ys(e) {
|
|
2625
2625
|
const n = e.path.match(/\//g) || [];
|
|
2626
2626
|
return en(e) && n.length === 1;
|
|
2627
2627
|
}
|
|
2628
|
-
function
|
|
2628
|
+
function zi(e, n) {
|
|
2629
2629
|
const { target: t } = n, s = t.closest("a");
|
|
2630
2630
|
if (s) {
|
|
2631
2631
|
let o = s.getAttribute("href");
|
|
2632
2632
|
o.startsWith("/") && (e.push(o), n.preventDefault());
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
2635
|
-
function
|
|
2635
|
+
function ps(e, n = tn(e)) {
|
|
2636
2636
|
return n?.children;
|
|
2637
2637
|
}
|
|
2638
2638
|
function tn(e, n) {
|
|
@@ -2652,7 +2652,7 @@ function Mi(e, n) {
|
|
|
2652
2652
|
item: {},
|
|
2653
2653
|
sort: nn
|
|
2654
2654
|
}, n), o = s.parent || tn(e);
|
|
2655
|
-
return (
|
|
2655
|
+
return (ps(e, o) || []).filter(bs(s.includeIndex)).map((r) => yt(r, `${o.path}/${r.path}`, s.item)).sort(s.sort);
|
|
2656
2656
|
}
|
|
2657
2657
|
function Ui(e) {
|
|
2658
2658
|
const { matched: n, path: t } = e;
|
|
@@ -2660,7 +2660,7 @@ function Ui(e) {
|
|
|
2660
2660
|
return n.reduce((i, r, l) => {
|
|
2661
2661
|
if (r.meta?.breadcrumb === !1 || r.path === s)
|
|
2662
2662
|
return i;
|
|
2663
|
-
const a = l === n.length - 1, c =
|
|
2663
|
+
const a = l === n.length - 1, c = vt(r, e) || "Missing Title";
|
|
2664
2664
|
return i.push({
|
|
2665
2665
|
title: c,
|
|
2666
2666
|
to: { path: a ? t : r.path },
|
|
@@ -2673,18 +2673,18 @@ const Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2673
2673
|
$createBreadcrumb: Ui,
|
|
2674
2674
|
$createSectionMenu: Mi,
|
|
2675
2675
|
$getParentRoute: tn,
|
|
2676
|
-
$getRouteChildren:
|
|
2676
|
+
$getRouteChildren: ps,
|
|
2677
2677
|
createBaseMenu: Ei,
|
|
2678
|
-
createMenuItem:
|
|
2679
|
-
createSectionMenu:
|
|
2678
|
+
createMenuItem: yt,
|
|
2679
|
+
createSectionMenu: Ii,
|
|
2680
2680
|
flattenMenu: ji,
|
|
2681
2681
|
getChildIndexRoute: Qt,
|
|
2682
|
-
getRouteTitle:
|
|
2683
|
-
isStaticBaseRoute:
|
|
2682
|
+
getRouteTitle: vt,
|
|
2683
|
+
isStaticBaseRoute: ys,
|
|
2684
2684
|
isStaticRoute: en,
|
|
2685
|
-
nativeLinkRouter:
|
|
2686
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2687
|
-
function
|
|
2685
|
+
nativeLinkRouter: zi
|
|
2686
|
+
}, Symbol.toStringTag, { value: "Module" })), Tt = Ht({});
|
|
2687
|
+
function Kf(e = {}) {
|
|
2688
2688
|
const {
|
|
2689
2689
|
title: n,
|
|
2690
2690
|
titleTemplate: t = "%s",
|
|
@@ -2693,21 +2693,21 @@ function Zf(e = {}) {
|
|
|
2693
2693
|
} = e, i = s(), r = i.path;
|
|
2694
2694
|
if (n !== void 0) {
|
|
2695
2695
|
ut(() => {
|
|
2696
|
-
|
|
2696
|
+
Tt[r] = A(n);
|
|
2697
2697
|
}), Zn(() => {
|
|
2698
|
-
delete
|
|
2698
|
+
delete Tt[r];
|
|
2699
2699
|
});
|
|
2700
2700
|
return;
|
|
2701
2701
|
}
|
|
2702
2702
|
const l = w(() => {
|
|
2703
|
-
const a =
|
|
2703
|
+
const a = Tt[i.path], c = vt(i, i), f = a || c;
|
|
2704
2704
|
return f ? t.replace("%s", f) : "App";
|
|
2705
2705
|
});
|
|
2706
2706
|
o({
|
|
2707
2707
|
title: l
|
|
2708
2708
|
});
|
|
2709
2709
|
}
|
|
2710
|
-
const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" },
|
|
2710
|
+
const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" }, Zf = {
|
|
2711
2711
|
__name: "UluOverflowPopover",
|
|
2712
2712
|
props: {
|
|
2713
2713
|
/**
|
|
@@ -2716,13 +2716,13 @@ const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" },
|
|
|
2716
2716
|
triggerIcon: String
|
|
2717
2717
|
},
|
|
2718
2718
|
setup(e) {
|
|
2719
|
-
const { resizing: n, onResizeEnd: t } = ki(), s =
|
|
2719
|
+
const { resizing: n, onResizeEnd: t } = ki(), s = I(null), o = I(!1), i = () => {
|
|
2720
2720
|
qn(() => {
|
|
2721
2721
|
const l = s.value;
|
|
2722
2722
|
o.value = l.offsetWidth < l.scrollWidth;
|
|
2723
2723
|
});
|
|
2724
2724
|
}, r = t(i);
|
|
2725
|
-
return
|
|
2725
|
+
return dt(i), Zn(r), (l, a) => (u(), d("div", Pi, [
|
|
2726
2726
|
h("div", {
|
|
2727
2727
|
class: "type-truncate",
|
|
2728
2728
|
ref_key: "text",
|
|
@@ -2730,13 +2730,13 @@ const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" },
|
|
|
2730
2730
|
}, [
|
|
2731
2731
|
g(l.$slots, "default")
|
|
2732
2732
|
], 512),
|
|
2733
|
-
o.value && !
|
|
2733
|
+
o.value && !A(n) ? (u(), _(ht, {
|
|
2734
2734
|
key: 0,
|
|
2735
2735
|
triggerAlt: "Show Full Text",
|
|
2736
2736
|
size: "large"
|
|
2737
2737
|
}, {
|
|
2738
2738
|
trigger: S(() => [
|
|
2739
|
-
|
|
2739
|
+
z(N, {
|
|
2740
2740
|
icon: e.triggerIcon || "type:ellipsis"
|
|
2741
2741
|
}, null, 8, ["icon"])
|
|
2742
2742
|
]),
|
|
@@ -2746,20 +2746,20 @@ const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" },
|
|
|
2746
2746
|
])
|
|
2747
2747
|
]),
|
|
2748
2748
|
_: 3
|
|
2749
|
-
})) :
|
|
2749
|
+
})) : p("", !0)
|
|
2750
2750
|
]));
|
|
2751
2751
|
}
|
|
2752
|
-
},
|
|
2752
|
+
}, Jf = {
|
|
2753
2753
|
__name: "UluTab",
|
|
2754
2754
|
setup(e) {
|
|
2755
|
-
return (n, t) => (u(), _(
|
|
2755
|
+
return (n, t) => (u(), _(A(Qs), null, {
|
|
2756
2756
|
default: S((s) => [
|
|
2757
2757
|
g(n.$slots, "default", Q(ee(s)))
|
|
2758
2758
|
]),
|
|
2759
2759
|
_: 3
|
|
2760
2760
|
}));
|
|
2761
2761
|
}
|
|
2762
|
-
},
|
|
2762
|
+
}, Qf = /* @__PURE__ */ Object.assign({
|
|
2763
2763
|
inheritAttrs: !1
|
|
2764
2764
|
}, {
|
|
2765
2765
|
__name: "UluTabGroup",
|
|
@@ -2774,7 +2774,7 @@ const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" },
|
|
|
2774
2774
|
vertical: Boolean
|
|
2775
2775
|
},
|
|
2776
2776
|
setup(e) {
|
|
2777
|
-
return (n, t) => (u(), _(
|
|
2777
|
+
return (n, t) => (u(), _(A(eo), {
|
|
2778
2778
|
defaultIndex: e.defaultIndex,
|
|
2779
2779
|
vertical: e.vertical
|
|
2780
2780
|
}, {
|
|
@@ -2790,37 +2790,37 @@ const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" },
|
|
|
2790
2790
|
_: 3
|
|
2791
2791
|
}, 8, ["defaultIndex", "vertical"]));
|
|
2792
2792
|
}
|
|
2793
|
-
}),
|
|
2793
|
+
}), eh = {
|
|
2794
2794
|
__name: "UluTabList",
|
|
2795
2795
|
setup(e) {
|
|
2796
|
-
return (n, t) => (u(), _(
|
|
2796
|
+
return (n, t) => (u(), _(A(to), { class: "tabs__tablist" }, {
|
|
2797
2797
|
default: S(() => [
|
|
2798
2798
|
g(n.$slots, "default")
|
|
2799
2799
|
]),
|
|
2800
2800
|
_: 3
|
|
2801
2801
|
}));
|
|
2802
2802
|
}
|
|
2803
|
-
},
|
|
2803
|
+
}, th = {
|
|
2804
2804
|
__name: "UluTabPanel",
|
|
2805
2805
|
setup(e) {
|
|
2806
|
-
return (n, t) => (u(), _(
|
|
2806
|
+
return (n, t) => (u(), _(A(no), null, {
|
|
2807
2807
|
default: S((s) => [
|
|
2808
2808
|
g(n.$slots, "default", Q(ee(s)))
|
|
2809
2809
|
]),
|
|
2810
2810
|
_: 3
|
|
2811
2811
|
}));
|
|
2812
2812
|
}
|
|
2813
|
-
},
|
|
2813
|
+
}, nh = {
|
|
2814
2814
|
__name: "UluTabPanels",
|
|
2815
2815
|
setup(e) {
|
|
2816
|
-
return (n, t) => (u(), _(
|
|
2816
|
+
return (n, t) => (u(), _(A(so), null, {
|
|
2817
2817
|
default: S((s) => [
|
|
2818
2818
|
g(n.$slots, "default", Q(ee(s)))
|
|
2819
2819
|
]),
|
|
2820
2820
|
_: 3
|
|
2821
2821
|
}));
|
|
2822
2822
|
}
|
|
2823
|
-
},
|
|
2823
|
+
}, Vi = {
|
|
2824
2824
|
name: "UluButton",
|
|
2825
2825
|
components: {
|
|
2826
2826
|
UluIcon: N
|
|
@@ -2914,14 +2914,14 @@ const Pi = { class: "layout-flex-baseline" }, Li = { class: "type-word-break" },
|
|
|
2914
2914
|
return n && e.push(`button--${n}`), e;
|
|
2915
2915
|
},
|
|
2916
2916
|
element() {
|
|
2917
|
-
return this.to ?
|
|
2917
|
+
return this.to ? ft : this.href ? "a" : "button";
|
|
2918
2918
|
},
|
|
2919
2919
|
attrs() {
|
|
2920
2920
|
const { to: e, href: n, download: t, target: s } = this, o = e ? { to: e } : n ? { href: n } : {};
|
|
2921
2921
|
return n && (s && (o.target = s), t && (o.download = typeof t == "string" ? t : !0)), o;
|
|
2922
2922
|
}
|
|
2923
2923
|
}
|
|
2924
|
-
},
|
|
2924
|
+
}, Fi = { key: 1 };
|
|
2925
2925
|
function Hi(e, n, t, s, o, i) {
|
|
2926
2926
|
const r = H("UluIcon");
|
|
2927
2927
|
return u(), _(P(i.element), ie({
|
|
@@ -2946,23 +2946,23 @@ function Hi(e, n, t, s, o, i) {
|
|
|
2946
2946
|
key: 0,
|
|
2947
2947
|
icon: t.icon,
|
|
2948
2948
|
class: "button__icon"
|
|
2949
|
-
}, null, 8, ["icon"])) :
|
|
2950
|
-
(e.$slots.default || t.text) && !t.iconOnly ? (u(), d("span",
|
|
2949
|
+
}, null, 8, ["icon"])) : p("", !0),
|
|
2950
|
+
(e.$slots.default || t.text) && !t.iconOnly ? (u(), d("span", Fi, [
|
|
2951
2951
|
g(e.$slots, "default", {}, () => [
|
|
2952
|
-
|
|
2952
|
+
$(b(t.text), 1)
|
|
2953
2953
|
])
|
|
2954
|
-
])) :
|
|
2954
|
+
])) : p("", !0),
|
|
2955
2955
|
t.icon && !t.iconBefore && !t.iconOnly ? (u(), _(r, {
|
|
2956
2956
|
key: 2,
|
|
2957
2957
|
icon: t.icon,
|
|
2958
2958
|
class: "button__icon"
|
|
2959
|
-
}, null, 8, ["icon"])) :
|
|
2959
|
+
}, null, 8, ["icon"])) : p("", !0),
|
|
2960
2960
|
g(e.$slots, "after")
|
|
2961
2961
|
]),
|
|
2962
2962
|
_: 3
|
|
2963
2963
|
}, 16, ["class", "aria-label"]);
|
|
2964
2964
|
}
|
|
2965
|
-
const Ni = /* @__PURE__ */
|
|
2965
|
+
const Ni = /* @__PURE__ */ O(Vi, [["render", Hi]]), Di = {
|
|
2966
2966
|
name: "UluAlert",
|
|
2967
2967
|
components: {
|
|
2968
2968
|
UluButton: Ni,
|
|
@@ -3018,7 +3018,7 @@ function qi(e, n, t, s, o, i) {
|
|
|
3018
3018
|
class: m(["callout", s.resolvedModifiers])
|
|
3019
3019
|
}, [
|
|
3020
3020
|
h("div", Wi, [
|
|
3021
|
-
|
|
3021
|
+
z(r, {
|
|
3022
3022
|
class: m(["type-large margin-right-small", `color-${t.type}`]),
|
|
3023
3023
|
icon: t.icon || `type:${t.type}`
|
|
3024
3024
|
}, null, 8, ["class", "icon"]),
|
|
@@ -3030,17 +3030,17 @@ function qi(e, n, t, s, o, i) {
|
|
|
3030
3030
|
]),
|
|
3031
3031
|
h("div", null, [
|
|
3032
3032
|
g(e.$slots, "description", {}, () => [
|
|
3033
|
-
|
|
3033
|
+
$(b(t.description), 1)
|
|
3034
3034
|
])
|
|
3035
3035
|
])
|
|
3036
3036
|
]),
|
|
3037
3037
|
e.$slots.action ? (u(), d("div", Yi, [
|
|
3038
3038
|
g(e.$slots, "action")
|
|
3039
|
-
])) :
|
|
3039
|
+
])) : p("", !0)
|
|
3040
3040
|
])
|
|
3041
3041
|
], 2);
|
|
3042
3042
|
}
|
|
3043
|
-
const
|
|
3043
|
+
const sh = /* @__PURE__ */ O(Di, [["render", qi]]), Gi = ["aria-hidden"], Ki = {
|
|
3044
3044
|
key: 2,
|
|
3045
3045
|
class: "hidden-visually"
|
|
3046
3046
|
}, Zi = {
|
|
@@ -3082,7 +3082,7 @@ const oh = /* @__PURE__ */ A(Di, [["render", qi]]), Gi = ["aria-hidden"], Ki = {
|
|
|
3082
3082
|
setup(e) {
|
|
3083
3083
|
const n = e, t = w(() => !!(n.to || n.click)), s = w(() => {
|
|
3084
3084
|
const { click: o, to: i, href: r } = n;
|
|
3085
|
-
return o ? "button" : i ?
|
|
3085
|
+
return o ? "button" : i ? ft : r ? "a" : "span";
|
|
3086
3086
|
});
|
|
3087
3087
|
return (o, i) => (u(), _(P(s.value), {
|
|
3088
3088
|
class: m(["badge", [
|
|
@@ -3102,13 +3102,13 @@ const oh = /* @__PURE__ */ A(Di, [["render", qi]]), Gi = ["aria-hidden"], Ki = {
|
|
|
3102
3102
|
key: 0,
|
|
3103
3103
|
"aria-hidden": e.alt ? "true" : null
|
|
3104
3104
|
}, b(e.text), 9, Gi)) : g(o.$slots, "default", { key: 1 }),
|
|
3105
|
-
e.alt ? (u(), d("span", Ki, b(e.alt), 1)) :
|
|
3105
|
+
e.alt ? (u(), d("span", Ki, b(e.alt), 1)) : p("", !0)
|
|
3106
3106
|
], 2)
|
|
3107
3107
|
]),
|
|
3108
3108
|
_: 3
|
|
3109
3109
|
}, 8, ["class", "to", "href", "onClick"]));
|
|
3110
3110
|
}
|
|
3111
|
-
}, Ji = { class: "badge-stack" },
|
|
3111
|
+
}, Ji = { class: "badge-stack" }, oh = {
|
|
3112
3112
|
__name: "UluBadgeStack",
|
|
3113
3113
|
props: {
|
|
3114
3114
|
/**
|
|
@@ -3122,7 +3122,7 @@ const oh = /* @__PURE__ */ A(Di, [["render", qi]]), Gi = ["aria-hidden"], Ki = {
|
|
|
3122
3122
|
class: "badge-stack__item",
|
|
3123
3123
|
key: o
|
|
3124
3124
|
}, [
|
|
3125
|
-
|
|
3125
|
+
z(Zi, ie({ ref_for: !0 }, s), null, 16)
|
|
3126
3126
|
]))), 128))
|
|
3127
3127
|
]));
|
|
3128
3128
|
}
|
|
@@ -3186,7 +3186,7 @@ const oh = /* @__PURE__ */ A(Di, [["render", qi]]), Gi = ["aria-hidden"], Ki = {
|
|
|
3186
3186
|
},
|
|
3187
3187
|
computed: {
|
|
3188
3188
|
element() {
|
|
3189
|
-
return this.to ?
|
|
3189
|
+
return this.to ? ft : this.href ? "a" : "button";
|
|
3190
3190
|
},
|
|
3191
3191
|
attrs() {
|
|
3192
3192
|
const { to: e, href: n, download: t, target: s } = this, o = e ? { to: e } : n ? { href: n } : {};
|
|
@@ -3215,27 +3215,27 @@ function tr(e, n, t, s, o, i) {
|
|
|
3215
3215
|
}, {
|
|
3216
3216
|
default: S(() => [
|
|
3217
3217
|
g(e.$slots, "title", {}, () => [
|
|
3218
|
-
|
|
3218
|
+
$(b(t.title), 1)
|
|
3219
3219
|
])
|
|
3220
3220
|
]),
|
|
3221
3221
|
_: 3
|
|
3222
|
-
})) :
|
|
3222
|
+
})) : p("", !0),
|
|
3223
3223
|
e.$slots.default || t.body ? (u(), d("span", er, [
|
|
3224
3224
|
g(e.$slots, "default", {}, () => [
|
|
3225
|
-
|
|
3225
|
+
$(b(t.body), 1)
|
|
3226
3226
|
])
|
|
3227
|
-
])) :
|
|
3227
|
+
])) : p("", !0),
|
|
3228
3228
|
t.icon ? (u(), _(r, {
|
|
3229
3229
|
key: 2,
|
|
3230
3230
|
icon: t.icon,
|
|
3231
3231
|
class: "button-verbose__icon",
|
|
3232
3232
|
"aria-hidden": "true"
|
|
3233
|
-
}, null, 8, ["icon"])) :
|
|
3233
|
+
}, null, 8, ["icon"])) : p("", !0)
|
|
3234
3234
|
]),
|
|
3235
3235
|
_: 3
|
|
3236
3236
|
}, 16, ["class"]);
|
|
3237
3237
|
}
|
|
3238
|
-
const
|
|
3238
|
+
const ih = /* @__PURE__ */ O(Qi, [["render", tr]]), nr = {
|
|
3239
3239
|
name: "UluCallout",
|
|
3240
3240
|
props: {
|
|
3241
3241
|
/**
|
|
@@ -3260,7 +3260,7 @@ function sr(e, n, t, s, o, i) {
|
|
|
3260
3260
|
g(e.$slots, "default")
|
|
3261
3261
|
], 2);
|
|
3262
3262
|
}
|
|
3263
|
-
const
|
|
3263
|
+
const rh = /* @__PURE__ */ O(nr, [["render", sr]]), wn = (e, n) => {
|
|
3264
3264
|
const t = !(n.to || n.href);
|
|
3265
3265
|
return t || console.warn("'titleHref' and 'titleTo' can't be used with to or href (nesting links)"), t;
|
|
3266
3266
|
}, or = {
|
|
@@ -3389,7 +3389,7 @@ const lh = /* @__PURE__ */ A(nr, [["render", sr]]), wn = (e, n) => {
|
|
|
3389
3389
|
computed: {
|
|
3390
3390
|
resolvedElement() {
|
|
3391
3391
|
const { cardElement: e, to: n, href: t } = this;
|
|
3392
|
-
return n ?
|
|
3392
|
+
return n ? ft : t ? "a" : e;
|
|
3393
3393
|
}
|
|
3394
3394
|
},
|
|
3395
3395
|
methods: {
|
|
@@ -3424,7 +3424,7 @@ function dr(e, n, t, s, o, i) {
|
|
|
3424
3424
|
]]),
|
|
3425
3425
|
onMousedown: i.onMousedown,
|
|
3426
3426
|
onMouseup: i.onMouseup,
|
|
3427
|
-
style:
|
|
3427
|
+
style: F({ cursor: o.cursorStyle }),
|
|
3428
3428
|
target: t.target,
|
|
3429
3429
|
to: t.to,
|
|
3430
3430
|
href: t.href,
|
|
@@ -3445,7 +3445,7 @@ function dr(e, n, t, s, o, i) {
|
|
|
3445
3445
|
}, {
|
|
3446
3446
|
default: S(() => [
|
|
3447
3447
|
g(e.$slots, "title", {}, () => [
|
|
3448
|
-
|
|
3448
|
+
$(b(t.title), 1)
|
|
3449
3449
|
])
|
|
3450
3450
|
]),
|
|
3451
3451
|
_: 3
|
|
@@ -3457,10 +3457,10 @@ function dr(e, n, t, s, o, i) {
|
|
|
3457
3457
|
ref: "link"
|
|
3458
3458
|
}, [
|
|
3459
3459
|
g(e.$slots, "title", {}, () => [
|
|
3460
|
-
|
|
3460
|
+
$(b(t.title), 1)
|
|
3461
3461
|
])
|
|
3462
3462
|
], 8, lr)) : g(e.$slots, "title", { key: 2 }, () => [
|
|
3463
|
-
|
|
3463
|
+
$(b(t.title), 1)
|
|
3464
3464
|
])
|
|
3465
3465
|
]),
|
|
3466
3466
|
_: 3
|
|
@@ -3469,7 +3469,7 @@ function dr(e, n, t, s, o, i) {
|
|
|
3469
3469
|
]),
|
|
3470
3470
|
e.$slots.aside ? (u(), d("div", ar, [
|
|
3471
3471
|
g(e.$slots, "aside")
|
|
3472
|
-
])) :
|
|
3472
|
+
])) : p("", !0)
|
|
3473
3473
|
]),
|
|
3474
3474
|
e.$slots.image || t.imageSrc ? (u(), d("div", {
|
|
3475
3475
|
key: 0,
|
|
@@ -3484,15 +3484,15 @@ function dr(e, n, t, s, o, i) {
|
|
|
3484
3484
|
alt: t.imageAlt
|
|
3485
3485
|
}, null, 8, cr)
|
|
3486
3486
|
])
|
|
3487
|
-
], 2)) :
|
|
3487
|
+
], 2)) : p("", !0),
|
|
3488
3488
|
e.$slots.footer ? (u(), d("div", ur, [
|
|
3489
3489
|
g(e.$slots, "footer")
|
|
3490
|
-
])) :
|
|
3490
|
+
])) : p("", !0)
|
|
3491
3491
|
]),
|
|
3492
3492
|
_: 3
|
|
3493
3493
|
}, 40, ["onMousedown", "onMouseup", "class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]);
|
|
3494
3494
|
}
|
|
3495
|
-
const
|
|
3495
|
+
const lh = /* @__PURE__ */ O(or, [["render", dr]]), ah = {
|
|
3496
3496
|
__name: "UluDefinitionList",
|
|
3497
3497
|
props: {
|
|
3498
3498
|
/**
|
|
@@ -3523,7 +3523,7 @@ const ah = /* @__PURE__ */ A(or, [["render", dr]]), ch = {
|
|
|
3523
3523
|
item: s,
|
|
3524
3524
|
index: o
|
|
3525
3525
|
}, () => [
|
|
3526
|
-
|
|
3526
|
+
$(b(s.term), 1)
|
|
3527
3527
|
])
|
|
3528
3528
|
], 2),
|
|
3529
3529
|
h("dd", {
|
|
@@ -3533,13 +3533,13 @@ const ah = /* @__PURE__ */ A(or, [["render", dr]]), ch = {
|
|
|
3533
3533
|
item: s,
|
|
3534
3534
|
index: o
|
|
3535
3535
|
}, () => [
|
|
3536
|
-
|
|
3536
|
+
$(b(s.description), 1)
|
|
3537
3537
|
])
|
|
3538
3538
|
], 2)
|
|
3539
3539
|
], 2))), 128))
|
|
3540
3540
|
], 2));
|
|
3541
3541
|
}
|
|
3542
|
-
}, fr = ["href", "target"], hr = { class: "external-link__text" },
|
|
3542
|
+
}, fr = ["href", "target"], hr = { class: "external-link__text" }, ch = {
|
|
3543
3543
|
__name: "UluExternalLink",
|
|
3544
3544
|
props: {
|
|
3545
3545
|
/**
|
|
@@ -3570,16 +3570,16 @@ const ah = /* @__PURE__ */ A(or, [["render", dr]]), ch = {
|
|
|
3570
3570
|
}, [
|
|
3571
3571
|
h("span", hr, [
|
|
3572
3572
|
g(n.$slots, "default", {}, () => [
|
|
3573
|
-
|
|
3573
|
+
$(b(e.text), 1)
|
|
3574
3574
|
])
|
|
3575
3575
|
]),
|
|
3576
|
-
|
|
3576
|
+
z(N, {
|
|
3577
3577
|
class: "external-link__icon margin-left-small-x display-inline",
|
|
3578
3578
|
icon: e.icon || "type:externalLink"
|
|
3579
3579
|
}, null, 8, ["icon"])
|
|
3580
3580
|
], 8, fr));
|
|
3581
3581
|
}
|
|
3582
|
-
},
|
|
3582
|
+
}, uh = {
|
|
3583
3583
|
__name: "UluList",
|
|
3584
3584
|
props: {
|
|
3585
3585
|
/**
|
|
@@ -3640,7 +3640,7 @@ const ah = /* @__PURE__ */ A(or, [["render", dr]]), ch = {
|
|
|
3640
3640
|
},
|
|
3641
3641
|
e.classes.list
|
|
3642
3642
|
]),
|
|
3643
|
-
style:
|
|
3643
|
+
style: F({
|
|
3644
3644
|
listStyleType: e.listStyleType
|
|
3645
3645
|
}),
|
|
3646
3646
|
reversed: e.reversed,
|
|
@@ -3655,7 +3655,7 @@ const ah = /* @__PURE__ */ A(or, [["render", dr]]), ch = {
|
|
|
3655
3655
|
item: i,
|
|
3656
3656
|
index: r
|
|
3657
3657
|
}, () => [
|
|
3658
|
-
|
|
3658
|
+
$(b(i), 1)
|
|
3659
3659
|
])
|
|
3660
3660
|
], 2))), 128))
|
|
3661
3661
|
]),
|
|
@@ -3663,12 +3663,12 @@ const ah = /* @__PURE__ */ A(or, [["render", dr]]), ch = {
|
|
|
3663
3663
|
}, 8, ["class", "style", "reversed", "start"]));
|
|
3664
3664
|
}
|
|
3665
3665
|
}, mr = {}, gr = { id: "main-content" };
|
|
3666
|
-
function
|
|
3666
|
+
function vr(e, n) {
|
|
3667
3667
|
return u(), d("main", gr, [
|
|
3668
3668
|
g(e.$slots, "default")
|
|
3669
3669
|
]);
|
|
3670
3670
|
}
|
|
3671
|
-
const
|
|
3671
|
+
const dh = /* @__PURE__ */ O(mr, [["render", vr]]), yr = { class: "spoke-spinner__spinner" }, fh = {
|
|
3672
3672
|
__name: "UluSpokeSpinner",
|
|
3673
3673
|
props: {
|
|
3674
3674
|
/**
|
|
@@ -3680,12 +3680,12 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3680
3680
|
return (n, t) => (u(), d("div", {
|
|
3681
3681
|
class: m(["spoke-spinner", { [`spoke-spinner--${e.type}`]: e.type }])
|
|
3682
3682
|
}, [
|
|
3683
|
-
h("div",
|
|
3683
|
+
h("div", yr, [
|
|
3684
3684
|
(u(), d(R, null, x(12, (s) => h("div", { key: s })), 64))
|
|
3685
3685
|
])
|
|
3686
3686
|
], 2));
|
|
3687
3687
|
}
|
|
3688
|
-
},
|
|
3688
|
+
}, pr = ["role", "aria-labelledby"], br = ["id"], _r = { class: "menu-stack__list" }, wr = { class: "menu-stack__selectable" }, Sr = ["type", "id", "name", "value", "checked", "onChange"], kr = ["for"], _s = {
|
|
3689
3689
|
__name: "UluSelectableMenu",
|
|
3690
3690
|
props: {
|
|
3691
3691
|
/**
|
|
@@ -3714,16 +3714,16 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3714
3714
|
},
|
|
3715
3715
|
emits: ["update:modelValue"],
|
|
3716
3716
|
setup(e, { emit: n }) {
|
|
3717
|
-
const t = e, s = n, o = w(() => t.legend ? t.legend.toLowerCase().replace(/\s+/g, "-") : `menu-${Math.random().toString(36).substring(7)}`), i = w(() => o.value ? `${o.value}-legend` : null), r = w(() => t.type === "radio" ? "radiogroup" : "group"), l = (f) => `${o.value}-${f.uid}`, a = (f) => t.type === "radio" ? t.modelValue === f.uid : Array.isArray(t.modelValue) ? t.modelValue.includes(f.uid) : t.type === "checkbox" && f.checked || !1, c = (f,
|
|
3717
|
+
const t = e, s = n, o = w(() => t.legend ? t.legend.toLowerCase().replace(/\s+/g, "-") : `menu-${Math.random().toString(36).substring(7)}`), i = w(() => o.value ? `${o.value}-legend` : null), r = w(() => t.type === "radio" ? "radiogroup" : "group"), l = (f) => `${o.value}-${f.uid}`, a = (f) => t.type === "radio" ? t.modelValue === f.uid : Array.isArray(t.modelValue) ? t.modelValue.includes(f.uid) : t.type === "checkbox" && f.checked || !1, c = (f, y) => {
|
|
3718
3718
|
if (t.type === "radio")
|
|
3719
3719
|
s("update:modelValue", f.uid);
|
|
3720
3720
|
else if (Array.isArray(t.modelValue)) {
|
|
3721
|
-
const
|
|
3722
|
-
k > -1 ?
|
|
3721
|
+
const v = [...t.modelValue], k = v.indexOf(f.uid);
|
|
3722
|
+
k > -1 ? v.splice(k, 1) : v.push(f.uid), s("update:modelValue", v);
|
|
3723
3723
|
} else
|
|
3724
|
-
f.checked =
|
|
3724
|
+
f.checked = y.target.checked;
|
|
3725
3725
|
};
|
|
3726
|
-
return (f,
|
|
3726
|
+
return (f, y) => (u(), d("div", {
|
|
3727
3727
|
class: m(["menu-stack form-theme", { "menu-stack--hide-inputs": e.hideInputs }]),
|
|
3728
3728
|
role: r.value,
|
|
3729
3729
|
"aria-labelledby": i.value
|
|
@@ -3732,34 +3732,34 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3732
3732
|
key: 0,
|
|
3733
3733
|
id: i.value,
|
|
3734
3734
|
class: "hidden-visually"
|
|
3735
|
-
}, b(e.legend), 9, br)) :
|
|
3735
|
+
}, b(e.legend), 9, br)) : p("", !0),
|
|
3736
3736
|
h("ul", _r, [
|
|
3737
|
-
(u(!0), d(R, null, x(e.options, (
|
|
3737
|
+
(u(!0), d(R, null, x(e.options, (v) => (u(), d("li", {
|
|
3738
3738
|
class: "menu-stack__item",
|
|
3739
|
-
key:
|
|
3739
|
+
key: v.uid
|
|
3740
3740
|
}, [
|
|
3741
3741
|
h("div", wr, [
|
|
3742
3742
|
h("input", {
|
|
3743
3743
|
type: e.type,
|
|
3744
|
-
id: l(
|
|
3744
|
+
id: l(v),
|
|
3745
3745
|
name: o.value,
|
|
3746
|
-
value:
|
|
3747
|
-
checked: a(
|
|
3748
|
-
onChange: (k) => c(
|
|
3746
|
+
value: v.uid,
|
|
3747
|
+
checked: a(v),
|
|
3748
|
+
onChange: (k) => c(v, k)
|
|
3749
3749
|
}, null, 40, Sr),
|
|
3750
3750
|
h("label", {
|
|
3751
|
-
for: l(
|
|
3751
|
+
for: l(v)
|
|
3752
3752
|
}, [
|
|
3753
|
-
g(f.$slots, "default", { option:
|
|
3754
|
-
|
|
3753
|
+
g(f.$slots, "default", { option: v }, () => [
|
|
3754
|
+
$(b(v?.label || v?.title || v?.text), 1)
|
|
3755
3755
|
])
|
|
3756
3756
|
], 8, kr)
|
|
3757
3757
|
])
|
|
3758
3758
|
]))), 128))
|
|
3759
3759
|
])
|
|
3760
|
-
], 10,
|
|
3760
|
+
], 10, pr));
|
|
3761
3761
|
}
|
|
3762
|
-
},
|
|
3762
|
+
}, $r = ["href", "download"], Cr = { class: "margin-left-small-x" }, hh = {
|
|
3763
3763
|
__name: "UluFileDisplay",
|
|
3764
3764
|
props: {
|
|
3765
3765
|
/**
|
|
@@ -3795,13 +3795,13 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3795
3795
|
fileName: e.file.name,
|
|
3796
3796
|
fileSize: s.value
|
|
3797
3797
|
}, () => [
|
|
3798
|
-
|
|
3798
|
+
z(N, {
|
|
3799
3799
|
class: "ui-icon",
|
|
3800
3800
|
icon: e.icon
|
|
3801
3801
|
}, null, 8, ["icon"]),
|
|
3802
|
-
h("span",
|
|
3803
|
-
|
|
3804
|
-
e.noFileSize ?
|
|
3802
|
+
h("span", Cr, [
|
|
3803
|
+
$(b(e.file.name) + " ", 1),
|
|
3804
|
+
e.noFileSize ? p("", !0) : (u(), _(gs, {
|
|
3805
3805
|
key: 0,
|
|
3806
3806
|
text: s.value,
|
|
3807
3807
|
small: "",
|
|
@@ -3809,9 +3809,9 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3809
3809
|
}, null, 8, ["text"]))
|
|
3810
3810
|
])
|
|
3811
3811
|
])
|
|
3812
|
-
], 8,
|
|
3812
|
+
], 8, $r));
|
|
3813
3813
|
}
|
|
3814
|
-
}, Tr = { class: "site-form__item site-form__item--file" }, Ar = ["for"], Or = ["multiple", "id"],
|
|
3814
|
+
}, Tr = { class: "site-form__item site-form__item--file" }, Ar = ["for"], Or = ["multiple", "id"], mh = {
|
|
3815
3815
|
__name: "UluFormFile",
|
|
3816
3816
|
props: {
|
|
3817
3817
|
/**
|
|
@@ -3849,21 +3849,21 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3849
3849
|
return (r, l) => (u(), d("div", Tr, [
|
|
3850
3850
|
h("label", {
|
|
3851
3851
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3852
|
-
for:
|
|
3852
|
+
for: A(o)
|
|
3853
3853
|
}, [
|
|
3854
3854
|
g(r.$slots, "label", {}, () => [
|
|
3855
|
-
|
|
3855
|
+
$(b(e.label), 1)
|
|
3856
3856
|
])
|
|
3857
3857
|
], 10, Ar),
|
|
3858
3858
|
h("input", ie({
|
|
3859
3859
|
type: "file",
|
|
3860
3860
|
onChange: i,
|
|
3861
3861
|
multiple: e.multiple,
|
|
3862
|
-
id:
|
|
3862
|
+
id: A(o)
|
|
3863
3863
|
}, e.inputAttrs), null, 16, Or)
|
|
3864
3864
|
]));
|
|
3865
3865
|
}
|
|
3866
|
-
},
|
|
3866
|
+
}, gh = {
|
|
3867
3867
|
__name: "UluFormMessage",
|
|
3868
3868
|
props: {
|
|
3869
3869
|
/**
|
|
@@ -3885,7 +3885,7 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3885
3885
|
e.error || e.warning ? (u(), _(N, {
|
|
3886
3886
|
key: 0,
|
|
3887
3887
|
icon: `type:${e.error ? "error" : "warning"}`
|
|
3888
|
-
}, null, 8, ["icon"])) :
|
|
3888
|
+
}, null, 8, ["icon"])) : p("", !0),
|
|
3889
3889
|
g(n.$slots, "default")
|
|
3890
3890
|
], 2));
|
|
3891
3891
|
}
|
|
@@ -3918,14 +3918,14 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3918
3918
|
return (s, o) => (u(), d("div", xr, [
|
|
3919
3919
|
h("label", {
|
|
3920
3920
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3921
|
-
for:
|
|
3921
|
+
for: A(t)
|
|
3922
3922
|
}, [
|
|
3923
3923
|
g(s.$slots, "default", {}, () => [
|
|
3924
|
-
|
|
3924
|
+
$(b(e.label), 1)
|
|
3925
3925
|
])
|
|
3926
3926
|
], 10, Rr),
|
|
3927
3927
|
h("select", {
|
|
3928
|
-
id:
|
|
3928
|
+
id: A(t),
|
|
3929
3929
|
value: e.modelValue,
|
|
3930
3930
|
onInput: o[0] || (o[0] = (i) => s.$emit("update:modelValue", i.target.value))
|
|
3931
3931
|
}, [
|
|
@@ -3940,7 +3940,7 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3940
3940
|
], 40, Er)
|
|
3941
3941
|
]));
|
|
3942
3942
|
}
|
|
3943
|
-
},
|
|
3943
|
+
}, Ir = { class: "site-form__item site-form__item--text" }, zr = ["for"], Mr = ["value", "id"], yh = {
|
|
3944
3944
|
__name: "UluFormText",
|
|
3945
3945
|
props: {
|
|
3946
3946
|
/**
|
|
@@ -3962,27 +3962,27 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
3962
3962
|
let s = 0;
|
|
3963
3963
|
return () => `text-input-id-${++s}`;
|
|
3964
3964
|
})())();
|
|
3965
|
-
return (s, o) => (u(), d("div",
|
|
3965
|
+
return (s, o) => (u(), d("div", Ir, [
|
|
3966
3966
|
h("label", {
|
|
3967
3967
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3968
|
-
for:
|
|
3968
|
+
for: A(t)
|
|
3969
3969
|
}, [
|
|
3970
3970
|
g(s.$slots, "default", {}, () => [
|
|
3971
|
-
|
|
3971
|
+
$(b(e.label), 1)
|
|
3972
3972
|
])
|
|
3973
|
-
], 10,
|
|
3973
|
+
], 10, zr),
|
|
3974
3974
|
h("input", {
|
|
3975
3975
|
type: "text",
|
|
3976
3976
|
value: e.modelValue,
|
|
3977
3977
|
onInput: o[0] || (o[0] = (i) => s.$emit("update:modelValue", i.target.value)),
|
|
3978
|
-
id:
|
|
3978
|
+
id: A(t)
|
|
3979
3979
|
}, null, 40, Mr)
|
|
3980
3980
|
]));
|
|
3981
3981
|
}
|
|
3982
3982
|
}, Ur = { class: "form-theme search-form type-small" }, Br = { class: "search-form__field" }, Pr = ["placeholder"], Lr = {
|
|
3983
3983
|
class: "search-form__submit button button--primary",
|
|
3984
3984
|
"aria-label": "Submit Search"
|
|
3985
|
-
},
|
|
3985
|
+
}, ph = {
|
|
3986
3986
|
__name: "UluSearchForm",
|
|
3987
3987
|
props: {
|
|
3988
3988
|
/**
|
|
@@ -4005,22 +4005,22 @@ const fh = /* @__PURE__ */ A(mr, [["render", pr]]), vr = { class: "spoke-spinner
|
|
|
4005
4005
|
}, null, 8, Pr)
|
|
4006
4006
|
]),
|
|
4007
4007
|
h("button", Lr, [
|
|
4008
|
-
|
|
4008
|
+
z(N, { icon: "type:search" })
|
|
4009
4009
|
])
|
|
4010
4010
|
]));
|
|
4011
4011
|
}
|
|
4012
|
-
},
|
|
4012
|
+
}, bh = {
|
|
4013
4013
|
__name: "UluAdaptiveLayout",
|
|
4014
4014
|
setup(e) {
|
|
4015
|
-
const n =
|
|
4016
|
-
return (t, s) => !
|
|
4015
|
+
const n = Ci("uluIsMobile");
|
|
4016
|
+
return (t, s) => !A(n) || !t.$slots.mobile ? g(t.$slots, "default", { key: 0 }) : g(t.$slots, "mobile", { key: 1 });
|
|
4017
4017
|
}
|
|
4018
4018
|
};
|
|
4019
|
-
function
|
|
4019
|
+
function Vr(e) {
|
|
4020
4020
|
var n;
|
|
4021
4021
|
return e = e.replace(/^[^-_a-zA-Z]+/, "").replace(/^-(?:[-0-9]+)/, "-"), n = e && e.replace(/[^-_a-zA-Z0-9]+/g, "-"), n.toLowerCase();
|
|
4022
4022
|
}
|
|
4023
|
-
function
|
|
4023
|
+
function Fr(e, n = {
|
|
4024
4024
|
columnFirst: "position-column-first",
|
|
4025
4025
|
columnLast: "position-column-last",
|
|
4026
4026
|
rowFirst: "position-row-first",
|
|
@@ -4040,8 +4040,8 @@ function Vr(e, n = {
|
|
|
4040
4040
|
const Hr = {
|
|
4041
4041
|
name: "UluDataGrid",
|
|
4042
4042
|
async mounted() {
|
|
4043
|
-
const e = () =>
|
|
4044
|
-
e(), this.resizeHandler =
|
|
4043
|
+
const e = () => Fr(this.$el);
|
|
4044
|
+
e(), this.resizeHandler = mt(e, 200, !1, this), window.addEventListener("resize", this.resizeHandler);
|
|
4045
4045
|
},
|
|
4046
4046
|
beforeUnmount() {
|
|
4047
4047
|
this.resizeHandler && window.removeEventListener("resize", this.resizeHandler);
|
|
@@ -4052,7 +4052,7 @@ function Nr(e, n, t, s, o, i) {
|
|
|
4052
4052
|
g(e.$slots, "default")
|
|
4053
4053
|
]);
|
|
4054
4054
|
}
|
|
4055
|
-
const
|
|
4055
|
+
const _h = /* @__PURE__ */ O(Hr, [["render", Nr]]), Dr = {
|
|
4056
4056
|
name: "UluTitleRail",
|
|
4057
4057
|
components: {
|
|
4058
4058
|
UluIcon: N
|
|
@@ -4111,16 +4111,16 @@ function Xr(e, n, t, s, o, i) {
|
|
|
4111
4111
|
}, [
|
|
4112
4112
|
(u(), _(P(t.titleElement), {
|
|
4113
4113
|
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
4114
|
-
style:
|
|
4114
|
+
style: F({ alignItems: t.iconAlign })
|
|
4115
4115
|
}, {
|
|
4116
4116
|
default: S(() => [
|
|
4117
4117
|
t.icon ? (u(), _(r, {
|
|
4118
4118
|
key: 0,
|
|
4119
4119
|
class: m(t.classes.icon),
|
|
4120
4120
|
icon: t.icon
|
|
4121
|
-
}, null, 8, ["class", "icon"])) :
|
|
4121
|
+
}, null, 8, ["class", "icon"])) : p("", !0),
|
|
4122
4122
|
g(e.$slots, "default", {}, () => [
|
|
4123
|
-
|
|
4123
|
+
$(b(t.title), 1)
|
|
4124
4124
|
])
|
|
4125
4125
|
]),
|
|
4126
4126
|
_: 3
|
|
@@ -4128,10 +4128,10 @@ function Xr(e, n, t, s, o, i) {
|
|
|
4128
4128
|
], 2),
|
|
4129
4129
|
e.$slots.end ? (u(), d("div", Wr, [
|
|
4130
4130
|
g(e.$slots, "end")
|
|
4131
|
-
])) :
|
|
4131
|
+
])) : p("", !0)
|
|
4132
4132
|
], 2);
|
|
4133
4133
|
}
|
|
4134
|
-
const
|
|
4134
|
+
const wh = /* @__PURE__ */ O(Dr, [["render", Xr]]), Yr = {
|
|
4135
4135
|
name: "UluBreadcrumb",
|
|
4136
4136
|
components: {
|
|
4137
4137
|
UluIcon: N
|
|
@@ -4185,7 +4185,7 @@ function qr(e, n, t, s, o, i) {
|
|
|
4185
4185
|
class: m(a.current)
|
|
4186
4186
|
}, [
|
|
4187
4187
|
g(e.$slots, "default", { item: a }, () => [
|
|
4188
|
-
|
|
4188
|
+
$(b(a.title), 1)
|
|
4189
4189
|
])
|
|
4190
4190
|
], 2)) : (u(), _(r, {
|
|
4191
4191
|
key: 0,
|
|
@@ -4195,25 +4195,25 @@ function qr(e, n, t, s, o, i) {
|
|
|
4195
4195
|
}, {
|
|
4196
4196
|
default: S(() => [
|
|
4197
4197
|
g(e.$slots, "default", { item: a }, () => [
|
|
4198
|
-
|
|
4198
|
+
$(b(a.title), 1)
|
|
4199
4199
|
])
|
|
4200
4200
|
]),
|
|
4201
4201
|
_: 2
|
|
4202
4202
|
}, 1032, ["to", "class", "aria-current"])),
|
|
4203
4203
|
c < t.items.length - 1 ? g(e.$slots, "separator", { key: 2 }, () => [
|
|
4204
|
-
|
|
4204
|
+
z(l, {
|
|
4205
4205
|
class: m(t.classes.separator),
|
|
4206
4206
|
icon: t.separatorIcon || "type:pathSeparator"
|
|
4207
4207
|
}, null, 8, ["class", "icon"])
|
|
4208
|
-
]) :
|
|
4208
|
+
]) : p("", !0)
|
|
4209
4209
|
], 2))), 128))
|
|
4210
4210
|
], 2)
|
|
4211
|
-
], 2)) :
|
|
4211
|
+
], 2)) : p("", !0);
|
|
4212
4212
|
}
|
|
4213
|
-
const
|
|
4213
|
+
const Sh = /* @__PURE__ */ O(Yr, [["render", qr]]), Gr = {
|
|
4214
4214
|
name: "UluNavStrip",
|
|
4215
4215
|
components: {
|
|
4216
|
-
UluMenu:
|
|
4216
|
+
UluMenu: vs
|
|
4217
4217
|
},
|
|
4218
4218
|
props: {
|
|
4219
4219
|
/**
|
|
@@ -4243,7 +4243,7 @@ function Kr(e, n, t, s, o, i) {
|
|
|
4243
4243
|
"nav-strip--right": t.right
|
|
4244
4244
|
}])
|
|
4245
4245
|
}, [
|
|
4246
|
-
|
|
4246
|
+
z(r, {
|
|
4247
4247
|
items: t.items,
|
|
4248
4248
|
classes: {
|
|
4249
4249
|
list: "nav-strip__list",
|
|
@@ -4254,14 +4254,14 @@ function Kr(e, n, t, s, o, i) {
|
|
|
4254
4254
|
}, null, 8, ["items"])
|
|
4255
4255
|
], 2);
|
|
4256
4256
|
}
|
|
4257
|
-
const
|
|
4257
|
+
const kh = /* @__PURE__ */ O(Gr, [["render", Kr]]), Zr = {}, Jr = {
|
|
4258
4258
|
class: "site-skip-link hidden-visually-focusable",
|
|
4259
4259
|
href: "#main-content"
|
|
4260
4260
|
};
|
|
4261
4261
|
function Qr(e, n) {
|
|
4262
4262
|
return u(), d("a", Jr, " Skip to main content ");
|
|
4263
4263
|
}
|
|
4264
|
-
const $h = /* @__PURE__ */
|
|
4264
|
+
const $h = /* @__PURE__ */ O(Zr, [["render", Qr]]), el = {
|
|
4265
4265
|
name: "UluCondText",
|
|
4266
4266
|
props: {
|
|
4267
4267
|
/**
|
|
@@ -4280,21 +4280,21 @@ const $h = /* @__PURE__ */ A(Zr, [["render", Qr]]), el = {
|
|
|
4280
4280
|
function tl(e, n, t, s, o, i) {
|
|
4281
4281
|
return t.text != null ? (u(), _(P(t.element), { key: 0 }, {
|
|
4282
4282
|
default: S(() => [
|
|
4283
|
-
|
|
4283
|
+
$(b(t.text), 1)
|
|
4284
4284
|
]),
|
|
4285
4285
|
_: 1
|
|
4286
|
-
})) :
|
|
4286
|
+
})) : p("", !0);
|
|
4287
4287
|
}
|
|
4288
|
-
const
|
|
4288
|
+
const Ch = /* @__PURE__ */ O(el, [["render", tl]]), nl = {}, sl = { style: { display: "none" } };
|
|
4289
4289
|
function ol(e, n) {
|
|
4290
4290
|
return u(), d("span", sl);
|
|
4291
4291
|
}
|
|
4292
|
-
const
|
|
4292
|
+
const Th = /* @__PURE__ */ O(nl, [["render", ol]]), il = {};
|
|
4293
4293
|
function rl(e, n) {
|
|
4294
4294
|
const t = H("router-view");
|
|
4295
4295
|
return u(), _(t);
|
|
4296
4296
|
}
|
|
4297
|
-
const
|
|
4297
|
+
const Ah = /* @__PURE__ */ O(il, [["render", rl]]);
|
|
4298
4298
|
function lt(e = 0, n = 100) {
|
|
4299
4299
|
return e = Math.ceil(e), n = Math.floor(n), Math.floor(Math.random() * (n - e) + e);
|
|
4300
4300
|
}
|
|
@@ -4345,7 +4345,7 @@ function cl(e, n, t, s, o, i) {
|
|
|
4345
4345
|
alt: t.alt
|
|
4346
4346
|
}, null, 8, al);
|
|
4347
4347
|
}
|
|
4348
|
-
const
|
|
4348
|
+
const Oh = /* @__PURE__ */ O(ll, [["render", cl]]), ul = {
|
|
4349
4349
|
name: "PlaceholderText",
|
|
4350
4350
|
props: {
|
|
4351
4351
|
amount: {
|
|
@@ -4361,12 +4361,12 @@ const xh = /* @__PURE__ */ A(ll, [["render", cl]]), ul = {
|
|
|
4361
4361
|
function dl(e, n, t, s, o, i) {
|
|
4362
4362
|
return u(!0), d(R, null, x(parseInt(t.amount), (r) => (u(), _(P(t.element), { key: r }, {
|
|
4363
4363
|
default: S(() => [...n[0] || (n[0] = [
|
|
4364
|
-
|
|
4364
|
+
$(" 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)
|
|
4365
4365
|
])]),
|
|
4366
4366
|
_: 2
|
|
4367
4367
|
}, 1024))), 128);
|
|
4368
4368
|
}
|
|
4369
|
-
const
|
|
4369
|
+
const xh = /* @__PURE__ */ O(ul, [["render", dl]]), fl = {
|
|
4370
4370
|
name: "RouteAnnouncer",
|
|
4371
4371
|
props: {
|
|
4372
4372
|
/**
|
|
@@ -4417,9 +4417,9 @@ function hl(e, n, t, s, o, i) {
|
|
|
4417
4417
|
tabindex: "-1",
|
|
4418
4418
|
class: "hidden-visually",
|
|
4419
4419
|
ref: "el"
|
|
4420
|
-
}, b(i.title), 513)) :
|
|
4420
|
+
}, b(i.title), 513)) : p("", !0);
|
|
4421
4421
|
}
|
|
4422
|
-
const
|
|
4422
|
+
const Rh = /* @__PURE__ */ O(fl, [["render", hl]]), ml = {
|
|
4423
4423
|
name: "AnimateNumber",
|
|
4424
4424
|
props: {
|
|
4425
4425
|
/**
|
|
@@ -4447,33 +4447,50 @@ const Eh = /* @__PURE__ */ A(fl, [["render", hl]]), ml = {
|
|
|
4447
4447
|
function gl(e, n, t, s, o, i) {
|
|
4448
4448
|
return u(), d("span", null, [
|
|
4449
4449
|
g(e.$slots, "default", { currentValue: o.currentValue }, () => [
|
|
4450
|
-
|
|
4450
|
+
$(b(o.currentValue), 1)
|
|
4451
4451
|
])
|
|
4452
4452
|
]);
|
|
4453
4453
|
}
|
|
4454
|
-
const
|
|
4454
|
+
const Eh = /* @__PURE__ */ O(ml, [["render", gl]]), vl = {
|
|
4455
4455
|
key: 0,
|
|
4456
4456
|
class: "progress-bar__header"
|
|
4457
|
-
},
|
|
4457
|
+
}, yl = {
|
|
4458
4458
|
key: 1,
|
|
4459
|
+
class: "progress-bar__value progress-bar__value--amount"
|
|
4460
|
+
}, pl = {
|
|
4461
|
+
key: 2,
|
|
4459
4462
|
class: "progress-bar__icon"
|
|
4460
|
-
},
|
|
4463
|
+
}, bl = { class: "progress-bar__track" }, _l = {
|
|
4461
4464
|
key: 1,
|
|
4462
4465
|
class: "progress-bar__values"
|
|
4463
|
-
},
|
|
4466
|
+
}, wl = { class: "progress-bar__value progress-bar__value--amount" }, Sl = {
|
|
4464
4467
|
key: 0,
|
|
4465
4468
|
class: "progress-bar__value progress-bar__value--deficit"
|
|
4466
|
-
},
|
|
4469
|
+
}, kl = { class: "progress-bar__value progress-bar__value--total" }, jh = {
|
|
4467
4470
|
__name: "UluProgressBar",
|
|
4468
4471
|
props: {
|
|
4469
4472
|
/**
|
|
4470
|
-
* The label to display above the progress bar.
|
|
4473
|
+
* The label to display above the progress bar. (or use label slot)
|
|
4471
4474
|
*/
|
|
4472
4475
|
label: String,
|
|
4473
4476
|
/**
|
|
4474
4477
|
* Hides the label visually, but keeps it for screen readers.
|
|
4475
4478
|
*/
|
|
4476
4479
|
labelHidden: Boolean,
|
|
4480
|
+
/**
|
|
4481
|
+
* Optional classes object (currently only allowing { label } class)
|
|
4482
|
+
*/
|
|
4483
|
+
classes: {
|
|
4484
|
+
type: Object,
|
|
4485
|
+
default: () => ({})
|
|
4486
|
+
},
|
|
4487
|
+
/**
|
|
4488
|
+
* Element to use for label
|
|
4489
|
+
*/
|
|
4490
|
+
labelElement: {
|
|
4491
|
+
type: String,
|
|
4492
|
+
default: "strong"
|
|
4493
|
+
},
|
|
4477
4494
|
/**
|
|
4478
4495
|
* The current amount of progress.
|
|
4479
4496
|
*/
|
|
@@ -4514,7 +4531,23 @@ const jh = /* @__PURE__ */ A(ml, [["render", gl]]), pl = {
|
|
|
4514
4531
|
/**
|
|
4515
4532
|
* Applies an indeterminate animation for unknown progress.
|
|
4516
4533
|
*/
|
|
4517
|
-
indeterminate: Boolean
|
|
4534
|
+
indeterminate: Boolean,
|
|
4535
|
+
/**
|
|
4536
|
+
* Omit values from output (the numbers below the progress bar)
|
|
4537
|
+
*/
|
|
4538
|
+
noValues: Boolean,
|
|
4539
|
+
/**
|
|
4540
|
+
* A function to format the numerical values (amount, deficit, total).
|
|
4541
|
+
* Takes the value and type ('amount', 'deficit', 'total') as input and should return a string.
|
|
4542
|
+
*/
|
|
4543
|
+
formatValue: {
|
|
4544
|
+
type: Function,
|
|
4545
|
+
default: (e, n) => e
|
|
4546
|
+
},
|
|
4547
|
+
/**
|
|
4548
|
+
* Will put the amount only in header (there is a headerValue slot it you want to format)
|
|
4549
|
+
*/
|
|
4550
|
+
amountInHeader: Boolean
|
|
4518
4551
|
},
|
|
4519
4552
|
setup(e) {
|
|
4520
4553
|
const n = e, t = (r, l) => `${l === 0 ? 0 : r / l * 100}%`, s = w(() => n.indeterminate ? null : t(n.amount, n.total)), o = w(() => t(n.deficit, n.total)), i = w(() => ({
|
|
@@ -4530,44 +4563,72 @@ const jh = /* @__PURE__ */ A(ml, [["render", gl]]), pl = {
|
|
|
4530
4563
|
return (r, l) => (u(), d("div", {
|
|
4531
4564
|
class: m(i.value)
|
|
4532
4565
|
}, [
|
|
4533
|
-
e.label || r.$slots.icon ? (u(), d("div",
|
|
4534
|
-
e.label ? (u(),
|
|
4566
|
+
e.label || r.$slots.label || r.$slots.icon || e.amountInHeader ? (u(), d("div", vl, [
|
|
4567
|
+
e.label ? (u(), _(P(e.labelElement), {
|
|
4535
4568
|
key: 0,
|
|
4536
|
-
class: m(["progress-bar__label", { "hidden-visually": e.labelHidden }])
|
|
4537
|
-
},
|
|
4538
|
-
|
|
4569
|
+
class: m(["progress-bar__label", [e.classes.label, { "hidden-visually": e.labelHidden }]])
|
|
4570
|
+
}, {
|
|
4571
|
+
default: S(() => [
|
|
4572
|
+
g(r.$slots, "label", {}, () => [
|
|
4573
|
+
$(b(e.label), 1)
|
|
4574
|
+
])
|
|
4575
|
+
]),
|
|
4576
|
+
_: 3
|
|
4577
|
+
}, 8, ["class"])) : p("", !0),
|
|
4578
|
+
e.amountInHeader ? (u(), d("div", yl, [
|
|
4579
|
+
l[0] || (l[0] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
4580
|
+
g(r.$slots, "valueAmount", { value: e.amount }, () => [
|
|
4581
|
+
$(b(e.formatValue(e.amount, "amount")), 1)
|
|
4582
|
+
])
|
|
4583
|
+
])) : p("", !0),
|
|
4584
|
+
r.$slots.icon ? (u(), d("div", pl, [
|
|
4539
4585
|
g(r.$slots, "icon")
|
|
4540
|
-
])) :
|
|
4541
|
-
])) :
|
|
4542
|
-
h("div",
|
|
4586
|
+
])) : p("", !0)
|
|
4587
|
+
])) : p("", !0),
|
|
4588
|
+
h("div", bl, [
|
|
4543
4589
|
h("div", {
|
|
4544
4590
|
class: "progress-bar__bar",
|
|
4545
|
-
style:
|
|
4591
|
+
style: F({ width: s.value })
|
|
4546
4592
|
}, null, 4),
|
|
4547
4593
|
e.deficit > 0 ? (u(), d("div", {
|
|
4548
4594
|
key: 0,
|
|
4549
4595
|
class: "progress-bar__bar--deficit",
|
|
4550
|
-
style:
|
|
4551
|
-
}, null, 4)) :
|
|
4596
|
+
style: F({ width: o.value })
|
|
4597
|
+
}, null, 4)) : p("", !0)
|
|
4552
4598
|
]),
|
|
4553
|
-
!e.loader && !e.indeterminate ? (u(), d("div",
|
|
4554
|
-
h("div",
|
|
4555
|
-
l[
|
|
4556
|
-
|
|
4599
|
+
!e.noValues && !e.amountInHeader && !e.loader && !e.indeterminate ? (u(), d("div", _l, [
|
|
4600
|
+
h("div", wl, [
|
|
4601
|
+
l[1] || (l[1] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
4602
|
+
g(r.$slots, "valueAmount", { value: e.amount }, () => [
|
|
4603
|
+
$(b(e.formatValue(e.amount, "amount")), 1)
|
|
4604
|
+
])
|
|
4557
4605
|
]),
|
|
4558
|
-
e.deficit > 0 ? (u(), d("div",
|
|
4559
|
-
l[
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4606
|
+
e.deficit > 0 ? (u(), d("div", Sl, [
|
|
4607
|
+
l[2] || (l[2] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
|
|
4608
|
+
g(r.$slots, "valueDeficit", { value: e.deficit }, () => [
|
|
4609
|
+
$("-" + b(e.formatValue(e.deficit, "deficit")), 1)
|
|
4610
|
+
])
|
|
4611
|
+
])) : p("", !0),
|
|
4612
|
+
h("div", kl, [
|
|
4613
|
+
l[3] || (l[3] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
|
|
4614
|
+
g(r.$slots, "valueTotal", { value: e.total }, () => [
|
|
4615
|
+
$(b(e.formatValue(e.total, "total")), 1)
|
|
4616
|
+
])
|
|
4565
4617
|
])
|
|
4566
|
-
])) :
|
|
4618
|
+
])) : p("", !0)
|
|
4567
4619
|
], 2));
|
|
4568
4620
|
}
|
|
4569
|
-
},
|
|
4570
|
-
|
|
4621
|
+
}, $l = { class: "hidden-visually" }, Cl = { class: "progress-circle__chart" }, Tl = {
|
|
4622
|
+
class: "progress-circle__chart-svg",
|
|
4623
|
+
viewBox: "0 0 32 32"
|
|
4624
|
+
}, Al = {
|
|
4625
|
+
key: 0,
|
|
4626
|
+
class: "progress-circle__chart-value"
|
|
4627
|
+
}, Ol = {
|
|
4628
|
+
key: 0,
|
|
4629
|
+
class: "progress-circle__value type-small-x"
|
|
4630
|
+
}, Ih = {
|
|
4631
|
+
__name: "UluProgressCircle",
|
|
4571
4632
|
props: {
|
|
4572
4633
|
/**
|
|
4573
4634
|
* The label for accessibility (visually hidden).
|
|
@@ -4583,6 +4644,18 @@ const jh = /* @__PURE__ */ A(ml, [["render", gl]]), pl = {
|
|
|
4583
4644
|
type: Number,
|
|
4584
4645
|
default: 0
|
|
4585
4646
|
},
|
|
4647
|
+
/**
|
|
4648
|
+
* A function to format the percentage value.
|
|
4649
|
+
* Takes the number as input and should return a string.
|
|
4650
|
+
*/
|
|
4651
|
+
formatValue: {
|
|
4652
|
+
type: Function,
|
|
4653
|
+
default: (e) => `${e}%`
|
|
4654
|
+
},
|
|
4655
|
+
/**
|
|
4656
|
+
* Hides the percentage value display.
|
|
4657
|
+
*/
|
|
4658
|
+
noValue: Boolean,
|
|
4586
4659
|
/**
|
|
4587
4660
|
* Renders a smaller version of the component.
|
|
4588
4661
|
*/
|
|
@@ -4627,89 +4700,70 @@ const jh = /* @__PURE__ */ A(ml, [["render", gl]]), pl = {
|
|
|
4627
4700
|
// Matches SCSS animation-timing
|
|
4628
4701
|
}
|
|
4629
4702
|
},
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
},
|
|
4640
|
-
|
|
4641
|
-
return this.outside || this.outsideBelow || this.small;
|
|
4642
|
-
},
|
|
4643
|
-
componentClasses() {
|
|
4644
|
-
const e = {
|
|
4703
|
+
setup(e) {
|
|
4704
|
+
const n = e, t = I(null), s = (a) => a === 100 ? 101 : a, o = (a = 0) => {
|
|
4705
|
+
if (!t.value || !t.value.animate) return;
|
|
4706
|
+
const c = { strokeDasharray: [`${a} 100`, i.value] };
|
|
4707
|
+
t.value.animate(c, { duration: n.duration, easing: n.easing, fill: "forwards" });
|
|
4708
|
+
};
|
|
4709
|
+
He(() => n.percentage, (a, c) => {
|
|
4710
|
+
a !== c && o(s(c));
|
|
4711
|
+
});
|
|
4712
|
+
const i = w(() => `${s(n.percentage)} 100`), r = w(() => n.outside || n.outsideBelow || n.small), l = w(() => {
|
|
4713
|
+
const a = {
|
|
4645
4714
|
"progress-circle": !0,
|
|
4646
|
-
"progress-circle--small":
|
|
4647
|
-
"progress-circle--pie":
|
|
4648
|
-
"progress-circle--outside":
|
|
4649
|
-
"progress-circle--outside-below":
|
|
4650
|
-
"progress-circle--no-mask":
|
|
4715
|
+
"progress-circle--small": n.small,
|
|
4716
|
+
"progress-circle--pie": n.pieStyle,
|
|
4717
|
+
"progress-circle--outside": r.value,
|
|
4718
|
+
"progress-circle--outside-below": n.outsideBelow,
|
|
4719
|
+
"progress-circle--no-mask": n.noMask
|
|
4651
4720
|
};
|
|
4652
|
-
return
|
|
4653
|
-
}
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
},
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4721
|
+
return n.status && (a[`progress-circle--${n.status}`] = !0), a;
|
|
4722
|
+
});
|
|
4723
|
+
return dt(() => {
|
|
4724
|
+
o();
|
|
4725
|
+
}), (a, c) => (u(), d("div", {
|
|
4726
|
+
class: m(l.value)
|
|
4727
|
+
}, [
|
|
4728
|
+
h("strong", $l, b(e.label), 1),
|
|
4729
|
+
h("div", Cl, [
|
|
4730
|
+
(u(), d("svg", Tl, [
|
|
4731
|
+
c[0] || (c[0] = h("circle", {
|
|
4732
|
+
class: "progress-circle__chart-track",
|
|
4733
|
+
r: "16",
|
|
4734
|
+
cx: "16",
|
|
4735
|
+
cy: "16"
|
|
4736
|
+
}, null, -1)),
|
|
4737
|
+
h("circle", {
|
|
4738
|
+
class: "progress-circle__chart-pie",
|
|
4739
|
+
ref_key: "pie",
|
|
4740
|
+
ref: t,
|
|
4741
|
+
r: "16",
|
|
4742
|
+
cx: "16",
|
|
4743
|
+
cy: "16",
|
|
4744
|
+
style: F({ strokeDasharray: i.value })
|
|
4745
|
+
}, null, 4),
|
|
4746
|
+
c[1] || (c[1] = h("circle", {
|
|
4747
|
+
class: "progress-circle__chart-mask",
|
|
4748
|
+
cx: "16",
|
|
4749
|
+
cy: "16"
|
|
4750
|
+
}, null, -1))
|
|
4751
|
+
])),
|
|
4752
|
+
!r.value && !e.noValue ? (u(), d("strong", Al, [
|
|
4753
|
+
g(a.$slots, "value", { value: e.percentage }, () => [
|
|
4754
|
+
$(b(e.formatValue(e.percentage)), 1)
|
|
4755
|
+
])
|
|
4756
|
+
])) : p("", !0)
|
|
4757
|
+
]),
|
|
4758
|
+
r.value && !e.noValue ? (u(), d("strong", Ol, [
|
|
4759
|
+
g(a.$slots, "value", { value: e.percentage }, () => [
|
|
4760
|
+
$(b(e.formatValue(e.percentage)), 1)
|
|
4761
|
+
])
|
|
4762
|
+
])) : p("", !0)
|
|
4763
|
+
], 2));
|
|
4668
4764
|
}
|
|
4669
|
-
}, Cl = { class: "hidden-visually" }, $l = { class: "progress-circle__chart" }, Tl = {
|
|
4670
|
-
class: "progress-circle__chart-svg",
|
|
4671
|
-
viewBox: "0 0 32 32"
|
|
4672
|
-
}, Al = {
|
|
4673
|
-
key: 0,
|
|
4674
|
-
class: "progress-circle__chart-value"
|
|
4675
|
-
}, Ol = {
|
|
4676
|
-
key: 0,
|
|
4677
|
-
class: "progress-circle__value type-small-x"
|
|
4678
4765
|
};
|
|
4679
|
-
function xl(e, n
|
|
4680
|
-
return u(), d("div", {
|
|
4681
|
-
class: m(i.componentClasses)
|
|
4682
|
-
}, [
|
|
4683
|
-
h("strong", Cl, b(t.label), 1),
|
|
4684
|
-
h("div", $l, [
|
|
4685
|
-
(u(), d("svg", Tl, [
|
|
4686
|
-
n[0] || (n[0] = h("circle", {
|
|
4687
|
-
class: "progress-circle__chart-track",
|
|
4688
|
-
r: "16",
|
|
4689
|
-
cx: "16",
|
|
4690
|
-
cy: "16"
|
|
4691
|
-
}, null, -1)),
|
|
4692
|
-
h("circle", {
|
|
4693
|
-
class: "progress-circle__chart-pie",
|
|
4694
|
-
ref: "pie",
|
|
4695
|
-
r: "16",
|
|
4696
|
-
cx: "16",
|
|
4697
|
-
cy: "16",
|
|
4698
|
-
style: V({ strokeDasharray: i.endDasharray })
|
|
4699
|
-
}, null, 4),
|
|
4700
|
-
n[1] || (n[1] = h("circle", {
|
|
4701
|
-
class: "progress-circle__chart-mask",
|
|
4702
|
-
cx: "16",
|
|
4703
|
-
cy: "16"
|
|
4704
|
-
}, null, -1))
|
|
4705
|
-
])),
|
|
4706
|
-
i.showValueOutside ? y("", !0) : (u(), d("strong", Al, b(t.percentage) + "% ", 1))
|
|
4707
|
-
]),
|
|
4708
|
-
i.showValueOutside ? (u(), d("strong", Ol, b(t.percentage) + "% ", 1)) : y("", !0)
|
|
4709
|
-
], 2);
|
|
4710
|
-
}
|
|
4711
|
-
const Ih = /* @__PURE__ */ A(kl, [["render", xl]]);
|
|
4712
|
-
function Rl(e, n) {
|
|
4766
|
+
function xl(e, n) {
|
|
4713
4767
|
return !n || !Array.isArray(n) ? [] : n.map((t) => {
|
|
4714
4768
|
const s = /* @__PURE__ */ new Set(), o = t.getValue || ((l) => l[t.uid]);
|
|
4715
4769
|
e.forEach((l) => {
|
|
@@ -4727,7 +4781,7 @@ function Rl(e, n) {
|
|
|
4727
4781
|
};
|
|
4728
4782
|
});
|
|
4729
4783
|
}
|
|
4730
|
-
function
|
|
4784
|
+
function zh(e, n = {}) {
|
|
4731
4785
|
const t = (j, U) => {
|
|
4732
4786
|
const L = j[U];
|
|
4733
4787
|
return L === null || typeof L > "u" ? [] : Array.isArray(L) ? L : [L];
|
|
@@ -4740,17 +4794,17 @@ function Mh(e, n = {}) {
|
|
|
4740
4794
|
extraSortTypes: a = {},
|
|
4741
4795
|
searchOptions: c = {},
|
|
4742
4796
|
getItemFacet: f = t,
|
|
4743
|
-
getSortValue:
|
|
4744
|
-
countMode:
|
|
4797
|
+
getSortValue: y = (j) => j.title || j.label || "",
|
|
4798
|
+
countMode: v = "none"
|
|
4745
4799
|
// 'none', 'simple', 'intuitive'
|
|
4746
4800
|
} = n, k = (j) => j.sort((U, L) => {
|
|
4747
|
-
const D =
|
|
4748
|
-
return D &&
|
|
4801
|
+
const D = y(U), V = y(L);
|
|
4802
|
+
return D && V ? String(D).localeCompare(String(V)) : D ? -1 : V ? 1 : 0;
|
|
4749
4803
|
}), E = {
|
|
4750
4804
|
az: { text: "A-Z", sort: k },
|
|
4751
4805
|
za: { text: "Z-A", sort: (j) => k(j).reverse() }
|
|
4752
4806
|
};
|
|
4753
|
-
function
|
|
4807
|
+
function C(j) {
|
|
4754
4808
|
return (j || []).map((U) => ({
|
|
4755
4809
|
...U,
|
|
4756
4810
|
open: U.open || !1,
|
|
@@ -4761,27 +4815,27 @@ function Mh(e, n = {}) {
|
|
|
4761
4815
|
selectedCount: 0
|
|
4762
4816
|
}));
|
|
4763
4817
|
}
|
|
4764
|
-
const T =
|
|
4818
|
+
const T = I([]), le = I(i), Ke = I(r), Me = w(() => !o || !e.value?.length ? null : xl(e.value, o)), me = w(() => ({
|
|
4765
4819
|
...l ? {} : E,
|
|
4766
4820
|
...a
|
|
4767
4821
|
})), ae = w(() => ({
|
|
4768
4822
|
shouldSort: !0,
|
|
4769
4823
|
keys: ["title", "label", "description", "author"],
|
|
4770
4824
|
...c
|
|
4771
|
-
})),
|
|
4825
|
+
})), Ze = w(() => le.value?.length ? new io(e.value, ae.value).search(le.value).map((U) => U.item) : e.value), Se = w(() => {
|
|
4772
4826
|
const j = [];
|
|
4773
4827
|
return T.value.forEach((U) => {
|
|
4774
4828
|
const L = U.children.filter((D) => D.selected);
|
|
4775
4829
|
U.selectedCount = L.length, L.length > 0 && j.push({ ...U, children: L });
|
|
4776
4830
|
}), j;
|
|
4777
|
-
}), ce = w(() => Z(
|
|
4778
|
-
const j = me.value[
|
|
4831
|
+
}), ce = w(() => Z(Ze.value, Se.value)), W = w(() => {
|
|
4832
|
+
const j = me.value[Ke.value]?.sort;
|
|
4779
4833
|
return typeof j != "function" ? ce.value : j([...ce.value]);
|
|
4780
4834
|
});
|
|
4781
4835
|
function Z(j, U) {
|
|
4782
4836
|
return U.length ? j.filter((L) => U.every((D) => {
|
|
4783
|
-
const
|
|
4784
|
-
return
|
|
4837
|
+
const V = f(L, D.uid);
|
|
4838
|
+
return V && V.length ? D.match === "all" ? D.children.every((X) => V.includes(X.uid)) : D.children.some((X) => V.includes(X.uid)) : !1;
|
|
4785
4839
|
})) : j;
|
|
4786
4840
|
}
|
|
4787
4841
|
function ke() {
|
|
@@ -4790,49 +4844,49 @@ function Mh(e, n = {}) {
|
|
|
4790
4844
|
});
|
|
4791
4845
|
}
|
|
4792
4846
|
function ln({ groupUid: j, facetUid: U, selected: L }) {
|
|
4793
|
-
const D = T.value.find((
|
|
4847
|
+
const D = T.value.find((V) => V.uid === j);
|
|
4794
4848
|
if (D) {
|
|
4795
4849
|
!D.multiple && L && D.children.forEach((X) => {
|
|
4796
4850
|
X.uid !== U && (X.selected = !1);
|
|
4797
4851
|
});
|
|
4798
|
-
const
|
|
4799
|
-
|
|
4852
|
+
const V = D.children.find((X) => X.uid === U);
|
|
4853
|
+
V && (V.selected = L);
|
|
4800
4854
|
}
|
|
4801
4855
|
}
|
|
4802
|
-
return
|
|
4803
|
-
T.value =
|
|
4804
|
-
}, { immediate: !0 }),
|
|
4805
|
-
|
|
4806
|
-
const X = j.filter((ue) => ue.uid !==
|
|
4807
|
-
|
|
4808
|
-
ue.count =
|
|
4856
|
+
return He(Me, (j) => {
|
|
4857
|
+
T.value = C(s || j);
|
|
4858
|
+
}, { immediate: !0 }), He([Se, Ze], ([j, U], [L, D]) => {
|
|
4859
|
+
v === "none" || !T.value.length || j === L && U === D || (v === "simple" ? T.value.forEach((V) => {
|
|
4860
|
+
const X = j.filter((ue) => ue.uid !== V.uid), Je = Z(U, X);
|
|
4861
|
+
V.children.forEach((ue) => {
|
|
4862
|
+
ue.count = Je.filter(($e) => f($e, V.uid).includes(ue.uid)).length;
|
|
4809
4863
|
});
|
|
4810
|
-
}) :
|
|
4811
|
-
|
|
4812
|
-
const
|
|
4864
|
+
}) : v === "intuitive" && T.value.forEach((V) => {
|
|
4865
|
+
V.children.forEach((X) => {
|
|
4866
|
+
const Je = JSON.parse(JSON.stringify(T.value)), ue = Je.find((K) => K.uid === V.uid), $e = ue.children.find((K) => K.uid === X.uid);
|
|
4813
4867
|
if (ue.multiple) {
|
|
4814
|
-
if (
|
|
4815
|
-
X.count = ce.value.filter((K) => f(K,
|
|
4868
|
+
if ($e.selected) {
|
|
4869
|
+
X.count = ce.value.filter((K) => f(K, V.uid).includes(X.uid)).length;
|
|
4816
4870
|
return;
|
|
4817
4871
|
}
|
|
4818
|
-
|
|
4872
|
+
$e.selected = !0;
|
|
4819
4873
|
} else {
|
|
4820
|
-
if (
|
|
4874
|
+
if ($e.selected) {
|
|
4821
4875
|
X.count = ce.value.length;
|
|
4822
4876
|
return;
|
|
4823
4877
|
}
|
|
4824
4878
|
ue.children.forEach((K) => {
|
|
4825
4879
|
K.selected = !1;
|
|
4826
|
-
}),
|
|
4880
|
+
}), $e.selected = !0;
|
|
4827
4881
|
}
|
|
4828
|
-
const an =
|
|
4829
|
-
X.count =
|
|
4882
|
+
const an = Je.map((K) => ({ ...K, children: K.children.filter((cn) => cn.selected) })).filter((K) => K.children.length > 0), Vs = Z(U, an);
|
|
4883
|
+
X.count = Vs.length;
|
|
4830
4884
|
});
|
|
4831
4885
|
}));
|
|
4832
4886
|
}, { deep: !0, immediate: !0 }), {
|
|
4833
4887
|
facets: T,
|
|
4834
4888
|
searchValue: le,
|
|
4835
|
-
selectedSort:
|
|
4889
|
+
selectedSort: Ke,
|
|
4836
4890
|
sortTypes: me,
|
|
4837
4891
|
displayItems: W,
|
|
4838
4892
|
selectedFacets: Se,
|
|
@@ -4840,7 +4894,7 @@ function Mh(e, n = {}) {
|
|
|
4840
4894
|
handleFacetChange: ln
|
|
4841
4895
|
};
|
|
4842
4896
|
}
|
|
4843
|
-
const
|
|
4897
|
+
const Rl = { key: 0 }, Sn = {
|
|
4844
4898
|
__name: "UluFacetsList",
|
|
4845
4899
|
props: {
|
|
4846
4900
|
groupUid: String,
|
|
@@ -4887,13 +4941,13 @@ const El = { key: 0 }, Sn = {
|
|
|
4887
4941
|
"onUpdate:modelValue": i
|
|
4888
4942
|
}, {
|
|
4889
4943
|
default: S(({ option: a }) => [
|
|
4890
|
-
|
|
4891
|
-
a.count !== void 0 ? (u(), d("span",
|
|
4944
|
+
$(b(a.label) + " ", 1),
|
|
4945
|
+
a.count !== void 0 ? (u(), d("span", Rl, "(" + b(a.count) + ")", 1)) : p("", !0)
|
|
4892
4946
|
]),
|
|
4893
4947
|
_: 1
|
|
4894
4948
|
}, 8, ["legend", "type", "options", "model-value"]));
|
|
4895
4949
|
}
|
|
4896
|
-
},
|
|
4950
|
+
}, El = { class: "UluFacetsFilters" }, Mh = {
|
|
4897
4951
|
__name: "UluFacetsFilterLists",
|
|
4898
4952
|
props: {
|
|
4899
4953
|
/**
|
|
@@ -4921,8 +4975,8 @@ const El = { key: 0 }, Sn = {
|
|
|
4921
4975
|
emits: ["facet-change"],
|
|
4922
4976
|
setup(e, { emit: n }) {
|
|
4923
4977
|
const t = n, s = (o) => o.multiple ? o.children.filter((i) => i.selected).map((i) => i.uid) : o.children.find((i) => i.selected)?.uid || "";
|
|
4924
|
-
return (o, i) => (u(), d("div",
|
|
4925
|
-
(u(!0), d(R, null, x(e.facets, (r) => (u(), _(
|
|
4978
|
+
return (o, i) => (u(), d("div", El, [
|
|
4979
|
+
(u(!0), d(R, null, x(e.facets, (r) => (u(), _(Ut, {
|
|
4926
4980
|
class: "ulu-facets__group",
|
|
4927
4981
|
key: r.uid,
|
|
4928
4982
|
classes: {
|
|
@@ -4937,11 +4991,11 @@ const El = { key: 0 }, Sn = {
|
|
|
4937
4991
|
group: r,
|
|
4938
4992
|
isOpen: l
|
|
4939
4993
|
}, () => [
|
|
4940
|
-
|
|
4994
|
+
$(b(r.name), 1)
|
|
4941
4995
|
])
|
|
4942
4996
|
]),
|
|
4943
4997
|
default: S(() => [
|
|
4944
|
-
|
|
4998
|
+
z(Sn, {
|
|
4945
4999
|
children: r.children.slice(0, e.maxVisible),
|
|
4946
5000
|
groupUid: r.uid,
|
|
4947
5001
|
groupName: r.name,
|
|
@@ -4949,7 +5003,7 @@ const El = { key: 0 }, Sn = {
|
|
|
4949
5003
|
"model-value": s(r),
|
|
4950
5004
|
onFacetChange: i[0] || (i[0] = (l) => t("facet-change", l))
|
|
4951
5005
|
}, null, 8, ["children", "groupUid", "groupName", "type", "model-value"]),
|
|
4952
|
-
r.children.length > e.maxVisible ? (u(), _(
|
|
5006
|
+
r.children.length > e.maxVisible ? (u(), _(Ut, {
|
|
4953
5007
|
key: 0,
|
|
4954
5008
|
class: m(["ulu-facets__more-facets", e.classes.moreFacets]),
|
|
4955
5009
|
clickOutsideCloses: !1,
|
|
@@ -4957,10 +5011,10 @@ const El = { key: 0 }, Sn = {
|
|
|
4957
5011
|
transitionHeight: !0
|
|
4958
5012
|
}, {
|
|
4959
5013
|
trigger: S(({ isOpen: l }) => [
|
|
4960
|
-
|
|
5014
|
+
$(b(l ? "View Less" : "Show More"), 1)
|
|
4961
5015
|
]),
|
|
4962
5016
|
default: S(() => [
|
|
4963
|
-
|
|
5017
|
+
z(Sn, {
|
|
4964
5018
|
children: r.children.slice(e.maxVisible),
|
|
4965
5019
|
groupUid: r.uid,
|
|
4966
5020
|
groupName: r.name,
|
|
@@ -4970,13 +5024,13 @@ const El = { key: 0 }, Sn = {
|
|
|
4970
5024
|
}, null, 8, ["children", "groupUid", "groupName", "type", "model-value"])
|
|
4971
5025
|
]),
|
|
4972
5026
|
_: 2
|
|
4973
|
-
}, 1032, ["class"])) :
|
|
5027
|
+
}, 1032, ["class"])) : p("", !0)
|
|
4974
5028
|
]),
|
|
4975
5029
|
_: 2
|
|
4976
5030
|
}, 1032, ["classes", "startOpen"]))), 128))
|
|
4977
5031
|
]));
|
|
4978
5032
|
}
|
|
4979
|
-
},
|
|
5033
|
+
}, Uh = {
|
|
4980
5034
|
__name: "UluFacetsFilterPopovers",
|
|
4981
5035
|
props: {
|
|
4982
5036
|
/**
|
|
@@ -5013,22 +5067,22 @@ const El = { key: 0 }, Sn = {
|
|
|
5013
5067
|
function r(l, a, c) {
|
|
5014
5068
|
if (l.multiple) {
|
|
5015
5069
|
const f = new Set(a);
|
|
5016
|
-
l.children.forEach((
|
|
5017
|
-
const
|
|
5018
|
-
|
|
5070
|
+
l.children.forEach((y) => {
|
|
5071
|
+
const v = f.has(y.uid);
|
|
5072
|
+
y.selected !== v && t("facet-change", {
|
|
5019
5073
|
groupUid: l.uid,
|
|
5020
|
-
facetUid:
|
|
5021
|
-
selected:
|
|
5074
|
+
facetUid: y.uid,
|
|
5075
|
+
selected: v
|
|
5022
5076
|
});
|
|
5023
5077
|
});
|
|
5024
5078
|
} else {
|
|
5025
5079
|
const f = a;
|
|
5026
|
-
l.children.forEach((
|
|
5027
|
-
const
|
|
5028
|
-
|
|
5080
|
+
l.children.forEach((y) => {
|
|
5081
|
+
const v = y.uid === f;
|
|
5082
|
+
y.selected !== v && t("facet-change", {
|
|
5029
5083
|
groupUid: l.uid,
|
|
5030
|
-
facetUid:
|
|
5031
|
-
selected:
|
|
5084
|
+
facetUid: y.uid,
|
|
5085
|
+
selected: v
|
|
5032
5086
|
});
|
|
5033
5087
|
}), c();
|
|
5034
5088
|
}
|
|
@@ -5040,7 +5094,7 @@ const El = { key: 0 }, Sn = {
|
|
|
5040
5094
|
key: c.uid,
|
|
5041
5095
|
class: m(e.classes.group)
|
|
5042
5096
|
}, [
|
|
5043
|
-
|
|
5097
|
+
z(ht, {
|
|
5044
5098
|
classes: {
|
|
5045
5099
|
trigger: e.classes.trigger,
|
|
5046
5100
|
content: e.classes.content
|
|
@@ -5052,22 +5106,22 @@ const El = { key: 0 }, Sn = {
|
|
|
5052
5106
|
label: i(c)
|
|
5053
5107
|
}, () => [
|
|
5054
5108
|
h("span", null, [
|
|
5055
|
-
|
|
5109
|
+
$(b(c.name) + ": ", 1),
|
|
5056
5110
|
h("strong", null, b(i(c)), 1)
|
|
5057
5111
|
])
|
|
5058
5112
|
]),
|
|
5059
|
-
|
|
5113
|
+
z(N, {
|
|
5060
5114
|
class: m(e.classes.triggerIcon),
|
|
5061
5115
|
icon: "fas fa-chevron-down"
|
|
5062
5116
|
}, null, 8, ["class"])
|
|
5063
5117
|
]),
|
|
5064
5118
|
default: S(({ close: f }) => [
|
|
5065
|
-
|
|
5119
|
+
z(_s, {
|
|
5066
5120
|
legend: c.name,
|
|
5067
5121
|
type: c.multiple ? "checkbox" : "radio",
|
|
5068
5122
|
options: s(c),
|
|
5069
5123
|
"model-value": o(c),
|
|
5070
|
-
"onUpdate:modelValue": (
|
|
5124
|
+
"onUpdate:modelValue": (y) => r(c, y, f),
|
|
5071
5125
|
hideInputs: e.hideInputs
|
|
5072
5126
|
}, null, 8, ["legend", "type", "options", "model-value", "onUpdate:modelValue", "hideInputs"])
|
|
5073
5127
|
]),
|
|
@@ -5076,7 +5130,7 @@ const El = { key: 0 }, Sn = {
|
|
|
5076
5130
|
], 2))), 128))
|
|
5077
5131
|
], 2));
|
|
5078
5132
|
}
|
|
5079
|
-
},
|
|
5133
|
+
}, jl = { class: "facets-dropdown-filters" }, Il = ["for"], zl = ["id", "onChange"], Ml = { value: "" }, Ul = ["value", "selected"], Bh = {
|
|
5080
5134
|
__name: "UluFacetsFilterSelects",
|
|
5081
5135
|
props: {
|
|
5082
5136
|
facets: {
|
|
@@ -5098,7 +5152,7 @@ const El = { key: 0 }, Sn = {
|
|
|
5098
5152
|
});
|
|
5099
5153
|
});
|
|
5100
5154
|
}
|
|
5101
|
-
return (o, i) => (u(), d("div",
|
|
5155
|
+
return (o, i) => (u(), d("div", jl, [
|
|
5102
5156
|
(u(!0), d(R, null, x(e.facets, (r) => (u(), d("div", {
|
|
5103
5157
|
class: "facets-dropdown-filters__group",
|
|
5104
5158
|
key: r.uid
|
|
@@ -5112,32 +5166,32 @@ const El = { key: 0 }, Sn = {
|
|
|
5112
5166
|
class: "facets-dropdown-filters__select",
|
|
5113
5167
|
onChange: (l) => s(r, l)
|
|
5114
5168
|
}, [
|
|
5115
|
-
h("option",
|
|
5169
|
+
h("option", Ml, "All " + b(r.name) + "s", 1),
|
|
5116
5170
|
(u(!0), d(R, null, x(r.children, (l) => (u(), d("option", {
|
|
5117
5171
|
key: l.uid,
|
|
5118
5172
|
value: l.uid,
|
|
5119
5173
|
selected: l.selected
|
|
5120
|
-
}, b(l.label), 9,
|
|
5121
|
-
], 40,
|
|
5174
|
+
}, b(l.label), 9, Ul))), 128))
|
|
5175
|
+
], 40, zl)
|
|
5122
5176
|
]))), 128))
|
|
5123
5177
|
]));
|
|
5124
5178
|
}
|
|
5125
|
-
},
|
|
5179
|
+
}, Bl = { class: "facets-header-layout" }, Pl = { class: "facets-header-layout__header" }, Ll = { class: "facets-header-layout__main" }, Ph = {
|
|
5126
5180
|
__name: "UluFacetsHeaderLayout",
|
|
5127
5181
|
setup(e) {
|
|
5128
|
-
return (n, t) => (u(), d("div",
|
|
5129
|
-
h("div",
|
|
5182
|
+
return (n, t) => (u(), d("div", Bl, [
|
|
5183
|
+
h("div", Pl, [
|
|
5130
5184
|
g(n.$slots, "header")
|
|
5131
5185
|
]),
|
|
5132
|
-
h("div",
|
|
5186
|
+
h("div", Ll, [
|
|
5133
5187
|
g(n.$slots, "main")
|
|
5134
5188
|
])
|
|
5135
5189
|
]));
|
|
5136
5190
|
}
|
|
5137
|
-
}, Vl = { class: "facets-results" },
|
|
5191
|
+
}, Vl = { class: "facets-results" }, Fl = {
|
|
5138
5192
|
key: 1,
|
|
5139
5193
|
class: "facets-results__empty"
|
|
5140
|
-
},
|
|
5194
|
+
}, Lh = {
|
|
5141
5195
|
__name: "UluFacetsResults",
|
|
5142
5196
|
props: {
|
|
5143
5197
|
items: {
|
|
@@ -5177,14 +5231,14 @@ const El = { key: 0 }, Sn = {
|
|
|
5177
5231
|
], 2))), 128))
|
|
5178
5232
|
]),
|
|
5179
5233
|
_: 3
|
|
5180
|
-
}, 8, ["tag", "name", "class"])) : (u(), d("div",
|
|
5234
|
+
}, 8, ["tag", "name", "class"])) : (u(), d("div", Fl, [
|
|
5181
5235
|
g(n.$slots, "empty", {}, () => [
|
|
5182
5236
|
t[0] || (t[0] = h("p", null, "No matching items found.", -1))
|
|
5183
5237
|
])
|
|
5184
5238
|
]))
|
|
5185
5239
|
]));
|
|
5186
5240
|
}
|
|
5187
|
-
},
|
|
5241
|
+
}, Hl = { class: "ulu-facets__keyword-search" }, Nl = ["placeholder"], Vh = {
|
|
5188
5242
|
__name: "UluFacetsSearch",
|
|
5189
5243
|
props: {
|
|
5190
5244
|
classes: {
|
|
@@ -5209,7 +5263,7 @@ const El = { key: 0 }, Sn = {
|
|
|
5209
5263
|
s("update:modelValue", l);
|
|
5210
5264
|
}
|
|
5211
5265
|
});
|
|
5212
|
-
return (l, a) => (u(), d("div",
|
|
5266
|
+
return (l, a) => (u(), d("div", Hl, [
|
|
5213
5267
|
h("label", {
|
|
5214
5268
|
class: m(e.classes.searchLabel),
|
|
5215
5269
|
for: i
|
|
@@ -5222,42 +5276,42 @@ const El = { key: 0 }, Sn = {
|
|
|
5222
5276
|
"onUpdate:modelValue": a[0] || (a[0] = (c) => r.value = c),
|
|
5223
5277
|
type: "text",
|
|
5224
5278
|
placeholder: e.placeholder
|
|
5225
|
-
}, null, 10,
|
|
5279
|
+
}, null, 10, Nl), [
|
|
5226
5280
|
[Zs, r.value]
|
|
5227
5281
|
])
|
|
5228
5282
|
]));
|
|
5229
5283
|
}
|
|
5230
|
-
},
|
|
5284
|
+
}, Dl = { class: "facets-sidebar-layout__header" }, Wl = { class: "facets-sidebar-layout__mobile-controls" }, Xl = { class: "facets-sidebar-layout__body" }, Yl = { class: "facets-sidebar-layout__main" }, Fh = {
|
|
5231
5285
|
__name: "UluFacetsSidebarLayout",
|
|
5232
5286
|
setup(e) {
|
|
5233
|
-
const n =
|
|
5287
|
+
const n = I(!1), t = ct("uluIsMobile"), s = I(null), o = I(null), i = w(() => t.value ? o.value : s.value);
|
|
5234
5288
|
return (r, l) => (u(), d("div", {
|
|
5235
|
-
class: m(["facets-sidebar-layout", { "facets-sidebar-layout--filters-hidden":
|
|
5289
|
+
class: m(["facets-sidebar-layout", { "facets-sidebar-layout--filters-hidden": A(t) }])
|
|
5236
5290
|
}, [
|
|
5237
|
-
h("div",
|
|
5291
|
+
h("div", Dl, [
|
|
5238
5292
|
g(r.$slots, "header")
|
|
5239
5293
|
]),
|
|
5240
|
-
Oe(h("div",
|
|
5294
|
+
Oe(h("div", Wl, [
|
|
5241
5295
|
h("button", {
|
|
5242
5296
|
class: "button",
|
|
5243
5297
|
onClick: l[0] || (l[0] = (a) => n.value = !0)
|
|
5244
5298
|
}, "Filters & Sort")
|
|
5245
5299
|
], 512), [
|
|
5246
|
-
[
|
|
5300
|
+
[Rt, A(t)]
|
|
5247
5301
|
]),
|
|
5248
|
-
h("div",
|
|
5302
|
+
h("div", Xl, [
|
|
5249
5303
|
Oe(h("div", {
|
|
5250
5304
|
class: "facets-sidebar-layout__sidebar",
|
|
5251
5305
|
ref_key: "desktopTarget",
|
|
5252
5306
|
ref: s
|
|
5253
5307
|
}, null, 512), [
|
|
5254
|
-
[
|
|
5308
|
+
[Rt, !A(t)]
|
|
5255
5309
|
]),
|
|
5256
|
-
h("div",
|
|
5310
|
+
h("div", Yl, [
|
|
5257
5311
|
g(r.$slots, "main")
|
|
5258
5312
|
])
|
|
5259
5313
|
]),
|
|
5260
|
-
|
|
5314
|
+
A(t) ? (u(), _(ls, {
|
|
5261
5315
|
key: 0,
|
|
5262
5316
|
modelValue: n.value,
|
|
5263
5317
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => n.value = a),
|
|
@@ -5273,16 +5327,16 @@ const El = { key: 0 }, Sn = {
|
|
|
5273
5327
|
}, null, 512)
|
|
5274
5328
|
]),
|
|
5275
5329
|
_: 1
|
|
5276
|
-
}, 8, ["modelValue"])) :
|
|
5330
|
+
}, 8, ["modelValue"])) : p("", !0),
|
|
5277
5331
|
i.value ? (u(), _(at, {
|
|
5278
5332
|
key: 1,
|
|
5279
5333
|
to: i.value
|
|
5280
5334
|
}, [
|
|
5281
5335
|
g(r.$slots, "sidebar")
|
|
5282
|
-
], 8, ["to"])) :
|
|
5336
|
+
], 8, ["to"])) : p("", !0)
|
|
5283
5337
|
], 2));
|
|
5284
5338
|
}
|
|
5285
|
-
},
|
|
5339
|
+
}, ql = ["for"], Gl = ["value", "id"], Kl = ["value"], Hh = {
|
|
5286
5340
|
__name: "UluFacetsSort",
|
|
5287
5341
|
props: {
|
|
5288
5342
|
classes: {
|
|
@@ -5301,7 +5355,7 @@ const El = { key: 0 }, Sn = {
|
|
|
5301
5355
|
emits: ["update:modelValue"],
|
|
5302
5356
|
setup(e, { emit: n }) {
|
|
5303
5357
|
let t = 0;
|
|
5304
|
-
const s = n, o =
|
|
5358
|
+
const s = n, o = I(`ulu-facet-sort-${++t}`);
|
|
5305
5359
|
return (i, r) => (u(), d("div", {
|
|
5306
5360
|
class: m(["facets-sort", e.classes.sortForm])
|
|
5307
5361
|
}, [
|
|
@@ -5310,9 +5364,9 @@ const El = { key: 0 }, Sn = {
|
|
|
5310
5364
|
class: m(e.classes.sortFormLabel)
|
|
5311
5365
|
}, [
|
|
5312
5366
|
g(i.$slots, "default", {}, () => [
|
|
5313
|
-
r[1] || (r[1] =
|
|
5367
|
+
r[1] || (r[1] = $("Sort:", -1))
|
|
5314
5368
|
])
|
|
5315
|
-
], 10,
|
|
5369
|
+
], 10, ql),
|
|
5316
5370
|
h("select", {
|
|
5317
5371
|
value: e.modelValue,
|
|
5318
5372
|
onChange: r[0] || (r[0] = (l) => s("update:modelValue", l.target.value)),
|
|
@@ -5322,11 +5376,11 @@ const El = { key: 0 }, Sn = {
|
|
|
5322
5376
|
(u(!0), d(R, null, x(e.sortTypes, (l, a) => (u(), d("option", {
|
|
5323
5377
|
value: a,
|
|
5324
5378
|
key: a
|
|
5325
|
-
}, b(l.text), 9,
|
|
5326
|
-
], 42,
|
|
5379
|
+
}, b(l.text), 9, Kl))), 128))
|
|
5380
|
+
], 42, Gl)
|
|
5327
5381
|
], 2));
|
|
5328
5382
|
}
|
|
5329
|
-
}, ws = Symbol(), Ss = Symbol(),
|
|
5383
|
+
}, ws = Symbol(), Ss = Symbol(), pt = Symbol(), Zl = {
|
|
5330
5384
|
name: "ScrollAnchors",
|
|
5331
5385
|
emits: ["section-change"],
|
|
5332
5386
|
props: {
|
|
@@ -5359,7 +5413,7 @@ const El = { key: 0 }, Sn = {
|
|
|
5359
5413
|
*/
|
|
5360
5414
|
provide() {
|
|
5361
5415
|
return {
|
|
5362
|
-
[
|
|
5416
|
+
[pt]: w(() => this.sections),
|
|
5363
5417
|
[ws]: (e) => {
|
|
5364
5418
|
const { titleId: n, title: t } = e, { element: s } = e.$refs;
|
|
5365
5419
|
this.sections.push({
|
|
@@ -5391,10 +5445,10 @@ const El = { key: 0 }, Sn = {
|
|
|
5391
5445
|
let o = 0;
|
|
5392
5446
|
const i = (r) => {
|
|
5393
5447
|
r.forEach(({ target: l, isIntersecting: a }) => {
|
|
5394
|
-
const c = this.getSectionIndex(l), f = l.offsetTop,
|
|
5395
|
-
|
|
5396
|
-
a ? (t(
|
|
5397
|
-
section:
|
|
5448
|
+
const c = this.getSectionIndex(l), f = l.offsetTop, y = n[c], v = c === 0 && o > f, k = c === n.length - 1 && o < f;
|
|
5449
|
+
y && this.$nextTick(() => {
|
|
5450
|
+
a ? (t(y), y.active = !0) : (v && !s || k && y.active) && t(), this.$emit("section-change", {
|
|
5451
|
+
section: y,
|
|
5398
5452
|
sections: n,
|
|
5399
5453
|
active: a
|
|
5400
5454
|
});
|
|
@@ -5431,16 +5485,16 @@ const El = { key: 0 }, Sn = {
|
|
|
5431
5485
|
unmounted() {
|
|
5432
5486
|
this.destroyObserver();
|
|
5433
5487
|
}
|
|
5434
|
-
},
|
|
5435
|
-
function
|
|
5436
|
-
return u(), d("div",
|
|
5488
|
+
}, Jl = { class: "scroll-anchors" };
|
|
5489
|
+
function Ql(e, n, t, s, o, i) {
|
|
5490
|
+
return u(), d("div", Jl, [
|
|
5437
5491
|
g(e.$slots, "default")
|
|
5438
5492
|
]);
|
|
5439
5493
|
}
|
|
5440
|
-
const
|
|
5494
|
+
const Nh = /* @__PURE__ */ O(Zl, [["render", Ql]]), ea = {
|
|
5441
5495
|
name: "ScrollAnchorsNav",
|
|
5442
5496
|
inject: {
|
|
5443
|
-
sections: { from:
|
|
5497
|
+
sections: { from: pt }
|
|
5444
5498
|
},
|
|
5445
5499
|
props: {
|
|
5446
5500
|
element: {
|
|
@@ -5448,8 +5502,8 @@ const Dh = /* @__PURE__ */ A(Jl, [["render", ea]]), ta = {
|
|
|
5448
5502
|
default: "nav"
|
|
5449
5503
|
}
|
|
5450
5504
|
}
|
|
5451
|
-
},
|
|
5452
|
-
function
|
|
5505
|
+
}, ta = ["href"];
|
|
5506
|
+
function na(e, n, t, s, o, i) {
|
|
5453
5507
|
return i.sections.length ? (u(), _(P(t.element), {
|
|
5454
5508
|
key: 0,
|
|
5455
5509
|
class: "scroll-anchors__nav"
|
|
@@ -5463,24 +5517,24 @@ function sa(e, n, t, s, o, i) {
|
|
|
5463
5517
|
h("a", {
|
|
5464
5518
|
class: m({ "is-active": r.active }),
|
|
5465
5519
|
href: `#${r.titleId}`
|
|
5466
|
-
}, b(r.title), 11,
|
|
5520
|
+
}, b(r.title), 11, ta)
|
|
5467
5521
|
], 2))), 128))
|
|
5468
5522
|
])
|
|
5469
5523
|
]),
|
|
5470
5524
|
_: 1
|
|
5471
|
-
})) :
|
|
5525
|
+
})) : p("", !0);
|
|
5472
5526
|
}
|
|
5473
|
-
const
|
|
5527
|
+
const Dh = /* @__PURE__ */ O(ea, [["render", na]]);
|
|
5474
5528
|
function ks(e) {
|
|
5475
5529
|
requestAnimationFrame(() => {
|
|
5476
5530
|
const n = new MessageChannel();
|
|
5477
5531
|
n.port1.onmessage = e, n.port2.postMessage(void 0);
|
|
5478
5532
|
});
|
|
5479
5533
|
}
|
|
5480
|
-
const
|
|
5534
|
+
const sa = {
|
|
5481
5535
|
name: "ScrollAnchorsNavAnimated",
|
|
5482
5536
|
inject: {
|
|
5483
|
-
sections: { from:
|
|
5537
|
+
sections: { from: pt }
|
|
5484
5538
|
},
|
|
5485
5539
|
props: {
|
|
5486
5540
|
/**
|
|
@@ -5525,14 +5579,14 @@ const oa = {
|
|
|
5525
5579
|
this.linkRefs[e] = n;
|
|
5526
5580
|
}
|
|
5527
5581
|
}
|
|
5528
|
-
},
|
|
5529
|
-
function
|
|
5582
|
+
}, oa = { class: "scroll-anchors__rail" }, ia = ["href"];
|
|
5583
|
+
function ra(e, n, t, s, o, i) {
|
|
5530
5584
|
return i.sections.length ? (u(), _(P(t.element), {
|
|
5531
5585
|
key: 0,
|
|
5532
5586
|
class: "scroll-anchors__nav scroll-anchors__nav--animated"
|
|
5533
5587
|
}, {
|
|
5534
5588
|
default: S(() => [
|
|
5535
|
-
h("ul",
|
|
5589
|
+
h("ul", oa, [
|
|
5536
5590
|
(u(!0), d(R, null, x(i.sections, (r, l) => (u(), d("li", {
|
|
5537
5591
|
key: l,
|
|
5538
5592
|
class: m({ "is-active": r.active })
|
|
@@ -5542,7 +5596,7 @@ function la(e, n, t, s, o, i) {
|
|
|
5542
5596
|
ref_for: !0,
|
|
5543
5597
|
ref: (a) => i.addLinkRef(l, a),
|
|
5544
5598
|
href: `#${r.titleId}`
|
|
5545
|
-
}, b(r.title), 11,
|
|
5599
|
+
}, b(r.title), 11, ia)
|
|
5546
5600
|
], 2))), 128))
|
|
5547
5601
|
]),
|
|
5548
5602
|
h("div", {
|
|
@@ -5550,7 +5604,7 @@ function la(e, n, t, s, o, i) {
|
|
|
5550
5604
|
"scroll-anchors__indicator--can-transition": o.indicatorAnimReady
|
|
5551
5605
|
}]),
|
|
5552
5606
|
ref: "indicator",
|
|
5553
|
-
style:
|
|
5607
|
+
style: F({
|
|
5554
5608
|
opacity: i.indicatorStyles ? "1" : "0",
|
|
5555
5609
|
transform: `translateY(${i.indicatorStyles.y}px)`,
|
|
5556
5610
|
height: `${i.indicatorStyles.height}px`
|
|
@@ -5558,9 +5612,9 @@ function la(e, n, t, s, o, i) {
|
|
|
5558
5612
|
}, null, 6)
|
|
5559
5613
|
]),
|
|
5560
5614
|
_: 1
|
|
5561
|
-
})) :
|
|
5615
|
+
})) : p("", !0);
|
|
5562
5616
|
}
|
|
5563
|
-
const
|
|
5617
|
+
const Wh = /* @__PURE__ */ O(sa, [["render", ra]]), la = {
|
|
5564
5618
|
name: "ScrollAnchorsSection",
|
|
5565
5619
|
props: {
|
|
5566
5620
|
title: String,
|
|
@@ -5585,12 +5639,12 @@ const Xh = /* @__PURE__ */ A(oa, [["render", la]]), aa = {
|
|
|
5585
5639
|
inject: {
|
|
5586
5640
|
register: { from: ws },
|
|
5587
5641
|
unregister: { from: Ss },
|
|
5588
|
-
sections: { from:
|
|
5642
|
+
sections: { from: pt, default: () => w(() => []) }
|
|
5589
5643
|
},
|
|
5590
5644
|
data() {
|
|
5591
5645
|
const { anchorId: e, title: n } = this;
|
|
5592
5646
|
return {
|
|
5593
|
-
titleId: e || `sas-title-${
|
|
5647
|
+
titleId: e || `sas-title-${Vr(n)}`
|
|
5594
5648
|
};
|
|
5595
5649
|
},
|
|
5596
5650
|
computed: {
|
|
@@ -5605,7 +5659,7 @@ const Xh = /* @__PURE__ */ A(oa, [["render", la]]), aa = {
|
|
|
5605
5659
|
this.unregister && this.unregister(this);
|
|
5606
5660
|
}
|
|
5607
5661
|
};
|
|
5608
|
-
function
|
|
5662
|
+
function aa(e, n, t, s, o, i) {
|
|
5609
5663
|
return u(), d("div", {
|
|
5610
5664
|
class: m([t.wrapperClass, { [t.activeClass]: t.activeClass && i.section?.active }]),
|
|
5611
5665
|
ref: "element"
|
|
@@ -5615,14 +5669,14 @@ function ca(e, n, t, s, o, i) {
|
|
|
5615
5669
|
id: o.titleId
|
|
5616
5670
|
}, {
|
|
5617
5671
|
default: S(() => [
|
|
5618
|
-
|
|
5672
|
+
$(b(t.title), 1)
|
|
5619
5673
|
]),
|
|
5620
5674
|
_: 1
|
|
5621
5675
|
}, 8, ["class", "id"])),
|
|
5622
5676
|
g(e.$slots, "default", { section: i.section })
|
|
5623
5677
|
], 2);
|
|
5624
5678
|
}
|
|
5625
|
-
const
|
|
5679
|
+
const Xh = /* @__PURE__ */ O(la, [["render", aa]]), ca = {
|
|
5626
5680
|
__name: "UluSkeletonText",
|
|
5627
5681
|
props: {
|
|
5628
5682
|
/**
|
|
@@ -5647,7 +5701,7 @@ const Yh = /* @__PURE__ */ A(aa, [["render", ca]]), ua = {
|
|
|
5647
5701
|
}])
|
|
5648
5702
|
}, null, 2));
|
|
5649
5703
|
}
|
|
5650
|
-
},
|
|
5704
|
+
}, Yh = {
|
|
5651
5705
|
__name: "UluShowSkeleton",
|
|
5652
5706
|
props: {
|
|
5653
5707
|
/**
|
|
@@ -5656,20 +5710,20 @@ const Yh = /* @__PURE__ */ A(aa, [["render", ca]]), ua = {
|
|
|
5656
5710
|
when: Boolean
|
|
5657
5711
|
},
|
|
5658
5712
|
setup(e) {
|
|
5659
|
-
return (n, t) => e.when ? (u(), _(
|
|
5713
|
+
return (n, t) => e.when ? (u(), _(ca, {
|
|
5660
5714
|
key: 1,
|
|
5661
5715
|
inline: ""
|
|
5662
5716
|
})) : g(n.$slots, "default", { key: 0 });
|
|
5663
5717
|
}
|
|
5664
5718
|
};
|
|
5665
|
-
function
|
|
5719
|
+
function ua(e, n) {
|
|
5666
5720
|
return [...Array(e)].map((t, s) => n(s));
|
|
5667
5721
|
}
|
|
5668
|
-
function
|
|
5722
|
+
function qh(e, n) {
|
|
5669
5723
|
var t = e.indexOf(n);
|
|
5670
5724
|
t > -1 && e.splice(t, 1);
|
|
5671
5725
|
}
|
|
5672
|
-
const
|
|
5726
|
+
const Gh = {
|
|
5673
5727
|
__name: "UluSkeletonContent",
|
|
5674
5728
|
props: {
|
|
5675
5729
|
/**
|
|
@@ -5681,7 +5735,7 @@ const Kh = {
|
|
|
5681
5735
|
}
|
|
5682
5736
|
},
|
|
5683
5737
|
setup(e) {
|
|
5684
|
-
const n = e, t = w(() =>
|
|
5738
|
+
const n = e, t = w(() => ua(n.lines, () => {
|
|
5685
5739
|
const o = lt(70, 100);
|
|
5686
5740
|
let i = 0;
|
|
5687
5741
|
const r = () => {
|
|
@@ -5700,19 +5754,19 @@ const Kh = {
|
|
|
5700
5754
|
(u(!0), d(R, null, x(i, (l) => (u(), d("span", {
|
|
5701
5755
|
key: l,
|
|
5702
5756
|
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": l.alt }]),
|
|
5703
|
-
style:
|
|
5757
|
+
style: F({ width: `${l.width}%` })
|
|
5704
5758
|
}, null, 6))), 128))
|
|
5705
5759
|
]))), 128))
|
|
5706
5760
|
]));
|
|
5707
5761
|
}
|
|
5708
|
-
},
|
|
5762
|
+
}, da = { class: "skeleton skeleton-block--media" }, Kh = {
|
|
5709
5763
|
__name: "UluSkeletonMedia",
|
|
5710
5764
|
setup(e) {
|
|
5711
|
-
return (n, t) => (u(), d("div",
|
|
5712
|
-
|
|
5765
|
+
return (n, t) => (u(), d("div", da, [
|
|
5766
|
+
z(N, { icon: "type:image" })
|
|
5713
5767
|
]));
|
|
5714
5768
|
}
|
|
5715
|
-
},
|
|
5769
|
+
}, fa = {
|
|
5716
5770
|
name: "SlideShow",
|
|
5717
5771
|
emits: ["slide-change"],
|
|
5718
5772
|
components: {
|
|
@@ -5907,25 +5961,25 @@ const Kh = {
|
|
|
5907
5961
|
beforeUnmount() {
|
|
5908
5962
|
this.destroyObserver();
|
|
5909
5963
|
}
|
|
5910
|
-
},
|
|
5964
|
+
}, ha = { class: "slideshow" }, ma = {
|
|
5911
5965
|
class: "slideshow__control-context",
|
|
5912
5966
|
ref: "context"
|
|
5913
|
-
},
|
|
5967
|
+
}, ga = {
|
|
5914
5968
|
class: "slideshow__track-crop",
|
|
5915
5969
|
ref: "crop"
|
|
5916
5970
|
}, va = {
|
|
5917
5971
|
class: "slideshow__track",
|
|
5918
5972
|
ref: "track"
|
|
5919
|
-
}, ya = ["tabindex"],
|
|
5973
|
+
}, ya = ["tabindex"], pa = { class: "slideshow__controls" }, ba = { class: "slideshow__controls-item slideshow__controls-item--previous" }, _a = ["disabled"], wa = { class: "slideshow__controls-item slideshow__controls-item--next" }, Sa = ["disabled"], ka = {
|
|
5920
5974
|
key: 0,
|
|
5921
5975
|
class: "slideshow__nav",
|
|
5922
5976
|
ref: "nav"
|
|
5923
|
-
}, $a = ["onClick"],
|
|
5924
|
-
function
|
|
5977
|
+
}, $a = ["onClick"], Ca = { class: "hidden-visually" };
|
|
5978
|
+
function Ta(e, n, t, s, o, i) {
|
|
5925
5979
|
const r = H("UluIcon");
|
|
5926
|
-
return u(), d("div",
|
|
5927
|
-
h("div",
|
|
5928
|
-
h("div",
|
|
5980
|
+
return u(), d("div", ha, [
|
|
5981
|
+
h("div", ma, [
|
|
5982
|
+
h("div", ga, [
|
|
5929
5983
|
h("ul", va, [
|
|
5930
5984
|
(u(!0), d(R, null, x(o.slides, (l, a) => (u(), d("li", {
|
|
5931
5985
|
class: m(["slideshow__slide", { "is-active": l.active }]),
|
|
@@ -5943,36 +5997,36 @@ function Aa(e, n, t, s, o, i) {
|
|
|
5943
5997
|
], 10, ya))), 128))
|
|
5944
5998
|
], 512)
|
|
5945
5999
|
], 512),
|
|
5946
|
-
h("ul",
|
|
5947
|
-
h("li",
|
|
6000
|
+
h("ul", pa, [
|
|
6001
|
+
h("li", ba, [
|
|
5948
6002
|
h("button", {
|
|
5949
6003
|
class: "slideshow__control-button slideshow__control-button--previous",
|
|
5950
6004
|
"aria-label": "Scroll Right",
|
|
5951
6005
|
onClick: n[0] || (n[0] = (...l) => i.previous && i.previous(...l)),
|
|
5952
6006
|
disabled: !i.canScrollLeft
|
|
5953
6007
|
}, [
|
|
5954
|
-
|
|
6008
|
+
z(r, {
|
|
5955
6009
|
class: "slideshow__control-icon",
|
|
5956
6010
|
icon: "type:next"
|
|
5957
6011
|
})
|
|
5958
|
-
], 8,
|
|
6012
|
+
], 8, _a)
|
|
5959
6013
|
]),
|
|
5960
|
-
h("li",
|
|
6014
|
+
h("li", wa, [
|
|
5961
6015
|
h("button", {
|
|
5962
6016
|
class: "slideshow__control-button slideshow__control-button--next",
|
|
5963
6017
|
"aria-label": "Scroll Left",
|
|
5964
6018
|
onClick: n[1] || (n[1] = (...l) => i.next && i.next(...l)),
|
|
5965
6019
|
disabled: !i.canScrollRight
|
|
5966
6020
|
}, [
|
|
5967
|
-
|
|
6021
|
+
z(r, {
|
|
5968
6022
|
class: "slideshow__control-icon",
|
|
5969
6023
|
icon: "type:previous"
|
|
5970
6024
|
})
|
|
5971
|
-
], 8,
|
|
6025
|
+
], 8, Sa)
|
|
5972
6026
|
])
|
|
5973
6027
|
])
|
|
5974
6028
|
], 512),
|
|
5975
|
-
t.noNav ?
|
|
6029
|
+
t.noNav ? p("", !0) : (u(), d("ul", ka, [
|
|
5976
6030
|
(u(!0), d(R, null, x(o.slides, (l, a) => (u(), d("li", {
|
|
5977
6031
|
class: m(["slideshow__nav-item", { "is-active": l.active }]),
|
|
5978
6032
|
ref_for: !0,
|
|
@@ -5990,17 +6044,17 @@ function Aa(e, n, t, s, o, i) {
|
|
|
5990
6044
|
index: a,
|
|
5991
6045
|
active: l.active
|
|
5992
6046
|
}, () => [
|
|
5993
|
-
h("span",
|
|
6047
|
+
h("span", Ca, "Item " + b(a + 1), 1)
|
|
5994
6048
|
])
|
|
5995
6049
|
], 10, $a)
|
|
5996
6050
|
], 2))), 128))
|
|
5997
6051
|
], 512))
|
|
5998
6052
|
]);
|
|
5999
6053
|
}
|
|
6000
|
-
const
|
|
6054
|
+
const Aa = /* @__PURE__ */ O(fa, [["render", Ta]]), Oa = {
|
|
6001
6055
|
name: "ImageSlideShow",
|
|
6002
6056
|
components: {
|
|
6003
|
-
UluSlideShow:
|
|
6057
|
+
UluSlideShow: Aa
|
|
6004
6058
|
},
|
|
6005
6059
|
props: {
|
|
6006
6060
|
images: Array,
|
|
@@ -6026,8 +6080,8 @@ const Oa = /* @__PURE__ */ A(ha, [["render", Aa]]), xa = {
|
|
|
6026
6080
|
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" }));
|
|
6027
6081
|
}
|
|
6028
6082
|
}
|
|
6029
|
-
},
|
|
6030
|
-
function
|
|
6083
|
+
}, xa = ["src", "alt"], Ra = { class: "slideshow__image-actions" }, Ea = ["src", "alt"];
|
|
6084
|
+
function ja(e, n, t, s, o, i) {
|
|
6031
6085
|
const r = H("AppButton"), l = H("UluSlideShow");
|
|
6032
6086
|
return u(), _(l, {
|
|
6033
6087
|
class: "slideshow--images",
|
|
@@ -6038,8 +6092,8 @@ function za(e, n, t, s, o, i) {
|
|
|
6038
6092
|
h("img", {
|
|
6039
6093
|
src: a.src,
|
|
6040
6094
|
alt: a.alt
|
|
6041
|
-
}, null, 8,
|
|
6042
|
-
h("div",
|
|
6095
|
+
}, null, 8, xa),
|
|
6096
|
+
h("div", Ra, [
|
|
6043
6097
|
t.selectButton ? (u(), _(r, {
|
|
6044
6098
|
key: 0,
|
|
6045
6099
|
class: "type-small",
|
|
@@ -6048,22 +6102,22 @@ function za(e, n, t, s, o, i) {
|
|
|
6048
6102
|
iconBefore: ""
|
|
6049
6103
|
}, {
|
|
6050
6104
|
default: S(() => [...n[0] || (n[0] = [
|
|
6051
|
-
|
|
6105
|
+
$(" Select ", -1)
|
|
6052
6106
|
])]),
|
|
6053
6107
|
_: 1
|
|
6054
|
-
})) :
|
|
6108
|
+
})) : p("", !0)
|
|
6055
6109
|
])
|
|
6056
6110
|
]),
|
|
6057
6111
|
nav: S(({ index: a }) => [
|
|
6058
6112
|
h("img", {
|
|
6059
6113
|
src: t.images[a].src,
|
|
6060
6114
|
alt: `View image ${a}`
|
|
6061
|
-
}, null, 8,
|
|
6115
|
+
}, null, 8, Ea)
|
|
6062
6116
|
]),
|
|
6063
6117
|
_: 1
|
|
6064
6118
|
}, 8, ["items", "onSlideChange"]);
|
|
6065
6119
|
}
|
|
6066
|
-
const
|
|
6120
|
+
const Zh = /* @__PURE__ */ O(Oa, [["render", ja]]), Ia = {
|
|
6067
6121
|
name: "SlideShowSlide",
|
|
6068
6122
|
props: {
|
|
6069
6123
|
/**
|
|
@@ -6076,14 +6130,14 @@ const Jh = /* @__PURE__ */ A(xa, [["render", za]]), Ia = {
|
|
|
6076
6130
|
console.log("slide mounted");
|
|
6077
6131
|
}
|
|
6078
6132
|
};
|
|
6079
|
-
function
|
|
6133
|
+
function za(e, n, t, s, o, i) {
|
|
6080
6134
|
return u(), d("li", {
|
|
6081
6135
|
class: m(["slideshow__slide", { "is-active": t.active }])
|
|
6082
6136
|
}, [
|
|
6083
6137
|
g(e.$slots, "default")
|
|
6084
6138
|
], 2);
|
|
6085
6139
|
}
|
|
6086
|
-
const
|
|
6140
|
+
const Jh = /* @__PURE__ */ O(Ia, [["render", za]]), Ma = {
|
|
6087
6141
|
name: "UluTableStickyRows",
|
|
6088
6142
|
props: {
|
|
6089
6143
|
rows: Array,
|
|
@@ -6100,13 +6154,13 @@ const Qh = /* @__PURE__ */ A(Ia, [["render", Ma]]), Ua = {
|
|
|
6100
6154
|
default: !1
|
|
6101
6155
|
}
|
|
6102
6156
|
}
|
|
6103
|
-
},
|
|
6104
|
-
function
|
|
6157
|
+
}, Ua = ["id"], Ba = ["innerHTML"];
|
|
6158
|
+
function Pa(e, n, t, s, o, i) {
|
|
6105
6159
|
return u(!0), d(R, null, x(t.rows, (r, l) => (u(), d("tr", {
|
|
6106
6160
|
key: `br-${l}`,
|
|
6107
6161
|
id: t.optionalAttr(t.isActual && r.id),
|
|
6108
6162
|
class: m(t.resolveClasses(t.classes.row, { row: r.data, rowIndex: l, isActual: t.isActual, foot: t.foot })),
|
|
6109
|
-
style:
|
|
6163
|
+
style: F({
|
|
6110
6164
|
height: r.height
|
|
6111
6165
|
})
|
|
6112
6166
|
}, [
|
|
@@ -6116,7 +6170,7 @@ function La(e, n, t, s, o, i) {
|
|
|
6116
6170
|
key: `bc-${c}`,
|
|
6117
6171
|
headers: t.optionalAttr(t.isActual && t.getCellHeaders(a, l)),
|
|
6118
6172
|
class: m(t.resolveClasses(a.class, { column: a, index: c, isActual: t.isActual, row: r, rowIndex: l, foot: t.foot })),
|
|
6119
|
-
style:
|
|
6173
|
+
style: F({
|
|
6120
6174
|
width: t.columnWidth
|
|
6121
6175
|
})
|
|
6122
6176
|
}, {
|
|
@@ -6132,18 +6186,18 @@ function La(e, n, t, s, o, i) {
|
|
|
6132
6186
|
}) : a.html ? (u(), d("div", {
|
|
6133
6187
|
key: 1,
|
|
6134
6188
|
innerHTML: t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })
|
|
6135
|
-
}, null, 8,
|
|
6136
|
-
|
|
6189
|
+
}, null, 8, Ba)) : (u(), d(R, { key: 2 }, [
|
|
6190
|
+
$(b(t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
|
|
6137
6191
|
], 64))
|
|
6138
6192
|
]),
|
|
6139
6193
|
_: 2
|
|
6140
6194
|
}, 1032, ["id", "scope", "headers", "class", "style"]))), 128))
|
|
6141
|
-
], 14,
|
|
6195
|
+
], 14, Ua))), 128);
|
|
6142
6196
|
}
|
|
6143
|
-
const
|
|
6197
|
+
const La = /* @__PURE__ */ O(Ma, [["render", Pa]]), Va = {
|
|
6144
6198
|
name: "UluTableStickyTable",
|
|
6145
6199
|
components: {
|
|
6146
|
-
UluTableStickyRows:
|
|
6200
|
+
UluTableStickyRows: La
|
|
6147
6201
|
},
|
|
6148
6202
|
props: {
|
|
6149
6203
|
resolveClasses: Function,
|
|
@@ -6223,26 +6277,26 @@ const Fa = /* @__PURE__ */ A(Ua, [["render", La]]), Va = {
|
|
|
6223
6277
|
return n.join(" ");
|
|
6224
6278
|
}
|
|
6225
6279
|
}
|
|
6226
|
-
},
|
|
6280
|
+
}, Fa = ["aria-hidden"], Ha = {
|
|
6227
6281
|
key: 0,
|
|
6228
6282
|
class: "table-sticky__caption"
|
|
6229
|
-
},
|
|
6283
|
+
}, Na = ["id"], Da = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], Wa = ["innerHTML"], Xa = {
|
|
6230
6284
|
class: "table-sticky__sort-icon",
|
|
6231
6285
|
"aria-hidden": "true"
|
|
6232
|
-
},
|
|
6233
|
-
function
|
|
6286
|
+
}, Ya = { class: "table-sticky__sort-icon-inner" }, qa = ["innerHTML"], Ga = { key: 1 }, Ka = { key: 2 };
|
|
6287
|
+
function Za(e, n, t, s, o, i) {
|
|
6234
6288
|
const r = H("UluTableStickyRows");
|
|
6235
6289
|
return u(), d("table", {
|
|
6236
6290
|
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
6237
6291
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
6238
6292
|
}, [
|
|
6239
|
-
t.caption ? (u(), d("caption",
|
|
6293
|
+
t.caption ? (u(), d("caption", Ha, b(t.caption), 1)) : p("", !0),
|
|
6240
6294
|
h("thead", null, [
|
|
6241
6295
|
(u(!0), d(R, null, x(t.headerRows, (l, a) => (u(), d("tr", {
|
|
6242
6296
|
key: `hr-${a}`,
|
|
6243
6297
|
id: i.optionalAttr(t.isActual && l.id),
|
|
6244
6298
|
class: m(t.resolveClasses(t.classes.rowHeader, { row: l, rowIndex: a, isActual: t.isActual })),
|
|
6245
|
-
style:
|
|
6299
|
+
style: F({
|
|
6246
6300
|
height: l.height
|
|
6247
6301
|
})
|
|
6248
6302
|
}, [
|
|
@@ -6260,23 +6314,23 @@ function Ja(e, n, t, s, o, i) {
|
|
|
6260
6314
|
},
|
|
6261
6315
|
t.resolveClasses(c.classHeader, { column: c, index: f, isActual: t.isActual })
|
|
6262
6316
|
]),
|
|
6263
|
-
style:
|
|
6317
|
+
style: F({
|
|
6264
6318
|
width: c.width
|
|
6265
6319
|
}),
|
|
6266
6320
|
"aria-sort": c.sort ? c.sortAscending ? "ascending" : "descending" : null,
|
|
6267
6321
|
scope: i.optionalAttr(t.isActual && (c.colspan > 1 ? "colgroup" : "col")),
|
|
6268
6322
|
headers: i.optionalAttr(t.isActual && i.getHeaderHeaders(c, a)),
|
|
6269
6323
|
ref_for: !0,
|
|
6270
|
-
ref: (
|
|
6324
|
+
ref: (y) => i.addHeaderRef(c, y)
|
|
6271
6325
|
}, [
|
|
6272
6326
|
c.sortable ? (u(), _(P(t.isActual ? "button" : "div"), {
|
|
6273
6327
|
key: 0,
|
|
6274
6328
|
class: m(["table-sticky__sort-button", {
|
|
6275
6329
|
"table-sticky__sort-button--focused": c.sortFocused
|
|
6276
6330
|
}]),
|
|
6277
|
-
onClick: (
|
|
6278
|
-
onFocus: (
|
|
6279
|
-
onBlur: (
|
|
6331
|
+
onClick: (y) => e.$emit("column-sorted", c),
|
|
6332
|
+
onFocus: (y) => i.handleSortFocus(c, !0),
|
|
6333
|
+
onBlur: (y) => i.handleSortFocus(c, !1),
|
|
6280
6334
|
"aria-pressed": c.sortApplied ? "true" : "false"
|
|
6281
6335
|
}, {
|
|
6282
6336
|
default: S(() => [
|
|
@@ -6288,13 +6342,13 @@ function Ja(e, n, t, s, o, i) {
|
|
|
6288
6342
|
}) : c.htmlTitle ? (u(), d("div", {
|
|
6289
6343
|
key: 1,
|
|
6290
6344
|
innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
|
|
6291
|
-
}, null, 8,
|
|
6292
|
-
|
|
6345
|
+
}, null, 8, Wa)) : (u(), d(R, { key: 2 }, [
|
|
6346
|
+
$(b(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
|
|
6293
6347
|
], 64)),
|
|
6294
|
-
h("span",
|
|
6295
|
-
h("span",
|
|
6348
|
+
h("span", Xa, [
|
|
6349
|
+
h("span", Ya, [
|
|
6296
6350
|
g(e.$slots, "sortIcon", {}, () => [
|
|
6297
|
-
n[0] || (n[0] =
|
|
6351
|
+
n[0] || (n[0] = $("▼", -1))
|
|
6298
6352
|
])
|
|
6299
6353
|
])
|
|
6300
6354
|
])
|
|
@@ -6309,15 +6363,15 @@ function Ja(e, n, t, s, o, i) {
|
|
|
6309
6363
|
}) : c.htmlTitle ? (u(), d("div", {
|
|
6310
6364
|
key: 1,
|
|
6311
6365
|
innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
|
|
6312
|
-
}, null, 8,
|
|
6313
|
-
|
|
6366
|
+
}, null, 8, qa)) : (u(), d(R, { key: 2 }, [
|
|
6367
|
+
$(b(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
|
|
6314
6368
|
], 64))
|
|
6315
6369
|
], 64))
|
|
6316
|
-
], 14,
|
|
6317
|
-
], 14,
|
|
6370
|
+
], 14, Da))), 128))
|
|
6371
|
+
], 14, Na))), 128))
|
|
6318
6372
|
]),
|
|
6319
|
-
t.rows ? (u(), d("tbody",
|
|
6320
|
-
|
|
6373
|
+
t.rows ? (u(), d("tbody", Ga, [
|
|
6374
|
+
z(r, {
|
|
6321
6375
|
rows: t.rows,
|
|
6322
6376
|
rowColumns: t.rowColumns,
|
|
6323
6377
|
optionalAttr: i.optionalAttr,
|
|
@@ -6335,9 +6389,9 @@ function Ja(e, n, t, s, o, i) {
|
|
|
6335
6389
|
])
|
|
6336
6390
|
}))
|
|
6337
6391
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
6338
|
-
])) :
|
|
6339
|
-
t.footerRows ? (u(), d("tfoot",
|
|
6340
|
-
|
|
6392
|
+
])) : p("", !0),
|
|
6393
|
+
t.footerRows ? (u(), d("tfoot", Ka, [
|
|
6394
|
+
z(r, {
|
|
6341
6395
|
rows: t.footerRows,
|
|
6342
6396
|
rowColumns: t.rowColumns,
|
|
6343
6397
|
optionalAttr: i.optionalAttr,
|
|
@@ -6356,39 +6410,39 @@ function Ja(e, n, t, s, o, i) {
|
|
|
6356
6410
|
])
|
|
6357
6411
|
}))
|
|
6358
6412
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
6359
|
-
])) :
|
|
6360
|
-
], 10,
|
|
6413
|
+
])) : p("", !0)
|
|
6414
|
+
], 10, Fa);
|
|
6361
6415
|
}
|
|
6362
|
-
const
|
|
6363
|
-
function
|
|
6416
|
+
const Ja = /* @__PURE__ */ O(Va, [["render", Za]]);
|
|
6417
|
+
function Qa() {
|
|
6364
6418
|
this.__data__ = [], this.size = 0;
|
|
6365
6419
|
}
|
|
6366
|
-
function
|
|
6420
|
+
function $s(e, n) {
|
|
6367
6421
|
return e === n || e !== e && n !== n;
|
|
6368
6422
|
}
|
|
6369
|
-
function
|
|
6423
|
+
function bt(e, n) {
|
|
6370
6424
|
for (var t = e.length; t--; )
|
|
6371
|
-
if (
|
|
6425
|
+
if ($s(e[t][0], n))
|
|
6372
6426
|
return t;
|
|
6373
6427
|
return -1;
|
|
6374
6428
|
}
|
|
6375
|
-
var
|
|
6376
|
-
function
|
|
6377
|
-
var n = this.__data__, t =
|
|
6429
|
+
var ec = Array.prototype, tc = ec.splice;
|
|
6430
|
+
function nc(e) {
|
|
6431
|
+
var n = this.__data__, t = bt(n, e);
|
|
6378
6432
|
if (t < 0)
|
|
6379
6433
|
return !1;
|
|
6380
6434
|
var s = n.length - 1;
|
|
6381
|
-
return t == s ? n.pop() :
|
|
6435
|
+
return t == s ? n.pop() : tc.call(n, t, 1), --this.size, !0;
|
|
6382
6436
|
}
|
|
6383
|
-
function
|
|
6384
|
-
var n = this.__data__, t =
|
|
6437
|
+
function sc(e) {
|
|
6438
|
+
var n = this.__data__, t = bt(n, e);
|
|
6385
6439
|
return t < 0 ? void 0 : n[t][1];
|
|
6386
6440
|
}
|
|
6387
|
-
function
|
|
6388
|
-
return
|
|
6441
|
+
function oc(e) {
|
|
6442
|
+
return bt(this.__data__, e) > -1;
|
|
6389
6443
|
}
|
|
6390
|
-
function
|
|
6391
|
-
var t = this.__data__, s =
|
|
6444
|
+
function ic(e, n) {
|
|
6445
|
+
var t = this.__data__, s = bt(t, e);
|
|
6392
6446
|
return s < 0 ? (++this.size, t.push([e, n])) : t[s][1] = n, this;
|
|
6393
6447
|
}
|
|
6394
6448
|
function re(e) {
|
|
@@ -6398,66 +6452,66 @@ function re(e) {
|
|
|
6398
6452
|
this.set(s[0], s[1]);
|
|
6399
6453
|
}
|
|
6400
6454
|
}
|
|
6401
|
-
re.prototype.clear =
|
|
6402
|
-
re.prototype.delete =
|
|
6403
|
-
re.prototype.get =
|
|
6404
|
-
re.prototype.has =
|
|
6405
|
-
re.prototype.set =
|
|
6406
|
-
function
|
|
6455
|
+
re.prototype.clear = Qa;
|
|
6456
|
+
re.prototype.delete = nc;
|
|
6457
|
+
re.prototype.get = sc;
|
|
6458
|
+
re.prototype.has = oc;
|
|
6459
|
+
re.prototype.set = ic;
|
|
6460
|
+
function rc() {
|
|
6407
6461
|
this.__data__ = new re(), this.size = 0;
|
|
6408
6462
|
}
|
|
6409
|
-
function
|
|
6463
|
+
function lc(e) {
|
|
6410
6464
|
var n = this.__data__, t = n.delete(e);
|
|
6411
6465
|
return this.size = n.size, t;
|
|
6412
6466
|
}
|
|
6413
|
-
function
|
|
6467
|
+
function ac(e) {
|
|
6414
6468
|
return this.__data__.get(e);
|
|
6415
6469
|
}
|
|
6416
|
-
function
|
|
6470
|
+
function cc(e) {
|
|
6417
6471
|
return this.__data__.has(e);
|
|
6418
6472
|
}
|
|
6419
|
-
var
|
|
6420
|
-
function
|
|
6421
|
-
var n =
|
|
6473
|
+
var Cs = typeof global == "object" && global && global.Object === Object && global, uc = typeof self == "object" && self && self.Object === Object && self, te = Cs || uc || Function("return this")(), Ee = te.Symbol, Ts = Object.prototype, dc = Ts.hasOwnProperty, fc = Ts.toString, Ue = Ee ? Ee.toStringTag : void 0;
|
|
6474
|
+
function hc(e) {
|
|
6475
|
+
var n = dc.call(e, Ue), t = e[Ue];
|
|
6422
6476
|
try {
|
|
6423
6477
|
e[Ue] = void 0;
|
|
6424
6478
|
var s = !0;
|
|
6425
6479
|
} catch {
|
|
6426
6480
|
}
|
|
6427
|
-
var o =
|
|
6481
|
+
var o = fc.call(e);
|
|
6428
6482
|
return s && (n ? e[Ue] = t : delete e[Ue]), o;
|
|
6429
6483
|
}
|
|
6430
|
-
var
|
|
6484
|
+
var mc = Object.prototype, gc = mc.toString;
|
|
6431
6485
|
function vc(e) {
|
|
6432
|
-
return
|
|
6486
|
+
return gc.call(e);
|
|
6433
6487
|
}
|
|
6434
|
-
var yc = "[object Null]",
|
|
6435
|
-
function
|
|
6436
|
-
return e == null ? e === void 0 ?
|
|
6488
|
+
var yc = "[object Null]", pc = "[object Undefined]", kn = Ee ? Ee.toStringTag : void 0;
|
|
6489
|
+
function qe(e) {
|
|
6490
|
+
return e == null ? e === void 0 ? pc : yc : kn && kn in Object(e) ? hc(e) : vc(e);
|
|
6437
6491
|
}
|
|
6438
|
-
function
|
|
6492
|
+
function _t(e) {
|
|
6439
6493
|
var n = typeof e;
|
|
6440
6494
|
return e != null && (n == "object" || n == "function");
|
|
6441
6495
|
}
|
|
6442
|
-
var
|
|
6496
|
+
var bc = "[object AsyncFunction]", _c = "[object Function]", wc = "[object GeneratorFunction]", Sc = "[object Proxy]";
|
|
6443
6497
|
function As(e) {
|
|
6444
|
-
if (!
|
|
6498
|
+
if (!_t(e))
|
|
6445
6499
|
return !1;
|
|
6446
|
-
var n =
|
|
6447
|
-
return n ==
|
|
6500
|
+
var n = qe(e);
|
|
6501
|
+
return n == _c || n == wc || n == bc || n == Sc;
|
|
6448
6502
|
}
|
|
6449
|
-
var
|
|
6450
|
-
var e = /[^.]+$/.exec(
|
|
6503
|
+
var At = te["__core-js_shared__"], $n = function() {
|
|
6504
|
+
var e = /[^.]+$/.exec(At && At.keys && At.keys.IE_PROTO || "");
|
|
6451
6505
|
return e ? "Symbol(src)_1." + e : "";
|
|
6452
6506
|
}();
|
|
6453
|
-
function
|
|
6454
|
-
return
|
|
6507
|
+
function kc(e) {
|
|
6508
|
+
return !!$n && $n in e;
|
|
6455
6509
|
}
|
|
6456
|
-
var $c = Function.prototype,
|
|
6510
|
+
var $c = Function.prototype, Cc = $c.toString;
|
|
6457
6511
|
function _e(e) {
|
|
6458
6512
|
if (e != null) {
|
|
6459
6513
|
try {
|
|
6460
|
-
return
|
|
6514
|
+
return Cc.call(e);
|
|
6461
6515
|
} catch {
|
|
6462
6516
|
}
|
|
6463
6517
|
try {
|
|
@@ -6467,413 +6521,413 @@ function _e(e) {
|
|
|
6467
6521
|
}
|
|
6468
6522
|
return "";
|
|
6469
6523
|
}
|
|
6470
|
-
var
|
|
6471
|
-
"^" +
|
|
6524
|
+
var Tc = /[\\^$.*+?()[\]{}|]/g, Ac = /^\[object .+?Constructor\]$/, Oc = Function.prototype, xc = Object.prototype, Rc = Oc.toString, Ec = xc.hasOwnProperty, jc = RegExp(
|
|
6525
|
+
"^" + Rc.call(Ec).replace(Tc, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6472
6526
|
);
|
|
6473
6527
|
function Ic(e) {
|
|
6474
|
-
if (!
|
|
6528
|
+
if (!_t(e) || kc(e))
|
|
6475
6529
|
return !1;
|
|
6476
|
-
var n = As(e) ?
|
|
6530
|
+
var n = As(e) ? jc : Ac;
|
|
6477
6531
|
return n.test(_e(e));
|
|
6478
6532
|
}
|
|
6479
|
-
function
|
|
6533
|
+
function zc(e, n) {
|
|
6480
6534
|
return e?.[n];
|
|
6481
6535
|
}
|
|
6482
6536
|
function we(e, n) {
|
|
6483
|
-
var t =
|
|
6537
|
+
var t = zc(e, n);
|
|
6484
6538
|
return Ic(t) ? t : void 0;
|
|
6485
6539
|
}
|
|
6486
|
-
var
|
|
6487
|
-
function
|
|
6488
|
-
this.__data__ =
|
|
6540
|
+
var Xe = we(te, "Map"), Ye = we(Object, "create");
|
|
6541
|
+
function Mc() {
|
|
6542
|
+
this.__data__ = Ye ? Ye(null) : {}, this.size = 0;
|
|
6489
6543
|
}
|
|
6490
|
-
function
|
|
6544
|
+
function Uc(e) {
|
|
6491
6545
|
var n = this.has(e) && delete this.__data__[e];
|
|
6492
6546
|
return this.size -= n ? 1 : 0, n;
|
|
6493
6547
|
}
|
|
6494
|
-
var
|
|
6548
|
+
var Bc = "__lodash_hash_undefined__", Pc = Object.prototype, Lc = Pc.hasOwnProperty;
|
|
6495
6549
|
function Vc(e) {
|
|
6496
6550
|
var n = this.__data__;
|
|
6497
|
-
if (
|
|
6551
|
+
if (Ye) {
|
|
6498
6552
|
var t = n[e];
|
|
6499
|
-
return t ===
|
|
6553
|
+
return t === Bc ? void 0 : t;
|
|
6500
6554
|
}
|
|
6501
|
-
return
|
|
6555
|
+
return Lc.call(n, e) ? n[e] : void 0;
|
|
6502
6556
|
}
|
|
6503
|
-
var
|
|
6504
|
-
function
|
|
6557
|
+
var Fc = Object.prototype, Hc = Fc.hasOwnProperty;
|
|
6558
|
+
function Nc(e) {
|
|
6505
6559
|
var n = this.__data__;
|
|
6506
|
-
return
|
|
6560
|
+
return Ye ? n[e] !== void 0 : Hc.call(n, e);
|
|
6507
6561
|
}
|
|
6508
|
-
var
|
|
6509
|
-
function
|
|
6562
|
+
var Dc = "__lodash_hash_undefined__";
|
|
6563
|
+
function Wc(e, n) {
|
|
6510
6564
|
var t = this.__data__;
|
|
6511
|
-
return this.size += this.has(e) ? 0 : 1, t[e] =
|
|
6565
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = Ye && n === void 0 ? Dc : n, this;
|
|
6512
6566
|
}
|
|
6513
|
-
function
|
|
6567
|
+
function pe(e) {
|
|
6514
6568
|
var n = -1, t = e == null ? 0 : e.length;
|
|
6515
6569
|
for (this.clear(); ++n < t; ) {
|
|
6516
6570
|
var s = e[n];
|
|
6517
6571
|
this.set(s[0], s[1]);
|
|
6518
6572
|
}
|
|
6519
6573
|
}
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
function
|
|
6574
|
+
pe.prototype.clear = Mc;
|
|
6575
|
+
pe.prototype.delete = Uc;
|
|
6576
|
+
pe.prototype.get = Vc;
|
|
6577
|
+
pe.prototype.has = Nc;
|
|
6578
|
+
pe.prototype.set = Wc;
|
|
6579
|
+
function Xc() {
|
|
6526
6580
|
this.size = 0, this.__data__ = {
|
|
6527
|
-
hash: new
|
|
6528
|
-
map: new (
|
|
6529
|
-
string: new
|
|
6581
|
+
hash: new pe(),
|
|
6582
|
+
map: new (Xe || re)(),
|
|
6583
|
+
string: new pe()
|
|
6530
6584
|
};
|
|
6531
6585
|
}
|
|
6532
|
-
function
|
|
6586
|
+
function Yc(e) {
|
|
6533
6587
|
var n = typeof e;
|
|
6534
6588
|
return n == "string" || n == "number" || n == "symbol" || n == "boolean" ? e !== "__proto__" : e === null;
|
|
6535
6589
|
}
|
|
6536
|
-
function
|
|
6590
|
+
function wt(e, n) {
|
|
6537
6591
|
var t = e.__data__;
|
|
6538
|
-
return
|
|
6592
|
+
return Yc(n) ? t[typeof n == "string" ? "string" : "hash"] : t.map;
|
|
6539
6593
|
}
|
|
6540
|
-
function
|
|
6541
|
-
var n =
|
|
6594
|
+
function qc(e) {
|
|
6595
|
+
var n = wt(this, e).delete(e);
|
|
6542
6596
|
return this.size -= n ? 1 : 0, n;
|
|
6543
6597
|
}
|
|
6544
|
-
function
|
|
6545
|
-
return
|
|
6598
|
+
function Gc(e) {
|
|
6599
|
+
return wt(this, e).get(e);
|
|
6546
6600
|
}
|
|
6547
|
-
function
|
|
6548
|
-
return
|
|
6601
|
+
function Kc(e) {
|
|
6602
|
+
return wt(this, e).has(e);
|
|
6549
6603
|
}
|
|
6550
|
-
function
|
|
6551
|
-
var t =
|
|
6604
|
+
function Zc(e, n) {
|
|
6605
|
+
var t = wt(this, e), s = t.size;
|
|
6552
6606
|
return t.set(e, n), this.size += t.size == s ? 0 : 1, this;
|
|
6553
6607
|
}
|
|
6554
|
-
function
|
|
6608
|
+
function Ie(e) {
|
|
6555
6609
|
var n = -1, t = e == null ? 0 : e.length;
|
|
6556
6610
|
for (this.clear(); ++n < t; ) {
|
|
6557
6611
|
var s = e[n];
|
|
6558
6612
|
this.set(s[0], s[1]);
|
|
6559
6613
|
}
|
|
6560
6614
|
}
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
var
|
|
6567
|
-
function
|
|
6615
|
+
Ie.prototype.clear = Xc;
|
|
6616
|
+
Ie.prototype.delete = qc;
|
|
6617
|
+
Ie.prototype.get = Gc;
|
|
6618
|
+
Ie.prototype.has = Kc;
|
|
6619
|
+
Ie.prototype.set = Zc;
|
|
6620
|
+
var Jc = 200;
|
|
6621
|
+
function Qc(e, n) {
|
|
6568
6622
|
var t = this.__data__;
|
|
6569
6623
|
if (t instanceof re) {
|
|
6570
6624
|
var s = t.__data__;
|
|
6571
|
-
if (!
|
|
6625
|
+
if (!Xe || s.length < Jc - 1)
|
|
6572
6626
|
return s.push([e, n]), this.size = ++t.size, this;
|
|
6573
|
-
t = this.__data__ = new
|
|
6627
|
+
t = this.__data__ = new Ie(s);
|
|
6574
6628
|
}
|
|
6575
6629
|
return t.set(e, n), this.size = t.size, this;
|
|
6576
6630
|
}
|
|
6577
|
-
function
|
|
6631
|
+
function ze(e) {
|
|
6578
6632
|
var n = this.__data__ = new re(e);
|
|
6579
6633
|
this.size = n.size;
|
|
6580
6634
|
}
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
function
|
|
6635
|
+
ze.prototype.clear = rc;
|
|
6636
|
+
ze.prototype.delete = lc;
|
|
6637
|
+
ze.prototype.get = ac;
|
|
6638
|
+
ze.prototype.has = cc;
|
|
6639
|
+
ze.prototype.set = Qc;
|
|
6640
|
+
function eu(e, n) {
|
|
6587
6641
|
for (var t = -1, s = e == null ? 0 : e.length; ++t < s && n(e[t], t, e) !== !1; )
|
|
6588
6642
|
;
|
|
6589
6643
|
return e;
|
|
6590
6644
|
}
|
|
6591
|
-
var
|
|
6645
|
+
var Cn = function() {
|
|
6592
6646
|
try {
|
|
6593
6647
|
var e = we(Object, "defineProperty");
|
|
6594
6648
|
return e({}, "", {}), e;
|
|
6595
6649
|
} catch {
|
|
6596
6650
|
}
|
|
6597
6651
|
}();
|
|
6598
|
-
function
|
|
6599
|
-
n == "__proto__" &&
|
|
6652
|
+
function tu(e, n, t) {
|
|
6653
|
+
n == "__proto__" && Cn ? Cn(e, n, {
|
|
6600
6654
|
configurable: !0,
|
|
6601
6655
|
enumerable: !0,
|
|
6602
6656
|
value: t,
|
|
6603
6657
|
writable: !0
|
|
6604
6658
|
}) : e[n] = t;
|
|
6605
6659
|
}
|
|
6606
|
-
var
|
|
6607
|
-
function
|
|
6660
|
+
var nu = Object.prototype, su = nu.hasOwnProperty;
|
|
6661
|
+
function ou(e, n, t) {
|
|
6608
6662
|
var s = e[n];
|
|
6609
|
-
(!(
|
|
6663
|
+
(!(su.call(e, n) && $s(s, t)) || t === void 0 && !(n in e)) && tu(e, n, t);
|
|
6610
6664
|
}
|
|
6611
|
-
function
|
|
6665
|
+
function iu(e, n) {
|
|
6612
6666
|
for (var t = -1, s = Array(e); ++t < e; )
|
|
6613
6667
|
s[t] = n(t);
|
|
6614
6668
|
return s;
|
|
6615
6669
|
}
|
|
6616
|
-
function
|
|
6670
|
+
function Ge(e) {
|
|
6617
6671
|
return e != null && typeof e == "object";
|
|
6618
6672
|
}
|
|
6619
|
-
var
|
|
6673
|
+
var ru = "[object Arguments]";
|
|
6620
6674
|
function Tn(e) {
|
|
6621
|
-
return
|
|
6675
|
+
return Ge(e) && qe(e) == ru;
|
|
6622
6676
|
}
|
|
6623
|
-
var Os = Object.prototype,
|
|
6677
|
+
var Os = Object.prototype, lu = Os.hasOwnProperty, au = Os.propertyIsEnumerable, cu = Tn(/* @__PURE__ */ function() {
|
|
6624
6678
|
return arguments;
|
|
6625
6679
|
}()) ? Tn : function(e) {
|
|
6626
|
-
return
|
|
6680
|
+
return Ge(e) && lu.call(e, "callee") && !au.call(e, "callee");
|
|
6627
6681
|
}, sn = Array.isArray;
|
|
6628
|
-
function
|
|
6682
|
+
function uu() {
|
|
6629
6683
|
return !1;
|
|
6630
6684
|
}
|
|
6631
|
-
var xs = typeof exports == "object" && exports && !exports.nodeType && exports, An = xs && typeof module == "object" && module && !module.nodeType && module,
|
|
6632
|
-
function
|
|
6685
|
+
var xs = typeof exports == "object" && exports && !exports.nodeType && exports, An = xs && typeof module == "object" && module && !module.nodeType && module, du = An && An.exports === xs, On = du ? te.Buffer : void 0, fu = On ? On.isBuffer : void 0, Rs = fu || uu, hu = 9007199254740991, mu = /^(?:0|[1-9]\d*)$/;
|
|
6686
|
+
function gu(e, n) {
|
|
6633
6687
|
var t = typeof e;
|
|
6634
|
-
return n = n ??
|
|
6688
|
+
return n = n ?? hu, !!n && (t == "number" || t != "symbol" && mu.test(e)) && e > -1 && e % 1 == 0 && e < n;
|
|
6635
6689
|
}
|
|
6636
6690
|
var vu = 9007199254740991;
|
|
6637
6691
|
function Es(e) {
|
|
6638
6692
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= vu;
|
|
6639
6693
|
}
|
|
6640
|
-
var yu = "[object Arguments]",
|
|
6641
|
-
B[
|
|
6642
|
-
B[yu] = B[
|
|
6643
|
-
function
|
|
6644
|
-
return
|
|
6694
|
+
var yu = "[object Arguments]", pu = "[object Array]", bu = "[object Boolean]", _u = "[object Date]", wu = "[object Error]", Su = "[object Function]", ku = "[object Map]", $u = "[object Number]", Cu = "[object Object]", Tu = "[object RegExp]", Au = "[object Set]", Ou = "[object String]", xu = "[object WeakMap]", Ru = "[object ArrayBuffer]", Eu = "[object DataView]", ju = "[object Float32Array]", Iu = "[object Float64Array]", zu = "[object Int8Array]", Mu = "[object Int16Array]", Uu = "[object Int32Array]", Bu = "[object Uint8Array]", Pu = "[object Uint8ClampedArray]", Lu = "[object Uint16Array]", Vu = "[object Uint32Array]", B = {};
|
|
6695
|
+
B[ju] = B[Iu] = B[zu] = B[Mu] = B[Uu] = B[Bu] = B[Pu] = B[Lu] = B[Vu] = !0;
|
|
6696
|
+
B[yu] = B[pu] = B[Ru] = B[bu] = B[Eu] = B[_u] = B[wu] = B[Su] = B[ku] = B[$u] = B[Cu] = B[Tu] = B[Au] = B[Ou] = B[xu] = !1;
|
|
6697
|
+
function Fu(e) {
|
|
6698
|
+
return Ge(e) && Es(e.length) && !!B[qe(e)];
|
|
6645
6699
|
}
|
|
6646
6700
|
function on(e) {
|
|
6647
6701
|
return function(n) {
|
|
6648
6702
|
return e(n);
|
|
6649
6703
|
};
|
|
6650
6704
|
}
|
|
6651
|
-
var js = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
6705
|
+
var js = typeof exports == "object" && exports && !exports.nodeType && exports, Fe = js && typeof module == "object" && module && !module.nodeType && module, Hu = Fe && Fe.exports === js, Ot = Hu && Cs.process, je = function() {
|
|
6652
6706
|
try {
|
|
6653
|
-
var e =
|
|
6654
|
-
return e ||
|
|
6707
|
+
var e = Fe && Fe.require && Fe.require("util").types;
|
|
6708
|
+
return e || Ot && Ot.binding && Ot.binding("util");
|
|
6655
6709
|
} catch {
|
|
6656
6710
|
}
|
|
6657
|
-
}(), xn = je && je.isTypedArray,
|
|
6658
|
-
function
|
|
6659
|
-
var t = sn(e), s = !t &&
|
|
6711
|
+
}(), xn = je && je.isTypedArray, Nu = xn ? on(xn) : Fu, Du = Object.prototype, Wu = Du.hasOwnProperty;
|
|
6712
|
+
function Xu(e, n) {
|
|
6713
|
+
var t = sn(e), s = !t && cu(e), o = !t && !s && Rs(e), i = !t && !s && !o && Nu(e), r = t || s || o || i, l = r ? iu(e.length, String) : [], a = l.length;
|
|
6660
6714
|
for (var c in e)
|
|
6661
|
-
|
|
6715
|
+
Wu.call(e, c) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6662
6716
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6663
6717
|
o && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6664
6718
|
i && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
|
|
6665
|
-
|
|
6719
|
+
gu(c, a))) && l.push(c);
|
|
6666
6720
|
return l;
|
|
6667
6721
|
}
|
|
6668
|
-
var
|
|
6669
|
-
function
|
|
6670
|
-
var n = e && e.constructor, t = typeof n == "function" && n.prototype ||
|
|
6722
|
+
var Yu = Object.prototype;
|
|
6723
|
+
function Is(e) {
|
|
6724
|
+
var n = e && e.constructor, t = typeof n == "function" && n.prototype || Yu;
|
|
6671
6725
|
return e === t;
|
|
6672
6726
|
}
|
|
6673
|
-
function
|
|
6727
|
+
function zs(e, n) {
|
|
6674
6728
|
return function(t) {
|
|
6675
6729
|
return e(n(t));
|
|
6676
6730
|
};
|
|
6677
6731
|
}
|
|
6678
|
-
var
|
|
6679
|
-
function
|
|
6680
|
-
if (!
|
|
6681
|
-
return
|
|
6732
|
+
var qu = zs(Object.keys, Object), Gu = Object.prototype, Ku = Gu.hasOwnProperty;
|
|
6733
|
+
function Zu(e) {
|
|
6734
|
+
if (!Is(e))
|
|
6735
|
+
return qu(e);
|
|
6682
6736
|
var n = [];
|
|
6683
6737
|
for (var t in Object(e))
|
|
6684
|
-
|
|
6738
|
+
Ku.call(e, t) && t != "constructor" && n.push(t);
|
|
6685
6739
|
return n;
|
|
6686
6740
|
}
|
|
6687
|
-
function
|
|
6741
|
+
function Ju(e) {
|
|
6688
6742
|
return e != null && Es(e.length) && !As(e);
|
|
6689
6743
|
}
|
|
6690
|
-
function
|
|
6691
|
-
return
|
|
6744
|
+
function Qu(e) {
|
|
6745
|
+
return Ju(e) ? Xu(e) : Zu(e);
|
|
6692
6746
|
}
|
|
6693
|
-
var Ms = typeof exports == "object" && exports && !exports.nodeType && exports, Rn = Ms && typeof module == "object" && module && !module.nodeType && module,
|
|
6747
|
+
var Ms = typeof exports == "object" && exports && !exports.nodeType && exports, Rn = Ms && typeof module == "object" && module && !module.nodeType && module, ed = Rn && Rn.exports === Ms, En = ed ? te.Buffer : void 0;
|
|
6694
6748
|
En && En.allocUnsafe;
|
|
6695
|
-
function
|
|
6749
|
+
function td(e, n) {
|
|
6696
6750
|
return e.slice();
|
|
6697
6751
|
}
|
|
6698
|
-
function
|
|
6752
|
+
function nd(e, n) {
|
|
6699
6753
|
for (var t = -1, s = e == null ? 0 : e.length, o = 0, i = []; ++t < s; ) {
|
|
6700
6754
|
var r = e[t];
|
|
6701
6755
|
n(r, t, e) && (i[o++] = r);
|
|
6702
6756
|
}
|
|
6703
6757
|
return i;
|
|
6704
6758
|
}
|
|
6705
|
-
function
|
|
6759
|
+
function sd() {
|
|
6706
6760
|
return [];
|
|
6707
6761
|
}
|
|
6708
|
-
var
|
|
6709
|
-
return e == null ? [] : (e = Object(e),
|
|
6710
|
-
return
|
|
6762
|
+
var od = Object.prototype, id = od.propertyIsEnumerable, jn = Object.getOwnPropertySymbols, rd = jn ? function(e) {
|
|
6763
|
+
return e == null ? [] : (e = Object(e), nd(jn(e), function(n) {
|
|
6764
|
+
return id.call(e, n);
|
|
6711
6765
|
}));
|
|
6712
|
-
} :
|
|
6713
|
-
function
|
|
6766
|
+
} : sd;
|
|
6767
|
+
function ld(e, n) {
|
|
6714
6768
|
for (var t = -1, s = n.length, o = e.length; ++t < s; )
|
|
6715
6769
|
e[o + t] = n[t];
|
|
6716
6770
|
return e;
|
|
6717
6771
|
}
|
|
6718
|
-
var
|
|
6719
|
-
function
|
|
6772
|
+
var ad = zs(Object.getPrototypeOf, Object);
|
|
6773
|
+
function cd(e, n, t) {
|
|
6720
6774
|
var s = n(e);
|
|
6721
|
-
return sn(e) ? s :
|
|
6775
|
+
return sn(e) ? s : ld(s, t(e));
|
|
6722
6776
|
}
|
|
6723
|
-
function
|
|
6724
|
-
return
|
|
6777
|
+
function ud(e) {
|
|
6778
|
+
return cd(e, Qu, rd);
|
|
6725
6779
|
}
|
|
6726
|
-
var
|
|
6727
|
-
(
|
|
6728
|
-
var n =
|
|
6780
|
+
var Pt = we(te, "DataView"), Lt = we(te, "Promise"), Vt = we(te, "Set"), Ft = we(te, "WeakMap"), In = "[object Map]", dd = "[object Object]", zn = "[object Promise]", Mn = "[object Set]", Un = "[object WeakMap]", Bn = "[object DataView]", fd = _e(Pt), hd = _e(Xe), md = _e(Lt), gd = _e(Vt), vd = _e(Ft), se = qe;
|
|
6781
|
+
(Pt && se(new Pt(new ArrayBuffer(1))) != Bn || Xe && se(new Xe()) != In || Lt && se(Lt.resolve()) != zn || Vt && se(new Vt()) != Mn || Ft && se(new Ft()) != Un) && (se = function(e) {
|
|
6782
|
+
var n = qe(e), t = n == dd ? e.constructor : void 0, s = t ? _e(t) : "";
|
|
6729
6783
|
if (s)
|
|
6730
6784
|
switch (s) {
|
|
6731
|
-
case
|
|
6785
|
+
case fd:
|
|
6732
6786
|
return Bn;
|
|
6787
|
+
case hd:
|
|
6788
|
+
return In;
|
|
6733
6789
|
case md:
|
|
6734
6790
|
return zn;
|
|
6735
6791
|
case gd:
|
|
6736
|
-
return In;
|
|
6737
|
-
case pd:
|
|
6738
6792
|
return Mn;
|
|
6739
6793
|
case vd:
|
|
6740
6794
|
return Un;
|
|
6741
6795
|
}
|
|
6742
6796
|
return n;
|
|
6743
6797
|
});
|
|
6744
|
-
var yd = Object.prototype,
|
|
6745
|
-
function
|
|
6798
|
+
var yd = Object.prototype, pd = yd.hasOwnProperty;
|
|
6799
|
+
function bd(e) {
|
|
6746
6800
|
var n = e.length, t = new e.constructor(n);
|
|
6747
|
-
return n && typeof e[0] == "string" &&
|
|
6801
|
+
return n && typeof e[0] == "string" && pd.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
6748
6802
|
}
|
|
6749
6803
|
var Pn = te.Uint8Array;
|
|
6750
6804
|
function rn(e) {
|
|
6751
6805
|
var n = new e.constructor(e.byteLength);
|
|
6752
6806
|
return new Pn(n).set(new Pn(e)), n;
|
|
6753
6807
|
}
|
|
6754
|
-
function
|
|
6808
|
+
function _d(e, n) {
|
|
6755
6809
|
var t = rn(e.buffer);
|
|
6756
6810
|
return new e.constructor(t, e.byteOffset, e.byteLength);
|
|
6757
6811
|
}
|
|
6758
|
-
var
|
|
6759
|
-
function
|
|
6760
|
-
var n = new e.constructor(e.source,
|
|
6812
|
+
var wd = /\w*$/;
|
|
6813
|
+
function Sd(e) {
|
|
6814
|
+
var n = new e.constructor(e.source, wd.exec(e));
|
|
6761
6815
|
return n.lastIndex = e.lastIndex, n;
|
|
6762
6816
|
}
|
|
6763
|
-
var Ln = Ee ? Ee.prototype : void 0,
|
|
6764
|
-
function
|
|
6765
|
-
return
|
|
6817
|
+
var Ln = Ee ? Ee.prototype : void 0, Vn = Ln ? Ln.valueOf : void 0;
|
|
6818
|
+
function kd(e) {
|
|
6819
|
+
return Vn ? Object(Vn.call(e)) : {};
|
|
6766
6820
|
}
|
|
6767
6821
|
function $d(e, n) {
|
|
6768
6822
|
var t = rn(e.buffer);
|
|
6769
6823
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
6770
6824
|
}
|
|
6771
|
-
var
|
|
6772
|
-
function
|
|
6825
|
+
var Cd = "[object Boolean]", Td = "[object Date]", Ad = "[object Map]", Od = "[object Number]", xd = "[object RegExp]", Rd = "[object Set]", Ed = "[object String]", jd = "[object Symbol]", Id = "[object ArrayBuffer]", zd = "[object DataView]", Md = "[object Float32Array]", Ud = "[object Float64Array]", Bd = "[object Int8Array]", Pd = "[object Int16Array]", Ld = "[object Int32Array]", Vd = "[object Uint8Array]", Fd = "[object Uint8ClampedArray]", Hd = "[object Uint16Array]", Nd = "[object Uint32Array]";
|
|
6826
|
+
function Dd(e, n, t) {
|
|
6773
6827
|
var s = e.constructor;
|
|
6774
6828
|
switch (n) {
|
|
6775
6829
|
case Id:
|
|
6776
6830
|
return rn(e);
|
|
6831
|
+
case Cd:
|
|
6777
6832
|
case Td:
|
|
6778
|
-
case Ad:
|
|
6779
6833
|
return new s(+e);
|
|
6834
|
+
case zd:
|
|
6835
|
+
return _d(e);
|
|
6780
6836
|
case Md:
|
|
6781
|
-
return wd(e);
|
|
6782
6837
|
case Ud:
|
|
6783
6838
|
case Bd:
|
|
6784
6839
|
case Pd:
|
|
6785
6840
|
case Ld:
|
|
6786
|
-
case Fd:
|
|
6787
6841
|
case Vd:
|
|
6842
|
+
case Fd:
|
|
6788
6843
|
case Hd:
|
|
6789
6844
|
case Nd:
|
|
6790
|
-
case Dd:
|
|
6791
6845
|
return $d(e);
|
|
6792
|
-
case
|
|
6846
|
+
case Ad:
|
|
6793
6847
|
return new s();
|
|
6794
|
-
case
|
|
6795
|
-
case
|
|
6848
|
+
case Od:
|
|
6849
|
+
case Ed:
|
|
6796
6850
|
return new s(e);
|
|
6851
|
+
case xd:
|
|
6852
|
+
return Sd(e);
|
|
6797
6853
|
case Rd:
|
|
6798
|
-
return kd(e);
|
|
6799
|
-
case Ed:
|
|
6800
6854
|
return new s();
|
|
6801
|
-
case
|
|
6802
|
-
return
|
|
6855
|
+
case jd:
|
|
6856
|
+
return kd(e);
|
|
6803
6857
|
}
|
|
6804
6858
|
}
|
|
6805
|
-
var
|
|
6859
|
+
var Fn = Object.create, Wd = /* @__PURE__ */ function() {
|
|
6806
6860
|
function e() {
|
|
6807
6861
|
}
|
|
6808
6862
|
return function(n) {
|
|
6809
|
-
if (!
|
|
6863
|
+
if (!_t(n))
|
|
6810
6864
|
return {};
|
|
6811
|
-
if (
|
|
6812
|
-
return
|
|
6865
|
+
if (Fn)
|
|
6866
|
+
return Fn(n);
|
|
6813
6867
|
e.prototype = n;
|
|
6814
6868
|
var t = new e();
|
|
6815
6869
|
return e.prototype = void 0, t;
|
|
6816
6870
|
};
|
|
6817
6871
|
}();
|
|
6818
|
-
function
|
|
6819
|
-
return typeof e.constructor == "function" && !
|
|
6872
|
+
function Xd(e) {
|
|
6873
|
+
return typeof e.constructor == "function" && !Is(e) ? Wd(ad(e)) : {};
|
|
6820
6874
|
}
|
|
6821
|
-
var
|
|
6822
|
-
function
|
|
6823
|
-
return
|
|
6875
|
+
var Yd = "[object Map]";
|
|
6876
|
+
function qd(e) {
|
|
6877
|
+
return Ge(e) && se(e) == Yd;
|
|
6824
6878
|
}
|
|
6825
|
-
var Hn = je && je.isMap,
|
|
6826
|
-
function
|
|
6827
|
-
return
|
|
6879
|
+
var Hn = je && je.isMap, Gd = Hn ? on(Hn) : qd, Kd = "[object Set]";
|
|
6880
|
+
function Zd(e) {
|
|
6881
|
+
return Ge(e) && se(e) == Kd;
|
|
6828
6882
|
}
|
|
6829
|
-
var Nn = je && je.isSet,
|
|
6830
|
-
M[Us] = M[
|
|
6831
|
-
M[
|
|
6832
|
-
function
|
|
6883
|
+
var Nn = je && je.isSet, Jd = Nn ? on(Nn) : Zd, Us = "[object Arguments]", Qd = "[object Array]", ef = "[object Boolean]", tf = "[object Date]", nf = "[object Error]", Bs = "[object Function]", sf = "[object GeneratorFunction]", of = "[object Map]", rf = "[object Number]", Ps = "[object Object]", lf = "[object RegExp]", af = "[object Set]", cf = "[object String]", uf = "[object Symbol]", df = "[object WeakMap]", ff = "[object ArrayBuffer]", hf = "[object DataView]", mf = "[object Float32Array]", gf = "[object Float64Array]", vf = "[object Int8Array]", yf = "[object Int16Array]", pf = "[object Int32Array]", bf = "[object Uint8Array]", _f = "[object Uint8ClampedArray]", wf = "[object Uint16Array]", Sf = "[object Uint32Array]", M = {};
|
|
6884
|
+
M[Us] = M[Qd] = M[ff] = M[hf] = M[ef] = M[tf] = M[mf] = M[gf] = M[vf] = M[yf] = M[pf] = M[of] = M[rf] = M[Ps] = M[lf] = M[af] = M[cf] = M[uf] = M[bf] = M[_f] = M[wf] = M[Sf] = !0;
|
|
6885
|
+
M[nf] = M[Bs] = M[df] = !1;
|
|
6886
|
+
function ot(e, n, t, s, o, i) {
|
|
6833
6887
|
var r;
|
|
6834
6888
|
if (r !== void 0)
|
|
6835
6889
|
return r;
|
|
6836
|
-
if (!
|
|
6890
|
+
if (!_t(e))
|
|
6837
6891
|
return e;
|
|
6838
6892
|
var l = sn(e);
|
|
6839
6893
|
if (l)
|
|
6840
|
-
r =
|
|
6894
|
+
r = bd(e);
|
|
6841
6895
|
else {
|
|
6842
|
-
var a = se(e), c = a == Bs || a ==
|
|
6896
|
+
var a = se(e), c = a == Bs || a == sf;
|
|
6843
6897
|
if (Rs(e))
|
|
6844
|
-
return
|
|
6898
|
+
return td(e);
|
|
6845
6899
|
if (a == Ps || a == Us || c && !o)
|
|
6846
|
-
r = c ? {} :
|
|
6900
|
+
r = c ? {} : Xd(e);
|
|
6847
6901
|
else {
|
|
6848
6902
|
if (!M[a])
|
|
6849
6903
|
return o ? e : {};
|
|
6850
|
-
r =
|
|
6904
|
+
r = Dd(e, a);
|
|
6851
6905
|
}
|
|
6852
6906
|
}
|
|
6853
|
-
i || (i = new
|
|
6907
|
+
i || (i = new ze());
|
|
6854
6908
|
var f = i.get(e);
|
|
6855
6909
|
if (f)
|
|
6856
6910
|
return f;
|
|
6857
|
-
i.set(e, r),
|
|
6858
|
-
r.add(
|
|
6859
|
-
}) :
|
|
6860
|
-
r.set(E,
|
|
6911
|
+
i.set(e, r), Jd(e) ? e.forEach(function(k) {
|
|
6912
|
+
r.add(ot(k, n, t, k, e, i));
|
|
6913
|
+
}) : Gd(e) && e.forEach(function(k, E) {
|
|
6914
|
+
r.set(E, ot(k, n, t, E, e, i));
|
|
6861
6915
|
});
|
|
6862
|
-
var
|
|
6863
|
-
return
|
|
6864
|
-
|
|
6916
|
+
var y = ud, v = l ? void 0 : y(e);
|
|
6917
|
+
return eu(v || e, function(k, E) {
|
|
6918
|
+
v && (E = k, k = e[E]), ou(r, E, ot(k, n, t, E, e, i));
|
|
6865
6919
|
}), r;
|
|
6866
6920
|
}
|
|
6867
|
-
var
|
|
6868
|
-
function
|
|
6869
|
-
return
|
|
6921
|
+
var kf = 1, $f = 4;
|
|
6922
|
+
function Cf(e) {
|
|
6923
|
+
return ot(e, kf | $f);
|
|
6870
6924
|
}
|
|
6871
|
-
const
|
|
6925
|
+
const xt = (e) => e.every((n) => typeof n == "object"), Dn = !0, Ls = () => window.innerWidth;
|
|
6872
6926
|
let Wn = Ls();
|
|
6873
|
-
const
|
|
6927
|
+
const Tf = {
|
|
6874
6928
|
name: "UluTableSticky",
|
|
6875
6929
|
components: {
|
|
6876
|
-
UluTableStickyTable:
|
|
6930
|
+
UluTableStickyTable: Ja
|
|
6877
6931
|
},
|
|
6878
6932
|
props: {
|
|
6879
6933
|
/**
|
|
@@ -6925,7 +6979,7 @@ const Af = {
|
|
|
6925
6979
|
*/
|
|
6926
6980
|
columns: {
|
|
6927
6981
|
type: Array,
|
|
6928
|
-
validator:
|
|
6982
|
+
validator: xt,
|
|
6929
6983
|
required: Dn
|
|
6930
6984
|
},
|
|
6931
6985
|
/**
|
|
@@ -6946,7 +7000,7 @@ const Af = {
|
|
|
6946
7000
|
*/
|
|
6947
7001
|
rows: {
|
|
6948
7002
|
type: Array,
|
|
6949
|
-
validator:
|
|
7003
|
+
validator: xt
|
|
6950
7004
|
// required
|
|
6951
7005
|
},
|
|
6952
7006
|
/**
|
|
@@ -6954,7 +7008,7 @@ const Af = {
|
|
|
6954
7008
|
*/
|
|
6955
7009
|
footerRows: {
|
|
6956
7010
|
type: Array,
|
|
6957
|
-
validator:
|
|
7011
|
+
validator: xt
|
|
6958
7012
|
},
|
|
6959
7013
|
/**
|
|
6960
7014
|
* Enables the visibility of the scroll controls
|
|
@@ -6990,7 +7044,7 @@ const Af = {
|
|
|
6990
7044
|
headerRows: this.createHeaderRows(e),
|
|
6991
7045
|
sizesCalculated: !1,
|
|
6992
7046
|
tableWidth: "auto",
|
|
6993
|
-
resizeHandler:
|
|
7047
|
+
resizeHandler: mt(this.onResize.bind(this), 500, !0),
|
|
6994
7048
|
resizing: !1,
|
|
6995
7049
|
overflownX: !1,
|
|
6996
7050
|
canScrollLeft: !1,
|
|
@@ -7130,7 +7184,7 @@ const Af = {
|
|
|
7130
7184
|
* - Can be used in the future for adding/removing or enabling/disabling
|
|
7131
7185
|
*/
|
|
7132
7186
|
createColumns() {
|
|
7133
|
-
const e = this.idCreator("c"), n =
|
|
7187
|
+
const e = this.idCreator("c"), n = Cf(this.columns), t = (s, o) => {
|
|
7134
7188
|
s.id = e(), s.parent = o, s.width = "auto", s.boxWidth = null, s.sortApplied = !1, s.sortAscending = !1, s.sortFocused = !1;
|
|
7135
7189
|
let i = [];
|
|
7136
7190
|
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);
|
|
@@ -7274,14 +7328,14 @@ const Af = {
|
|
|
7274
7328
|
unmounted() {
|
|
7275
7329
|
this.columnResizeObserver.disconnect(), this.columnResizeObserver = null;
|
|
7276
7330
|
}
|
|
7277
|
-
},
|
|
7331
|
+
}, Af = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--header" }, Of = { class: "table-sticky__header-wrap" }, xf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--first-column-header" }, Rf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--controls" }, Ef = {
|
|
7278
7332
|
key: 2,
|
|
7279
7333
|
class: "table-sticky__controls-inner"
|
|
7280
|
-
},
|
|
7334
|
+
}, jf = ["disabled"], If = ["disabled"], zf = {
|
|
7281
7335
|
ref: "display",
|
|
7282
7336
|
class: "table-sticky__display"
|
|
7283
7337
|
};
|
|
7284
|
-
function
|
|
7338
|
+
function Mf(e, n, t, s, o, i) {
|
|
7285
7339
|
const r = H("UluTableStickyTable");
|
|
7286
7340
|
return u(), d("div", {
|
|
7287
7341
|
class: m(["table-sticky", {
|
|
@@ -7290,9 +7344,9 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7290
7344
|
"table-sticky--can-scroll-left": o.canScrollLeft
|
|
7291
7345
|
}])
|
|
7292
7346
|
}, [
|
|
7293
|
-
h("div",
|
|
7294
|
-
h("div",
|
|
7295
|
-
|
|
7347
|
+
h("div", Af, [
|
|
7348
|
+
h("div", Of, [
|
|
7349
|
+
z(r, {
|
|
7296
7350
|
ref: "header",
|
|
7297
7351
|
class: "table-sticky__table table-sticky__table--header",
|
|
7298
7352
|
classes: t.classes,
|
|
@@ -7301,7 +7355,7 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7301
7355
|
getColumnTitle: t.getColumnTitle,
|
|
7302
7356
|
idPrefix: t.idPrefix,
|
|
7303
7357
|
headerRows: o.headerRows,
|
|
7304
|
-
style:
|
|
7358
|
+
style: F({
|
|
7305
7359
|
opacity: o.sizesCalculated ? "1" : "0",
|
|
7306
7360
|
pointerEvents: o.sizesCalculated ? "auto" : "none",
|
|
7307
7361
|
width: o.tableWidth
|
|
@@ -7317,7 +7371,7 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7317
7371
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
7318
7372
|
])
|
|
7319
7373
|
]),
|
|
7320
|
-
h("div",
|
|
7374
|
+
h("div", xf, [
|
|
7321
7375
|
t.firstColumnSticky ? (u(), _(r, {
|
|
7322
7376
|
key: 0,
|
|
7323
7377
|
ref: "firstColumnHeader",
|
|
@@ -7328,7 +7382,7 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7328
7382
|
getColumnTitle: t.getColumnTitle,
|
|
7329
7383
|
idPrefix: t.idPrefix,
|
|
7330
7384
|
headerRows: i.headerRowsFirst,
|
|
7331
|
-
style:
|
|
7385
|
+
style: F({
|
|
7332
7386
|
opacity: i.headerOpacityX,
|
|
7333
7387
|
pointerEvents: i.headerVisibleX ? "auto" : "none"
|
|
7334
7388
|
}),
|
|
@@ -7340,9 +7394,9 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7340
7394
|
g(e.$slots, a, Q(ee(c)))
|
|
7341
7395
|
])
|
|
7342
7396
|
}))
|
|
7343
|
-
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) :
|
|
7397
|
+
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : p("", !0)
|
|
7344
7398
|
]),
|
|
7345
|
-
h("div",
|
|
7399
|
+
h("div", Rf, [
|
|
7346
7400
|
Oe(h("div", {
|
|
7347
7401
|
class: m(["table-sticky__controls", i.resolveClasses(t.classes.controls)]),
|
|
7348
7402
|
ref: "controls"
|
|
@@ -7359,7 +7413,7 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7359
7413
|
scrollRight: i.scrollRight,
|
|
7360
7414
|
canScrollLeft: o.canScrollLeft,
|
|
7361
7415
|
canScrollRight: o.canScrollRight
|
|
7362
|
-
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (u(), d("div",
|
|
7416
|
+
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (u(), d("div", Ef, [
|
|
7363
7417
|
h("button", {
|
|
7364
7418
|
class: m(["table-sticky__control table-sticky__control--left", i.resolveClasses(t.classes.controlButton)]),
|
|
7365
7419
|
"aria-label": "Scroll Left",
|
|
@@ -7367,9 +7421,9 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7367
7421
|
disabled: !o.canScrollLeft
|
|
7368
7422
|
}, [
|
|
7369
7423
|
g(e.$slots, "controlLeft", {}, () => [
|
|
7370
|
-
n[2] || (n[2] =
|
|
7424
|
+
n[2] || (n[2] = $(" ← ", -1))
|
|
7371
7425
|
])
|
|
7372
|
-
], 10,
|
|
7426
|
+
], 10, jf),
|
|
7373
7427
|
h("button", {
|
|
7374
7428
|
class: m(["table-sticky__control table-sticky__control--right", i.resolveClasses(t.classes.controlButton)]),
|
|
7375
7429
|
"aria-label": "Scroll Right",
|
|
@@ -7377,16 +7431,16 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7377
7431
|
disabled: !o.canScrollRight
|
|
7378
7432
|
}, [
|
|
7379
7433
|
g(e.$slots, "controlRight", {}, () => [
|
|
7380
|
-
n[3] || (n[3] =
|
|
7434
|
+
n[3] || (n[3] = $(" → ", -1))
|
|
7381
7435
|
])
|
|
7382
7436
|
], 10, If)
|
|
7383
7437
|
]))
|
|
7384
7438
|
], 2), [
|
|
7385
|
-
[
|
|
7439
|
+
[Rt, i.controlsShown]
|
|
7386
7440
|
])
|
|
7387
7441
|
]),
|
|
7388
|
-
h("div",
|
|
7389
|
-
|
|
7442
|
+
h("div", zf, [
|
|
7443
|
+
z(r, {
|
|
7390
7444
|
ref: "table",
|
|
7391
7445
|
class: "table-sticky__table table-sticky__table--actual",
|
|
7392
7446
|
classes: t.classes,
|
|
@@ -7428,7 +7482,7 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7428
7482
|
idPrefix: t.idPrefix,
|
|
7429
7483
|
getRowValue: t.getRowValue,
|
|
7430
7484
|
getColumnTitle: t.getColumnTitle,
|
|
7431
|
-
style:
|
|
7485
|
+
style: F({
|
|
7432
7486
|
opacity: i.headerOpacityX,
|
|
7433
7487
|
pointerEvents: i.headerVisibleX ? "auto" : "none"
|
|
7434
7488
|
}),
|
|
@@ -7440,102 +7494,102 @@ function Uf(e, n, t, s, o, i) {
|
|
|
7440
7494
|
g(e.$slots, a, Q(ee(c)))
|
|
7441
7495
|
])
|
|
7442
7496
|
}))
|
|
7443
|
-
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) :
|
|
7497
|
+
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : p("", !0)
|
|
7444
7498
|
], 2);
|
|
7445
7499
|
}
|
|
7446
|
-
const
|
|
7500
|
+
const Qh = /* @__PURE__ */ O(Tf, [["render", Mf]]), em = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7447
7501
|
__proto__: null,
|
|
7448
7502
|
dom: mi,
|
|
7449
7503
|
router: Bi
|
|
7450
7504
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7451
7505
|
export {
|
|
7452
|
-
|
|
7453
|
-
|
|
7506
|
+
xh as $,
|
|
7507
|
+
ch as A,
|
|
7454
7508
|
N as B,
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7509
|
+
uh as C,
|
|
7510
|
+
dh as D,
|
|
7511
|
+
fh as E,
|
|
7458
7512
|
gs as F,
|
|
7459
7513
|
_s as G,
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7514
|
+
hh as H,
|
|
7515
|
+
mh as I,
|
|
7516
|
+
gh as J,
|
|
7463
7517
|
vh as K,
|
|
7464
7518
|
yh as L,
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7519
|
+
ph as M,
|
|
7520
|
+
bh as N,
|
|
7521
|
+
_h as O,
|
|
7522
|
+
wh as P,
|
|
7523
|
+
Sh as Q,
|
|
7524
|
+
vs as R,
|
|
7471
7525
|
wi as S,
|
|
7472
|
-
|
|
7526
|
+
kh as T,
|
|
7473
7527
|
ls as U,
|
|
7474
7528
|
$h as V,
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7529
|
+
Ch as W,
|
|
7530
|
+
Th as X,
|
|
7531
|
+
Ah as Y,
|
|
7532
|
+
Oh as Z,
|
|
7533
|
+
Yf as _,
|
|
7534
|
+
et as a,
|
|
7535
|
+
Rh as a0,
|
|
7536
|
+
Eh as a1,
|
|
7537
|
+
jh as a2,
|
|
7484
7538
|
Ih as a3,
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7539
|
+
zh as a4,
|
|
7540
|
+
Mh as a5,
|
|
7541
|
+
Uh as a6,
|
|
7542
|
+
Bh as a7,
|
|
7543
|
+
Ph as a8,
|
|
7544
|
+
Lh as a9,
|
|
7491
7545
|
Vh as aa,
|
|
7492
|
-
|
|
7493
|
-
|
|
7546
|
+
Fh as ab,
|
|
7547
|
+
Hh as ac,
|
|
7494
7548
|
Sn as ad,
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7549
|
+
Nh as ae,
|
|
7550
|
+
Dh as af,
|
|
7551
|
+
Wh as ag,
|
|
7552
|
+
Xh as ah,
|
|
7553
|
+
Yh as ai,
|
|
7554
|
+
Gh as aj,
|
|
7555
|
+
Kh as ak,
|
|
7556
|
+
ca as al,
|
|
7557
|
+
Zh as am,
|
|
7558
|
+
Aa as an,
|
|
7559
|
+
Jh as ao,
|
|
7560
|
+
Qh as ap,
|
|
7561
|
+
La as aq,
|
|
7562
|
+
Ja as ar,
|
|
7509
7563
|
To as as,
|
|
7510
7564
|
he as at,
|
|
7511
7565
|
ki as au,
|
|
7512
|
-
|
|
7566
|
+
Ci as av,
|
|
7513
7567
|
Jo as aw,
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7568
|
+
Gf as ax,
|
|
7569
|
+
Kf as ay,
|
|
7570
|
+
Hf as b,
|
|
7571
|
+
Nf as c,
|
|
7572
|
+
Df as d,
|
|
7573
|
+
Wf as e,
|
|
7574
|
+
Xf as f,
|
|
7521
7575
|
Ro as g,
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7576
|
+
Ut as h,
|
|
7577
|
+
em as i,
|
|
7578
|
+
qf as j,
|
|
7579
|
+
Zf as k,
|
|
7580
|
+
Ce as l,
|
|
7581
|
+
Jf as m,
|
|
7582
|
+
Qf as n,
|
|
7583
|
+
eh as o,
|
|
7584
|
+
th as p,
|
|
7585
|
+
nh as q,
|
|
7586
|
+
qh as r,
|
|
7587
|
+
sh as s,
|
|
7534
7588
|
Zi as t,
|
|
7535
|
-
|
|
7589
|
+
oh as u,
|
|
7536
7590
|
Ni as v,
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7591
|
+
ih as w,
|
|
7592
|
+
rh as x,
|
|
7593
|
+
lh as y,
|
|
7594
|
+
ah as z
|
|
7541
7595
|
};
|