@ulu/frontend-vue 0.1.3-beta.5 → 0.1.3-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/frontend-vue.js +1087 -1010
- package/dist/types/components/elements/UluRule.vue.d.ts +19 -0
- package/dist/types/components/elements/UluRule.vue.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts +21 -2
- package/dist/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts.map +1 -1
- package/lib/components/collapsible/UluModal.vue +8 -8
- package/lib/components/elements/UluRule.vue +49 -0
- package/lib/components/index.js +1 -0
- package/lib/components/systems/facets/UluFacetsFilterSelects.vue +34 -7
- package/package.json +1 -1
package/dist/frontend-vue.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { reactive as ht, inject as mt, ref as E, computed as S, watch as pe, toRef as Un, createElementBlock as f, openBlock as
|
|
1
|
+
import { reactive as ht, inject as mt, ref as E, computed as S, watch as pe, toRef as Un, createElementBlock as f, openBlock as c, normalizeStyle as X, unref as $, normalizeClass as m, createCommentVNode as p, createBlock as _, resolveDynamicComponent as F, normalizeProps as ie, mergeProps as ee, Fragment as x, createTextVNode as C, toDisplayString as b, Teleport as gt, createVNode as O, resolveDirective as zs, withDirectives as Fe, createElementVNode as h, renderSlot as g, withKeys as Ls, nextTick as Vs, markRaw as Te, watchEffect as vt, defineAsyncComponent as Bn, toRefs as Rn, toValue as lt, resolveComponent as K, withModifiers as En, useSlots as Hs, renderList as B, TransitionGroup as Ns, withCtx as k, onMounted as yt, onBeforeUnmount as Ds, isRef as jn, hasInjectionContext as In, getCurrentInstance as Mn, onDeactivated as Fn, onActivated as Pn, onUnmounted as Ws, guardReactiveProps as me, h as zn, watchPostEffect as Ln, vModelText as Vn, vShow as Mt, createSlots as Ie } from "vue";
|
|
2
2
|
import { useFloating as Hn, autoUpdate as Nn, inline as Dn, offset as Wn, flip as qn, shift as Xn, arrow as Gn } from "@floating-ui/vue";
|
|
3
|
-
import { normalizeClasses as
|
|
3
|
+
import { normalizeClasses as as } from "@ulu/utils/templating.js";
|
|
4
4
|
import { preventScroll as Yn, wasClickOutside as Kn, isBrowser as Jn } from "@ulu/utils/browser/dom.js";
|
|
5
5
|
import { Resizer as Qn } from "@ulu/frontend/js/ui/resizer.js";
|
|
6
6
|
import { debounce as qt } from "@ulu/utils/performance.js";
|
|
7
7
|
import { useRoute as qs, useRouter as Zn, RouterLink as Ye } from "vue-router";
|
|
8
8
|
import { Tab as eo, TabGroup as to, TabList as so, TabPanel as no, TabPanels as oo } from "@headlessui/vue";
|
|
9
9
|
import { setPositionClasses as lo } from "@ulu/frontend/js/utils/dom.js";
|
|
10
|
-
import { randomInt as
|
|
10
|
+
import { randomInt as it } from "@ulu/utils/random.js";
|
|
11
11
|
import { PortableText as ro } from "@portabletext/vue";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import ao from "gsap";
|
|
13
|
+
import io from "fuse.js";
|
|
14
14
|
import { runAfterFramePaint as Xs } from "@ulu/utils/browser/performance.js";
|
|
15
15
|
import { urlize as co } from "@ulu/utils/string.js";
|
|
16
16
|
import { arrayCreate as uo } from "@ulu/utils/array.js";
|
|
17
|
-
const
|
|
17
|
+
const is = {
|
|
18
18
|
fontAwesomeStatic: !1,
|
|
19
19
|
iconComponent: null,
|
|
20
20
|
iconPropResolver: (e) => ({ icon: e }),
|
|
@@ -40,8 +40,8 @@ const as = {
|
|
|
40
40
|
dropdownExpand: "fas fa-caret-down"
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
function
|
|
44
|
-
const t = ht({ ...
|
|
43
|
+
function eh(e, s = {}) {
|
|
44
|
+
const t = ht({ ...is }), { iconsByType: n, ...l } = s || {};
|
|
45
45
|
l && Object.assign(t, l);
|
|
46
46
|
const o = {
|
|
47
47
|
// Methods to interact with settings
|
|
@@ -49,7 +49,7 @@ function th(e, s = {}) {
|
|
|
49
49
|
return t;
|
|
50
50
|
},
|
|
51
51
|
getDefaultSettings() {
|
|
52
|
-
return { ...
|
|
52
|
+
return { ...is };
|
|
53
53
|
},
|
|
54
54
|
updateSettings(r) {
|
|
55
55
|
return Object.assign(t, r);
|
|
@@ -61,24 +61,24 @@ function th(e, s = {}) {
|
|
|
61
61
|
}
|
|
62
62
|
return t[r];
|
|
63
63
|
},
|
|
64
|
-
updateSetting(r,
|
|
64
|
+
updateSetting(r, a) {
|
|
65
65
|
if (typeof r != "string")
|
|
66
66
|
throw new Error("Expected key to be string");
|
|
67
|
-
t[r] =
|
|
67
|
+
t[r] = a;
|
|
68
68
|
},
|
|
69
69
|
getIcon(r) {
|
|
70
|
-
const
|
|
71
|
-
if (!
|
|
70
|
+
const a = t.iconsByType;
|
|
71
|
+
if (!a[r])
|
|
72
72
|
throw new Error(`Icon type "${r}" not found!`);
|
|
73
|
-
return
|
|
73
|
+
return a[r];
|
|
74
74
|
},
|
|
75
|
-
setIcon(r,
|
|
76
|
-
t.iconsByType[r] =
|
|
75
|
+
setIcon(r, a) {
|
|
76
|
+
t.iconsByType[r] = a;
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
if (n)
|
|
80
|
-
for (const [r,
|
|
81
|
-
o.setIcon(r,
|
|
80
|
+
for (const [r, a] of Object.entries(n))
|
|
81
|
+
o.setIcon(r, a);
|
|
82
82
|
e.provide("uluCore", o), e.config.globalProperties.$uluCore = o;
|
|
83
83
|
}
|
|
84
84
|
const fo = {
|
|
@@ -103,9 +103,9 @@ function Ae(e) {
|
|
|
103
103
|
function Gs(e, s, t) {
|
|
104
104
|
const n = E(null), l = E([]), o = S(() => t.value?.placement), {
|
|
105
105
|
floatingStyles: r,
|
|
106
|
-
placement:
|
|
106
|
+
placement: a,
|
|
107
107
|
middlewareData: u,
|
|
108
|
-
update:
|
|
108
|
+
update: i,
|
|
109
109
|
isPositioned: d
|
|
110
110
|
} = Hn(e, s, {
|
|
111
111
|
placement: o,
|
|
@@ -129,14 +129,14 @@ function Gs(e, s, t) {
|
|
|
129
129
|
} : null;
|
|
130
130
|
});
|
|
131
131
|
pe(t, (w) => {
|
|
132
|
-
w && w.onReady && w.onReady({ update:
|
|
132
|
+
w && w.onReady && w.onReady({ update: i, isPositioned: d });
|
|
133
133
|
});
|
|
134
134
|
const y = S(() => t.value?.strategy === "fixed");
|
|
135
135
|
return {
|
|
136
136
|
floatingStyles: r,
|
|
137
|
-
placement:
|
|
137
|
+
placement: a,
|
|
138
138
|
middlewareData: u,
|
|
139
|
-
update:
|
|
139
|
+
update: i,
|
|
140
140
|
isPositioned: d,
|
|
141
141
|
arrowStyles: v,
|
|
142
142
|
contentArrow: n,
|
|
@@ -160,10 +160,10 @@ const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
|
160
160
|
floatingStyles: l,
|
|
161
161
|
placement: o,
|
|
162
162
|
arrowStyles: r,
|
|
163
|
-
contentArrow:
|
|
163
|
+
contentArrow: a,
|
|
164
164
|
isFixedStrategy: u
|
|
165
165
|
} = Gs(Un(s, "trigger"), t, n);
|
|
166
|
-
return (
|
|
166
|
+
return (i, d) => (c(), f("span", {
|
|
167
167
|
class: m(["popover popover--tooltip is-active", [
|
|
168
168
|
{
|
|
169
169
|
"popover--fixed": $(u)
|
|
@@ -176,20 +176,20 @@ const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
|
176
176
|
"data-placement": $(o),
|
|
177
177
|
style: X($(l))
|
|
178
178
|
}, [
|
|
179
|
-
n.value.isHtml ? (
|
|
179
|
+
n.value.isHtml ? (c(), f("span", {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: "popover__inner",
|
|
182
182
|
innerHTML: n.value.content
|
|
183
|
-
}, null, 8, mo)) : (
|
|
184
|
-
n.value.component ? (
|
|
183
|
+
}, null, 8, mo)) : (c(), f("span", go, [
|
|
184
|
+
n.value.component ? (c(), _(F(n.value.component), ie(ee({ key: 0 }, n.value.componentProps)), null, 16)) : (c(), f(x, { key: 1 }, [
|
|
185
185
|
C(b(n.value.content), 1)
|
|
186
186
|
], 64))
|
|
187
187
|
])),
|
|
188
|
-
n.value.arrow ? (
|
|
188
|
+
n.value.arrow ? (c(), f("span", {
|
|
189
189
|
key: 2,
|
|
190
190
|
class: "popover__arrow",
|
|
191
191
|
ref_key: "contentArrow",
|
|
192
|
-
ref:
|
|
192
|
+
ref: a,
|
|
193
193
|
style: X($(r))
|
|
194
194
|
}, null, 4)) : p("", !0)
|
|
195
195
|
], 14, ho));
|
|
@@ -198,7 +198,7 @@ const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
|
198
198
|
__name: "UluTooltipDisplay",
|
|
199
199
|
setup(e) {
|
|
200
200
|
const s = Ae(_t);
|
|
201
|
-
return (t, n) => $(s)?.state.visible ? (
|
|
201
|
+
return (t, n) => $(s)?.state.visible ? (c(), _(gt, {
|
|
202
202
|
key: 0,
|
|
203
203
|
to: $(s).state.config.teleportTo || "body"
|
|
204
204
|
}, [
|
|
@@ -374,7 +374,7 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
374
374
|
},
|
|
375
375
|
emits: ["toggle"],
|
|
376
376
|
setup(e, { emit: s }) {
|
|
377
|
-
const t = s, n = e, l = Q(), o = Q(), r = Ae(bt),
|
|
377
|
+
const t = s, n = e, l = Q(), o = Q(), r = Ae(bt), a = r ? r.popover : Me.popover, u = S(() => ({ ...a, ...n.config })), i = E(n.startOpen || !1), d = E(null), v = E(null), {
|
|
378
378
|
floatingStyles: y,
|
|
379
379
|
placement: w,
|
|
380
380
|
update: A,
|
|
@@ -382,16 +382,16 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
382
382
|
contentArrow: R,
|
|
383
383
|
isFixedStrategy: G
|
|
384
384
|
} = Gs(d, v, u), se = () => {
|
|
385
|
-
P(!
|
|
385
|
+
P(!i.value);
|
|
386
386
|
}, P = (re) => {
|
|
387
|
-
|
|
387
|
+
i.value = re;
|
|
388
388
|
const Se = {
|
|
389
389
|
trigger: $(d),
|
|
390
390
|
content: $(v),
|
|
391
|
-
isOpen: $(
|
|
391
|
+
isOpen: $(i)
|
|
392
392
|
}, Ee = { isOpen: Se.isOpen };
|
|
393
393
|
Vs(() => {
|
|
394
|
-
|
|
394
|
+
i.value ? (A(), window.setTimeout(() => {
|
|
395
395
|
we(), n.directFocus(Se), t("toggle", Ee);
|
|
396
396
|
}, 0)) : (ne(), n.directFocus(Se), t("toggle", Ee));
|
|
397
397
|
});
|
|
@@ -403,11 +403,11 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
403
403
|
}, document.addEventListener("click", Z));
|
|
404
404
|
}, ne = () => {
|
|
405
405
|
Z && (document.removeEventListener("click", Z), Z = null);
|
|
406
|
-
},
|
|
406
|
+
}, ue = () => P(!1);
|
|
407
407
|
return (re, Se) => {
|
|
408
408
|
const Ee = zs("ulu-tooltip");
|
|
409
|
-
return
|
|
410
|
-
Fe((
|
|
409
|
+
return c(), f(x, null, [
|
|
410
|
+
Fe((c(), f("button", {
|
|
411
411
|
type: "button",
|
|
412
412
|
ref_key: "trigger",
|
|
413
413
|
ref: d,
|
|
@@ -415,16 +415,16 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
415
415
|
id: $(o),
|
|
416
416
|
disabled: e.disabled,
|
|
417
417
|
class: m([
|
|
418
|
-
{ [e.activeClass]:
|
|
418
|
+
{ [e.activeClass]: i.value },
|
|
419
419
|
e.classes.trigger
|
|
420
420
|
]),
|
|
421
|
-
"aria-expanded":
|
|
421
|
+
"aria-expanded": i.value ? "true" : "false",
|
|
422
422
|
"aria-controls": $(l),
|
|
423
423
|
"aria-label": e.triggerAlt
|
|
424
424
|
}, [
|
|
425
425
|
g(re.$slots, "trigger", {
|
|
426
|
-
isOpen:
|
|
427
|
-
close:
|
|
426
|
+
isOpen: i.value,
|
|
427
|
+
close: ue
|
|
428
428
|
}, () => [
|
|
429
429
|
C(b(e.triggerText), 1)
|
|
430
430
|
])
|
|
@@ -437,7 +437,7 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
437
437
|
{
|
|
438
438
|
"popover--no-padding": e.noPadding,
|
|
439
439
|
"popover--fixed": $(G),
|
|
440
|
-
"is-active":
|
|
440
|
+
"is-active": i.value
|
|
441
441
|
},
|
|
442
442
|
e.classes.content
|
|
443
443
|
]]),
|
|
@@ -452,15 +452,15 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
452
452
|
}, [
|
|
453
453
|
h("span", ko, [
|
|
454
454
|
g(re.$slots, "default", {
|
|
455
|
-
isOpen:
|
|
455
|
+
isOpen: i.value,
|
|
456
456
|
toggle: se,
|
|
457
|
-
close:
|
|
457
|
+
close: ue
|
|
458
458
|
})
|
|
459
459
|
]),
|
|
460
|
-
re.$slots.footer ? (
|
|
461
|
-
g(re.$slots, "footer", { close:
|
|
460
|
+
re.$slots.footer ? (c(), f("span", $o, [
|
|
461
|
+
g(re.$slots, "footer", { close: ue })
|
|
462
462
|
])) : p("", !0),
|
|
463
|
-
u.value.arrow ? (
|
|
463
|
+
u.value.arrow ? (c(), f("span", {
|
|
464
464
|
key: 1,
|
|
465
465
|
class: "popover__arrow",
|
|
466
466
|
ref_key: "contentArrow",
|
|
@@ -473,7 +473,7 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
|
-
function
|
|
476
|
+
function th() {
|
|
477
477
|
const e = Ae(_t), s = Ae(bt), t = { ...s.popover, ...s.tooltip };
|
|
478
478
|
return {
|
|
479
479
|
showTooltip: (l, o) => {
|
|
@@ -484,7 +484,7 @@ function sh() {
|
|
|
484
484
|
tooltipState: e.state
|
|
485
485
|
};
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function sh(e) {
|
|
488
488
|
const s = Ae(_t), t = Ae(bt);
|
|
489
489
|
e.content || console.warn("Missing content for 'useTooltipFollow' tooltip", e);
|
|
490
490
|
let n;
|
|
@@ -501,8 +501,8 @@ function nh(e) {
|
|
|
501
501
|
bottom: o.value
|
|
502
502
|
};
|
|
503
503
|
}
|
|
504
|
-
})),
|
|
505
|
-
...{ ...
|
|
504
|
+
})), a = t ? t.popover : Me.popover, u = t ? t.tooltip : Me.tooltip, d = {
|
|
505
|
+
...{ ...a, ...u },
|
|
506
506
|
content: e.content,
|
|
507
507
|
inline: !1,
|
|
508
508
|
// Following cursor is never inline
|
|
@@ -529,7 +529,7 @@ const bt = "uluPopoverOptions", _t = "uluTooltipState", Ys = "ulu-global-tooltip
|
|
|
529
529
|
let t = e;
|
|
530
530
|
return (typeof t != "object" || Array.isArray(t)) && (t = { content: t }), t.component && (t.component = Te(t.component)), { ...s, ...t };
|
|
531
531
|
};
|
|
532
|
-
function
|
|
532
|
+
function nh(e, s = {}) {
|
|
533
533
|
const t = {
|
|
534
534
|
plugin: { ...Me.plugin, ...s.plugin || {} },
|
|
535
535
|
popover: { ...Me.popover, ...s.popover || {} },
|
|
@@ -554,10 +554,10 @@ function oh(e, s = {}) {
|
|
|
554
554
|
show: l,
|
|
555
555
|
hide: o
|
|
556
556
|
}), e.component("UluTooltipDisplay", yo), e.component("UluPopover", pt);
|
|
557
|
-
const r = /* @__PURE__ */ new WeakMap(),
|
|
557
|
+
const r = /* @__PURE__ */ new WeakMap(), a = t.popover, u = t.tooltip, i = { ...a, ...u };
|
|
558
558
|
e.directive(t.plugin.directiveName, {
|
|
559
559
|
mounted(d, v) {
|
|
560
|
-
const y = Ft(v.value,
|
|
560
|
+
const y = Ft(v.value, i);
|
|
561
561
|
if (!y) return;
|
|
562
562
|
let w = null;
|
|
563
563
|
const A = () => {
|
|
@@ -572,7 +572,7 @@ function oh(e, s = {}) {
|
|
|
572
572
|
updated(d, v) {
|
|
573
573
|
const y = r.get(d);
|
|
574
574
|
y && (y.showEvents.forEach((P) => d.removeEventListener(P, y.show)), y.hideEvents.forEach((P) => d.removeEventListener(P, y.hide)));
|
|
575
|
-
const w = Ft(v.value,
|
|
575
|
+
const w = Ft(v.value, i);
|
|
576
576
|
if (!w) {
|
|
577
577
|
n.trigger === d && o();
|
|
578
578
|
return;
|
|
@@ -640,7 +640,7 @@ const j = (e, s) => {
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
function To(e, s, t, n, l, o) {
|
|
643
|
-
return o.currentModal ? (
|
|
643
|
+
return o.currentModal ? (c(), _(F(o.currentModal.component), ee({ key: 0 }, o.currentProps, {
|
|
644
644
|
modelValue: l.open,
|
|
645
645
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => l.open = r),
|
|
646
646
|
onVnodeMounted: o.modalMounted,
|
|
@@ -681,7 +681,7 @@ const D = {
|
|
|
681
681
|
setup(e) {
|
|
682
682
|
const s = mt("uluCore"), t = E(null), { getIconProps: n, getClassesFromDefinition: l } = Oo();
|
|
683
683
|
let o;
|
|
684
|
-
const r = e,
|
|
684
|
+
const r = e, a = S(() => s.getSetting("fontAwesomeStatic")), u = S(() => s.getSetting("iconComponent")), i = S(() => s.getSetting("iconPropResolver")), d = S(() => {
|
|
685
685
|
const { icon: T } = r;
|
|
686
686
|
if (typeof T == "string" && T.startsWith("type:"))
|
|
687
687
|
try {
|
|
@@ -691,11 +691,11 @@ const D = {
|
|
|
691
691
|
return console.warn(R), null;
|
|
692
692
|
}
|
|
693
693
|
return T;
|
|
694
|
-
}), v = S(() => !u.value || !d.value ? null :
|
|
694
|
+
}), v = S(() => !u.value || !d.value ? null : i.value(d.value)), y = S(() => n(d.value)), w = S(() => l(d.value)), A = S(() => ({
|
|
695
695
|
"flow-inline": r.spaced
|
|
696
696
|
}));
|
|
697
697
|
return vt(async () => {
|
|
698
|
-
if (!
|
|
698
|
+
if (!a.value && d.value) {
|
|
699
699
|
if (t.value === null)
|
|
700
700
|
if (o)
|
|
701
701
|
t.value = Te(o.FontAwesomeIcon);
|
|
@@ -708,21 +708,21 @@ const D = {
|
|
|
708
708
|
}
|
|
709
709
|
} else
|
|
710
710
|
t.value = null;
|
|
711
|
-
}), (T, R) => u.value ? (
|
|
711
|
+
}), (T, R) => u.value ? (c(), _(F(u.value), ee({ key: 0 }, v.value, { class: A.value }), null, 16, ["class"])) : !a.value && t.value && d.value ? (c(), _(F(t.value), ee({ key: 1 }, y.value, { class: A.value }), null, 16, ["class"])) : a.value && d.value ? (c(), f("span", {
|
|
712
712
|
key: 2,
|
|
713
713
|
class: m([w.value, A.value]),
|
|
714
714
|
"aria-hidden": "true"
|
|
715
715
|
}, null, 2)) : p("", !0);
|
|
716
716
|
}
|
|
717
717
|
};
|
|
718
|
-
function
|
|
718
|
+
function ce({ props: e, baseClass: s, internal: t = {} }) {
|
|
719
719
|
const { modifiers: n } = Rn(e);
|
|
720
720
|
return { resolvedModifiers: S(() => {
|
|
721
|
-
const o = lt(s), r =
|
|
721
|
+
const o = lt(s), r = as(lt(n)), a = as(lt(t));
|
|
722
722
|
if (!o)
|
|
723
723
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
724
|
-
const u = /* @__PURE__ */ new Set([...
|
|
725
|
-
return Array.from(u).map((
|
|
724
|
+
const u = /* @__PURE__ */ new Set([...a, ...r]);
|
|
725
|
+
return Array.from(u).map((i) => `${o}--${i}`);
|
|
726
726
|
}) };
|
|
727
727
|
}
|
|
728
728
|
const xo = {
|
|
@@ -845,10 +845,10 @@ const xo = {
|
|
|
845
845
|
},
|
|
846
846
|
setup(e) {
|
|
847
847
|
const s = Hs(), t = S(() => e.title || s.title), n = S(() => {
|
|
848
|
-
const { allowResize:
|
|
849
|
-
if (!
|
|
850
|
-
const
|
|
851
|
-
return
|
|
848
|
+
const { allowResize: a, position: u } = e;
|
|
849
|
+
if (!a || !u) return;
|
|
850
|
+
const i = ["left", "right", "center"];
|
|
851
|
+
return i.includes(u) ? !0 : (console.warn(`Passed invalid position for resize (${u}), use ${i.join(", ")}`), !1);
|
|
852
852
|
}), l = S(() => e.position === "center" ? "type:resizeBoth" : "type:resizeHorizontal"), o = S(() => ({
|
|
853
853
|
[e.position]: e.position,
|
|
854
854
|
resize: e.allowResize,
|
|
@@ -859,7 +859,7 @@ const xo = {
|
|
|
859
859
|
"no-min-height": e.noMinHeight,
|
|
860
860
|
"non-modal": e.nonModal,
|
|
861
861
|
"resizer-active": n.value
|
|
862
|
-
})), { resolvedModifiers: r } =
|
|
862
|
+
})), { resolvedModifiers: r } = ce({
|
|
863
863
|
props: e,
|
|
864
864
|
baseClass: "modal",
|
|
865
865
|
internal: o
|
|
@@ -962,7 +962,7 @@ const xo = {
|
|
|
962
962
|
};
|
|
963
963
|
function jo(e, s, t, n, l, o) {
|
|
964
964
|
const r = K("UluIcon");
|
|
965
|
-
return
|
|
965
|
+
return c(), _(gt, {
|
|
966
966
|
to: t.teleport === !1 ? null : t.teleport,
|
|
967
967
|
disabled: t.teleport === !1
|
|
968
968
|
}, [
|
|
@@ -972,12 +972,12 @@ function jo(e, s, t, n, l, o) {
|
|
|
972
972
|
"aria-describedby": t.describedby,
|
|
973
973
|
ref: "container",
|
|
974
974
|
style: X({ width: l.containerWidth }),
|
|
975
|
-
onCancel: s[1] || (s[1] = En((...
|
|
976
|
-
onClose: s[2] || (s[2] = (...
|
|
977
|
-
onClick: s[3] || (s[3] = (...
|
|
978
|
-
onToggle: s[4] || (s[4] = (...
|
|
975
|
+
onCancel: s[1] || (s[1] = En((...a) => o.close && o.close(...a), ["prevent"])),
|
|
976
|
+
onClose: s[2] || (s[2] = (...a) => o.handleDialogCloseEvent && o.handleDialogCloseEvent(...a)),
|
|
977
|
+
onClick: s[3] || (s[3] = (...a) => o.handleClick && o.handleClick(...a)),
|
|
978
|
+
onToggle: s[4] || (s[4] = (...a) => o.handleToggle && o.handleToggle(...a))
|
|
979
979
|
}, [
|
|
980
|
-
n.hasHeader ? (
|
|
980
|
+
n.hasHeader ? (c(), f("header", {
|
|
981
981
|
key: 0,
|
|
982
982
|
class: m(["modal__header", t.classes.header])
|
|
983
983
|
}, [
|
|
@@ -986,7 +986,7 @@ function jo(e, s, t, n, l, o) {
|
|
|
986
986
|
id: l.titleId
|
|
987
987
|
}, [
|
|
988
988
|
g(e.$slots, "title", { close: o.close }, () => [
|
|
989
|
-
t.titleIcon ? (
|
|
989
|
+
t.titleIcon ? (c(), _(r, {
|
|
990
990
|
key: 0,
|
|
991
991
|
class: "modal__title-icon",
|
|
992
992
|
icon: t.titleIcon
|
|
@@ -997,7 +997,7 @@ function jo(e, s, t, n, l, o) {
|
|
|
997
997
|
h("button", {
|
|
998
998
|
class: "modal__close",
|
|
999
999
|
"aria-label": "Close modal",
|
|
1000
|
-
onClick: s[0] || (s[0] = (...
|
|
1000
|
+
onClick: s[0] || (s[0] = (...a) => o.close && o.close(...a)),
|
|
1001
1001
|
autofocus: ""
|
|
1002
1002
|
}, [
|
|
1003
1003
|
g(e.$slots, "closeIcon", {}, () => [
|
|
@@ -1013,13 +1013,13 @@ function jo(e, s, t, n, l, o) {
|
|
|
1013
1013
|
}, [
|
|
1014
1014
|
g(e.$slots, "default", { close: o.close })
|
|
1015
1015
|
], 2),
|
|
1016
|
-
e.$slots.footer ? (
|
|
1016
|
+
e.$slots.footer ? (c(), f("div", {
|
|
1017
1017
|
key: 1,
|
|
1018
1018
|
class: m(["site-modal__footer", t.classes.footer])
|
|
1019
1019
|
}, [
|
|
1020
1020
|
g(e.$slots, "footer", { close: o.close })
|
|
1021
1021
|
], 2)) : p("", !0),
|
|
1022
|
-
n.resizerEnabled ? (
|
|
1022
|
+
n.resizerEnabled ? (c(), f("button", Eo, [
|
|
1023
1023
|
g(e.$slots, "resizerIcon", {}, () => [
|
|
1024
1024
|
O(r, {
|
|
1025
1025
|
class: "modal__resizer-icon",
|
|
@@ -1086,7 +1086,7 @@ const Ks = /* @__PURE__ */ j(xo, [["render", jo]]), We = [], Io = E({
|
|
|
1086
1086
|
modals: [],
|
|
1087
1087
|
modalOptions: {}
|
|
1088
1088
|
};
|
|
1089
|
-
function
|
|
1089
|
+
function oh(e, s) {
|
|
1090
1090
|
const t = Object.assign({}, Fo, s), l = Mo((o) => Object.assign({}, t.modalOptions, o));
|
|
1091
1091
|
e.component("UluModalsDisplay", Ao), e.component("UluModal", Ks), t.modals.forEach((o) => {
|
|
1092
1092
|
l.add(o);
|
|
@@ -1127,7 +1127,7 @@ const Po = {
|
|
|
1127
1127
|
}, zo = ["onClick"];
|
|
1128
1128
|
function Lo(e, s, t, n, l, o) {
|
|
1129
1129
|
const r = K("UluIcon");
|
|
1130
|
-
return
|
|
1130
|
+
return c(), f("div", {
|
|
1131
1131
|
class: m(["toast", [
|
|
1132
1132
|
{
|
|
1133
1133
|
"toast--persistent": !t.toast.duration
|
|
@@ -1135,12 +1135,12 @@ function Lo(e, s, t, n, l, o) {
|
|
|
1135
1135
|
t.toast?.class
|
|
1136
1136
|
]])
|
|
1137
1137
|
}, [
|
|
1138
|
-
t.toast.icon || e.$slots.icon ? (
|
|
1138
|
+
t.toast.icon || e.$slots.icon ? (c(), f("div", {
|
|
1139
1139
|
key: 0,
|
|
1140
1140
|
class: m(["toast__icon", t.classes.icon])
|
|
1141
1141
|
}, [
|
|
1142
1142
|
g(e.$slots, "icon", { toast: t.toast }, () => [
|
|
1143
|
-
t.toast.icon ? (
|
|
1143
|
+
t.toast.icon ? (c(), _(r, {
|
|
1144
1144
|
key: 0,
|
|
1145
1145
|
icon: t.toast.icon
|
|
1146
1146
|
}, null, 8, ["icon"])) : p("", !0)
|
|
@@ -1150,37 +1150,37 @@ function Lo(e, s, t, n, l, o) {
|
|
|
1150
1150
|
class: m(["toast__content", t.classes.content])
|
|
1151
1151
|
}, [
|
|
1152
1152
|
g(e.$slots, "content", { toast: t.toast }, () => [
|
|
1153
|
-
t.toast.title ? (
|
|
1153
|
+
t.toast.title ? (c(), f("div", {
|
|
1154
1154
|
key: 0,
|
|
1155
1155
|
class: m(["toast__header", t.classes.header])
|
|
1156
1156
|
}, [
|
|
1157
1157
|
h("strong", {
|
|
1158
1158
|
class: m(["toast__title", t.classes.title])
|
|
1159
1159
|
}, b(t.toast.title), 3),
|
|
1160
|
-
t.toast.date ? (
|
|
1160
|
+
t.toast.date ? (c(), f("span", {
|
|
1161
1161
|
key: 0,
|
|
1162
1162
|
class: m(["toast__date", t.classes.date])
|
|
1163
1163
|
}, b(t.toast.date), 3)) : p("", !0)
|
|
1164
1164
|
], 2)) : p("", !0),
|
|
1165
|
-
t.toast.description ? (
|
|
1165
|
+
t.toast.description ? (c(), f("div", {
|
|
1166
1166
|
key: 1,
|
|
1167
1167
|
class: m(["toast__body", t.classes.body])
|
|
1168
1168
|
}, b(t.toast.description), 3)) : p("", !0)
|
|
1169
1169
|
])
|
|
1170
1170
|
], 2),
|
|
1171
|
-
t.toast.actions?.length ? (
|
|
1171
|
+
t.toast.actions?.length ? (c(), f("div", {
|
|
1172
1172
|
key: 1,
|
|
1173
1173
|
class: m(["toast__actions", t.classes.actions])
|
|
1174
1174
|
}, [
|
|
1175
|
-
(
|
|
1175
|
+
(c(!0), f(x, null, B(t.toast.actions, (a, u) => (c(), f("button", {
|
|
1176
1176
|
key: u,
|
|
1177
1177
|
class: m(["toast__action", t.classes.action]),
|
|
1178
|
-
onClick: (
|
|
1179
|
-
}, b(
|
|
1178
|
+
onClick: (i) => o.handleAction(i, a)
|
|
1179
|
+
}, b(a.label), 11, zo))), 128))
|
|
1180
1180
|
], 2)) : p("", !0),
|
|
1181
1181
|
h("button", {
|
|
1182
1182
|
class: m(["toast__close", t.classes.closeButton]),
|
|
1183
|
-
onClick: s[0] || (s[0] = (...
|
|
1183
|
+
onClick: s[0] || (s[0] = (...a) => t.toast.close && t.toast.close(...a))
|
|
1184
1184
|
}, [
|
|
1185
1185
|
O(r, { icon: "type:close" })
|
|
1186
1186
|
], 2)
|
|
@@ -1273,7 +1273,7 @@ const ke = ht({
|
|
|
1273
1273
|
}
|
|
1274
1274
|
};
|
|
1275
1275
|
function No(e, s, t, n, l, o) {
|
|
1276
|
-
return
|
|
1276
|
+
return c(), _(gt, {
|
|
1277
1277
|
to: l.pluginOptions.teleportTo
|
|
1278
1278
|
}, [
|
|
1279
1279
|
O(Ns, {
|
|
@@ -1282,7 +1282,7 @@ function No(e, s, t, n, l, o) {
|
|
|
1282
1282
|
tag: "div"
|
|
1283
1283
|
}, {
|
|
1284
1284
|
default: k(() => [
|
|
1285
|
-
(
|
|
1285
|
+
(c(!0), f(x, null, B(l.toasts, (r) => (c(), _(F(r.component), {
|
|
1286
1286
|
key: r.uid,
|
|
1287
1287
|
toast: r
|
|
1288
1288
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -1292,7 +1292,7 @@ function No(e, s, t, n, l, o) {
|
|
|
1292
1292
|
], 8, ["to"]);
|
|
1293
1293
|
}
|
|
1294
1294
|
const Do = /* @__PURE__ */ j(Ho, [["render", No]]);
|
|
1295
|
-
function
|
|
1295
|
+
function lh(e, s = {}) {
|
|
1296
1296
|
ke.setPluginOptions(s?.plugin), ke.setToastOptions(s?.toast), e.component("UluToast", Js), e.component("UluToastDisplay", Do), e.config.globalProperties.$uluToast = Pt, e.provide("uluToast", Pt);
|
|
1297
1297
|
}
|
|
1298
1298
|
const Wo = {
|
|
@@ -1318,12 +1318,12 @@ function qo(e) {
|
|
|
1318
1318
|
await new Promise((d) => {
|
|
1319
1319
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => d()) : d();
|
|
1320
1320
|
});
|
|
1321
|
-
const r = await import("@ulu/frontend/js/ui/breakpoints.js"), { BreakpointManager:
|
|
1321
|
+
const r = await import("@ulu/frontend/js/ui/breakpoints.js"), { BreakpointManager: a } = r, u = Te(new a(s.plugin));
|
|
1322
1322
|
t.value = Te(u);
|
|
1323
|
-
const
|
|
1323
|
+
const i = () => {
|
|
1324
1324
|
n.value = u.active, l.value = u.resizeDirection;
|
|
1325
1325
|
};
|
|
1326
|
-
|
|
1326
|
+
i(), s.onReady && s.onReady(u), u.onChange(i);
|
|
1327
1327
|
})(), { breakpointManager: t, breakpointActive: n, breakpointDirection: l };
|
|
1328
1328
|
}
|
|
1329
1329
|
const Xo = {
|
|
@@ -1336,7 +1336,7 @@ const Xo = {
|
|
|
1336
1336
|
*/
|
|
1337
1337
|
managerOptions: {}
|
|
1338
1338
|
};
|
|
1339
|
-
function
|
|
1339
|
+
function rh(e, s) {
|
|
1340
1340
|
const t = E(!1), n = Object.assign({}, Xo, s), { breakpointMobile: l } = n, { onReady: o } = n.managerOptions, r = {
|
|
1341
1341
|
onReady(v) {
|
|
1342
1342
|
v.at(l).max({
|
|
@@ -1348,12 +1348,12 @@ function ih(e, s) {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
}), o && o(v);
|
|
1350
1350
|
}
|
|
1351
|
-
},
|
|
1351
|
+
}, a = Object.assign({}, n.managerOptions, r), {
|
|
1352
1352
|
breakpointManager: u,
|
|
1353
|
-
breakpointActive:
|
|
1353
|
+
breakpointActive: i,
|
|
1354
1354
|
breakpointDirection: d
|
|
1355
|
-
} = qo(
|
|
1356
|
-
e.provide("uluBreakpointActive", S(() =>
|
|
1355
|
+
} = qo(a);
|
|
1356
|
+
e.provide("uluBreakpointActive", S(() => i.value)), e.provide("uluBreakpointDirection", S(() => d.value)), e.provide("uluBreakpointManager", S(() => u.value)), e.provide("uluIsMobile", S(() => t.value));
|
|
1357
1357
|
}
|
|
1358
1358
|
const zt = /* @__PURE__ */ new Set(), J = /* @__PURE__ */ new WeakMap(), Oe = /* @__PURE__ */ new WeakMap(), oe = /* @__PURE__ */ new WeakMap(), Ke = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), Xe = /* @__PURE__ */ new WeakMap(), Ce = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), je = /* @__PURE__ */ new WeakSet();
|
|
1359
1359
|
let te, Xt = 0, Gt = 0;
|
|
@@ -1380,14 +1380,14 @@ function Yt(e) {
|
|
|
1380
1380
|
o - (t.left + l + t.width),
|
|
1381
1381
|
r - (t.top + l + t.height),
|
|
1382
1382
|
t.left - l
|
|
1383
|
-
].map((d) => `${-1 * Math.floor(d)}px`).join(" "),
|
|
1383
|
+
].map((d) => `${-1 * Math.floor(d)}px`).join(" "), i = new IntersectionObserver(() => {
|
|
1384
1384
|
++n > 1 && Ue(e);
|
|
1385
1385
|
}, {
|
|
1386
1386
|
root: te,
|
|
1387
1387
|
threshold: 1,
|
|
1388
1388
|
rootMargin: u
|
|
1389
1389
|
});
|
|
1390
|
-
|
|
1390
|
+
i.observe(e), Ke.set(e, i);
|
|
1391
1391
|
}
|
|
1392
1392
|
function Ue(e, s = !0) {
|
|
1393
1393
|
clearTimeout($e.get(e));
|
|
@@ -1460,7 +1460,7 @@ function Qo(e) {
|
|
|
1460
1460
|
const n = e.isConnected, l = J.has(e);
|
|
1461
1461
|
n && Oe.has(e) && Oe.delete(e), ((s = oe.get(e)) === null || s === void 0 ? void 0 : s.playState) !== "finished" && ((t = oe.get(e)) === null || t === void 0 || t.cancel()), ct in e ? fs(e) : l && n ? el(e) : l && !n ? tl(e) : fs(e);
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function he(e) {
|
|
1464
1464
|
return Number(e.replace(/[^0-9.\-]/g, ""));
|
|
1465
1465
|
}
|
|
1466
1466
|
function Zo(e) {
|
|
@@ -1483,10 +1483,10 @@ function Pe(e) {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
function sn(e, s, t) {
|
|
1485
1485
|
let n = s.width, l = s.height, o = t.width, r = t.height;
|
|
1486
|
-
const
|
|
1487
|
-
if (
|
|
1488
|
-
const
|
|
1489
|
-
n -= d, o -= d, l -=
|
|
1486
|
+
const a = getComputedStyle(e);
|
|
1487
|
+
if (a.getPropertyValue("box-sizing") === "content-box") {
|
|
1488
|
+
const i = he(a.paddingTop) + he(a.paddingBottom) + he(a.borderTopWidth) + he(a.borderBottomWidth), d = he(a.paddingLeft) + he(a.paddingRight) + he(a.borderRightWidth) + he(a.borderLeftWidth);
|
|
1489
|
+
n -= d, o -= d, l -= i, r -= i;
|
|
1490
1490
|
}
|
|
1491
1491
|
return [n, o, l, r].map(Math.round);
|
|
1492
1492
|
}
|
|
@@ -1528,14 +1528,14 @@ function el(e) {
|
|
|
1528
1528
|
const l = wt(e);
|
|
1529
1529
|
if (typeof l != "function") {
|
|
1530
1530
|
let o = s.left - t.left, r = s.top - t.top;
|
|
1531
|
-
const
|
|
1532
|
-
s.top + s.height - (t.top + t.height) == 0 && (r = 0),
|
|
1533
|
-
const [
|
|
1531
|
+
const a = s.left + s.width - (t.left + t.width);
|
|
1532
|
+
s.top + s.height - (t.top + t.height) == 0 && (r = 0), a == 0 && (o = 0);
|
|
1533
|
+
const [i, d, v, y] = sn(e, s, t), w = {
|
|
1534
1534
|
transform: `translate(${o}px, ${r}px)`
|
|
1535
1535
|
}, A = {
|
|
1536
1536
|
transform: "translate(0, 0)"
|
|
1537
1537
|
};
|
|
1538
|
-
|
|
1538
|
+
i !== d && (w.width = `${i}px`, A.width = `${d}px`), v !== y && (w.height = `${v}px`, A.height = `${y}px`), n = e.animate([w, A], {
|
|
1539
1539
|
duration: l.duration,
|
|
1540
1540
|
easing: l.easing
|
|
1541
1541
|
});
|
|
@@ -1593,14 +1593,14 @@ function tl(e) {
|
|
|
1593
1593
|
const l = window.scrollX, o = window.scrollY;
|
|
1594
1594
|
if (n && n.parentNode && n.parentNode instanceof Element ? n.parentNode.insertBefore(e, n) : t && t.parentNode ? t.parentNode.appendChild(e) : (s = nn(e)) === null || s === void 0 || s.appendChild(e), !Kt(e))
|
|
1595
1595
|
return hs(e);
|
|
1596
|
-
const [r,
|
|
1596
|
+
const [r, a, u, i] = nl(e), d = wt(e), v = J.get(e);
|
|
1597
1597
|
(l !== Xt || o !== Gt) && sl(e, l, o, d);
|
|
1598
1598
|
let y, w = {
|
|
1599
1599
|
position: "absolute",
|
|
1600
1600
|
top: `${r}px`,
|
|
1601
|
-
left: `${
|
|
1601
|
+
left: `${a}px`,
|
|
1602
1602
|
width: `${u}px`,
|
|
1603
|
-
height: `${
|
|
1603
|
+
height: `${i}px`,
|
|
1604
1604
|
margin: "0",
|
|
1605
1605
|
pointerEvents: "none",
|
|
1606
1606
|
transformOrigin: "center",
|
|
@@ -1633,16 +1633,16 @@ function sl(e, s, t, n) {
|
|
|
1633
1633
|
if (getComputedStyle(te).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + l, window.scrollY + o), !e.parentElement)
|
|
1634
1634
|
return;
|
|
1635
1635
|
const u = e.parentElement;
|
|
1636
|
-
let
|
|
1636
|
+
let i = u.clientHeight, d = u.clientWidth;
|
|
1637
1637
|
const v = performance.now();
|
|
1638
1638
|
function y() {
|
|
1639
1639
|
requestAnimationFrame(() => {
|
|
1640
1640
|
if (!Qe(n)) {
|
|
1641
|
-
const w =
|
|
1641
|
+
const w = i - u.clientHeight, A = d - u.clientWidth;
|
|
1642
1642
|
v + n.duration > performance.now() ? (window.scrollTo({
|
|
1643
1643
|
left: window.scrollX - A,
|
|
1644
1644
|
top: window.scrollY - w
|
|
1645
|
-
}),
|
|
1645
|
+
}), i = u.clientHeight, d = u.clientWidth, y()) : document.documentElement.style.scrollBehavior = r;
|
|
1646
1646
|
}
|
|
1647
1647
|
});
|
|
1648
1648
|
}
|
|
@@ -1655,8 +1655,8 @@ function nl(e) {
|
|
|
1655
1655
|
for (; o && (getComputedStyle(o).position === "static" || o instanceof HTMLBodyElement); )
|
|
1656
1656
|
o = o.parentElement;
|
|
1657
1657
|
o || (o = document.body);
|
|
1658
|
-
const r = getComputedStyle(o),
|
|
1659
|
-
return [u,
|
|
1658
|
+
const r = getComputedStyle(o), a = !oe.has(e) || ((s = oe.get(e)) === null || s === void 0 ? void 0 : s.playState) === "finished" ? Pe(o) : J.get(o), u = Math.round(t.top - a.top) - he(r.borderTopWidth), i = Math.round(t.left - a.left) - he(r.borderLeftWidth);
|
|
1659
|
+
return [u, i, n, l];
|
|
1660
1660
|
}
|
|
1661
1661
|
function ol(e, s = {}) {
|
|
1662
1662
|
if (tn && ve && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !Qe(s) && !s.disrespectUserMotionPreference)) {
|
|
@@ -1701,8 +1701,8 @@ function ol(e, s = {}) {
|
|
|
1701
1701
|
oe.delete(l);
|
|
1702
1702
|
const r = Ke.get(l);
|
|
1703
1703
|
r?.disconnect(), Ke.delete(l);
|
|
1704
|
-
const
|
|
1705
|
-
|
|
1704
|
+
const a = Xe.get(l);
|
|
1705
|
+
a && clearInterval(a), Xe.delete(l);
|
|
1706
1706
|
const u = $e.get(l);
|
|
1707
1707
|
u && clearTimeout(u), $e.delete(l), J.delete(l), Oe.delete(l);
|
|
1708
1708
|
});
|
|
@@ -1728,7 +1728,7 @@ function ll(e) {
|
|
|
1728
1728
|
(l = t?.destroy) === null || l === void 0 || l.call(t), t = void 0;
|
|
1729
1729
|
}), [s, n];
|
|
1730
1730
|
}
|
|
1731
|
-
const rl = ["id", "aria-controls", "aria-expanded"],
|
|
1731
|
+
const rl = ["id", "aria-controls", "aria-expanded"], al = ["id", "aria-hidden", "aria-labelledby"], Lt = {
|
|
1732
1732
|
__name: "UluCollapsible",
|
|
1733
1733
|
props: {
|
|
1734
1734
|
/**
|
|
@@ -1783,50 +1783,50 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1783
1783
|
}), pe(() => t.animate, (A) => {
|
|
1784
1784
|
r(!!A);
|
|
1785
1785
|
});
|
|
1786
|
-
const
|
|
1786
|
+
const a = S(() => t.modelValue !== void 0), u = E(t.startOpen), i = S({
|
|
1787
1787
|
get() {
|
|
1788
|
-
return
|
|
1788
|
+
return a.value ? t.modelValue : u.value;
|
|
1789
1789
|
},
|
|
1790
1790
|
set(A) {
|
|
1791
|
-
|
|
1791
|
+
a.value ? n("update:modelValue", A) : u.value = A;
|
|
1792
1792
|
}
|
|
1793
1793
|
}), d = E(Q("ulu-collapsible-trigger")), v = E(Q("ulu-collapsible-content"));
|
|
1794
1794
|
function y() {
|
|
1795
|
-
|
|
1795
|
+
i.value = !i.value;
|
|
1796
1796
|
}
|
|
1797
1797
|
function w() {
|
|
1798
|
-
t.closeOnEscape &&
|
|
1798
|
+
t.closeOnEscape && i.value && (i.value = !1);
|
|
1799
1799
|
}
|
|
1800
|
-
return (A, T) => (
|
|
1800
|
+
return (A, T) => (c(), f("div", {
|
|
1801
1801
|
ref_key: "container",
|
|
1802
1802
|
ref: o,
|
|
1803
1803
|
onKeydown: Ls(w, ["esc"]),
|
|
1804
|
-
class: m([e.classes.container,
|
|
1804
|
+
class: m([e.classes.container, i.value ? e.classes.containerOpen : e.classes.containerClosed])
|
|
1805
1805
|
}, [
|
|
1806
1806
|
h("button", {
|
|
1807
1807
|
class: m(e.classes.trigger),
|
|
1808
1808
|
id: d.value,
|
|
1809
1809
|
"aria-controls": v.value,
|
|
1810
|
-
"aria-expanded":
|
|
1810
|
+
"aria-expanded": i.value,
|
|
1811
1811
|
onClick: y
|
|
1812
1812
|
}, [
|
|
1813
|
-
g(A.$slots, "trigger", { isOpen:
|
|
1813
|
+
g(A.$slots, "trigger", { isOpen: i.value }, () => [
|
|
1814
1814
|
C(b(e.triggerText), 1)
|
|
1815
1815
|
])
|
|
1816
1816
|
], 10, rl),
|
|
1817
|
-
|
|
1817
|
+
i.value ? (c(), f("div", {
|
|
1818
1818
|
key: 0,
|
|
1819
1819
|
class: m(e.classes.content),
|
|
1820
1820
|
tabindex: "-1",
|
|
1821
1821
|
id: v.value,
|
|
1822
|
-
"aria-hidden": !
|
|
1822
|
+
"aria-hidden": !i.value,
|
|
1823
1823
|
"aria-labelledby": d.value
|
|
1824
1824
|
}, [
|
|
1825
1825
|
g(A.$slots, "default", {
|
|
1826
|
-
isOpen:
|
|
1826
|
+
isOpen: i.value,
|
|
1827
1827
|
toggle: y
|
|
1828
1828
|
})
|
|
1829
|
-
], 10,
|
|
1829
|
+
], 10, al)) : p("", !0)
|
|
1830
1830
|
], 34));
|
|
1831
1831
|
}
|
|
1832
1832
|
}, ms = {
|
|
@@ -1885,41 +1885,41 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1885
1885
|
},
|
|
1886
1886
|
emits: ["update:modelValue"],
|
|
1887
1887
|
setup(e, { emit: s }) {
|
|
1888
|
-
const t = e, { resolvedModifiers: n } =
|
|
1888
|
+
const t = e, { resolvedModifiers: n } = ce({ props: t, baseClass: "accordion" }), l = S(() => {
|
|
1889
1889
|
const o = { ...t.classes };
|
|
1890
1890
|
return o.container = [o.container, n.value], o;
|
|
1891
1891
|
});
|
|
1892
|
-
return (o, r) => (
|
|
1892
|
+
return (o, r) => (c(), _(Lt, {
|
|
1893
1893
|
"model-value": e.modelValue,
|
|
1894
1894
|
"start-open": e.startOpen,
|
|
1895
1895
|
"trigger-text": e.triggerText,
|
|
1896
1896
|
classes: l.value,
|
|
1897
1897
|
animate: e.animate,
|
|
1898
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
1898
|
+
"onUpdate:modelValue": r[0] || (r[0] = (a) => o.$emit("update:modelValue", a))
|
|
1899
1899
|
}, {
|
|
1900
|
-
trigger: k(({ isOpen:
|
|
1901
|
-
g(o.$slots, "trigger", { isOpen:
|
|
1902
|
-
(
|
|
1900
|
+
trigger: k(({ isOpen: a }) => [
|
|
1901
|
+
g(o.$slots, "trigger", { isOpen: a }, () => [
|
|
1902
|
+
(c(), _(F(e.triggerTextElement), null, {
|
|
1903
1903
|
default: k(() => [
|
|
1904
1904
|
C(b(e.triggerText), 1)
|
|
1905
1905
|
]),
|
|
1906
1906
|
_: 1
|
|
1907
1907
|
}))
|
|
1908
1908
|
]),
|
|
1909
|
-
g(o.$slots, "icon", { isOpen:
|
|
1909
|
+
g(o.$slots, "icon", { isOpen: a }, () => [
|
|
1910
1910
|
h("span", {
|
|
1911
1911
|
class: m(["accordion__icon", e.classes.icon])
|
|
1912
1912
|
}, [
|
|
1913
1913
|
O(D, {
|
|
1914
|
-
icon:
|
|
1914
|
+
icon: a ? "type:collapse" : "type:expand",
|
|
1915
1915
|
style: { display: "inline" }
|
|
1916
1916
|
}, null, 8, ["icon"])
|
|
1917
1917
|
], 2)
|
|
1918
1918
|
])
|
|
1919
1919
|
]),
|
|
1920
|
-
default: k(({ isOpen:
|
|
1920
|
+
default: k(({ isOpen: a, toggle: u }) => [
|
|
1921
1921
|
g(o.$slots, "default", {
|
|
1922
|
-
isOpen:
|
|
1922
|
+
isOpen: a,
|
|
1923
1923
|
toggle: u
|
|
1924
1924
|
})
|
|
1925
1925
|
]),
|
|
@@ -1956,8 +1956,8 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1956
1956
|
modifiers: [String, Array]
|
|
1957
1957
|
},
|
|
1958
1958
|
setup(e) {
|
|
1959
|
-
const s = e, { resolvedModifiers: t } =
|
|
1960
|
-
return (n, l) => (
|
|
1959
|
+
const s = e, { resolvedModifiers: t } = ce({ props: s, baseClass: "tag" });
|
|
1960
|
+
return (n, l) => (c(), f("span", {
|
|
1961
1961
|
class: m(["tag", [
|
|
1962
1962
|
{
|
|
1963
1963
|
"tag--counter": e.counter,
|
|
@@ -1967,7 +1967,7 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1967
1967
|
$(t)
|
|
1968
1968
|
]])
|
|
1969
1969
|
}, [
|
|
1970
|
-
e.icon ? (
|
|
1970
|
+
e.icon ? (c(), _(D, {
|
|
1971
1971
|
key: 0,
|
|
1972
1972
|
icon: e.icon,
|
|
1973
1973
|
spaced: ""
|
|
@@ -1977,7 +1977,7 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1977
1977
|
])
|
|
1978
1978
|
], 2));
|
|
1979
1979
|
}
|
|
1980
|
-
},
|
|
1980
|
+
}, il = {
|
|
1981
1981
|
name: "UluMenu",
|
|
1982
1982
|
components: {
|
|
1983
1983
|
UluIcon: D,
|
|
@@ -2027,12 +2027,12 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
2027
2027
|
}
|
|
2028
2028
|
};
|
|
2029
2029
|
function cl(e, s, t, n, l, o) {
|
|
2030
|
-
const r = K("UluIcon"),
|
|
2031
|
-
return t.items?.length ? (
|
|
2030
|
+
const r = K("UluIcon"), a = K("UluTag"), u = K("UluMenu", !0), i = zs("ulu-tooltip");
|
|
2031
|
+
return t.items?.length ? (c(), f("ul", {
|
|
2032
2032
|
key: 0,
|
|
2033
2033
|
class: m(t.classes.list)
|
|
2034
2034
|
}, [
|
|
2035
|
-
(
|
|
2035
|
+
(c(!0), f(x, null, B(t.items, (d, v) => (c(), f("li", {
|
|
2036
2036
|
key: v,
|
|
2037
2037
|
class: m([
|
|
2038
2038
|
t.classes.item,
|
|
@@ -2041,7 +2041,7 @@ function cl(e, s, t, n, l, o) {
|
|
|
2041
2041
|
d.separatorAfter ? t.classes.itemSeparatorAfter : ""
|
|
2042
2042
|
])
|
|
2043
2043
|
}, [
|
|
2044
|
-
Fe((
|
|
2044
|
+
Fe((c(), _(F(d.to || d.path ? "router-link" : d.click ? "button" : "a"), ee({ ref_for: !0 }, {
|
|
2045
2045
|
...d.to || d.path ? {
|
|
2046
2046
|
to: d.to || d.path,
|
|
2047
2047
|
activeClass: t.classes.linkActive || null,
|
|
@@ -2061,7 +2061,7 @@ function cl(e, s, t, n, l, o) {
|
|
|
2061
2061
|
item: d,
|
|
2062
2062
|
index: v
|
|
2063
2063
|
}, () => [
|
|
2064
|
-
d.icon ? (
|
|
2064
|
+
d.icon ? (c(), _(r, {
|
|
2065
2065
|
key: 0,
|
|
2066
2066
|
icon: d.icon,
|
|
2067
2067
|
class: m([t.classes.linkIcon, d?.classes?.linkIcon])
|
|
@@ -2069,7 +2069,7 @@ function cl(e, s, t, n, l, o) {
|
|
|
2069
2069
|
h("span", {
|
|
2070
2070
|
class: m([t.classes.linkText, d?.classes?.linkText])
|
|
2071
2071
|
}, b(d.title), 3),
|
|
2072
|
-
d.tag ? (
|
|
2072
|
+
d.tag ? (c(), _(a, ee({
|
|
2073
2073
|
key: 1,
|
|
2074
2074
|
ref_for: !0
|
|
2075
2075
|
}, d.tag), null, 16)) : p("", !0)
|
|
@@ -2077,9 +2077,9 @@ function cl(e, s, t, n, l, o) {
|
|
|
2077
2077
|
]),
|
|
2078
2078
|
_: 2
|
|
2079
2079
|
}, 1040, ["onClick", "class", "aria-label", "id"])), [
|
|
2080
|
-
[
|
|
2080
|
+
[i, t.iconOnly ? d.title : d.tooltip || null]
|
|
2081
2081
|
]),
|
|
2082
|
-
!t.noChildren && d?.children?.length ? (
|
|
2082
|
+
!t.noChildren && d?.children?.length ? (c(), _(u, {
|
|
2083
2083
|
key: 0,
|
|
2084
2084
|
iconOnly: t.iconOnly,
|
|
2085
2085
|
classes: t.classes,
|
|
@@ -2088,7 +2088,7 @@ function cl(e, s, t, n, l, o) {
|
|
|
2088
2088
|
], 2))), 128))
|
|
2089
2089
|
], 2)) : p("", !0);
|
|
2090
2090
|
}
|
|
2091
|
-
const ln = /* @__PURE__ */ j(
|
|
2091
|
+
const ln = /* @__PURE__ */ j(il, [["render", cl]]), ul = {
|
|
2092
2092
|
__name: "UluMenuStack",
|
|
2093
2093
|
props: {
|
|
2094
2094
|
/**
|
|
@@ -2123,12 +2123,12 @@ const ln = /* @__PURE__ */ j(al, [["render", cl]]), ul = {
|
|
|
2123
2123
|
const s = e, t = S(() => ({
|
|
2124
2124
|
hanging: s.hanging,
|
|
2125
2125
|
compact: s.compact
|
|
2126
|
-
})), { resolvedModifiers: n } =
|
|
2126
|
+
})), { resolvedModifiers: n } = ce({
|
|
2127
2127
|
props: s,
|
|
2128
2128
|
internal: t,
|
|
2129
2129
|
baseClass: "menu-stack"
|
|
2130
2130
|
});
|
|
2131
|
-
return (l, o) => (
|
|
2131
|
+
return (l, o) => (c(), _(F(e.containerElement), {
|
|
2132
2132
|
class: m(["menu-stack", $(n)])
|
|
2133
2133
|
}, {
|
|
2134
2134
|
default: k(() => [
|
|
@@ -2171,7 +2171,7 @@ const ln = /* @__PURE__ */ j(al, [["render", cl]]), ul = {
|
|
|
2171
2171
|
}
|
|
2172
2172
|
},
|
|
2173
2173
|
setup(e) {
|
|
2174
|
-
return (s, t) => (
|
|
2174
|
+
return (s, t) => (c(), _(pt, { classes: e.popoverClasses }, {
|
|
2175
2175
|
trigger: k(({ isOpen: n }) => [
|
|
2176
2176
|
g(s.$slots, "trigger", { isOpen: n }, () => [
|
|
2177
2177
|
h("span", null, b(e.triggerText), 1),
|
|
@@ -2216,24 +2216,24 @@ function fl() {
|
|
|
2216
2216
|
}
|
|
2217
2217
|
};
|
|
2218
2218
|
}
|
|
2219
|
-
function
|
|
2219
|
+
function ih(e, s) {
|
|
2220
2220
|
const t = qs(), n = Zn(), l = S(() => {
|
|
2221
|
-
const
|
|
2222
|
-
return isNaN(
|
|
2221
|
+
const i = parseInt(t.query.page || "1", 10);
|
|
2222
|
+
return isNaN(i) || i < 1 ? 1 : i;
|
|
2223
2223
|
}), o = S(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / s));
|
|
2224
|
-
pe(o, (
|
|
2225
|
-
l.value >
|
|
2224
|
+
pe(o, (i) => {
|
|
2225
|
+
l.value > i && n.push({ query: { ...t.query, page: i } });
|
|
2226
2226
|
});
|
|
2227
2227
|
const r = S(() => {
|
|
2228
|
-
const
|
|
2229
|
-
return e.value.slice(
|
|
2230
|
-
}),
|
|
2228
|
+
const i = (l.value - 1) * s, d = i + s;
|
|
2229
|
+
return e.value.slice(i, d);
|
|
2230
|
+
}), a = S(() => {
|
|
2231
2231
|
if (o.value <= 1)
|
|
2232
2232
|
return null;
|
|
2233
|
-
const
|
|
2233
|
+
const i = {
|
|
2234
2234
|
pages: {}
|
|
2235
2235
|
}, d = l.value, v = o.value, y = 5, w = (R) => ({ query: { ...t.query, page: R } });
|
|
2236
|
-
d > 1 && (
|
|
2236
|
+
d > 1 && (i.first = { href: w(1) }, i.previous = { href: w(d - 1) }), d < v && (i.next = { href: w(d + 1) }, i.last = { href: w(v) });
|
|
2237
2237
|
let A, T;
|
|
2238
2238
|
if (v <= y)
|
|
2239
2239
|
A = 1, T = v;
|
|
@@ -2242,21 +2242,21 @@ function ch(e, s) {
|
|
|
2242
2242
|
d <= R ? (A = 1, T = y) : d + G >= v ? (A = v - y + 1, T = v) : (A = d - R, T = d + G);
|
|
2243
2243
|
}
|
|
2244
2244
|
for (let R = A; R <= T; R++)
|
|
2245
|
-
|
|
2246
|
-
return
|
|
2245
|
+
i.pages[R] = { href: w(R) };
|
|
2246
|
+
return i;
|
|
2247
2247
|
}), u = S(() => {
|
|
2248
|
-
const
|
|
2249
|
-
if (!
|
|
2250
|
-
const d = Object.keys(
|
|
2251
|
-
if (d.length === 0) return
|
|
2248
|
+
const i = { previous: !1, next: !1 };
|
|
2249
|
+
if (!a.value || !a.value.pages) return i;
|
|
2250
|
+
const d = Object.keys(a.value.pages).map(Number);
|
|
2251
|
+
if (d.length === 0) return i;
|
|
2252
2252
|
const v = Math.min(...d), y = Math.max(...d);
|
|
2253
|
-
return v > 1 && (
|
|
2253
|
+
return v > 1 && (i.previous = !0), y < o.value && (i.next = !0), i;
|
|
2254
2254
|
});
|
|
2255
2255
|
return {
|
|
2256
2256
|
currentPage: l,
|
|
2257
2257
|
totalPages: o,
|
|
2258
2258
|
paginatedItems: r,
|
|
2259
|
-
pagerItems:
|
|
2259
|
+
pagerItems: a,
|
|
2260
2260
|
pagerEllipses: u
|
|
2261
2261
|
};
|
|
2262
2262
|
}
|
|
@@ -2307,14 +2307,14 @@ function St(e, s) {
|
|
|
2307
2307
|
}
|
|
2308
2308
|
function pl(e, s) {
|
|
2309
2309
|
const n = Object.assign({}, {
|
|
2310
|
-
qualifier(r,
|
|
2311
|
-
return
|
|
2310
|
+
qualifier(r, a) {
|
|
2311
|
+
return a ? ts(r) : rn(r);
|
|
2312
2312
|
},
|
|
2313
2313
|
sort: ns,
|
|
2314
2314
|
item: {},
|
|
2315
2315
|
includeChildren: !1
|
|
2316
|
-
}, s), l = (r,
|
|
2317
|
-
const
|
|
2316
|
+
}, s), l = (r, a) => a ? `${a}/${r.path}` : r.path, o = (r, a = null) => r.filter((u) => n.qualifier(u, a)).map((u) => {
|
|
2317
|
+
const i = u.children ? es(u.children) : u, d = u.children ? u.children.filter((y) => y.path !== "") : !1, v = kt(i, l(u, a), n.item);
|
|
2318
2318
|
return n.includeChildren && d.length && (v.children = o(d, v.path)), v;
|
|
2319
2319
|
}).sort(n.sort);
|
|
2320
2320
|
return o(e);
|
|
@@ -2335,15 +2335,15 @@ function _l(e, s, t) {
|
|
|
2335
2335
|
includeIndex: !1,
|
|
2336
2336
|
item: {},
|
|
2337
2337
|
sort: ns
|
|
2338
|
-
}, t), o = e.find((
|
|
2339
|
-
if (
|
|
2340
|
-
const y =
|
|
2338
|
+
}, t), o = e.find((i) => i.path !== "/" && s.includes(i.path)), r = (i, d, v) => {
|
|
2339
|
+
if (i.children) {
|
|
2340
|
+
const y = i.children.find((w) => w.path.includes(s));
|
|
2341
2341
|
if (y)
|
|
2342
|
-
return r(y,
|
|
2342
|
+
return r(y, i, v + y.path);
|
|
2343
2343
|
}
|
|
2344
2344
|
return { route: d, path: v };
|
|
2345
|
-
}, { route:
|
|
2346
|
-
return
|
|
2345
|
+
}, { route: a, path: u } = r(o, o, o.path);
|
|
2346
|
+
return a.children ? a.children.filter(cn(l.includeIndex)).map((i) => kt(i, `${u}/${i.path}`, l.item)).sort(l.sort) : (console.warn("Unable to build menu for:", s), []);
|
|
2347
2347
|
}
|
|
2348
2348
|
function es(e) {
|
|
2349
2349
|
return e.find((s) => s.path === "");
|
|
@@ -2355,13 +2355,13 @@ function kt(e, s = e.path, t) {
|
|
|
2355
2355
|
}, t);
|
|
2356
2356
|
let o = Object.assign({}, e.meta);
|
|
2357
2357
|
l.indexMeta && e.children && (o = Object.assign({}, o, es(e.children)?.meta));
|
|
2358
|
-
const r = { ...e, meta: o },
|
|
2358
|
+
const r = { ...e, meta: o }, a = {
|
|
2359
2359
|
path: s,
|
|
2360
2360
|
title: St(r, e) || "Missing Title",
|
|
2361
2361
|
weight: o?.weight || 0,
|
|
2362
2362
|
meta: o
|
|
2363
2363
|
};
|
|
2364
|
-
return l.modify && l.modify(
|
|
2364
|
+
return l.modify && l.modify(a, e), a;
|
|
2365
2365
|
}
|
|
2366
2366
|
function ts(e) {
|
|
2367
2367
|
return !e.path.includes("/:");
|
|
@@ -2402,12 +2402,12 @@ function Sl(e, s) {
|
|
|
2402
2402
|
function kl(e) {
|
|
2403
2403
|
const { matched: s, path: t } = e;
|
|
2404
2404
|
let n;
|
|
2405
|
-
return s.reduce((o, r,
|
|
2405
|
+
return s.reduce((o, r, a) => {
|
|
2406
2406
|
if (r.meta?.breadcrumb === !1 || r.path === n)
|
|
2407
2407
|
return o;
|
|
2408
|
-
const u =
|
|
2408
|
+
const u = a === s.length - 1, i = St(r, e) || "Missing Title";
|
|
2409
2409
|
return o.push({
|
|
2410
|
-
title:
|
|
2410
|
+
title: i,
|
|
2411
2411
|
to: { path: u ? t : r.path },
|
|
2412
2412
|
current: u
|
|
2413
2413
|
}), n = r.path, o;
|
|
@@ -2429,7 +2429,7 @@ const $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2429
2429
|
isStaticRoute: ts,
|
|
2430
2430
|
nativeLinkRouter: wl
|
|
2431
2431
|
}, Symbol.toStringTag, { value: "Module" })), Rt = ht({});
|
|
2432
|
-
function
|
|
2432
|
+
function ch(e = {}) {
|
|
2433
2433
|
const {
|
|
2434
2434
|
title: s,
|
|
2435
2435
|
titleTemplate: t = "%s",
|
|
@@ -2444,15 +2444,15 @@ function uh(e = {}) {
|
|
|
2444
2444
|
});
|
|
2445
2445
|
return;
|
|
2446
2446
|
}
|
|
2447
|
-
const
|
|
2448
|
-
const u = Rt[o.path],
|
|
2447
|
+
const a = S(() => {
|
|
2448
|
+
const u = Rt[o.path], i = St(o, o), d = u || i;
|
|
2449
2449
|
return d ? t.replace("%s", d) : "App";
|
|
2450
2450
|
});
|
|
2451
2451
|
l({
|
|
2452
|
-
title:
|
|
2452
|
+
title: a
|
|
2453
2453
|
});
|
|
2454
2454
|
}
|
|
2455
|
-
const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
2455
|
+
const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" }, uh = {
|
|
2456
2456
|
__name: "UluOverflowPopover",
|
|
2457
2457
|
props: {
|
|
2458
2458
|
/**
|
|
@@ -2463,19 +2463,19 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2463
2463
|
setup(e) {
|
|
2464
2464
|
const { resizing: s, onResizeEnd: t } = fl(), n = E(null), l = E(!1), o = () => {
|
|
2465
2465
|
Vs(() => {
|
|
2466
|
-
const
|
|
2467
|
-
l.value =
|
|
2466
|
+
const a = n.value;
|
|
2467
|
+
l.value = a.offsetWidth < a.scrollWidth;
|
|
2468
2468
|
});
|
|
2469
2469
|
}, r = t(o);
|
|
2470
|
-
return yt(o), Ws(r), (
|
|
2470
|
+
return yt(o), Ws(r), (a, u) => (c(), f("div", Cl, [
|
|
2471
2471
|
h("div", {
|
|
2472
2472
|
class: "type-truncate",
|
|
2473
2473
|
ref_key: "text",
|
|
2474
2474
|
ref: n
|
|
2475
2475
|
}, [
|
|
2476
|
-
g(
|
|
2476
|
+
g(a.$slots, "default")
|
|
2477
2477
|
], 512),
|
|
2478
|
-
l.value && !$(s) ? (
|
|
2478
|
+
l.value && !$(s) ? (c(), _(pt, {
|
|
2479
2479
|
key: 0,
|
|
2480
2480
|
triggerAlt: "Show Full Text",
|
|
2481
2481
|
size: "large"
|
|
@@ -2487,24 +2487,24 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2487
2487
|
]),
|
|
2488
2488
|
default: k(() => [
|
|
2489
2489
|
h("div", Tl, [
|
|
2490
|
-
g(
|
|
2490
|
+
g(a.$slots, "default")
|
|
2491
2491
|
])
|
|
2492
2492
|
]),
|
|
2493
2493
|
_: 3
|
|
2494
2494
|
})) : p("", !0)
|
|
2495
2495
|
]));
|
|
2496
2496
|
}
|
|
2497
|
-
},
|
|
2497
|
+
}, dh = {
|
|
2498
2498
|
__name: "UluTab",
|
|
2499
2499
|
setup(e) {
|
|
2500
|
-
return (s, t) => (
|
|
2500
|
+
return (s, t) => (c(), _($(eo), null, {
|
|
2501
2501
|
default: k((n) => [
|
|
2502
|
-
g(s.$slots, "default",
|
|
2502
|
+
g(s.$slots, "default", ie(me(n)))
|
|
2503
2503
|
]),
|
|
2504
2504
|
_: 3
|
|
2505
2505
|
}));
|
|
2506
2506
|
}
|
|
2507
|
-
},
|
|
2507
|
+
}, fh = /* @__PURE__ */ Object.assign({
|
|
2508
2508
|
inheritAttrs: !1
|
|
2509
2509
|
}, {
|
|
2510
2510
|
__name: "UluTabGroup",
|
|
@@ -2519,7 +2519,7 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2519
2519
|
vertical: Boolean
|
|
2520
2520
|
},
|
|
2521
2521
|
setup(e) {
|
|
2522
|
-
return (s, t) => (
|
|
2522
|
+
return (s, t) => (c(), _($(to), {
|
|
2523
2523
|
defaultIndex: e.defaultIndex,
|
|
2524
2524
|
vertical: e.vertical
|
|
2525
2525
|
}, {
|
|
@@ -2529,38 +2529,38 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2529
2529
|
"tabs--vertical": e.vertical
|
|
2530
2530
|
}])
|
|
2531
2531
|
}, [
|
|
2532
|
-
g(s.$slots, "default",
|
|
2532
|
+
g(s.$slots, "default", ie(me(n)))
|
|
2533
2533
|
], 2)
|
|
2534
2534
|
]),
|
|
2535
2535
|
_: 3
|
|
2536
2536
|
}, 8, ["defaultIndex", "vertical"]));
|
|
2537
2537
|
}
|
|
2538
|
-
}),
|
|
2538
|
+
}), hh = {
|
|
2539
2539
|
__name: "UluTabList",
|
|
2540
2540
|
setup(e) {
|
|
2541
|
-
return (s, t) => (
|
|
2541
|
+
return (s, t) => (c(), _($(so), { class: "tabs__tablist" }, {
|
|
2542
2542
|
default: k(() => [
|
|
2543
2543
|
g(s.$slots, "default")
|
|
2544
2544
|
]),
|
|
2545
2545
|
_: 3
|
|
2546
2546
|
}));
|
|
2547
2547
|
}
|
|
2548
|
-
},
|
|
2548
|
+
}, mh = {
|
|
2549
2549
|
__name: "UluTabPanel",
|
|
2550
2550
|
setup(e) {
|
|
2551
|
-
return (s, t) => (
|
|
2551
|
+
return (s, t) => (c(), _($(no), null, {
|
|
2552
2552
|
default: k((n) => [
|
|
2553
|
-
g(s.$slots, "default",
|
|
2553
|
+
g(s.$slots, "default", ie(me(n)))
|
|
2554
2554
|
]),
|
|
2555
2555
|
_: 3
|
|
2556
2556
|
}));
|
|
2557
2557
|
}
|
|
2558
|
-
},
|
|
2558
|
+
}, gh = {
|
|
2559
2559
|
__name: "UluTabPanels",
|
|
2560
2560
|
setup(e) {
|
|
2561
|
-
return (s, t) => (
|
|
2561
|
+
return (s, t) => (c(), _($(oo), null, {
|
|
2562
2562
|
default: k((n) => [
|
|
2563
|
-
g(s.$slots, "default",
|
|
2563
|
+
g(s.$slots, "default", ie(me(n)))
|
|
2564
2564
|
]),
|
|
2565
2565
|
_: 3
|
|
2566
2566
|
}));
|
|
@@ -2646,7 +2646,7 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2646
2646
|
modifiers: [String, Array]
|
|
2647
2647
|
},
|
|
2648
2648
|
setup(e) {
|
|
2649
|
-
const { resolvedModifiers: s } =
|
|
2649
|
+
const { resolvedModifiers: s } = ce({ props: e, baseClass: "button" });
|
|
2650
2650
|
return { resolvedModifiers: s };
|
|
2651
2651
|
},
|
|
2652
2652
|
computed: {
|
|
@@ -2669,7 +2669,7 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2669
2669
|
}, Ol = { key: 1 };
|
|
2670
2670
|
function xl(e, s, t, n, l, o) {
|
|
2671
2671
|
const r = K("UluIcon");
|
|
2672
|
-
return
|
|
2672
|
+
return c(), _(F(o.element), ee({
|
|
2673
2673
|
class: ["button", [
|
|
2674
2674
|
{
|
|
2675
2675
|
"button--transparent": t.transparent,
|
|
@@ -2687,17 +2687,17 @@ function xl(e, s, t, n, l, o) {
|
|
|
2687
2687
|
}, o.attrs, { "aria-label": o.resolvedAriaLabel }), {
|
|
2688
2688
|
default: k(() => [
|
|
2689
2689
|
g(e.$slots, "before"),
|
|
2690
|
-
t.icon && (t.iconBefore || t.iconOnly) ? (
|
|
2690
|
+
t.icon && (t.iconBefore || t.iconOnly) ? (c(), _(r, {
|
|
2691
2691
|
key: 0,
|
|
2692
2692
|
icon: t.icon,
|
|
2693
2693
|
class: "button__icon"
|
|
2694
2694
|
}, null, 8, ["icon"])) : p("", !0),
|
|
2695
|
-
(e.$slots.default || t.text) && !t.iconOnly ? (
|
|
2695
|
+
(e.$slots.default || t.text) && !t.iconOnly ? (c(), f("span", Ol, [
|
|
2696
2696
|
g(e.$slots, "default", {}, () => [
|
|
2697
2697
|
C(b(t.text), 1)
|
|
2698
2698
|
])
|
|
2699
2699
|
])) : p("", !0),
|
|
2700
|
-
t.icon && !t.iconBefore && !t.iconOnly ? (
|
|
2700
|
+
t.icon && !t.iconBefore && !t.iconOnly ? (c(), _(r, {
|
|
2701
2701
|
key: 2,
|
|
2702
2702
|
icon: t.icon,
|
|
2703
2703
|
class: "button__icon"
|
|
@@ -2743,7 +2743,7 @@ const Ul = /* @__PURE__ */ j(Al, [["render", xl]]), Bl = {
|
|
|
2743
2743
|
modifiers: [String, Array]
|
|
2744
2744
|
},
|
|
2745
2745
|
setup(e) {
|
|
2746
|
-
const { resolvedModifiers: s } =
|
|
2746
|
+
const { resolvedModifiers: s } = ce({
|
|
2747
2747
|
props: e,
|
|
2748
2748
|
baseClass: "callout",
|
|
2749
2749
|
internal: S(() => ({
|
|
@@ -2759,7 +2759,7 @@ const Ul = /* @__PURE__ */ j(Al, [["render", xl]]), Bl = {
|
|
|
2759
2759
|
};
|
|
2760
2760
|
function Il(e, s, t, n, l, o) {
|
|
2761
2761
|
const r = K("UluIcon");
|
|
2762
|
-
return
|
|
2762
|
+
return c(), f("div", {
|
|
2763
2763
|
class: m(["callout", n.resolvedModifiers])
|
|
2764
2764
|
}, [
|
|
2765
2765
|
h("div", Rl, [
|
|
@@ -2779,13 +2779,13 @@ function Il(e, s, t, n, l, o) {
|
|
|
2779
2779
|
])
|
|
2780
2780
|
])
|
|
2781
2781
|
]),
|
|
2782
|
-
e.$slots.action ? (
|
|
2782
|
+
e.$slots.action ? (c(), f("div", jl, [
|
|
2783
2783
|
g(e.$slots, "action")
|
|
2784
2784
|
])) : p("", !0)
|
|
2785
2785
|
])
|
|
2786
2786
|
], 2);
|
|
2787
2787
|
}
|
|
2788
|
-
const
|
|
2788
|
+
const vh = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Fl = {
|
|
2789
2789
|
key: 2,
|
|
2790
2790
|
class: "hidden-visually"
|
|
2791
2791
|
}, Pl = {
|
|
@@ -2829,7 +2829,7 @@ const yh = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Fl = {
|
|
|
2829
2829
|
const { click: l, to: o, href: r } = s;
|
|
2830
2830
|
return l ? "button" : o ? Ye : r ? "a" : "span";
|
|
2831
2831
|
});
|
|
2832
|
-
return (l, o) => (
|
|
2832
|
+
return (l, o) => (c(), _(F(n.value), {
|
|
2833
2833
|
class: m(["badge", [
|
|
2834
2834
|
e.size ? `badge--${e.size}` : null,
|
|
2835
2835
|
e.type ? `badge--${e.type}` : null,
|
|
@@ -2843,17 +2843,17 @@ const yh = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Fl = {
|
|
|
2843
2843
|
h("span", {
|
|
2844
2844
|
class: m(["badge__inner", { "skeleton__background-color": e.skeleton }])
|
|
2845
2845
|
}, [
|
|
2846
|
-
e.text ? (
|
|
2846
|
+
e.text ? (c(), f("span", {
|
|
2847
2847
|
key: 0,
|
|
2848
2848
|
"aria-hidden": e.alt ? "true" : null
|
|
2849
2849
|
}, b(e.text), 9, Ml)) : g(l.$slots, "default", { key: 1 }),
|
|
2850
|
-
e.alt ? (
|
|
2850
|
+
e.alt ? (c(), f("span", Fl, b(e.alt), 1)) : p("", !0)
|
|
2851
2851
|
], 2)
|
|
2852
2852
|
]),
|
|
2853
2853
|
_: 3
|
|
2854
2854
|
}, 8, ["class", "to", "href", "onClick"]));
|
|
2855
2855
|
}
|
|
2856
|
-
}, zl = { class: "badge-stack" },
|
|
2856
|
+
}, zl = { class: "badge-stack" }, yh = {
|
|
2857
2857
|
__name: "UluBadgeStack",
|
|
2858
2858
|
props: {
|
|
2859
2859
|
/**
|
|
@@ -2862,8 +2862,8 @@ const yh = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Fl = {
|
|
|
2862
2862
|
items: Array
|
|
2863
2863
|
},
|
|
2864
2864
|
setup(e) {
|
|
2865
|
-
return (s, t) => (
|
|
2866
|
-
(
|
|
2865
|
+
return (s, t) => (c(), f("ul", zl, [
|
|
2866
|
+
(c(!0), f(x, null, B(e.items, (n, l) => (c(), f("li", {
|
|
2867
2867
|
class: "badge-stack__item",
|
|
2868
2868
|
key: l
|
|
2869
2869
|
}, [
|
|
@@ -2926,7 +2926,7 @@ const yh = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Fl = {
|
|
|
2926
2926
|
modifiers: [String, Array]
|
|
2927
2927
|
},
|
|
2928
2928
|
setup(e) {
|
|
2929
|
-
const { resolvedModifiers: s } =
|
|
2929
|
+
const { resolvedModifiers: s } = ce({ props: e, baseClass: "button-verbose" });
|
|
2930
2930
|
return { resolvedModifiers: s };
|
|
2931
2931
|
},
|
|
2932
2932
|
computed: {
|
|
@@ -2944,7 +2944,7 @@ const yh = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Fl = {
|
|
|
2944
2944
|
};
|
|
2945
2945
|
function Hl(e, s, t, n, l, o) {
|
|
2946
2946
|
const r = K("UluIcon");
|
|
2947
|
-
return
|
|
2947
|
+
return c(), _(F(o.element), ee({
|
|
2948
2948
|
class: ["button-verbose", [
|
|
2949
2949
|
{
|
|
2950
2950
|
"button-verbose--inline": t.inline,
|
|
@@ -2954,7 +2954,7 @@ function Hl(e, s, t, n, l, o) {
|
|
|
2954
2954
|
]]
|
|
2955
2955
|
}, o.attrs), {
|
|
2956
2956
|
default: k(() => [
|
|
2957
|
-
e.$slots.title || t.title ? (
|
|
2957
|
+
e.$slots.title || t.title ? (c(), _(F(t.titleElement), {
|
|
2958
2958
|
key: 0,
|
|
2959
2959
|
class: "button-verbose__title"
|
|
2960
2960
|
}, {
|
|
@@ -2965,12 +2965,12 @@ function Hl(e, s, t, n, l, o) {
|
|
|
2965
2965
|
]),
|
|
2966
2966
|
_: 3
|
|
2967
2967
|
})) : p("", !0),
|
|
2968
|
-
e.$slots.default || t.body ? (
|
|
2968
|
+
e.$slots.default || t.body ? (c(), f("span", Vl, [
|
|
2969
2969
|
g(e.$slots, "default", {}, () => [
|
|
2970
2970
|
C(b(t.body), 1)
|
|
2971
2971
|
])
|
|
2972
2972
|
])) : p("", !0),
|
|
2973
|
-
t.icon ? (
|
|
2973
|
+
t.icon ? (c(), _(r, {
|
|
2974
2974
|
key: 2,
|
|
2975
2975
|
icon: t.icon,
|
|
2976
2976
|
class: "button-verbose__icon",
|
|
@@ -2980,7 +2980,7 @@ function Hl(e, s, t, n, l, o) {
|
|
|
2980
2980
|
_: 3
|
|
2981
2981
|
}, 16, ["class"]);
|
|
2982
2982
|
}
|
|
2983
|
-
const
|
|
2983
|
+
const ph = /* @__PURE__ */ j(Ll, [["render", Hl]]), Nl = {
|
|
2984
2984
|
name: "UluCallout",
|
|
2985
2985
|
props: {
|
|
2986
2986
|
/**
|
|
@@ -2994,24 +2994,24 @@ const bh = /* @__PURE__ */ j(Ll, [["render", Hl]]), Nl = {
|
|
|
2994
2994
|
modifiers: [String, Array]
|
|
2995
2995
|
},
|
|
2996
2996
|
setup(e) {
|
|
2997
|
-
const { resolvedModifiers: s } =
|
|
2997
|
+
const { resolvedModifiers: s } = ce({ props: e, baseClass: "callout" });
|
|
2998
2998
|
return { resolvedModifiers: s };
|
|
2999
2999
|
}
|
|
3000
3000
|
};
|
|
3001
3001
|
function Dl(e, s, t, n, l, o) {
|
|
3002
|
-
return
|
|
3002
|
+
return c(), f("div", {
|
|
3003
3003
|
class: m(["callout", [n.resolvedModifiers, { "full-height": t.fullHeight }]])
|
|
3004
3004
|
}, [
|
|
3005
3005
|
g(e.$slots, "default")
|
|
3006
3006
|
], 2);
|
|
3007
3007
|
}
|
|
3008
|
-
const
|
|
3008
|
+
const bh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }, ql = { class: "card__main" }, Xl = ["href", "target"], Gl = {
|
|
3009
3009
|
key: 0,
|
|
3010
3010
|
class: "card__aside"
|
|
3011
3011
|
}, Yl = ["src", "alt"], Kl = {
|
|
3012
3012
|
key: 1,
|
|
3013
3013
|
class: "card__footer"
|
|
3014
|
-
},
|
|
3014
|
+
}, _h = {
|
|
3015
3015
|
__name: "UluCard",
|
|
3016
3016
|
props: {
|
|
3017
3017
|
/**
|
|
@@ -3118,7 +3118,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3118
3118
|
setup(e, { emit: s }) {
|
|
3119
3119
|
const t = e, n = s, l = Hs();
|
|
3120
3120
|
t.proxyClick && (t.to || t.href) && console.warn("UluCard: 'proxyClick' is ignored when 'to' or 'href' are present."), (t.titleTo || t.titleHref) && (t.to || t.href) && console.warn("UluCard: 'titleTo'/'titleHref' should not be used with 'to'/'href'.");
|
|
3121
|
-
const o = E(null), r = E(null), { resolvedModifiers:
|
|
3121
|
+
const o = E(null), r = E(null), { resolvedModifiers: a } = ce({ props: t, baseClass: "card" }), u = E(null), i = E(!1), d = S(() => t.proxyClick && !t.to && !t.href), v = S(() => d.value && (t.titleTo || t.titleHref)), y = S(() => d.value && !v.value), w = S(() => d.value || null), A = S(() => ({
|
|
3122
3122
|
selectorPrevent: "input, select, textarea, button, a, [tabindex='-1']",
|
|
3123
3123
|
mousedownDurationPrevent: 250,
|
|
3124
3124
|
...t.proxyClickOptions
|
|
@@ -3126,10 +3126,10 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3126
3126
|
function G({ target: P, timeStamp: Z }) {
|
|
3127
3127
|
if (!w.value) return;
|
|
3128
3128
|
const { selectorPrevent: we } = A.value;
|
|
3129
|
-
|
|
3129
|
+
i.value = !1, P.closest(we) || (i.value = !0, u.value = Z);
|
|
3130
3130
|
}
|
|
3131
3131
|
function se({ timeStamp: P }) {
|
|
3132
|
-
if (!w.value || !
|
|
3132
|
+
if (!w.value || !i.value) return;
|
|
3133
3133
|
const { mousedownDurationPrevent: Z } = A.value;
|
|
3134
3134
|
if (P - u.value < Z) {
|
|
3135
3135
|
if (v.value)
|
|
@@ -3139,9 +3139,9 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3139
3139
|
we ? we.click() : n("proxy-click");
|
|
3140
3140
|
}
|
|
3141
3141
|
}
|
|
3142
|
-
|
|
3142
|
+
i.value = !1;
|
|
3143
3143
|
}
|
|
3144
|
-
return (P, Z) => (
|
|
3144
|
+
return (P, Z) => (c(), _(F(R.value), {
|
|
3145
3145
|
ref_key: "cardRoot",
|
|
3146
3146
|
ref: o,
|
|
3147
3147
|
class: m(["card", [
|
|
@@ -3150,7 +3150,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3150
3150
|
"card--horizontal-center": e.horizontalCenter,
|
|
3151
3151
|
"card--overlay": e.overlay
|
|
3152
3152
|
},
|
|
3153
|
-
$(
|
|
3153
|
+
$(a)
|
|
3154
3154
|
]]),
|
|
3155
3155
|
onMousedown: G,
|
|
3156
3156
|
onMouseup: se,
|
|
@@ -3163,12 +3163,12 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3163
3163
|
default: k(() => [
|
|
3164
3164
|
h("div", Wl, [
|
|
3165
3165
|
h("div", ql, [
|
|
3166
|
-
e.title || $(l).title ? (
|
|
3166
|
+
e.title || $(l).title ? (c(), _(F(e.titleElement), {
|
|
3167
3167
|
key: 0,
|
|
3168
3168
|
class: m(["card__title", e.classes.title])
|
|
3169
3169
|
}, {
|
|
3170
3170
|
default: k(() => [
|
|
3171
|
-
e.titleTo ? (
|
|
3171
|
+
e.titleTo ? (c(), _($(Ye), {
|
|
3172
3172
|
key: 0,
|
|
3173
3173
|
class: "card__title-link",
|
|
3174
3174
|
to: e.titleTo,
|
|
@@ -3181,7 +3181,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3181
3181
|
])
|
|
3182
3182
|
]),
|
|
3183
3183
|
_: 3
|
|
3184
|
-
}, 8, ["to"])) : e.titleHref ? (
|
|
3184
|
+
}, 8, ["to"])) : e.titleHref ? (c(), f("a", {
|
|
3185
3185
|
key: 1,
|
|
3186
3186
|
class: "card__title-link",
|
|
3187
3187
|
href: e.titleHref,
|
|
@@ -3200,11 +3200,11 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3200
3200
|
}, 8, ["class"])) : p("", !0),
|
|
3201
3201
|
g(P.$slots, "body")
|
|
3202
3202
|
]),
|
|
3203
|
-
$(l).aside ? (
|
|
3203
|
+
$(l).aside ? (c(), f("div", Gl, [
|
|
3204
3204
|
g(P.$slots, "aside")
|
|
3205
3205
|
])) : p("", !0)
|
|
3206
3206
|
]),
|
|
3207
|
-
$(l).image || e.imageSrc ? (
|
|
3207
|
+
$(l).image || e.imageSrc ? (c(), f("div", {
|
|
3208
3208
|
key: 0,
|
|
3209
3209
|
class: m(["card__image", [
|
|
3210
3210
|
{ "card__image--icon": e.imageIcon },
|
|
@@ -3218,14 +3218,14 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3218
3218
|
}, null, 8, Yl)
|
|
3219
3219
|
])
|
|
3220
3220
|
], 2)) : p("", !0),
|
|
3221
|
-
$(l).footer ? (
|
|
3221
|
+
$(l).footer ? (c(), f("div", Kl, [
|
|
3222
3222
|
g(P.$slots, "footer")
|
|
3223
3223
|
])) : p("", !0)
|
|
3224
3224
|
]),
|
|
3225
3225
|
_: 3
|
|
3226
3226
|
}, 40, ["class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]));
|
|
3227
3227
|
}
|
|
3228
|
-
},
|
|
3228
|
+
}, wh = {
|
|
3229
3229
|
__name: "UluDefinitionList",
|
|
3230
3230
|
props: {
|
|
3231
3231
|
/**
|
|
@@ -3282,16 +3282,16 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3282
3282
|
"separated-first": s.separatedFirst,
|
|
3283
3283
|
"separated-last": s.separatedLast,
|
|
3284
3284
|
compact: s.compact
|
|
3285
|
-
})), { resolvedModifiers: n } =
|
|
3285
|
+
})), { resolvedModifiers: n } = ce({
|
|
3286
3286
|
props: s,
|
|
3287
3287
|
internal: t,
|
|
3288
3288
|
baseClass: "definition-list"
|
|
3289
3289
|
});
|
|
3290
|
-
return (l, o) => (
|
|
3290
|
+
return (l, o) => (c(), f("dl", {
|
|
3291
3291
|
class: m(["definition-list", [$(n), e.classes.list]])
|
|
3292
3292
|
}, [
|
|
3293
|
-
(
|
|
3294
|
-
key:
|
|
3293
|
+
(c(!0), f(x, null, B(e.items, (r, a) => (c(), f("div", {
|
|
3294
|
+
key: a,
|
|
3295
3295
|
class: m(e.classes.item)
|
|
3296
3296
|
}, [
|
|
3297
3297
|
h("dt", {
|
|
@@ -3299,7 +3299,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3299
3299
|
}, [
|
|
3300
3300
|
g(l.$slots, "term", {
|
|
3301
3301
|
item: r,
|
|
3302
|
-
index:
|
|
3302
|
+
index: a
|
|
3303
3303
|
}, () => [
|
|
3304
3304
|
C(b(r.term), 1)
|
|
3305
3305
|
])
|
|
@@ -3309,7 +3309,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3309
3309
|
}, [
|
|
3310
3310
|
g(l.$slots, "description", {
|
|
3311
3311
|
item: r,
|
|
3312
|
-
index:
|
|
3312
|
+
index: a
|
|
3313
3313
|
}, () => [
|
|
3314
3314
|
C(b(r.description), 1)
|
|
3315
3315
|
])
|
|
@@ -3317,7 +3317,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3317
3317
|
], 2))), 128))
|
|
3318
3318
|
], 2));
|
|
3319
3319
|
}
|
|
3320
|
-
}, Jl = ["href", "target"], Ql = { class: "external-link__text" },
|
|
3320
|
+
}, Jl = ["href", "target"], Ql = { class: "external-link__text" }, Sh = {
|
|
3321
3321
|
__name: "UluExternalLink",
|
|
3322
3322
|
props: {
|
|
3323
3323
|
/**
|
|
@@ -3341,7 +3341,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3341
3341
|
icon: String
|
|
3342
3342
|
},
|
|
3343
3343
|
setup(e) {
|
|
3344
|
-
return (s, t) => (
|
|
3344
|
+
return (s, t) => (c(), f("a", {
|
|
3345
3345
|
class: "external-link",
|
|
3346
3346
|
href: e.href,
|
|
3347
3347
|
target: e.target
|
|
@@ -3357,7 +3357,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3357
3357
|
}, null, 8, ["icon"])
|
|
3358
3358
|
], 8, Jl));
|
|
3359
3359
|
}
|
|
3360
|
-
},
|
|
3360
|
+
}, kh = {
|
|
3361
3361
|
__name: "UluList",
|
|
3362
3362
|
props: {
|
|
3363
3363
|
/**
|
|
@@ -3408,7 +3408,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3408
3408
|
},
|
|
3409
3409
|
setup(e) {
|
|
3410
3410
|
const s = e, t = S(() => s.ordered || s.forceOrdered ? "ol" : "ul");
|
|
3411
|
-
return (n, l) => (
|
|
3411
|
+
return (n, l) => (c(), _(F(t.value), {
|
|
3412
3412
|
class: m([
|
|
3413
3413
|
{
|
|
3414
3414
|
"list-ordered": e.ordered,
|
|
@@ -3425,7 +3425,7 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3425
3425
|
start: e.start
|
|
3426
3426
|
}, {
|
|
3427
3427
|
default: k(() => [
|
|
3428
|
-
(
|
|
3428
|
+
(c(!0), f(x, null, B(e.items, (o, r) => (c(), f("li", {
|
|
3429
3429
|
key: r,
|
|
3430
3430
|
class: m(e.classes.listItem)
|
|
3431
3431
|
}, [
|
|
@@ -3442,11 +3442,58 @@ const _h = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3442
3442
|
}
|
|
3443
3443
|
}, Zl = {}, er = { id: "main-content" };
|
|
3444
3444
|
function tr(e, s) {
|
|
3445
|
-
return
|
|
3445
|
+
return c(), f("main", er, [
|
|
3446
3446
|
g(e.$slots, "default")
|
|
3447
3447
|
]);
|
|
3448
3448
|
}
|
|
3449
|
-
const
|
|
3449
|
+
const $h = /* @__PURE__ */ j(Zl, [["render", tr]]), Ch = {
|
|
3450
|
+
__name: "UluRule",
|
|
3451
|
+
props: {
|
|
3452
|
+
/**
|
|
3453
|
+
* Whether to use the actual <hr> vs superficial <div></div> for rule element
|
|
3454
|
+
*/
|
|
3455
|
+
semantic: Boolean,
|
|
3456
|
+
/**
|
|
3457
|
+
* Use short modifier
|
|
3458
|
+
*/
|
|
3459
|
+
short: Boolean,
|
|
3460
|
+
/**
|
|
3461
|
+
* Optional margin (keyword from your rule margins config in frontend)
|
|
3462
|
+
*/
|
|
3463
|
+
margin: String,
|
|
3464
|
+
/**
|
|
3465
|
+
* Add light modifier (if set, usually exists, this is for convenience, use modifiers prop if you have custom naming)
|
|
3466
|
+
*/
|
|
3467
|
+
light: Boolean,
|
|
3468
|
+
/**
|
|
3469
|
+
* Add large modifier (if set, usually exists, this is for convenience, use modifiers prop if you have custom naming)
|
|
3470
|
+
*/
|
|
3471
|
+
large: Boolean,
|
|
3472
|
+
/**
|
|
3473
|
+
* Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
|
|
3474
|
+
*/
|
|
3475
|
+
modifiers: [String, Array]
|
|
3476
|
+
},
|
|
3477
|
+
setup(e) {
|
|
3478
|
+
const s = e, t = S(() => ({
|
|
3479
|
+
short: s.short,
|
|
3480
|
+
light: s.light,
|
|
3481
|
+
large: s.large,
|
|
3482
|
+
[`margin-${s.margin}`]: s.margin
|
|
3483
|
+
})), { resolvedModifiers: n } = ce({
|
|
3484
|
+
props: s,
|
|
3485
|
+
baseClass: "rule",
|
|
3486
|
+
internal: t
|
|
3487
|
+
});
|
|
3488
|
+
return (l, o) => e.semantic ? (c(), f("hr", {
|
|
3489
|
+
key: 0,
|
|
3490
|
+
class: m(["rule", $(n)])
|
|
3491
|
+
}, null, 2)) : (c(), f("div", {
|
|
3492
|
+
key: 1,
|
|
3493
|
+
class: m(["rule", $(n)])
|
|
3494
|
+
}, null, 2));
|
|
3495
|
+
}
|
|
3496
|
+
}, sr = { class: "spoke-spinner__spinner" }, Th = {
|
|
3450
3497
|
__name: "UluSpokeSpinner",
|
|
3451
3498
|
props: {
|
|
3452
3499
|
/**
|
|
@@ -3455,15 +3502,15 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3455
3502
|
type: String
|
|
3456
3503
|
},
|
|
3457
3504
|
setup(e) {
|
|
3458
|
-
return (s, t) => (
|
|
3505
|
+
return (s, t) => (c(), f("div", {
|
|
3459
3506
|
class: m(["spoke-spinner", { [`spoke-spinner--${e.type}`]: e.type }])
|
|
3460
3507
|
}, [
|
|
3461
3508
|
h("div", sr, [
|
|
3462
|
-
(
|
|
3509
|
+
(c(), f(x, null, B(12, (n) => h("div", { key: n })), 64))
|
|
3463
3510
|
])
|
|
3464
3511
|
], 2));
|
|
3465
3512
|
}
|
|
3466
|
-
}, nr = ["role", "aria-labelledby"], or = ["id"], lr = { class: "menu-stack__list" }, rr = { class: "menu-stack__selectable" },
|
|
3513
|
+
}, nr = ["role", "aria-labelledby"], or = ["id"], lr = { class: "menu-stack__list" }, rr = { class: "menu-stack__selectable" }, ar = ["type", "id", "name", "value", "checked", "onChange"], ir = ["for"], un = {
|
|
3467
3514
|
__name: "UluSelectableMenu",
|
|
3468
3515
|
props: {
|
|
3469
3516
|
/**
|
|
@@ -3496,7 +3543,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3496
3543
|
},
|
|
3497
3544
|
emits: ["update:modelValue"],
|
|
3498
3545
|
setup(e, { emit: s }) {
|
|
3499
|
-
const t = e, n = s, l = S(() => t.legend ? t.legend.toLowerCase().replace(/\s+/g, "-") : `menu-${Math.random().toString(36).substring(7)}`), o = S(() => l.value ? `${l.value}-legend` : null), r = S(() => t.type === "radio" ? "radiogroup" : "group"),
|
|
3546
|
+
const t = e, n = s, l = S(() => t.legend ? t.legend.toLowerCase().replace(/\s+/g, "-") : `menu-${Math.random().toString(36).substring(7)}`), o = S(() => l.value ? `${l.value}-legend` : null), r = S(() => t.type === "radio" ? "radiogroup" : "group"), a = (d) => `${l.value}-${d.uid}`, u = (d) => t.type === "radio" ? t.modelValue === d.uid : Array.isArray(t.modelValue) ? t.modelValue.includes(d.uid) : t.type === "checkbox" && d.checked || !1, i = (d, v) => {
|
|
3500
3547
|
if (t.type === "radio")
|
|
3501
3548
|
n("update:modelValue", d.uid);
|
|
3502
3549
|
else if (Array.isArray(t.modelValue)) {
|
|
@@ -3505,7 +3552,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3505
3552
|
} else
|
|
3506
3553
|
d.checked = v.target.checked;
|
|
3507
3554
|
};
|
|
3508
|
-
return (d, v) => (
|
|
3555
|
+
return (d, v) => (c(), f("div", {
|
|
3509
3556
|
class: m(["menu-stack form-theme", {
|
|
3510
3557
|
"menu-stack--hide-inputs": e.hideInputs,
|
|
3511
3558
|
"menu-stack--compact": e.compact
|
|
@@ -3513,32 +3560,32 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3513
3560
|
role: r.value,
|
|
3514
3561
|
"aria-labelledby": o.value
|
|
3515
3562
|
}, [
|
|
3516
|
-
e.legend ? (
|
|
3563
|
+
e.legend ? (c(), f("div", {
|
|
3517
3564
|
key: 0,
|
|
3518
3565
|
id: o.value,
|
|
3519
3566
|
class: "hidden-visually"
|
|
3520
3567
|
}, b(e.legend), 9, or)) : p("", !0),
|
|
3521
3568
|
h("ul", lr, [
|
|
3522
|
-
(
|
|
3569
|
+
(c(!0), f(x, null, B(e.options, (y) => (c(), f("li", {
|
|
3523
3570
|
class: "menu-stack__item",
|
|
3524
3571
|
key: y.uid
|
|
3525
3572
|
}, [
|
|
3526
3573
|
h("div", rr, [
|
|
3527
3574
|
h("input", {
|
|
3528
3575
|
type: e.type,
|
|
3529
|
-
id:
|
|
3576
|
+
id: a(y),
|
|
3530
3577
|
name: l.value,
|
|
3531
3578
|
value: y.uid,
|
|
3532
3579
|
checked: u(y),
|
|
3533
|
-
onChange: (w) =>
|
|
3534
|
-
}, null, 40,
|
|
3580
|
+
onChange: (w) => i(y, w)
|
|
3581
|
+
}, null, 40, ar),
|
|
3535
3582
|
h("label", {
|
|
3536
|
-
for:
|
|
3583
|
+
for: a(y)
|
|
3537
3584
|
}, [
|
|
3538
3585
|
g(d.$slots, "default", { option: y }, () => [
|
|
3539
3586
|
C(b(y?.label || y?.title || y?.text), 1)
|
|
3540
3587
|
])
|
|
3541
|
-
], 8,
|
|
3588
|
+
], 8, ir)
|
|
3542
3589
|
])
|
|
3543
3590
|
]))), 128))
|
|
3544
3591
|
])
|
|
@@ -3568,10 +3615,10 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3568
3615
|
},
|
|
3569
3616
|
setup(e) {
|
|
3570
3617
|
const s = e, t = S(() => typeof window > "u" ? "" : window.URL.createObjectURL(s.file)), n = S(() => {
|
|
3571
|
-
const { size: l } = s.file, o = l / 1e6, r = l / 1e3,
|
|
3572
|
-
return o > 1 ? `${
|
|
3618
|
+
const { size: l } = s.file, o = l / 1e6, r = l / 1e3, a = (u) => parseFloat(u.toFixed(2));
|
|
3619
|
+
return o > 1 ? `${a(o)}Mb` : r > 1 ? `${a(r)}Kb` : `${a(l)}B`;
|
|
3573
3620
|
});
|
|
3574
|
-
return (l, o) => (
|
|
3621
|
+
return (l, o) => (c(), f("a", {
|
|
3575
3622
|
class: "layout-flex-baseline",
|
|
3576
3623
|
href: t.value,
|
|
3577
3624
|
download: e.file.name
|
|
@@ -3586,7 +3633,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3586
3633
|
}, null, 8, ["icon"]),
|
|
3587
3634
|
h("span", ur, [
|
|
3588
3635
|
C(b(e.file.name) + " ", 1),
|
|
3589
|
-
e.noFileSize ? p("", !0) : (
|
|
3636
|
+
e.noFileSize ? p("", !0) : (c(), _(on, {
|
|
3590
3637
|
key: 0,
|
|
3591
3638
|
text: n.value,
|
|
3592
3639
|
small: "",
|
|
@@ -3599,7 +3646,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3599
3646
|
}, dr = { class: "form-theme__required-char" }, Ve = {
|
|
3600
3647
|
__name: "UluFormRequiredChar",
|
|
3601
3648
|
setup(e) {
|
|
3602
|
-
return (s, t) => (
|
|
3649
|
+
return (s, t) => (c(), f("span", dr, "*"));
|
|
3603
3650
|
}
|
|
3604
3651
|
}, fr = ["for"], hr = ["multiple", "id", "required"], Oh = {
|
|
3605
3652
|
__name: "UluFormFile",
|
|
@@ -3637,14 +3684,14 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3637
3684
|
const t = s, n = Q(), l = (o) => {
|
|
3638
3685
|
t("file-change", o.target.files);
|
|
3639
3686
|
};
|
|
3640
|
-
return (o, r) => (
|
|
3687
|
+
return (o, r) => (c(), f(x, null, [
|
|
3641
3688
|
h("label", {
|
|
3642
3689
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3643
3690
|
for: $(n)
|
|
3644
3691
|
}, [
|
|
3645
3692
|
g(o.$slots, "label", {}, () => [
|
|
3646
3693
|
C(b(e.label), 1),
|
|
3647
|
-
e.required ? (
|
|
3694
|
+
e.required ? (c(), _(Ve, { key: 0 })) : p("", !0)
|
|
3648
3695
|
])
|
|
3649
3696
|
], 10, fr),
|
|
3650
3697
|
h("input", ee({
|
|
@@ -3668,13 +3715,13 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3668
3715
|
error: Boolean
|
|
3669
3716
|
},
|
|
3670
3717
|
setup(e) {
|
|
3671
|
-
return (s, t) => (
|
|
3718
|
+
return (s, t) => (c(), f("p", {
|
|
3672
3719
|
class: m(["form-theme__description", {
|
|
3673
3720
|
"form-theme__error": e.error,
|
|
3674
3721
|
"form-theme__warning": e.warning
|
|
3675
3722
|
}])
|
|
3676
3723
|
}, [
|
|
3677
|
-
e.error || e.warning ? (
|
|
3724
|
+
e.error || e.warning ? (c(), _(D, {
|
|
3678
3725
|
key: 0,
|
|
3679
3726
|
icon: `type:${e.error ? "error" : "warning"}`
|
|
3680
3727
|
}, null, 8, ["icon"])) : p("", !0),
|
|
@@ -3708,14 +3755,14 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3708
3755
|
emits: ["update:modelValue"],
|
|
3709
3756
|
setup(e) {
|
|
3710
3757
|
const s = Q();
|
|
3711
|
-
return (t, n) => (
|
|
3758
|
+
return (t, n) => (c(), f(x, null, [
|
|
3712
3759
|
h("label", {
|
|
3713
3760
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3714
3761
|
for: $(s)
|
|
3715
3762
|
}, [
|
|
3716
3763
|
g(t.$slots, "label", {}, () => [
|
|
3717
3764
|
C(b(e.label), 1),
|
|
3718
|
-
e.required ? (
|
|
3765
|
+
e.required ? (c(), _(Ve, { key: 0 })) : p("", !0)
|
|
3719
3766
|
])
|
|
3720
3767
|
], 10, mr),
|
|
3721
3768
|
h("select", {
|
|
@@ -3728,7 +3775,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3728
3775
|
disabled: "",
|
|
3729
3776
|
value: ""
|
|
3730
3777
|
}, "Please select one", -1)),
|
|
3731
|
-
(
|
|
3778
|
+
(c(!0), f(x, null, B(e.options, (l, o) => (c(), f("option", {
|
|
3732
3779
|
key: o,
|
|
3733
3780
|
value: l.value
|
|
3734
3781
|
}, b(l.text), 9, vr))), 128))
|
|
@@ -3758,14 +3805,14 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3758
3805
|
emits: ["update:modelValue"],
|
|
3759
3806
|
setup(e) {
|
|
3760
3807
|
const s = Q();
|
|
3761
|
-
return (t, n) => (
|
|
3808
|
+
return (t, n) => (c(), f(x, null, [
|
|
3762
3809
|
h("label", {
|
|
3763
3810
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3764
3811
|
for: $(s)
|
|
3765
3812
|
}, [
|
|
3766
3813
|
g(t.$slots, "label", {}, () => [
|
|
3767
3814
|
C(b(e.label), 1),
|
|
3768
|
-
e.required ? (
|
|
3815
|
+
e.required ? (c(), _(Ve, { key: 0 })) : p("", !0)
|
|
3769
3816
|
])
|
|
3770
3817
|
], 10, yr),
|
|
3771
3818
|
h("input", {
|
|
@@ -3792,7 +3839,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3792
3839
|
}
|
|
3793
3840
|
},
|
|
3794
3841
|
setup(e) {
|
|
3795
|
-
return (s, t) => (
|
|
3842
|
+
return (s, t) => (c(), f("div", br, [
|
|
3796
3843
|
h("div", _r, [
|
|
3797
3844
|
t[0] || (t[0] = h("label", { class: "hidden-visually" }, "Search", -1)),
|
|
3798
3845
|
h("input", {
|
|
@@ -3835,7 +3882,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3835
3882
|
actionsRight: Boolean
|
|
3836
3883
|
},
|
|
3837
3884
|
setup(e) {
|
|
3838
|
-
return (s, t) => (
|
|
3885
|
+
return (s, t) => (c(), _(F(e.element), {
|
|
3839
3886
|
class: m(["form-theme", [{
|
|
3840
3887
|
"form-theme--full-width": e.fullWidth,
|
|
3841
3888
|
"form-theme--full-width-select": e.fullWidthSelect,
|
|
@@ -3852,7 +3899,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3852
3899
|
}, kr = { class: "form-theme__actions" }, jh = {
|
|
3853
3900
|
__name: "UluFormActions",
|
|
3854
3901
|
setup(e) {
|
|
3855
|
-
return (s, t) => (
|
|
3902
|
+
return (s, t) => (c(), f("div", kr, [
|
|
3856
3903
|
g(s.$slots, "default")
|
|
3857
3904
|
]));
|
|
3858
3905
|
}
|
|
@@ -3875,7 +3922,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3875
3922
|
emits: ["update:modelValue"],
|
|
3876
3923
|
setup(e) {
|
|
3877
3924
|
const s = Q();
|
|
3878
|
-
return (t, n) => (
|
|
3925
|
+
return (t, n) => (c(), f(x, null, [
|
|
3879
3926
|
h("input", {
|
|
3880
3927
|
type: "checkbox",
|
|
3881
3928
|
id: $(s),
|
|
@@ -3886,7 +3933,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3886
3933
|
h("label", { for: $(s) }, [
|
|
3887
3934
|
g(t.$slots, "default", {}, () => [
|
|
3888
3935
|
C(b(e.label), 1),
|
|
3889
|
-
e.required ? (
|
|
3936
|
+
e.required ? (c(), _(Ve, { key: 0 })) : p("", !0)
|
|
3890
3937
|
])
|
|
3891
3938
|
], 8, Cr)
|
|
3892
3939
|
], 64));
|
|
@@ -3900,8 +3947,8 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3900
3947
|
legend: String
|
|
3901
3948
|
},
|
|
3902
3949
|
setup(e) {
|
|
3903
|
-
return (s, t) => (
|
|
3904
|
-
e.legend ? (
|
|
3950
|
+
return (s, t) => (c(), f("fieldset", Tr, [
|
|
3951
|
+
e.legend ? (c(), f("legend", Ar, b(e.legend), 1)) : p("", !0),
|
|
3905
3952
|
g(s.$slots, "default")
|
|
3906
3953
|
]));
|
|
3907
3954
|
}
|
|
@@ -3938,7 +3985,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3938
3985
|
textarea: Boolean
|
|
3939
3986
|
},
|
|
3940
3987
|
setup(e) {
|
|
3941
|
-
return (s, t) => (
|
|
3988
|
+
return (s, t) => (c(), f("div", {
|
|
3942
3989
|
class: m(["form-theme__item", [{
|
|
3943
3990
|
"is-danger": e.error,
|
|
3944
3991
|
"is-warning": e.warning,
|
|
@@ -3955,7 +4002,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3955
4002
|
}, Or = { class: "form-theme__items-inline" }, Ph = {
|
|
3956
4003
|
__name: "UluFormItemsInline",
|
|
3957
4004
|
setup(e) {
|
|
3958
|
-
return (s, t) => (
|
|
4005
|
+
return (s, t) => (c(), f("div", Or, [
|
|
3959
4006
|
g(s.$slots, "default")
|
|
3960
4007
|
]));
|
|
3961
4008
|
}
|
|
@@ -3986,7 +4033,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3986
4033
|
emits: ["update:modelValue"],
|
|
3987
4034
|
setup(e) {
|
|
3988
4035
|
const s = Q();
|
|
3989
|
-
return (t, n) => (
|
|
4036
|
+
return (t, n) => (c(), f(x, null, [
|
|
3990
4037
|
h("input", {
|
|
3991
4038
|
type: "radio",
|
|
3992
4039
|
id: $(s),
|
|
@@ -3999,7 +4046,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3999
4046
|
h("label", { for: $(s) }, [
|
|
4000
4047
|
g(t.$slots, "default", {}, () => [
|
|
4001
4048
|
C(b(e.label), 1),
|
|
4002
|
-
e.required ? (
|
|
4049
|
+
e.required ? (c(), _(Ve, { key: 0 })) : p("", !0)
|
|
4003
4050
|
])
|
|
4004
4051
|
], 8, Ur)
|
|
4005
4052
|
], 64));
|
|
@@ -4027,14 +4074,14 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
4027
4074
|
emits: ["update:modelValue"],
|
|
4028
4075
|
setup(e) {
|
|
4029
4076
|
const s = Q();
|
|
4030
|
-
return (t, n) => (
|
|
4077
|
+
return (t, n) => (c(), f(x, null, [
|
|
4031
4078
|
h("label", {
|
|
4032
4079
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
4033
4080
|
for: $(s)
|
|
4034
4081
|
}, [
|
|
4035
4082
|
g(t.$slots, "label", {}, () => [
|
|
4036
4083
|
C(b(e.label), 1),
|
|
4037
|
-
e.required ? (
|
|
4084
|
+
e.required ? (c(), _(Ve, { key: 0 })) : p("", !0)
|
|
4038
4085
|
])
|
|
4039
4086
|
], 10, Br),
|
|
4040
4087
|
h("textarea", {
|
|
@@ -4062,7 +4109,7 @@ const Ch = /* @__PURE__ */ j(Zl, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
4062
4109
|
}
|
|
4063
4110
|
};
|
|
4064
4111
|
function jr(e, s, t, n, l, o) {
|
|
4065
|
-
return
|
|
4112
|
+
return c(), f("div", null, [
|
|
4066
4113
|
g(e.$slots, "default")
|
|
4067
4114
|
]);
|
|
4068
4115
|
}
|
|
@@ -4115,7 +4162,7 @@ const Hh = /* @__PURE__ */ j(Er, [["render", jr]]), Ir = {
|
|
|
4115
4162
|
};
|
|
4116
4163
|
function Fr(e, s, t, n, l, o) {
|
|
4117
4164
|
const r = K("UluIcon");
|
|
4118
|
-
return
|
|
4165
|
+
return c(), f("div", {
|
|
4119
4166
|
class: m(["rail rail--title-rail", {
|
|
4120
4167
|
"rail--rule": t.rule
|
|
4121
4168
|
}])
|
|
@@ -4123,12 +4170,12 @@ function Fr(e, s, t, n, l, o) {
|
|
|
4123
4170
|
h("div", {
|
|
4124
4171
|
class: m(["rail__item rail__item--title", t.classes.itemTitle])
|
|
4125
4172
|
}, [
|
|
4126
|
-
(
|
|
4173
|
+
(c(), _(F(t.titleElement), {
|
|
4127
4174
|
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
4128
4175
|
style: X({ alignItems: t.iconAlign })
|
|
4129
4176
|
}, {
|
|
4130
4177
|
default: k(() => [
|
|
4131
|
-
t.icon ? (
|
|
4178
|
+
t.icon ? (c(), _(r, {
|
|
4132
4179
|
key: 0,
|
|
4133
4180
|
class: m(t.classes.icon),
|
|
4134
4181
|
icon: t.icon
|
|
@@ -4140,7 +4187,7 @@ function Fr(e, s, t, n, l, o) {
|
|
|
4140
4187
|
_: 3
|
|
4141
4188
|
}, 8, ["class", "style"]))
|
|
4142
4189
|
], 2),
|
|
4143
|
-
e.$slots.end ? (
|
|
4190
|
+
e.$slots.end ? (c(), f("div", Mr, [
|
|
4144
4191
|
g(e.$slots, "end")
|
|
4145
4192
|
])) : p("", !0)
|
|
4146
4193
|
], 2);
|
|
@@ -4181,8 +4228,8 @@ const Nh = /* @__PURE__ */ j(Ir, [["render", Fr]]), Pr = {
|
|
|
4181
4228
|
}
|
|
4182
4229
|
};
|
|
4183
4230
|
function zr(e, s, t, n, l, o) {
|
|
4184
|
-
const r = K("router-link"),
|
|
4185
|
-
return t.items.length ? (
|
|
4231
|
+
const r = K("router-link"), a = K("UluIcon");
|
|
4232
|
+
return t.items.length ? (c(), f("nav", {
|
|
4186
4233
|
key: 0,
|
|
4187
4234
|
class: m(t.classes.nav),
|
|
4188
4235
|
"aria-label": "Breadcrumb"
|
|
@@ -4190,18 +4237,18 @@ function zr(e, s, t, n, l, o) {
|
|
|
4190
4237
|
h("ol", {
|
|
4191
4238
|
class: m(t.classes.list)
|
|
4192
4239
|
}, [
|
|
4193
|
-
(
|
|
4194
|
-
key:
|
|
4240
|
+
(c(!0), f(x, null, B(t.items, (u, i) => (c(), f("li", {
|
|
4241
|
+
key: i,
|
|
4195
4242
|
class: m(t.classes.item)
|
|
4196
4243
|
}, [
|
|
4197
|
-
u.current ? (
|
|
4244
|
+
u.current ? (c(), f("span", {
|
|
4198
4245
|
key: 1,
|
|
4199
4246
|
class: m(u.current)
|
|
4200
4247
|
}, [
|
|
4201
4248
|
g(e.$slots, "default", { item: u }, () => [
|
|
4202
4249
|
C(b(u.title), 1)
|
|
4203
4250
|
])
|
|
4204
|
-
], 2)) : (
|
|
4251
|
+
], 2)) : (c(), _(r, {
|
|
4205
4252
|
key: 0,
|
|
4206
4253
|
to: u.to,
|
|
4207
4254
|
class: m(t.classes.link),
|
|
@@ -4214,8 +4261,8 @@ function zr(e, s, t, n, l, o) {
|
|
|
4214
4261
|
]),
|
|
4215
4262
|
_: 2
|
|
4216
4263
|
}, 1032, ["to", "class", "aria-current"])),
|
|
4217
|
-
|
|
4218
|
-
O(
|
|
4264
|
+
i < t.items.length - 1 ? g(e.$slots, "separator", { key: 2 }, () => [
|
|
4265
|
+
O(a, {
|
|
4219
4266
|
class: m(t.classes.separator),
|
|
4220
4267
|
icon: t.separatorIcon || "type:pathSeparator"
|
|
4221
4268
|
}, null, 8, ["class", "icon"])
|
|
@@ -4250,7 +4297,7 @@ const Dh = /* @__PURE__ */ j(Pr, [["render", zr]]), Lr = {
|
|
|
4250
4297
|
};
|
|
4251
4298
|
function Vr(e, s, t, n, l, o) {
|
|
4252
4299
|
const r = K("UluMenu");
|
|
4253
|
-
return
|
|
4300
|
+
return c(), f("nav", {
|
|
4254
4301
|
class: m(["nav-strip", {
|
|
4255
4302
|
"nav-strip--rule": t.rule,
|
|
4256
4303
|
"nav-strip--center": t.center,
|
|
@@ -4327,13 +4374,13 @@ const Wh = /* @__PURE__ */ j(Lr, [["render", Vr]]), Hr = ["aria-labelledby"], Nr
|
|
|
4327
4374
|
}
|
|
4328
4375
|
return (l, o) => {
|
|
4329
4376
|
const r = K("router-link");
|
|
4330
|
-
return e.items ? (
|
|
4377
|
+
return e.items ? (c(), f("nav", {
|
|
4331
4378
|
key: 0,
|
|
4332
4379
|
class: "pager",
|
|
4333
4380
|
role: "navigation",
|
|
4334
4381
|
"aria-labelledby": $(t)
|
|
4335
4382
|
}, [
|
|
4336
|
-
(
|
|
4383
|
+
(c(), _(F(e.titleElement), {
|
|
4337
4384
|
id: $(t),
|
|
4338
4385
|
class: "hidden-visually"
|
|
4339
4386
|
}, {
|
|
@@ -4343,7 +4390,7 @@ const Wh = /* @__PURE__ */ j(Lr, [["render", Vr]]), Hr = ["aria-labelledby"], Nr
|
|
|
4343
4390
|
_: 1
|
|
4344
4391
|
}, 8, ["id"])),
|
|
4345
4392
|
h("ul", Nr, [
|
|
4346
|
-
e.items.first ? (
|
|
4393
|
+
e.items.first ? (c(), f("li", Dr, [
|
|
4347
4394
|
O(r, ee({
|
|
4348
4395
|
to: e.items.first.href,
|
|
4349
4396
|
title: "Go to first page"
|
|
@@ -4358,7 +4405,7 @@ const Wh = /* @__PURE__ */ j(Lr, [["render", Vr]]), Hr = ["aria-labelledby"], Nr
|
|
|
4358
4405
|
_: 1
|
|
4359
4406
|
}, 16, ["to"])
|
|
4360
4407
|
])) : p("", !0),
|
|
4361
|
-
e.items.previous ? (
|
|
4408
|
+
e.items.previous ? (c(), f("li", Wr, [
|
|
4362
4409
|
O(r, ee({
|
|
4363
4410
|
to: e.items.previous.href,
|
|
4364
4411
|
title: "Go to previous page",
|
|
@@ -4374,15 +4421,15 @@ const Wh = /* @__PURE__ */ j(Lr, [["render", Vr]]), Hr = ["aria-labelledby"], Nr
|
|
|
4374
4421
|
_: 1
|
|
4375
4422
|
}, 16, ["to"])
|
|
4376
4423
|
])) : p("", !0),
|
|
4377
|
-
e.ellipses.previous ? (
|
|
4378
|
-
(
|
|
4424
|
+
e.ellipses.previous ? (c(), f("li", qr, "…")) : p("", !0),
|
|
4425
|
+
(c(!0), f(x, null, B(e.items.pages, (a, u) => (c(), f("li", {
|
|
4379
4426
|
key: u,
|
|
4380
4427
|
class: m(["pager__item", { "is-active": e.current == u }])
|
|
4381
4428
|
}, [
|
|
4382
4429
|
O(r, ee({
|
|
4383
|
-
to:
|
|
4430
|
+
to: a.href,
|
|
4384
4431
|
title: n(u)
|
|
4385
|
-
}, { ref_for: !0 },
|
|
4432
|
+
}, { ref_for: !0 }, a.attributes), {
|
|
4386
4433
|
default: k(() => [
|
|
4387
4434
|
h("span", Xr, b(e.current == u ? "Current page" : "Page"), 1),
|
|
4388
4435
|
C(" " + b(u), 1)
|
|
@@ -4390,8 +4437,8 @@ const Wh = /* @__PURE__ */ j(Lr, [["render", Vr]]), Hr = ["aria-labelledby"], Nr
|
|
|
4390
4437
|
_: 2
|
|
4391
4438
|
}, 1040, ["to", "title"])
|
|
4392
4439
|
], 2))), 128)),
|
|
4393
|
-
e.ellipses.next ? (
|
|
4394
|
-
e.items.next ? (
|
|
4440
|
+
e.ellipses.next ? (c(), f("li", Gr, "…")) : p("", !0),
|
|
4441
|
+
e.items.next ? (c(), f("li", Yr, [
|
|
4395
4442
|
O(r, ee({
|
|
4396
4443
|
to: e.items.next.href,
|
|
4397
4444
|
title: "Go to next page",
|
|
@@ -4407,7 +4454,7 @@ const Wh = /* @__PURE__ */ j(Lr, [["render", Vr]]), Hr = ["aria-labelledby"], Nr
|
|
|
4407
4454
|
_: 1
|
|
4408
4455
|
}, 16, ["to"])
|
|
4409
4456
|
])) : p("", !0),
|
|
4410
|
-
e.items.last ? (
|
|
4457
|
+
e.items.last ? (c(), f("li", Kr, [
|
|
4411
4458
|
O(r, ee({
|
|
4412
4459
|
to: e.items.last.href,
|
|
4413
4460
|
title: "Go to last page"
|
|
@@ -4431,9 +4478,9 @@ const Wh = /* @__PURE__ */ j(Lr, [["render", Vr]]), Hr = ["aria-labelledby"], Nr
|
|
|
4431
4478
|
href: "#main-content"
|
|
4432
4479
|
};
|
|
4433
4480
|
function Zr(e, s) {
|
|
4434
|
-
return
|
|
4481
|
+
return c(), f("a", Qr, " Skip to main content ");
|
|
4435
4482
|
}
|
|
4436
|
-
const Xh = /* @__PURE__ */ j(Jr, [["render", Zr]]),
|
|
4483
|
+
const Xh = /* @__PURE__ */ j(Jr, [["render", Zr]]), ea = {
|
|
4437
4484
|
name: "UluConditionalText",
|
|
4438
4485
|
props: {
|
|
4439
4486
|
/**
|
|
@@ -4449,15 +4496,15 @@ const Xh = /* @__PURE__ */ j(Jr, [["render", Zr]]), ei = {
|
|
|
4449
4496
|
}
|
|
4450
4497
|
}
|
|
4451
4498
|
};
|
|
4452
|
-
function
|
|
4453
|
-
return t.text != null ? (
|
|
4499
|
+
function ta(e, s, t, n, l, o) {
|
|
4500
|
+
return t.text != null ? (c(), _(F(t.element), { key: 0 }, {
|
|
4454
4501
|
default: k(() => [
|
|
4455
4502
|
C(b(t.text), 1)
|
|
4456
4503
|
]),
|
|
4457
4504
|
_: 1
|
|
4458
4505
|
})) : p("", !0);
|
|
4459
4506
|
}
|
|
4460
|
-
const Gh = /* @__PURE__ */ j(
|
|
4507
|
+
const Gh = /* @__PURE__ */ j(ea, [["render", ta]]), sa = {
|
|
4461
4508
|
__name: "UluConditionalWrapper",
|
|
4462
4509
|
props: {
|
|
4463
4510
|
/**
|
|
@@ -4480,23 +4527,23 @@ const Gh = /* @__PURE__ */ j(ei, [["render", ti]]), si = {
|
|
|
4480
4527
|
}
|
|
4481
4528
|
},
|
|
4482
4529
|
setup(e) {
|
|
4483
|
-
return (s, t) => e.unwrapped ? g(s.$slots, "default", { key: 1 }) : (
|
|
4530
|
+
return (s, t) => e.unwrapped ? g(s.$slots, "default", { key: 1 }) : (c(), _(F(e.is), { key: 0 }, {
|
|
4484
4531
|
default: k(() => [
|
|
4485
4532
|
g(s.$slots, "default")
|
|
4486
4533
|
]),
|
|
4487
4534
|
_: 3
|
|
4488
4535
|
}));
|
|
4489
4536
|
}
|
|
4490
|
-
},
|
|
4491
|
-
function
|
|
4492
|
-
return
|
|
4537
|
+
}, na = {}, oa = { style: { display: "none" } };
|
|
4538
|
+
function la(e, s) {
|
|
4539
|
+
return c(), f("span", oa);
|
|
4493
4540
|
}
|
|
4494
|
-
const Yh = /* @__PURE__ */ j(
|
|
4495
|
-
function
|
|
4541
|
+
const Yh = /* @__PURE__ */ j(na, [["render", la]]), ra = {};
|
|
4542
|
+
function aa(e, s) {
|
|
4496
4543
|
const t = K("router-view");
|
|
4497
|
-
return
|
|
4544
|
+
return c(), _(t);
|
|
4498
4545
|
}
|
|
4499
|
-
const Kh = /* @__PURE__ */ j(
|
|
4546
|
+
const Kh = /* @__PURE__ */ j(ra, [["render", aa]]), ia = {
|
|
4500
4547
|
name: "UluPlaceholderImage",
|
|
4501
4548
|
props: {
|
|
4502
4549
|
imageId: String,
|
|
@@ -4531,19 +4578,19 @@ const Kh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4531
4578
|
size() {
|
|
4532
4579
|
const { random: e, width: s, height: t } = this;
|
|
4533
4580
|
return e ? {
|
|
4534
|
-
width:
|
|
4535
|
-
height:
|
|
4581
|
+
width: it(500, 1e3),
|
|
4582
|
+
height: it(500, 1e3)
|
|
4536
4583
|
} : { width: s, height: t };
|
|
4537
4584
|
}
|
|
4538
4585
|
}
|
|
4539
|
-
},
|
|
4540
|
-
function
|
|
4541
|
-
return
|
|
4586
|
+
}, ca = ["src", "alt"];
|
|
4587
|
+
function ua(e, s, t, n, l, o) {
|
|
4588
|
+
return c(), f("img", {
|
|
4542
4589
|
src: o.src,
|
|
4543
4590
|
alt: t.alt
|
|
4544
|
-
}, null, 8,
|
|
4591
|
+
}, null, 8, ca);
|
|
4545
4592
|
}
|
|
4546
|
-
const Jh = /* @__PURE__ */ j(
|
|
4593
|
+
const Jh = /* @__PURE__ */ j(ia, [["render", ua]]), da = {
|
|
4547
4594
|
name: "PlaceholderText",
|
|
4548
4595
|
props: {
|
|
4549
4596
|
amount: {
|
|
@@ -4556,15 +4603,15 @@ const Jh = /* @__PURE__ */ j(ai, [["render", ui]]), di = {
|
|
|
4556
4603
|
}
|
|
4557
4604
|
}
|
|
4558
4605
|
};
|
|
4559
|
-
function
|
|
4560
|
-
return
|
|
4606
|
+
function fa(e, s, t, n, l, o) {
|
|
4607
|
+
return c(!0), f(x, null, B(parseInt(t.amount), (r) => (c(), _(F(t.element), { key: r }, {
|
|
4561
4608
|
default: k(() => [...s[0] || (s[0] = [
|
|
4562
4609
|
C(" 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)
|
|
4563
4610
|
])]),
|
|
4564
4611
|
_: 2
|
|
4565
4612
|
}, 1024))), 128);
|
|
4566
4613
|
}
|
|
4567
|
-
const Qh = /* @__PURE__ */ j(
|
|
4614
|
+
const Qh = /* @__PURE__ */ j(da, [["render", fa]]), ha = {
|
|
4568
4615
|
name: "RouteAnnouncer",
|
|
4569
4616
|
props: {
|
|
4570
4617
|
/**
|
|
@@ -4609,15 +4656,15 @@ const Qh = /* @__PURE__ */ j(di, [["render", fi]]), hi = {
|
|
|
4609
4656
|
}
|
|
4610
4657
|
}
|
|
4611
4658
|
};
|
|
4612
|
-
function
|
|
4613
|
-
return o.title ? (
|
|
4659
|
+
function ma(e, s, t, n, l, o) {
|
|
4660
|
+
return o.title ? (c(), f("p", {
|
|
4614
4661
|
key: 0,
|
|
4615
4662
|
tabindex: "-1",
|
|
4616
4663
|
class: "hidden-visually",
|
|
4617
4664
|
ref: "el"
|
|
4618
4665
|
}, b(o.title), 513)) : p("", !0);
|
|
4619
4666
|
}
|
|
4620
|
-
const Zh = /* @__PURE__ */ j(
|
|
4667
|
+
const Zh = /* @__PURE__ */ j(ha, [["render", ma]]), em = {
|
|
4621
4668
|
__name: "UluSanityRichText",
|
|
4622
4669
|
props: {
|
|
4623
4670
|
/**
|
|
@@ -4641,7 +4688,7 @@ const Zh = /* @__PURE__ */ j(hi, [["render", mi]]), em = {
|
|
|
4641
4688
|
})
|
|
4642
4689
|
}
|
|
4643
4690
|
};
|
|
4644
|
-
return (t, n) => e.content?.length ? (
|
|
4691
|
+
return (t, n) => e.content?.length ? (c(), _(sa, {
|
|
4645
4692
|
key: 0,
|
|
4646
4693
|
class: "wysiwyg",
|
|
4647
4694
|
unwrapped: e.noWrapper
|
|
@@ -4655,7 +4702,7 @@ const Zh = /* @__PURE__ */ j(hi, [["render", mi]]), em = {
|
|
|
4655
4702
|
_: 1
|
|
4656
4703
|
}, 8, ["unwrapped"])) : p("", !0);
|
|
4657
4704
|
}
|
|
4658
|
-
},
|
|
4705
|
+
}, ga = {
|
|
4659
4706
|
name: "AnimateNumber",
|
|
4660
4707
|
props: {
|
|
4661
4708
|
/**
|
|
@@ -4665,7 +4712,7 @@ const Zh = /* @__PURE__ */ j(hi, [["render", mi]]), em = {
|
|
|
4665
4712
|
},
|
|
4666
4713
|
watch: {
|
|
4667
4714
|
value() {
|
|
4668
|
-
|
|
4715
|
+
ao.to(this, {
|
|
4669
4716
|
tweenValue: this.value,
|
|
4670
4717
|
onUpdate: () => {
|
|
4671
4718
|
this.currentValue = Math.ceil(this.tweenValue);
|
|
@@ -4680,29 +4727,29 @@ const Zh = /* @__PURE__ */ j(hi, [["render", mi]]), em = {
|
|
|
4680
4727
|
};
|
|
4681
4728
|
}
|
|
4682
4729
|
};
|
|
4683
|
-
function
|
|
4684
|
-
return
|
|
4730
|
+
function va(e, s, t, n, l, o) {
|
|
4731
|
+
return c(), f("span", null, [
|
|
4685
4732
|
g(e.$slots, "default", { currentValue: l.currentValue }, () => [
|
|
4686
4733
|
C(b(l.currentValue), 1)
|
|
4687
4734
|
])
|
|
4688
4735
|
]);
|
|
4689
4736
|
}
|
|
4690
|
-
const tm = /* @__PURE__ */ j(
|
|
4737
|
+
const tm = /* @__PURE__ */ j(ga, [["render", va]]), ya = {
|
|
4691
4738
|
key: 0,
|
|
4692
4739
|
class: "progress-bar__header"
|
|
4693
|
-
},
|
|
4740
|
+
}, pa = {
|
|
4694
4741
|
key: 1,
|
|
4695
4742
|
class: "progress-bar__value progress-bar__value--amount"
|
|
4696
|
-
},
|
|
4743
|
+
}, ba = {
|
|
4697
4744
|
key: 2,
|
|
4698
4745
|
class: "progress-bar__icon"
|
|
4699
|
-
},
|
|
4746
|
+
}, _a = { class: "progress-bar__track" }, wa = {
|
|
4700
4747
|
key: 1,
|
|
4701
4748
|
class: "progress-bar__values"
|
|
4702
|
-
},
|
|
4749
|
+
}, Sa = { class: "progress-bar__value progress-bar__value--amount" }, ka = {
|
|
4703
4750
|
key: 0,
|
|
4704
4751
|
class: "progress-bar__value progress-bar__value--deficit"
|
|
4705
|
-
}, $
|
|
4752
|
+
}, $a = { class: "progress-bar__value progress-bar__value--total" }, sm = {
|
|
4706
4753
|
__name: "UluProgressBar",
|
|
4707
4754
|
props: {
|
|
4708
4755
|
/**
|
|
@@ -4786,7 +4833,7 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4786
4833
|
amountInHeader: Boolean
|
|
4787
4834
|
},
|
|
4788
4835
|
setup(e) {
|
|
4789
|
-
const s = e, t = (r,
|
|
4836
|
+
const s = e, t = (r, a) => `${a === 0 ? 0 : r / a * 100}%`, n = S(() => s.indeterminate ? null : t(s.amount, s.total)), l = S(() => t(s.deficit, s.total)), o = S(() => ({
|
|
4790
4837
|
"progress-bar": !0,
|
|
4791
4838
|
"progress-bar--small": s.small,
|
|
4792
4839
|
"progress-bar--positive": s.positive,
|
|
@@ -4796,11 +4843,11 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4796
4843
|
"type-small": s.small
|
|
4797
4844
|
// From original component, seems to control font size
|
|
4798
4845
|
}));
|
|
4799
|
-
return (r,
|
|
4846
|
+
return (r, a) => (c(), f("div", {
|
|
4800
4847
|
class: m(o.value)
|
|
4801
4848
|
}, [
|
|
4802
|
-
e.label || r.$slots.label || r.$slots.icon || e.amountInHeader ? (
|
|
4803
|
-
e.label ? (
|
|
4849
|
+
e.label || r.$slots.label || r.$slots.icon || e.amountInHeader ? (c(), f("div", ya, [
|
|
4850
|
+
e.label ? (c(), _(F(e.labelElement), {
|
|
4804
4851
|
key: 0,
|
|
4805
4852
|
class: m(["progress-bar__label", [e.classes.label, { "hidden-visually": e.labelHidden }]])
|
|
4806
4853
|
}, {
|
|
@@ -4811,42 +4858,42 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4811
4858
|
]),
|
|
4812
4859
|
_: 3
|
|
4813
4860
|
}, 8, ["class"])) : p("", !0),
|
|
4814
|
-
e.amountInHeader ? (
|
|
4815
|
-
|
|
4861
|
+
e.amountInHeader ? (c(), f("div", pa, [
|
|
4862
|
+
a[0] || (a[0] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
4816
4863
|
g(r.$slots, "valueAmount", { value: e.amount }, () => [
|
|
4817
4864
|
C(b(e.formatValue(e.amount, "amount")), 1)
|
|
4818
4865
|
])
|
|
4819
4866
|
])) : p("", !0),
|
|
4820
|
-
r.$slots.icon ? (
|
|
4867
|
+
r.$slots.icon ? (c(), f("div", ba, [
|
|
4821
4868
|
g(r.$slots, "icon")
|
|
4822
4869
|
])) : p("", !0)
|
|
4823
4870
|
])) : p("", !0),
|
|
4824
|
-
h("div",
|
|
4871
|
+
h("div", _a, [
|
|
4825
4872
|
h("div", {
|
|
4826
4873
|
class: "progress-bar__bar",
|
|
4827
4874
|
style: X({ width: n.value })
|
|
4828
4875
|
}, null, 4),
|
|
4829
|
-
e.deficit > 0 ? (
|
|
4876
|
+
e.deficit > 0 ? (c(), f("div", {
|
|
4830
4877
|
key: 0,
|
|
4831
4878
|
class: "progress-bar__bar--deficit",
|
|
4832
4879
|
style: X({ width: l.value })
|
|
4833
4880
|
}, null, 4)) : p("", !0)
|
|
4834
4881
|
]),
|
|
4835
|
-
!e.noValues && !e.amountInHeader && !e.loader && !e.indeterminate ? (
|
|
4836
|
-
h("div",
|
|
4837
|
-
|
|
4882
|
+
!e.noValues && !e.amountInHeader && !e.loader && !e.indeterminate ? (c(), f("div", wa, [
|
|
4883
|
+
h("div", Sa, [
|
|
4884
|
+
a[1] || (a[1] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
4838
4885
|
g(r.$slots, "valueAmount", { value: e.amount }, () => [
|
|
4839
4886
|
C(b(e.formatValue(e.amount, "amount")), 1)
|
|
4840
4887
|
])
|
|
4841
4888
|
]),
|
|
4842
|
-
e.deficit > 0 ? (
|
|
4843
|
-
|
|
4889
|
+
e.deficit > 0 ? (c(), f("div", ka, [
|
|
4890
|
+
a[2] || (a[2] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
|
|
4844
4891
|
g(r.$slots, "valueDeficit", { value: e.deficit }, () => [
|
|
4845
4892
|
C("-" + b(e.formatValue(e.deficit, "deficit")), 1)
|
|
4846
4893
|
])
|
|
4847
4894
|
])) : p("", !0),
|
|
4848
|
-
h("div", $
|
|
4849
|
-
|
|
4895
|
+
h("div", $a, [
|
|
4896
|
+
a[3] || (a[3] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
|
|
4850
4897
|
g(r.$slots, "valueTotal", { value: e.total }, () => [
|
|
4851
4898
|
C(b(e.formatValue(e.total, "total")), 1)
|
|
4852
4899
|
])
|
|
@@ -4854,13 +4901,13 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4854
4901
|
])) : p("", !0)
|
|
4855
4902
|
], 2));
|
|
4856
4903
|
}
|
|
4857
|
-
},
|
|
4904
|
+
}, Ca = { class: "hidden-visually" }, Ta = { class: "progress-circle__chart" }, Aa = {
|
|
4858
4905
|
class: "progress-circle__chart-svg",
|
|
4859
4906
|
viewBox: "0 0 32 32"
|
|
4860
|
-
},
|
|
4907
|
+
}, Oa = {
|
|
4861
4908
|
key: 0,
|
|
4862
4909
|
class: "progress-circle__chart-value"
|
|
4863
|
-
},
|
|
4910
|
+
}, xa = {
|
|
4864
4911
|
key: 0,
|
|
4865
4912
|
class: "progress-circle__value type-small-x"
|
|
4866
4913
|
}, nm = {
|
|
@@ -4939,13 +4986,13 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4939
4986
|
setup(e) {
|
|
4940
4987
|
const s = e, t = E(null), n = (u) => u === 100 ? 101 : u, l = (u = 0) => {
|
|
4941
4988
|
if (!t.value || !t.value.animate) return;
|
|
4942
|
-
const
|
|
4943
|
-
t.value.animate(
|
|
4989
|
+
const i = { strokeDasharray: [`${u} 100`, o.value] };
|
|
4990
|
+
t.value.animate(i, { duration: s.duration, easing: s.easing, fill: "forwards" });
|
|
4944
4991
|
};
|
|
4945
|
-
pe(() => s.percentage, (u,
|
|
4946
|
-
u !==
|
|
4992
|
+
pe(() => s.percentage, (u, i) => {
|
|
4993
|
+
u !== i && l(n(i));
|
|
4947
4994
|
});
|
|
4948
|
-
const o = S(() => `${n(s.percentage)} 100`), r = S(() => s.outside || s.outsideBelow || s.small),
|
|
4995
|
+
const o = S(() => `${n(s.percentage)} 100`), r = S(() => s.outside || s.outsideBelow || s.small), a = S(() => {
|
|
4949
4996
|
const u = {
|
|
4950
4997
|
"progress-circle": !0,
|
|
4951
4998
|
"progress-circle--small": s.small,
|
|
@@ -4958,13 +5005,13 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4958
5005
|
});
|
|
4959
5006
|
return yt(() => {
|
|
4960
5007
|
l();
|
|
4961
|
-
}), (u,
|
|
4962
|
-
class: m(
|
|
5008
|
+
}), (u, i) => (c(), f("div", {
|
|
5009
|
+
class: m(a.value)
|
|
4963
5010
|
}, [
|
|
4964
|
-
h("strong",
|
|
4965
|
-
h("div",
|
|
4966
|
-
(
|
|
4967
|
-
|
|
5011
|
+
h("strong", Ca, b(e.label), 1),
|
|
5012
|
+
h("div", Ta, [
|
|
5013
|
+
(c(), f("svg", Aa, [
|
|
5014
|
+
i[0] || (i[0] = h("circle", {
|
|
4968
5015
|
class: "progress-circle__chart-track",
|
|
4969
5016
|
r: "16",
|
|
4970
5017
|
cx: "16",
|
|
@@ -4979,19 +5026,19 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4979
5026
|
cy: "16",
|
|
4980
5027
|
style: X({ strokeDasharray: o.value })
|
|
4981
5028
|
}, null, 4),
|
|
4982
|
-
|
|
5029
|
+
i[1] || (i[1] = h("circle", {
|
|
4983
5030
|
class: "progress-circle__chart-mask",
|
|
4984
5031
|
cx: "16",
|
|
4985
5032
|
cy: "16"
|
|
4986
5033
|
}, null, -1))
|
|
4987
5034
|
])),
|
|
4988
|
-
!r.value && !e.noValue ? (
|
|
5035
|
+
!r.value && !e.noValue ? (c(), f("strong", Oa, [
|
|
4989
5036
|
g(u.$slots, "value", { value: e.percentage }, () => [
|
|
4990
5037
|
C(b(e.formatValue(e.percentage)), 1)
|
|
4991
5038
|
])
|
|
4992
5039
|
])) : p("", !0)
|
|
4993
5040
|
]),
|
|
4994
|
-
r.value && !e.noValue ? (
|
|
5041
|
+
r.value && !e.noValue ? (c(), f("strong", xa, [
|
|
4995
5042
|
g(u.$slots, "value", { value: e.percentage }, () => [
|
|
4996
5043
|
C(b(e.formatValue(e.percentage)), 1)
|
|
4997
5044
|
])
|
|
@@ -4999,7 +5046,7 @@ const tm = /* @__PURE__ */ j(gi, [["render", vi]]), yi = {
|
|
|
4999
5046
|
], 2));
|
|
5000
5047
|
}
|
|
5001
5048
|
};
|
|
5002
|
-
function
|
|
5049
|
+
function Ua(e) {
|
|
5003
5050
|
const s = /* @__PURE__ */ new Set();
|
|
5004
5051
|
for (const t of e)
|
|
5005
5052
|
for (const n of t)
|
|
@@ -5021,26 +5068,26 @@ function ot(e, s, t) {
|
|
|
5021
5068
|
return t;
|
|
5022
5069
|
const n = e.map((l) => {
|
|
5023
5070
|
const o = l.children.map((r) => {
|
|
5024
|
-
const
|
|
5025
|
-
return s.get(
|
|
5071
|
+
const a = `${l.uid}:${r.uid}`;
|
|
5072
|
+
return s.get(a) || /* @__PURE__ */ new Set();
|
|
5026
5073
|
});
|
|
5027
|
-
return l.match === "all" ? dt(o) :
|
|
5074
|
+
return l.match === "all" ? dt(o) : Ua(o);
|
|
5028
5075
|
});
|
|
5029
5076
|
return dt(n);
|
|
5030
5077
|
}
|
|
5031
|
-
function
|
|
5078
|
+
function Ba(e, s) {
|
|
5032
5079
|
return !s || !Array.isArray(s) ? [] : s.map((t) => {
|
|
5033
|
-
const n = /* @__PURE__ */ new Set(), l = t.getValue || ((
|
|
5034
|
-
e.forEach((
|
|
5035
|
-
const u = l(
|
|
5036
|
-
Array.isArray(u) ? u.forEach((
|
|
5080
|
+
const n = /* @__PURE__ */ new Set(), l = t.getValue || ((a) => a[t.uid]);
|
|
5081
|
+
e.forEach((a) => {
|
|
5082
|
+
const u = l(a);
|
|
5083
|
+
Array.isArray(u) ? u.forEach((i) => i && n.add(i)) : u && n.add(u);
|
|
5037
5084
|
});
|
|
5038
|
-
const o = t.getLabel || ((
|
|
5039
|
-
uid:
|
|
5040
|
-
label: o(
|
|
5085
|
+
const o = t.getLabel || ((a) => a), r = [...n].map((a) => ({
|
|
5086
|
+
uid: a,
|
|
5087
|
+
label: o(a),
|
|
5041
5088
|
selected: !1
|
|
5042
5089
|
}));
|
|
5043
|
-
return r.sort((
|
|
5090
|
+
return r.sort((a, u) => String(a.label).localeCompare(String(u.label))), {
|
|
5044
5091
|
...t,
|
|
5045
5092
|
children: r
|
|
5046
5093
|
};
|
|
@@ -5053,14 +5100,14 @@ function om(e, s = {}) {
|
|
|
5053
5100
|
initialSearchValue: l = "",
|
|
5054
5101
|
initialSortType: o = "az",
|
|
5055
5102
|
noDefaultSorts: r = !1,
|
|
5056
|
-
extraSortTypes:
|
|
5103
|
+
extraSortTypes: a = {},
|
|
5057
5104
|
searchOptions: u = {},
|
|
5058
|
-
getSortValue:
|
|
5105
|
+
getSortValue: i = (U) => U.title || U.label || "",
|
|
5059
5106
|
countMode: d = "none",
|
|
5060
5107
|
// 'none', 'simple', 'intuitive'
|
|
5061
5108
|
urlSync: v
|
|
5062
5109
|
} = s, y = (U) => U.sort((I, q) => {
|
|
5063
|
-
const M =
|
|
5110
|
+
const M = i(I), z = i(q);
|
|
5064
5111
|
return M && z ? String(M).localeCompare(String(z)) : M ? -1 : z ? 1 : 0;
|
|
5065
5112
|
}), w = {
|
|
5066
5113
|
az: { text: "A-Z", sort: y },
|
|
@@ -5077,9 +5124,9 @@ function om(e, s = {}) {
|
|
|
5077
5124
|
selectedCount: 0
|
|
5078
5125
|
}));
|
|
5079
5126
|
}
|
|
5080
|
-
const T = E([]), R = E(l), G = E(o), se = S(() => !n || !e.value?.length ? null :
|
|
5127
|
+
const T = E([]), R = E(l), G = E(o), se = S(() => !n || !e.value?.length ? null : Ba(e.value, n)), P = S(() => ({
|
|
5081
5128
|
...r ? {} : w,
|
|
5082
|
-
...
|
|
5129
|
+
...a
|
|
5083
5130
|
})), Z = S(() => {
|
|
5084
5131
|
const U = /* @__PURE__ */ new Map(), I = ne.value;
|
|
5085
5132
|
if (!I || !n) return U;
|
|
@@ -5092,8 +5139,8 @@ function om(e, s = {}) {
|
|
|
5092
5139
|
for (const Y of n) {
|
|
5093
5140
|
const V = q.get(Y.uid)(z), W = Array.isArray(V) ? V : V ? [V] : [];
|
|
5094
5141
|
for (const le of W) {
|
|
5095
|
-
const
|
|
5096
|
-
U.has(
|
|
5142
|
+
const ae = `${Y.uid}:${le}`;
|
|
5143
|
+
U.has(ae) || U.set(ae, /* @__PURE__ */ new Set()), U.get(ae).add(M);
|
|
5097
5144
|
}
|
|
5098
5145
|
}
|
|
5099
5146
|
}
|
|
@@ -5102,19 +5149,19 @@ function om(e, s = {}) {
|
|
|
5102
5149
|
shouldSort: !0,
|
|
5103
5150
|
keys: ["title", "label", "description", "author"],
|
|
5104
5151
|
...u
|
|
5105
|
-
})), ne = S(() => R.value?.length ? new
|
|
5152
|
+
})), ne = S(() => R.value?.length ? new io(e.value, we.value).search(R.value).map((I) => I.item) : e.value), ue = S(() => {
|
|
5106
5153
|
const U = [];
|
|
5107
5154
|
return T.value.forEach((I) => {
|
|
5108
5155
|
const q = I.children.filter((M) => M.selected);
|
|
5109
5156
|
q.length > 0 && U.push({ ...I, children: q });
|
|
5110
5157
|
}), U;
|
|
5111
5158
|
}), re = S(() => {
|
|
5112
|
-
if (!
|
|
5159
|
+
if (!ue.value.length)
|
|
5113
5160
|
return ne.value;
|
|
5114
5161
|
const U = Z.value;
|
|
5115
5162
|
if (U.size === 0 && ne.value.length > 0 && n?.length > 0)
|
|
5116
5163
|
return [];
|
|
5117
|
-
const I = new Set(ne.value.map((z, Y) => Y)), q = ot(
|
|
5164
|
+
const I = new Set(ne.value.map((z, Y) => Y)), q = ot(ue.value, U, I), M = [];
|
|
5118
5165
|
for (const z of q)
|
|
5119
5166
|
M.push(ne.value[z]);
|
|
5120
5167
|
return M;
|
|
@@ -5142,7 +5189,7 @@ function om(e, s = {}) {
|
|
|
5142
5189
|
I.forEach((q) => {
|
|
5143
5190
|
q.selectedCount = q.children.filter((M) => M.selected).length;
|
|
5144
5191
|
}), T.value = I;
|
|
5145
|
-
}, { immediate: !0 }), pe([
|
|
5192
|
+
}, { immediate: !0 }), pe([ue, ne], ([U, I], [q, M]) => {
|
|
5146
5193
|
if (!(d === "none" || !T.value.length) && !(U === q && I === M)) {
|
|
5147
5194
|
if (d === "simple") {
|
|
5148
5195
|
const z = Z.value;
|
|
@@ -5152,8 +5199,8 @@ function om(e, s = {}) {
|
|
|
5152
5199
|
T.value.forEach((N) => {
|
|
5153
5200
|
const V = U.filter((le) => le.uid !== N.uid), W = ot(V, z, Y);
|
|
5154
5201
|
N.children.forEach((le) => {
|
|
5155
|
-
const
|
|
5156
|
-
le.count =
|
|
5202
|
+
const ae = `${N.uid}:${le.uid}`, de = z.get(ae) || /* @__PURE__ */ new Set(), fe = dt([W, de]);
|
|
5203
|
+
le.count = fe.size;
|
|
5157
5204
|
});
|
|
5158
5205
|
});
|
|
5159
5206
|
} else if (d === "intuitive") {
|
|
@@ -5163,20 +5210,20 @@ function om(e, s = {}) {
|
|
|
5163
5210
|
const Y = new Set(ne.value.map((V, W) => W)), N = ot(U, z, Y);
|
|
5164
5211
|
T.value.forEach((V) => {
|
|
5165
5212
|
V.children.forEach((W) => {
|
|
5166
|
-
const le = `${V.uid}:${W.uid}`,
|
|
5213
|
+
const le = `${V.uid}:${W.uid}`, ae = z.get(le) || /* @__PURE__ */ new Set();
|
|
5167
5214
|
if (W.selected)
|
|
5168
5215
|
if (V.multiple) {
|
|
5169
|
-
const
|
|
5170
|
-
W.count =
|
|
5216
|
+
const de = dt([N, ae]);
|
|
5217
|
+
W.count = de.size;
|
|
5171
5218
|
} else
|
|
5172
5219
|
W.count = N.size;
|
|
5173
5220
|
else {
|
|
5174
|
-
const
|
|
5221
|
+
const de = [];
|
|
5175
5222
|
for (const nt of U)
|
|
5176
|
-
|
|
5177
|
-
let
|
|
5178
|
-
|
|
5179
|
-
const xn = ot(
|
|
5223
|
+
de.push({ ...nt, children: [...nt.children] });
|
|
5224
|
+
let fe = de.find((nt) => nt.uid === V.uid);
|
|
5225
|
+
fe || (fe = { ...V, children: [] }, de.push(fe)), V.multiple ? fe.children.push(W) : fe.children = [W];
|
|
5226
|
+
const xn = ot(de, z, Y);
|
|
5180
5227
|
W.count = xn.size;
|
|
5181
5228
|
}
|
|
5182
5229
|
});
|
|
@@ -5187,7 +5234,7 @@ function om(e, s = {}) {
|
|
|
5187
5234
|
const { router: U, route: I } = v, q = () => T.value && T.value.length > 0, M = () => {
|
|
5188
5235
|
if (!q()) return;
|
|
5189
5236
|
const N = { ...I.query };
|
|
5190
|
-
delete N.sort, delete N.search, T.value.forEach((V) => delete N[V.uid]), G.value && G.value !== o && (N.sort = G.value), R.value && (N.search = R.value),
|
|
5237
|
+
delete N.sort, delete N.search, T.value.forEach((V) => delete N[V.uid]), G.value && G.value !== o && (N.sort = G.value), R.value && (N.search = R.value), ue.value.forEach((V) => {
|
|
5191
5238
|
V.children.length > 0 && (N[V.uid] = V.children.map((W) => W.uid).join(","));
|
|
5192
5239
|
}), JSON.stringify(N) !== JSON.stringify(I.query) && U.push({ query: N });
|
|
5193
5240
|
}, z = () => {
|
|
@@ -5199,15 +5246,15 @@ function om(e, s = {}) {
|
|
|
5199
5246
|
V.set(W.uid, new Set(le));
|
|
5200
5247
|
}), T.value.forEach((W) => {
|
|
5201
5248
|
const le = V.get(W.uid) || /* @__PURE__ */ new Set();
|
|
5202
|
-
W.children.forEach((
|
|
5203
|
-
const
|
|
5204
|
-
|
|
5249
|
+
W.children.forEach((ae) => {
|
|
5250
|
+
const de = ae.selected, fe = le.has(ae.uid);
|
|
5251
|
+
de !== fe && Ot({ groupUid: W.uid, facetUid: ae.uid, selected: fe });
|
|
5205
5252
|
});
|
|
5206
5253
|
});
|
|
5207
5254
|
}, Y = Ln(() => {
|
|
5208
5255
|
T.value && T.value.length > 0 && (z(), Y());
|
|
5209
5256
|
});
|
|
5210
|
-
pe([G, R,
|
|
5257
|
+
pe([G, R, ue], M, { deep: !0 }), pe(() => I.query, z);
|
|
5211
5258
|
}
|
|
5212
5259
|
return {
|
|
5213
5260
|
facets: T,
|
|
@@ -5215,12 +5262,12 @@ function om(e, s = {}) {
|
|
|
5215
5262
|
selectedSort: G,
|
|
5216
5263
|
sortTypes: P,
|
|
5217
5264
|
displayItems: Se,
|
|
5218
|
-
selectedFacets:
|
|
5265
|
+
selectedFacets: ue,
|
|
5219
5266
|
clearFilters: Ee,
|
|
5220
5267
|
handleFacetChange: Ot
|
|
5221
5268
|
};
|
|
5222
5269
|
}
|
|
5223
|
-
const
|
|
5270
|
+
const Ra = ["onClick"], lm = {
|
|
5224
5271
|
__name: "UluFacetsActiveFilters",
|
|
5225
5272
|
props: {
|
|
5226
5273
|
/**
|
|
@@ -5264,35 +5311,35 @@ const Ri = ["onClick"], lm = {
|
|
|
5264
5311
|
emits: ["facet-change", "clear-filters"],
|
|
5265
5312
|
setup(e, { emit: s }) {
|
|
5266
5313
|
const t = e, n = s, l = S(() => {
|
|
5267
|
-
const
|
|
5314
|
+
const a = [];
|
|
5268
5315
|
return t.selectedFacets.forEach((u) => {
|
|
5269
|
-
u.children.forEach((
|
|
5270
|
-
|
|
5271
|
-
...
|
|
5316
|
+
u.children.forEach((i) => {
|
|
5317
|
+
a.push({
|
|
5318
|
+
...i,
|
|
5272
5319
|
groupUid: u.uid
|
|
5273
5320
|
});
|
|
5274
5321
|
});
|
|
5275
|
-
}),
|
|
5322
|
+
}), a;
|
|
5276
5323
|
});
|
|
5277
|
-
function o(
|
|
5324
|
+
function o(a) {
|
|
5278
5325
|
n("facet-change", {
|
|
5279
|
-
groupUid:
|
|
5280
|
-
facetUid:
|
|
5326
|
+
groupUid: a.groupUid,
|
|
5327
|
+
facetUid: a.uid,
|
|
5281
5328
|
selected: !1
|
|
5282
5329
|
});
|
|
5283
5330
|
}
|
|
5284
5331
|
function r() {
|
|
5285
5332
|
n("clear-filters");
|
|
5286
5333
|
}
|
|
5287
|
-
return (
|
|
5334
|
+
return (a, u) => l.value.length ? (c(), f("div", {
|
|
5288
5335
|
key: 0,
|
|
5289
5336
|
class: m(["facets-active", e.classes.container])
|
|
5290
5337
|
}, [
|
|
5291
|
-
(
|
|
5338
|
+
(c(), _(F(e.labelElement), {
|
|
5292
5339
|
class: m(["facets-active__label", e.classes.label])
|
|
5293
5340
|
}, {
|
|
5294
5341
|
default: k(() => [
|
|
5295
|
-
g(
|
|
5342
|
+
g(a.$slots, "label", {}, () => [
|
|
5296
5343
|
u[0] || (u[0] = C(" Active Filters: ", -1))
|
|
5297
5344
|
])
|
|
5298
5345
|
]),
|
|
@@ -5301,27 +5348,27 @@ const Ri = ["onClick"], lm = {
|
|
|
5301
5348
|
h("ul", {
|
|
5302
5349
|
class: m(["facets-active__list", e.classes.list])
|
|
5303
5350
|
}, [
|
|
5304
|
-
(
|
|
5351
|
+
(c(!0), f(x, null, B(l.value, (i) => (c(), f("li", {
|
|
5305
5352
|
class: m(["facets-active__item", e.classes.item]),
|
|
5306
|
-
key: `${
|
|
5353
|
+
key: `${i.groupUid}-${i.uid}`
|
|
5307
5354
|
}, [
|
|
5308
5355
|
h("button", {
|
|
5309
5356
|
class: m(e.classes.filterButton),
|
|
5310
5357
|
icon: "type:remove",
|
|
5311
|
-
onClick: (d) => o(
|
|
5358
|
+
onClick: (d) => o(i)
|
|
5312
5359
|
}, [
|
|
5313
5360
|
h("span", {
|
|
5314
5361
|
class: m(e.classes.filterButtonText)
|
|
5315
5362
|
}, [
|
|
5316
5363
|
u[1] || (u[1] = h("span", { class: "hidden-visually" }, "Remove Active Filter:", -1)),
|
|
5317
|
-
C(" " + b(
|
|
5364
|
+
C(" " + b(i.label), 1)
|
|
5318
5365
|
], 2),
|
|
5319
5366
|
h("span", {
|
|
5320
5367
|
class: m(e.classes.filterButtonIcon)
|
|
5321
5368
|
}, [
|
|
5322
5369
|
O(D, { icon: e.removeIcon }, null, 8, ["icon"])
|
|
5323
5370
|
], 2)
|
|
5324
|
-
], 10,
|
|
5371
|
+
], 10, Ra)
|
|
5325
5372
|
], 2))), 128))
|
|
5326
5373
|
], 2),
|
|
5327
5374
|
h("button", {
|
|
@@ -5330,7 +5377,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5330
5377
|
}, "Clear All", 2)
|
|
5331
5378
|
], 2)) : p("", !0);
|
|
5332
5379
|
}
|
|
5333
|
-
},
|
|
5380
|
+
}, Ea = { key: 0 }, ft = {
|
|
5334
5381
|
__name: "UluFacetsList",
|
|
5335
5382
|
props: {
|
|
5336
5383
|
groupUid: String,
|
|
@@ -5348,28 +5395,28 @@ const Ri = ["onClick"], lm = {
|
|
|
5348
5395
|
const t = e, n = s, l = S(() => t.type === "radio" ? [{ label: `All ${t.groupName}s`, uid: "" }, ...t.children] : t.children);
|
|
5349
5396
|
function o(r) {
|
|
5350
5397
|
if (t.type === "radio") {
|
|
5351
|
-
const
|
|
5398
|
+
const a = r;
|
|
5352
5399
|
t.children.forEach((u) => {
|
|
5353
|
-
const
|
|
5354
|
-
u.selected !==
|
|
5400
|
+
const i = u.uid === a;
|
|
5401
|
+
u.selected !== i && n("facet-change", {
|
|
5355
5402
|
groupUid: t.groupUid,
|
|
5356
5403
|
facetUid: u.uid,
|
|
5357
|
-
selected:
|
|
5404
|
+
selected: i
|
|
5358
5405
|
});
|
|
5359
5406
|
});
|
|
5360
5407
|
} else {
|
|
5361
|
-
const
|
|
5408
|
+
const a = new Set(r);
|
|
5362
5409
|
t.children.forEach((u) => {
|
|
5363
|
-
const
|
|
5364
|
-
u.selected !==
|
|
5410
|
+
const i = a.has(u.uid);
|
|
5411
|
+
u.selected !== i && n("facet-change", {
|
|
5365
5412
|
groupUid: t.groupUid,
|
|
5366
5413
|
facetUid: u.uid,
|
|
5367
|
-
selected:
|
|
5414
|
+
selected: i
|
|
5368
5415
|
});
|
|
5369
5416
|
});
|
|
5370
5417
|
}
|
|
5371
5418
|
}
|
|
5372
|
-
return (r,
|
|
5419
|
+
return (r, a) => (c(), _(un, {
|
|
5373
5420
|
class: "facets-list",
|
|
5374
5421
|
legend: e.groupUid,
|
|
5375
5422
|
type: e.type,
|
|
@@ -5380,12 +5427,12 @@ const Ri = ["onClick"], lm = {
|
|
|
5380
5427
|
}, {
|
|
5381
5428
|
default: k(({ option: u }) => [
|
|
5382
5429
|
C(b(u.label) + " ", 1),
|
|
5383
|
-
u.count !== void 0 ? (
|
|
5430
|
+
u.count !== void 0 ? (c(), f("span", Ea, "(" + b(u.count) + ")", 1)) : p("", !0)
|
|
5384
5431
|
]),
|
|
5385
5432
|
_: 1
|
|
5386
5433
|
}, 8, ["legend", "type", "options", "compact", "model-value"]));
|
|
5387
5434
|
}
|
|
5388
|
-
},
|
|
5435
|
+
}, ja = { class: "facets-filters" }, rm = {
|
|
5389
5436
|
__name: "UluFacetsFilterLists",
|
|
5390
5437
|
props: {
|
|
5391
5438
|
/**
|
|
@@ -5417,8 +5464,8 @@ const Ri = ["onClick"], lm = {
|
|
|
5417
5464
|
emits: ["facet-change"],
|
|
5418
5465
|
setup(e, { emit: s }) {
|
|
5419
5466
|
const t = s, n = (l) => l.multiple ? l.children.filter((o) => o.selected).map((o) => o.uid) : l.children.find((o) => o.selected)?.uid || "";
|
|
5420
|
-
return (l, o) => (
|
|
5421
|
-
(
|
|
5467
|
+
return (l, o) => (c(), f("div", ja, [
|
|
5468
|
+
(c(!0), f(x, null, B(e.facets, (r) => (c(), _(Lt, {
|
|
5422
5469
|
key: r.uid,
|
|
5423
5470
|
classes: {
|
|
5424
5471
|
container: ["facets-filters__group", e.classes.group],
|
|
@@ -5429,10 +5476,10 @@ const Ri = ["onClick"], lm = {
|
|
|
5429
5476
|
},
|
|
5430
5477
|
startOpen: r.open
|
|
5431
5478
|
}, {
|
|
5432
|
-
trigger: k(({ isOpen:
|
|
5479
|
+
trigger: k(({ isOpen: a }) => [
|
|
5433
5480
|
g(l.$slots, "groupTrigger", {
|
|
5434
5481
|
group: r,
|
|
5435
|
-
isOpen:
|
|
5482
|
+
isOpen: a
|
|
5436
5483
|
}, () => [
|
|
5437
5484
|
C(b(r.name), 1)
|
|
5438
5485
|
])
|
|
@@ -5445,14 +5492,14 @@ const Ri = ["onClick"], lm = {
|
|
|
5445
5492
|
type: r.multiple ? "checkbox" : "radio",
|
|
5446
5493
|
compact: e.compact,
|
|
5447
5494
|
"model-value": n(r),
|
|
5448
|
-
onFacetChange: o[0] || (o[0] = (
|
|
5495
|
+
onFacetChange: o[0] || (o[0] = (a) => t("facet-change", a))
|
|
5449
5496
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5450
|
-
r.children.length > e.maxVisible ? (
|
|
5497
|
+
r.children.length > e.maxVisible ? (c(), _(Lt, {
|
|
5451
5498
|
key: 0,
|
|
5452
5499
|
class: m(["facets-filters__more-facets", e.classes.moreFacets])
|
|
5453
5500
|
}, {
|
|
5454
|
-
trigger: k(({ isOpen:
|
|
5455
|
-
C(b(
|
|
5501
|
+
trigger: k(({ isOpen: a }) => [
|
|
5502
|
+
C(b(a ? "View Less" : "Show More"), 1)
|
|
5456
5503
|
]),
|
|
5457
5504
|
default: k(() => [
|
|
5458
5505
|
O(ft, {
|
|
@@ -5462,7 +5509,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5462
5509
|
type: r.multiple ? "checkbox" : "radio",
|
|
5463
5510
|
compact: e.compact,
|
|
5464
5511
|
"model-value": n(r),
|
|
5465
|
-
onFacetChange: o[1] || (o[1] = (
|
|
5512
|
+
onFacetChange: o[1] || (o[1] = (a) => t("facet-change", a))
|
|
5466
5513
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"])
|
|
5467
5514
|
]),
|
|
5468
5515
|
_: 2
|
|
@@ -5472,7 +5519,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5472
5519
|
}, 1032, ["classes", "startOpen"]))), 128))
|
|
5473
5520
|
]));
|
|
5474
5521
|
}
|
|
5475
|
-
},
|
|
5522
|
+
}, Ia = { class: "facets-filters" }, am = {
|
|
5476
5523
|
__name: "UluFacetsFilterAccordions",
|
|
5477
5524
|
props: {
|
|
5478
5525
|
/**
|
|
@@ -5508,16 +5555,16 @@ const Ri = ["onClick"], lm = {
|
|
|
5508
5555
|
emits: ["facet-change"],
|
|
5509
5556
|
setup(e, { emit: s }) {
|
|
5510
5557
|
const t = s, n = (l) => l.multiple ? l.children.filter((o) => o.selected).map((o) => o.uid) : l.children.find((o) => o.selected)?.uid || "";
|
|
5511
|
-
return (l, o) => (
|
|
5512
|
-
(
|
|
5558
|
+
return (l, o) => (c(), f("div", Ia, [
|
|
5559
|
+
(c(!0), f(x, null, B(e.facets, (r) => (c(), _(ms, {
|
|
5513
5560
|
key: r.uid,
|
|
5514
5561
|
modifiers: e.accordionModifiers,
|
|
5515
5562
|
startOpen: r.open
|
|
5516
5563
|
}, {
|
|
5517
|
-
trigger: k(({ isOpen:
|
|
5564
|
+
trigger: k(({ isOpen: a }) => [
|
|
5518
5565
|
g(l.$slots, "groupTrigger", {
|
|
5519
5566
|
group: r,
|
|
5520
|
-
isOpen:
|
|
5567
|
+
isOpen: a
|
|
5521
5568
|
}, () => [
|
|
5522
5569
|
C(b(r.name), 1)
|
|
5523
5570
|
])
|
|
@@ -5530,15 +5577,15 @@ const Ri = ["onClick"], lm = {
|
|
|
5530
5577
|
type: r.multiple ? "checkbox" : "radio",
|
|
5531
5578
|
compact: e.compact,
|
|
5532
5579
|
"model-value": n(r),
|
|
5533
|
-
onFacetChange: o[0] || (o[0] = (
|
|
5580
|
+
onFacetChange: o[0] || (o[0] = (a) => t("facet-change", a))
|
|
5534
5581
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5535
|
-
r.children.length > e.maxVisible ? (
|
|
5582
|
+
r.children.length > e.maxVisible ? (c(), _(ms, {
|
|
5536
5583
|
key: 0,
|
|
5537
5584
|
class: m(["facets-filters__more-facets", e.classes.moreFacets]),
|
|
5538
5585
|
modifiers: e.accordionModifiers
|
|
5539
5586
|
}, {
|
|
5540
|
-
trigger: k(({ isOpen:
|
|
5541
|
-
C(b(
|
|
5587
|
+
trigger: k(({ isOpen: a }) => [
|
|
5588
|
+
C(b(a ? "View Less" : "Show More"), 1)
|
|
5542
5589
|
]),
|
|
5543
5590
|
default: k(() => [
|
|
5544
5591
|
O(ft, {
|
|
@@ -5548,7 +5595,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5548
5595
|
type: r.multiple ? "checkbox" : "radio",
|
|
5549
5596
|
compact: e.compact,
|
|
5550
5597
|
"model-value": n(r),
|
|
5551
|
-
onFacetChange: o[1] || (o[1] = (
|
|
5598
|
+
onFacetChange: o[1] || (o[1] = (a) => t("facet-change", a))
|
|
5552
5599
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"])
|
|
5553
5600
|
]),
|
|
5554
5601
|
_: 2
|
|
@@ -5558,7 +5605,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5558
5605
|
}, 1032, ["modifiers", "startOpen"]))), 128))
|
|
5559
5606
|
]));
|
|
5560
5607
|
}
|
|
5561
|
-
},
|
|
5608
|
+
}, im = {
|
|
5562
5609
|
__name: "UluFacetsFilterPopovers",
|
|
5563
5610
|
props: {
|
|
5564
5611
|
/**
|
|
@@ -5588,38 +5635,38 @@ const Ri = ["onClick"], lm = {
|
|
|
5588
5635
|
},
|
|
5589
5636
|
emits: ["facet-change"],
|
|
5590
5637
|
setup(e, { emit: s }) {
|
|
5591
|
-
const t = s, n = (
|
|
5592
|
-
const u =
|
|
5593
|
-
return
|
|
5638
|
+
const t = s, n = (a) => a.multiple ? a.children : [{ label: `All ${a.name}s`, uid: "" }, ...a.children], l = (a) => a.multiple ? a.children.filter((u) => u.selected).map((u) => u.uid) : a.children.find((u) => u.selected)?.uid || "", o = (a) => {
|
|
5639
|
+
const u = a.children.filter((d) => d.selected), i = u.length;
|
|
5640
|
+
return i === 0 ? "All" : a.multiple ? i === 1 ? u[0].label : `${i} selected` : u[0].label;
|
|
5594
5641
|
};
|
|
5595
|
-
function r(
|
|
5596
|
-
if (
|
|
5642
|
+
function r(a, u, i) {
|
|
5643
|
+
if (a.multiple) {
|
|
5597
5644
|
const d = new Set(u);
|
|
5598
|
-
|
|
5645
|
+
a.children.forEach((v) => {
|
|
5599
5646
|
const y = d.has(v.uid);
|
|
5600
5647
|
v.selected !== y && t("facet-change", {
|
|
5601
|
-
groupUid:
|
|
5648
|
+
groupUid: a.uid,
|
|
5602
5649
|
facetUid: v.uid,
|
|
5603
5650
|
selected: y
|
|
5604
5651
|
});
|
|
5605
5652
|
});
|
|
5606
5653
|
} else {
|
|
5607
5654
|
const d = u;
|
|
5608
|
-
|
|
5655
|
+
a.children.forEach((v) => {
|
|
5609
5656
|
const y = v.uid === d;
|
|
5610
5657
|
v.selected !== y && t("facet-change", {
|
|
5611
|
-
groupUid:
|
|
5658
|
+
groupUid: a.uid,
|
|
5612
5659
|
facetUid: v.uid,
|
|
5613
5660
|
selected: y
|
|
5614
5661
|
});
|
|
5615
|
-
}),
|
|
5662
|
+
}), i();
|
|
5616
5663
|
}
|
|
5617
5664
|
}
|
|
5618
|
-
return (
|
|
5665
|
+
return (a, u) => (c(), f("div", {
|
|
5619
5666
|
class: m(e.classes.container)
|
|
5620
5667
|
}, [
|
|
5621
|
-
(
|
|
5622
|
-
key:
|
|
5668
|
+
(c(!0), f(x, null, B(e.facets, (i) => (c(), f("div", {
|
|
5669
|
+
key: i.uid,
|
|
5623
5670
|
class: m(e.classes.group)
|
|
5624
5671
|
}, [
|
|
5625
5672
|
O(pt, {
|
|
@@ -5629,13 +5676,13 @@ const Ri = ["onClick"], lm = {
|
|
|
5629
5676
|
}
|
|
5630
5677
|
}, {
|
|
5631
5678
|
trigger: k(() => [
|
|
5632
|
-
g(
|
|
5633
|
-
group:
|
|
5634
|
-
label: o(
|
|
5679
|
+
g(a.$slots, "trigger", {
|
|
5680
|
+
group: i,
|
|
5681
|
+
label: o(i)
|
|
5635
5682
|
}, () => [
|
|
5636
5683
|
h("span", null, [
|
|
5637
|
-
C(b(
|
|
5638
|
-
h("strong", null, b(o(
|
|
5684
|
+
C(b(i.name) + ": ", 1),
|
|
5685
|
+
h("strong", null, b(o(i)), 1)
|
|
5639
5686
|
])
|
|
5640
5687
|
]),
|
|
5641
5688
|
O(D, {
|
|
@@ -5645,11 +5692,11 @@ const Ri = ["onClick"], lm = {
|
|
|
5645
5692
|
]),
|
|
5646
5693
|
default: k(({ close: d }) => [
|
|
5647
5694
|
O(un, {
|
|
5648
|
-
legend:
|
|
5649
|
-
type:
|
|
5650
|
-
options: n(
|
|
5651
|
-
"model-value": l(
|
|
5652
|
-
"onUpdate:modelValue": (v) => r(
|
|
5695
|
+
legend: i.name,
|
|
5696
|
+
type: i.multiple ? "checkbox" : "radio",
|
|
5697
|
+
options: n(i),
|
|
5698
|
+
"model-value": l(i),
|
|
5699
|
+
"onUpdate:modelValue": (v) => r(i, v, d),
|
|
5653
5700
|
hideInputs: e.hideInputs
|
|
5654
5701
|
}, null, 8, ["legend", "type", "options", "model-value", "onUpdate:modelValue", "hideInputs"])
|
|
5655
5702
|
]),
|
|
@@ -5658,65 +5705,94 @@ const Ri = ["onClick"], lm = {
|
|
|
5658
5705
|
], 2))), 128))
|
|
5659
5706
|
], 2));
|
|
5660
5707
|
}
|
|
5661
|
-
},
|
|
5708
|
+
}, Ma = ["for"], Fa = ["id", "onChange"], Pa = { value: "" }, za = ["value", "selected"], cm = {
|
|
5662
5709
|
__name: "UluFacetsFilterSelects",
|
|
5663
5710
|
props: {
|
|
5711
|
+
/**
|
|
5712
|
+
* Facets Array
|
|
5713
|
+
*/
|
|
5664
5714
|
facets: {
|
|
5665
5715
|
type: Array,
|
|
5666
5716
|
default: () => []
|
|
5717
|
+
},
|
|
5718
|
+
/**
|
|
5719
|
+
* Optional classes bindings for all elements { container, group, label, select }
|
|
5720
|
+
*/
|
|
5721
|
+
classes: {
|
|
5722
|
+
type: Object,
|
|
5723
|
+
default: () => ({})
|
|
5667
5724
|
}
|
|
5668
5725
|
},
|
|
5669
5726
|
emits: ["facet-change"],
|
|
5670
5727
|
setup(e, { emit: s }) {
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5728
|
+
console.log(e);
|
|
5729
|
+
const n = s;
|
|
5730
|
+
function l(o, r) {
|
|
5731
|
+
const a = r.target.value;
|
|
5732
|
+
o.children.find((i) => i.selected)?.uid !== a && o.children.forEach((i) => {
|
|
5733
|
+
const d = i.uid === a;
|
|
5734
|
+
i.selected !== d && n("facet-change", {
|
|
5735
|
+
groupUid: o.uid,
|
|
5736
|
+
facetUid: i.uid,
|
|
5737
|
+
selected: d
|
|
5680
5738
|
});
|
|
5681
5739
|
});
|
|
5682
5740
|
}
|
|
5683
|
-
return (
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5741
|
+
return (o, r) => (c(), f("div", {
|
|
5742
|
+
class: m(["facets-dropdown-filters", e.classes.container])
|
|
5743
|
+
}, [
|
|
5744
|
+
(c(!0), f(x, null, B(e.facets, (a) => (c(), f("div", {
|
|
5745
|
+
class: m(["facets-dropdown-filters__group", e.classes.group]),
|
|
5746
|
+
key: a.uid
|
|
5687
5747
|
}, [
|
|
5688
5748
|
h("label", {
|
|
5689
|
-
for: `facet-dropdown-${
|
|
5690
|
-
class: "facets-dropdown-filters__label"
|
|
5691
|
-
},
|
|
5749
|
+
for: `facet-dropdown-${a.uid}`,
|
|
5750
|
+
class: m(["facets-dropdown-filters__label", e.classes.label])
|
|
5751
|
+
}, [
|
|
5752
|
+
g(o.$slots, "label", {}, () => [
|
|
5753
|
+
C(b(a.name), 1)
|
|
5754
|
+
])
|
|
5755
|
+
], 10, Ma),
|
|
5692
5756
|
h("select", {
|
|
5693
|
-
id: `facet-dropdown-${
|
|
5694
|
-
class: "facets-dropdown-filters__select",
|
|
5695
|
-
onChange: (
|
|
5757
|
+
id: `facet-dropdown-${a.uid}`,
|
|
5758
|
+
class: m(["facets-dropdown-filters__select", e.classes.select]),
|
|
5759
|
+
onChange: (u) => l(a, u)
|
|
5696
5760
|
}, [
|
|
5697
|
-
h("option",
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5761
|
+
h("option", Pa, [
|
|
5762
|
+
g(o.$slots, "optionAll", { group: a }, () => [
|
|
5763
|
+
C(" All " + b(a.name) + "s ", 1)
|
|
5764
|
+
])
|
|
5765
|
+
]),
|
|
5766
|
+
(c(!0), f(x, null, B(a.children, (u, i) => (c(), f("option", {
|
|
5767
|
+
key: u.uid,
|
|
5768
|
+
value: u.uid,
|
|
5769
|
+
selected: u.selected
|
|
5770
|
+
}, [
|
|
5771
|
+
g(o.$slots, "option", {
|
|
5772
|
+
group: a,
|
|
5773
|
+
option: u,
|
|
5774
|
+
index: i
|
|
5775
|
+
}, () => [
|
|
5776
|
+
C(b(u.label), 1)
|
|
5777
|
+
])
|
|
5778
|
+
], 8, za))), 128))
|
|
5779
|
+
], 42, Fa)
|
|
5780
|
+
], 2))), 128))
|
|
5781
|
+
], 2));
|
|
5706
5782
|
}
|
|
5707
|
-
},
|
|
5783
|
+
}, La = { class: "facets-header-layout" }, Va = { class: "facets-header-layout__header" }, Ha = { class: "facets-header-layout__main" }, um = {
|
|
5708
5784
|
__name: "UluFacetsHeaderLayout",
|
|
5709
5785
|
setup(e) {
|
|
5710
|
-
return (s, t) => (
|
|
5711
|
-
h("div",
|
|
5786
|
+
return (s, t) => (c(), f("div", La, [
|
|
5787
|
+
h("div", Va, [
|
|
5712
5788
|
g(s.$slots, "header")
|
|
5713
5789
|
]),
|
|
5714
|
-
h("div",
|
|
5790
|
+
h("div", Ha, [
|
|
5715
5791
|
g(s.$slots, "main")
|
|
5716
5792
|
])
|
|
5717
5793
|
]));
|
|
5718
5794
|
}
|
|
5719
|
-
},
|
|
5795
|
+
}, Na = { class: "facets-results" }, Da = {
|
|
5720
5796
|
key: 1,
|
|
5721
5797
|
class: "facets-results__empty"
|
|
5722
5798
|
}, dm = {
|
|
@@ -5740,15 +5816,15 @@ const Ri = ["onClick"], lm = {
|
|
|
5740
5816
|
}
|
|
5741
5817
|
},
|
|
5742
5818
|
setup(e) {
|
|
5743
|
-
return (s, t) => (
|
|
5744
|
-
e.items.length ? (
|
|
5819
|
+
return (s, t) => (c(), f("div", Na, [
|
|
5820
|
+
e.items.length ? (c(), _(Ns, {
|
|
5745
5821
|
key: 0,
|
|
5746
5822
|
tag: e.tag,
|
|
5747
5823
|
name: e.transitionName,
|
|
5748
5824
|
class: m(["facets-results__list", e.classes.list])
|
|
5749
5825
|
}, {
|
|
5750
5826
|
default: k(() => [
|
|
5751
|
-
(
|
|
5827
|
+
(c(!0), f(x, null, B(e.items, (n, l) => (c(), f("li", {
|
|
5752
5828
|
class: m(["facets-results__item", e.classes.item]),
|
|
5753
5829
|
key: n.id || l
|
|
5754
5830
|
}, [
|
|
@@ -5759,14 +5835,14 @@ const Ri = ["onClick"], lm = {
|
|
|
5759
5835
|
], 2))), 128))
|
|
5760
5836
|
]),
|
|
5761
5837
|
_: 3
|
|
5762
|
-
}, 8, ["tag", "name", "class"])) : (
|
|
5838
|
+
}, 8, ["tag", "name", "class"])) : (c(), f("div", Da, [
|
|
5763
5839
|
g(s.$slots, "empty", {}, () => [
|
|
5764
5840
|
t[0] || (t[0] = h("p", null, "No matching items found.", -1))
|
|
5765
5841
|
])
|
|
5766
5842
|
]))
|
|
5767
5843
|
]));
|
|
5768
5844
|
}
|
|
5769
|
-
},
|
|
5845
|
+
}, Wa = ["for"], qa = ["id", "placeholder"], fm = {
|
|
5770
5846
|
__name: "UluFacetsSearch",
|
|
5771
5847
|
props: {
|
|
5772
5848
|
classes: {
|
|
@@ -5789,27 +5865,27 @@ const Ri = ["onClick"], lm = {
|
|
|
5789
5865
|
n("update:modelValue", r);
|
|
5790
5866
|
}
|
|
5791
5867
|
});
|
|
5792
|
-
return (r,
|
|
5868
|
+
return (r, a) => (c(), f("div", {
|
|
5793
5869
|
class: m(["facets-search", e.classes.container])
|
|
5794
5870
|
}, [
|
|
5795
5871
|
h("label", {
|
|
5796
5872
|
class: m(e.classes.label),
|
|
5797
5873
|
for: $(l)
|
|
5798
|
-
}, [...
|
|
5874
|
+
}, [...a[1] || (a[1] = [
|
|
5799
5875
|
h("strong", null, "Search", -1)
|
|
5800
|
-
])], 10,
|
|
5876
|
+
])], 10, Wa),
|
|
5801
5877
|
Fe(h("input", {
|
|
5802
5878
|
id: $(l),
|
|
5803
5879
|
class: m(e.classes.input),
|
|
5804
|
-
"onUpdate:modelValue":
|
|
5880
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => o.value = u),
|
|
5805
5881
|
type: "text",
|
|
5806
5882
|
placeholder: e.placeholder
|
|
5807
|
-
}, null, 10,
|
|
5883
|
+
}, null, 10, qa), [
|
|
5808
5884
|
[Vn, o.value]
|
|
5809
5885
|
])
|
|
5810
5886
|
], 2));
|
|
5811
5887
|
}
|
|
5812
|
-
},
|
|
5888
|
+
}, Xa = { class: "facets-sidebar__header" }, Ga = { class: "facets-sidebar__mobile-controls" }, Ya = { class: "facets-sidebar__body" }, Ka = { class: "facets-sidebar__main" }, hm = {
|
|
5813
5889
|
__name: "UluFacetsSidebarLayout",
|
|
5814
5890
|
props: {
|
|
5815
5891
|
mobileButtonText: {
|
|
@@ -5830,21 +5906,21 @@ const Ri = ["onClick"], lm = {
|
|
|
5830
5906
|
},
|
|
5831
5907
|
setup(e) {
|
|
5832
5908
|
const s = E(!1), t = mt("uluIsMobile"), n = E(null), l = E(null), o = S(() => t.value ? l.value : n.value);
|
|
5833
|
-
return (r,
|
|
5909
|
+
return (r, a) => (c(), f("div", {
|
|
5834
5910
|
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": $(t) }])
|
|
5835
5911
|
}, [
|
|
5836
|
-
h("div",
|
|
5912
|
+
h("div", Xa, [
|
|
5837
5913
|
g(r.$slots, "header")
|
|
5838
5914
|
]),
|
|
5839
|
-
Fe(h("div",
|
|
5915
|
+
Fe(h("div", Ga, [
|
|
5840
5916
|
h("button", {
|
|
5841
5917
|
class: m(e.classes.mobileButton),
|
|
5842
|
-
onClick:
|
|
5918
|
+
onClick: a[0] || (a[0] = (u) => s.value = !0)
|
|
5843
5919
|
}, b(e.mobileButtonText), 3)
|
|
5844
5920
|
], 512), [
|
|
5845
5921
|
[Mt, $(t)]
|
|
5846
5922
|
]),
|
|
5847
|
-
h("div",
|
|
5923
|
+
h("div", Ya, [
|
|
5848
5924
|
Fe(h("div", {
|
|
5849
5925
|
class: "facets-sidebar__sidebar",
|
|
5850
5926
|
ref_key: "desktopTarget",
|
|
@@ -5852,14 +5928,14 @@ const Ri = ["onClick"], lm = {
|
|
|
5852
5928
|
}, null, 512), [
|
|
5853
5929
|
[Mt, !$(t)]
|
|
5854
5930
|
]),
|
|
5855
|
-
h("div",
|
|
5931
|
+
h("div", Ka, [
|
|
5856
5932
|
g(r.$slots, "main")
|
|
5857
5933
|
])
|
|
5858
5934
|
]),
|
|
5859
|
-
$(t) ? (
|
|
5935
|
+
$(t) ? (c(), _(Ks, {
|
|
5860
5936
|
key: 0,
|
|
5861
5937
|
modelValue: s.value,
|
|
5862
|
-
"onUpdate:modelValue":
|
|
5938
|
+
"onUpdate:modelValue": a[1] || (a[1] = (u) => s.value = u),
|
|
5863
5939
|
position: "right",
|
|
5864
5940
|
title: "Filters & Sort",
|
|
5865
5941
|
allowResize: ""
|
|
@@ -5873,7 +5949,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5873
5949
|
]),
|
|
5874
5950
|
_: 1
|
|
5875
5951
|
}, 8, ["modelValue"])) : p("", !0),
|
|
5876
|
-
o.value ? (
|
|
5952
|
+
o.value ? (c(), _(gt, {
|
|
5877
5953
|
key: 1,
|
|
5878
5954
|
to: o.value
|
|
5879
5955
|
}, [
|
|
@@ -5881,7 +5957,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5881
5957
|
], 8, ["to"])) : p("", !0)
|
|
5882
5958
|
], 2));
|
|
5883
5959
|
}
|
|
5884
|
-
},
|
|
5960
|
+
}, Ja = ["for"], Qa = ["value", "id"], Za = ["value"], mm = {
|
|
5885
5961
|
__name: "UluFacetsSort",
|
|
5886
5962
|
props: {
|
|
5887
5963
|
classes: {
|
|
@@ -5900,7 +5976,7 @@ const Ri = ["onClick"], lm = {
|
|
|
5900
5976
|
emits: ["update:modelValue"],
|
|
5901
5977
|
setup(e, { emit: s }) {
|
|
5902
5978
|
const t = s, n = Q("ulu-facet-sort");
|
|
5903
|
-
return (l, o) => (
|
|
5979
|
+
return (l, o) => (c(), f("div", {
|
|
5904
5980
|
class: m(["facets-sort", e.classes.container])
|
|
5905
5981
|
}, [
|
|
5906
5982
|
h("label", {
|
|
@@ -5910,21 +5986,21 @@ const Ri = ["onClick"], lm = {
|
|
|
5910
5986
|
g(l.$slots, "default", {}, () => [
|
|
5911
5987
|
o[1] || (o[1] = C("Sort:", -1))
|
|
5912
5988
|
])
|
|
5913
|
-
], 10,
|
|
5989
|
+
], 10, Ja),
|
|
5914
5990
|
h("select", {
|
|
5915
5991
|
value: e.modelValue,
|
|
5916
5992
|
onChange: o[0] || (o[0] = (r) => t("update:modelValue", r.target.value)),
|
|
5917
5993
|
id: $(n),
|
|
5918
5994
|
class: m(e.classes.select)
|
|
5919
5995
|
}, [
|
|
5920
|
-
(
|
|
5921
|
-
value:
|
|
5922
|
-
key:
|
|
5923
|
-
}, b(r.text), 9,
|
|
5924
|
-
], 42,
|
|
5996
|
+
(c(!0), f(x, null, B(e.sortTypes, (r, a) => (c(), f("option", {
|
|
5997
|
+
value: a,
|
|
5998
|
+
key: a
|
|
5999
|
+
}, b(r.text), 9, Za))), 128))
|
|
6000
|
+
], 42, Qa)
|
|
5925
6001
|
], 2));
|
|
5926
6002
|
}
|
|
5927
|
-
}, dn = Symbol(), fn = Symbol(), $t = Symbol(),
|
|
6003
|
+
}, dn = Symbol(), fn = Symbol(), $t = Symbol(), ei = {
|
|
5928
6004
|
name: "ScrollAnchors",
|
|
5929
6005
|
emits: ["section-change"],
|
|
5930
6006
|
props: {
|
|
@@ -5988,8 +6064,8 @@ const Ri = ["onClick"], lm = {
|
|
|
5988
6064
|
const { observerOptions: e, sections: s, removeActive: t, firstItemActive: n } = this;
|
|
5989
6065
|
let l = 0;
|
|
5990
6066
|
const o = (r) => {
|
|
5991
|
-
r.forEach(({ target:
|
|
5992
|
-
const
|
|
6067
|
+
r.forEach(({ target: a, isIntersecting: u }) => {
|
|
6068
|
+
const i = this.getSectionIndex(a), d = a.offsetTop, v = s[i], y = i === 0 && l > d, w = i === s.length - 1 && l < d;
|
|
5993
6069
|
v && this.$nextTick(() => {
|
|
5994
6070
|
u ? (t(v), v.active = !0) : (y && !n || w && v.active) && t(), this.$emit("section-change", {
|
|
5995
6071
|
section: v,
|
|
@@ -6029,13 +6105,13 @@ const Ri = ["onClick"], lm = {
|
|
|
6029
6105
|
unmounted() {
|
|
6030
6106
|
this.destroyObserver();
|
|
6031
6107
|
}
|
|
6032
|
-
},
|
|
6033
|
-
function
|
|
6034
|
-
return
|
|
6108
|
+
}, ti = { class: "scroll-anchors" };
|
|
6109
|
+
function si(e, s, t, n, l, o) {
|
|
6110
|
+
return c(), f("div", ti, [
|
|
6035
6111
|
g(e.$slots, "default")
|
|
6036
6112
|
]);
|
|
6037
6113
|
}
|
|
6038
|
-
const gm = /* @__PURE__ */ j(
|
|
6114
|
+
const gm = /* @__PURE__ */ j(ei, [["render", si]]), ni = {
|
|
6039
6115
|
name: "ScrollAnchorsNav",
|
|
6040
6116
|
inject: {
|
|
6041
6117
|
sections: { from: $t }
|
|
@@ -6046,29 +6122,29 @@ const gm = /* @__PURE__ */ j(ta, [["render", na]]), oa = {
|
|
|
6046
6122
|
default: "nav"
|
|
6047
6123
|
}
|
|
6048
6124
|
}
|
|
6049
|
-
},
|
|
6050
|
-
function
|
|
6051
|
-
return o.sections.length ? (
|
|
6125
|
+
}, oi = ["href"];
|
|
6126
|
+
function li(e, s, t, n, l, o) {
|
|
6127
|
+
return o.sections.length ? (c(), _(F(t.element), {
|
|
6052
6128
|
key: 0,
|
|
6053
6129
|
class: "scroll-anchors__nav"
|
|
6054
6130
|
}, {
|
|
6055
6131
|
default: k(() => [
|
|
6056
6132
|
h("ul", null, [
|
|
6057
|
-
(
|
|
6058
|
-
key:
|
|
6133
|
+
(c(!0), f(x, null, B(o.sections, (r, a) => (c(), f("li", {
|
|
6134
|
+
key: a,
|
|
6059
6135
|
class: m({ "is-active": r.active })
|
|
6060
6136
|
}, [
|
|
6061
6137
|
h("a", {
|
|
6062
6138
|
class: m({ "is-active": r.active }),
|
|
6063
6139
|
href: `#${r.titleId}`
|
|
6064
|
-
}, b(r.title), 11,
|
|
6140
|
+
}, b(r.title), 11, oi)
|
|
6065
6141
|
], 2))), 128))
|
|
6066
6142
|
])
|
|
6067
6143
|
]),
|
|
6068
6144
|
_: 1
|
|
6069
6145
|
})) : p("", !0);
|
|
6070
6146
|
}
|
|
6071
|
-
const vm = /* @__PURE__ */ j(
|
|
6147
|
+
const vm = /* @__PURE__ */ j(ni, [["render", li]]), ri = {
|
|
6072
6148
|
name: "ScrollAnchorsNavAnimated",
|
|
6073
6149
|
inject: {
|
|
6074
6150
|
sections: { from: $t }
|
|
@@ -6093,7 +6169,7 @@ const vm = /* @__PURE__ */ j(oa, [["render", ra]]), ia = {
|
|
|
6093
6169
|
const { sections: e, linkRefs: s } = this, t = Object.keys(s).length;
|
|
6094
6170
|
if (!e || !t)
|
|
6095
6171
|
return !1;
|
|
6096
|
-
const n = e.findIndex((
|
|
6172
|
+
const n = e.findIndex((a) => a.active);
|
|
6097
6173
|
if (n === -1)
|
|
6098
6174
|
return !1;
|
|
6099
6175
|
const l = this.linkRefs[n], { offsetTop: o, offsetHeight: r } = l;
|
|
@@ -6116,24 +6192,24 @@ const vm = /* @__PURE__ */ j(oa, [["render", ra]]), ia = {
|
|
|
6116
6192
|
this.linkRefs[e] = s;
|
|
6117
6193
|
}
|
|
6118
6194
|
}
|
|
6119
|
-
},
|
|
6120
|
-
function
|
|
6121
|
-
return o.sections.length ? (
|
|
6195
|
+
}, ai = { class: "scroll-anchors__rail" }, ii = ["href"];
|
|
6196
|
+
function ci(e, s, t, n, l, o) {
|
|
6197
|
+
return o.sections.length ? (c(), _(F(t.element), {
|
|
6122
6198
|
key: 0,
|
|
6123
6199
|
class: "scroll-anchors__nav scroll-anchors__nav--animated"
|
|
6124
6200
|
}, {
|
|
6125
6201
|
default: k(() => [
|
|
6126
|
-
h("ul",
|
|
6127
|
-
(
|
|
6128
|
-
key:
|
|
6202
|
+
h("ul", ai, [
|
|
6203
|
+
(c(!0), f(x, null, B(o.sections, (r, a) => (c(), f("li", {
|
|
6204
|
+
key: a,
|
|
6129
6205
|
class: m({ "is-active": r.active })
|
|
6130
6206
|
}, [
|
|
6131
6207
|
h("a", {
|
|
6132
6208
|
class: m({ "is-active": r.active }),
|
|
6133
6209
|
ref_for: !0,
|
|
6134
|
-
ref: (u) => o.addLinkRef(
|
|
6210
|
+
ref: (u) => o.addLinkRef(a, u),
|
|
6135
6211
|
href: `#${r.titleId}`
|
|
6136
|
-
}, b(r.title), 11,
|
|
6212
|
+
}, b(r.title), 11, ii)
|
|
6137
6213
|
], 2))), 128))
|
|
6138
6214
|
]),
|
|
6139
6215
|
h("div", {
|
|
@@ -6151,7 +6227,7 @@ function ua(e, s, t, n, l, o) {
|
|
|
6151
6227
|
_: 1
|
|
6152
6228
|
})) : p("", !0);
|
|
6153
6229
|
}
|
|
6154
|
-
const ym = /* @__PURE__ */ j(
|
|
6230
|
+
const ym = /* @__PURE__ */ j(ri, [["render", ci]]), ui = {
|
|
6155
6231
|
name: "ScrollAnchorsSection",
|
|
6156
6232
|
props: {
|
|
6157
6233
|
title: String,
|
|
@@ -6196,12 +6272,12 @@ const ym = /* @__PURE__ */ j(ia, [["render", ua]]), da = {
|
|
|
6196
6272
|
this.unregister && this.unregister(this);
|
|
6197
6273
|
}
|
|
6198
6274
|
};
|
|
6199
|
-
function
|
|
6200
|
-
return
|
|
6275
|
+
function di(e, s, t, n, l, o) {
|
|
6276
|
+
return c(), f("div", {
|
|
6201
6277
|
class: m([t.wrapperClass, { [t.activeClass]: t.activeClass && o.section?.active }]),
|
|
6202
6278
|
ref: "element"
|
|
6203
6279
|
}, [
|
|
6204
|
-
(
|
|
6280
|
+
(c(), _(F(t.titleElement), {
|
|
6205
6281
|
class: m(t.titleClass),
|
|
6206
6282
|
id: l.titleId
|
|
6207
6283
|
}, {
|
|
@@ -6213,7 +6289,7 @@ function fa(e, s, t, n, l, o) {
|
|
|
6213
6289
|
g(e.$slots, "default", { section: o.section })
|
|
6214
6290
|
], 2);
|
|
6215
6291
|
}
|
|
6216
|
-
const pm = /* @__PURE__ */ j(
|
|
6292
|
+
const pm = /* @__PURE__ */ j(ui, [["render", di]]), fi = {
|
|
6217
6293
|
__name: "UluSkeletonText",
|
|
6218
6294
|
props: {
|
|
6219
6295
|
/**
|
|
@@ -6230,7 +6306,7 @@ const pm = /* @__PURE__ */ j(da, [["render", fa]]), ha = {
|
|
|
6230
6306
|
width: String
|
|
6231
6307
|
},
|
|
6232
6308
|
setup(e) {
|
|
6233
|
-
return (s, t) => (
|
|
6309
|
+
return (s, t) => (c(), f("span", {
|
|
6234
6310
|
class: m(["skeleton skeleton--text", {
|
|
6235
6311
|
"skeleton--inline": e.inline,
|
|
6236
6312
|
"skeleton--background-alt": e.alt,
|
|
@@ -6247,7 +6323,7 @@ const pm = /* @__PURE__ */ j(da, [["render", fa]]), ha = {
|
|
|
6247
6323
|
when: Boolean
|
|
6248
6324
|
},
|
|
6249
6325
|
setup(e) {
|
|
6250
|
-
return (s, t) => e.when ? (
|
|
6326
|
+
return (s, t) => e.when ? (c(), _(fi, {
|
|
6251
6327
|
key: 1,
|
|
6252
6328
|
inline: ""
|
|
6253
6329
|
})) : g(s.$slots, "default", { key: 0 });
|
|
@@ -6265,37 +6341,37 @@ const pm = /* @__PURE__ */ j(da, [["render", fa]]), ha = {
|
|
|
6265
6341
|
},
|
|
6266
6342
|
setup(e) {
|
|
6267
6343
|
const s = e, t = S(() => uo(s.lines, () => {
|
|
6268
|
-
const l =
|
|
6344
|
+
const l = it(70, 100);
|
|
6269
6345
|
let o = 0;
|
|
6270
6346
|
const r = () => {
|
|
6271
|
-
const
|
|
6347
|
+
const i = l - o, d = it(15, i);
|
|
6272
6348
|
return o += d, d;
|
|
6273
|
-
},
|
|
6349
|
+
}, a = [];
|
|
6274
6350
|
for (; o < l - 15; )
|
|
6275
|
-
|
|
6276
|
-
const u = () =>
|
|
6277
|
-
for (; u() >= l &&
|
|
6351
|
+
a.push(r());
|
|
6352
|
+
const u = () => a.reduce((i, d) => i + d, 0);
|
|
6353
|
+
for (; u() >= l && a.pop(); )
|
|
6278
6354
|
;
|
|
6279
|
-
return
|
|
6355
|
+
return a.map((i) => ({ width: i, alt: Math.random() < 0.5 }));
|
|
6280
6356
|
}));
|
|
6281
|
-
return (n, l) => (
|
|
6282
|
-
(
|
|
6283
|
-
(
|
|
6284
|
-
key:
|
|
6285
|
-
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt":
|
|
6286
|
-
style: X({ width: `${
|
|
6357
|
+
return (n, l) => (c(), f("div", null, [
|
|
6358
|
+
(c(!0), f(x, null, B(t.value, (o, r) => (c(), f("div", { key: r }, [
|
|
6359
|
+
(c(!0), f(x, null, B(o, (a) => (c(), f("span", {
|
|
6360
|
+
key: a,
|
|
6361
|
+
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": a.alt }]),
|
|
6362
|
+
style: X({ width: `${a.width}%` })
|
|
6287
6363
|
}, null, 6))), 128))
|
|
6288
6364
|
]))), 128))
|
|
6289
6365
|
]));
|
|
6290
6366
|
}
|
|
6291
|
-
},
|
|
6367
|
+
}, hi = { class: "skeleton skeleton-block--media" }, wm = {
|
|
6292
6368
|
__name: "UluSkeletonMedia",
|
|
6293
6369
|
setup(e) {
|
|
6294
|
-
return (s, t) => (
|
|
6370
|
+
return (s, t) => (c(), f("div", hi, [
|
|
6295
6371
|
O(D, { icon: "type:image" })
|
|
6296
6372
|
]));
|
|
6297
6373
|
}
|
|
6298
|
-
},
|
|
6374
|
+
}, mi = {
|
|
6299
6375
|
name: "SlideShow",
|
|
6300
6376
|
emits: ["slide-change"],
|
|
6301
6377
|
components: {
|
|
@@ -6490,100 +6566,100 @@ const pm = /* @__PURE__ */ j(da, [["render", fa]]), ha = {
|
|
|
6490
6566
|
beforeUnmount() {
|
|
6491
6567
|
this.destroyObserver();
|
|
6492
6568
|
}
|
|
6493
|
-
},
|
|
6569
|
+
}, gi = { class: "slideshow" }, vi = {
|
|
6494
6570
|
class: "slideshow__control-context",
|
|
6495
6571
|
ref: "context"
|
|
6496
|
-
},
|
|
6572
|
+
}, yi = {
|
|
6497
6573
|
class: "slideshow__track-crop",
|
|
6498
6574
|
ref: "crop"
|
|
6499
|
-
},
|
|
6575
|
+
}, pi = {
|
|
6500
6576
|
class: "slideshow__track",
|
|
6501
6577
|
ref: "track"
|
|
6502
|
-
},
|
|
6578
|
+
}, bi = ["tabindex"], _i = { class: "slideshow__controls" }, wi = { class: "slideshow__controls-item slideshow__controls-item--previous" }, Si = ["disabled"], ki = { class: "slideshow__controls-item slideshow__controls-item--next" }, $i = ["disabled"], Ci = {
|
|
6503
6579
|
key: 0,
|
|
6504
6580
|
class: "slideshow__nav",
|
|
6505
6581
|
ref: "nav"
|
|
6506
|
-
},
|
|
6507
|
-
function
|
|
6582
|
+
}, Ti = ["onClick"], Ai = { class: "hidden-visually" };
|
|
6583
|
+
function Oi(e, s, t, n, l, o) {
|
|
6508
6584
|
const r = K("UluIcon");
|
|
6509
|
-
return
|
|
6510
|
-
h("div",
|
|
6511
|
-
h("div",
|
|
6512
|
-
h("ul",
|
|
6513
|
-
(
|
|
6514
|
-
class: m(["slideshow__slide", { "is-active":
|
|
6585
|
+
return c(), f("div", gi, [
|
|
6586
|
+
h("div", vi, [
|
|
6587
|
+
h("div", yi, [
|
|
6588
|
+
h("ul", pi, [
|
|
6589
|
+
(c(!0), f(x, null, B(l.slides, (a, u) => (c(), f("li", {
|
|
6590
|
+
class: m(["slideshow__slide", { "is-active": a.active }]),
|
|
6515
6591
|
key: u,
|
|
6516
6592
|
tabindex: t.slideFocusable ? "0" : "-1",
|
|
6517
6593
|
ref_for: !0,
|
|
6518
|
-
ref: (
|
|
6519
|
-
|
|
6594
|
+
ref: (i) => {
|
|
6595
|
+
a.element = i;
|
|
6520
6596
|
}
|
|
6521
6597
|
}, [
|
|
6522
6598
|
g(e.$slots, "slide", {
|
|
6523
|
-
item:
|
|
6599
|
+
item: a.item,
|
|
6524
6600
|
index: u
|
|
6525
6601
|
})
|
|
6526
|
-
], 10,
|
|
6602
|
+
], 10, bi))), 128))
|
|
6527
6603
|
], 512)
|
|
6528
6604
|
], 512),
|
|
6529
|
-
h("ul",
|
|
6530
|
-
h("li",
|
|
6605
|
+
h("ul", _i, [
|
|
6606
|
+
h("li", wi, [
|
|
6531
6607
|
h("button", {
|
|
6532
6608
|
class: "slideshow__control-button slideshow__control-button--previous",
|
|
6533
6609
|
"aria-label": "Scroll Right",
|
|
6534
|
-
onClick: s[0] || (s[0] = (...
|
|
6610
|
+
onClick: s[0] || (s[0] = (...a) => o.previous && o.previous(...a)),
|
|
6535
6611
|
disabled: !o.canScrollLeft
|
|
6536
6612
|
}, [
|
|
6537
6613
|
O(r, {
|
|
6538
6614
|
class: "slideshow__control-icon",
|
|
6539
6615
|
icon: "type:previous"
|
|
6540
6616
|
})
|
|
6541
|
-
], 8,
|
|
6617
|
+
], 8, Si)
|
|
6542
6618
|
]),
|
|
6543
|
-
h("li",
|
|
6619
|
+
h("li", ki, [
|
|
6544
6620
|
h("button", {
|
|
6545
6621
|
class: "slideshow__control-button slideshow__control-button--next",
|
|
6546
6622
|
"aria-label": "Scroll Left",
|
|
6547
|
-
onClick: s[1] || (s[1] = (...
|
|
6623
|
+
onClick: s[1] || (s[1] = (...a) => o.next && o.next(...a)),
|
|
6548
6624
|
disabled: !o.canScrollRight
|
|
6549
6625
|
}, [
|
|
6550
6626
|
O(r, {
|
|
6551
6627
|
class: "slideshow__control-icon",
|
|
6552
6628
|
icon: "type:next"
|
|
6553
6629
|
})
|
|
6554
|
-
], 8,
|
|
6630
|
+
], 8, $i)
|
|
6555
6631
|
])
|
|
6556
6632
|
])
|
|
6557
6633
|
], 512),
|
|
6558
|
-
t.noNav ? p("", !0) : (
|
|
6559
|
-
(
|
|
6560
|
-
class: m(["slideshow__nav-item", { "is-active":
|
|
6634
|
+
t.noNav ? p("", !0) : (c(), f("ul", Ci, [
|
|
6635
|
+
(c(!0), f(x, null, B(l.slides, (a, u) => (c(), f("li", {
|
|
6636
|
+
class: m(["slideshow__nav-item", { "is-active": a.active }]),
|
|
6561
6637
|
ref_for: !0,
|
|
6562
|
-
ref: (
|
|
6563
|
-
|
|
6638
|
+
ref: (i) => {
|
|
6639
|
+
a.navElement = i;
|
|
6564
6640
|
},
|
|
6565
6641
|
key: u
|
|
6566
6642
|
}, [
|
|
6567
6643
|
h("button", {
|
|
6568
|
-
class: m(["slideshow__nav-button", { "is-active":
|
|
6569
|
-
onClick: (
|
|
6644
|
+
class: m(["slideshow__nav-button", { "is-active": a.active }]),
|
|
6645
|
+
onClick: (i) => o.to(u)
|
|
6570
6646
|
}, [
|
|
6571
6647
|
g(e.$slots, "nav", {
|
|
6572
|
-
item:
|
|
6648
|
+
item: a.item,
|
|
6573
6649
|
index: u,
|
|
6574
|
-
active:
|
|
6650
|
+
active: a.active
|
|
6575
6651
|
}, () => [
|
|
6576
|
-
h("span",
|
|
6652
|
+
h("span", Ai, "Item " + b(u + 1), 1)
|
|
6577
6653
|
])
|
|
6578
|
-
], 10,
|
|
6654
|
+
], 10, Ti)
|
|
6579
6655
|
], 2))), 128))
|
|
6580
6656
|
], 512))
|
|
6581
6657
|
]);
|
|
6582
6658
|
}
|
|
6583
|
-
const
|
|
6659
|
+
const xi = /* @__PURE__ */ j(mi, [["render", Oi]]), Ui = {
|
|
6584
6660
|
name: "ImageSlideShow",
|
|
6585
6661
|
components: {
|
|
6586
|
-
UluSlideShow:
|
|
6662
|
+
UluSlideShow: xi
|
|
6587
6663
|
},
|
|
6588
6664
|
props: {
|
|
6589
6665
|
images: Array,
|
|
@@ -6604,15 +6680,15 @@ const Ua = /* @__PURE__ */ j(ga, [["render", xa]]), Ba = {
|
|
|
6604
6680
|
slideChange({ slide: e, nav: s }) {
|
|
6605
6681
|
const { active: t, navElement: n } = e;
|
|
6606
6682
|
if (!n) return;
|
|
6607
|
-
const { offsetWidth: l, scrollLeft: o } = s, { offsetLeft: r, offsetWidth:
|
|
6683
|
+
const { offsetWidth: l, scrollLeft: o } = s, { offsetLeft: r, offsetWidth: a } = n, u = o + l, i = r + a;
|
|
6608
6684
|
let d = null;
|
|
6609
|
-
console.log("left/right", o, u), t && n && (
|
|
6685
|
+
console.log("left/right", o, u), t && n && (i > u ? d = o + (i - u) : r < o && (d = r), d !== null && s.scrollTo({ left: d, top: 0, behavior: "smooth" }));
|
|
6610
6686
|
}
|
|
6611
6687
|
}
|
|
6612
|
-
},
|
|
6613
|
-
function
|
|
6614
|
-
const r = K("AppButton"),
|
|
6615
|
-
return
|
|
6688
|
+
}, Bi = ["src", "alt"], Ri = { class: "slideshow__image-actions" }, Ei = ["src", "alt"];
|
|
6689
|
+
function ji(e, s, t, n, l, o) {
|
|
6690
|
+
const r = K("AppButton"), a = K("UluSlideShow");
|
|
6691
|
+
return c(), _(a, {
|
|
6616
6692
|
class: "slideshow--images",
|
|
6617
6693
|
items: t.images,
|
|
6618
6694
|
onSlideChange: o.slideChange
|
|
@@ -6621,9 +6697,9 @@ function Ia(e, s, t, n, l, o) {
|
|
|
6621
6697
|
h("img", {
|
|
6622
6698
|
src: u.src,
|
|
6623
6699
|
alt: u.alt
|
|
6624
|
-
}, null, 8,
|
|
6625
|
-
h("div",
|
|
6626
|
-
t.selectButton ? (
|
|
6700
|
+
}, null, 8, Bi),
|
|
6701
|
+
h("div", Ri, [
|
|
6702
|
+
t.selectButton ? (c(), _(r, {
|
|
6627
6703
|
key: 0,
|
|
6628
6704
|
class: "type-small",
|
|
6629
6705
|
icon: "plus",
|
|
@@ -6641,12 +6717,12 @@ function Ia(e, s, t, n, l, o) {
|
|
|
6641
6717
|
h("img", {
|
|
6642
6718
|
src: t.images[u].src,
|
|
6643
6719
|
alt: `View image ${u}`
|
|
6644
|
-
}, null, 8,
|
|
6720
|
+
}, null, 8, Ei)
|
|
6645
6721
|
]),
|
|
6646
6722
|
_: 1
|
|
6647
6723
|
}, 8, ["items", "onSlideChange"]);
|
|
6648
6724
|
}
|
|
6649
|
-
const Sm = /* @__PURE__ */ j(
|
|
6725
|
+
const Sm = /* @__PURE__ */ j(Ui, [["render", ji]]), Ii = {
|
|
6650
6726
|
name: "SlideShowSlide",
|
|
6651
6727
|
props: {
|
|
6652
6728
|
/**
|
|
@@ -6659,14 +6735,14 @@ const Sm = /* @__PURE__ */ j(Ba, [["render", Ia]]), Ma = {
|
|
|
6659
6735
|
console.log("slide mounted");
|
|
6660
6736
|
}
|
|
6661
6737
|
};
|
|
6662
|
-
function
|
|
6663
|
-
return
|
|
6738
|
+
function Mi(e, s, t, n, l, o) {
|
|
6739
|
+
return c(), f("li", {
|
|
6664
6740
|
class: m(["slideshow__slide", { "is-active": t.active }])
|
|
6665
6741
|
}, [
|
|
6666
6742
|
g(e.$slots, "default")
|
|
6667
6743
|
], 2);
|
|
6668
6744
|
}
|
|
6669
|
-
const km = /* @__PURE__ */ j(
|
|
6745
|
+
const km = /* @__PURE__ */ j(Ii, [["render", Mi]]), Fi = {
|
|
6670
6746
|
name: "UluTableStickyRows",
|
|
6671
6747
|
props: {
|
|
6672
6748
|
rows: Array,
|
|
@@ -6683,22 +6759,22 @@ const km = /* @__PURE__ */ j(Ma, [["render", Fa]]), Pa = {
|
|
|
6683
6759
|
default: !1
|
|
6684
6760
|
}
|
|
6685
6761
|
}
|
|
6686
|
-
},
|
|
6687
|
-
function
|
|
6688
|
-
return
|
|
6689
|
-
key: `br-${
|
|
6762
|
+
}, Pi = ["id"], zi = ["innerHTML"];
|
|
6763
|
+
function Li(e, s, t, n, l, o) {
|
|
6764
|
+
return c(!0), f(x, null, B(t.rows, (r, a) => (c(), f("tr", {
|
|
6765
|
+
key: `br-${a}`,
|
|
6690
6766
|
id: t.optionalAttr(t.isActual && r.id),
|
|
6691
|
-
class: m(t.resolveClasses(t.classes.row, { row: r.data, rowIndex:
|
|
6767
|
+
class: m(t.resolveClasses(t.classes.row, { row: r.data, rowIndex: a, isActual: t.isActual, foot: t.foot })),
|
|
6692
6768
|
style: X({
|
|
6693
6769
|
height: r.height
|
|
6694
6770
|
})
|
|
6695
6771
|
}, [
|
|
6696
|
-
(
|
|
6697
|
-
id: t.optionalAttr(t.isActual && u.rowHeader && u.getRowHeaderId(
|
|
6772
|
+
(c(!0), f(x, null, B(t.rowColumns, (u, i) => (c(), _(F(u.rowHeader ? "th" : "td"), {
|
|
6773
|
+
id: t.optionalAttr(t.isActual && u.rowHeader && u.getRowHeaderId(a)),
|
|
6698
6774
|
scope: t.optionalAttr(t.isActual && u.rowHeader && "row"),
|
|
6699
|
-
key: `bc-${
|
|
6700
|
-
headers: t.optionalAttr(t.isActual && t.getCellHeaders(u,
|
|
6701
|
-
class: m(t.resolveClasses(u.class, { column: u, index:
|
|
6775
|
+
key: `bc-${i}`,
|
|
6776
|
+
headers: t.optionalAttr(t.isActual && t.getCellHeaders(u, a)),
|
|
6777
|
+
class: m(t.resolveClasses(u.class, { column: u, index: i, isActual: t.isActual, row: r, rowIndex: a, foot: t.foot })),
|
|
6702
6778
|
style: X({
|
|
6703
6779
|
width: t.columnWidth
|
|
6704
6780
|
})
|
|
@@ -6708,25 +6784,25 @@ function Va(e, s, t, n, l, o) {
|
|
|
6708
6784
|
key: 0,
|
|
6709
6785
|
row: r.data,
|
|
6710
6786
|
column: u,
|
|
6711
|
-
rowIndex:
|
|
6712
|
-
index:
|
|
6787
|
+
rowIndex: a,
|
|
6788
|
+
index: i,
|
|
6713
6789
|
foot: t.foot,
|
|
6714
6790
|
isActual: t.isActual
|
|
6715
|
-
}) : u.html ? (
|
|
6791
|
+
}) : u.html ? (c(), f("div", {
|
|
6716
6792
|
key: 1,
|
|
6717
|
-
innerHTML: t.value({ row: r, column: u, rowIndex:
|
|
6718
|
-
}, null, 8,
|
|
6719
|
-
C(b(t.value({ row: r, column: u, rowIndex:
|
|
6793
|
+
innerHTML: t.value({ row: r, column: u, rowIndex: a, isActual: t.isActual, foot: t.foot })
|
|
6794
|
+
}, null, 8, zi)) : (c(), f(x, { key: 2 }, [
|
|
6795
|
+
C(b(t.value({ row: r, column: u, rowIndex: a, isActual: t.isActual, foot: t.foot })), 1)
|
|
6720
6796
|
], 64))
|
|
6721
6797
|
]),
|
|
6722
6798
|
_: 2
|
|
6723
6799
|
}, 1032, ["id", "scope", "headers", "class", "style"]))), 128))
|
|
6724
|
-
], 14,
|
|
6800
|
+
], 14, Pi))), 128);
|
|
6725
6801
|
}
|
|
6726
|
-
const
|
|
6802
|
+
const Vi = /* @__PURE__ */ j(Fi, [["render", Li]]), Hi = {
|
|
6727
6803
|
name: "UluTableStickyTable",
|
|
6728
6804
|
components: {
|
|
6729
|
-
UluTableStickyRows:
|
|
6805
|
+
UluTableStickyRows: Vi
|
|
6730
6806
|
},
|
|
6731
6807
|
props: {
|
|
6732
6808
|
resolveClasses: Function,
|
|
@@ -6806,76 +6882,76 @@ const Ha = /* @__PURE__ */ j(Pa, [["render", Va]]), Na = {
|
|
|
6806
6882
|
return s.join(" ");
|
|
6807
6883
|
}
|
|
6808
6884
|
}
|
|
6809
|
-
},
|
|
6885
|
+
}, Ni = ["aria-hidden"], Di = {
|
|
6810
6886
|
key: 0,
|
|
6811
6887
|
class: "table-sticky__caption"
|
|
6812
|
-
},
|
|
6888
|
+
}, Wi = ["id"], qi = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], Xi = ["innerHTML"], Gi = {
|
|
6813
6889
|
class: "table-sticky__sort-icon",
|
|
6814
6890
|
"aria-hidden": "true"
|
|
6815
|
-
},
|
|
6816
|
-
function
|
|
6891
|
+
}, Yi = { class: "table-sticky__sort-icon-inner" }, Ki = ["innerHTML"], Ji = { key: 1 }, Qi = { key: 2 };
|
|
6892
|
+
function Zi(e, s, t, n, l, o) {
|
|
6817
6893
|
const r = K("UluTableStickyRows");
|
|
6818
|
-
return
|
|
6894
|
+
return c(), f("table", {
|
|
6819
6895
|
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
6820
6896
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
6821
6897
|
}, [
|
|
6822
|
-
t.caption ? (
|
|
6898
|
+
t.caption ? (c(), f("caption", Di, b(t.caption), 1)) : p("", !0),
|
|
6823
6899
|
h("thead", null, [
|
|
6824
|
-
(
|
|
6900
|
+
(c(!0), f(x, null, B(t.headerRows, (a, u) => (c(), f("tr", {
|
|
6825
6901
|
key: `hr-${u}`,
|
|
6826
|
-
id: o.optionalAttr(t.isActual &&
|
|
6827
|
-
class: m(t.resolveClasses(t.classes.rowHeader, { row:
|
|
6902
|
+
id: o.optionalAttr(t.isActual && a.id),
|
|
6903
|
+
class: m(t.resolveClasses(t.classes.rowHeader, { row: a, rowIndex: u, isActual: t.isActual })),
|
|
6828
6904
|
style: X({
|
|
6829
|
-
height:
|
|
6905
|
+
height: a.height
|
|
6830
6906
|
})
|
|
6831
6907
|
}, [
|
|
6832
|
-
(
|
|
6908
|
+
(c(!0), f(x, null, B(a.columns, (i, d) => (c(), f("th", {
|
|
6833
6909
|
key: `hc-${d}`,
|
|
6834
|
-
id: o.optionalAttr(t.isActual &&
|
|
6835
|
-
rowspan:
|
|
6836
|
-
colspan:
|
|
6837
|
-
"data-child-columns":
|
|
6910
|
+
id: o.optionalAttr(t.isActual && i.id),
|
|
6911
|
+
rowspan: i.rowspan,
|
|
6912
|
+
colspan: i.colspan,
|
|
6913
|
+
"data-child-columns": i.columns && i.columns.length,
|
|
6838
6914
|
class: m([
|
|
6839
6915
|
{
|
|
6840
|
-
"sort-active":
|
|
6841
|
-
"sort-ascending":
|
|
6842
|
-
"sort-descending":
|
|
6916
|
+
"sort-active": i.sortApplied,
|
|
6917
|
+
"sort-ascending": i.sortApplied && i.sortAscending,
|
|
6918
|
+
"sort-descending": i.sortApplied && !i.sortAscending
|
|
6843
6919
|
},
|
|
6844
|
-
t.resolveClasses(
|
|
6920
|
+
t.resolveClasses(i.classHeader, { column: i, index: d, isActual: t.isActual })
|
|
6845
6921
|
]),
|
|
6846
6922
|
style: X({
|
|
6847
|
-
width:
|
|
6923
|
+
width: i.width
|
|
6848
6924
|
}),
|
|
6849
|
-
"aria-sort":
|
|
6850
|
-
scope: o.optionalAttr(t.isActual && (
|
|
6851
|
-
headers: o.optionalAttr(t.isActual && o.getHeaderHeaders(
|
|
6925
|
+
"aria-sort": i.sort ? i.sortAscending ? "ascending" : "descending" : null,
|
|
6926
|
+
scope: o.optionalAttr(t.isActual && (i.colspan > 1 ? "colgroup" : "col")),
|
|
6927
|
+
headers: o.optionalAttr(t.isActual && o.getHeaderHeaders(i, u)),
|
|
6852
6928
|
ref_for: !0,
|
|
6853
|
-
ref: (v) => o.addHeaderRef(
|
|
6929
|
+
ref: (v) => o.addHeaderRef(i, v)
|
|
6854
6930
|
}, [
|
|
6855
|
-
|
|
6931
|
+
i.sortable ? (c(), _(F(t.isActual ? "button" : "div"), {
|
|
6856
6932
|
key: 0,
|
|
6857
6933
|
class: m(["table-sticky__sort-button", {
|
|
6858
|
-
"table-sticky__sort-button--focused":
|
|
6934
|
+
"table-sticky__sort-button--focused": i.sortFocused
|
|
6859
6935
|
}]),
|
|
6860
|
-
onClick: (v) => e.$emit("column-sorted",
|
|
6861
|
-
onFocus: (v) => o.handleSortFocus(
|
|
6862
|
-
onBlur: (v) => o.handleSortFocus(
|
|
6863
|
-
"aria-pressed":
|
|
6936
|
+
onClick: (v) => e.$emit("column-sorted", i),
|
|
6937
|
+
onFocus: (v) => o.handleSortFocus(i, !0),
|
|
6938
|
+
onBlur: (v) => o.handleSortFocus(i, !1),
|
|
6939
|
+
"aria-pressed": i.sortApplied ? "true" : "false"
|
|
6864
6940
|
}, {
|
|
6865
6941
|
default: k(() => [
|
|
6866
|
-
e.$slots[
|
|
6942
|
+
e.$slots[i.slotHeader] ? g(e.$slots, i.slotHeader, {
|
|
6867
6943
|
key: 0,
|
|
6868
6944
|
isActual: t.isActual,
|
|
6869
|
-
column:
|
|
6945
|
+
column: i,
|
|
6870
6946
|
index: d
|
|
6871
|
-
}) :
|
|
6947
|
+
}) : i.htmlTitle ? (c(), f("div", {
|
|
6872
6948
|
key: 1,
|
|
6873
|
-
innerHTML: t.getColumnTitle({ column:
|
|
6874
|
-
}, null, 8,
|
|
6875
|
-
C(b(t.getColumnTitle({ column:
|
|
6949
|
+
innerHTML: t.getColumnTitle({ column: i, index: d, isActual: t.isActual })
|
|
6950
|
+
}, null, 8, Xi)) : (c(), f(x, { key: 2 }, [
|
|
6951
|
+
C(b(t.getColumnTitle({ column: i, index: d, isActual: t.isActual })), 1)
|
|
6876
6952
|
], 64)),
|
|
6877
|
-
h("span",
|
|
6878
|
-
h("span",
|
|
6953
|
+
h("span", Gi, [
|
|
6954
|
+
h("span", Yi, [
|
|
6879
6955
|
g(e.$slots, "sortIcon", {}, () => [
|
|
6880
6956
|
s[0] || (s[0] = C("▼", -1))
|
|
6881
6957
|
])
|
|
@@ -6883,23 +6959,23 @@ function ec(e, s, t, n, l, o) {
|
|
|
6883
6959
|
])
|
|
6884
6960
|
]),
|
|
6885
6961
|
_: 2
|
|
6886
|
-
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (
|
|
6887
|
-
e.$slots[
|
|
6962
|
+
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (c(), f(x, { key: 1 }, [
|
|
6963
|
+
e.$slots[i.slotHeader] ? g(e.$slots, i.slotHeader, {
|
|
6888
6964
|
key: 0,
|
|
6889
6965
|
isActual: t.isActual,
|
|
6890
|
-
column:
|
|
6966
|
+
column: i,
|
|
6891
6967
|
index: d
|
|
6892
|
-
}) :
|
|
6968
|
+
}) : i.htmlTitle ? (c(), f("div", {
|
|
6893
6969
|
key: 1,
|
|
6894
|
-
innerHTML: t.getColumnTitle({ column:
|
|
6895
|
-
}, null, 8,
|
|
6896
|
-
C(b(t.getColumnTitle({ column:
|
|
6970
|
+
innerHTML: t.getColumnTitle({ column: i, index: d, isActual: t.isActual })
|
|
6971
|
+
}, null, 8, Ki)) : (c(), f(x, { key: 2 }, [
|
|
6972
|
+
C(b(t.getColumnTitle({ column: i, index: d, isActual: t.isActual })), 1)
|
|
6897
6973
|
], 64))
|
|
6898
6974
|
], 64))
|
|
6899
|
-
], 14,
|
|
6900
|
-
], 14,
|
|
6975
|
+
], 14, qi))), 128))
|
|
6976
|
+
], 14, Wi))), 128))
|
|
6901
6977
|
]),
|
|
6902
|
-
t.rows ? (
|
|
6978
|
+
t.rows ? (c(), f("tbody", Ji, [
|
|
6903
6979
|
O(r, {
|
|
6904
6980
|
rows: t.rows,
|
|
6905
6981
|
rowColumns: t.rowColumns,
|
|
@@ -6911,15 +6987,15 @@ function ec(e, s, t, n, l, o) {
|
|
|
6911
6987
|
classes: t.classes,
|
|
6912
6988
|
value: o.value
|
|
6913
6989
|
}, Ie({ _: 2 }, [
|
|
6914
|
-
B(e.$slots, (
|
|
6990
|
+
B(e.$slots, (a, u) => ({
|
|
6915
6991
|
name: u,
|
|
6916
|
-
fn: k((
|
|
6917
|
-
g(e.$slots, u,
|
|
6992
|
+
fn: k((i) => [
|
|
6993
|
+
g(e.$slots, u, ie(me(i)))
|
|
6918
6994
|
])
|
|
6919
6995
|
}))
|
|
6920
6996
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
6921
6997
|
])) : p("", !0),
|
|
6922
|
-
t.footerRows ? (
|
|
6998
|
+
t.footerRows ? (c(), f("tfoot", Qi, [
|
|
6923
6999
|
O(r, {
|
|
6924
7000
|
rows: t.footerRows,
|
|
6925
7001
|
rowColumns: t.rowColumns,
|
|
@@ -6932,18 +7008,18 @@ function ec(e, s, t, n, l, o) {
|
|
|
6932
7008
|
value: o.value,
|
|
6933
7009
|
foot: ""
|
|
6934
7010
|
}, Ie({ _: 2 }, [
|
|
6935
|
-
B(e.$slots, (
|
|
7011
|
+
B(e.$slots, (a, u) => ({
|
|
6936
7012
|
name: u,
|
|
6937
|
-
fn: k((
|
|
6938
|
-
g(e.$slots, u,
|
|
7013
|
+
fn: k((i) => [
|
|
7014
|
+
g(e.$slots, u, ie(me(i)))
|
|
6939
7015
|
])
|
|
6940
7016
|
}))
|
|
6941
7017
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
6942
7018
|
])) : p("", !0)
|
|
6943
|
-
], 10,
|
|
7019
|
+
], 10, Ni);
|
|
6944
7020
|
}
|
|
6945
|
-
const
|
|
6946
|
-
function
|
|
7021
|
+
const ec = /* @__PURE__ */ j(Hi, [["render", Zi]]);
|
|
7022
|
+
function tc() {
|
|
6947
7023
|
this.__data__ = [], this.size = 0;
|
|
6948
7024
|
}
|
|
6949
7025
|
function hn(e, s) {
|
|
@@ -6955,19 +7031,19 @@ function Ct(e, s) {
|
|
|
6955
7031
|
return t;
|
|
6956
7032
|
return -1;
|
|
6957
7033
|
}
|
|
6958
|
-
var
|
|
6959
|
-
function
|
|
7034
|
+
var sc = Array.prototype, nc = sc.splice;
|
|
7035
|
+
function oc(e) {
|
|
6960
7036
|
var s = this.__data__, t = Ct(s, e);
|
|
6961
7037
|
if (t < 0)
|
|
6962
7038
|
return !1;
|
|
6963
7039
|
var n = s.length - 1;
|
|
6964
|
-
return t == n ? s.pop() :
|
|
7040
|
+
return t == n ? s.pop() : nc.call(s, t, 1), --this.size, !0;
|
|
6965
7041
|
}
|
|
6966
|
-
function
|
|
7042
|
+
function lc(e) {
|
|
6967
7043
|
var s = this.__data__, t = Ct(s, e);
|
|
6968
7044
|
return t < 0 ? void 0 : s[t][1];
|
|
6969
7045
|
}
|
|
6970
|
-
function
|
|
7046
|
+
function rc(e) {
|
|
6971
7047
|
return Ct(this.__data__, e) > -1;
|
|
6972
7048
|
}
|
|
6973
7049
|
function ac(e, s) {
|
|
@@ -6981,66 +7057,66 @@ function _e(e) {
|
|
|
6981
7057
|
this.set(n[0], n[1]);
|
|
6982
7058
|
}
|
|
6983
7059
|
}
|
|
6984
|
-
_e.prototype.clear =
|
|
6985
|
-
_e.prototype.delete =
|
|
6986
|
-
_e.prototype.get =
|
|
6987
|
-
_e.prototype.has =
|
|
7060
|
+
_e.prototype.clear = tc;
|
|
7061
|
+
_e.prototype.delete = oc;
|
|
7062
|
+
_e.prototype.get = lc;
|
|
7063
|
+
_e.prototype.has = rc;
|
|
6988
7064
|
_e.prototype.set = ac;
|
|
6989
|
-
function
|
|
7065
|
+
function ic() {
|
|
6990
7066
|
this.__data__ = new _e(), this.size = 0;
|
|
6991
7067
|
}
|
|
6992
|
-
function
|
|
7068
|
+
function cc(e) {
|
|
6993
7069
|
var s = this.__data__, t = s.delete(e);
|
|
6994
7070
|
return this.size = s.size, t;
|
|
6995
7071
|
}
|
|
6996
|
-
function
|
|
7072
|
+
function uc(e) {
|
|
6997
7073
|
return this.__data__.get(e);
|
|
6998
7074
|
}
|
|
6999
|
-
function
|
|
7075
|
+
function dc(e) {
|
|
7000
7076
|
return this.__data__.has(e);
|
|
7001
7077
|
}
|
|
7002
|
-
var mn = typeof global == "object" && global && global.Object === Object && global,
|
|
7003
|
-
function
|
|
7004
|
-
var s =
|
|
7078
|
+
var mn = typeof global == "object" && global && global.Object === Object && global, fc = typeof self == "object" && self && self.Object === Object && self, ge = mn || fc || Function("return this")(), ze = ge.Symbol, gn = Object.prototype, hc = gn.hasOwnProperty, mc = gn.toString, De = ze ? ze.toStringTag : void 0;
|
|
7079
|
+
function gc(e) {
|
|
7080
|
+
var s = hc.call(e, De), t = e[De];
|
|
7005
7081
|
try {
|
|
7006
7082
|
e[De] = void 0;
|
|
7007
7083
|
var n = !0;
|
|
7008
7084
|
} catch {
|
|
7009
7085
|
}
|
|
7010
|
-
var l =
|
|
7086
|
+
var l = mc.call(e);
|
|
7011
7087
|
return n && (s ? e[De] = t : delete e[De]), l;
|
|
7012
7088
|
}
|
|
7013
|
-
var
|
|
7014
|
-
function
|
|
7015
|
-
return
|
|
7089
|
+
var vc = Object.prototype, yc = vc.toString;
|
|
7090
|
+
function pc(e) {
|
|
7091
|
+
return yc.call(e);
|
|
7016
7092
|
}
|
|
7017
|
-
var
|
|
7093
|
+
var bc = "[object Null]", _c = "[object Undefined]", vs = ze ? ze.toStringTag : void 0;
|
|
7018
7094
|
function tt(e) {
|
|
7019
|
-
return e == null ? e === void 0 ?
|
|
7095
|
+
return e == null ? e === void 0 ? _c : bc : vs && vs in Object(e) ? gc(e) : pc(e);
|
|
7020
7096
|
}
|
|
7021
7097
|
function Tt(e) {
|
|
7022
7098
|
var s = typeof e;
|
|
7023
7099
|
return e != null && (s == "object" || s == "function");
|
|
7024
7100
|
}
|
|
7025
|
-
var
|
|
7101
|
+
var wc = "[object AsyncFunction]", Sc = "[object Function]", kc = "[object GeneratorFunction]", $c = "[object Proxy]";
|
|
7026
7102
|
function vn(e) {
|
|
7027
7103
|
if (!Tt(e))
|
|
7028
7104
|
return !1;
|
|
7029
7105
|
var s = tt(e);
|
|
7030
|
-
return s ==
|
|
7106
|
+
return s == Sc || s == kc || s == wc || s == $c;
|
|
7031
7107
|
}
|
|
7032
7108
|
var Et = ge["__core-js_shared__"], ys = function() {
|
|
7033
7109
|
var e = /[^.]+$/.exec(Et && Et.keys && Et.keys.IE_PROTO || "");
|
|
7034
7110
|
return e ? "Symbol(src)_1." + e : "";
|
|
7035
7111
|
}();
|
|
7036
|
-
function
|
|
7112
|
+
function Cc(e) {
|
|
7037
7113
|
return !!ys && ys in e;
|
|
7038
7114
|
}
|
|
7039
|
-
var
|
|
7115
|
+
var Tc = Function.prototype, Ac = Tc.toString;
|
|
7040
7116
|
function Be(e) {
|
|
7041
7117
|
if (e != null) {
|
|
7042
7118
|
try {
|
|
7043
|
-
return
|
|
7119
|
+
return Ac.call(e);
|
|
7044
7120
|
} catch {
|
|
7045
7121
|
}
|
|
7046
7122
|
try {
|
|
@@ -7050,48 +7126,48 @@ function Be(e) {
|
|
|
7050
7126
|
}
|
|
7051
7127
|
return "";
|
|
7052
7128
|
}
|
|
7053
|
-
var
|
|
7054
|
-
"^" +
|
|
7129
|
+
var Oc = /[\\^$.*+?()[\]{}|]/g, xc = /^\[object .+?Constructor\]$/, Uc = Function.prototype, Bc = Object.prototype, Rc = Uc.toString, Ec = Bc.hasOwnProperty, jc = RegExp(
|
|
7130
|
+
"^" + Rc.call(Ec).replace(Oc, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
7055
7131
|
);
|
|
7056
|
-
function
|
|
7057
|
-
if (!Tt(e) ||
|
|
7132
|
+
function Ic(e) {
|
|
7133
|
+
if (!Tt(e) || Cc(e))
|
|
7058
7134
|
return !1;
|
|
7059
|
-
var s = vn(e) ?
|
|
7135
|
+
var s = vn(e) ? jc : xc;
|
|
7060
7136
|
return s.test(Be(e));
|
|
7061
7137
|
}
|
|
7062
|
-
function
|
|
7138
|
+
function Mc(e, s) {
|
|
7063
7139
|
return e?.[s];
|
|
7064
7140
|
}
|
|
7065
7141
|
function Re(e, s) {
|
|
7066
|
-
var t =
|
|
7067
|
-
return
|
|
7142
|
+
var t = Mc(e, s);
|
|
7143
|
+
return Ic(t) ? t : void 0;
|
|
7068
7144
|
}
|
|
7069
7145
|
var Ze = Re(ge, "Map"), et = Re(Object, "create");
|
|
7070
|
-
function
|
|
7146
|
+
function Fc() {
|
|
7071
7147
|
this.__data__ = et ? et(null) : {}, this.size = 0;
|
|
7072
7148
|
}
|
|
7073
|
-
function
|
|
7149
|
+
function Pc(e) {
|
|
7074
7150
|
var s = this.has(e) && delete this.__data__[e];
|
|
7075
7151
|
return this.size -= s ? 1 : 0, s;
|
|
7076
7152
|
}
|
|
7077
|
-
var
|
|
7078
|
-
function
|
|
7153
|
+
var zc = "__lodash_hash_undefined__", Lc = Object.prototype, Vc = Lc.hasOwnProperty;
|
|
7154
|
+
function Hc(e) {
|
|
7079
7155
|
var s = this.__data__;
|
|
7080
7156
|
if (et) {
|
|
7081
7157
|
var t = s[e];
|
|
7082
|
-
return t ===
|
|
7158
|
+
return t === zc ? void 0 : t;
|
|
7083
7159
|
}
|
|
7084
|
-
return
|
|
7160
|
+
return Vc.call(s, e) ? s[e] : void 0;
|
|
7085
7161
|
}
|
|
7086
|
-
var
|
|
7087
|
-
function
|
|
7162
|
+
var Nc = Object.prototype, Dc = Nc.hasOwnProperty;
|
|
7163
|
+
function Wc(e) {
|
|
7088
7164
|
var s = this.__data__;
|
|
7089
|
-
return et ? s[e] !== void 0 :
|
|
7165
|
+
return et ? s[e] !== void 0 : Dc.call(s, e);
|
|
7090
7166
|
}
|
|
7091
|
-
var
|
|
7092
|
-
function
|
|
7167
|
+
var qc = "__lodash_hash_undefined__";
|
|
7168
|
+
function Xc(e, s) {
|
|
7093
7169
|
var t = this.__data__;
|
|
7094
|
-
return this.size += this.has(e) ? 0 : 1, t[e] = et && s === void 0 ?
|
|
7170
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = et && s === void 0 ? qc : s, this;
|
|
7095
7171
|
}
|
|
7096
7172
|
function xe(e) {
|
|
7097
7173
|
var s = -1, t = e == null ? 0 : e.length;
|
|
@@ -7100,37 +7176,37 @@ function xe(e) {
|
|
|
7100
7176
|
this.set(n[0], n[1]);
|
|
7101
7177
|
}
|
|
7102
7178
|
}
|
|
7103
|
-
xe.prototype.clear =
|
|
7104
|
-
xe.prototype.delete =
|
|
7105
|
-
xe.prototype.get =
|
|
7106
|
-
xe.prototype.has =
|
|
7107
|
-
xe.prototype.set =
|
|
7108
|
-
function
|
|
7179
|
+
xe.prototype.clear = Fc;
|
|
7180
|
+
xe.prototype.delete = Pc;
|
|
7181
|
+
xe.prototype.get = Hc;
|
|
7182
|
+
xe.prototype.has = Wc;
|
|
7183
|
+
xe.prototype.set = Xc;
|
|
7184
|
+
function Gc() {
|
|
7109
7185
|
this.size = 0, this.__data__ = {
|
|
7110
7186
|
hash: new xe(),
|
|
7111
7187
|
map: new (Ze || _e)(),
|
|
7112
7188
|
string: new xe()
|
|
7113
7189
|
};
|
|
7114
7190
|
}
|
|
7115
|
-
function
|
|
7191
|
+
function Yc(e) {
|
|
7116
7192
|
var s = typeof e;
|
|
7117
7193
|
return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? e !== "__proto__" : e === null;
|
|
7118
7194
|
}
|
|
7119
7195
|
function At(e, s) {
|
|
7120
7196
|
var t = e.__data__;
|
|
7121
|
-
return
|
|
7197
|
+
return Yc(s) ? t[typeof s == "string" ? "string" : "hash"] : t.map;
|
|
7122
7198
|
}
|
|
7123
|
-
function
|
|
7199
|
+
function Kc(e) {
|
|
7124
7200
|
var s = At(this, e).delete(e);
|
|
7125
7201
|
return this.size -= s ? 1 : 0, s;
|
|
7126
7202
|
}
|
|
7127
|
-
function
|
|
7203
|
+
function Jc(e) {
|
|
7128
7204
|
return At(this, e).get(e);
|
|
7129
7205
|
}
|
|
7130
|
-
function
|
|
7206
|
+
function Qc(e) {
|
|
7131
7207
|
return At(this, e).has(e);
|
|
7132
7208
|
}
|
|
7133
|
-
function
|
|
7209
|
+
function Zc(e, s) {
|
|
7134
7210
|
var t = At(this, e), n = t.size;
|
|
7135
7211
|
return t.set(e, s), this.size += t.size == n ? 0 : 1, this;
|
|
7136
7212
|
}
|
|
@@ -7141,17 +7217,17 @@ function He(e) {
|
|
|
7141
7217
|
this.set(n[0], n[1]);
|
|
7142
7218
|
}
|
|
7143
7219
|
}
|
|
7144
|
-
He.prototype.clear =
|
|
7145
|
-
He.prototype.delete =
|
|
7146
|
-
He.prototype.get =
|
|
7147
|
-
He.prototype.has =
|
|
7148
|
-
He.prototype.set =
|
|
7149
|
-
var
|
|
7150
|
-
function
|
|
7220
|
+
He.prototype.clear = Gc;
|
|
7221
|
+
He.prototype.delete = Kc;
|
|
7222
|
+
He.prototype.get = Jc;
|
|
7223
|
+
He.prototype.has = Qc;
|
|
7224
|
+
He.prototype.set = Zc;
|
|
7225
|
+
var eu = 200;
|
|
7226
|
+
function tu(e, s) {
|
|
7151
7227
|
var t = this.__data__;
|
|
7152
7228
|
if (t instanceof _e) {
|
|
7153
7229
|
var n = t.__data__;
|
|
7154
|
-
if (!Ze || n.length <
|
|
7230
|
+
if (!Ze || n.length < eu - 1)
|
|
7155
7231
|
return n.push([e, s]), this.size = ++t.size, this;
|
|
7156
7232
|
t = this.__data__ = new He(n);
|
|
7157
7233
|
}
|
|
@@ -7161,12 +7237,12 @@ function Ne(e) {
|
|
|
7161
7237
|
var s = this.__data__ = new _e(e);
|
|
7162
7238
|
this.size = s.size;
|
|
7163
7239
|
}
|
|
7164
|
-
Ne.prototype.clear =
|
|
7165
|
-
Ne.prototype.delete =
|
|
7166
|
-
Ne.prototype.get =
|
|
7167
|
-
Ne.prototype.has =
|
|
7168
|
-
Ne.prototype.set =
|
|
7169
|
-
function
|
|
7240
|
+
Ne.prototype.clear = ic;
|
|
7241
|
+
Ne.prototype.delete = cc;
|
|
7242
|
+
Ne.prototype.get = uc;
|
|
7243
|
+
Ne.prototype.has = dc;
|
|
7244
|
+
Ne.prototype.set = tu;
|
|
7245
|
+
function su(e, s) {
|
|
7170
7246
|
for (var t = -1, n = e == null ? 0 : e.length; ++t < n && s(e[t], t, e) !== !1; )
|
|
7171
7247
|
;
|
|
7172
7248
|
return e;
|
|
@@ -7178,7 +7254,7 @@ var ps = function() {
|
|
|
7178
7254
|
} catch {
|
|
7179
7255
|
}
|
|
7180
7256
|
}();
|
|
7181
|
-
function
|
|
7257
|
+
function nu(e, s, t) {
|
|
7182
7258
|
s == "__proto__" && ps ? ps(e, s, {
|
|
7183
7259
|
configurable: !0,
|
|
7184
7260
|
enumerable: !0,
|
|
@@ -7186,10 +7262,10 @@ function ou(e, s, t) {
|
|
|
7186
7262
|
writable: !0
|
|
7187
7263
|
}) : e[s] = t;
|
|
7188
7264
|
}
|
|
7189
|
-
var
|
|
7190
|
-
function
|
|
7265
|
+
var ou = Object.prototype, lu = ou.hasOwnProperty;
|
|
7266
|
+
function ru(e, s, t) {
|
|
7191
7267
|
var n = e[s];
|
|
7192
|
-
(!(
|
|
7268
|
+
(!(lu.call(e, s) && hn(n, t)) || t === void 0 && !(s in e)) && nu(e, s, t);
|
|
7193
7269
|
}
|
|
7194
7270
|
function au(e, s) {
|
|
7195
7271
|
for (var t = -1, n = Array(e); ++t < e; )
|
|
@@ -7199,31 +7275,31 @@ function au(e, s) {
|
|
|
7199
7275
|
function st(e) {
|
|
7200
7276
|
return e != null && typeof e == "object";
|
|
7201
7277
|
}
|
|
7202
|
-
var
|
|
7278
|
+
var iu = "[object Arguments]";
|
|
7203
7279
|
function bs(e) {
|
|
7204
|
-
return st(e) && tt(e) ==
|
|
7280
|
+
return st(e) && tt(e) == iu;
|
|
7205
7281
|
}
|
|
7206
|
-
var yn = Object.prototype,
|
|
7282
|
+
var yn = Object.prototype, cu = yn.hasOwnProperty, uu = yn.propertyIsEnumerable, du = bs(/* @__PURE__ */ function() {
|
|
7207
7283
|
return arguments;
|
|
7208
7284
|
}()) ? bs : function(e) {
|
|
7209
|
-
return st(e) &&
|
|
7285
|
+
return st(e) && cu.call(e, "callee") && !uu.call(e, "callee");
|
|
7210
7286
|
}, os = Array.isArray;
|
|
7211
|
-
function
|
|
7287
|
+
function fu() {
|
|
7212
7288
|
return !1;
|
|
7213
7289
|
}
|
|
7214
|
-
var pn = typeof exports == "object" && exports && !exports.nodeType && exports, _s = pn && typeof module == "object" && module && !module.nodeType && module,
|
|
7215
|
-
function
|
|
7290
|
+
var pn = typeof exports == "object" && exports && !exports.nodeType && exports, _s = pn && typeof module == "object" && module && !module.nodeType && module, hu = _s && _s.exports === pn, ws = hu ? ge.Buffer : void 0, mu = ws ? ws.isBuffer : void 0, bn = mu || fu, gu = 9007199254740991, vu = /^(?:0|[1-9]\d*)$/;
|
|
7291
|
+
function yu(e, s) {
|
|
7216
7292
|
var t = typeof e;
|
|
7217
|
-
return s = s ??
|
|
7293
|
+
return s = s ?? gu, !!s && (t == "number" || t != "symbol" && vu.test(e)) && e > -1 && e % 1 == 0 && e < s;
|
|
7218
7294
|
}
|
|
7219
|
-
var
|
|
7295
|
+
var pu = 9007199254740991;
|
|
7220
7296
|
function _n(e) {
|
|
7221
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
7297
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= pu;
|
|
7222
7298
|
}
|
|
7223
|
-
var
|
|
7224
|
-
H[Iu] = H[Mu] = H[Fu] = H[Pu] = H[zu] = H[Lu] = H[Vu] = H[Hu] =
|
|
7225
|
-
H[_u] = H[
|
|
7226
|
-
function
|
|
7299
|
+
var bu = "[object Arguments]", _u = "[object Array]", wu = "[object Boolean]", Su = "[object Date]", ku = "[object Error]", $u = "[object Function]", Cu = "[object Map]", Tu = "[object Number]", Au = "[object Object]", Ou = "[object RegExp]", xu = "[object Set]", Uu = "[object String]", Bu = "[object WeakMap]", Ru = "[object ArrayBuffer]", Eu = "[object DataView]", ju = "[object Float32Array]", Iu = "[object Float64Array]", Mu = "[object Int8Array]", Fu = "[object Int16Array]", Pu = "[object Int32Array]", zu = "[object Uint8Array]", Lu = "[object Uint8ClampedArray]", Vu = "[object Uint16Array]", Hu = "[object Uint32Array]", H = {};
|
|
7300
|
+
H[ju] = H[Iu] = H[Mu] = H[Fu] = H[Pu] = H[zu] = H[Lu] = H[Vu] = H[Hu] = !0;
|
|
7301
|
+
H[bu] = H[_u] = H[Ru] = H[wu] = H[Eu] = H[Su] = H[ku] = H[$u] = H[Cu] = H[Tu] = H[Au] = H[Ou] = H[xu] = H[Uu] = H[Bu] = !1;
|
|
7302
|
+
function Nu(e) {
|
|
7227
7303
|
return st(e) && _n(e.length) && !!H[tt(e)];
|
|
7228
7304
|
}
|
|
7229
7305
|
function ls(e) {
|
|
@@ -7231,26 +7307,26 @@ function ls(e) {
|
|
|
7231
7307
|
return e(s);
|
|
7232
7308
|
};
|
|
7233
7309
|
}
|
|
7234
|
-
var wn = typeof exports == "object" && exports && !exports.nodeType && exports, Ge = wn && typeof module == "object" && module && !module.nodeType && module,
|
|
7310
|
+
var wn = typeof exports == "object" && exports && !exports.nodeType && exports, Ge = wn && typeof module == "object" && module && !module.nodeType && module, Du = Ge && Ge.exports === wn, jt = Du && mn.process, Le = function() {
|
|
7235
7311
|
try {
|
|
7236
7312
|
var e = Ge && Ge.require && Ge.require("util").types;
|
|
7237
7313
|
return e || jt && jt.binding && jt.binding("util");
|
|
7238
7314
|
} catch {
|
|
7239
7315
|
}
|
|
7240
|
-
}(), Ss = Le && Le.isTypedArray,
|
|
7241
|
-
function
|
|
7242
|
-
var t = os(e), n = !t &&
|
|
7243
|
-
for (var
|
|
7244
|
-
|
|
7245
|
-
(
|
|
7246
|
-
l && (
|
|
7247
|
-
o && (
|
|
7248
|
-
|
|
7249
|
-
return
|
|
7250
|
-
}
|
|
7251
|
-
var
|
|
7316
|
+
}(), Ss = Le && Le.isTypedArray, Wu = Ss ? ls(Ss) : Nu, qu = Object.prototype, Xu = qu.hasOwnProperty;
|
|
7317
|
+
function Gu(e, s) {
|
|
7318
|
+
var t = os(e), n = !t && du(e), l = !t && !n && bn(e), o = !t && !n && !l && Wu(e), r = t || n || l || o, a = r ? au(e.length, String) : [], u = a.length;
|
|
7319
|
+
for (var i in e)
|
|
7320
|
+
Xu.call(e, i) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7321
|
+
(i == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
7322
|
+
l && (i == "offset" || i == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
7323
|
+
o && (i == "buffer" || i == "byteLength" || i == "byteOffset") || // Skip index properties.
|
|
7324
|
+
yu(i, u))) && a.push(i);
|
|
7325
|
+
return a;
|
|
7326
|
+
}
|
|
7327
|
+
var Yu = Object.prototype;
|
|
7252
7328
|
function Sn(e) {
|
|
7253
|
-
var s = e && e.constructor, t = typeof s == "function" && s.prototype ||
|
|
7329
|
+
var s = e && e.constructor, t = typeof s == "function" && s.prototype || Yu;
|
|
7254
7330
|
return e === t;
|
|
7255
7331
|
}
|
|
7256
7332
|
function kn(e, s) {
|
|
@@ -7258,110 +7334,111 @@ function kn(e, s) {
|
|
|
7258
7334
|
return e(s(t));
|
|
7259
7335
|
};
|
|
7260
7336
|
}
|
|
7261
|
-
var
|
|
7262
|
-
function
|
|
7337
|
+
var Ku = kn(Object.keys, Object), Ju = Object.prototype, Qu = Ju.hasOwnProperty;
|
|
7338
|
+
function Zu(e) {
|
|
7263
7339
|
if (!Sn(e))
|
|
7264
|
-
return
|
|
7340
|
+
return Ku(e);
|
|
7265
7341
|
var s = [];
|
|
7266
7342
|
for (var t in Object(e))
|
|
7267
|
-
|
|
7343
|
+
Qu.call(e, t) && t != "constructor" && s.push(t);
|
|
7268
7344
|
return s;
|
|
7269
7345
|
}
|
|
7270
|
-
function
|
|
7346
|
+
function ed(e) {
|
|
7271
7347
|
return e != null && _n(e.length) && !vn(e);
|
|
7272
7348
|
}
|
|
7273
|
-
function
|
|
7274
|
-
return
|
|
7349
|
+
function td(e) {
|
|
7350
|
+
return ed(e) ? Gu(e) : Zu(e);
|
|
7275
7351
|
}
|
|
7276
|
-
var $n = typeof exports == "object" && exports && !exports.nodeType && exports, ks = $n && typeof module == "object" && module && !module.nodeType && module,
|
|
7352
|
+
var $n = typeof exports == "object" && exports && !exports.nodeType && exports, ks = $n && typeof module == "object" && module && !module.nodeType && module, sd = ks && ks.exports === $n, $s = sd ? ge.Buffer : void 0;
|
|
7277
7353
|
$s && $s.allocUnsafe;
|
|
7278
|
-
function
|
|
7354
|
+
function nd(e, s) {
|
|
7279
7355
|
return e.slice();
|
|
7280
7356
|
}
|
|
7281
|
-
function
|
|
7357
|
+
function od(e, s) {
|
|
7282
7358
|
for (var t = -1, n = e == null ? 0 : e.length, l = 0, o = []; ++t < n; ) {
|
|
7283
7359
|
var r = e[t];
|
|
7284
7360
|
s(r, t, e) && (o[l++] = r);
|
|
7285
7361
|
}
|
|
7286
7362
|
return o;
|
|
7287
7363
|
}
|
|
7288
|
-
function
|
|
7364
|
+
function ld() {
|
|
7289
7365
|
return [];
|
|
7290
7366
|
}
|
|
7291
|
-
var
|
|
7292
|
-
return e == null ? [] : (e = Object(e),
|
|
7367
|
+
var rd = Object.prototype, ad = rd.propertyIsEnumerable, Cs = Object.getOwnPropertySymbols, id = Cs ? function(e) {
|
|
7368
|
+
return e == null ? [] : (e = Object(e), od(Cs(e), function(s) {
|
|
7293
7369
|
return ad.call(e, s);
|
|
7294
7370
|
}));
|
|
7295
|
-
} :
|
|
7296
|
-
function
|
|
7371
|
+
} : ld;
|
|
7372
|
+
function cd(e, s) {
|
|
7297
7373
|
for (var t = -1, n = s.length, l = e.length; ++t < n; )
|
|
7298
7374
|
e[l + t] = s[t];
|
|
7299
7375
|
return e;
|
|
7300
7376
|
}
|
|
7301
|
-
var
|
|
7302
|
-
function
|
|
7377
|
+
var ud = kn(Object.getPrototypeOf, Object);
|
|
7378
|
+
function dd(e, s, t) {
|
|
7303
7379
|
var n = s(e);
|
|
7304
|
-
return os(e) ? n :
|
|
7380
|
+
return os(e) ? n : cd(n, t(e));
|
|
7305
7381
|
}
|
|
7306
|
-
function
|
|
7307
|
-
return
|
|
7382
|
+
function fd(e) {
|
|
7383
|
+
return dd(e, td, id);
|
|
7308
7384
|
}
|
|
7309
|
-
var Ht = Re(ge, "DataView"), Nt = Re(ge, "Promise"), Dt = Re(ge, "Set"), Wt = Re(ge, "WeakMap"), Ts = "[object Map]",
|
|
7385
|
+
var Ht = Re(ge, "DataView"), Nt = Re(ge, "Promise"), Dt = Re(ge, "Set"), Wt = Re(ge, "WeakMap"), Ts = "[object Map]", hd = "[object Object]", As = "[object Promise]", Os = "[object Set]", xs = "[object WeakMap]", Us = "[object DataView]", md = Be(Ht), gd = Be(Ze), vd = Be(Nt), yd = Be(Dt), pd = Be(Wt), ye = tt;
|
|
7310
7386
|
(Ht && ye(new Ht(new ArrayBuffer(1))) != Us || Ze && ye(new Ze()) != Ts || Nt && ye(Nt.resolve()) != As || Dt && ye(new Dt()) != Os || Wt && ye(new Wt()) != xs) && (ye = function(e) {
|
|
7311
|
-
var s = tt(e), t = s ==
|
|
7387
|
+
var s = tt(e), t = s == hd ? e.constructor : void 0, n = t ? Be(t) : "";
|
|
7312
7388
|
if (n)
|
|
7313
7389
|
switch (n) {
|
|
7314
|
-
case
|
|
7390
|
+
case md:
|
|
7315
7391
|
return Us;
|
|
7316
|
-
case
|
|
7392
|
+
case gd:
|
|
7317
7393
|
return Ts;
|
|
7318
|
-
case
|
|
7394
|
+
case vd:
|
|
7319
7395
|
return As;
|
|
7320
|
-
case
|
|
7396
|
+
case yd:
|
|
7321
7397
|
return Os;
|
|
7322
|
-
case
|
|
7398
|
+
case pd:
|
|
7323
7399
|
return xs;
|
|
7324
7400
|
}
|
|
7325
7401
|
return s;
|
|
7326
7402
|
});
|
|
7327
|
-
var
|
|
7328
|
-
function
|
|
7403
|
+
var bd = Object.prototype, _d = bd.hasOwnProperty;
|
|
7404
|
+
function wd(e) {
|
|
7329
7405
|
var s = e.length, t = new e.constructor(s);
|
|
7330
|
-
return s && typeof e[0] == "string" &&
|
|
7406
|
+
return s && typeof e[0] == "string" && _d.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
7331
7407
|
}
|
|
7332
7408
|
var Bs = ge.Uint8Array;
|
|
7333
7409
|
function rs(e) {
|
|
7334
7410
|
var s = new e.constructor(e.byteLength);
|
|
7335
7411
|
return new Bs(s).set(new Bs(e)), s;
|
|
7336
7412
|
}
|
|
7337
|
-
function
|
|
7413
|
+
function Sd(e, s) {
|
|
7338
7414
|
var t = rs(e.buffer);
|
|
7339
7415
|
return new e.constructor(t, e.byteOffset, e.byteLength);
|
|
7340
7416
|
}
|
|
7341
|
-
var
|
|
7342
|
-
function
|
|
7343
|
-
var s = new e.constructor(e.source,
|
|
7417
|
+
var kd = /\w*$/;
|
|
7418
|
+
function $d(e) {
|
|
7419
|
+
var s = new e.constructor(e.source, kd.exec(e));
|
|
7344
7420
|
return s.lastIndex = e.lastIndex, s;
|
|
7345
7421
|
}
|
|
7346
7422
|
var Rs = ze ? ze.prototype : void 0, Es = Rs ? Rs.valueOf : void 0;
|
|
7347
|
-
function
|
|
7423
|
+
function Cd(e) {
|
|
7348
7424
|
return Es ? Object(Es.call(e)) : {};
|
|
7349
7425
|
}
|
|
7350
|
-
function
|
|
7426
|
+
function Td(e, s) {
|
|
7351
7427
|
var t = rs(e.buffer);
|
|
7352
7428
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
7353
7429
|
}
|
|
7354
|
-
var
|
|
7355
|
-
function
|
|
7430
|
+
var Ad = "[object Boolean]", Od = "[object Date]", xd = "[object Map]", Ud = "[object Number]", Bd = "[object RegExp]", Rd = "[object Set]", Ed = "[object String]", jd = "[object Symbol]", Id = "[object ArrayBuffer]", Md = "[object DataView]", Fd = "[object Float32Array]", Pd = "[object Float64Array]", zd = "[object Int8Array]", Ld = "[object Int16Array]", Vd = "[object Int32Array]", Hd = "[object Uint8Array]", Nd = "[object Uint8ClampedArray]", Dd = "[object Uint16Array]", Wd = "[object Uint32Array]";
|
|
7431
|
+
function qd(e, s, t) {
|
|
7356
7432
|
var n = e.constructor;
|
|
7357
7433
|
switch (s) {
|
|
7358
|
-
case
|
|
7434
|
+
case Id:
|
|
7359
7435
|
return rs(e);
|
|
7436
|
+
case Ad:
|
|
7360
7437
|
case Od:
|
|
7361
|
-
case xd:
|
|
7362
7438
|
return new n(+e);
|
|
7439
|
+
case Md:
|
|
7440
|
+
return Sd(e);
|
|
7363
7441
|
case Fd:
|
|
7364
|
-
return kd(e);
|
|
7365
7442
|
case Pd:
|
|
7366
7443
|
case zd:
|
|
7367
7444
|
case Ld:
|
|
@@ -7370,22 +7447,21 @@ function Xd(e, s, t) {
|
|
|
7370
7447
|
case Nd:
|
|
7371
7448
|
case Dd:
|
|
7372
7449
|
case Wd:
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
case Ud:
|
|
7450
|
+
return Td(e);
|
|
7451
|
+
case xd:
|
|
7376
7452
|
return new n();
|
|
7377
|
-
case
|
|
7378
|
-
case
|
|
7453
|
+
case Ud:
|
|
7454
|
+
case Ed:
|
|
7379
7455
|
return new n(e);
|
|
7456
|
+
case Bd:
|
|
7457
|
+
return $d(e);
|
|
7380
7458
|
case Rd:
|
|
7381
|
-
return Cd(e);
|
|
7382
|
-
case Ed:
|
|
7383
7459
|
return new n();
|
|
7384
|
-
case
|
|
7385
|
-
return
|
|
7460
|
+
case jd:
|
|
7461
|
+
return Cd(e);
|
|
7386
7462
|
}
|
|
7387
7463
|
}
|
|
7388
|
-
var js = Object.create,
|
|
7464
|
+
var js = Object.create, Xd = /* @__PURE__ */ function() {
|
|
7389
7465
|
function e() {
|
|
7390
7466
|
}
|
|
7391
7467
|
return function(s) {
|
|
@@ -7398,65 +7474,65 @@ var js = Object.create, Gd = /* @__PURE__ */ function() {
|
|
|
7398
7474
|
return e.prototype = void 0, t;
|
|
7399
7475
|
};
|
|
7400
7476
|
}();
|
|
7401
|
-
function
|
|
7402
|
-
return typeof e.constructor == "function" && !Sn(e) ?
|
|
7477
|
+
function Gd(e) {
|
|
7478
|
+
return typeof e.constructor == "function" && !Sn(e) ? Xd(ud(e)) : {};
|
|
7403
7479
|
}
|
|
7404
|
-
var
|
|
7405
|
-
function
|
|
7406
|
-
return st(e) && ye(e) ==
|
|
7480
|
+
var Yd = "[object Map]";
|
|
7481
|
+
function Kd(e) {
|
|
7482
|
+
return st(e) && ye(e) == Yd;
|
|
7407
7483
|
}
|
|
7408
|
-
var Is = Le && Le.isMap,
|
|
7409
|
-
function
|
|
7410
|
-
return st(e) && ye(e) ==
|
|
7484
|
+
var Is = Le && Le.isMap, Jd = Is ? ls(Is) : Kd, Qd = "[object Set]";
|
|
7485
|
+
function Zd(e) {
|
|
7486
|
+
return st(e) && ye(e) == Qd;
|
|
7411
7487
|
}
|
|
7412
|
-
var Ms = Le && Le.isSet,
|
|
7413
|
-
L[Cn] = L[
|
|
7414
|
-
L[
|
|
7415
|
-
function
|
|
7488
|
+
var Ms = Le && Le.isSet, ef = Ms ? ls(Ms) : Zd, Cn = "[object Arguments]", tf = "[object Array]", sf = "[object Boolean]", nf = "[object Date]", of = "[object Error]", Tn = "[object Function]", lf = "[object GeneratorFunction]", rf = "[object Map]", af = "[object Number]", An = "[object Object]", cf = "[object RegExp]", uf = "[object Set]", df = "[object String]", ff = "[object Symbol]", hf = "[object WeakMap]", mf = "[object ArrayBuffer]", gf = "[object DataView]", vf = "[object Float32Array]", yf = "[object Float64Array]", pf = "[object Int8Array]", bf = "[object Int16Array]", _f = "[object Int32Array]", wf = "[object Uint8Array]", Sf = "[object Uint8ClampedArray]", kf = "[object Uint16Array]", $f = "[object Uint32Array]", L = {};
|
|
7489
|
+
L[Cn] = L[tf] = L[mf] = L[gf] = L[sf] = L[nf] = L[vf] = L[yf] = L[pf] = L[bf] = L[_f] = L[rf] = L[af] = L[An] = L[cf] = L[uf] = L[df] = L[ff] = L[wf] = L[Sf] = L[kf] = L[$f] = !0;
|
|
7490
|
+
L[of] = L[Tn] = L[hf] = !1;
|
|
7491
|
+
function at(e, s, t, n, l, o) {
|
|
7416
7492
|
var r;
|
|
7417
7493
|
if (r !== void 0)
|
|
7418
7494
|
return r;
|
|
7419
7495
|
if (!Tt(e))
|
|
7420
7496
|
return e;
|
|
7421
|
-
var
|
|
7422
|
-
if (
|
|
7423
|
-
r =
|
|
7497
|
+
var a = os(e);
|
|
7498
|
+
if (a)
|
|
7499
|
+
r = wd(e);
|
|
7424
7500
|
else {
|
|
7425
|
-
var u = ye(e),
|
|
7501
|
+
var u = ye(e), i = u == Tn || u == lf;
|
|
7426
7502
|
if (bn(e))
|
|
7427
|
-
return
|
|
7428
|
-
if (u == An || u == Cn ||
|
|
7429
|
-
r =
|
|
7503
|
+
return nd(e);
|
|
7504
|
+
if (u == An || u == Cn || i && !l)
|
|
7505
|
+
r = i ? {} : Gd(e);
|
|
7430
7506
|
else {
|
|
7431
7507
|
if (!L[u])
|
|
7432
7508
|
return l ? e : {};
|
|
7433
|
-
r =
|
|
7509
|
+
r = qd(e, u);
|
|
7434
7510
|
}
|
|
7435
7511
|
}
|
|
7436
7512
|
o || (o = new Ne());
|
|
7437
7513
|
var d = o.get(e);
|
|
7438
7514
|
if (d)
|
|
7439
7515
|
return d;
|
|
7440
|
-
o.set(e, r),
|
|
7441
|
-
r.add(
|
|
7442
|
-
}) :
|
|
7443
|
-
r.set(A,
|
|
7516
|
+
o.set(e, r), ef(e) ? e.forEach(function(w) {
|
|
7517
|
+
r.add(at(w, s, t, w, e, o));
|
|
7518
|
+
}) : Jd(e) && e.forEach(function(w, A) {
|
|
7519
|
+
r.set(A, at(w, s, t, A, e, o));
|
|
7444
7520
|
});
|
|
7445
|
-
var v =
|
|
7446
|
-
return
|
|
7447
|
-
y && (A = w, w = e[A]),
|
|
7521
|
+
var v = fd, y = a ? void 0 : v(e);
|
|
7522
|
+
return su(y || e, function(w, A) {
|
|
7523
|
+
y && (A = w, w = e[A]), ru(r, A, at(w, s, t, A, e, o));
|
|
7448
7524
|
}), r;
|
|
7449
7525
|
}
|
|
7450
|
-
var
|
|
7451
|
-
function
|
|
7452
|
-
return
|
|
7526
|
+
var Cf = 1, Tf = 4;
|
|
7527
|
+
function Af(e) {
|
|
7528
|
+
return at(e, Cf | Tf);
|
|
7453
7529
|
}
|
|
7454
7530
|
const It = (e) => e.every((s) => typeof s == "object"), Fs = !0, On = () => window.innerWidth;
|
|
7455
7531
|
let Ps = On();
|
|
7456
|
-
const
|
|
7532
|
+
const Of = {
|
|
7457
7533
|
name: "UluTableSticky",
|
|
7458
7534
|
components: {
|
|
7459
|
-
UluTableStickyTable:
|
|
7535
|
+
UluTableStickyTable: ec
|
|
7460
7536
|
},
|
|
7461
7537
|
props: {
|
|
7462
7538
|
/**
|
|
@@ -7625,7 +7701,7 @@ const xf = {
|
|
|
7625
7701
|
let n = [];
|
|
7626
7702
|
return s.forEach((l, o) => {
|
|
7627
7703
|
const r = n.slice();
|
|
7628
|
-
l.getRowHeaders = (
|
|
7704
|
+
l.getRowHeaders = (a) => r.map((u) => u(a)).join(" "), l.rowHeader && (l.getRowHeaderId = (a) => `${this.idPrefix}-rh-${a}-${o}`, n.push(l.getRowHeaderId));
|
|
7629
7705
|
}), s;
|
|
7630
7706
|
},
|
|
7631
7707
|
headerHeight() {
|
|
@@ -7713,7 +7789,7 @@ const xf = {
|
|
|
7713
7789
|
* - Can be used in the future for adding/removing or enabling/disabling
|
|
7714
7790
|
*/
|
|
7715
7791
|
createColumns() {
|
|
7716
|
-
const e = this.idCreator("c"), s =
|
|
7792
|
+
const e = this.idCreator("c"), s = Af(this.columns), t = (n, l) => {
|
|
7717
7793
|
n.id = e(), n.parent = l, n.width = "auto", n.boxWidth = null, n.sortApplied = !1, n.sortAscending = !1, n.sortFocused = !1;
|
|
7718
7794
|
let o = [];
|
|
7719
7795
|
l && (l.headers && l.headers.length ? o = [...l.headers] : o.push(l.id)), o.push(n.id), n.headers = o, n.columns ? n.columns.forEach((r) => t(r, n)) : !n.key && !n.value && !n.slot && console.warn("UluTableSticky: Missing 'key', 'value' or 'slot' in column configuration for", n);
|
|
@@ -7733,9 +7809,9 @@ const xf = {
|
|
|
7733
7809
|
columns: [],
|
|
7734
7810
|
id: s()
|
|
7735
7811
|
}));
|
|
7736
|
-
function o(r,
|
|
7737
|
-
const u =
|
|
7738
|
-
u && u.forEach((
|
|
7812
|
+
function o(r, a) {
|
|
7813
|
+
const u = a.columns;
|
|
7814
|
+
u && u.forEach((i) => o(1 + r, i)), a.rowspan = u ? 1 : t - r, a.colspan = u ? u.reduce((i, d) => i + d.colspan, 0) : 1, l[r].columns.push(a);
|
|
7739
7815
|
}
|
|
7740
7816
|
return e.forEach((r) => o(0, r)), l;
|
|
7741
7817
|
},
|
|
@@ -7857,24 +7933,24 @@ const xf = {
|
|
|
7857
7933
|
unmounted() {
|
|
7858
7934
|
this.columnResizeObserver.disconnect(), this.columnResizeObserver = null;
|
|
7859
7935
|
}
|
|
7860
|
-
},
|
|
7936
|
+
}, xf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--header" }, Uf = { class: "table-sticky__header-wrap" }, Bf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--first-column-header" }, Rf = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--controls" }, Ef = {
|
|
7861
7937
|
key: 2,
|
|
7862
7938
|
class: "table-sticky__controls-inner"
|
|
7863
|
-
},
|
|
7939
|
+
}, jf = ["disabled"], If = ["disabled"], Mf = {
|
|
7864
7940
|
ref: "display",
|
|
7865
7941
|
class: "table-sticky__display"
|
|
7866
7942
|
};
|
|
7867
|
-
function
|
|
7943
|
+
function Ff(e, s, t, n, l, o) {
|
|
7868
7944
|
const r = K("UluTableStickyTable");
|
|
7869
|
-
return
|
|
7945
|
+
return c(), f("div", {
|
|
7870
7946
|
class: m(["table-sticky", {
|
|
7871
7947
|
"table-sticky--overflown-x": l.overflownX,
|
|
7872
7948
|
"table-sticky--can-scroll-right": l.canScrollRight,
|
|
7873
7949
|
"table-sticky--can-scroll-left": l.canScrollLeft
|
|
7874
7950
|
}])
|
|
7875
7951
|
}, [
|
|
7876
|
-
h("div",
|
|
7877
|
-
h("div",
|
|
7952
|
+
h("div", xf, [
|
|
7953
|
+
h("div", Uf, [
|
|
7878
7954
|
O(r, {
|
|
7879
7955
|
ref: "header",
|
|
7880
7956
|
class: "table-sticky__table table-sticky__table--header",
|
|
@@ -7891,17 +7967,17 @@ function Pf(e, s, t, n, l, o) {
|
|
|
7891
7967
|
}),
|
|
7892
7968
|
onColumnSorted: o.applySort
|
|
7893
7969
|
}, Ie({ _: 2 }, [
|
|
7894
|
-
B(e.$slots, (
|
|
7970
|
+
B(e.$slots, (a, u) => ({
|
|
7895
7971
|
name: u,
|
|
7896
|
-
fn: k((
|
|
7897
|
-
g(e.$slots, u,
|
|
7972
|
+
fn: k((i) => [
|
|
7973
|
+
g(e.$slots, u, ie(me(i)))
|
|
7898
7974
|
])
|
|
7899
7975
|
}))
|
|
7900
7976
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
7901
7977
|
])
|
|
7902
7978
|
]),
|
|
7903
|
-
h("div",
|
|
7904
|
-
t.firstColumnSticky ? (
|
|
7979
|
+
h("div", Bf, [
|
|
7980
|
+
t.firstColumnSticky ? (c(), _(r, {
|
|
7905
7981
|
key: 0,
|
|
7906
7982
|
ref: "firstColumnHeader",
|
|
7907
7983
|
class: "table-sticky__table table-sticky__table--first-column-header",
|
|
@@ -7917,15 +7993,15 @@ function Pf(e, s, t, n, l, o) {
|
|
|
7917
7993
|
}),
|
|
7918
7994
|
onColumnSorted: o.applySort
|
|
7919
7995
|
}, Ie({ _: 2 }, [
|
|
7920
|
-
B(e.$slots, (
|
|
7996
|
+
B(e.$slots, (a, u) => ({
|
|
7921
7997
|
name: u,
|
|
7922
|
-
fn: k((
|
|
7923
|
-
g(e.$slots, u,
|
|
7998
|
+
fn: k((i) => [
|
|
7999
|
+
g(e.$slots, u, ie(me(i)))
|
|
7924
8000
|
])
|
|
7925
8001
|
}))
|
|
7926
8002
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : p("", !0)
|
|
7927
8003
|
]),
|
|
7928
|
-
h("div",
|
|
8004
|
+
h("div", Rf, [
|
|
7929
8005
|
Fe(h("div", {
|
|
7930
8006
|
class: m(["table-sticky__controls", o.resolveClasses(t.classes.controls)]),
|
|
7931
8007
|
ref: "controls"
|
|
@@ -7936,39 +8012,39 @@ function Pf(e, s, t, n, l, o) {
|
|
|
7936
8012
|
scrollRight: o.scrollRight,
|
|
7937
8013
|
canScrollLeft: l.canScrollLeft,
|
|
7938
8014
|
canScrollRight: l.canScrollRight
|
|
7939
|
-
}) : t.controlsComponent ? (
|
|
8015
|
+
}) : t.controlsComponent ? (c(), _(F(t.controlsComponent), {
|
|
7940
8016
|
key: 1,
|
|
7941
8017
|
scrollLeft: o.scrollLeft,
|
|
7942
8018
|
scrollRight: o.scrollRight,
|
|
7943
8019
|
canScrollLeft: l.canScrollLeft,
|
|
7944
8020
|
canScrollRight: l.canScrollRight
|
|
7945
|
-
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (
|
|
8021
|
+
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (c(), f("div", Ef, [
|
|
7946
8022
|
h("button", {
|
|
7947
8023
|
class: m(["table-sticky__control table-sticky__control--left", o.resolveClasses(t.classes.controlButton)]),
|
|
7948
8024
|
"aria-label": "Scroll Left",
|
|
7949
|
-
onClick: s[0] || (s[0] = (...
|
|
8025
|
+
onClick: s[0] || (s[0] = (...a) => o.scrollLeft && o.scrollLeft(...a)),
|
|
7950
8026
|
disabled: !l.canScrollLeft
|
|
7951
8027
|
}, [
|
|
7952
8028
|
g(e.$slots, "controlLeft", {}, () => [
|
|
7953
8029
|
s[2] || (s[2] = C(" ← ", -1))
|
|
7954
8030
|
])
|
|
7955
|
-
], 10,
|
|
8031
|
+
], 10, jf),
|
|
7956
8032
|
h("button", {
|
|
7957
8033
|
class: m(["table-sticky__control table-sticky__control--right", o.resolveClasses(t.classes.controlButton)]),
|
|
7958
8034
|
"aria-label": "Scroll Right",
|
|
7959
|
-
onClick: s[1] || (s[1] = (...
|
|
8035
|
+
onClick: s[1] || (s[1] = (...a) => o.scrollRight && o.scrollRight(...a)),
|
|
7960
8036
|
disabled: !l.canScrollRight
|
|
7961
8037
|
}, [
|
|
7962
8038
|
g(e.$slots, "controlRight", {}, () => [
|
|
7963
8039
|
s[3] || (s[3] = C(" → ", -1))
|
|
7964
8040
|
])
|
|
7965
|
-
], 10,
|
|
8041
|
+
], 10, If)
|
|
7966
8042
|
]))
|
|
7967
8043
|
], 2), [
|
|
7968
8044
|
[Mt, o.controlsShown]
|
|
7969
8045
|
])
|
|
7970
8046
|
]),
|
|
7971
|
-
h("div",
|
|
8047
|
+
h("div", Mf, [
|
|
7972
8048
|
O(r, {
|
|
7973
8049
|
ref: "table",
|
|
7974
8050
|
class: "table-sticky__table table-sticky__table--actual",
|
|
@@ -7988,15 +8064,15 @@ function Pf(e, s, t, n, l, o) {
|
|
|
7988
8064
|
onActualHeaderAdded: o.headerAdded,
|
|
7989
8065
|
onColumnSorted: o.applySort
|
|
7990
8066
|
}, Ie({ _: 2 }, [
|
|
7991
|
-
B(e.$slots, (
|
|
8067
|
+
B(e.$slots, (a, u) => ({
|
|
7992
8068
|
name: u,
|
|
7993
|
-
fn: k((
|
|
7994
|
-
g(e.$slots, u,
|
|
8069
|
+
fn: k((i) => [
|
|
8070
|
+
g(e.$slots, u, ie(me(i)))
|
|
7995
8071
|
])
|
|
7996
8072
|
}))
|
|
7997
8073
|
]), 1032, ["classes", "resolveClasses", "headerRows", "rows", "footerRows", "rowColumns", "caption", "idPrefix", "getRowValue", "getColumnTitle", "onVnodeMounted", "onActualHeaderRemoved", "onActualHeaderAdded", "onColumnSorted"])
|
|
7998
8074
|
], 512),
|
|
7999
|
-
t.firstColumnSticky ? (
|
|
8075
|
+
t.firstColumnSticky ? (c(), _(r, {
|
|
8000
8076
|
key: 0,
|
|
8001
8077
|
ref: "firstColumn",
|
|
8002
8078
|
class: "table-sticky__table table-sticky__table--first-column",
|
|
@@ -8017,16 +8093,16 @@ function Pf(e, s, t, n, l, o) {
|
|
|
8017
8093
|
}),
|
|
8018
8094
|
onColumnSorted: o.applySort
|
|
8019
8095
|
}, Ie({ _: 2 }, [
|
|
8020
|
-
B(e.$slots, (
|
|
8096
|
+
B(e.$slots, (a, u) => ({
|
|
8021
8097
|
name: u,
|
|
8022
|
-
fn: k((
|
|
8023
|
-
g(e.$slots, u,
|
|
8098
|
+
fn: k((i) => [
|
|
8099
|
+
g(e.$slots, u, ie(me(i)))
|
|
8024
8100
|
])
|
|
8025
8101
|
}))
|
|
8026
8102
|
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : p("", !0)
|
|
8027
8103
|
], 2);
|
|
8028
8104
|
}
|
|
8029
|
-
const $m = /* @__PURE__ */ j(
|
|
8105
|
+
const $m = /* @__PURE__ */ j(Of, [["render", Ff]]), Cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8030
8106
|
__proto__: null,
|
|
8031
8107
|
dom: _o,
|
|
8032
8108
|
router: $l
|
|
@@ -8034,28 +8110,28 @@ const $m = /* @__PURE__ */ j(xf, [["render", Pf]]), Cm = /* @__PURE__ */ Object.
|
|
|
8034
8110
|
export {
|
|
8035
8111
|
ms as UluAccordion,
|
|
8036
8112
|
Vh as UluAdaptiveLayout,
|
|
8037
|
-
|
|
8113
|
+
vh as UluAlert,
|
|
8038
8114
|
tm as UluAnimateNumber,
|
|
8039
8115
|
Pl as UluBadge,
|
|
8040
|
-
|
|
8116
|
+
yh as UluBadgeStack,
|
|
8041
8117
|
Dh as UluBreadcrumb,
|
|
8042
8118
|
Ul as UluButton,
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8119
|
+
ph as UluButtonVerbose,
|
|
8120
|
+
bh as UluCallout,
|
|
8121
|
+
_h as UluCard,
|
|
8046
8122
|
Lt as UluCollapsible,
|
|
8047
8123
|
Gh as UluConditionalText,
|
|
8048
|
-
|
|
8124
|
+
sa as UluConditionalWrapper,
|
|
8049
8125
|
Hh as UluDataGrid,
|
|
8050
|
-
|
|
8126
|
+
wh as UluDefinitionList,
|
|
8051
8127
|
ah as UluDropdown,
|
|
8052
8128
|
Yh as UluEmpty,
|
|
8053
8129
|
Kh as UluEmptyView,
|
|
8054
|
-
|
|
8130
|
+
Sh as UluExternalLink,
|
|
8055
8131
|
lm as UluFacetsActiveFilters,
|
|
8056
|
-
|
|
8132
|
+
am as UluFacetsFilterAccordions,
|
|
8057
8133
|
rm as UluFacetsFilterLists,
|
|
8058
|
-
|
|
8134
|
+
im as UluFacetsFilterPopovers,
|
|
8059
8135
|
cm as UluFacetsFilterSelects,
|
|
8060
8136
|
um as UluFacetsHeaderLayout,
|
|
8061
8137
|
ft as UluFacetsList,
|
|
@@ -8079,19 +8155,20 @@ export {
|
|
|
8079
8155
|
Lh as UluFormTextarea,
|
|
8080
8156
|
D as UluIcon,
|
|
8081
8157
|
Sm as UluImageSlideShow,
|
|
8082
|
-
|
|
8083
|
-
|
|
8158
|
+
kh as UluList,
|
|
8159
|
+
$h as UluMain,
|
|
8084
8160
|
ln as UluMenu,
|
|
8085
8161
|
ul as UluMenuStack,
|
|
8086
8162
|
Ks as UluModal,
|
|
8087
8163
|
Wh as UluNavStrip,
|
|
8088
|
-
|
|
8164
|
+
uh as UluOverflowPopover,
|
|
8089
8165
|
qh as UluPager,
|
|
8090
8166
|
Jh as UluPlaceholderImage,
|
|
8091
8167
|
Qh as UluPlaceholderText,
|
|
8092
8168
|
sm as UluProgressBar,
|
|
8093
8169
|
nm as UluProgressCircle,
|
|
8094
8170
|
Zh as UluRouteAnnouncer,
|
|
8171
|
+
Ch as UluRule,
|
|
8095
8172
|
em as UluSanityRichText,
|
|
8096
8173
|
gm as UluScrollAnchors,
|
|
8097
8174
|
vm as UluScrollAnchorsNav,
|
|
@@ -8102,35 +8179,35 @@ export {
|
|
|
8102
8179
|
bm as UluShowSkeleton,
|
|
8103
8180
|
_m as UluSkeletonContent,
|
|
8104
8181
|
wm as UluSkeletonMedia,
|
|
8105
|
-
|
|
8182
|
+
fi as UluSkeletonText,
|
|
8106
8183
|
Xh as UluSkipLink,
|
|
8107
|
-
|
|
8184
|
+
xi as UluSlideShow,
|
|
8108
8185
|
km as UluSlideShowSlide,
|
|
8109
8186
|
Th as UluSpokeSpinner,
|
|
8110
|
-
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8187
|
+
dh as UluTab,
|
|
8188
|
+
fh as UluTabGroup,
|
|
8189
|
+
hh as UluTabList,
|
|
8190
|
+
mh as UluTabPanel,
|
|
8191
|
+
gh as UluTabPanels,
|
|
8115
8192
|
$m as UluTableSticky,
|
|
8116
|
-
|
|
8117
|
-
|
|
8193
|
+
Vi as UluTableStickyRows,
|
|
8194
|
+
ec as UluTableStickyTable,
|
|
8118
8195
|
on as UluTag,
|
|
8119
8196
|
Nh as UluTitleRail,
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8197
|
+
rh as breakpointsPlugin,
|
|
8198
|
+
eh as corePlugin,
|
|
8199
|
+
oh as modalsPlugin,
|
|
8200
|
+
nh as popoversPlugin,
|
|
8201
|
+
lh as toastPlugin,
|
|
8125
8202
|
qo as useBreakpointManager,
|
|
8126
|
-
|
|
8203
|
+
ch as useDocumentTitle,
|
|
8127
8204
|
om as useFacets,
|
|
8128
8205
|
Oo as useIcon,
|
|
8129
|
-
|
|
8130
|
-
|
|
8206
|
+
ce as useModifiers,
|
|
8207
|
+
ih as usePagination,
|
|
8131
8208
|
Ae as useRequiredInject,
|
|
8132
|
-
|
|
8133
|
-
|
|
8209
|
+
th as useTooltip,
|
|
8210
|
+
sh as useTooltipFollow,
|
|
8134
8211
|
Gs as useUluFloating,
|
|
8135
8212
|
fl as useWindowResize,
|
|
8136
8213
|
Cm as utils
|