@ulu/frontend-vue 0.1.0-beta.19 → 0.1.0-beta.20
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-yajtVs6n.js → breakpoints-DOXmgVoG.js} +1 -1
- package/dist/frontend-vue.js +1 -1
- package/dist/{index-RLrfaaN1.js → index-BpmkfeZb.js} +735 -714
- package/lib/composables/useDocumentTitle.js +47 -0
- package/lib/composables/usePageTitle.js +37 -0
- package/lib/utils/router.js +60 -0
- package/package.json +5 -3
- package/types/composables/useDocumentTitle.d.ts +18 -0
- package/types/composables/useDocumentTitle.d.ts.map +1 -0
- package/types/composables/usePageTitle.d.ts +19 -0
- package/types/composables/usePageTitle.d.ts.map +1 -0
- package/types/utils/router.d.ts +15 -0
- package/types/utils/router.d.ts.map +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { reactive as
|
|
1
|
+
import { reactive as nt, ref as P, computed as w, resolveDirective as es, createElementBlock as d, openBlock as l, Fragment as A, withDirectives as me, createElementVNode as f, unref as T, normalizeClass as m, renderSlot as g, withKeys as ts, normalizeStyle as B, createCommentVNode as y, nextTick as ss, toRef as Ls, toDisplayString as p, createBlock as _, Teleport as ot, resolveDynamicComponent as M, mergeProps as G, inject as ns, watchEffect as Hs, defineAsyncComponent as Ds, markRaw as de, toRefs as Vs, toValue as Ne, resolveComponent as E, withModifiers as Ns, createVNode as R, useSlots as Ws, renderList as $, TransitionGroup as os, withCtx as v, createTextVNode as k, vShow as is, watch as rs, onMounted as Xs, onUnmounted as qs, normalizeProps as X, guardReactiveProps as q, vModelCheckbox as Ys, vModelText as Ks, createSlots as ue } from "vue";
|
|
2
2
|
import { inline as as, offset as ls, flip as cs, shift as us, arrow as ds, useFloating as fs, autoUpdate as hs } from "@floating-ui/vue";
|
|
3
3
|
import { Disclosure as Gs, DisclosureButton as Zs, DisclosurePanel as Js, Tab as Qs, TabGroup as en, TabList as tn, TabPanel as sn, TabPanels as nn } from "@headlessui/vue";
|
|
4
|
-
import { useRoute as on, useRouter as rn, RouterLink as
|
|
4
|
+
import { useRoute as on, useRouter as rn, RouterLink as Pe } from "vue-router";
|
|
5
5
|
import an from "gsap";
|
|
6
6
|
import ln from "fuse.js";
|
|
7
|
-
const
|
|
7
|
+
const bt = {
|
|
8
8
|
fontAwesomeStatic: !1,
|
|
9
9
|
iconComponent: null,
|
|
10
10
|
iconPropResolver: (e) => ({ icon: e }),
|
|
@@ -28,8 +28,8 @@ const vt = {
|
|
|
28
28
|
previous: "fas fa-chevron-right"
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
function
|
|
32
|
-
const t =
|
|
31
|
+
function Id(e, s = {}) {
|
|
32
|
+
const t = nt({ ...bt }), { iconsByType: n, ...i } = s || {};
|
|
33
33
|
i && Object.assign(t, i);
|
|
34
34
|
const o = {
|
|
35
35
|
// Methods to interact with settings
|
|
@@ -37,7 +37,7 @@ function jd(e, s = {}) {
|
|
|
37
37
|
return t;
|
|
38
38
|
},
|
|
39
39
|
getDefaultSettings() {
|
|
40
|
-
return { ...
|
|
40
|
+
return { ...bt };
|
|
41
41
|
},
|
|
42
42
|
updateSettings(r) {
|
|
43
43
|
return Object.assign(t, r);
|
|
@@ -180,7 +180,7 @@ const Ue = {
|
|
|
180
180
|
plugin: { ...Ue.plugin },
|
|
181
181
|
popover: { ...Ue.popover },
|
|
182
182
|
tooltip: { ...Ue.tooltip, ...Ue.popover }
|
|
183
|
-
},
|
|
183
|
+
}, it = P(!1), rt = P(null);
|
|
184
184
|
function cn(e = {}) {
|
|
185
185
|
return Object.assign(oe.popover, e.popover), Object.assign(oe.tooltip, e.tooltip), Object.assign(oe.plugin, e.plugin), oe;
|
|
186
186
|
}
|
|
@@ -188,26 +188,26 @@ function un(e) {
|
|
|
188
188
|
return Object.assign({}, oe.tooltip, e);
|
|
189
189
|
}
|
|
190
190
|
function dn(e) {
|
|
191
|
-
|
|
191
|
+
it.value = !0, rt.value = e;
|
|
192
192
|
}
|
|
193
193
|
function fn() {
|
|
194
|
-
|
|
194
|
+
it.value = !1, rt.value = null;
|
|
195
195
|
}
|
|
196
196
|
const ze = /* @__PURE__ */ new WeakMap(), hn = {
|
|
197
197
|
mounted(e, s) {
|
|
198
|
-
|
|
198
|
+
wt(e, s);
|
|
199
199
|
},
|
|
200
200
|
beforeUpdate(e) {
|
|
201
|
-
|
|
201
|
+
St(e);
|
|
202
202
|
},
|
|
203
203
|
updated(e, s) {
|
|
204
|
-
|
|
204
|
+
wt(e, s);
|
|
205
205
|
},
|
|
206
206
|
umounted(e) {
|
|
207
|
-
|
|
207
|
+
St(e);
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
|
-
function
|
|
210
|
+
function wt(e, s) {
|
|
211
211
|
const t = mn(e, s);
|
|
212
212
|
if (!t) return;
|
|
213
213
|
let n = null;
|
|
@@ -224,7 +224,7 @@ function bt(e, s) {
|
|
|
224
224
|
e.addEventListener(r, o);
|
|
225
225
|
}), ze.set(e, { onShow: i, onHide: o, config: t });
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function St(e) {
|
|
228
228
|
if (!ze.has(e))
|
|
229
229
|
return;
|
|
230
230
|
const { config: s, onShow: t, onHide: n } = ze.get(e);
|
|
@@ -247,7 +247,7 @@ function yn() {
|
|
|
247
247
|
const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["aria-hidden", "id", "data-placement"], vn = { class: "popover__inner" }, bn = {
|
|
248
248
|
key: 0,
|
|
249
249
|
class: "popover__footer"
|
|
250
|
-
},
|
|
250
|
+
}, at = {
|
|
251
251
|
__name: "UluPopover",
|
|
252
252
|
props: {
|
|
253
253
|
triggerAlt: String,
|
|
@@ -278,23 +278,23 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
278
278
|
},
|
|
279
279
|
emits: ["toggle"],
|
|
280
280
|
setup(e, { emit: s }) {
|
|
281
|
-
const t = s, n = e, i = yn(), o = Object.assign({}, oe.popover, n.config), r =
|
|
281
|
+
const t = s, n = e, i = yn(), o = Object.assign({}, oe.popover, n.config), r = P(n.startOpen || !1), a = P(null), u = P(null), c = P(null), h = [
|
|
282
282
|
...o.inline ? [as()] : [],
|
|
283
283
|
...o.offset ? [ls(o.offset)] : [],
|
|
284
284
|
cs(),
|
|
285
285
|
us(),
|
|
286
|
-
...o.arrow ? [ds({ element:
|
|
286
|
+
...o.arrow ? [ds({ element: c })] : []
|
|
287
287
|
], b = {
|
|
288
288
|
placement: o.placement,
|
|
289
289
|
whileElementsMounted: hs,
|
|
290
|
-
middleware:
|
|
290
|
+
middleware: h
|
|
291
291
|
}, {
|
|
292
292
|
floatingStyles: C,
|
|
293
293
|
placement: U,
|
|
294
294
|
middlewareData: I,
|
|
295
295
|
update: F,
|
|
296
296
|
isPositioned: j
|
|
297
|
-
} = fs(a,
|
|
297
|
+
} = fs(a, u, b), J = w(() => {
|
|
298
298
|
const V = I.value?.arrow;
|
|
299
299
|
return V ? {
|
|
300
300
|
position: "absolute",
|
|
@@ -309,7 +309,7 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
309
309
|
r.value = V;
|
|
310
310
|
const ee = {
|
|
311
311
|
trigger: T(a),
|
|
312
|
-
content: T(
|
|
312
|
+
content: T(u),
|
|
313
313
|
isOpen: T(r)
|
|
314
314
|
}, le = { isOpen: ee.isOpen };
|
|
315
315
|
ss(() => {
|
|
@@ -321,21 +321,21 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
321
321
|
let Q;
|
|
322
322
|
const _e = () => {
|
|
323
323
|
n.clickOutsideCloses && (Q && pe(), Q = (V) => {
|
|
324
|
-
|
|
324
|
+
u.value.contains(V.target) || ne(!1);
|
|
325
325
|
}, document.addEventListener("click", Q));
|
|
326
326
|
}, pe = () => {
|
|
327
327
|
Q && (document.removeEventListener("click", Q), Q = null);
|
|
328
328
|
}, ve = () => ne(!1);
|
|
329
329
|
return (V, ee) => {
|
|
330
330
|
const le = es("ulu-tooltip");
|
|
331
|
-
return l(), d(
|
|
331
|
+
return l(), d(A, null, [
|
|
332
332
|
me((l(), d("button", {
|
|
333
333
|
type: "button",
|
|
334
334
|
ref_key: "trigger",
|
|
335
335
|
ref: a,
|
|
336
336
|
onClick: Re,
|
|
337
337
|
disabled: e.disabled,
|
|
338
|
-
class:
|
|
338
|
+
class: m([
|
|
339
339
|
{ [e.activeClass]: r.value },
|
|
340
340
|
e.classes.trigger
|
|
341
341
|
]),
|
|
@@ -348,7 +348,7 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
348
348
|
[le, e.tooltip ? e.tooltip : null]
|
|
349
349
|
]),
|
|
350
350
|
f("span", {
|
|
351
|
-
class:
|
|
351
|
+
class: m(["popover", [
|
|
352
352
|
e.size ? `popover--${e.size}` : "",
|
|
353
353
|
{
|
|
354
354
|
"popover--no-padding": e.noPadding,
|
|
@@ -357,10 +357,10 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
357
357
|
e.classes.content
|
|
358
358
|
]]),
|
|
359
359
|
ref_key: "content",
|
|
360
|
-
ref:
|
|
360
|
+
ref: u,
|
|
361
361
|
"aria-hidden": r.value ? "false" : "true",
|
|
362
362
|
id: T(i),
|
|
363
|
-
style:
|
|
363
|
+
style: B(T(C)),
|
|
364
364
|
"data-placement": T(U),
|
|
365
365
|
onKeydown: ee[0] || (ee[0] = ts((O) => ne(!1), ["esc"])),
|
|
366
366
|
tabindex: "-1"
|
|
@@ -375,8 +375,8 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
375
375
|
key: 1,
|
|
376
376
|
class: "popover__arrow",
|
|
377
377
|
ref_key: "contentArrow",
|
|
378
|
-
ref:
|
|
379
|
-
style:
|
|
378
|
+
ref: c,
|
|
379
|
+
style: B(J.value),
|
|
380
380
|
"data-ulu-popover-arrow": ""
|
|
381
381
|
}, null, 4)) : y("", !0)
|
|
382
382
|
], 46, pn)
|
|
@@ -392,7 +392,7 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
392
392
|
config: Object
|
|
393
393
|
},
|
|
394
394
|
setup(e) {
|
|
395
|
-
const s = Ls(e.config.trigger), t =
|
|
395
|
+
const s = Ls(e.config.trigger), t = P(null), n = P(null), i = [
|
|
396
396
|
...e.config.inline ? [as()] : [],
|
|
397
397
|
...e.config.offset ? [ls(e.config.offset)] : [],
|
|
398
398
|
cs(),
|
|
@@ -405,24 +405,24 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
405
405
|
}, {
|
|
406
406
|
floatingStyles: r,
|
|
407
407
|
placement: a,
|
|
408
|
-
middlewareData:
|
|
409
|
-
update:
|
|
410
|
-
isPositioned:
|
|
408
|
+
middlewareData: u,
|
|
409
|
+
update: c,
|
|
410
|
+
isPositioned: h
|
|
411
411
|
} = fs(s, t, o), b = w(() => {
|
|
412
|
-
const C =
|
|
412
|
+
const C = u.value?.arrow;
|
|
413
413
|
return C ? {
|
|
414
414
|
position: "absolute",
|
|
415
415
|
left: C?.x != null ? `${C.x}px` : "",
|
|
416
416
|
top: C?.y != null ? `${C.y}px` : ""
|
|
417
417
|
} : null;
|
|
418
418
|
});
|
|
419
|
-
return e.config.onReady && e.config.onReady({ update:
|
|
420
|
-
class:
|
|
419
|
+
return e.config.onReady && e.config.onReady({ update: c, isPositioned: h }), (C, U) => (l(), d("span", {
|
|
420
|
+
class: m(["popover popover--tooltip is-active", e.config.class]),
|
|
421
421
|
ref_key: "content",
|
|
422
422
|
ref: t,
|
|
423
423
|
"aria-hidden": "true",
|
|
424
424
|
"data-placement": T(a),
|
|
425
|
-
style:
|
|
425
|
+
style: B(T(r))
|
|
426
426
|
}, [
|
|
427
427
|
e.config.isHtml ? (l(), d("span", {
|
|
428
428
|
key: 0,
|
|
@@ -434,33 +434,33 @@ const _n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], pn = ["
|
|
|
434
434
|
class: "popover__arrow",
|
|
435
435
|
ref_key: "contentArrow",
|
|
436
436
|
ref: n,
|
|
437
|
-
style:
|
|
437
|
+
style: B(b.value)
|
|
438
438
|
}, null, 4)) : y("", !0)
|
|
439
439
|
], 14, wn));
|
|
440
440
|
}
|
|
441
441
|
}, Tn = {
|
|
442
442
|
__name: "UluTooltipDisplay",
|
|
443
443
|
setup(e) {
|
|
444
|
-
return (s, t) => (l(), _(
|
|
444
|
+
return (s, t) => (l(), _(ot, {
|
|
445
445
|
to: T(oe).plugin.tooltipTeleportTo
|
|
446
446
|
}, [
|
|
447
|
-
T(
|
|
447
|
+
T(it) ? (l(), _(Cn, {
|
|
448
448
|
key: 0,
|
|
449
|
-
config: T(
|
|
449
|
+
config: T(rt)
|
|
450
450
|
}, null, 8, ["config"])) : y("", !0)
|
|
451
451
|
], 8, ["to"]));
|
|
452
452
|
}
|
|
453
453
|
};
|
|
454
|
-
function
|
|
454
|
+
function Md(e, s = {}) {
|
|
455
455
|
const t = cn(s);
|
|
456
|
-
t.plugin.global && (e.directive(t.plugin.directiveName, hn), e.component("UluTooltipDisplay", Tn), e.component("UluPopover",
|
|
456
|
+
t.plugin.global && (e.directive(t.plugin.directiveName, hn), e.component("UluTooltipDisplay", Tn), e.component("UluPopover", at));
|
|
457
457
|
}
|
|
458
458
|
const S = (e, s) => {
|
|
459
459
|
const t = e.__vccOpts || e;
|
|
460
460
|
for (const [n, i] of s)
|
|
461
461
|
t[n] = i;
|
|
462
462
|
return t;
|
|
463
|
-
},
|
|
463
|
+
}, $n = {
|
|
464
464
|
name: "UluModalsDisplay",
|
|
465
465
|
emits: [
|
|
466
466
|
"modal-unmount",
|
|
@@ -500,7 +500,7 @@ const S = (e, s) => {
|
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
};
|
|
503
|
-
function
|
|
503
|
+
function An(e, s, t, n, i, o) {
|
|
504
504
|
return o.currentModal ? (l(), _(M(o.currentModal.component), G({ key: 0 }, o.currentProps, {
|
|
505
505
|
modelValue: i.open,
|
|
506
506
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => i.open = r),
|
|
@@ -508,7 +508,7 @@ function $n(e, s, t, n, i, o) {
|
|
|
508
508
|
onVnodeUnmounted: o.modalUnmounted
|
|
509
509
|
}), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : y("", !0);
|
|
510
510
|
}
|
|
511
|
-
const On = /* @__PURE__ */ S(
|
|
511
|
+
const On = /* @__PURE__ */ S($n, [["render", An]]);
|
|
512
512
|
function Rn() {
|
|
513
513
|
return { getIconProps: (t) => t ? typeof t == "object" && !Array.isArray(t) ? t : { icon: t } : null, getClassesFromDefinition: (t) => {
|
|
514
514
|
if (!t)
|
|
@@ -540,9 +540,9 @@ const D = {
|
|
|
540
540
|
spaced: Boolean
|
|
541
541
|
},
|
|
542
542
|
setup(e) {
|
|
543
|
-
const s = ns("uluCore"), t =
|
|
543
|
+
const s = ns("uluCore"), t = P(null), { getIconProps: n, getClassesFromDefinition: i } = Rn();
|
|
544
544
|
let o;
|
|
545
|
-
const r = e, a = w(() => s.getSetting("fontAwesomeStatic")),
|
|
545
|
+
const r = e, a = w(() => s.getSetting("fontAwesomeStatic")), u = w(() => s.getSetting("iconComponent")), c = w(() => s.getSetting("iconPropResolver")), h = w(() => {
|
|
546
546
|
const { icon: F } = r;
|
|
547
547
|
if (typeof F == "string" && F.startsWith("type:"))
|
|
548
548
|
try {
|
|
@@ -552,11 +552,11 @@ const D = {
|
|
|
552
552
|
return console.warn(j), null;
|
|
553
553
|
}
|
|
554
554
|
return F;
|
|
555
|
-
}), b = w(() => !
|
|
555
|
+
}), b = w(() => !u.value || !h.value ? null : c.value(h.value)), C = w(() => n(h.value)), U = w(() => i(h.value)), I = w(() => ({
|
|
556
556
|
"flow-inline": r.spaced
|
|
557
557
|
}));
|
|
558
558
|
return Hs(async () => {
|
|
559
|
-
if (!a.value &&
|
|
559
|
+
if (!a.value && h.value) {
|
|
560
560
|
if (t.value === null)
|
|
561
561
|
if (o)
|
|
562
562
|
t.value = de(o.FontAwesomeIcon);
|
|
@@ -569,9 +569,9 @@ const D = {
|
|
|
569
569
|
}
|
|
570
570
|
} else
|
|
571
571
|
t.value = null;
|
|
572
|
-
}), (F, j) =>
|
|
572
|
+
}), (F, j) => u.value ? (l(), _(M(u.value), G({ key: 0 }, b.value, { class: I.value }), null, 16, ["class"])) : !a.value && t.value && h.value ? (l(), _(M(t.value), G({ key: 1 }, C.value, { class: I.value }), null, 16, ["class"])) : a.value && h.value ? (l(), d("span", {
|
|
573
573
|
key: 2,
|
|
574
|
-
class:
|
|
574
|
+
class: m([U.value, I.value]),
|
|
575
575
|
"aria-hidden": "true"
|
|
576
576
|
}, null, 2)) : y("", !0);
|
|
577
577
|
}
|
|
@@ -599,8 +599,8 @@ function se({ props: e, baseClass: s, internal: t = {} }) {
|
|
|
599
599
|
const o = Ne(s), r = Ge(Ne(n)), a = Ge(Ne(t));
|
|
600
600
|
if (!o)
|
|
601
601
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
602
|
-
const
|
|
603
|
-
return Array.from(
|
|
602
|
+
const u = /* @__PURE__ */ new Set([...a, ...r]);
|
|
603
|
+
return Array.from(u).map((c) => `${o}--${c}`);
|
|
604
604
|
}) };
|
|
605
605
|
}
|
|
606
606
|
function ms() {
|
|
@@ -629,17 +629,17 @@ function jn({ preventShift: e = !1, container: s = document.body }) {
|
|
|
629
629
|
s.style.overflow = t, s.style.paddingRight = n;
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Be(e, s, t, n) {
|
|
633
633
|
var i;
|
|
634
634
|
return function() {
|
|
635
|
-
var r = n || this, a = arguments,
|
|
635
|
+
var r = n || this, a = arguments, u = function() {
|
|
636
636
|
i = null, t || e.apply(r, a);
|
|
637
|
-
},
|
|
638
|
-
clearTimeout(i), i = setTimeout(
|
|
637
|
+
}, c = t && !i;
|
|
638
|
+
clearTimeout(i), i = setTimeout(u, s), c && e.apply(r, a);
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
641
|
ms() && (En(), In());
|
|
642
|
-
const
|
|
642
|
+
const kt = {
|
|
643
643
|
/**
|
|
644
644
|
* Event is dispatched when DOM in the page has changed, triggers updates from
|
|
645
645
|
* all modules listening for the change (init instances, etc)
|
|
@@ -668,7 +668,7 @@ const St = {
|
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
670
|
function Ze(e, s) {
|
|
671
|
-
|
|
671
|
+
kt[e] ? kt[e](s) : console.warn(`Unable to dispatch site event: ${e} in context:`, s);
|
|
672
672
|
}
|
|
673
673
|
function zn(e) {
|
|
674
674
|
return "ulu:" + e;
|
|
@@ -677,7 +677,7 @@ function we(e, s = null, t = { bubbles: !0 }) {
|
|
|
677
677
|
return new CustomEvent(zn(e), { detail: s, ...t });
|
|
678
678
|
}
|
|
679
679
|
function En() {
|
|
680
|
-
window.addEventListener("resize",
|
|
680
|
+
window.addEventListener("resize", Be(() => Ze("pageResized", document), 250));
|
|
681
681
|
}
|
|
682
682
|
function In() {
|
|
683
683
|
window.addEventListener("beforeprint", () => {
|
|
@@ -689,16 +689,16 @@ function In() {
|
|
|
689
689
|
function Mn(e) {
|
|
690
690
|
return typeof e == "object" && e?.constructor?.name;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function Pn(e, s, t) {
|
|
693
693
|
const n = Mn(s) || "Logger";
|
|
694
694
|
console[e](n, ...t);
|
|
695
695
|
}
|
|
696
696
|
function ce(e, ...s) {
|
|
697
697
|
}
|
|
698
698
|
function je(e, ...s) {
|
|
699
|
-
|
|
699
|
+
Pn("error", e, s);
|
|
700
700
|
}
|
|
701
|
-
class
|
|
701
|
+
class lt {
|
|
702
702
|
static defaults = {
|
|
703
703
|
debug: !1,
|
|
704
704
|
/**
|
|
@@ -788,18 +788,18 @@ class at {
|
|
|
788
788
|
je(this, "Missing required elements: control, container");
|
|
789
789
|
return;
|
|
790
790
|
}
|
|
791
|
-
const i = Object.assign({},
|
|
791
|
+
const i = Object.assign({}, lt.defaults, n);
|
|
792
792
|
this.options = i, this.container = s, this.control = t, this.debug = i.debug;
|
|
793
|
-
const o = ["left", "right"], r = ["top", "bottom"], { fromX: a, fromY:
|
|
793
|
+
const o = ["left", "right"], r = ["top", "bottom"], { fromX: a, fromY: u } = i;
|
|
794
794
|
if (!o.includes(a) && a !== null) {
|
|
795
795
|
je(this, `Invalid fromX: ${a} (left|right|null)`);
|
|
796
796
|
return;
|
|
797
797
|
}
|
|
798
|
-
if (!r.includes(
|
|
799
|
-
je(this, `Invalid fromY: ${
|
|
798
|
+
if (!r.includes(u) && u !== null) {
|
|
799
|
+
je(this, `Invalid fromY: ${u} (top|bottom|null)`);
|
|
800
800
|
return;
|
|
801
801
|
}
|
|
802
|
-
if (!a && !
|
|
802
|
+
if (!a && !u) {
|
|
803
803
|
je(this, "Invalid fromX/fromY, failed to setup resizer (at least one of fromX or fromY must be set)");
|
|
804
804
|
return;
|
|
805
805
|
}
|
|
@@ -858,16 +858,16 @@ class at {
|
|
|
858
858
|
*/
|
|
859
859
|
#f(s, t, n) {
|
|
860
860
|
let i = this.#e.width, o = this.#e.height;
|
|
861
|
-
const { fromX: r, fromY: a, multiplier:
|
|
862
|
-
this.resizeHorizontal && (r === "right" ? i = this.#e.width + s *
|
|
863
|
-
const
|
|
861
|
+
const { fromX: r, fromY: a, multiplier: u } = this.options;
|
|
862
|
+
this.resizeHorizontal && (r === "right" ? i = this.#e.width + s * u : r === "left" && (i = this.#e.width - s * u), this.container.style.width = `${Math.max(0, i)}px`), this.resizeVertical && (a === "bottom" ? o = this.#e.height + t * u : a === "top" && (o = this.#e.height - t * u), this.container.style.height = `${Math.max(0, o)}px`);
|
|
863
|
+
const c = {
|
|
864
864
|
newWidth: i,
|
|
865
865
|
newHeight: o,
|
|
866
866
|
totalDeltaX: s,
|
|
867
867
|
totalDeltaY: t,
|
|
868
868
|
event: n
|
|
869
869
|
};
|
|
870
|
-
this.dispatchEvent("resizer:update",
|
|
870
|
+
this.dispatchEvent("resizer:update", c), ce(this, "Resizing update.", c);
|
|
871
871
|
}
|
|
872
872
|
/**
|
|
873
873
|
* Public handler for pointerdown events. Call this method from your own event listeners
|
|
@@ -930,7 +930,7 @@ class at {
|
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
932
|
let We = 0;
|
|
933
|
-
const
|
|
933
|
+
const Bn = {
|
|
934
934
|
name: "UluModal",
|
|
935
935
|
components: {
|
|
936
936
|
UluIcon: D
|
|
@@ -1050,10 +1050,10 @@ const Pn = {
|
|
|
1050
1050
|
},
|
|
1051
1051
|
setup(e) {
|
|
1052
1052
|
const s = Ws(), t = w(() => e.title || s.title), n = w(() => {
|
|
1053
|
-
const { allowResize: a, position:
|
|
1054
|
-
if (!a || !
|
|
1055
|
-
const
|
|
1056
|
-
return
|
|
1053
|
+
const { allowResize: a, position: u } = e;
|
|
1054
|
+
if (!a || !u) return;
|
|
1055
|
+
const c = ["left", "right", "center"];
|
|
1056
|
+
return c.includes(u) ? !0 : (console.warn(`Passed invalid position for resize (${u}), use ${c.join(", ")}`), !1);
|
|
1057
1057
|
}), i = w(() => e.position === "center" ? "type:resizeBoth" : "type:resizeHorizontal"), o = w(() => ({
|
|
1058
1058
|
[e.position]: e.position,
|
|
1059
1059
|
resize: e.allowResize,
|
|
@@ -1138,7 +1138,7 @@ const Pn = {
|
|
|
1138
1138
|
const { position: e, resizerEnabled: s } = this;
|
|
1139
1139
|
if (s) {
|
|
1140
1140
|
const { container: t, resizer: n } = this.$refs, i = e === "center" ? { fromX: "right", fromY: "bottom", multiplier: 2 } : { fromX: e === "right" ? "left" : "right" };
|
|
1141
|
-
this.resizerInstance = new
|
|
1141
|
+
this.resizerInstance = new lt(t, n, i), this.handleResizerStart = () => {
|
|
1142
1142
|
this.isResizing = !0;
|
|
1143
1143
|
}, this.handleResizerEnd = () => {
|
|
1144
1144
|
setTimeout(() => {
|
|
@@ -1167,16 +1167,16 @@ const Pn = {
|
|
|
1167
1167
|
};
|
|
1168
1168
|
function Vn(e, s, t, n, i, o) {
|
|
1169
1169
|
const r = E("UluIcon");
|
|
1170
|
-
return l(), _(
|
|
1170
|
+
return l(), _(ot, {
|
|
1171
1171
|
to: t.teleport === !1 ? null : t.teleport,
|
|
1172
1172
|
disabled: t.teleport === !1
|
|
1173
1173
|
}, [
|
|
1174
1174
|
f("dialog", {
|
|
1175
|
-
class:
|
|
1175
|
+
class: m(["modal", [n.resolvedModifiers, t.classes.container]]),
|
|
1176
1176
|
"aria-labelledby": o.resolvedLabelledby,
|
|
1177
1177
|
"aria-describedby": t.describedby,
|
|
1178
1178
|
ref: "container",
|
|
1179
|
-
style:
|
|
1179
|
+
style: B({ width: i.containerWidth }),
|
|
1180
1180
|
onCancel: s[1] || (s[1] = Ns((...a) => o.close && o.close(...a), ["prevent"])),
|
|
1181
1181
|
onClose: s[2] || (s[2] = (...a) => o.handleDialogCloseEvent && o.handleDialogCloseEvent(...a)),
|
|
1182
1182
|
onClick: s[3] || (s[3] = (...a) => o.handleClick && o.handleClick(...a)),
|
|
@@ -1184,10 +1184,10 @@ function Vn(e, s, t, n, i, o) {
|
|
|
1184
1184
|
}, [
|
|
1185
1185
|
n.hasHeader ? (l(), d("header", {
|
|
1186
1186
|
key: 0,
|
|
1187
|
-
class:
|
|
1187
|
+
class: m(["modal__header", t.classes.header])
|
|
1188
1188
|
}, [
|
|
1189
1189
|
f("h2", {
|
|
1190
|
-
class:
|
|
1190
|
+
class: m(["modal__title", t.classes.title]),
|
|
1191
1191
|
id: i.titleId
|
|
1192
1192
|
}, [
|
|
1193
1193
|
g(e.$slots, "title", { close: o.close }, () => [
|
|
@@ -1214,13 +1214,13 @@ function Vn(e, s, t, n, i, o) {
|
|
|
1214
1214
|
])
|
|
1215
1215
|
], 2)) : y("", !0),
|
|
1216
1216
|
f("div", {
|
|
1217
|
-
class:
|
|
1217
|
+
class: m(["modal__body", t.classes.body])
|
|
1218
1218
|
}, [
|
|
1219
1219
|
g(e.$slots, "default", { close: o.close })
|
|
1220
1220
|
], 2),
|
|
1221
1221
|
e.$slots.footer ? (l(), d("div", {
|
|
1222
1222
|
key: 1,
|
|
1223
|
-
class:
|
|
1223
|
+
class: m(["site-modal__footer", t.classes.footer])
|
|
1224
1224
|
}, [
|
|
1225
1225
|
g(e.$slots, "footer", { close: o.close })
|
|
1226
1226
|
], 2)) : y("", !0),
|
|
@@ -1235,7 +1235,7 @@ function Vn(e, s, t, n, i, o) {
|
|
|
1235
1235
|
], 46, Fn)
|
|
1236
1236
|
], 8, ["to", "disabled"]);
|
|
1237
1237
|
}
|
|
1238
|
-
const Nn = /* @__PURE__ */ S(
|
|
1238
|
+
const Nn = /* @__PURE__ */ S(Bn, [["render", Vn]]), Se = [], Wn = P({
|
|
1239
1239
|
/**
|
|
1240
1240
|
* Holds active component options (including component, and options)
|
|
1241
1241
|
*/
|
|
@@ -1244,7 +1244,7 @@ const Nn = /* @__PURE__ */ S(Pn, [["render", Vn]]), Se = [], Wn = B({
|
|
|
1244
1244
|
* Populated with any props passed to open method, bound to modal component
|
|
1245
1245
|
*/
|
|
1246
1246
|
activeProps: null
|
|
1247
|
-
}), ke = Wn.value,
|
|
1247
|
+
}), ke = Wn.value, Ct = {
|
|
1248
1248
|
data: ke,
|
|
1249
1249
|
modals: Se
|
|
1250
1250
|
}, Xn = (e) => ({
|
|
@@ -1293,11 +1293,11 @@ const Nn = /* @__PURE__ */ S(Pn, [["render", Vn]]), Se = [], Wn = B({
|
|
|
1293
1293
|
modals: [],
|
|
1294
1294
|
modalOptions: {}
|
|
1295
1295
|
};
|
|
1296
|
-
function
|
|
1296
|
+
function Pd(e, s) {
|
|
1297
1297
|
const t = Object.assign({}, qn, s), i = Xn((o) => Object.assign({}, t.modalOptions, o));
|
|
1298
1298
|
e.component(t.componentNameDisplay, On), e.component(t.componentNameModal, Nn), t.modals.forEach((o) => {
|
|
1299
1299
|
i.add(o);
|
|
1300
|
-
}),
|
|
1300
|
+
}), Ct.options = t, e.config.globalProperties.$uluModals = i, e.provide("uluModals", i), e.config.globalProperties.$uluModalsState = Ct;
|
|
1301
1301
|
}
|
|
1302
1302
|
const Yn = {
|
|
1303
1303
|
name: "UluToast",
|
|
@@ -1335,7 +1335,7 @@ const Yn = {
|
|
|
1335
1335
|
function Gn(e, s, t, n, i, o) {
|
|
1336
1336
|
const r = E("UluIcon");
|
|
1337
1337
|
return l(), d("div", {
|
|
1338
|
-
class:
|
|
1338
|
+
class: m(["toast", [
|
|
1339
1339
|
{
|
|
1340
1340
|
"toast--persistent": !t.toast.duration
|
|
1341
1341
|
},
|
|
@@ -1344,7 +1344,7 @@ function Gn(e, s, t, n, i, o) {
|
|
|
1344
1344
|
}, [
|
|
1345
1345
|
t.toast.icon || e.$slots.icon ? (l(), d("div", {
|
|
1346
1346
|
key: 0,
|
|
1347
|
-
class:
|
|
1347
|
+
class: m(["toast__icon", t.classes.icon])
|
|
1348
1348
|
}, [
|
|
1349
1349
|
g(e.$slots, "icon", { toast: t.toast }, () => [
|
|
1350
1350
|
t.toast.icon ? (l(), _(r, {
|
|
@@ -1354,46 +1354,46 @@ function Gn(e, s, t, n, i, o) {
|
|
|
1354
1354
|
])
|
|
1355
1355
|
], 2)) : y("", !0),
|
|
1356
1356
|
f("div", {
|
|
1357
|
-
class:
|
|
1357
|
+
class: m(["toast__content", t.classes.content])
|
|
1358
1358
|
}, [
|
|
1359
1359
|
g(e.$slots, "content", { toast: t.toast }, () => [
|
|
1360
1360
|
t.toast.title ? (l(), d("div", {
|
|
1361
1361
|
key: 0,
|
|
1362
|
-
class:
|
|
1362
|
+
class: m(["toast__header", t.classes.header])
|
|
1363
1363
|
}, [
|
|
1364
1364
|
f("strong", {
|
|
1365
|
-
class:
|
|
1365
|
+
class: m(["toast__title", t.classes.title])
|
|
1366
1366
|
}, p(t.toast.title), 3),
|
|
1367
1367
|
t.toast.date ? (l(), d("span", {
|
|
1368
1368
|
key: 0,
|
|
1369
|
-
class:
|
|
1369
|
+
class: m(["toast__date", t.classes.date])
|
|
1370
1370
|
}, p(t.toast.date), 3)) : y("", !0)
|
|
1371
1371
|
], 2)) : y("", !0),
|
|
1372
1372
|
t.toast.description ? (l(), d("div", {
|
|
1373
1373
|
key: 1,
|
|
1374
|
-
class:
|
|
1374
|
+
class: m(["toast__body", t.classes.body])
|
|
1375
1375
|
}, p(t.toast.description), 3)) : y("", !0)
|
|
1376
1376
|
])
|
|
1377
1377
|
], 2),
|
|
1378
1378
|
t.toast.actions?.length ? (l(), d("div", {
|
|
1379
1379
|
key: 1,
|
|
1380
|
-
class:
|
|
1380
|
+
class: m(["toast__actions", t.classes.actions])
|
|
1381
1381
|
}, [
|
|
1382
|
-
(l(!0), d(
|
|
1383
|
-
key:
|
|
1384
|
-
class:
|
|
1385
|
-
onClick: (
|
|
1382
|
+
(l(!0), d(A, null, $(t.toast.actions, (a, u) => (l(), d("button", {
|
|
1383
|
+
key: u,
|
|
1384
|
+
class: m(["toast__action", t.classes.action]),
|
|
1385
|
+
onClick: (c) => o.handleAction(c, a)
|
|
1386
1386
|
}, p(a.label), 11, Kn))), 128))
|
|
1387
1387
|
], 2)) : y("", !0),
|
|
1388
1388
|
f("button", {
|
|
1389
|
-
class:
|
|
1389
|
+
class: m(["toast__close", t.classes.closeButton]),
|
|
1390
1390
|
onClick: s[0] || (s[0] = (...a) => t.toast.close && t.toast.close(...a))
|
|
1391
1391
|
}, [
|
|
1392
1392
|
R(r, { icon: "type:close" })
|
|
1393
1393
|
], 2)
|
|
1394
1394
|
], 2);
|
|
1395
1395
|
}
|
|
1396
|
-
const gs = /* @__PURE__ */ S(Yn, [["render", Gn]]),
|
|
1396
|
+
const gs = /* @__PURE__ */ S(Yn, [["render", Gn]]), Tt = {
|
|
1397
1397
|
toastOptions: {
|
|
1398
1398
|
/**
|
|
1399
1399
|
* Component used to render the toast in the display
|
|
@@ -1420,13 +1420,13 @@ const gs = /* @__PURE__ */ S(Yn, [["render", Gn]]), Ct = {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
}, { assign: Xe } = Object;
|
|
1422
1422
|
let Zn = 0;
|
|
1423
|
-
const te =
|
|
1423
|
+
const te = nt({
|
|
1424
1424
|
toasts: [],
|
|
1425
1425
|
/**
|
|
1426
1426
|
* Saveable
|
|
1427
1427
|
*/
|
|
1428
|
-
pluginOptions:
|
|
1429
|
-
toastOptions:
|
|
1428
|
+
pluginOptions: Tt.pluginOptions,
|
|
1429
|
+
toastOptions: Tt.toastOptions,
|
|
1430
1430
|
setToastOptions(e) {
|
|
1431
1431
|
return this.toastOptions = Xe({}, this.toastOptions, e), this.pluginOptions;
|
|
1432
1432
|
},
|
|
@@ -1482,16 +1482,16 @@ const te = Qt({
|
|
|
1482
1482
|
}
|
|
1483
1483
|
};
|
|
1484
1484
|
function Qn(e, s, t, n, i, o) {
|
|
1485
|
-
return l(), _(
|
|
1485
|
+
return l(), _(ot, {
|
|
1486
1486
|
to: i.pluginOptions.teleportTo
|
|
1487
1487
|
}, [
|
|
1488
1488
|
R(os, {
|
|
1489
|
-
class:
|
|
1489
|
+
class: m(["toast-container", o.classes]),
|
|
1490
1490
|
name: "toast",
|
|
1491
1491
|
tag: "div"
|
|
1492
1492
|
}, {
|
|
1493
1493
|
default: v(() => [
|
|
1494
|
-
(l(!0), d(
|
|
1494
|
+
(l(!0), d(A, null, $(i.toasts, (r) => (l(), _(M(r.component), {
|
|
1495
1495
|
key: r.uid,
|
|
1496
1496
|
toast: r
|
|
1497
1497
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -1501,7 +1501,7 @@ function Qn(e, s, t, n, i, o) {
|
|
|
1501
1501
|
], 8, ["to"]);
|
|
1502
1502
|
}
|
|
1503
1503
|
const eo = /* @__PURE__ */ S(Jn, [["render", Qn]]);
|
|
1504
|
-
function
|
|
1504
|
+
function Bd(e, s = {}) {
|
|
1505
1505
|
const t = te.setPluginOptions(s?.plugin);
|
|
1506
1506
|
te.setToastOptions(s?.toast), e.component(t.componentName, gs), e.component(t.componentNameDisplay, eo), e.config.globalProperties.$uluToast = Je, e.provide("uluToast", Je);
|
|
1507
1507
|
}
|
|
@@ -1522,18 +1522,18 @@ const to = {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
};
|
|
1524
1524
|
function so(e) {
|
|
1525
|
-
const s = Object.assign({}, to, e), t =
|
|
1525
|
+
const s = Object.assign({}, to, e), t = P(null), n = P(s.initialValue), i = P(null);
|
|
1526
1526
|
return (async () => {
|
|
1527
1527
|
if (!ms()) return;
|
|
1528
|
-
await new Promise((
|
|
1529
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () =>
|
|
1528
|
+
await new Promise((h) => {
|
|
1529
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => h()) : h();
|
|
1530
1530
|
});
|
|
1531
|
-
const r = await import("./breakpoints-
|
|
1532
|
-
t.value = de(
|
|
1533
|
-
const
|
|
1534
|
-
n.value =
|
|
1531
|
+
const r = await import("./breakpoints-DOXmgVoG.js"), { BreakpointManager: a } = r, u = de(new a(s.plugin));
|
|
1532
|
+
t.value = de(u);
|
|
1533
|
+
const c = () => {
|
|
1534
|
+
n.value = u.active, i.value = u.resizeDirection;
|
|
1535
1535
|
};
|
|
1536
|
-
|
|
1536
|
+
c(), s.onReady && s.onReady(u), u.onChange(c);
|
|
1537
1537
|
})(), { breakpointManager: t, breakpointActive: n, breakpointDirection: i };
|
|
1538
1538
|
}
|
|
1539
1539
|
const no = {
|
|
@@ -1546,8 +1546,8 @@ const no = {
|
|
|
1546
1546
|
*/
|
|
1547
1547
|
managerOptions: {}
|
|
1548
1548
|
};
|
|
1549
|
-
function
|
|
1550
|
-
const t =
|
|
1549
|
+
function Fd(e, s) {
|
|
1550
|
+
const t = P(!1), n = Object.assign({}, no, s), { breakpointMobile: i } = n, { onReady: o } = n.managerOptions, r = {
|
|
1551
1551
|
onReady(b) {
|
|
1552
1552
|
b.at(i).max({
|
|
1553
1553
|
on() {
|
|
@@ -1559,13 +1559,13 @@ function Md(e, s) {
|
|
|
1559
1559
|
}), o && o(b);
|
|
1560
1560
|
}
|
|
1561
1561
|
}, a = Object.assign({}, n.managerOptions, r), {
|
|
1562
|
-
breakpointManager:
|
|
1563
|
-
breakpointActive:
|
|
1564
|
-
breakpointDirection:
|
|
1562
|
+
breakpointManager: u,
|
|
1563
|
+
breakpointActive: c,
|
|
1564
|
+
breakpointDirection: h
|
|
1565
1565
|
} = so(a);
|
|
1566
|
-
e.provide("uluBreakpointActive", w(() =>
|
|
1566
|
+
e.provide("uluBreakpointActive", w(() => c.value)), e.provide("uluBreakpointDirection", w(() => h.value)), e.provide("uluBreakpointManager", w(() => u.value)), e.provide("uluIsMobile", w(() => t.value));
|
|
1567
1567
|
}
|
|
1568
|
-
const
|
|
1568
|
+
const Ld = {
|
|
1569
1569
|
__name: "UluAccordion",
|
|
1570
1570
|
props: {
|
|
1571
1571
|
/**
|
|
@@ -1608,14 +1608,14 @@ const Bd = {
|
|
|
1608
1608
|
return (n, i) => (l(), _(T(Gs), { defaultOpen: e.defaultOpen }, {
|
|
1609
1609
|
default: v(({ open: o }) => [
|
|
1610
1610
|
f("div", {
|
|
1611
|
-
class:
|
|
1611
|
+
class: m(["accordion", [
|
|
1612
1612
|
{ [e.activeClass]: o },
|
|
1613
1613
|
e.classes.container,
|
|
1614
1614
|
T(t)
|
|
1615
1615
|
]])
|
|
1616
1616
|
}, [
|
|
1617
1617
|
R(T(Zs), {
|
|
1618
|
-
class:
|
|
1618
|
+
class: m(["accordion__summary", [
|
|
1619
1619
|
{ [e.activeClass]: o },
|
|
1620
1620
|
e.classes.summary
|
|
1621
1621
|
]])
|
|
@@ -1631,7 +1631,7 @@ const Bd = {
|
|
|
1631
1631
|
]),
|
|
1632
1632
|
g(n.$slots, "icon", { open: o }, () => [
|
|
1633
1633
|
f("span", {
|
|
1634
|
-
class:
|
|
1634
|
+
class: m(["accordion__icon", e.classes.icon])
|
|
1635
1635
|
}, [
|
|
1636
1636
|
R(D, {
|
|
1637
1637
|
icon: o ? "type:collapse" : "type:expand",
|
|
@@ -1643,7 +1643,7 @@ const Bd = {
|
|
|
1643
1643
|
_: 2
|
|
1644
1644
|
}, 1032, ["class"]),
|
|
1645
1645
|
R(T(Js), {
|
|
1646
|
-
class:
|
|
1646
|
+
class: m(["accordion__content", e.classes.content])
|
|
1647
1647
|
}, {
|
|
1648
1648
|
default: v(() => [
|
|
1649
1649
|
g(n.$slots, "default", { open: o })
|
|
@@ -1809,7 +1809,7 @@ const io = {
|
|
|
1809
1809
|
}, ro = ["id", "aria-controls", "aria-expanded"], ao = ["id", "aria-hidden", "aria-labelledby"], lo = { class: "CollapsibleRegion__content-inner" };
|
|
1810
1810
|
function co(e, s, t, n, i, o) {
|
|
1811
1811
|
return l(), d("div", {
|
|
1812
|
-
class:
|
|
1812
|
+
class: m(["CollapsibleRegion", {
|
|
1813
1813
|
"CollapsibleRegion--open": i.isOpen,
|
|
1814
1814
|
"CollapsibleRegion--closed": !i.isOpen,
|
|
1815
1815
|
"CollapsibleRegion--transitioning": i.isTransitioning
|
|
@@ -1834,7 +1834,7 @@ function co(e, s, t, n, i, o) {
|
|
|
1834
1834
|
id: i.contentId,
|
|
1835
1835
|
"aria-hidden": !i.isOpen,
|
|
1836
1836
|
"aria-labelledby": i.toggleId,
|
|
1837
|
-
style:
|
|
1837
|
+
style: B(o.contentStyles)
|
|
1838
1838
|
}, [
|
|
1839
1839
|
f("div", lo, [
|
|
1840
1840
|
g(e.$slots, "default")
|
|
@@ -1844,7 +1844,7 @@ function co(e, s, t, n, i, o) {
|
|
|
1844
1844
|
])
|
|
1845
1845
|
], 34);
|
|
1846
1846
|
}
|
|
1847
|
-
const
|
|
1847
|
+
const $t = /* @__PURE__ */ S(io, [["render", co]]), ys = {
|
|
1848
1848
|
__name: "UluTag",
|
|
1849
1849
|
props: {
|
|
1850
1850
|
/**
|
|
@@ -1876,7 +1876,7 @@ const Tt = /* @__PURE__ */ S(io, [["render", co]]), ys = {
|
|
|
1876
1876
|
setup(e) {
|
|
1877
1877
|
const s = e, { resolvedModifiers: t } = se({ props: s, baseClass: "tag" });
|
|
1878
1878
|
return (n, i) => (l(), d("span", {
|
|
1879
|
-
class:
|
|
1879
|
+
class: m(["tag", [
|
|
1880
1880
|
{
|
|
1881
1881
|
"tag--counter": e.counter,
|
|
1882
1882
|
[`tag--${e.size}`]: e.size,
|
|
@@ -1945,56 +1945,56 @@ const Tt = /* @__PURE__ */ S(io, [["render", co]]), ys = {
|
|
|
1945
1945
|
}
|
|
1946
1946
|
};
|
|
1947
1947
|
function fo(e, s, t, n, i, o) {
|
|
1948
|
-
const r = E("UluIcon"), a = E("UluTag"),
|
|
1948
|
+
const r = E("UluIcon"), a = E("UluTag"), u = E("UluMenu", !0), c = es("ulu-tooltip");
|
|
1949
1949
|
return t.items?.length ? (l(), d("ul", {
|
|
1950
1950
|
key: 0,
|
|
1951
|
-
class:
|
|
1951
|
+
class: m(t.classes.list)
|
|
1952
1952
|
}, [
|
|
1953
|
-
(l(!0), d(
|
|
1953
|
+
(l(!0), d(A, null, $(t.items, (h, b) => (l(), d("li", {
|
|
1954
1954
|
key: b,
|
|
1955
|
-
class:
|
|
1955
|
+
class: m([t.classes.item, h?.classes?.item])
|
|
1956
1956
|
}, [
|
|
1957
|
-
me((l(), _(M(
|
|
1958
|
-
...
|
|
1959
|
-
...
|
|
1957
|
+
me((l(), _(M(h.to || h.path ? "router-link" : h.click ? "button" : "a"), G({ ref_for: !0 }, {
|
|
1958
|
+
...h.to || h.path ? { to: h.to || h.path } : {},
|
|
1959
|
+
...h.href ? { href: h.href || "#" } : {}
|
|
1960
1960
|
}, {
|
|
1961
1961
|
onClick: (C) => {
|
|
1962
|
-
o.handleItemClick(C,
|
|
1962
|
+
o.handleItemClick(C, h);
|
|
1963
1963
|
},
|
|
1964
|
-
class: [t.classes.link,
|
|
1964
|
+
class: [t.classes.link, h?.classes?.link],
|
|
1965
1965
|
activeClass: t.classes.linkActive,
|
|
1966
1966
|
exactActiveClass: t.classes.linkExactActive,
|
|
1967
|
-
"aria-label": t.iconOnly ?
|
|
1968
|
-
id:
|
|
1967
|
+
"aria-label": t.iconOnly ? h.title : null,
|
|
1968
|
+
id: h.id
|
|
1969
1969
|
}), {
|
|
1970
1970
|
default: v(() => [
|
|
1971
1971
|
g(e.$slots, "default", {
|
|
1972
|
-
item:
|
|
1972
|
+
item: h,
|
|
1973
1973
|
index: b
|
|
1974
1974
|
}, () => [
|
|
1975
|
-
|
|
1975
|
+
h.icon ? (l(), _(r, {
|
|
1976
1976
|
key: 0,
|
|
1977
|
-
icon:
|
|
1978
|
-
class:
|
|
1977
|
+
icon: h.icon,
|
|
1978
|
+
class: m([t.classes.linkIcon, h?.classes?.linkIcon])
|
|
1979
1979
|
}, null, 8, ["icon", "class"])) : y("", !0),
|
|
1980
1980
|
f("span", {
|
|
1981
|
-
class:
|
|
1982
|
-
}, p(
|
|
1983
|
-
|
|
1981
|
+
class: m([t.classes.linkText, h?.classes?.linkText])
|
|
1982
|
+
}, p(h.title), 3),
|
|
1983
|
+
h.tag ? (l(), _(a, G({
|
|
1984
1984
|
key: 1,
|
|
1985
1985
|
ref_for: !0
|
|
1986
|
-
},
|
|
1986
|
+
}, h.tag), null, 16)) : y("", !0)
|
|
1987
1987
|
])
|
|
1988
1988
|
]),
|
|
1989
1989
|
_: 2
|
|
1990
1990
|
}, 1040, ["onClick", "class", "activeClass", "exactActiveClass", "aria-label", "id"])), [
|
|
1991
|
-
[
|
|
1991
|
+
[c, t.iconOnly ? h.title : h.tooltip || null]
|
|
1992
1992
|
]),
|
|
1993
|
-
!t.noChildren &&
|
|
1993
|
+
!t.noChildren && h?.children?.length ? (l(), _(u, {
|
|
1994
1994
|
key: 0,
|
|
1995
1995
|
iconOnly: t.iconOnly,
|
|
1996
1996
|
classes: t.classes,
|
|
1997
|
-
items:
|
|
1997
|
+
items: h.children
|
|
1998
1998
|
}, null, 8, ["iconOnly", "classes", "items"])) : y("", !0)
|
|
1999
1999
|
], 2))), 128))
|
|
2000
2000
|
], 2)) : y("", !0);
|
|
@@ -2026,7 +2026,7 @@ const _s = /* @__PURE__ */ S(uo, [["render", fo]]), ho = {
|
|
|
2026
2026
|
function mo(e, s, t, n, i, o) {
|
|
2027
2027
|
const r = E("UluMenu");
|
|
2028
2028
|
return l(), d("nav", {
|
|
2029
|
-
class:
|
|
2029
|
+
class: m(["menu-stack", {
|
|
2030
2030
|
"menu-stack--hanging": t.hanging,
|
|
2031
2031
|
"menu-stack--compact": t.compact
|
|
2032
2032
|
}])
|
|
@@ -2047,7 +2047,7 @@ function mo(e, s, t, n, i, o) {
|
|
|
2047
2047
|
const go = /* @__PURE__ */ S(ho, [["render", mo]]), yo = {
|
|
2048
2048
|
name: "UluDropdown",
|
|
2049
2049
|
components: {
|
|
2050
|
-
UluPopover:
|
|
2050
|
+
UluPopover: at,
|
|
2051
2051
|
UluMenuStack: go
|
|
2052
2052
|
},
|
|
2053
2053
|
props: {
|
|
@@ -2074,8 +2074,8 @@ const go = /* @__PURE__ */ S(ho, [["render", mo]]), yo = {
|
|
|
2074
2074
|
function _o(e, s, t, n, i, o) {
|
|
2075
2075
|
const r = E("UluMenuStack"), a = E("UluPopover");
|
|
2076
2076
|
return l(), _(a, { classes: t.popoverClasses }, {
|
|
2077
|
-
trigger: v(({ isOpen:
|
|
2078
|
-
g(e.$slots, "default", { isOpen:
|
|
2077
|
+
trigger: v(({ isOpen: u }) => [
|
|
2078
|
+
g(e.$slots, "default", { isOpen: u })
|
|
2079
2079
|
]),
|
|
2080
2080
|
content: v(() => [
|
|
2081
2081
|
R(r, { items: t.items }, null, 8, ["items"])
|
|
@@ -2083,17 +2083,17 @@ function _o(e, s, t, n, i, o) {
|
|
|
2083
2083
|
_: 3
|
|
2084
2084
|
}, 8, ["classes"]);
|
|
2085
2085
|
}
|
|
2086
|
-
const
|
|
2086
|
+
const Hd = /* @__PURE__ */ S(yo, [["render", _o]]), ct = P(!1), Ie = {
|
|
2087
2087
|
start: [],
|
|
2088
2088
|
end: []
|
|
2089
2089
|
};
|
|
2090
|
-
function
|
|
2091
|
-
window.removeEventListener("resize",
|
|
2090
|
+
function ut() {
|
|
2091
|
+
window.removeEventListener("resize", ut), ct.value = !0, Ie.start.forEach((e) => e());
|
|
2092
2092
|
}
|
|
2093
2093
|
function po() {
|
|
2094
|
-
|
|
2094
|
+
ct.value = !1, Ie.end.forEach((e) => e()), window.addEventListener("resize", ut);
|
|
2095
2095
|
}
|
|
2096
|
-
window.addEventListener("resize",
|
|
2096
|
+
window.addEventListener("resize", ut), window.addEventListener("resize", Be(po, 300));
|
|
2097
2097
|
function At(e, s) {
|
|
2098
2098
|
return e.push(s), () => {
|
|
2099
2099
|
const t = e.findIndex((n) => n === s);
|
|
@@ -2102,7 +2102,7 @@ function At(e, s) {
|
|
|
2102
2102
|
}
|
|
2103
2103
|
function vo() {
|
|
2104
2104
|
return {
|
|
2105
|
-
resizing:
|
|
2105
|
+
resizing: ct,
|
|
2106
2106
|
onResizeStart(e) {
|
|
2107
2107
|
return At(Ie.start, e);
|
|
2108
2108
|
},
|
|
@@ -2119,60 +2119,60 @@ const bo = {
|
|
|
2119
2119
|
uluBreakpointManager: "Breakpoints",
|
|
2120
2120
|
uluModals: "Modals",
|
|
2121
2121
|
uluToast: "Toast"
|
|
2122
|
-
},
|
|
2122
|
+
}, Ot = {};
|
|
2123
2123
|
function wo(e) {
|
|
2124
|
-
const s = ns(e,
|
|
2125
|
-
if (s ===
|
|
2124
|
+
const s = ns(e, Ot);
|
|
2125
|
+
if (s === Ot) {
|
|
2126
2126
|
const t = bo[e] || "", n = t ? ` from the '${t}' plugin` : "", i = t ? "Please install missing plugin." : "";
|
|
2127
2127
|
throw new Error(`Required inject: '${e}'${n} was not provided. ${i}`);
|
|
2128
2128
|
}
|
|
2129
2129
|
return s;
|
|
2130
2130
|
}
|
|
2131
|
-
function
|
|
2131
|
+
function Dd(e, s) {
|
|
2132
2132
|
const t = on(), n = rn(), i = w(() => {
|
|
2133
|
-
const
|
|
2134
|
-
return isNaN(
|
|
2133
|
+
const c = parseInt(t.query.page || "1", 10);
|
|
2134
|
+
return isNaN(c) || c < 1 ? 1 : c;
|
|
2135
2135
|
}), o = w(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / s));
|
|
2136
|
-
rs(o, (
|
|
2137
|
-
i.value >
|
|
2136
|
+
rs(o, (c) => {
|
|
2137
|
+
i.value > c && n.push({ query: { ...t.query, page: c } });
|
|
2138
2138
|
});
|
|
2139
2139
|
const r = w(() => {
|
|
2140
|
-
const
|
|
2141
|
-
return e.value.slice(
|
|
2140
|
+
const c = (i.value - 1) * s, h = c + s;
|
|
2141
|
+
return e.value.slice(c, h);
|
|
2142
2142
|
}), a = w(() => {
|
|
2143
2143
|
if (o.value <= 1)
|
|
2144
2144
|
return null;
|
|
2145
|
-
const
|
|
2145
|
+
const c = {
|
|
2146
2146
|
pages: {}
|
|
2147
|
-
},
|
|
2148
|
-
|
|
2147
|
+
}, h = i.value, b = o.value, C = 5, U = (j) => ({ query: { ...t.query, page: j } });
|
|
2148
|
+
h > 1 && (c.first = { href: U(1) }, c.previous = { href: U(h - 1) }), h < b && (c.next = { href: U(h + 1) }, c.last = { href: U(b) });
|
|
2149
2149
|
let I, F;
|
|
2150
2150
|
if (b <= C)
|
|
2151
2151
|
I = 1, F = b;
|
|
2152
2152
|
else {
|
|
2153
2153
|
const j = Math.floor(C / 2), J = Math.ceil(C / 2) - 1;
|
|
2154
|
-
|
|
2154
|
+
h <= j ? (I = 1, F = C) : h + J >= b ? (I = b - C + 1, F = b) : (I = h - j, F = h + J);
|
|
2155
2155
|
}
|
|
2156
2156
|
for (let j = I; j <= F; j++)
|
|
2157
|
-
|
|
2158
|
-
return
|
|
2159
|
-
}),
|
|
2160
|
-
const
|
|
2161
|
-
if (!a.value || !a.value.pages) return
|
|
2162
|
-
const
|
|
2163
|
-
if (
|
|
2164
|
-
const b = Math.min(...
|
|
2165
|
-
return b > 1 && (
|
|
2157
|
+
c.pages[j] = { href: U(j) };
|
|
2158
|
+
return c;
|
|
2159
|
+
}), u = w(() => {
|
|
2160
|
+
const c = { previous: !1, next: !1 };
|
|
2161
|
+
if (!a.value || !a.value.pages) return c;
|
|
2162
|
+
const h = Object.keys(a.value.pages).map(Number);
|
|
2163
|
+
if (h.length === 0) return c;
|
|
2164
|
+
const b = Math.min(...h), C = Math.max(...h);
|
|
2165
|
+
return b > 1 && (c.previous = !0), C < o.value && (c.next = !0), c;
|
|
2166
2166
|
});
|
|
2167
2167
|
return {
|
|
2168
2168
|
currentPage: i,
|
|
2169
2169
|
totalPages: o,
|
|
2170
2170
|
paginatedItems: r,
|
|
2171
2171
|
pagerItems: a,
|
|
2172
|
-
pagerEllipses:
|
|
2172
|
+
pagerEllipses: u
|
|
2173
2173
|
};
|
|
2174
2174
|
}
|
|
2175
|
-
const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
2175
|
+
const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" }, Vd = {
|
|
2176
2176
|
__name: "UluOverflowPopover",
|
|
2177
2177
|
props: {
|
|
2178
2178
|
/**
|
|
@@ -2181,13 +2181,13 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2181
2181
|
triggerIcon: String
|
|
2182
2182
|
},
|
|
2183
2183
|
setup(e) {
|
|
2184
|
-
const { resizing: s, onResizeEnd: t } = vo(), n =
|
|
2184
|
+
const { resizing: s, onResizeEnd: t } = vo(), n = P(null), i = P(!1), o = () => {
|
|
2185
2185
|
ss(() => {
|
|
2186
2186
|
const a = n.value;
|
|
2187
2187
|
i.value = a.offsetWidth < a.scrollWidth;
|
|
2188
2188
|
});
|
|
2189
2189
|
}, r = t(o);
|
|
2190
|
-
return Xs(o), qs(r), (a,
|
|
2190
|
+
return Xs(o), qs(r), (a, u) => (l(), d("div", So, [
|
|
2191
2191
|
f("div", {
|
|
2192
2192
|
class: "type-truncate",
|
|
2193
2193
|
ref_key: "text",
|
|
@@ -2195,7 +2195,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2195
2195
|
}, [
|
|
2196
2196
|
g(a.$slots, "default")
|
|
2197
2197
|
], 512),
|
|
2198
|
-
i.value && !T(s) ? (l(), _(
|
|
2198
|
+
i.value && !T(s) ? (l(), _(at, {
|
|
2199
2199
|
key: 0,
|
|
2200
2200
|
triggerAlt: "Show Full Text",
|
|
2201
2201
|
size: "large"
|
|
@@ -2214,7 +2214,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2214
2214
|
})) : y("", !0)
|
|
2215
2215
|
]));
|
|
2216
2216
|
}
|
|
2217
|
-
},
|
|
2217
|
+
}, Nd = {
|
|
2218
2218
|
__name: "UluTab",
|
|
2219
2219
|
setup(e) {
|
|
2220
2220
|
return (s, t) => (l(), _(T(Qs), null, {
|
|
@@ -2224,7 +2224,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2224
2224
|
_: 3
|
|
2225
2225
|
}));
|
|
2226
2226
|
}
|
|
2227
|
-
},
|
|
2227
|
+
}, Wd = /* @__PURE__ */ Object.assign({
|
|
2228
2228
|
inheritAttrs: !1
|
|
2229
2229
|
}, {
|
|
2230
2230
|
__name: "UluTabGroup",
|
|
@@ -2245,7 +2245,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2245
2245
|
}, {
|
|
2246
2246
|
default: v((n) => [
|
|
2247
2247
|
f("div", {
|
|
2248
|
-
class:
|
|
2248
|
+
class: m(["tabs", {
|
|
2249
2249
|
"tabs--vertical": e.vertical
|
|
2250
2250
|
}])
|
|
2251
2251
|
}, [
|
|
@@ -2255,7 +2255,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2255
2255
|
_: 3
|
|
2256
2256
|
}, 8, ["defaultIndex", "vertical"]));
|
|
2257
2257
|
}
|
|
2258
|
-
}),
|
|
2258
|
+
}), Xd = {
|
|
2259
2259
|
__name: "UluTabList",
|
|
2260
2260
|
setup(e) {
|
|
2261
2261
|
return (s, t) => (l(), _(T(tn), { class: "tabs__tablist" }, {
|
|
@@ -2265,7 +2265,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2265
2265
|
_: 3
|
|
2266
2266
|
}));
|
|
2267
2267
|
}
|
|
2268
|
-
},
|
|
2268
|
+
}, qd = {
|
|
2269
2269
|
__name: "UluTabPanel",
|
|
2270
2270
|
setup(e) {
|
|
2271
2271
|
return (s, t) => (l(), _(T(sn), null, {
|
|
@@ -2275,7 +2275,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2275
2275
|
_: 3
|
|
2276
2276
|
}));
|
|
2277
2277
|
}
|
|
2278
|
-
},
|
|
2278
|
+
}, Yd = {
|
|
2279
2279
|
__name: "UluTabPanels",
|
|
2280
2280
|
setup(e) {
|
|
2281
2281
|
return (s, t) => (l(), _(T(nn), null, {
|
|
@@ -2379,7 +2379,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2379
2379
|
return s && e.push(`button--${s}`), e;
|
|
2380
2380
|
},
|
|
2381
2381
|
element() {
|
|
2382
|
-
return this.to ?
|
|
2382
|
+
return this.to ? Pe : this.href ? "a" : "button";
|
|
2383
2383
|
},
|
|
2384
2384
|
attrs() {
|
|
2385
2385
|
const { to: e, href: s, download: t, target: n } = this, i = e ? { to: e } : s ? { href: s } : {};
|
|
@@ -2387,7 +2387,7 @@ const So = { class: "layout-flex-baseline" }, ko = { class: "type-word-break" },
|
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
2389
2389
|
}, To = { key: 1 };
|
|
2390
|
-
function
|
|
2390
|
+
function $o(e, s, t, n, i, o) {
|
|
2391
2391
|
const r = E("UluIcon");
|
|
2392
2392
|
return l(), _(M(o.element), G({
|
|
2393
2393
|
class: ["button", [
|
|
@@ -2427,10 +2427,10 @@ function Ao(e, s, t, n, i, o) {
|
|
|
2427
2427
|
_: 3
|
|
2428
2428
|
}, 16, ["class", "aria-label"]);
|
|
2429
2429
|
}
|
|
2430
|
-
const
|
|
2430
|
+
const Ao = /* @__PURE__ */ S(Co, [["render", $o]]), Oo = {
|
|
2431
2431
|
name: "UluAlert",
|
|
2432
2432
|
components: {
|
|
2433
|
-
UluButton:
|
|
2433
|
+
UluButton: Ao,
|
|
2434
2434
|
UluIcon: D
|
|
2435
2435
|
},
|
|
2436
2436
|
props: {
|
|
@@ -2480,11 +2480,11 @@ const $o = /* @__PURE__ */ S(Co, [["render", Ao]]), Oo = {
|
|
|
2480
2480
|
function jo(e, s, t, n, i, o) {
|
|
2481
2481
|
const r = E("UluIcon");
|
|
2482
2482
|
return l(), d("div", {
|
|
2483
|
-
class:
|
|
2483
|
+
class: m(["callout", n.resolvedModifiers])
|
|
2484
2484
|
}, [
|
|
2485
2485
|
f("div", Ro, [
|
|
2486
2486
|
R(r, {
|
|
2487
|
-
class:
|
|
2487
|
+
class: m(["type-large margin-right-small", `color-${t.type}`]),
|
|
2488
2488
|
icon: t.icon || `type:${t.type}`
|
|
2489
2489
|
}, null, 8, ["class", "icon"]),
|
|
2490
2490
|
f("div", xo, [
|
|
@@ -2505,7 +2505,7 @@ function jo(e, s, t, n, i, o) {
|
|
|
2505
2505
|
])
|
|
2506
2506
|
], 2);
|
|
2507
2507
|
}
|
|
2508
|
-
const
|
|
2508
|
+
const Kd = /* @__PURE__ */ S(Oo, [["render", jo]]), zo = ["aria-hidden"], Eo = {
|
|
2509
2509
|
key: 2,
|
|
2510
2510
|
class: "hidden-visually"
|
|
2511
2511
|
}, Io = {
|
|
@@ -2523,10 +2523,10 @@ const Xd = /* @__PURE__ */ S(Oo, [["render", jo]]), zo = ["aria-hidden"], Eo = {
|
|
|
2523
2523
|
setup(e) {
|
|
2524
2524
|
const s = e, t = w(() => !!(s.to || s.click)), n = w(() => {
|
|
2525
2525
|
const { click: i, to: o, href: r } = s;
|
|
2526
|
-
return i ? "button" : o ?
|
|
2526
|
+
return i ? "button" : o ? Pe : r ? "a" : "span";
|
|
2527
2527
|
});
|
|
2528
2528
|
return (i, o) => (l(), _(M(n.value), {
|
|
2529
|
-
class:
|
|
2529
|
+
class: m(["badge", [
|
|
2530
2530
|
e.size ? `badge--${e.size}` : null,
|
|
2531
2531
|
e.type ? `badge--${e.type}` : null,
|
|
2532
2532
|
{ "badge--clickable": t.value }
|
|
@@ -2537,7 +2537,7 @@ const Xd = /* @__PURE__ */ S(Oo, [["render", jo]]), zo = ["aria-hidden"], Eo = {
|
|
|
2537
2537
|
}, {
|
|
2538
2538
|
default: v(() => [
|
|
2539
2539
|
f("span", {
|
|
2540
|
-
class:
|
|
2540
|
+
class: m(["badge__inner", { "skeleton__background-color": e.skeleton }])
|
|
2541
2541
|
}, [
|
|
2542
2542
|
e.text ? (l(), d("span", {
|
|
2543
2543
|
key: 0,
|
|
@@ -2549,7 +2549,7 @@ const Xd = /* @__PURE__ */ S(Oo, [["render", jo]]), zo = ["aria-hidden"], Eo = {
|
|
|
2549
2549
|
_: 3
|
|
2550
2550
|
}, 8, ["class", "to", "href", "onClick"]));
|
|
2551
2551
|
}
|
|
2552
|
-
}, Mo = { class: "badge-stack" },
|
|
2552
|
+
}, Mo = { class: "badge-stack" }, Gd = {
|
|
2553
2553
|
__name: "UluBadgeStack",
|
|
2554
2554
|
props: {
|
|
2555
2555
|
/**
|
|
@@ -2559,7 +2559,7 @@ const Xd = /* @__PURE__ */ S(Oo, [["render", jo]]), zo = ["aria-hidden"], Eo = {
|
|
|
2559
2559
|
},
|
|
2560
2560
|
setup(e) {
|
|
2561
2561
|
return (s, t) => (l(), d("ul", Mo, [
|
|
2562
|
-
(l(!0), d(
|
|
2562
|
+
(l(!0), d(A, null, $(e.items, (n, i) => (l(), d("li", {
|
|
2563
2563
|
class: "badge-stack__item",
|
|
2564
2564
|
key: i
|
|
2565
2565
|
}, [
|
|
@@ -2567,7 +2567,7 @@ const Xd = /* @__PURE__ */ S(Oo, [["render", jo]]), zo = ["aria-hidden"], Eo = {
|
|
|
2567
2567
|
]))), 128))
|
|
2568
2568
|
]));
|
|
2569
2569
|
}
|
|
2570
|
-
},
|
|
2570
|
+
}, Po = {
|
|
2571
2571
|
name: "UluButtonVerbose",
|
|
2572
2572
|
components: {
|
|
2573
2573
|
UluIcon: D
|
|
@@ -2627,14 +2627,14 @@ const Xd = /* @__PURE__ */ S(Oo, [["render", jo]]), zo = ["aria-hidden"], Eo = {
|
|
|
2627
2627
|
},
|
|
2628
2628
|
computed: {
|
|
2629
2629
|
element() {
|
|
2630
|
-
return this.to ?
|
|
2630
|
+
return this.to ? Pe : this.href ? "a" : "button";
|
|
2631
2631
|
},
|
|
2632
2632
|
attrs() {
|
|
2633
2633
|
const { to: e, href: s, download: t, target: n } = this, i = e ? { to: e } : s ? { href: s } : {};
|
|
2634
2634
|
return s && (n && (i.target = n), t && (i.download = typeof t == "string" ? t : !0)), i;
|
|
2635
2635
|
}
|
|
2636
2636
|
}
|
|
2637
|
-
},
|
|
2637
|
+
}, Bo = {
|
|
2638
2638
|
key: 1,
|
|
2639
2639
|
class: "button-verbose__body"
|
|
2640
2640
|
};
|
|
@@ -2661,7 +2661,7 @@ function Fo(e, s, t, n, i, o) {
|
|
|
2661
2661
|
]),
|
|
2662
2662
|
_: 3
|
|
2663
2663
|
})) : y("", !0),
|
|
2664
|
-
e.$slots.default || t.body ? (l(), d("span",
|
|
2664
|
+
e.$slots.default || t.body ? (l(), d("span", Bo, [
|
|
2665
2665
|
g(e.$slots, "default", {}, () => [
|
|
2666
2666
|
k(p(t.body), 1)
|
|
2667
2667
|
])
|
|
@@ -2676,7 +2676,7 @@ function Fo(e, s, t, n, i, o) {
|
|
|
2676
2676
|
_: 3
|
|
2677
2677
|
}, 16, ["class"]);
|
|
2678
2678
|
}
|
|
2679
|
-
const
|
|
2679
|
+
const Zd = /* @__PURE__ */ S(Po, [["render", Fo]]), Lo = {
|
|
2680
2680
|
name: "UluCallout",
|
|
2681
2681
|
props: {
|
|
2682
2682
|
/**
|
|
@@ -2696,12 +2696,12 @@ const Yd = /* @__PURE__ */ S(Bo, [["render", Fo]]), Lo = {
|
|
|
2696
2696
|
};
|
|
2697
2697
|
function Ho(e, s, t, n, i, o) {
|
|
2698
2698
|
return l(), d("div", {
|
|
2699
|
-
class:
|
|
2699
|
+
class: m(["callout", [n.resolvedModifiers, { "full-height": t.fullHeight }]])
|
|
2700
2700
|
}, [
|
|
2701
2701
|
g(e.$slots, "default")
|
|
2702
2702
|
], 2);
|
|
2703
2703
|
}
|
|
2704
|
-
const
|
|
2704
|
+
const Jd = /* @__PURE__ */ S(Lo, [["render", Ho]]), Rt = (e, s) => {
|
|
2705
2705
|
const t = !(s.to || s.href);
|
|
2706
2706
|
return t || console.warn("'titleHref' and 'titleTo' can't be used with to or href (nesting links)"), t;
|
|
2707
2707
|
}, Do = {
|
|
@@ -2732,14 +2732,14 @@ const Kd = /* @__PURE__ */ S(Lo, [["render", Ho]]), Ot = (e, s) => {
|
|
|
2732
2732
|
*/
|
|
2733
2733
|
titleTo: {
|
|
2734
2734
|
type: [String, Object],
|
|
2735
|
-
validator:
|
|
2735
|
+
validator: Rt
|
|
2736
2736
|
},
|
|
2737
2737
|
/**
|
|
2738
2738
|
* Will make title a link to href
|
|
2739
2739
|
*/
|
|
2740
2740
|
titleHref: {
|
|
2741
2741
|
type: String,
|
|
2742
|
-
validator:
|
|
2742
|
+
validator: Rt
|
|
2743
2743
|
},
|
|
2744
2744
|
/**
|
|
2745
2745
|
* When using href this will set title link's target attribute
|
|
@@ -2830,7 +2830,7 @@ const Kd = /* @__PURE__ */ S(Lo, [["render", Ho]]), Ot = (e, s) => {
|
|
|
2830
2830
|
computed: {
|
|
2831
2831
|
resolvedElement() {
|
|
2832
2832
|
const { cardElement: e, to: s, href: t } = this;
|
|
2833
|
-
return s ?
|
|
2833
|
+
return s ? Pe : t ? "a" : e;
|
|
2834
2834
|
}
|
|
2835
2835
|
},
|
|
2836
2836
|
methods: {
|
|
@@ -2855,7 +2855,7 @@ const Kd = /* @__PURE__ */ S(Lo, [["render", Ho]]), Ot = (e, s) => {
|
|
|
2855
2855
|
function Ko(e, s, t, n, i, o) {
|
|
2856
2856
|
const r = E("router-link");
|
|
2857
2857
|
return l(), _(M(o.resolvedElement), {
|
|
2858
|
-
class:
|
|
2858
|
+
class: m(["card", [
|
|
2859
2859
|
{
|
|
2860
2860
|
"card--horizontal": t.horizontal || t.horizontalCenter,
|
|
2861
2861
|
"card--horizontal-center": t.horizontalCenter,
|
|
@@ -2865,7 +2865,7 @@ function Ko(e, s, t, n, i, o) {
|
|
|
2865
2865
|
]]),
|
|
2866
2866
|
onMousedown: o.onMousedown,
|
|
2867
2867
|
onMouseup: o.onMouseup,
|
|
2868
|
-
style:
|
|
2868
|
+
style: B({ cursor: i.cursorStyle }),
|
|
2869
2869
|
target: t.target,
|
|
2870
2870
|
to: t.to,
|
|
2871
2871
|
href: t.href,
|
|
@@ -2875,7 +2875,7 @@ function Ko(e, s, t, n, i, o) {
|
|
|
2875
2875
|
f("div", Vo, [
|
|
2876
2876
|
f("div", No, [
|
|
2877
2877
|
(l(), _(M(t.titleElement), {
|
|
2878
|
-
class:
|
|
2878
|
+
class: m(["card__title", t.classes.title])
|
|
2879
2879
|
}, {
|
|
2880
2880
|
default: v(() => [
|
|
2881
2881
|
t.titleTo ? (l(), _(r, {
|
|
@@ -2914,7 +2914,7 @@ function Ko(e, s, t, n, i, o) {
|
|
|
2914
2914
|
]),
|
|
2915
2915
|
e.$slots.image || t.imageSrc ? (l(), d("div", {
|
|
2916
2916
|
key: 0,
|
|
2917
|
-
class:
|
|
2917
|
+
class: m(["card__image", [
|
|
2918
2918
|
{ "card__image--icon": t.imageIcon },
|
|
2919
2919
|
t.classes.image
|
|
2920
2920
|
]])
|
|
@@ -2933,7 +2933,7 @@ function Ko(e, s, t, n, i, o) {
|
|
|
2933
2933
|
_: 3
|
|
2934
2934
|
}, 40, ["onMousedown", "onMouseup", "class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]);
|
|
2935
2935
|
}
|
|
2936
|
-
const
|
|
2936
|
+
const Qd = /* @__PURE__ */ S(Do, [["render", Ko]]), ef = {
|
|
2937
2937
|
__name: "UluDefinitionList",
|
|
2938
2938
|
props: {
|
|
2939
2939
|
/**
|
|
@@ -2951,14 +2951,14 @@ const Gd = /* @__PURE__ */ S(Do, [["render", Ko]]), Zd = {
|
|
|
2951
2951
|
},
|
|
2952
2952
|
setup(e) {
|
|
2953
2953
|
return (s, t) => (l(), d("dl", {
|
|
2954
|
-
class:
|
|
2954
|
+
class: m(e.classes.list)
|
|
2955
2955
|
}, [
|
|
2956
|
-
(l(!0), d(
|
|
2956
|
+
(l(!0), d(A, null, $(e.items, (n, i) => (l(), d("div", {
|
|
2957
2957
|
key: i,
|
|
2958
|
-
class:
|
|
2958
|
+
class: m(e.classes.item)
|
|
2959
2959
|
}, [
|
|
2960
2960
|
f("dt", {
|
|
2961
|
-
class:
|
|
2961
|
+
class: m(e.classes.term)
|
|
2962
2962
|
}, [
|
|
2963
2963
|
g(s.$slots, "term", {
|
|
2964
2964
|
item: n,
|
|
@@ -2968,7 +2968,7 @@ const Gd = /* @__PURE__ */ S(Do, [["render", Ko]]), Zd = {
|
|
|
2968
2968
|
])
|
|
2969
2969
|
], 2),
|
|
2970
2970
|
f("dd", {
|
|
2971
|
-
class:
|
|
2971
|
+
class: m(e.classes.description)
|
|
2972
2972
|
}, [
|
|
2973
2973
|
g(s.$slots, "description", {
|
|
2974
2974
|
item: n,
|
|
@@ -2980,7 +2980,7 @@ const Gd = /* @__PURE__ */ S(Do, [["render", Ko]]), Zd = {
|
|
|
2980
2980
|
], 2))), 128))
|
|
2981
2981
|
], 2));
|
|
2982
2982
|
}
|
|
2983
|
-
}, Go = ["href", "target"], Zo = { class: "external-link__text" },
|
|
2983
|
+
}, Go = ["href", "target"], Zo = { class: "external-link__text" }, tf = {
|
|
2984
2984
|
__name: "UluExternalLink",
|
|
2985
2985
|
props: {
|
|
2986
2986
|
/**
|
|
@@ -3020,7 +3020,7 @@ const Gd = /* @__PURE__ */ S(Do, [["render", Ko]]), Zd = {
|
|
|
3020
3020
|
}, null, 8, ["icon"])
|
|
3021
3021
|
], 8, Go));
|
|
3022
3022
|
}
|
|
3023
|
-
},
|
|
3023
|
+
}, sf = {
|
|
3024
3024
|
__name: "UluList",
|
|
3025
3025
|
props: {
|
|
3026
3026
|
/**
|
|
@@ -3072,7 +3072,7 @@ const Gd = /* @__PURE__ */ S(Do, [["render", Ko]]), Zd = {
|
|
|
3072
3072
|
setup(e) {
|
|
3073
3073
|
const s = e, t = w(() => s.ordered || s.forceOrdered ? "ol" : "ul");
|
|
3074
3074
|
return (n, i) => (l(), _(M(t.value), {
|
|
3075
|
-
class:
|
|
3075
|
+
class: m([
|
|
3076
3076
|
{
|
|
3077
3077
|
"list-ordered": e.ordered,
|
|
3078
3078
|
"list-unordered": e.unordered,
|
|
@@ -3081,16 +3081,16 @@ const Gd = /* @__PURE__ */ S(Do, [["render", Ko]]), Zd = {
|
|
|
3081
3081
|
},
|
|
3082
3082
|
e.classes.list
|
|
3083
3083
|
]),
|
|
3084
|
-
style:
|
|
3084
|
+
style: B({
|
|
3085
3085
|
listStyleType: e.listStyleType
|
|
3086
3086
|
}),
|
|
3087
3087
|
reversed: e.reversed,
|
|
3088
3088
|
start: e.start
|
|
3089
3089
|
}, {
|
|
3090
3090
|
default: v(() => [
|
|
3091
|
-
(l(!0), d(
|
|
3091
|
+
(l(!0), d(A, null, $(e.items, (o, r) => (l(), d("li", {
|
|
3092
3092
|
key: r,
|
|
3093
|
-
class:
|
|
3093
|
+
class: m(e.classes.listItem)
|
|
3094
3094
|
}, [
|
|
3095
3095
|
g(n.$slots, "default", {
|
|
3096
3096
|
item: o,
|
|
@@ -3109,7 +3109,7 @@ function ei(e, s) {
|
|
|
3109
3109
|
g(e.$slots, "default")
|
|
3110
3110
|
]);
|
|
3111
3111
|
}
|
|
3112
|
-
const
|
|
3112
|
+
const nf = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner__spinner" }, of = {
|
|
3113
3113
|
__name: "UluSpokeSpinner",
|
|
3114
3114
|
props: {
|
|
3115
3115
|
/**
|
|
@@ -3119,14 +3119,14 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3119
3119
|
},
|
|
3120
3120
|
setup(e) {
|
|
3121
3121
|
return (s, t) => (l(), d("div", {
|
|
3122
|
-
class:
|
|
3122
|
+
class: m(["spoke-spinner", { [`spoke-spinner--${e.type}`]: e.type }])
|
|
3123
3123
|
}, [
|
|
3124
3124
|
f("div", ti, [
|
|
3125
|
-
(l(), d(
|
|
3125
|
+
(l(), d(A, null, $(12, (n) => f("div", { key: n })), 64))
|
|
3126
3126
|
])
|
|
3127
3127
|
], 2));
|
|
3128
3128
|
}
|
|
3129
|
-
}, si = { class: "menu-stack form-theme" }, ni = { class: "menu-stack__list" }, oi = { class: "menu-stack__selectable" }, ii = ["id", "onUpdate:modelValue"], ri = ["for"],
|
|
3129
|
+
}, si = { class: "menu-stack form-theme" }, ni = { class: "menu-stack__list" }, oi = { class: "menu-stack__selectable" }, ii = ["id", "onUpdate:modelValue"], ri = ["for"], rf = {
|
|
3130
3130
|
__name: "UluCheckboxMenu",
|
|
3131
3131
|
props: {
|
|
3132
3132
|
/**
|
|
@@ -3138,7 +3138,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3138
3138
|
const s = (t) => `checkbox-menu-opt-${t}`;
|
|
3139
3139
|
return (t, n) => (l(), d("div", si, [
|
|
3140
3140
|
f("ul", ni, [
|
|
3141
|
-
(l(!0), d(
|
|
3141
|
+
(l(!0), d(A, null, $(e.options, (i, o) => (l(), d("li", {
|
|
3142
3142
|
class: "menu-stack__item",
|
|
3143
3143
|
key: o
|
|
3144
3144
|
}, [
|
|
@@ -3162,7 +3162,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3162
3162
|
])
|
|
3163
3163
|
]));
|
|
3164
3164
|
}
|
|
3165
|
-
}, ai = ["href", "download"], li = { class: "margin-left-small-x" },
|
|
3165
|
+
}, ai = ["href", "download"], li = { class: "margin-left-small-x" }, af = {
|
|
3166
3166
|
__name: "UluFileDisplay",
|
|
3167
3167
|
props: {
|
|
3168
3168
|
file: {
|
|
@@ -3177,7 +3177,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3177
3177
|
},
|
|
3178
3178
|
setup(e) {
|
|
3179
3179
|
const s = e, t = w(() => typeof window > "u" ? "" : window.URL.createObjectURL(s.file)), n = w(() => {
|
|
3180
|
-
const { size: i } = s.file, o = i / 1e6, r = i / 1e3, a = (
|
|
3180
|
+
const { size: i } = s.file, o = i / 1e6, r = i / 1e3, a = (u) => parseFloat(u.toFixed(2));
|
|
3181
3181
|
return o > 1 ? `${a(o)}Mb` : r > 1 ? `${a(r)}Kb` : `${a(i)}B`;
|
|
3182
3182
|
});
|
|
3183
3183
|
return (i, o) => (l(), d("a", {
|
|
@@ -3205,7 +3205,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3205
3205
|
])
|
|
3206
3206
|
], 8, ai));
|
|
3207
3207
|
}
|
|
3208
|
-
}, ci = { class: "site-form__item site-form__item--file" }, ui = ["for"], di = ["multiple", "id"],
|
|
3208
|
+
}, ci = { class: "site-form__item site-form__item--file" }, ui = ["for"], di = ["multiple", "id"], lf = {
|
|
3209
3209
|
__name: "UluFormFile",
|
|
3210
3210
|
props: {
|
|
3211
3211
|
label: {
|
|
@@ -3227,7 +3227,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3227
3227
|
};
|
|
3228
3228
|
return (r, a) => (l(), d("div", ci, [
|
|
3229
3229
|
f("label", {
|
|
3230
|
-
class:
|
|
3230
|
+
class: m({ "hidden-visually": e.labelHidden }),
|
|
3231
3231
|
for: T(i)
|
|
3232
3232
|
}, [
|
|
3233
3233
|
g(r.$slots, "label", {}, () => [
|
|
@@ -3242,7 +3242,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3242
3242
|
}, e.inputAttrs), null, 16, di)
|
|
3243
3243
|
]));
|
|
3244
3244
|
}
|
|
3245
|
-
},
|
|
3245
|
+
}, cf = {
|
|
3246
3246
|
__name: "UluFormMessage",
|
|
3247
3247
|
props: {
|
|
3248
3248
|
warning: Boolean,
|
|
@@ -3250,7 +3250,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3250
3250
|
},
|
|
3251
3251
|
setup(e) {
|
|
3252
3252
|
return (s, t) => (l(), d("p", {
|
|
3253
|
-
class:
|
|
3253
|
+
class: m(["site-form__description", {
|
|
3254
3254
|
"site-form__error": e.error,
|
|
3255
3255
|
"site-form__warning": e.warning
|
|
3256
3256
|
}])
|
|
@@ -3262,7 +3262,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3262
3262
|
g(s.$slots, "default")
|
|
3263
3263
|
], 2));
|
|
3264
3264
|
}
|
|
3265
|
-
}, fi = { class: "site-form__item site-form__item--select" }, hi = ["for"], mi = ["id", "value"], gi = ["value"],
|
|
3265
|
+
}, fi = { class: "site-form__item site-form__item--select" }, hi = ["for"], mi = ["id", "value"], gi = ["value"], uf = {
|
|
3266
3266
|
__name: "UluFormSelect",
|
|
3267
3267
|
props: {
|
|
3268
3268
|
label: String,
|
|
@@ -3278,7 +3278,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3278
3278
|
})())();
|
|
3279
3279
|
return (n, i) => (l(), d("div", fi, [
|
|
3280
3280
|
f("label", {
|
|
3281
|
-
class:
|
|
3281
|
+
class: m({ "hidden-visually": e.labelHidden }),
|
|
3282
3282
|
for: T(t)
|
|
3283
3283
|
}, [
|
|
3284
3284
|
g(n.$slots, "default", {}, () => [
|
|
@@ -3294,14 +3294,14 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3294
3294
|
disabled: "",
|
|
3295
3295
|
value: ""
|
|
3296
3296
|
}, "Please select one", -1)),
|
|
3297
|
-
(l(!0), d(
|
|
3297
|
+
(l(!0), d(A, null, $(e.options, (o, r) => (l(), d("option", {
|
|
3298
3298
|
key: r,
|
|
3299
3299
|
value: o.value
|
|
3300
3300
|
}, p(o.text), 9, gi))), 128))
|
|
3301
3301
|
], 40, mi)
|
|
3302
3302
|
]));
|
|
3303
3303
|
}
|
|
3304
|
-
}, yi = { class: "site-form__item site-form__item--text" }, _i = ["for"], pi = ["value", "id"],
|
|
3304
|
+
}, yi = { class: "site-form__item site-form__item--text" }, _i = ["for"], pi = ["value", "id"], df = {
|
|
3305
3305
|
__name: "UluFormText",
|
|
3306
3306
|
props: {
|
|
3307
3307
|
label: String,
|
|
@@ -3316,7 +3316,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3316
3316
|
})())();
|
|
3317
3317
|
return (n, i) => (l(), d("div", yi, [
|
|
3318
3318
|
f("label", {
|
|
3319
|
-
class:
|
|
3319
|
+
class: m({ "hidden-visually": e.labelHidden }),
|
|
3320
3320
|
for: T(t)
|
|
3321
3321
|
}, [
|
|
3322
3322
|
g(n.$slots, "default", {}, () => [
|
|
@@ -3334,7 +3334,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3334
3334
|
}, vi = { class: "form-theme search-form type-small" }, bi = { class: "search-form__field" }, wi = ["placeholder"], Si = {
|
|
3335
3335
|
class: "search-form__submit button button--primary",
|
|
3336
3336
|
"aria-label": "Submit Search"
|
|
3337
|
-
},
|
|
3337
|
+
}, ff = {
|
|
3338
3338
|
__name: "UluSearchForm",
|
|
3339
3339
|
props: {
|
|
3340
3340
|
placeholder: {
|
|
@@ -3358,7 +3358,7 @@ const ef = /* @__PURE__ */ S(Jo, [["render", ei]]), ti = { class: "spoke-spinner
|
|
|
3358
3358
|
])
|
|
3359
3359
|
]));
|
|
3360
3360
|
}
|
|
3361
|
-
},
|
|
3361
|
+
}, hf = {
|
|
3362
3362
|
__name: "UluAdaptiveLayout",
|
|
3363
3363
|
setup(e) {
|
|
3364
3364
|
const s = wo("uluIsMobile");
|
|
@@ -3381,8 +3381,8 @@ function Ci(e, s = {
|
|
|
3381
3381
|
const r = o.getBoundingClientRect().y;
|
|
3382
3382
|
i !== r && n.push([]), n[n.length - 1].push(o), i = r, o.classList.remove(...Object.values(s));
|
|
3383
3383
|
}), n.forEach((o, r) => {
|
|
3384
|
-
r === 0 && o.forEach((a) => a.classList.add(s.rowFirst)), r == n.length - 1 && o.forEach((a) => a.classList.add(s.rowLast)), o.forEach((a,
|
|
3385
|
-
|
|
3384
|
+
r === 0 && o.forEach((a) => a.classList.add(s.rowFirst)), r == n.length - 1 && o.forEach((a) => a.classList.add(s.rowLast)), o.forEach((a, u) => {
|
|
3385
|
+
u === 0 && a.classList.add(s.columnFirst), u == o.length - 1 && a.classList.add(s.columnLast);
|
|
3386
3386
|
});
|
|
3387
3387
|
});
|
|
3388
3388
|
}
|
|
@@ -3390,18 +3390,18 @@ const Ti = {
|
|
|
3390
3390
|
name: "UluDataGrid",
|
|
3391
3391
|
async mounted() {
|
|
3392
3392
|
const e = () => Ci(this.$el);
|
|
3393
|
-
e(), this.resizeHandler =
|
|
3393
|
+
e(), this.resizeHandler = Be(e, 200, !1, this), window.addEventListener("resize", this.resizeHandler);
|
|
3394
3394
|
},
|
|
3395
3395
|
beforeUnmount() {
|
|
3396
3396
|
this.resizeHandler && window.removeEventListener("resize", this.resizeHandler);
|
|
3397
3397
|
}
|
|
3398
3398
|
};
|
|
3399
|
-
function
|
|
3399
|
+
function $i(e, s, t, n, i, o) {
|
|
3400
3400
|
return l(), d("div", null, [
|
|
3401
3401
|
g(e.$slots, "default")
|
|
3402
3402
|
]);
|
|
3403
3403
|
}
|
|
3404
|
-
const
|
|
3404
|
+
const mf = /* @__PURE__ */ S(Ti, [["render", $i]]), Ai = {
|
|
3405
3405
|
name: "UluTitleRail",
|
|
3406
3406
|
components: {
|
|
3407
3407
|
UluIcon: D
|
|
@@ -3433,21 +3433,21 @@ const df = /* @__PURE__ */ S(Ti, [["render", Ai]]), $i = {
|
|
|
3433
3433
|
function Ri(e, s, t, n, i, o) {
|
|
3434
3434
|
const r = E("UluIcon");
|
|
3435
3435
|
return l(), d("div", {
|
|
3436
|
-
class:
|
|
3436
|
+
class: m(["rail rail--title-rail", {
|
|
3437
3437
|
"rail--rule": t.rule
|
|
3438
3438
|
}])
|
|
3439
3439
|
}, [
|
|
3440
3440
|
f("div", {
|
|
3441
|
-
class:
|
|
3441
|
+
class: m(["rail__item rail__item--title", t.classes.itemTitle])
|
|
3442
3442
|
}, [
|
|
3443
3443
|
(l(), _(M(t.titleElement), {
|
|
3444
|
-
class:
|
|
3445
|
-
style:
|
|
3444
|
+
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
3445
|
+
style: B({ alignItems: t.iconAlign })
|
|
3446
3446
|
}, {
|
|
3447
3447
|
default: v(() => [
|
|
3448
3448
|
t.icon ? (l(), _(r, {
|
|
3449
3449
|
key: 0,
|
|
3450
|
-
class:
|
|
3450
|
+
class: m(t.classes.icon),
|
|
3451
3451
|
icon: t.icon
|
|
3452
3452
|
}, null, 8, ["class", "icon"])) : y("", !0),
|
|
3453
3453
|
g(e.$slots, "default", {}, () => [
|
|
@@ -3462,7 +3462,7 @@ function Ri(e, s, t, n, i, o) {
|
|
|
3462
3462
|
])) : y("", !0)
|
|
3463
3463
|
], 2);
|
|
3464
3464
|
}
|
|
3465
|
-
const
|
|
3465
|
+
const gf = /* @__PURE__ */ S(Ai, [["render", Ri]]), xi = {
|
|
3466
3466
|
name: "UluBreadcrumb",
|
|
3467
3467
|
components: {
|
|
3468
3468
|
UluIcon: D
|
|
@@ -3500,31 +3500,31 @@ function Ui(e, s, t, n, i, o) {
|
|
|
3500
3500
|
const r = E("router-link"), a = E("UluIcon");
|
|
3501
3501
|
return t.items.length ? (l(), d("nav", {
|
|
3502
3502
|
key: 0,
|
|
3503
|
-
class:
|
|
3503
|
+
class: m(t.classes.nav),
|
|
3504
3504
|
"aria-label": "Breadcrumb"
|
|
3505
3505
|
}, [
|
|
3506
3506
|
f("ul", {
|
|
3507
|
-
class:
|
|
3507
|
+
class: m(t.classes.list)
|
|
3508
3508
|
}, [
|
|
3509
|
-
(l(!0), d(
|
|
3510
|
-
key:
|
|
3511
|
-
class:
|
|
3509
|
+
(l(!0), d(A, null, $(t.items, (u, c) => (l(), d("li", {
|
|
3510
|
+
key: c,
|
|
3511
|
+
class: m(t.classes.item)
|
|
3512
3512
|
}, [
|
|
3513
3513
|
R(r, {
|
|
3514
|
-
to:
|
|
3515
|
-
class:
|
|
3516
|
-
"aria-current":
|
|
3514
|
+
to: u.to,
|
|
3515
|
+
class: m(t.classes.link),
|
|
3516
|
+
"aria-current": u.current ? "page" : null
|
|
3517
3517
|
}, {
|
|
3518
3518
|
default: v(() => [
|
|
3519
|
-
g(e.$slots, "default", { item:
|
|
3520
|
-
k(p(
|
|
3519
|
+
g(e.$slots, "default", { item: u }, () => [
|
|
3520
|
+
k(p(u.title), 1)
|
|
3521
3521
|
])
|
|
3522
3522
|
]),
|
|
3523
3523
|
_: 2
|
|
3524
3524
|
}, 1032, ["to", "class", "aria-current"]),
|
|
3525
|
-
|
|
3525
|
+
c < t.items.length - 1 ? g(e.$slots, "separator", { key: 0 }, () => [
|
|
3526
3526
|
R(a, {
|
|
3527
|
-
class:
|
|
3527
|
+
class: m(t.classes.separator),
|
|
3528
3528
|
icon: t.separatorIcon || "type:pathSeparator"
|
|
3529
3529
|
}, null, 8, ["class", "icon"])
|
|
3530
3530
|
]) : y("", !0)
|
|
@@ -3532,7 +3532,7 @@ function Ui(e, s, t, n, i, o) {
|
|
|
3532
3532
|
], 2)
|
|
3533
3533
|
], 2)) : y("", !0);
|
|
3534
3534
|
}
|
|
3535
|
-
const
|
|
3535
|
+
const yf = /* @__PURE__ */ S(xi, [["render", Ui]]), ji = {
|
|
3536
3536
|
name: "UluNavStrip",
|
|
3537
3537
|
components: {
|
|
3538
3538
|
UluMenu: _s
|
|
@@ -3559,7 +3559,7 @@ const hf = /* @__PURE__ */ S(xi, [["render", Ui]]), ji = {
|
|
|
3559
3559
|
function zi(e, s, t, n, i, o) {
|
|
3560
3560
|
const r = E("UluMenu");
|
|
3561
3561
|
return l(), d("nav", {
|
|
3562
|
-
class:
|
|
3562
|
+
class: m(["nav-strip", {
|
|
3563
3563
|
"nav-strip--rule": t.rule,
|
|
3564
3564
|
"nav-strip--center": t.center,
|
|
3565
3565
|
"nav-strip--right": t.right
|
|
@@ -3576,14 +3576,14 @@ function zi(e, s, t, n, i, o) {
|
|
|
3576
3576
|
}, null, 8, ["items"])
|
|
3577
3577
|
], 2);
|
|
3578
3578
|
}
|
|
3579
|
-
const
|
|
3579
|
+
const _f = /* @__PURE__ */ S(ji, [["render", zi]]), Ei = {}, Ii = {
|
|
3580
3580
|
class: "site-skip-link hidden-visually-focusable",
|
|
3581
3581
|
href: "#main-content"
|
|
3582
3582
|
};
|
|
3583
3583
|
function Mi(e, s) {
|
|
3584
3584
|
return l(), d("a", Ii, " Skip to main content ");
|
|
3585
3585
|
}
|
|
3586
|
-
const
|
|
3586
|
+
const pf = /* @__PURE__ */ S(Ei, [["render", Mi]]), Pi = {
|
|
3587
3587
|
name: "UluCondText",
|
|
3588
3588
|
props: {
|
|
3589
3589
|
/**
|
|
@@ -3599,7 +3599,7 @@ const gf = /* @__PURE__ */ S(Ei, [["render", Mi]]), Bi = {
|
|
|
3599
3599
|
}
|
|
3600
3600
|
}
|
|
3601
3601
|
};
|
|
3602
|
-
function
|
|
3602
|
+
function Bi(e, s, t, n, i, o) {
|
|
3603
3603
|
return t.text != null ? (l(), _(M(t.element), { key: 0 }, {
|
|
3604
3604
|
default: v(() => [
|
|
3605
3605
|
k(p(t.text), 1)
|
|
@@ -3607,16 +3607,16 @@ function Pi(e, s, t, n, i, o) {
|
|
|
3607
3607
|
_: 1
|
|
3608
3608
|
})) : y("", !0);
|
|
3609
3609
|
}
|
|
3610
|
-
const
|
|
3610
|
+
const vf = /* @__PURE__ */ S(Pi, [["render", Bi]]), Fi = {}, Li = { style: { display: "none" } };
|
|
3611
3611
|
function Hi(e, s) {
|
|
3612
3612
|
return l(), d("span", Li);
|
|
3613
3613
|
}
|
|
3614
|
-
const
|
|
3614
|
+
const bf = /* @__PURE__ */ S(Fi, [["render", Hi]]), Di = {};
|
|
3615
3615
|
function Vi(e, s) {
|
|
3616
3616
|
const t = E("router-view");
|
|
3617
3617
|
return l(), _(t);
|
|
3618
3618
|
}
|
|
3619
|
-
const
|
|
3619
|
+
const wf = /* @__PURE__ */ S(Di, [["render", Vi]]);
|
|
3620
3620
|
function Me(e = 0, s = 100) {
|
|
3621
3621
|
return e = Math.ceil(e), s = Math.floor(s), Math.floor(Math.random() * (s - e) + e);
|
|
3622
3622
|
}
|
|
@@ -3667,7 +3667,7 @@ function Xi(e, s, t, n, i, o) {
|
|
|
3667
3667
|
alt: t.alt
|
|
3668
3668
|
}, null, 8, Wi);
|
|
3669
3669
|
}
|
|
3670
|
-
const
|
|
3670
|
+
const Sf = /* @__PURE__ */ S(Ni, [["render", Xi]]), qi = {
|
|
3671
3671
|
name: "PlaceholderText",
|
|
3672
3672
|
props: {
|
|
3673
3673
|
amount: {
|
|
@@ -3681,15 +3681,14 @@ const vf = /* @__PURE__ */ S(Ni, [["render", Xi]]), qi = {
|
|
|
3681
3681
|
}
|
|
3682
3682
|
};
|
|
3683
3683
|
function Yi(e, s, t, n, i, o) {
|
|
3684
|
-
return l(!0), d(
|
|
3685
|
-
default: v(() => s[0] || (s[0] = [
|
|
3686
|
-
k(" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed semper erat tincidunt tellus vestibulum dictum. Fusce vel augue commodo, egestas diam sed, accumsan leo. Maecenas congue nec nisl et ullamcorper. Maecenas tincidunt, tortor et viverra eleifend, enim leo vestibulum ipsum, quis placerat mi nisi nec ex. Vivamus a justo volutpat, scelerisque elit eget, lacinia ex. Phasellus dapibus sollicitudin tortor, vitae suscipit nunc condimentum ut. Cras suscipit feugiat nibh nec consectetur. Phasellus vitae quam blandit, cursus metus ut, placerat mi. Sed tempor lacus non est interdum imperdiet nec quis metus. Praesent vel eleifend diam. Donec tincidunt eget purus sed posuere. ")
|
|
3687
|
-
])),
|
|
3688
|
-
_: 2
|
|
3689
|
-
__: [0]
|
|
3684
|
+
return l(!0), d(A, null, $(parseInt(t.amount), (r) => (l(), _(M(t.element), { key: r }, {
|
|
3685
|
+
default: v(() => [...s[0] || (s[0] = [
|
|
3686
|
+
k(" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed semper erat tincidunt tellus vestibulum dictum. Fusce vel augue commodo, egestas diam sed, accumsan leo. Maecenas congue nec nisl et ullamcorper. Maecenas tincidunt, tortor et viverra eleifend, enim leo vestibulum ipsum, quis placerat mi nisi nec ex. Vivamus a justo volutpat, scelerisque elit eget, lacinia ex. Phasellus dapibus sollicitudin tortor, vitae suscipit nunc condimentum ut. Cras suscipit feugiat nibh nec consectetur. Phasellus vitae quam blandit, cursus metus ut, placerat mi. Sed tempor lacus non est interdum imperdiet nec quis metus. Praesent vel eleifend diam. Donec tincidunt eget purus sed posuere. ", -1)
|
|
3687
|
+
])]),
|
|
3688
|
+
_: 2
|
|
3690
3689
|
}, 1024))), 128);
|
|
3691
3690
|
}
|
|
3692
|
-
const
|
|
3691
|
+
const kf = /* @__PURE__ */ S(qi, [["render", Yi]]), Ki = {
|
|
3693
3692
|
name: "RouteAnnouncer",
|
|
3694
3693
|
props: {
|
|
3695
3694
|
/**
|
|
@@ -3742,7 +3741,7 @@ function Gi(e, s, t, n, i, o) {
|
|
|
3742
3741
|
ref: "el"
|
|
3743
3742
|
}, p(o.title), 513)) : y("", !0);
|
|
3744
3743
|
}
|
|
3745
|
-
const
|
|
3744
|
+
const Cf = /* @__PURE__ */ S(Ki, [["render", Gi]]), Zi = {
|
|
3746
3745
|
name: "AnimateNumber",
|
|
3747
3746
|
props: {
|
|
3748
3747
|
/**
|
|
@@ -3774,7 +3773,7 @@ function Ji(e, s, t, n, i, o) {
|
|
|
3774
3773
|
])
|
|
3775
3774
|
]);
|
|
3776
3775
|
}
|
|
3777
|
-
const
|
|
3776
|
+
const Tf = /* @__PURE__ */ S(Zi, [["render", Ji]]), Qi = {
|
|
3778
3777
|
name: "ProgressBar",
|
|
3779
3778
|
props: {
|
|
3780
3779
|
small: Boolean,
|
|
@@ -3820,7 +3819,7 @@ const Sf = /* @__PURE__ */ S(Zi, [["render", Ji]]), Qi = {
|
|
|
3820
3819
|
function lr(e, s, t, n, i, o) {
|
|
3821
3820
|
const r = E("StatusIcon");
|
|
3822
3821
|
return l(), d("div", {
|
|
3823
|
-
class:
|
|
3822
|
+
class: m(["progress-bar", {
|
|
3824
3823
|
"progress-bar--small": t.small,
|
|
3825
3824
|
"progress-bar--icon-left": t.iconOnLeft,
|
|
3826
3825
|
"type-small": t.small
|
|
@@ -3828,7 +3827,7 @@ function lr(e, s, t, n, i, o) {
|
|
|
3828
3827
|
}, [
|
|
3829
3828
|
f("div", er, [
|
|
3830
3829
|
f("strong", {
|
|
3831
|
-
class:
|
|
3830
|
+
class: m(["progress-bar__label", {
|
|
3832
3831
|
"type-normal": t.small,
|
|
3833
3832
|
"hidden-visually": t.labelHidden
|
|
3834
3833
|
}])
|
|
@@ -3843,12 +3842,12 @@ function lr(e, s, t, n, i, o) {
|
|
|
3843
3842
|
f("div", nr, [
|
|
3844
3843
|
f("div", {
|
|
3845
3844
|
class: "progress-bar__bar",
|
|
3846
|
-
style:
|
|
3845
|
+
style: B(`width: ${o.percentage}%`)
|
|
3847
3846
|
}, null, 4),
|
|
3848
3847
|
t.deficit ? (l(), d("div", {
|
|
3849
3848
|
key: 0,
|
|
3850
3849
|
class: "progress-bar__bar--deficit",
|
|
3851
|
-
style:
|
|
3850
|
+
style: B(`width: ${o.defPercentage}%`)
|
|
3852
3851
|
}, null, 4)) : y("", !0)
|
|
3853
3852
|
]),
|
|
3854
3853
|
f("div", or, [
|
|
@@ -3867,7 +3866,7 @@ function lr(e, s, t, n, i, o) {
|
|
|
3867
3866
|
])
|
|
3868
3867
|
], 2);
|
|
3869
3868
|
}
|
|
3870
|
-
const
|
|
3869
|
+
const $f = /* @__PURE__ */ S(Qi, [["render", lr]]);
|
|
3871
3870
|
let cr = 0;
|
|
3872
3871
|
const ur = {
|
|
3873
3872
|
name: "ProgressDonut",
|
|
@@ -3930,7 +3929,7 @@ const ur = {
|
|
|
3930
3929
|
};
|
|
3931
3930
|
function yr(e, s, t, n, i, o) {
|
|
3932
3931
|
return l(), d("div", {
|
|
3933
|
-
class:
|
|
3932
|
+
class: m(["progress-donut", {
|
|
3934
3933
|
"progress-donut--small": t.small,
|
|
3935
3934
|
"progress-donut--small-below": t.smallBelow,
|
|
3936
3935
|
"progress-donut--status-low": !t.neutral && t.percentage < 30,
|
|
@@ -3947,7 +3946,7 @@ function yr(e, s, t, n, i, o) {
|
|
|
3947
3946
|
r: "16",
|
|
3948
3947
|
cx: "16",
|
|
3949
3948
|
cy: "16",
|
|
3950
|
-
style:
|
|
3949
|
+
style: B({ strokeDasharray: o.endDasharray })
|
|
3951
3950
|
}, null, 4),
|
|
3952
3951
|
f("circle", {
|
|
3953
3952
|
class: "progress-donut__chart-mask",
|
|
@@ -3961,13 +3960,13 @@ function yr(e, s, t, n, i, o) {
|
|
|
3961
3960
|
t.small ? (l(), d("strong", gr, p(t.percentage) + "% ", 1)) : y("", !0)
|
|
3962
3961
|
], 2);
|
|
3963
3962
|
}
|
|
3964
|
-
const
|
|
3963
|
+
const Af = /* @__PURE__ */ S(ur, [["render", yr]]);
|
|
3965
3964
|
function _r(e, s) {
|
|
3966
3965
|
return !s || !Array.isArray(s) ? [] : s.map((t) => {
|
|
3967
3966
|
const n = /* @__PURE__ */ new Set(), i = t.getValue || ((r) => r[t.uid]);
|
|
3968
3967
|
e.forEach((r) => {
|
|
3969
3968
|
const a = i(r);
|
|
3970
|
-
Array.isArray(a) ? a.forEach((
|
|
3969
|
+
Array.isArray(a) ? a.forEach((u) => u && n.add(u)) : a && n.add(a);
|
|
3971
3970
|
});
|
|
3972
3971
|
const o = t.getLabel || ((r) => r);
|
|
3973
3972
|
return {
|
|
@@ -3980,7 +3979,7 @@ function _r(e, s) {
|
|
|
3980
3979
|
};
|
|
3981
3980
|
});
|
|
3982
3981
|
}
|
|
3983
|
-
function
|
|
3982
|
+
function Of(e, s = {}) {
|
|
3984
3983
|
const t = (O, L) => {
|
|
3985
3984
|
const H = O[L];
|
|
3986
3985
|
return H === null || typeof H > "u" ? [] : Array.isArray(H) ? H : [H];
|
|
@@ -3990,9 +3989,9 @@ function Tf(e, s = {}) {
|
|
|
3990
3989
|
initialSearchValue: o = "",
|
|
3991
3990
|
initialSortType: r = "az",
|
|
3992
3991
|
noDefaultSorts: a = !1,
|
|
3993
|
-
extraSortTypes:
|
|
3994
|
-
searchOptions:
|
|
3995
|
-
getItemFacet:
|
|
3992
|
+
extraSortTypes: u = {},
|
|
3993
|
+
searchOptions: c = {},
|
|
3994
|
+
getItemFacet: h = t,
|
|
3996
3995
|
getSortValue: b = (O) => O.title || O.label || ""
|
|
3997
3996
|
} = s, C = (O) => O.sort((L, H) => {
|
|
3998
3997
|
const W = b(L), N = b(H);
|
|
@@ -4012,28 +4011,28 @@ function Tf(e, s = {}) {
|
|
|
4012
4011
|
selectedCount: 0
|
|
4013
4012
|
}));
|
|
4014
4013
|
}
|
|
4015
|
-
const F = w(() => !i || !e.value?.length ? null : _r(e.value, i)), j =
|
|
4014
|
+
const F = w(() => !i || !e.value?.length ? null : _r(e.value, i)), j = P(I(n || F.value)), J = P(o), Re = P(r);
|
|
4016
4015
|
i && !n && rs(F, (O) => {
|
|
4017
4016
|
j.value = I(O);
|
|
4018
4017
|
});
|
|
4019
4018
|
const ne = w(() => ({
|
|
4020
4019
|
...a ? {} : U,
|
|
4021
|
-
...
|
|
4020
|
+
...u
|
|
4022
4021
|
})), Q = w(() => ({
|
|
4023
4022
|
shouldSort: !0,
|
|
4024
4023
|
keys: ["title", "label", "description", "author"],
|
|
4025
|
-
...
|
|
4024
|
+
...c
|
|
4026
4025
|
})), _e = w(() => {
|
|
4027
4026
|
const O = [];
|
|
4028
4027
|
return j.value.forEach((L) => {
|
|
4029
4028
|
const { name: H, uid: W, children: N } = L;
|
|
4030
|
-
let xe = 0,
|
|
4031
|
-
N && N.forEach((
|
|
4032
|
-
|
|
4029
|
+
let xe = 0, pt = !1;
|
|
4030
|
+
N && N.forEach((vt) => {
|
|
4031
|
+
vt.selected && (++xe, pt || (O.push({ uid: W, name: H, children: [] }), pt = !0), O[O.length - 1].children.push(vt));
|
|
4033
4032
|
}), L.selectedCount = xe;
|
|
4034
4033
|
}), O;
|
|
4035
4034
|
}), pe = w(() => _e.value.length ? e.value.filter((O) => _e.value.every((L) => {
|
|
4036
|
-
const H =
|
|
4035
|
+
const H = h(O, L.uid);
|
|
4037
4036
|
return H && H.length ? L.children.some((W) => H.includes(W.uid)) : !1;
|
|
4038
4037
|
})) : e.value), ve = w(() => J.value?.length ? new ln(pe.value, Q.value).search(J.value).map((L) => L.item) : pe.value), V = w(() => {
|
|
4039
4038
|
const O = ne.value[Re.value]?.sort;
|
|
@@ -4065,7 +4064,7 @@ function Tf(e, s = {}) {
|
|
|
4065
4064
|
handleFacetChange: le
|
|
4066
4065
|
};
|
|
4067
4066
|
}
|
|
4068
|
-
const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"], br = ["for"],
|
|
4067
|
+
const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"], br = ["for"], xt = {
|
|
4069
4068
|
__name: "UluFacetsList",
|
|
4070
4069
|
props: {
|
|
4071
4070
|
groupUid: String,
|
|
@@ -4079,8 +4078,8 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4079
4078
|
return `facet-${t.groupUid}-${o.uid}`;
|
|
4080
4079
|
}
|
|
4081
4080
|
return (o, r) => (l(), d("ul", pr, [
|
|
4082
|
-
(l(!0), d(
|
|
4083
|
-
class:
|
|
4081
|
+
(l(!0), d(A, null, $(e.children, (a) => (l(), d("li", {
|
|
4082
|
+
class: m(["UluFacets__facet", e.classFacet]),
|
|
4084
4083
|
key: a.uid
|
|
4085
4084
|
}, [
|
|
4086
4085
|
f("input", {
|
|
@@ -4088,7 +4087,7 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4088
4087
|
id: i(a),
|
|
4089
4088
|
type: "checkbox",
|
|
4090
4089
|
checked: a.selected,
|
|
4091
|
-
onChange: (
|
|
4090
|
+
onChange: (u) => n("facet-change", { groupUid: e.groupUid, facetUid: a.uid, selected: u.target.checked })
|
|
4092
4091
|
}, null, 40, vr),
|
|
4093
4092
|
f("label", {
|
|
4094
4093
|
class: "UluFacets__facet-label",
|
|
@@ -4097,7 +4096,7 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4097
4096
|
], 2))), 128))
|
|
4098
4097
|
]));
|
|
4099
4098
|
}
|
|
4100
|
-
}, wr = { class: "UluFacetsFilters" },
|
|
4099
|
+
}, wr = { class: "UluFacetsFilters" }, Rf = {
|
|
4101
4100
|
__name: "UluFacetsFilters",
|
|
4102
4101
|
props: {
|
|
4103
4102
|
classes: {
|
|
@@ -4117,8 +4116,8 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4117
4116
|
setup(e, { emit: s }) {
|
|
4118
4117
|
const t = s;
|
|
4119
4118
|
return (n, i) => (l(), d("div", wr, [
|
|
4120
|
-
(l(!0), d(
|
|
4121
|
-
class:
|
|
4119
|
+
(l(!0), d(A, null, $(e.facets, (o) => (l(), _($t, {
|
|
4120
|
+
class: m(["UluFacets__group", e.classes.group]),
|
|
4122
4121
|
classToggle: ["UluFacets__group-toggle", e.classes.groupToggle],
|
|
4123
4122
|
classContent: ["UluFacets__group-content", e.classes.groupContent],
|
|
4124
4123
|
key: o.uid,
|
|
@@ -4137,15 +4136,15 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4137
4136
|
])
|
|
4138
4137
|
]),
|
|
4139
4138
|
default: v(() => [
|
|
4140
|
-
R(
|
|
4139
|
+
R(xt, {
|
|
4141
4140
|
children: o.children.slice(0, e.maxVisible),
|
|
4142
4141
|
groupUid: o.uid,
|
|
4143
4142
|
classFacet: e.classes.facet,
|
|
4144
4143
|
onFacetChange: i[0] || (i[0] = (r) => t("facet-change", r))
|
|
4145
4144
|
}, null, 8, ["children", "groupUid", "classFacet"]),
|
|
4146
|
-
o.children.length > e.maxVisible ? (l(), _(
|
|
4145
|
+
o.children.length > e.maxVisible ? (l(), _($t, {
|
|
4147
4146
|
key: 0,
|
|
4148
|
-
class:
|
|
4147
|
+
class: m(["UluFacets__more-facets", e.classes.moreFacets]),
|
|
4149
4148
|
clickOutsideCloses: !1,
|
|
4150
4149
|
closeOnEscape: !1,
|
|
4151
4150
|
transitionHeight: !0
|
|
@@ -4154,7 +4153,7 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4154
4153
|
k(p(r ? "- Less" : "+ More"), 1)
|
|
4155
4154
|
]),
|
|
4156
4155
|
default: v(() => [
|
|
4157
|
-
R(
|
|
4156
|
+
R(xt, {
|
|
4158
4157
|
children: o.children.slice(e.maxVisible),
|
|
4159
4158
|
groupUid: o.uid,
|
|
4160
4159
|
classFacet: e.classes.facet,
|
|
@@ -4171,7 +4170,7 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4171
4170
|
}, Sr = { class: "UluFacetsResults" }, kr = {
|
|
4172
4171
|
key: 1,
|
|
4173
4172
|
class: "UluFacetsResults__empty"
|
|
4174
|
-
},
|
|
4173
|
+
}, xf = {
|
|
4175
4174
|
__name: "UluFacetsResults",
|
|
4176
4175
|
props: {
|
|
4177
4176
|
items: {
|
|
@@ -4196,7 +4195,7 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4196
4195
|
class: "UluFacetsResults__list"
|
|
4197
4196
|
}, {
|
|
4198
4197
|
default: v(() => [
|
|
4199
|
-
(l(!0), d(
|
|
4198
|
+
(l(!0), d(A, null, $(e.items, (n, i) => (l(), d("li", {
|
|
4200
4199
|
class: "UluFacetsResults__item",
|
|
4201
4200
|
key: n.id || i
|
|
4202
4201
|
}, [
|
|
@@ -4214,7 +4213,7 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4214
4213
|
]))
|
|
4215
4214
|
]));
|
|
4216
4215
|
}
|
|
4217
|
-
}, Cr = { class: "UluFacets__keyword-search" }, Tr = ["placeholder"],
|
|
4216
|
+
}, Cr = { class: "UluFacets__keyword-search" }, Tr = ["placeholder"], Uf = {
|
|
4218
4217
|
__name: "UluFacetsSearch",
|
|
4219
4218
|
props: {
|
|
4220
4219
|
classes: {
|
|
@@ -4239,17 +4238,17 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4239
4238
|
n("update:modelValue", a);
|
|
4240
4239
|
}
|
|
4241
4240
|
});
|
|
4242
|
-
return (a,
|
|
4241
|
+
return (a, u) => (l(), d("div", Cr, [
|
|
4243
4242
|
f("label", {
|
|
4244
|
-
class:
|
|
4243
|
+
class: m(e.classes.searchLabel),
|
|
4245
4244
|
for: o
|
|
4246
|
-
},
|
|
4245
|
+
}, [...u[1] || (u[1] = [
|
|
4247
4246
|
f("strong", null, "Search", -1)
|
|
4248
|
-
]), 2),
|
|
4247
|
+
])], 2),
|
|
4249
4248
|
me(f("input", {
|
|
4250
4249
|
id: o,
|
|
4251
|
-
class:
|
|
4252
|
-
"onUpdate:modelValue":
|
|
4250
|
+
class: m(e.classes.searchInput),
|
|
4251
|
+
"onUpdate:modelValue": u[0] || (u[0] = (c) => r.value = c),
|
|
4253
4252
|
type: "text",
|
|
4254
4253
|
placeholder: e.placeholder
|
|
4255
4254
|
}, null, 10, Tr), [
|
|
@@ -4257,11 +4256,11 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4257
4256
|
])
|
|
4258
4257
|
]));
|
|
4259
4258
|
}
|
|
4260
|
-
},
|
|
4259
|
+
}, $r = { class: "UluFacetsSidebarLayout" }, Ar = { class: "UluFacetsSidebarLayout__header" }, Or = { class: "UluFacetsSidebarLayout__body" }, Rr = { class: "UluFacetsSidebarLayout__sidebar" }, xr = { class: "UluFacetsSidebarLayout__main" }, jf = {
|
|
4261
4260
|
__name: "UluFacetsSidebarLayout",
|
|
4262
4261
|
setup(e) {
|
|
4263
|
-
return (s, t) => (l(), d("div",
|
|
4264
|
-
f("div",
|
|
4262
|
+
return (s, t) => (l(), d("div", $r, [
|
|
4263
|
+
f("div", Ar, [
|
|
4265
4264
|
g(s.$slots, "header")
|
|
4266
4265
|
]),
|
|
4267
4266
|
f("div", Or, [
|
|
@@ -4274,7 +4273,7 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4274
4273
|
])
|
|
4275
4274
|
]));
|
|
4276
4275
|
}
|
|
4277
|
-
}, Ur = ["for"], jr = ["value", "id"], zr = ["value"],
|
|
4276
|
+
}, Ur = ["for"], jr = ["value", "id"], zr = ["value"], zf = {
|
|
4278
4277
|
__name: "UluFacetsSort",
|
|
4279
4278
|
props: {
|
|
4280
4279
|
classes: {
|
|
@@ -4293,27 +4292,27 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4293
4292
|
emits: ["update:modelValue"],
|
|
4294
4293
|
setup(e, { emit: s }) {
|
|
4295
4294
|
let t = 0;
|
|
4296
|
-
const n = s, i =
|
|
4295
|
+
const n = s, i = P(`ulu-facet-sort-${++t}`);
|
|
4297
4296
|
return (o, r) => (l(), d("div", {
|
|
4298
|
-
class:
|
|
4297
|
+
class: m(["UluFacetsSort", e.classes.sortForm])
|
|
4299
4298
|
}, [
|
|
4300
4299
|
f("label", {
|
|
4301
4300
|
for: i.value,
|
|
4302
|
-
class:
|
|
4301
|
+
class: m(e.classes.sortFormLabel)
|
|
4303
4302
|
}, [
|
|
4304
4303
|
g(o.$slots, "default", {}, () => [
|
|
4305
|
-
r[1] || (r[1] = k("Sort:"))
|
|
4304
|
+
r[1] || (r[1] = k("Sort:", -1))
|
|
4306
4305
|
])
|
|
4307
4306
|
], 10, Ur),
|
|
4308
4307
|
f("select", {
|
|
4309
4308
|
value: e.modelValue,
|
|
4310
4309
|
onChange: r[0] || (r[0] = (a) => n("update:modelValue", a.target.value)),
|
|
4311
4310
|
id: i.value,
|
|
4312
|
-
class:
|
|
4311
|
+
class: m(e.classes.sortFormSelect)
|
|
4313
4312
|
}, [
|
|
4314
|
-
(l(!0), d(
|
|
4315
|
-
value:
|
|
4316
|
-
key:
|
|
4313
|
+
(l(!0), d(A, null, $(e.sortTypes, (a, u) => (l(), d("option", {
|
|
4314
|
+
value: u,
|
|
4315
|
+
key: u
|
|
4317
4316
|
}, p(a.text), 9, zr))), 128))
|
|
4318
4317
|
], 42, jr)
|
|
4319
4318
|
], 2));
|
|
@@ -4382,13 +4381,13 @@ const pr = { class: "UluFacets__facet-list" }, vr = ["id", "checked", "onChange"
|
|
|
4382
4381
|
const { observerOptions: e, sections: s, removeActive: t, firstItemActive: n } = this;
|
|
4383
4382
|
let i = 0;
|
|
4384
4383
|
const o = (r) => {
|
|
4385
|
-
r.forEach(({ target: a, isIntersecting:
|
|
4386
|
-
const
|
|
4384
|
+
r.forEach(({ target: a, isIntersecting: u }) => {
|
|
4385
|
+
const c = this.getSectionIndex(a), h = a.offsetTop, b = s[c], C = c === 0 && i > h, U = c === s.length - 1 && i < h;
|
|
4387
4386
|
b && this.$nextTick(() => {
|
|
4388
|
-
|
|
4387
|
+
u ? (t(b), b.active = !0) : (C && !n || U && b.active) && t(), this.$emit("section-change", {
|
|
4389
4388
|
section: b,
|
|
4390
4389
|
sections: s,
|
|
4391
|
-
active:
|
|
4390
|
+
active: u
|
|
4392
4391
|
});
|
|
4393
4392
|
});
|
|
4394
4393
|
});
|
|
@@ -4429,7 +4428,7 @@ function Mr(e, s, t, n, i, o) {
|
|
|
4429
4428
|
g(e.$slots, "default")
|
|
4430
4429
|
]);
|
|
4431
4430
|
}
|
|
4432
|
-
const
|
|
4431
|
+
const Ef = /* @__PURE__ */ S(Er, [["render", Mr]]), Pr = {
|
|
4433
4432
|
name: "ScrollAnchorsNav",
|
|
4434
4433
|
inject: {
|
|
4435
4434
|
sections: { from: Fe }
|
|
@@ -4440,7 +4439,7 @@ const Uf = /* @__PURE__ */ S(Er, [["render", Mr]]), Br = {
|
|
|
4440
4439
|
default: "nav"
|
|
4441
4440
|
}
|
|
4442
4441
|
}
|
|
4443
|
-
},
|
|
4442
|
+
}, Br = ["href"];
|
|
4444
4443
|
function Fr(e, s, t, n, i, o) {
|
|
4445
4444
|
return o.sections.length ? (l(), _(M(t.element), {
|
|
4446
4445
|
key: 0,
|
|
@@ -4448,21 +4447,21 @@ function Fr(e, s, t, n, i, o) {
|
|
|
4448
4447
|
}, {
|
|
4449
4448
|
default: v(() => [
|
|
4450
4449
|
f("ul", null, [
|
|
4451
|
-
(l(!0), d(
|
|
4450
|
+
(l(!0), d(A, null, $(o.sections, (r, a) => (l(), d("li", {
|
|
4452
4451
|
key: a,
|
|
4453
|
-
class:
|
|
4452
|
+
class: m({ "is-active": r.active })
|
|
4454
4453
|
}, [
|
|
4455
4454
|
f("a", {
|
|
4456
|
-
class:
|
|
4455
|
+
class: m({ "is-active": r.active }),
|
|
4457
4456
|
href: `#${r.titleId}`
|
|
4458
|
-
}, p(r.title), 11,
|
|
4457
|
+
}, p(r.title), 11, Br)
|
|
4459
4458
|
], 2))), 128))
|
|
4460
4459
|
])
|
|
4461
4460
|
]),
|
|
4462
4461
|
_: 1
|
|
4463
4462
|
})) : y("", !0);
|
|
4464
4463
|
}
|
|
4465
|
-
const
|
|
4464
|
+
const If = /* @__PURE__ */ S(Pr, [["render", Fr]]);
|
|
4466
4465
|
function bs(e) {
|
|
4467
4466
|
requestAnimationFrame(() => {
|
|
4468
4467
|
const s = new MessageChannel();
|
|
@@ -4525,24 +4524,24 @@ function Vr(e, s, t, n, i, o) {
|
|
|
4525
4524
|
}, {
|
|
4526
4525
|
default: v(() => [
|
|
4527
4526
|
f("ul", Hr, [
|
|
4528
|
-
(l(!0), d(
|
|
4527
|
+
(l(!0), d(A, null, $(o.sections, (r, a) => (l(), d("li", {
|
|
4529
4528
|
key: a,
|
|
4530
|
-
class:
|
|
4529
|
+
class: m({ "is-active": r.active })
|
|
4531
4530
|
}, [
|
|
4532
4531
|
f("a", {
|
|
4533
|
-
class:
|
|
4532
|
+
class: m({ "is-active": r.active }),
|
|
4534
4533
|
ref_for: !0,
|
|
4535
|
-
ref: (
|
|
4534
|
+
ref: (u) => o.addLinkRef(a, u),
|
|
4536
4535
|
href: `#${r.titleId}`
|
|
4537
4536
|
}, p(r.title), 11, Dr)
|
|
4538
4537
|
], 2))), 128))
|
|
4539
4538
|
]),
|
|
4540
4539
|
f("div", {
|
|
4541
|
-
class:
|
|
4540
|
+
class: m(["scroll-anchors__indicator", {
|
|
4542
4541
|
"scroll-anchors__indicator--can-transition": i.indicatorAnimReady
|
|
4543
4542
|
}]),
|
|
4544
4543
|
ref: "indicator",
|
|
4545
|
-
style:
|
|
4544
|
+
style: B({
|
|
4546
4545
|
opacity: o.indicatorStyles ? "1" : "0",
|
|
4547
4546
|
transform: `translateY(${o.indicatorStyles.y}px)`,
|
|
4548
4547
|
height: `${o.indicatorStyles.height}px`
|
|
@@ -4552,7 +4551,7 @@ function Vr(e, s, t, n, i, o) {
|
|
|
4552
4551
|
_: 1
|
|
4553
4552
|
})) : y("", !0);
|
|
4554
4553
|
}
|
|
4555
|
-
const
|
|
4554
|
+
const Mf = /* @__PURE__ */ S(Lr, [["render", Vr]]), Nr = {
|
|
4556
4555
|
name: "ScrollAnchorsSection",
|
|
4557
4556
|
props: {
|
|
4558
4557
|
title: String,
|
|
@@ -4599,11 +4598,11 @@ const zf = /* @__PURE__ */ S(Lr, [["render", Vr]]), Nr = {
|
|
|
4599
4598
|
};
|
|
4600
4599
|
function Wr(e, s, t, n, i, o) {
|
|
4601
4600
|
return l(), d("div", {
|
|
4602
|
-
class:
|
|
4601
|
+
class: m([t.wrapperClass, { [t.activeClass]: t.activeClass && o.section?.active }]),
|
|
4603
4602
|
ref: "element"
|
|
4604
4603
|
}, [
|
|
4605
4604
|
(l(), _(M(t.titleElement), {
|
|
4606
|
-
class:
|
|
4605
|
+
class: m(t.titleClass),
|
|
4607
4606
|
id: i.titleId
|
|
4608
4607
|
}, {
|
|
4609
4608
|
default: v(() => [
|
|
@@ -4614,7 +4613,7 @@ function Wr(e, s, t, n, i, o) {
|
|
|
4614
4613
|
g(e.$slots, "default", { section: o.section })
|
|
4615
4614
|
], 2);
|
|
4616
4615
|
}
|
|
4617
|
-
const
|
|
4616
|
+
const Pf = /* @__PURE__ */ S(Nr, [["render", Wr]]), Xr = {
|
|
4618
4617
|
__name: "UluSkeletonText",
|
|
4619
4618
|
props: {
|
|
4620
4619
|
/**
|
|
@@ -4632,14 +4631,14 @@ const Ef = /* @__PURE__ */ S(Nr, [["render", Wr]]), Xr = {
|
|
|
4632
4631
|
},
|
|
4633
4632
|
setup(e) {
|
|
4634
4633
|
return (s, t) => (l(), d("span", {
|
|
4635
|
-
class:
|
|
4634
|
+
class: m(["skeleton skeleton--text", {
|
|
4636
4635
|
"skeleton--inline": e.inline,
|
|
4637
4636
|
"skeleton--background-alt": e.alt,
|
|
4638
4637
|
[`skeleton--width-${e.width}`]: e.width
|
|
4639
4638
|
}])
|
|
4640
4639
|
}, null, 2));
|
|
4641
4640
|
}
|
|
4642
|
-
},
|
|
4641
|
+
}, Bf = {
|
|
4643
4642
|
__name: "UluShowSkeleton",
|
|
4644
4643
|
props: {
|
|
4645
4644
|
/**
|
|
@@ -4657,11 +4656,11 @@ const Ef = /* @__PURE__ */ S(Nr, [["render", Wr]]), Xr = {
|
|
|
4657
4656
|
function qr(e, s) {
|
|
4658
4657
|
return [...Array(e)].map((t, n) => s(n));
|
|
4659
4658
|
}
|
|
4660
|
-
function
|
|
4659
|
+
function Ff(e, s) {
|
|
4661
4660
|
var t = e.indexOf(s);
|
|
4662
4661
|
t > -1 && e.splice(t, 1);
|
|
4663
4662
|
}
|
|
4664
|
-
const
|
|
4663
|
+
const Lf = {
|
|
4665
4664
|
__name: "UluSkeletonContent",
|
|
4666
4665
|
props: {
|
|
4667
4666
|
/**
|
|
@@ -4677,27 +4676,27 @@ const Bf = {
|
|
|
4677
4676
|
const i = Me(70, 100);
|
|
4678
4677
|
let o = 0;
|
|
4679
4678
|
const r = () => {
|
|
4680
|
-
const
|
|
4681
|
-
return o +=
|
|
4679
|
+
const c = i - o, h = Me(15, c);
|
|
4680
|
+
return o += h, h;
|
|
4682
4681
|
}, a = [];
|
|
4683
4682
|
for (; o < i - 15; )
|
|
4684
4683
|
a.push(r());
|
|
4685
|
-
const
|
|
4686
|
-
for (;
|
|
4684
|
+
const u = () => a.reduce((c, h) => c + h, 0);
|
|
4685
|
+
for (; u() >= i && a.pop(); )
|
|
4687
4686
|
;
|
|
4688
|
-
return a.map((
|
|
4687
|
+
return a.map((c) => ({ width: c, alt: Math.random() < 0.5 }));
|
|
4689
4688
|
}));
|
|
4690
4689
|
return (n, i) => (l(), d("div", null, [
|
|
4691
|
-
(l(!0), d(
|
|
4692
|
-
(l(!0), d(
|
|
4690
|
+
(l(!0), d(A, null, $(t.value, (o, r) => (l(), d("div", { key: r }, [
|
|
4691
|
+
(l(!0), d(A, null, $(o, (a) => (l(), d("span", {
|
|
4693
4692
|
key: a,
|
|
4694
|
-
class:
|
|
4695
|
-
style:
|
|
4693
|
+
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": a.alt }]),
|
|
4694
|
+
style: B({ width: `${a.width}%` })
|
|
4696
4695
|
}, null, 6))), 128))
|
|
4697
4696
|
]))), 128))
|
|
4698
4697
|
]));
|
|
4699
4698
|
}
|
|
4700
|
-
}, Yr = { class: "skeleton skeleton-block--media" },
|
|
4699
|
+
}, Yr = { class: "skeleton skeleton-block--media" }, Hf = {
|
|
4701
4700
|
__name: "UluSkeletonMedia",
|
|
4702
4701
|
setup(e) {
|
|
4703
4702
|
return (s, t) => (l(), d("div", Yr, [
|
|
@@ -4919,18 +4918,18 @@ function ca(e, s, t, n, i, o) {
|
|
|
4919
4918
|
f("div", Zr, [
|
|
4920
4919
|
f("div", Jr, [
|
|
4921
4920
|
f("ul", Qr, [
|
|
4922
|
-
(l(!0), d(
|
|
4923
|
-
class:
|
|
4924
|
-
key:
|
|
4921
|
+
(l(!0), d(A, null, $(i.slides, (a, u) => (l(), d("li", {
|
|
4922
|
+
class: m(["slideshow__slide", { "is-active": a.active }]),
|
|
4923
|
+
key: u,
|
|
4925
4924
|
tabindex: t.slideFocusable ? "0" : "-1",
|
|
4926
4925
|
ref_for: !0,
|
|
4927
|
-
ref: (
|
|
4928
|
-
a.element =
|
|
4926
|
+
ref: (c) => {
|
|
4927
|
+
a.element = c;
|
|
4929
4928
|
}
|
|
4930
4929
|
}, [
|
|
4931
4930
|
g(e.$slots, "slide", {
|
|
4932
4931
|
item: a.item,
|
|
4933
|
-
index:
|
|
4932
|
+
index: u
|
|
4934
4933
|
})
|
|
4935
4934
|
], 10, ea))), 128))
|
|
4936
4935
|
], 512)
|
|
@@ -4965,24 +4964,24 @@ function ca(e, s, t, n, i, o) {
|
|
|
4965
4964
|
])
|
|
4966
4965
|
], 512),
|
|
4967
4966
|
t.noNav ? y("", !0) : (l(), d("ul", ra, [
|
|
4968
|
-
(l(!0), d(
|
|
4969
|
-
class:
|
|
4967
|
+
(l(!0), d(A, null, $(i.slides, (a, u) => (l(), d("li", {
|
|
4968
|
+
class: m(["slideshow__nav-item", { "is-active": a.active }]),
|
|
4970
4969
|
ref_for: !0,
|
|
4971
|
-
ref: (
|
|
4972
|
-
a.navElement =
|
|
4970
|
+
ref: (c) => {
|
|
4971
|
+
a.navElement = c;
|
|
4973
4972
|
},
|
|
4974
|
-
key:
|
|
4973
|
+
key: u
|
|
4975
4974
|
}, [
|
|
4976
4975
|
f("button", {
|
|
4977
|
-
class:
|
|
4978
|
-
onClick: (
|
|
4976
|
+
class: m(["slideshow__nav-button", { "is-active": a.active }]),
|
|
4977
|
+
onClick: (c) => o.to(u)
|
|
4979
4978
|
}, [
|
|
4980
4979
|
g(e.$slots, "nav", {
|
|
4981
4980
|
item: a.item,
|
|
4982
|
-
index:
|
|
4981
|
+
index: u,
|
|
4983
4982
|
active: a.active
|
|
4984
4983
|
}, () => [
|
|
4985
|
-
f("span", la, "Item " + p(
|
|
4984
|
+
f("span", la, "Item " + p(u + 1), 1)
|
|
4986
4985
|
])
|
|
4987
4986
|
], 10, aa)
|
|
4988
4987
|
], 2))), 128))
|
|
@@ -5013,9 +5012,9 @@ const ua = /* @__PURE__ */ S(Kr, [["render", ca]]), da = {
|
|
|
5013
5012
|
slideChange({ slide: e, nav: s }) {
|
|
5014
5013
|
const { active: t, navElement: n } = e;
|
|
5015
5014
|
if (!n) return;
|
|
5016
|
-
const { offsetWidth: i, scrollLeft: o } = s, { offsetLeft: r, offsetWidth: a } = n,
|
|
5017
|
-
let
|
|
5018
|
-
console.log("left/right", o,
|
|
5015
|
+
const { offsetWidth: i, scrollLeft: o } = s, { offsetLeft: r, offsetWidth: a } = n, u = o + i, c = r + a;
|
|
5016
|
+
let h = null;
|
|
5017
|
+
console.log("left/right", o, u), t && n && (c > u ? h = o + (c - u) : r < o && (h = r), h !== null && s.scrollTo({ left: h, top: 0, behavior: "smooth" }));
|
|
5019
5018
|
}
|
|
5020
5019
|
}
|
|
5021
5020
|
}, fa = ["src", "alt"], ha = { class: "slideshow__image-actions" }, ma = ["src", "alt"];
|
|
@@ -5026,10 +5025,10 @@ function ga(e, s, t, n, i, o) {
|
|
|
5026
5025
|
items: t.images,
|
|
5027
5026
|
onSlideChange: o.slideChange
|
|
5028
5027
|
}, {
|
|
5029
|
-
slide: v(({ item:
|
|
5028
|
+
slide: v(({ item: u }) => [
|
|
5030
5029
|
f("img", {
|
|
5031
|
-
src:
|
|
5032
|
-
alt:
|
|
5030
|
+
src: u.src,
|
|
5031
|
+
alt: u.alt
|
|
5033
5032
|
}, null, 8, fa),
|
|
5034
5033
|
f("div", ha, [
|
|
5035
5034
|
t.selectButton ? (l(), _(r, {
|
|
@@ -5039,24 +5038,23 @@ function ga(e, s, t, n, i, o) {
|
|
|
5039
5038
|
small: "",
|
|
5040
5039
|
iconBefore: ""
|
|
5041
5040
|
}, {
|
|
5042
|
-
default: v(() => s[0] || (s[0] = [
|
|
5043
|
-
k(" Select ")
|
|
5044
|
-
])),
|
|
5045
|
-
_: 1
|
|
5046
|
-
__: [0]
|
|
5041
|
+
default: v(() => [...s[0] || (s[0] = [
|
|
5042
|
+
k(" Select ", -1)
|
|
5043
|
+
])]),
|
|
5044
|
+
_: 1
|
|
5047
5045
|
})) : y("", !0)
|
|
5048
5046
|
])
|
|
5049
5047
|
]),
|
|
5050
|
-
nav: v(({ index:
|
|
5048
|
+
nav: v(({ index: u }) => [
|
|
5051
5049
|
f("img", {
|
|
5052
|
-
src: t.images[
|
|
5053
|
-
alt: `View image ${
|
|
5050
|
+
src: t.images[u].src,
|
|
5051
|
+
alt: `View image ${u}`
|
|
5054
5052
|
}, null, 8, ma)
|
|
5055
5053
|
]),
|
|
5056
5054
|
_: 1
|
|
5057
5055
|
}, 8, ["items", "onSlideChange"]);
|
|
5058
5056
|
}
|
|
5059
|
-
const
|
|
5057
|
+
const Df = /* @__PURE__ */ S(da, [["render", ga]]), ya = {
|
|
5060
5058
|
name: "SlideShowSlide",
|
|
5061
5059
|
props: {
|
|
5062
5060
|
/**
|
|
@@ -5071,12 +5069,12 @@ const Ff = /* @__PURE__ */ S(da, [["render", ga]]), ya = {
|
|
|
5071
5069
|
};
|
|
5072
5070
|
function _a(e, s, t, n, i, o) {
|
|
5073
5071
|
return l(), d("li", {
|
|
5074
|
-
class:
|
|
5072
|
+
class: m(["slideshow__slide", { "is-active": t.active }])
|
|
5075
5073
|
}, [
|
|
5076
5074
|
g(e.$slots, "default")
|
|
5077
5075
|
], 2);
|
|
5078
5076
|
}
|
|
5079
|
-
const
|
|
5077
|
+
const Vf = /* @__PURE__ */ S(ya, [["render", _a]]), pa = {
|
|
5080
5078
|
name: "UluTableStickyRows",
|
|
5081
5079
|
props: {
|
|
5082
5080
|
rows: Array,
|
|
@@ -5095,38 +5093,38 @@ const Lf = /* @__PURE__ */ S(ya, [["render", _a]]), pa = {
|
|
|
5095
5093
|
}
|
|
5096
5094
|
}, va = ["id"], ba = ["innerHTML"];
|
|
5097
5095
|
function wa(e, s, t, n, i, o) {
|
|
5098
|
-
return l(!0), d(
|
|
5096
|
+
return l(!0), d(A, null, $(t.rows, (r, a) => (l(), d("tr", {
|
|
5099
5097
|
key: `br-${a}`,
|
|
5100
5098
|
id: t.optionalAttr(t.isActual && r.id),
|
|
5101
|
-
class:
|
|
5102
|
-
style:
|
|
5099
|
+
class: m(t.resolveClasses(t.classes.row, { row: r.data, rowIndex: a, isActual: t.isActual, foot: t.foot })),
|
|
5100
|
+
style: B({
|
|
5103
5101
|
height: r.height
|
|
5104
5102
|
})
|
|
5105
5103
|
}, [
|
|
5106
|
-
(l(!0), d(
|
|
5107
|
-
id: t.optionalAttr(t.isActual &&
|
|
5108
|
-
scope: t.optionalAttr(t.isActual &&
|
|
5109
|
-
key: `bc-${
|
|
5110
|
-
headers: t.optionalAttr(t.isActual && t.getCellHeaders(
|
|
5111
|
-
class:
|
|
5112
|
-
style:
|
|
5104
|
+
(l(!0), d(A, null, $(t.rowColumns, (u, c) => (l(), _(M(u.rowHeader ? "th" : "td"), {
|
|
5105
|
+
id: t.optionalAttr(t.isActual && u.rowHeader && u.getRowHeaderId(a)),
|
|
5106
|
+
scope: t.optionalAttr(t.isActual && u.rowHeader && "row"),
|
|
5107
|
+
key: `bc-${c}`,
|
|
5108
|
+
headers: t.optionalAttr(t.isActual && t.getCellHeaders(u, a)),
|
|
5109
|
+
class: m(t.resolveClasses(u.class, { column: u, index: c, isActual: t.isActual, row: r, rowIndex: a, foot: t.foot })),
|
|
5110
|
+
style: B({
|
|
5113
5111
|
width: t.columnWidth
|
|
5114
5112
|
})
|
|
5115
5113
|
}, {
|
|
5116
5114
|
default: v(() => [
|
|
5117
|
-
e.$slots[
|
|
5115
|
+
e.$slots[u.slot] ? g(e.$slots, u.slot, {
|
|
5118
5116
|
key: 0,
|
|
5119
5117
|
row: r.data,
|
|
5120
|
-
column:
|
|
5118
|
+
column: u,
|
|
5121
5119
|
rowIndex: a,
|
|
5122
|
-
index:
|
|
5120
|
+
index: c,
|
|
5123
5121
|
foot: t.foot,
|
|
5124
5122
|
isActual: t.isActual
|
|
5125
|
-
}) :
|
|
5123
|
+
}) : u.html ? (l(), d("div", {
|
|
5126
5124
|
key: 1,
|
|
5127
|
-
innerHTML: t.value({ row: r, column:
|
|
5128
|
-
}, null, 8, ba)) : (l(), d(
|
|
5129
|
-
k(p(t.value({ row: r, column:
|
|
5125
|
+
innerHTML: t.value({ row: r, column: u, rowIndex: a, isActual: t.isActual, foot: t.foot })
|
|
5126
|
+
}, null, 8, ba)) : (l(), d(A, { key: 2 }, [
|
|
5127
|
+
k(p(t.value({ row: r, column: u, rowIndex: a, isActual: t.isActual, foot: t.foot })), 1)
|
|
5130
5128
|
], 64))
|
|
5131
5129
|
]),
|
|
5132
5130
|
_: 2
|
|
@@ -5219,95 +5217,95 @@ const Sa = /* @__PURE__ */ S(pa, [["render", wa]]), ka = {
|
|
|
5219
5217
|
}, Ca = ["aria-hidden"], Ta = {
|
|
5220
5218
|
key: 0,
|
|
5221
5219
|
class: "table-sticky__caption"
|
|
5222
|
-
},
|
|
5220
|
+
}, $a = ["id"], Aa = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], Oa = ["innerHTML"], Ra = {
|
|
5223
5221
|
class: "table-sticky__sort-icon",
|
|
5224
5222
|
"aria-hidden": "true"
|
|
5225
5223
|
}, xa = { class: "table-sticky__sort-icon-inner" }, Ua = ["innerHTML"], ja = { key: 1 }, za = { key: 2 };
|
|
5226
5224
|
function Ea(e, s, t, n, i, o) {
|
|
5227
5225
|
const r = E("UluTableStickyRows");
|
|
5228
5226
|
return l(), d("table", {
|
|
5229
|
-
class:
|
|
5227
|
+
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
5230
5228
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
5231
5229
|
}, [
|
|
5232
5230
|
t.caption ? (l(), d("caption", Ta, p(t.caption), 1)) : y("", !0),
|
|
5233
5231
|
f("thead", null, [
|
|
5234
|
-
(l(!0), d(
|
|
5235
|
-
key: `hr-${
|
|
5232
|
+
(l(!0), d(A, null, $(t.headerRows, (a, u) => (l(), d("tr", {
|
|
5233
|
+
key: `hr-${u}`,
|
|
5236
5234
|
id: o.optionalAttr(t.isActual && a.id),
|
|
5237
|
-
class:
|
|
5238
|
-
style:
|
|
5235
|
+
class: m(t.resolveClasses(t.classes.rowHeader, { row: a, rowIndex: u, isActual: t.isActual })),
|
|
5236
|
+
style: B({
|
|
5239
5237
|
height: a.height
|
|
5240
5238
|
})
|
|
5241
5239
|
}, [
|
|
5242
|
-
(l(!0), d(
|
|
5243
|
-
key: `hc-${
|
|
5244
|
-
id: o.optionalAttr(t.isActual &&
|
|
5245
|
-
rowspan:
|
|
5246
|
-
colspan:
|
|
5247
|
-
"data-child-columns":
|
|
5248
|
-
class:
|
|
5240
|
+
(l(!0), d(A, null, $(a.columns, (c, h) => (l(), d("th", {
|
|
5241
|
+
key: `hc-${h}`,
|
|
5242
|
+
id: o.optionalAttr(t.isActual && c.id),
|
|
5243
|
+
rowspan: c.rowspan,
|
|
5244
|
+
colspan: c.colspan,
|
|
5245
|
+
"data-child-columns": c.columns && c.columns.length,
|
|
5246
|
+
class: m([
|
|
5249
5247
|
{
|
|
5250
|
-
"sort-active":
|
|
5251
|
-
"sort-ascending":
|
|
5252
|
-
"sort-descending":
|
|
5248
|
+
"sort-active": c.sortApplied,
|
|
5249
|
+
"sort-ascending": c.sortApplied && c.sortAscending,
|
|
5250
|
+
"sort-descending": c.sortApplied && !c.sortAscending
|
|
5253
5251
|
},
|
|
5254
|
-
t.resolveClasses(
|
|
5252
|
+
t.resolveClasses(c.classHeader, { column: c, index: h, isActual: t.isActual })
|
|
5255
5253
|
]),
|
|
5256
|
-
style:
|
|
5257
|
-
width:
|
|
5254
|
+
style: B({
|
|
5255
|
+
width: c.width
|
|
5258
5256
|
}),
|
|
5259
|
-
"aria-sort":
|
|
5260
|
-
scope: o.optionalAttr(t.isActual && (
|
|
5261
|
-
headers: o.optionalAttr(t.isActual && o.getHeaderHeaders(
|
|
5257
|
+
"aria-sort": c.sort ? c.sortAscending ? "ascending" : "descending" : null,
|
|
5258
|
+
scope: o.optionalAttr(t.isActual && (c.colspan > 1 ? "colgroup" : "col")),
|
|
5259
|
+
headers: o.optionalAttr(t.isActual && o.getHeaderHeaders(c, u)),
|
|
5262
5260
|
ref_for: !0,
|
|
5263
|
-
ref: (b) => o.addHeaderRef(
|
|
5261
|
+
ref: (b) => o.addHeaderRef(c, b)
|
|
5264
5262
|
}, [
|
|
5265
|
-
|
|
5263
|
+
c.sortable ? (l(), _(M(t.isActual ? "button" : "div"), {
|
|
5266
5264
|
key: 0,
|
|
5267
|
-
class:
|
|
5268
|
-
"table-sticky__sort-button--focused":
|
|
5265
|
+
class: m(["table-sticky__sort-button", {
|
|
5266
|
+
"table-sticky__sort-button--focused": c.sortFocused
|
|
5269
5267
|
}]),
|
|
5270
|
-
onClick: (b) => e.$emit("column-sorted",
|
|
5271
|
-
onFocus: (b) => o.handleSortFocus(
|
|
5272
|
-
onBlur: (b) => o.handleSortFocus(
|
|
5273
|
-
"aria-pressed":
|
|
5268
|
+
onClick: (b) => e.$emit("column-sorted", c),
|
|
5269
|
+
onFocus: (b) => o.handleSortFocus(c, !0),
|
|
5270
|
+
onBlur: (b) => o.handleSortFocus(c, !1),
|
|
5271
|
+
"aria-pressed": c.sortApplied ? "true" : "false"
|
|
5274
5272
|
}, {
|
|
5275
5273
|
default: v(() => [
|
|
5276
|
-
e.$slots[
|
|
5274
|
+
e.$slots[c.slotHeader] ? g(e.$slots, c.slotHeader, {
|
|
5277
5275
|
key: 0,
|
|
5278
5276
|
isActual: t.isActual,
|
|
5279
|
-
column:
|
|
5280
|
-
index:
|
|
5281
|
-
}) :
|
|
5277
|
+
column: c,
|
|
5278
|
+
index: h
|
|
5279
|
+
}) : c.htmlTitle ? (l(), d("div", {
|
|
5282
5280
|
key: 1,
|
|
5283
|
-
innerHTML: t.getColumnTitle({ column:
|
|
5284
|
-
}, null, 8, Oa)) : (l(), d(
|
|
5285
|
-
k(p(t.getColumnTitle({ column:
|
|
5281
|
+
innerHTML: t.getColumnTitle({ column: c, index: h, isActual: t.isActual })
|
|
5282
|
+
}, null, 8, Oa)) : (l(), d(A, { key: 2 }, [
|
|
5283
|
+
k(p(t.getColumnTitle({ column: c, index: h, isActual: t.isActual })), 1)
|
|
5286
5284
|
], 64)),
|
|
5287
5285
|
f("span", Ra, [
|
|
5288
5286
|
f("span", xa, [
|
|
5289
5287
|
g(e.$slots, "sortIcon", {}, () => [
|
|
5290
|
-
s[0] || (s[0] = k("▼"))
|
|
5288
|
+
s[0] || (s[0] = k("▼", -1))
|
|
5291
5289
|
])
|
|
5292
5290
|
])
|
|
5293
5291
|
])
|
|
5294
5292
|
]),
|
|
5295
5293
|
_: 2
|
|
5296
|
-
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (l(), d(
|
|
5297
|
-
e.$slots[
|
|
5294
|
+
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (l(), d(A, { key: 1 }, [
|
|
5295
|
+
e.$slots[c.slotHeader] ? g(e.$slots, c.slotHeader, {
|
|
5298
5296
|
key: 0,
|
|
5299
5297
|
isActual: t.isActual,
|
|
5300
|
-
column:
|
|
5301
|
-
index:
|
|
5302
|
-
}) :
|
|
5298
|
+
column: c,
|
|
5299
|
+
index: h
|
|
5300
|
+
}) : c.htmlTitle ? (l(), d("div", {
|
|
5303
5301
|
key: 1,
|
|
5304
|
-
innerHTML: t.getColumnTitle({ column:
|
|
5305
|
-
}, null, 8, Ua)) : (l(), d(
|
|
5306
|
-
k(p(t.getColumnTitle({ column:
|
|
5302
|
+
innerHTML: t.getColumnTitle({ column: c, index: h, isActual: t.isActual })
|
|
5303
|
+
}, null, 8, Ua)) : (l(), d(A, { key: 2 }, [
|
|
5304
|
+
k(p(t.getColumnTitle({ column: c, index: h, isActual: t.isActual })), 1)
|
|
5307
5305
|
], 64))
|
|
5308
5306
|
], 64))
|
|
5309
|
-
], 14,
|
|
5310
|
-
], 14,
|
|
5307
|
+
], 14, Aa))), 128))
|
|
5308
|
+
], 14, $a))), 128))
|
|
5311
5309
|
]),
|
|
5312
5310
|
t.rows ? (l(), d("tbody", ja, [
|
|
5313
5311
|
R(r, {
|
|
@@ -5321,10 +5319,10 @@ function Ea(e, s, t, n, i, o) {
|
|
|
5321
5319
|
classes: t.classes,
|
|
5322
5320
|
value: o.value
|
|
5323
5321
|
}, ue({ _: 2 }, [
|
|
5324
|
-
|
|
5325
|
-
name:
|
|
5326
|
-
fn: v((
|
|
5327
|
-
g(e.$slots,
|
|
5322
|
+
$(e.$slots, (a, u) => ({
|
|
5323
|
+
name: u,
|
|
5324
|
+
fn: v((c) => [
|
|
5325
|
+
g(e.$slots, u, X(q(c)))
|
|
5328
5326
|
])
|
|
5329
5327
|
}))
|
|
5330
5328
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
@@ -5342,10 +5340,10 @@ function Ea(e, s, t, n, i, o) {
|
|
|
5342
5340
|
value: o.value,
|
|
5343
5341
|
foot: ""
|
|
5344
5342
|
}, ue({ _: 2 }, [
|
|
5345
|
-
|
|
5346
|
-
name:
|
|
5347
|
-
fn: v((
|
|
5348
|
-
g(e.$slots,
|
|
5343
|
+
$(e.$slots, (a, u) => ({
|
|
5344
|
+
name: u,
|
|
5345
|
+
fn: v((c) => [
|
|
5346
|
+
g(e.$slots, u, X(q(c)))
|
|
5349
5347
|
])
|
|
5350
5348
|
}))
|
|
5351
5349
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
@@ -5365,13 +5363,13 @@ function Le(e, s) {
|
|
|
5365
5363
|
return t;
|
|
5366
5364
|
return -1;
|
|
5367
5365
|
}
|
|
5368
|
-
var
|
|
5366
|
+
var Pa = Array.prototype, Ba = Pa.splice;
|
|
5369
5367
|
function Fa(e) {
|
|
5370
5368
|
var s = this.__data__, t = Le(s, e);
|
|
5371
5369
|
if (t < 0)
|
|
5372
5370
|
return !1;
|
|
5373
5371
|
var n = s.length - 1;
|
|
5374
|
-
return t == n ? s.pop() :
|
|
5372
|
+
return t == n ? s.pop() : Ba.call(s, t, 1), --this.size, !0;
|
|
5375
5373
|
}
|
|
5376
5374
|
function La(e) {
|
|
5377
5375
|
var s = this.__data__, t = Le(s, e);
|
|
@@ -5424,9 +5422,9 @@ var Za = Object.prototype, Ja = Za.toString;
|
|
|
5424
5422
|
function Qa(e) {
|
|
5425
5423
|
return Ja.call(e);
|
|
5426
5424
|
}
|
|
5427
|
-
var el = "[object Null]", tl = "[object Undefined]",
|
|
5428
|
-
function
|
|
5429
|
-
return e == null ? e === void 0 ? tl : el :
|
|
5425
|
+
var el = "[object Null]", tl = "[object Undefined]", Ut = fe ? fe.toStringTag : void 0;
|
|
5426
|
+
function Ae(e) {
|
|
5427
|
+
return e == null ? e === void 0 ? tl : el : Ut && Ut in Object(e) ? Ga(e) : Qa(e);
|
|
5430
5428
|
}
|
|
5431
5429
|
function He(e) {
|
|
5432
5430
|
var s = typeof e;
|
|
@@ -5436,15 +5434,15 @@ var sl = "[object AsyncFunction]", nl = "[object Function]", ol = "[object Gener
|
|
|
5436
5434
|
function Cs(e) {
|
|
5437
5435
|
if (!He(e))
|
|
5438
5436
|
return !1;
|
|
5439
|
-
var s =
|
|
5437
|
+
var s = Ae(e);
|
|
5440
5438
|
return s == nl || s == ol || s == sl || s == il;
|
|
5441
5439
|
}
|
|
5442
|
-
var qe = Y["__core-js_shared__"],
|
|
5440
|
+
var qe = Y["__core-js_shared__"], jt = function() {
|
|
5443
5441
|
var e = /[^.]+$/.exec(qe && qe.keys && qe.keys.IE_PROTO || "");
|
|
5444
5442
|
return e ? "Symbol(src)_1." + e : "";
|
|
5445
5443
|
}();
|
|
5446
5444
|
function rl(e) {
|
|
5447
|
-
return !!
|
|
5445
|
+
return !!jt && jt in e;
|
|
5448
5446
|
}
|
|
5449
5447
|
var al = Function.prototype, ll = al.toString;
|
|
5450
5448
|
function re(e) {
|
|
@@ -5476,9 +5474,9 @@ function ae(e, s) {
|
|
|
5476
5474
|
var t = _l(e, s);
|
|
5477
5475
|
return yl(t) ? t : void 0;
|
|
5478
5476
|
}
|
|
5479
|
-
var Te = ae(Y, "Map"),
|
|
5477
|
+
var Te = ae(Y, "Map"), $e = ae(Object, "create");
|
|
5480
5478
|
function pl() {
|
|
5481
|
-
this.__data__ =
|
|
5479
|
+
this.__data__ = $e ? $e(null) : {}, this.size = 0;
|
|
5482
5480
|
}
|
|
5483
5481
|
function vl(e) {
|
|
5484
5482
|
var s = this.has(e) && delete this.__data__[e];
|
|
@@ -5487,21 +5485,21 @@ function vl(e) {
|
|
|
5487
5485
|
var bl = "__lodash_hash_undefined__", wl = Object.prototype, Sl = wl.hasOwnProperty;
|
|
5488
5486
|
function kl(e) {
|
|
5489
5487
|
var s = this.__data__;
|
|
5490
|
-
if (
|
|
5488
|
+
if ($e) {
|
|
5491
5489
|
var t = s[e];
|
|
5492
5490
|
return t === bl ? void 0 : t;
|
|
5493
5491
|
}
|
|
5494
5492
|
return Sl.call(s, e) ? s[e] : void 0;
|
|
5495
5493
|
}
|
|
5496
5494
|
var Cl = Object.prototype, Tl = Cl.hasOwnProperty;
|
|
5497
|
-
function
|
|
5495
|
+
function $l(e) {
|
|
5498
5496
|
var s = this.__data__;
|
|
5499
|
-
return
|
|
5497
|
+
return $e ? s[e] !== void 0 : Tl.call(s, e);
|
|
5500
5498
|
}
|
|
5501
|
-
var
|
|
5499
|
+
var Al = "__lodash_hash_undefined__";
|
|
5502
5500
|
function Ol(e, s) {
|
|
5503
5501
|
var t = this.__data__;
|
|
5504
|
-
return this.size += this.has(e) ? 0 : 1, t[e] =
|
|
5502
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = $e && s === void 0 ? Al : s, this;
|
|
5505
5503
|
}
|
|
5506
5504
|
function ie(e) {
|
|
5507
5505
|
var s = -1, t = e == null ? 0 : e.length;
|
|
@@ -5513,7 +5511,7 @@ function ie(e) {
|
|
|
5513
5511
|
ie.prototype.clear = pl;
|
|
5514
5512
|
ie.prototype.delete = vl;
|
|
5515
5513
|
ie.prototype.get = kl;
|
|
5516
|
-
ie.prototype.has =
|
|
5514
|
+
ie.prototype.has = $l;
|
|
5517
5515
|
ie.prototype.set = Ol;
|
|
5518
5516
|
function Rl() {
|
|
5519
5517
|
this.size = 0, this.__data__ = {
|
|
@@ -5576,20 +5574,20 @@ ye.prototype.delete = Na;
|
|
|
5576
5574
|
ye.prototype.get = Wa;
|
|
5577
5575
|
ye.prototype.has = Xa;
|
|
5578
5576
|
ye.prototype.set = Ml;
|
|
5579
|
-
function
|
|
5577
|
+
function Pl(e, s) {
|
|
5580
5578
|
for (var t = -1, n = e == null ? 0 : e.length; ++t < n && s(e[t], t, e) !== !1; )
|
|
5581
5579
|
;
|
|
5582
5580
|
return e;
|
|
5583
5581
|
}
|
|
5584
|
-
var
|
|
5582
|
+
var zt = function() {
|
|
5585
5583
|
try {
|
|
5586
5584
|
var e = ae(Object, "defineProperty");
|
|
5587
5585
|
return e({}, "", {}), e;
|
|
5588
5586
|
} catch {
|
|
5589
5587
|
}
|
|
5590
5588
|
}();
|
|
5591
|
-
function
|
|
5592
|
-
s == "__proto__" &&
|
|
5589
|
+
function Bl(e, s, t) {
|
|
5590
|
+
s == "__proto__" && zt ? zt(e, s, {
|
|
5593
5591
|
configurable: !0,
|
|
5594
5592
|
enumerable: !0,
|
|
5595
5593
|
value: t,
|
|
@@ -5599,7 +5597,7 @@ function Pl(e, s, t) {
|
|
|
5599
5597
|
var Fl = Object.prototype, Ll = Fl.hasOwnProperty;
|
|
5600
5598
|
function Hl(e, s, t) {
|
|
5601
5599
|
var n = e[s];
|
|
5602
|
-
(!(Ll.call(e, s) && ws(n, t)) || t === void 0 && !(s in e)) &&
|
|
5600
|
+
(!(Ll.call(e, s) && ws(n, t)) || t === void 0 && !(s in e)) && Bl(e, s, t);
|
|
5603
5601
|
}
|
|
5604
5602
|
function Dl(e, s) {
|
|
5605
5603
|
for (var t = -1, n = Array(e); ++t < e; )
|
|
@@ -5610,18 +5608,18 @@ function Oe(e) {
|
|
|
5610
5608
|
return e != null && typeof e == "object";
|
|
5611
5609
|
}
|
|
5612
5610
|
var Vl = "[object Arguments]";
|
|
5613
|
-
function
|
|
5614
|
-
return Oe(e) &&
|
|
5611
|
+
function Et(e) {
|
|
5612
|
+
return Oe(e) && Ae(e) == Vl;
|
|
5615
5613
|
}
|
|
5616
|
-
var Ts = Object.prototype, Nl = Ts.hasOwnProperty, Wl = Ts.propertyIsEnumerable, Xl =
|
|
5614
|
+
var Ts = Object.prototype, Nl = Ts.hasOwnProperty, Wl = Ts.propertyIsEnumerable, Xl = Et(/* @__PURE__ */ function() {
|
|
5617
5615
|
return arguments;
|
|
5618
|
-
}()) ?
|
|
5616
|
+
}()) ? Et : function(e) {
|
|
5619
5617
|
return Oe(e) && Nl.call(e, "callee") && !Wl.call(e, "callee");
|
|
5620
|
-
},
|
|
5618
|
+
}, dt = Array.isArray;
|
|
5621
5619
|
function ql() {
|
|
5622
5620
|
return !1;
|
|
5623
5621
|
}
|
|
5624
|
-
var
|
|
5622
|
+
var $s = typeof exports == "object" && exports && !exports.nodeType && exports, It = $s && typeof module == "object" && module && !module.nodeType && module, Yl = It && It.exports === $s, Mt = Yl ? Y.Buffer : void 0, Kl = Mt ? Mt.isBuffer : void 0, As = Kl || ql, Gl = 9007199254740991, Zl = /^(?:0|[1-9]\d*)$/;
|
|
5625
5623
|
function Jl(e, s) {
|
|
5626
5624
|
var t = typeof e;
|
|
5627
5625
|
return s = s ?? Gl, !!s && (t == "number" || t != "symbol" && Zl.test(e)) && e > -1 && e % 1 == 0 && e < s;
|
|
@@ -5634,9 +5632,9 @@ var ec = "[object Arguments]", tc = "[object Array]", sc = "[object Boolean]", n
|
|
|
5634
5632
|
z[gc] = z[yc] = z[_c] = z[pc] = z[vc] = z[bc] = z[wc] = z[Sc] = z[kc] = !0;
|
|
5635
5633
|
z[ec] = z[tc] = z[hc] = z[sc] = z[mc] = z[nc] = z[oc] = z[ic] = z[rc] = z[ac] = z[lc] = z[cc] = z[uc] = z[dc] = z[fc] = !1;
|
|
5636
5634
|
function Cc(e) {
|
|
5637
|
-
return Oe(e) && Os(e.length) && !!z[
|
|
5635
|
+
return Oe(e) && Os(e.length) && !!z[Ae(e)];
|
|
5638
5636
|
}
|
|
5639
|
-
function
|
|
5637
|
+
function ft(e) {
|
|
5640
5638
|
return function(s) {
|
|
5641
5639
|
return e(s);
|
|
5642
5640
|
};
|
|
@@ -5647,15 +5645,15 @@ var Rs = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
5647
5645
|
return e || Ye && Ye.binding && Ye.binding("util");
|
|
5648
5646
|
} catch {
|
|
5649
5647
|
}
|
|
5650
|
-
}(),
|
|
5648
|
+
}(), Pt = he && he.isTypedArray, $c = Pt ? ft(Pt) : Cc, Ac = Object.prototype, Oc = Ac.hasOwnProperty;
|
|
5651
5649
|
function Rc(e, s) {
|
|
5652
|
-
var t =
|
|
5653
|
-
for (var
|
|
5654
|
-
Oc.call(e,
|
|
5655
|
-
(
|
|
5656
|
-
i && (
|
|
5657
|
-
o && (
|
|
5658
|
-
Jl(
|
|
5650
|
+
var t = dt(e), n = !t && Xl(e), i = !t && !n && As(e), o = !t && !n && !i && $c(e), r = t || n || i || o, a = r ? Dl(e.length, String) : [], u = a.length;
|
|
5651
|
+
for (var c in e)
|
|
5652
|
+
Oc.call(e, c) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
5653
|
+
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
5654
|
+
i && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
5655
|
+
o && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
|
|
5656
|
+
Jl(c, u))) && a.push(c);
|
|
5659
5657
|
return a;
|
|
5660
5658
|
}
|
|
5661
5659
|
var xc = Object.prototype;
|
|
@@ -5683,9 +5681,9 @@ function Ic(e) {
|
|
|
5683
5681
|
function Mc(e) {
|
|
5684
5682
|
return Ic(e) ? Rc(e) : Ec(e);
|
|
5685
5683
|
}
|
|
5686
|
-
var js = typeof exports == "object" && exports && !exports.nodeType && exports, Bt = js && typeof module == "object" && module && !module.nodeType && module,
|
|
5687
|
-
|
|
5688
|
-
function
|
|
5684
|
+
var js = typeof exports == "object" && exports && !exports.nodeType && exports, Bt = js && typeof module == "object" && module && !module.nodeType && module, Pc = Bt && Bt.exports === js, Ft = Pc ? Y.Buffer : void 0;
|
|
5685
|
+
Ft && Ft.allocUnsafe;
|
|
5686
|
+
function Bc(e, s) {
|
|
5689
5687
|
return e.slice();
|
|
5690
5688
|
}
|
|
5691
5689
|
function Fc(e, s) {
|
|
@@ -5698,8 +5696,8 @@ function Fc(e, s) {
|
|
|
5698
5696
|
function Lc() {
|
|
5699
5697
|
return [];
|
|
5700
5698
|
}
|
|
5701
|
-
var Hc = Object.prototype, Dc = Hc.propertyIsEnumerable,
|
|
5702
|
-
return e == null ? [] : (e = Object(e), Fc(
|
|
5699
|
+
var Hc = Object.prototype, Dc = Hc.propertyIsEnumerable, Lt = Object.getOwnPropertySymbols, Vc = Lt ? function(e) {
|
|
5700
|
+
return e == null ? [] : (e = Object(e), Fc(Lt(e), function(s) {
|
|
5703
5701
|
return Dc.call(e, s);
|
|
5704
5702
|
}));
|
|
5705
5703
|
} : Lc;
|
|
@@ -5711,26 +5709,26 @@ function Nc(e, s) {
|
|
|
5711
5709
|
var Wc = Us(Object.getPrototypeOf, Object);
|
|
5712
5710
|
function Xc(e, s, t) {
|
|
5713
5711
|
var n = s(e);
|
|
5714
|
-
return
|
|
5712
|
+
return dt(e) ? n : Nc(n, t(e));
|
|
5715
5713
|
}
|
|
5716
5714
|
function qc(e) {
|
|
5717
5715
|
return Xc(e, Mc, Vc);
|
|
5718
5716
|
}
|
|
5719
|
-
var Qe = ae(Y, "DataView"), et = ae(Y, "Promise"), tt = ae(Y, "Set"), st = ae(Y, "WeakMap"),
|
|
5720
|
-
(Qe && K(new Qe(new ArrayBuffer(1))) !=
|
|
5721
|
-
var s =
|
|
5717
|
+
var Qe = ae(Y, "DataView"), et = ae(Y, "Promise"), tt = ae(Y, "Set"), st = ae(Y, "WeakMap"), Ht = "[object Map]", Yc = "[object Object]", Dt = "[object Promise]", Vt = "[object Set]", Nt = "[object WeakMap]", Wt = "[object DataView]", Kc = re(Qe), Gc = re(Te), Zc = re(et), Jc = re(tt), Qc = re(st), K = Ae;
|
|
5718
|
+
(Qe && K(new Qe(new ArrayBuffer(1))) != Wt || Te && K(new Te()) != Ht || et && K(et.resolve()) != Dt || tt && K(new tt()) != Vt || st && K(new st()) != Nt) && (K = function(e) {
|
|
5719
|
+
var s = Ae(e), t = s == Yc ? e.constructor : void 0, n = t ? re(t) : "";
|
|
5722
5720
|
if (n)
|
|
5723
5721
|
switch (n) {
|
|
5724
5722
|
case Kc:
|
|
5725
|
-
return
|
|
5723
|
+
return Wt;
|
|
5726
5724
|
case Gc:
|
|
5727
|
-
return Lt;
|
|
5728
|
-
case Zc:
|
|
5729
5725
|
return Ht;
|
|
5730
|
-
case
|
|
5726
|
+
case Zc:
|
|
5731
5727
|
return Dt;
|
|
5732
|
-
case
|
|
5728
|
+
case Jc:
|
|
5733
5729
|
return Vt;
|
|
5730
|
+
case Qc:
|
|
5731
|
+
return Nt;
|
|
5734
5732
|
}
|
|
5735
5733
|
return s;
|
|
5736
5734
|
});
|
|
@@ -5739,13 +5737,13 @@ function su(e) {
|
|
|
5739
5737
|
var s = e.length, t = new e.constructor(s);
|
|
5740
5738
|
return s && typeof e[0] == "string" && tu.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
5741
5739
|
}
|
|
5742
|
-
var
|
|
5743
|
-
function
|
|
5740
|
+
var Xt = Y.Uint8Array;
|
|
5741
|
+
function ht(e) {
|
|
5744
5742
|
var s = new e.constructor(e.byteLength);
|
|
5745
|
-
return new
|
|
5743
|
+
return new Xt(s).set(new Xt(e)), s;
|
|
5746
5744
|
}
|
|
5747
5745
|
function nu(e, s) {
|
|
5748
|
-
var t =
|
|
5746
|
+
var t = ht(e.buffer);
|
|
5749
5747
|
return new e.constructor(t, e.byteOffset, e.byteLength);
|
|
5750
5748
|
}
|
|
5751
5749
|
var ou = /\w*$/;
|
|
@@ -5753,20 +5751,20 @@ function iu(e) {
|
|
|
5753
5751
|
var s = new e.constructor(e.source, ou.exec(e));
|
|
5754
5752
|
return s.lastIndex = e.lastIndex, s;
|
|
5755
5753
|
}
|
|
5756
|
-
var
|
|
5754
|
+
var qt = fe ? fe.prototype : void 0, Yt = qt ? qt.valueOf : void 0;
|
|
5757
5755
|
function ru(e) {
|
|
5758
|
-
return
|
|
5756
|
+
return Yt ? Object(Yt.call(e)) : {};
|
|
5759
5757
|
}
|
|
5760
5758
|
function au(e, s) {
|
|
5761
|
-
var t =
|
|
5759
|
+
var t = ht(e.buffer);
|
|
5762
5760
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
5763
5761
|
}
|
|
5764
|
-
var lu = "[object Boolean]", cu = "[object Date]", uu = "[object Map]", du = "[object Number]", fu = "[object RegExp]", hu = "[object Set]", mu = "[object String]", gu = "[object Symbol]", yu = "[object ArrayBuffer]", _u = "[object DataView]", pu = "[object Float32Array]", vu = "[object Float64Array]", bu = "[object Int8Array]", wu = "[object Int16Array]", Su = "[object Int32Array]", ku = "[object Uint8Array]", Cu = "[object Uint8ClampedArray]", Tu = "[object Uint16Array]",
|
|
5765
|
-
function
|
|
5762
|
+
var lu = "[object Boolean]", cu = "[object Date]", uu = "[object Map]", du = "[object Number]", fu = "[object RegExp]", hu = "[object Set]", mu = "[object String]", gu = "[object Symbol]", yu = "[object ArrayBuffer]", _u = "[object DataView]", pu = "[object Float32Array]", vu = "[object Float64Array]", bu = "[object Int8Array]", wu = "[object Int16Array]", Su = "[object Int32Array]", ku = "[object Uint8Array]", Cu = "[object Uint8ClampedArray]", Tu = "[object Uint16Array]", $u = "[object Uint32Array]";
|
|
5763
|
+
function Au(e, s, t) {
|
|
5766
5764
|
var n = e.constructor;
|
|
5767
5765
|
switch (s) {
|
|
5768
5766
|
case yu:
|
|
5769
|
-
return
|
|
5767
|
+
return ht(e);
|
|
5770
5768
|
case lu:
|
|
5771
5769
|
case cu:
|
|
5772
5770
|
return new n(+e);
|
|
@@ -5780,7 +5778,7 @@ function $u(e, s, t) {
|
|
|
5780
5778
|
case ku:
|
|
5781
5779
|
case Cu:
|
|
5782
5780
|
case Tu:
|
|
5783
|
-
case
|
|
5781
|
+
case $u:
|
|
5784
5782
|
return au(e);
|
|
5785
5783
|
case uu:
|
|
5786
5784
|
return new n();
|
|
@@ -5795,14 +5793,14 @@ function $u(e, s, t) {
|
|
|
5795
5793
|
return ru(e);
|
|
5796
5794
|
}
|
|
5797
5795
|
}
|
|
5798
|
-
var
|
|
5796
|
+
var Kt = Object.create, Ou = /* @__PURE__ */ function() {
|
|
5799
5797
|
function e() {
|
|
5800
5798
|
}
|
|
5801
5799
|
return function(s) {
|
|
5802
5800
|
if (!He(s))
|
|
5803
5801
|
return {};
|
|
5804
|
-
if (
|
|
5805
|
-
return
|
|
5802
|
+
if (Kt)
|
|
5803
|
+
return Kt(s);
|
|
5806
5804
|
e.prototype = s;
|
|
5807
5805
|
var t = new e();
|
|
5808
5806
|
return e.prototype = void 0, t;
|
|
@@ -5815,12 +5813,12 @@ var xu = "[object Map]";
|
|
|
5815
5813
|
function Uu(e) {
|
|
5816
5814
|
return Oe(e) && K(e) == xu;
|
|
5817
5815
|
}
|
|
5818
|
-
var
|
|
5816
|
+
var Gt = he && he.isMap, ju = Gt ? ft(Gt) : Uu, zu = "[object Set]";
|
|
5819
5817
|
function Eu(e) {
|
|
5820
5818
|
return Oe(e) && K(e) == zu;
|
|
5821
5819
|
}
|
|
5822
|
-
var
|
|
5823
|
-
x[zs] = x[Mu] = x[Yu] = x[Ku] = x[
|
|
5820
|
+
var Zt = he && he.isSet, Iu = Zt ? ft(Zt) : Eu, zs = "[object Arguments]", Mu = "[object Array]", Pu = "[object Boolean]", Bu = "[object Date]", Fu = "[object Error]", Es = "[object Function]", Lu = "[object GeneratorFunction]", Hu = "[object Map]", Du = "[object Number]", Is = "[object Object]", Vu = "[object RegExp]", Nu = "[object Set]", Wu = "[object String]", Xu = "[object Symbol]", qu = "[object WeakMap]", Yu = "[object ArrayBuffer]", Ku = "[object DataView]", Gu = "[object Float32Array]", Zu = "[object Float64Array]", Ju = "[object Int8Array]", Qu = "[object Int16Array]", ed = "[object Int32Array]", td = "[object Uint8Array]", sd = "[object Uint8ClampedArray]", nd = "[object Uint16Array]", od = "[object Uint32Array]", x = {};
|
|
5821
|
+
x[zs] = x[Mu] = x[Yu] = x[Ku] = x[Pu] = x[Bu] = x[Gu] = x[Zu] = x[Ju] = x[Qu] = x[ed] = x[Hu] = x[Du] = x[Is] = x[Vu] = x[Nu] = x[Wu] = x[Xu] = x[td] = x[sd] = x[nd] = x[od] = !0;
|
|
5824
5822
|
x[Fu] = x[Es] = x[qu] = !1;
|
|
5825
5823
|
function Ee(e, s, t, n, i, o) {
|
|
5826
5824
|
var r;
|
|
@@ -5828,32 +5826,32 @@ function Ee(e, s, t, n, i, o) {
|
|
|
5828
5826
|
return r;
|
|
5829
5827
|
if (!He(e))
|
|
5830
5828
|
return e;
|
|
5831
|
-
var a =
|
|
5829
|
+
var a = dt(e);
|
|
5832
5830
|
if (a)
|
|
5833
5831
|
r = su(e);
|
|
5834
5832
|
else {
|
|
5835
|
-
var
|
|
5836
|
-
if (
|
|
5837
|
-
return
|
|
5838
|
-
if (
|
|
5839
|
-
r =
|
|
5833
|
+
var u = K(e), c = u == Es || u == Lu;
|
|
5834
|
+
if (As(e))
|
|
5835
|
+
return Bc(e);
|
|
5836
|
+
if (u == Is || u == zs || c && !i)
|
|
5837
|
+
r = c ? {} : Ru(e);
|
|
5840
5838
|
else {
|
|
5841
|
-
if (!x[
|
|
5839
|
+
if (!x[u])
|
|
5842
5840
|
return i ? e : {};
|
|
5843
|
-
r =
|
|
5841
|
+
r = Au(e, u);
|
|
5844
5842
|
}
|
|
5845
5843
|
}
|
|
5846
5844
|
o || (o = new ye());
|
|
5847
|
-
var
|
|
5848
|
-
if (
|
|
5849
|
-
return
|
|
5845
|
+
var h = o.get(e);
|
|
5846
|
+
if (h)
|
|
5847
|
+
return h;
|
|
5850
5848
|
o.set(e, r), Iu(e) ? e.forEach(function(U) {
|
|
5851
5849
|
r.add(Ee(U, s, t, U, e, o));
|
|
5852
5850
|
}) : ju(e) && e.forEach(function(U, I) {
|
|
5853
5851
|
r.set(I, Ee(U, s, t, I, e, o));
|
|
5854
5852
|
});
|
|
5855
5853
|
var b = qc, C = a ? void 0 : b(e);
|
|
5856
|
-
return
|
|
5854
|
+
return Pl(C || e, function(U, I) {
|
|
5857
5855
|
C && (I = U, U = e[I]), Hl(r, I, Ee(U, s, t, I, e, o));
|
|
5858
5856
|
}), r;
|
|
5859
5857
|
}
|
|
@@ -5861,8 +5859,8 @@ var id = 1, rd = 4;
|
|
|
5861
5859
|
function ad(e) {
|
|
5862
5860
|
return Ee(e, id | rd);
|
|
5863
5861
|
}
|
|
5864
|
-
const Ke = (e) => e.every((s) => typeof s == "object"),
|
|
5865
|
-
let
|
|
5862
|
+
const Ke = (e) => e.every((s) => typeof s == "object"), Jt = !0, Ms = () => window.innerWidth;
|
|
5863
|
+
let Qt = Ms();
|
|
5866
5864
|
const ld = {
|
|
5867
5865
|
name: "UluTableSticky",
|
|
5868
5866
|
components: {
|
|
@@ -5897,7 +5895,7 @@ const ld = {
|
|
|
5897
5895
|
*/
|
|
5898
5896
|
caption: {
|
|
5899
5897
|
type: String,
|
|
5900
|
-
required:
|
|
5898
|
+
required: Jt
|
|
5901
5899
|
},
|
|
5902
5900
|
/**
|
|
5903
5901
|
* Array of column configurations to convert to list output
|
|
@@ -5919,7 +5917,7 @@ const ld = {
|
|
|
5919
5917
|
columns: {
|
|
5920
5918
|
type: Array,
|
|
5921
5919
|
validator: Ke,
|
|
5922
|
-
required:
|
|
5920
|
+
required: Jt
|
|
5923
5921
|
},
|
|
5924
5922
|
/**
|
|
5925
5923
|
* Whether the first column of the table should be sticky
|
|
@@ -5983,7 +5981,7 @@ const ld = {
|
|
|
5983
5981
|
headerRows: this.createHeaderRows(e),
|
|
5984
5982
|
sizesCalculated: !1,
|
|
5985
5983
|
tableWidth: "auto",
|
|
5986
|
-
resizeHandler:
|
|
5984
|
+
resizeHandler: Be(this.onResize.bind(this), 500, !0),
|
|
5987
5985
|
resizing: !1,
|
|
5988
5986
|
overflownX: !1,
|
|
5989
5987
|
canScrollLeft: !1,
|
|
@@ -6035,7 +6033,7 @@ const ld = {
|
|
|
6035
6033
|
let n = [];
|
|
6036
6034
|
return s.forEach((i, o) => {
|
|
6037
6035
|
const r = n.slice();
|
|
6038
|
-
i.getRowHeaders = (a) => r.map((
|
|
6036
|
+
i.getRowHeaders = (a) => r.map((u) => u(a)).join(" "), i.rowHeader && (i.getRowHeaderId = (a) => `${this.idPrefix}-rh-${a}-${o}`, n.push(i.getRowHeaderId));
|
|
6039
6037
|
}), s;
|
|
6040
6038
|
},
|
|
6041
6039
|
headerHeight() {
|
|
@@ -6144,8 +6142,8 @@ const ld = {
|
|
|
6144
6142
|
id: s()
|
|
6145
6143
|
}));
|
|
6146
6144
|
function o(r, a) {
|
|
6147
|
-
const
|
|
6148
|
-
|
|
6145
|
+
const u = a.columns;
|
|
6146
|
+
u && u.forEach((c) => o(1 + r, c)), a.rowspan = u ? 1 : t - r, a.colspan = u ? u.reduce((c, h) => c + h.colspan, 0) : 1, i[r].columns.push(a);
|
|
6149
6147
|
}
|
|
6150
6148
|
return e.forEach((r) => o(0, r)), i;
|
|
6151
6149
|
},
|
|
@@ -6164,7 +6162,7 @@ const ld = {
|
|
|
6164
6162
|
},
|
|
6165
6163
|
onResize() {
|
|
6166
6164
|
const e = Ms();
|
|
6167
|
-
|
|
6165
|
+
Qt !== e && (Qt = e, this.resizing ? (this.resizing = !1, this.setTableSizes(), this.checkOverflowX(), this.syncScrollLeft()) : (this.resizing = !0, this.removeTableSizes()));
|
|
6168
6166
|
},
|
|
6169
6167
|
/**
|
|
6170
6168
|
* Method to update the table (sizes, etc) when data has changed
|
|
@@ -6277,7 +6275,7 @@ const ld = {
|
|
|
6277
6275
|
function _d(e, s, t, n, i, o) {
|
|
6278
6276
|
const r = E("UluTableStickyTable");
|
|
6279
6277
|
return l(), d("div", {
|
|
6280
|
-
class:
|
|
6278
|
+
class: m(["table-sticky", {
|
|
6281
6279
|
"table-sticky--overflown-x": i.overflownX,
|
|
6282
6280
|
"table-sticky--can-scroll-right": i.canScrollRight,
|
|
6283
6281
|
"table-sticky--can-scroll-left": i.canScrollLeft
|
|
@@ -6294,17 +6292,17 @@ function _d(e, s, t, n, i, o) {
|
|
|
6294
6292
|
getColumnTitle: t.getColumnTitle,
|
|
6295
6293
|
idPrefix: t.idPrefix,
|
|
6296
6294
|
headerRows: i.headerRows,
|
|
6297
|
-
style:
|
|
6295
|
+
style: B({
|
|
6298
6296
|
opacity: i.sizesCalculated ? "1" : "0",
|
|
6299
6297
|
pointerEvents: i.sizesCalculated ? "auto" : "none",
|
|
6300
6298
|
width: i.tableWidth
|
|
6301
6299
|
}),
|
|
6302
6300
|
onColumnSorted: o.applySort
|
|
6303
6301
|
}, ue({ _: 2 }, [
|
|
6304
|
-
|
|
6305
|
-
name:
|
|
6306
|
-
fn: v((
|
|
6307
|
-
g(e.$slots,
|
|
6302
|
+
$(e.$slots, (a, u) => ({
|
|
6303
|
+
name: u,
|
|
6304
|
+
fn: v((c) => [
|
|
6305
|
+
g(e.$slots, u, X(q(c)))
|
|
6308
6306
|
])
|
|
6309
6307
|
}))
|
|
6310
6308
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
@@ -6321,23 +6319,23 @@ function _d(e, s, t, n, i, o) {
|
|
|
6321
6319
|
getColumnTitle: t.getColumnTitle,
|
|
6322
6320
|
idPrefix: t.idPrefix,
|
|
6323
6321
|
headerRows: o.headerRowsFirst,
|
|
6324
|
-
style:
|
|
6322
|
+
style: B({
|
|
6325
6323
|
opacity: o.headerOpacityX,
|
|
6326
6324
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6327
6325
|
}),
|
|
6328
6326
|
onColumnSorted: o.applySort
|
|
6329
6327
|
}, ue({ _: 2 }, [
|
|
6330
|
-
|
|
6331
|
-
name:
|
|
6332
|
-
fn: v((
|
|
6333
|
-
g(e.$slots,
|
|
6328
|
+
$(e.$slots, (a, u) => ({
|
|
6329
|
+
name: u,
|
|
6330
|
+
fn: v((c) => [
|
|
6331
|
+
g(e.$slots, u, X(q(c)))
|
|
6334
6332
|
])
|
|
6335
6333
|
}))
|
|
6336
6334
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : y("", !0)
|
|
6337
6335
|
]),
|
|
6338
6336
|
f("div", fd, [
|
|
6339
6337
|
me(f("div", {
|
|
6340
|
-
class:
|
|
6338
|
+
class: m(["table-sticky__controls", o.resolveClasses(t.classes.controls)]),
|
|
6341
6339
|
ref: "controls"
|
|
6342
6340
|
}, [
|
|
6343
6341
|
e.$slots.controls ? g(e.$slots, "controls", {
|
|
@@ -6354,23 +6352,23 @@ function _d(e, s, t, n, i, o) {
|
|
|
6354
6352
|
canScrollRight: i.canScrollRight
|
|
6355
6353
|
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (l(), d("div", hd, [
|
|
6356
6354
|
f("button", {
|
|
6357
|
-
class:
|
|
6355
|
+
class: m(["table-sticky__control table-sticky__control--left", o.resolveClasses(t.classes.controlButton)]),
|
|
6358
6356
|
"aria-label": "Scroll Left",
|
|
6359
6357
|
onClick: s[0] || (s[0] = (...a) => o.scrollLeft && o.scrollLeft(...a)),
|
|
6360
6358
|
disabled: !i.canScrollLeft
|
|
6361
6359
|
}, [
|
|
6362
6360
|
g(e.$slots, "controlLeft", {}, () => [
|
|
6363
|
-
s[2] || (s[2] = k(" ← "))
|
|
6361
|
+
s[2] || (s[2] = k(" ← ", -1))
|
|
6364
6362
|
])
|
|
6365
6363
|
], 10, md),
|
|
6366
6364
|
f("button", {
|
|
6367
|
-
class:
|
|
6365
|
+
class: m(["table-sticky__control table-sticky__control--right", o.resolveClasses(t.classes.controlButton)]),
|
|
6368
6366
|
"aria-label": "Scroll Right",
|
|
6369
6367
|
onClick: s[1] || (s[1] = (...a) => o.scrollRight && o.scrollRight(...a)),
|
|
6370
6368
|
disabled: !i.canScrollRight
|
|
6371
6369
|
}, [
|
|
6372
6370
|
g(e.$slots, "controlRight", {}, () => [
|
|
6373
|
-
s[3] || (s[3] = k(" → "))
|
|
6371
|
+
s[3] || (s[3] = k(" → ", -1))
|
|
6374
6372
|
])
|
|
6375
6373
|
], 10, gd)
|
|
6376
6374
|
]))
|
|
@@ -6398,10 +6396,10 @@ function _d(e, s, t, n, i, o) {
|
|
|
6398
6396
|
onActualHeaderAdded: o.headerAdded,
|
|
6399
6397
|
onColumnSorted: o.applySort
|
|
6400
6398
|
}, ue({ _: 2 }, [
|
|
6401
|
-
|
|
6402
|
-
name:
|
|
6403
|
-
fn: v((
|
|
6404
|
-
g(e.$slots,
|
|
6399
|
+
$(e.$slots, (a, u) => ({
|
|
6400
|
+
name: u,
|
|
6401
|
+
fn: v((c) => [
|
|
6402
|
+
g(e.$slots, u, X(q(c)))
|
|
6405
6403
|
])
|
|
6406
6404
|
}))
|
|
6407
6405
|
]), 1032, ["classes", "resolveClasses", "headerRows", "rows", "footerRows", "rowColumns", "caption", "idPrefix", "getRowValue", "getColumnTitle", "onVnodeMounted", "onActualHeaderRemoved", "onActualHeaderAdded", "onColumnSorted"])
|
|
@@ -6421,22 +6419,22 @@ function _d(e, s, t, n, i, o) {
|
|
|
6421
6419
|
idPrefix: t.idPrefix,
|
|
6422
6420
|
getRowValue: t.getRowValue,
|
|
6423
6421
|
getColumnTitle: t.getColumnTitle,
|
|
6424
|
-
style:
|
|
6422
|
+
style: B({
|
|
6425
6423
|
opacity: o.headerOpacityX,
|
|
6426
6424
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6427
6425
|
}),
|
|
6428
6426
|
onColumnSorted: o.applySort
|
|
6429
6427
|
}, ue({ _: 2 }, [
|
|
6430
|
-
|
|
6431
|
-
name:
|
|
6432
|
-
fn: v((
|
|
6433
|
-
g(e.$slots,
|
|
6428
|
+
$(e.$slots, (a, u) => ({
|
|
6429
|
+
name: u,
|
|
6430
|
+
fn: v((c) => [
|
|
6431
|
+
g(e.$slots, u, X(q(c)))
|
|
6434
6432
|
])
|
|
6435
6433
|
}))
|
|
6436
6434
|
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : y("", !0)
|
|
6437
6435
|
], 2);
|
|
6438
6436
|
}
|
|
6439
|
-
const
|
|
6437
|
+
const Nf = /* @__PURE__ */ S(ld, [["render", _d]]);
|
|
6440
6438
|
function pd(e) {
|
|
6441
6439
|
if (e) {
|
|
6442
6440
|
if (e instanceof HTMLElement)
|
|
@@ -6448,22 +6446,25 @@ function pd(e) {
|
|
|
6448
6446
|
const vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6449
6447
|
__proto__: null,
|
|
6450
6448
|
refToElement: pd
|
|
6451
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
6452
|
-
function
|
|
6449
|
+
}, Symbol.toStringTag, { value: "Module" })), bd = nt({});
|
|
6450
|
+
function wd(e) {
|
|
6451
|
+
return bd[e];
|
|
6452
|
+
}
|
|
6453
|
+
function Sd(e, s) {
|
|
6453
6454
|
const n = Object.assign({}, {
|
|
6454
6455
|
qualifier(r, a) {
|
|
6455
|
-
return a ?
|
|
6456
|
+
return a ? gt(r) : Ps(r);
|
|
6456
6457
|
},
|
|
6457
|
-
sort:
|
|
6458
|
+
sort: _t,
|
|
6458
6459
|
item: {},
|
|
6459
6460
|
includeChildren: !1
|
|
6460
|
-
}, s), i = (r, a) => a ? `${a}/${r.path}` : r.path, o = (r, a = null) => r.filter((
|
|
6461
|
-
const
|
|
6462
|
-
return n.includeChildren &&
|
|
6461
|
+
}, s), i = (r, a) => a ? `${a}/${r.path}` : r.path, o = (r, a = null) => r.filter((u) => n.qualifier(u, a)).map((u) => {
|
|
6462
|
+
const c = u.children ? mt(u.children) : u, h = u.children ? u.children.filter((C) => C.path !== "") : !1, b = Ve(c, i(u, a), n.item);
|
|
6463
|
+
return n.includeChildren && h.length && (b.children = o(h, b.path)), b;
|
|
6463
6464
|
}).sort(n.sort);
|
|
6464
6465
|
return o(e);
|
|
6465
6466
|
}
|
|
6466
|
-
function
|
|
6467
|
+
function kd(e) {
|
|
6467
6468
|
function s(t) {
|
|
6468
6469
|
const n = [];
|
|
6469
6470
|
for (const i of t) {
|
|
@@ -6474,22 +6475,22 @@ function wd(e) {
|
|
|
6474
6475
|
}
|
|
6475
6476
|
return s(e);
|
|
6476
6477
|
}
|
|
6477
|
-
function
|
|
6478
|
+
function Cd(e, s, t) {
|
|
6478
6479
|
const i = Object.assign({}, {
|
|
6479
6480
|
includeIndex: !1,
|
|
6480
6481
|
item: {},
|
|
6481
|
-
sort:
|
|
6482
|
-
}, t), o = e.find((
|
|
6483
|
-
if (
|
|
6484
|
-
const C =
|
|
6482
|
+
sort: _t
|
|
6483
|
+
}, t), o = e.find((c) => c.path !== "/" && s.includes(c.path)), r = (c, h, b) => {
|
|
6484
|
+
if (c.children) {
|
|
6485
|
+
const C = c.children.find((U) => U.path.includes(s));
|
|
6485
6486
|
if (C)
|
|
6486
|
-
return r(C,
|
|
6487
|
+
return r(C, c, b + C.path);
|
|
6487
6488
|
}
|
|
6488
|
-
return { route:
|
|
6489
|
-
}, { route: a, path:
|
|
6490
|
-
return a.children ? a.children.filter(Fs(i.includeIndex)).map((
|
|
6489
|
+
return { route: h, path: b };
|
|
6490
|
+
}, { route: a, path: u } = r(o, o, o.path);
|
|
6491
|
+
return a.children ? a.children.filter(Fs(i.includeIndex)).map((c) => Ve(c, `${u}/${c.path}`, i.item)).sort(i.sort) : (console.warn("Unable to build menu for:", s), []);
|
|
6491
6492
|
}
|
|
6492
|
-
function
|
|
6493
|
+
function mt(e) {
|
|
6493
6494
|
return e.find((s) => s.path === "");
|
|
6494
6495
|
}
|
|
6495
6496
|
function Ve(e, s = e.path, t) {
|
|
@@ -6498,7 +6499,7 @@ function Ve(e, s = e.path, t) {
|
|
|
6498
6499
|
modify: null
|
|
6499
6500
|
}, t);
|
|
6500
6501
|
let o = Object.assign({}, e.meta);
|
|
6501
|
-
i.indexMeta && e.children && (o = Object.assign({}, o,
|
|
6502
|
+
i.indexMeta && e.children && (o = Object.assign({}, o, mt(e.children)?.meta));
|
|
6502
6503
|
const r = {
|
|
6503
6504
|
path: s,
|
|
6504
6505
|
title: o?.title || "Missing Title",
|
|
@@ -6507,113 +6508,133 @@ function Ve(e, s = e.path, t) {
|
|
|
6507
6508
|
};
|
|
6508
6509
|
return i.modify && i.modify(r, e), r;
|
|
6509
6510
|
}
|
|
6510
|
-
function
|
|
6511
|
+
function gt(e) {
|
|
6511
6512
|
return !e.path.includes("/:");
|
|
6512
6513
|
}
|
|
6513
|
-
function
|
|
6514
|
+
function Ps(e) {
|
|
6514
6515
|
const s = e.path.match(/\//) || [];
|
|
6515
|
-
return
|
|
6516
|
+
return gt(e) && s.length === 1;
|
|
6516
6517
|
}
|
|
6517
|
-
function
|
|
6518
|
+
function Td(e, s) {
|
|
6518
6519
|
const { target: t } = s, n = t.closest("a");
|
|
6519
6520
|
if (n) {
|
|
6520
6521
|
let i = n.getAttribute("href");
|
|
6521
6522
|
i.startsWith("/") && (e.push(i), s.preventDefault());
|
|
6522
6523
|
}
|
|
6523
6524
|
}
|
|
6524
|
-
function
|
|
6525
|
+
function Bs(e, s = yt(e)) {
|
|
6525
6526
|
return s?.children;
|
|
6526
6527
|
}
|
|
6527
|
-
function
|
|
6528
|
+
function yt(e, s) {
|
|
6528
6529
|
const t = e.matched.length, n = t - 2;
|
|
6529
6530
|
return s ? t > 1 ? e.matched[0] : null : n < 0 ? null : e.matched[n];
|
|
6530
6531
|
}
|
|
6531
6532
|
function Fs(e) {
|
|
6532
6533
|
return (s) => e || s.path !== "";
|
|
6533
6534
|
}
|
|
6534
|
-
function
|
|
6535
|
+
function _t(e, s) {
|
|
6535
6536
|
return e?.weight - s?.weight;
|
|
6536
6537
|
}
|
|
6537
|
-
function
|
|
6538
|
+
function $d(e, s) {
|
|
6538
6539
|
const n = Object.assign({}, {
|
|
6539
6540
|
parent: null,
|
|
6540
6541
|
includeIndex: !1,
|
|
6541
6542
|
item: {},
|
|
6542
|
-
sort:
|
|
6543
|
-
}, s), i = n.parent ||
|
|
6544
|
-
return (
|
|
6543
|
+
sort: _t
|
|
6544
|
+
}, s), i = n.parent || yt(e);
|
|
6545
|
+
return (Bs(e, i) || []).filter(Fs(n.includeIndex)).map((r) => Ve(r, `${i.path}/${r.path}`, n.item)).sort(n.sort);
|
|
6545
6546
|
}
|
|
6546
|
-
|
|
6547
|
+
function Ad(e) {
|
|
6548
|
+
const { matched: s, path: t } = e;
|
|
6549
|
+
let n;
|
|
6550
|
+
return s.reduce((o, r, a) => {
|
|
6551
|
+
if (r.meta?.breadcrumb === !1 || r.path === n)
|
|
6552
|
+
return o;
|
|
6553
|
+
const u = a === s.length - 1;
|
|
6554
|
+
let c;
|
|
6555
|
+
if (u && (c = wd(t)), !c) {
|
|
6556
|
+
const h = r.meta?.title;
|
|
6557
|
+
typeof h == "function" ? c = h(e) : c = h;
|
|
6558
|
+
}
|
|
6559
|
+
return c = c || "Missing Title", o.push({
|
|
6560
|
+
title: c,
|
|
6561
|
+
to: { path: u ? t : r.path },
|
|
6562
|
+
current: u
|
|
6563
|
+
}), n = r.path, o;
|
|
6564
|
+
}, []);
|
|
6565
|
+
}
|
|
6566
|
+
const Od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6547
6567
|
__proto__: null,
|
|
6548
|
-
$
|
|
6549
|
-
$
|
|
6550
|
-
$
|
|
6551
|
-
|
|
6568
|
+
$createBreadcrumb: Ad,
|
|
6569
|
+
$createSectionMenu: $d,
|
|
6570
|
+
$getParentRoute: yt,
|
|
6571
|
+
$getRouteChildren: Bs,
|
|
6572
|
+
createBaseMenu: Sd,
|
|
6552
6573
|
createMenuItem: Ve,
|
|
6553
|
-
createSectionMenu:
|
|
6554
|
-
flattenMenu:
|
|
6555
|
-
getChildIndexRoute:
|
|
6556
|
-
isStaticBaseRoute:
|
|
6557
|
-
isStaticRoute:
|
|
6558
|
-
nativeLinkRouter:
|
|
6559
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6574
|
+
createSectionMenu: Cd,
|
|
6575
|
+
flattenMenu: kd,
|
|
6576
|
+
getChildIndexRoute: mt,
|
|
6577
|
+
isStaticBaseRoute: Ps,
|
|
6578
|
+
isStaticRoute: gt,
|
|
6579
|
+
nativeLinkRouter: Td
|
|
6580
|
+
}, Symbol.toStringTag, { value: "Module" })), Wf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6560
6581
|
__proto__: null,
|
|
6561
6582
|
dom: vd,
|
|
6562
|
-
router:
|
|
6583
|
+
router: Od
|
|
6563
6584
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6564
6585
|
export {
|
|
6565
|
-
|
|
6566
|
-
|
|
6586
|
+
kf as $,
|
|
6587
|
+
tf as A,
|
|
6567
6588
|
D as B,
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6589
|
+
sf as C,
|
|
6590
|
+
nf as D,
|
|
6591
|
+
of as E,
|
|
6571
6592
|
ys as F,
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6593
|
+
rf as G,
|
|
6594
|
+
af as H,
|
|
6595
|
+
lf as I,
|
|
6596
|
+
cf as J,
|
|
6597
|
+
uf as K,
|
|
6598
|
+
df as L,
|
|
6599
|
+
ff as M,
|
|
6600
|
+
hf as N,
|
|
6601
|
+
mf as O,
|
|
6602
|
+
gf as P,
|
|
6603
|
+
yf as Q,
|
|
6583
6604
|
_s as R,
|
|
6584
6605
|
go as S,
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6606
|
+
_f as T,
|
|
6607
|
+
$t as U,
|
|
6608
|
+
pf as V,
|
|
6609
|
+
vf as W,
|
|
6610
|
+
bf as X,
|
|
6611
|
+
wf as Y,
|
|
6612
|
+
Sf as Z,
|
|
6613
|
+
Ld as _,
|
|
6593
6614
|
je as a,
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6615
|
+
Cf as a0,
|
|
6616
|
+
Tf as a1,
|
|
6617
|
+
$f as a2,
|
|
6618
|
+
Af as a3,
|
|
6619
|
+
Of as a4,
|
|
6620
|
+
Rf as a5,
|
|
6621
|
+
xf as a6,
|
|
6622
|
+
Uf as a7,
|
|
6623
|
+
jf as a8,
|
|
6624
|
+
zf as a9,
|
|
6625
|
+
xt as aa,
|
|
6626
|
+
Ef as ab,
|
|
6627
|
+
If as ac,
|
|
6628
|
+
Mf as ad,
|
|
6629
|
+
Pf as ae,
|
|
6630
|
+
Bf as af,
|
|
6631
|
+
Lf as ag,
|
|
6632
|
+
Hf as ah,
|
|
6612
6633
|
Xr as ai,
|
|
6613
|
-
|
|
6634
|
+
Df as aj,
|
|
6614
6635
|
ua as ak,
|
|
6615
|
-
|
|
6616
|
-
|
|
6636
|
+
Vf as al,
|
|
6637
|
+
Nf as am,
|
|
6617
6638
|
Sa as an,
|
|
6618
6639
|
Ia as ao,
|
|
6619
6640
|
Rn as ap,
|
|
@@ -6621,30 +6642,30 @@ export {
|
|
|
6621
6642
|
vo as ar,
|
|
6622
6643
|
wo as as,
|
|
6623
6644
|
so as at,
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6645
|
+
Dd as au,
|
|
6646
|
+
Id as b,
|
|
6647
|
+
Md as c,
|
|
6648
|
+
Pd as d,
|
|
6649
|
+
Bd as e,
|
|
6650
|
+
Fd as f,
|
|
6630
6651
|
zn as g,
|
|
6631
|
-
|
|
6632
|
-
|
|
6652
|
+
Hd as h,
|
|
6653
|
+
Wf as i,
|
|
6633
6654
|
Nn as j,
|
|
6634
|
-
|
|
6655
|
+
Vd as k,
|
|
6635
6656
|
ce as l,
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6657
|
+
Nd as m,
|
|
6658
|
+
Wd as n,
|
|
6659
|
+
Xd as o,
|
|
6660
|
+
qd as p,
|
|
6661
|
+
Yd as q,
|
|
6662
|
+
Ff as r,
|
|
6663
|
+
Kd as s,
|
|
6643
6664
|
Io as t,
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6665
|
+
Gd as u,
|
|
6666
|
+
Ao as v,
|
|
6667
|
+
Zd as w,
|
|
6668
|
+
Jd as x,
|
|
6669
|
+
Qd as y,
|
|
6670
|
+
ef as z
|
|
6650
6671
|
};
|