@ulu/frontend-vue 0.1.2-beta.6 → 0.1.2-beta.7
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 +1011 -1000
- package/dist/types/composables/useUluFloating.d.ts.map +1 -1
- package/dist/types/plugins/popovers/UluPopover.vue.d.ts.map +1 -1
- package/dist/types/plugins/popovers/UluTooltipPopover.vue.d.ts.map +1 -1
- package/lib/composables/useUluFloating.js +6 -1
- package/lib/plugins/popovers/UluPopover.vue +3 -1
- package/lib/plugins/popovers/UluTooltipPopover.vue +7 -1
- package/package.json +3 -3
package/dist/frontend-vue.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { reactive as
|
|
1
|
+
import { reactive as ut, inject as dt, ref as E, computed as _, watch as ye, toRef as Bn, createElementBlock as f, openBlock as u, normalizeStyle as D, unref as T, normalizeClass as m, createCommentVNode as y, createBlock as S, resolveDynamicComponent as P, normalizeProps as oe, mergeProps as K, Fragment as B, createTextVNode as $, toDisplayString as w, Teleport as ft, createVNode as A, resolveDirective as Fs, withDirectives as Be, createElementVNode as h, renderSlot as g, withKeys as Ls, nextTick as Vs, markRaw as be, watchEffect as ht, defineAsyncComponent as Rn, toRefs as En, toValue as nt, resolveComponent as W, withModifiers as jn, useSlots as Hs, renderList as R, TransitionGroup as Ns, withCtx as k, onMounted as mt, onBeforeUnmount as Ds, isRef as In, hasInjectionContext as Mn, getCurrentInstance as Pn, onDeactivated as zn, onActivated as Fn, onUnmounted as Ws, guardReactiveProps as re, h as Ln, vModelText as Vn, vShow as jt, createSlots as xe } from "vue";
|
|
2
2
|
import { useFloating as Hn, autoUpdate as Nn, inline as Dn, offset as Wn, flip as Xn, shift as Gn, arrow as qn } from "@floating-ui/vue";
|
|
3
|
-
import { normalizeClasses as
|
|
3
|
+
import { normalizeClasses as is } from "@ulu/utils/templating.js";
|
|
4
4
|
import { preventScroll as Yn, wasClickOutside as Kn, isBrowser as Zn } from "@ulu/utils/browser/dom.js";
|
|
5
5
|
import { Resizer as Jn } from "@ulu/frontend/js/ui/resizer.js";
|
|
6
|
-
import { debounce as
|
|
7
|
-
import { useRoute as
|
|
6
|
+
import { debounce as Wt } from "@ulu/utils/performance.js";
|
|
7
|
+
import { useRoute as Xs, useRouter as Qn, RouterLink as Xe } 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 rt } from "@ulu/utils/random.js";
|
|
11
11
|
import { PortableText as ro } from "@portabletext/vue";
|
|
12
12
|
import io from "gsap";
|
|
13
13
|
import ao from "fuse.js";
|
|
14
|
-
import { runAfterFramePaint as
|
|
14
|
+
import { runAfterFramePaint as Gs } 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 as = {
|
|
18
18
|
fontAwesomeStatic: !1,
|
|
19
19
|
iconComponent: null,
|
|
20
20
|
iconPropResolver: (e) => ({ icon: e }),
|
|
@@ -41,7 +41,7 @@ const is = {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
function Xf(e, s = {}) {
|
|
44
|
-
const t =
|
|
44
|
+
const t = ut({ ...as }), { iconsByType: n, ...o } = s || {};
|
|
45
45
|
o && Object.assign(t, o);
|
|
46
46
|
const l = {
|
|
47
47
|
// Methods to interact with settings
|
|
@@ -49,7 +49,7 @@ function Xf(e, s = {}) {
|
|
|
49
49
|
return t;
|
|
50
50
|
},
|
|
51
51
|
getDefaultSettings() {
|
|
52
|
-
return { ...
|
|
52
|
+
return { ...as };
|
|
53
53
|
},
|
|
54
54
|
updateSettings(r) {
|
|
55
55
|
return Object.assign(t, r);
|
|
@@ -91,17 +91,17 @@ const fo = {
|
|
|
91
91
|
uluToast: "Toast",
|
|
92
92
|
uluPopoverOptions: "Popovers",
|
|
93
93
|
uluTooltipState: "Popovers"
|
|
94
|
-
},
|
|
94
|
+
}, cs = {};
|
|
95
95
|
function _e(e) {
|
|
96
|
-
const s =
|
|
97
|
-
if (s ===
|
|
96
|
+
const s = dt(e, cs);
|
|
97
|
+
if (s === cs) {
|
|
98
98
|
const t = fo[e] || "", n = t ? ` from the '${t}' plugin` : "", o = t ? "Please install missing plugin." : "";
|
|
99
99
|
throw new Error(`Required inject: '${e}'${n} was not provided. ${o}`);
|
|
100
100
|
}
|
|
101
101
|
return s;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const n =
|
|
103
|
+
function qs(e, s, t) {
|
|
104
|
+
const n = E(null), o = E([]), l = _(() => t.value?.placement), {
|
|
105
105
|
floatingStyles: r,
|
|
106
106
|
placement: i,
|
|
107
107
|
middlewareData: c,
|
|
@@ -114,30 +114,33 @@ function Gs(e, s, t) {
|
|
|
114
114
|
});
|
|
115
115
|
ye(
|
|
116
116
|
[t, n],
|
|
117
|
-
([
|
|
118
|
-
const
|
|
119
|
-
|
|
117
|
+
([b, C]) => {
|
|
118
|
+
const O = [];
|
|
119
|
+
b && (b.inline && O.push(Dn()), b.offset && O.push(Wn(b.offset)), O.push(Xn()), O.push(Gn()), b.arrow && C && O.push(qn({ element: C })), o.value = O);
|
|
120
120
|
},
|
|
121
121
|
{ immediate: !0, deep: !0 }
|
|
122
122
|
);
|
|
123
|
-
const
|
|
124
|
-
const
|
|
125
|
-
return
|
|
123
|
+
const v = _(() => {
|
|
124
|
+
const b = c.value?.arrow;
|
|
125
|
+
return b ? {
|
|
126
126
|
position: "absolute",
|
|
127
|
-
left:
|
|
128
|
-
top:
|
|
127
|
+
left: b?.x != null ? `${b.x}px` : "",
|
|
128
|
+
top: b?.y != null ? `${b.y}px` : ""
|
|
129
129
|
} : null;
|
|
130
130
|
});
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
})
|
|
131
|
+
ye(t, (b) => {
|
|
132
|
+
b && b.onReady && b.onReady({ update: a, isPositioned: d });
|
|
133
|
+
});
|
|
134
|
+
const p = _(() => t.value?.strategy === "fixed");
|
|
135
|
+
return {
|
|
134
136
|
floatingStyles: r,
|
|
135
137
|
placement: i,
|
|
136
138
|
middlewareData: c,
|
|
137
139
|
update: a,
|
|
138
140
|
isPositioned: d,
|
|
139
|
-
arrowStyles:
|
|
140
|
-
contentArrow: n
|
|
141
|
+
arrowStyles: v,
|
|
142
|
+
contentArrow: n,
|
|
143
|
+
isFixedStrategy: p
|
|
141
144
|
};
|
|
142
145
|
}
|
|
143
146
|
const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
@@ -153,17 +156,23 @@ const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
|
153
156
|
}
|
|
154
157
|
},
|
|
155
158
|
setup(e) {
|
|
156
|
-
const s = e, t =
|
|
159
|
+
const s = e, t = E(null), n = _(() => s.config), {
|
|
157
160
|
floatingStyles: o,
|
|
158
161
|
placement: l,
|
|
159
162
|
arrowStyles: r,
|
|
160
|
-
contentArrow: i
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
contentArrow: i,
|
|
164
|
+
isFixedStrategy: c
|
|
165
|
+
} = qs(Bn(s, "trigger"), t, n);
|
|
166
|
+
return (a, d) => (u(), f("span", {
|
|
167
|
+
class: m(["popover popover--tooltip is-active", [
|
|
168
|
+
{
|
|
169
|
+
"popover--fixed": T(c)
|
|
170
|
+
},
|
|
171
|
+
n.value.class
|
|
172
|
+
]]),
|
|
164
173
|
ref_key: "content",
|
|
165
174
|
ref: t,
|
|
166
|
-
id: T(
|
|
175
|
+
id: T(Ys),
|
|
167
176
|
"data-placement": T(l),
|
|
168
177
|
style: D(T(o))
|
|
169
178
|
}, [
|
|
@@ -172,8 +181,8 @@ const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
|
172
181
|
class: "popover__inner",
|
|
173
182
|
innerHTML: n.value.content
|
|
174
183
|
}, null, 8, mo)) : (u(), f("span", go, [
|
|
175
|
-
n.value.component ? (u(),
|
|
176
|
-
|
|
184
|
+
n.value.component ? (u(), S(P(n.value.component), oe(K({ key: 0 }, n.value.componentProps)), null, 16)) : (u(), f(B, { key: 1 }, [
|
|
185
|
+
$(w(n.value.content), 1)
|
|
177
186
|
], 64))
|
|
178
187
|
])),
|
|
179
188
|
n.value.arrow ? (u(), f("span", {
|
|
@@ -188,8 +197,8 @@ const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
|
188
197
|
}, po = {
|
|
189
198
|
__name: "UluTooltipDisplay",
|
|
190
199
|
setup(e) {
|
|
191
|
-
const s = _e(
|
|
192
|
-
return (t, n) => T(s)?.state.visible ? (u(),
|
|
200
|
+
const s = _e(pt);
|
|
201
|
+
return (t, n) => T(s)?.state.visible ? (u(), S(ft, {
|
|
193
202
|
key: 0,
|
|
194
203
|
to: T(s).state.config.teleportTo || "body"
|
|
195
204
|
}, [
|
|
@@ -199,7 +208,7 @@ const ho = ["id", "data-placement"], mo = ["innerHTML"], go = {
|
|
|
199
208
|
}, null, 8, ["trigger", "config"])
|
|
200
209
|
], 8, ["to"])) : y("", !0);
|
|
201
210
|
}
|
|
202
|
-
},
|
|
211
|
+
}, Ue = {
|
|
203
212
|
/**
|
|
204
213
|
* Default Plugin Options
|
|
205
214
|
* @type {Object}
|
|
@@ -319,18 +328,18 @@ function yo(e) {
|
|
|
319
328
|
}
|
|
320
329
|
}
|
|
321
330
|
let bo = 0;
|
|
322
|
-
function
|
|
331
|
+
function Re(e = "ulu-id") {
|
|
323
332
|
const s = `${e}-${++bo}`;
|
|
324
|
-
return typeof document < "u" && document.getElementById(s) ?
|
|
333
|
+
return typeof document < "u" && document.getElementById(s) ? Re(e) : s;
|
|
325
334
|
}
|
|
326
335
|
const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
327
336
|
__proto__: null,
|
|
328
|
-
newId:
|
|
337
|
+
newId: Re,
|
|
329
338
|
refToElement: yo
|
|
330
339
|
}, Symbol.toStringTag, { value: "Module" })), wo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], So = ["aria-labelledby", "id", "data-placement"], ko = { class: "popover__inner" }, $o = {
|
|
331
340
|
key: 0,
|
|
332
341
|
class: "popover__footer"
|
|
333
|
-
},
|
|
342
|
+
}, gt = {
|
|
334
343
|
__name: "UluPopover",
|
|
335
344
|
props: {
|
|
336
345
|
triggerText: String,
|
|
@@ -365,43 +374,44 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
365
374
|
},
|
|
366
375
|
emits: ["toggle"],
|
|
367
376
|
setup(e, { emit: s }) {
|
|
368
|
-
const t = s, n = e, o =
|
|
369
|
-
floatingStyles:
|
|
370
|
-
placement:
|
|
371
|
-
update:
|
|
372
|
-
arrowStyles:
|
|
373
|
-
contentArrow:
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
377
|
+
const t = s, n = e, o = Re(), l = Re(), r = _e(vt), i = r ? r.popover : Ue.popover, c = _(() => ({ ...i, ...n.config })), a = E(n.startOpen || !1), d = E(null), v = E(null), {
|
|
378
|
+
floatingStyles: p,
|
|
379
|
+
placement: b,
|
|
380
|
+
update: C,
|
|
381
|
+
arrowStyles: O,
|
|
382
|
+
contentArrow: U,
|
|
383
|
+
isFixedStrategy: q
|
|
384
|
+
} = qs(d, v, c), Z = () => {
|
|
385
|
+
z(!a.value);
|
|
386
|
+
}, z = (ee) => {
|
|
387
|
+
a.value = ee;
|
|
388
|
+
const ue = {
|
|
379
389
|
trigger: T(d),
|
|
380
|
-
content: T(
|
|
390
|
+
content: T(v),
|
|
381
391
|
isOpen: T(a)
|
|
382
|
-
},
|
|
383
|
-
|
|
384
|
-
a.value ? (
|
|
385
|
-
ce(), n.directFocus(
|
|
386
|
-
}, 0)) : (
|
|
392
|
+
}, Te = { isOpen: ue.isOpen };
|
|
393
|
+
Vs(() => {
|
|
394
|
+
a.value ? (C(), window.setTimeout(() => {
|
|
395
|
+
ce(), n.directFocus(ue), t("toggle", Te);
|
|
396
|
+
}, 0)) : (et(), n.directFocus(ue), t("toggle", Te));
|
|
387
397
|
});
|
|
388
398
|
};
|
|
389
|
-
let
|
|
399
|
+
let J;
|
|
390
400
|
const ce = () => {
|
|
391
|
-
n.clickOutsideCloses && (
|
|
392
|
-
|
|
393
|
-
}, document.addEventListener("click",
|
|
394
|
-
},
|
|
395
|
-
|
|
396
|
-
},
|
|
397
|
-
return (
|
|
398
|
-
const
|
|
399
|
-
return u(), f(
|
|
400
|
-
|
|
401
|
+
n.clickOutsideCloses && (J && et(), J = (ee) => {
|
|
402
|
+
v.value && !v.value.contains(ee.target) && z(!1);
|
|
403
|
+
}, document.addEventListener("click", J));
|
|
404
|
+
}, et = () => {
|
|
405
|
+
J && (document.removeEventListener("click", J), J = null);
|
|
406
|
+
}, ne = () => z(!1);
|
|
407
|
+
return (ee, ue) => {
|
|
408
|
+
const Te = Fs("ulu-tooltip");
|
|
409
|
+
return u(), f(B, null, [
|
|
410
|
+
Be((u(), f("button", {
|
|
401
411
|
type: "button",
|
|
402
412
|
ref_key: "trigger",
|
|
403
413
|
ref: d,
|
|
404
|
-
onClick:
|
|
414
|
+
onClick: Z,
|
|
405
415
|
id: T(l),
|
|
406
416
|
disabled: e.disabled,
|
|
407
417
|
class: m([
|
|
@@ -412,49 +422,50 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
412
422
|
"aria-controls": T(o),
|
|
413
423
|
"aria-label": e.triggerAlt
|
|
414
424
|
}, [
|
|
415
|
-
g(
|
|
425
|
+
g(ee.$slots, "trigger", {
|
|
416
426
|
isOpen: a.value,
|
|
417
|
-
close:
|
|
427
|
+
close: ne
|
|
418
428
|
}, () => [
|
|
419
|
-
|
|
429
|
+
$(w(e.triggerText), 1)
|
|
420
430
|
])
|
|
421
431
|
], 10, wo)), [
|
|
422
|
-
[
|
|
432
|
+
[Te, e.tooltip ? e.tooltip : null]
|
|
423
433
|
]),
|
|
424
434
|
h("span", {
|
|
425
435
|
class: m(["popover", [
|
|
426
436
|
e.size ? `popover--${e.size}` : "",
|
|
427
437
|
{
|
|
428
438
|
"popover--no-padding": e.noPadding,
|
|
439
|
+
"popover--fixed": T(q),
|
|
429
440
|
"is-active": a.value
|
|
430
441
|
},
|
|
431
442
|
e.classes.content
|
|
432
443
|
]]),
|
|
433
444
|
ref_key: "content",
|
|
434
|
-
ref:
|
|
445
|
+
ref: v,
|
|
435
446
|
"aria-labelledby": T(l),
|
|
436
447
|
id: T(o),
|
|
437
|
-
style: D(T(
|
|
438
|
-
"data-placement": T(
|
|
439
|
-
onKeydown:
|
|
448
|
+
style: D(T(p)),
|
|
449
|
+
"data-placement": T(b),
|
|
450
|
+
onKeydown: ue[0] || (ue[0] = Ls((rs) => z(!1), ["esc"])),
|
|
440
451
|
tabindex: "-1"
|
|
441
452
|
}, [
|
|
442
453
|
h("span", ko, [
|
|
443
|
-
g(
|
|
454
|
+
g(ee.$slots, "default", {
|
|
444
455
|
isOpen: a.value,
|
|
445
|
-
toggle:
|
|
446
|
-
close:
|
|
456
|
+
toggle: Z,
|
|
457
|
+
close: ne
|
|
447
458
|
})
|
|
448
459
|
]),
|
|
449
|
-
|
|
450
|
-
g(
|
|
460
|
+
ee.$slots.footer ? (u(), f("span", $o, [
|
|
461
|
+
g(ee.$slots, "footer", { close: ne })
|
|
451
462
|
])) : y("", !0),
|
|
452
463
|
c.value.arrow ? (u(), f("span", {
|
|
453
464
|
key: 1,
|
|
454
465
|
class: "popover__arrow",
|
|
455
466
|
ref_key: "contentArrow",
|
|
456
|
-
ref:
|
|
457
|
-
style: D(T(
|
|
467
|
+
ref: U,
|
|
468
|
+
style: D(T(O)),
|
|
458
469
|
"data-ulu-popover-arrow": ""
|
|
459
470
|
}, null, 4)) : y("", !0)
|
|
460
471
|
], 46, So)
|
|
@@ -463,10 +474,10 @@ const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
463
474
|
}
|
|
464
475
|
};
|
|
465
476
|
function Gf() {
|
|
466
|
-
const e = _e(
|
|
477
|
+
const e = _e(pt), s = _e(vt), t = { ...s.popover, ...s.tooltip };
|
|
467
478
|
return {
|
|
468
479
|
showTooltip: (o, l) => {
|
|
469
|
-
const r =
|
|
480
|
+
const r = It(l, t);
|
|
470
481
|
r && e.show(o, r);
|
|
471
482
|
},
|
|
472
483
|
hideTooltip: e.hide,
|
|
@@ -474,10 +485,10 @@ function Gf() {
|
|
|
474
485
|
};
|
|
475
486
|
}
|
|
476
487
|
function qf(e) {
|
|
477
|
-
const s = _e(
|
|
488
|
+
const s = _e(pt), t = _e(vt);
|
|
478
489
|
e.content || console.warn("Missing content for 'useTooltipFollow' tooltip", e);
|
|
479
490
|
let n;
|
|
480
|
-
const o =
|
|
491
|
+
const o = E(0), l = E(0), r = _(() => ({
|
|
481
492
|
getBoundingClientRect() {
|
|
482
493
|
return {
|
|
483
494
|
width: 0,
|
|
@@ -490,13 +501,13 @@ function qf(e) {
|
|
|
490
501
|
bottom: l.value
|
|
491
502
|
};
|
|
492
503
|
}
|
|
493
|
-
})), i = t ? t.popover :
|
|
504
|
+
})), i = t ? t.popover : Ue.popover, c = t ? t.tooltip : Ue.tooltip, d = {
|
|
494
505
|
...{ ...i, ...c },
|
|
495
506
|
content: e.content,
|
|
496
507
|
inline: !1,
|
|
497
508
|
// Following cursor is never inline
|
|
498
|
-
onReady({ update:
|
|
499
|
-
n =
|
|
509
|
+
onReady({ update: v }) {
|
|
510
|
+
n = v;
|
|
500
511
|
}
|
|
501
512
|
};
|
|
502
513
|
return {
|
|
@@ -508,74 +519,74 @@ function qf(e) {
|
|
|
508
519
|
hide() {
|
|
509
520
|
s.state.trigger === r.value && s.hide();
|
|
510
521
|
},
|
|
511
|
-
update(
|
|
512
|
-
o.value =
|
|
522
|
+
update(v) {
|
|
523
|
+
o.value = v.x, l.value = v.y, n && n();
|
|
513
524
|
}
|
|
514
525
|
};
|
|
515
526
|
}
|
|
516
|
-
const
|
|
527
|
+
const vt = "uluPopoverOptions", pt = "uluTooltipState", Ys = "ulu-global-tooltip", It = (e, s) => {
|
|
517
528
|
if (e === !1 || e === null) return null;
|
|
518
529
|
let t = e;
|
|
519
530
|
return (typeof t != "object" || Array.isArray(t)) && (t = { content: t }), t.component && (t.component = be(t.component)), { ...s, ...t };
|
|
520
531
|
};
|
|
521
532
|
function Yf(e, s = {}) {
|
|
522
533
|
const t = {
|
|
523
|
-
plugin: { ...
|
|
524
|
-
popover: { ...
|
|
525
|
-
tooltip: { ...
|
|
534
|
+
plugin: { ...Ue.plugin, ...s.plugin || {} },
|
|
535
|
+
popover: { ...Ue.popover, ...s.popover || {} },
|
|
536
|
+
tooltip: { ...Ue.tooltip, ...s.tooltip || {} }
|
|
526
537
|
};
|
|
527
|
-
e.provide(
|
|
528
|
-
const n =
|
|
538
|
+
e.provide(vt, t);
|
|
539
|
+
const n = ut({
|
|
529
540
|
visible: !1,
|
|
530
541
|
trigger: null,
|
|
531
542
|
config: {}
|
|
532
|
-
}), o = (d,
|
|
533
|
-
n.trigger && n.trigger !== d && n.trigger?.removeAttribute && n.trigger.removeAttribute("aria-describedby"), d?.setAttribute && d.setAttribute("aria-describedby",
|
|
543
|
+
}), o = (d, v) => {
|
|
544
|
+
n.trigger && n.trigger !== d && n.trigger?.removeAttribute && n.trigger.removeAttribute("aria-describedby"), d?.setAttribute && d.setAttribute("aria-describedby", Ys), n.trigger = d, n.config = v, n.visible = !0;
|
|
534
545
|
}, l = () => {
|
|
535
546
|
n.trigger?.removeAttribute && n.trigger.removeAttribute("aria-describedby"), n.visible = !1;
|
|
536
547
|
};
|
|
537
|
-
e.provide(
|
|
548
|
+
e.provide(pt, {
|
|
538
549
|
state: n,
|
|
539
550
|
show: o,
|
|
540
551
|
hide: l
|
|
541
|
-
}), e.component("UluTooltipDisplay", po), e.component("UluPopover",
|
|
552
|
+
}), e.component("UluTooltipDisplay", po), e.component("UluPopover", gt);
|
|
542
553
|
const r = /* @__PURE__ */ new WeakMap(), i = t.popover, c = t.tooltip, a = { ...i, ...c };
|
|
543
554
|
e.directive(t.plugin.directiveName, {
|
|
544
|
-
mounted(d,
|
|
545
|
-
const
|
|
546
|
-
if (!
|
|
547
|
-
let
|
|
548
|
-
const
|
|
549
|
-
|
|
550
|
-
o(d,
|
|
551
|
-
},
|
|
552
|
-
},
|
|
553
|
-
clearTimeout(
|
|
554
|
-
}, { showEvents:
|
|
555
|
-
|
|
556
|
-
},
|
|
557
|
-
updated(d,
|
|
558
|
-
const
|
|
559
|
-
|
|
560
|
-
const
|
|
561
|
-
if (!
|
|
555
|
+
mounted(d, v) {
|
|
556
|
+
const p = It(v.value, a);
|
|
557
|
+
if (!p) return;
|
|
558
|
+
let b = null;
|
|
559
|
+
const C = () => {
|
|
560
|
+
b || (b = setTimeout(() => {
|
|
561
|
+
o(d, p);
|
|
562
|
+
}, p.delay));
|
|
563
|
+
}, O = () => {
|
|
564
|
+
clearTimeout(b), b = null, l();
|
|
565
|
+
}, { showEvents: U, hideEvents: q } = p;
|
|
566
|
+
U.forEach((Z) => d.addEventListener(Z, C)), q.forEach((Z) => d.addEventListener(Z, O)), r.set(d, { show: C, hide: O, showEvents: U, hideEvents: q });
|
|
567
|
+
},
|
|
568
|
+
updated(d, v) {
|
|
569
|
+
const p = r.get(d);
|
|
570
|
+
p && (p.showEvents.forEach((z) => d.removeEventListener(z, p.show)), p.hideEvents.forEach((z) => d.removeEventListener(z, p.hide)));
|
|
571
|
+
const b = It(v.value, a);
|
|
572
|
+
if (!b) {
|
|
562
573
|
n.trigger === d && l();
|
|
563
574
|
return;
|
|
564
575
|
}
|
|
565
|
-
let
|
|
566
|
-
const
|
|
567
|
-
|
|
568
|
-
o(d,
|
|
569
|
-
},
|
|
570
|
-
},
|
|
571
|
-
clearTimeout(
|
|
572
|
-
}, { showEvents:
|
|
573
|
-
|
|
576
|
+
let C = null;
|
|
577
|
+
const O = () => {
|
|
578
|
+
C || (C = setTimeout(() => {
|
|
579
|
+
o(d, b);
|
|
580
|
+
}, b.delay));
|
|
581
|
+
}, U = () => {
|
|
582
|
+
clearTimeout(C), C = null, l();
|
|
583
|
+
}, { showEvents: q, hideEvents: Z } = b;
|
|
584
|
+
q.forEach((z) => d.addEventListener(z, O)), Z.forEach((z) => d.addEventListener(z, U)), r.set(d, { show: O, hide: U, showEvents: q, hideEvents: Z }), n.visible && n.trigger === d && o(d, b);
|
|
574
585
|
},
|
|
575
586
|
beforeUnmount(d) {
|
|
576
587
|
n.visible && n.trigger === d && l();
|
|
577
|
-
const
|
|
578
|
-
|
|
588
|
+
const v = r.get(d);
|
|
589
|
+
v && (v.showEvents.forEach((p) => d.removeEventListener(p, v.show)), v.hideEvents.forEach((p) => d.removeEventListener(p, v.hide)), r.delete(d));
|
|
579
590
|
}
|
|
580
591
|
});
|
|
581
592
|
}
|
|
@@ -625,7 +636,7 @@ const j = (e, s) => {
|
|
|
625
636
|
}
|
|
626
637
|
};
|
|
627
638
|
function To(e, s, t, n, o, l) {
|
|
628
|
-
return l.currentModal ? (u(),
|
|
639
|
+
return l.currentModal ? (u(), S(P(l.currentModal.component), K({ key: 0 }, l.currentProps, {
|
|
629
640
|
modelValue: o.open,
|
|
630
641
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => o.open = r),
|
|
631
642
|
onVnodeMounted: l.modalMounted,
|
|
@@ -664,53 +675,53 @@ const N = {
|
|
|
664
675
|
spaced: Boolean
|
|
665
676
|
},
|
|
666
677
|
setup(e) {
|
|
667
|
-
const s =
|
|
678
|
+
const s = dt("uluCore"), t = E(null), { getIconProps: n, getClassesFromDefinition: o } = Oo();
|
|
668
679
|
let l;
|
|
669
|
-
const r = e, i =
|
|
670
|
-
const { icon:
|
|
671
|
-
if (typeof
|
|
680
|
+
const r = e, i = _(() => s.getSetting("fontAwesomeStatic")), c = _(() => s.getSetting("iconComponent")), a = _(() => s.getSetting("iconPropResolver")), d = _(() => {
|
|
681
|
+
const { icon: O } = r;
|
|
682
|
+
if (typeof O == "string" && O.startsWith("type:"))
|
|
672
683
|
try {
|
|
673
|
-
const
|
|
674
|
-
return s.getIcon(
|
|
675
|
-
} catch (
|
|
676
|
-
return console.warn(
|
|
684
|
+
const U = O.substring(5);
|
|
685
|
+
return s.getIcon(U);
|
|
686
|
+
} catch (U) {
|
|
687
|
+
return console.warn(U), null;
|
|
677
688
|
}
|
|
678
|
-
return
|
|
679
|
-
}),
|
|
689
|
+
return O;
|
|
690
|
+
}), v = _(() => !c.value || !d.value ? null : a.value(d.value)), p = _(() => n(d.value)), b = _(() => o(d.value)), C = _(() => ({
|
|
680
691
|
"flow-inline": r.spaced
|
|
681
692
|
}));
|
|
682
|
-
return
|
|
693
|
+
return ht(async () => {
|
|
683
694
|
if (!i.value && d.value) {
|
|
684
695
|
if (t.value === null)
|
|
685
696
|
if (l)
|
|
686
697
|
t.value = be(l.FontAwesomeIcon);
|
|
687
698
|
else {
|
|
688
|
-
const
|
|
689
|
-
const
|
|
690
|
-
return l =
|
|
699
|
+
const O = Rn(async () => {
|
|
700
|
+
const U = await import("@fortawesome/vue-fontawesome");
|
|
701
|
+
return l = U, U.FontAwesomeIcon;
|
|
691
702
|
});
|
|
692
|
-
t.value = be(
|
|
703
|
+
t.value = be(O);
|
|
693
704
|
}
|
|
694
705
|
} else
|
|
695
706
|
t.value = null;
|
|
696
|
-
}), (
|
|
707
|
+
}), (O, U) => c.value ? (u(), S(P(c.value), K({ key: 0 }, v.value, { class: C.value }), null, 16, ["class"])) : !i.value && t.value && d.value ? (u(), S(P(t.value), K({ key: 1 }, p.value, { class: C.value }), null, 16, ["class"])) : i.value && d.value ? (u(), f("span", {
|
|
697
708
|
key: 2,
|
|
698
|
-
class: m([
|
|
709
|
+
class: m([b.value, C.value]),
|
|
699
710
|
"aria-hidden": "true"
|
|
700
711
|
}, null, 2)) : y("", !0);
|
|
701
712
|
}
|
|
702
713
|
};
|
|
703
714
|
function ie({ props: e, baseClass: s, internal: t = {} }) {
|
|
704
715
|
const { modifiers: n } = En(e);
|
|
705
|
-
return { resolvedModifiers:
|
|
706
|
-
const l =
|
|
716
|
+
return { resolvedModifiers: _(() => {
|
|
717
|
+
const l = nt(s), r = is(nt(n)), i = is(nt(t));
|
|
707
718
|
if (!l)
|
|
708
719
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
709
720
|
const c = /* @__PURE__ */ new Set([...i, ...r]);
|
|
710
721
|
return Array.from(c).map((a) => `${l}--${a}`);
|
|
711
722
|
}) };
|
|
712
723
|
}
|
|
713
|
-
let
|
|
724
|
+
let Ct = 0;
|
|
714
725
|
const xo = {
|
|
715
726
|
name: "UluModal",
|
|
716
727
|
components: {
|
|
@@ -821,21 +832,21 @@ const xo = {
|
|
|
821
832
|
modifiers: [String, Array]
|
|
822
833
|
},
|
|
823
834
|
data() {
|
|
824
|
-
return
|
|
835
|
+
return ++Ct, {
|
|
825
836
|
containerWidth: null,
|
|
826
|
-
titleId: `ulu-modal-${
|
|
837
|
+
titleId: `ulu-modal-${Ct}-title`,
|
|
827
838
|
bodyOverflowValue: null,
|
|
828
839
|
bodyPaddingRightValue: null,
|
|
829
840
|
isResizing: !1
|
|
830
841
|
};
|
|
831
842
|
},
|
|
832
843
|
setup(e) {
|
|
833
|
-
const s =
|
|
844
|
+
const s = Hs(), t = _(() => e.title || s.title), n = _(() => {
|
|
834
845
|
const { allowResize: i, position: c } = e;
|
|
835
846
|
if (!i || !c) return;
|
|
836
847
|
const a = ["left", "right", "center"];
|
|
837
848
|
return a.includes(c) ? !0 : (console.warn(`Passed invalid position for resize (${c}), use ${a.join(", ")}`), !1);
|
|
838
|
-
}), o =
|
|
849
|
+
}), o = _(() => e.position === "center" ? "type:resizeBoth" : "type:resizeHorizontal"), l = _(() => ({
|
|
839
850
|
[e.position]: e.position,
|
|
840
851
|
resize: e.allowResize,
|
|
841
852
|
"no-resize": !e.allowResize,
|
|
@@ -934,7 +945,7 @@ const xo = {
|
|
|
934
945
|
}
|
|
935
946
|
},
|
|
936
947
|
mounted() {
|
|
937
|
-
|
|
948
|
+
++Ct, this.preventScroll && this.setupPreventScroll(), this.setupResizer();
|
|
938
949
|
},
|
|
939
950
|
beforeUnmount() {
|
|
940
951
|
const { container: e } = this.$refs;
|
|
@@ -948,7 +959,7 @@ const xo = {
|
|
|
948
959
|
};
|
|
949
960
|
function jo(e, s, t, n, o, l) {
|
|
950
961
|
const r = W("UluIcon");
|
|
951
|
-
return u(),
|
|
962
|
+
return u(), S(ft, {
|
|
952
963
|
to: t.teleport === !1 ? null : t.teleport,
|
|
953
964
|
disabled: t.teleport === !1
|
|
954
965
|
}, [
|
|
@@ -972,12 +983,12 @@ function jo(e, s, t, n, o, l) {
|
|
|
972
983
|
id: o.titleId
|
|
973
984
|
}, [
|
|
974
985
|
g(e.$slots, "title", { close: l.close }, () => [
|
|
975
|
-
t.titleIcon ? (u(),
|
|
986
|
+
t.titleIcon ? (u(), S(r, {
|
|
976
987
|
key: 0,
|
|
977
988
|
class: "modal__title-icon",
|
|
978
989
|
icon: t.titleIcon
|
|
979
990
|
}, null, 8, ["icon"])) : y("", !0),
|
|
980
|
-
h("span", Ro,
|
|
991
|
+
h("span", Ro, w(t.title), 1)
|
|
981
992
|
])
|
|
982
993
|
], 10, Bo),
|
|
983
994
|
h("button", {
|
|
@@ -1016,7 +1027,7 @@ function jo(e, s, t, n, o, l) {
|
|
|
1016
1027
|
], 46, Uo)
|
|
1017
1028
|
], 8, ["to", "disabled"]);
|
|
1018
1029
|
}
|
|
1019
|
-
const
|
|
1030
|
+
const Ks = /* @__PURE__ */ j(xo, [["render", jo]]), He = [], Io = E({
|
|
1020
1031
|
/**
|
|
1021
1032
|
* Holds active component options (including component, and options)
|
|
1022
1033
|
*/
|
|
@@ -1025,7 +1036,7 @@ const Ys = /* @__PURE__ */ j(xo, [["render", jo]]), He = [], Io = R({
|
|
|
1025
1036
|
* Populated with any props passed to open method, bound to modal component
|
|
1026
1037
|
*/
|
|
1027
1038
|
activeProps: null
|
|
1028
|
-
}), Ne = Io.value,
|
|
1039
|
+
}), Ne = Io.value, us = {
|
|
1029
1040
|
data: Ne,
|
|
1030
1041
|
modals: He
|
|
1031
1042
|
}, Mo = (e) => ({
|
|
@@ -1074,9 +1085,9 @@ const Ys = /* @__PURE__ */ j(xo, [["render", jo]]), He = [], Io = R({
|
|
|
1074
1085
|
};
|
|
1075
1086
|
function Kf(e, s) {
|
|
1076
1087
|
const t = Object.assign({}, Po, s), o = Mo((l) => Object.assign({}, t.modalOptions, l));
|
|
1077
|
-
e.component("UluModalsDisplay", Ao), e.component("UluModal",
|
|
1088
|
+
e.component("UluModalsDisplay", Ao), e.component("UluModal", Ks), t.modals.forEach((l) => {
|
|
1078
1089
|
o.add(l);
|
|
1079
|
-
}),
|
|
1090
|
+
}), us.options = t, e.config.globalProperties.$uluModals = o, e.provide("uluModals", o), e.config.globalProperties.$uluModalsState = us;
|
|
1080
1091
|
}
|
|
1081
1092
|
const zo = {
|
|
1082
1093
|
name: "UluToast",
|
|
@@ -1126,7 +1137,7 @@ function Lo(e, s, t, n, o, l) {
|
|
|
1126
1137
|
class: m(["toast__icon", t.classes.icon])
|
|
1127
1138
|
}, [
|
|
1128
1139
|
g(e.$slots, "icon", { toast: t.toast }, () => [
|
|
1129
|
-
t.toast.icon ? (u(),
|
|
1140
|
+
t.toast.icon ? (u(), S(r, {
|
|
1130
1141
|
key: 0,
|
|
1131
1142
|
icon: t.toast.icon
|
|
1132
1143
|
}, null, 8, ["icon"])) : y("", !0)
|
|
@@ -1142,27 +1153,27 @@ function Lo(e, s, t, n, o, l) {
|
|
|
1142
1153
|
}, [
|
|
1143
1154
|
h("strong", {
|
|
1144
1155
|
class: m(["toast__title", t.classes.title])
|
|
1145
|
-
},
|
|
1156
|
+
}, w(t.toast.title), 3),
|
|
1146
1157
|
t.toast.date ? (u(), f("span", {
|
|
1147
1158
|
key: 0,
|
|
1148
1159
|
class: m(["toast__date", t.classes.date])
|
|
1149
|
-
},
|
|
1160
|
+
}, w(t.toast.date), 3)) : y("", !0)
|
|
1150
1161
|
], 2)) : y("", !0),
|
|
1151
1162
|
t.toast.description ? (u(), f("div", {
|
|
1152
1163
|
key: 1,
|
|
1153
1164
|
class: m(["toast__body", t.classes.body])
|
|
1154
|
-
},
|
|
1165
|
+
}, w(t.toast.description), 3)) : y("", !0)
|
|
1155
1166
|
])
|
|
1156
1167
|
], 2),
|
|
1157
1168
|
t.toast.actions?.length ? (u(), f("div", {
|
|
1158
1169
|
key: 1,
|
|
1159
1170
|
class: m(["toast__actions", t.classes.actions])
|
|
1160
1171
|
}, [
|
|
1161
|
-
(u(!0), f(
|
|
1172
|
+
(u(!0), f(B, null, R(t.toast.actions, (i, c) => (u(), f("button", {
|
|
1162
1173
|
key: c,
|
|
1163
1174
|
class: m(["toast__action", t.classes.action]),
|
|
1164
1175
|
onClick: (a) => l.handleAction(a, i)
|
|
1165
|
-
},
|
|
1176
|
+
}, w(i.label), 11, Fo))), 128))
|
|
1166
1177
|
], 2)) : y("", !0),
|
|
1167
1178
|
h("button", {
|
|
1168
1179
|
class: m(["toast__close", t.classes.closeButton]),
|
|
@@ -1172,12 +1183,12 @@ function Lo(e, s, t, n, o, l) {
|
|
|
1172
1183
|
], 2)
|
|
1173
1184
|
], 2);
|
|
1174
1185
|
}
|
|
1175
|
-
const
|
|
1186
|
+
const Zs = /* @__PURE__ */ j(zo, [["render", Lo]]), ds = {
|
|
1176
1187
|
toastOptions: {
|
|
1177
1188
|
/**
|
|
1178
1189
|
* Component used to render the toast in the display
|
|
1179
1190
|
*/
|
|
1180
|
-
component: be(
|
|
1191
|
+
component: be(Zs),
|
|
1181
1192
|
/**
|
|
1182
1193
|
* Duration of toast
|
|
1183
1194
|
*/
|
|
@@ -1195,39 +1206,39 @@ const Ks = /* @__PURE__ */ j(zo, [["render", Lo]]), us = {
|
|
|
1195
1206
|
*/
|
|
1196
1207
|
position: ["top", "right"]
|
|
1197
1208
|
}
|
|
1198
|
-
}, { assign:
|
|
1209
|
+
}, { assign: Tt } = Object;
|
|
1199
1210
|
let Vo = 0;
|
|
1200
|
-
const
|
|
1211
|
+
const ge = ut({
|
|
1201
1212
|
toasts: [],
|
|
1202
1213
|
/**
|
|
1203
1214
|
* Saveable
|
|
1204
1215
|
*/
|
|
1205
|
-
pluginOptions:
|
|
1206
|
-
toastOptions:
|
|
1216
|
+
pluginOptions: ds.pluginOptions,
|
|
1217
|
+
toastOptions: ds.toastOptions,
|
|
1207
1218
|
setToastOptions(e) {
|
|
1208
|
-
return this.toastOptions =
|
|
1219
|
+
return this.toastOptions = Tt({}, this.toastOptions, e), this.pluginOptions;
|
|
1209
1220
|
},
|
|
1210
1221
|
setPluginOptions(e) {
|
|
1211
|
-
return this.pluginOptions =
|
|
1222
|
+
return this.pluginOptions = Tt({}, this.pluginOptions, e), this.pluginOptions;
|
|
1212
1223
|
},
|
|
1213
1224
|
createToast(e) {
|
|
1214
1225
|
const s = `toast-${++Vo}`;
|
|
1215
|
-
return
|
|
1226
|
+
return Tt({}, this.toastOptions, e, {
|
|
1216
1227
|
uid: s,
|
|
1217
1228
|
close() {
|
|
1218
|
-
|
|
1229
|
+
Mt.remove(s);
|
|
1219
1230
|
}
|
|
1220
1231
|
});
|
|
1221
1232
|
}
|
|
1222
|
-
}),
|
|
1233
|
+
}), Mt = {
|
|
1223
1234
|
/**
|
|
1224
1235
|
*
|
|
1225
1236
|
* @param {Object} options Toast options
|
|
1226
1237
|
* @returns Toast object (to be used to remove)
|
|
1227
1238
|
*/
|
|
1228
1239
|
add(e) {
|
|
1229
|
-
const s =
|
|
1230
|
-
return
|
|
1240
|
+
const s = ge.createToast(e);
|
|
1241
|
+
return ge.toasts.unshift(s), s.duration && setTimeout(() => {
|
|
1231
1242
|
this.remove(s.uid);
|
|
1232
1243
|
}, s.duration), s;
|
|
1233
1244
|
},
|
|
@@ -1236,19 +1247,19 @@ const me = ct({
|
|
|
1236
1247
|
* @param {Object} toast Toast uid
|
|
1237
1248
|
*/
|
|
1238
1249
|
remove(e) {
|
|
1239
|
-
const s =
|
|
1240
|
-
s > -1 &&
|
|
1250
|
+
const s = ge.toasts.findIndex((t) => t.uid === e);
|
|
1251
|
+
s > -1 && ge.toasts.splice(s, 1);
|
|
1241
1252
|
},
|
|
1242
1253
|
/**
|
|
1243
1254
|
* Remove all toasts
|
|
1244
1255
|
*/
|
|
1245
1256
|
removeAll() {
|
|
1246
|
-
|
|
1257
|
+
ge.toasts = [];
|
|
1247
1258
|
}
|
|
1248
1259
|
}, Ho = {
|
|
1249
1260
|
name: "UluTooltipDisplay",
|
|
1250
1261
|
data() {
|
|
1251
|
-
const { toasts: e, pluginOptions: s } =
|
|
1262
|
+
const { toasts: e, pluginOptions: s } = ge;
|
|
1252
1263
|
return { toasts: e, pluginOptions: s };
|
|
1253
1264
|
},
|
|
1254
1265
|
computed: {
|
|
@@ -1259,16 +1270,16 @@ const me = ct({
|
|
|
1259
1270
|
}
|
|
1260
1271
|
};
|
|
1261
1272
|
function No(e, s, t, n, o, l) {
|
|
1262
|
-
return u(),
|
|
1273
|
+
return u(), S(ft, {
|
|
1263
1274
|
to: o.pluginOptions.teleportTo
|
|
1264
1275
|
}, [
|
|
1265
|
-
A(
|
|
1276
|
+
A(Ns, {
|
|
1266
1277
|
class: m(["toast-container", l.classes]),
|
|
1267
1278
|
name: "toast-animation",
|
|
1268
1279
|
tag: "div"
|
|
1269
1280
|
}, {
|
|
1270
|
-
default:
|
|
1271
|
-
(u(!0), f(
|
|
1281
|
+
default: k(() => [
|
|
1282
|
+
(u(!0), f(B, null, R(o.toasts, (r) => (u(), S(P(r.component), {
|
|
1272
1283
|
key: r.uid,
|
|
1273
1284
|
toast: r
|
|
1274
1285
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -1279,7 +1290,7 @@ function No(e, s, t, n, o, l) {
|
|
|
1279
1290
|
}
|
|
1280
1291
|
const Do = /* @__PURE__ */ j(Ho, [["render", No]]);
|
|
1281
1292
|
function Zf(e, s = {}) {
|
|
1282
|
-
|
|
1293
|
+
ge.setPluginOptions(s?.plugin), ge.setToastOptions(s?.toast), e.component("UluToast", Zs), e.component("UluToastDisplay", Do), e.config.globalProperties.$uluToast = Mt, e.provide("uluToast", Mt);
|
|
1283
1294
|
}
|
|
1284
1295
|
const Wo = {
|
|
1285
1296
|
/**
|
|
@@ -1298,7 +1309,7 @@ const Wo = {
|
|
|
1298
1309
|
}
|
|
1299
1310
|
};
|
|
1300
1311
|
function Xo(e) {
|
|
1301
|
-
const s = Object.assign({}, Wo, e), t =
|
|
1312
|
+
const s = Object.assign({}, Wo, e), t = E(null), n = E(s.initialValue), o = E(null);
|
|
1302
1313
|
return (async () => {
|
|
1303
1314
|
if (!Zn()) return;
|
|
1304
1315
|
await new Promise((d) => {
|
|
@@ -1323,44 +1334,44 @@ const Go = {
|
|
|
1323
1334
|
managerOptions: {}
|
|
1324
1335
|
};
|
|
1325
1336
|
function Jf(e, s) {
|
|
1326
|
-
const t =
|
|
1327
|
-
onReady(
|
|
1328
|
-
|
|
1337
|
+
const t = E(!1), n = Object.assign({}, Go, s), { breakpointMobile: o } = n, { onReady: l } = n.managerOptions, r = {
|
|
1338
|
+
onReady(v) {
|
|
1339
|
+
v.at(o).max({
|
|
1329
1340
|
on() {
|
|
1330
1341
|
t.value = !0;
|
|
1331
1342
|
},
|
|
1332
1343
|
off() {
|
|
1333
1344
|
t.value = !1;
|
|
1334
1345
|
}
|
|
1335
|
-
}), l && l(
|
|
1346
|
+
}), l && l(v);
|
|
1336
1347
|
}
|
|
1337
1348
|
}, i = Object.assign({}, n.managerOptions, r), {
|
|
1338
1349
|
breakpointManager: c,
|
|
1339
1350
|
breakpointActive: a,
|
|
1340
1351
|
breakpointDirection: d
|
|
1341
1352
|
} = Xo(i);
|
|
1342
|
-
e.provide("uluBreakpointActive",
|
|
1353
|
+
e.provide("uluBreakpointActive", _(() => a.value)), e.provide("uluBreakpointDirection", _(() => d.value)), e.provide("uluBreakpointManager", _(() => c.value)), e.provide("uluIsMobile", _(() => t.value));
|
|
1343
1354
|
}
|
|
1344
|
-
const
|
|
1345
|
-
let Q,
|
|
1346
|
-
const
|
|
1355
|
+
const Pt = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new WeakMap(), we = /* @__PURE__ */ new WeakMap(), se = /* @__PURE__ */ new WeakMap(), Ge = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), De = /* @__PURE__ */ new WeakMap(), pe = /* @__PURE__ */ new WeakMap(), ve = /* @__PURE__ */ new WeakMap(), Oe = /* @__PURE__ */ new WeakSet();
|
|
1356
|
+
let Q, Xt = 0, Gt = 0;
|
|
1357
|
+
const he = "__aa_tgt", qe = "__aa_del", it = "__aa_new", Js = (e) => {
|
|
1347
1358
|
const s = Zo(e);
|
|
1348
1359
|
s && s.forEach((t) => Jo(t));
|
|
1349
1360
|
}, qo = (e) => {
|
|
1350
1361
|
e.forEach((s) => {
|
|
1351
|
-
s.target === Q && Yo(),
|
|
1362
|
+
s.target === Q && Yo(), Y.has(s.target) && ke(s.target);
|
|
1352
1363
|
});
|
|
1353
1364
|
};
|
|
1354
|
-
function
|
|
1365
|
+
function Qs(e) {
|
|
1355
1366
|
const s = e.getBoundingClientRect(), t = Q?.clientWidth || 0, n = Q?.clientHeight || 0;
|
|
1356
1367
|
return s.bottom < 0 || s.top > n || s.right < 0 || s.left > t;
|
|
1357
1368
|
}
|
|
1358
|
-
function
|
|
1369
|
+
function qt(e) {
|
|
1359
1370
|
const s = Ge.get(e);
|
|
1360
1371
|
s?.disconnect();
|
|
1361
|
-
let t =
|
|
1372
|
+
let t = Y.get(e), n = 0;
|
|
1362
1373
|
const o = 5;
|
|
1363
|
-
t || (t =
|
|
1374
|
+
t || (t = Ee(e), Y.set(e, t));
|
|
1364
1375
|
const { offsetWidth: l, offsetHeight: r } = Q, c = [
|
|
1365
1376
|
t.top - o,
|
|
1366
1377
|
l - (t.left + o + t.width),
|
|
@@ -1376,34 +1387,34 @@ function Gt(e) {
|
|
|
1376
1387
|
a.observe(e), Ge.set(e, a);
|
|
1377
1388
|
}
|
|
1378
1389
|
function ke(e, s = !0) {
|
|
1379
|
-
clearTimeout(
|
|
1380
|
-
const t =
|
|
1381
|
-
|
|
1382
|
-
const o =
|
|
1390
|
+
clearTimeout(ve.get(e));
|
|
1391
|
+
const t = yt(e), n = s ? Ye(t) ? 500 : t.duration : 0;
|
|
1392
|
+
ve.set(e, setTimeout(async () => {
|
|
1393
|
+
const o = se.get(e);
|
|
1383
1394
|
try {
|
|
1384
|
-
await o?.finished,
|
|
1395
|
+
await o?.finished, Y.set(e, Ee(e)), qt(e);
|
|
1385
1396
|
} catch {
|
|
1386
1397
|
}
|
|
1387
1398
|
}, n));
|
|
1388
1399
|
}
|
|
1389
1400
|
function Yo() {
|
|
1390
|
-
clearTimeout(
|
|
1391
|
-
|
|
1401
|
+
clearTimeout(ve.get(Q)), ve.set(Q, setTimeout(() => {
|
|
1402
|
+
Pt.forEach((e) => ot(e, (s) => en(() => ke(s))));
|
|
1392
1403
|
}, 100));
|
|
1393
1404
|
}
|
|
1394
1405
|
function Ko(e) {
|
|
1395
1406
|
setTimeout(() => {
|
|
1396
|
-
De.set(e, setInterval(() =>
|
|
1407
|
+
De.set(e, setInterval(() => en(ke.bind(null, e)), 2e3));
|
|
1397
1408
|
}, Math.round(2e3 * Math.random()));
|
|
1398
1409
|
}
|
|
1399
|
-
function
|
|
1410
|
+
function en(e) {
|
|
1400
1411
|
typeof requestIdleCallback == "function" ? requestIdleCallback(() => e()) : requestAnimationFrame(() => e());
|
|
1401
1412
|
}
|
|
1402
|
-
let
|
|
1403
|
-
const
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
}),
|
|
1413
|
+
let de;
|
|
1414
|
+
const tn = typeof window < "u" && "ResizeObserver" in window;
|
|
1415
|
+
tn && (Q = document.documentElement, new MutationObserver(Js), de = new ResizeObserver(qo), window.addEventListener("scroll", () => {
|
|
1416
|
+
Gt = window.scrollY, Xt = window.scrollX;
|
|
1417
|
+
}), de.observe(Q));
|
|
1407
1418
|
function Zo(e) {
|
|
1408
1419
|
return e.reduce((n, o) => [
|
|
1409
1420
|
...n,
|
|
@@ -1413,14 +1424,14 @@ function Zo(e) {
|
|
|
1413
1424
|
if (n === !1)
|
|
1414
1425
|
return !1;
|
|
1415
1426
|
if (o.target instanceof Element) {
|
|
1416
|
-
if (
|
|
1427
|
+
if (Ot(o.target), !n.has(o.target)) {
|
|
1417
1428
|
n.add(o.target);
|
|
1418
1429
|
for (let l = 0; l < o.target.children.length; l++) {
|
|
1419
1430
|
const r = o.target.children.item(l);
|
|
1420
1431
|
if (r) {
|
|
1421
1432
|
if (qe in r)
|
|
1422
1433
|
return !1;
|
|
1423
|
-
|
|
1434
|
+
Ot(o.target, r), n.add(r);
|
|
1424
1435
|
}
|
|
1425
1436
|
}
|
|
1426
1437
|
}
|
|
@@ -1429,7 +1440,7 @@ function Zo(e) {
|
|
|
1429
1440
|
const r = o.removedNodes[l];
|
|
1430
1441
|
if (qe in r)
|
|
1431
1442
|
return !1;
|
|
1432
|
-
r instanceof Element && (n.add(r),
|
|
1443
|
+
r instanceof Element && (n.add(r), Ot(o.target, r), we.set(r, [
|
|
1433
1444
|
o.previousSibling,
|
|
1434
1445
|
o.nextSibling
|
|
1435
1446
|
]));
|
|
@@ -1438,13 +1449,13 @@ function Zo(e) {
|
|
|
1438
1449
|
return n;
|
|
1439
1450
|
}, /* @__PURE__ */ new Set());
|
|
1440
1451
|
}
|
|
1441
|
-
function
|
|
1442
|
-
!s && !(
|
|
1452
|
+
function Ot(e, s) {
|
|
1453
|
+
!s && !(he in e) ? Object.defineProperty(e, he, { value: e }) : s && !(he in s) && Object.defineProperty(s, he, { value: e });
|
|
1443
1454
|
}
|
|
1444
1455
|
function Jo(e) {
|
|
1445
1456
|
var s, t;
|
|
1446
|
-
const n = e.isConnected, o =
|
|
1447
|
-
n && we.has(e) && we.delete(e), ((s =
|
|
1457
|
+
const n = e.isConnected, o = Y.has(e);
|
|
1458
|
+
n && we.has(e) && we.delete(e), ((s = se.get(e)) === null || s === void 0 ? void 0 : s.playState) !== "finished" && ((t = se.get(e)) === null || t === void 0 || t.cancel()), it in e ? fs(e) : o && n ? el(e) : o && !n ? tl(e) : fs(e);
|
|
1448
1459
|
}
|
|
1449
1460
|
function le(e) {
|
|
1450
1461
|
return Number(e.replace(/[^0-9.\-]/g, ""));
|
|
@@ -1458,7 +1469,7 @@ function Qo(e) {
|
|
|
1458
1469
|
}
|
|
1459
1470
|
return { x: 0, y: 0 };
|
|
1460
1471
|
}
|
|
1461
|
-
function
|
|
1472
|
+
function Ee(e) {
|
|
1462
1473
|
const s = e.getBoundingClientRect(), { x: t, y: n } = Qo(e);
|
|
1463
1474
|
return {
|
|
1464
1475
|
top: s.top + n,
|
|
@@ -1467,7 +1478,7 @@ function Re(e) {
|
|
|
1467
1478
|
height: s.height
|
|
1468
1479
|
};
|
|
1469
1480
|
}
|
|
1470
|
-
function
|
|
1481
|
+
function sn(e, s, t) {
|
|
1471
1482
|
let n = s.width, o = s.height, l = t.width, r = t.height;
|
|
1472
1483
|
const i = getComputedStyle(e);
|
|
1473
1484
|
if (i.getPropertyValue("box-sizing") === "content-box") {
|
|
@@ -1476,72 +1487,72 @@ function tn(e, s, t) {
|
|
|
1476
1487
|
}
|
|
1477
1488
|
return [n, l, o, r].map(Math.round);
|
|
1478
1489
|
}
|
|
1479
|
-
function
|
|
1480
|
-
return
|
|
1490
|
+
function yt(e) {
|
|
1491
|
+
return he in e && pe.has(e[he]) ? pe.get(e[he]) : { duration: 250, easing: "ease-in-out" };
|
|
1481
1492
|
}
|
|
1482
|
-
function
|
|
1483
|
-
if (
|
|
1484
|
-
return e[
|
|
1493
|
+
function nn(e) {
|
|
1494
|
+
if (he in e)
|
|
1495
|
+
return e[he];
|
|
1485
1496
|
}
|
|
1486
|
-
function
|
|
1487
|
-
const s =
|
|
1488
|
-
return s ?
|
|
1497
|
+
function Yt(e) {
|
|
1498
|
+
const s = nn(e);
|
|
1499
|
+
return s ? Oe.has(s) : !1;
|
|
1489
1500
|
}
|
|
1490
|
-
function
|
|
1501
|
+
function ot(e, ...s) {
|
|
1491
1502
|
s.forEach((t) => t(e, pe.has(e)));
|
|
1492
1503
|
for (let t = 0; t < e.children.length; t++) {
|
|
1493
1504
|
const n = e.children.item(t);
|
|
1494
1505
|
n && s.forEach((o) => o(n, pe.has(n)));
|
|
1495
1506
|
}
|
|
1496
1507
|
}
|
|
1497
|
-
function
|
|
1508
|
+
function Kt(e) {
|
|
1498
1509
|
return Array.isArray(e) ? e : [e];
|
|
1499
1510
|
}
|
|
1500
1511
|
function Ye(e) {
|
|
1501
1512
|
return typeof e == "function";
|
|
1502
1513
|
}
|
|
1503
1514
|
function el(e) {
|
|
1504
|
-
const s =
|
|
1505
|
-
if (!
|
|
1506
|
-
return
|
|
1507
|
-
if (
|
|
1508
|
-
|
|
1515
|
+
const s = Y.get(e), t = Ee(e);
|
|
1516
|
+
if (!Yt(e))
|
|
1517
|
+
return Y.set(e, t);
|
|
1518
|
+
if (Qs(e)) {
|
|
1519
|
+
Y.set(e, t), qt(e);
|
|
1509
1520
|
return;
|
|
1510
1521
|
}
|
|
1511
1522
|
let n;
|
|
1512
1523
|
if (!s)
|
|
1513
1524
|
return;
|
|
1514
|
-
const o =
|
|
1525
|
+
const o = yt(e);
|
|
1515
1526
|
if (typeof o != "function") {
|
|
1516
1527
|
let l = s.left - t.left, r = s.top - t.top;
|
|
1517
1528
|
const i = s.left + s.width - (t.left + t.width);
|
|
1518
1529
|
s.top + s.height - (t.top + t.height) == 0 && (r = 0), i == 0 && (l = 0);
|
|
1519
|
-
const [a, d,
|
|
1530
|
+
const [a, d, v, p] = sn(e, s, t), b = {
|
|
1520
1531
|
transform: `translate(${l}px, ${r}px)`
|
|
1521
|
-
},
|
|
1532
|
+
}, C = {
|
|
1522
1533
|
transform: "translate(0, 0)"
|
|
1523
1534
|
};
|
|
1524
|
-
a !== d && (
|
|
1535
|
+
a !== d && (b.width = `${a}px`, C.width = `${d}px`), v !== p && (b.height = `${v}px`, C.height = `${p}px`), n = e.animate([b, C], {
|
|
1525
1536
|
duration: o.duration,
|
|
1526
1537
|
easing: o.easing
|
|
1527
1538
|
});
|
|
1528
1539
|
} else {
|
|
1529
|
-
const [l] =
|
|
1540
|
+
const [l] = Kt(o(e, "remain", s, t));
|
|
1530
1541
|
n = new Animation(l), n.play();
|
|
1531
1542
|
}
|
|
1532
|
-
|
|
1543
|
+
se.set(e, n), Y.set(e, t), n.addEventListener("finish", ke.bind(null, e, !1), {
|
|
1533
1544
|
once: !0
|
|
1534
1545
|
});
|
|
1535
1546
|
}
|
|
1536
|
-
function
|
|
1537
|
-
|
|
1538
|
-
const s =
|
|
1539
|
-
|
|
1540
|
-
const t =
|
|
1541
|
-
if (!
|
|
1547
|
+
function fs(e) {
|
|
1548
|
+
it in e && delete e[it];
|
|
1549
|
+
const s = Ee(e);
|
|
1550
|
+
Y.set(e, s);
|
|
1551
|
+
const t = yt(e);
|
|
1552
|
+
if (!Yt(e))
|
|
1542
1553
|
return;
|
|
1543
|
-
if (
|
|
1544
|
-
|
|
1554
|
+
if (Qs(e)) {
|
|
1555
|
+
qt(e);
|
|
1545
1556
|
return;
|
|
1546
1557
|
}
|
|
1547
1558
|
let n;
|
|
@@ -1555,33 +1566,33 @@ function ds(e) {
|
|
|
1555
1566
|
easing: "ease-in"
|
|
1556
1567
|
});
|
|
1557
1568
|
else {
|
|
1558
|
-
const [o] =
|
|
1569
|
+
const [o] = Kt(t(e, "add", s));
|
|
1559
1570
|
n = new Animation(o), n.play();
|
|
1560
1571
|
}
|
|
1561
|
-
|
|
1572
|
+
se.set(e, n), n.addEventListener("finish", ke.bind(null, e, !1), {
|
|
1562
1573
|
once: !0
|
|
1563
1574
|
});
|
|
1564
1575
|
}
|
|
1565
|
-
function
|
|
1576
|
+
function hs(e, s) {
|
|
1566
1577
|
var t;
|
|
1567
|
-
e.remove(),
|
|
1568
|
-
if (qe in e && delete e[qe], Object.defineProperty(e,
|
|
1578
|
+
e.remove(), Y.delete(e), we.delete(e), se.delete(e), (t = Ge.get(e)) === null || t === void 0 || t.disconnect(), setTimeout(() => {
|
|
1579
|
+
if (qe in e && delete e[qe], Object.defineProperty(e, it, { value: !0, configurable: !0 }), s && e instanceof HTMLElement)
|
|
1569
1580
|
for (const n in s)
|
|
1570
1581
|
e.style[n] = "";
|
|
1571
1582
|
}, 0);
|
|
1572
1583
|
}
|
|
1573
1584
|
function tl(e) {
|
|
1574
1585
|
var s;
|
|
1575
|
-
if (!we.has(e) || !
|
|
1586
|
+
if (!we.has(e) || !Y.has(e))
|
|
1576
1587
|
return;
|
|
1577
1588
|
const [t, n] = we.get(e);
|
|
1578
1589
|
Object.defineProperty(e, qe, { value: !0, configurable: !0 });
|
|
1579
1590
|
const o = window.scrollX, l = window.scrollY;
|
|
1580
|
-
if (n && n.parentNode && n.parentNode instanceof Element ? n.parentNode.insertBefore(e, n) : t && t.parentNode ? t.parentNode.appendChild(e) : (s =
|
|
1581
|
-
return
|
|
1582
|
-
const [r, i, c, a] = nl(e), d =
|
|
1583
|
-
(o !==
|
|
1584
|
-
let
|
|
1591
|
+
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), !Yt(e))
|
|
1592
|
+
return hs(e);
|
|
1593
|
+
const [r, i, c, a] = nl(e), d = yt(e), v = Y.get(e);
|
|
1594
|
+
(o !== Xt || l !== Gt) && sl(e, o, l, d);
|
|
1595
|
+
let p, b = {
|
|
1585
1596
|
position: "absolute",
|
|
1586
1597
|
top: `${r}px`,
|
|
1587
1598
|
left: `${i}px`,
|
|
@@ -1593,7 +1604,7 @@ function tl(e) {
|
|
|
1593
1604
|
zIndex: "100"
|
|
1594
1605
|
};
|
|
1595
1606
|
if (!Ye(d))
|
|
1596
|
-
Object.assign(e.style,
|
|
1607
|
+
Object.assign(e.style, b), p = e.animate([
|
|
1597
1608
|
{
|
|
1598
1609
|
transform: "scale(1)",
|
|
1599
1610
|
opacity: 1
|
|
@@ -1607,114 +1618,114 @@ function tl(e) {
|
|
|
1607
1618
|
easing: "ease-out"
|
|
1608
1619
|
});
|
|
1609
1620
|
else {
|
|
1610
|
-
const [
|
|
1611
|
-
|
|
1621
|
+
const [C, O] = Kt(d(e, "remove", v));
|
|
1622
|
+
O?.styleReset !== !1 && (b = O?.styleReset || b, Object.assign(e.style, b)), p = new Animation(C), p.play();
|
|
1612
1623
|
}
|
|
1613
|
-
|
|
1624
|
+
se.set(e, p), p.addEventListener("finish", () => hs(e, b), {
|
|
1614
1625
|
once: !0
|
|
1615
1626
|
});
|
|
1616
1627
|
}
|
|
1617
1628
|
function sl(e, s, t, n) {
|
|
1618
|
-
const o =
|
|
1629
|
+
const o = Xt - s, l = Gt - t, r = document.documentElement.style.scrollBehavior;
|
|
1619
1630
|
if (getComputedStyle(Q).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + o, window.scrollY + l), !e.parentElement)
|
|
1620
1631
|
return;
|
|
1621
1632
|
const c = e.parentElement;
|
|
1622
1633
|
let a = c.clientHeight, d = c.clientWidth;
|
|
1623
|
-
const
|
|
1624
|
-
function
|
|
1634
|
+
const v = performance.now();
|
|
1635
|
+
function p() {
|
|
1625
1636
|
requestAnimationFrame(() => {
|
|
1626
1637
|
if (!Ye(n)) {
|
|
1627
|
-
const
|
|
1628
|
-
|
|
1629
|
-
left: window.scrollX -
|
|
1630
|
-
top: window.scrollY -
|
|
1631
|
-
}), a = c.clientHeight, d = c.clientWidth,
|
|
1638
|
+
const b = a - c.clientHeight, C = d - c.clientWidth;
|
|
1639
|
+
v + n.duration > performance.now() ? (window.scrollTo({
|
|
1640
|
+
left: window.scrollX - C,
|
|
1641
|
+
top: window.scrollY - b
|
|
1642
|
+
}), a = c.clientHeight, d = c.clientWidth, p()) : document.documentElement.style.scrollBehavior = r;
|
|
1632
1643
|
}
|
|
1633
1644
|
});
|
|
1634
1645
|
}
|
|
1635
|
-
|
|
1646
|
+
p();
|
|
1636
1647
|
}
|
|
1637
1648
|
function nl(e) {
|
|
1638
1649
|
var s;
|
|
1639
|
-
const t =
|
|
1650
|
+
const t = Y.get(e), [n, , o] = sn(e, t, Ee(e));
|
|
1640
1651
|
let l = e.parentElement;
|
|
1641
1652
|
for (; l && (getComputedStyle(l).position === "static" || l instanceof HTMLBodyElement); )
|
|
1642
1653
|
l = l.parentElement;
|
|
1643
1654
|
l || (l = document.body);
|
|
1644
|
-
const r = getComputedStyle(l), i = !
|
|
1655
|
+
const r = getComputedStyle(l), i = !se.has(e) || ((s = se.get(e)) === null || s === void 0 ? void 0 : s.playState) === "finished" ? Ee(l) : Y.get(l), c = Math.round(t.top - i.top) - le(r.borderTopWidth), a = Math.round(t.left - i.left) - le(r.borderLeftWidth);
|
|
1645
1656
|
return [c, a, n, o];
|
|
1646
1657
|
}
|
|
1647
1658
|
function ol(e, s = {}) {
|
|
1648
|
-
if (
|
|
1649
|
-
|
|
1659
|
+
if (tn && de && !(window.matchMedia("(prefers-reduced-motion: reduce)").matches && !Ye(s) && !s.disrespectUserMotionPreference)) {
|
|
1660
|
+
Oe.add(e), getComputedStyle(e).position === "static" && Object.assign(e.style, { position: "relative" }), ot(e, ke, Ko, (r) => de?.observe(r)), Ye(s) ? pe.set(e, s) : pe.set(e, {
|
|
1650
1661
|
duration: 250,
|
|
1651
1662
|
easing: "ease-in-out",
|
|
1652
1663
|
...s
|
|
1653
1664
|
});
|
|
1654
|
-
const l = new MutationObserver(
|
|
1655
|
-
l.observe(e, { childList: !0 }),
|
|
1665
|
+
const l = new MutationObserver(Js);
|
|
1666
|
+
l.observe(e, { childList: !0 }), At.set(e, l), Pt.add(e);
|
|
1656
1667
|
}
|
|
1657
1668
|
return Object.freeze({
|
|
1658
1669
|
parent: e,
|
|
1659
1670
|
enable: () => {
|
|
1660
|
-
|
|
1671
|
+
Oe.add(e);
|
|
1661
1672
|
},
|
|
1662
1673
|
disable: () => {
|
|
1663
|
-
|
|
1664
|
-
const o =
|
|
1674
|
+
Oe.delete(e), ot(e, (n) => {
|
|
1675
|
+
const o = se.get(n);
|
|
1665
1676
|
try {
|
|
1666
1677
|
o?.cancel();
|
|
1667
1678
|
} catch {
|
|
1668
1679
|
}
|
|
1669
|
-
|
|
1670
|
-
const l =
|
|
1671
|
-
l && clearTimeout(l),
|
|
1680
|
+
se.delete(n);
|
|
1681
|
+
const l = ve.get(n);
|
|
1682
|
+
l && clearTimeout(l), ve.delete(n);
|
|
1672
1683
|
const r = De.get(n);
|
|
1673
1684
|
r && clearInterval(r), De.delete(n);
|
|
1674
1685
|
});
|
|
1675
1686
|
},
|
|
1676
|
-
isEnabled: () =>
|
|
1687
|
+
isEnabled: () => Oe.has(e),
|
|
1677
1688
|
destroy: () => {
|
|
1678
|
-
|
|
1679
|
-
const n =
|
|
1680
|
-
n?.disconnect(),
|
|
1681
|
-
|
|
1682
|
-
const l =
|
|
1689
|
+
Oe.delete(e), Pt.delete(e), pe.delete(e);
|
|
1690
|
+
const n = At.get(e);
|
|
1691
|
+
n?.disconnect(), At.delete(e), ot(e, (o) => {
|
|
1692
|
+
de?.unobserve(o);
|
|
1693
|
+
const l = se.get(o);
|
|
1683
1694
|
try {
|
|
1684
1695
|
l?.cancel();
|
|
1685
1696
|
} catch {
|
|
1686
1697
|
}
|
|
1687
|
-
|
|
1698
|
+
se.delete(o);
|
|
1688
1699
|
const r = Ge.get(o);
|
|
1689
1700
|
r?.disconnect(), Ge.delete(o);
|
|
1690
1701
|
const i = De.get(o);
|
|
1691
1702
|
i && clearInterval(i), De.delete(o);
|
|
1692
|
-
const c =
|
|
1693
|
-
c && clearTimeout(c),
|
|
1703
|
+
const c = ve.get(o);
|
|
1704
|
+
c && clearTimeout(c), ve.delete(o), Y.delete(o), we.delete(o);
|
|
1694
1705
|
});
|
|
1695
1706
|
}
|
|
1696
1707
|
});
|
|
1697
1708
|
}
|
|
1698
1709
|
function ll(e) {
|
|
1699
|
-
const s =
|
|
1710
|
+
const s = E();
|
|
1700
1711
|
let t;
|
|
1701
1712
|
function n(o) {
|
|
1702
1713
|
t && (o ? t.enable() : t.disable());
|
|
1703
1714
|
}
|
|
1704
|
-
return
|
|
1705
|
-
|
|
1715
|
+
return mt(() => {
|
|
1716
|
+
ht((o) => {
|
|
1706
1717
|
let l;
|
|
1707
1718
|
s.value instanceof HTMLElement ? l = s.value : s.value && "$el" in s.value && s.value.$el instanceof HTMLElement && (l = s.value.$el), l && (t = ol(l, e || {}), o(() => {
|
|
1708
1719
|
var r;
|
|
1709
1720
|
(r = t?.destroy) === null || r === void 0 || r.call(t), t = void 0;
|
|
1710
1721
|
}));
|
|
1711
1722
|
});
|
|
1712
|
-
}),
|
|
1723
|
+
}), Ds(() => {
|
|
1713
1724
|
var o;
|
|
1714
1725
|
(o = t?.destroy) === null || o === void 0 || o.call(t), t = void 0;
|
|
1715
1726
|
}), [s, n];
|
|
1716
1727
|
}
|
|
1717
|
-
const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden", "aria-labelledby"],
|
|
1728
|
+
const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden", "aria-labelledby"], zt = {
|
|
1718
1729
|
__name: "UluCollapsible",
|
|
1719
1730
|
props: {
|
|
1720
1731
|
/**
|
|
@@ -1763,59 +1774,59 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1763
1774
|
},
|
|
1764
1775
|
emits: ["update:modelValue"],
|
|
1765
1776
|
setup(e, { emit: s }) {
|
|
1766
|
-
const t = e, n = s, o =
|
|
1767
|
-
|
|
1777
|
+
const t = e, n = s, o = _(() => typeof t.animate == "object" ? t.animate : {}), [l, r] = ll(o);
|
|
1778
|
+
mt(() => {
|
|
1768
1779
|
r(!!t.animate);
|
|
1769
|
-
}), ye(() => t.animate, (
|
|
1770
|
-
r(
|
|
1780
|
+
}), ye(() => t.animate, (C) => {
|
|
1781
|
+
r(!!C);
|
|
1771
1782
|
});
|
|
1772
|
-
const i =
|
|
1783
|
+
const i = _(() => t.modelValue !== void 0), c = E(t.startOpen), a = _({
|
|
1773
1784
|
get() {
|
|
1774
1785
|
return i.value ? t.modelValue : c.value;
|
|
1775
1786
|
},
|
|
1776
|
-
set(
|
|
1777
|
-
i.value ? n("update:modelValue",
|
|
1787
|
+
set(C) {
|
|
1788
|
+
i.value ? n("update:modelValue", C) : c.value = C;
|
|
1778
1789
|
}
|
|
1779
|
-
}), d =
|
|
1780
|
-
function
|
|
1790
|
+
}), d = E(Re("ulu-collapsible-trigger")), v = E(Re("ulu-collapsible-content"));
|
|
1791
|
+
function p() {
|
|
1781
1792
|
a.value = !a.value;
|
|
1782
1793
|
}
|
|
1783
|
-
function
|
|
1794
|
+
function b() {
|
|
1784
1795
|
t.closeOnEscape && a.value && (a.value = !1);
|
|
1785
1796
|
}
|
|
1786
|
-
return (
|
|
1797
|
+
return (C, O) => (u(), f("div", {
|
|
1787
1798
|
ref_key: "container",
|
|
1788
1799
|
ref: l,
|
|
1789
|
-
onKeydown:
|
|
1800
|
+
onKeydown: Ls(b, ["esc"]),
|
|
1790
1801
|
class: m([e.classes.container, a.value ? e.classes.containerOpen : e.classes.containerClosed])
|
|
1791
1802
|
}, [
|
|
1792
1803
|
h("button", {
|
|
1793
1804
|
class: m(e.classes.trigger),
|
|
1794
1805
|
id: d.value,
|
|
1795
|
-
"aria-controls":
|
|
1806
|
+
"aria-controls": v.value,
|
|
1796
1807
|
"aria-expanded": a.value,
|
|
1797
|
-
onClick:
|
|
1808
|
+
onClick: p
|
|
1798
1809
|
}, [
|
|
1799
|
-
g(
|
|
1800
|
-
|
|
1810
|
+
g(C.$slots, "trigger", { isOpen: a.value }, () => [
|
|
1811
|
+
$(w(e.triggerText), 1)
|
|
1801
1812
|
])
|
|
1802
1813
|
], 10, rl),
|
|
1803
1814
|
a.value ? (u(), f("div", {
|
|
1804
1815
|
key: 0,
|
|
1805
1816
|
class: m(e.classes.content),
|
|
1806
1817
|
tabindex: "-1",
|
|
1807
|
-
id:
|
|
1818
|
+
id: v.value,
|
|
1808
1819
|
"aria-hidden": !a.value,
|
|
1809
1820
|
"aria-labelledby": d.value
|
|
1810
1821
|
}, [
|
|
1811
|
-
g(
|
|
1822
|
+
g(C.$slots, "default", {
|
|
1812
1823
|
isOpen: a.value,
|
|
1813
|
-
toggle:
|
|
1824
|
+
toggle: p
|
|
1814
1825
|
})
|
|
1815
1826
|
], 10, il)) : y("", !0)
|
|
1816
1827
|
], 34));
|
|
1817
1828
|
}
|
|
1818
|
-
},
|
|
1829
|
+
}, ms = {
|
|
1819
1830
|
__name: "UluAccordion",
|
|
1820
1831
|
props: {
|
|
1821
1832
|
/**
|
|
@@ -1871,11 +1882,11 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1871
1882
|
},
|
|
1872
1883
|
emits: ["update:modelValue"],
|
|
1873
1884
|
setup(e, { emit: s }) {
|
|
1874
|
-
const t = e, { resolvedModifiers: n } = ie({ props: t, baseClass: "accordion" }), o =
|
|
1885
|
+
const t = e, { resolvedModifiers: n } = ie({ props: t, baseClass: "accordion" }), o = _(() => {
|
|
1875
1886
|
const l = { ...t.classes };
|
|
1876
1887
|
return l.container = [l.container, n.value], l;
|
|
1877
1888
|
});
|
|
1878
|
-
return (l, r) => (u(),
|
|
1889
|
+
return (l, r) => (u(), S(zt, {
|
|
1879
1890
|
"model-value": e.modelValue,
|
|
1880
1891
|
"start-open": e.startOpen,
|
|
1881
1892
|
"trigger-text": e.triggerText,
|
|
@@ -1883,11 +1894,11 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1883
1894
|
animate: e.animate,
|
|
1884
1895
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => l.$emit("update:modelValue", i))
|
|
1885
1896
|
}, {
|
|
1886
|
-
trigger:
|
|
1897
|
+
trigger: k(({ isOpen: i }) => [
|
|
1887
1898
|
g(l.$slots, "trigger", { isOpen: i }, () => [
|
|
1888
|
-
(u(),
|
|
1889
|
-
default:
|
|
1890
|
-
|
|
1899
|
+
(u(), S(P(e.triggerTextElement), null, {
|
|
1900
|
+
default: k(() => [
|
|
1901
|
+
$(w(e.triggerText), 1)
|
|
1891
1902
|
]),
|
|
1892
1903
|
_: 1
|
|
1893
1904
|
}))
|
|
@@ -1903,7 +1914,7 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1903
1914
|
], 2)
|
|
1904
1915
|
])
|
|
1905
1916
|
]),
|
|
1906
|
-
default:
|
|
1917
|
+
default: k(({ isOpen: i, toggle: c }) => [
|
|
1907
1918
|
g(l.$slots, "default", {
|
|
1908
1919
|
isOpen: i,
|
|
1909
1920
|
toggle: c
|
|
@@ -1912,7 +1923,7 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1912
1923
|
_: 3
|
|
1913
1924
|
}, 8, ["model-value", "start-open", "trigger-text", "classes", "animate"]));
|
|
1914
1925
|
}
|
|
1915
|
-
},
|
|
1926
|
+
}, on = {
|
|
1916
1927
|
__name: "UluTag",
|
|
1917
1928
|
props: {
|
|
1918
1929
|
/**
|
|
@@ -1953,13 +1964,13 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1953
1964
|
T(t)
|
|
1954
1965
|
]])
|
|
1955
1966
|
}, [
|
|
1956
|
-
e.icon ? (u(),
|
|
1967
|
+
e.icon ? (u(), S(N, {
|
|
1957
1968
|
key: 0,
|
|
1958
1969
|
icon: e.icon,
|
|
1959
1970
|
spaced: ""
|
|
1960
1971
|
}, null, 8, ["icon"])) : y("", !0),
|
|
1961
1972
|
g(n.$slots, "default", {}, () => [
|
|
1962
|
-
h("span", null,
|
|
1973
|
+
h("span", null, w(e.text), 1)
|
|
1963
1974
|
])
|
|
1964
1975
|
], 2));
|
|
1965
1976
|
}
|
|
@@ -1967,7 +1978,7 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
1967
1978
|
name: "UluMenu",
|
|
1968
1979
|
components: {
|
|
1969
1980
|
UluIcon: N,
|
|
1970
|
-
UluTag:
|
|
1981
|
+
UluTag: on
|
|
1971
1982
|
},
|
|
1972
1983
|
emits: [
|
|
1973
1984
|
/**
|
|
@@ -2013,13 +2024,13 @@ const rl = ["id", "aria-controls", "aria-expanded"], il = ["id", "aria-hidden",
|
|
|
2013
2024
|
}
|
|
2014
2025
|
};
|
|
2015
2026
|
function cl(e, s, t, n, o, l) {
|
|
2016
|
-
const r = W("UluIcon"), i = W("UluTag"), c = W("UluMenu", !0), a =
|
|
2027
|
+
const r = W("UluIcon"), i = W("UluTag"), c = W("UluMenu", !0), a = Fs("ulu-tooltip");
|
|
2017
2028
|
return t.items?.length ? (u(), f("ul", {
|
|
2018
2029
|
key: 0,
|
|
2019
2030
|
class: m(t.classes.list)
|
|
2020
2031
|
}, [
|
|
2021
|
-
(u(!0), f(
|
|
2022
|
-
key:
|
|
2032
|
+
(u(!0), f(B, null, R(t.items, (d, v) => (u(), f("li", {
|
|
2033
|
+
key: v,
|
|
2023
2034
|
class: m([
|
|
2024
2035
|
t.classes.item,
|
|
2025
2036
|
d?.classes?.item,
|
|
@@ -2027,7 +2038,7 @@ function cl(e, s, t, n, o, l) {
|
|
|
2027
2038
|
d.separatorAfter ? t.classes.itemSeparatorAfter : ""
|
|
2028
2039
|
])
|
|
2029
2040
|
}, [
|
|
2030
|
-
|
|
2041
|
+
Be((u(), S(P(d.to || d.path ? "router-link" : d.click ? "button" : "a"), K({ ref_for: !0 }, {
|
|
2031
2042
|
...d.to || d.path ? {
|
|
2032
2043
|
to: d.to || d.path,
|
|
2033
2044
|
activeClass: t.classes.linkActive || null,
|
|
@@ -2035,27 +2046,27 @@ function cl(e, s, t, n, o, l) {
|
|
|
2035
2046
|
} : {},
|
|
2036
2047
|
...d.href ? { href: d.href || "#" } : {}
|
|
2037
2048
|
}, {
|
|
2038
|
-
onClick: (
|
|
2039
|
-
l.handleItemClick(
|
|
2049
|
+
onClick: (p) => {
|
|
2050
|
+
l.handleItemClick(p, d);
|
|
2040
2051
|
},
|
|
2041
2052
|
class: [t.classes.link, d?.classes?.link],
|
|
2042
2053
|
"aria-label": t.iconOnly ? d.title : null,
|
|
2043
2054
|
id: d.id
|
|
2044
2055
|
}), {
|
|
2045
|
-
default:
|
|
2056
|
+
default: k(() => [
|
|
2046
2057
|
g(e.$slots, "default", {
|
|
2047
2058
|
item: d,
|
|
2048
|
-
index:
|
|
2059
|
+
index: v
|
|
2049
2060
|
}, () => [
|
|
2050
|
-
d.icon ? (u(),
|
|
2061
|
+
d.icon ? (u(), S(r, {
|
|
2051
2062
|
key: 0,
|
|
2052
2063
|
icon: d.icon,
|
|
2053
2064
|
class: m([t.classes.linkIcon, d?.classes?.linkIcon])
|
|
2054
2065
|
}, null, 8, ["icon", "class"])) : y("", !0),
|
|
2055
2066
|
h("span", {
|
|
2056
2067
|
class: m([t.classes.linkText, d?.classes?.linkText])
|
|
2057
|
-
},
|
|
2058
|
-
d.tag ? (u(),
|
|
2068
|
+
}, w(d.title), 3),
|
|
2069
|
+
d.tag ? (u(), S(i, K({
|
|
2059
2070
|
key: 1,
|
|
2060
2071
|
ref_for: !0
|
|
2061
2072
|
}, d.tag), null, 16)) : y("", !0)
|
|
@@ -2065,7 +2076,7 @@ function cl(e, s, t, n, o, l) {
|
|
|
2065
2076
|
}, 1040, ["onClick", "class", "aria-label", "id"])), [
|
|
2066
2077
|
[a, t.iconOnly ? d.title : d.tooltip || null]
|
|
2067
2078
|
]),
|
|
2068
|
-
!t.noChildren && d?.children?.length ? (u(),
|
|
2079
|
+
!t.noChildren && d?.children?.length ? (u(), S(c, {
|
|
2069
2080
|
key: 0,
|
|
2070
2081
|
iconOnly: t.iconOnly,
|
|
2071
2082
|
classes: t.classes,
|
|
@@ -2074,7 +2085,7 @@ function cl(e, s, t, n, o, l) {
|
|
|
2074
2085
|
], 2))), 128))
|
|
2075
2086
|
], 2)) : y("", !0);
|
|
2076
2087
|
}
|
|
2077
|
-
const
|
|
2088
|
+
const ln = /* @__PURE__ */ j(al, [["render", cl]]), ul = {
|
|
2078
2089
|
__name: "UluMenuStack",
|
|
2079
2090
|
props: {
|
|
2080
2091
|
/**
|
|
@@ -2106,7 +2117,7 @@ const on = /* @__PURE__ */ j(al, [["render", cl]]), ul = {
|
|
|
2106
2117
|
modifiers: [String, Array]
|
|
2107
2118
|
},
|
|
2108
2119
|
setup(e) {
|
|
2109
|
-
const s = e, t =
|
|
2120
|
+
const s = e, t = _(() => ({
|
|
2110
2121
|
hanging: s.hanging,
|
|
2111
2122
|
compact: s.compact
|
|
2112
2123
|
})), { resolvedModifiers: n } = ie({
|
|
@@ -2114,11 +2125,11 @@ const on = /* @__PURE__ */ j(al, [["render", cl]]), ul = {
|
|
|
2114
2125
|
internal: t,
|
|
2115
2126
|
baseClass: "menu-stack"
|
|
2116
2127
|
});
|
|
2117
|
-
return (o, l) => (u(),
|
|
2128
|
+
return (o, l) => (u(), S(P(e.containerElement), {
|
|
2118
2129
|
class: m(["menu-stack", T(n)])
|
|
2119
2130
|
}, {
|
|
2120
|
-
default:
|
|
2121
|
-
A(
|
|
2131
|
+
default: k(() => [
|
|
2132
|
+
A(ln, {
|
|
2122
2133
|
items: e.items,
|
|
2123
2134
|
classes: {
|
|
2124
2135
|
list: "menu-stack__list",
|
|
@@ -2157,10 +2168,10 @@ const on = /* @__PURE__ */ j(al, [["render", cl]]), ul = {
|
|
|
2157
2168
|
}
|
|
2158
2169
|
},
|
|
2159
2170
|
setup(e) {
|
|
2160
|
-
return (s, t) => (u(),
|
|
2161
|
-
trigger:
|
|
2171
|
+
return (s, t) => (u(), S(gt, { classes: e.popoverClasses }, {
|
|
2172
|
+
trigger: k(({ isOpen: n }) => [
|
|
2162
2173
|
g(s.$slots, "trigger", { isOpen: n }, () => [
|
|
2163
|
-
h("span", null,
|
|
2174
|
+
h("span", null, w(e.triggerText), 1),
|
|
2164
2175
|
A(N, {
|
|
2165
2176
|
class: "button__icon",
|
|
2166
2177
|
icon: "type:dropdownExpand",
|
|
@@ -2168,24 +2179,24 @@ const on = /* @__PURE__ */ j(al, [["render", cl]]), ul = {
|
|
|
2168
2179
|
}, null, 8, ["style"])
|
|
2169
2180
|
])
|
|
2170
2181
|
]),
|
|
2171
|
-
default:
|
|
2182
|
+
default: k(() => [
|
|
2172
2183
|
A(ul, { items: e.items }, null, 8, ["items"])
|
|
2173
2184
|
]),
|
|
2174
2185
|
_: 3
|
|
2175
2186
|
}, 8, ["classes"]));
|
|
2176
2187
|
}
|
|
2177
|
-
},
|
|
2188
|
+
}, Zt = E(!1), at = {
|
|
2178
2189
|
start: [],
|
|
2179
2190
|
end: []
|
|
2180
2191
|
};
|
|
2181
|
-
function
|
|
2182
|
-
window.removeEventListener("resize",
|
|
2192
|
+
function Jt() {
|
|
2193
|
+
window.removeEventListener("resize", Jt), Zt.value = !0, at.start.forEach((e) => e());
|
|
2183
2194
|
}
|
|
2184
2195
|
function dl() {
|
|
2185
|
-
|
|
2196
|
+
Zt.value = !1, at.end.forEach((e) => e()), window.addEventListener("resize", Jt);
|
|
2186
2197
|
}
|
|
2187
|
-
window.addEventListener("resize",
|
|
2188
|
-
function
|
|
2198
|
+
window.addEventListener("resize", Jt), window.addEventListener("resize", Wt(dl, 300));
|
|
2199
|
+
function gs(e, s) {
|
|
2189
2200
|
return e.push(s), () => {
|
|
2190
2201
|
const t = e.findIndex((n) => n === s);
|
|
2191
2202
|
t > -1 && e.splice(t);
|
|
@@ -2193,50 +2204,50 @@ function ms(e, s) {
|
|
|
2193
2204
|
}
|
|
2194
2205
|
function fl() {
|
|
2195
2206
|
return {
|
|
2196
|
-
resizing:
|
|
2207
|
+
resizing: Zt,
|
|
2197
2208
|
onResizeStart(e) {
|
|
2198
|
-
return
|
|
2209
|
+
return gs(at.start, e);
|
|
2199
2210
|
},
|
|
2200
2211
|
onResizeEnd(e) {
|
|
2201
|
-
return
|
|
2212
|
+
return gs(at.end, e);
|
|
2202
2213
|
}
|
|
2203
2214
|
};
|
|
2204
2215
|
}
|
|
2205
2216
|
function eh(e, s) {
|
|
2206
|
-
const t =
|
|
2217
|
+
const t = Xs(), n = Qn(), o = _(() => {
|
|
2207
2218
|
const a = parseInt(t.query.page || "1", 10);
|
|
2208
2219
|
return isNaN(a) || a < 1 ? 1 : a;
|
|
2209
|
-
}), l =
|
|
2220
|
+
}), l = _(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / s));
|
|
2210
2221
|
ye(l, (a) => {
|
|
2211
2222
|
o.value > a && n.push({ query: { ...t.query, page: a } });
|
|
2212
2223
|
});
|
|
2213
|
-
const r =
|
|
2224
|
+
const r = _(() => {
|
|
2214
2225
|
const a = (o.value - 1) * s, d = a + s;
|
|
2215
2226
|
return e.value.slice(a, d);
|
|
2216
|
-
}), i =
|
|
2227
|
+
}), i = _(() => {
|
|
2217
2228
|
if (l.value <= 1)
|
|
2218
2229
|
return null;
|
|
2219
2230
|
const a = {
|
|
2220
2231
|
pages: {}
|
|
2221
|
-
}, d = o.value,
|
|
2222
|
-
d > 1 && (a.first = { href:
|
|
2223
|
-
let
|
|
2224
|
-
if (
|
|
2225
|
-
|
|
2232
|
+
}, d = o.value, v = l.value, p = 5, b = (U) => ({ query: { ...t.query, page: U } });
|
|
2233
|
+
d > 1 && (a.first = { href: b(1) }, a.previous = { href: b(d - 1) }), d < v && (a.next = { href: b(d + 1) }, a.last = { href: b(v) });
|
|
2234
|
+
let C, O;
|
|
2235
|
+
if (v <= p)
|
|
2236
|
+
C = 1, O = v;
|
|
2226
2237
|
else {
|
|
2227
|
-
const
|
|
2228
|
-
d <=
|
|
2238
|
+
const U = Math.floor(p / 2), q = Math.ceil(p / 2) - 1;
|
|
2239
|
+
d <= U ? (C = 1, O = p) : d + q >= v ? (C = v - p + 1, O = v) : (C = d - U, O = d + q);
|
|
2229
2240
|
}
|
|
2230
|
-
for (let
|
|
2231
|
-
a.pages[
|
|
2241
|
+
for (let U = C; U <= O; U++)
|
|
2242
|
+
a.pages[U] = { href: b(U) };
|
|
2232
2243
|
return a;
|
|
2233
|
-
}), c =
|
|
2244
|
+
}), c = _(() => {
|
|
2234
2245
|
const a = { previous: !1, next: !1 };
|
|
2235
2246
|
if (!i.value || !i.value.pages) return a;
|
|
2236
2247
|
const d = Object.keys(i.value.pages).map(Number);
|
|
2237
2248
|
if (d.length === 0) return a;
|
|
2238
|
-
const
|
|
2239
|
-
return
|
|
2249
|
+
const v = Math.min(...d), p = Math.max(...d);
|
|
2250
|
+
return v > 1 && (a.previous = !0), p < l.value && (a.next = !0), a;
|
|
2240
2251
|
});
|
|
2241
2252
|
return {
|
|
2242
2253
|
currentPage: o,
|
|
@@ -2246,23 +2257,23 @@ function eh(e, s) {
|
|
|
2246
2257
|
pagerEllipses: c
|
|
2247
2258
|
};
|
|
2248
2259
|
}
|
|
2249
|
-
function
|
|
2260
|
+
function Ft(e, s, t) {
|
|
2250
2261
|
typeof e === "function" && (!t || t !== "titleTemplate" && !(t[0] === "o" && t[1] === "n")) && (e = e());
|
|
2251
2262
|
let o;
|
|
2252
2263
|
if (s && (o = s(t, e)), Array.isArray(o))
|
|
2253
|
-
return o.map((l) =>
|
|
2264
|
+
return o.map((l) => Ft(l, s));
|
|
2254
2265
|
if (o?.constructor === Object) {
|
|
2255
2266
|
const l = {};
|
|
2256
2267
|
for (const r of Object.keys(o))
|
|
2257
|
-
l[r] =
|
|
2268
|
+
l[r] = Ft(o[r], s, r);
|
|
2258
2269
|
return l;
|
|
2259
2270
|
}
|
|
2260
2271
|
return o;
|
|
2261
2272
|
}
|
|
2262
|
-
const hl = (e, s) => In(s) ?
|
|
2273
|
+
const hl = (e, s) => In(s) ? nt(s) : s, ml = "usehead";
|
|
2263
2274
|
function gl() {
|
|
2264
2275
|
if (Mn()) {
|
|
2265
|
-
const e =
|
|
2276
|
+
const e = dt(ml);
|
|
2266
2277
|
if (!e)
|
|
2267
2278
|
throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
|
|
2268
2279
|
return e;
|
|
@@ -2274,12 +2285,12 @@ function vl(e, s = {}) {
|
|
|
2274
2285
|
return t.ssr ? t.push(e || {}, s) : pl(t, e, s);
|
|
2275
2286
|
}
|
|
2276
2287
|
function pl(e, s, t = {}) {
|
|
2277
|
-
const n =
|
|
2288
|
+
const n = E(!1);
|
|
2278
2289
|
let o;
|
|
2279
|
-
return
|
|
2280
|
-
const r = n.value ? {} :
|
|
2290
|
+
return ht(() => {
|
|
2291
|
+
const r = n.value ? {} : Ft(s, hl);
|
|
2281
2292
|
o ? o.patch(r) : o = e.push(r, t);
|
|
2282
|
-
}), Pn() && (
|
|
2293
|
+
}), Pn() && (Ds(() => {
|
|
2283
2294
|
o.dispose();
|
|
2284
2295
|
}), zn(() => {
|
|
2285
2296
|
n.value = !0;
|
|
@@ -2287,21 +2298,21 @@ function pl(e, s, t = {}) {
|
|
|
2287
2298
|
n.value = !1;
|
|
2288
2299
|
})), o;
|
|
2289
2300
|
}
|
|
2290
|
-
function
|
|
2301
|
+
function bt(e, s) {
|
|
2291
2302
|
let n = (e?.meta || {}).title;
|
|
2292
2303
|
return typeof n == "function" && (n = n(s || e)), n;
|
|
2293
2304
|
}
|
|
2294
2305
|
function yl(e, s) {
|
|
2295
2306
|
const n = Object.assign({}, {
|
|
2296
2307
|
qualifier(r, i) {
|
|
2297
|
-
return i ?
|
|
2308
|
+
return i ? es(r) : rn(r);
|
|
2298
2309
|
},
|
|
2299
|
-
sort:
|
|
2310
|
+
sort: ss,
|
|
2300
2311
|
item: {},
|
|
2301
2312
|
includeChildren: !1
|
|
2302
2313
|
}, s), o = (r, i) => i ? `${i}/${r.path}` : r.path, l = (r, i = null) => r.filter((c) => n.qualifier(c, i)).map((c) => {
|
|
2303
|
-
const a = c.children ?
|
|
2304
|
-
return n.includeChildren && d.length && (
|
|
2314
|
+
const a = c.children ? Qt(c.children) : c, d = c.children ? c.children.filter((p) => p.path !== "") : !1, v = _t(a, o(c, i), n.item);
|
|
2315
|
+
return n.includeChildren && d.length && (v.children = l(d, v.path)), v;
|
|
2305
2316
|
}).sort(n.sort);
|
|
2306
2317
|
return l(e);
|
|
2307
2318
|
}
|
|
@@ -2320,41 +2331,41 @@ function _l(e, s, t) {
|
|
|
2320
2331
|
const o = Object.assign({}, {
|
|
2321
2332
|
includeIndex: !1,
|
|
2322
2333
|
item: {},
|
|
2323
|
-
sort:
|
|
2324
|
-
}, t), l = e.find((a) => a.path !== "/" && s.includes(a.path)), r = (a, d,
|
|
2334
|
+
sort: ss
|
|
2335
|
+
}, t), l = e.find((a) => a.path !== "/" && s.includes(a.path)), r = (a, d, v) => {
|
|
2325
2336
|
if (a.children) {
|
|
2326
|
-
const
|
|
2327
|
-
if (
|
|
2328
|
-
return r(
|
|
2337
|
+
const p = a.children.find((b) => b.path.includes(s));
|
|
2338
|
+
if (p)
|
|
2339
|
+
return r(p, a, v + p.path);
|
|
2329
2340
|
}
|
|
2330
|
-
return { route: d, path:
|
|
2341
|
+
return { route: d, path: v };
|
|
2331
2342
|
}, { route: i, path: c } = r(l, l, l.path);
|
|
2332
|
-
return i.children ? i.children.filter(
|
|
2343
|
+
return i.children ? i.children.filter(cn(o.includeIndex)).map((a) => _t(a, `${c}/${a.path}`, o.item)).sort(o.sort) : (console.warn("Unable to build menu for:", s), []);
|
|
2333
2344
|
}
|
|
2334
|
-
function
|
|
2345
|
+
function Qt(e) {
|
|
2335
2346
|
return e.find((s) => s.path === "");
|
|
2336
2347
|
}
|
|
2337
|
-
function
|
|
2348
|
+
function _t(e, s = e.path, t) {
|
|
2338
2349
|
const o = Object.assign({}, {
|
|
2339
2350
|
indexMeta: !0,
|
|
2340
2351
|
modify: null
|
|
2341
2352
|
}, t);
|
|
2342
2353
|
let l = Object.assign({}, e.meta);
|
|
2343
|
-
o.indexMeta && e.children && (l = Object.assign({}, l,
|
|
2354
|
+
o.indexMeta && e.children && (l = Object.assign({}, l, Qt(e.children)?.meta));
|
|
2344
2355
|
const r = { ...e, meta: l }, i = {
|
|
2345
2356
|
path: s,
|
|
2346
|
-
title:
|
|
2357
|
+
title: bt(r, e) || "Missing Title",
|
|
2347
2358
|
weight: l?.weight || 0,
|
|
2348
2359
|
meta: l
|
|
2349
2360
|
};
|
|
2350
2361
|
return o.modify && o.modify(i, e), i;
|
|
2351
2362
|
}
|
|
2352
|
-
function
|
|
2363
|
+
function es(e) {
|
|
2353
2364
|
return !e.path.includes("/:");
|
|
2354
2365
|
}
|
|
2355
|
-
function
|
|
2366
|
+
function rn(e) {
|
|
2356
2367
|
const s = e.path.match(/\//g) || [];
|
|
2357
|
-
return
|
|
2368
|
+
return es(e) && s.length === 1;
|
|
2358
2369
|
}
|
|
2359
2370
|
function wl(e, s) {
|
|
2360
2371
|
const { target: t } = s, n = t.closest("a");
|
|
@@ -2363,17 +2374,17 @@ function wl(e, s) {
|
|
|
2363
2374
|
o.startsWith("/") && (e.push(o), s.preventDefault());
|
|
2364
2375
|
}
|
|
2365
2376
|
}
|
|
2366
|
-
function
|
|
2377
|
+
function an(e, s = ts(e)) {
|
|
2367
2378
|
return s?.children;
|
|
2368
2379
|
}
|
|
2369
|
-
function
|
|
2380
|
+
function ts(e, s) {
|
|
2370
2381
|
const t = e.matched.length, n = t - 2;
|
|
2371
2382
|
return s ? t > 1 ? e.matched[0] : null : n < 0 ? null : e.matched[n];
|
|
2372
2383
|
}
|
|
2373
|
-
function
|
|
2384
|
+
function cn(e) {
|
|
2374
2385
|
return (s) => e || s.path !== "";
|
|
2375
2386
|
}
|
|
2376
|
-
function
|
|
2387
|
+
function ss(e, s) {
|
|
2377
2388
|
return e?.weight - s?.weight;
|
|
2378
2389
|
}
|
|
2379
2390
|
function Sl(e, s) {
|
|
@@ -2381,9 +2392,9 @@ function Sl(e, s) {
|
|
|
2381
2392
|
parent: null,
|
|
2382
2393
|
includeIndex: !1,
|
|
2383
2394
|
item: {},
|
|
2384
|
-
sort:
|
|
2385
|
-
}, s), o = n.parent ||
|
|
2386
|
-
return (
|
|
2395
|
+
sort: ss
|
|
2396
|
+
}, s), o = n.parent || ts(e);
|
|
2397
|
+
return (an(e, o) || []).filter(cn(n.includeIndex)).map((r) => _t(r, `${o.path}/${r.path}`, n.item)).sort(n.sort);
|
|
2387
2398
|
}
|
|
2388
2399
|
function kl(e) {
|
|
2389
2400
|
const { matched: s, path: t } = e;
|
|
@@ -2391,7 +2402,7 @@ function kl(e) {
|
|
|
2391
2402
|
return s.reduce((l, r, i) => {
|
|
2392
2403
|
if (r.meta?.breadcrumb === !1 || r.path === n)
|
|
2393
2404
|
return l;
|
|
2394
|
-
const c = i === s.length - 1, a =
|
|
2405
|
+
const c = i === s.length - 1, a = bt(r, e) || "Missing Title";
|
|
2395
2406
|
return l.push({
|
|
2396
2407
|
title: a,
|
|
2397
2408
|
to: { path: c ? t : r.path },
|
|
@@ -2403,35 +2414,35 @@ const $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2403
2414
|
__proto__: null,
|
|
2404
2415
|
$createBreadcrumb: kl,
|
|
2405
2416
|
$createSectionMenu: Sl,
|
|
2406
|
-
$getParentRoute:
|
|
2407
|
-
$getRouteChildren:
|
|
2417
|
+
$getParentRoute: ts,
|
|
2418
|
+
$getRouteChildren: an,
|
|
2408
2419
|
createBaseMenu: yl,
|
|
2409
|
-
createMenuItem:
|
|
2420
|
+
createMenuItem: _t,
|
|
2410
2421
|
createSectionMenu: _l,
|
|
2411
2422
|
flattenMenu: bl,
|
|
2412
|
-
getChildIndexRoute:
|
|
2413
|
-
getRouteTitle:
|
|
2414
|
-
isStaticBaseRoute:
|
|
2415
|
-
isStaticRoute:
|
|
2423
|
+
getChildIndexRoute: Qt,
|
|
2424
|
+
getRouteTitle: bt,
|
|
2425
|
+
isStaticBaseRoute: rn,
|
|
2426
|
+
isStaticRoute: es,
|
|
2416
2427
|
nativeLinkRouter: wl
|
|
2417
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2428
|
+
}, Symbol.toStringTag, { value: "Module" })), xt = ut({});
|
|
2418
2429
|
function th(e = {}) {
|
|
2419
2430
|
const {
|
|
2420
2431
|
title: s,
|
|
2421
2432
|
titleTemplate: t = "%s",
|
|
2422
|
-
useRoute: n =
|
|
2433
|
+
useRoute: n = Xs,
|
|
2423
2434
|
useHead: o = vl
|
|
2424
2435
|
} = e, l = n(), r = l.path;
|
|
2425
2436
|
if (s !== void 0) {
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
}),
|
|
2429
|
-
delete
|
|
2437
|
+
ht(() => {
|
|
2438
|
+
xt[r] = T(s);
|
|
2439
|
+
}), Ws(() => {
|
|
2440
|
+
delete xt[r];
|
|
2430
2441
|
});
|
|
2431
2442
|
return;
|
|
2432
2443
|
}
|
|
2433
|
-
const i =
|
|
2434
|
-
const c =
|
|
2444
|
+
const i = _(() => {
|
|
2445
|
+
const c = xt[l.path], a = bt(l, l), d = c || a;
|
|
2435
2446
|
return d ? t.replace("%s", d) : "App";
|
|
2436
2447
|
});
|
|
2437
2448
|
o({
|
|
@@ -2447,13 +2458,13 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2447
2458
|
triggerIcon: String
|
|
2448
2459
|
},
|
|
2449
2460
|
setup(e) {
|
|
2450
|
-
const { resizing: s, onResizeEnd: t } = fl(), n =
|
|
2451
|
-
|
|
2461
|
+
const { resizing: s, onResizeEnd: t } = fl(), n = E(null), o = E(!1), l = () => {
|
|
2462
|
+
Vs(() => {
|
|
2452
2463
|
const i = n.value;
|
|
2453
2464
|
o.value = i.offsetWidth < i.scrollWidth;
|
|
2454
2465
|
});
|
|
2455
2466
|
}, r = t(l);
|
|
2456
|
-
return
|
|
2467
|
+
return mt(l), Ws(r), (i, c) => (u(), f("div", Cl, [
|
|
2457
2468
|
h("div", {
|
|
2458
2469
|
class: "type-truncate",
|
|
2459
2470
|
ref_key: "text",
|
|
@@ -2461,17 +2472,17 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2461
2472
|
}, [
|
|
2462
2473
|
g(i.$slots, "default")
|
|
2463
2474
|
], 512),
|
|
2464
|
-
o.value && !T(s) ? (u(),
|
|
2475
|
+
o.value && !T(s) ? (u(), S(gt, {
|
|
2465
2476
|
key: 0,
|
|
2466
2477
|
triggerAlt: "Show Full Text",
|
|
2467
2478
|
size: "large"
|
|
2468
2479
|
}, {
|
|
2469
|
-
trigger:
|
|
2480
|
+
trigger: k(() => [
|
|
2470
2481
|
A(N, {
|
|
2471
2482
|
icon: e.triggerIcon || "type:ellipsis"
|
|
2472
2483
|
}, null, 8, ["icon"])
|
|
2473
2484
|
]),
|
|
2474
|
-
default:
|
|
2485
|
+
default: k(() => [
|
|
2475
2486
|
h("div", Tl, [
|
|
2476
2487
|
g(i.$slots, "default")
|
|
2477
2488
|
])
|
|
@@ -2483,9 +2494,9 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2483
2494
|
}, nh = {
|
|
2484
2495
|
__name: "UluTab",
|
|
2485
2496
|
setup(e) {
|
|
2486
|
-
return (s, t) => (u(),
|
|
2487
|
-
default:
|
|
2488
|
-
g(s.$slots, "default",
|
|
2497
|
+
return (s, t) => (u(), S(T(eo), null, {
|
|
2498
|
+
default: k((n) => [
|
|
2499
|
+
g(s.$slots, "default", oe(re(n)))
|
|
2489
2500
|
]),
|
|
2490
2501
|
_: 3
|
|
2491
2502
|
}));
|
|
@@ -2505,17 +2516,17 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2505
2516
|
vertical: Boolean
|
|
2506
2517
|
},
|
|
2507
2518
|
setup(e) {
|
|
2508
|
-
return (s, t) => (u(),
|
|
2519
|
+
return (s, t) => (u(), S(T(to), {
|
|
2509
2520
|
defaultIndex: e.defaultIndex,
|
|
2510
2521
|
vertical: e.vertical
|
|
2511
2522
|
}, {
|
|
2512
|
-
default:
|
|
2523
|
+
default: k((n) => [
|
|
2513
2524
|
h("div", {
|
|
2514
2525
|
class: m(["tabs", {
|
|
2515
2526
|
"tabs--vertical": e.vertical
|
|
2516
2527
|
}])
|
|
2517
2528
|
}, [
|
|
2518
|
-
g(s.$slots, "default",
|
|
2529
|
+
g(s.$slots, "default", oe(re(n)))
|
|
2519
2530
|
], 2)
|
|
2520
2531
|
]),
|
|
2521
2532
|
_: 3
|
|
@@ -2524,8 +2535,8 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2524
2535
|
}), lh = {
|
|
2525
2536
|
__name: "UluTabList",
|
|
2526
2537
|
setup(e) {
|
|
2527
|
-
return (s, t) => (u(),
|
|
2528
|
-
default:
|
|
2538
|
+
return (s, t) => (u(), S(T(so), { class: "tabs__tablist" }, {
|
|
2539
|
+
default: k(() => [
|
|
2529
2540
|
g(s.$slots, "default")
|
|
2530
2541
|
]),
|
|
2531
2542
|
_: 3
|
|
@@ -2534,9 +2545,9 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2534
2545
|
}, rh = {
|
|
2535
2546
|
__name: "UluTabPanel",
|
|
2536
2547
|
setup(e) {
|
|
2537
|
-
return (s, t) => (u(),
|
|
2538
|
-
default:
|
|
2539
|
-
g(s.$slots, "default",
|
|
2548
|
+
return (s, t) => (u(), S(T(no), null, {
|
|
2549
|
+
default: k((n) => [
|
|
2550
|
+
g(s.$slots, "default", oe(re(n)))
|
|
2540
2551
|
]),
|
|
2541
2552
|
_: 3
|
|
2542
2553
|
}));
|
|
@@ -2544,9 +2555,9 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2544
2555
|
}, ih = {
|
|
2545
2556
|
__name: "UluTabPanels",
|
|
2546
2557
|
setup(e) {
|
|
2547
|
-
return (s, t) => (u(),
|
|
2548
|
-
default:
|
|
2549
|
-
g(s.$slots, "default",
|
|
2558
|
+
return (s, t) => (u(), S(T(oo), null, {
|
|
2559
|
+
default: k((n) => [
|
|
2560
|
+
g(s.$slots, "default", oe(re(n)))
|
|
2550
2561
|
]),
|
|
2551
2562
|
_: 3
|
|
2552
2563
|
}));
|
|
@@ -2655,7 +2666,7 @@ const Cl = { class: "layout-flex-baseline" }, Tl = { class: "type-word-break" },
|
|
|
2655
2666
|
}, Ol = { key: 1 };
|
|
2656
2667
|
function xl(e, s, t, n, o, l) {
|
|
2657
2668
|
const r = W("UluIcon");
|
|
2658
|
-
return u(),
|
|
2669
|
+
return u(), S(P(l.element), K({
|
|
2659
2670
|
class: ["button", [
|
|
2660
2671
|
{
|
|
2661
2672
|
"button--transparent": t.transparent,
|
|
@@ -2671,19 +2682,19 @@ function xl(e, s, t, n, o, l) {
|
|
|
2671
2682
|
n.resolvedModifiers
|
|
2672
2683
|
]]
|
|
2673
2684
|
}, l.attrs, { "aria-label": l.resolvedAriaLabel }), {
|
|
2674
|
-
default:
|
|
2685
|
+
default: k(() => [
|
|
2675
2686
|
g(e.$slots, "before"),
|
|
2676
|
-
t.icon && (t.iconBefore || t.iconOnly) ? (u(),
|
|
2687
|
+
t.icon && (t.iconBefore || t.iconOnly) ? (u(), S(r, {
|
|
2677
2688
|
key: 0,
|
|
2678
2689
|
icon: t.icon,
|
|
2679
2690
|
class: "button__icon"
|
|
2680
2691
|
}, null, 8, ["icon"])) : y("", !0),
|
|
2681
2692
|
(e.$slots.default || t.text) && !t.iconOnly ? (u(), f("span", Ol, [
|
|
2682
2693
|
g(e.$slots, "default", {}, () => [
|
|
2683
|
-
|
|
2694
|
+
$(w(t.text), 1)
|
|
2684
2695
|
])
|
|
2685
2696
|
])) : y("", !0),
|
|
2686
|
-
t.icon && !t.iconBefore && !t.iconOnly ? (u(),
|
|
2697
|
+
t.icon && !t.iconBefore && !t.iconOnly ? (u(), S(r, {
|
|
2687
2698
|
key: 2,
|
|
2688
2699
|
icon: t.icon,
|
|
2689
2700
|
class: "button__icon"
|
|
@@ -2732,7 +2743,7 @@ const Ul = /* @__PURE__ */ j(Al, [["render", xl]]), Bl = {
|
|
|
2732
2743
|
const { resolvedModifiers: s } = ie({
|
|
2733
2744
|
props: e,
|
|
2734
2745
|
baseClass: "callout",
|
|
2735
|
-
internal:
|
|
2746
|
+
internal: _(() => ({
|
|
2736
2747
|
[e.type]: e.type,
|
|
2737
2748
|
compact: e.compact
|
|
2738
2749
|
}))
|
|
@@ -2756,12 +2767,12 @@ function Il(e, s, t, n, o, l) {
|
|
|
2756
2767
|
h("div", El, [
|
|
2757
2768
|
h("div", null, [
|
|
2758
2769
|
g(e.$slots, "title", {}, () => [
|
|
2759
|
-
h("strong", null,
|
|
2770
|
+
h("strong", null, w(t.title), 1)
|
|
2760
2771
|
])
|
|
2761
2772
|
]),
|
|
2762
2773
|
h("div", null, [
|
|
2763
2774
|
g(e.$slots, "description", {}, () => [
|
|
2764
|
-
|
|
2775
|
+
$(w(t.description), 1)
|
|
2765
2776
|
])
|
|
2766
2777
|
])
|
|
2767
2778
|
]),
|
|
@@ -2811,11 +2822,11 @@ const ah = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Pl = {
|
|
|
2811
2822
|
href: String
|
|
2812
2823
|
},
|
|
2813
2824
|
setup(e) {
|
|
2814
|
-
const s = e, t =
|
|
2825
|
+
const s = e, t = _(() => !!(s.to || s.click)), n = _(() => {
|
|
2815
2826
|
const { click: o, to: l, href: r } = s;
|
|
2816
2827
|
return o ? "button" : l ? Xe : r ? "a" : "span";
|
|
2817
2828
|
});
|
|
2818
|
-
return (o, l) => (u(),
|
|
2829
|
+
return (o, l) => (u(), S(P(n.value), {
|
|
2819
2830
|
class: m(["badge", [
|
|
2820
2831
|
e.size ? `badge--${e.size}` : null,
|
|
2821
2832
|
e.type ? `badge--${e.type}` : null,
|
|
@@ -2825,15 +2836,15 @@ const ah = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Pl = {
|
|
|
2825
2836
|
href: e.href,
|
|
2826
2837
|
onClick: e.click
|
|
2827
2838
|
}, {
|
|
2828
|
-
default:
|
|
2839
|
+
default: k(() => [
|
|
2829
2840
|
h("span", {
|
|
2830
2841
|
class: m(["badge__inner", { "skeleton__background-color": e.skeleton }])
|
|
2831
2842
|
}, [
|
|
2832
2843
|
e.text ? (u(), f("span", {
|
|
2833
2844
|
key: 0,
|
|
2834
2845
|
"aria-hidden": e.alt ? "true" : null
|
|
2835
|
-
},
|
|
2836
|
-
e.alt ? (u(), f("span", Pl,
|
|
2846
|
+
}, w(e.text), 9, Ml)) : g(o.$slots, "default", { key: 1 }),
|
|
2847
|
+
e.alt ? (u(), f("span", Pl, w(e.alt), 1)) : y("", !0)
|
|
2837
2848
|
], 2)
|
|
2838
2849
|
]),
|
|
2839
2850
|
_: 3
|
|
@@ -2849,11 +2860,11 @@ const ah = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Pl = {
|
|
|
2849
2860
|
},
|
|
2850
2861
|
setup(e) {
|
|
2851
2862
|
return (s, t) => (u(), f("ul", Fl, [
|
|
2852
|
-
(u(!0), f(
|
|
2863
|
+
(u(!0), f(B, null, R(e.items, (n, o) => (u(), f("li", {
|
|
2853
2864
|
class: "badge-stack__item",
|
|
2854
2865
|
key: o
|
|
2855
2866
|
}, [
|
|
2856
|
-
A(zl,
|
|
2867
|
+
A(zl, K({ ref_for: !0 }, n), null, 16)
|
|
2857
2868
|
]))), 128))
|
|
2858
2869
|
]));
|
|
2859
2870
|
}
|
|
@@ -2930,7 +2941,7 @@ const ah = /* @__PURE__ */ j(Bl, [["render", Il]]), Ml = ["aria-hidden"], Pl = {
|
|
|
2930
2941
|
};
|
|
2931
2942
|
function Hl(e, s, t, n, o, l) {
|
|
2932
2943
|
const r = W("UluIcon");
|
|
2933
|
-
return u(),
|
|
2944
|
+
return u(), S(P(l.element), K({
|
|
2934
2945
|
class: ["button-verbose", [
|
|
2935
2946
|
{
|
|
2936
2947
|
"button-verbose--inline": t.inline,
|
|
@@ -2939,24 +2950,24 @@ function Hl(e, s, t, n, o, l) {
|
|
|
2939
2950
|
n.resolvedModifiers
|
|
2940
2951
|
]]
|
|
2941
2952
|
}, l.attrs), {
|
|
2942
|
-
default:
|
|
2943
|
-
e.$slots.title || t.title ? (u(),
|
|
2953
|
+
default: k(() => [
|
|
2954
|
+
e.$slots.title || t.title ? (u(), S(P(t.titleElement), {
|
|
2944
2955
|
key: 0,
|
|
2945
2956
|
class: "button-verbose__title"
|
|
2946
2957
|
}, {
|
|
2947
|
-
default:
|
|
2958
|
+
default: k(() => [
|
|
2948
2959
|
g(e.$slots, "title", {}, () => [
|
|
2949
|
-
|
|
2960
|
+
$(w(t.title), 1)
|
|
2950
2961
|
])
|
|
2951
2962
|
]),
|
|
2952
2963
|
_: 3
|
|
2953
2964
|
})) : y("", !0),
|
|
2954
2965
|
e.$slots.default || t.body ? (u(), f("span", Vl, [
|
|
2955
2966
|
g(e.$slots, "default", {}, () => [
|
|
2956
|
-
|
|
2967
|
+
$(w(t.body), 1)
|
|
2957
2968
|
])
|
|
2958
2969
|
])) : y("", !0),
|
|
2959
|
-
t.icon ? (u(),
|
|
2970
|
+
t.icon ? (u(), S(r, {
|
|
2960
2971
|
key: 2,
|
|
2961
2972
|
icon: t.icon,
|
|
2962
2973
|
class: "button-verbose__icon",
|
|
@@ -3102,32 +3113,32 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3102
3113
|
},
|
|
3103
3114
|
emits: ["proxy-click"],
|
|
3104
3115
|
setup(e, { emit: s }) {
|
|
3105
|
-
const t = e, n = s, o =
|
|
3116
|
+
const t = e, n = s, o = Hs();
|
|
3106
3117
|
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'.");
|
|
3107
|
-
const l =
|
|
3118
|
+
const l = E(null), r = E(null), { resolvedModifiers: i } = ie({ props: t, baseClass: "card" }), c = E(null), a = E(!1), d = _(() => t.proxyClick && !t.to && !t.href), v = _(() => d.value && (t.titleTo || t.titleHref)), p = _(() => d.value && !v.value), b = _(() => d.value || null), C = _(() => ({
|
|
3108
3119
|
selectorPrevent: "input, select, textarea, button, a, [tabindex='-1']",
|
|
3109
3120
|
mousedownDurationPrevent: 250,
|
|
3110
3121
|
...t.proxyClickOptions
|
|
3111
|
-
})),
|
|
3112
|
-
function
|
|
3113
|
-
if (!
|
|
3114
|
-
const { selectorPrevent:
|
|
3115
|
-
a.value = !1,
|
|
3122
|
+
})), O = _(() => d.value ? "pointer" : null), U = _(() => t.to ? Xe : t.href ? "a" : t.cardElement);
|
|
3123
|
+
function q({ target: z, timeStamp: J }) {
|
|
3124
|
+
if (!b.value) return;
|
|
3125
|
+
const { selectorPrevent: ce } = C.value;
|
|
3126
|
+
a.value = !1, z.closest(ce) || (a.value = !0, c.value = J);
|
|
3116
3127
|
}
|
|
3117
|
-
function
|
|
3118
|
-
if (!
|
|
3119
|
-
const { mousedownDurationPrevent:
|
|
3120
|
-
if (
|
|
3121
|
-
if (
|
|
3128
|
+
function Z({ timeStamp: z }) {
|
|
3129
|
+
if (!b.value || !a.value) return;
|
|
3130
|
+
const { mousedownDurationPrevent: J } = C.value;
|
|
3131
|
+
if (z - c.value < J) {
|
|
3132
|
+
if (v.value)
|
|
3122
3133
|
r.value?.click();
|
|
3123
|
-
else if (
|
|
3124
|
-
const
|
|
3125
|
-
|
|
3134
|
+
else if (p.value) {
|
|
3135
|
+
const ce = l.value?.querySelector("[data-ulu-card-proxy-target]");
|
|
3136
|
+
ce ? ce.click() : n("proxy-click");
|
|
3126
3137
|
}
|
|
3127
3138
|
}
|
|
3128
3139
|
a.value = !1;
|
|
3129
3140
|
}
|
|
3130
|
-
return (
|
|
3141
|
+
return (z, J) => (u(), S(P(U.value), {
|
|
3131
3142
|
ref_key: "cardRoot",
|
|
3132
3143
|
ref: l,
|
|
3133
3144
|
class: m(["card", [
|
|
@@ -3138,32 +3149,32 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3138
3149
|
},
|
|
3139
3150
|
T(i)
|
|
3140
3151
|
]]),
|
|
3141
|
-
onMousedown:
|
|
3142
|
-
onMouseup:
|
|
3143
|
-
style: D({ cursor:
|
|
3152
|
+
onMousedown: q,
|
|
3153
|
+
onMouseup: Z,
|
|
3154
|
+
style: D({ cursor: O.value }),
|
|
3144
3155
|
target: e.target,
|
|
3145
3156
|
to: e.to,
|
|
3146
3157
|
href: e.href,
|
|
3147
|
-
"data-ulu-proxy-click-init":
|
|
3158
|
+
"data-ulu-proxy-click-init": b.value
|
|
3148
3159
|
}, {
|
|
3149
|
-
default:
|
|
3160
|
+
default: k(() => [
|
|
3150
3161
|
h("div", Wl, [
|
|
3151
3162
|
h("div", Xl, [
|
|
3152
|
-
e.title || T(o).title ? (u(),
|
|
3163
|
+
e.title || T(o).title ? (u(), S(P(e.titleElement), {
|
|
3153
3164
|
key: 0,
|
|
3154
3165
|
class: m(["card__title", e.classes.title])
|
|
3155
3166
|
}, {
|
|
3156
|
-
default:
|
|
3157
|
-
e.titleTo ? (u(),
|
|
3167
|
+
default: k(() => [
|
|
3168
|
+
e.titleTo ? (u(), S(T(Xe), {
|
|
3158
3169
|
key: 0,
|
|
3159
3170
|
class: "card__title-link",
|
|
3160
3171
|
to: e.titleTo,
|
|
3161
3172
|
ref_key: "link",
|
|
3162
3173
|
ref: r
|
|
3163
3174
|
}, {
|
|
3164
|
-
default:
|
|
3165
|
-
g(
|
|
3166
|
-
|
|
3175
|
+
default: k(() => [
|
|
3176
|
+
g(z.$slots, "title", {}, () => [
|
|
3177
|
+
$(w(e.title), 1)
|
|
3167
3178
|
])
|
|
3168
3179
|
]),
|
|
3169
3180
|
_: 3
|
|
@@ -3175,19 +3186,19 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3175
3186
|
ref_key: "link",
|
|
3176
3187
|
ref: r
|
|
3177
3188
|
}, [
|
|
3178
|
-
g(
|
|
3179
|
-
|
|
3189
|
+
g(z.$slots, "title", {}, () => [
|
|
3190
|
+
$(w(e.title), 1)
|
|
3180
3191
|
])
|
|
3181
|
-
], 8, Gl)) : g(
|
|
3182
|
-
|
|
3192
|
+
], 8, Gl)) : g(z.$slots, "title", { key: 2 }, () => [
|
|
3193
|
+
$(w(e.title), 1)
|
|
3183
3194
|
])
|
|
3184
3195
|
]),
|
|
3185
3196
|
_: 3
|
|
3186
3197
|
}, 8, ["class"])) : y("", !0),
|
|
3187
|
-
g(
|
|
3198
|
+
g(z.$slots, "body")
|
|
3188
3199
|
]),
|
|
3189
3200
|
T(o).aside ? (u(), f("div", ql, [
|
|
3190
|
-
g(
|
|
3201
|
+
g(z.$slots, "aside")
|
|
3191
3202
|
])) : y("", !0)
|
|
3192
3203
|
]),
|
|
3193
3204
|
T(o).image || e.imageSrc ? (u(), f("div", {
|
|
@@ -3197,7 +3208,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3197
3208
|
e.classes.image
|
|
3198
3209
|
]])
|
|
3199
3210
|
}, [
|
|
3200
|
-
g(
|
|
3211
|
+
g(z.$slots, "image", {}, () => [
|
|
3201
3212
|
h("img", {
|
|
3202
3213
|
src: e.imageSrc,
|
|
3203
3214
|
alt: e.imageAlt
|
|
@@ -3205,7 +3216,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3205
3216
|
])
|
|
3206
3217
|
], 2)) : y("", !0),
|
|
3207
3218
|
T(o).footer ? (u(), f("div", Kl, [
|
|
3208
|
-
g(
|
|
3219
|
+
g(z.$slots, "footer")
|
|
3209
3220
|
])) : y("", !0)
|
|
3210
3221
|
]),
|
|
3211
3222
|
_: 3
|
|
@@ -3260,7 +3271,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3260
3271
|
compact: Boolean
|
|
3261
3272
|
},
|
|
3262
3273
|
setup(e) {
|
|
3263
|
-
const s = e, t =
|
|
3274
|
+
const s = e, t = _(() => ({
|
|
3264
3275
|
inline: s.inline,
|
|
3265
3276
|
"inline-all": s.inlineAll,
|
|
3266
3277
|
table: s.table,
|
|
@@ -3276,7 +3287,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3276
3287
|
return (o, l) => (u(), f("dl", {
|
|
3277
3288
|
class: m(["definition-list", [T(n), e.classes.list]])
|
|
3278
3289
|
}, [
|
|
3279
|
-
(u(!0), f(
|
|
3290
|
+
(u(!0), f(B, null, R(e.items, (r, i) => (u(), f("div", {
|
|
3280
3291
|
key: i,
|
|
3281
3292
|
class: m(e.classes.item)
|
|
3282
3293
|
}, [
|
|
@@ -3287,7 +3298,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3287
3298
|
item: r,
|
|
3288
3299
|
index: i
|
|
3289
3300
|
}, () => [
|
|
3290
|
-
|
|
3301
|
+
$(w(r.term), 1)
|
|
3291
3302
|
])
|
|
3292
3303
|
], 2),
|
|
3293
3304
|
h("dd", {
|
|
@@ -3297,7 +3308,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3297
3308
|
item: r,
|
|
3298
3309
|
index: i
|
|
3299
3310
|
}, () => [
|
|
3300
|
-
|
|
3311
|
+
$(w(r.description), 1)
|
|
3301
3312
|
])
|
|
3302
3313
|
], 2)
|
|
3303
3314
|
], 2))), 128))
|
|
@@ -3334,7 +3345,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3334
3345
|
}, [
|
|
3335
3346
|
h("span", Jl, [
|
|
3336
3347
|
g(s.$slots, "default", {}, () => [
|
|
3337
|
-
|
|
3348
|
+
$(w(e.text), 1)
|
|
3338
3349
|
])
|
|
3339
3350
|
]),
|
|
3340
3351
|
A(N, {
|
|
@@ -3393,8 +3404,8 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3393
3404
|
listStyleType: String
|
|
3394
3405
|
},
|
|
3395
3406
|
setup(e) {
|
|
3396
|
-
const s = e, t =
|
|
3397
|
-
return (n, o) => (u(),
|
|
3407
|
+
const s = e, t = _(() => s.ordered || s.forceOrdered ? "ol" : "ul");
|
|
3408
|
+
return (n, o) => (u(), S(P(t.value), {
|
|
3398
3409
|
class: m([
|
|
3399
3410
|
{
|
|
3400
3411
|
"list-ordered": e.ordered,
|
|
@@ -3410,8 +3421,8 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3410
3421
|
reversed: e.reversed,
|
|
3411
3422
|
start: e.start
|
|
3412
3423
|
}, {
|
|
3413
|
-
default:
|
|
3414
|
-
(u(!0), f(
|
|
3424
|
+
default: k(() => [
|
|
3425
|
+
(u(!0), f(B, null, R(e.items, (l, r) => (u(), f("li", {
|
|
3415
3426
|
key: r,
|
|
3416
3427
|
class: m(e.classes.listItem)
|
|
3417
3428
|
}, [
|
|
@@ -3419,7 +3430,7 @@ const dh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3419
3430
|
item: l,
|
|
3420
3431
|
index: r
|
|
3421
3432
|
}, () => [
|
|
3422
|
-
|
|
3433
|
+
$(w(l), 1)
|
|
3423
3434
|
])
|
|
3424
3435
|
], 2))), 128))
|
|
3425
3436
|
]),
|
|
@@ -3445,11 +3456,11 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3445
3456
|
class: m(["spoke-spinner", { [`spoke-spinner--${e.type}`]: e.type }])
|
|
3446
3457
|
}, [
|
|
3447
3458
|
h("div", sr, [
|
|
3448
|
-
(u(), f(
|
|
3459
|
+
(u(), f(B, null, R(12, (n) => h("div", { key: n })), 64))
|
|
3449
3460
|
])
|
|
3450
3461
|
], 2));
|
|
3451
3462
|
}
|
|
3452
|
-
}, nr = ["role", "aria-labelledby"], or = ["id"], lr = { class: "menu-stack__list" }, rr = { class: "menu-stack__selectable" }, ir = ["type", "id", "name", "value", "checked", "onChange"], ar = ["for"],
|
|
3463
|
+
}, nr = ["role", "aria-labelledby"], or = ["id"], lr = { class: "menu-stack__list" }, rr = { class: "menu-stack__selectable" }, ir = ["type", "id", "name", "value", "checked", "onChange"], ar = ["for"], un = {
|
|
3453
3464
|
__name: "UluSelectableMenu",
|
|
3454
3465
|
props: {
|
|
3455
3466
|
/**
|
|
@@ -3482,16 +3493,16 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3482
3493
|
},
|
|
3483
3494
|
emits: ["update:modelValue"],
|
|
3484
3495
|
setup(e, { emit: s }) {
|
|
3485
|
-
const t = e, n = s, o =
|
|
3496
|
+
const t = e, n = s, o = _(() => t.legend ? t.legend.toLowerCase().replace(/\s+/g, "-") : `menu-${Math.random().toString(36).substring(7)}`), l = _(() => o.value ? `${o.value}-legend` : null), r = _(() => t.type === "radio" ? "radiogroup" : "group"), i = (d) => `${o.value}-${d.uid}`, c = (d) => t.type === "radio" ? t.modelValue === d.uid : Array.isArray(t.modelValue) ? t.modelValue.includes(d.uid) : t.type === "checkbox" && d.checked || !1, a = (d, v) => {
|
|
3486
3497
|
if (t.type === "radio")
|
|
3487
3498
|
n("update:modelValue", d.uid);
|
|
3488
3499
|
else if (Array.isArray(t.modelValue)) {
|
|
3489
|
-
const
|
|
3490
|
-
|
|
3500
|
+
const p = [...t.modelValue], b = p.indexOf(d.uid);
|
|
3501
|
+
b > -1 ? p.splice(b, 1) : p.push(d.uid), n("update:modelValue", p);
|
|
3491
3502
|
} else
|
|
3492
|
-
d.checked =
|
|
3503
|
+
d.checked = v.target.checked;
|
|
3493
3504
|
};
|
|
3494
|
-
return (d,
|
|
3505
|
+
return (d, v) => (u(), f("div", {
|
|
3495
3506
|
class: m(["menu-stack form-theme", {
|
|
3496
3507
|
"menu-stack--hide-inputs": e.hideInputs,
|
|
3497
3508
|
"menu-stack--compact": e.compact
|
|
@@ -3503,26 +3514,26 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3503
3514
|
key: 0,
|
|
3504
3515
|
id: l.value,
|
|
3505
3516
|
class: "hidden-visually"
|
|
3506
|
-
},
|
|
3517
|
+
}, w(e.legend), 9, or)) : y("", !0),
|
|
3507
3518
|
h("ul", lr, [
|
|
3508
|
-
(u(!0), f(
|
|
3519
|
+
(u(!0), f(B, null, R(e.options, (p) => (u(), f("li", {
|
|
3509
3520
|
class: "menu-stack__item",
|
|
3510
|
-
key:
|
|
3521
|
+
key: p.uid
|
|
3511
3522
|
}, [
|
|
3512
3523
|
h("div", rr, [
|
|
3513
3524
|
h("input", {
|
|
3514
3525
|
type: e.type,
|
|
3515
|
-
id: i(
|
|
3526
|
+
id: i(p),
|
|
3516
3527
|
name: o.value,
|
|
3517
|
-
value:
|
|
3518
|
-
checked: c(
|
|
3519
|
-
onChange: (
|
|
3528
|
+
value: p.uid,
|
|
3529
|
+
checked: c(p),
|
|
3530
|
+
onChange: (b) => a(p, b)
|
|
3520
3531
|
}, null, 40, ir),
|
|
3521
3532
|
h("label", {
|
|
3522
|
-
for: i(
|
|
3533
|
+
for: i(p)
|
|
3523
3534
|
}, [
|
|
3524
|
-
g(d.$slots, "default", { option:
|
|
3525
|
-
|
|
3535
|
+
g(d.$slots, "default", { option: p }, () => [
|
|
3536
|
+
$(w(p?.label || p?.title || p?.text), 1)
|
|
3526
3537
|
])
|
|
3527
3538
|
], 8, ar)
|
|
3528
3539
|
])
|
|
@@ -3553,7 +3564,7 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3553
3564
|
noFileSize: Boolean
|
|
3554
3565
|
},
|
|
3555
3566
|
setup(e) {
|
|
3556
|
-
const s = e, t =
|
|
3567
|
+
const s = e, t = _(() => typeof window > "u" ? "" : window.URL.createObjectURL(s.file)), n = _(() => {
|
|
3557
3568
|
const { size: o } = s.file, l = o / 1e6, r = o / 1e3, i = (c) => parseFloat(c.toFixed(2));
|
|
3558
3569
|
return l > 1 ? `${i(l)}Mb` : r > 1 ? `${i(r)}Kb` : `${i(o)}B`;
|
|
3559
3570
|
});
|
|
@@ -3571,8 +3582,8 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3571
3582
|
icon: e.icon
|
|
3572
3583
|
}, null, 8, ["icon"]),
|
|
3573
3584
|
h("span", ur, [
|
|
3574
|
-
|
|
3575
|
-
e.noFileSize ? y("", !0) : (u(),
|
|
3585
|
+
$(w(e.file.name) + " ", 1),
|
|
3586
|
+
e.noFileSize ? y("", !0) : (u(), S(on, {
|
|
3576
3587
|
key: 0,
|
|
3577
3588
|
text: n.value,
|
|
3578
3589
|
small: "",
|
|
@@ -3623,10 +3634,10 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3623
3634
|
for: T(o)
|
|
3624
3635
|
}, [
|
|
3625
3636
|
g(r.$slots, "label", {}, () => [
|
|
3626
|
-
|
|
3637
|
+
$(w(e.label), 1)
|
|
3627
3638
|
])
|
|
3628
3639
|
], 10, fr),
|
|
3629
|
-
h("input",
|
|
3640
|
+
h("input", K({
|
|
3630
3641
|
type: "file",
|
|
3631
3642
|
onChange: l,
|
|
3632
3643
|
multiple: e.multiple,
|
|
@@ -3653,7 +3664,7 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3653
3664
|
"site-form__warning": e.warning
|
|
3654
3665
|
}])
|
|
3655
3666
|
}, [
|
|
3656
|
-
e.error || e.warning ? (u(),
|
|
3667
|
+
e.error || e.warning ? (u(), S(N, {
|
|
3657
3668
|
key: 0,
|
|
3658
3669
|
icon: `type:${e.error ? "error" : "warning"}`
|
|
3659
3670
|
}, null, 8, ["icon"])) : y("", !0),
|
|
@@ -3692,7 +3703,7 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3692
3703
|
for: T(t)
|
|
3693
3704
|
}, [
|
|
3694
3705
|
g(n.$slots, "default", {}, () => [
|
|
3695
|
-
|
|
3706
|
+
$(w(e.label), 1)
|
|
3696
3707
|
])
|
|
3697
3708
|
], 10, gr),
|
|
3698
3709
|
h("select", {
|
|
@@ -3704,10 +3715,10 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3704
3715
|
disabled: "",
|
|
3705
3716
|
value: ""
|
|
3706
3717
|
}, "Please select one", -1)),
|
|
3707
|
-
(u(!0), f(
|
|
3718
|
+
(u(!0), f(B, null, R(e.options, (l, r) => (u(), f("option", {
|
|
3708
3719
|
key: r,
|
|
3709
3720
|
value: l.value
|
|
3710
|
-
},
|
|
3721
|
+
}, w(l.text), 9, pr))), 128))
|
|
3711
3722
|
], 40, vr)
|
|
3712
3723
|
]));
|
|
3713
3724
|
}
|
|
@@ -3739,7 +3750,7 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3739
3750
|
for: T(t)
|
|
3740
3751
|
}, [
|
|
3741
3752
|
g(n.$slots, "default", {}, () => [
|
|
3742
|
-
|
|
3753
|
+
$(w(e.label), 1)
|
|
3743
3754
|
])
|
|
3744
3755
|
], 10, br),
|
|
3745
3756
|
h("input", {
|
|
@@ -3790,7 +3801,7 @@ const vh = /* @__PURE__ */ j(Ql, [["render", tr]]), sr = { class: "spoke-spinner
|
|
|
3790
3801
|
name: "UluDataGrid",
|
|
3791
3802
|
async mounted() {
|
|
3792
3803
|
const e = () => lo(this.$el);
|
|
3793
|
-
e(), this.resizeHandler =
|
|
3804
|
+
e(), this.resizeHandler = Wt(e, 200, !1, this), window.addEventListener("resize", this.resizeHandler);
|
|
3794
3805
|
},
|
|
3795
3806
|
beforeUnmount() {
|
|
3796
3807
|
this.resizeHandler && window.removeEventListener("resize", this.resizeHandler);
|
|
@@ -3858,18 +3869,18 @@ function xr(e, s, t, n, o, l) {
|
|
|
3858
3869
|
h("div", {
|
|
3859
3870
|
class: m(["rail__item rail__item--title", t.classes.itemTitle])
|
|
3860
3871
|
}, [
|
|
3861
|
-
(u(),
|
|
3872
|
+
(u(), S(P(t.titleElement), {
|
|
3862
3873
|
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
3863
3874
|
style: D({ alignItems: t.iconAlign })
|
|
3864
3875
|
}, {
|
|
3865
|
-
default:
|
|
3866
|
-
t.icon ? (u(),
|
|
3876
|
+
default: k(() => [
|
|
3877
|
+
t.icon ? (u(), S(r, {
|
|
3867
3878
|
key: 0,
|
|
3868
3879
|
class: m(t.classes.icon),
|
|
3869
3880
|
icon: t.icon
|
|
3870
3881
|
}, null, 8, ["class", "icon"])) : y("", !0),
|
|
3871
3882
|
g(e.$slots, "default", {}, () => [
|
|
3872
|
-
|
|
3883
|
+
$(w(t.title), 1)
|
|
3873
3884
|
])
|
|
3874
3885
|
]),
|
|
3875
3886
|
_: 3
|
|
@@ -3925,7 +3936,7 @@ function Br(e, s, t, n, o, l) {
|
|
|
3925
3936
|
h("ol", {
|
|
3926
3937
|
class: m(t.classes.list)
|
|
3927
3938
|
}, [
|
|
3928
|
-
(u(!0), f(
|
|
3939
|
+
(u(!0), f(B, null, R(t.items, (c, a) => (u(), f("li", {
|
|
3929
3940
|
key: a,
|
|
3930
3941
|
class: m(t.classes.item)
|
|
3931
3942
|
}, [
|
|
@@ -3934,17 +3945,17 @@ function Br(e, s, t, n, o, l) {
|
|
|
3934
3945
|
class: m(c.current)
|
|
3935
3946
|
}, [
|
|
3936
3947
|
g(e.$slots, "default", { item: c }, () => [
|
|
3937
|
-
|
|
3948
|
+
$(w(c.title), 1)
|
|
3938
3949
|
])
|
|
3939
|
-
], 2)) : (u(),
|
|
3950
|
+
], 2)) : (u(), S(r, {
|
|
3940
3951
|
key: 0,
|
|
3941
3952
|
to: c.to,
|
|
3942
3953
|
class: m(t.classes.link),
|
|
3943
3954
|
"aria-current": c.current ? "page" : null
|
|
3944
3955
|
}, {
|
|
3945
|
-
default:
|
|
3956
|
+
default: k(() => [
|
|
3946
3957
|
g(e.$slots, "default", { item: c }, () => [
|
|
3947
|
-
|
|
3958
|
+
$(w(c.title), 1)
|
|
3948
3959
|
])
|
|
3949
3960
|
]),
|
|
3950
3961
|
_: 2
|
|
@@ -3962,7 +3973,7 @@ function Br(e, s, t, n, o, l) {
|
|
|
3962
3973
|
const Ah = /* @__PURE__ */ j(Ur, [["render", Br]]), Rr = {
|
|
3963
3974
|
name: "UluNavStrip",
|
|
3964
3975
|
components: {
|
|
3965
|
-
UluMenu:
|
|
3976
|
+
UluMenu: ln
|
|
3966
3977
|
},
|
|
3967
3978
|
props: {
|
|
3968
3979
|
/**
|
|
@@ -4069,22 +4080,22 @@ const Oh = /* @__PURE__ */ j(Rr, [["render", Er]]), jr = { class: "pager__items
|
|
|
4069
4080
|
role: "navigation",
|
|
4070
4081
|
"aria-labelledby": n
|
|
4071
4082
|
}, [
|
|
4072
|
-
(u(),
|
|
4083
|
+
(u(), S(P(e.titleElement), {
|
|
4073
4084
|
id: n,
|
|
4074
4085
|
class: "hidden-visually"
|
|
4075
4086
|
}, {
|
|
4076
|
-
default:
|
|
4077
|
-
|
|
4087
|
+
default: k(() => [...r[0] || (r[0] = [
|
|
4088
|
+
$("Pagination", -1)
|
|
4078
4089
|
])]),
|
|
4079
4090
|
_: 1
|
|
4080
4091
|
})),
|
|
4081
4092
|
h("ul", jr, [
|
|
4082
4093
|
e.items.first ? (u(), f("li", Ir, [
|
|
4083
|
-
A(i,
|
|
4094
|
+
A(i, K({
|
|
4084
4095
|
to: e.items.first.href,
|
|
4085
4096
|
title: "Go to first page"
|
|
4086
4097
|
}, e.items.first.attributes), {
|
|
4087
|
-
default:
|
|
4098
|
+
default: k(() => [
|
|
4088
4099
|
r[1] || (r[1] = h("span", { class: "hidden-visually" }, "First page", -1)),
|
|
4089
4100
|
A(N, {
|
|
4090
4101
|
icon: "fas fa-angle-double-left",
|
|
@@ -4095,12 +4106,12 @@ const Oh = /* @__PURE__ */ j(Rr, [["render", Er]]), jr = { class: "pager__items
|
|
|
4095
4106
|
}, 16, ["to"])
|
|
4096
4107
|
])) : y("", !0),
|
|
4097
4108
|
e.items.previous ? (u(), f("li", Mr, [
|
|
4098
|
-
A(i,
|
|
4109
|
+
A(i, K({
|
|
4099
4110
|
to: e.items.previous.href,
|
|
4100
4111
|
title: "Go to previous page",
|
|
4101
4112
|
rel: "prev"
|
|
4102
4113
|
}, e.items.previous.attributes), {
|
|
4103
|
-
default:
|
|
4114
|
+
default: k(() => [
|
|
4104
4115
|
r[2] || (r[2] = h("span", { class: "hidden-visually" }, "Previous page", -1)),
|
|
4105
4116
|
A(N, {
|
|
4106
4117
|
icon: "fas fa-angle-left",
|
|
@@ -4111,29 +4122,29 @@ const Oh = /* @__PURE__ */ j(Rr, [["render", Er]]), jr = { class: "pager__items
|
|
|
4111
4122
|
}, 16, ["to"])
|
|
4112
4123
|
])) : y("", !0),
|
|
4113
4124
|
e.ellipses.previous ? (u(), f("li", Pr, "…")) : y("", !0),
|
|
4114
|
-
(u(!0), f(
|
|
4125
|
+
(u(!0), f(B, null, R(e.items.pages, (c, a) => (u(), f("li", {
|
|
4115
4126
|
key: a,
|
|
4116
4127
|
class: m(["pager__item", { "is-active": e.current == a }])
|
|
4117
4128
|
}, [
|
|
4118
|
-
A(i,
|
|
4129
|
+
A(i, K({
|
|
4119
4130
|
to: c.href,
|
|
4120
4131
|
title: o(a)
|
|
4121
4132
|
}, { ref_for: !0 }, c.attributes), {
|
|
4122
|
-
default:
|
|
4123
|
-
h("span", zr,
|
|
4124
|
-
|
|
4133
|
+
default: k(() => [
|
|
4134
|
+
h("span", zr, w(e.current == a ? "Current page" : "Page"), 1),
|
|
4135
|
+
$(" " + w(a), 1)
|
|
4125
4136
|
]),
|
|
4126
4137
|
_: 2
|
|
4127
4138
|
}, 1040, ["to", "title"])
|
|
4128
4139
|
], 2))), 128)),
|
|
4129
4140
|
e.ellipses.next ? (u(), f("li", Fr, "…")) : y("", !0),
|
|
4130
4141
|
e.items.next ? (u(), f("li", Lr, [
|
|
4131
|
-
A(i,
|
|
4142
|
+
A(i, K({
|
|
4132
4143
|
to: e.items.next.href,
|
|
4133
4144
|
title: "Go to next page",
|
|
4134
4145
|
rel: "next"
|
|
4135
4146
|
}, e.items.next.attributes), {
|
|
4136
|
-
default:
|
|
4147
|
+
default: k(() => [
|
|
4137
4148
|
r[3] || (r[3] = h("span", { class: "hidden-visually" }, "Next page", -1)),
|
|
4138
4149
|
A(N, {
|
|
4139
4150
|
icon: "fas fa-angle-right",
|
|
@@ -4144,11 +4155,11 @@ const Oh = /* @__PURE__ */ j(Rr, [["render", Er]]), jr = { class: "pager__items
|
|
|
4144
4155
|
}, 16, ["to"])
|
|
4145
4156
|
])) : y("", !0),
|
|
4146
4157
|
e.items.last ? (u(), f("li", Vr, [
|
|
4147
|
-
A(i,
|
|
4158
|
+
A(i, K({
|
|
4148
4159
|
to: e.items.last.href,
|
|
4149
4160
|
title: "Go to last page"
|
|
4150
4161
|
}, e.items.last.attributes), {
|
|
4151
|
-
default:
|
|
4162
|
+
default: k(() => [
|
|
4152
4163
|
r[4] || (r[4] = h("span", { class: "hidden-visually" }, "Last page", -1)),
|
|
4153
4164
|
A(N, {
|
|
4154
4165
|
icon: "fas fa-angle-double-right",
|
|
@@ -4186,9 +4197,9 @@ const Uh = /* @__PURE__ */ j(Hr, [["render", Dr]]), Wr = {
|
|
|
4186
4197
|
}
|
|
4187
4198
|
};
|
|
4188
4199
|
function Xr(e, s, t, n, o, l) {
|
|
4189
|
-
return t.text != null ? (u(),
|
|
4190
|
-
default:
|
|
4191
|
-
|
|
4200
|
+
return t.text != null ? (u(), S(P(t.element), { key: 0 }, {
|
|
4201
|
+
default: k(() => [
|
|
4202
|
+
$(w(t.text), 1)
|
|
4192
4203
|
]),
|
|
4193
4204
|
_: 1
|
|
4194
4205
|
})) : y("", !0);
|
|
@@ -4216,8 +4227,8 @@ const Bh = /* @__PURE__ */ j(Wr, [["render", Xr]]), Gr = {
|
|
|
4216
4227
|
}
|
|
4217
4228
|
},
|
|
4218
4229
|
setup(e) {
|
|
4219
|
-
return (s, t) => e.unwrapped ? g(s.$slots, "default", { key: 1 }) : (u(),
|
|
4220
|
-
default:
|
|
4230
|
+
return (s, t) => e.unwrapped ? g(s.$slots, "default", { key: 1 }) : (u(), S(P(e.is), { key: 0 }, {
|
|
4231
|
+
default: k(() => [
|
|
4221
4232
|
g(s.$slots, "default")
|
|
4222
4233
|
]),
|
|
4223
4234
|
_: 3
|
|
@@ -4230,7 +4241,7 @@ function Kr(e, s) {
|
|
|
4230
4241
|
const Rh = /* @__PURE__ */ j(qr, [["render", Kr]]), Zr = {};
|
|
4231
4242
|
function Jr(e, s) {
|
|
4232
4243
|
const t = W("router-view");
|
|
4233
|
-
return u(),
|
|
4244
|
+
return u(), S(t);
|
|
4234
4245
|
}
|
|
4235
4246
|
const Eh = /* @__PURE__ */ j(Zr, [["render", Jr]]), Qr = {
|
|
4236
4247
|
name: "UluPlaceholderImage",
|
|
@@ -4267,8 +4278,8 @@ const Eh = /* @__PURE__ */ j(Zr, [["render", Jr]]), Qr = {
|
|
|
4267
4278
|
size() {
|
|
4268
4279
|
const { random: e, width: s, height: t } = this;
|
|
4269
4280
|
return e ? {
|
|
4270
|
-
width:
|
|
4271
|
-
height:
|
|
4281
|
+
width: rt(500, 1e3),
|
|
4282
|
+
height: rt(500, 1e3)
|
|
4272
4283
|
} : { width: s, height: t };
|
|
4273
4284
|
}
|
|
4274
4285
|
}
|
|
@@ -4293,9 +4304,9 @@ const jh = /* @__PURE__ */ j(Qr, [["render", ti]]), si = {
|
|
|
4293
4304
|
}
|
|
4294
4305
|
};
|
|
4295
4306
|
function ni(e, s, t, n, o, l) {
|
|
4296
|
-
return u(!0), f(
|
|
4297
|
-
default:
|
|
4298
|
-
|
|
4307
|
+
return u(!0), f(B, null, R(parseInt(t.amount), (r) => (u(), S(P(t.element), { key: r }, {
|
|
4308
|
+
default: k(() => [...s[0] || (s[0] = [
|
|
4309
|
+
$(" 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)
|
|
4299
4310
|
])]),
|
|
4300
4311
|
_: 2
|
|
4301
4312
|
}, 1024))), 128);
|
|
@@ -4351,7 +4362,7 @@ function li(e, s, t, n, o, l) {
|
|
|
4351
4362
|
tabindex: "-1",
|
|
4352
4363
|
class: "hidden-visually",
|
|
4353
4364
|
ref: "el"
|
|
4354
|
-
},
|
|
4365
|
+
}, w(l.title), 513)) : y("", !0);
|
|
4355
4366
|
}
|
|
4356
4367
|
const Mh = /* @__PURE__ */ j(oi, [["render", li]]), Ph = {
|
|
4357
4368
|
__name: "UluSanityRichText",
|
|
@@ -4377,12 +4388,12 @@ const Mh = /* @__PURE__ */ j(oi, [["render", li]]), Ph = {
|
|
|
4377
4388
|
})
|
|
4378
4389
|
}
|
|
4379
4390
|
};
|
|
4380
|
-
return (t, n) => e.content?.length ? (u(),
|
|
4391
|
+
return (t, n) => e.content?.length ? (u(), S(Gr, {
|
|
4381
4392
|
key: 0,
|
|
4382
4393
|
class: "wysiwyg",
|
|
4383
4394
|
unwrapped: e.noWrapper
|
|
4384
4395
|
}, {
|
|
4385
|
-
default:
|
|
4396
|
+
default: k(() => [
|
|
4386
4397
|
A(T(ro), {
|
|
4387
4398
|
value: e.content,
|
|
4388
4399
|
components: s
|
|
@@ -4419,7 +4430,7 @@ const Mh = /* @__PURE__ */ j(oi, [["render", li]]), Ph = {
|
|
|
4419
4430
|
function ii(e, s, t, n, o, l) {
|
|
4420
4431
|
return u(), f("span", null, [
|
|
4421
4432
|
g(e.$slots, "default", { currentValue: o.currentValue }, () => [
|
|
4422
|
-
|
|
4433
|
+
$(w(o.currentValue), 1)
|
|
4423
4434
|
])
|
|
4424
4435
|
]);
|
|
4425
4436
|
}
|
|
@@ -4522,7 +4533,7 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4522
4533
|
amountInHeader: Boolean
|
|
4523
4534
|
},
|
|
4524
4535
|
setup(e) {
|
|
4525
|
-
const s = e, t = (r, i) => `${i === 0 ? 0 : r / i * 100}%`, n =
|
|
4536
|
+
const s = e, t = (r, i) => `${i === 0 ? 0 : r / i * 100}%`, n = _(() => s.indeterminate ? null : t(s.amount, s.total)), o = _(() => t(s.deficit, s.total)), l = _(() => ({
|
|
4526
4537
|
"progress-bar": !0,
|
|
4527
4538
|
"progress-bar--small": s.small,
|
|
4528
4539
|
"progress-bar--positive": s.positive,
|
|
@@ -4536,13 +4547,13 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4536
4547
|
class: m(l.value)
|
|
4537
4548
|
}, [
|
|
4538
4549
|
e.label || r.$slots.label || r.$slots.icon || e.amountInHeader ? (u(), f("div", ai, [
|
|
4539
|
-
e.label ? (u(),
|
|
4550
|
+
e.label ? (u(), S(P(e.labelElement), {
|
|
4540
4551
|
key: 0,
|
|
4541
4552
|
class: m(["progress-bar__label", [e.classes.label, { "hidden-visually": e.labelHidden }]])
|
|
4542
4553
|
}, {
|
|
4543
|
-
default:
|
|
4554
|
+
default: k(() => [
|
|
4544
4555
|
g(r.$slots, "label", {}, () => [
|
|
4545
|
-
|
|
4556
|
+
$(w(e.label), 1)
|
|
4546
4557
|
])
|
|
4547
4558
|
]),
|
|
4548
4559
|
_: 3
|
|
@@ -4550,7 +4561,7 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4550
4561
|
e.amountInHeader ? (u(), f("div", ci, [
|
|
4551
4562
|
i[0] || (i[0] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
4552
4563
|
g(r.$slots, "valueAmount", { value: e.amount }, () => [
|
|
4553
|
-
|
|
4564
|
+
$(w(e.formatValue(e.amount, "amount")), 1)
|
|
4554
4565
|
])
|
|
4555
4566
|
])) : y("", !0),
|
|
4556
4567
|
r.$slots.icon ? (u(), f("div", ui, [
|
|
@@ -4572,19 +4583,19 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4572
4583
|
h("div", hi, [
|
|
4573
4584
|
i[1] || (i[1] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
4574
4585
|
g(r.$slots, "valueAmount", { value: e.amount }, () => [
|
|
4575
|
-
|
|
4586
|
+
$(w(e.formatValue(e.amount, "amount")), 1)
|
|
4576
4587
|
])
|
|
4577
4588
|
]),
|
|
4578
4589
|
e.deficit > 0 ? (u(), f("div", mi, [
|
|
4579
4590
|
i[2] || (i[2] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
|
|
4580
4591
|
g(r.$slots, "valueDeficit", { value: e.deficit }, () => [
|
|
4581
|
-
|
|
4592
|
+
$("-" + w(e.formatValue(e.deficit, "deficit")), 1)
|
|
4582
4593
|
])
|
|
4583
4594
|
])) : y("", !0),
|
|
4584
4595
|
h("div", gi, [
|
|
4585
4596
|
i[3] || (i[3] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
|
|
4586
4597
|
g(r.$slots, "valueTotal", { value: e.total }, () => [
|
|
4587
|
-
|
|
4598
|
+
$(w(e.formatValue(e.total, "total")), 1)
|
|
4588
4599
|
])
|
|
4589
4600
|
])
|
|
4590
4601
|
])) : y("", !0)
|
|
@@ -4673,7 +4684,7 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4673
4684
|
}
|
|
4674
4685
|
},
|
|
4675
4686
|
setup(e) {
|
|
4676
|
-
const s = e, t =
|
|
4687
|
+
const s = e, t = E(null), n = (c) => c === 100 ? 101 : c, o = (c = 0) => {
|
|
4677
4688
|
if (!t.value || !t.value.animate) return;
|
|
4678
4689
|
const a = { strokeDasharray: [`${c} 100`, l.value] };
|
|
4679
4690
|
t.value.animate(a, { duration: s.duration, easing: s.easing, fill: "forwards" });
|
|
@@ -4681,7 +4692,7 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4681
4692
|
ye(() => s.percentage, (c, a) => {
|
|
4682
4693
|
c !== a && o(n(a));
|
|
4683
4694
|
});
|
|
4684
|
-
const l =
|
|
4695
|
+
const l = _(() => `${n(s.percentage)} 100`), r = _(() => s.outside || s.outsideBelow || s.small), i = _(() => {
|
|
4685
4696
|
const c = {
|
|
4686
4697
|
"progress-circle": !0,
|
|
4687
4698
|
"progress-circle--small": s.small,
|
|
@@ -4692,12 +4703,12 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4692
4703
|
};
|
|
4693
4704
|
return s.status && (c[`progress-circle--${s.status}`] = !0), c;
|
|
4694
4705
|
});
|
|
4695
|
-
return
|
|
4706
|
+
return mt(() => {
|
|
4696
4707
|
o();
|
|
4697
4708
|
}), (c, a) => (u(), f("div", {
|
|
4698
4709
|
class: m(i.value)
|
|
4699
4710
|
}, [
|
|
4700
|
-
h("strong", vi,
|
|
4711
|
+
h("strong", vi, w(e.label), 1),
|
|
4701
4712
|
h("div", pi, [
|
|
4702
4713
|
(u(), f("svg", yi, [
|
|
4703
4714
|
a[0] || (a[0] = h("circle", {
|
|
@@ -4723,13 +4734,13 @@ const zh = /* @__PURE__ */ j(ri, [["render", ii]]), ai = {
|
|
|
4723
4734
|
])),
|
|
4724
4735
|
!r.value && !e.noValue ? (u(), f("strong", bi, [
|
|
4725
4736
|
g(c.$slots, "value", { value: e.percentage }, () => [
|
|
4726
|
-
|
|
4737
|
+
$(w(e.formatValue(e.percentage)), 1)
|
|
4727
4738
|
])
|
|
4728
4739
|
])) : y("", !0)
|
|
4729
4740
|
]),
|
|
4730
4741
|
r.value && !e.noValue ? (u(), f("strong", _i, [
|
|
4731
4742
|
g(c.$slots, "value", { value: e.percentage }, () => [
|
|
4732
|
-
|
|
4743
|
+
$(w(e.formatValue(e.percentage)), 1)
|
|
4733
4744
|
])
|
|
4734
4745
|
])) : y("", !0)
|
|
4735
4746
|
], 2));
|
|
@@ -4742,7 +4753,7 @@ function wi(e) {
|
|
|
4742
4753
|
s.add(n);
|
|
4743
4754
|
return s;
|
|
4744
4755
|
}
|
|
4745
|
-
function
|
|
4756
|
+
function Lt(e) {
|
|
4746
4757
|
if (!e || e.length === 0) return /* @__PURE__ */ new Set();
|
|
4747
4758
|
const s = e.sort((n, o) => n.size - o.size), t = new Set(s[0]);
|
|
4748
4759
|
for (let n = 1; n < s.length; n++) {
|
|
@@ -4752,7 +4763,7 @@ function Ft(e) {
|
|
|
4752
4763
|
}
|
|
4753
4764
|
return t;
|
|
4754
4765
|
}
|
|
4755
|
-
function
|
|
4766
|
+
function Ut(e, s, t) {
|
|
4756
4767
|
if (!e || e.length === 0)
|
|
4757
4768
|
return t;
|
|
4758
4769
|
const n = e.map((o) => {
|
|
@@ -4760,9 +4771,9 @@ function xt(e, s, t) {
|
|
|
4760
4771
|
const i = `${o.uid}:${r.uid}`;
|
|
4761
4772
|
return s.get(i) || /* @__PURE__ */ new Set();
|
|
4762
4773
|
});
|
|
4763
|
-
return o.match === "all" ?
|
|
4774
|
+
return o.match === "all" ? Lt(l) : wi(l);
|
|
4764
4775
|
});
|
|
4765
|
-
return
|
|
4776
|
+
return Lt(n);
|
|
4766
4777
|
}
|
|
4767
4778
|
function Si(e, s) {
|
|
4768
4779
|
return !s || !Array.isArray(s) ? [] : s.map((t) => {
|
|
@@ -4783,8 +4794,8 @@ function Si(e, s) {
|
|
|
4783
4794
|
});
|
|
4784
4795
|
}
|
|
4785
4796
|
function Vh(e, s = {}) {
|
|
4786
|
-
const t = (
|
|
4787
|
-
const L =
|
|
4797
|
+
const t = (x, I) => {
|
|
4798
|
+
const L = x[I];
|
|
4788
4799
|
return L === null || typeof L > "u" ? [] : Array.isArray(L) ? L : [L];
|
|
4789
4800
|
}, {
|
|
4790
4801
|
initialFacets: n,
|
|
@@ -4795,18 +4806,18 @@ function Vh(e, s = {}) {
|
|
|
4795
4806
|
extraSortTypes: c = {},
|
|
4796
4807
|
searchOptions: a = {},
|
|
4797
4808
|
getItemFacet: d = t,
|
|
4798
|
-
getSortValue:
|
|
4799
|
-
countMode:
|
|
4809
|
+
getSortValue: v = (x) => x.title || x.label || "",
|
|
4810
|
+
countMode: p = "none"
|
|
4800
4811
|
// 'none', 'simple', 'intuitive'
|
|
4801
|
-
} = s,
|
|
4802
|
-
const
|
|
4803
|
-
return
|
|
4804
|
-
}),
|
|
4805
|
-
az: { text: "A-Z", sort:
|
|
4806
|
-
za: { text: "Z-A", sort: (
|
|
4812
|
+
} = s, b = (x) => x.sort((I, L) => {
|
|
4813
|
+
const M = v(I), H = v(L);
|
|
4814
|
+
return M && H ? String(M).localeCompare(String(H)) : M ? -1 : H ? 1 : 0;
|
|
4815
|
+
}), C = {
|
|
4816
|
+
az: { text: "A-Z", sort: b },
|
|
4817
|
+
za: { text: "Z-A", sort: (x) => b(x).reverse() }
|
|
4807
4818
|
};
|
|
4808
|
-
function
|
|
4809
|
-
return (
|
|
4819
|
+
function O(x) {
|
|
4820
|
+
return (x || []).map((I) => ({
|
|
4810
4821
|
...I,
|
|
4811
4822
|
open: I.open || !1,
|
|
4812
4823
|
children: I.children.map((L) => ({
|
|
@@ -4816,115 +4827,115 @@ function Vh(e, s = {}) {
|
|
|
4816
4827
|
selectedCount: 0
|
|
4817
4828
|
}));
|
|
4818
4829
|
}
|
|
4819
|
-
const
|
|
4820
|
-
...i ? {} :
|
|
4830
|
+
const U = E([]), q = E(l), Z = E(r), z = _(() => !o || !e.value?.length ? null : Si(e.value, o)), J = _(() => ({
|
|
4831
|
+
...i ? {} : C,
|
|
4821
4832
|
...c
|
|
4822
|
-
})),
|
|
4823
|
-
const
|
|
4824
|
-
if (!I || !o) return
|
|
4825
|
-
const L = new Map(o.map((
|
|
4826
|
-
const H =
|
|
4827
|
-
return [
|
|
4833
|
+
})), ce = _(() => {
|
|
4834
|
+
const x = /* @__PURE__ */ new Map(), I = ne.value;
|
|
4835
|
+
if (!I || !o) return x;
|
|
4836
|
+
const L = new Map(o.map((M) => {
|
|
4837
|
+
const H = M.getValue || ((X) => X[M.uid]);
|
|
4838
|
+
return [M.uid, H];
|
|
4828
4839
|
}));
|
|
4829
|
-
for (let
|
|
4830
|
-
const H = I[
|
|
4840
|
+
for (let M = 0; M < I.length; M++) {
|
|
4841
|
+
const H = I[M];
|
|
4831
4842
|
for (const X of o) {
|
|
4832
|
-
const
|
|
4833
|
-
for (const
|
|
4834
|
-
const Fe = `${X.uid}:${
|
|
4835
|
-
|
|
4843
|
+
const G = L.get(X.uid)(H), te = Array.isArray(G) ? G : G ? [G] : [];
|
|
4844
|
+
for (const tt of te) {
|
|
4845
|
+
const Fe = `${X.uid}:${tt}`;
|
|
4846
|
+
x.has(Fe) || x.set(Fe, /* @__PURE__ */ new Set()), x.get(Fe).add(M);
|
|
4836
4847
|
}
|
|
4837
4848
|
}
|
|
4838
4849
|
}
|
|
4839
|
-
return
|
|
4840
|
-
}),
|
|
4850
|
+
return x;
|
|
4851
|
+
}), et = _(() => ({
|
|
4841
4852
|
shouldSort: !0,
|
|
4842
4853
|
keys: ["title", "label", "description", "author"],
|
|
4843
4854
|
...a
|
|
4844
|
-
})),
|
|
4845
|
-
const
|
|
4846
|
-
return
|
|
4847
|
-
const L = I.children.filter((
|
|
4848
|
-
L.length > 0 &&
|
|
4849
|
-
}),
|
|
4850
|
-
}),
|
|
4851
|
-
if (!
|
|
4852
|
-
return
|
|
4853
|
-
const
|
|
4854
|
-
if (
|
|
4855
|
+
})), ne = _(() => q.value?.length ? new ao(e.value, et.value).search(q.value).map((I) => I.item) : e.value), ee = _(() => {
|
|
4856
|
+
const x = [];
|
|
4857
|
+
return U.value.forEach((I) => {
|
|
4858
|
+
const L = I.children.filter((M) => M.selected);
|
|
4859
|
+
L.length > 0 && x.push({ ...I, children: L });
|
|
4860
|
+
}), x;
|
|
4861
|
+
}), ue = _(() => {
|
|
4862
|
+
if (!ee.value.length)
|
|
4863
|
+
return ne.value;
|
|
4864
|
+
const x = ce.value;
|
|
4865
|
+
if (x.size === 0 && ne.value.length > 0 && o?.length > 0)
|
|
4855
4866
|
return [];
|
|
4856
|
-
const I = new Set(
|
|
4867
|
+
const I = new Set(ne.value.map((H, X) => X)), L = Ut(ee.value, x, I), M = [];
|
|
4857
4868
|
for (const H of L)
|
|
4858
|
-
|
|
4859
|
-
return
|
|
4860
|
-
}),
|
|
4861
|
-
const
|
|
4862
|
-
return typeof
|
|
4869
|
+
M.push(ne.value[H]);
|
|
4870
|
+
return M;
|
|
4871
|
+
}), Te = _(() => {
|
|
4872
|
+
const x = J.value[Z.value]?.sort;
|
|
4873
|
+
return typeof x != "function" ? ue.value : x([...ue.value]);
|
|
4863
4874
|
});
|
|
4864
|
-
function
|
|
4865
|
-
|
|
4866
|
-
|
|
4875
|
+
function rs() {
|
|
4876
|
+
U.value.forEach((x) => {
|
|
4877
|
+
x.children && x.children.forEach((I) => I.selected = !1), x.selectedCount = 0;
|
|
4867
4878
|
});
|
|
4868
4879
|
}
|
|
4869
|
-
function xn({ groupUid:
|
|
4870
|
-
const
|
|
4871
|
-
if (
|
|
4872
|
-
!
|
|
4880
|
+
function xn({ groupUid: x, facetUid: I, selected: L }) {
|
|
4881
|
+
const M = U.value.find((H) => H.uid === x);
|
|
4882
|
+
if (M) {
|
|
4883
|
+
!M.multiple && L && M.children.forEach((X) => {
|
|
4873
4884
|
X.uid !== I && (X.selected = !1);
|
|
4874
4885
|
});
|
|
4875
|
-
const H =
|
|
4876
|
-
H && (H.selected = L),
|
|
4886
|
+
const H = M.children.find((X) => X.uid === I);
|
|
4887
|
+
H && (H.selected = L), M.selectedCount = M.children.filter((X) => X.selected).length;
|
|
4877
4888
|
}
|
|
4878
4889
|
}
|
|
4879
|
-
return ye(
|
|
4880
|
-
const I =
|
|
4890
|
+
return ye(z, (x) => {
|
|
4891
|
+
const I = O(n || x);
|
|
4881
4892
|
I.forEach((L) => {
|
|
4882
|
-
L.selectedCount = L.children.filter((
|
|
4883
|
-
}),
|
|
4884
|
-
}, { immediate: !0 }), ye([
|
|
4885
|
-
if (!(
|
|
4886
|
-
if (
|
|
4887
|
-
|
|
4888
|
-
const X =
|
|
4889
|
-
H.children.forEach((
|
|
4890
|
-
|
|
4893
|
+
L.selectedCount = L.children.filter((M) => M.selected).length;
|
|
4894
|
+
}), U.value = I;
|
|
4895
|
+
}, { immediate: !0 }), ye([ee, ne], ([x, I], [L, M]) => {
|
|
4896
|
+
if (!(p === "none" || !U.value.length) && !(x === L && I === M)) {
|
|
4897
|
+
if (p === "simple")
|
|
4898
|
+
U.value.forEach((H) => {
|
|
4899
|
+
const X = x.filter((G) => G.uid !== H.uid), ze = getFilteredItems(I, X);
|
|
4900
|
+
H.children.forEach((G) => {
|
|
4901
|
+
G.count = ze.filter((te) => d(te, H.uid).includes(G.uid)).length;
|
|
4891
4902
|
});
|
|
4892
4903
|
});
|
|
4893
|
-
else if (
|
|
4894
|
-
const H =
|
|
4895
|
-
if (H.size === 0 &&
|
|
4904
|
+
else if (p === "intuitive") {
|
|
4905
|
+
const H = ce.value;
|
|
4906
|
+
if (H.size === 0 && ne.value.length > 0 && o?.length > 0)
|
|
4896
4907
|
return;
|
|
4897
|
-
const X = new Set(
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
const
|
|
4901
|
-
if (
|
|
4902
|
-
if (
|
|
4903
|
-
const
|
|
4904
|
-
|
|
4908
|
+
const X = new Set(ne.value.map((G, te) => te)), ze = Ut(x, H, X);
|
|
4909
|
+
U.value.forEach((G) => {
|
|
4910
|
+
G.children.forEach((te) => {
|
|
4911
|
+
const tt = `${G.uid}:${te.uid}`, Fe = H.get(tt) || /* @__PURE__ */ new Set();
|
|
4912
|
+
if (te.selected)
|
|
4913
|
+
if (G.multiple) {
|
|
4914
|
+
const Ae = Lt([ze, Fe]);
|
|
4915
|
+
te.count = Ae.size;
|
|
4905
4916
|
} else
|
|
4906
|
-
|
|
4917
|
+
te.count = ze.size;
|
|
4907
4918
|
else {
|
|
4908
|
-
const
|
|
4909
|
-
for (const
|
|
4910
|
-
|
|
4911
|
-
let Le =
|
|
4912
|
-
Le || (Le = { ...
|
|
4913
|
-
const Un =
|
|
4914
|
-
|
|
4919
|
+
const Ae = [];
|
|
4920
|
+
for (const st of x)
|
|
4921
|
+
Ae.push({ ...st, children: [...st.children] });
|
|
4922
|
+
let Le = Ae.find((st) => st.uid === G.uid);
|
|
4923
|
+
Le || (Le = { ...G, children: [] }, Ae.push(Le)), G.multiple ? Le.children.push(te) : Le.children = [te];
|
|
4924
|
+
const Un = Ut(Ae, H, X);
|
|
4925
|
+
te.count = Un.size;
|
|
4915
4926
|
}
|
|
4916
4927
|
});
|
|
4917
4928
|
});
|
|
4918
4929
|
}
|
|
4919
4930
|
}
|
|
4920
4931
|
}, { deep: !0, immediate: !0 }), {
|
|
4921
|
-
facets:
|
|
4922
|
-
searchValue:
|
|
4923
|
-
selectedSort:
|
|
4924
|
-
sortTypes:
|
|
4925
|
-
displayItems:
|
|
4926
|
-
selectedFacets:
|
|
4927
|
-
clearFilters:
|
|
4932
|
+
facets: U,
|
|
4933
|
+
searchValue: q,
|
|
4934
|
+
selectedSort: Z,
|
|
4935
|
+
sortTypes: J,
|
|
4936
|
+
displayItems: Te,
|
|
4937
|
+
selectedFacets: ee,
|
|
4938
|
+
clearFilters: rs,
|
|
4928
4939
|
handleFacetChange: xn
|
|
4929
4940
|
};
|
|
4930
4941
|
}
|
|
@@ -4971,7 +4982,7 @@ const ki = ["onClick"], Hh = {
|
|
|
4971
4982
|
},
|
|
4972
4983
|
emits: ["facet-change", "clear-filters"],
|
|
4973
4984
|
setup(e, { emit: s }) {
|
|
4974
|
-
const t = e, n = s, o =
|
|
4985
|
+
const t = e, n = s, o = _(() => {
|
|
4975
4986
|
const i = [];
|
|
4976
4987
|
return t.selectedFacets.forEach((c) => {
|
|
4977
4988
|
c.children.forEach((a) => {
|
|
@@ -4996,12 +5007,12 @@ const ki = ["onClick"], Hh = {
|
|
|
4996
5007
|
key: 0,
|
|
4997
5008
|
class: m(["facets-active", e.classes.container])
|
|
4998
5009
|
}, [
|
|
4999
|
-
(u(),
|
|
5010
|
+
(u(), S(P(e.labelElement), {
|
|
5000
5011
|
class: m(["facets-active__label", e.classes.label])
|
|
5001
5012
|
}, {
|
|
5002
|
-
default:
|
|
5013
|
+
default: k(() => [
|
|
5003
5014
|
g(i.$slots, "label", {}, () => [
|
|
5004
|
-
c[0] || (c[0] =
|
|
5015
|
+
c[0] || (c[0] = $(" Active Filters: ", -1))
|
|
5005
5016
|
])
|
|
5006
5017
|
]),
|
|
5007
5018
|
_: 3
|
|
@@ -5009,7 +5020,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5009
5020
|
h("ul", {
|
|
5010
5021
|
class: m(["facets-active__list", e.classes.list])
|
|
5011
5022
|
}, [
|
|
5012
|
-
(u(!0), f(
|
|
5023
|
+
(u(!0), f(B, null, R(o.value, (a) => (u(), f("li", {
|
|
5013
5024
|
class: m(["facets-active__item", e.classes.item]),
|
|
5014
5025
|
key: `${a.groupUid}-${a.uid}`
|
|
5015
5026
|
}, [
|
|
@@ -5022,7 +5033,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5022
5033
|
class: m(e.classes.filterButtonText)
|
|
5023
5034
|
}, [
|
|
5024
5035
|
c[1] || (c[1] = h("span", { class: "hidden-visually" }, "Remove Active Filter:", -1)),
|
|
5025
|
-
|
|
5036
|
+
$(" " + w(a.label), 1)
|
|
5026
5037
|
], 2),
|
|
5027
5038
|
h("span", {
|
|
5028
5039
|
class: m(e.classes.filterButtonIcon)
|
|
@@ -5038,7 +5049,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5038
5049
|
}, "Clear All", 2)
|
|
5039
5050
|
], 2)) : y("", !0);
|
|
5040
5051
|
}
|
|
5041
|
-
}, $i = { key: 0 },
|
|
5052
|
+
}, $i = { key: 0 }, ct = {
|
|
5042
5053
|
__name: "UluFacetsList",
|
|
5043
5054
|
props: {
|
|
5044
5055
|
groupUid: String,
|
|
@@ -5053,7 +5064,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5053
5064
|
},
|
|
5054
5065
|
emits: ["facet-change"],
|
|
5055
5066
|
setup(e, { emit: s }) {
|
|
5056
|
-
const t = e, n = s, o =
|
|
5067
|
+
const t = e, n = s, o = _(() => t.type === "radio" ? [{ label: `All ${t.groupName}s`, uid: "" }, ...t.children] : t.children);
|
|
5057
5068
|
function l(r) {
|
|
5058
5069
|
if (t.type === "radio") {
|
|
5059
5070
|
const i = r;
|
|
@@ -5077,7 +5088,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5077
5088
|
});
|
|
5078
5089
|
}
|
|
5079
5090
|
}
|
|
5080
|
-
return (r, i) => (u(),
|
|
5091
|
+
return (r, i) => (u(), S(un, {
|
|
5081
5092
|
class: "facets-list",
|
|
5082
5093
|
legend: e.groupUid,
|
|
5083
5094
|
type: e.type,
|
|
@@ -5086,9 +5097,9 @@ const ki = ["onClick"], Hh = {
|
|
|
5086
5097
|
"model-value": e.modelValue,
|
|
5087
5098
|
"onUpdate:modelValue": l
|
|
5088
5099
|
}, {
|
|
5089
|
-
default:
|
|
5090
|
-
|
|
5091
|
-
c.count !== void 0 ? (u(), f("span", $i, "(" +
|
|
5100
|
+
default: k(({ option: c }) => [
|
|
5101
|
+
$(w(c.label) + " ", 1),
|
|
5102
|
+
c.count !== void 0 ? (u(), f("span", $i, "(" + w(c.count) + ")", 1)) : y("", !0)
|
|
5092
5103
|
]),
|
|
5093
5104
|
_: 1
|
|
5094
5105
|
}, 8, ["legend", "type", "options", "compact", "model-value"]));
|
|
@@ -5126,7 +5137,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5126
5137
|
setup(e, { emit: s }) {
|
|
5127
5138
|
const t = s, n = (o) => o.multiple ? o.children.filter((l) => l.selected).map((l) => l.uid) : o.children.find((l) => l.selected)?.uid || "";
|
|
5128
5139
|
return (o, l) => (u(), f("div", Ci, [
|
|
5129
|
-
(u(!0), f(
|
|
5140
|
+
(u(!0), f(B, null, R(e.facets, (r) => (u(), S(zt, {
|
|
5130
5141
|
key: r.uid,
|
|
5131
5142
|
classes: {
|
|
5132
5143
|
container: ["facets-filters__group", e.classes.group],
|
|
@@ -5137,16 +5148,16 @@ const ki = ["onClick"], Hh = {
|
|
|
5137
5148
|
},
|
|
5138
5149
|
startOpen: r.open
|
|
5139
5150
|
}, {
|
|
5140
|
-
trigger:
|
|
5151
|
+
trigger: k(({ isOpen: i }) => [
|
|
5141
5152
|
g(o.$slots, "groupTrigger", {
|
|
5142
5153
|
group: r,
|
|
5143
5154
|
isOpen: i
|
|
5144
5155
|
}, () => [
|
|
5145
|
-
|
|
5156
|
+
$(w(r.name), 1)
|
|
5146
5157
|
])
|
|
5147
5158
|
]),
|
|
5148
|
-
default:
|
|
5149
|
-
A(
|
|
5159
|
+
default: k(() => [
|
|
5160
|
+
A(ct, {
|
|
5150
5161
|
children: r.children.slice(0, e.maxVisible),
|
|
5151
5162
|
groupUid: r.uid,
|
|
5152
5163
|
groupName: r.name,
|
|
@@ -5155,15 +5166,15 @@ const ki = ["onClick"], Hh = {
|
|
|
5155
5166
|
"model-value": n(r),
|
|
5156
5167
|
onFacetChange: l[0] || (l[0] = (i) => t("facet-change", i))
|
|
5157
5168
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5158
|
-
r.children.length > e.maxVisible ? (u(),
|
|
5169
|
+
r.children.length > e.maxVisible ? (u(), S(zt, {
|
|
5159
5170
|
key: 0,
|
|
5160
5171
|
class: m(["facets-filters__more-facets", e.classes.moreFacets])
|
|
5161
5172
|
}, {
|
|
5162
|
-
trigger:
|
|
5163
|
-
|
|
5173
|
+
trigger: k(({ isOpen: i }) => [
|
|
5174
|
+
$(w(i ? "View Less" : "Show More"), 1)
|
|
5164
5175
|
]),
|
|
5165
|
-
default:
|
|
5166
|
-
A(
|
|
5176
|
+
default: k(() => [
|
|
5177
|
+
A(ct, {
|
|
5167
5178
|
children: r.children.slice(e.maxVisible),
|
|
5168
5179
|
groupUid: r.uid,
|
|
5169
5180
|
groupName: r.name,
|
|
@@ -5217,21 +5228,21 @@ const ki = ["onClick"], Hh = {
|
|
|
5217
5228
|
setup(e, { emit: s }) {
|
|
5218
5229
|
const t = s, n = (o) => o.multiple ? o.children.filter((l) => l.selected).map((l) => l.uid) : o.children.find((l) => l.selected)?.uid || "";
|
|
5219
5230
|
return (o, l) => (u(), f("div", Ti, [
|
|
5220
|
-
(u(!0), f(
|
|
5231
|
+
(u(!0), f(B, null, R(e.facets, (r) => (u(), S(ms, {
|
|
5221
5232
|
key: r.uid,
|
|
5222
5233
|
modifiers: e.accordionModifiers,
|
|
5223
5234
|
startOpen: r.open
|
|
5224
5235
|
}, {
|
|
5225
|
-
trigger:
|
|
5236
|
+
trigger: k(({ isOpen: i }) => [
|
|
5226
5237
|
g(o.$slots, "groupTrigger", {
|
|
5227
5238
|
group: r,
|
|
5228
5239
|
isOpen: i
|
|
5229
5240
|
}, () => [
|
|
5230
|
-
|
|
5241
|
+
$(w(r.name), 1)
|
|
5231
5242
|
])
|
|
5232
5243
|
]),
|
|
5233
|
-
default:
|
|
5234
|
-
A(
|
|
5244
|
+
default: k(() => [
|
|
5245
|
+
A(ct, {
|
|
5235
5246
|
children: r.children.slice(0, e.maxVisible),
|
|
5236
5247
|
groupUid: r.uid,
|
|
5237
5248
|
groupName: r.name,
|
|
@@ -5240,16 +5251,16 @@ const ki = ["onClick"], Hh = {
|
|
|
5240
5251
|
"model-value": n(r),
|
|
5241
5252
|
onFacetChange: l[0] || (l[0] = (i) => t("facet-change", i))
|
|
5242
5253
|
}, null, 8, ["children", "groupUid", "groupName", "type", "compact", "model-value"]),
|
|
5243
|
-
r.children.length > e.maxVisible ? (u(),
|
|
5254
|
+
r.children.length > e.maxVisible ? (u(), S(ms, {
|
|
5244
5255
|
key: 0,
|
|
5245
5256
|
class: m(["facets-filters__more-facets", e.classes.moreFacets]),
|
|
5246
5257
|
modifiers: e.accordionModifiers
|
|
5247
5258
|
}, {
|
|
5248
|
-
trigger:
|
|
5249
|
-
|
|
5259
|
+
trigger: k(({ isOpen: i }) => [
|
|
5260
|
+
$(w(i ? "View Less" : "Show More"), 1)
|
|
5250
5261
|
]),
|
|
5251
|
-
default:
|
|
5252
|
-
A(
|
|
5262
|
+
default: k(() => [
|
|
5263
|
+
A(ct, {
|
|
5253
5264
|
children: r.children.slice(e.maxVisible),
|
|
5254
5265
|
groupUid: r.uid,
|
|
5255
5266
|
groupName: r.name,
|
|
@@ -5303,22 +5314,22 @@ const ki = ["onClick"], Hh = {
|
|
|
5303
5314
|
function r(i, c, a) {
|
|
5304
5315
|
if (i.multiple) {
|
|
5305
5316
|
const d = new Set(c);
|
|
5306
|
-
i.children.forEach((
|
|
5307
|
-
const
|
|
5308
|
-
|
|
5317
|
+
i.children.forEach((v) => {
|
|
5318
|
+
const p = d.has(v.uid);
|
|
5319
|
+
v.selected !== p && t("facet-change", {
|
|
5309
5320
|
groupUid: i.uid,
|
|
5310
|
-
facetUid:
|
|
5311
|
-
selected:
|
|
5321
|
+
facetUid: v.uid,
|
|
5322
|
+
selected: p
|
|
5312
5323
|
});
|
|
5313
5324
|
});
|
|
5314
5325
|
} else {
|
|
5315
5326
|
const d = c;
|
|
5316
|
-
i.children.forEach((
|
|
5317
|
-
const
|
|
5318
|
-
|
|
5327
|
+
i.children.forEach((v) => {
|
|
5328
|
+
const p = v.uid === d;
|
|
5329
|
+
v.selected !== p && t("facet-change", {
|
|
5319
5330
|
groupUid: i.uid,
|
|
5320
|
-
facetUid:
|
|
5321
|
-
selected:
|
|
5331
|
+
facetUid: v.uid,
|
|
5332
|
+
selected: p
|
|
5322
5333
|
});
|
|
5323
5334
|
}), a();
|
|
5324
5335
|
}
|
|
@@ -5326,24 +5337,24 @@ const ki = ["onClick"], Hh = {
|
|
|
5326
5337
|
return (i, c) => (u(), f("div", {
|
|
5327
5338
|
class: m(e.classes.container)
|
|
5328
5339
|
}, [
|
|
5329
|
-
(u(!0), f(
|
|
5340
|
+
(u(!0), f(B, null, R(e.facets, (a) => (u(), f("div", {
|
|
5330
5341
|
key: a.uid,
|
|
5331
5342
|
class: m(e.classes.group)
|
|
5332
5343
|
}, [
|
|
5333
|
-
A(
|
|
5344
|
+
A(gt, {
|
|
5334
5345
|
classes: {
|
|
5335
5346
|
trigger: e.classes.trigger,
|
|
5336
5347
|
content: e.classes.content
|
|
5337
5348
|
}
|
|
5338
5349
|
}, {
|
|
5339
|
-
trigger:
|
|
5350
|
+
trigger: k(() => [
|
|
5340
5351
|
g(i.$slots, "trigger", {
|
|
5341
5352
|
group: a,
|
|
5342
5353
|
label: l(a)
|
|
5343
5354
|
}, () => [
|
|
5344
5355
|
h("span", null, [
|
|
5345
|
-
|
|
5346
|
-
h("strong", null,
|
|
5356
|
+
$(w(a.name) + ": ", 1),
|
|
5357
|
+
h("strong", null, w(l(a)), 1)
|
|
5347
5358
|
])
|
|
5348
5359
|
]),
|
|
5349
5360
|
A(N, {
|
|
@@ -5351,13 +5362,13 @@ const ki = ["onClick"], Hh = {
|
|
|
5351
5362
|
icon: "fas fa-chevron-down"
|
|
5352
5363
|
}, null, 8, ["class"])
|
|
5353
5364
|
]),
|
|
5354
|
-
default:
|
|
5355
|
-
A(
|
|
5365
|
+
default: k(({ close: d }) => [
|
|
5366
|
+
A(un, {
|
|
5356
5367
|
legend: a.name,
|
|
5357
5368
|
type: a.multiple ? "checkbox" : "radio",
|
|
5358
5369
|
options: n(a),
|
|
5359
5370
|
"model-value": o(a),
|
|
5360
|
-
"onUpdate:modelValue": (
|
|
5371
|
+
"onUpdate:modelValue": (v) => r(a, v, d),
|
|
5361
5372
|
hideInputs: e.hideInputs
|
|
5362
5373
|
}, null, 8, ["legend", "type", "options", "model-value", "onUpdate:modelValue", "hideInputs"])
|
|
5363
5374
|
]),
|
|
@@ -5389,25 +5400,25 @@ const ki = ["onClick"], Hh = {
|
|
|
5389
5400
|
});
|
|
5390
5401
|
}
|
|
5391
5402
|
return (o, l) => (u(), f("div", Ai, [
|
|
5392
|
-
(u(!0), f(
|
|
5403
|
+
(u(!0), f(B, null, R(e.facets, (r) => (u(), f("div", {
|
|
5393
5404
|
class: "facets-dropdown-filters__group",
|
|
5394
5405
|
key: r.uid
|
|
5395
5406
|
}, [
|
|
5396
5407
|
h("label", {
|
|
5397
5408
|
for: `facet-dropdown-${r.uid}`,
|
|
5398
5409
|
class: "facets-dropdown-filters__label"
|
|
5399
|
-
},
|
|
5410
|
+
}, w(r.name), 9, Oi),
|
|
5400
5411
|
h("select", {
|
|
5401
5412
|
id: `facet-dropdown-${r.uid}`,
|
|
5402
5413
|
class: "facets-dropdown-filters__select",
|
|
5403
5414
|
onChange: (i) => n(r, i)
|
|
5404
5415
|
}, [
|
|
5405
|
-
h("option", Ui, "All " +
|
|
5406
|
-
(u(!0), f(
|
|
5416
|
+
h("option", Ui, "All " + w(r.name) + "s", 1),
|
|
5417
|
+
(u(!0), f(B, null, R(r.children, (i) => (u(), f("option", {
|
|
5407
5418
|
key: i.uid,
|
|
5408
5419
|
value: i.uid,
|
|
5409
5420
|
selected: i.selected
|
|
5410
|
-
},
|
|
5421
|
+
}, w(i.label), 9, Bi))), 128))
|
|
5411
5422
|
], 40, xi)
|
|
5412
5423
|
]))), 128))
|
|
5413
5424
|
]));
|
|
@@ -5449,14 +5460,14 @@ const ki = ["onClick"], Hh = {
|
|
|
5449
5460
|
},
|
|
5450
5461
|
setup(e) {
|
|
5451
5462
|
return (s, t) => (u(), f("div", Ii, [
|
|
5452
|
-
e.items.length ? (u(),
|
|
5463
|
+
e.items.length ? (u(), S(Ns, {
|
|
5453
5464
|
key: 0,
|
|
5454
5465
|
tag: e.tag,
|
|
5455
5466
|
name: e.transitionName,
|
|
5456
5467
|
class: m(["facets-results__list", e.classes.list])
|
|
5457
5468
|
}, {
|
|
5458
|
-
default:
|
|
5459
|
-
(u(!0), f(
|
|
5469
|
+
default: k(() => [
|
|
5470
|
+
(u(!0), f(B, null, R(e.items, (n, o) => (u(), f("li", {
|
|
5460
5471
|
class: m(["facets-results__item", e.classes.item]),
|
|
5461
5472
|
key: n.id || o
|
|
5462
5473
|
}, [
|
|
@@ -5491,7 +5502,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5491
5502
|
setup(e, { emit: s }) {
|
|
5492
5503
|
const t = e, n = s;
|
|
5493
5504
|
let o = 0;
|
|
5494
|
-
const l = `facet-view-keyword-${++o}`, r =
|
|
5505
|
+
const l = `facet-view-keyword-${++o}`, r = _({
|
|
5495
5506
|
get() {
|
|
5496
5507
|
return t.modelValue;
|
|
5497
5508
|
},
|
|
@@ -5506,7 +5517,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5506
5517
|
}, [...c[1] || (c[1] = [
|
|
5507
5518
|
h("strong", null, "Search", -1)
|
|
5508
5519
|
])], 2),
|
|
5509
|
-
|
|
5520
|
+
Be(h("input", {
|
|
5510
5521
|
id: l,
|
|
5511
5522
|
class: m(e.classes.searchInput),
|
|
5512
5523
|
"onUpdate:modelValue": c[0] || (c[0] = (a) => r.value = a),
|
|
@@ -5537,34 +5548,34 @@ const ki = ["onClick"], Hh = {
|
|
|
5537
5548
|
}
|
|
5538
5549
|
},
|
|
5539
5550
|
setup(e) {
|
|
5540
|
-
const s =
|
|
5551
|
+
const s = E(!1), t = dt("uluIsMobile"), n = E(null), o = E(null), l = _(() => t.value ? o.value : n.value);
|
|
5541
5552
|
return (r, i) => (u(), f("div", {
|
|
5542
5553
|
class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": T(t) }])
|
|
5543
5554
|
}, [
|
|
5544
5555
|
h("div", Fi, [
|
|
5545
5556
|
g(r.$slots, "header")
|
|
5546
5557
|
]),
|
|
5547
|
-
|
|
5558
|
+
Be(h("div", Li, [
|
|
5548
5559
|
h("button", {
|
|
5549
5560
|
class: m(e.classes.mobileButton),
|
|
5550
5561
|
onClick: i[0] || (i[0] = (c) => s.value = !0)
|
|
5551
|
-
},
|
|
5562
|
+
}, w(e.mobileButtonText), 3)
|
|
5552
5563
|
], 512), [
|
|
5553
|
-
[
|
|
5564
|
+
[jt, T(t)]
|
|
5554
5565
|
]),
|
|
5555
5566
|
h("div", Vi, [
|
|
5556
|
-
|
|
5567
|
+
Be(h("div", {
|
|
5557
5568
|
class: "facets-sidebar__sidebar",
|
|
5558
5569
|
ref_key: "desktopTarget",
|
|
5559
5570
|
ref: n
|
|
5560
5571
|
}, null, 512), [
|
|
5561
|
-
[
|
|
5572
|
+
[jt, !T(t)]
|
|
5562
5573
|
]),
|
|
5563
5574
|
h("div", Hi, [
|
|
5564
5575
|
g(r.$slots, "main")
|
|
5565
5576
|
])
|
|
5566
5577
|
]),
|
|
5567
|
-
T(t) ? (u(),
|
|
5578
|
+
T(t) ? (u(), S(Ks, {
|
|
5568
5579
|
key: 0,
|
|
5569
5580
|
modelValue: s.value,
|
|
5570
5581
|
"onUpdate:modelValue": i[1] || (i[1] = (c) => s.value = c),
|
|
@@ -5572,7 +5583,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5572
5583
|
title: "Filters & Sort",
|
|
5573
5584
|
allowResize: ""
|
|
5574
5585
|
}, {
|
|
5575
|
-
default:
|
|
5586
|
+
default: k(() => [
|
|
5576
5587
|
h("div", {
|
|
5577
5588
|
class: "facets-sidebar__sidebar",
|
|
5578
5589
|
ref_key: "mobileTarget",
|
|
@@ -5581,7 +5592,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5581
5592
|
]),
|
|
5582
5593
|
_: 1
|
|
5583
5594
|
}, 8, ["modelValue"])) : y("", !0),
|
|
5584
|
-
l.value ? (u(),
|
|
5595
|
+
l.value ? (u(), S(ft, {
|
|
5585
5596
|
key: 1,
|
|
5586
5597
|
to: l.value
|
|
5587
5598
|
}, [
|
|
@@ -5608,7 +5619,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5608
5619
|
emits: ["update:modelValue"],
|
|
5609
5620
|
setup(e, { emit: s }) {
|
|
5610
5621
|
let t = 0;
|
|
5611
|
-
const n = s, o =
|
|
5622
|
+
const n = s, o = E(`ulu-facet-sort-${++t}`);
|
|
5612
5623
|
return (l, r) => (u(), f("div", {
|
|
5613
5624
|
class: m(["facets-sort", e.classes.sortForm])
|
|
5614
5625
|
}, [
|
|
@@ -5617,7 +5628,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5617
5628
|
class: m(e.classes.sortFormLabel)
|
|
5618
5629
|
}, [
|
|
5619
5630
|
g(l.$slots, "default", {}, () => [
|
|
5620
|
-
r[1] || (r[1] =
|
|
5631
|
+
r[1] || (r[1] = $("Sort:", -1))
|
|
5621
5632
|
])
|
|
5622
5633
|
], 10, Ni),
|
|
5623
5634
|
h("select", {
|
|
@@ -5626,14 +5637,14 @@ const ki = ["onClick"], Hh = {
|
|
|
5626
5637
|
id: o.value,
|
|
5627
5638
|
class: m(e.classes.sortFormSelect)
|
|
5628
5639
|
}, [
|
|
5629
|
-
(u(!0), f(
|
|
5640
|
+
(u(!0), f(B, null, R(e.sortTypes, (i, c) => (u(), f("option", {
|
|
5630
5641
|
value: c,
|
|
5631
5642
|
key: c
|
|
5632
|
-
},
|
|
5643
|
+
}, w(i.text), 9, Wi))), 128))
|
|
5633
5644
|
], 42, Di)
|
|
5634
5645
|
], 2));
|
|
5635
5646
|
}
|
|
5636
|
-
},
|
|
5647
|
+
}, dn = Symbol(), fn = Symbol(), wt = Symbol(), Xi = {
|
|
5637
5648
|
name: "ScrollAnchors",
|
|
5638
5649
|
emits: ["section-change"],
|
|
5639
5650
|
props: {
|
|
@@ -5666,8 +5677,8 @@ const ki = ["onClick"], Hh = {
|
|
|
5666
5677
|
*/
|
|
5667
5678
|
provide() {
|
|
5668
5679
|
return {
|
|
5669
|
-
[
|
|
5670
|
-
[
|
|
5680
|
+
[wt]: _(() => this.sections),
|
|
5681
|
+
[dn]: (e) => {
|
|
5671
5682
|
const { titleId: s, title: t } = e, { element: n } = e.$refs;
|
|
5672
5683
|
this.sections.push({
|
|
5673
5684
|
instance: e,
|
|
@@ -5677,7 +5688,7 @@ const ki = ["onClick"], Hh = {
|
|
|
5677
5688
|
active: !1
|
|
5678
5689
|
}), this.update();
|
|
5679
5690
|
},
|
|
5680
|
-
[
|
|
5691
|
+
[fn]: (e) => {
|
|
5681
5692
|
const s = this.sections, t = s.findIndex((n) => n.instance === e);
|
|
5682
5693
|
t > -1 && s.splice(t, 1), this.update();
|
|
5683
5694
|
}
|
|
@@ -5698,10 +5709,10 @@ const ki = ["onClick"], Hh = {
|
|
|
5698
5709
|
let o = 0;
|
|
5699
5710
|
const l = (r) => {
|
|
5700
5711
|
r.forEach(({ target: i, isIntersecting: c }) => {
|
|
5701
|
-
const a = this.getSectionIndex(i), d = i.offsetTop,
|
|
5702
|
-
|
|
5703
|
-
c ? (t(
|
|
5704
|
-
section:
|
|
5712
|
+
const a = this.getSectionIndex(i), d = i.offsetTop, v = s[a], p = a === 0 && o > d, b = a === s.length - 1 && o < d;
|
|
5713
|
+
v && this.$nextTick(() => {
|
|
5714
|
+
c ? (t(v), v.active = !0) : (p && !n || b && v.active) && t(), this.$emit("section-change", {
|
|
5715
|
+
section: v,
|
|
5705
5716
|
sections: s,
|
|
5706
5717
|
active: c
|
|
5707
5718
|
});
|
|
@@ -5747,7 +5758,7 @@ function qi(e, s, t, n, o, l) {
|
|
|
5747
5758
|
const Jh = /* @__PURE__ */ j(Xi, [["render", qi]]), Yi = {
|
|
5748
5759
|
name: "ScrollAnchorsNav",
|
|
5749
5760
|
inject: {
|
|
5750
|
-
sections: { from:
|
|
5761
|
+
sections: { from: wt }
|
|
5751
5762
|
},
|
|
5752
5763
|
props: {
|
|
5753
5764
|
element: {
|
|
@@ -5757,20 +5768,20 @@ const Jh = /* @__PURE__ */ j(Xi, [["render", qi]]), Yi = {
|
|
|
5757
5768
|
}
|
|
5758
5769
|
}, Ki = ["href"];
|
|
5759
5770
|
function Zi(e, s, t, n, o, l) {
|
|
5760
|
-
return l.sections.length ? (u(),
|
|
5771
|
+
return l.sections.length ? (u(), S(P(t.element), {
|
|
5761
5772
|
key: 0,
|
|
5762
5773
|
class: "scroll-anchors__nav"
|
|
5763
5774
|
}, {
|
|
5764
|
-
default:
|
|
5775
|
+
default: k(() => [
|
|
5765
5776
|
h("ul", null, [
|
|
5766
|
-
(u(!0), f(
|
|
5777
|
+
(u(!0), f(B, null, R(l.sections, (r, i) => (u(), f("li", {
|
|
5767
5778
|
key: i,
|
|
5768
5779
|
class: m({ "is-active": r.active })
|
|
5769
5780
|
}, [
|
|
5770
5781
|
h("a", {
|
|
5771
5782
|
class: m({ "is-active": r.active }),
|
|
5772
5783
|
href: `#${r.titleId}`
|
|
5773
|
-
},
|
|
5784
|
+
}, w(r.title), 11, Ki)
|
|
5774
5785
|
], 2))), 128))
|
|
5775
5786
|
])
|
|
5776
5787
|
]),
|
|
@@ -5780,7 +5791,7 @@ function Zi(e, s, t, n, o, l) {
|
|
|
5780
5791
|
const Qh = /* @__PURE__ */ j(Yi, [["render", Zi]]), Ji = {
|
|
5781
5792
|
name: "ScrollAnchorsNavAnimated",
|
|
5782
5793
|
inject: {
|
|
5783
|
-
sections: { from:
|
|
5794
|
+
sections: { from: wt }
|
|
5784
5795
|
},
|
|
5785
5796
|
props: {
|
|
5786
5797
|
/**
|
|
@@ -5815,7 +5826,7 @@ const Qh = /* @__PURE__ */ j(Yi, [["render", Zi]]), Ji = {
|
|
|
5815
5826
|
},
|
|
5816
5827
|
watch: {
|
|
5817
5828
|
indicatorStyles(e) {
|
|
5818
|
-
e && !this.indicatorAnimReady &&
|
|
5829
|
+
e && !this.indicatorAnimReady && Gs(() => {
|
|
5819
5830
|
this.indicatorAnimReady = !0;
|
|
5820
5831
|
});
|
|
5821
5832
|
}
|
|
@@ -5827,13 +5838,13 @@ const Qh = /* @__PURE__ */ j(Yi, [["render", Zi]]), Ji = {
|
|
|
5827
5838
|
}
|
|
5828
5839
|
}, Qi = { class: "scroll-anchors__rail" }, ea = ["href"];
|
|
5829
5840
|
function ta(e, s, t, n, o, l) {
|
|
5830
|
-
return l.sections.length ? (u(),
|
|
5841
|
+
return l.sections.length ? (u(), S(P(t.element), {
|
|
5831
5842
|
key: 0,
|
|
5832
5843
|
class: "scroll-anchors__nav scroll-anchors__nav--animated"
|
|
5833
5844
|
}, {
|
|
5834
|
-
default:
|
|
5845
|
+
default: k(() => [
|
|
5835
5846
|
h("ul", Qi, [
|
|
5836
|
-
(u(!0), f(
|
|
5847
|
+
(u(!0), f(B, null, R(l.sections, (r, i) => (u(), f("li", {
|
|
5837
5848
|
key: i,
|
|
5838
5849
|
class: m({ "is-active": r.active })
|
|
5839
5850
|
}, [
|
|
@@ -5842,7 +5853,7 @@ function ta(e, s, t, n, o, l) {
|
|
|
5842
5853
|
ref_for: !0,
|
|
5843
5854
|
ref: (c) => l.addLinkRef(i, c),
|
|
5844
5855
|
href: `#${r.titleId}`
|
|
5845
|
-
},
|
|
5856
|
+
}, w(r.title), 11, ea)
|
|
5846
5857
|
], 2))), 128))
|
|
5847
5858
|
]),
|
|
5848
5859
|
h("div", {
|
|
@@ -5883,9 +5894,9 @@ const em = /* @__PURE__ */ j(Ji, [["render", ta]]), sa = {
|
|
|
5883
5894
|
}
|
|
5884
5895
|
},
|
|
5885
5896
|
inject: {
|
|
5886
|
-
register: { from:
|
|
5887
|
-
unregister: { from:
|
|
5888
|
-
sections: { from:
|
|
5897
|
+
register: { from: dn },
|
|
5898
|
+
unregister: { from: fn },
|
|
5899
|
+
sections: { from: wt, default: () => _(() => []) }
|
|
5889
5900
|
},
|
|
5890
5901
|
data() {
|
|
5891
5902
|
const { anchorId: e, title: s } = this;
|
|
@@ -5910,12 +5921,12 @@ function na(e, s, t, n, o, l) {
|
|
|
5910
5921
|
class: m([t.wrapperClass, { [t.activeClass]: t.activeClass && l.section?.active }]),
|
|
5911
5922
|
ref: "element"
|
|
5912
5923
|
}, [
|
|
5913
|
-
(u(),
|
|
5924
|
+
(u(), S(P(t.titleElement), {
|
|
5914
5925
|
class: m(t.titleClass),
|
|
5915
5926
|
id: o.titleId
|
|
5916
5927
|
}, {
|
|
5917
|
-
default:
|
|
5918
|
-
|
|
5928
|
+
default: k(() => [
|
|
5929
|
+
$(w(t.title), 1)
|
|
5919
5930
|
]),
|
|
5920
5931
|
_: 1
|
|
5921
5932
|
}, 8, ["class", "id"])),
|
|
@@ -5956,7 +5967,7 @@ const tm = /* @__PURE__ */ j(sa, [["render", na]]), oa = {
|
|
|
5956
5967
|
when: Boolean
|
|
5957
5968
|
},
|
|
5958
5969
|
setup(e) {
|
|
5959
|
-
return (s, t) => e.when ? (u(),
|
|
5970
|
+
return (s, t) => e.when ? (u(), S(oa, {
|
|
5960
5971
|
key: 1,
|
|
5961
5972
|
inline: ""
|
|
5962
5973
|
})) : g(s.$slots, "default", { key: 0 });
|
|
@@ -5973,11 +5984,11 @@ const tm = /* @__PURE__ */ j(sa, [["render", na]]), oa = {
|
|
|
5973
5984
|
}
|
|
5974
5985
|
},
|
|
5975
5986
|
setup(e) {
|
|
5976
|
-
const s = e, t =
|
|
5977
|
-
const o =
|
|
5987
|
+
const s = e, t = _(() => uo(s.lines, () => {
|
|
5988
|
+
const o = rt(70, 100);
|
|
5978
5989
|
let l = 0;
|
|
5979
5990
|
const r = () => {
|
|
5980
|
-
const a = o - l, d =
|
|
5991
|
+
const a = o - l, d = rt(15, a);
|
|
5981
5992
|
return l += d, d;
|
|
5982
5993
|
}, i = [];
|
|
5983
5994
|
for (; l < o - 15; )
|
|
@@ -5988,8 +5999,8 @@ const tm = /* @__PURE__ */ j(sa, [["render", na]]), oa = {
|
|
|
5988
5999
|
return i.map((a) => ({ width: a, alt: Math.random() < 0.5 }));
|
|
5989
6000
|
}));
|
|
5990
6001
|
return (n, o) => (u(), f("div", null, [
|
|
5991
|
-
(u(!0), f(
|
|
5992
|
-
(u(!0), f(
|
|
6002
|
+
(u(!0), f(B, null, R(t.value, (l, r) => (u(), f("div", { key: r }, [
|
|
6003
|
+
(u(!0), f(B, null, R(l, (i) => (u(), f("span", {
|
|
5993
6004
|
key: i,
|
|
5994
6005
|
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": i.alt }]),
|
|
5995
6006
|
style: D({ width: `${i.width}%` })
|
|
@@ -6219,7 +6230,7 @@ function _a(e, s, t, n, o, l) {
|
|
|
6219
6230
|
h("div", aa, [
|
|
6220
6231
|
h("div", ca, [
|
|
6221
6232
|
h("ul", ua, [
|
|
6222
|
-
(u(!0), f(
|
|
6233
|
+
(u(!0), f(B, null, R(o.slides, (i, c) => (u(), f("li", {
|
|
6223
6234
|
class: m(["slideshow__slide", { "is-active": i.active }]),
|
|
6224
6235
|
key: c,
|
|
6225
6236
|
tabindex: t.slideFocusable ? "0" : "-1",
|
|
@@ -6265,7 +6276,7 @@ function _a(e, s, t, n, o, l) {
|
|
|
6265
6276
|
])
|
|
6266
6277
|
], 512),
|
|
6267
6278
|
t.noNav ? y("", !0) : (u(), f("ul", pa, [
|
|
6268
|
-
(u(!0), f(
|
|
6279
|
+
(u(!0), f(B, null, R(o.slides, (i, c) => (u(), f("li", {
|
|
6269
6280
|
class: m(["slideshow__nav-item", { "is-active": i.active }]),
|
|
6270
6281
|
ref_for: !0,
|
|
6271
6282
|
ref: (a) => {
|
|
@@ -6282,7 +6293,7 @@ function _a(e, s, t, n, o, l) {
|
|
|
6282
6293
|
index: c,
|
|
6283
6294
|
active: i.active
|
|
6284
6295
|
}, () => [
|
|
6285
|
-
h("span", ba, "Item " +
|
|
6296
|
+
h("span", ba, "Item " + w(c + 1), 1)
|
|
6286
6297
|
])
|
|
6287
6298
|
], 10, ya)
|
|
6288
6299
|
], 2))), 128))
|
|
@@ -6321,32 +6332,32 @@ const wa = /* @__PURE__ */ j(ra, [["render", _a]]), Sa = {
|
|
|
6321
6332
|
}, ka = ["src", "alt"], $a = { class: "slideshow__image-actions" }, Ca = ["src", "alt"];
|
|
6322
6333
|
function Ta(e, s, t, n, o, l) {
|
|
6323
6334
|
const r = W("AppButton"), i = W("UluSlideShow");
|
|
6324
|
-
return u(),
|
|
6335
|
+
return u(), S(i, {
|
|
6325
6336
|
class: "slideshow--images",
|
|
6326
6337
|
items: t.images,
|
|
6327
6338
|
onSlideChange: l.slideChange
|
|
6328
6339
|
}, {
|
|
6329
|
-
slide:
|
|
6340
|
+
slide: k(({ item: c }) => [
|
|
6330
6341
|
h("img", {
|
|
6331
6342
|
src: c.src,
|
|
6332
6343
|
alt: c.alt
|
|
6333
6344
|
}, null, 8, ka),
|
|
6334
6345
|
h("div", $a, [
|
|
6335
|
-
t.selectButton ? (u(),
|
|
6346
|
+
t.selectButton ? (u(), S(r, {
|
|
6336
6347
|
key: 0,
|
|
6337
6348
|
class: "type-small",
|
|
6338
6349
|
icon: "plus",
|
|
6339
6350
|
small: "",
|
|
6340
6351
|
iconBefore: ""
|
|
6341
6352
|
}, {
|
|
6342
|
-
default:
|
|
6343
|
-
|
|
6353
|
+
default: k(() => [...s[0] || (s[0] = [
|
|
6354
|
+
$(" Select ", -1)
|
|
6344
6355
|
])]),
|
|
6345
6356
|
_: 1
|
|
6346
6357
|
})) : y("", !0)
|
|
6347
6358
|
])
|
|
6348
6359
|
]),
|
|
6349
|
-
nav:
|
|
6360
|
+
nav: k(({ index: c }) => [
|
|
6350
6361
|
h("img", {
|
|
6351
6362
|
src: t.images[c].src,
|
|
6352
6363
|
alt: `View image ${c}`
|
|
@@ -6394,7 +6405,7 @@ const rm = /* @__PURE__ */ j(Aa, [["render", Oa]]), xa = {
|
|
|
6394
6405
|
}
|
|
6395
6406
|
}, Ua = ["id"], Ba = ["innerHTML"];
|
|
6396
6407
|
function Ra(e, s, t, n, o, l) {
|
|
6397
|
-
return u(!0), f(
|
|
6408
|
+
return u(!0), f(B, null, R(t.rows, (r, i) => (u(), f("tr", {
|
|
6398
6409
|
key: `br-${i}`,
|
|
6399
6410
|
id: t.optionalAttr(t.isActual && r.id),
|
|
6400
6411
|
class: m(t.resolveClasses(t.classes.row, { row: r.data, rowIndex: i, isActual: t.isActual, foot: t.foot })),
|
|
@@ -6402,7 +6413,7 @@ function Ra(e, s, t, n, o, l) {
|
|
|
6402
6413
|
height: r.height
|
|
6403
6414
|
})
|
|
6404
6415
|
}, [
|
|
6405
|
-
(u(!0), f(
|
|
6416
|
+
(u(!0), f(B, null, R(t.rowColumns, (c, a) => (u(), S(P(c.rowHeader ? "th" : "td"), {
|
|
6406
6417
|
id: t.optionalAttr(t.isActual && c.rowHeader && c.getRowHeaderId(i)),
|
|
6407
6418
|
scope: t.optionalAttr(t.isActual && c.rowHeader && "row"),
|
|
6408
6419
|
key: `bc-${a}`,
|
|
@@ -6412,7 +6423,7 @@ function Ra(e, s, t, n, o, l) {
|
|
|
6412
6423
|
width: t.columnWidth
|
|
6413
6424
|
})
|
|
6414
6425
|
}, {
|
|
6415
|
-
default:
|
|
6426
|
+
default: k(() => [
|
|
6416
6427
|
e.$slots[c.slot] ? g(e.$slots, c.slot, {
|
|
6417
6428
|
key: 0,
|
|
6418
6429
|
row: r.data,
|
|
@@ -6424,8 +6435,8 @@ function Ra(e, s, t, n, o, l) {
|
|
|
6424
6435
|
}) : c.html ? (u(), f("div", {
|
|
6425
6436
|
key: 1,
|
|
6426
6437
|
innerHTML: t.value({ row: r, column: c, rowIndex: i, isActual: t.isActual, foot: t.foot })
|
|
6427
|
-
}, null, 8, Ba)) : (u(), f(
|
|
6428
|
-
|
|
6438
|
+
}, null, 8, Ba)) : (u(), f(B, { key: 2 }, [
|
|
6439
|
+
$(w(t.value({ row: r, column: c, rowIndex: i, isActual: t.isActual, foot: t.foot })), 1)
|
|
6429
6440
|
], 64))
|
|
6430
6441
|
]),
|
|
6431
6442
|
_: 2
|
|
@@ -6528,9 +6539,9 @@ function Wa(e, s, t, n, o, l) {
|
|
|
6528
6539
|
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
6529
6540
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
6530
6541
|
}, [
|
|
6531
|
-
t.caption ? (u(), f("caption", Ma,
|
|
6542
|
+
t.caption ? (u(), f("caption", Ma, w(t.caption), 1)) : y("", !0),
|
|
6532
6543
|
h("thead", null, [
|
|
6533
|
-
(u(!0), f(
|
|
6544
|
+
(u(!0), f(B, null, R(t.headerRows, (i, c) => (u(), f("tr", {
|
|
6534
6545
|
key: `hr-${c}`,
|
|
6535
6546
|
id: l.optionalAttr(t.isActual && i.id),
|
|
6536
6547
|
class: m(t.resolveClasses(t.classes.rowHeader, { row: i, rowIndex: c, isActual: t.isActual })),
|
|
@@ -6538,7 +6549,7 @@ function Wa(e, s, t, n, o, l) {
|
|
|
6538
6549
|
height: i.height
|
|
6539
6550
|
})
|
|
6540
6551
|
}, [
|
|
6541
|
-
(u(!0), f(
|
|
6552
|
+
(u(!0), f(B, null, R(i.columns, (a, d) => (u(), f("th", {
|
|
6542
6553
|
key: `hc-${d}`,
|
|
6543
6554
|
id: l.optionalAttr(t.isActual && a.id),
|
|
6544
6555
|
rowspan: a.rowspan,
|
|
@@ -6559,19 +6570,19 @@ function Wa(e, s, t, n, o, l) {
|
|
|
6559
6570
|
scope: l.optionalAttr(t.isActual && (a.colspan > 1 ? "colgroup" : "col")),
|
|
6560
6571
|
headers: l.optionalAttr(t.isActual && l.getHeaderHeaders(a, c)),
|
|
6561
6572
|
ref_for: !0,
|
|
6562
|
-
ref: (
|
|
6573
|
+
ref: (v) => l.addHeaderRef(a, v)
|
|
6563
6574
|
}, [
|
|
6564
|
-
a.sortable ? (u(),
|
|
6575
|
+
a.sortable ? (u(), S(P(t.isActual ? "button" : "div"), {
|
|
6565
6576
|
key: 0,
|
|
6566
6577
|
class: m(["table-sticky__sort-button", {
|
|
6567
6578
|
"table-sticky__sort-button--focused": a.sortFocused
|
|
6568
6579
|
}]),
|
|
6569
|
-
onClick: (
|
|
6570
|
-
onFocus: (
|
|
6571
|
-
onBlur: (
|
|
6580
|
+
onClick: (v) => e.$emit("column-sorted", a),
|
|
6581
|
+
onFocus: (v) => l.handleSortFocus(a, !0),
|
|
6582
|
+
onBlur: (v) => l.handleSortFocus(a, !1),
|
|
6572
6583
|
"aria-pressed": a.sortApplied ? "true" : "false"
|
|
6573
6584
|
}, {
|
|
6574
|
-
default:
|
|
6585
|
+
default: k(() => [
|
|
6575
6586
|
e.$slots[a.slotHeader] ? g(e.$slots, a.slotHeader, {
|
|
6576
6587
|
key: 0,
|
|
6577
6588
|
isActual: t.isActual,
|
|
@@ -6580,19 +6591,19 @@ function Wa(e, s, t, n, o, l) {
|
|
|
6580
6591
|
}) : a.htmlTitle ? (u(), f("div", {
|
|
6581
6592
|
key: 1,
|
|
6582
6593
|
innerHTML: t.getColumnTitle({ column: a, index: d, isActual: t.isActual })
|
|
6583
|
-
}, null, 8, Fa)) : (u(), f(
|
|
6584
|
-
|
|
6594
|
+
}, null, 8, Fa)) : (u(), f(B, { key: 2 }, [
|
|
6595
|
+
$(w(t.getColumnTitle({ column: a, index: d, isActual: t.isActual })), 1)
|
|
6585
6596
|
], 64)),
|
|
6586
6597
|
h("span", La, [
|
|
6587
6598
|
h("span", Va, [
|
|
6588
6599
|
g(e.$slots, "sortIcon", {}, () => [
|
|
6589
|
-
s[0] || (s[0] =
|
|
6600
|
+
s[0] || (s[0] = $("▼", -1))
|
|
6590
6601
|
])
|
|
6591
6602
|
])
|
|
6592
6603
|
])
|
|
6593
6604
|
]),
|
|
6594
6605
|
_: 2
|
|
6595
|
-
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (u(), f(
|
|
6606
|
+
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (u(), f(B, { key: 1 }, [
|
|
6596
6607
|
e.$slots[a.slotHeader] ? g(e.$slots, a.slotHeader, {
|
|
6597
6608
|
key: 0,
|
|
6598
6609
|
isActual: t.isActual,
|
|
@@ -6601,8 +6612,8 @@ function Wa(e, s, t, n, o, l) {
|
|
|
6601
6612
|
}) : a.htmlTitle ? (u(), f("div", {
|
|
6602
6613
|
key: 1,
|
|
6603
6614
|
innerHTML: t.getColumnTitle({ column: a, index: d, isActual: t.isActual })
|
|
6604
|
-
}, null, 8, Ha)) : (u(), f(
|
|
6605
|
-
|
|
6615
|
+
}, null, 8, Ha)) : (u(), f(B, { key: 2 }, [
|
|
6616
|
+
$(w(t.getColumnTitle({ column: a, index: d, isActual: t.isActual })), 1)
|
|
6606
6617
|
], 64))
|
|
6607
6618
|
], 64))
|
|
6608
6619
|
], 14, za))), 128))
|
|
@@ -6619,11 +6630,11 @@ function Wa(e, s, t, n, o, l) {
|
|
|
6619
6630
|
columnWidth: t.columnWidth,
|
|
6620
6631
|
classes: t.classes,
|
|
6621
6632
|
value: l.value
|
|
6622
|
-
},
|
|
6623
|
-
|
|
6633
|
+
}, xe({ _: 2 }, [
|
|
6634
|
+
R(e.$slots, (i, c) => ({
|
|
6624
6635
|
name: c,
|
|
6625
|
-
fn:
|
|
6626
|
-
g(e.$slots, c,
|
|
6636
|
+
fn: k((a) => [
|
|
6637
|
+
g(e.$slots, c, oe(re(a)))
|
|
6627
6638
|
])
|
|
6628
6639
|
}))
|
|
6629
6640
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
@@ -6640,11 +6651,11 @@ function Wa(e, s, t, n, o, l) {
|
|
|
6640
6651
|
classes: t.classes,
|
|
6641
6652
|
value: l.value,
|
|
6642
6653
|
foot: ""
|
|
6643
|
-
},
|
|
6644
|
-
|
|
6654
|
+
}, xe({ _: 2 }, [
|
|
6655
|
+
R(e.$slots, (i, c) => ({
|
|
6645
6656
|
name: c,
|
|
6646
|
-
fn:
|
|
6647
|
-
g(e.$slots, c,
|
|
6657
|
+
fn: k((a) => [
|
|
6658
|
+
g(e.$slots, c, oe(re(a)))
|
|
6648
6659
|
])
|
|
6649
6660
|
}))
|
|
6650
6661
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
@@ -6655,48 +6666,48 @@ const Xa = /* @__PURE__ */ j(ja, [["render", Wa]]);
|
|
|
6655
6666
|
function Ga() {
|
|
6656
6667
|
this.__data__ = [], this.size = 0;
|
|
6657
6668
|
}
|
|
6658
|
-
function
|
|
6669
|
+
function hn(e, s) {
|
|
6659
6670
|
return e === s || e !== e && s !== s;
|
|
6660
6671
|
}
|
|
6661
|
-
function
|
|
6672
|
+
function St(e, s) {
|
|
6662
6673
|
for (var t = e.length; t--; )
|
|
6663
|
-
if (
|
|
6674
|
+
if (hn(e[t][0], s))
|
|
6664
6675
|
return t;
|
|
6665
6676
|
return -1;
|
|
6666
6677
|
}
|
|
6667
6678
|
var qa = Array.prototype, Ya = qa.splice;
|
|
6668
6679
|
function Ka(e) {
|
|
6669
|
-
var s = this.__data__, t =
|
|
6680
|
+
var s = this.__data__, t = St(s, e);
|
|
6670
6681
|
if (t < 0)
|
|
6671
6682
|
return !1;
|
|
6672
6683
|
var n = s.length - 1;
|
|
6673
6684
|
return t == n ? s.pop() : Ya.call(s, t, 1), --this.size, !0;
|
|
6674
6685
|
}
|
|
6675
6686
|
function Za(e) {
|
|
6676
|
-
var s = this.__data__, t =
|
|
6687
|
+
var s = this.__data__, t = St(s, e);
|
|
6677
6688
|
return t < 0 ? void 0 : s[t][1];
|
|
6678
6689
|
}
|
|
6679
6690
|
function Ja(e) {
|
|
6680
|
-
return
|
|
6691
|
+
return St(this.__data__, e) > -1;
|
|
6681
6692
|
}
|
|
6682
6693
|
function Qa(e, s) {
|
|
6683
|
-
var t = this.__data__, n =
|
|
6694
|
+
var t = this.__data__, n = St(t, e);
|
|
6684
6695
|
return n < 0 ? (++this.size, t.push([e, s])) : t[n][1] = s, this;
|
|
6685
6696
|
}
|
|
6686
|
-
function
|
|
6697
|
+
function me(e) {
|
|
6687
6698
|
var s = -1, t = e == null ? 0 : e.length;
|
|
6688
6699
|
for (this.clear(); ++s < t; ) {
|
|
6689
6700
|
var n = e[s];
|
|
6690
6701
|
this.set(n[0], n[1]);
|
|
6691
6702
|
}
|
|
6692
6703
|
}
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6704
|
+
me.prototype.clear = Ga;
|
|
6705
|
+
me.prototype.delete = Ka;
|
|
6706
|
+
me.prototype.get = Za;
|
|
6707
|
+
me.prototype.has = Ja;
|
|
6708
|
+
me.prototype.set = Qa;
|
|
6698
6709
|
function ec() {
|
|
6699
|
-
this.__data__ = new
|
|
6710
|
+
this.__data__ = new me(), this.size = 0;
|
|
6700
6711
|
}
|
|
6701
6712
|
function tc(e) {
|
|
6702
6713
|
var s = this.__data__, t = s.delete(e);
|
|
@@ -6708,7 +6719,7 @@ function sc(e) {
|
|
|
6708
6719
|
function nc(e) {
|
|
6709
6720
|
return this.__data__.has(e);
|
|
6710
6721
|
}
|
|
6711
|
-
var
|
|
6722
|
+
var mn = typeof global == "object" && global && global.Object === Object && global, oc = typeof self == "object" && self && self.Object === Object && self, ae = mn || oc || Function("return this")(), je = ae.Symbol, gn = Object.prototype, lc = gn.hasOwnProperty, rc = gn.toString, Ve = je ? je.toStringTag : void 0;
|
|
6712
6723
|
function ic(e) {
|
|
6713
6724
|
var s = lc.call(e, Ve), t = e[Ve];
|
|
6714
6725
|
try {
|
|
@@ -6723,27 +6734,27 @@ var ac = Object.prototype, cc = ac.toString;
|
|
|
6723
6734
|
function uc(e) {
|
|
6724
6735
|
return cc.call(e);
|
|
6725
6736
|
}
|
|
6726
|
-
var dc = "[object Null]", fc = "[object Undefined]",
|
|
6737
|
+
var dc = "[object Null]", fc = "[object Undefined]", vs = je ? je.toStringTag : void 0;
|
|
6727
6738
|
function Je(e) {
|
|
6728
|
-
return e == null ? e === void 0 ? fc : dc :
|
|
6739
|
+
return e == null ? e === void 0 ? fc : dc : vs && vs in Object(e) ? ic(e) : uc(e);
|
|
6729
6740
|
}
|
|
6730
|
-
function
|
|
6741
|
+
function kt(e) {
|
|
6731
6742
|
var s = typeof e;
|
|
6732
6743
|
return e != null && (s == "object" || s == "function");
|
|
6733
6744
|
}
|
|
6734
6745
|
var hc = "[object AsyncFunction]", mc = "[object Function]", gc = "[object GeneratorFunction]", vc = "[object Proxy]";
|
|
6735
|
-
function
|
|
6736
|
-
if (!
|
|
6746
|
+
function vn(e) {
|
|
6747
|
+
if (!kt(e))
|
|
6737
6748
|
return !1;
|
|
6738
6749
|
var s = Je(e);
|
|
6739
6750
|
return s == mc || s == gc || s == hc || s == vc;
|
|
6740
6751
|
}
|
|
6741
|
-
var
|
|
6742
|
-
var e = /[^.]+$/.exec(
|
|
6752
|
+
var Bt = ae["__core-js_shared__"], ps = function() {
|
|
6753
|
+
var e = /[^.]+$/.exec(Bt && Bt.keys && Bt.keys.IE_PROTO || "");
|
|
6743
6754
|
return e ? "Symbol(src)_1." + e : "";
|
|
6744
6755
|
}();
|
|
6745
6756
|
function pc(e) {
|
|
6746
|
-
return !!
|
|
6757
|
+
return !!ps && ps in e;
|
|
6747
6758
|
}
|
|
6748
6759
|
var yc = Function.prototype, bc = yc.toString;
|
|
6749
6760
|
function $e(e) {
|
|
@@ -6763,9 +6774,9 @@ var _c = /[\\^$.*+?()[\]{}|]/g, wc = /^\[object .+?Constructor\]$/, Sc = Functio
|
|
|
6763
6774
|
"^" + $c.call(Cc).replace(_c, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6764
6775
|
);
|
|
6765
6776
|
function Ac(e) {
|
|
6766
|
-
if (!
|
|
6777
|
+
if (!kt(e) || pc(e))
|
|
6767
6778
|
return !1;
|
|
6768
|
-
var s =
|
|
6779
|
+
var s = vn(e) ? Tc : wc;
|
|
6769
6780
|
return s.test($e(e));
|
|
6770
6781
|
}
|
|
6771
6782
|
function Oc(e, s) {
|
|
@@ -6817,7 +6828,7 @@ Se.prototype.set = Fc;
|
|
|
6817
6828
|
function Lc() {
|
|
6818
6829
|
this.size = 0, this.__data__ = {
|
|
6819
6830
|
hash: new Se(),
|
|
6820
|
-
map: new (Ke ||
|
|
6831
|
+
map: new (Ke || me)(),
|
|
6821
6832
|
string: new Se()
|
|
6822
6833
|
};
|
|
6823
6834
|
}
|
|
@@ -6825,62 +6836,62 @@ function Vc(e) {
|
|
|
6825
6836
|
var s = typeof e;
|
|
6826
6837
|
return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? e !== "__proto__" : e === null;
|
|
6827
6838
|
}
|
|
6828
|
-
function
|
|
6839
|
+
function $t(e, s) {
|
|
6829
6840
|
var t = e.__data__;
|
|
6830
6841
|
return Vc(s) ? t[typeof s == "string" ? "string" : "hash"] : t.map;
|
|
6831
6842
|
}
|
|
6832
6843
|
function Hc(e) {
|
|
6833
|
-
var s =
|
|
6844
|
+
var s = $t(this, e).delete(e);
|
|
6834
6845
|
return this.size -= s ? 1 : 0, s;
|
|
6835
6846
|
}
|
|
6836
6847
|
function Nc(e) {
|
|
6837
|
-
return
|
|
6848
|
+
return $t(this, e).get(e);
|
|
6838
6849
|
}
|
|
6839
6850
|
function Dc(e) {
|
|
6840
|
-
return
|
|
6851
|
+
return $t(this, e).has(e);
|
|
6841
6852
|
}
|
|
6842
6853
|
function Wc(e, s) {
|
|
6843
|
-
var t =
|
|
6854
|
+
var t = $t(this, e), n = t.size;
|
|
6844
6855
|
return t.set(e, s), this.size += t.size == n ? 0 : 1, this;
|
|
6845
6856
|
}
|
|
6846
|
-
function
|
|
6857
|
+
function Me(e) {
|
|
6847
6858
|
var s = -1, t = e == null ? 0 : e.length;
|
|
6848
6859
|
for (this.clear(); ++s < t; ) {
|
|
6849
6860
|
var n = e[s];
|
|
6850
6861
|
this.set(n[0], n[1]);
|
|
6851
6862
|
}
|
|
6852
6863
|
}
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6864
|
+
Me.prototype.clear = Lc;
|
|
6865
|
+
Me.prototype.delete = Hc;
|
|
6866
|
+
Me.prototype.get = Nc;
|
|
6867
|
+
Me.prototype.has = Dc;
|
|
6868
|
+
Me.prototype.set = Wc;
|
|
6858
6869
|
var Xc = 200;
|
|
6859
6870
|
function Gc(e, s) {
|
|
6860
6871
|
var t = this.__data__;
|
|
6861
|
-
if (t instanceof
|
|
6872
|
+
if (t instanceof me) {
|
|
6862
6873
|
var n = t.__data__;
|
|
6863
6874
|
if (!Ke || n.length < Xc - 1)
|
|
6864
6875
|
return n.push([e, s]), this.size = ++t.size, this;
|
|
6865
|
-
t = this.__data__ = new
|
|
6876
|
+
t = this.__data__ = new Me(n);
|
|
6866
6877
|
}
|
|
6867
6878
|
return t.set(e, s), this.size = t.size, this;
|
|
6868
6879
|
}
|
|
6869
|
-
function
|
|
6870
|
-
var s = this.__data__ = new
|
|
6880
|
+
function Pe(e) {
|
|
6881
|
+
var s = this.__data__ = new me(e);
|
|
6871
6882
|
this.size = s.size;
|
|
6872
6883
|
}
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6884
|
+
Pe.prototype.clear = ec;
|
|
6885
|
+
Pe.prototype.delete = tc;
|
|
6886
|
+
Pe.prototype.get = sc;
|
|
6887
|
+
Pe.prototype.has = nc;
|
|
6888
|
+
Pe.prototype.set = Gc;
|
|
6878
6889
|
function qc(e, s) {
|
|
6879
6890
|
for (var t = -1, n = e == null ? 0 : e.length; ++t < n && s(e[t], t, e) !== !1; )
|
|
6880
6891
|
;
|
|
6881
6892
|
return e;
|
|
6882
6893
|
}
|
|
6883
|
-
var
|
|
6894
|
+
var ys = function() {
|
|
6884
6895
|
try {
|
|
6885
6896
|
var e = Ce(Object, "defineProperty");
|
|
6886
6897
|
return e({}, "", {}), e;
|
|
@@ -6888,7 +6899,7 @@ var ps = function() {
|
|
|
6888
6899
|
}
|
|
6889
6900
|
}();
|
|
6890
6901
|
function Yc(e, s, t) {
|
|
6891
|
-
s == "__proto__" &&
|
|
6902
|
+
s == "__proto__" && ys ? ys(e, s, {
|
|
6892
6903
|
configurable: !0,
|
|
6893
6904
|
enumerable: !0,
|
|
6894
6905
|
value: t,
|
|
@@ -6898,7 +6909,7 @@ function Yc(e, s, t) {
|
|
|
6898
6909
|
var Kc = Object.prototype, Zc = Kc.hasOwnProperty;
|
|
6899
6910
|
function Jc(e, s, t) {
|
|
6900
6911
|
var n = e[s];
|
|
6901
|
-
(!(Zc.call(e, s) &&
|
|
6912
|
+
(!(Zc.call(e, s) && hn(n, t)) || t === void 0 && !(s in e)) && Yc(e, s, t);
|
|
6902
6913
|
}
|
|
6903
6914
|
function Qc(e, s) {
|
|
6904
6915
|
for (var t = -1, n = Array(e); ++t < e; )
|
|
@@ -6909,46 +6920,46 @@ function Qe(e) {
|
|
|
6909
6920
|
return e != null && typeof e == "object";
|
|
6910
6921
|
}
|
|
6911
6922
|
var eu = "[object Arguments]";
|
|
6912
|
-
function
|
|
6923
|
+
function bs(e) {
|
|
6913
6924
|
return Qe(e) && Je(e) == eu;
|
|
6914
6925
|
}
|
|
6915
|
-
var
|
|
6926
|
+
var pn = Object.prototype, tu = pn.hasOwnProperty, su = pn.propertyIsEnumerable, nu = bs(/* @__PURE__ */ function() {
|
|
6916
6927
|
return arguments;
|
|
6917
|
-
}()) ?
|
|
6928
|
+
}()) ? bs : function(e) {
|
|
6918
6929
|
return Qe(e) && tu.call(e, "callee") && !su.call(e, "callee");
|
|
6919
|
-
},
|
|
6930
|
+
}, ns = Array.isArray;
|
|
6920
6931
|
function ou() {
|
|
6921
6932
|
return !1;
|
|
6922
6933
|
}
|
|
6923
|
-
var
|
|
6934
|
+
var yn = typeof exports == "object" && exports && !exports.nodeType && exports, _s = yn && typeof module == "object" && module && !module.nodeType && module, lu = _s && _s.exports === yn, ws = lu ? ae.Buffer : void 0, ru = ws ? ws.isBuffer : void 0, bn = ru || ou, iu = 9007199254740991, au = /^(?:0|[1-9]\d*)$/;
|
|
6924
6935
|
function cu(e, s) {
|
|
6925
6936
|
var t = typeof e;
|
|
6926
6937
|
return s = s ?? iu, !!s && (t == "number" || t != "symbol" && au.test(e)) && e > -1 && e % 1 == 0 && e < s;
|
|
6927
6938
|
}
|
|
6928
6939
|
var uu = 9007199254740991;
|
|
6929
|
-
function
|
|
6940
|
+
function _n(e) {
|
|
6930
6941
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= uu;
|
|
6931
6942
|
}
|
|
6932
6943
|
var du = "[object Arguments]", fu = "[object Array]", hu = "[object Boolean]", mu = "[object Date]", gu = "[object Error]", vu = "[object Function]", pu = "[object Map]", yu = "[object Number]", bu = "[object Object]", _u = "[object RegExp]", wu = "[object Set]", Su = "[object String]", ku = "[object WeakMap]", $u = "[object ArrayBuffer]", Cu = "[object DataView]", Tu = "[object Float32Array]", Au = "[object Float64Array]", Ou = "[object Int8Array]", xu = "[object Int16Array]", Uu = "[object Int32Array]", Bu = "[object Uint8Array]", Ru = "[object Uint8ClampedArray]", Eu = "[object Uint16Array]", ju = "[object Uint32Array]", V = {};
|
|
6933
6944
|
V[Tu] = V[Au] = V[Ou] = V[xu] = V[Uu] = V[Bu] = V[Ru] = V[Eu] = V[ju] = !0;
|
|
6934
6945
|
V[du] = V[fu] = V[$u] = V[hu] = V[Cu] = V[mu] = V[gu] = V[vu] = V[pu] = V[yu] = V[bu] = V[_u] = V[wu] = V[Su] = V[ku] = !1;
|
|
6935
6946
|
function Iu(e) {
|
|
6936
|
-
return Qe(e) &&
|
|
6947
|
+
return Qe(e) && _n(e.length) && !!V[Je(e)];
|
|
6937
6948
|
}
|
|
6938
|
-
function
|
|
6949
|
+
function os(e) {
|
|
6939
6950
|
return function(s) {
|
|
6940
6951
|
return e(s);
|
|
6941
6952
|
};
|
|
6942
6953
|
}
|
|
6943
|
-
var
|
|
6954
|
+
var wn = typeof exports == "object" && exports && !exports.nodeType && exports, We = wn && typeof module == "object" && module && !module.nodeType && module, Mu = We && We.exports === wn, Rt = Mu && mn.process, Ie = function() {
|
|
6944
6955
|
try {
|
|
6945
6956
|
var e = We && We.require && We.require("util").types;
|
|
6946
|
-
return e ||
|
|
6957
|
+
return e || Rt && Rt.binding && Rt.binding("util");
|
|
6947
6958
|
} catch {
|
|
6948
6959
|
}
|
|
6949
|
-
}(),
|
|
6960
|
+
}(), Ss = Ie && Ie.isTypedArray, Pu = Ss ? os(Ss) : Iu, zu = Object.prototype, Fu = zu.hasOwnProperty;
|
|
6950
6961
|
function Lu(e, s) {
|
|
6951
|
-
var t =
|
|
6962
|
+
var t = ns(e), n = !t && nu(e), o = !t && !n && bn(e), l = !t && !n && !o && Pu(e), r = t || n || o || l, i = r ? Qc(e.length, String) : [], c = i.length;
|
|
6952
6963
|
for (var a in e)
|
|
6953
6964
|
Fu.call(e, a) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6954
6965
|
(a == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -6958,18 +6969,18 @@ function Lu(e, s) {
|
|
|
6958
6969
|
return i;
|
|
6959
6970
|
}
|
|
6960
6971
|
var Vu = Object.prototype;
|
|
6961
|
-
function
|
|
6972
|
+
function Sn(e) {
|
|
6962
6973
|
var s = e && e.constructor, t = typeof s == "function" && s.prototype || Vu;
|
|
6963
6974
|
return e === t;
|
|
6964
6975
|
}
|
|
6965
|
-
function
|
|
6976
|
+
function kn(e, s) {
|
|
6966
6977
|
return function(t) {
|
|
6967
6978
|
return e(s(t));
|
|
6968
6979
|
};
|
|
6969
6980
|
}
|
|
6970
|
-
var Hu =
|
|
6981
|
+
var Hu = kn(Object.keys, Object), Nu = Object.prototype, Du = Nu.hasOwnProperty;
|
|
6971
6982
|
function Wu(e) {
|
|
6972
|
-
if (!
|
|
6983
|
+
if (!Sn(e))
|
|
6973
6984
|
return Hu(e);
|
|
6974
6985
|
var s = [];
|
|
6975
6986
|
for (var t in Object(e))
|
|
@@ -6977,13 +6988,13 @@ function Wu(e) {
|
|
|
6977
6988
|
return s;
|
|
6978
6989
|
}
|
|
6979
6990
|
function Xu(e) {
|
|
6980
|
-
return e != null &&
|
|
6991
|
+
return e != null && _n(e.length) && !vn(e);
|
|
6981
6992
|
}
|
|
6982
6993
|
function Gu(e) {
|
|
6983
6994
|
return Xu(e) ? Lu(e) : Wu(e);
|
|
6984
6995
|
}
|
|
6985
|
-
var
|
|
6986
|
-
|
|
6996
|
+
var $n = typeof exports == "object" && exports && !exports.nodeType && exports, ks = $n && typeof module == "object" && module && !module.nodeType && module, qu = ks && ks.exports === $n, $s = qu ? ae.Buffer : void 0;
|
|
6997
|
+
$s && $s.allocUnsafe;
|
|
6987
6998
|
function Yu(e, s) {
|
|
6988
6999
|
return e.slice();
|
|
6989
7000
|
}
|
|
@@ -6997,8 +7008,8 @@ function Ku(e, s) {
|
|
|
6997
7008
|
function Zu() {
|
|
6998
7009
|
return [];
|
|
6999
7010
|
}
|
|
7000
|
-
var Ju = Object.prototype, Qu = Ju.propertyIsEnumerable,
|
|
7001
|
-
return e == null ? [] : (e = Object(e), Ku(
|
|
7011
|
+
var Ju = Object.prototype, Qu = Ju.propertyIsEnumerable, Cs = Object.getOwnPropertySymbols, ed = Cs ? function(e) {
|
|
7012
|
+
return e == null ? [] : (e = Object(e), Ku(Cs(e), function(s) {
|
|
7002
7013
|
return Qu.call(e, s);
|
|
7003
7014
|
}));
|
|
7004
7015
|
} : Zu;
|
|
@@ -7007,29 +7018,29 @@ function td(e, s) {
|
|
|
7007
7018
|
e[o + t] = s[t];
|
|
7008
7019
|
return e;
|
|
7009
7020
|
}
|
|
7010
|
-
var sd =
|
|
7021
|
+
var sd = kn(Object.getPrototypeOf, Object);
|
|
7011
7022
|
function nd(e, s, t) {
|
|
7012
7023
|
var n = s(e);
|
|
7013
|
-
return
|
|
7024
|
+
return ns(e) ? n : td(n, t(e));
|
|
7014
7025
|
}
|
|
7015
7026
|
function od(e) {
|
|
7016
7027
|
return nd(e, Gu, ed);
|
|
7017
7028
|
}
|
|
7018
|
-
var
|
|
7019
|
-
(
|
|
7029
|
+
var Vt = Ce(ae, "DataView"), Ht = Ce(ae, "Promise"), Nt = Ce(ae, "Set"), Dt = Ce(ae, "WeakMap"), Ts = "[object Map]", ld = "[object Object]", As = "[object Promise]", Os = "[object Set]", xs = "[object WeakMap]", Us = "[object DataView]", rd = $e(Vt), id = $e(Ke), ad = $e(Ht), cd = $e(Nt), ud = $e(Dt), fe = Je;
|
|
7030
|
+
(Vt && fe(new Vt(new ArrayBuffer(1))) != Us || Ke && fe(new Ke()) != Ts || Ht && fe(Ht.resolve()) != As || Nt && fe(new Nt()) != Os || Dt && fe(new Dt()) != xs) && (fe = function(e) {
|
|
7020
7031
|
var s = Je(e), t = s == ld ? e.constructor : void 0, n = t ? $e(t) : "";
|
|
7021
7032
|
if (n)
|
|
7022
7033
|
switch (n) {
|
|
7023
7034
|
case rd:
|
|
7024
|
-
return
|
|
7035
|
+
return Us;
|
|
7025
7036
|
case id:
|
|
7026
|
-
return Cs;
|
|
7027
|
-
case ad:
|
|
7028
7037
|
return Ts;
|
|
7029
|
-
case
|
|
7038
|
+
case ad:
|
|
7030
7039
|
return As;
|
|
7031
|
-
case
|
|
7040
|
+
case cd:
|
|
7032
7041
|
return Os;
|
|
7042
|
+
case ud:
|
|
7043
|
+
return xs;
|
|
7033
7044
|
}
|
|
7034
7045
|
return s;
|
|
7035
7046
|
});
|
|
@@ -7038,13 +7049,13 @@ function hd(e) {
|
|
|
7038
7049
|
var s = e.length, t = new e.constructor(s);
|
|
7039
7050
|
return s && typeof e[0] == "string" && fd.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
7040
7051
|
}
|
|
7041
|
-
var
|
|
7042
|
-
function
|
|
7052
|
+
var Bs = ae.Uint8Array;
|
|
7053
|
+
function ls(e) {
|
|
7043
7054
|
var s = new e.constructor(e.byteLength);
|
|
7044
|
-
return new
|
|
7055
|
+
return new Bs(s).set(new Bs(e)), s;
|
|
7045
7056
|
}
|
|
7046
7057
|
function md(e, s) {
|
|
7047
|
-
var t =
|
|
7058
|
+
var t = ls(e.buffer);
|
|
7048
7059
|
return new e.constructor(t, e.byteOffset, e.byteLength);
|
|
7049
7060
|
}
|
|
7050
7061
|
var gd = /\w*$/;
|
|
@@ -7052,12 +7063,12 @@ function vd(e) {
|
|
|
7052
7063
|
var s = new e.constructor(e.source, gd.exec(e));
|
|
7053
7064
|
return s.lastIndex = e.lastIndex, s;
|
|
7054
7065
|
}
|
|
7055
|
-
var
|
|
7066
|
+
var Rs = je ? je.prototype : void 0, Es = Rs ? Rs.valueOf : void 0;
|
|
7056
7067
|
function pd(e) {
|
|
7057
|
-
return
|
|
7068
|
+
return Es ? Object(Es.call(e)) : {};
|
|
7058
7069
|
}
|
|
7059
7070
|
function yd(e, s) {
|
|
7060
|
-
var t =
|
|
7071
|
+
var t = ls(e.buffer);
|
|
7061
7072
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
7062
7073
|
}
|
|
7063
7074
|
var bd = "[object Boolean]", _d = "[object Date]", wd = "[object Map]", Sd = "[object Number]", kd = "[object RegExp]", $d = "[object Set]", Cd = "[object String]", Td = "[object Symbol]", Ad = "[object ArrayBuffer]", Od = "[object DataView]", xd = "[object Float32Array]", Ud = "[object Float64Array]", Bd = "[object Int8Array]", Rd = "[object Int16Array]", Ed = "[object Int32Array]", jd = "[object Uint8Array]", Id = "[object Uint8ClampedArray]", Md = "[object Uint16Array]", Pd = "[object Uint32Array]";
|
|
@@ -7065,7 +7076,7 @@ function zd(e, s, t) {
|
|
|
7065
7076
|
var n = e.constructor;
|
|
7066
7077
|
switch (s) {
|
|
7067
7078
|
case Ad:
|
|
7068
|
-
return
|
|
7079
|
+
return ls(e);
|
|
7069
7080
|
case bd:
|
|
7070
7081
|
case _d:
|
|
7071
7082
|
return new n(+e);
|
|
@@ -7094,47 +7105,47 @@ function zd(e, s, t) {
|
|
|
7094
7105
|
return pd(e);
|
|
7095
7106
|
}
|
|
7096
7107
|
}
|
|
7097
|
-
var
|
|
7108
|
+
var js = Object.create, Fd = /* @__PURE__ */ function() {
|
|
7098
7109
|
function e() {
|
|
7099
7110
|
}
|
|
7100
7111
|
return function(s) {
|
|
7101
|
-
if (!
|
|
7112
|
+
if (!kt(s))
|
|
7102
7113
|
return {};
|
|
7103
|
-
if (
|
|
7104
|
-
return
|
|
7114
|
+
if (js)
|
|
7115
|
+
return js(s);
|
|
7105
7116
|
e.prototype = s;
|
|
7106
7117
|
var t = new e();
|
|
7107
7118
|
return e.prototype = void 0, t;
|
|
7108
7119
|
};
|
|
7109
7120
|
}();
|
|
7110
7121
|
function Ld(e) {
|
|
7111
|
-
return typeof e.constructor == "function" && !
|
|
7122
|
+
return typeof e.constructor == "function" && !Sn(e) ? Fd(sd(e)) : {};
|
|
7112
7123
|
}
|
|
7113
7124
|
var Vd = "[object Map]";
|
|
7114
7125
|
function Hd(e) {
|
|
7115
|
-
return Qe(e) &&
|
|
7126
|
+
return Qe(e) && fe(e) == Vd;
|
|
7116
7127
|
}
|
|
7117
|
-
var
|
|
7128
|
+
var Is = Ie && Ie.isMap, Nd = Is ? os(Is) : Hd, Dd = "[object Set]";
|
|
7118
7129
|
function Wd(e) {
|
|
7119
|
-
return Qe(e) &&
|
|
7130
|
+
return Qe(e) && fe(e) == Dd;
|
|
7120
7131
|
}
|
|
7121
|
-
var
|
|
7122
|
-
F[
|
|
7123
|
-
F[Kd] = F[
|
|
7124
|
-
function
|
|
7132
|
+
var Ms = Ie && Ie.isSet, Xd = Ms ? os(Ms) : Wd, Cn = "[object Arguments]", Gd = "[object Array]", qd = "[object Boolean]", Yd = "[object Date]", Kd = "[object Error]", Tn = "[object Function]", Zd = "[object GeneratorFunction]", Jd = "[object Map]", Qd = "[object Number]", An = "[object Object]", ef = "[object RegExp]", tf = "[object Set]", sf = "[object String]", nf = "[object Symbol]", of = "[object WeakMap]", lf = "[object ArrayBuffer]", rf = "[object DataView]", af = "[object Float32Array]", cf = "[object Float64Array]", uf = "[object Int8Array]", df = "[object Int16Array]", ff = "[object Int32Array]", hf = "[object Uint8Array]", mf = "[object Uint8ClampedArray]", gf = "[object Uint16Array]", vf = "[object Uint32Array]", F = {};
|
|
7133
|
+
F[Cn] = F[Gd] = F[lf] = F[rf] = F[qd] = F[Yd] = F[af] = F[cf] = F[uf] = F[df] = F[ff] = F[Jd] = F[Qd] = F[An] = F[ef] = F[tf] = F[sf] = F[nf] = F[hf] = F[mf] = F[gf] = F[vf] = !0;
|
|
7134
|
+
F[Kd] = F[Tn] = F[of] = !1;
|
|
7135
|
+
function lt(e, s, t, n, o, l) {
|
|
7125
7136
|
var r;
|
|
7126
7137
|
if (r !== void 0)
|
|
7127
7138
|
return r;
|
|
7128
|
-
if (!
|
|
7139
|
+
if (!kt(e))
|
|
7129
7140
|
return e;
|
|
7130
|
-
var i =
|
|
7141
|
+
var i = ns(e);
|
|
7131
7142
|
if (i)
|
|
7132
7143
|
r = hd(e);
|
|
7133
7144
|
else {
|
|
7134
|
-
var c =
|
|
7135
|
-
if (
|
|
7145
|
+
var c = fe(e), a = c == Tn || c == Zd;
|
|
7146
|
+
if (bn(e))
|
|
7136
7147
|
return Yu(e);
|
|
7137
|
-
if (c ==
|
|
7148
|
+
if (c == An || c == Cn || a && !o)
|
|
7138
7149
|
r = a ? {} : Ld(e);
|
|
7139
7150
|
else {
|
|
7140
7151
|
if (!F[c])
|
|
@@ -7142,26 +7153,26 @@ function ot(e, s, t, n, o, l) {
|
|
|
7142
7153
|
r = zd(e, c);
|
|
7143
7154
|
}
|
|
7144
7155
|
}
|
|
7145
|
-
l || (l = new
|
|
7156
|
+
l || (l = new Pe());
|
|
7146
7157
|
var d = l.get(e);
|
|
7147
7158
|
if (d)
|
|
7148
7159
|
return d;
|
|
7149
|
-
l.set(e, r), Xd(e) ? e.forEach(function(
|
|
7150
|
-
r.add(
|
|
7151
|
-
}) : Nd(e) && e.forEach(function(
|
|
7152
|
-
r.set(
|
|
7160
|
+
l.set(e, r), Xd(e) ? e.forEach(function(b) {
|
|
7161
|
+
r.add(lt(b, s, t, b, e, l));
|
|
7162
|
+
}) : Nd(e) && e.forEach(function(b, C) {
|
|
7163
|
+
r.set(C, lt(b, s, t, C, e, l));
|
|
7153
7164
|
});
|
|
7154
|
-
var
|
|
7155
|
-
return qc(
|
|
7156
|
-
|
|
7165
|
+
var v = od, p = i ? void 0 : v(e);
|
|
7166
|
+
return qc(p || e, function(b, C) {
|
|
7167
|
+
p && (C = b, b = e[C]), Jc(r, C, lt(b, s, t, C, e, l));
|
|
7157
7168
|
}), r;
|
|
7158
7169
|
}
|
|
7159
7170
|
var pf = 1, yf = 4;
|
|
7160
7171
|
function bf(e) {
|
|
7161
|
-
return
|
|
7172
|
+
return lt(e, pf | yf);
|
|
7162
7173
|
}
|
|
7163
|
-
const
|
|
7164
|
-
let
|
|
7174
|
+
const Et = (e) => e.every((s) => typeof s == "object"), Ps = !0, On = () => window.innerWidth;
|
|
7175
|
+
let zs = On();
|
|
7165
7176
|
const _f = {
|
|
7166
7177
|
name: "UluTableSticky",
|
|
7167
7178
|
components: {
|
|
@@ -7196,7 +7207,7 @@ const _f = {
|
|
|
7196
7207
|
*/
|
|
7197
7208
|
caption: {
|
|
7198
7209
|
type: String,
|
|
7199
|
-
required:
|
|
7210
|
+
required: Ps
|
|
7200
7211
|
},
|
|
7201
7212
|
/**
|
|
7202
7213
|
* Array of column configurations to convert to list output
|
|
@@ -7217,8 +7228,8 @@ const _f = {
|
|
|
7217
7228
|
*/
|
|
7218
7229
|
columns: {
|
|
7219
7230
|
type: Array,
|
|
7220
|
-
validator:
|
|
7221
|
-
required:
|
|
7231
|
+
validator: Et,
|
|
7232
|
+
required: Ps
|
|
7222
7233
|
},
|
|
7223
7234
|
/**
|
|
7224
7235
|
* Whether the first column of the table should be sticky
|
|
@@ -7238,7 +7249,7 @@ const _f = {
|
|
|
7238
7249
|
*/
|
|
7239
7250
|
rows: {
|
|
7240
7251
|
type: Array,
|
|
7241
|
-
validator:
|
|
7252
|
+
validator: Et
|
|
7242
7253
|
// required
|
|
7243
7254
|
},
|
|
7244
7255
|
/**
|
|
@@ -7246,7 +7257,7 @@ const _f = {
|
|
|
7246
7257
|
*/
|
|
7247
7258
|
footerRows: {
|
|
7248
7259
|
type: Array,
|
|
7249
|
-
validator:
|
|
7260
|
+
validator: Et
|
|
7250
7261
|
},
|
|
7251
7262
|
/**
|
|
7252
7263
|
* Enables the visibility of the scroll controls
|
|
@@ -7282,7 +7293,7 @@ const _f = {
|
|
|
7282
7293
|
headerRows: this.createHeaderRows(e),
|
|
7283
7294
|
sizesCalculated: !1,
|
|
7284
7295
|
tableWidth: "auto",
|
|
7285
|
-
resizeHandler:
|
|
7296
|
+
resizeHandler: Wt(this.onResize.bind(this), 500, !0),
|
|
7286
7297
|
resizing: !1,
|
|
7287
7298
|
overflownX: !1,
|
|
7288
7299
|
canScrollLeft: !1,
|
|
@@ -7462,8 +7473,8 @@ const _f = {
|
|
|
7462
7473
|
})) : [];
|
|
7463
7474
|
},
|
|
7464
7475
|
onResize() {
|
|
7465
|
-
const e =
|
|
7466
|
-
|
|
7476
|
+
const e = On();
|
|
7477
|
+
zs !== e && (zs = e, this.resizing ? (this.resizing = !1, this.setTableSizes(), this.checkOverflowX(), this.syncScrollLeft()) : (this.resizing = !0, this.removeTableSizes()));
|
|
7467
7478
|
},
|
|
7468
7479
|
/**
|
|
7469
7480
|
* Method to update the table (sizes, etc) when data has changed
|
|
@@ -7537,7 +7548,7 @@ const _f = {
|
|
|
7537
7548
|
l && (o.boxWidth = e(l, "width"), o.width = `${o.boxWidth}px`);
|
|
7538
7549
|
});
|
|
7539
7550
|
}), this.firstColumnSticky && (this.currentRows.forEach((n) => t(n)), this.currentFooterRows.forEach((n) => t(n))), this.$nextTick(() => {
|
|
7540
|
-
this.sizesCalculated = !0,
|
|
7551
|
+
this.sizesCalculated = !0, Gs(() => {
|
|
7541
7552
|
this.sizesPainted = !0;
|
|
7542
7553
|
});
|
|
7543
7554
|
});
|
|
@@ -7599,18 +7610,18 @@ function xf(e, s, t, n, o, l) {
|
|
|
7599
7610
|
width: o.tableWidth
|
|
7600
7611
|
}),
|
|
7601
7612
|
onColumnSorted: l.applySort
|
|
7602
|
-
},
|
|
7603
|
-
|
|
7613
|
+
}, xe({ _: 2 }, [
|
|
7614
|
+
R(e.$slots, (i, c) => ({
|
|
7604
7615
|
name: c,
|
|
7605
|
-
fn:
|
|
7606
|
-
g(e.$slots, c,
|
|
7616
|
+
fn: k((a) => [
|
|
7617
|
+
g(e.$slots, c, oe(re(a)))
|
|
7607
7618
|
])
|
|
7608
7619
|
}))
|
|
7609
7620
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
7610
7621
|
])
|
|
7611
7622
|
]),
|
|
7612
7623
|
h("div", kf, [
|
|
7613
|
-
t.firstColumnSticky ? (u(),
|
|
7624
|
+
t.firstColumnSticky ? (u(), S(r, {
|
|
7614
7625
|
key: 0,
|
|
7615
7626
|
ref: "firstColumnHeader",
|
|
7616
7627
|
class: "table-sticky__table table-sticky__table--first-column-header",
|
|
@@ -7625,17 +7636,17 @@ function xf(e, s, t, n, o, l) {
|
|
|
7625
7636
|
pointerEvents: l.headerVisibleX ? "auto" : "none"
|
|
7626
7637
|
}),
|
|
7627
7638
|
onColumnSorted: l.applySort
|
|
7628
|
-
},
|
|
7629
|
-
|
|
7639
|
+
}, xe({ _: 2 }, [
|
|
7640
|
+
R(e.$slots, (i, c) => ({
|
|
7630
7641
|
name: c,
|
|
7631
|
-
fn:
|
|
7632
|
-
g(e.$slots, c,
|
|
7642
|
+
fn: k((a) => [
|
|
7643
|
+
g(e.$slots, c, oe(re(a)))
|
|
7633
7644
|
])
|
|
7634
7645
|
}))
|
|
7635
7646
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : y("", !0)
|
|
7636
7647
|
]),
|
|
7637
7648
|
h("div", $f, [
|
|
7638
|
-
|
|
7649
|
+
Be(h("div", {
|
|
7639
7650
|
class: m(["table-sticky__controls", l.resolveClasses(t.classes.controls)]),
|
|
7640
7651
|
ref: "controls"
|
|
7641
7652
|
}, [
|
|
@@ -7645,7 +7656,7 @@ function xf(e, s, t, n, o, l) {
|
|
|
7645
7656
|
scrollRight: l.scrollRight,
|
|
7646
7657
|
canScrollLeft: o.canScrollLeft,
|
|
7647
7658
|
canScrollRight: o.canScrollRight
|
|
7648
|
-
}) : t.controlsComponent ? (u(),
|
|
7659
|
+
}) : t.controlsComponent ? (u(), S(P(t.controlsComponent), {
|
|
7649
7660
|
key: 1,
|
|
7650
7661
|
scrollLeft: l.scrollLeft,
|
|
7651
7662
|
scrollRight: l.scrollRight,
|
|
@@ -7659,7 +7670,7 @@ function xf(e, s, t, n, o, l) {
|
|
|
7659
7670
|
disabled: !o.canScrollLeft
|
|
7660
7671
|
}, [
|
|
7661
7672
|
g(e.$slots, "controlLeft", {}, () => [
|
|
7662
|
-
s[2] || (s[2] =
|
|
7673
|
+
s[2] || (s[2] = $(" ← ", -1))
|
|
7663
7674
|
])
|
|
7664
7675
|
], 10, Tf),
|
|
7665
7676
|
h("button", {
|
|
@@ -7669,12 +7680,12 @@ function xf(e, s, t, n, o, l) {
|
|
|
7669
7680
|
disabled: !o.canScrollRight
|
|
7670
7681
|
}, [
|
|
7671
7682
|
g(e.$slots, "controlRight", {}, () => [
|
|
7672
|
-
s[3] || (s[3] =
|
|
7683
|
+
s[3] || (s[3] = $(" → ", -1))
|
|
7673
7684
|
])
|
|
7674
7685
|
], 10, Af)
|
|
7675
7686
|
]))
|
|
7676
7687
|
], 2), [
|
|
7677
|
-
[
|
|
7688
|
+
[jt, l.controlsShown]
|
|
7678
7689
|
])
|
|
7679
7690
|
]),
|
|
7680
7691
|
h("div", Of, [
|
|
@@ -7696,16 +7707,16 @@ function xf(e, s, t, n, o, l) {
|
|
|
7696
7707
|
onActualHeaderRemoved: l.headerRemoved,
|
|
7697
7708
|
onActualHeaderAdded: l.headerAdded,
|
|
7698
7709
|
onColumnSorted: l.applySort
|
|
7699
|
-
},
|
|
7700
|
-
|
|
7710
|
+
}, xe({ _: 2 }, [
|
|
7711
|
+
R(e.$slots, (i, c) => ({
|
|
7701
7712
|
name: c,
|
|
7702
|
-
fn:
|
|
7703
|
-
g(e.$slots, c,
|
|
7713
|
+
fn: k((a) => [
|
|
7714
|
+
g(e.$slots, c, oe(re(a)))
|
|
7704
7715
|
])
|
|
7705
7716
|
}))
|
|
7706
7717
|
]), 1032, ["classes", "resolveClasses", "headerRows", "rows", "footerRows", "rowColumns", "caption", "idPrefix", "getRowValue", "getColumnTitle", "onVnodeMounted", "onActualHeaderRemoved", "onActualHeaderAdded", "onColumnSorted"])
|
|
7707
7718
|
], 512),
|
|
7708
|
-
t.firstColumnSticky ? (u(),
|
|
7719
|
+
t.firstColumnSticky ? (u(), S(r, {
|
|
7709
7720
|
key: 0,
|
|
7710
7721
|
ref: "firstColumn",
|
|
7711
7722
|
class: "table-sticky__table table-sticky__table--first-column",
|
|
@@ -7725,11 +7736,11 @@ function xf(e, s, t, n, o, l) {
|
|
|
7725
7736
|
pointerEvents: l.headerVisibleX ? "auto" : "none"
|
|
7726
7737
|
}),
|
|
7727
7738
|
onColumnSorted: l.applySort
|
|
7728
|
-
},
|
|
7729
|
-
|
|
7739
|
+
}, xe({ _: 2 }, [
|
|
7740
|
+
R(e.$slots, (i, c) => ({
|
|
7730
7741
|
name: c,
|
|
7731
|
-
fn:
|
|
7732
|
-
g(e.$slots, c,
|
|
7742
|
+
fn: k((a) => [
|
|
7743
|
+
g(e.$slots, c, oe(re(a)))
|
|
7733
7744
|
])
|
|
7734
7745
|
}))
|
|
7735
7746
|
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : y("", !0)
|
|
@@ -7741,7 +7752,7 @@ const im = /* @__PURE__ */ j(_f, [["render", xf]]), am = /* @__PURE__ */ Object.
|
|
|
7741
7752
|
router: $l
|
|
7742
7753
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7743
7754
|
export {
|
|
7744
|
-
|
|
7755
|
+
ms as UluAccordion,
|
|
7745
7756
|
$h as UluAdaptiveLayout,
|
|
7746
7757
|
ah as UluAlert,
|
|
7747
7758
|
zh as UluAnimateNumber,
|
|
@@ -7752,7 +7763,7 @@ export {
|
|
|
7752
7763
|
uh as UluButtonVerbose,
|
|
7753
7764
|
dh as UluCallout,
|
|
7754
7765
|
fh as UluCard,
|
|
7755
|
-
|
|
7766
|
+
zt as UluCollapsible,
|
|
7756
7767
|
Bh as UluConditionalText,
|
|
7757
7768
|
Gr as UluConditionalWrapper,
|
|
7758
7769
|
Ch as UluDataGrid,
|
|
@@ -7767,7 +7778,7 @@ export {
|
|
|
7767
7778
|
Wh as UluFacetsFilterPopovers,
|
|
7768
7779
|
Xh as UluFacetsFilterSelects,
|
|
7769
7780
|
Gh as UluFacetsHeaderLayout,
|
|
7770
|
-
|
|
7781
|
+
ct as UluFacetsList,
|
|
7771
7782
|
qh as UluFacetsResults,
|
|
7772
7783
|
Yh as UluFacetsSearch,
|
|
7773
7784
|
Kh as UluFacetsSidebarLayout,
|
|
@@ -7781,9 +7792,9 @@ export {
|
|
|
7781
7792
|
lm as UluImageSlideShow,
|
|
7782
7793
|
gh as UluList,
|
|
7783
7794
|
vh as UluMain,
|
|
7784
|
-
|
|
7795
|
+
ln as UluMenu,
|
|
7785
7796
|
ul as UluMenuStack,
|
|
7786
|
-
|
|
7797
|
+
Ks as UluModal,
|
|
7787
7798
|
Oh as UluNavStrip,
|
|
7788
7799
|
sh as UluOverflowPopover,
|
|
7789
7800
|
xh as UluPager,
|
|
@@ -7798,7 +7809,7 @@ export {
|
|
|
7798
7809
|
em as UluScrollAnchorsNavAnimated,
|
|
7799
7810
|
tm as UluScrollAnchorsSection,
|
|
7800
7811
|
kh as UluSearchForm,
|
|
7801
|
-
|
|
7812
|
+
un as UluSelectableMenu,
|
|
7802
7813
|
sm as UluShowSkeleton,
|
|
7803
7814
|
nm as UluSkeletonContent,
|
|
7804
7815
|
om as UluSkeletonMedia,
|
|
@@ -7815,7 +7826,7 @@ export {
|
|
|
7815
7826
|
im as UluTableSticky,
|
|
7816
7827
|
Ea as UluTableStickyRows,
|
|
7817
7828
|
Xa as UluTableStickyTable,
|
|
7818
|
-
|
|
7829
|
+
on as UluTag,
|
|
7819
7830
|
Th as UluTitleRail,
|
|
7820
7831
|
Jf as breakpointsPlugin,
|
|
7821
7832
|
Xf as corePlugin,
|
|
@@ -7831,7 +7842,7 @@ export {
|
|
|
7831
7842
|
_e as useRequiredInject,
|
|
7832
7843
|
Gf as useTooltip,
|
|
7833
7844
|
qf as useTooltipFollow,
|
|
7834
|
-
|
|
7845
|
+
qs as useUluFloating,
|
|
7835
7846
|
fl as useWindowResize,
|
|
7836
7847
|
am as utils
|
|
7837
7848
|
};
|