@ulu/frontend-vue 0.1.0-beta.28 → 0.1.0-beta.29
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { reactive as lt, ref as M, computed as S, resolveDirective as
|
|
2
|
-
import { inline as
|
|
3
|
-
import { Disclosure as
|
|
4
|
-
import { useRoute as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { reactive as lt, ref as M, computed as S, resolveDirective as rs, createElementBlock as d, openBlock as a, Fragment as O, withDirectives as ke, createElementVNode as h, unref as T, normalizeClass as m, renderSlot as g, withKeys as ls, normalizeStyle as P, createCommentVNode as v, nextTick as as, toRef as Ys, toDisplayString as y, createBlock as p, Teleport as at, resolveDynamicComponent as B, mergeProps as Z, inject as ct, watchEffect as ut, defineAsyncComponent as Ks, markRaw as ue, toRefs as Gs, toValue as Ee, resolveComponent as z, withModifiers as Zs, createVNode as R, useSlots as Js, renderList as A, TransitionGroup as cs, withCtx as w, createTextVNode as k, vShow as us, watch as ds, isRef as Qs, hasInjectionContext as en, getCurrentInstance as tn, onBeforeUnmount as sn, onDeactivated as nn, onActivated as on, onUnmounted as fs, onMounted as rn, normalizeProps as q, guardReactiveProps as Y, vModelText as ln, createSlots as ce } from "vue";
|
|
2
|
+
import { inline as hs, offset as ms, flip as gs, shift as ys, arrow as ps, useFloating as _s, autoUpdate as vs } from "@floating-ui/vue";
|
|
3
|
+
import { Disclosure as an, DisclosureButton as cn, DisclosurePanel as un, Tab as dn, TabGroup as fn, TabList as hn, TabPanel as mn, TabPanels as gn } from "@headlessui/vue";
|
|
4
|
+
import { useRoute as bs, useRouter as yn, RouterLink as Pe } from "vue-router";
|
|
5
|
+
import pn from "gsap";
|
|
6
|
+
import _n from "fuse.js";
|
|
7
7
|
const Tt = {
|
|
8
8
|
fontAwesomeStatic: !1,
|
|
9
9
|
iconComponent: null,
|
|
@@ -176,24 +176,24 @@ const Ue = {
|
|
|
176
176
|
*/
|
|
177
177
|
onReady: null
|
|
178
178
|
}
|
|
179
|
-
},
|
|
179
|
+
}, ne = {
|
|
180
180
|
plugin: { ...Ue.plugin },
|
|
181
181
|
popover: { ...Ue.popover },
|
|
182
182
|
tooltip: { ...Ue.tooltip, ...Ue.popover }
|
|
183
183
|
}, dt = M(!1), ft = M(null);
|
|
184
|
-
function
|
|
185
|
-
return Object.assign(
|
|
186
|
-
}
|
|
187
|
-
function vn(e) {
|
|
188
|
-
return Object.assign({}, oe.tooltip, e);
|
|
184
|
+
function vn(e = {}) {
|
|
185
|
+
return Object.assign(ne.popover, e.popover), Object.assign(ne.tooltip, e.tooltip), Object.assign(ne.plugin, e.plugin), ne;
|
|
189
186
|
}
|
|
190
187
|
function bn(e) {
|
|
188
|
+
return Object.assign({}, ne.tooltip, e);
|
|
189
|
+
}
|
|
190
|
+
function wn(e) {
|
|
191
191
|
dt.value = !0, ft.value = e;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Sn() {
|
|
194
194
|
dt.value = !1, ft.value = null;
|
|
195
195
|
}
|
|
196
|
-
const ze = /* @__PURE__ */ new WeakMap(),
|
|
196
|
+
const ze = /* @__PURE__ */ new WeakMap(), kn = {
|
|
197
197
|
mounted(e, s) {
|
|
198
198
|
$t(e, s);
|
|
199
199
|
},
|
|
@@ -208,15 +208,15 @@ const ze = /* @__PURE__ */ new WeakMap(), Sn = {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
function $t(e, s) {
|
|
211
|
-
const t =
|
|
211
|
+
const t = Cn(e, s);
|
|
212
212
|
if (!t) return;
|
|
213
213
|
let n = null;
|
|
214
214
|
const i = () => {
|
|
215
215
|
n || (n = setTimeout(() => {
|
|
216
|
-
|
|
216
|
+
wn(t), clearTimeout(n);
|
|
217
217
|
}, t.delay));
|
|
218
218
|
}, o = () => {
|
|
219
|
-
n && (clearTimeout(n), n = null),
|
|
219
|
+
n && (clearTimeout(n), n = null), Sn();
|
|
220
220
|
};
|
|
221
221
|
t.showEvents.forEach((r) => {
|
|
222
222
|
e.addEventListener(r, i);
|
|
@@ -234,17 +234,17 @@ function At(e) {
|
|
|
234
234
|
e.removeEventListener(i, n);
|
|
235
235
|
}), ze.delete(e);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function Cn(e, s) {
|
|
238
238
|
const { value: t } = s;
|
|
239
239
|
let n;
|
|
240
240
|
if (!(t === !1 || t === null))
|
|
241
|
-
return typeof t == "object" ? n = t : n = { content: t },
|
|
241
|
+
return typeof t == "object" ? n = t : n = { content: t }, bn(Object.assign({}, { trigger: e }, n));
|
|
242
242
|
}
|
|
243
|
-
let
|
|
244
|
-
function
|
|
245
|
-
return `ulu-popovers-uid-${++
|
|
243
|
+
let Tn = 0;
|
|
244
|
+
function Ot() {
|
|
245
|
+
return `ulu-popovers-uid-${++Tn}`;
|
|
246
246
|
}
|
|
247
|
-
const $n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], An = ["aria-
|
|
247
|
+
const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], An = ["aria-labelledby", "id", "data-placement"], On = { class: "popover__inner" }, xn = {
|
|
248
248
|
key: 0,
|
|
249
249
|
class: "popover__footer"
|
|
250
250
|
}, Fe = {
|
|
@@ -278,105 +278,106 @@ const $n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], An = ["
|
|
|
278
278
|
},
|
|
279
279
|
emits: ["toggle"],
|
|
280
280
|
setup(e, { emit: s }) {
|
|
281
|
-
const t = s, n = e, i =
|
|
282
|
-
...
|
|
283
|
-
...
|
|
284
|
-
ms(),
|
|
281
|
+
const t = s, n = e, i = Ot(), o = Ot(), r = Object.assign({}, ne.popover, n.config), l = M(n.startOpen || !1), c = M(null), u = M(null), f = M(null), _ = [
|
|
282
|
+
...r.inline ? [hs()] : [],
|
|
283
|
+
...r.offset ? [ms(r.offset)] : [],
|
|
285
284
|
gs(),
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
285
|
+
ys(),
|
|
286
|
+
...r.arrow ? [ps({ element: f })] : []
|
|
287
|
+
], b = {
|
|
288
|
+
placement: r.placement,
|
|
289
|
+
whileElementsMounted: vs,
|
|
290
|
+
middleware: _
|
|
291
291
|
}, {
|
|
292
|
-
floatingStyles:
|
|
293
|
-
placement:
|
|
294
|
-
middlewareData:
|
|
295
|
-
update:
|
|
296
|
-
isPositioned:
|
|
297
|
-
} =
|
|
298
|
-
const D =
|
|
292
|
+
floatingStyles: x,
|
|
293
|
+
placement: I,
|
|
294
|
+
middlewareData: L,
|
|
295
|
+
update: U,
|
|
296
|
+
isPositioned: Q
|
|
297
|
+
} = _s(c, u, b), $e = S(() => {
|
|
298
|
+
const D = L.value?.arrow;
|
|
299
299
|
return D ? {
|
|
300
300
|
position: "absolute",
|
|
301
301
|
left: D?.x != null ? `${D.x}px` : "",
|
|
302
302
|
top: D?.y != null ? `${D.y}px` : ""
|
|
303
303
|
} : null;
|
|
304
304
|
});
|
|
305
|
-
|
|
306
|
-
const
|
|
307
|
-
|
|
308
|
-
},
|
|
309
|
-
|
|
305
|
+
r.onReady && r.onReady({ update: U, isPositioned: Q });
|
|
306
|
+
const Ae = () => {
|
|
307
|
+
le(!l.value);
|
|
308
|
+
}, le = (D) => {
|
|
309
|
+
l.value = D;
|
|
310
310
|
const ee = {
|
|
311
|
-
trigger:
|
|
312
|
-
content:
|
|
313
|
-
isOpen:
|
|
314
|
-
},
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}, 0)) : (
|
|
311
|
+
trigger: T(c),
|
|
312
|
+
content: T(u),
|
|
313
|
+
isOpen: T(l)
|
|
314
|
+
}, $ = { isOpen: ee.isOpen };
|
|
315
|
+
as(() => {
|
|
316
|
+
l.value ? (U(), window.setTimeout(() => {
|
|
317
|
+
Oe(), n.directFocus(ee), t("toggle", $);
|
|
318
|
+
}, 0)) : (ge(), n.directFocus(ee), t("toggle", $));
|
|
319
319
|
});
|
|
320
320
|
};
|
|
321
|
-
let
|
|
322
|
-
const
|
|
323
|
-
n.clickOutsideCloses && (
|
|
324
|
-
|
|
325
|
-
}, document.addEventListener("click",
|
|
326
|
-
},
|
|
327
|
-
|
|
328
|
-
},
|
|
321
|
+
let W;
|
|
322
|
+
const Oe = () => {
|
|
323
|
+
n.clickOutsideCloses && (W && ge(), W = (D) => {
|
|
324
|
+
u.value.contains(D.target) || le(!1);
|
|
325
|
+
}, document.addEventListener("click", W));
|
|
326
|
+
}, ge = () => {
|
|
327
|
+
W && (document.removeEventListener("click", W), W = null);
|
|
328
|
+
}, xe = () => le(!1);
|
|
329
329
|
return (D, ee) => {
|
|
330
|
-
const
|
|
331
|
-
return a(), d(
|
|
332
|
-
|
|
330
|
+
const $ = rs("ulu-tooltip");
|
|
331
|
+
return a(), d(O, null, [
|
|
332
|
+
ke((a(), d("button", {
|
|
333
333
|
type: "button",
|
|
334
334
|
ref_key: "trigger",
|
|
335
|
-
ref:
|
|
336
|
-
onClick:
|
|
335
|
+
ref: c,
|
|
336
|
+
onClick: Ae,
|
|
337
|
+
id: T(o),
|
|
337
338
|
disabled: e.disabled,
|
|
338
339
|
class: m([
|
|
339
|
-
{ [e.activeClass]:
|
|
340
|
+
{ [e.activeClass]: l.value },
|
|
340
341
|
e.classes.trigger
|
|
341
342
|
]),
|
|
342
|
-
"aria-expanded":
|
|
343
|
-
"aria-controls":
|
|
343
|
+
"aria-expanded": l.value ? "true" : "false",
|
|
344
|
+
"aria-controls": T(i),
|
|
344
345
|
"aria-label": e.triggerAlt
|
|
345
346
|
}, [
|
|
346
|
-
g(D.$slots, "trigger", { isOpen:
|
|
347
|
+
g(D.$slots, "trigger", { isOpen: l.value })
|
|
347
348
|
], 10, $n)), [
|
|
348
|
-
[
|
|
349
|
+
[$, e.tooltip ? e.tooltip : null]
|
|
349
350
|
]),
|
|
350
351
|
h("span", {
|
|
351
352
|
class: m(["popover", [
|
|
352
353
|
e.size ? `popover--${e.size}` : "",
|
|
353
354
|
{
|
|
354
355
|
"popover--no-padding": e.noPadding,
|
|
355
|
-
"is-active":
|
|
356
|
+
"is-active": l.value
|
|
356
357
|
},
|
|
357
358
|
e.classes.content
|
|
358
359
|
]]),
|
|
359
360
|
ref_key: "content",
|
|
360
|
-
ref:
|
|
361
|
-
"aria-
|
|
362
|
-
id:
|
|
363
|
-
style: P(
|
|
364
|
-
"data-placement":
|
|
365
|
-
onKeydown: ee[0] || (ee[0] =
|
|
361
|
+
ref: u,
|
|
362
|
+
"aria-labelledby": T(o),
|
|
363
|
+
id: T(i),
|
|
364
|
+
style: P(T(x)),
|
|
365
|
+
"data-placement": T(I),
|
|
366
|
+
onKeydown: ee[0] || (ee[0] = ls((F) => le(!1), ["esc"])),
|
|
366
367
|
tabindex: "-1"
|
|
367
368
|
}, [
|
|
368
369
|
h("span", On, [
|
|
369
|
-
g(D.$slots, "content", { close:
|
|
370
|
+
g(D.$slots, "content", { close: xe })
|
|
370
371
|
]),
|
|
371
372
|
D.$slots.footer ? (a(), d("span", xn, [
|
|
372
|
-
g(D.$slots, "footer", { close:
|
|
373
|
+
g(D.$slots, "footer", { close: xe })
|
|
373
374
|
])) : v("", !0),
|
|
374
|
-
|
|
375
|
+
T(r).arrow ? (a(), d("span", {
|
|
375
376
|
key: 1,
|
|
376
377
|
class: "popover__arrow",
|
|
377
378
|
ref_key: "contentArrow",
|
|
378
|
-
ref:
|
|
379
|
-
style: P(
|
|
379
|
+
ref: f,
|
|
380
|
+
style: P($e.value),
|
|
380
381
|
"data-ulu-popover-arrow": ""
|
|
381
382
|
}, null, 4)) : v("", !0)
|
|
382
383
|
], 46, An)
|
|
@@ -392,15 +393,15 @@ const $n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], An = ["
|
|
|
392
393
|
config: Object
|
|
393
394
|
},
|
|
394
395
|
setup(e) {
|
|
395
|
-
const s =
|
|
396
|
-
...e.config.inline ? [
|
|
397
|
-
...e.config.offset ? [
|
|
398
|
-
ms(),
|
|
396
|
+
const s = Ys(e.config.trigger), t = M(null), n = M(null), i = [
|
|
397
|
+
...e.config.inline ? [hs()] : [],
|
|
398
|
+
...e.config.offset ? [ms(e.config.offset)] : [],
|
|
399
399
|
gs(),
|
|
400
|
-
|
|
400
|
+
ys(),
|
|
401
|
+
...e.config.arrow ? [ps({ element: n })] : []
|
|
401
402
|
], o = {
|
|
402
403
|
placement: e.config.placement,
|
|
403
|
-
whileElementsMounted:
|
|
404
|
+
whileElementsMounted: vs,
|
|
404
405
|
middleware: i
|
|
405
406
|
}, {
|
|
406
407
|
floatingStyles: r,
|
|
@@ -408,7 +409,7 @@ const $n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], An = ["
|
|
|
408
409
|
middlewareData: c,
|
|
409
410
|
update: u,
|
|
410
411
|
isPositioned: f
|
|
411
|
-
} =
|
|
412
|
+
} = _s(s, t, o), _ = S(() => {
|
|
412
413
|
const b = c.value?.arrow;
|
|
413
414
|
return b ? {
|
|
414
415
|
position: "absolute",
|
|
@@ -416,13 +417,13 @@ const $n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], An = ["
|
|
|
416
417
|
top: b?.y != null ? `${b.y}px` : ""
|
|
417
418
|
} : null;
|
|
418
419
|
});
|
|
419
|
-
return e.config.onReady && e.config.onReady({ update: u, isPositioned: f }), (b,
|
|
420
|
+
return e.config.onReady && e.config.onReady({ update: u, isPositioned: f }), (b, x) => (a(), d("span", {
|
|
420
421
|
class: m(["popover popover--tooltip is-active", e.config.class]),
|
|
421
422
|
ref_key: "content",
|
|
422
423
|
ref: t,
|
|
423
424
|
"aria-hidden": "true",
|
|
424
|
-
"data-placement":
|
|
425
|
-
style: P(
|
|
425
|
+
"data-placement": T(l),
|
|
426
|
+
style: P(T(r))
|
|
426
427
|
}, [
|
|
427
428
|
e.config.isHtml ? (a(), d("span", {
|
|
428
429
|
key: 0,
|
|
@@ -442,18 +443,18 @@ const $n = ["disabled", "aria-expanded", "aria-controls", "aria-label"], An = ["
|
|
|
442
443
|
__name: "UluTooltipDisplay",
|
|
443
444
|
setup(e) {
|
|
444
445
|
return (s, t) => (a(), p(at, {
|
|
445
|
-
to:
|
|
446
|
+
to: T(ne).plugin.tooltipTeleportTo
|
|
446
447
|
}, [
|
|
447
|
-
|
|
448
|
+
T(dt) ? (a(), p(En, {
|
|
448
449
|
key: 0,
|
|
449
|
-
config:
|
|
450
|
+
config: T(ft)
|
|
450
451
|
}, null, 8, ["config"])) : v("", !0)
|
|
451
452
|
], 8, ["to"]));
|
|
452
453
|
}
|
|
453
454
|
};
|
|
454
455
|
function ef(e, s = {}) {
|
|
455
|
-
const t =
|
|
456
|
-
t.plugin.global && (e.directive(t.plugin.directiveName,
|
|
456
|
+
const t = vn(s);
|
|
457
|
+
t.plugin.global && (e.directive(t.plugin.directiveName, kn), e.component("UluTooltipDisplay", zn), e.component("UluPopover", Fe));
|
|
457
458
|
}
|
|
458
459
|
const C = (e, s) => {
|
|
459
460
|
const t = e.__vccOpts || e;
|
|
@@ -501,7 +502,7 @@ const C = (e, s) => {
|
|
|
501
502
|
}
|
|
502
503
|
};
|
|
503
504
|
function Mn(e, s, t, n, i, o) {
|
|
504
|
-
return o.currentModal ? (a(), p(B(o.currentModal.component),
|
|
505
|
+
return o.currentModal ? (a(), p(B(o.currentModal.component), Z({ key: 0 }, o.currentProps, {
|
|
505
506
|
modelValue: i.open,
|
|
506
507
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => i.open = r),
|
|
507
508
|
onVnodeMounted: o.modalMounted,
|
|
@@ -543,35 +544,35 @@ const V = {
|
|
|
543
544
|
const s = ct("uluCore"), t = M(null), { getIconProps: n, getClassesFromDefinition: i } = Pn();
|
|
544
545
|
let o;
|
|
545
546
|
const r = e, l = S(() => s.getSetting("fontAwesomeStatic")), c = S(() => s.getSetting("iconComponent")), u = S(() => s.getSetting("iconPropResolver")), f = S(() => {
|
|
546
|
-
const { icon:
|
|
547
|
-
if (typeof
|
|
547
|
+
const { icon: L } = r;
|
|
548
|
+
if (typeof L == "string" && L.startsWith("type:"))
|
|
548
549
|
try {
|
|
549
|
-
const
|
|
550
|
-
return s.getIcon(
|
|
551
|
-
} catch (
|
|
552
|
-
return console.warn(
|
|
550
|
+
const U = L.substring(5);
|
|
551
|
+
return s.getIcon(U);
|
|
552
|
+
} catch (U) {
|
|
553
|
+
return console.warn(U), null;
|
|
553
554
|
}
|
|
554
|
-
return
|
|
555
|
-
}), _ = S(() => !c.value || !f.value ? null : u.value(f.value)), b = S(() => n(f.value)),
|
|
555
|
+
return L;
|
|
556
|
+
}), _ = S(() => !c.value || !f.value ? null : u.value(f.value)), b = S(() => n(f.value)), x = S(() => i(f.value)), I = S(() => ({
|
|
556
557
|
"flow-inline": r.spaced
|
|
557
558
|
}));
|
|
558
559
|
return ut(async () => {
|
|
559
560
|
if (!l.value && f.value) {
|
|
560
561
|
if (t.value === null)
|
|
561
562
|
if (o)
|
|
562
|
-
t.value =
|
|
563
|
+
t.value = ue(o.FontAwesomeIcon);
|
|
563
564
|
else {
|
|
564
|
-
const
|
|
565
|
-
const
|
|
566
|
-
return o =
|
|
565
|
+
const L = Ks(async () => {
|
|
566
|
+
const U = await import("./index.es-HlG3u0J5.js");
|
|
567
|
+
return o = U, U.FontAwesomeIcon;
|
|
567
568
|
});
|
|
568
|
-
t.value =
|
|
569
|
+
t.value = ue(L);
|
|
569
570
|
}
|
|
570
571
|
} else
|
|
571
572
|
t.value = null;
|
|
572
|
-
}), (
|
|
573
|
+
}), (L, U) => c.value ? (a(), p(B(c.value), Z({ key: 0 }, _.value, { class: I.value }), null, 16, ["class"])) : !l.value && t.value && f.value ? (a(), p(B(t.value), Z({ key: 1 }, b.value, { class: I.value }), null, 16, ["class"])) : l.value && f.value ? (a(), d("span", {
|
|
573
574
|
key: 2,
|
|
574
|
-
class: m([
|
|
575
|
+
class: m([x.value, I.value]),
|
|
575
576
|
"aria-hidden": "true"
|
|
576
577
|
}, null, 2)) : v("", !0);
|
|
577
578
|
}
|
|
@@ -594,7 +595,7 @@ function Qe(e) {
|
|
|
594
595
|
return s;
|
|
595
596
|
}
|
|
596
597
|
function se({ props: e, baseClass: s, internal: t = {} }) {
|
|
597
|
-
const { modifiers: n } =
|
|
598
|
+
const { modifiers: n } = Gs(e);
|
|
598
599
|
return { resolvedModifiers: S(() => {
|
|
599
600
|
const o = Ee(s), r = Qe(Ee(n)), l = Qe(Ee(t));
|
|
600
601
|
if (!o)
|
|
@@ -603,7 +604,7 @@ function se({ props: e, baseClass: s, internal: t = {} }) {
|
|
|
603
604
|
return Array.from(c).map((u) => `${o}--${u}`);
|
|
604
605
|
}) };
|
|
605
606
|
}
|
|
606
|
-
function
|
|
607
|
+
function ws() {
|
|
607
608
|
return typeof window < "u" && typeof window.document < "u";
|
|
608
609
|
}
|
|
609
610
|
function Fn(e, s) {
|
|
@@ -638,42 +639,42 @@ function Le(e, s, t, n) {
|
|
|
638
639
|
clearTimeout(i), i = setTimeout(c, s), u && e.apply(r, l);
|
|
639
640
|
};
|
|
640
641
|
}
|
|
641
|
-
|
|
642
|
-
const
|
|
642
|
+
ws() && (Dn(), Nn());
|
|
643
|
+
const xt = {
|
|
643
644
|
/**
|
|
644
645
|
* Event is dispatched when DOM in the page has changed, triggers updates from
|
|
645
646
|
* all modules listening for the change (init instances, etc)
|
|
646
647
|
* - Is triggered by modules that were responsible for modifying the page
|
|
647
648
|
*/
|
|
648
649
|
pageModified(e) {
|
|
649
|
-
e.dispatchEvent(
|
|
650
|
+
e.dispatchEvent(pe("pageModified"));
|
|
650
651
|
},
|
|
651
652
|
/**
|
|
652
653
|
* Event called when page is resized
|
|
653
654
|
*/
|
|
654
655
|
pageResized(e) {
|
|
655
|
-
e.dispatchEvent(
|
|
656
|
+
e.dispatchEvent(pe("pageResized"));
|
|
656
657
|
},
|
|
657
658
|
/**
|
|
658
659
|
* Event dispatched before page print begins (teardown/restructure/hide things)
|
|
659
660
|
*/
|
|
660
661
|
beforePrint(e) {
|
|
661
|
-
e.dispatchEvent(
|
|
662
|
+
e.dispatchEvent(pe("beforePrint"));
|
|
662
663
|
},
|
|
663
664
|
/**
|
|
664
665
|
* Event dispatched after page print (cleanup)
|
|
665
666
|
*/
|
|
666
667
|
afterPrint(e) {
|
|
667
|
-
e.dispatchEvent(
|
|
668
|
+
e.dispatchEvent(pe("afterPrint"));
|
|
668
669
|
}
|
|
669
670
|
};
|
|
670
671
|
function et(e, s) {
|
|
671
|
-
|
|
672
|
+
xt[e] ? xt[e](s) : console.warn(`Unable to dispatch site event: ${e} in context:`, s);
|
|
672
673
|
}
|
|
673
674
|
function Vn(e) {
|
|
674
675
|
return "ulu:" + e;
|
|
675
676
|
}
|
|
676
|
-
function
|
|
677
|
+
function pe(e, s = null, t = { bubbles: !0 }) {
|
|
677
678
|
return new CustomEvent(Vn(e), { detail: s, ...t });
|
|
678
679
|
}
|
|
679
680
|
function Dn() {
|
|
@@ -693,7 +694,7 @@ function Xn(e, s, t) {
|
|
|
693
694
|
const n = Wn(s) || "Logger";
|
|
694
695
|
console[e](n, ...t);
|
|
695
696
|
}
|
|
696
|
-
function
|
|
697
|
+
function ae(e, ...s) {
|
|
697
698
|
}
|
|
698
699
|
function je(e, ...s) {
|
|
699
700
|
Xn("error", e, s);
|
|
@@ -818,7 +819,7 @@ class ht {
|
|
|
818
819
|
*/
|
|
819
820
|
destroy() {
|
|
820
821
|
const { control: s, options: t } = this;
|
|
821
|
-
t.manageEvents && (t.enablePointerResizing && s.removeEventListener("pointerdown", this.#n), t.enableKeyboardResizing && s.removeEventListener("keydown", this.#o)), this.#t && clearTimeout(this.#t), this.#c(), t.manageAriaLabel && s.removeAttribute("aria-label"),
|
|
822
|
+
t.manageEvents && (t.enablePointerResizing && s.removeEventListener("pointerdown", this.#n), t.enableKeyboardResizing && s.removeEventListener("keydown", this.#o)), this.#t && clearTimeout(this.#t), this.#c(), t.manageAriaLabel && s.removeAttribute("aria-label"), ae(this, "Resizer destroyed.");
|
|
822
823
|
}
|
|
823
824
|
/**
|
|
824
825
|
* Initiates a resize operation.
|
|
@@ -833,7 +834,7 @@ class ht {
|
|
|
833
834
|
return;
|
|
834
835
|
}
|
|
835
836
|
const o = document.defaultView.getComputedStyle(t);
|
|
836
|
-
this.#e.width = parseInt(o.width, 10), this.#e.height = parseInt(o.height, 10), n.overrideMaxDimensions && (this.resizeHorizontal && (t.style.maxWidth = "none"), this.resizeVertical && (t.style.maxHeight = "none")), this.#s = !0, this.dispatchEvent("resizer:start", s),
|
|
837
|
+
this.#e.width = parseInt(o.width, 10), this.#e.height = parseInt(o.height, 10), n.overrideMaxDimensions && (this.resizeHorizontal && (t.style.maxWidth = "none"), this.resizeVertical && (t.style.maxHeight = "none")), this.#s = !0, this.dispatchEvent("resizer:start", s), ae(this, "Resize started.", {
|
|
837
838
|
initialWidth: this.#e.width,
|
|
838
839
|
initialHeight: this.#e.height,
|
|
839
840
|
...s
|
|
@@ -845,7 +846,7 @@ class ht {
|
|
|
845
846
|
* @private
|
|
846
847
|
*/
|
|
847
848
|
#d() {
|
|
848
|
-
this.#s && (this.dispatchEvent("resizer:end"), this.#c(),
|
|
849
|
+
this.#s && (this.dispatchEvent("resizer:end"), this.#c(), ae(this, "Resize ended."));
|
|
849
850
|
}
|
|
850
851
|
/**
|
|
851
852
|
* Core logic for calculating and applying the new size of the container.
|
|
@@ -867,7 +868,7 @@ class ht {
|
|
|
867
868
|
totalDeltaY: t,
|
|
868
869
|
event: n
|
|
869
870
|
};
|
|
870
|
-
this.dispatchEvent("resizer:update", u),
|
|
871
|
+
this.dispatchEvent("resizer:update", u), ae(this, "Resizing update.", u);
|
|
871
872
|
}
|
|
872
873
|
/**
|
|
873
874
|
* Public handler for pointerdown events. Call this method from your own event listeners
|
|
@@ -876,7 +877,7 @@ class ht {
|
|
|
876
877
|
*/
|
|
877
878
|
onPointerdown(s) {
|
|
878
879
|
if (!this.options.enablePointerResizing) {
|
|
879
|
-
|
|
880
|
+
ae(this, "Pointer resizing disabled. Ignoring pointerdown event.");
|
|
880
881
|
return;
|
|
881
882
|
}
|
|
882
883
|
s.preventDefault();
|
|
@@ -902,7 +903,7 @@ class ht {
|
|
|
902
903
|
*/
|
|
903
904
|
onKeydown(s) {
|
|
904
905
|
if (!this.options.enableKeyboardResizing) {
|
|
905
|
-
|
|
906
|
+
ae(this, "Keyboard resizing disabled. Ignoring keydown event.");
|
|
906
907
|
return;
|
|
907
908
|
}
|
|
908
909
|
const { key: t } = s, { keyboardStep: n, keyboardDebounceTime: i } = this.options;
|
|
@@ -926,7 +927,7 @@ class ht {
|
|
|
926
927
|
* @param {Object} [data={}] Optional data to attach to the event's detail property.
|
|
927
928
|
*/
|
|
928
929
|
dispatchEvent(s, t = {}) {
|
|
929
|
-
this.container.dispatchEvent(
|
|
930
|
+
this.container.dispatchEvent(pe(s, t));
|
|
930
931
|
}
|
|
931
932
|
}
|
|
932
933
|
let qe = 0;
|
|
@@ -1049,7 +1050,7 @@ const qn = {
|
|
|
1049
1050
|
};
|
|
1050
1051
|
},
|
|
1051
1052
|
setup(e) {
|
|
1052
|
-
const s =
|
|
1053
|
+
const s = Js(), t = S(() => e.title || s.title), n = S(() => {
|
|
1053
1054
|
const { allowResize: l, position: c } = e;
|
|
1054
1055
|
if (!l || !c) return;
|
|
1055
1056
|
const u = ["left", "right", "center"];
|
|
@@ -1177,7 +1178,7 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1177
1178
|
"aria-describedby": t.describedby,
|
|
1178
1179
|
ref: "container",
|
|
1179
1180
|
style: P({ width: i.containerWidth }),
|
|
1180
|
-
onCancel: s[1] || (s[1] =
|
|
1181
|
+
onCancel: s[1] || (s[1] = Zs((...l) => o.close && o.close(...l), ["prevent"])),
|
|
1181
1182
|
onClose: s[2] || (s[2] = (...l) => o.handleDialogCloseEvent && o.handleDialogCloseEvent(...l)),
|
|
1182
1183
|
onClick: s[3] || (s[3] = (...l) => o.handleClick && o.handleClick(...l)),
|
|
1183
1184
|
onToggle: s[4] || (s[4] = (...l) => o.handleToggle && o.handleToggle(...l))
|
|
@@ -1206,7 +1207,7 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1206
1207
|
autofocus: ""
|
|
1207
1208
|
}, [
|
|
1208
1209
|
g(e.$slots, "closeIcon", {}, () => [
|
|
1209
|
-
|
|
1210
|
+
R(r, {
|
|
1210
1211
|
class: "modal__close-icon",
|
|
1211
1212
|
icon: t.closeIcon || "type:close"
|
|
1212
1213
|
}, null, 8, ["icon"])
|
|
@@ -1226,7 +1227,7 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1226
1227
|
], 2)) : v("", !0),
|
|
1227
1228
|
n.resizerEnabled ? (a(), d("button", Zn, [
|
|
1228
1229
|
g(e.$slots, "resizerIcon", {}, () => [
|
|
1229
|
-
|
|
1230
|
+
R(r, {
|
|
1230
1231
|
class: "modal__resizer-icon",
|
|
1231
1232
|
icon: t.resizerIcon || n.resizerIconType
|
|
1232
1233
|
}, null, 8, ["icon"])
|
|
@@ -1235,7 +1236,7 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1235
1236
|
], 46, Yn)
|
|
1236
1237
|
], 8, ["to", "disabled"]);
|
|
1237
1238
|
}
|
|
1238
|
-
const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]),
|
|
1239
|
+
const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), _e = [], eo = M({
|
|
1239
1240
|
/**
|
|
1240
1241
|
* Holds active component options (including component, and options)
|
|
1241
1242
|
*/
|
|
@@ -1244,13 +1245,13 @@ const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), we = [], eo = M({
|
|
|
1244
1245
|
* Populated with any props passed to open method, bound to modal component
|
|
1245
1246
|
*/
|
|
1246
1247
|
activeProps: null
|
|
1247
|
-
}),
|
|
1248
|
-
data:
|
|
1249
|
-
modals:
|
|
1248
|
+
}), ve = eo.value, Rt = {
|
|
1249
|
+
data: ve,
|
|
1250
|
+
modals: _e
|
|
1250
1251
|
}, to = (e) => ({
|
|
1251
1252
|
open(s, t = null) {
|
|
1252
1253
|
const n = this.get(s);
|
|
1253
|
-
|
|
1254
|
+
ve.active = ue(n), ve.activeProps = Object.assign({}, n.props, t);
|
|
1254
1255
|
},
|
|
1255
1256
|
/**
|
|
1256
1257
|
* Close the active modal
|
|
@@ -1258,14 +1259,14 @@ const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), we = [], eo = M({
|
|
|
1258
1259
|
* @see https://www.deque.com/blog/accessible-routing-in-javascript-frameworks/
|
|
1259
1260
|
*/
|
|
1260
1261
|
close() {
|
|
1261
|
-
|
|
1262
|
+
ve.active = null, ve.activeProps = null;
|
|
1262
1263
|
},
|
|
1263
1264
|
/**
|
|
1264
1265
|
* Get a modal's config object by name
|
|
1265
1266
|
* @return {Object} Modal config object
|
|
1266
1267
|
*/
|
|
1267
1268
|
get(s) {
|
|
1268
|
-
const t =
|
|
1269
|
+
const t = _e.find((n) => n.name === s);
|
|
1269
1270
|
if (t)
|
|
1270
1271
|
return t;
|
|
1271
1272
|
throw new Error(`Unable to find modal named: ${s}`);
|
|
@@ -1275,16 +1276,16 @@ const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), we = [], eo = M({
|
|
|
1275
1276
|
*/
|
|
1276
1277
|
add(s) {
|
|
1277
1278
|
const t = e(s);
|
|
1278
|
-
|
|
1279
|
+
_e.push(t);
|
|
1279
1280
|
},
|
|
1280
1281
|
/**
|
|
1281
1282
|
* Removes a modal config by name
|
|
1282
1283
|
* @return {Object} Modal that was removed
|
|
1283
1284
|
*/
|
|
1284
1285
|
remove(s) {
|
|
1285
|
-
const t =
|
|
1286
|
+
const t = _e.findIndex((n) => n.name === s);
|
|
1286
1287
|
if (t > -1)
|
|
1287
|
-
return
|
|
1288
|
+
return _e.splice(t, 1);
|
|
1288
1289
|
warn("unable to find modal to remove");
|
|
1289
1290
|
}
|
|
1290
1291
|
}), so = {
|
|
@@ -1297,7 +1298,7 @@ function tf(e, s) {
|
|
|
1297
1298
|
const t = Object.assign({}, so, s), i = to((o) => Object.assign({}, t.modalOptions, o));
|
|
1298
1299
|
e.component(t.componentNameDisplay, Bn), e.component(t.componentNameModal, Qn), t.modals.forEach((o) => {
|
|
1299
1300
|
i.add(o);
|
|
1300
|
-
}),
|
|
1301
|
+
}), Rt.options = t, e.config.globalProperties.$uluModals = i, e.provide("uluModals", i), e.config.globalProperties.$uluModalsState = Rt;
|
|
1301
1302
|
}
|
|
1302
1303
|
const no = {
|
|
1303
1304
|
name: "UluToast",
|
|
@@ -1379,7 +1380,7 @@ function io(e, s, t, n, i, o) {
|
|
|
1379
1380
|
key: 1,
|
|
1380
1381
|
class: m(["toast__actions", t.classes.actions])
|
|
1381
1382
|
}, [
|
|
1382
|
-
(a(!0), d(
|
|
1383
|
+
(a(!0), d(O, null, A(t.toast.actions, (l, c) => (a(), d("button", {
|
|
1383
1384
|
key: c,
|
|
1384
1385
|
class: m(["toast__action", t.classes.action]),
|
|
1385
1386
|
onClick: (u) => o.handleAction(u, l)
|
|
@@ -1389,16 +1390,16 @@ function io(e, s, t, n, i, o) {
|
|
|
1389
1390
|
class: m(["toast__close", t.classes.closeButton]),
|
|
1390
1391
|
onClick: s[0] || (s[0] = (...l) => t.toast.close && t.toast.close(...l))
|
|
1391
1392
|
}, [
|
|
1392
|
-
|
|
1393
|
+
R(r, { icon: "type:close" })
|
|
1393
1394
|
], 2)
|
|
1394
1395
|
], 2);
|
|
1395
1396
|
}
|
|
1396
|
-
const
|
|
1397
|
+
const Ss = /* @__PURE__ */ C(no, [["render", io]]), Ut = {
|
|
1397
1398
|
toastOptions: {
|
|
1398
1399
|
/**
|
|
1399
1400
|
* Component used to render the toast in the display
|
|
1400
1401
|
*/
|
|
1401
|
-
component:
|
|
1402
|
+
component: ue(Ss),
|
|
1402
1403
|
/**
|
|
1403
1404
|
* Duration of toast
|
|
1404
1405
|
*/
|
|
@@ -1425,8 +1426,8 @@ const te = lt({
|
|
|
1425
1426
|
/**
|
|
1426
1427
|
* Saveable
|
|
1427
1428
|
*/
|
|
1428
|
-
pluginOptions:
|
|
1429
|
-
toastOptions:
|
|
1429
|
+
pluginOptions: Ut.pluginOptions,
|
|
1430
|
+
toastOptions: Ut.toastOptions,
|
|
1430
1431
|
setToastOptions(e) {
|
|
1431
1432
|
return this.toastOptions = Ye({}, this.toastOptions, e), this.pluginOptions;
|
|
1432
1433
|
},
|
|
@@ -1485,13 +1486,13 @@ function ao(e, s, t, n, i, o) {
|
|
|
1485
1486
|
return a(), p(at, {
|
|
1486
1487
|
to: i.pluginOptions.teleportTo
|
|
1487
1488
|
}, [
|
|
1488
|
-
|
|
1489
|
+
R(cs, {
|
|
1489
1490
|
class: m(["toast-container", o.classes]),
|
|
1490
1491
|
name: "toast",
|
|
1491
1492
|
tag: "div"
|
|
1492
1493
|
}, {
|
|
1493
1494
|
default: w(() => [
|
|
1494
|
-
(a(!0), d(
|
|
1495
|
+
(a(!0), d(O, null, A(i.toasts, (r) => (a(), p(B(r.component), {
|
|
1495
1496
|
key: r.uid,
|
|
1496
1497
|
toast: r
|
|
1497
1498
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -1503,7 +1504,7 @@ function ao(e, s, t, n, i, o) {
|
|
|
1503
1504
|
const co = /* @__PURE__ */ C(lo, [["render", ao]]);
|
|
1504
1505
|
function sf(e, s = {}) {
|
|
1505
1506
|
const t = te.setPluginOptions(s?.plugin);
|
|
1506
|
-
te.setToastOptions(s?.toast), e.component(t.componentName,
|
|
1507
|
+
te.setToastOptions(s?.toast), e.component(t.componentName, Ss), e.component(t.componentNameDisplay, co), e.config.globalProperties.$uluToast = tt, e.provide("uluToast", tt);
|
|
1507
1508
|
}
|
|
1508
1509
|
const uo = {
|
|
1509
1510
|
/**
|
|
@@ -1524,12 +1525,12 @@ const uo = {
|
|
|
1524
1525
|
function fo(e) {
|
|
1525
1526
|
const s = Object.assign({}, uo, e), t = M(null), n = M(s.initialValue), i = M(null);
|
|
1526
1527
|
return (async () => {
|
|
1527
|
-
if (!
|
|
1528
|
+
if (!ws()) return;
|
|
1528
1529
|
await new Promise((f) => {
|
|
1529
1530
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
|
|
1530
1531
|
});
|
|
1531
|
-
const r = await import("./breakpoints-
|
|
1532
|
-
t.value =
|
|
1532
|
+
const r = await import("./breakpoints-C4GEChDH.js"), { BreakpointManager: l } = r, c = ue(new l(s.plugin));
|
|
1533
|
+
t.value = ue(c);
|
|
1533
1534
|
const u = () => {
|
|
1534
1535
|
n.value = c.active, i.value = c.resizeDirection;
|
|
1535
1536
|
};
|
|
@@ -1605,16 +1606,16 @@ const of = {
|
|
|
1605
1606
|
},
|
|
1606
1607
|
setup(e) {
|
|
1607
1608
|
const s = e, { resolvedModifiers: t } = se({ props: s, baseClass: "button" });
|
|
1608
|
-
return (n, i) => (a(), p(
|
|
1609
|
+
return (n, i) => (a(), p(T(an), { defaultOpen: e.defaultOpen }, {
|
|
1609
1610
|
default: w(({ open: o }) => [
|
|
1610
1611
|
h("div", {
|
|
1611
1612
|
class: m(["accordion", [
|
|
1612
1613
|
{ [e.activeClass]: o },
|
|
1613
1614
|
e.classes.container,
|
|
1614
|
-
|
|
1615
|
+
T(t)
|
|
1615
1616
|
]])
|
|
1616
1617
|
}, [
|
|
1617
|
-
|
|
1618
|
+
R(T(cn), {
|
|
1618
1619
|
class: m(["accordion__summary", [
|
|
1619
1620
|
{ [e.activeClass]: o },
|
|
1620
1621
|
e.classes.summary
|
|
@@ -1633,7 +1634,7 @@ const of = {
|
|
|
1633
1634
|
h("span", {
|
|
1634
1635
|
class: m(["accordion__icon", e.classes.icon])
|
|
1635
1636
|
}, [
|
|
1636
|
-
|
|
1637
|
+
R(V, {
|
|
1637
1638
|
icon: o ? "type:collapse" : "type:expand",
|
|
1638
1639
|
style: { display: "inline" }
|
|
1639
1640
|
}, null, 8, ["icon"])
|
|
@@ -1642,7 +1643,7 @@ const of = {
|
|
|
1642
1643
|
]),
|
|
1643
1644
|
_: 2
|
|
1644
1645
|
}, 1032, ["class"]),
|
|
1645
|
-
|
|
1646
|
+
R(T(un), {
|
|
1646
1647
|
class: m(["accordion__content", e.classes.content])
|
|
1647
1648
|
}, {
|
|
1648
1649
|
default: w(() => [
|
|
@@ -1814,7 +1815,7 @@ function vo(e, s, t, n, i, o) {
|
|
|
1814
1815
|
"CollapsibleRegion--closed": !i.isOpen,
|
|
1815
1816
|
"CollapsibleRegion--transitioning": i.isTransitioning
|
|
1816
1817
|
}]),
|
|
1817
|
-
onKeydown: s[1] || (s[1] =
|
|
1818
|
+
onKeydown: s[1] || (s[1] = ls((...r) => o.handleEscape && o.handleEscape(...r), ["esc"]))
|
|
1818
1819
|
}, [
|
|
1819
1820
|
h("button", {
|
|
1820
1821
|
class: "CollapsibleRegion__toggle",
|
|
@@ -1827,7 +1828,7 @@ function vo(e, s, t, n, i, o) {
|
|
|
1827
1828
|
k(y(t.title), 1)
|
|
1828
1829
|
])
|
|
1829
1830
|
], 8, yo),
|
|
1830
|
-
|
|
1831
|
+
ke(h("div", {
|
|
1831
1832
|
class: "CollapsibleRegion__content",
|
|
1832
1833
|
tabindex: "-1",
|
|
1833
1834
|
ref: "content",
|
|
@@ -1840,11 +1841,11 @@ function vo(e, s, t, n, i, o) {
|
|
|
1840
1841
|
g(e.$slots, "default")
|
|
1841
1842
|
])
|
|
1842
1843
|
], 12, po), [
|
|
1843
|
-
[
|
|
1844
|
+
[us, !i.isHidden]
|
|
1844
1845
|
])
|
|
1845
1846
|
], 34);
|
|
1846
1847
|
}
|
|
1847
|
-
const
|
|
1848
|
+
const jt = /* @__PURE__ */ C(go, [["render", vo]]), ks = {
|
|
1848
1849
|
__name: "UluTag",
|
|
1849
1850
|
props: {
|
|
1850
1851
|
/**
|
|
@@ -1882,7 +1883,7 @@ const Ut = /* @__PURE__ */ C(go, [["render", vo]]), Ss = {
|
|
|
1882
1883
|
[`tag--${e.size}`]: e.size,
|
|
1883
1884
|
[`tag--${e.type}`]: e.type
|
|
1884
1885
|
},
|
|
1885
|
-
|
|
1886
|
+
T(t)
|
|
1886
1887
|
]])
|
|
1887
1888
|
}, [
|
|
1888
1889
|
e.icon ? (a(), p(V, {
|
|
@@ -1899,7 +1900,7 @@ const Ut = /* @__PURE__ */ C(go, [["render", vo]]), Ss = {
|
|
|
1899
1900
|
name: "UluMenu",
|
|
1900
1901
|
components: {
|
|
1901
1902
|
UluIcon: V,
|
|
1902
|
-
UluTag:
|
|
1903
|
+
UluTag: ks
|
|
1903
1904
|
},
|
|
1904
1905
|
emits: [
|
|
1905
1906
|
/**
|
|
@@ -1945,16 +1946,16 @@ const Ut = /* @__PURE__ */ C(go, [["render", vo]]), Ss = {
|
|
|
1945
1946
|
}
|
|
1946
1947
|
};
|
|
1947
1948
|
function wo(e, s, t, n, i, o) {
|
|
1948
|
-
const r = z("UluIcon"), l = z("UluTag"), c = z("UluMenu", !0), u =
|
|
1949
|
+
const r = z("UluIcon"), l = z("UluTag"), c = z("UluMenu", !0), u = rs("ulu-tooltip");
|
|
1949
1950
|
return t.items?.length ? (a(), d("ul", {
|
|
1950
1951
|
key: 0,
|
|
1951
1952
|
class: m(t.classes.list)
|
|
1952
1953
|
}, [
|
|
1953
|
-
(a(!0), d(
|
|
1954
|
+
(a(!0), d(O, null, A(t.items, (f, _) => (a(), d("li", {
|
|
1954
1955
|
key: _,
|
|
1955
1956
|
class: m([t.classes.item, f?.classes?.item])
|
|
1956
1957
|
}, [
|
|
1957
|
-
|
|
1958
|
+
ke((a(), p(B(f.to || f.path ? "router-link" : f.click ? "button" : "a"), Z({ ref_for: !0 }, {
|
|
1958
1959
|
...f.to || f.path ? { to: f.to || f.path } : {},
|
|
1959
1960
|
...f.href ? { href: f.href || "#" } : {}
|
|
1960
1961
|
}, {
|
|
@@ -1980,7 +1981,7 @@ function wo(e, s, t, n, i, o) {
|
|
|
1980
1981
|
h("span", {
|
|
1981
1982
|
class: m([t.classes.linkText, f?.classes?.linkText])
|
|
1982
1983
|
}, y(f.title), 3),
|
|
1983
|
-
f.tag ? (a(), p(l,
|
|
1984
|
+
f.tag ? (a(), p(l, Z({
|
|
1984
1985
|
key: 1,
|
|
1985
1986
|
ref_for: !0
|
|
1986
1987
|
}, f.tag), null, 16)) : v("", !0)
|
|
@@ -1999,10 +2000,10 @@ function wo(e, s, t, n, i, o) {
|
|
|
1999
2000
|
], 2))), 128))
|
|
2000
2001
|
], 2)) : v("", !0);
|
|
2001
2002
|
}
|
|
2002
|
-
const
|
|
2003
|
+
const Cs = /* @__PURE__ */ C(bo, [["render", wo]]), So = {
|
|
2003
2004
|
name: "UluMenuStack",
|
|
2004
2005
|
components: {
|
|
2005
|
-
UluMenu:
|
|
2006
|
+
UluMenu: Cs
|
|
2006
2007
|
},
|
|
2007
2008
|
props: {
|
|
2008
2009
|
/**
|
|
@@ -2031,7 +2032,7 @@ function ko(e, s, t, n, i, o) {
|
|
|
2031
2032
|
"menu-stack--compact": t.compact
|
|
2032
2033
|
}])
|
|
2033
2034
|
}, [
|
|
2034
|
-
|
|
2035
|
+
R(r, {
|
|
2035
2036
|
items: t.items,
|
|
2036
2037
|
classes: {
|
|
2037
2038
|
list: "menu-stack__list",
|
|
@@ -2078,7 +2079,7 @@ function $o(e, s, t, n, i, o) {
|
|
|
2078
2079
|
g(e.$slots, "default", { isOpen: c })
|
|
2079
2080
|
]),
|
|
2080
2081
|
content: w(() => [
|
|
2081
|
-
|
|
2082
|
+
R(r, { items: t.items }, null, 8, ["items"])
|
|
2082
2083
|
]),
|
|
2083
2084
|
_: 3
|
|
2084
2085
|
}, 8, ["classes"]);
|
|
@@ -2094,7 +2095,7 @@ function Ao() {
|
|
|
2094
2095
|
mt.value = !1, Me.end.forEach((e) => e()), window.addEventListener("resize", gt);
|
|
2095
2096
|
}
|
|
2096
2097
|
window.addEventListener("resize", gt), window.addEventListener("resize", Le(Ao, 300));
|
|
2097
|
-
function
|
|
2098
|
+
function Et(e, s) {
|
|
2098
2099
|
return e.push(s), () => {
|
|
2099
2100
|
const t = e.findIndex((n) => n === s);
|
|
2100
2101
|
t > -1 && e.splice(t);
|
|
@@ -2104,10 +2105,10 @@ function Oo() {
|
|
|
2104
2105
|
return {
|
|
2105
2106
|
resizing: mt,
|
|
2106
2107
|
onResizeStart(e) {
|
|
2107
|
-
return
|
|
2108
|
+
return Et(Me.start, e);
|
|
2108
2109
|
},
|
|
2109
2110
|
onResizeEnd(e) {
|
|
2110
|
-
return
|
|
2111
|
+
return Et(Me.end, e);
|
|
2111
2112
|
}
|
|
2112
2113
|
};
|
|
2113
2114
|
}
|
|
@@ -2119,21 +2120,21 @@ const xo = {
|
|
|
2119
2120
|
uluBreakpointManager: "Breakpoints",
|
|
2120
2121
|
uluModals: "Modals",
|
|
2121
2122
|
uluToast: "Toast"
|
|
2122
|
-
},
|
|
2123
|
+
}, zt = {};
|
|
2123
2124
|
function Ro(e) {
|
|
2124
|
-
const s = ct(e,
|
|
2125
|
-
if (s ===
|
|
2125
|
+
const s = ct(e, zt);
|
|
2126
|
+
if (s === zt) {
|
|
2126
2127
|
const t = xo[e] || "", n = t ? ` from the '${t}' plugin` : "", i = t ? "Please install missing plugin." : "";
|
|
2127
2128
|
throw new Error(`Required inject: '${e}'${n} was not provided. ${i}`);
|
|
2128
2129
|
}
|
|
2129
2130
|
return s;
|
|
2130
2131
|
}
|
|
2131
2132
|
function lf(e, s) {
|
|
2132
|
-
const t =
|
|
2133
|
+
const t = bs(), n = yn(), i = S(() => {
|
|
2133
2134
|
const u = parseInt(t.query.page || "1", 10);
|
|
2134
2135
|
return isNaN(u) || u < 1 ? 1 : u;
|
|
2135
2136
|
}), o = S(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / s));
|
|
2136
|
-
|
|
2137
|
+
ds(o, (u) => {
|
|
2137
2138
|
i.value > u && n.push({ query: { ...t.query, page: u } });
|
|
2138
2139
|
});
|
|
2139
2140
|
const r = S(() => {
|
|
@@ -2144,17 +2145,17 @@ function lf(e, s) {
|
|
|
2144
2145
|
return null;
|
|
2145
2146
|
const u = {
|
|
2146
2147
|
pages: {}
|
|
2147
|
-
}, f = i.value, _ = o.value, b = 5,
|
|
2148
|
-
f > 1 && (u.first = { href:
|
|
2149
|
-
let I,
|
|
2148
|
+
}, f = i.value, _ = o.value, b = 5, x = (U) => ({ query: { ...t.query, page: U } });
|
|
2149
|
+
f > 1 && (u.first = { href: x(1) }, u.previous = { href: x(f - 1) }), f < _ && (u.next = { href: x(f + 1) }, u.last = { href: x(_) });
|
|
2150
|
+
let I, L;
|
|
2150
2151
|
if (_ <= b)
|
|
2151
|
-
I = 1,
|
|
2152
|
+
I = 1, L = _;
|
|
2152
2153
|
else {
|
|
2153
|
-
const
|
|
2154
|
-
f <=
|
|
2154
|
+
const U = Math.floor(b / 2), Q = Math.ceil(b / 2) - 1;
|
|
2155
|
+
f <= U ? (I = 1, L = b) : f + Q >= _ ? (I = _ - b + 1, L = _) : (I = f - U, L = f + Q);
|
|
2155
2156
|
}
|
|
2156
|
-
for (let
|
|
2157
|
-
u.pages[
|
|
2157
|
+
for (let U = I; U <= L; U++)
|
|
2158
|
+
u.pages[U] = { href: x(U) };
|
|
2158
2159
|
return u;
|
|
2159
2160
|
}), c = S(() => {
|
|
2160
2161
|
const u = { previous: !1, next: !1 };
|
|
@@ -2185,9 +2186,9 @@ function st(e, s, t) {
|
|
|
2185
2186
|
}
|
|
2186
2187
|
return i;
|
|
2187
2188
|
}
|
|
2188
|
-
const Uo = (e, s) =>
|
|
2189
|
+
const Uo = (e, s) => Qs(s) ? Ee(s) : s, jo = "usehead";
|
|
2189
2190
|
function Eo() {
|
|
2190
|
-
if (
|
|
2191
|
+
if (en()) {
|
|
2191
2192
|
const e = ct(jo);
|
|
2192
2193
|
if (!e)
|
|
2193
2194
|
throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
|
|
@@ -2205,11 +2206,11 @@ function Io(e, s, t = {}) {
|
|
|
2205
2206
|
return ut(() => {
|
|
2206
2207
|
const r = n.value ? {} : st(s, Uo);
|
|
2207
2208
|
i ? i.patch(r) : i = e.push(r, t);
|
|
2208
|
-
}),
|
|
2209
|
+
}), tn() && (sn(() => {
|
|
2209
2210
|
i.dispose();
|
|
2210
|
-
}), sn(() => {
|
|
2211
|
-
n.value = !0;
|
|
2212
2211
|
}), nn(() => {
|
|
2212
|
+
n.value = !0;
|
|
2213
|
+
}), on(() => {
|
|
2213
2214
|
n.value = !1;
|
|
2214
2215
|
})), i;
|
|
2215
2216
|
}
|
|
@@ -2220,7 +2221,7 @@ function He(e, s) {
|
|
|
2220
2221
|
function Mo(e, s) {
|
|
2221
2222
|
const n = Object.assign({}, {
|
|
2222
2223
|
qualifier(r, l) {
|
|
2223
|
-
return l ? pt(r) :
|
|
2224
|
+
return l ? pt(r) : Ts(r);
|
|
2224
2225
|
},
|
|
2225
2226
|
sort: vt,
|
|
2226
2227
|
item: {},
|
|
@@ -2249,13 +2250,13 @@ function Po(e, s, t) {
|
|
|
2249
2250
|
sort: vt
|
|
2250
2251
|
}, t), o = e.find((u) => u.path !== "/" && s.includes(u.path)), r = (u, f, _) => {
|
|
2251
2252
|
if (u.children) {
|
|
2252
|
-
const b = u.children.find((
|
|
2253
|
+
const b = u.children.find((x) => x.path.includes(s));
|
|
2253
2254
|
if (b)
|
|
2254
2255
|
return r(b, u, _ + b.path);
|
|
2255
2256
|
}
|
|
2256
2257
|
return { route: f, path: _ };
|
|
2257
2258
|
}, { route: l, path: c } = r(o, o, o.path);
|
|
2258
|
-
return l.children ? l.children.filter(
|
|
2259
|
+
return l.children ? l.children.filter(As(i.includeIndex)).map((u) => Ve(u, `${c}/${u.path}`, i.item)).sort(i.sort) : (console.warn("Unable to build menu for:", s), []);
|
|
2259
2260
|
}
|
|
2260
2261
|
function yt(e) {
|
|
2261
2262
|
return e.find((s) => s.path === "");
|
|
@@ -2278,7 +2279,7 @@ function Ve(e, s = e.path, t) {
|
|
|
2278
2279
|
function pt(e) {
|
|
2279
2280
|
return !e.path.includes("/:");
|
|
2280
2281
|
}
|
|
2281
|
-
function
|
|
2282
|
+
function Ts(e) {
|
|
2282
2283
|
const s = e.path.match(/\//g) || [];
|
|
2283
2284
|
return pt(e) && s.length === 1;
|
|
2284
2285
|
}
|
|
@@ -2289,14 +2290,14 @@ function Fo(e, s) {
|
|
|
2289
2290
|
i.startsWith("/") && (e.push(i), s.preventDefault());
|
|
2290
2291
|
}
|
|
2291
2292
|
}
|
|
2292
|
-
function
|
|
2293
|
+
function $s(e, s = _t(e)) {
|
|
2293
2294
|
return s?.children;
|
|
2294
2295
|
}
|
|
2295
2296
|
function _t(e, s) {
|
|
2296
2297
|
const t = e.matched.length, n = t - 2;
|
|
2297
2298
|
return s ? t > 1 ? e.matched[0] : null : n < 0 ? null : e.matched[n];
|
|
2298
2299
|
}
|
|
2299
|
-
function
|
|
2300
|
+
function As(e) {
|
|
2300
2301
|
return (s) => e || s.path !== "";
|
|
2301
2302
|
}
|
|
2302
2303
|
function vt(e, s) {
|
|
@@ -2309,7 +2310,7 @@ function Lo(e, s) {
|
|
|
2309
2310
|
item: {},
|
|
2310
2311
|
sort: vt
|
|
2311
2312
|
}, s), i = n.parent || _t(e);
|
|
2312
|
-
return (
|
|
2313
|
+
return ($s(e, i) || []).filter(As(n.includeIndex)).map((r) => Ve(r, `${i.path}/${r.path}`, n.item)).sort(n.sort);
|
|
2313
2314
|
}
|
|
2314
2315
|
function Ho(e) {
|
|
2315
2316
|
const { matched: s, path: t } = e;
|
|
@@ -2330,14 +2331,14 @@ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2330
2331
|
$createBreadcrumb: Ho,
|
|
2331
2332
|
$createSectionMenu: Lo,
|
|
2332
2333
|
$getParentRoute: _t,
|
|
2333
|
-
$getRouteChildren:
|
|
2334
|
+
$getRouteChildren: $s,
|
|
2334
2335
|
createBaseMenu: Mo,
|
|
2335
2336
|
createMenuItem: Ve,
|
|
2336
2337
|
createSectionMenu: Po,
|
|
2337
2338
|
flattenMenu: Bo,
|
|
2338
2339
|
getChildIndexRoute: yt,
|
|
2339
2340
|
getRouteTitle: He,
|
|
2340
|
-
isStaticBaseRoute:
|
|
2341
|
+
isStaticBaseRoute: Ts,
|
|
2341
2342
|
isStaticRoute: pt,
|
|
2342
2343
|
nativeLinkRouter: Fo
|
|
2343
2344
|
}, Symbol.toStringTag, { value: "Module" })), Ke = lt({});
|
|
@@ -2345,13 +2346,13 @@ function af(e = {}) {
|
|
|
2345
2346
|
const {
|
|
2346
2347
|
title: s,
|
|
2347
2348
|
titleTemplate: t = "%s",
|
|
2348
|
-
useRoute: n =
|
|
2349
|
+
useRoute: n = bs,
|
|
2349
2350
|
useHead: i = zo
|
|
2350
2351
|
} = e, o = n(), r = o.path;
|
|
2351
2352
|
if (s !== void 0) {
|
|
2352
2353
|
ut(() => {
|
|
2353
|
-
Ke[r] =
|
|
2354
|
-
}),
|
|
2354
|
+
Ke[r] = T(s);
|
|
2355
|
+
}), fs(() => {
|
|
2355
2356
|
delete Ke[r];
|
|
2356
2357
|
});
|
|
2357
2358
|
return;
|
|
@@ -2374,12 +2375,12 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2374
2375
|
},
|
|
2375
2376
|
setup(e) {
|
|
2376
2377
|
const { resizing: s, onResizeEnd: t } = Oo(), n = M(null), i = M(!1), o = () => {
|
|
2377
|
-
|
|
2378
|
+
as(() => {
|
|
2378
2379
|
const l = n.value;
|
|
2379
2380
|
i.value = l.offsetWidth < l.scrollWidth;
|
|
2380
2381
|
});
|
|
2381
2382
|
}, r = t(o);
|
|
2382
|
-
return
|
|
2383
|
+
return rn(o), fs(r), (l, c) => (a(), d("div", Do, [
|
|
2383
2384
|
h("div", {
|
|
2384
2385
|
class: "type-truncate",
|
|
2385
2386
|
ref_key: "text",
|
|
@@ -2387,13 +2388,13 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2387
2388
|
}, [
|
|
2388
2389
|
g(l.$slots, "default")
|
|
2389
2390
|
], 512),
|
|
2390
|
-
i.value &&
|
|
2391
|
+
i.value && !T(s) ? (a(), p(Fe, {
|
|
2391
2392
|
key: 0,
|
|
2392
2393
|
triggerAlt: "Show Full Text",
|
|
2393
2394
|
size: "large"
|
|
2394
2395
|
}, {
|
|
2395
2396
|
trigger: w(() => [
|
|
2396
|
-
|
|
2397
|
+
R(V, {
|
|
2397
2398
|
icon: e.triggerIcon || "type:ellipsis"
|
|
2398
2399
|
}, null, 8, ["icon"])
|
|
2399
2400
|
]),
|
|
@@ -2409,9 +2410,9 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2409
2410
|
}, uf = {
|
|
2410
2411
|
__name: "UluTab",
|
|
2411
2412
|
setup(e) {
|
|
2412
|
-
return (s, t) => (a(), p(
|
|
2413
|
+
return (s, t) => (a(), p(T(dn), null, {
|
|
2413
2414
|
default: w((n) => [
|
|
2414
|
-
g(s.$slots, "default",
|
|
2415
|
+
g(s.$slots, "default", q(Y(n)))
|
|
2415
2416
|
]),
|
|
2416
2417
|
_: 3
|
|
2417
2418
|
}));
|
|
@@ -2431,7 +2432,7 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2431
2432
|
vertical: Boolean
|
|
2432
2433
|
},
|
|
2433
2434
|
setup(e) {
|
|
2434
|
-
return (s, t) => (a(), p(
|
|
2435
|
+
return (s, t) => (a(), p(T(fn), {
|
|
2435
2436
|
defaultIndex: e.defaultIndex,
|
|
2436
2437
|
vertical: e.vertical
|
|
2437
2438
|
}, {
|
|
@@ -2441,7 +2442,7 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2441
2442
|
"tabs--vertical": e.vertical
|
|
2442
2443
|
}])
|
|
2443
2444
|
}, [
|
|
2444
|
-
g(s.$slots, "default",
|
|
2445
|
+
g(s.$slots, "default", q(Y(n)))
|
|
2445
2446
|
], 2)
|
|
2446
2447
|
]),
|
|
2447
2448
|
_: 3
|
|
@@ -2450,7 +2451,7 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2450
2451
|
}), ff = {
|
|
2451
2452
|
__name: "UluTabList",
|
|
2452
2453
|
setup(e) {
|
|
2453
|
-
return (s, t) => (a(), p(
|
|
2454
|
+
return (s, t) => (a(), p(T(hn), { class: "tabs__tablist" }, {
|
|
2454
2455
|
default: w(() => [
|
|
2455
2456
|
g(s.$slots, "default")
|
|
2456
2457
|
]),
|
|
@@ -2460,9 +2461,9 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2460
2461
|
}, hf = {
|
|
2461
2462
|
__name: "UluTabPanel",
|
|
2462
2463
|
setup(e) {
|
|
2463
|
-
return (s, t) => (a(), p(
|
|
2464
|
+
return (s, t) => (a(), p(T(mn), null, {
|
|
2464
2465
|
default: w((n) => [
|
|
2465
|
-
g(s.$slots, "default",
|
|
2466
|
+
g(s.$slots, "default", q(Y(n)))
|
|
2466
2467
|
]),
|
|
2467
2468
|
_: 3
|
|
2468
2469
|
}));
|
|
@@ -2470,9 +2471,9 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2470
2471
|
}, mf = {
|
|
2471
2472
|
__name: "UluTabPanels",
|
|
2472
2473
|
setup(e) {
|
|
2473
|
-
return (s, t) => (a(), p(
|
|
2474
|
+
return (s, t) => (a(), p(T(gn), null, {
|
|
2474
2475
|
default: w((n) => [
|
|
2475
|
-
g(s.$slots, "default",
|
|
2476
|
+
g(s.$slots, "default", q(Y(n)))
|
|
2476
2477
|
]),
|
|
2477
2478
|
_: 3
|
|
2478
2479
|
}));
|
|
@@ -2581,7 +2582,7 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2581
2582
|
}, Xo = { key: 1 };
|
|
2582
2583
|
function qo(e, s, t, n, i, o) {
|
|
2583
2584
|
const r = z("UluIcon");
|
|
2584
|
-
return a(), p(B(o.element),
|
|
2585
|
+
return a(), p(B(o.element), Z({
|
|
2585
2586
|
class: ["button", [
|
|
2586
2587
|
{
|
|
2587
2588
|
"button--transparent": t.transparent,
|
|
@@ -2675,7 +2676,7 @@ function Qo(e, s, t, n, i, o) {
|
|
|
2675
2676
|
class: m(["callout", n.resolvedModifiers])
|
|
2676
2677
|
}, [
|
|
2677
2678
|
h("div", Go, [
|
|
2678
|
-
|
|
2679
|
+
R(r, {
|
|
2679
2680
|
class: m(["type-large margin-right-small", `color-${t.type}`]),
|
|
2680
2681
|
icon: t.icon || `type:${t.type}`
|
|
2681
2682
|
}, null, 8, ["class", "icon"]),
|
|
@@ -2751,11 +2752,11 @@ const gf = /* @__PURE__ */ C(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
|
|
|
2751
2752
|
},
|
|
2752
2753
|
setup(e) {
|
|
2753
2754
|
return (s, t) => (a(), d("ul", ni, [
|
|
2754
|
-
(a(!0), d(
|
|
2755
|
+
(a(!0), d(O, null, A(e.items, (n, i) => (a(), d("li", {
|
|
2755
2756
|
class: "badge-stack__item",
|
|
2756
2757
|
key: i
|
|
2757
2758
|
}, [
|
|
2758
|
-
|
|
2759
|
+
R(si, Z({ ref_for: !0 }, n), null, 16)
|
|
2759
2760
|
]))), 128))
|
|
2760
2761
|
]));
|
|
2761
2762
|
}
|
|
@@ -2832,7 +2833,7 @@ const gf = /* @__PURE__ */ C(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
|
|
|
2832
2833
|
};
|
|
2833
2834
|
function ri(e, s, t, n, i, o) {
|
|
2834
2835
|
const r = z("UluIcon");
|
|
2835
|
-
return a(), p(B(o.element),
|
|
2836
|
+
return a(), p(B(o.element), Z({
|
|
2836
2837
|
class: ["button-verbose", [
|
|
2837
2838
|
{
|
|
2838
2839
|
"button-verbose--inline": t.inline,
|
|
@@ -2893,7 +2894,7 @@ function ai(e, s, t, n, i, o) {
|
|
|
2893
2894
|
g(e.$slots, "default")
|
|
2894
2895
|
], 2);
|
|
2895
2896
|
}
|
|
2896
|
-
const _f = /* @__PURE__ */ C(li, [["render", ai]]),
|
|
2897
|
+
const _f = /* @__PURE__ */ C(li, [["render", ai]]), It = (e, s) => {
|
|
2897
2898
|
const t = !(s.to || s.href);
|
|
2898
2899
|
return t || console.warn("'titleHref' and 'titleTo' can't be used with to or href (nesting links)"), t;
|
|
2899
2900
|
}, ci = {
|
|
@@ -2924,14 +2925,14 @@ const _f = /* @__PURE__ */ C(li, [["render", ai]]), zt = (e, s) => {
|
|
|
2924
2925
|
*/
|
|
2925
2926
|
titleTo: {
|
|
2926
2927
|
type: [String, Object],
|
|
2927
|
-
validator:
|
|
2928
|
+
validator: It
|
|
2928
2929
|
},
|
|
2929
2930
|
/**
|
|
2930
2931
|
* Will make title a link to href
|
|
2931
2932
|
*/
|
|
2932
2933
|
titleHref: {
|
|
2933
2934
|
type: String,
|
|
2934
|
-
validator:
|
|
2935
|
+
validator: It
|
|
2935
2936
|
},
|
|
2936
2937
|
/**
|
|
2937
2938
|
* When using href this will set title link's target attribute
|
|
@@ -3145,7 +3146,7 @@ const vf = /* @__PURE__ */ C(ci, [["render", yi]]), bf = {
|
|
|
3145
3146
|
return (s, t) => (a(), d("dl", {
|
|
3146
3147
|
class: m(e.classes.list)
|
|
3147
3148
|
}, [
|
|
3148
|
-
(a(!0), d(
|
|
3149
|
+
(a(!0), d(O, null, A(e.items, (n, i) => (a(), d("div", {
|
|
3149
3150
|
key: i,
|
|
3150
3151
|
class: m(e.classes.item)
|
|
3151
3152
|
}, [
|
|
@@ -3206,7 +3207,7 @@ const vf = /* @__PURE__ */ C(ci, [["render", yi]]), bf = {
|
|
|
3206
3207
|
k(y(e.text), 1)
|
|
3207
3208
|
])
|
|
3208
3209
|
]),
|
|
3209
|
-
|
|
3210
|
+
R(V, {
|
|
3210
3211
|
class: "external-link__icon margin-left-small-x display-inline",
|
|
3211
3212
|
icon: e.icon || "type:externalLink"
|
|
3212
3213
|
}, null, 8, ["icon"])
|
|
@@ -3280,7 +3281,7 @@ const vf = /* @__PURE__ */ C(ci, [["render", yi]]), bf = {
|
|
|
3280
3281
|
start: e.start
|
|
3281
3282
|
}, {
|
|
3282
3283
|
default: w(() => [
|
|
3283
|
-
(a(!0), d(
|
|
3284
|
+
(a(!0), d(O, null, A(e.items, (o, r) => (a(), d("li", {
|
|
3284
3285
|
key: r,
|
|
3285
3286
|
class: m(e.classes.listItem)
|
|
3286
3287
|
}, [
|
|
@@ -3314,11 +3315,11 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3314
3315
|
class: m(["spoke-spinner", { [`spoke-spinner--${e.type}`]: e.type }])
|
|
3315
3316
|
}, [
|
|
3316
3317
|
h("div", Si, [
|
|
3317
|
-
(a(), d(
|
|
3318
|
+
(a(), d(O, null, A(12, (n) => h("div", { key: n })), 64))
|
|
3318
3319
|
])
|
|
3319
3320
|
], 2));
|
|
3320
3321
|
}
|
|
3321
|
-
}, ki = ["role", "aria-labelledby"], Ci = ["id"], Ti = { class: "menu-stack__list" }, $i = { class: "menu-stack__selectable" }, Ai = ["type", "id", "name", "value", "checked", "onChange"], Oi = ["for"],
|
|
3322
|
+
}, ki = ["role", "aria-labelledby"], Ci = ["id"], Ti = { class: "menu-stack__list" }, $i = { class: "menu-stack__selectable" }, Ai = ["type", "id", "name", "value", "checked", "onChange"], Oi = ["for"], Os = {
|
|
3322
3323
|
__name: "UluSelectableMenu",
|
|
3323
3324
|
props: {
|
|
3324
3325
|
legend: String,
|
|
@@ -3335,8 +3336,8 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3335
3336
|
if (t.type === "radio")
|
|
3336
3337
|
n("update:modelValue", f.uid);
|
|
3337
3338
|
else if (Array.isArray(t.modelValue)) {
|
|
3338
|
-
const b = [...t.modelValue],
|
|
3339
|
-
|
|
3339
|
+
const b = [...t.modelValue], x = b.indexOf(f.uid);
|
|
3340
|
+
x > -1 ? b.splice(x, 1) : b.push(f.uid), n("update:modelValue", b);
|
|
3340
3341
|
} else
|
|
3341
3342
|
f.checked = _.target.checked;
|
|
3342
3343
|
};
|
|
@@ -3351,7 +3352,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3351
3352
|
class: "hidden-visually"
|
|
3352
3353
|
}, y(e.legend), 9, Ci)) : v("", !0),
|
|
3353
3354
|
h("ul", Ti, [
|
|
3354
|
-
(a(!0), d(
|
|
3355
|
+
(a(!0), d(O, null, A(e.options, (b) => (a(), d("li", {
|
|
3355
3356
|
class: "menu-stack__item",
|
|
3356
3357
|
key: b.uid
|
|
3357
3358
|
}, [
|
|
@@ -3362,7 +3363,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3362
3363
|
name: i.value,
|
|
3363
3364
|
value: b.uid,
|
|
3364
3365
|
checked: c(b),
|
|
3365
|
-
onChange: (
|
|
3366
|
+
onChange: (x) => u(b, x)
|
|
3366
3367
|
}, null, 40, Ai),
|
|
3367
3368
|
h("label", {
|
|
3368
3369
|
for: l(b)
|
|
@@ -3403,13 +3404,13 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3403
3404
|
fileName: e.file.name,
|
|
3404
3405
|
fileSize: n.value
|
|
3405
3406
|
}, () => [
|
|
3406
|
-
|
|
3407
|
+
R(V, {
|
|
3407
3408
|
class: "ui-icon",
|
|
3408
3409
|
icon: e.icon
|
|
3409
3410
|
}, null, 8, ["icon"]),
|
|
3410
3411
|
h("span", Ri, [
|
|
3411
3412
|
k(y(e.file.name) + " ", 1),
|
|
3412
|
-
e.noFileSize ? v("", !0) : (a(), p(
|
|
3413
|
+
e.noFileSize ? v("", !0) : (a(), p(ks, {
|
|
3413
3414
|
key: 0,
|
|
3414
3415
|
text: n.value,
|
|
3415
3416
|
small: "",
|
|
@@ -3442,17 +3443,17 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3442
3443
|
return (r, l) => (a(), d("div", Ui, [
|
|
3443
3444
|
h("label", {
|
|
3444
3445
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3445
|
-
for:
|
|
3446
|
+
for: T(i)
|
|
3446
3447
|
}, [
|
|
3447
3448
|
g(r.$slots, "label", {}, () => [
|
|
3448
3449
|
k(y(e.label), 1)
|
|
3449
3450
|
])
|
|
3450
3451
|
], 10, ji),
|
|
3451
|
-
h("input",
|
|
3452
|
+
h("input", Z({
|
|
3452
3453
|
type: "file",
|
|
3453
3454
|
onChange: o,
|
|
3454
3455
|
multiple: e.multiple,
|
|
3455
|
-
id:
|
|
3456
|
+
id: T(i)
|
|
3456
3457
|
}, e.inputAttrs), null, 16, Ei)
|
|
3457
3458
|
]));
|
|
3458
3459
|
}
|
|
@@ -3493,14 +3494,14 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3493
3494
|
return (n, i) => (a(), d("div", zi, [
|
|
3494
3495
|
h("label", {
|
|
3495
3496
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3496
|
-
for:
|
|
3497
|
+
for: T(t)
|
|
3497
3498
|
}, [
|
|
3498
3499
|
g(n.$slots, "default", {}, () => [
|
|
3499
3500
|
k(y(e.label), 1)
|
|
3500
3501
|
])
|
|
3501
3502
|
], 10, Ii),
|
|
3502
3503
|
h("select", {
|
|
3503
|
-
id:
|
|
3504
|
+
id: T(t),
|
|
3504
3505
|
value: e.modelValue,
|
|
3505
3506
|
onInput: i[0] || (i[0] = (o) => n.$emit("update:modelValue", o.target.value))
|
|
3506
3507
|
}, [
|
|
@@ -3508,7 +3509,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3508
3509
|
disabled: "",
|
|
3509
3510
|
value: ""
|
|
3510
3511
|
}, "Please select one", -1)),
|
|
3511
|
-
(a(!0), d(
|
|
3512
|
+
(a(!0), d(O, null, A(e.options, (o, r) => (a(), d("option", {
|
|
3512
3513
|
key: r,
|
|
3513
3514
|
value: o.value
|
|
3514
3515
|
}, y(o.text), 9, Bi))), 128))
|
|
@@ -3531,7 +3532,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3531
3532
|
return (n, i) => (a(), d("div", Pi, [
|
|
3532
3533
|
h("label", {
|
|
3533
3534
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3534
|
-
for:
|
|
3535
|
+
for: T(t)
|
|
3535
3536
|
}, [
|
|
3536
3537
|
g(n.$slots, "default", {}, () => [
|
|
3537
3538
|
k(y(e.label), 1)
|
|
@@ -3541,7 +3542,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3541
3542
|
type: "text",
|
|
3542
3543
|
value: e.modelValue,
|
|
3543
3544
|
onInput: i[0] || (i[0] = (o) => n.$emit("update:modelValue", o.target.value)),
|
|
3544
|
-
id:
|
|
3545
|
+
id: T(t)
|
|
3545
3546
|
}, null, 40, Li)
|
|
3546
3547
|
]));
|
|
3547
3548
|
}
|
|
@@ -3568,7 +3569,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3568
3569
|
}, null, 8, Di)
|
|
3569
3570
|
]),
|
|
3570
3571
|
h("button", Ni, [
|
|
3571
|
-
|
|
3572
|
+
R(V, { icon: "type:search" })
|
|
3572
3573
|
])
|
|
3573
3574
|
]));
|
|
3574
3575
|
}
|
|
@@ -3576,7 +3577,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3576
3577
|
__name: "UluAdaptiveLayout",
|
|
3577
3578
|
setup(e) {
|
|
3578
3579
|
const s = Ro("uluIsMobile");
|
|
3579
|
-
return (t, n) =>
|
|
3580
|
+
return (t, n) => !T(s) || !t.$slots.mobile ? g(t.$slots, "default", { key: 0 }) : g(t.$slots, "mobile", { key: 1 });
|
|
3580
3581
|
}
|
|
3581
3582
|
};
|
|
3582
3583
|
function Wi(e) {
|
|
@@ -3721,7 +3722,7 @@ function Qi(e, s, t, n, i, o) {
|
|
|
3721
3722
|
h("ol", {
|
|
3722
3723
|
class: m(t.classes.list)
|
|
3723
3724
|
}, [
|
|
3724
|
-
(a(!0), d(
|
|
3725
|
+
(a(!0), d(O, null, A(t.items, (c, u) => (a(), d("li", {
|
|
3725
3726
|
key: u,
|
|
3726
3727
|
class: m(t.classes.item)
|
|
3727
3728
|
}, [
|
|
@@ -3746,7 +3747,7 @@ function Qi(e, s, t, n, i, o) {
|
|
|
3746
3747
|
_: 2
|
|
3747
3748
|
}, 1032, ["to", "class", "aria-current"])),
|
|
3748
3749
|
u < t.items.length - 1 ? g(e.$slots, "separator", { key: 2 }, () => [
|
|
3749
|
-
|
|
3750
|
+
R(l, {
|
|
3750
3751
|
class: m(t.classes.separator),
|
|
3751
3752
|
icon: t.separatorIcon || "type:pathSeparator"
|
|
3752
3753
|
}, null, 8, ["class", "icon"])
|
|
@@ -3758,7 +3759,7 @@ function Qi(e, s, t, n, i, o) {
|
|
|
3758
3759
|
const zf = /* @__PURE__ */ C(Ji, [["render", Qi]]), er = {
|
|
3759
3760
|
name: "UluNavStrip",
|
|
3760
3761
|
components: {
|
|
3761
|
-
UluMenu:
|
|
3762
|
+
UluMenu: Cs
|
|
3762
3763
|
},
|
|
3763
3764
|
props: {
|
|
3764
3765
|
/**
|
|
@@ -3788,7 +3789,7 @@ function tr(e, s, t, n, i, o) {
|
|
|
3788
3789
|
"nav-strip--right": t.right
|
|
3789
3790
|
}])
|
|
3790
3791
|
}, [
|
|
3791
|
-
|
|
3792
|
+
R(r, {
|
|
3792
3793
|
items: t.items,
|
|
3793
3794
|
classes: {
|
|
3794
3795
|
list: "nav-strip__list",
|
|
@@ -3904,7 +3905,7 @@ const Lf = /* @__PURE__ */ C(fr, [["render", mr]]), gr = {
|
|
|
3904
3905
|
}
|
|
3905
3906
|
};
|
|
3906
3907
|
function yr(e, s, t, n, i, o) {
|
|
3907
|
-
return a(!0), d(
|
|
3908
|
+
return a(!0), d(O, null, A(parseInt(t.amount), (r) => (a(), p(B(t.element), { key: r }, {
|
|
3908
3909
|
default: w(() => [...s[0] || (s[0] = [
|
|
3909
3910
|
k(" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed semper erat tincidunt tellus vestibulum dictum. Fusce vel augue commodo, egestas diam sed, accumsan leo. Maecenas congue nec nisl et ullamcorper. Maecenas tincidunt, tortor et viverra eleifend, enim leo vestibulum ipsum, quis placerat mi nisi nec ex. Vivamus a justo volutpat, scelerisque elit eget, lacinia ex. Phasellus dapibus sollicitudin tortor, vitae suscipit nunc condimentum ut. Cras suscipit feugiat nibh nec consectetur. Phasellus vitae quam blandit, cursus metus ut, placerat mi. Sed tempor lacus non est interdum imperdiet nec quis metus. Praesent vel eleifend diam. Donec tincidunt eget purus sed posuere. ", -1)
|
|
3910
3911
|
])]),
|
|
@@ -3974,7 +3975,7 @@ const Vf = /* @__PURE__ */ C(pr, [["render", _r]]), vr = {
|
|
|
3974
3975
|
},
|
|
3975
3976
|
watch: {
|
|
3976
3977
|
value() {
|
|
3977
|
-
|
|
3978
|
+
pn.to(this, {
|
|
3978
3979
|
tweenValue: this.value,
|
|
3979
3980
|
onUpdate: () => {
|
|
3980
3981
|
this.currentValue = Math.ceil(this.tweenValue);
|
|
@@ -4056,7 +4057,7 @@ function Rr(e, s, t, n, i, o) {
|
|
|
4056
4057
|
}])
|
|
4057
4058
|
}, y(t.label), 3),
|
|
4058
4059
|
o.status ? (a(), d("div", kr, [
|
|
4059
|
-
|
|
4060
|
+
R(r, {
|
|
4060
4061
|
type: o.status.type
|
|
4061
4062
|
}, null, 8, ["type"]),
|
|
4062
4063
|
h("span", Cr, y(o.status.message), 1)
|
|
@@ -4203,8 +4204,8 @@ function Fr(e, s) {
|
|
|
4203
4204
|
});
|
|
4204
4205
|
}
|
|
4205
4206
|
function Xf(e, s = {}) {
|
|
4206
|
-
const t = (
|
|
4207
|
-
const H =
|
|
4207
|
+
const t = ($, F) => {
|
|
4208
|
+
const H = $[F];
|
|
4208
4209
|
return H === null || typeof H > "u" ? [] : Array.isArray(H) ? H : [H];
|
|
4209
4210
|
}, {
|
|
4210
4211
|
initialFacets: n,
|
|
@@ -4215,79 +4216,79 @@ function Xf(e, s = {}) {
|
|
|
4215
4216
|
extraSortTypes: c = {},
|
|
4216
4217
|
searchOptions: u = {},
|
|
4217
4218
|
getItemFacet: f = t,
|
|
4218
|
-
getSortValue: _ = (
|
|
4219
|
-
} = s, b = (
|
|
4220
|
-
const
|
|
4221
|
-
return
|
|
4222
|
-
}),
|
|
4219
|
+
getSortValue: _ = ($) => $.title || $.label || ""
|
|
4220
|
+
} = s, b = ($) => $.sort((F, H) => {
|
|
4221
|
+
const X = _(F), N = _(H);
|
|
4222
|
+
return X && N ? String(X).localeCompare(String(N)) : X ? -1 : N ? 1 : 0;
|
|
4223
|
+
}), x = {
|
|
4223
4224
|
az: { text: "A-Z", sort: b },
|
|
4224
|
-
za: { text: "Z-A", sort: (
|
|
4225
|
+
za: { text: "Z-A", sort: ($) => b($).reverse() }
|
|
4225
4226
|
};
|
|
4226
|
-
function I(
|
|
4227
|
-
return (
|
|
4228
|
-
...
|
|
4229
|
-
open:
|
|
4230
|
-
children:
|
|
4227
|
+
function I($) {
|
|
4228
|
+
return ($ || []).map((F) => ({
|
|
4229
|
+
...F,
|
|
4230
|
+
open: F.open || !1,
|
|
4231
|
+
children: F.children.map((H) => ({
|
|
4231
4232
|
...H,
|
|
4232
4233
|
selected: H.selected || !1
|
|
4233
4234
|
})),
|
|
4234
4235
|
selectedCount: 0
|
|
4235
4236
|
}));
|
|
4236
4237
|
}
|
|
4237
|
-
const
|
|
4238
|
-
i && !n &&
|
|
4239
|
-
|
|
4238
|
+
const L = S(() => !i || !e.value?.length ? null : Fr(e.value, i)), U = M(I(n || L.value)), Q = M(o), $e = M(r);
|
|
4239
|
+
i && !n && ds(L, ($) => {
|
|
4240
|
+
U.value = I($);
|
|
4240
4241
|
});
|
|
4241
|
-
const
|
|
4242
|
-
...l ? {} :
|
|
4242
|
+
const Ae = S(() => ({
|
|
4243
|
+
...l ? {} : x,
|
|
4243
4244
|
...c
|
|
4244
|
-
})),
|
|
4245
|
+
})), le = S(() => ({
|
|
4245
4246
|
shouldSort: !0,
|
|
4246
4247
|
keys: ["title", "label", "description", "author"],
|
|
4247
4248
|
...u
|
|
4248
|
-
})),
|
|
4249
|
-
const
|
|
4250
|
-
return
|
|
4251
|
-
const { name: H, uid:
|
|
4249
|
+
})), W = S(() => {
|
|
4250
|
+
const $ = [];
|
|
4251
|
+
return U.value.forEach((F) => {
|
|
4252
|
+
const { name: H, uid: X, children: N } = F;
|
|
4252
4253
|
let Re = 0, kt = !1;
|
|
4253
4254
|
N && N.forEach((Ct) => {
|
|
4254
|
-
Ct.selected && (++Re, kt || (
|
|
4255
|
-
}),
|
|
4256
|
-
}),
|
|
4257
|
-
}),
|
|
4258
|
-
const H = f(
|
|
4259
|
-
return H && H.length ?
|
|
4260
|
-
})) : e.value),
|
|
4261
|
-
const
|
|
4262
|
-
return typeof
|
|
4255
|
+
Ct.selected && (++Re, kt || ($.push({ uid: X, name: H, children: [] }), kt = !0), $[$.length - 1].children.push(Ct));
|
|
4256
|
+
}), F.selectedCount = Re;
|
|
4257
|
+
}), $;
|
|
4258
|
+
}), Oe = S(() => W.value.length ? e.value.filter(($) => W.value.every((F) => {
|
|
4259
|
+
const H = f($, F.uid);
|
|
4260
|
+
return H && H.length ? F.children.some((X) => H.includes(X.uid)) : !1;
|
|
4261
|
+
})) : e.value), ge = S(() => Q.value?.length ? new _n(Oe.value, le.value).search(Q.value).map((F) => F.item) : Oe.value), xe = S(() => {
|
|
4262
|
+
const $ = Ae.value[$e.value]?.sort;
|
|
4263
|
+
return typeof $ != "function" ? ge.value : $([...ge.value]);
|
|
4263
4264
|
});
|
|
4264
|
-
function
|
|
4265
|
-
|
|
4266
|
-
|
|
4265
|
+
function D() {
|
|
4266
|
+
U.value.forEach(($) => {
|
|
4267
|
+
$.children && $.children.forEach((F) => F.selected = !1);
|
|
4267
4268
|
});
|
|
4268
4269
|
}
|
|
4269
|
-
function
|
|
4270
|
-
const
|
|
4271
|
-
if (
|
|
4272
|
-
const N =
|
|
4270
|
+
function ee({ groupUid: $, facetUid: F, selected: H }) {
|
|
4271
|
+
const X = U.value.find((N) => N.uid === $);
|
|
4272
|
+
if (X) {
|
|
4273
|
+
const N = X.children.find((Re) => Re.uid === F);
|
|
4273
4274
|
N && (N.selected = H);
|
|
4274
4275
|
}
|
|
4275
4276
|
}
|
|
4276
4277
|
return {
|
|
4277
4278
|
// State
|
|
4278
|
-
facets:
|
|
4279
|
-
searchValue:
|
|
4280
|
-
selectedSort:
|
|
4281
|
-
sortTypes:
|
|
4279
|
+
facets: U,
|
|
4280
|
+
searchValue: Q,
|
|
4281
|
+
selectedSort: $e,
|
|
4282
|
+
sortTypes: Ae,
|
|
4282
4283
|
// Computed
|
|
4283
|
-
displayItems:
|
|
4284
|
-
selectedFacets:
|
|
4284
|
+
displayItems: xe,
|
|
4285
|
+
selectedFacets: W,
|
|
4285
4286
|
// Methods
|
|
4286
|
-
clearFilters:
|
|
4287
|
-
handleFacetChange:
|
|
4287
|
+
clearFilters: D,
|
|
4288
|
+
handleFacetChange: ee
|
|
4288
4289
|
};
|
|
4289
4290
|
}
|
|
4290
|
-
const
|
|
4291
|
+
const Mt = {
|
|
4291
4292
|
__name: "UluFacetsList",
|
|
4292
4293
|
props: {
|
|
4293
4294
|
groupUid: String,
|
|
@@ -4325,7 +4326,7 @@ const It = {
|
|
|
4325
4326
|
});
|
|
4326
4327
|
}
|
|
4327
4328
|
}
|
|
4328
|
-
return (r, l) => (a(), p(
|
|
4329
|
+
return (r, l) => (a(), p(Os, {
|
|
4329
4330
|
class: "UluFacets__facet-list",
|
|
4330
4331
|
legend: e.groupUid,
|
|
4331
4332
|
type: e.type,
|
|
@@ -4359,7 +4360,7 @@ const It = {
|
|
|
4359
4360
|
setup(e, { emit: s }) {
|
|
4360
4361
|
const t = s, n = (i) => i.multiple ? i.children.filter((o) => o.selected).map((o) => o.uid) : i.children.find((o) => o.selected)?.uid || "";
|
|
4361
4362
|
return (i, o) => (a(), d("div", Lr, [
|
|
4362
|
-
(a(!0), d(
|
|
4363
|
+
(a(!0), d(O, null, A(e.facets, (r) => (a(), p(jt, {
|
|
4363
4364
|
class: m(["UluFacets__group", e.classes.group]),
|
|
4364
4365
|
classToggle: ["UluFacets__group-toggle", e.classes.groupToggle],
|
|
4365
4366
|
classContent: ["UluFacets__group-content", e.classes.groupContent],
|
|
@@ -4379,7 +4380,7 @@ const It = {
|
|
|
4379
4380
|
])
|
|
4380
4381
|
]),
|
|
4381
4382
|
default: w(() => [
|
|
4382
|
-
|
|
4383
|
+
R(Mt, {
|
|
4383
4384
|
children: r.children.slice(0, e.maxVisible),
|
|
4384
4385
|
groupUid: r.uid,
|
|
4385
4386
|
groupName: r.name,
|
|
@@ -4387,7 +4388,7 @@ const It = {
|
|
|
4387
4388
|
"model-value": n(r),
|
|
4388
4389
|
onFacetChange: o[0] || (o[0] = (l) => t("facet-change", l))
|
|
4389
4390
|
}, null, 8, ["children", "groupUid", "groupName", "type", "model-value"]),
|
|
4390
|
-
r.children.length > e.maxVisible ? (a(), p(
|
|
4391
|
+
r.children.length > e.maxVisible ? (a(), p(jt, {
|
|
4391
4392
|
key: 0,
|
|
4392
4393
|
class: m(["UluFacets__more-facets", e.classes.moreFacets]),
|
|
4393
4394
|
clickOutsideCloses: !1,
|
|
@@ -4398,7 +4399,7 @@ const It = {
|
|
|
4398
4399
|
k(y(l ? "- Less" : "+ More"), 1)
|
|
4399
4400
|
]),
|
|
4400
4401
|
default: w(() => [
|
|
4401
|
-
|
|
4402
|
+
R(Mt, {
|
|
4402
4403
|
children: r.children.slice(e.maxVisible),
|
|
4403
4404
|
groupUid: r.uid,
|
|
4404
4405
|
groupName: r.name,
|
|
@@ -4464,11 +4465,11 @@ const It = {
|
|
|
4464
4465
|
return (l, c) => (a(), d("div", {
|
|
4465
4466
|
class: m(e.classes.container)
|
|
4466
4467
|
}, [
|
|
4467
|
-
(a(!0), d(
|
|
4468
|
+
(a(!0), d(O, null, A(e.facets, (u) => (a(), d("div", {
|
|
4468
4469
|
key: u.uid,
|
|
4469
4470
|
class: m(e.classes.group)
|
|
4470
4471
|
}, [
|
|
4471
|
-
|
|
4472
|
+
R(Fe, {
|
|
4472
4473
|
classes: {
|
|
4473
4474
|
trigger: e.classes.trigger,
|
|
4474
4475
|
content: e.classes.content
|
|
@@ -4479,13 +4480,13 @@ const It = {
|
|
|
4479
4480
|
k(y(u.name) + ": ", 1),
|
|
4480
4481
|
h("strong", null, y(o(u)), 1)
|
|
4481
4482
|
]),
|
|
4482
|
-
|
|
4483
|
+
R(V, {
|
|
4483
4484
|
class: m(e.classes.triggerIcon),
|
|
4484
4485
|
icon: "fas fa-chevron-down"
|
|
4485
4486
|
}, null, 8, ["class"])
|
|
4486
4487
|
]),
|
|
4487
4488
|
content: w(({ close: f }) => [
|
|
4488
|
-
|
|
4489
|
+
R(Os, {
|
|
4489
4490
|
legend: u.name,
|
|
4490
4491
|
type: u.multiple ? "checkbox" : "radio",
|
|
4491
4492
|
options: n(u),
|
|
@@ -4521,7 +4522,7 @@ const It = {
|
|
|
4521
4522
|
});
|
|
4522
4523
|
}
|
|
4523
4524
|
return (i, o) => (a(), d("div", Hr, [
|
|
4524
|
-
(a(!0), d(
|
|
4525
|
+
(a(!0), d(O, null, A(e.facets, (r) => (a(), d("div", {
|
|
4525
4526
|
class: "UluFacetsDropdownFilters__group",
|
|
4526
4527
|
key: r.uid
|
|
4527
4528
|
}, [
|
|
@@ -4535,7 +4536,7 @@ const It = {
|
|
|
4535
4536
|
onChange: (l) => n(r, l)
|
|
4536
4537
|
}, [
|
|
4537
4538
|
h("option", Nr, "All " + y(r.name) + "s", 1),
|
|
4538
|
-
(a(!0), d(
|
|
4539
|
+
(a(!0), d(O, null, A(r.children, (l) => (a(), d("option", {
|
|
4539
4540
|
key: l.uid,
|
|
4540
4541
|
value: l.uid,
|
|
4541
4542
|
selected: l.selected
|
|
@@ -4581,14 +4582,14 @@ const It = {
|
|
|
4581
4582
|
},
|
|
4582
4583
|
setup(e) {
|
|
4583
4584
|
return (s, t) => (a(), d("div", Kr, [
|
|
4584
|
-
e.items.length ? (a(), p(
|
|
4585
|
+
e.items.length ? (a(), p(cs, {
|
|
4585
4586
|
key: 0,
|
|
4586
4587
|
tag: e.tag,
|
|
4587
4588
|
name: e.transitionName,
|
|
4588
4589
|
class: m(["UluFacetsResults__list", e.classes.list])
|
|
4589
4590
|
}, {
|
|
4590
4591
|
default: w(() => [
|
|
4591
|
-
(a(!0), d(
|
|
4592
|
+
(a(!0), d(O, null, A(e.items, (n, i) => (a(), d("li", {
|
|
4592
4593
|
class: m(["UluFacetsResults__item", e.classes.item]),
|
|
4593
4594
|
key: n.id || i
|
|
4594
4595
|
}, [
|
|
@@ -4638,14 +4639,14 @@ const It = {
|
|
|
4638
4639
|
}, [...c[1] || (c[1] = [
|
|
4639
4640
|
h("strong", null, "Search", -1)
|
|
4640
4641
|
])], 2),
|
|
4641
|
-
|
|
4642
|
+
ke(h("input", {
|
|
4642
4643
|
id: o,
|
|
4643
4644
|
class: m(e.classes.searchInput),
|
|
4644
4645
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
|
4645
4646
|
type: "text",
|
|
4646
4647
|
placeholder: e.placeholder
|
|
4647
4648
|
}, null, 10, Jr), [
|
|
4648
|
-
[
|
|
4649
|
+
[ln, r.value]
|
|
4649
4650
|
])
|
|
4650
4651
|
]));
|
|
4651
4652
|
}
|
|
@@ -4703,14 +4704,14 @@ const It = {
|
|
|
4703
4704
|
id: i.value,
|
|
4704
4705
|
class: m(e.classes.sortFormSelect)
|
|
4705
4706
|
}, [
|
|
4706
|
-
(a(!0), d(
|
|
4707
|
+
(a(!0), d(O, null, A(e.sortTypes, (l, c) => (a(), d("option", {
|
|
4707
4708
|
value: c,
|
|
4708
4709
|
key: c
|
|
4709
4710
|
}, y(l.text), 9, rl))), 128))
|
|
4710
4711
|
], 42, il)
|
|
4711
4712
|
], 2));
|
|
4712
4713
|
}
|
|
4713
|
-
},
|
|
4714
|
+
}, xs = Symbol(), Rs = Symbol(), De = Symbol(), ll = {
|
|
4714
4715
|
name: "ScrollAnchors",
|
|
4715
4716
|
emits: ["section-change"],
|
|
4716
4717
|
props: {
|
|
@@ -4744,7 +4745,7 @@ const It = {
|
|
|
4744
4745
|
provide() {
|
|
4745
4746
|
return {
|
|
4746
4747
|
[De]: S(() => this.sections),
|
|
4747
|
-
[
|
|
4748
|
+
[xs]: (e) => {
|
|
4748
4749
|
const { titleId: s, title: t } = e, { element: n } = e.$refs;
|
|
4749
4750
|
this.sections.push({
|
|
4750
4751
|
instance: e,
|
|
@@ -4754,7 +4755,7 @@ const It = {
|
|
|
4754
4755
|
active: !1
|
|
4755
4756
|
}), this.update();
|
|
4756
4757
|
},
|
|
4757
|
-
[
|
|
4758
|
+
[Rs]: (e) => {
|
|
4758
4759
|
const s = this.sections, t = s.findIndex((n) => n.instance === e);
|
|
4759
4760
|
t > -1 && s.splice(t, 1), this.update();
|
|
4760
4761
|
}
|
|
@@ -4775,9 +4776,9 @@ const It = {
|
|
|
4775
4776
|
let i = 0;
|
|
4776
4777
|
const o = (r) => {
|
|
4777
4778
|
r.forEach(({ target: l, isIntersecting: c }) => {
|
|
4778
|
-
const u = this.getSectionIndex(l), f = l.offsetTop, _ = s[u], b = u === 0 && i > f,
|
|
4779
|
+
const u = this.getSectionIndex(l), f = l.offsetTop, _ = s[u], b = u === 0 && i > f, x = u === s.length - 1 && i < f;
|
|
4779
4780
|
_ && this.$nextTick(() => {
|
|
4780
|
-
c ? (t(_), _.active = !0) : (b && !n ||
|
|
4781
|
+
c ? (t(_), _.active = !0) : (b && !n || x && _.active) && t(), this.$emit("section-change", {
|
|
4781
4782
|
section: _,
|
|
4782
4783
|
sections: s,
|
|
4783
4784
|
active: c
|
|
@@ -4840,7 +4841,7 @@ function fl(e, s, t, n, i, o) {
|
|
|
4840
4841
|
}, {
|
|
4841
4842
|
default: w(() => [
|
|
4842
4843
|
h("ul", null, [
|
|
4843
|
-
(a(!0), d(
|
|
4844
|
+
(a(!0), d(O, null, A(o.sections, (r, l) => (a(), d("li", {
|
|
4844
4845
|
key: l,
|
|
4845
4846
|
class: m({ "is-active": r.active })
|
|
4846
4847
|
}, [
|
|
@@ -4855,7 +4856,7 @@ function fl(e, s, t, n, i, o) {
|
|
|
4855
4856
|
})) : v("", !0);
|
|
4856
4857
|
}
|
|
4857
4858
|
const sh = /* @__PURE__ */ C(ul, [["render", fl]]);
|
|
4858
|
-
function
|
|
4859
|
+
function Us(e) {
|
|
4859
4860
|
requestAnimationFrame(() => {
|
|
4860
4861
|
const s = new MessageChannel();
|
|
4861
4862
|
s.port1.onmessage = e, s.port2.postMessage(void 0);
|
|
@@ -4899,7 +4900,7 @@ const hl = {
|
|
|
4899
4900
|
},
|
|
4900
4901
|
watch: {
|
|
4901
4902
|
indicatorStyles(e) {
|
|
4902
|
-
e && !this.indicatorAnimReady &&
|
|
4903
|
+
e && !this.indicatorAnimReady && Us(() => {
|
|
4903
4904
|
this.indicatorAnimReady = !0;
|
|
4904
4905
|
});
|
|
4905
4906
|
}
|
|
@@ -4917,7 +4918,7 @@ function yl(e, s, t, n, i, o) {
|
|
|
4917
4918
|
}, {
|
|
4918
4919
|
default: w(() => [
|
|
4919
4920
|
h("ul", ml, [
|
|
4920
|
-
(a(!0), d(
|
|
4921
|
+
(a(!0), d(O, null, A(o.sections, (r, l) => (a(), d("li", {
|
|
4921
4922
|
key: l,
|
|
4922
4923
|
class: m({ "is-active": r.active })
|
|
4923
4924
|
}, [
|
|
@@ -4967,8 +4968,8 @@ const nh = /* @__PURE__ */ C(hl, [["render", yl]]), pl = {
|
|
|
4967
4968
|
}
|
|
4968
4969
|
},
|
|
4969
4970
|
inject: {
|
|
4970
|
-
register: { from:
|
|
4971
|
-
unregister: { from:
|
|
4971
|
+
register: { from: xs },
|
|
4972
|
+
unregister: { from: Rs },
|
|
4972
4973
|
sections: { from: De, default: () => S(() => []) }
|
|
4973
4974
|
},
|
|
4974
4975
|
data() {
|
|
@@ -5080,8 +5081,8 @@ const lh = {
|
|
|
5080
5081
|
return l.map((u) => ({ width: u, alt: Math.random() < 0.5 }));
|
|
5081
5082
|
}));
|
|
5082
5083
|
return (n, i) => (a(), d("div", null, [
|
|
5083
|
-
(a(!0), d(
|
|
5084
|
-
(a(!0), d(
|
|
5084
|
+
(a(!0), d(O, null, A(t.value, (o, r) => (a(), d("div", { key: r }, [
|
|
5085
|
+
(a(!0), d(O, null, A(o, (l) => (a(), d("span", {
|
|
5085
5086
|
key: l,
|
|
5086
5087
|
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": l.alt }]),
|
|
5087
5088
|
style: P({ width: `${l.width}%` })
|
|
@@ -5093,7 +5094,7 @@ const lh = {
|
|
|
5093
5094
|
__name: "UluSkeletonMedia",
|
|
5094
5095
|
setup(e) {
|
|
5095
5096
|
return (s, t) => (a(), d("div", wl, [
|
|
5096
|
-
|
|
5097
|
+
R(V, { icon: "type:image" })
|
|
5097
5098
|
]));
|
|
5098
5099
|
}
|
|
5099
5100
|
}, Sl = {
|
|
@@ -5311,7 +5312,7 @@ function Ml(e, s, t, n, i, o) {
|
|
|
5311
5312
|
h("div", Cl, [
|
|
5312
5313
|
h("div", Tl, [
|
|
5313
5314
|
h("ul", $l, [
|
|
5314
|
-
(a(!0), d(
|
|
5315
|
+
(a(!0), d(O, null, A(i.slides, (l, c) => (a(), d("li", {
|
|
5315
5316
|
class: m(["slideshow__slide", { "is-active": l.active }]),
|
|
5316
5317
|
key: c,
|
|
5317
5318
|
tabindex: t.slideFocusable ? "0" : "-1",
|
|
@@ -5335,7 +5336,7 @@ function Ml(e, s, t, n, i, o) {
|
|
|
5335
5336
|
onClick: s[0] || (s[0] = (...l) => o.previous && o.previous(...l)),
|
|
5336
5337
|
disabled: !o.canScrollLeft
|
|
5337
5338
|
}, [
|
|
5338
|
-
|
|
5339
|
+
R(r, {
|
|
5339
5340
|
class: "slideshow__control-icon",
|
|
5340
5341
|
icon: "type:next"
|
|
5341
5342
|
})
|
|
@@ -5348,7 +5349,7 @@ function Ml(e, s, t, n, i, o) {
|
|
|
5348
5349
|
onClick: s[1] || (s[1] = (...l) => o.next && o.next(...l)),
|
|
5349
5350
|
disabled: !o.canScrollRight
|
|
5350
5351
|
}, [
|
|
5351
|
-
|
|
5352
|
+
R(r, {
|
|
5352
5353
|
class: "slideshow__control-icon",
|
|
5353
5354
|
icon: "type:previous"
|
|
5354
5355
|
})
|
|
@@ -5357,7 +5358,7 @@ function Ml(e, s, t, n, i, o) {
|
|
|
5357
5358
|
])
|
|
5358
5359
|
], 512),
|
|
5359
5360
|
t.noNav ? v("", !0) : (a(), d("ul", El, [
|
|
5360
|
-
(a(!0), d(
|
|
5361
|
+
(a(!0), d(O, null, A(i.slides, (l, c) => (a(), d("li", {
|
|
5361
5362
|
class: m(["slideshow__nav-item", { "is-active": l.active }]),
|
|
5362
5363
|
ref_for: !0,
|
|
5363
5364
|
ref: (u) => {
|
|
@@ -5486,7 +5487,7 @@ const uh = /* @__PURE__ */ C(Dl, [["render", Nl]]), Wl = {
|
|
|
5486
5487
|
}
|
|
5487
5488
|
}, Xl = ["id"], ql = ["innerHTML"];
|
|
5488
5489
|
function Yl(e, s, t, n, i, o) {
|
|
5489
|
-
return a(!0), d(
|
|
5490
|
+
return a(!0), d(O, null, A(t.rows, (r, l) => (a(), d("tr", {
|
|
5490
5491
|
key: `br-${l}`,
|
|
5491
5492
|
id: t.optionalAttr(t.isActual && r.id),
|
|
5492
5493
|
class: m(t.resolveClasses(t.classes.row, { row: r.data, rowIndex: l, isActual: t.isActual, foot: t.foot })),
|
|
@@ -5494,7 +5495,7 @@ function Yl(e, s, t, n, i, o) {
|
|
|
5494
5495
|
height: r.height
|
|
5495
5496
|
})
|
|
5496
5497
|
}, [
|
|
5497
|
-
(a(!0), d(
|
|
5498
|
+
(a(!0), d(O, null, A(t.rowColumns, (c, u) => (a(), p(B(c.rowHeader ? "th" : "td"), {
|
|
5498
5499
|
id: t.optionalAttr(t.isActual && c.rowHeader && c.getRowHeaderId(l)),
|
|
5499
5500
|
scope: t.optionalAttr(t.isActual && c.rowHeader && "row"),
|
|
5500
5501
|
key: `bc-${u}`,
|
|
@@ -5516,7 +5517,7 @@ function Yl(e, s, t, n, i, o) {
|
|
|
5516
5517
|
}) : c.html ? (a(), d("div", {
|
|
5517
5518
|
key: 1,
|
|
5518
5519
|
innerHTML: t.value({ row: r, column: c, rowIndex: l, isActual: t.isActual, foot: t.foot })
|
|
5519
|
-
}, null, 8, ql)) : (a(), d(
|
|
5520
|
+
}, null, 8, ql)) : (a(), d(O, { key: 2 }, [
|
|
5520
5521
|
k(y(t.value({ row: r, column: c, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
|
|
5521
5522
|
], 64))
|
|
5522
5523
|
]),
|
|
@@ -5622,7 +5623,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5622
5623
|
}, [
|
|
5623
5624
|
t.caption ? (a(), d("caption", Jl, y(t.caption), 1)) : v("", !0),
|
|
5624
5625
|
h("thead", null, [
|
|
5625
|
-
(a(!0), d(
|
|
5626
|
+
(a(!0), d(O, null, A(t.headerRows, (l, c) => (a(), d("tr", {
|
|
5626
5627
|
key: `hr-${c}`,
|
|
5627
5628
|
id: o.optionalAttr(t.isActual && l.id),
|
|
5628
5629
|
class: m(t.resolveClasses(t.classes.rowHeader, { row: l, rowIndex: c, isActual: t.isActual })),
|
|
@@ -5630,7 +5631,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5630
5631
|
height: l.height
|
|
5631
5632
|
})
|
|
5632
5633
|
}, [
|
|
5633
|
-
(a(!0), d(
|
|
5634
|
+
(a(!0), d(O, null, A(l.columns, (u, f) => (a(), d("th", {
|
|
5634
5635
|
key: `hc-${f}`,
|
|
5635
5636
|
id: o.optionalAttr(t.isActual && u.id),
|
|
5636
5637
|
rowspan: u.rowspan,
|
|
@@ -5672,7 +5673,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5672
5673
|
}) : u.htmlTitle ? (a(), d("div", {
|
|
5673
5674
|
key: 1,
|
|
5674
5675
|
innerHTML: t.getColumnTitle({ column: u, index: f, isActual: t.isActual })
|
|
5675
|
-
}, null, 8, ta)) : (a(), d(
|
|
5676
|
+
}, null, 8, ta)) : (a(), d(O, { key: 2 }, [
|
|
5676
5677
|
k(y(t.getColumnTitle({ column: u, index: f, isActual: t.isActual })), 1)
|
|
5677
5678
|
], 64)),
|
|
5678
5679
|
h("span", sa, [
|
|
@@ -5684,7 +5685,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5684
5685
|
])
|
|
5685
5686
|
]),
|
|
5686
5687
|
_: 2
|
|
5687
|
-
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (a(), d(
|
|
5688
|
+
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (a(), d(O, { key: 1 }, [
|
|
5688
5689
|
e.$slots[u.slotHeader] ? g(e.$slots, u.slotHeader, {
|
|
5689
5690
|
key: 0,
|
|
5690
5691
|
isActual: t.isActual,
|
|
@@ -5693,7 +5694,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5693
5694
|
}) : u.htmlTitle ? (a(), d("div", {
|
|
5694
5695
|
key: 1,
|
|
5695
5696
|
innerHTML: t.getColumnTitle({ column: u, index: f, isActual: t.isActual })
|
|
5696
|
-
}, null, 8, oa)) : (a(), d(
|
|
5697
|
+
}, null, 8, oa)) : (a(), d(O, { key: 2 }, [
|
|
5697
5698
|
k(y(t.getColumnTitle({ column: u, index: f, isActual: t.isActual })), 1)
|
|
5698
5699
|
], 64))
|
|
5699
5700
|
], 64))
|
|
@@ -5701,7 +5702,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5701
5702
|
], 14, Ql))), 128))
|
|
5702
5703
|
]),
|
|
5703
5704
|
t.rows ? (a(), d("tbody", ia, [
|
|
5704
|
-
|
|
5705
|
+
R(r, {
|
|
5705
5706
|
rows: t.rows,
|
|
5706
5707
|
rowColumns: t.rowColumns,
|
|
5707
5708
|
optionalAttr: o.optionalAttr,
|
|
@@ -5711,17 +5712,17 @@ function la(e, s, t, n, i, o) {
|
|
|
5711
5712
|
columnWidth: t.columnWidth,
|
|
5712
5713
|
classes: t.classes,
|
|
5713
5714
|
value: o.value
|
|
5714
|
-
},
|
|
5715
|
-
|
|
5715
|
+
}, ce({ _: 2 }, [
|
|
5716
|
+
A(e.$slots, (l, c) => ({
|
|
5716
5717
|
name: c,
|
|
5717
5718
|
fn: w((u) => [
|
|
5718
|
-
g(e.$slots, c,
|
|
5719
|
+
g(e.$slots, c, q(Y(u)))
|
|
5719
5720
|
])
|
|
5720
5721
|
}))
|
|
5721
5722
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
5722
5723
|
])) : v("", !0),
|
|
5723
5724
|
t.footerRows ? (a(), d("tfoot", ra, [
|
|
5724
|
-
|
|
5725
|
+
R(r, {
|
|
5725
5726
|
rows: t.footerRows,
|
|
5726
5727
|
rowColumns: t.rowColumns,
|
|
5727
5728
|
optionalAttr: o.optionalAttr,
|
|
@@ -5732,11 +5733,11 @@ function la(e, s, t, n, i, o) {
|
|
|
5732
5733
|
classes: t.classes,
|
|
5733
5734
|
value: o.value,
|
|
5734
5735
|
foot: ""
|
|
5735
|
-
},
|
|
5736
|
-
|
|
5736
|
+
}, ce({ _: 2 }, [
|
|
5737
|
+
A(e.$slots, (l, c) => ({
|
|
5737
5738
|
name: c,
|
|
5738
5739
|
fn: w((u) => [
|
|
5739
|
-
g(e.$slots, c,
|
|
5740
|
+
g(e.$slots, c, q(Y(u)))
|
|
5740
5741
|
])
|
|
5741
5742
|
}))
|
|
5742
5743
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
@@ -5747,12 +5748,12 @@ const aa = /* @__PURE__ */ C(Gl, [["render", la]]);
|
|
|
5747
5748
|
function ca() {
|
|
5748
5749
|
this.__data__ = [], this.size = 0;
|
|
5749
5750
|
}
|
|
5750
|
-
function
|
|
5751
|
+
function js(e, s) {
|
|
5751
5752
|
return e === s || e !== e && s !== s;
|
|
5752
5753
|
}
|
|
5753
5754
|
function Ne(e, s) {
|
|
5754
5755
|
for (var t = e.length; t--; )
|
|
5755
|
-
if (
|
|
5756
|
+
if (js(e[t][0], s))
|
|
5756
5757
|
return t;
|
|
5757
5758
|
return -1;
|
|
5758
5759
|
}
|
|
@@ -5775,20 +5776,20 @@ function ga(e, s) {
|
|
|
5775
5776
|
var t = this.__data__, n = Ne(t, e);
|
|
5776
5777
|
return n < 0 ? (++this.size, t.push([e, s])) : t[n][1] = s, this;
|
|
5777
5778
|
}
|
|
5778
|
-
function
|
|
5779
|
+
function J(e) {
|
|
5779
5780
|
var s = -1, t = e == null ? 0 : e.length;
|
|
5780
5781
|
for (this.clear(); ++s < t; ) {
|
|
5781
5782
|
var n = e[s];
|
|
5782
5783
|
this.set(n[0], n[1]);
|
|
5783
5784
|
}
|
|
5784
5785
|
}
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5786
|
+
J.prototype.clear = ca;
|
|
5787
|
+
J.prototype.delete = fa;
|
|
5788
|
+
J.prototype.get = ha;
|
|
5789
|
+
J.prototype.has = ma;
|
|
5790
|
+
J.prototype.set = ga;
|
|
5790
5791
|
function ya() {
|
|
5791
|
-
this.__data__ = new
|
|
5792
|
+
this.__data__ = new J(), this.size = 0;
|
|
5792
5793
|
}
|
|
5793
5794
|
function pa(e) {
|
|
5794
5795
|
var s = this.__data__, t = s.delete(e);
|
|
@@ -5800,45 +5801,45 @@ function _a(e) {
|
|
|
5800
5801
|
function va(e) {
|
|
5801
5802
|
return this.__data__.has(e);
|
|
5802
5803
|
}
|
|
5803
|
-
var
|
|
5804
|
+
var Es = typeof global == "object" && global && global.Object === Object && global, ba = typeof self == "object" && self && self.Object === Object && self, K = Es || ba || Function("return this")(), de = K.Symbol, zs = Object.prototype, wa = zs.hasOwnProperty, Sa = zs.toString, ye = de ? de.toStringTag : void 0;
|
|
5804
5805
|
function ka(e) {
|
|
5805
|
-
var s = wa.call(e,
|
|
5806
|
+
var s = wa.call(e, ye), t = e[ye];
|
|
5806
5807
|
try {
|
|
5807
|
-
e[
|
|
5808
|
+
e[ye] = void 0;
|
|
5808
5809
|
var n = !0;
|
|
5809
5810
|
} catch {
|
|
5810
5811
|
}
|
|
5811
5812
|
var i = Sa.call(e);
|
|
5812
|
-
return n && (s ? e[
|
|
5813
|
+
return n && (s ? e[ye] = t : delete e[ye]), i;
|
|
5813
5814
|
}
|
|
5814
5815
|
var Ca = Object.prototype, Ta = Ca.toString;
|
|
5815
5816
|
function $a(e) {
|
|
5816
5817
|
return Ta.call(e);
|
|
5817
5818
|
}
|
|
5818
|
-
var Aa = "[object Null]", Oa = "[object Undefined]",
|
|
5819
|
-
function
|
|
5820
|
-
return e == null ? e === void 0 ? Oa : Aa :
|
|
5819
|
+
var Aa = "[object Null]", Oa = "[object Undefined]", Bt = de ? de.toStringTag : void 0;
|
|
5820
|
+
function Ce(e) {
|
|
5821
|
+
return e == null ? e === void 0 ? Oa : Aa : Bt && Bt in Object(e) ? ka(e) : $a(e);
|
|
5821
5822
|
}
|
|
5822
5823
|
function We(e) {
|
|
5823
5824
|
var s = typeof e;
|
|
5824
5825
|
return e != null && (s == "object" || s == "function");
|
|
5825
5826
|
}
|
|
5826
5827
|
var xa = "[object AsyncFunction]", Ra = "[object Function]", Ua = "[object GeneratorFunction]", ja = "[object Proxy]";
|
|
5827
|
-
function
|
|
5828
|
+
function Is(e) {
|
|
5828
5829
|
if (!We(e))
|
|
5829
5830
|
return !1;
|
|
5830
|
-
var s =
|
|
5831
|
+
var s = Ce(e);
|
|
5831
5832
|
return s == Ra || s == Ua || s == xa || s == ja;
|
|
5832
5833
|
}
|
|
5833
|
-
var Ge =
|
|
5834
|
+
var Ge = K["__core-js_shared__"], Pt = function() {
|
|
5834
5835
|
var e = /[^.]+$/.exec(Ge && Ge.keys && Ge.keys.IE_PROTO || "");
|
|
5835
5836
|
return e ? "Symbol(src)_1." + e : "";
|
|
5836
5837
|
}();
|
|
5837
5838
|
function Ea(e) {
|
|
5838
|
-
return !!
|
|
5839
|
+
return !!Pt && Pt in e;
|
|
5839
5840
|
}
|
|
5840
5841
|
var za = Function.prototype, Ia = za.toString;
|
|
5841
|
-
function
|
|
5842
|
+
function ie(e) {
|
|
5842
5843
|
if (e != null) {
|
|
5843
5844
|
try {
|
|
5844
5845
|
return Ia.call(e);
|
|
@@ -5857,19 +5858,19 @@ var Ma = /[\\^$.*+?()[\]{}|]/g, Ba = /^\[object .+?Constructor\]$/, Pa = Functio
|
|
|
5857
5858
|
function Da(e) {
|
|
5858
5859
|
if (!We(e) || Ea(e))
|
|
5859
5860
|
return !1;
|
|
5860
|
-
var s =
|
|
5861
|
-
return s.test(
|
|
5861
|
+
var s = Is(e) ? Va : Ba;
|
|
5862
|
+
return s.test(ie(e));
|
|
5862
5863
|
}
|
|
5863
5864
|
function Na(e, s) {
|
|
5864
5865
|
return e?.[s];
|
|
5865
5866
|
}
|
|
5866
|
-
function
|
|
5867
|
+
function re(e, s) {
|
|
5867
5868
|
var t = Na(e, s);
|
|
5868
5869
|
return Da(t) ? t : void 0;
|
|
5869
5870
|
}
|
|
5870
|
-
var
|
|
5871
|
+
var we = re(K, "Map"), Se = re(Object, "create");
|
|
5871
5872
|
function Wa() {
|
|
5872
|
-
this.__data__ =
|
|
5873
|
+
this.__data__ = Se ? Se(null) : {}, this.size = 0;
|
|
5873
5874
|
}
|
|
5874
5875
|
function Xa(e) {
|
|
5875
5876
|
var s = this.has(e) && delete this.__data__[e];
|
|
@@ -5878,7 +5879,7 @@ function Xa(e) {
|
|
|
5878
5879
|
var qa = "__lodash_hash_undefined__", Ya = Object.prototype, Ka = Ya.hasOwnProperty;
|
|
5879
5880
|
function Ga(e) {
|
|
5880
5881
|
var s = this.__data__;
|
|
5881
|
-
if (
|
|
5882
|
+
if (Se) {
|
|
5882
5883
|
var t = s[e];
|
|
5883
5884
|
return t === qa ? void 0 : t;
|
|
5884
5885
|
}
|
|
@@ -5887,30 +5888,30 @@ function Ga(e) {
|
|
|
5887
5888
|
var Za = Object.prototype, Ja = Za.hasOwnProperty;
|
|
5888
5889
|
function Qa(e) {
|
|
5889
5890
|
var s = this.__data__;
|
|
5890
|
-
return
|
|
5891
|
+
return Se ? s[e] !== void 0 : Ja.call(s, e);
|
|
5891
5892
|
}
|
|
5892
5893
|
var ec = "__lodash_hash_undefined__";
|
|
5893
5894
|
function tc(e, s) {
|
|
5894
5895
|
var t = this.__data__;
|
|
5895
|
-
return this.size += this.has(e) ? 0 : 1, t[e] =
|
|
5896
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = Se && s === void 0 ? ec : s, this;
|
|
5896
5897
|
}
|
|
5897
|
-
function
|
|
5898
|
+
function oe(e) {
|
|
5898
5899
|
var s = -1, t = e == null ? 0 : e.length;
|
|
5899
5900
|
for (this.clear(); ++s < t; ) {
|
|
5900
5901
|
var n = e[s];
|
|
5901
5902
|
this.set(n[0], n[1]);
|
|
5902
5903
|
}
|
|
5903
5904
|
}
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5905
|
+
oe.prototype.clear = Wa;
|
|
5906
|
+
oe.prototype.delete = Xa;
|
|
5907
|
+
oe.prototype.get = Ga;
|
|
5908
|
+
oe.prototype.has = Qa;
|
|
5909
|
+
oe.prototype.set = tc;
|
|
5909
5910
|
function sc() {
|
|
5910
5911
|
this.size = 0, this.__data__ = {
|
|
5911
|
-
hash: new
|
|
5912
|
-
map: new (
|
|
5913
|
-
string: new
|
|
5912
|
+
hash: new oe(),
|
|
5913
|
+
map: new (we || J)(),
|
|
5914
|
+
string: new oe()
|
|
5914
5915
|
};
|
|
5915
5916
|
}
|
|
5916
5917
|
function nc(e) {
|
|
@@ -5935,52 +5936,52 @@ function lc(e, s) {
|
|
|
5935
5936
|
var t = Xe(this, e), n = t.size;
|
|
5936
5937
|
return t.set(e, s), this.size += t.size == n ? 0 : 1, this;
|
|
5937
5938
|
}
|
|
5938
|
-
function
|
|
5939
|
+
function he(e) {
|
|
5939
5940
|
var s = -1, t = e == null ? 0 : e.length;
|
|
5940
5941
|
for (this.clear(); ++s < t; ) {
|
|
5941
5942
|
var n = e[s];
|
|
5942
5943
|
this.set(n[0], n[1]);
|
|
5943
5944
|
}
|
|
5944
5945
|
}
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5946
|
+
he.prototype.clear = sc;
|
|
5947
|
+
he.prototype.delete = oc;
|
|
5948
|
+
he.prototype.get = ic;
|
|
5949
|
+
he.prototype.has = rc;
|
|
5950
|
+
he.prototype.set = lc;
|
|
5950
5951
|
var ac = 200;
|
|
5951
5952
|
function cc(e, s) {
|
|
5952
5953
|
var t = this.__data__;
|
|
5953
|
-
if (t instanceof
|
|
5954
|
+
if (t instanceof J) {
|
|
5954
5955
|
var n = t.__data__;
|
|
5955
|
-
if (!
|
|
5956
|
+
if (!we || n.length < ac - 1)
|
|
5956
5957
|
return n.push([e, s]), this.size = ++t.size, this;
|
|
5957
|
-
t = this.__data__ = new
|
|
5958
|
+
t = this.__data__ = new he(n);
|
|
5958
5959
|
}
|
|
5959
5960
|
return t.set(e, s), this.size = t.size, this;
|
|
5960
5961
|
}
|
|
5961
|
-
function
|
|
5962
|
-
var s = this.__data__ = new
|
|
5962
|
+
function me(e) {
|
|
5963
|
+
var s = this.__data__ = new J(e);
|
|
5963
5964
|
this.size = s.size;
|
|
5964
5965
|
}
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5966
|
+
me.prototype.clear = ya;
|
|
5967
|
+
me.prototype.delete = pa;
|
|
5968
|
+
me.prototype.get = _a;
|
|
5969
|
+
me.prototype.has = va;
|
|
5970
|
+
me.prototype.set = cc;
|
|
5970
5971
|
function uc(e, s) {
|
|
5971
5972
|
for (var t = -1, n = e == null ? 0 : e.length; ++t < n && s(e[t], t, e) !== !1; )
|
|
5972
5973
|
;
|
|
5973
5974
|
return e;
|
|
5974
5975
|
}
|
|
5975
|
-
var
|
|
5976
|
+
var Ft = function() {
|
|
5976
5977
|
try {
|
|
5977
|
-
var e =
|
|
5978
|
+
var e = re(Object, "defineProperty");
|
|
5978
5979
|
return e({}, "", {}), e;
|
|
5979
5980
|
} catch {
|
|
5980
5981
|
}
|
|
5981
5982
|
}();
|
|
5982
5983
|
function dc(e, s, t) {
|
|
5983
|
-
s == "__proto__" &&
|
|
5984
|
+
s == "__proto__" && Ft ? Ft(e, s, {
|
|
5984
5985
|
configurable: !0,
|
|
5985
5986
|
enumerable: !0,
|
|
5986
5987
|
value: t,
|
|
@@ -5990,57 +5991,57 @@ function dc(e, s, t) {
|
|
|
5990
5991
|
var fc = Object.prototype, hc = fc.hasOwnProperty;
|
|
5991
5992
|
function mc(e, s, t) {
|
|
5992
5993
|
var n = e[s];
|
|
5993
|
-
(!(hc.call(e, s) &&
|
|
5994
|
+
(!(hc.call(e, s) && js(n, t)) || t === void 0 && !(s in e)) && dc(e, s, t);
|
|
5994
5995
|
}
|
|
5995
5996
|
function gc(e, s) {
|
|
5996
5997
|
for (var t = -1, n = Array(e); ++t < e; )
|
|
5997
5998
|
n[t] = s(t);
|
|
5998
5999
|
return n;
|
|
5999
6000
|
}
|
|
6000
|
-
function
|
|
6001
|
+
function Te(e) {
|
|
6001
6002
|
return e != null && typeof e == "object";
|
|
6002
6003
|
}
|
|
6003
6004
|
var yc = "[object Arguments]";
|
|
6004
|
-
function
|
|
6005
|
-
return
|
|
6005
|
+
function Lt(e) {
|
|
6006
|
+
return Te(e) && Ce(e) == yc;
|
|
6006
6007
|
}
|
|
6007
|
-
var
|
|
6008
|
+
var Ms = Object.prototype, pc = Ms.hasOwnProperty, _c = Ms.propertyIsEnumerable, vc = Lt(/* @__PURE__ */ function() {
|
|
6008
6009
|
return arguments;
|
|
6009
|
-
}()) ?
|
|
6010
|
-
return
|
|
6010
|
+
}()) ? Lt : function(e) {
|
|
6011
|
+
return Te(e) && pc.call(e, "callee") && !_c.call(e, "callee");
|
|
6011
6012
|
}, bt = Array.isArray;
|
|
6012
6013
|
function bc() {
|
|
6013
6014
|
return !1;
|
|
6014
6015
|
}
|
|
6015
|
-
var
|
|
6016
|
+
var Bs = typeof exports == "object" && exports && !exports.nodeType && exports, Ht = Bs && typeof module == "object" && module && !module.nodeType && module, wc = Ht && Ht.exports === Bs, Vt = wc ? K.Buffer : void 0, Sc = Vt ? Vt.isBuffer : void 0, Ps = Sc || bc, kc = 9007199254740991, Cc = /^(?:0|[1-9]\d*)$/;
|
|
6016
6017
|
function Tc(e, s) {
|
|
6017
6018
|
var t = typeof e;
|
|
6018
6019
|
return s = s ?? kc, !!s && (t == "number" || t != "symbol" && Cc.test(e)) && e > -1 && e % 1 == 0 && e < s;
|
|
6019
6020
|
}
|
|
6020
6021
|
var $c = 9007199254740991;
|
|
6021
|
-
function
|
|
6022
|
+
function Fs(e) {
|
|
6022
6023
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= $c;
|
|
6023
6024
|
}
|
|
6024
6025
|
var Ac = "[object Arguments]", Oc = "[object Array]", xc = "[object Boolean]", Rc = "[object Date]", Uc = "[object Error]", jc = "[object Function]", Ec = "[object Map]", zc = "[object Number]", Ic = "[object Object]", Mc = "[object RegExp]", Bc = "[object Set]", Pc = "[object String]", Fc = "[object WeakMap]", Lc = "[object ArrayBuffer]", Hc = "[object DataView]", Vc = "[object Float32Array]", Dc = "[object Float64Array]", Nc = "[object Int8Array]", Wc = "[object Int16Array]", Xc = "[object Int32Array]", qc = "[object Uint8Array]", Yc = "[object Uint8ClampedArray]", Kc = "[object Uint16Array]", Gc = "[object Uint32Array]", E = {};
|
|
6025
6026
|
E[Vc] = E[Dc] = E[Nc] = E[Wc] = E[Xc] = E[qc] = E[Yc] = E[Kc] = E[Gc] = !0;
|
|
6026
6027
|
E[Ac] = E[Oc] = E[Lc] = E[xc] = E[Hc] = E[Rc] = E[Uc] = E[jc] = E[Ec] = E[zc] = E[Ic] = E[Mc] = E[Bc] = E[Pc] = E[Fc] = !1;
|
|
6027
6028
|
function Zc(e) {
|
|
6028
|
-
return
|
|
6029
|
+
return Te(e) && Fs(e.length) && !!E[Ce(e)];
|
|
6029
6030
|
}
|
|
6030
6031
|
function wt(e) {
|
|
6031
6032
|
return function(s) {
|
|
6032
6033
|
return e(s);
|
|
6033
6034
|
};
|
|
6034
6035
|
}
|
|
6035
|
-
var
|
|
6036
|
+
var Ls = typeof exports == "object" && exports && !exports.nodeType && exports, be = Ls && typeof module == "object" && module && !module.nodeType && module, Jc = be && be.exports === Ls, Ze = Jc && Es.process, fe = function() {
|
|
6036
6037
|
try {
|
|
6037
|
-
var e =
|
|
6038
|
+
var e = be && be.require && be.require("util").types;
|
|
6038
6039
|
return e || Ze && Ze.binding && Ze.binding("util");
|
|
6039
6040
|
} catch {
|
|
6040
6041
|
}
|
|
6041
|
-
}(),
|
|
6042
|
+
}(), Dt = fe && fe.isTypedArray, Qc = Dt ? wt(Dt) : Zc, eu = Object.prototype, tu = eu.hasOwnProperty;
|
|
6042
6043
|
function su(e, s) {
|
|
6043
|
-
var t = bt(e), n = !t && vc(e), i = !t && !n &&
|
|
6044
|
+
var t = bt(e), n = !t && vc(e), i = !t && !n && Ps(e), o = !t && !n && !i && Qc(e), r = t || n || i || o, l = r ? gc(e.length, String) : [], c = l.length;
|
|
6044
6045
|
for (var u in e)
|
|
6045
6046
|
tu.call(e, u) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6046
6047
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -6050,18 +6051,18 @@ function su(e, s) {
|
|
|
6050
6051
|
return l;
|
|
6051
6052
|
}
|
|
6052
6053
|
var nu = Object.prototype;
|
|
6053
|
-
function
|
|
6054
|
+
function Hs(e) {
|
|
6054
6055
|
var s = e && e.constructor, t = typeof s == "function" && s.prototype || nu;
|
|
6055
6056
|
return e === t;
|
|
6056
6057
|
}
|
|
6057
|
-
function
|
|
6058
|
+
function Vs(e, s) {
|
|
6058
6059
|
return function(t) {
|
|
6059
6060
|
return e(s(t));
|
|
6060
6061
|
};
|
|
6061
6062
|
}
|
|
6062
|
-
var ou =
|
|
6063
|
+
var ou = Vs(Object.keys, Object), iu = Object.prototype, ru = iu.hasOwnProperty;
|
|
6063
6064
|
function lu(e) {
|
|
6064
|
-
if (!
|
|
6065
|
+
if (!Hs(e))
|
|
6065
6066
|
return ou(e);
|
|
6066
6067
|
var s = [];
|
|
6067
6068
|
for (var t in Object(e))
|
|
@@ -6069,13 +6070,13 @@ function lu(e) {
|
|
|
6069
6070
|
return s;
|
|
6070
6071
|
}
|
|
6071
6072
|
function au(e) {
|
|
6072
|
-
return e != null &&
|
|
6073
|
+
return e != null && Fs(e.length) && !Is(e);
|
|
6073
6074
|
}
|
|
6074
6075
|
function cu(e) {
|
|
6075
6076
|
return au(e) ? su(e) : lu(e);
|
|
6076
6077
|
}
|
|
6077
|
-
var
|
|
6078
|
-
|
|
6078
|
+
var Ds = typeof exports == "object" && exports && !exports.nodeType && exports, Nt = Ds && typeof module == "object" && module && !module.nodeType && module, uu = Nt && Nt.exports === Ds, Wt = uu ? K.Buffer : void 0;
|
|
6079
|
+
Wt && Wt.allocUnsafe;
|
|
6079
6080
|
function du(e, s) {
|
|
6080
6081
|
return e.slice();
|
|
6081
6082
|
}
|
|
@@ -6089,8 +6090,8 @@ function fu(e, s) {
|
|
|
6089
6090
|
function hu() {
|
|
6090
6091
|
return [];
|
|
6091
6092
|
}
|
|
6092
|
-
var mu = Object.prototype, gu = mu.propertyIsEnumerable,
|
|
6093
|
-
return e == null ? [] : (e = Object(e), fu(
|
|
6093
|
+
var mu = Object.prototype, gu = mu.propertyIsEnumerable, Xt = Object.getOwnPropertySymbols, yu = Xt ? function(e) {
|
|
6094
|
+
return e == null ? [] : (e = Object(e), fu(Xt(e), function(s) {
|
|
6094
6095
|
return gu.call(e, s);
|
|
6095
6096
|
}));
|
|
6096
6097
|
} : hu;
|
|
@@ -6099,7 +6100,7 @@ function pu(e, s) {
|
|
|
6099
6100
|
e[i + t] = s[t];
|
|
6100
6101
|
return e;
|
|
6101
6102
|
}
|
|
6102
|
-
var _u =
|
|
6103
|
+
var _u = Vs(Object.getPrototypeOf, Object);
|
|
6103
6104
|
function vu(e, s, t) {
|
|
6104
6105
|
var n = s(e);
|
|
6105
6106
|
return bt(e) ? n : pu(n, t(e));
|
|
@@ -6107,21 +6108,21 @@ function vu(e, s, t) {
|
|
|
6107
6108
|
function bu(e) {
|
|
6108
6109
|
return vu(e, cu, yu);
|
|
6109
6110
|
}
|
|
6110
|
-
var nt =
|
|
6111
|
-
(nt &&
|
|
6112
|
-
var s =
|
|
6111
|
+
var nt = re(K, "DataView"), ot = re(K, "Promise"), it = re(K, "Set"), rt = re(K, "WeakMap"), qt = "[object Map]", wu = "[object Object]", Yt = "[object Promise]", Kt = "[object Set]", Gt = "[object WeakMap]", Zt = "[object DataView]", Su = ie(nt), ku = ie(we), Cu = ie(ot), Tu = ie(it), $u = ie(rt), G = Ce;
|
|
6112
|
+
(nt && G(new nt(new ArrayBuffer(1))) != Zt || we && G(new we()) != qt || ot && G(ot.resolve()) != Yt || it && G(new it()) != Kt || rt && G(new rt()) != Gt) && (G = function(e) {
|
|
6113
|
+
var s = Ce(e), t = s == wu ? e.constructor : void 0, n = t ? ie(t) : "";
|
|
6113
6114
|
if (n)
|
|
6114
6115
|
switch (n) {
|
|
6115
6116
|
case Su:
|
|
6116
|
-
return
|
|
6117
|
+
return Zt;
|
|
6117
6118
|
case ku:
|
|
6118
|
-
return Xt;
|
|
6119
|
-
case Cu:
|
|
6120
6119
|
return qt;
|
|
6121
|
-
case
|
|
6120
|
+
case Cu:
|
|
6122
6121
|
return Yt;
|
|
6123
|
-
case
|
|
6122
|
+
case Tu:
|
|
6124
6123
|
return Kt;
|
|
6124
|
+
case $u:
|
|
6125
|
+
return Gt;
|
|
6125
6126
|
}
|
|
6126
6127
|
return s;
|
|
6127
6128
|
});
|
|
@@ -6130,10 +6131,10 @@ function xu(e) {
|
|
|
6130
6131
|
var s = e.length, t = new e.constructor(s);
|
|
6131
6132
|
return s && typeof e[0] == "string" && Ou.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
6132
6133
|
}
|
|
6133
|
-
var
|
|
6134
|
+
var Jt = K.Uint8Array;
|
|
6134
6135
|
function St(e) {
|
|
6135
6136
|
var s = new e.constructor(e.byteLength);
|
|
6136
|
-
return new
|
|
6137
|
+
return new Jt(s).set(new Jt(e)), s;
|
|
6137
6138
|
}
|
|
6138
6139
|
function Ru(e, s) {
|
|
6139
6140
|
var t = St(e.buffer);
|
|
@@ -6144,9 +6145,9 @@ function ju(e) {
|
|
|
6144
6145
|
var s = new e.constructor(e.source, Uu.exec(e));
|
|
6145
6146
|
return s.lastIndex = e.lastIndex, s;
|
|
6146
6147
|
}
|
|
6147
|
-
var
|
|
6148
|
+
var Qt = de ? de.prototype : void 0, es = Qt ? Qt.valueOf : void 0;
|
|
6148
6149
|
function Eu(e) {
|
|
6149
|
-
return
|
|
6150
|
+
return es ? Object(es.call(e)) : {};
|
|
6150
6151
|
}
|
|
6151
6152
|
function zu(e, s) {
|
|
6152
6153
|
var t = St(e.buffer);
|
|
@@ -6186,33 +6187,33 @@ function ed(e, s, t) {
|
|
|
6186
6187
|
return Eu(e);
|
|
6187
6188
|
}
|
|
6188
6189
|
}
|
|
6189
|
-
var
|
|
6190
|
+
var ts = Object.create, td = /* @__PURE__ */ function() {
|
|
6190
6191
|
function e() {
|
|
6191
6192
|
}
|
|
6192
6193
|
return function(s) {
|
|
6193
6194
|
if (!We(s))
|
|
6194
6195
|
return {};
|
|
6195
|
-
if (
|
|
6196
|
-
return
|
|
6196
|
+
if (ts)
|
|
6197
|
+
return ts(s);
|
|
6197
6198
|
e.prototype = s;
|
|
6198
6199
|
var t = new e();
|
|
6199
6200
|
return e.prototype = void 0, t;
|
|
6200
6201
|
};
|
|
6201
6202
|
}();
|
|
6202
6203
|
function sd(e) {
|
|
6203
|
-
return typeof e.constructor == "function" && !
|
|
6204
|
+
return typeof e.constructor == "function" && !Hs(e) ? td(_u(e)) : {};
|
|
6204
6205
|
}
|
|
6205
6206
|
var nd = "[object Map]";
|
|
6206
6207
|
function od(e) {
|
|
6207
|
-
return
|
|
6208
|
+
return Te(e) && G(e) == nd;
|
|
6208
6209
|
}
|
|
6209
|
-
var
|
|
6210
|
+
var ss = fe && fe.isMap, id = ss ? wt(ss) : od, rd = "[object Set]";
|
|
6210
6211
|
function ld(e) {
|
|
6211
|
-
return
|
|
6212
|
+
return Te(e) && G(e) == rd;
|
|
6212
6213
|
}
|
|
6213
|
-
var
|
|
6214
|
-
|
|
6215
|
-
|
|
6214
|
+
var ns = fe && fe.isSet, ad = ns ? wt(ns) : ld, Ns = "[object Arguments]", cd = "[object Array]", ud = "[object Boolean]", dd = "[object Date]", fd = "[object Error]", Ws = "[object Function]", hd = "[object GeneratorFunction]", md = "[object Map]", gd = "[object Number]", Xs = "[object Object]", yd = "[object RegExp]", pd = "[object Set]", _d = "[object String]", vd = "[object Symbol]", bd = "[object WeakMap]", wd = "[object ArrayBuffer]", Sd = "[object DataView]", kd = "[object Float32Array]", Cd = "[object Float64Array]", Td = "[object Int8Array]", $d = "[object Int16Array]", Ad = "[object Int32Array]", Od = "[object Uint8Array]", xd = "[object Uint8ClampedArray]", Rd = "[object Uint16Array]", Ud = "[object Uint32Array]", j = {};
|
|
6215
|
+
j[Ns] = j[cd] = j[wd] = j[Sd] = j[ud] = j[dd] = j[kd] = j[Cd] = j[Td] = j[$d] = j[Ad] = j[md] = j[gd] = j[Xs] = j[yd] = j[pd] = j[_d] = j[vd] = j[Od] = j[xd] = j[Rd] = j[Ud] = !0;
|
|
6216
|
+
j[fd] = j[Ws] = j[bd] = !1;
|
|
6216
6217
|
function Ie(e, s, t, n, i, o) {
|
|
6217
6218
|
var r;
|
|
6218
6219
|
if (r !== void 0)
|
|
@@ -6223,37 +6224,37 @@ function Ie(e, s, t, n, i, o) {
|
|
|
6223
6224
|
if (l)
|
|
6224
6225
|
r = xu(e);
|
|
6225
6226
|
else {
|
|
6226
|
-
var c =
|
|
6227
|
-
if (
|
|
6227
|
+
var c = G(e), u = c == Ws || c == hd;
|
|
6228
|
+
if (Ps(e))
|
|
6228
6229
|
return du(e);
|
|
6229
|
-
if (c ==
|
|
6230
|
+
if (c == Xs || c == Ns || u && !i)
|
|
6230
6231
|
r = u ? {} : sd(e);
|
|
6231
6232
|
else {
|
|
6232
|
-
if (!
|
|
6233
|
+
if (!j[c])
|
|
6233
6234
|
return i ? e : {};
|
|
6234
6235
|
r = ed(e, c);
|
|
6235
6236
|
}
|
|
6236
6237
|
}
|
|
6237
|
-
o || (o = new
|
|
6238
|
+
o || (o = new me());
|
|
6238
6239
|
var f = o.get(e);
|
|
6239
6240
|
if (f)
|
|
6240
6241
|
return f;
|
|
6241
|
-
o.set(e, r), ad(e) ? e.forEach(function(
|
|
6242
|
-
r.add(Ie(
|
|
6243
|
-
}) : id(e) && e.forEach(function(
|
|
6244
|
-
r.set(I, Ie(
|
|
6242
|
+
o.set(e, r), ad(e) ? e.forEach(function(x) {
|
|
6243
|
+
r.add(Ie(x, s, t, x, e, o));
|
|
6244
|
+
}) : id(e) && e.forEach(function(x, I) {
|
|
6245
|
+
r.set(I, Ie(x, s, t, I, e, o));
|
|
6245
6246
|
});
|
|
6246
6247
|
var _ = bu, b = l ? void 0 : _(e);
|
|
6247
|
-
return uc(b || e, function(
|
|
6248
|
-
b && (I =
|
|
6248
|
+
return uc(b || e, function(x, I) {
|
|
6249
|
+
b && (I = x, x = e[I]), mc(r, I, Ie(x, s, t, I, e, o));
|
|
6249
6250
|
}), r;
|
|
6250
6251
|
}
|
|
6251
6252
|
var jd = 1, Ed = 4;
|
|
6252
6253
|
function zd(e) {
|
|
6253
6254
|
return Ie(e, jd | Ed);
|
|
6254
6255
|
}
|
|
6255
|
-
const Je = (e) => e.every((s) => typeof s == "object"),
|
|
6256
|
-
let
|
|
6256
|
+
const Je = (e) => e.every((s) => typeof s == "object"), os = !0, qs = () => window.innerWidth;
|
|
6257
|
+
let is = qs();
|
|
6257
6258
|
const Id = {
|
|
6258
6259
|
name: "UluTableSticky",
|
|
6259
6260
|
components: {
|
|
@@ -6288,7 +6289,7 @@ const Id = {
|
|
|
6288
6289
|
*/
|
|
6289
6290
|
caption: {
|
|
6290
6291
|
type: String,
|
|
6291
|
-
required:
|
|
6292
|
+
required: os
|
|
6292
6293
|
},
|
|
6293
6294
|
/**
|
|
6294
6295
|
* Array of column configurations to convert to list output
|
|
@@ -6310,7 +6311,7 @@ const Id = {
|
|
|
6310
6311
|
columns: {
|
|
6311
6312
|
type: Array,
|
|
6312
6313
|
validator: Je,
|
|
6313
|
-
required:
|
|
6314
|
+
required: os
|
|
6314
6315
|
},
|
|
6315
6316
|
/**
|
|
6316
6317
|
* Whether the first column of the table should be sticky
|
|
@@ -6554,8 +6555,8 @@ const Id = {
|
|
|
6554
6555
|
})) : [];
|
|
6555
6556
|
},
|
|
6556
6557
|
onResize() {
|
|
6557
|
-
const e =
|
|
6558
|
-
|
|
6558
|
+
const e = qs();
|
|
6559
|
+
is !== e && (is = e, this.resizing ? (this.resizing = !1, this.setTableSizes(), this.checkOverflowX(), this.syncScrollLeft()) : (this.resizing = !0, this.removeTableSizes()));
|
|
6559
6560
|
},
|
|
6560
6561
|
/**
|
|
6561
6562
|
* Method to update the table (sizes, etc) when data has changed
|
|
@@ -6629,7 +6630,7 @@ const Id = {
|
|
|
6629
6630
|
o && (i.boxWidth = e(o, "width"), i.width = `${i.boxWidth}px`);
|
|
6630
6631
|
});
|
|
6631
6632
|
}), this.firstColumnSticky && (this.currentRows.forEach((n) => t(n)), this.currentFooterRows.forEach((n) => t(n))), this.$nextTick(() => {
|
|
6632
|
-
this.sizesCalculated = !0,
|
|
6633
|
+
this.sizesCalculated = !0, Us(() => {
|
|
6633
6634
|
this.sizesPainted = !0;
|
|
6634
6635
|
});
|
|
6635
6636
|
});
|
|
@@ -6676,7 +6677,7 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6676
6677
|
}, [
|
|
6677
6678
|
h("div", Md, [
|
|
6678
6679
|
h("div", Bd, [
|
|
6679
|
-
|
|
6680
|
+
R(r, {
|
|
6680
6681
|
ref: "header",
|
|
6681
6682
|
class: "table-sticky__table table-sticky__table--header",
|
|
6682
6683
|
classes: t.classes,
|
|
@@ -6691,11 +6692,11 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6691
6692
|
width: i.tableWidth
|
|
6692
6693
|
}),
|
|
6693
6694
|
onColumnSorted: o.applySort
|
|
6694
|
-
},
|
|
6695
|
-
|
|
6695
|
+
}, ce({ _: 2 }, [
|
|
6696
|
+
A(e.$slots, (l, c) => ({
|
|
6696
6697
|
name: c,
|
|
6697
6698
|
fn: w((u) => [
|
|
6698
|
-
g(e.$slots, c,
|
|
6699
|
+
g(e.$slots, c, q(Y(u)))
|
|
6699
6700
|
])
|
|
6700
6701
|
}))
|
|
6701
6702
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
@@ -6717,17 +6718,17 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6717
6718
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6718
6719
|
}),
|
|
6719
6720
|
onColumnSorted: o.applySort
|
|
6720
|
-
},
|
|
6721
|
-
|
|
6721
|
+
}, ce({ _: 2 }, [
|
|
6722
|
+
A(e.$slots, (l, c) => ({
|
|
6722
6723
|
name: c,
|
|
6723
6724
|
fn: w((u) => [
|
|
6724
|
-
g(e.$slots, c,
|
|
6725
|
+
g(e.$slots, c, q(Y(u)))
|
|
6725
6726
|
])
|
|
6726
6727
|
}))
|
|
6727
6728
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : v("", !0)
|
|
6728
6729
|
]),
|
|
6729
6730
|
h("div", Fd, [
|
|
6730
|
-
|
|
6731
|
+
ke(h("div", {
|
|
6731
6732
|
class: m(["table-sticky__controls", o.resolveClasses(t.classes.controls)]),
|
|
6732
6733
|
ref: "controls"
|
|
6733
6734
|
}, [
|
|
@@ -6766,11 +6767,11 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6766
6767
|
], 10, Vd)
|
|
6767
6768
|
]))
|
|
6768
6769
|
], 2), [
|
|
6769
|
-
[
|
|
6770
|
+
[us, o.controlsShown]
|
|
6770
6771
|
])
|
|
6771
6772
|
]),
|
|
6772
6773
|
h("div", Dd, [
|
|
6773
|
-
|
|
6774
|
+
R(r, {
|
|
6774
6775
|
ref: "table",
|
|
6775
6776
|
class: "table-sticky__table table-sticky__table--actual",
|
|
6776
6777
|
classes: t.classes,
|
|
@@ -6788,11 +6789,11 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6788
6789
|
onActualHeaderRemoved: o.headerRemoved,
|
|
6789
6790
|
onActualHeaderAdded: o.headerAdded,
|
|
6790
6791
|
onColumnSorted: o.applySort
|
|
6791
|
-
},
|
|
6792
|
-
|
|
6792
|
+
}, ce({ _: 2 }, [
|
|
6793
|
+
A(e.$slots, (l, c) => ({
|
|
6793
6794
|
name: c,
|
|
6794
6795
|
fn: w((u) => [
|
|
6795
|
-
g(e.$slots, c,
|
|
6796
|
+
g(e.$slots, c, q(Y(u)))
|
|
6796
6797
|
])
|
|
6797
6798
|
}))
|
|
6798
6799
|
]), 1032, ["classes", "resolveClasses", "headerRows", "rows", "footerRows", "rowColumns", "caption", "idPrefix", "getRowValue", "getColumnTitle", "onVnodeMounted", "onActualHeaderRemoved", "onActualHeaderAdded", "onColumnSorted"])
|
|
@@ -6817,11 +6818,11 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6817
6818
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6818
6819
|
}),
|
|
6819
6820
|
onColumnSorted: o.applySort
|
|
6820
|
-
},
|
|
6821
|
-
|
|
6821
|
+
}, ce({ _: 2 }, [
|
|
6822
|
+
A(e.$slots, (l, c) => ({
|
|
6822
6823
|
name: c,
|
|
6823
6824
|
fn: w((u) => [
|
|
6824
|
-
g(e.$slots, c,
|
|
6825
|
+
g(e.$slots, c, q(Y(u)))
|
|
6825
6826
|
])
|
|
6826
6827
|
}))
|
|
6827
6828
|
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : v("", !0)
|
|
@@ -6851,8 +6852,8 @@ export {
|
|
|
6851
6852
|
Sf as C,
|
|
6852
6853
|
kf as D,
|
|
6853
6854
|
Cf as E,
|
|
6854
|
-
|
|
6855
|
-
|
|
6855
|
+
ks as F,
|
|
6856
|
+
Os as G,
|
|
6856
6857
|
Tf as H,
|
|
6857
6858
|
$f as I,
|
|
6858
6859
|
Af as J,
|
|
@@ -6863,10 +6864,10 @@ export {
|
|
|
6863
6864
|
jf as O,
|
|
6864
6865
|
Ef as P,
|
|
6865
6866
|
zf as Q,
|
|
6866
|
-
|
|
6867
|
+
Cs as R,
|
|
6867
6868
|
Co as S,
|
|
6868
6869
|
If as T,
|
|
6869
|
-
|
|
6870
|
+
jt as U,
|
|
6870
6871
|
Mf as V,
|
|
6871
6872
|
Bf as W,
|
|
6872
6873
|
Pf as X,
|
|
@@ -6887,7 +6888,7 @@ export {
|
|
|
6887
6888
|
Jf as aa,
|
|
6888
6889
|
Qf as ab,
|
|
6889
6890
|
eh as ac,
|
|
6890
|
-
|
|
6891
|
+
Mt as ad,
|
|
6891
6892
|
th as ae,
|
|
6892
6893
|
sh as af,
|
|
6893
6894
|
nh as ag,
|
|
@@ -6919,7 +6920,7 @@ export {
|
|
|
6919
6920
|
fh as i,
|
|
6920
6921
|
Qn as j,
|
|
6921
6922
|
cf as k,
|
|
6922
|
-
|
|
6923
|
+
ae as l,
|
|
6923
6924
|
uf as m,
|
|
6924
6925
|
df as n,
|
|
6925
6926
|
ff as o,
|