@ulu/frontend-vue 0.1.0-beta.33 → 0.1.0-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{breakpoints-BIA00Qir.js → breakpoints-B-Iw5aP7.js} +1 -1
- package/dist/frontend-vue.css +1 -1
- package/dist/frontend-vue.js +1 -1
- package/dist/{index-DYjzFpxo.js → index-BTzKF3bW.js} +988 -949
- package/lib/components/collapsible/UluCollapsibleRegion.vue +7 -7
- package/lib/components/forms/UluSelectableMenu.vue +9 -4
- package/lib/components/systems/facets/UluFacetsFilterLists.vue +4 -4
- package/lib/components/systems/facets/UluFacetsFilterPopovers.vue +3 -1
- package/lib/components/systems/facets/UluFacetsFilterSelects.vue +6 -6
- package/lib/components/systems/facets/UluFacetsHeaderLayout.vue +4 -4
- package/lib/components/systems/facets/UluFacetsList.vue +1 -1
- package/lib/components/systems/facets/UluFacetsResults.vue +10 -10
- package/lib/components/systems/facets/UluFacetsSearch.vue +1 -1
- package/lib/components/systems/facets/UluFacetsSidebarLayout.vue +55 -16
- package/lib/components/systems/facets/UluFacetsSort.vue +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { inline as hs, offset as ms, flip as gs, shift as ys, arrow as ps, useFloating as
|
|
3
|
-
import { Disclosure as
|
|
4
|
-
import { useRoute as bs, useRouter as
|
|
5
|
-
import
|
|
1
|
+
import { reactive as ut, ref as E, computed as S, resolveDirective as ls, createElementBlock as d, openBlock as a, Fragment as O, withDirectives as ie, createElementVNode as h, unref as C, normalizeClass as m, renderSlot as g, withKeys as as, normalizeStyle as L, createCommentVNode as v, nextTick as cs, toRef as Ks, toDisplayString as y, createBlock as p, Teleport as Le, resolveDynamicComponent as B, mergeProps as Z, inject as He, watchEffect as dt, defineAsyncComponent as Gs, markRaw as fe, toRefs as Zs, toValue as Ie, resolveComponent as z, withModifiers as Js, createVNode as R, useSlots as Qs, renderList as A, TransitionGroup as us, withCtx as w, createTextVNode as k, vShow as Me, watch as ds, isRef as en, hasInjectionContext as tn, getCurrentInstance as sn, onBeforeUnmount as nn, onDeactivated as on, onActivated as rn, onUnmounted as fs, onMounted as ln, normalizeProps as q, guardReactiveProps as Y, vModelText as an, createSlots as de } from "vue";
|
|
2
|
+
import { inline as hs, offset as ms, flip as gs, shift as ys, arrow as ps, useFloating as vs, autoUpdate as _s } from "@floating-ui/vue";
|
|
3
|
+
import { Disclosure as cn, DisclosureButton as un, DisclosurePanel as dn, Tab as fn, TabGroup as hn, TabList as mn, TabPanel as gn, TabPanels as yn } from "@headlessui/vue";
|
|
4
|
+
import { useRoute as bs, useRouter as pn, RouterLink as Fe } from "vue-router";
|
|
5
|
+
import vn from "gsap";
|
|
6
6
|
import _n from "fuse.js";
|
|
7
|
-
const
|
|
7
|
+
const $t = {
|
|
8
8
|
fontAwesomeStatic: !1,
|
|
9
9
|
iconComponent: null,
|
|
10
10
|
iconPropResolver: (e) => ({ icon: e }),
|
|
@@ -28,8 +28,8 @@ const Tt = {
|
|
|
28
28
|
previous: "fas fa-chevron-right"
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
function
|
|
32
|
-
const t =
|
|
31
|
+
function Jd(e, s = {}) {
|
|
32
|
+
const t = ut({ ...$t }), { iconsByType: n, ...i } = s || {};
|
|
33
33
|
i && Object.assign(t, i);
|
|
34
34
|
const o = {
|
|
35
35
|
// Methods to interact with settings
|
|
@@ -37,7 +37,7 @@ function Qd(e, s = {}) {
|
|
|
37
37
|
return t;
|
|
38
38
|
},
|
|
39
39
|
getDefaultSettings() {
|
|
40
|
-
return {
|
|
40
|
+
return { ...$t };
|
|
41
41
|
},
|
|
42
42
|
updateSettings(r) {
|
|
43
43
|
return Object.assign(t, r);
|
|
@@ -180,74 +180,74 @@ const Ue = {
|
|
|
180
180
|
plugin: { ...Ue.plugin },
|
|
181
181
|
popover: { ...Ue.popover },
|
|
182
182
|
tooltip: { ...Ue.tooltip, ...Ue.popover }
|
|
183
|
-
},
|
|
184
|
-
function
|
|
183
|
+
}, ft = E(!1), ht = E(null);
|
|
184
|
+
function bn(e = {}) {
|
|
185
185
|
return Object.assign(oe.popover, e.popover), Object.assign(oe.tooltip, e.tooltip), Object.assign(oe.plugin, e.plugin), oe;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function wn(e) {
|
|
188
188
|
return Object.assign({}, oe.tooltip, e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
|
|
190
|
+
function Sn(e) {
|
|
191
|
+
ft.value = !0, ht.value = e;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function kn() {
|
|
194
|
+
ft.value = !1, ht.value = null;
|
|
195
195
|
}
|
|
196
|
-
const
|
|
196
|
+
const Ee = /* @__PURE__ */ new WeakMap(), Cn = {
|
|
197
197
|
mounted(e, s) {
|
|
198
|
-
|
|
198
|
+
At(e, s);
|
|
199
199
|
},
|
|
200
200
|
beforeUpdate(e) {
|
|
201
|
-
|
|
201
|
+
Ot(e);
|
|
202
202
|
},
|
|
203
203
|
updated(e, s) {
|
|
204
|
-
|
|
204
|
+
At(e, s);
|
|
205
205
|
},
|
|
206
206
|
umounted(e) {
|
|
207
|
-
|
|
207
|
+
Ot(e);
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
|
-
function
|
|
211
|
-
const t =
|
|
210
|
+
function At(e, s) {
|
|
211
|
+
const t = Tn(e, s);
|
|
212
212
|
if (!t) return;
|
|
213
213
|
let n = null;
|
|
214
214
|
const i = () => {
|
|
215
215
|
n || (n = setTimeout(() => {
|
|
216
|
-
|
|
216
|
+
Sn(t), clearTimeout(n);
|
|
217
217
|
}, t.delay));
|
|
218
218
|
}, o = () => {
|
|
219
|
-
n && (clearTimeout(n), n = null),
|
|
219
|
+
n && (clearTimeout(n), n = null), kn();
|
|
220
220
|
};
|
|
221
221
|
t.showEvents.forEach((r) => {
|
|
222
222
|
e.addEventListener(r, i);
|
|
223
223
|
}), t.hideEvents.forEach((r) => {
|
|
224
224
|
e.addEventListener(r, o);
|
|
225
|
-
}),
|
|
225
|
+
}), Ee.set(e, { onShow: i, onHide: o, config: t });
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
if (!
|
|
227
|
+
function Ot(e) {
|
|
228
|
+
if (!Ee.has(e))
|
|
229
229
|
return;
|
|
230
|
-
const { config: s, onShow: t, onHide: n } =
|
|
230
|
+
const { config: s, onShow: t, onHide: n } = Ee.get(e);
|
|
231
231
|
s.showEvents.forEach((i) => {
|
|
232
232
|
e.removeEventListener(i, t);
|
|
233
233
|
}), s.hideEvents.forEach((i) => {
|
|
234
234
|
e.removeEventListener(i, n);
|
|
235
|
-
}),
|
|
235
|
+
}), Ee.delete(e);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function Tn(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 }, wn(Object.assign({}, { trigger: e }, n));
|
|
242
242
|
}
|
|
243
|
-
let
|
|
244
|
-
function
|
|
245
|
-
return `ulu-popovers-uid-${
|
|
243
|
+
let $n = 0;
|
|
244
|
+
function xt() {
|
|
245
|
+
return `ulu-popovers-uid-${++$n}`;
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const An = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], On = ["aria-labelledby", "id", "data-placement"], xn = { class: "popover__inner" }, Rn = {
|
|
248
248
|
key: 0,
|
|
249
249
|
class: "popover__footer"
|
|
250
|
-
},
|
|
250
|
+
}, Ve = {
|
|
251
251
|
__name: "UluPopover",
|
|
252
252
|
props: {
|
|
253
253
|
triggerAlt: String,
|
|
@@ -278,7 +278,7 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
278
278
|
},
|
|
279
279
|
emits: ["toggle"],
|
|
280
280
|
setup(e, { emit: s }) {
|
|
281
|
-
const t = s, n = e, i =
|
|
281
|
+
const t = s, n = e, i = xt(), o = xt(), r = Object.assign({}, oe.popover, n.config), l = E(n.startOpen || !1), c = E(null), u = E(null), f = E(null), _ = [
|
|
282
282
|
...r.inline ? [hs()] : [],
|
|
283
283
|
...r.offset ? [ms(r.offset)] : [],
|
|
284
284
|
gs(),
|
|
@@ -286,16 +286,16 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
286
286
|
...r.arrow ? [ps({ element: f })] : []
|
|
287
287
|
], b = {
|
|
288
288
|
placement: r.placement,
|
|
289
|
-
whileElementsMounted:
|
|
289
|
+
whileElementsMounted: _s,
|
|
290
290
|
middleware: _
|
|
291
291
|
}, {
|
|
292
|
-
floatingStyles:
|
|
293
|
-
placement:
|
|
294
|
-
middlewareData:
|
|
292
|
+
floatingStyles: x,
|
|
293
|
+
placement: M,
|
|
294
|
+
middlewareData: F,
|
|
295
295
|
update: U,
|
|
296
296
|
isPositioned: Q
|
|
297
|
-
} =
|
|
298
|
-
const D =
|
|
297
|
+
} = vs(c, u, b), Ae = S(() => {
|
|
298
|
+
const D = F.value?.arrow;
|
|
299
299
|
return D ? {
|
|
300
300
|
position: "absolute",
|
|
301
301
|
left: D?.x != null ? `${D.x}px` : "",
|
|
@@ -304,48 +304,48 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
304
304
|
});
|
|
305
305
|
r.onReady && r.onReady({ update: U, isPositioned: Q });
|
|
306
306
|
const Oe = () => {
|
|
307
|
-
|
|
308
|
-
},
|
|
307
|
+
ce(!l.value);
|
|
308
|
+
}, ce = (D) => {
|
|
309
309
|
l.value = D;
|
|
310
310
|
const ee = {
|
|
311
|
-
trigger:
|
|
312
|
-
content:
|
|
313
|
-
isOpen:
|
|
311
|
+
trigger: C(c),
|
|
312
|
+
content: C(u),
|
|
313
|
+
isOpen: C(l)
|
|
314
314
|
}, $ = { isOpen: ee.isOpen };
|
|
315
|
-
|
|
315
|
+
cs(() => {
|
|
316
316
|
l.value ? (U(), window.setTimeout(() => {
|
|
317
|
-
|
|
318
|
-
}, 0)) : (
|
|
317
|
+
xe(), n.directFocus(ee), t("toggle", $);
|
|
318
|
+
}, 0)) : (pe(), n.directFocus(ee), t("toggle", $));
|
|
319
319
|
});
|
|
320
320
|
};
|
|
321
321
|
let X;
|
|
322
|
-
const
|
|
323
|
-
n.clickOutsideCloses && (X &&
|
|
324
|
-
u.value.contains(D.target) ||
|
|
322
|
+
const xe = () => {
|
|
323
|
+
n.clickOutsideCloses && (X && pe(), X = (D) => {
|
|
324
|
+
u.value.contains(D.target) || ce(!1);
|
|
325
325
|
}, document.addEventListener("click", X));
|
|
326
|
-
},
|
|
326
|
+
}, pe = () => {
|
|
327
327
|
X && (document.removeEventListener("click", X), X = null);
|
|
328
|
-
},
|
|
328
|
+
}, Re = () => ce(!1);
|
|
329
329
|
return (D, ee) => {
|
|
330
|
-
const $ =
|
|
330
|
+
const $ = ls("ulu-tooltip");
|
|
331
331
|
return a(), d(O, null, [
|
|
332
|
-
|
|
332
|
+
ie((a(), d("button", {
|
|
333
333
|
type: "button",
|
|
334
334
|
ref_key: "trigger",
|
|
335
335
|
ref: c,
|
|
336
336
|
onClick: Oe,
|
|
337
|
-
id:
|
|
337
|
+
id: C(o),
|
|
338
338
|
disabled: e.disabled,
|
|
339
339
|
class: m([
|
|
340
340
|
{ [e.activeClass]: l.value },
|
|
341
341
|
e.classes.trigger
|
|
342
342
|
]),
|
|
343
343
|
"aria-expanded": l.value ? "true" : "false",
|
|
344
|
-
"aria-controls":
|
|
344
|
+
"aria-controls": C(i),
|
|
345
345
|
"aria-label": e.triggerAlt
|
|
346
346
|
}, [
|
|
347
347
|
g(D.$slots, "trigger", { isOpen: l.value })
|
|
348
|
-
], 10,
|
|
348
|
+
], 10, An)), [
|
|
349
349
|
[$, e.tooltip ? e.tooltip : null]
|
|
350
350
|
]),
|
|
351
351
|
h("span", {
|
|
@@ -359,32 +359,32 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
359
359
|
]]),
|
|
360
360
|
ref_key: "content",
|
|
361
361
|
ref: u,
|
|
362
|
-
"aria-labelledby":
|
|
363
|
-
id:
|
|
364
|
-
style:
|
|
365
|
-
"data-placement":
|
|
366
|
-
onKeydown: ee[0] || (ee[0] =
|
|
362
|
+
"aria-labelledby": C(o),
|
|
363
|
+
id: C(i),
|
|
364
|
+
style: L(C(x)),
|
|
365
|
+
"data-placement": C(M),
|
|
366
|
+
onKeydown: ee[0] || (ee[0] = as((P) => ce(!1), ["esc"])),
|
|
367
367
|
tabindex: "-1"
|
|
368
368
|
}, [
|
|
369
|
-
h("span",
|
|
370
|
-
g(D.$slots, "content", { close:
|
|
369
|
+
h("span", xn, [
|
|
370
|
+
g(D.$slots, "content", { close: Re })
|
|
371
371
|
]),
|
|
372
372
|
D.$slots.footer ? (a(), d("span", Rn, [
|
|
373
|
-
g(D.$slots, "footer", { close:
|
|
373
|
+
g(D.$slots, "footer", { close: Re })
|
|
374
374
|
])) : v("", !0),
|
|
375
|
-
|
|
375
|
+
C(r).arrow ? (a(), d("span", {
|
|
376
376
|
key: 1,
|
|
377
377
|
class: "popover__arrow",
|
|
378
378
|
ref_key: "contentArrow",
|
|
379
379
|
ref: f,
|
|
380
|
-
style:
|
|
380
|
+
style: L(Ae.value),
|
|
381
381
|
"data-ulu-popover-arrow": ""
|
|
382
382
|
}, null, 4)) : v("", !0)
|
|
383
|
-
], 46,
|
|
383
|
+
], 46, On)
|
|
384
384
|
], 64);
|
|
385
385
|
};
|
|
386
386
|
}
|
|
387
|
-
},
|
|
387
|
+
}, Un = ["data-placement"], jn = ["innerHTML"], In = {
|
|
388
388
|
key: 1,
|
|
389
389
|
class: "popover__inner"
|
|
390
390
|
}, En = {
|
|
@@ -393,7 +393,7 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
393
393
|
config: Object
|
|
394
394
|
},
|
|
395
395
|
setup(e) {
|
|
396
|
-
const s =
|
|
396
|
+
const s = Ks(e.config.trigger), t = E(null), n = E(null), i = [
|
|
397
397
|
...e.config.inline ? [hs()] : [],
|
|
398
398
|
...e.config.offset ? [ms(e.config.offset)] : [],
|
|
399
399
|
gs(),
|
|
@@ -401,7 +401,7 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
401
401
|
...e.config.arrow ? [ps({ element: n })] : []
|
|
402
402
|
], o = {
|
|
403
403
|
placement: e.config.placement,
|
|
404
|
-
whileElementsMounted:
|
|
404
|
+
whileElementsMounted: _s,
|
|
405
405
|
middleware: i
|
|
406
406
|
}, {
|
|
407
407
|
floatingStyles: r,
|
|
@@ -409,7 +409,7 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
409
409
|
middlewareData: c,
|
|
410
410
|
update: u,
|
|
411
411
|
isPositioned: f
|
|
412
|
-
} =
|
|
412
|
+
} = vs(s, t, o), _ = S(() => {
|
|
413
413
|
const b = c.value?.arrow;
|
|
414
414
|
return b ? {
|
|
415
415
|
position: "absolute",
|
|
@@ -417,51 +417,51 @@ const $n = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], A
|
|
|
417
417
|
top: b?.y != null ? `${b.y}px` : ""
|
|
418
418
|
} : null;
|
|
419
419
|
});
|
|
420
|
-
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", {
|
|
421
421
|
class: m(["popover popover--tooltip is-active", e.config.class]),
|
|
422
422
|
ref_key: "content",
|
|
423
423
|
ref: t,
|
|
424
424
|
"aria-hidden": "true",
|
|
425
|
-
"data-placement":
|
|
426
|
-
style:
|
|
425
|
+
"data-placement": C(l),
|
|
426
|
+
style: L(C(r))
|
|
427
427
|
}, [
|
|
428
428
|
e.config.isHtml ? (a(), d("span", {
|
|
429
429
|
key: 0,
|
|
430
430
|
class: "popover__inner",
|
|
431
431
|
innerHTML: e.config.content
|
|
432
|
-
}, null, 8,
|
|
432
|
+
}, null, 8, jn)) : (a(), d("span", In, y(e.config.content), 1)),
|
|
433
433
|
e.config.arrow ? (a(), d("span", {
|
|
434
434
|
key: 2,
|
|
435
435
|
class: "popover__arrow",
|
|
436
436
|
ref_key: "contentArrow",
|
|
437
437
|
ref: n,
|
|
438
|
-
style:
|
|
438
|
+
style: L(_.value)
|
|
439
439
|
}, null, 4)) : v("", !0)
|
|
440
|
-
], 14,
|
|
440
|
+
], 14, Un));
|
|
441
441
|
}
|
|
442
442
|
}, zn = {
|
|
443
443
|
__name: "UluTooltipDisplay",
|
|
444
444
|
setup(e) {
|
|
445
|
-
return (s, t) => (a(), p(
|
|
446
|
-
to:
|
|
445
|
+
return (s, t) => (a(), p(Le, {
|
|
446
|
+
to: C(oe).plugin.tooltipTeleportTo
|
|
447
447
|
}, [
|
|
448
|
-
|
|
448
|
+
C(ft) ? (a(), p(En, {
|
|
449
449
|
key: 0,
|
|
450
|
-
config:
|
|
450
|
+
config: C(ht)
|
|
451
451
|
}, null, 8, ["config"])) : v("", !0)
|
|
452
452
|
], 8, ["to"]));
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
|
-
function
|
|
456
|
-
const t =
|
|
457
|
-
t.plugin.global && (e.directive(t.plugin.directiveName,
|
|
455
|
+
function Qd(e, s = {}) {
|
|
456
|
+
const t = bn(s);
|
|
457
|
+
t.plugin.global && (e.directive(t.plugin.directiveName, Cn), e.component("UluTooltipDisplay", zn), e.component("UluPopover", Ve));
|
|
458
458
|
}
|
|
459
|
-
const
|
|
459
|
+
const T = (e, s) => {
|
|
460
460
|
const t = e.__vccOpts || e;
|
|
461
461
|
for (const [n, i] of s)
|
|
462
462
|
t[n] = i;
|
|
463
463
|
return t;
|
|
464
|
-
},
|
|
464
|
+
}, Mn = {
|
|
465
465
|
name: "UluModalsDisplay",
|
|
466
466
|
emits: [
|
|
467
467
|
"modal-unmount",
|
|
@@ -501,7 +501,7 @@ const C = (e, s) => {
|
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
|
-
function
|
|
504
|
+
function Bn(e, s, t, n, i, o) {
|
|
505
505
|
return o.currentModal ? (a(), p(B(o.currentModal.component), Z({ key: 0 }, o.currentProps, {
|
|
506
506
|
modelValue: i.open,
|
|
507
507
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => i.open = r),
|
|
@@ -509,8 +509,8 @@ function Mn(e, s, t, n, i, o) {
|
|
|
509
509
|
onVnodeUnmounted: o.modalUnmounted
|
|
510
510
|
}), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : v("", !0);
|
|
511
511
|
}
|
|
512
|
-
const
|
|
513
|
-
function
|
|
512
|
+
const Pn = /* @__PURE__ */ T(Mn, [["render", Bn]]);
|
|
513
|
+
function Ln() {
|
|
514
514
|
return { getIconProps: (t) => t ? typeof t == "object" && !Array.isArray(t) ? t : { icon: t } : null, getClassesFromDefinition: (t) => {
|
|
515
515
|
if (!t)
|
|
516
516
|
return null;
|
|
@@ -541,43 +541,43 @@ const V = {
|
|
|
541
541
|
spaced: Boolean
|
|
542
542
|
},
|
|
543
543
|
setup(e) {
|
|
544
|
-
const s =
|
|
544
|
+
const s = He("uluCore"), t = E(null), { getIconProps: n, getClassesFromDefinition: i } = Ln();
|
|
545
545
|
let o;
|
|
546
546
|
const r = e, l = S(() => s.getSetting("fontAwesomeStatic")), c = S(() => s.getSetting("iconComponent")), u = S(() => s.getSetting("iconPropResolver")), f = S(() => {
|
|
547
|
-
const { icon:
|
|
548
|
-
if (typeof
|
|
547
|
+
const { icon: F } = r;
|
|
548
|
+
if (typeof F == "string" && F.startsWith("type:"))
|
|
549
549
|
try {
|
|
550
|
-
const U =
|
|
550
|
+
const U = F.substring(5);
|
|
551
551
|
return s.getIcon(U);
|
|
552
552
|
} catch (U) {
|
|
553
553
|
return console.warn(U), null;
|
|
554
554
|
}
|
|
555
|
-
return
|
|
556
|
-
}), _ = S(() => !c.value || !f.value ? null : u.value(f.value)), b = S(() => n(f.value)),
|
|
555
|
+
return F;
|
|
556
|
+
}), _ = S(() => !c.value || !f.value ? null : u.value(f.value)), b = S(() => n(f.value)), x = S(() => i(f.value)), M = S(() => ({
|
|
557
557
|
"flow-inline": r.spaced
|
|
558
558
|
}));
|
|
559
|
-
return
|
|
559
|
+
return dt(async () => {
|
|
560
560
|
if (!l.value && f.value) {
|
|
561
561
|
if (t.value === null)
|
|
562
562
|
if (o)
|
|
563
|
-
t.value =
|
|
563
|
+
t.value = fe(o.FontAwesomeIcon);
|
|
564
564
|
else {
|
|
565
|
-
const
|
|
565
|
+
const F = Gs(async () => {
|
|
566
566
|
const U = await import("./index.es-HlG3u0J5.js");
|
|
567
567
|
return o = U, U.FontAwesomeIcon;
|
|
568
568
|
});
|
|
569
|
-
t.value =
|
|
569
|
+
t.value = fe(F);
|
|
570
570
|
}
|
|
571
571
|
} else
|
|
572
572
|
t.value = null;
|
|
573
|
-
}), (
|
|
573
|
+
}), (F, U) => c.value ? (a(), p(B(c.value), Z({ key: 0 }, _.value, { class: M.value }), null, 16, ["class"])) : !l.value && t.value && f.value ? (a(), p(B(t.value), Z({ key: 1 }, b.value, { class: M.value }), null, 16, ["class"])) : l.value && f.value ? (a(), d("span", {
|
|
574
574
|
key: 2,
|
|
575
|
-
class: m([
|
|
575
|
+
class: m([x.value, M.value]),
|
|
576
576
|
"aria-hidden": "true"
|
|
577
577
|
}, null, 2)) : v("", !0);
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
|
-
function
|
|
580
|
+
function st(e) {
|
|
581
581
|
const s = /* @__PURE__ */ new Set();
|
|
582
582
|
if (!e)
|
|
583
583
|
return s;
|
|
@@ -587,7 +587,7 @@ function Qe(e) {
|
|
|
587
587
|
});
|
|
588
588
|
else if (Array.isArray(e))
|
|
589
589
|
e.forEach((t) => {
|
|
590
|
-
|
|
590
|
+
st(t).forEach((n) => s.add(n));
|
|
591
591
|
});
|
|
592
592
|
else if (typeof e == "object")
|
|
593
593
|
for (const t in e)
|
|
@@ -595,9 +595,9 @@ function Qe(e) {
|
|
|
595
595
|
return s;
|
|
596
596
|
}
|
|
597
597
|
function se({ props: e, baseClass: s, internal: t = {} }) {
|
|
598
|
-
const { modifiers: n } =
|
|
598
|
+
const { modifiers: n } = Zs(e);
|
|
599
599
|
return { resolvedModifiers: S(() => {
|
|
600
|
-
const o =
|
|
600
|
+
const o = Ie(s), r = st(Ie(n)), l = st(Ie(t));
|
|
601
601
|
if (!o)
|
|
602
602
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
603
603
|
const c = /* @__PURE__ */ new Set([...l, ...r]);
|
|
@@ -607,20 +607,20 @@ function se({ props: e, baseClass: s, internal: t = {} }) {
|
|
|
607
607
|
function ws() {
|
|
608
608
|
return typeof window < "u" && typeof window.document < "u";
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function Hn(e, s) {
|
|
611
611
|
const t = e.getBoundingClientRect();
|
|
612
612
|
return s.clientY < t.top || // above
|
|
613
613
|
s.clientY > t.top + t.height || // below
|
|
614
614
|
s.clientX < t.left || // left side
|
|
615
615
|
s.clientX > t.left + t.width;
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Fn(e = document.body, s = window) {
|
|
618
618
|
return s.innerWidth - e.clientWidth;
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Vn({ preventShift: e = !1, container: s = document.body }) {
|
|
621
621
|
const t = s.style.overflow, n = s.style.paddingRight;
|
|
622
622
|
if (s.style.overflow = "hidden", e) {
|
|
623
|
-
const i =
|
|
623
|
+
const i = Fn();
|
|
624
624
|
if (i > 0) {
|
|
625
625
|
const o = parseInt(n || "0px", 10);
|
|
626
626
|
s.style.paddingRight = `${o + i}px`;
|
|
@@ -630,7 +630,7 @@ function Hn({ preventShift: e = !1, container: s = document.body }) {
|
|
|
630
630
|
s.style.overflow = t, s.style.paddingRight = n;
|
|
631
631
|
};
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function De(e, s, t, n) {
|
|
634
634
|
var i;
|
|
635
635
|
return function() {
|
|
636
636
|
var r = n || this, l = arguments, c = function() {
|
|
@@ -639,7 +639,7 @@ function Le(e, s, t, n) {
|
|
|
639
639
|
clearTimeout(i), i = setTimeout(c, s), u && e.apply(r, l);
|
|
640
640
|
};
|
|
641
641
|
}
|
|
642
|
-
ws() && (
|
|
642
|
+
ws() && (Nn(), Wn());
|
|
643
643
|
const Rt = {
|
|
644
644
|
/**
|
|
645
645
|
* Event is dispatched when DOM in the page has changed, triggers updates from
|
|
@@ -668,38 +668,38 @@ const Rt = {
|
|
|
668
668
|
e.dispatchEvent(_e("afterPrint"));
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
|
-
function
|
|
671
|
+
function nt(e, s) {
|
|
672
672
|
Rt[e] ? Rt[e](s) : console.warn(`Unable to dispatch site event: ${e} in context:`, s);
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function Dn(e) {
|
|
675
675
|
return "ulu:" + e;
|
|
676
676
|
}
|
|
677
677
|
function _e(e, s = null, t = { bubbles: !0 }) {
|
|
678
|
-
return new CustomEvent(
|
|
679
|
-
}
|
|
680
|
-
function Dn() {
|
|
681
|
-
window.addEventListener("resize", Le(() => et("pageResized", document), 250));
|
|
678
|
+
return new CustomEvent(Dn(e), { detail: s, ...t });
|
|
682
679
|
}
|
|
683
680
|
function Nn() {
|
|
681
|
+
window.addEventListener("resize", De(() => nt("pageResized", document), 250));
|
|
682
|
+
}
|
|
683
|
+
function Wn() {
|
|
684
684
|
window.addEventListener("beforeprint", () => {
|
|
685
|
-
|
|
685
|
+
nt("beforePrint", document);
|
|
686
686
|
}), window.addEventListener("afterprint", () => {
|
|
687
|
-
|
|
687
|
+
nt("afterPrint", document);
|
|
688
688
|
});
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function Xn(e) {
|
|
691
691
|
return typeof e == "object" && e?.constructor?.name;
|
|
692
692
|
}
|
|
693
|
-
function
|
|
694
|
-
const n =
|
|
693
|
+
function qn(e, s, t) {
|
|
694
|
+
const n = Xn(s) || "Logger";
|
|
695
695
|
console[e](n, ...t);
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function ue(e, ...s) {
|
|
698
698
|
}
|
|
699
699
|
function je(e, ...s) {
|
|
700
|
-
|
|
700
|
+
qn("error", e, s);
|
|
701
701
|
}
|
|
702
|
-
class
|
|
702
|
+
class mt {
|
|
703
703
|
static defaults = {
|
|
704
704
|
debug: !1,
|
|
705
705
|
/**
|
|
@@ -789,7 +789,7 @@ class ht {
|
|
|
789
789
|
je(this, "Missing required elements: control, container");
|
|
790
790
|
return;
|
|
791
791
|
}
|
|
792
|
-
const i = Object.assign({},
|
|
792
|
+
const i = Object.assign({}, mt.defaults, n);
|
|
793
793
|
this.options = i, this.container = s, this.control = t, this.debug = i.debug;
|
|
794
794
|
const o = ["left", "right"], r = ["top", "bottom"], { fromX: l, fromY: c } = i;
|
|
795
795
|
if (!o.includes(l) && l !== null) {
|
|
@@ -819,7 +819,7 @@ class ht {
|
|
|
819
819
|
*/
|
|
820
820
|
destroy() {
|
|
821
821
|
const { control: s, options: t } = this;
|
|
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"),
|
|
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"), ue(this, "Resizer destroyed.");
|
|
823
823
|
}
|
|
824
824
|
/**
|
|
825
825
|
* Initiates a resize operation.
|
|
@@ -834,7 +834,7 @@ class ht {
|
|
|
834
834
|
return;
|
|
835
835
|
}
|
|
836
836
|
const o = document.defaultView.getComputedStyle(t);
|
|
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),
|
|
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), ue(this, "Resize started.", {
|
|
838
838
|
initialWidth: this.#e.width,
|
|
839
839
|
initialHeight: this.#e.height,
|
|
840
840
|
...s
|
|
@@ -846,7 +846,7 @@ class ht {
|
|
|
846
846
|
* @private
|
|
847
847
|
*/
|
|
848
848
|
#d() {
|
|
849
|
-
this.#s && (this.dispatchEvent("resizer:end"), this.#c(),
|
|
849
|
+
this.#s && (this.dispatchEvent("resizer:end"), this.#c(), ue(this, "Resize ended."));
|
|
850
850
|
}
|
|
851
851
|
/**
|
|
852
852
|
* Core logic for calculating and applying the new size of the container.
|
|
@@ -868,7 +868,7 @@ class ht {
|
|
|
868
868
|
totalDeltaY: t,
|
|
869
869
|
event: n
|
|
870
870
|
};
|
|
871
|
-
this.dispatchEvent("resizer:update", u),
|
|
871
|
+
this.dispatchEvent("resizer:update", u), ue(this, "Resizing update.", u);
|
|
872
872
|
}
|
|
873
873
|
/**
|
|
874
874
|
* Public handler for pointerdown events. Call this method from your own event listeners
|
|
@@ -877,7 +877,7 @@ class ht {
|
|
|
877
877
|
*/
|
|
878
878
|
onPointerdown(s) {
|
|
879
879
|
if (!this.options.enablePointerResizing) {
|
|
880
|
-
|
|
880
|
+
ue(this, "Pointer resizing disabled. Ignoring pointerdown event.");
|
|
881
881
|
return;
|
|
882
882
|
}
|
|
883
883
|
s.preventDefault();
|
|
@@ -903,7 +903,7 @@ class ht {
|
|
|
903
903
|
*/
|
|
904
904
|
onKeydown(s) {
|
|
905
905
|
if (!this.options.enableKeyboardResizing) {
|
|
906
|
-
|
|
906
|
+
ue(this, "Keyboard resizing disabled. Ignoring keydown event.");
|
|
907
907
|
return;
|
|
908
908
|
}
|
|
909
909
|
const { key: t } = s, { keyboardStep: n, keyboardDebounceTime: i } = this.options;
|
|
@@ -930,8 +930,8 @@ class ht {
|
|
|
930
930
|
this.container.dispatchEvent(_e(s, t));
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
|
-
let
|
|
934
|
-
const
|
|
933
|
+
let Ge = 0;
|
|
934
|
+
const Yn = {
|
|
935
935
|
name: "UluModal",
|
|
936
936
|
components: {
|
|
937
937
|
UluIcon: V
|
|
@@ -1041,16 +1041,16 @@ const qn = {
|
|
|
1041
1041
|
modifiers: [String, Array]
|
|
1042
1042
|
},
|
|
1043
1043
|
data() {
|
|
1044
|
-
return ++
|
|
1044
|
+
return ++Ge, {
|
|
1045
1045
|
containerWidth: null,
|
|
1046
|
-
titleId: `ulu-modal-${
|
|
1046
|
+
titleId: `ulu-modal-${Ge}-title`,
|
|
1047
1047
|
bodyOverflowValue: null,
|
|
1048
1048
|
bodyPaddingRightValue: null,
|
|
1049
1049
|
isResizing: !1
|
|
1050
1050
|
};
|
|
1051
1051
|
},
|
|
1052
1052
|
setup(e) {
|
|
1053
|
-
const s =
|
|
1053
|
+
const s = Qs(), t = S(() => e.title || s.title), n = S(() => {
|
|
1054
1054
|
const { allowResize: l, position: c } = e;
|
|
1055
1055
|
if (!l || !c) return;
|
|
1056
1056
|
const u = ["left", "right", "center"];
|
|
@@ -1119,7 +1119,7 @@ const qn = {
|
|
|
1119
1119
|
handleClick(e) {
|
|
1120
1120
|
if (this.clickOutsideCloses && !this.isResizing) {
|
|
1121
1121
|
const { target: s } = e, { container: t } = this.$refs;
|
|
1122
|
-
s === t &&
|
|
1122
|
+
s === t && Hn(t, e) && this.close();
|
|
1123
1123
|
}
|
|
1124
1124
|
},
|
|
1125
1125
|
setupPreventScroll() {
|
|
@@ -1132,14 +1132,14 @@ const qn = {
|
|
|
1132
1132
|
handleToggle(e) {
|
|
1133
1133
|
if (!this.nonModal && this.preventScroll) {
|
|
1134
1134
|
const { preventScrollShift: s } = this;
|
|
1135
|
-
e.newState === "open" ? this.restoreScroll =
|
|
1135
|
+
e.newState === "open" ? this.restoreScroll = Vn({ preventShift: s }) : this.destroyPreventScroll();
|
|
1136
1136
|
}
|
|
1137
1137
|
},
|
|
1138
1138
|
setupResizer() {
|
|
1139
1139
|
const { position: e, resizerEnabled: s } = this;
|
|
1140
1140
|
if (s) {
|
|
1141
1141
|
const { container: t, resizer: n } = this.$refs, i = e === "center" ? { fromX: "right", fromY: "bottom", multiplier: 2 } : { fromX: e === "right" ? "left" : "right" };
|
|
1142
|
-
this.resizerInstance = new
|
|
1142
|
+
this.resizerInstance = new mt(t, n, i), this.handleResizerStart = () => {
|
|
1143
1143
|
this.isResizing = !0;
|
|
1144
1144
|
}, this.handleResizerEnd = () => {
|
|
1145
1145
|
setTimeout(() => {
|
|
@@ -1154,21 +1154,21 @@ const qn = {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
},
|
|
1156
1156
|
mounted() {
|
|
1157
|
-
++
|
|
1157
|
+
++Ge, this.preventScroll && this.setupPreventScroll(), this.setupResizer();
|
|
1158
1158
|
},
|
|
1159
1159
|
beforeUnmount() {
|
|
1160
1160
|
const { container: e } = this.$refs;
|
|
1161
1161
|
e && e.open && e.close(), this.destroyPreventScroll(), this.destroyResizer();
|
|
1162
1162
|
}
|
|
1163
|
-
},
|
|
1163
|
+
}, Kn = ["aria-labelledby", "aria-describedby"], Gn = ["id"], Zn = { class: "modal__title-text" }, Jn = {
|
|
1164
1164
|
key: 2,
|
|
1165
1165
|
class: "modal__resizer",
|
|
1166
1166
|
ref: "resizer",
|
|
1167
1167
|
type: "button"
|
|
1168
1168
|
};
|
|
1169
|
-
function
|
|
1169
|
+
function Qn(e, s, t, n, i, o) {
|
|
1170
1170
|
const r = z("UluIcon");
|
|
1171
|
-
return a(), p(
|
|
1171
|
+
return a(), p(Le, {
|
|
1172
1172
|
to: t.teleport === !1 ? null : t.teleport,
|
|
1173
1173
|
disabled: t.teleport === !1
|
|
1174
1174
|
}, [
|
|
@@ -1177,8 +1177,8 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1177
1177
|
"aria-labelledby": o.resolvedLabelledby,
|
|
1178
1178
|
"aria-describedby": t.describedby,
|
|
1179
1179
|
ref: "container",
|
|
1180
|
-
style:
|
|
1181
|
-
onCancel: s[1] || (s[1] =
|
|
1180
|
+
style: L({ width: i.containerWidth }),
|
|
1181
|
+
onCancel: s[1] || (s[1] = Js((...l) => o.close && o.close(...l), ["prevent"])),
|
|
1182
1182
|
onClose: s[2] || (s[2] = (...l) => o.handleDialogCloseEvent && o.handleDialogCloseEvent(...l)),
|
|
1183
1183
|
onClick: s[3] || (s[3] = (...l) => o.handleClick && o.handleClick(...l)),
|
|
1184
1184
|
onToggle: s[4] || (s[4] = (...l) => o.handleToggle && o.handleToggle(...l))
|
|
@@ -1197,9 +1197,9 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1197
1197
|
class: "modal__title-icon",
|
|
1198
1198
|
icon: t.titleIcon
|
|
1199
1199
|
}, null, 8, ["icon"])) : v("", !0),
|
|
1200
|
-
h("span",
|
|
1200
|
+
h("span", Zn, y(t.title), 1)
|
|
1201
1201
|
])
|
|
1202
|
-
], 10,
|
|
1202
|
+
], 10, Gn),
|
|
1203
1203
|
h("button", {
|
|
1204
1204
|
class: "modal__close",
|
|
1205
1205
|
"aria-label": "Close modal",
|
|
@@ -1207,7 +1207,7 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1207
1207
|
autofocus: ""
|
|
1208
1208
|
}, [
|
|
1209
1209
|
g(e.$slots, "closeIcon", {}, () => [
|
|
1210
|
-
|
|
1210
|
+
R(r, {
|
|
1211
1211
|
class: "modal__close-icon",
|
|
1212
1212
|
icon: t.closeIcon || "type:close"
|
|
1213
1213
|
}, null, 8, ["icon"])
|
|
@@ -1225,18 +1225,18 @@ function Jn(e, s, t, n, i, o) {
|
|
|
1225
1225
|
}, [
|
|
1226
1226
|
g(e.$slots, "footer", { close: o.close })
|
|
1227
1227
|
], 2)) : v("", !0),
|
|
1228
|
-
n.resizerEnabled ? (a(), d("button",
|
|
1228
|
+
n.resizerEnabled ? (a(), d("button", Jn, [
|
|
1229
1229
|
g(e.$slots, "resizerIcon", {}, () => [
|
|
1230
|
-
|
|
1230
|
+
R(r, {
|
|
1231
1231
|
class: "modal__resizer-icon",
|
|
1232
1232
|
icon: t.resizerIcon || n.resizerIconType
|
|
1233
1233
|
}, null, 8, ["icon"])
|
|
1234
1234
|
])
|
|
1235
1235
|
], 512)) : v("", !0)
|
|
1236
|
-
], 46,
|
|
1236
|
+
], 46, Kn)
|
|
1237
1237
|
], 8, ["to", "disabled"]);
|
|
1238
1238
|
}
|
|
1239
|
-
const
|
|
1239
|
+
const Ss = /* @__PURE__ */ T(Yn, [["render", Qn]]), be = [], eo = E({
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Holds active component options (including component, and options)
|
|
1242
1242
|
*/
|
|
@@ -1245,13 +1245,13 @@ const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), ve = [], eo = M({
|
|
|
1245
1245
|
* Populated with any props passed to open method, bound to modal component
|
|
1246
1246
|
*/
|
|
1247
1247
|
activeProps: null
|
|
1248
|
-
}),
|
|
1249
|
-
data:
|
|
1250
|
-
modals:
|
|
1248
|
+
}), we = eo.value, Ut = {
|
|
1249
|
+
data: we,
|
|
1250
|
+
modals: be
|
|
1251
1251
|
}, to = (e) => ({
|
|
1252
1252
|
open(s, t = null) {
|
|
1253
1253
|
const n = this.get(s);
|
|
1254
|
-
|
|
1254
|
+
we.active = fe(n), we.activeProps = Object.assign({}, n.props, t);
|
|
1255
1255
|
},
|
|
1256
1256
|
/**
|
|
1257
1257
|
* Close the active modal
|
|
@@ -1259,14 +1259,14 @@ const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), ve = [], eo = M({
|
|
|
1259
1259
|
* @see https://www.deque.com/blog/accessible-routing-in-javascript-frameworks/
|
|
1260
1260
|
*/
|
|
1261
1261
|
close() {
|
|
1262
|
-
|
|
1262
|
+
we.active = null, we.activeProps = null;
|
|
1263
1263
|
},
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Get a modal's config object by name
|
|
1266
1266
|
* @return {Object} Modal config object
|
|
1267
1267
|
*/
|
|
1268
1268
|
get(s) {
|
|
1269
|
-
const t =
|
|
1269
|
+
const t = be.find((n) => n.name === s);
|
|
1270
1270
|
if (t)
|
|
1271
1271
|
return t;
|
|
1272
1272
|
throw new Error(`Unable to find modal named: ${s}`);
|
|
@@ -1276,16 +1276,16 @@ const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), ve = [], eo = M({
|
|
|
1276
1276
|
*/
|
|
1277
1277
|
add(s) {
|
|
1278
1278
|
const t = e(s);
|
|
1279
|
-
|
|
1279
|
+
be.push(t);
|
|
1280
1280
|
},
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Removes a modal config by name
|
|
1283
1283
|
* @return {Object} Modal that was removed
|
|
1284
1284
|
*/
|
|
1285
1285
|
remove(s) {
|
|
1286
|
-
const t =
|
|
1286
|
+
const t = be.findIndex((n) => n.name === s);
|
|
1287
1287
|
if (t > -1)
|
|
1288
|
-
return
|
|
1288
|
+
return be.splice(t, 1);
|
|
1289
1289
|
warn("unable to find modal to remove");
|
|
1290
1290
|
}
|
|
1291
1291
|
}), so = {
|
|
@@ -1294,11 +1294,11 @@ const Qn = /* @__PURE__ */ C(qn, [["render", Jn]]), ve = [], eo = M({
|
|
|
1294
1294
|
modals: [],
|
|
1295
1295
|
modalOptions: {}
|
|
1296
1296
|
};
|
|
1297
|
-
function
|
|
1297
|
+
function ef(e, s) {
|
|
1298
1298
|
const t = Object.assign({}, so, s), i = to((o) => Object.assign({}, t.modalOptions, o));
|
|
1299
|
-
e.component(t.componentNameDisplay,
|
|
1299
|
+
e.component(t.componentNameDisplay, Pn), e.component(t.componentNameModal, Ss), t.modals.forEach((o) => {
|
|
1300
1300
|
i.add(o);
|
|
1301
|
-
}),
|
|
1301
|
+
}), Ut.options = t, e.config.globalProperties.$uluModals = i, e.provide("uluModals", i), e.config.globalProperties.$uluModalsState = Ut;
|
|
1302
1302
|
}
|
|
1303
1303
|
const no = {
|
|
1304
1304
|
name: "UluToast",
|
|
@@ -1390,16 +1390,16 @@ function io(e, s, t, n, i, o) {
|
|
|
1390
1390
|
class: m(["toast__close", t.classes.closeButton]),
|
|
1391
1391
|
onClick: s[0] || (s[0] = (...l) => t.toast.close && t.toast.close(...l))
|
|
1392
1392
|
}, [
|
|
1393
|
-
|
|
1393
|
+
R(r, { icon: "type:close" })
|
|
1394
1394
|
], 2)
|
|
1395
1395
|
], 2);
|
|
1396
1396
|
}
|
|
1397
|
-
const
|
|
1397
|
+
const ks = /* @__PURE__ */ T(no, [["render", io]]), jt = {
|
|
1398
1398
|
toastOptions: {
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Component used to render the toast in the display
|
|
1401
1401
|
*/
|
|
1402
|
-
component:
|
|
1402
|
+
component: fe(ks),
|
|
1403
1403
|
/**
|
|
1404
1404
|
* Duration of toast
|
|
1405
1405
|
*/
|
|
@@ -1419,31 +1419,31 @@ const Ss = /* @__PURE__ */ C(no, [["render", io]]), Ut = {
|
|
|
1419
1419
|
*/
|
|
1420
1420
|
position: ["top", "right"]
|
|
1421
1421
|
}
|
|
1422
|
-
}, { assign:
|
|
1422
|
+
}, { assign: Ze } = Object;
|
|
1423
1423
|
let ro = 0;
|
|
1424
|
-
const te =
|
|
1424
|
+
const te = ut({
|
|
1425
1425
|
toasts: [],
|
|
1426
1426
|
/**
|
|
1427
1427
|
* Saveable
|
|
1428
1428
|
*/
|
|
1429
|
-
pluginOptions:
|
|
1430
|
-
toastOptions:
|
|
1429
|
+
pluginOptions: jt.pluginOptions,
|
|
1430
|
+
toastOptions: jt.toastOptions,
|
|
1431
1431
|
setToastOptions(e) {
|
|
1432
|
-
return this.toastOptions =
|
|
1432
|
+
return this.toastOptions = Ze({}, this.toastOptions, e), this.pluginOptions;
|
|
1433
1433
|
},
|
|
1434
1434
|
setPluginOptions(e) {
|
|
1435
|
-
return this.pluginOptions =
|
|
1435
|
+
return this.pluginOptions = Ze({}, this.pluginOptions, e), this.pluginOptions;
|
|
1436
1436
|
},
|
|
1437
1437
|
createToast(e) {
|
|
1438
1438
|
const s = `toast-${++ro}`;
|
|
1439
|
-
return
|
|
1439
|
+
return Ze({}, this.toastOptions, e, {
|
|
1440
1440
|
uid: s,
|
|
1441
1441
|
close() {
|
|
1442
|
-
|
|
1442
|
+
ot.remove(s);
|
|
1443
1443
|
}
|
|
1444
1444
|
});
|
|
1445
1445
|
}
|
|
1446
|
-
}),
|
|
1446
|
+
}), ot = {
|
|
1447
1447
|
/**
|
|
1448
1448
|
*
|
|
1449
1449
|
* @param {Object} options Toast options
|
|
@@ -1483,10 +1483,10 @@ const te = lt({
|
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
1485
|
function ao(e, s, t, n, i, o) {
|
|
1486
|
-
return a(), p(
|
|
1486
|
+
return a(), p(Le, {
|
|
1487
1487
|
to: i.pluginOptions.teleportTo
|
|
1488
1488
|
}, [
|
|
1489
|
-
|
|
1489
|
+
R(us, {
|
|
1490
1490
|
class: m(["toast-container", o.classes]),
|
|
1491
1491
|
name: "toast",
|
|
1492
1492
|
tag: "div"
|
|
@@ -1501,10 +1501,10 @@ function ao(e, s, t, n, i, o) {
|
|
|
1501
1501
|
}, 8, ["class"])
|
|
1502
1502
|
], 8, ["to"]);
|
|
1503
1503
|
}
|
|
1504
|
-
const co = /* @__PURE__ */
|
|
1505
|
-
function
|
|
1504
|
+
const co = /* @__PURE__ */ T(lo, [["render", ao]]);
|
|
1505
|
+
function tf(e, s = {}) {
|
|
1506
1506
|
const t = te.setPluginOptions(s?.plugin);
|
|
1507
|
-
te.setToastOptions(s?.toast), e.component(t.componentName,
|
|
1507
|
+
te.setToastOptions(s?.toast), e.component(t.componentName, ks), e.component(t.componentNameDisplay, co), e.config.globalProperties.$uluToast = ot, e.provide("uluToast", ot);
|
|
1508
1508
|
}
|
|
1509
1509
|
const uo = {
|
|
1510
1510
|
/**
|
|
@@ -1523,14 +1523,14 @@ const uo = {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
};
|
|
1525
1525
|
function fo(e) {
|
|
1526
|
-
const s = Object.assign({}, uo, e), t =
|
|
1526
|
+
const s = Object.assign({}, uo, e), t = E(null), n = E(s.initialValue), i = E(null);
|
|
1527
1527
|
return (async () => {
|
|
1528
1528
|
if (!ws()) return;
|
|
1529
1529
|
await new Promise((f) => {
|
|
1530
1530
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
|
|
1531
1531
|
});
|
|
1532
|
-
const r = await import("./breakpoints-
|
|
1533
|
-
t.value =
|
|
1532
|
+
const r = await import("./breakpoints-B-Iw5aP7.js"), { BreakpointManager: l } = r, c = fe(new l(s.plugin));
|
|
1533
|
+
t.value = fe(c);
|
|
1534
1534
|
const u = () => {
|
|
1535
1535
|
n.value = c.active, i.value = c.resizeDirection;
|
|
1536
1536
|
};
|
|
@@ -1547,8 +1547,8 @@ const ho = {
|
|
|
1547
1547
|
*/
|
|
1548
1548
|
managerOptions: {}
|
|
1549
1549
|
};
|
|
1550
|
-
function
|
|
1551
|
-
const t =
|
|
1550
|
+
function sf(e, s) {
|
|
1551
|
+
const t = E(!1), n = Object.assign({}, ho, s), { breakpointMobile: i } = n, { onReady: o } = n.managerOptions, r = {
|
|
1552
1552
|
onReady(_) {
|
|
1553
1553
|
_.at(i).max({
|
|
1554
1554
|
on() {
|
|
@@ -1566,7 +1566,7 @@ function nf(e, s) {
|
|
|
1566
1566
|
} = fo(l);
|
|
1567
1567
|
e.provide("uluBreakpointActive", S(() => u.value)), e.provide("uluBreakpointDirection", S(() => f.value)), e.provide("uluBreakpointManager", S(() => c.value)), e.provide("uluIsMobile", S(() => t.value));
|
|
1568
1568
|
}
|
|
1569
|
-
const
|
|
1569
|
+
const nf = {
|
|
1570
1570
|
__name: "UluAccordion",
|
|
1571
1571
|
props: {
|
|
1572
1572
|
/**
|
|
@@ -1606,16 +1606,16 @@ const of = {
|
|
|
1606
1606
|
},
|
|
1607
1607
|
setup(e) {
|
|
1608
1608
|
const s = e, { resolvedModifiers: t } = se({ props: s, baseClass: "button" });
|
|
1609
|
-
return (n, i) => (a(), p(
|
|
1609
|
+
return (n, i) => (a(), p(C(cn), { defaultOpen: e.defaultOpen }, {
|
|
1610
1610
|
default: w(({ open: o }) => [
|
|
1611
1611
|
h("div", {
|
|
1612
1612
|
class: m(["accordion", [
|
|
1613
1613
|
{ [e.activeClass]: o },
|
|
1614
1614
|
e.classes.container,
|
|
1615
|
-
|
|
1615
|
+
C(t)
|
|
1616
1616
|
]])
|
|
1617
1617
|
}, [
|
|
1618
|
-
|
|
1618
|
+
R(C(un), {
|
|
1619
1619
|
class: m(["accordion__summary", [
|
|
1620
1620
|
{ [e.activeClass]: o },
|
|
1621
1621
|
e.classes.summary
|
|
@@ -1634,7 +1634,7 @@ const of = {
|
|
|
1634
1634
|
h("span", {
|
|
1635
1635
|
class: m(["accordion__icon", e.classes.icon])
|
|
1636
1636
|
}, [
|
|
1637
|
-
|
|
1637
|
+
R(V, {
|
|
1638
1638
|
icon: o ? "type:collapse" : "type:expand",
|
|
1639
1639
|
style: { display: "inline" }
|
|
1640
1640
|
}, null, 8, ["icon"])
|
|
@@ -1643,7 +1643,7 @@ const of = {
|
|
|
1643
1643
|
]),
|
|
1644
1644
|
_: 2
|
|
1645
1645
|
}, 1032, ["class"]),
|
|
1646
|
-
|
|
1646
|
+
R(C(dn), {
|
|
1647
1647
|
class: m(["accordion__content", e.classes.content])
|
|
1648
1648
|
}, {
|
|
1649
1649
|
default: w(() => [
|
|
@@ -1807,18 +1807,18 @@ const go = {
|
|
|
1807
1807
|
return document.getElementById(e) ? this.getUid() : e;
|
|
1808
1808
|
}
|
|
1809
1809
|
}
|
|
1810
|
-
}, yo = ["id", "aria-controls", "aria-expanded"], po = ["id", "aria-hidden", "aria-labelledby"],
|
|
1811
|
-
function
|
|
1810
|
+
}, yo = ["id", "aria-controls", "aria-expanded"], po = ["id", "aria-hidden", "aria-labelledby"], vo = { class: "collapsible-region__content-inner" };
|
|
1811
|
+
function _o(e, s, t, n, i, o) {
|
|
1812
1812
|
return a(), d("div", {
|
|
1813
|
-
class: m(["
|
|
1814
|
-
"
|
|
1815
|
-
"
|
|
1816
|
-
"
|
|
1813
|
+
class: m(["collapsible-region", {
|
|
1814
|
+
"collapsible-region--open": i.isOpen,
|
|
1815
|
+
"collapsible-region--closed": !i.isOpen,
|
|
1816
|
+
"collapsible-region--transitioning": i.isTransitioning
|
|
1817
1817
|
}]),
|
|
1818
|
-
onKeydown: s[1] || (s[1] =
|
|
1818
|
+
onKeydown: s[1] || (s[1] = as((...r) => o.handleEscape && o.handleEscape(...r), ["esc"]))
|
|
1819
1819
|
}, [
|
|
1820
1820
|
h("button", {
|
|
1821
|
-
class: "
|
|
1821
|
+
class: "collapsible-region__toggle",
|
|
1822
1822
|
id: i.toggleId,
|
|
1823
1823
|
"aria-controls": i.contentId,
|
|
1824
1824
|
"aria-expanded": i.isOpen,
|
|
@@ -1828,24 +1828,24 @@ function vo(e, s, t, n, i, o) {
|
|
|
1828
1828
|
k(y(t.title), 1)
|
|
1829
1829
|
])
|
|
1830
1830
|
], 8, yo),
|
|
1831
|
-
|
|
1832
|
-
class: "
|
|
1831
|
+
ie(h("div", {
|
|
1832
|
+
class: "collapsible-region__content",
|
|
1833
1833
|
tabindex: "-1",
|
|
1834
1834
|
ref: "content",
|
|
1835
1835
|
id: i.contentId,
|
|
1836
1836
|
"aria-hidden": !i.isOpen,
|
|
1837
1837
|
"aria-labelledby": i.toggleId,
|
|
1838
|
-
style:
|
|
1838
|
+
style: L(o.contentStyles)
|
|
1839
1839
|
}, [
|
|
1840
|
-
h("div",
|
|
1840
|
+
h("div", vo, [
|
|
1841
1841
|
g(e.$slots, "default")
|
|
1842
1842
|
])
|
|
1843
1843
|
], 12, po), [
|
|
1844
|
-
[
|
|
1844
|
+
[Me, !i.isHidden]
|
|
1845
1845
|
])
|
|
1846
1846
|
], 34);
|
|
1847
1847
|
}
|
|
1848
|
-
const
|
|
1848
|
+
const It = /* @__PURE__ */ T(go, [["render", _o]]), Cs = {
|
|
1849
1849
|
__name: "UluTag",
|
|
1850
1850
|
props: {
|
|
1851
1851
|
/**
|
|
@@ -1883,7 +1883,7 @@ const jt = /* @__PURE__ */ C(go, [["render", vo]]), ks = {
|
|
|
1883
1883
|
[`tag--${e.size}`]: e.size,
|
|
1884
1884
|
[`tag--${e.type}`]: e.type
|
|
1885
1885
|
},
|
|
1886
|
-
|
|
1886
|
+
C(t)
|
|
1887
1887
|
]])
|
|
1888
1888
|
}, [
|
|
1889
1889
|
e.icon ? (a(), p(V, {
|
|
@@ -1900,7 +1900,7 @@ const jt = /* @__PURE__ */ C(go, [["render", vo]]), ks = {
|
|
|
1900
1900
|
name: "UluMenu",
|
|
1901
1901
|
components: {
|
|
1902
1902
|
UluIcon: V,
|
|
1903
|
-
UluTag:
|
|
1903
|
+
UluTag: Cs
|
|
1904
1904
|
},
|
|
1905
1905
|
emits: [
|
|
1906
1906
|
/**
|
|
@@ -1946,7 +1946,7 @@ const jt = /* @__PURE__ */ C(go, [["render", vo]]), ks = {
|
|
|
1946
1946
|
}
|
|
1947
1947
|
};
|
|
1948
1948
|
function wo(e, s, t, n, i, o) {
|
|
1949
|
-
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 = ls("ulu-tooltip");
|
|
1950
1950
|
return t.items?.length ? (a(), d("ul", {
|
|
1951
1951
|
key: 0,
|
|
1952
1952
|
class: m(t.classes.list)
|
|
@@ -1955,7 +1955,7 @@ function wo(e, s, t, n, i, o) {
|
|
|
1955
1955
|
key: _,
|
|
1956
1956
|
class: m([t.classes.item, f?.classes?.item])
|
|
1957
1957
|
}, [
|
|
1958
|
-
|
|
1958
|
+
ie((a(), p(B(f.to || f.path ? "router-link" : f.click ? "button" : "a"), Z({ ref_for: !0 }, {
|
|
1959
1959
|
...f.to || f.path ? { to: f.to || f.path } : {},
|
|
1960
1960
|
...f.href ? { href: f.href || "#" } : {}
|
|
1961
1961
|
}, {
|
|
@@ -2000,10 +2000,10 @@ function wo(e, s, t, n, i, o) {
|
|
|
2000
2000
|
], 2))), 128))
|
|
2001
2001
|
], 2)) : v("", !0);
|
|
2002
2002
|
}
|
|
2003
|
-
const
|
|
2003
|
+
const Ts = /* @__PURE__ */ T(bo, [["render", wo]]), So = {
|
|
2004
2004
|
name: "UluMenuStack",
|
|
2005
2005
|
components: {
|
|
2006
|
-
UluMenu:
|
|
2006
|
+
UluMenu: Ts
|
|
2007
2007
|
},
|
|
2008
2008
|
props: {
|
|
2009
2009
|
/**
|
|
@@ -2032,7 +2032,7 @@ function ko(e, s, t, n, i, o) {
|
|
|
2032
2032
|
"menu-stack--compact": t.compact
|
|
2033
2033
|
}])
|
|
2034
2034
|
}, [
|
|
2035
|
-
|
|
2035
|
+
R(r, {
|
|
2036
2036
|
items: t.items,
|
|
2037
2037
|
classes: {
|
|
2038
2038
|
list: "menu-stack__list",
|
|
@@ -2045,10 +2045,10 @@ function ko(e, s, t, n, i, o) {
|
|
|
2045
2045
|
}, null, 8, ["items", "noChildren"])
|
|
2046
2046
|
], 2);
|
|
2047
2047
|
}
|
|
2048
|
-
const Co = /* @__PURE__ */
|
|
2048
|
+
const Co = /* @__PURE__ */ T(So, [["render", ko]]), To = {
|
|
2049
2049
|
name: "UluDropdown",
|
|
2050
2050
|
components: {
|
|
2051
|
-
UluPopover:
|
|
2051
|
+
UluPopover: Ve,
|
|
2052
2052
|
UluMenuStack: Co
|
|
2053
2053
|
},
|
|
2054
2054
|
props: {
|
|
@@ -2079,22 +2079,22 @@ function $o(e, s, t, n, i, o) {
|
|
|
2079
2079
|
g(e.$slots, "default", { isOpen: c })
|
|
2080
2080
|
]),
|
|
2081
2081
|
content: w(() => [
|
|
2082
|
-
|
|
2082
|
+
R(r, { items: t.items }, null, 8, ["items"])
|
|
2083
2083
|
]),
|
|
2084
2084
|
_: 3
|
|
2085
2085
|
}, 8, ["classes"]);
|
|
2086
2086
|
}
|
|
2087
|
-
const
|
|
2087
|
+
const of = /* @__PURE__ */ T(To, [["render", $o]]), gt = E(!1), Be = {
|
|
2088
2088
|
start: [],
|
|
2089
2089
|
end: []
|
|
2090
2090
|
};
|
|
2091
|
-
function
|
|
2092
|
-
window.removeEventListener("resize",
|
|
2091
|
+
function yt() {
|
|
2092
|
+
window.removeEventListener("resize", yt), gt.value = !0, Be.start.forEach((e) => e());
|
|
2093
2093
|
}
|
|
2094
2094
|
function Ao() {
|
|
2095
|
-
|
|
2095
|
+
gt.value = !1, Be.end.forEach((e) => e()), window.addEventListener("resize", yt);
|
|
2096
2096
|
}
|
|
2097
|
-
window.addEventListener("resize",
|
|
2097
|
+
window.addEventListener("resize", yt), window.addEventListener("resize", De(Ao, 300));
|
|
2098
2098
|
function Et(e, s) {
|
|
2099
2099
|
return e.push(s), () => {
|
|
2100
2100
|
const t = e.findIndex((n) => n === s);
|
|
@@ -2103,16 +2103,16 @@ function Et(e, s) {
|
|
|
2103
2103
|
}
|
|
2104
2104
|
function Oo() {
|
|
2105
2105
|
return {
|
|
2106
|
-
resizing:
|
|
2106
|
+
resizing: gt,
|
|
2107
2107
|
onResizeStart(e) {
|
|
2108
|
-
return Et(
|
|
2108
|
+
return Et(Be.start, e);
|
|
2109
2109
|
},
|
|
2110
2110
|
onResizeEnd(e) {
|
|
2111
|
-
return Et(
|
|
2111
|
+
return Et(Be.end, e);
|
|
2112
2112
|
}
|
|
2113
2113
|
};
|
|
2114
2114
|
}
|
|
2115
|
-
const
|
|
2115
|
+
const xo = {
|
|
2116
2116
|
uluCore: "Core",
|
|
2117
2117
|
uluIsMobile: "Breakpoints",
|
|
2118
2118
|
uluBreakpointActive: "Breakpoints",
|
|
@@ -2121,16 +2121,16 @@ const Ro = {
|
|
|
2121
2121
|
uluModals: "Modals",
|
|
2122
2122
|
uluToast: "Toast"
|
|
2123
2123
|
}, zt = {};
|
|
2124
|
-
function
|
|
2125
|
-
const s =
|
|
2124
|
+
function Ro(e) {
|
|
2125
|
+
const s = He(e, zt);
|
|
2126
2126
|
if (s === zt) {
|
|
2127
|
-
const t =
|
|
2127
|
+
const t = xo[e] || "", n = t ? ` from the '${t}' plugin` : "", i = t ? "Please install missing plugin." : "";
|
|
2128
2128
|
throw new Error(`Required inject: '${e}'${n} was not provided. ${i}`);
|
|
2129
2129
|
}
|
|
2130
2130
|
return s;
|
|
2131
2131
|
}
|
|
2132
|
-
function
|
|
2133
|
-
const t = bs(), n =
|
|
2132
|
+
function rf(e, s) {
|
|
2133
|
+
const t = bs(), n = pn(), i = S(() => {
|
|
2134
2134
|
const u = parseInt(t.query.page || "1", 10);
|
|
2135
2135
|
return isNaN(u) || u < 1 ? 1 : u;
|
|
2136
2136
|
}), o = S(() => !e.value || e.value.length === 0 ? 1 : Math.ceil(e.value.length / s));
|
|
@@ -2145,17 +2145,17 @@ function lf(e, s) {
|
|
|
2145
2145
|
return null;
|
|
2146
2146
|
const u = {
|
|
2147
2147
|
pages: {}
|
|
2148
|
-
}, f = i.value, _ = o.value, b = 5,
|
|
2149
|
-
f > 1 && (u.first = { href:
|
|
2150
|
-
let
|
|
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 M, F;
|
|
2151
2151
|
if (_ <= b)
|
|
2152
|
-
|
|
2152
|
+
M = 1, F = _;
|
|
2153
2153
|
else {
|
|
2154
2154
|
const U = Math.floor(b / 2), Q = Math.ceil(b / 2) - 1;
|
|
2155
|
-
f <= U ? (
|
|
2155
|
+
f <= U ? (M = 1, F = b) : f + Q >= _ ? (M = _ - b + 1, F = _) : (M = f - U, F = f + Q);
|
|
2156
2156
|
}
|
|
2157
|
-
for (let U =
|
|
2158
|
-
u.pages[U] = { href:
|
|
2157
|
+
for (let U = M; U <= F; U++)
|
|
2158
|
+
u.pages[U] = { href: x(U) };
|
|
2159
2159
|
return u;
|
|
2160
2160
|
}), c = S(() => {
|
|
2161
2161
|
const u = { previous: !1, next: !1 };
|
|
@@ -2173,61 +2173,61 @@ function lf(e, s) {
|
|
|
2173
2173
|
pagerEllipses: c
|
|
2174
2174
|
};
|
|
2175
2175
|
}
|
|
2176
|
-
function
|
|
2176
|
+
function it(e, s, t) {
|
|
2177
2177
|
typeof e === "function" && (!t || t !== "titleTemplate" && !(t[0] === "o" && t[1] === "n")) && (e = e());
|
|
2178
2178
|
let i;
|
|
2179
2179
|
if (s && (i = s(t, e)), Array.isArray(i))
|
|
2180
|
-
return i.map((o) =>
|
|
2180
|
+
return i.map((o) => it(o, s));
|
|
2181
2181
|
if (i?.constructor === Object) {
|
|
2182
2182
|
const o = {};
|
|
2183
2183
|
for (const r of Object.keys(i))
|
|
2184
|
-
o[r] =
|
|
2184
|
+
o[r] = it(i[r], s, r);
|
|
2185
2185
|
return o;
|
|
2186
2186
|
}
|
|
2187
2187
|
return i;
|
|
2188
2188
|
}
|
|
2189
|
-
const Uo = (e, s) =>
|
|
2190
|
-
function
|
|
2191
|
-
if (
|
|
2192
|
-
const e =
|
|
2189
|
+
const Uo = (e, s) => en(s) ? Ie(s) : s, jo = "usehead";
|
|
2190
|
+
function Io() {
|
|
2191
|
+
if (tn()) {
|
|
2192
|
+
const e = He(jo);
|
|
2193
2193
|
if (!e)
|
|
2194
2194
|
throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
|
|
2195
2195
|
return e;
|
|
2196
2196
|
}
|
|
2197
2197
|
throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");
|
|
2198
2198
|
}
|
|
2199
|
-
function
|
|
2200
|
-
const t = s.head ||
|
|
2201
|
-
return t.ssr ? t.push(e || {}, s) :
|
|
2199
|
+
function Eo(e, s = {}) {
|
|
2200
|
+
const t = s.head || Io();
|
|
2201
|
+
return t.ssr ? t.push(e || {}, s) : zo(t, e, s);
|
|
2202
2202
|
}
|
|
2203
|
-
function
|
|
2204
|
-
const n =
|
|
2203
|
+
function zo(e, s, t = {}) {
|
|
2204
|
+
const n = E(!1);
|
|
2205
2205
|
let i;
|
|
2206
|
-
return
|
|
2207
|
-
const r = n.value ? {} :
|
|
2206
|
+
return dt(() => {
|
|
2207
|
+
const r = n.value ? {} : it(s, Uo);
|
|
2208
2208
|
i ? i.patch(r) : i = e.push(r, t);
|
|
2209
|
-
}),
|
|
2209
|
+
}), sn() && (nn(() => {
|
|
2210
2210
|
i.dispose();
|
|
2211
|
-
}), nn(() => {
|
|
2212
|
-
n.value = !0;
|
|
2213
2211
|
}), on(() => {
|
|
2212
|
+
n.value = !0;
|
|
2213
|
+
}), rn(() => {
|
|
2214
2214
|
n.value = !1;
|
|
2215
2215
|
})), i;
|
|
2216
2216
|
}
|
|
2217
|
-
function
|
|
2217
|
+
function Ne(e, s) {
|
|
2218
2218
|
let n = (e?.meta || {}).title;
|
|
2219
2219
|
return typeof n == "function" && (n = n(s || e)), n;
|
|
2220
2220
|
}
|
|
2221
2221
|
function Mo(e, s) {
|
|
2222
2222
|
const n = Object.assign({}, {
|
|
2223
2223
|
qualifier(r, l) {
|
|
2224
|
-
return l ?
|
|
2224
|
+
return l ? vt(r) : $s(r);
|
|
2225
2225
|
},
|
|
2226
|
-
sort:
|
|
2226
|
+
sort: bt,
|
|
2227
2227
|
item: {},
|
|
2228
2228
|
includeChildren: !1
|
|
2229
2229
|
}, s), i = (r, l) => l ? `${l}/${r.path}` : r.path, o = (r, l = null) => r.filter((c) => n.qualifier(c, l)).map((c) => {
|
|
2230
|
-
const u = c.children ?
|
|
2230
|
+
const u = c.children ? pt(c.children) : c, f = c.children ? c.children.filter((b) => b.path !== "") : !1, _ = We(u, i(c, l), n.item);
|
|
2231
2231
|
return n.includeChildren && f.length && (_.children = o(f, _.path)), _;
|
|
2232
2232
|
}).sort(n.sort);
|
|
2233
2233
|
return o(e);
|
|
@@ -2247,78 +2247,78 @@ function Po(e, s, t) {
|
|
|
2247
2247
|
const i = Object.assign({}, {
|
|
2248
2248
|
includeIndex: !1,
|
|
2249
2249
|
item: {},
|
|
2250
|
-
sort:
|
|
2250
|
+
sort: bt
|
|
2251
2251
|
}, t), o = e.find((u) => u.path !== "/" && s.includes(u.path)), r = (u, f, _) => {
|
|
2252
2252
|
if (u.children) {
|
|
2253
|
-
const b = u.children.find((
|
|
2253
|
+
const b = u.children.find((x) => x.path.includes(s));
|
|
2254
2254
|
if (b)
|
|
2255
2255
|
return r(b, u, _ + b.path);
|
|
2256
2256
|
}
|
|
2257
2257
|
return { route: f, path: _ };
|
|
2258
2258
|
}, { route: l, path: c } = r(o, o, o.path);
|
|
2259
|
-
return l.children ? l.children.filter(
|
|
2259
|
+
return l.children ? l.children.filter(Os(i.includeIndex)).map((u) => We(u, `${c}/${u.path}`, i.item)).sort(i.sort) : (console.warn("Unable to build menu for:", s), []);
|
|
2260
2260
|
}
|
|
2261
|
-
function
|
|
2261
|
+
function pt(e) {
|
|
2262
2262
|
return e.find((s) => s.path === "");
|
|
2263
2263
|
}
|
|
2264
|
-
function
|
|
2264
|
+
function We(e, s = e.path, t) {
|
|
2265
2265
|
const i = Object.assign({}, {
|
|
2266
2266
|
indexMeta: !0,
|
|
2267
2267
|
modify: null
|
|
2268
2268
|
}, t);
|
|
2269
2269
|
let o = Object.assign({}, e.meta);
|
|
2270
|
-
i.indexMeta && e.children && (o = Object.assign({}, o,
|
|
2270
|
+
i.indexMeta && e.children && (o = Object.assign({}, o, pt(e.children)?.meta));
|
|
2271
2271
|
const r = { ...e, meta: o }, l = {
|
|
2272
2272
|
path: s,
|
|
2273
|
-
title:
|
|
2273
|
+
title: Ne(r, e) || "Missing Title",
|
|
2274
2274
|
weight: o?.weight || 0,
|
|
2275
2275
|
meta: o
|
|
2276
2276
|
};
|
|
2277
2277
|
return i.modify && i.modify(l, e), l;
|
|
2278
2278
|
}
|
|
2279
|
-
function
|
|
2279
|
+
function vt(e) {
|
|
2280
2280
|
return !e.path.includes("/:");
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2282
|
+
function $s(e) {
|
|
2283
2283
|
const s = e.path.match(/\//g) || [];
|
|
2284
|
-
return
|
|
2284
|
+
return vt(e) && s.length === 1;
|
|
2285
2285
|
}
|
|
2286
|
-
function
|
|
2286
|
+
function Lo(e, s) {
|
|
2287
2287
|
const { target: t } = s, n = t.closest("a");
|
|
2288
2288
|
if (n) {
|
|
2289
2289
|
let i = n.getAttribute("href");
|
|
2290
2290
|
i.startsWith("/") && (e.push(i), s.preventDefault());
|
|
2291
2291
|
}
|
|
2292
2292
|
}
|
|
2293
|
-
function
|
|
2293
|
+
function As(e, s = _t(e)) {
|
|
2294
2294
|
return s?.children;
|
|
2295
2295
|
}
|
|
2296
2296
|
function _t(e, s) {
|
|
2297
2297
|
const t = e.matched.length, n = t - 2;
|
|
2298
2298
|
return s ? t > 1 ? e.matched[0] : null : n < 0 ? null : e.matched[n];
|
|
2299
2299
|
}
|
|
2300
|
-
function
|
|
2300
|
+
function Os(e) {
|
|
2301
2301
|
return (s) => e || s.path !== "";
|
|
2302
2302
|
}
|
|
2303
|
-
function
|
|
2303
|
+
function bt(e, s) {
|
|
2304
2304
|
return e?.weight - s?.weight;
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2306
|
+
function Ho(e, s) {
|
|
2307
2307
|
const n = Object.assign({}, {
|
|
2308
2308
|
parent: null,
|
|
2309
2309
|
includeIndex: !1,
|
|
2310
2310
|
item: {},
|
|
2311
|
-
sort:
|
|
2311
|
+
sort: bt
|
|
2312
2312
|
}, s), i = n.parent || _t(e);
|
|
2313
|
-
return (
|
|
2313
|
+
return (As(e, i) || []).filter(Os(n.includeIndex)).map((r) => We(r, `${i.path}/${r.path}`, n.item)).sort(n.sort);
|
|
2314
2314
|
}
|
|
2315
|
-
function
|
|
2315
|
+
function Fo(e) {
|
|
2316
2316
|
const { matched: s, path: t } = e;
|
|
2317
2317
|
let n;
|
|
2318
2318
|
return s.reduce((o, r, l) => {
|
|
2319
2319
|
if (r.meta?.breadcrumb === !1 || r.path === n)
|
|
2320
2320
|
return o;
|
|
2321
|
-
const c = l === s.length - 1, u =
|
|
2321
|
+
const c = l === s.length - 1, u = Ne(r, e) || "Missing Title";
|
|
2322
2322
|
return o.push({
|
|
2323
2323
|
title: u,
|
|
2324
2324
|
to: { path: c ? t : r.path },
|
|
@@ -2328,44 +2328,44 @@ function Ho(e) {
|
|
|
2328
2328
|
}
|
|
2329
2329
|
const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2330
2330
|
__proto__: null,
|
|
2331
|
-
$createBreadcrumb:
|
|
2332
|
-
$createSectionMenu:
|
|
2331
|
+
$createBreadcrumb: Fo,
|
|
2332
|
+
$createSectionMenu: Ho,
|
|
2333
2333
|
$getParentRoute: _t,
|
|
2334
|
-
$getRouteChildren:
|
|
2334
|
+
$getRouteChildren: As,
|
|
2335
2335
|
createBaseMenu: Mo,
|
|
2336
|
-
createMenuItem:
|
|
2336
|
+
createMenuItem: We,
|
|
2337
2337
|
createSectionMenu: Po,
|
|
2338
2338
|
flattenMenu: Bo,
|
|
2339
|
-
getChildIndexRoute:
|
|
2340
|
-
getRouteTitle:
|
|
2341
|
-
isStaticBaseRoute:
|
|
2342
|
-
isStaticRoute:
|
|
2343
|
-
nativeLinkRouter:
|
|
2344
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2345
|
-
function
|
|
2339
|
+
getChildIndexRoute: pt,
|
|
2340
|
+
getRouteTitle: Ne,
|
|
2341
|
+
isStaticBaseRoute: $s,
|
|
2342
|
+
isStaticRoute: vt,
|
|
2343
|
+
nativeLinkRouter: Lo
|
|
2344
|
+
}, Symbol.toStringTag, { value: "Module" })), Je = ut({});
|
|
2345
|
+
function lf(e = {}) {
|
|
2346
2346
|
const {
|
|
2347
2347
|
title: s,
|
|
2348
2348
|
titleTemplate: t = "%s",
|
|
2349
2349
|
useRoute: n = bs,
|
|
2350
|
-
useHead: i =
|
|
2350
|
+
useHead: i = Eo
|
|
2351
2351
|
} = e, o = n(), r = o.path;
|
|
2352
2352
|
if (s !== void 0) {
|
|
2353
|
-
|
|
2354
|
-
|
|
2353
|
+
dt(() => {
|
|
2354
|
+
Je[r] = C(s);
|
|
2355
2355
|
}), fs(() => {
|
|
2356
|
-
delete
|
|
2356
|
+
delete Je[r];
|
|
2357
2357
|
});
|
|
2358
2358
|
return;
|
|
2359
2359
|
}
|
|
2360
2360
|
const l = S(() => {
|
|
2361
|
-
const c =
|
|
2361
|
+
const c = Je[o.path], u = Ne(o, o), f = c || u;
|
|
2362
2362
|
return f ? t.replace("%s", f) : "App";
|
|
2363
2363
|
});
|
|
2364
2364
|
i({
|
|
2365
2365
|
title: l
|
|
2366
2366
|
});
|
|
2367
2367
|
}
|
|
2368
|
-
const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
2368
|
+
const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" }, af = {
|
|
2369
2369
|
__name: "UluOverflowPopover",
|
|
2370
2370
|
props: {
|
|
2371
2371
|
/**
|
|
@@ -2374,13 +2374,13 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2374
2374
|
triggerIcon: String
|
|
2375
2375
|
},
|
|
2376
2376
|
setup(e) {
|
|
2377
|
-
const { resizing: s, onResizeEnd: t } = Oo(), n =
|
|
2378
|
-
|
|
2377
|
+
const { resizing: s, onResizeEnd: t } = Oo(), n = E(null), i = E(!1), o = () => {
|
|
2378
|
+
cs(() => {
|
|
2379
2379
|
const l = n.value;
|
|
2380
2380
|
i.value = l.offsetWidth < l.scrollWidth;
|
|
2381
2381
|
});
|
|
2382
2382
|
}, r = t(o);
|
|
2383
|
-
return
|
|
2383
|
+
return ln(o), fs(r), (l, c) => (a(), d("div", Do, [
|
|
2384
2384
|
h("div", {
|
|
2385
2385
|
class: "type-truncate",
|
|
2386
2386
|
ref_key: "text",
|
|
@@ -2388,13 +2388,13 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2388
2388
|
}, [
|
|
2389
2389
|
g(l.$slots, "default")
|
|
2390
2390
|
], 512),
|
|
2391
|
-
i.value && !
|
|
2391
|
+
i.value && !C(s) ? (a(), p(Ve, {
|
|
2392
2392
|
key: 0,
|
|
2393
2393
|
triggerAlt: "Show Full Text",
|
|
2394
2394
|
size: "large"
|
|
2395
2395
|
}, {
|
|
2396
2396
|
trigger: w(() => [
|
|
2397
|
-
|
|
2397
|
+
R(V, {
|
|
2398
2398
|
icon: e.triggerIcon || "type:ellipsis"
|
|
2399
2399
|
}, null, 8, ["icon"])
|
|
2400
2400
|
]),
|
|
@@ -2407,17 +2407,17 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2407
2407
|
})) : v("", !0)
|
|
2408
2408
|
]));
|
|
2409
2409
|
}
|
|
2410
|
-
},
|
|
2410
|
+
}, cf = {
|
|
2411
2411
|
__name: "UluTab",
|
|
2412
2412
|
setup(e) {
|
|
2413
|
-
return (s, t) => (a(), p(
|
|
2413
|
+
return (s, t) => (a(), p(C(fn), null, {
|
|
2414
2414
|
default: w((n) => [
|
|
2415
2415
|
g(s.$slots, "default", q(Y(n)))
|
|
2416
2416
|
]),
|
|
2417
2417
|
_: 3
|
|
2418
2418
|
}));
|
|
2419
2419
|
}
|
|
2420
|
-
},
|
|
2420
|
+
}, uf = /* @__PURE__ */ Object.assign({
|
|
2421
2421
|
inheritAttrs: !1
|
|
2422
2422
|
}, {
|
|
2423
2423
|
__name: "UluTabGroup",
|
|
@@ -2432,7 +2432,7 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2432
2432
|
vertical: Boolean
|
|
2433
2433
|
},
|
|
2434
2434
|
setup(e) {
|
|
2435
|
-
return (s, t) => (a(), p(
|
|
2435
|
+
return (s, t) => (a(), p(C(hn), {
|
|
2436
2436
|
defaultIndex: e.defaultIndex,
|
|
2437
2437
|
vertical: e.vertical
|
|
2438
2438
|
}, {
|
|
@@ -2448,30 +2448,30 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2448
2448
|
_: 3
|
|
2449
2449
|
}, 8, ["defaultIndex", "vertical"]));
|
|
2450
2450
|
}
|
|
2451
|
-
}),
|
|
2451
|
+
}), df = {
|
|
2452
2452
|
__name: "UluTabList",
|
|
2453
2453
|
setup(e) {
|
|
2454
|
-
return (s, t) => (a(), p(
|
|
2454
|
+
return (s, t) => (a(), p(C(mn), { class: "tabs__tablist" }, {
|
|
2455
2455
|
default: w(() => [
|
|
2456
2456
|
g(s.$slots, "default")
|
|
2457
2457
|
]),
|
|
2458
2458
|
_: 3
|
|
2459
2459
|
}));
|
|
2460
2460
|
}
|
|
2461
|
-
},
|
|
2461
|
+
}, ff = {
|
|
2462
2462
|
__name: "UluTabPanel",
|
|
2463
2463
|
setup(e) {
|
|
2464
|
-
return (s, t) => (a(), p(
|
|
2464
|
+
return (s, t) => (a(), p(C(gn), null, {
|
|
2465
2465
|
default: w((n) => [
|
|
2466
2466
|
g(s.$slots, "default", q(Y(n)))
|
|
2467
2467
|
]),
|
|
2468
2468
|
_: 3
|
|
2469
2469
|
}));
|
|
2470
2470
|
}
|
|
2471
|
-
},
|
|
2471
|
+
}, hf = {
|
|
2472
2472
|
__name: "UluTabPanels",
|
|
2473
2473
|
setup(e) {
|
|
2474
|
-
return (s, t) => (a(), p(
|
|
2474
|
+
return (s, t) => (a(), p(C(yn), null, {
|
|
2475
2475
|
default: w((n) => [
|
|
2476
2476
|
g(s.$slots, "default", q(Y(n)))
|
|
2477
2477
|
]),
|
|
@@ -2572,7 +2572,7 @@ const Do = { class: "layout-flex-baseline" }, No = { class: "type-word-break" },
|
|
|
2572
2572
|
return s && e.push(`button--${s}`), e;
|
|
2573
2573
|
},
|
|
2574
2574
|
element() {
|
|
2575
|
-
return this.to ?
|
|
2575
|
+
return this.to ? Fe : this.href ? "a" : "button";
|
|
2576
2576
|
},
|
|
2577
2577
|
attrs() {
|
|
2578
2578
|
const { to: e, href: s, download: t, target: n } = this, i = e ? { to: e } : s ? { href: s } : {};
|
|
@@ -2620,7 +2620,7 @@ function qo(e, s, t, n, i, o) {
|
|
|
2620
2620
|
_: 3
|
|
2621
2621
|
}, 16, ["class", "aria-label"]);
|
|
2622
2622
|
}
|
|
2623
|
-
const Yo = /* @__PURE__ */
|
|
2623
|
+
const Yo = /* @__PURE__ */ T(Wo, [["render", qo]]), Ko = {
|
|
2624
2624
|
name: "UluAlert",
|
|
2625
2625
|
components: {
|
|
2626
2626
|
UluButton: Yo,
|
|
@@ -2676,7 +2676,7 @@ function Qo(e, s, t, n, i, o) {
|
|
|
2676
2676
|
class: m(["callout", n.resolvedModifiers])
|
|
2677
2677
|
}, [
|
|
2678
2678
|
h("div", Go, [
|
|
2679
|
-
|
|
2679
|
+
R(r, {
|
|
2680
2680
|
class: m(["type-large margin-right-small", `color-${t.type}`]),
|
|
2681
2681
|
icon: t.icon || `type:${t.type}`
|
|
2682
2682
|
}, null, 8, ["class", "icon"]),
|
|
@@ -2698,7 +2698,7 @@ function Qo(e, s, t, n, i, o) {
|
|
|
2698
2698
|
])
|
|
2699
2699
|
], 2);
|
|
2700
2700
|
}
|
|
2701
|
-
const
|
|
2701
|
+
const mf = /* @__PURE__ */ T(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
|
|
2702
2702
|
key: 2,
|
|
2703
2703
|
class: "hidden-visually"
|
|
2704
2704
|
}, si = {
|
|
@@ -2716,7 +2716,7 @@ const gf = /* @__PURE__ */ C(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
|
|
|
2716
2716
|
setup(e) {
|
|
2717
2717
|
const s = e, t = S(() => !!(s.to || s.click)), n = S(() => {
|
|
2718
2718
|
const { click: i, to: o, href: r } = s;
|
|
2719
|
-
return i ? "button" : o ?
|
|
2719
|
+
return i ? "button" : o ? Fe : r ? "a" : "span";
|
|
2720
2720
|
});
|
|
2721
2721
|
return (i, o) => (a(), p(B(n.value), {
|
|
2722
2722
|
class: m(["badge", [
|
|
@@ -2742,7 +2742,7 @@ const gf = /* @__PURE__ */ C(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
|
|
|
2742
2742
|
_: 3
|
|
2743
2743
|
}, 8, ["class", "to", "href", "onClick"]));
|
|
2744
2744
|
}
|
|
2745
|
-
}, ni = { class: "badge-stack" },
|
|
2745
|
+
}, ni = { class: "badge-stack" }, gf = {
|
|
2746
2746
|
__name: "UluBadgeStack",
|
|
2747
2747
|
props: {
|
|
2748
2748
|
/**
|
|
@@ -2756,7 +2756,7 @@ const gf = /* @__PURE__ */ C(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
|
|
|
2756
2756
|
class: "badge-stack__item",
|
|
2757
2757
|
key: i
|
|
2758
2758
|
}, [
|
|
2759
|
-
|
|
2759
|
+
R(si, Z({ ref_for: !0 }, n), null, 16)
|
|
2760
2760
|
]))), 128))
|
|
2761
2761
|
]));
|
|
2762
2762
|
}
|
|
@@ -2820,7 +2820,7 @@ const gf = /* @__PURE__ */ C(Ko, [["render", Qo]]), ei = ["aria-hidden"], ti = {
|
|
|
2820
2820
|
},
|
|
2821
2821
|
computed: {
|
|
2822
2822
|
element() {
|
|
2823
|
-
return this.to ?
|
|
2823
|
+
return this.to ? Fe : this.href ? "a" : "button";
|
|
2824
2824
|
},
|
|
2825
2825
|
attrs() {
|
|
2826
2826
|
const { to: e, href: s, download: t, target: n } = this, i = e ? { to: e } : s ? { href: s } : {};
|
|
@@ -2869,7 +2869,7 @@ function ri(e, s, t, n, i, o) {
|
|
|
2869
2869
|
_: 3
|
|
2870
2870
|
}, 16, ["class"]);
|
|
2871
2871
|
}
|
|
2872
|
-
const
|
|
2872
|
+
const yf = /* @__PURE__ */ T(oi, [["render", ri]]), li = {
|
|
2873
2873
|
name: "UluCallout",
|
|
2874
2874
|
props: {
|
|
2875
2875
|
/**
|
|
@@ -2894,7 +2894,7 @@ function ai(e, s, t, n, i, o) {
|
|
|
2894
2894
|
g(e.$slots, "default")
|
|
2895
2895
|
], 2);
|
|
2896
2896
|
}
|
|
2897
|
-
const
|
|
2897
|
+
const pf = /* @__PURE__ */ T(li, [["render", ai]]), Mt = (e, s) => {
|
|
2898
2898
|
const t = !(s.to || s.href);
|
|
2899
2899
|
return t || console.warn("'titleHref' and 'titleTo' can't be used with to or href (nesting links)"), t;
|
|
2900
2900
|
}, ci = {
|
|
@@ -2925,14 +2925,14 @@ const _f = /* @__PURE__ */ C(li, [["render", ai]]), It = (e, s) => {
|
|
|
2925
2925
|
*/
|
|
2926
2926
|
titleTo: {
|
|
2927
2927
|
type: [String, Object],
|
|
2928
|
-
validator:
|
|
2928
|
+
validator: Mt
|
|
2929
2929
|
},
|
|
2930
2930
|
/**
|
|
2931
2931
|
* Will make title a link to href
|
|
2932
2932
|
*/
|
|
2933
2933
|
titleHref: {
|
|
2934
2934
|
type: String,
|
|
2935
|
-
validator:
|
|
2935
|
+
validator: Mt
|
|
2936
2936
|
},
|
|
2937
2937
|
/**
|
|
2938
2938
|
* When using href this will set title link's target attribute
|
|
@@ -3023,7 +3023,7 @@ const _f = /* @__PURE__ */ C(li, [["render", ai]]), It = (e, s) => {
|
|
|
3023
3023
|
computed: {
|
|
3024
3024
|
resolvedElement() {
|
|
3025
3025
|
const { cardElement: e, to: s, href: t } = this;
|
|
3026
|
-
return s ?
|
|
3026
|
+
return s ? Fe : t ? "a" : e;
|
|
3027
3027
|
}
|
|
3028
3028
|
},
|
|
3029
3029
|
methods: {
|
|
@@ -3058,7 +3058,7 @@ function yi(e, s, t, n, i, o) {
|
|
|
3058
3058
|
]]),
|
|
3059
3059
|
onMousedown: o.onMousedown,
|
|
3060
3060
|
onMouseup: o.onMouseup,
|
|
3061
|
-
style:
|
|
3061
|
+
style: L({ cursor: i.cursorStyle }),
|
|
3062
3062
|
target: t.target,
|
|
3063
3063
|
to: t.to,
|
|
3064
3064
|
href: t.href,
|
|
@@ -3126,7 +3126,7 @@ function yi(e, s, t, n, i, o) {
|
|
|
3126
3126
|
_: 3
|
|
3127
3127
|
}, 40, ["onMousedown", "onMouseup", "class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]);
|
|
3128
3128
|
}
|
|
3129
|
-
const vf = /* @__PURE__ */
|
|
3129
|
+
const vf = /* @__PURE__ */ T(ci, [["render", yi]]), _f = {
|
|
3130
3130
|
__name: "UluDefinitionList",
|
|
3131
3131
|
props: {
|
|
3132
3132
|
/**
|
|
@@ -3173,7 +3173,7 @@ const vf = /* @__PURE__ */ C(ci, [["render", yi]]), bf = {
|
|
|
3173
3173
|
], 2))), 128))
|
|
3174
3174
|
], 2));
|
|
3175
3175
|
}
|
|
3176
|
-
}, pi = ["href", "target"],
|
|
3176
|
+
}, pi = ["href", "target"], vi = { class: "external-link__text" }, bf = {
|
|
3177
3177
|
__name: "UluExternalLink",
|
|
3178
3178
|
props: {
|
|
3179
3179
|
/**
|
|
@@ -3202,18 +3202,18 @@ const vf = /* @__PURE__ */ C(ci, [["render", yi]]), bf = {
|
|
|
3202
3202
|
href: e.href,
|
|
3203
3203
|
target: e.target
|
|
3204
3204
|
}, [
|
|
3205
|
-
h("span",
|
|
3205
|
+
h("span", vi, [
|
|
3206
3206
|
g(s.$slots, "default", {}, () => [
|
|
3207
3207
|
k(y(e.text), 1)
|
|
3208
3208
|
])
|
|
3209
3209
|
]),
|
|
3210
|
-
|
|
3210
|
+
R(V, {
|
|
3211
3211
|
class: "external-link__icon margin-left-small-x display-inline",
|
|
3212
3212
|
icon: e.icon || "type:externalLink"
|
|
3213
3213
|
}, null, 8, ["icon"])
|
|
3214
3214
|
], 8, pi));
|
|
3215
3215
|
}
|
|
3216
|
-
},
|
|
3216
|
+
}, wf = {
|
|
3217
3217
|
__name: "UluList",
|
|
3218
3218
|
props: {
|
|
3219
3219
|
/**
|
|
@@ -3274,7 +3274,7 @@ const vf = /* @__PURE__ */ C(ci, [["render", yi]]), bf = {
|
|
|
3274
3274
|
},
|
|
3275
3275
|
e.classes.list
|
|
3276
3276
|
]),
|
|
3277
|
-
style:
|
|
3277
|
+
style: L({
|
|
3278
3278
|
listStyleType: e.listStyleType
|
|
3279
3279
|
}),
|
|
3280
3280
|
reversed: e.reversed,
|
|
@@ -3296,13 +3296,13 @@ const vf = /* @__PURE__ */ C(ci, [["render", yi]]), bf = {
|
|
|
3296
3296
|
_: 3
|
|
3297
3297
|
}, 8, ["class", "style", "reversed", "start"]));
|
|
3298
3298
|
}
|
|
3299
|
-
},
|
|
3299
|
+
}, _i = {}, bi = { id: "main-content" };
|
|
3300
3300
|
function wi(e, s) {
|
|
3301
3301
|
return a(), d("main", bi, [
|
|
3302
3302
|
g(e.$slots, "default")
|
|
3303
3303
|
]);
|
|
3304
3304
|
}
|
|
3305
|
-
const
|
|
3305
|
+
const Sf = /* @__PURE__ */ T(_i, [["render", wi]]), Si = { class: "spoke-spinner__spinner" }, kf = {
|
|
3306
3306
|
__name: "UluSpokeSpinner",
|
|
3307
3307
|
props: {
|
|
3308
3308
|
/**
|
|
@@ -3319,7 +3319,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3319
3319
|
])
|
|
3320
3320
|
], 2));
|
|
3321
3321
|
}
|
|
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"],
|
|
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"], xs = {
|
|
3323
3323
|
__name: "UluSelectableMenu",
|
|
3324
3324
|
props: {
|
|
3325
3325
|
legend: String,
|
|
@@ -3328,7 +3328,8 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3328
3328
|
type: String,
|
|
3329
3329
|
default: "checkbox"
|
|
3330
3330
|
},
|
|
3331
|
-
modelValue: [String, Array]
|
|
3331
|
+
modelValue: [String, Array],
|
|
3332
|
+
hideInputs: Boolean
|
|
3332
3333
|
},
|
|
3333
3334
|
emits: ["update:modelValue"],
|
|
3334
3335
|
setup(e, { emit: s }) {
|
|
@@ -3336,13 +3337,13 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3336
3337
|
if (t.type === "radio")
|
|
3337
3338
|
n("update:modelValue", f.uid);
|
|
3338
3339
|
else if (Array.isArray(t.modelValue)) {
|
|
3339
|
-
const b = [...t.modelValue],
|
|
3340
|
-
|
|
3340
|
+
const b = [...t.modelValue], x = b.indexOf(f.uid);
|
|
3341
|
+
x > -1 ? b.splice(x, 1) : b.push(f.uid), n("update:modelValue", b);
|
|
3341
3342
|
} else
|
|
3342
3343
|
f.checked = _.target.checked;
|
|
3343
3344
|
};
|
|
3344
3345
|
return (f, _) => (a(), d("div", {
|
|
3345
|
-
class: "menu-stack form-theme",
|
|
3346
|
+
class: m(["menu-stack form-theme", { "menu-stack--hide-inputs": e.hideInputs }]),
|
|
3346
3347
|
role: r.value,
|
|
3347
3348
|
"aria-labelledby": o.value
|
|
3348
3349
|
}, [
|
|
@@ -3358,16 +3359,14 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3358
3359
|
}, [
|
|
3359
3360
|
h("div", $i, [
|
|
3360
3361
|
h("input", {
|
|
3361
|
-
class: "menu-stack__selectable-input",
|
|
3362
3362
|
type: e.type,
|
|
3363
3363
|
id: l(b),
|
|
3364
3364
|
name: i.value,
|
|
3365
3365
|
value: b.uid,
|
|
3366
3366
|
checked: c(b),
|
|
3367
|
-
onChange: (
|
|
3367
|
+
onChange: (x) => u(b, x)
|
|
3368
3368
|
}, null, 40, Ai),
|
|
3369
3369
|
h("label", {
|
|
3370
|
-
class: "menu-stack__selectable-label",
|
|
3371
3370
|
for: l(b)
|
|
3372
3371
|
}, [
|
|
3373
3372
|
g(f.$slots, "default", { option: b }, () => [
|
|
@@ -3377,9 +3376,9 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3377
3376
|
])
|
|
3378
3377
|
]))), 128))
|
|
3379
3378
|
])
|
|
3380
|
-
],
|
|
3379
|
+
], 10, ki));
|
|
3381
3380
|
}
|
|
3382
|
-
},
|
|
3381
|
+
}, xi = ["href", "download"], Ri = { class: "margin-left-small-x" }, Cf = {
|
|
3383
3382
|
__name: "UluFileDisplay",
|
|
3384
3383
|
props: {
|
|
3385
3384
|
file: {
|
|
@@ -3406,13 +3405,13 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3406
3405
|
fileName: e.file.name,
|
|
3407
3406
|
fileSize: n.value
|
|
3408
3407
|
}, () => [
|
|
3409
|
-
|
|
3408
|
+
R(V, {
|
|
3410
3409
|
class: "ui-icon",
|
|
3411
3410
|
icon: e.icon
|
|
3412
3411
|
}, null, 8, ["icon"]),
|
|
3413
|
-
h("span",
|
|
3412
|
+
h("span", Ri, [
|
|
3414
3413
|
k(y(e.file.name) + " ", 1),
|
|
3415
|
-
e.noFileSize ? v("", !0) : (a(), p(
|
|
3414
|
+
e.noFileSize ? v("", !0) : (a(), p(Cs, {
|
|
3416
3415
|
key: 0,
|
|
3417
3416
|
text: n.value,
|
|
3418
3417
|
small: "",
|
|
@@ -3420,9 +3419,9 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3420
3419
|
}, null, 8, ["text"]))
|
|
3421
3420
|
])
|
|
3422
3421
|
])
|
|
3423
|
-
], 8,
|
|
3422
|
+
], 8, xi));
|
|
3424
3423
|
}
|
|
3425
|
-
}, Ui = { class: "site-form__item site-form__item--file" }, ji = ["for"],
|
|
3424
|
+
}, Ui = { class: "site-form__item site-form__item--file" }, ji = ["for"], Ii = ["multiple", "id"], Tf = {
|
|
3426
3425
|
__name: "UluFormFile",
|
|
3427
3426
|
props: {
|
|
3428
3427
|
label: {
|
|
@@ -3445,7 +3444,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3445
3444
|
return (r, l) => (a(), d("div", Ui, [
|
|
3446
3445
|
h("label", {
|
|
3447
3446
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3448
|
-
for:
|
|
3447
|
+
for: C(i)
|
|
3449
3448
|
}, [
|
|
3450
3449
|
g(r.$slots, "label", {}, () => [
|
|
3451
3450
|
k(y(e.label), 1)
|
|
@@ -3455,11 +3454,11 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3455
3454
|
type: "file",
|
|
3456
3455
|
onChange: o,
|
|
3457
3456
|
multiple: e.multiple,
|
|
3458
|
-
id:
|
|
3459
|
-
}, e.inputAttrs), null, 16,
|
|
3457
|
+
id: C(i)
|
|
3458
|
+
}, e.inputAttrs), null, 16, Ii)
|
|
3460
3459
|
]));
|
|
3461
3460
|
}
|
|
3462
|
-
},
|
|
3461
|
+
}, $f = {
|
|
3463
3462
|
__name: "UluFormMessage",
|
|
3464
3463
|
props: {
|
|
3465
3464
|
warning: Boolean,
|
|
@@ -3479,7 +3478,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3479
3478
|
g(s.$slots, "default")
|
|
3480
3479
|
], 2));
|
|
3481
3480
|
}
|
|
3482
|
-
},
|
|
3481
|
+
}, Ei = { class: "site-form__item site-form__item--select" }, zi = ["for"], Mi = ["id", "value"], Bi = ["value"], Af = {
|
|
3483
3482
|
__name: "UluFormSelect",
|
|
3484
3483
|
props: {
|
|
3485
3484
|
label: String,
|
|
@@ -3493,17 +3492,17 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3493
3492
|
let n = 0;
|
|
3494
3493
|
return () => `select-id-${++n}`;
|
|
3495
3494
|
})())();
|
|
3496
|
-
return (n, i) => (a(), d("div",
|
|
3495
|
+
return (n, i) => (a(), d("div", Ei, [
|
|
3497
3496
|
h("label", {
|
|
3498
3497
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3499
|
-
for:
|
|
3498
|
+
for: C(t)
|
|
3500
3499
|
}, [
|
|
3501
3500
|
g(n.$slots, "default", {}, () => [
|
|
3502
3501
|
k(y(e.label), 1)
|
|
3503
3502
|
])
|
|
3504
|
-
], 10,
|
|
3503
|
+
], 10, zi),
|
|
3505
3504
|
h("select", {
|
|
3506
|
-
id:
|
|
3505
|
+
id: C(t),
|
|
3507
3506
|
value: e.modelValue,
|
|
3508
3507
|
onInput: i[0] || (i[0] = (o) => n.$emit("update:modelValue", o.target.value))
|
|
3509
3508
|
}, [
|
|
@@ -3518,7 +3517,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3518
3517
|
], 40, Mi)
|
|
3519
3518
|
]));
|
|
3520
3519
|
}
|
|
3521
|
-
}, Pi = { class: "site-form__item site-form__item--text" },
|
|
3520
|
+
}, Pi = { class: "site-form__item site-form__item--text" }, Li = ["for"], Hi = ["value", "id"], Of = {
|
|
3522
3521
|
__name: "UluFormText",
|
|
3523
3522
|
props: {
|
|
3524
3523
|
label: String,
|
|
@@ -3534,21 +3533,21 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3534
3533
|
return (n, i) => (a(), d("div", Pi, [
|
|
3535
3534
|
h("label", {
|
|
3536
3535
|
class: m({ "hidden-visually": e.labelHidden }),
|
|
3537
|
-
for:
|
|
3536
|
+
for: C(t)
|
|
3538
3537
|
}, [
|
|
3539
3538
|
g(n.$slots, "default", {}, () => [
|
|
3540
3539
|
k(y(e.label), 1)
|
|
3541
3540
|
])
|
|
3542
|
-
], 10,
|
|
3541
|
+
], 10, Li),
|
|
3543
3542
|
h("input", {
|
|
3544
3543
|
type: "text",
|
|
3545
3544
|
value: e.modelValue,
|
|
3546
3545
|
onInput: i[0] || (i[0] = (o) => n.$emit("update:modelValue", o.target.value)),
|
|
3547
|
-
id:
|
|
3548
|
-
}, null, 40,
|
|
3546
|
+
id: C(t)
|
|
3547
|
+
}, null, 40, Hi)
|
|
3549
3548
|
]));
|
|
3550
3549
|
}
|
|
3551
|
-
},
|
|
3550
|
+
}, Fi = { class: "form-theme search-form type-small" }, Vi = { class: "search-form__field" }, Di = ["placeholder"], Ni = {
|
|
3552
3551
|
class: "search-form__submit button button--primary",
|
|
3553
3552
|
"aria-label": "Submit Search"
|
|
3554
3553
|
}, xf = {
|
|
@@ -3560,7 +3559,7 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3560
3559
|
}
|
|
3561
3560
|
},
|
|
3562
3561
|
setup(e) {
|
|
3563
|
-
return (s, t) => (a(), d("div",
|
|
3562
|
+
return (s, t) => (a(), d("div", Fi, [
|
|
3564
3563
|
h("div", Vi, [
|
|
3565
3564
|
t[0] || (t[0] = h("label", { class: "hidden-visually" }, "Search", -1)),
|
|
3566
3565
|
h("input", {
|
|
@@ -3571,15 +3570,15 @@ const kf = /* @__PURE__ */ C(vi, [["render", wi]]), Si = { class: "spoke-spinner
|
|
|
3571
3570
|
}, null, 8, Di)
|
|
3572
3571
|
]),
|
|
3573
3572
|
h("button", Ni, [
|
|
3574
|
-
|
|
3573
|
+
R(V, { icon: "type:search" })
|
|
3575
3574
|
])
|
|
3576
3575
|
]));
|
|
3577
3576
|
}
|
|
3578
|
-
},
|
|
3577
|
+
}, Rf = {
|
|
3579
3578
|
__name: "UluAdaptiveLayout",
|
|
3580
3579
|
setup(e) {
|
|
3581
|
-
const s =
|
|
3582
|
-
return (t, n) => !
|
|
3580
|
+
const s = Ro("uluIsMobile");
|
|
3581
|
+
return (t, n) => !C(s) || !t.$slots.mobile ? g(t.$slots, "default", { key: 0 }) : g(t.$slots, "mobile", { key: 1 });
|
|
3583
3582
|
}
|
|
3584
3583
|
};
|
|
3585
3584
|
function Wi(e) {
|
|
@@ -3607,7 +3606,7 @@ const qi = {
|
|
|
3607
3606
|
name: "UluDataGrid",
|
|
3608
3607
|
async mounted() {
|
|
3609
3608
|
const e = () => Xi(this.$el);
|
|
3610
|
-
e(), this.resizeHandler =
|
|
3609
|
+
e(), this.resizeHandler = De(e, 200, !1, this), window.addEventListener("resize", this.resizeHandler);
|
|
3611
3610
|
},
|
|
3612
3611
|
beforeUnmount() {
|
|
3613
3612
|
this.resizeHandler && window.removeEventListener("resize", this.resizeHandler);
|
|
@@ -3618,7 +3617,7 @@ function Yi(e, s, t, n, i, o) {
|
|
|
3618
3617
|
g(e.$slots, "default")
|
|
3619
3618
|
]);
|
|
3620
3619
|
}
|
|
3621
|
-
const
|
|
3620
|
+
const Uf = /* @__PURE__ */ T(qi, [["render", Yi]]), Ki = {
|
|
3622
3621
|
name: "UluTitleRail",
|
|
3623
3622
|
components: {
|
|
3624
3623
|
UluIcon: V
|
|
@@ -3659,7 +3658,7 @@ function Zi(e, s, t, n, i, o) {
|
|
|
3659
3658
|
}, [
|
|
3660
3659
|
(a(), p(B(t.titleElement), {
|
|
3661
3660
|
class: m(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
3662
|
-
style:
|
|
3661
|
+
style: L({ alignItems: t.iconAlign })
|
|
3663
3662
|
}, {
|
|
3664
3663
|
default: w(() => [
|
|
3665
3664
|
t.icon ? (a(), p(r, {
|
|
@@ -3679,7 +3678,7 @@ function Zi(e, s, t, n, i, o) {
|
|
|
3679
3678
|
])) : v("", !0)
|
|
3680
3679
|
], 2);
|
|
3681
3680
|
}
|
|
3682
|
-
const
|
|
3681
|
+
const jf = /* @__PURE__ */ T(Ki, [["render", Zi]]), Ji = {
|
|
3683
3682
|
name: "UluBreadcrumb",
|
|
3684
3683
|
components: {
|
|
3685
3684
|
UluIcon: V
|
|
@@ -3749,7 +3748,7 @@ function Qi(e, s, t, n, i, o) {
|
|
|
3749
3748
|
_: 2
|
|
3750
3749
|
}, 1032, ["to", "class", "aria-current"])),
|
|
3751
3750
|
u < t.items.length - 1 ? g(e.$slots, "separator", { key: 2 }, () => [
|
|
3752
|
-
|
|
3751
|
+
R(l, {
|
|
3753
3752
|
class: m(t.classes.separator),
|
|
3754
3753
|
icon: t.separatorIcon || "type:pathSeparator"
|
|
3755
3754
|
}, null, 8, ["class", "icon"])
|
|
@@ -3758,10 +3757,10 @@ function Qi(e, s, t, n, i, o) {
|
|
|
3758
3757
|
], 2)
|
|
3759
3758
|
], 2)) : v("", !0);
|
|
3760
3759
|
}
|
|
3761
|
-
const
|
|
3760
|
+
const If = /* @__PURE__ */ T(Ji, [["render", Qi]]), er = {
|
|
3762
3761
|
name: "UluNavStrip",
|
|
3763
3762
|
components: {
|
|
3764
|
-
UluMenu:
|
|
3763
|
+
UluMenu: Ts
|
|
3765
3764
|
},
|
|
3766
3765
|
props: {
|
|
3767
3766
|
/**
|
|
@@ -3791,7 +3790,7 @@ function tr(e, s, t, n, i, o) {
|
|
|
3791
3790
|
"nav-strip--right": t.right
|
|
3792
3791
|
}])
|
|
3793
3792
|
}, [
|
|
3794
|
-
|
|
3793
|
+
R(r, {
|
|
3795
3794
|
items: t.items,
|
|
3796
3795
|
classes: {
|
|
3797
3796
|
list: "nav-strip__list",
|
|
@@ -3802,14 +3801,14 @@ function tr(e, s, t, n, i, o) {
|
|
|
3802
3801
|
}, null, 8, ["items"])
|
|
3803
3802
|
], 2);
|
|
3804
3803
|
}
|
|
3805
|
-
const
|
|
3804
|
+
const Ef = /* @__PURE__ */ T(er, [["render", tr]]), sr = {}, nr = {
|
|
3806
3805
|
class: "site-skip-link hidden-visually-focusable",
|
|
3807
3806
|
href: "#main-content"
|
|
3808
3807
|
};
|
|
3809
3808
|
function or(e, s) {
|
|
3810
3809
|
return a(), d("a", nr, " Skip to main content ");
|
|
3811
3810
|
}
|
|
3812
|
-
const
|
|
3811
|
+
const zf = /* @__PURE__ */ T(sr, [["render", or]]), ir = {
|
|
3813
3812
|
name: "UluCondText",
|
|
3814
3813
|
props: {
|
|
3815
3814
|
/**
|
|
@@ -3833,17 +3832,17 @@ function rr(e, s, t, n, i, o) {
|
|
|
3833
3832
|
_: 1
|
|
3834
3833
|
})) : v("", !0);
|
|
3835
3834
|
}
|
|
3836
|
-
const
|
|
3835
|
+
const Mf = /* @__PURE__ */ T(ir, [["render", rr]]), lr = {}, ar = { style: { display: "none" } };
|
|
3837
3836
|
function cr(e, s) {
|
|
3838
3837
|
return a(), d("span", ar);
|
|
3839
3838
|
}
|
|
3840
|
-
const
|
|
3839
|
+
const Bf = /* @__PURE__ */ T(lr, [["render", cr]]), ur = {};
|
|
3841
3840
|
function dr(e, s) {
|
|
3842
3841
|
const t = z("router-view");
|
|
3843
3842
|
return a(), p(t);
|
|
3844
3843
|
}
|
|
3845
|
-
const
|
|
3846
|
-
function
|
|
3844
|
+
const Pf = /* @__PURE__ */ T(ur, [["render", dr]]);
|
|
3845
|
+
function Pe(e = 0, s = 100) {
|
|
3847
3846
|
return e = Math.ceil(e), s = Math.floor(s), Math.floor(Math.random() * (s - e) + e);
|
|
3848
3847
|
}
|
|
3849
3848
|
const fr = {
|
|
@@ -3881,8 +3880,8 @@ const fr = {
|
|
|
3881
3880
|
size() {
|
|
3882
3881
|
const { random: e, width: s, height: t } = this;
|
|
3883
3882
|
return e ? {
|
|
3884
|
-
width:
|
|
3885
|
-
height:
|
|
3883
|
+
width: Pe(500, 1e3),
|
|
3884
|
+
height: Pe(500, 1e3)
|
|
3886
3885
|
} : { width: s, height: t };
|
|
3887
3886
|
}
|
|
3888
3887
|
}
|
|
@@ -3893,7 +3892,7 @@ function mr(e, s, t, n, i, o) {
|
|
|
3893
3892
|
alt: t.alt
|
|
3894
3893
|
}, null, 8, hr);
|
|
3895
3894
|
}
|
|
3896
|
-
const Lf = /* @__PURE__ */
|
|
3895
|
+
const Lf = /* @__PURE__ */ T(fr, [["render", mr]]), gr = {
|
|
3897
3896
|
name: "PlaceholderText",
|
|
3898
3897
|
props: {
|
|
3899
3898
|
amount: {
|
|
@@ -3914,7 +3913,7 @@ function yr(e, s, t, n, i, o) {
|
|
|
3914
3913
|
_: 2
|
|
3915
3914
|
}, 1024))), 128);
|
|
3916
3915
|
}
|
|
3917
|
-
const Hf = /* @__PURE__ */
|
|
3916
|
+
const Hf = /* @__PURE__ */ T(gr, [["render", yr]]), pr = {
|
|
3918
3917
|
name: "RouteAnnouncer",
|
|
3919
3918
|
props: {
|
|
3920
3919
|
/**
|
|
@@ -3959,7 +3958,7 @@ const Hf = /* @__PURE__ */ C(gr, [["render", yr]]), pr = {
|
|
|
3959
3958
|
}
|
|
3960
3959
|
}
|
|
3961
3960
|
};
|
|
3962
|
-
function
|
|
3961
|
+
function vr(e, s, t, n, i, o) {
|
|
3963
3962
|
return o.title ? (a(), d("p", {
|
|
3964
3963
|
key: 0,
|
|
3965
3964
|
tabindex: "-1",
|
|
@@ -3967,7 +3966,7 @@ function _r(e, s, t, n, i, o) {
|
|
|
3967
3966
|
ref: "el"
|
|
3968
3967
|
}, y(o.title), 513)) : v("", !0);
|
|
3969
3968
|
}
|
|
3970
|
-
const
|
|
3969
|
+
const Ff = /* @__PURE__ */ T(pr, [["render", vr]]), _r = {
|
|
3971
3970
|
name: "AnimateNumber",
|
|
3972
3971
|
props: {
|
|
3973
3972
|
/**
|
|
@@ -3977,7 +3976,7 @@ const Vf = /* @__PURE__ */ C(pr, [["render", _r]]), vr = {
|
|
|
3977
3976
|
},
|
|
3978
3977
|
watch: {
|
|
3979
3978
|
value() {
|
|
3980
|
-
|
|
3979
|
+
vn.to(this, {
|
|
3981
3980
|
tweenValue: this.value,
|
|
3982
3981
|
onUpdate: () => {
|
|
3983
3982
|
this.currentValue = Math.ceil(this.tweenValue);
|
|
@@ -3999,7 +3998,7 @@ function br(e, s, t, n, i, o) {
|
|
|
3999
3998
|
])
|
|
4000
3999
|
]);
|
|
4001
4000
|
}
|
|
4002
|
-
const
|
|
4001
|
+
const Vf = /* @__PURE__ */ T(_r, [["render", br]]), wr = {
|
|
4003
4002
|
name: "ProgressBar",
|
|
4004
4003
|
props: {
|
|
4005
4004
|
small: Boolean,
|
|
@@ -4041,8 +4040,8 @@ const Df = /* @__PURE__ */ C(vr, [["render", br]]), wr = {
|
|
|
4041
4040
|
}, Cr = { class: "hidden-visually" }, Tr = { class: "progress-bar__track" }, $r = { class: "progress-bar__values" }, Ar = { class: "progress-bar__value progress-bar__value--amount" }, Or = {
|
|
4042
4041
|
key: 0,
|
|
4043
4042
|
class: "progress-bar__value progress-bar__value--deficit color-status is-danger"
|
|
4044
|
-
},
|
|
4045
|
-
function
|
|
4043
|
+
}, xr = { class: "progress-bar__value progress-bar__value--total" };
|
|
4044
|
+
function Rr(e, s, t, n, i, o) {
|
|
4046
4045
|
const r = z("StatusIcon");
|
|
4047
4046
|
return a(), d("div", {
|
|
4048
4047
|
class: m(["progress-bar", {
|
|
@@ -4059,7 +4058,7 @@ function xr(e, s, t, n, i, o) {
|
|
|
4059
4058
|
}])
|
|
4060
4059
|
}, y(t.label), 3),
|
|
4061
4060
|
o.status ? (a(), d("div", kr, [
|
|
4062
|
-
|
|
4061
|
+
R(r, {
|
|
4063
4062
|
type: o.status.type
|
|
4064
4063
|
}, null, 8, ["type"]),
|
|
4065
4064
|
h("span", Cr, y(o.status.message), 1)
|
|
@@ -4068,12 +4067,12 @@ function xr(e, s, t, n, i, o) {
|
|
|
4068
4067
|
h("div", Tr, [
|
|
4069
4068
|
h("div", {
|
|
4070
4069
|
class: "progress-bar__bar",
|
|
4071
|
-
style:
|
|
4070
|
+
style: L(`width: ${o.percentage}%`)
|
|
4072
4071
|
}, null, 4),
|
|
4073
4072
|
t.deficit ? (a(), d("div", {
|
|
4074
4073
|
key: 0,
|
|
4075
4074
|
class: "progress-bar__bar--deficit",
|
|
4076
|
-
style:
|
|
4075
|
+
style: L(`width: ${o.defPercentage}%`)
|
|
4077
4076
|
}, null, 4)) : v("", !0)
|
|
4078
4077
|
]),
|
|
4079
4078
|
h("div", $r, [
|
|
@@ -4085,14 +4084,14 @@ function xr(e, s, t, n, i, o) {
|
|
|
4085
4084
|
s[1] || (s[1] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
|
|
4086
4085
|
k(" -" + y(t.deficit), 1)
|
|
4087
4086
|
])) : v("", !0),
|
|
4088
|
-
h("div",
|
|
4087
|
+
h("div", xr, [
|
|
4089
4088
|
s[2] || (s[2] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
|
|
4090
4089
|
k(" " + y(t.total), 1)
|
|
4091
4090
|
])
|
|
4092
4091
|
])
|
|
4093
4092
|
], 2);
|
|
4094
4093
|
}
|
|
4095
|
-
const
|
|
4094
|
+
const Df = /* @__PURE__ */ T(wr, [["render", Rr]]);
|
|
4096
4095
|
let Ur = 0;
|
|
4097
4096
|
const jr = {
|
|
4098
4097
|
name: "ProgressDonut",
|
|
@@ -4143,10 +4142,10 @@ const jr = {
|
|
|
4143
4142
|
mounted() {
|
|
4144
4143
|
this.animate();
|
|
4145
4144
|
}
|
|
4146
|
-
},
|
|
4145
|
+
}, Ir = { class: "progress-donut__chart" }, Er = {
|
|
4147
4146
|
class: "progress-donut__chart-svg",
|
|
4148
4147
|
viewBox: "0 0 32 32"
|
|
4149
|
-
},
|
|
4148
|
+
}, zr = ["r"], Mr = {
|
|
4150
4149
|
key: 0,
|
|
4151
4150
|
class: "progress-donut__chart-value"
|
|
4152
4151
|
}, Br = {
|
|
@@ -4164,30 +4163,30 @@ function Pr(e, s, t, n, i, o) {
|
|
|
4164
4163
|
}])
|
|
4165
4164
|
}, [
|
|
4166
4165
|
s[0] || (s[0] = h("strong", { class: "hidden-visually" }, "Course Progress", -1)),
|
|
4167
|
-
h("div",
|
|
4168
|
-
(a(), d("svg",
|
|
4166
|
+
h("div", Ir, [
|
|
4167
|
+
(a(), d("svg", Er, [
|
|
4169
4168
|
h("circle", {
|
|
4170
4169
|
class: "progress-donut__chart-pie",
|
|
4171
4170
|
ref: "pie",
|
|
4172
4171
|
r: "16",
|
|
4173
4172
|
cx: "16",
|
|
4174
4173
|
cy: "16",
|
|
4175
|
-
style:
|
|
4174
|
+
style: L({ strokeDasharray: o.endDasharray })
|
|
4176
4175
|
}, null, 4),
|
|
4177
4176
|
h("circle", {
|
|
4178
4177
|
class: "progress-donut__chart-mask",
|
|
4179
4178
|
r: t.small ? 7 : 11,
|
|
4180
4179
|
cx: "16",
|
|
4181
4180
|
cy: "16"
|
|
4182
|
-
}, null, 8,
|
|
4181
|
+
}, null, 8, zr)
|
|
4183
4182
|
])),
|
|
4184
4183
|
t.small ? v("", !0) : (a(), d("strong", Mr, y(t.percentage) + "% ", 1))
|
|
4185
4184
|
]),
|
|
4186
4185
|
t.small ? (a(), d("strong", Br, y(t.percentage) + "% ", 1)) : v("", !0)
|
|
4187
4186
|
], 2);
|
|
4188
4187
|
}
|
|
4189
|
-
const
|
|
4190
|
-
function
|
|
4188
|
+
const Nf = /* @__PURE__ */ T(jr, [["render", Pr]]);
|
|
4189
|
+
function Lr(e, s) {
|
|
4191
4190
|
return !s || !Array.isArray(s) ? [] : s.map((t) => {
|
|
4192
4191
|
const n = /* @__PURE__ */ new Set(), i = t.getValue || ((l) => l[t.uid]);
|
|
4193
4192
|
e.forEach((l) => {
|
|
@@ -4205,10 +4204,10 @@ function Fr(e, s) {
|
|
|
4205
4204
|
};
|
|
4206
4205
|
});
|
|
4207
4206
|
}
|
|
4208
|
-
function
|
|
4207
|
+
function Wf(e, s = {}) {
|
|
4209
4208
|
const t = ($, P) => {
|
|
4210
|
-
const
|
|
4211
|
-
return
|
|
4209
|
+
const H = $[P];
|
|
4210
|
+
return H === null || typeof H > "u" ? [] : Array.isArray(H) ? H : [H];
|
|
4212
4211
|
}, {
|
|
4213
4212
|
initialFacets: n,
|
|
4214
4213
|
facetFields: i,
|
|
@@ -4219,64 +4218,64 @@ function Xf(e, s = {}) {
|
|
|
4219
4218
|
searchOptions: u = {},
|
|
4220
4219
|
getItemFacet: f = t,
|
|
4221
4220
|
getSortValue: _ = ($) => $.title || $.label || ""
|
|
4222
|
-
} = s, b = ($) => $.sort((P,
|
|
4223
|
-
const N = _(P), W = _(
|
|
4221
|
+
} = s, b = ($) => $.sort((P, H) => {
|
|
4222
|
+
const N = _(P), W = _(H);
|
|
4224
4223
|
return N && W ? String(N).localeCompare(String(W)) : N ? -1 : W ? 1 : 0;
|
|
4225
|
-
}),
|
|
4224
|
+
}), x = {
|
|
4226
4225
|
az: { text: "A-Z", sort: b },
|
|
4227
4226
|
za: { text: "Z-A", sort: ($) => b($).reverse() }
|
|
4228
4227
|
};
|
|
4229
|
-
function
|
|
4228
|
+
function M($) {
|
|
4230
4229
|
return ($ || []).map((P) => ({
|
|
4231
4230
|
...P,
|
|
4232
4231
|
open: P.open || !1,
|
|
4233
|
-
children: P.children.map((
|
|
4234
|
-
...
|
|
4235
|
-
selected:
|
|
4232
|
+
children: P.children.map((H) => ({
|
|
4233
|
+
...H,
|
|
4234
|
+
selected: H.selected || !1
|
|
4236
4235
|
})),
|
|
4237
4236
|
selectedCount: 0
|
|
4238
4237
|
}));
|
|
4239
4238
|
}
|
|
4240
|
-
const
|
|
4241
|
-
i && !n && ds(
|
|
4242
|
-
U.value =
|
|
4239
|
+
const F = S(() => !i || !e.value?.length ? null : Lr(e.value, i)), U = E(M(n || F.value)), Q = E(o), Ae = E(r);
|
|
4240
|
+
i && !n && ds(F, ($) => {
|
|
4241
|
+
U.value = M($);
|
|
4243
4242
|
});
|
|
4244
4243
|
const Oe = S(() => ({
|
|
4245
|
-
...l ? {} :
|
|
4244
|
+
...l ? {} : x,
|
|
4246
4245
|
...c
|
|
4247
|
-
})),
|
|
4246
|
+
})), ce = S(() => ({
|
|
4248
4247
|
shouldSort: !0,
|
|
4249
4248
|
keys: ["title", "label", "description", "author"],
|
|
4250
4249
|
...u
|
|
4251
4250
|
})), X = S(() => {
|
|
4252
4251
|
const $ = [];
|
|
4253
4252
|
return U.value.forEach((P) => {
|
|
4254
|
-
const { name:
|
|
4255
|
-
let ne = 0,
|
|
4256
|
-
W && W.forEach((
|
|
4257
|
-
|
|
4253
|
+
const { name: H, uid: N, children: W } = P;
|
|
4254
|
+
let ne = 0, Ct = !1;
|
|
4255
|
+
W && W.forEach((Tt) => {
|
|
4256
|
+
Tt.selected && (++ne, Ct || ($.push({ uid: N, name: H, children: [] }), Ct = !0), $[$.length - 1].children.push(Tt));
|
|
4258
4257
|
}), P.selectedCount = ne;
|
|
4259
4258
|
}), $;
|
|
4260
|
-
}),
|
|
4261
|
-
const
|
|
4262
|
-
return
|
|
4263
|
-
})) : e.value),
|
|
4259
|
+
}), xe = S(() => X.value.length ? e.value.filter(($) => X.value.every((P) => {
|
|
4260
|
+
const H = f($, P.uid);
|
|
4261
|
+
return H && H.length ? P.children.some((N) => H.includes(N.uid)) : !1;
|
|
4262
|
+
})) : e.value), pe = S(() => Q.value?.length ? new _n(xe.value, ce.value).search(Q.value).map((P) => P.item) : xe.value), Re = S(() => {
|
|
4264
4263
|
const $ = Oe.value[Ae.value]?.sort;
|
|
4265
|
-
return typeof $ != "function" ?
|
|
4264
|
+
return typeof $ != "function" ? pe.value : $([...pe.value]);
|
|
4266
4265
|
});
|
|
4267
4266
|
function D() {
|
|
4268
4267
|
U.value.forEach(($) => {
|
|
4269
4268
|
$.children && $.children.forEach((P) => P.selected = !1);
|
|
4270
4269
|
});
|
|
4271
4270
|
}
|
|
4272
|
-
function ee({ groupUid: $, facetUid: P, selected:
|
|
4271
|
+
function ee({ groupUid: $, facetUid: P, selected: H }) {
|
|
4273
4272
|
const N = U.value.find((W) => W.uid === $);
|
|
4274
4273
|
if (N) {
|
|
4275
|
-
!N.multiple &&
|
|
4274
|
+
!N.multiple && H && N.children.forEach((ne) => {
|
|
4276
4275
|
ne.uid !== P && (ne.selected = !1);
|
|
4277
4276
|
});
|
|
4278
4277
|
const W = N.children.find((ne) => ne.uid === P);
|
|
4279
|
-
W && (W.selected =
|
|
4278
|
+
W && (W.selected = H);
|
|
4280
4279
|
}
|
|
4281
4280
|
}
|
|
4282
4281
|
return {
|
|
@@ -4286,14 +4285,14 @@ function Xf(e, s = {}) {
|
|
|
4286
4285
|
selectedSort: Ae,
|
|
4287
4286
|
sortTypes: Oe,
|
|
4288
4287
|
// Computed
|
|
4289
|
-
displayItems:
|
|
4288
|
+
displayItems: Re,
|
|
4290
4289
|
selectedFacets: X,
|
|
4291
4290
|
// Methods
|
|
4292
4291
|
clearFilters: D,
|
|
4293
4292
|
handleFacetChange: ee
|
|
4294
4293
|
};
|
|
4295
4294
|
}
|
|
4296
|
-
const
|
|
4295
|
+
const Bt = {
|
|
4297
4296
|
__name: "UluFacetsList",
|
|
4298
4297
|
props: {
|
|
4299
4298
|
groupUid: String,
|
|
@@ -4331,8 +4330,8 @@ const Mt = {
|
|
|
4331
4330
|
});
|
|
4332
4331
|
}
|
|
4333
4332
|
}
|
|
4334
|
-
return (r, l) => (a(), p(
|
|
4335
|
-
class: "
|
|
4333
|
+
return (r, l) => (a(), p(xs, {
|
|
4334
|
+
class: "ulu-facets__facet-list",
|
|
4336
4335
|
legend: e.groupUid,
|
|
4337
4336
|
type: e.type,
|
|
4338
4337
|
options: i.value,
|
|
@@ -4345,7 +4344,7 @@ const Mt = {
|
|
|
4345
4344
|
_: 1
|
|
4346
4345
|
}, 8, ["legend", "type", "options", "model-value"]));
|
|
4347
4346
|
}
|
|
4348
|
-
},
|
|
4347
|
+
}, Hr = { class: "UluFacetsFilters" }, Xf = {
|
|
4349
4348
|
__name: "UluFacetsFilterLists",
|
|
4350
4349
|
props: {
|
|
4351
4350
|
classes: {
|
|
@@ -4364,11 +4363,11 @@ const Mt = {
|
|
|
4364
4363
|
emits: ["facet-change"],
|
|
4365
4364
|
setup(e, { emit: s }) {
|
|
4366
4365
|
const t = s, n = (i) => i.multiple ? i.children.filter((o) => o.selected).map((o) => o.uid) : i.children.find((o) => o.selected)?.uid || "";
|
|
4367
|
-
return (i, o) => (a(), d("div",
|
|
4368
|
-
(a(!0), d(O, null, A(e.facets, (r) => (a(), p(
|
|
4369
|
-
class: m(["
|
|
4370
|
-
classToggle: ["
|
|
4371
|
-
classContent: ["
|
|
4366
|
+
return (i, o) => (a(), d("div", Hr, [
|
|
4367
|
+
(a(!0), d(O, null, A(e.facets, (r) => (a(), p(It, {
|
|
4368
|
+
class: m(["ulu-facets__group", e.classes.group]),
|
|
4369
|
+
classToggle: ["ulu-facets__group-toggle", e.classes.groupToggle],
|
|
4370
|
+
classContent: ["ulu-facets__group-content", e.classes.groupContent],
|
|
4372
4371
|
key: r.uid,
|
|
4373
4372
|
group: r,
|
|
4374
4373
|
startOpen: r.open,
|
|
@@ -4385,7 +4384,7 @@ const Mt = {
|
|
|
4385
4384
|
])
|
|
4386
4385
|
]),
|
|
4387
4386
|
default: w(() => [
|
|
4388
|
-
|
|
4387
|
+
R(Bt, {
|
|
4389
4388
|
children: r.children.slice(0, e.maxVisible),
|
|
4390
4389
|
groupUid: r.uid,
|
|
4391
4390
|
groupName: r.name,
|
|
@@ -4393,9 +4392,9 @@ const Mt = {
|
|
|
4393
4392
|
"model-value": n(r),
|
|
4394
4393
|
onFacetChange: o[0] || (o[0] = (l) => t("facet-change", l))
|
|
4395
4394
|
}, null, 8, ["children", "groupUid", "groupName", "type", "model-value"]),
|
|
4396
|
-
r.children.length > e.maxVisible ? (a(), p(
|
|
4395
|
+
r.children.length > e.maxVisible ? (a(), p(It, {
|
|
4397
4396
|
key: 0,
|
|
4398
|
-
class: m(["
|
|
4397
|
+
class: m(["ulu-facets__more-facets", e.classes.moreFacets]),
|
|
4399
4398
|
clickOutsideCloses: !1,
|
|
4400
4399
|
closeOnEscape: !1,
|
|
4401
4400
|
transitionHeight: !0
|
|
@@ -4404,7 +4403,7 @@ const Mt = {
|
|
|
4404
4403
|
k(y(l ? "- Less" : "+ More"), 1)
|
|
4405
4404
|
]),
|
|
4406
4405
|
default: w(() => [
|
|
4407
|
-
|
|
4406
|
+
R(Bt, {
|
|
4408
4407
|
children: r.children.slice(e.maxVisible),
|
|
4409
4408
|
groupUid: r.uid,
|
|
4410
4409
|
groupName: r.name,
|
|
@@ -4420,7 +4419,7 @@ const Mt = {
|
|
|
4420
4419
|
}, 1032, ["class", "classToggle", "classContent", "group", "startOpen"]))), 128))
|
|
4421
4420
|
]));
|
|
4422
4421
|
}
|
|
4423
|
-
},
|
|
4422
|
+
}, qf = {
|
|
4424
4423
|
__name: "UluFacetsFilterPopovers",
|
|
4425
4424
|
props: {
|
|
4426
4425
|
facets: {
|
|
@@ -4436,7 +4435,8 @@ const Mt = {
|
|
|
4436
4435
|
// container: null,
|
|
4437
4436
|
// group: null
|
|
4438
4437
|
})
|
|
4439
|
-
}
|
|
4438
|
+
},
|
|
4439
|
+
hideInputs: Boolean
|
|
4440
4440
|
},
|
|
4441
4441
|
emits: ["facet-change"],
|
|
4442
4442
|
setup(e, { emit: s }) {
|
|
@@ -4474,7 +4474,7 @@ const Mt = {
|
|
|
4474
4474
|
key: u.uid,
|
|
4475
4475
|
class: m(e.classes.group)
|
|
4476
4476
|
}, [
|
|
4477
|
-
|
|
4477
|
+
R(Ve, {
|
|
4478
4478
|
classes: {
|
|
4479
4479
|
trigger: e.classes.trigger,
|
|
4480
4480
|
content: e.classes.content
|
|
@@ -4490,26 +4490,27 @@ const Mt = {
|
|
|
4490
4490
|
h("strong", null, y(o(u)), 1)
|
|
4491
4491
|
])
|
|
4492
4492
|
]),
|
|
4493
|
-
|
|
4493
|
+
R(V, {
|
|
4494
4494
|
class: m(e.classes.triggerIcon),
|
|
4495
4495
|
icon: "fas fa-chevron-down"
|
|
4496
4496
|
}, null, 8, ["class"])
|
|
4497
4497
|
]),
|
|
4498
4498
|
content: w(({ close: f }) => [
|
|
4499
|
-
|
|
4499
|
+
R(xs, {
|
|
4500
4500
|
legend: u.name,
|
|
4501
4501
|
type: u.multiple ? "checkbox" : "radio",
|
|
4502
4502
|
options: n(u),
|
|
4503
4503
|
"model-value": i(u),
|
|
4504
|
-
"onUpdate:modelValue": (_) => r(u, _, f)
|
|
4505
|
-
|
|
4504
|
+
"onUpdate:modelValue": (_) => r(u, _, f),
|
|
4505
|
+
hideInputs: e.hideInputs
|
|
4506
|
+
}, null, 8, ["legend", "type", "options", "model-value", "onUpdate:modelValue", "hideInputs"])
|
|
4506
4507
|
]),
|
|
4507
4508
|
_: 2
|
|
4508
4509
|
}, 1032, ["classes"])
|
|
4509
4510
|
], 2))), 128))
|
|
4510
4511
|
], 2));
|
|
4511
4512
|
}
|
|
4512
|
-
},
|
|
4513
|
+
}, Fr = { class: "facets-dropdown-filters" }, Vr = ["for"], Dr = ["id", "onChange"], Nr = { value: "" }, Wr = ["value", "selected"], Yf = {
|
|
4513
4514
|
__name: "UluFacetsFilterSelects",
|
|
4514
4515
|
props: {
|
|
4515
4516
|
facets: {
|
|
@@ -4531,18 +4532,18 @@ const Mt = {
|
|
|
4531
4532
|
});
|
|
4532
4533
|
});
|
|
4533
4534
|
}
|
|
4534
|
-
return (i, o) => (a(), d("div",
|
|
4535
|
+
return (i, o) => (a(), d("div", Fr, [
|
|
4535
4536
|
(a(!0), d(O, null, A(e.facets, (r) => (a(), d("div", {
|
|
4536
|
-
class: "
|
|
4537
|
+
class: "facets-dropdown-filters__group",
|
|
4537
4538
|
key: r.uid
|
|
4538
4539
|
}, [
|
|
4539
4540
|
h("label", {
|
|
4540
4541
|
for: `facet-dropdown-${r.uid}`,
|
|
4541
|
-
class: "
|
|
4542
|
+
class: "facets-dropdown-filters__label"
|
|
4542
4543
|
}, y(r.name), 9, Vr),
|
|
4543
4544
|
h("select", {
|
|
4544
4545
|
id: `facet-dropdown-${r.uid}`,
|
|
4545
|
-
class: "
|
|
4546
|
+
class: "facets-dropdown-filters__select",
|
|
4546
4547
|
onChange: (l) => n(r, l)
|
|
4547
4548
|
}, [
|
|
4548
4549
|
h("option", Nr, "All " + y(r.name) + "s", 1),
|
|
@@ -4555,7 +4556,7 @@ const Mt = {
|
|
|
4555
4556
|
]))), 128))
|
|
4556
4557
|
]));
|
|
4557
4558
|
}
|
|
4558
|
-
}, Xr = { class: "
|
|
4559
|
+
}, Xr = { class: "facets-header-layout" }, qr = { class: "facets-header-layout__header" }, Yr = { class: "facets-header-layout__main" }, Kf = {
|
|
4559
4560
|
__name: "UluFacetsHeaderLayout",
|
|
4560
4561
|
setup(e) {
|
|
4561
4562
|
return (s, t) => (a(), d("div", Xr, [
|
|
@@ -4567,10 +4568,10 @@ const Mt = {
|
|
|
4567
4568
|
])
|
|
4568
4569
|
]));
|
|
4569
4570
|
}
|
|
4570
|
-
}, Kr = { class: "
|
|
4571
|
+
}, Kr = { class: "facets-results" }, Gr = {
|
|
4571
4572
|
key: 1,
|
|
4572
|
-
class: "
|
|
4573
|
-
},
|
|
4573
|
+
class: "facets-results__empty"
|
|
4574
|
+
}, Gf = {
|
|
4574
4575
|
__name: "UluFacetsResults",
|
|
4575
4576
|
props: {
|
|
4576
4577
|
items: {
|
|
@@ -4583,7 +4584,7 @@ const Mt = {
|
|
|
4583
4584
|
},
|
|
4584
4585
|
transitionName: {
|
|
4585
4586
|
type: String,
|
|
4586
|
-
default: "
|
|
4587
|
+
default: "facets-fade"
|
|
4587
4588
|
},
|
|
4588
4589
|
classes: {
|
|
4589
4590
|
type: Object,
|
|
@@ -4592,15 +4593,15 @@ const Mt = {
|
|
|
4592
4593
|
},
|
|
4593
4594
|
setup(e) {
|
|
4594
4595
|
return (s, t) => (a(), d("div", Kr, [
|
|
4595
|
-
e.items.length ? (a(), p(
|
|
4596
|
+
e.items.length ? (a(), p(us, {
|
|
4596
4597
|
key: 0,
|
|
4597
4598
|
tag: e.tag,
|
|
4598
4599
|
name: e.transitionName,
|
|
4599
|
-
class: m(["
|
|
4600
|
+
class: m(["facets-results__list", e.classes.list])
|
|
4600
4601
|
}, {
|
|
4601
4602
|
default: w(() => [
|
|
4602
4603
|
(a(!0), d(O, null, A(e.items, (n, i) => (a(), d("li", {
|
|
4603
|
-
class: m(["
|
|
4604
|
+
class: m(["facets-results__item", e.classes.item]),
|
|
4604
4605
|
key: n.id || i
|
|
4605
4606
|
}, [
|
|
4606
4607
|
g(s.$slots, "item", {
|
|
@@ -4617,7 +4618,7 @@ const Mt = {
|
|
|
4617
4618
|
]))
|
|
4618
4619
|
]));
|
|
4619
4620
|
}
|
|
4620
|
-
}, Zr = { class: "
|
|
4621
|
+
}, Zr = { class: "ulu-facets__keyword-search" }, Jr = ["placeholder"], Zf = {
|
|
4621
4622
|
__name: "UluFacetsSearch",
|
|
4622
4623
|
props: {
|
|
4623
4624
|
classes: {
|
|
@@ -4649,35 +4650,73 @@ const Mt = {
|
|
|
4649
4650
|
}, [...c[1] || (c[1] = [
|
|
4650
4651
|
h("strong", null, "Search", -1)
|
|
4651
4652
|
])], 2),
|
|
4652
|
-
|
|
4653
|
+
ie(h("input", {
|
|
4653
4654
|
id: o,
|
|
4654
4655
|
class: m(e.classes.searchInput),
|
|
4655
4656
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
|
4656
4657
|
type: "text",
|
|
4657
4658
|
placeholder: e.placeholder
|
|
4658
4659
|
}, null, 10, Jr), [
|
|
4659
|
-
[
|
|
4660
|
+
[an, r.value]
|
|
4660
4661
|
])
|
|
4661
4662
|
]));
|
|
4662
4663
|
}
|
|
4663
|
-
}, Qr = { class: "
|
|
4664
|
+
}, Qr = { class: "facets-sidebar-layout__header" }, el = { class: "facets-sidebar-layout__mobile-controls" }, tl = { class: "facets-sidebar-layout__body" }, sl = { class: "facets-sidebar-layout__main" }, Jf = {
|
|
4664
4665
|
__name: "UluFacetsSidebarLayout",
|
|
4665
4666
|
setup(e) {
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4667
|
+
const s = E(!1), t = He("uluIsMobile"), n = E(null), i = E(null), o = S(() => t.value ? i.value : n.value);
|
|
4668
|
+
return (r, l) => (a(), d("div", {
|
|
4669
|
+
class: m(["facets-sidebar-layout", { "facets-sidebar-layout--filters-hidden": C(t) }])
|
|
4670
|
+
}, [
|
|
4671
|
+
h("div", Qr, [
|
|
4672
|
+
g(r.$slots, "header")
|
|
4673
|
+
]),
|
|
4674
|
+
ie(h("div", el, [
|
|
4675
|
+
h("button", {
|
|
4676
|
+
class: "button",
|
|
4677
|
+
onClick: l[0] || (l[0] = (c) => s.value = !0)
|
|
4678
|
+
}, "Filters & Sort")
|
|
4679
|
+
], 512), [
|
|
4680
|
+
[Me, C(t)]
|
|
4669
4681
|
]),
|
|
4670
4682
|
h("div", tl, [
|
|
4671
|
-
h("div",
|
|
4672
|
-
|
|
4683
|
+
ie(h("div", {
|
|
4684
|
+
class: "facets-sidebar-layout__sidebar",
|
|
4685
|
+
ref_key: "desktopTarget",
|
|
4686
|
+
ref: n
|
|
4687
|
+
}, null, 512), [
|
|
4688
|
+
[Me, !C(t)]
|
|
4673
4689
|
]),
|
|
4674
|
-
h("div",
|
|
4675
|
-
g(
|
|
4690
|
+
h("div", sl, [
|
|
4691
|
+
g(r.$slots, "main")
|
|
4676
4692
|
])
|
|
4677
|
-
])
|
|
4678
|
-
|
|
4693
|
+
]),
|
|
4694
|
+
C(t) ? (a(), p(Ss, {
|
|
4695
|
+
key: 0,
|
|
4696
|
+
modelValue: s.value,
|
|
4697
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => s.value = c),
|
|
4698
|
+
position: "right",
|
|
4699
|
+
title: "Filters & Sort",
|
|
4700
|
+
allowResize: ""
|
|
4701
|
+
}, {
|
|
4702
|
+
default: w(() => [
|
|
4703
|
+
h("div", {
|
|
4704
|
+
class: "facets-sidebar-layout__sidebar",
|
|
4705
|
+
ref_key: "mobileTarget",
|
|
4706
|
+
ref: i
|
|
4707
|
+
}, null, 512)
|
|
4708
|
+
]),
|
|
4709
|
+
_: 1
|
|
4710
|
+
}, 8, ["modelValue"])) : v("", !0),
|
|
4711
|
+
o.value ? (a(), p(Le, {
|
|
4712
|
+
key: 1,
|
|
4713
|
+
to: o.value
|
|
4714
|
+
}, [
|
|
4715
|
+
g(r.$slots, "sidebar")
|
|
4716
|
+
], 8, ["to"])) : v("", !0)
|
|
4717
|
+
], 2));
|
|
4679
4718
|
}
|
|
4680
|
-
},
|
|
4719
|
+
}, nl = ["for"], ol = ["value", "id"], il = ["value"], Qf = {
|
|
4681
4720
|
__name: "UluFacetsSort",
|
|
4682
4721
|
props: {
|
|
4683
4722
|
classes: {
|
|
@@ -4696,9 +4735,9 @@ const Mt = {
|
|
|
4696
4735
|
emits: ["update:modelValue"],
|
|
4697
4736
|
setup(e, { emit: s }) {
|
|
4698
4737
|
let t = 0;
|
|
4699
|
-
const n = s, i =
|
|
4738
|
+
const n = s, i = E(`ulu-facet-sort-${++t}`);
|
|
4700
4739
|
return (o, r) => (a(), d("div", {
|
|
4701
|
-
class: m(["
|
|
4740
|
+
class: m(["facets-sort", e.classes.sortForm])
|
|
4702
4741
|
}, [
|
|
4703
4742
|
h("label", {
|
|
4704
4743
|
for: i.value,
|
|
@@ -4707,7 +4746,7 @@ const Mt = {
|
|
|
4707
4746
|
g(o.$slots, "default", {}, () => [
|
|
4708
4747
|
r[1] || (r[1] = k("Sort:", -1))
|
|
4709
4748
|
])
|
|
4710
|
-
], 10,
|
|
4749
|
+
], 10, nl),
|
|
4711
4750
|
h("select", {
|
|
4712
4751
|
value: e.modelValue,
|
|
4713
4752
|
onChange: r[0] || (r[0] = (l) => n("update:modelValue", l.target.value)),
|
|
@@ -4717,11 +4756,11 @@ const Mt = {
|
|
|
4717
4756
|
(a(!0), d(O, null, A(e.sortTypes, (l, c) => (a(), d("option", {
|
|
4718
4757
|
value: c,
|
|
4719
4758
|
key: c
|
|
4720
|
-
}, y(l.text), 9,
|
|
4721
|
-
], 42,
|
|
4759
|
+
}, y(l.text), 9, il))), 128))
|
|
4760
|
+
], 42, ol)
|
|
4722
4761
|
], 2));
|
|
4723
4762
|
}
|
|
4724
|
-
}, Rs = Symbol(),
|
|
4763
|
+
}, Rs = Symbol(), Us = Symbol(), Xe = Symbol(), rl = {
|
|
4725
4764
|
name: "ScrollAnchors",
|
|
4726
4765
|
emits: ["section-change"],
|
|
4727
4766
|
props: {
|
|
@@ -4754,7 +4793,7 @@ const Mt = {
|
|
|
4754
4793
|
*/
|
|
4755
4794
|
provide() {
|
|
4756
4795
|
return {
|
|
4757
|
-
[
|
|
4796
|
+
[Xe]: S(() => this.sections),
|
|
4758
4797
|
[Rs]: (e) => {
|
|
4759
4798
|
const { titleId: s, title: t } = e, { element: n } = e.$refs;
|
|
4760
4799
|
this.sections.push({
|
|
@@ -4765,7 +4804,7 @@ const Mt = {
|
|
|
4765
4804
|
active: !1
|
|
4766
4805
|
}), this.update();
|
|
4767
4806
|
},
|
|
4768
|
-
[
|
|
4807
|
+
[Us]: (e) => {
|
|
4769
4808
|
const s = this.sections, t = s.findIndex((n) => n.instance === e);
|
|
4770
4809
|
t > -1 && s.splice(t, 1), this.update();
|
|
4771
4810
|
}
|
|
@@ -4786,9 +4825,9 @@ const Mt = {
|
|
|
4786
4825
|
let i = 0;
|
|
4787
4826
|
const o = (r) => {
|
|
4788
4827
|
r.forEach(({ target: l, isIntersecting: c }) => {
|
|
4789
|
-
const u = this.getSectionIndex(l), f = l.offsetTop, _ = s[u], b = u === 0 && i > f,
|
|
4828
|
+
const u = this.getSectionIndex(l), f = l.offsetTop, _ = s[u], b = u === 0 && i > f, x = u === s.length - 1 && i < f;
|
|
4790
4829
|
_ && this.$nextTick(() => {
|
|
4791
|
-
c ? (t(_), _.active = !0) : (b && !n ||
|
|
4830
|
+
c ? (t(_), _.active = !0) : (b && !n || x && _.active) && t(), this.$emit("section-change", {
|
|
4792
4831
|
section: _,
|
|
4793
4832
|
sections: s,
|
|
4794
4833
|
active: c
|
|
@@ -4826,16 +4865,16 @@ const Mt = {
|
|
|
4826
4865
|
unmounted() {
|
|
4827
4866
|
this.destroyObserver();
|
|
4828
4867
|
}
|
|
4829
|
-
},
|
|
4830
|
-
function
|
|
4831
|
-
return a(), d("div",
|
|
4868
|
+
}, ll = { class: "scroll-anchors" };
|
|
4869
|
+
function al(e, s, t, n, i, o) {
|
|
4870
|
+
return a(), d("div", ll, [
|
|
4832
4871
|
g(e.$slots, "default")
|
|
4833
4872
|
]);
|
|
4834
4873
|
}
|
|
4835
|
-
const
|
|
4874
|
+
const eh = /* @__PURE__ */ T(rl, [["render", al]]), cl = {
|
|
4836
4875
|
name: "ScrollAnchorsNav",
|
|
4837
4876
|
inject: {
|
|
4838
|
-
sections: { from:
|
|
4877
|
+
sections: { from: Xe }
|
|
4839
4878
|
},
|
|
4840
4879
|
props: {
|
|
4841
4880
|
element: {
|
|
@@ -4843,8 +4882,8 @@ const th = /* @__PURE__ */ C(ll, [["render", cl]]), ul = {
|
|
|
4843
4882
|
default: "nav"
|
|
4844
4883
|
}
|
|
4845
4884
|
}
|
|
4846
|
-
},
|
|
4847
|
-
function
|
|
4885
|
+
}, ul = ["href"];
|
|
4886
|
+
function dl(e, s, t, n, i, o) {
|
|
4848
4887
|
return o.sections.length ? (a(), p(B(t.element), {
|
|
4849
4888
|
key: 0,
|
|
4850
4889
|
class: "scroll-anchors__nav"
|
|
@@ -4858,24 +4897,24 @@ function fl(e, s, t, n, i, o) {
|
|
|
4858
4897
|
h("a", {
|
|
4859
4898
|
class: m({ "is-active": r.active }),
|
|
4860
4899
|
href: `#${r.titleId}`
|
|
4861
|
-
}, y(r.title), 11,
|
|
4900
|
+
}, y(r.title), 11, ul)
|
|
4862
4901
|
], 2))), 128))
|
|
4863
4902
|
])
|
|
4864
4903
|
]),
|
|
4865
4904
|
_: 1
|
|
4866
4905
|
})) : v("", !0);
|
|
4867
4906
|
}
|
|
4868
|
-
const
|
|
4869
|
-
function
|
|
4907
|
+
const th = /* @__PURE__ */ T(cl, [["render", dl]]);
|
|
4908
|
+
function js(e) {
|
|
4870
4909
|
requestAnimationFrame(() => {
|
|
4871
4910
|
const s = new MessageChannel();
|
|
4872
4911
|
s.port1.onmessage = e, s.port2.postMessage(void 0);
|
|
4873
4912
|
});
|
|
4874
4913
|
}
|
|
4875
|
-
const
|
|
4914
|
+
const fl = {
|
|
4876
4915
|
name: "ScrollAnchorsNavAnimated",
|
|
4877
4916
|
inject: {
|
|
4878
|
-
sections: { from:
|
|
4917
|
+
sections: { from: Xe }
|
|
4879
4918
|
},
|
|
4880
4919
|
props: {
|
|
4881
4920
|
/**
|
|
@@ -4910,7 +4949,7 @@ const hl = {
|
|
|
4910
4949
|
},
|
|
4911
4950
|
watch: {
|
|
4912
4951
|
indicatorStyles(e) {
|
|
4913
|
-
e && !this.indicatorAnimReady &&
|
|
4952
|
+
e && !this.indicatorAnimReady && js(() => {
|
|
4914
4953
|
this.indicatorAnimReady = !0;
|
|
4915
4954
|
});
|
|
4916
4955
|
}
|
|
@@ -4920,14 +4959,14 @@ const hl = {
|
|
|
4920
4959
|
this.linkRefs[e] = s;
|
|
4921
4960
|
}
|
|
4922
4961
|
}
|
|
4923
|
-
},
|
|
4924
|
-
function
|
|
4962
|
+
}, hl = { class: "scroll-anchors__rail" }, ml = ["href"];
|
|
4963
|
+
function gl(e, s, t, n, i, o) {
|
|
4925
4964
|
return o.sections.length ? (a(), p(B(t.element), {
|
|
4926
4965
|
key: 0,
|
|
4927
4966
|
class: "scroll-anchors__nav scroll-anchors__nav--animated"
|
|
4928
4967
|
}, {
|
|
4929
4968
|
default: w(() => [
|
|
4930
|
-
h("ul",
|
|
4969
|
+
h("ul", hl, [
|
|
4931
4970
|
(a(!0), d(O, null, A(o.sections, (r, l) => (a(), d("li", {
|
|
4932
4971
|
key: l,
|
|
4933
4972
|
class: m({ "is-active": r.active })
|
|
@@ -4937,7 +4976,7 @@ function yl(e, s, t, n, i, o) {
|
|
|
4937
4976
|
ref_for: !0,
|
|
4938
4977
|
ref: (c) => o.addLinkRef(l, c),
|
|
4939
4978
|
href: `#${r.titleId}`
|
|
4940
|
-
}, y(r.title), 11,
|
|
4979
|
+
}, y(r.title), 11, ml)
|
|
4941
4980
|
], 2))), 128))
|
|
4942
4981
|
]),
|
|
4943
4982
|
h("div", {
|
|
@@ -4945,7 +4984,7 @@ function yl(e, s, t, n, i, o) {
|
|
|
4945
4984
|
"scroll-anchors__indicator--can-transition": i.indicatorAnimReady
|
|
4946
4985
|
}]),
|
|
4947
4986
|
ref: "indicator",
|
|
4948
|
-
style:
|
|
4987
|
+
style: L({
|
|
4949
4988
|
opacity: o.indicatorStyles ? "1" : "0",
|
|
4950
4989
|
transform: `translateY(${o.indicatorStyles.y}px)`,
|
|
4951
4990
|
height: `${o.indicatorStyles.height}px`
|
|
@@ -4955,7 +4994,7 @@ function yl(e, s, t, n, i, o) {
|
|
|
4955
4994
|
_: 1
|
|
4956
4995
|
})) : v("", !0);
|
|
4957
4996
|
}
|
|
4958
|
-
const
|
|
4997
|
+
const sh = /* @__PURE__ */ T(fl, [["render", gl]]), yl = {
|
|
4959
4998
|
name: "ScrollAnchorsSection",
|
|
4960
4999
|
props: {
|
|
4961
5000
|
title: String,
|
|
@@ -4979,8 +5018,8 @@ const nh = /* @__PURE__ */ C(hl, [["render", yl]]), pl = {
|
|
|
4979
5018
|
},
|
|
4980
5019
|
inject: {
|
|
4981
5020
|
register: { from: Rs },
|
|
4982
|
-
unregister: { from:
|
|
4983
|
-
sections: { from:
|
|
5021
|
+
unregister: { from: Us },
|
|
5022
|
+
sections: { from: Xe, default: () => S(() => []) }
|
|
4984
5023
|
},
|
|
4985
5024
|
data() {
|
|
4986
5025
|
const { anchorId: e, title: s } = this;
|
|
@@ -5000,7 +5039,7 @@ const nh = /* @__PURE__ */ C(hl, [["render", yl]]), pl = {
|
|
|
5000
5039
|
this.unregister && this.unregister(this);
|
|
5001
5040
|
}
|
|
5002
5041
|
};
|
|
5003
|
-
function
|
|
5042
|
+
function pl(e, s, t, n, i, o) {
|
|
5004
5043
|
return a(), d("div", {
|
|
5005
5044
|
class: m([t.wrapperClass, { [t.activeClass]: t.activeClass && o.section?.active }]),
|
|
5006
5045
|
ref: "element"
|
|
@@ -5017,7 +5056,7 @@ function _l(e, s, t, n, i, o) {
|
|
|
5017
5056
|
g(e.$slots, "default", { section: o.section })
|
|
5018
5057
|
], 2);
|
|
5019
5058
|
}
|
|
5020
|
-
const
|
|
5059
|
+
const nh = /* @__PURE__ */ T(yl, [["render", pl]]), vl = {
|
|
5021
5060
|
__name: "UluSkeletonText",
|
|
5022
5061
|
props: {
|
|
5023
5062
|
/**
|
|
@@ -5042,7 +5081,7 @@ const oh = /* @__PURE__ */ C(pl, [["render", _l]]), vl = {
|
|
|
5042
5081
|
}])
|
|
5043
5082
|
}, null, 2));
|
|
5044
5083
|
}
|
|
5045
|
-
},
|
|
5084
|
+
}, oh = {
|
|
5046
5085
|
__name: "UluShowSkeleton",
|
|
5047
5086
|
props: {
|
|
5048
5087
|
/**
|
|
@@ -5057,14 +5096,14 @@ const oh = /* @__PURE__ */ C(pl, [["render", _l]]), vl = {
|
|
|
5057
5096
|
})) : g(s.$slots, "default", { key: 0 });
|
|
5058
5097
|
}
|
|
5059
5098
|
};
|
|
5060
|
-
function
|
|
5099
|
+
function _l(e, s) {
|
|
5061
5100
|
return [...Array(e)].map((t, n) => s(n));
|
|
5062
5101
|
}
|
|
5063
|
-
function
|
|
5102
|
+
function ih(e, s) {
|
|
5064
5103
|
var t = e.indexOf(s);
|
|
5065
5104
|
t > -1 && e.splice(t, 1);
|
|
5066
5105
|
}
|
|
5067
|
-
const
|
|
5106
|
+
const rh = {
|
|
5068
5107
|
__name: "UluSkeletonContent",
|
|
5069
5108
|
props: {
|
|
5070
5109
|
/**
|
|
@@ -5076,11 +5115,11 @@ const lh = {
|
|
|
5076
5115
|
}
|
|
5077
5116
|
},
|
|
5078
5117
|
setup(e) {
|
|
5079
|
-
const s = e, t = S(() =>
|
|
5080
|
-
const i =
|
|
5118
|
+
const s = e, t = S(() => _l(s.lines, () => {
|
|
5119
|
+
const i = Pe(70, 100);
|
|
5081
5120
|
let o = 0;
|
|
5082
5121
|
const r = () => {
|
|
5083
|
-
const u = i - o, f =
|
|
5122
|
+
const u = i - o, f = Pe(15, u);
|
|
5084
5123
|
return o += f, f;
|
|
5085
5124
|
}, l = [];
|
|
5086
5125
|
for (; o < i - 15; )
|
|
@@ -5095,19 +5134,19 @@ const lh = {
|
|
|
5095
5134
|
(a(!0), d(O, null, A(o, (l) => (a(), d("span", {
|
|
5096
5135
|
key: l,
|
|
5097
5136
|
class: m(["skeleton skeleton--text skeleton--inline", { "skeleton--background-alt": l.alt }]),
|
|
5098
|
-
style:
|
|
5137
|
+
style: L({ width: `${l.width}%` })
|
|
5099
5138
|
}, null, 6))), 128))
|
|
5100
5139
|
]))), 128))
|
|
5101
5140
|
]));
|
|
5102
5141
|
}
|
|
5103
|
-
},
|
|
5142
|
+
}, bl = { class: "skeleton skeleton-block--media" }, lh = {
|
|
5104
5143
|
__name: "UluSkeletonMedia",
|
|
5105
5144
|
setup(e) {
|
|
5106
|
-
return (s, t) => (a(), d("div",
|
|
5107
|
-
|
|
5145
|
+
return (s, t) => (a(), d("div", bl, [
|
|
5146
|
+
R(V, { icon: "type:image" })
|
|
5108
5147
|
]));
|
|
5109
5148
|
}
|
|
5110
|
-
},
|
|
5149
|
+
}, wl = {
|
|
5111
5150
|
name: "SlideShow",
|
|
5112
5151
|
emits: ["slide-change"],
|
|
5113
5152
|
components: {
|
|
@@ -5302,26 +5341,26 @@ const lh = {
|
|
|
5302
5341
|
beforeUnmount() {
|
|
5303
5342
|
this.destroyObserver();
|
|
5304
5343
|
}
|
|
5305
|
-
},
|
|
5344
|
+
}, Sl = { class: "slideshow" }, kl = {
|
|
5306
5345
|
class: "slideshow__control-context",
|
|
5307
5346
|
ref: "context"
|
|
5308
|
-
},
|
|
5347
|
+
}, Cl = {
|
|
5309
5348
|
class: "slideshow__track-crop",
|
|
5310
5349
|
ref: "crop"
|
|
5311
|
-
},
|
|
5350
|
+
}, Tl = {
|
|
5312
5351
|
class: "slideshow__track",
|
|
5313
5352
|
ref: "track"
|
|
5314
|
-
},
|
|
5353
|
+
}, $l = ["tabindex"], Al = { class: "slideshow__controls" }, Ol = { class: "slideshow__controls-item slideshow__controls-item--previous" }, xl = ["disabled"], Rl = { class: "slideshow__controls-item slideshow__controls-item--next" }, Ul = ["disabled"], jl = {
|
|
5315
5354
|
key: 0,
|
|
5316
5355
|
class: "slideshow__nav",
|
|
5317
5356
|
ref: "nav"
|
|
5318
|
-
},
|
|
5319
|
-
function
|
|
5357
|
+
}, Il = ["onClick"], El = { class: "hidden-visually" };
|
|
5358
|
+
function zl(e, s, t, n, i, o) {
|
|
5320
5359
|
const r = z("UluIcon");
|
|
5321
|
-
return a(), d("div",
|
|
5322
|
-
h("div",
|
|
5323
|
-
h("div",
|
|
5324
|
-
h("ul",
|
|
5360
|
+
return a(), d("div", Sl, [
|
|
5361
|
+
h("div", kl, [
|
|
5362
|
+
h("div", Cl, [
|
|
5363
|
+
h("ul", Tl, [
|
|
5325
5364
|
(a(!0), d(O, null, A(i.slides, (l, c) => (a(), d("li", {
|
|
5326
5365
|
class: m(["slideshow__slide", { "is-active": l.active }]),
|
|
5327
5366
|
key: c,
|
|
@@ -5335,39 +5374,39 @@ function Ml(e, s, t, n, i, o) {
|
|
|
5335
5374
|
item: l.item,
|
|
5336
5375
|
index: c
|
|
5337
5376
|
})
|
|
5338
|
-
], 10,
|
|
5377
|
+
], 10, $l))), 128))
|
|
5339
5378
|
], 512)
|
|
5340
5379
|
], 512),
|
|
5341
|
-
h("ul",
|
|
5342
|
-
h("li",
|
|
5380
|
+
h("ul", Al, [
|
|
5381
|
+
h("li", Ol, [
|
|
5343
5382
|
h("button", {
|
|
5344
5383
|
class: "slideshow__control-button slideshow__control-button--previous",
|
|
5345
5384
|
"aria-label": "Scroll Right",
|
|
5346
5385
|
onClick: s[0] || (s[0] = (...l) => o.previous && o.previous(...l)),
|
|
5347
5386
|
disabled: !o.canScrollLeft
|
|
5348
5387
|
}, [
|
|
5349
|
-
|
|
5388
|
+
R(r, {
|
|
5350
5389
|
class: "slideshow__control-icon",
|
|
5351
5390
|
icon: "type:next"
|
|
5352
5391
|
})
|
|
5353
5392
|
], 8, xl)
|
|
5354
5393
|
]),
|
|
5355
|
-
h("li",
|
|
5394
|
+
h("li", Rl, [
|
|
5356
5395
|
h("button", {
|
|
5357
5396
|
class: "slideshow__control-button slideshow__control-button--next",
|
|
5358
5397
|
"aria-label": "Scroll Left",
|
|
5359
5398
|
onClick: s[1] || (s[1] = (...l) => o.next && o.next(...l)),
|
|
5360
5399
|
disabled: !o.canScrollRight
|
|
5361
5400
|
}, [
|
|
5362
|
-
|
|
5401
|
+
R(r, {
|
|
5363
5402
|
class: "slideshow__control-icon",
|
|
5364
5403
|
icon: "type:previous"
|
|
5365
5404
|
})
|
|
5366
|
-
], 8,
|
|
5405
|
+
], 8, Ul)
|
|
5367
5406
|
])
|
|
5368
5407
|
])
|
|
5369
5408
|
], 512),
|
|
5370
|
-
t.noNav ? v("", !0) : (a(), d("ul",
|
|
5409
|
+
t.noNav ? v("", !0) : (a(), d("ul", jl, [
|
|
5371
5410
|
(a(!0), d(O, null, A(i.slides, (l, c) => (a(), d("li", {
|
|
5372
5411
|
class: m(["slideshow__nav-item", { "is-active": l.active }]),
|
|
5373
5412
|
ref_for: !0,
|
|
@@ -5385,17 +5424,17 @@ function Ml(e, s, t, n, i, o) {
|
|
|
5385
5424
|
index: c,
|
|
5386
5425
|
active: l.active
|
|
5387
5426
|
}, () => [
|
|
5388
|
-
h("span",
|
|
5427
|
+
h("span", El, "Item " + y(c + 1), 1)
|
|
5389
5428
|
])
|
|
5390
|
-
], 10,
|
|
5429
|
+
], 10, Il)
|
|
5391
5430
|
], 2))), 128))
|
|
5392
5431
|
], 512))
|
|
5393
5432
|
]);
|
|
5394
5433
|
}
|
|
5395
|
-
const
|
|
5434
|
+
const Ml = /* @__PURE__ */ T(wl, [["render", zl]]), Bl = {
|
|
5396
5435
|
name: "ImageSlideShow",
|
|
5397
5436
|
components: {
|
|
5398
|
-
UluSlideShow:
|
|
5437
|
+
UluSlideShow: Ml
|
|
5399
5438
|
},
|
|
5400
5439
|
props: {
|
|
5401
5440
|
images: Array,
|
|
@@ -5421,8 +5460,8 @@ const Bl = /* @__PURE__ */ C(Sl, [["render", Ml]]), Pl = {
|
|
|
5421
5460
|
console.log("left/right", o, c), t && n && (u > c ? f = o + (u - c) : r < o && (f = r), f !== null && s.scrollTo({ left: f, top: 0, behavior: "smooth" }));
|
|
5422
5461
|
}
|
|
5423
5462
|
}
|
|
5424
|
-
},
|
|
5425
|
-
function
|
|
5463
|
+
}, Pl = ["src", "alt"], Ll = { class: "slideshow__image-actions" }, Hl = ["src", "alt"];
|
|
5464
|
+
function Fl(e, s, t, n, i, o) {
|
|
5426
5465
|
const r = z("AppButton"), l = z("UluSlideShow");
|
|
5427
5466
|
return a(), p(l, {
|
|
5428
5467
|
class: "slideshow--images",
|
|
@@ -5433,7 +5472,7 @@ function Vl(e, s, t, n, i, o) {
|
|
|
5433
5472
|
h("img", {
|
|
5434
5473
|
src: c.src,
|
|
5435
5474
|
alt: c.alt
|
|
5436
|
-
}, null, 8,
|
|
5475
|
+
}, null, 8, Pl),
|
|
5437
5476
|
h("div", Ll, [
|
|
5438
5477
|
t.selectButton ? (a(), p(r, {
|
|
5439
5478
|
key: 0,
|
|
@@ -5458,7 +5497,7 @@ function Vl(e, s, t, n, i, o) {
|
|
|
5458
5497
|
_: 1
|
|
5459
5498
|
}, 8, ["items", "onSlideChange"]);
|
|
5460
5499
|
}
|
|
5461
|
-
const
|
|
5500
|
+
const ah = /* @__PURE__ */ T(Bl, [["render", Fl]]), Vl = {
|
|
5462
5501
|
name: "SlideShowSlide",
|
|
5463
5502
|
props: {
|
|
5464
5503
|
/**
|
|
@@ -5471,14 +5510,14 @@ const ch = /* @__PURE__ */ C(Pl, [["render", Vl]]), Dl = {
|
|
|
5471
5510
|
console.log("slide mounted");
|
|
5472
5511
|
}
|
|
5473
5512
|
};
|
|
5474
|
-
function
|
|
5513
|
+
function Dl(e, s, t, n, i, o) {
|
|
5475
5514
|
return a(), d("li", {
|
|
5476
5515
|
class: m(["slideshow__slide", { "is-active": t.active }])
|
|
5477
5516
|
}, [
|
|
5478
5517
|
g(e.$slots, "default")
|
|
5479
5518
|
], 2);
|
|
5480
5519
|
}
|
|
5481
|
-
const
|
|
5520
|
+
const ch = /* @__PURE__ */ T(Vl, [["render", Dl]]), Nl = {
|
|
5482
5521
|
name: "UluTableStickyRows",
|
|
5483
5522
|
props: {
|
|
5484
5523
|
rows: Array,
|
|
@@ -5495,13 +5534,13 @@ const uh = /* @__PURE__ */ C(Dl, [["render", Nl]]), Wl = {
|
|
|
5495
5534
|
default: !1
|
|
5496
5535
|
}
|
|
5497
5536
|
}
|
|
5498
|
-
},
|
|
5499
|
-
function
|
|
5537
|
+
}, Wl = ["id"], Xl = ["innerHTML"];
|
|
5538
|
+
function ql(e, s, t, n, i, o) {
|
|
5500
5539
|
return a(!0), d(O, null, A(t.rows, (r, l) => (a(), d("tr", {
|
|
5501
5540
|
key: `br-${l}`,
|
|
5502
5541
|
id: t.optionalAttr(t.isActual && r.id),
|
|
5503
5542
|
class: m(t.resolveClasses(t.classes.row, { row: r.data, rowIndex: l, isActual: t.isActual, foot: t.foot })),
|
|
5504
|
-
style:
|
|
5543
|
+
style: L({
|
|
5505
5544
|
height: r.height
|
|
5506
5545
|
})
|
|
5507
5546
|
}, [
|
|
@@ -5511,7 +5550,7 @@ function Yl(e, s, t, n, i, o) {
|
|
|
5511
5550
|
key: `bc-${u}`,
|
|
5512
5551
|
headers: t.optionalAttr(t.isActual && t.getCellHeaders(c, l)),
|
|
5513
5552
|
class: m(t.resolveClasses(c.class, { column: c, index: u, isActual: t.isActual, row: r, rowIndex: l, foot: t.foot })),
|
|
5514
|
-
style:
|
|
5553
|
+
style: L({
|
|
5515
5554
|
width: t.columnWidth
|
|
5516
5555
|
})
|
|
5517
5556
|
}, {
|
|
@@ -5527,18 +5566,18 @@ function Yl(e, s, t, n, i, o) {
|
|
|
5527
5566
|
}) : c.html ? (a(), d("div", {
|
|
5528
5567
|
key: 1,
|
|
5529
5568
|
innerHTML: t.value({ row: r, column: c, rowIndex: l, isActual: t.isActual, foot: t.foot })
|
|
5530
|
-
}, null, 8,
|
|
5569
|
+
}, null, 8, Xl)) : (a(), d(O, { key: 2 }, [
|
|
5531
5570
|
k(y(t.value({ row: r, column: c, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
|
|
5532
5571
|
], 64))
|
|
5533
5572
|
]),
|
|
5534
5573
|
_: 2
|
|
5535
5574
|
}, 1032, ["id", "scope", "headers", "class", "style"]))), 128))
|
|
5536
|
-
], 14,
|
|
5575
|
+
], 14, Wl))), 128);
|
|
5537
5576
|
}
|
|
5538
|
-
const
|
|
5577
|
+
const Yl = /* @__PURE__ */ T(Nl, [["render", ql]]), Kl = {
|
|
5539
5578
|
name: "UluTableStickyTable",
|
|
5540
5579
|
components: {
|
|
5541
|
-
UluTableStickyRows:
|
|
5580
|
+
UluTableStickyRows: Yl
|
|
5542
5581
|
},
|
|
5543
5582
|
props: {
|
|
5544
5583
|
resolveClasses: Function,
|
|
@@ -5618,26 +5657,26 @@ const Kl = /* @__PURE__ */ C(Wl, [["render", Yl]]), Gl = {
|
|
|
5618
5657
|
return s.join(" ");
|
|
5619
5658
|
}
|
|
5620
5659
|
}
|
|
5621
|
-
},
|
|
5660
|
+
}, Gl = ["aria-hidden"], Zl = {
|
|
5622
5661
|
key: 0,
|
|
5623
5662
|
class: "table-sticky__caption"
|
|
5624
|
-
},
|
|
5663
|
+
}, Jl = ["id"], Ql = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], ea = ["innerHTML"], ta = {
|
|
5625
5664
|
class: "table-sticky__sort-icon",
|
|
5626
5665
|
"aria-hidden": "true"
|
|
5627
|
-
},
|
|
5628
|
-
function
|
|
5666
|
+
}, sa = { class: "table-sticky__sort-icon-inner" }, na = ["innerHTML"], oa = { key: 1 }, ia = { key: 2 };
|
|
5667
|
+
function ra(e, s, t, n, i, o) {
|
|
5629
5668
|
const r = z("UluTableStickyRows");
|
|
5630
5669
|
return a(), d("table", {
|
|
5631
5670
|
class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
5632
5671
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
5633
5672
|
}, [
|
|
5634
|
-
t.caption ? (a(), d("caption",
|
|
5673
|
+
t.caption ? (a(), d("caption", Zl, y(t.caption), 1)) : v("", !0),
|
|
5635
5674
|
h("thead", null, [
|
|
5636
5675
|
(a(!0), d(O, null, A(t.headerRows, (l, c) => (a(), d("tr", {
|
|
5637
5676
|
key: `hr-${c}`,
|
|
5638
5677
|
id: o.optionalAttr(t.isActual && l.id),
|
|
5639
5678
|
class: m(t.resolveClasses(t.classes.rowHeader, { row: l, rowIndex: c, isActual: t.isActual })),
|
|
5640
|
-
style:
|
|
5679
|
+
style: L({
|
|
5641
5680
|
height: l.height
|
|
5642
5681
|
})
|
|
5643
5682
|
}, [
|
|
@@ -5655,7 +5694,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5655
5694
|
},
|
|
5656
5695
|
t.resolveClasses(u.classHeader, { column: u, index: f, isActual: t.isActual })
|
|
5657
5696
|
]),
|
|
5658
|
-
style:
|
|
5697
|
+
style: L({
|
|
5659
5698
|
width: u.width
|
|
5660
5699
|
}),
|
|
5661
5700
|
"aria-sort": u.sort ? u.sortAscending ? "ascending" : "descending" : null,
|
|
@@ -5683,11 +5722,11 @@ function la(e, s, t, n, i, o) {
|
|
|
5683
5722
|
}) : u.htmlTitle ? (a(), d("div", {
|
|
5684
5723
|
key: 1,
|
|
5685
5724
|
innerHTML: t.getColumnTitle({ column: u, index: f, isActual: t.isActual })
|
|
5686
|
-
}, null, 8,
|
|
5725
|
+
}, null, 8, ea)) : (a(), d(O, { key: 2 }, [
|
|
5687
5726
|
k(y(t.getColumnTitle({ column: u, index: f, isActual: t.isActual })), 1)
|
|
5688
5727
|
], 64)),
|
|
5689
|
-
h("span",
|
|
5690
|
-
h("span",
|
|
5728
|
+
h("span", ta, [
|
|
5729
|
+
h("span", sa, [
|
|
5691
5730
|
g(e.$slots, "sortIcon", {}, () => [
|
|
5692
5731
|
s[0] || (s[0] = k("▼", -1))
|
|
5693
5732
|
])
|
|
@@ -5704,15 +5743,15 @@ function la(e, s, t, n, i, o) {
|
|
|
5704
5743
|
}) : u.htmlTitle ? (a(), d("div", {
|
|
5705
5744
|
key: 1,
|
|
5706
5745
|
innerHTML: t.getColumnTitle({ column: u, index: f, isActual: t.isActual })
|
|
5707
|
-
}, null, 8,
|
|
5746
|
+
}, null, 8, na)) : (a(), d(O, { key: 2 }, [
|
|
5708
5747
|
k(y(t.getColumnTitle({ column: u, index: f, isActual: t.isActual })), 1)
|
|
5709
5748
|
], 64))
|
|
5710
5749
|
], 64))
|
|
5711
|
-
], 14,
|
|
5712
|
-
], 14,
|
|
5750
|
+
], 14, Ql))), 128))
|
|
5751
|
+
], 14, Jl))), 128))
|
|
5713
5752
|
]),
|
|
5714
|
-
t.rows ? (a(), d("tbody",
|
|
5715
|
-
|
|
5753
|
+
t.rows ? (a(), d("tbody", oa, [
|
|
5754
|
+
R(r, {
|
|
5716
5755
|
rows: t.rows,
|
|
5717
5756
|
rowColumns: t.rowColumns,
|
|
5718
5757
|
optionalAttr: o.optionalAttr,
|
|
@@ -5722,7 +5761,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5722
5761
|
columnWidth: t.columnWidth,
|
|
5723
5762
|
classes: t.classes,
|
|
5724
5763
|
value: o.value
|
|
5725
|
-
},
|
|
5764
|
+
}, de({ _: 2 }, [
|
|
5726
5765
|
A(e.$slots, (l, c) => ({
|
|
5727
5766
|
name: c,
|
|
5728
5767
|
fn: w((u) => [
|
|
@@ -5731,8 +5770,8 @@ function la(e, s, t, n, i, o) {
|
|
|
5731
5770
|
}))
|
|
5732
5771
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
5733
5772
|
])) : v("", !0),
|
|
5734
|
-
t.footerRows ? (a(), d("tfoot",
|
|
5735
|
-
|
|
5773
|
+
t.footerRows ? (a(), d("tfoot", ia, [
|
|
5774
|
+
R(r, {
|
|
5736
5775
|
rows: t.footerRows,
|
|
5737
5776
|
rowColumns: t.rowColumns,
|
|
5738
5777
|
optionalAttr: o.optionalAttr,
|
|
@@ -5743,7 +5782,7 @@ function la(e, s, t, n, i, o) {
|
|
|
5743
5782
|
classes: t.classes,
|
|
5744
5783
|
value: o.value,
|
|
5745
5784
|
foot: ""
|
|
5746
|
-
},
|
|
5785
|
+
}, de({ _: 2 }, [
|
|
5747
5786
|
A(e.$slots, (l, c) => ({
|
|
5748
5787
|
name: c,
|
|
5749
5788
|
fn: w((u) => [
|
|
@@ -5752,38 +5791,38 @@ function la(e, s, t, n, i, o) {
|
|
|
5752
5791
|
}))
|
|
5753
5792
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
5754
5793
|
])) : v("", !0)
|
|
5755
|
-
], 10,
|
|
5794
|
+
], 10, Gl);
|
|
5756
5795
|
}
|
|
5757
|
-
const
|
|
5758
|
-
function
|
|
5796
|
+
const la = /* @__PURE__ */ T(Kl, [["render", ra]]);
|
|
5797
|
+
function aa() {
|
|
5759
5798
|
this.__data__ = [], this.size = 0;
|
|
5760
5799
|
}
|
|
5761
|
-
function
|
|
5800
|
+
function Is(e, s) {
|
|
5762
5801
|
return e === s || e !== e && s !== s;
|
|
5763
5802
|
}
|
|
5764
|
-
function
|
|
5803
|
+
function qe(e, s) {
|
|
5765
5804
|
for (var t = e.length; t--; )
|
|
5766
|
-
if (
|
|
5805
|
+
if (Is(e[t][0], s))
|
|
5767
5806
|
return t;
|
|
5768
5807
|
return -1;
|
|
5769
5808
|
}
|
|
5770
|
-
var
|
|
5771
|
-
function
|
|
5772
|
-
var s = this.__data__, t =
|
|
5809
|
+
var ca = Array.prototype, ua = ca.splice;
|
|
5810
|
+
function da(e) {
|
|
5811
|
+
var s = this.__data__, t = qe(s, e);
|
|
5773
5812
|
if (t < 0)
|
|
5774
5813
|
return !1;
|
|
5775
5814
|
var n = s.length - 1;
|
|
5776
|
-
return t == n ? s.pop() :
|
|
5815
|
+
return t == n ? s.pop() : ua.call(s, t, 1), --this.size, !0;
|
|
5777
5816
|
}
|
|
5778
|
-
function
|
|
5779
|
-
var s = this.__data__, t =
|
|
5817
|
+
function fa(e) {
|
|
5818
|
+
var s = this.__data__, t = qe(s, e);
|
|
5780
5819
|
return t < 0 ? void 0 : s[t][1];
|
|
5781
5820
|
}
|
|
5782
|
-
function
|
|
5783
|
-
return
|
|
5821
|
+
function ha(e) {
|
|
5822
|
+
return qe(this.__data__, e) > -1;
|
|
5784
5823
|
}
|
|
5785
|
-
function
|
|
5786
|
-
var t = this.__data__, n =
|
|
5824
|
+
function ma(e, s) {
|
|
5825
|
+
var t = this.__data__, n = qe(t, e);
|
|
5787
5826
|
return n < 0 ? (++this.size, t.push([e, s])) : t[n][1] = s, this;
|
|
5788
5827
|
}
|
|
5789
5828
|
function J(e) {
|
|
@@ -5793,66 +5832,66 @@ function J(e) {
|
|
|
5793
5832
|
this.set(n[0], n[1]);
|
|
5794
5833
|
}
|
|
5795
5834
|
}
|
|
5796
|
-
J.prototype.clear =
|
|
5797
|
-
J.prototype.delete =
|
|
5798
|
-
J.prototype.get =
|
|
5799
|
-
J.prototype.has =
|
|
5800
|
-
J.prototype.set =
|
|
5801
|
-
function
|
|
5835
|
+
J.prototype.clear = aa;
|
|
5836
|
+
J.prototype.delete = da;
|
|
5837
|
+
J.prototype.get = fa;
|
|
5838
|
+
J.prototype.has = ha;
|
|
5839
|
+
J.prototype.set = ma;
|
|
5840
|
+
function ga() {
|
|
5802
5841
|
this.__data__ = new J(), this.size = 0;
|
|
5803
5842
|
}
|
|
5804
|
-
function
|
|
5843
|
+
function ya(e) {
|
|
5805
5844
|
var s = this.__data__, t = s.delete(e);
|
|
5806
5845
|
return this.size = s.size, t;
|
|
5807
5846
|
}
|
|
5808
|
-
function
|
|
5847
|
+
function pa(e) {
|
|
5809
5848
|
return this.__data__.get(e);
|
|
5810
5849
|
}
|
|
5811
5850
|
function va(e) {
|
|
5812
5851
|
return this.__data__.has(e);
|
|
5813
5852
|
}
|
|
5814
|
-
var Es = typeof global == "object" && global && global.Object === Object && global,
|
|
5815
|
-
function
|
|
5816
|
-
var s =
|
|
5853
|
+
var Es = typeof global == "object" && global && global.Object === Object && global, _a = typeof self == "object" && self && self.Object === Object && self, K = Es || _a || Function("return this")(), he = K.Symbol, zs = Object.prototype, ba = zs.hasOwnProperty, wa = zs.toString, ve = he ? he.toStringTag : void 0;
|
|
5854
|
+
function Sa(e) {
|
|
5855
|
+
var s = ba.call(e, ve), t = e[ve];
|
|
5817
5856
|
try {
|
|
5818
|
-
e[
|
|
5857
|
+
e[ve] = void 0;
|
|
5819
5858
|
var n = !0;
|
|
5820
5859
|
} catch {
|
|
5821
5860
|
}
|
|
5822
|
-
var i =
|
|
5823
|
-
return n && (s ? e[
|
|
5861
|
+
var i = wa.call(e);
|
|
5862
|
+
return n && (s ? e[ve] = t : delete e[ve]), i;
|
|
5824
5863
|
}
|
|
5825
|
-
var
|
|
5826
|
-
function
|
|
5827
|
-
return
|
|
5864
|
+
var ka = Object.prototype, Ca = ka.toString;
|
|
5865
|
+
function Ta(e) {
|
|
5866
|
+
return Ca.call(e);
|
|
5828
5867
|
}
|
|
5829
|
-
var
|
|
5868
|
+
var $a = "[object Null]", Aa = "[object Undefined]", Pt = he ? he.toStringTag : void 0;
|
|
5830
5869
|
function Te(e) {
|
|
5831
|
-
return e == null ? e === void 0 ?
|
|
5870
|
+
return e == null ? e === void 0 ? Aa : $a : Pt && Pt in Object(e) ? Sa(e) : Ta(e);
|
|
5832
5871
|
}
|
|
5833
|
-
function
|
|
5872
|
+
function Ye(e) {
|
|
5834
5873
|
var s = typeof e;
|
|
5835
5874
|
return e != null && (s == "object" || s == "function");
|
|
5836
5875
|
}
|
|
5837
|
-
var
|
|
5838
|
-
function
|
|
5839
|
-
if (!
|
|
5876
|
+
var Oa = "[object AsyncFunction]", xa = "[object Function]", Ra = "[object GeneratorFunction]", Ua = "[object Proxy]";
|
|
5877
|
+
function Ms(e) {
|
|
5878
|
+
if (!Ye(e))
|
|
5840
5879
|
return !1;
|
|
5841
5880
|
var s = Te(e);
|
|
5842
|
-
return s == xa || s ==
|
|
5881
|
+
return s == xa || s == Ra || s == Oa || s == Ua;
|
|
5843
5882
|
}
|
|
5844
|
-
var
|
|
5845
|
-
var e = /[^.]+$/.exec(
|
|
5883
|
+
var Qe = K["__core-js_shared__"], Lt = function() {
|
|
5884
|
+
var e = /[^.]+$/.exec(Qe && Qe.keys && Qe.keys.IE_PROTO || "");
|
|
5846
5885
|
return e ? "Symbol(src)_1." + e : "";
|
|
5847
5886
|
}();
|
|
5848
|
-
function
|
|
5849
|
-
return !!
|
|
5887
|
+
function ja(e) {
|
|
5888
|
+
return !!Lt && Lt in e;
|
|
5850
5889
|
}
|
|
5851
|
-
var
|
|
5852
|
-
function
|
|
5890
|
+
var Ia = Function.prototype, Ea = Ia.toString;
|
|
5891
|
+
function le(e) {
|
|
5853
5892
|
if (e != null) {
|
|
5854
5893
|
try {
|
|
5855
|
-
return
|
|
5894
|
+
return Ea.call(e);
|
|
5856
5895
|
} catch {
|
|
5857
5896
|
}
|
|
5858
5897
|
try {
|
|
@@ -5862,148 +5901,148 @@ function re(e) {
|
|
|
5862
5901
|
}
|
|
5863
5902
|
return "";
|
|
5864
5903
|
}
|
|
5865
|
-
var
|
|
5866
|
-
"^" + La.call(Ha).replace(
|
|
5904
|
+
var za = /[\\^$.*+?()[\]{}|]/g, Ma = /^\[object .+?Constructor\]$/, Ba = Function.prototype, Pa = Object.prototype, La = Ba.toString, Ha = Pa.hasOwnProperty, Fa = RegExp(
|
|
5905
|
+
"^" + La.call(Ha).replace(za, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
5867
5906
|
);
|
|
5868
|
-
function
|
|
5869
|
-
if (!
|
|
5907
|
+
function Va(e) {
|
|
5908
|
+
if (!Ye(e) || ja(e))
|
|
5870
5909
|
return !1;
|
|
5871
|
-
var s =
|
|
5872
|
-
return s.test(
|
|
5910
|
+
var s = Ms(e) ? Fa : Ma;
|
|
5911
|
+
return s.test(le(e));
|
|
5873
5912
|
}
|
|
5874
|
-
function
|
|
5913
|
+
function Da(e, s) {
|
|
5875
5914
|
return e?.[s];
|
|
5876
5915
|
}
|
|
5877
|
-
function
|
|
5878
|
-
var t =
|
|
5879
|
-
return
|
|
5916
|
+
function ae(e, s) {
|
|
5917
|
+
var t = Da(e, s);
|
|
5918
|
+
return Va(t) ? t : void 0;
|
|
5880
5919
|
}
|
|
5881
|
-
var
|
|
5882
|
-
function
|
|
5883
|
-
this.__data__ =
|
|
5920
|
+
var ke = ae(K, "Map"), Ce = ae(Object, "create");
|
|
5921
|
+
function Na() {
|
|
5922
|
+
this.__data__ = Ce ? Ce(null) : {}, this.size = 0;
|
|
5884
5923
|
}
|
|
5885
|
-
function
|
|
5924
|
+
function Wa(e) {
|
|
5886
5925
|
var s = this.has(e) && delete this.__data__[e];
|
|
5887
5926
|
return this.size -= s ? 1 : 0, s;
|
|
5888
5927
|
}
|
|
5889
|
-
var
|
|
5890
|
-
function
|
|
5928
|
+
var Xa = "__lodash_hash_undefined__", qa = Object.prototype, Ya = qa.hasOwnProperty;
|
|
5929
|
+
function Ka(e) {
|
|
5891
5930
|
var s = this.__data__;
|
|
5892
|
-
if (
|
|
5931
|
+
if (Ce) {
|
|
5893
5932
|
var t = s[e];
|
|
5894
|
-
return t ===
|
|
5933
|
+
return t === Xa ? void 0 : t;
|
|
5895
5934
|
}
|
|
5896
|
-
return
|
|
5935
|
+
return Ya.call(s, e) ? s[e] : void 0;
|
|
5897
5936
|
}
|
|
5898
|
-
var
|
|
5899
|
-
function
|
|
5937
|
+
var Ga = Object.prototype, Za = Ga.hasOwnProperty;
|
|
5938
|
+
function Ja(e) {
|
|
5900
5939
|
var s = this.__data__;
|
|
5901
|
-
return
|
|
5940
|
+
return Ce ? s[e] !== void 0 : Za.call(s, e);
|
|
5902
5941
|
}
|
|
5903
|
-
var
|
|
5904
|
-
function
|
|
5942
|
+
var Qa = "__lodash_hash_undefined__";
|
|
5943
|
+
function ec(e, s) {
|
|
5905
5944
|
var t = this.__data__;
|
|
5906
|
-
return this.size += this.has(e) ? 0 : 1, t[e] =
|
|
5945
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = Ce && s === void 0 ? Qa : s, this;
|
|
5907
5946
|
}
|
|
5908
|
-
function
|
|
5947
|
+
function re(e) {
|
|
5909
5948
|
var s = -1, t = e == null ? 0 : e.length;
|
|
5910
5949
|
for (this.clear(); ++s < t; ) {
|
|
5911
5950
|
var n = e[s];
|
|
5912
5951
|
this.set(n[0], n[1]);
|
|
5913
5952
|
}
|
|
5914
5953
|
}
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
function
|
|
5954
|
+
re.prototype.clear = Na;
|
|
5955
|
+
re.prototype.delete = Wa;
|
|
5956
|
+
re.prototype.get = Ka;
|
|
5957
|
+
re.prototype.has = Ja;
|
|
5958
|
+
re.prototype.set = ec;
|
|
5959
|
+
function tc() {
|
|
5921
5960
|
this.size = 0, this.__data__ = {
|
|
5922
|
-
hash: new
|
|
5923
|
-
map: new (
|
|
5924
|
-
string: new
|
|
5961
|
+
hash: new re(),
|
|
5962
|
+
map: new (ke || J)(),
|
|
5963
|
+
string: new re()
|
|
5925
5964
|
};
|
|
5926
5965
|
}
|
|
5927
|
-
function
|
|
5966
|
+
function sc(e) {
|
|
5928
5967
|
var s = typeof e;
|
|
5929
5968
|
return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? e !== "__proto__" : e === null;
|
|
5930
5969
|
}
|
|
5931
|
-
function
|
|
5970
|
+
function Ke(e, s) {
|
|
5932
5971
|
var t = e.__data__;
|
|
5933
|
-
return
|
|
5972
|
+
return sc(s) ? t[typeof s == "string" ? "string" : "hash"] : t.map;
|
|
5934
5973
|
}
|
|
5935
|
-
function
|
|
5936
|
-
var s =
|
|
5974
|
+
function nc(e) {
|
|
5975
|
+
var s = Ke(this, e).delete(e);
|
|
5937
5976
|
return this.size -= s ? 1 : 0, s;
|
|
5938
5977
|
}
|
|
5939
|
-
function
|
|
5940
|
-
return
|
|
5978
|
+
function oc(e) {
|
|
5979
|
+
return Ke(this, e).get(e);
|
|
5941
5980
|
}
|
|
5942
|
-
function
|
|
5943
|
-
return
|
|
5981
|
+
function ic(e) {
|
|
5982
|
+
return Ke(this, e).has(e);
|
|
5944
5983
|
}
|
|
5945
|
-
function
|
|
5946
|
-
var t =
|
|
5984
|
+
function rc(e, s) {
|
|
5985
|
+
var t = Ke(this, e), n = t.size;
|
|
5947
5986
|
return t.set(e, s), this.size += t.size == n ? 0 : 1, this;
|
|
5948
5987
|
}
|
|
5949
|
-
function
|
|
5988
|
+
function ge(e) {
|
|
5950
5989
|
var s = -1, t = e == null ? 0 : e.length;
|
|
5951
5990
|
for (this.clear(); ++s < t; ) {
|
|
5952
5991
|
var n = e[s];
|
|
5953
5992
|
this.set(n[0], n[1]);
|
|
5954
5993
|
}
|
|
5955
5994
|
}
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
var
|
|
5962
|
-
function
|
|
5995
|
+
ge.prototype.clear = tc;
|
|
5996
|
+
ge.prototype.delete = nc;
|
|
5997
|
+
ge.prototype.get = oc;
|
|
5998
|
+
ge.prototype.has = ic;
|
|
5999
|
+
ge.prototype.set = rc;
|
|
6000
|
+
var lc = 200;
|
|
6001
|
+
function ac(e, s) {
|
|
5963
6002
|
var t = this.__data__;
|
|
5964
6003
|
if (t instanceof J) {
|
|
5965
6004
|
var n = t.__data__;
|
|
5966
|
-
if (!
|
|
6005
|
+
if (!ke || n.length < lc - 1)
|
|
5967
6006
|
return n.push([e, s]), this.size = ++t.size, this;
|
|
5968
|
-
t = this.__data__ = new
|
|
6007
|
+
t = this.__data__ = new ge(n);
|
|
5969
6008
|
}
|
|
5970
6009
|
return t.set(e, s), this.size = t.size, this;
|
|
5971
6010
|
}
|
|
5972
|
-
function
|
|
6011
|
+
function ye(e) {
|
|
5973
6012
|
var s = this.__data__ = new J(e);
|
|
5974
6013
|
this.size = s.size;
|
|
5975
6014
|
}
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
function
|
|
6015
|
+
ye.prototype.clear = ga;
|
|
6016
|
+
ye.prototype.delete = ya;
|
|
6017
|
+
ye.prototype.get = pa;
|
|
6018
|
+
ye.prototype.has = va;
|
|
6019
|
+
ye.prototype.set = ac;
|
|
6020
|
+
function cc(e, s) {
|
|
5982
6021
|
for (var t = -1, n = e == null ? 0 : e.length; ++t < n && s(e[t], t, e) !== !1; )
|
|
5983
6022
|
;
|
|
5984
6023
|
return e;
|
|
5985
6024
|
}
|
|
5986
|
-
var
|
|
6025
|
+
var Ht = function() {
|
|
5987
6026
|
try {
|
|
5988
|
-
var e =
|
|
6027
|
+
var e = ae(Object, "defineProperty");
|
|
5989
6028
|
return e({}, "", {}), e;
|
|
5990
6029
|
} catch {
|
|
5991
6030
|
}
|
|
5992
6031
|
}();
|
|
5993
|
-
function
|
|
5994
|
-
s == "__proto__" &&
|
|
6032
|
+
function uc(e, s, t) {
|
|
6033
|
+
s == "__proto__" && Ht ? Ht(e, s, {
|
|
5995
6034
|
configurable: !0,
|
|
5996
6035
|
enumerable: !0,
|
|
5997
6036
|
value: t,
|
|
5998
6037
|
writable: !0
|
|
5999
6038
|
}) : e[s] = t;
|
|
6000
6039
|
}
|
|
6001
|
-
var
|
|
6002
|
-
function
|
|
6040
|
+
var dc = Object.prototype, fc = dc.hasOwnProperty;
|
|
6041
|
+
function hc(e, s, t) {
|
|
6003
6042
|
var n = e[s];
|
|
6004
|
-
(!(
|
|
6043
|
+
(!(fc.call(e, s) && Is(n, t)) || t === void 0 && !(s in e)) && uc(e, s, t);
|
|
6005
6044
|
}
|
|
6006
|
-
function
|
|
6045
|
+
function mc(e, s) {
|
|
6007
6046
|
for (var t = -1, n = Array(e); ++t < e; )
|
|
6008
6047
|
n[t] = s(t);
|
|
6009
6048
|
return n;
|
|
@@ -6011,169 +6050,170 @@ function gc(e, s) {
|
|
|
6011
6050
|
function $e(e) {
|
|
6012
6051
|
return e != null && typeof e == "object";
|
|
6013
6052
|
}
|
|
6014
|
-
var
|
|
6015
|
-
function
|
|
6016
|
-
return $e(e) && Te(e) ==
|
|
6053
|
+
var gc = "[object Arguments]";
|
|
6054
|
+
function Ft(e) {
|
|
6055
|
+
return $e(e) && Te(e) == gc;
|
|
6017
6056
|
}
|
|
6018
|
-
var
|
|
6057
|
+
var Bs = Object.prototype, yc = Bs.hasOwnProperty, pc = Bs.propertyIsEnumerable, vc = Ft(/* @__PURE__ */ function() {
|
|
6019
6058
|
return arguments;
|
|
6020
|
-
}()) ?
|
|
6021
|
-
return $e(e) &&
|
|
6022
|
-
},
|
|
6023
|
-
function
|
|
6059
|
+
}()) ? Ft : function(e) {
|
|
6060
|
+
return $e(e) && yc.call(e, "callee") && !pc.call(e, "callee");
|
|
6061
|
+
}, wt = Array.isArray;
|
|
6062
|
+
function _c() {
|
|
6024
6063
|
return !1;
|
|
6025
6064
|
}
|
|
6026
|
-
var
|
|
6027
|
-
function
|
|
6065
|
+
var Ps = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Ps && typeof module == "object" && module && !module.nodeType && module, bc = Vt && Vt.exports === Ps, Dt = bc ? K.Buffer : void 0, wc = Dt ? Dt.isBuffer : void 0, Ls = wc || _c, Sc = 9007199254740991, kc = /^(?:0|[1-9]\d*)$/;
|
|
6066
|
+
function Cc(e, s) {
|
|
6028
6067
|
var t = typeof e;
|
|
6029
|
-
return s = s ??
|
|
6068
|
+
return s = s ?? Sc, !!s && (t == "number" || t != "symbol" && kc.test(e)) && e > -1 && e % 1 == 0 && e < s;
|
|
6030
6069
|
}
|
|
6031
|
-
var
|
|
6032
|
-
function
|
|
6033
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
6070
|
+
var Tc = 9007199254740991;
|
|
6071
|
+
function Hs(e) {
|
|
6072
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Tc;
|
|
6034
6073
|
}
|
|
6035
|
-
var
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
function
|
|
6039
|
-
return $e(e) &&
|
|
6074
|
+
var $c = "[object Arguments]", Ac = "[object Array]", Oc = "[object Boolean]", xc = "[object Date]", Rc = "[object Error]", Uc = "[object Function]", jc = "[object Map]", Ic = "[object Number]", Ec = "[object Object]", zc = "[object RegExp]", Mc = "[object Set]", Bc = "[object String]", Pc = "[object WeakMap]", Lc = "[object ArrayBuffer]", Hc = "[object DataView]", Fc = "[object Float32Array]", Vc = "[object Float64Array]", Dc = "[object Int8Array]", Nc = "[object Int16Array]", Wc = "[object Int32Array]", Xc = "[object Uint8Array]", qc = "[object Uint8ClampedArray]", Yc = "[object Uint16Array]", Kc = "[object Uint32Array]", I = {};
|
|
6075
|
+
I[Fc] = I[Vc] = I[Dc] = I[Nc] = I[Wc] = I[Xc] = I[qc] = I[Yc] = I[Kc] = !0;
|
|
6076
|
+
I[$c] = I[Ac] = I[Lc] = I[Oc] = I[Hc] = I[xc] = I[Rc] = I[Uc] = I[jc] = I[Ic] = I[Ec] = I[zc] = I[Mc] = I[Bc] = I[Pc] = !1;
|
|
6077
|
+
function Gc(e) {
|
|
6078
|
+
return $e(e) && Hs(e.length) && !!I[Te(e)];
|
|
6040
6079
|
}
|
|
6041
|
-
function
|
|
6080
|
+
function St(e) {
|
|
6042
6081
|
return function(s) {
|
|
6043
6082
|
return e(s);
|
|
6044
6083
|
};
|
|
6045
6084
|
}
|
|
6046
|
-
var
|
|
6085
|
+
var Fs = typeof exports == "object" && exports && !exports.nodeType && exports, Se = Fs && typeof module == "object" && module && !module.nodeType && module, Zc = Se && Se.exports === Fs, et = Zc && Es.process, me = function() {
|
|
6047
6086
|
try {
|
|
6048
|
-
var e =
|
|
6049
|
-
return e ||
|
|
6087
|
+
var e = Se && Se.require && Se.require("util").types;
|
|
6088
|
+
return e || et && et.binding && et.binding("util");
|
|
6050
6089
|
} catch {
|
|
6051
6090
|
}
|
|
6052
|
-
}(),
|
|
6053
|
-
function
|
|
6054
|
-
var t =
|
|
6091
|
+
}(), Nt = me && me.isTypedArray, Jc = Nt ? St(Nt) : Gc, Qc = Object.prototype, eu = Qc.hasOwnProperty;
|
|
6092
|
+
function tu(e, s) {
|
|
6093
|
+
var t = wt(e), n = !t && vc(e), i = !t && !n && Ls(e), o = !t && !n && !i && Jc(e), r = t || n || i || o, l = r ? mc(e.length, String) : [], c = l.length;
|
|
6055
6094
|
for (var u in e)
|
|
6056
|
-
|
|
6095
|
+
eu.call(e, u) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6057
6096
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6058
6097
|
i && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6059
6098
|
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
6060
|
-
|
|
6099
|
+
Cc(u, c))) && l.push(u);
|
|
6061
6100
|
return l;
|
|
6062
6101
|
}
|
|
6063
|
-
var
|
|
6064
|
-
function
|
|
6065
|
-
var s = e && e.constructor, t = typeof s == "function" && s.prototype ||
|
|
6102
|
+
var su = Object.prototype;
|
|
6103
|
+
function Vs(e) {
|
|
6104
|
+
var s = e && e.constructor, t = typeof s == "function" && s.prototype || su;
|
|
6066
6105
|
return e === t;
|
|
6067
6106
|
}
|
|
6068
|
-
function
|
|
6107
|
+
function Ds(e, s) {
|
|
6069
6108
|
return function(t) {
|
|
6070
6109
|
return e(s(t));
|
|
6071
6110
|
};
|
|
6072
6111
|
}
|
|
6073
|
-
var
|
|
6074
|
-
function
|
|
6075
|
-
if (!
|
|
6076
|
-
return
|
|
6112
|
+
var nu = Ds(Object.keys, Object), ou = Object.prototype, iu = ou.hasOwnProperty;
|
|
6113
|
+
function ru(e) {
|
|
6114
|
+
if (!Vs(e))
|
|
6115
|
+
return nu(e);
|
|
6077
6116
|
var s = [];
|
|
6078
6117
|
for (var t in Object(e))
|
|
6079
|
-
|
|
6118
|
+
iu.call(e, t) && t != "constructor" && s.push(t);
|
|
6080
6119
|
return s;
|
|
6081
6120
|
}
|
|
6082
|
-
function
|
|
6083
|
-
return e != null &&
|
|
6121
|
+
function lu(e) {
|
|
6122
|
+
return e != null && Hs(e.length) && !Ms(e);
|
|
6084
6123
|
}
|
|
6085
|
-
function
|
|
6086
|
-
return
|
|
6124
|
+
function au(e) {
|
|
6125
|
+
return lu(e) ? tu(e) : ru(e);
|
|
6087
6126
|
}
|
|
6088
|
-
var
|
|
6089
|
-
|
|
6090
|
-
function
|
|
6127
|
+
var Ns = typeof exports == "object" && exports && !exports.nodeType && exports, Wt = Ns && typeof module == "object" && module && !module.nodeType && module, cu = Wt && Wt.exports === Ns, Xt = cu ? K.Buffer : void 0;
|
|
6128
|
+
Xt && Xt.allocUnsafe;
|
|
6129
|
+
function uu(e, s) {
|
|
6091
6130
|
return e.slice();
|
|
6092
6131
|
}
|
|
6093
|
-
function
|
|
6132
|
+
function du(e, s) {
|
|
6094
6133
|
for (var t = -1, n = e == null ? 0 : e.length, i = 0, o = []; ++t < n; ) {
|
|
6095
6134
|
var r = e[t];
|
|
6096
6135
|
s(r, t, e) && (o[i++] = r);
|
|
6097
6136
|
}
|
|
6098
6137
|
return o;
|
|
6099
6138
|
}
|
|
6100
|
-
function
|
|
6139
|
+
function fu() {
|
|
6101
6140
|
return [];
|
|
6102
6141
|
}
|
|
6103
|
-
var
|
|
6104
|
-
return e == null ? [] : (e = Object(e),
|
|
6105
|
-
return
|
|
6142
|
+
var hu = Object.prototype, mu = hu.propertyIsEnumerable, qt = Object.getOwnPropertySymbols, gu = qt ? function(e) {
|
|
6143
|
+
return e == null ? [] : (e = Object(e), du(qt(e), function(s) {
|
|
6144
|
+
return mu.call(e, s);
|
|
6106
6145
|
}));
|
|
6107
|
-
} :
|
|
6108
|
-
function
|
|
6146
|
+
} : fu;
|
|
6147
|
+
function yu(e, s) {
|
|
6109
6148
|
for (var t = -1, n = s.length, i = e.length; ++t < n; )
|
|
6110
6149
|
e[i + t] = s[t];
|
|
6111
6150
|
return e;
|
|
6112
6151
|
}
|
|
6113
|
-
var
|
|
6152
|
+
var pu = Ds(Object.getPrototypeOf, Object);
|
|
6114
6153
|
function vu(e, s, t) {
|
|
6115
6154
|
var n = s(e);
|
|
6116
|
-
return
|
|
6155
|
+
return wt(e) ? n : yu(n, t(e));
|
|
6117
6156
|
}
|
|
6118
|
-
function
|
|
6119
|
-
return vu(e,
|
|
6157
|
+
function _u(e) {
|
|
6158
|
+
return vu(e, au, gu);
|
|
6120
6159
|
}
|
|
6121
|
-
var
|
|
6122
|
-
(
|
|
6123
|
-
var s = Te(e), t = s ==
|
|
6160
|
+
var rt = ae(K, "DataView"), lt = ae(K, "Promise"), at = ae(K, "Set"), ct = ae(K, "WeakMap"), Yt = "[object Map]", bu = "[object Object]", Kt = "[object Promise]", Gt = "[object Set]", Zt = "[object WeakMap]", Jt = "[object DataView]", wu = le(rt), Su = le(ke), ku = le(lt), Cu = le(at), Tu = le(ct), G = Te;
|
|
6161
|
+
(rt && G(new rt(new ArrayBuffer(1))) != Jt || ke && G(new ke()) != Yt || lt && G(lt.resolve()) != Kt || at && G(new at()) != Gt || ct && G(new ct()) != Zt) && (G = function(e) {
|
|
6162
|
+
var s = Te(e), t = s == bu ? e.constructor : void 0, n = t ? le(t) : "";
|
|
6124
6163
|
if (n)
|
|
6125
6164
|
switch (n) {
|
|
6165
|
+
case wu:
|
|
6166
|
+
return Jt;
|
|
6126
6167
|
case Su:
|
|
6127
|
-
return Zt;
|
|
6128
|
-
case ku:
|
|
6129
|
-
return qt;
|
|
6130
|
-
case Cu:
|
|
6131
6168
|
return Yt;
|
|
6132
|
-
case
|
|
6169
|
+
case ku:
|
|
6133
6170
|
return Kt;
|
|
6134
|
-
case
|
|
6171
|
+
case Cu:
|
|
6135
6172
|
return Gt;
|
|
6173
|
+
case Tu:
|
|
6174
|
+
return Zt;
|
|
6136
6175
|
}
|
|
6137
6176
|
return s;
|
|
6138
6177
|
});
|
|
6139
|
-
var
|
|
6140
|
-
function
|
|
6178
|
+
var $u = Object.prototype, Au = $u.hasOwnProperty;
|
|
6179
|
+
function Ou(e) {
|
|
6141
6180
|
var s = e.length, t = new e.constructor(s);
|
|
6142
|
-
return s && typeof e[0] == "string" &&
|
|
6181
|
+
return s && typeof e[0] == "string" && Au.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
6143
6182
|
}
|
|
6144
|
-
var
|
|
6145
|
-
function
|
|
6183
|
+
var Qt = K.Uint8Array;
|
|
6184
|
+
function kt(e) {
|
|
6146
6185
|
var s = new e.constructor(e.byteLength);
|
|
6147
|
-
return new
|
|
6186
|
+
return new Qt(s).set(new Qt(e)), s;
|
|
6148
6187
|
}
|
|
6149
6188
|
function xu(e, s) {
|
|
6150
|
-
var t =
|
|
6189
|
+
var t = kt(e.buffer);
|
|
6151
6190
|
return new e.constructor(t, e.byteOffset, e.byteLength);
|
|
6152
6191
|
}
|
|
6153
|
-
var
|
|
6154
|
-
function
|
|
6155
|
-
var s = new e.constructor(e.source,
|
|
6192
|
+
var Ru = /\w*$/;
|
|
6193
|
+
function Uu(e) {
|
|
6194
|
+
var s = new e.constructor(e.source, Ru.exec(e));
|
|
6156
6195
|
return s.lastIndex = e.lastIndex, s;
|
|
6157
6196
|
}
|
|
6158
|
-
var
|
|
6159
|
-
function
|
|
6160
|
-
return
|
|
6197
|
+
var es = he ? he.prototype : void 0, ts = es ? es.valueOf : void 0;
|
|
6198
|
+
function ju(e) {
|
|
6199
|
+
return ts ? Object(ts.call(e)) : {};
|
|
6161
6200
|
}
|
|
6162
|
-
function
|
|
6163
|
-
var t =
|
|
6201
|
+
function Iu(e, s) {
|
|
6202
|
+
var t = kt(e.buffer);
|
|
6164
6203
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
6165
6204
|
}
|
|
6166
|
-
var
|
|
6167
|
-
function
|
|
6205
|
+
var Eu = "[object Boolean]", zu = "[object Date]", Mu = "[object Map]", Bu = "[object Number]", Pu = "[object RegExp]", Lu = "[object Set]", Hu = "[object String]", Fu = "[object Symbol]", Vu = "[object ArrayBuffer]", Du = "[object DataView]", Nu = "[object Float32Array]", Wu = "[object Float64Array]", Xu = "[object Int8Array]", qu = "[object Int16Array]", Yu = "[object Int32Array]", Ku = "[object Uint8Array]", Gu = "[object Uint8ClampedArray]", Zu = "[object Uint16Array]", Ju = "[object Uint32Array]";
|
|
6206
|
+
function Qu(e, s, t) {
|
|
6168
6207
|
var n = e.constructor;
|
|
6169
6208
|
switch (s) {
|
|
6170
|
-
case
|
|
6171
|
-
return
|
|
6172
|
-
case
|
|
6173
|
-
case
|
|
6209
|
+
case Vu:
|
|
6210
|
+
return kt(e);
|
|
6211
|
+
case Eu:
|
|
6212
|
+
case zu:
|
|
6174
6213
|
return new n(+e);
|
|
6175
|
-
case
|
|
6214
|
+
case Du:
|
|
6176
6215
|
return xu(e);
|
|
6216
|
+
case Nu:
|
|
6177
6217
|
case Wu:
|
|
6178
6218
|
case Xu:
|
|
6179
6219
|
case qu:
|
|
@@ -6182,93 +6222,92 @@ function ed(e, s, t) {
|
|
|
6182
6222
|
case Gu:
|
|
6183
6223
|
case Zu:
|
|
6184
6224
|
case Ju:
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
case Bu:
|
|
6225
|
+
return Iu(e);
|
|
6226
|
+
case Mu:
|
|
6188
6227
|
return new n();
|
|
6189
|
-
case
|
|
6228
|
+
case Bu:
|
|
6190
6229
|
case Hu:
|
|
6191
6230
|
return new n(e);
|
|
6192
|
-
case
|
|
6193
|
-
return
|
|
6231
|
+
case Pu:
|
|
6232
|
+
return Uu(e);
|
|
6194
6233
|
case Lu:
|
|
6195
6234
|
return new n();
|
|
6196
|
-
case
|
|
6197
|
-
return
|
|
6235
|
+
case Fu:
|
|
6236
|
+
return ju(e);
|
|
6198
6237
|
}
|
|
6199
6238
|
}
|
|
6200
|
-
var
|
|
6239
|
+
var ss = Object.create, ed = /* @__PURE__ */ function() {
|
|
6201
6240
|
function e() {
|
|
6202
6241
|
}
|
|
6203
6242
|
return function(s) {
|
|
6204
|
-
if (!
|
|
6243
|
+
if (!Ye(s))
|
|
6205
6244
|
return {};
|
|
6206
|
-
if (
|
|
6207
|
-
return
|
|
6245
|
+
if (ss)
|
|
6246
|
+
return ss(s);
|
|
6208
6247
|
e.prototype = s;
|
|
6209
6248
|
var t = new e();
|
|
6210
6249
|
return e.prototype = void 0, t;
|
|
6211
6250
|
};
|
|
6212
6251
|
}();
|
|
6213
|
-
function
|
|
6214
|
-
return typeof e.constructor == "function" && !
|
|
6252
|
+
function td(e) {
|
|
6253
|
+
return typeof e.constructor == "function" && !Vs(e) ? ed(pu(e)) : {};
|
|
6215
6254
|
}
|
|
6216
|
-
var
|
|
6217
|
-
function
|
|
6218
|
-
return $e(e) && G(e) ==
|
|
6255
|
+
var sd = "[object Map]";
|
|
6256
|
+
function nd(e) {
|
|
6257
|
+
return $e(e) && G(e) == sd;
|
|
6219
6258
|
}
|
|
6220
|
-
var
|
|
6221
|
-
function
|
|
6222
|
-
return $e(e) && G(e) ==
|
|
6259
|
+
var ns = me && me.isMap, od = ns ? St(ns) : nd, id = "[object Set]";
|
|
6260
|
+
function rd(e) {
|
|
6261
|
+
return $e(e) && G(e) == id;
|
|
6223
6262
|
}
|
|
6224
|
-
var
|
|
6225
|
-
j[
|
|
6226
|
-
j[
|
|
6227
|
-
function
|
|
6263
|
+
var os = me && me.isSet, ld = os ? St(os) : rd, Ws = "[object Arguments]", ad = "[object Array]", cd = "[object Boolean]", ud = "[object Date]", dd = "[object Error]", Xs = "[object Function]", fd = "[object GeneratorFunction]", hd = "[object Map]", md = "[object Number]", qs = "[object Object]", gd = "[object RegExp]", yd = "[object Set]", pd = "[object String]", vd = "[object Symbol]", _d = "[object WeakMap]", bd = "[object ArrayBuffer]", wd = "[object DataView]", Sd = "[object Float32Array]", kd = "[object Float64Array]", Cd = "[object Int8Array]", Td = "[object Int16Array]", $d = "[object Int32Array]", Ad = "[object Uint8Array]", Od = "[object Uint8ClampedArray]", xd = "[object Uint16Array]", Rd = "[object Uint32Array]", j = {};
|
|
6264
|
+
j[Ws] = j[ad] = j[bd] = j[wd] = j[cd] = j[ud] = j[Sd] = j[kd] = j[Cd] = j[Td] = j[$d] = j[hd] = j[md] = j[qs] = j[gd] = j[yd] = j[pd] = j[vd] = j[Ad] = j[Od] = j[xd] = j[Rd] = !0;
|
|
6265
|
+
j[dd] = j[Xs] = j[_d] = !1;
|
|
6266
|
+
function ze(e, s, t, n, i, o) {
|
|
6228
6267
|
var r;
|
|
6229
6268
|
if (r !== void 0)
|
|
6230
6269
|
return r;
|
|
6231
|
-
if (!
|
|
6270
|
+
if (!Ye(e))
|
|
6232
6271
|
return e;
|
|
6233
|
-
var l =
|
|
6272
|
+
var l = wt(e);
|
|
6234
6273
|
if (l)
|
|
6235
|
-
r =
|
|
6274
|
+
r = Ou(e);
|
|
6236
6275
|
else {
|
|
6237
|
-
var c = G(e), u = c ==
|
|
6238
|
-
if (
|
|
6239
|
-
return
|
|
6240
|
-
if (c ==
|
|
6241
|
-
r = u ? {} :
|
|
6276
|
+
var c = G(e), u = c == Xs || c == fd;
|
|
6277
|
+
if (Ls(e))
|
|
6278
|
+
return uu(e);
|
|
6279
|
+
if (c == qs || c == Ws || u && !i)
|
|
6280
|
+
r = u ? {} : td(e);
|
|
6242
6281
|
else {
|
|
6243
6282
|
if (!j[c])
|
|
6244
6283
|
return i ? e : {};
|
|
6245
|
-
r =
|
|
6284
|
+
r = Qu(e, c);
|
|
6246
6285
|
}
|
|
6247
6286
|
}
|
|
6248
|
-
o || (o = new
|
|
6287
|
+
o || (o = new ye());
|
|
6249
6288
|
var f = o.get(e);
|
|
6250
6289
|
if (f)
|
|
6251
6290
|
return f;
|
|
6252
|
-
o.set(e, r),
|
|
6253
|
-
r.add(
|
|
6254
|
-
}) :
|
|
6255
|
-
r.set(
|
|
6291
|
+
o.set(e, r), ld(e) ? e.forEach(function(x) {
|
|
6292
|
+
r.add(ze(x, s, t, x, e, o));
|
|
6293
|
+
}) : od(e) && e.forEach(function(x, M) {
|
|
6294
|
+
r.set(M, ze(x, s, t, M, e, o));
|
|
6256
6295
|
});
|
|
6257
|
-
var _ =
|
|
6258
|
-
return
|
|
6259
|
-
b && (
|
|
6296
|
+
var _ = _u, b = l ? void 0 : _(e);
|
|
6297
|
+
return cc(b || e, function(x, M) {
|
|
6298
|
+
b && (M = x, x = e[M]), hc(r, M, ze(x, s, t, M, e, o));
|
|
6260
6299
|
}), r;
|
|
6261
6300
|
}
|
|
6262
|
-
var
|
|
6263
|
-
function
|
|
6264
|
-
return
|
|
6301
|
+
var Ud = 1, jd = 4;
|
|
6302
|
+
function Id(e) {
|
|
6303
|
+
return ze(e, Ud | jd);
|
|
6265
6304
|
}
|
|
6266
|
-
const
|
|
6267
|
-
let
|
|
6268
|
-
const
|
|
6305
|
+
const tt = (e) => e.every((s) => typeof s == "object"), is = !0, Ys = () => window.innerWidth;
|
|
6306
|
+
let rs = Ys();
|
|
6307
|
+
const Ed = {
|
|
6269
6308
|
name: "UluTableSticky",
|
|
6270
6309
|
components: {
|
|
6271
|
-
UluTableStickyTable:
|
|
6310
|
+
UluTableStickyTable: la
|
|
6272
6311
|
},
|
|
6273
6312
|
props: {
|
|
6274
6313
|
/**
|
|
@@ -6299,7 +6338,7 @@ const Id = {
|
|
|
6299
6338
|
*/
|
|
6300
6339
|
caption: {
|
|
6301
6340
|
type: String,
|
|
6302
|
-
required:
|
|
6341
|
+
required: is
|
|
6303
6342
|
},
|
|
6304
6343
|
/**
|
|
6305
6344
|
* Array of column configurations to convert to list output
|
|
@@ -6320,8 +6359,8 @@ const Id = {
|
|
|
6320
6359
|
*/
|
|
6321
6360
|
columns: {
|
|
6322
6361
|
type: Array,
|
|
6323
|
-
validator:
|
|
6324
|
-
required:
|
|
6362
|
+
validator: tt,
|
|
6363
|
+
required: is
|
|
6325
6364
|
},
|
|
6326
6365
|
/**
|
|
6327
6366
|
* Whether the first column of the table should be sticky
|
|
@@ -6341,7 +6380,7 @@ const Id = {
|
|
|
6341
6380
|
*/
|
|
6342
6381
|
rows: {
|
|
6343
6382
|
type: Array,
|
|
6344
|
-
validator:
|
|
6383
|
+
validator: tt
|
|
6345
6384
|
// required
|
|
6346
6385
|
},
|
|
6347
6386
|
/**
|
|
@@ -6349,7 +6388,7 @@ const Id = {
|
|
|
6349
6388
|
*/
|
|
6350
6389
|
footerRows: {
|
|
6351
6390
|
type: Array,
|
|
6352
|
-
validator:
|
|
6391
|
+
validator: tt
|
|
6353
6392
|
},
|
|
6354
6393
|
/**
|
|
6355
6394
|
* Enables the visibility of the scroll controls
|
|
@@ -6385,7 +6424,7 @@ const Id = {
|
|
|
6385
6424
|
headerRows: this.createHeaderRows(e),
|
|
6386
6425
|
sizesCalculated: !1,
|
|
6387
6426
|
tableWidth: "auto",
|
|
6388
|
-
resizeHandler:
|
|
6427
|
+
resizeHandler: De(this.onResize.bind(this), 500, !0),
|
|
6389
6428
|
resizing: !1,
|
|
6390
6429
|
overflownX: !1,
|
|
6391
6430
|
canScrollLeft: !1,
|
|
@@ -6525,7 +6564,7 @@ const Id = {
|
|
|
6525
6564
|
* - Can be used in the future for adding/removing or enabling/disabling
|
|
6526
6565
|
*/
|
|
6527
6566
|
createColumns() {
|
|
6528
|
-
const e = this.idCreator("c"), s =
|
|
6567
|
+
const e = this.idCreator("c"), s = Id(this.columns), t = (n, i) => {
|
|
6529
6568
|
n.id = e(), n.parent = i, n.width = "auto", n.boxWidth = null, n.sortApplied = !1, n.sortAscending = !1, n.sortFocused = !1;
|
|
6530
6569
|
let o = [];
|
|
6531
6570
|
i && (i.headers && i.headers.length ? o = [...i.headers] : o.push(i.id)), o.push(n.id), n.headers = o, n.columns ? n.columns.forEach((r) => t(r, n)) : !n.key && !n.value && !n.slot && console.warn("UluTableSticky: Missing 'key', 'value' or 'slot' in column configuration for", n);
|
|
@@ -6565,8 +6604,8 @@ const Id = {
|
|
|
6565
6604
|
})) : [];
|
|
6566
6605
|
},
|
|
6567
6606
|
onResize() {
|
|
6568
|
-
const e =
|
|
6569
|
-
|
|
6607
|
+
const e = Ys();
|
|
6608
|
+
rs !== e && (rs = e, this.resizing ? (this.resizing = !1, this.setTableSizes(), this.checkOverflowX(), this.syncScrollLeft()) : (this.resizing = !0, this.removeTableSizes()));
|
|
6570
6609
|
},
|
|
6571
6610
|
/**
|
|
6572
6611
|
* Method to update the table (sizes, etc) when data has changed
|
|
@@ -6640,7 +6679,7 @@ const Id = {
|
|
|
6640
6679
|
o && (i.boxWidth = e(o, "width"), i.width = `${i.boxWidth}px`);
|
|
6641
6680
|
});
|
|
6642
6681
|
}), this.firstColumnSticky && (this.currentRows.forEach((n) => t(n)), this.currentFooterRows.forEach((n) => t(n))), this.$nextTick(() => {
|
|
6643
|
-
this.sizesCalculated = !0,
|
|
6682
|
+
this.sizesCalculated = !0, js(() => {
|
|
6644
6683
|
this.sizesPainted = !0;
|
|
6645
6684
|
});
|
|
6646
6685
|
});
|
|
@@ -6669,14 +6708,14 @@ const Id = {
|
|
|
6669
6708
|
unmounted() {
|
|
6670
6709
|
this.columnResizeObserver.disconnect(), this.columnResizeObserver = null;
|
|
6671
6710
|
}
|
|
6672
|
-
},
|
|
6711
|
+
}, zd = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--header" }, Md = { class: "table-sticky__header-wrap" }, Bd = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--first-column-header" }, Pd = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--controls" }, Ld = {
|
|
6673
6712
|
key: 2,
|
|
6674
6713
|
class: "table-sticky__controls-inner"
|
|
6675
|
-
}, Hd = ["disabled"],
|
|
6714
|
+
}, Hd = ["disabled"], Fd = ["disabled"], Vd = {
|
|
6676
6715
|
ref: "display",
|
|
6677
6716
|
class: "table-sticky__display"
|
|
6678
6717
|
};
|
|
6679
|
-
function
|
|
6718
|
+
function Dd(e, s, t, n, i, o) {
|
|
6680
6719
|
const r = z("UluTableStickyTable");
|
|
6681
6720
|
return a(), d("div", {
|
|
6682
6721
|
class: m(["table-sticky", {
|
|
@@ -6685,9 +6724,9 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6685
6724
|
"table-sticky--can-scroll-left": i.canScrollLeft
|
|
6686
6725
|
}])
|
|
6687
6726
|
}, [
|
|
6688
|
-
h("div",
|
|
6689
|
-
h("div",
|
|
6690
|
-
|
|
6727
|
+
h("div", zd, [
|
|
6728
|
+
h("div", Md, [
|
|
6729
|
+
R(r, {
|
|
6691
6730
|
ref: "header",
|
|
6692
6731
|
class: "table-sticky__table table-sticky__table--header",
|
|
6693
6732
|
classes: t.classes,
|
|
@@ -6696,13 +6735,13 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6696
6735
|
getColumnTitle: t.getColumnTitle,
|
|
6697
6736
|
idPrefix: t.idPrefix,
|
|
6698
6737
|
headerRows: i.headerRows,
|
|
6699
|
-
style:
|
|
6738
|
+
style: L({
|
|
6700
6739
|
opacity: i.sizesCalculated ? "1" : "0",
|
|
6701
6740
|
pointerEvents: i.sizesCalculated ? "auto" : "none",
|
|
6702
6741
|
width: i.tableWidth
|
|
6703
6742
|
}),
|
|
6704
6743
|
onColumnSorted: o.applySort
|
|
6705
|
-
},
|
|
6744
|
+
}, de({ _: 2 }, [
|
|
6706
6745
|
A(e.$slots, (l, c) => ({
|
|
6707
6746
|
name: c,
|
|
6708
6747
|
fn: w((u) => [
|
|
@@ -6712,7 +6751,7 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6712
6751
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
6713
6752
|
])
|
|
6714
6753
|
]),
|
|
6715
|
-
h("div",
|
|
6754
|
+
h("div", Bd, [
|
|
6716
6755
|
t.firstColumnSticky ? (a(), p(r, {
|
|
6717
6756
|
key: 0,
|
|
6718
6757
|
ref: "firstColumnHeader",
|
|
@@ -6723,12 +6762,12 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6723
6762
|
getColumnTitle: t.getColumnTitle,
|
|
6724
6763
|
idPrefix: t.idPrefix,
|
|
6725
6764
|
headerRows: o.headerRowsFirst,
|
|
6726
|
-
style:
|
|
6765
|
+
style: L({
|
|
6727
6766
|
opacity: o.headerOpacityX,
|
|
6728
6767
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6729
6768
|
}),
|
|
6730
6769
|
onColumnSorted: o.applySort
|
|
6731
|
-
},
|
|
6770
|
+
}, de({ _: 2 }, [
|
|
6732
6771
|
A(e.$slots, (l, c) => ({
|
|
6733
6772
|
name: c,
|
|
6734
6773
|
fn: w((u) => [
|
|
@@ -6737,8 +6776,8 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6737
6776
|
}))
|
|
6738
6777
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : v("", !0)
|
|
6739
6778
|
]),
|
|
6740
|
-
h("div",
|
|
6741
|
-
|
|
6779
|
+
h("div", Pd, [
|
|
6780
|
+
ie(h("div", {
|
|
6742
6781
|
class: m(["table-sticky__controls", o.resolveClasses(t.classes.controls)]),
|
|
6743
6782
|
ref: "controls"
|
|
6744
6783
|
}, [
|
|
@@ -6774,14 +6813,14 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6774
6813
|
g(e.$slots, "controlRight", {}, () => [
|
|
6775
6814
|
s[3] || (s[3] = k(" → ", -1))
|
|
6776
6815
|
])
|
|
6777
|
-
], 10,
|
|
6816
|
+
], 10, Fd)
|
|
6778
6817
|
]))
|
|
6779
6818
|
], 2), [
|
|
6780
|
-
[
|
|
6819
|
+
[Me, o.controlsShown]
|
|
6781
6820
|
])
|
|
6782
6821
|
]),
|
|
6783
|
-
h("div",
|
|
6784
|
-
|
|
6822
|
+
h("div", Vd, [
|
|
6823
|
+
R(r, {
|
|
6785
6824
|
ref: "table",
|
|
6786
6825
|
class: "table-sticky__table table-sticky__table--actual",
|
|
6787
6826
|
classes: t.classes,
|
|
@@ -6799,7 +6838,7 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6799
6838
|
onActualHeaderRemoved: o.headerRemoved,
|
|
6800
6839
|
onActualHeaderAdded: o.headerAdded,
|
|
6801
6840
|
onColumnSorted: o.applySort
|
|
6802
|
-
},
|
|
6841
|
+
}, de({ _: 2 }, [
|
|
6803
6842
|
A(e.$slots, (l, c) => ({
|
|
6804
6843
|
name: c,
|
|
6805
6844
|
fn: w((u) => [
|
|
@@ -6823,12 +6862,12 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6823
6862
|
idPrefix: t.idPrefix,
|
|
6824
6863
|
getRowValue: t.getRowValue,
|
|
6825
6864
|
getColumnTitle: t.getColumnTitle,
|
|
6826
|
-
style:
|
|
6865
|
+
style: L({
|
|
6827
6866
|
opacity: o.headerOpacityX,
|
|
6828
6867
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6829
6868
|
}),
|
|
6830
6869
|
onColumnSorted: o.applySort
|
|
6831
|
-
},
|
|
6870
|
+
}, de({ _: 2 }, [
|
|
6832
6871
|
A(e.$slots, (l, c) => ({
|
|
6833
6872
|
name: c,
|
|
6834
6873
|
fn: w((u) => [
|
|
@@ -6838,8 +6877,8 @@ function Nd(e, s, t, n, i, o) {
|
|
|
6838
6877
|
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : v("", !0)
|
|
6839
6878
|
], 2);
|
|
6840
6879
|
}
|
|
6841
|
-
const
|
|
6842
|
-
function
|
|
6880
|
+
const uh = /* @__PURE__ */ T(Ed, [["render", Dd]]);
|
|
6881
|
+
function Nd(e) {
|
|
6843
6882
|
if (e) {
|
|
6844
6883
|
if (e instanceof HTMLElement)
|
|
6845
6884
|
return e;
|
|
@@ -6847,102 +6886,102 @@ function Wd(e) {
|
|
|
6847
6886
|
return e.$el;
|
|
6848
6887
|
}
|
|
6849
6888
|
}
|
|
6850
|
-
const
|
|
6889
|
+
const Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6851
6890
|
__proto__: null,
|
|
6852
|
-
refToElement:
|
|
6853
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6891
|
+
refToElement: Nd
|
|
6892
|
+
}, Symbol.toStringTag, { value: "Module" })), dh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6854
6893
|
__proto__: null,
|
|
6855
|
-
dom:
|
|
6894
|
+
dom: Wd,
|
|
6856
6895
|
router: Vo
|
|
6857
6896
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6858
6897
|
export {
|
|
6859
6898
|
Hf as $,
|
|
6860
|
-
|
|
6899
|
+
bf as A,
|
|
6861
6900
|
V as B,
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6901
|
+
wf as C,
|
|
6902
|
+
Sf as D,
|
|
6903
|
+
kf as E,
|
|
6904
|
+
Cs as F,
|
|
6905
|
+
xs as G,
|
|
6906
|
+
Cf as H,
|
|
6907
|
+
Tf as I,
|
|
6908
|
+
$f as J,
|
|
6909
|
+
Af as K,
|
|
6910
|
+
Of as L,
|
|
6872
6911
|
xf as M,
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6912
|
+
Rf as N,
|
|
6913
|
+
Uf as O,
|
|
6914
|
+
jf as P,
|
|
6915
|
+
If as Q,
|
|
6916
|
+
Ts as R,
|
|
6878
6917
|
Co as S,
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6918
|
+
Ef as T,
|
|
6919
|
+
It as U,
|
|
6920
|
+
zf as V,
|
|
6921
|
+
Mf as W,
|
|
6922
|
+
Bf as X,
|
|
6923
|
+
Pf as Y,
|
|
6885
6924
|
Lf as Z,
|
|
6886
|
-
|
|
6925
|
+
nf as _,
|
|
6887
6926
|
je as a,
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6927
|
+
Ff as a0,
|
|
6928
|
+
Vf as a1,
|
|
6929
|
+
Df as a2,
|
|
6930
|
+
Nf as a3,
|
|
6931
|
+
Wf as a4,
|
|
6932
|
+
Xf as a5,
|
|
6933
|
+
qf as a6,
|
|
6934
|
+
Yf as a7,
|
|
6935
|
+
Kf as a8,
|
|
6936
|
+
Gf as a9,
|
|
6937
|
+
Zf as aa,
|
|
6938
|
+
Jf as ab,
|
|
6939
|
+
Qf as ac,
|
|
6940
|
+
Bt as ad,
|
|
6941
|
+
eh as ae,
|
|
6942
|
+
th as af,
|
|
6943
|
+
sh as ag,
|
|
6944
|
+
nh as ah,
|
|
6945
|
+
oh as ai,
|
|
6946
|
+
rh as aj,
|
|
6947
|
+
lh as ak,
|
|
6909
6948
|
vl as al,
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6949
|
+
ah as am,
|
|
6950
|
+
Ml as an,
|
|
6951
|
+
ch as ao,
|
|
6952
|
+
uh as ap,
|
|
6953
|
+
Yl as aq,
|
|
6954
|
+
la as ar,
|
|
6955
|
+
Ln as as,
|
|
6917
6956
|
se as at,
|
|
6918
6957
|
Oo as au,
|
|
6919
|
-
|
|
6958
|
+
Ro as av,
|
|
6920
6959
|
fo as aw,
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6960
|
+
rf as ax,
|
|
6961
|
+
lf as ay,
|
|
6962
|
+
Jd as b,
|
|
6963
|
+
Qd as c,
|
|
6964
|
+
ef as d,
|
|
6965
|
+
tf as e,
|
|
6966
|
+
sf as f,
|
|
6967
|
+
Dn as g,
|
|
6968
|
+
of as h,
|
|
6969
|
+
dh as i,
|
|
6970
|
+
Ss as j,
|
|
6971
|
+
af as k,
|
|
6972
|
+
ue as l,
|
|
6973
|
+
cf as m,
|
|
6974
|
+
uf as n,
|
|
6975
|
+
df as o,
|
|
6976
|
+
ff as p,
|
|
6977
|
+
hf as q,
|
|
6978
|
+
ih as r,
|
|
6979
|
+
mf as s,
|
|
6941
6980
|
si as t,
|
|
6942
|
-
|
|
6981
|
+
gf as u,
|
|
6943
6982
|
Yo as v,
|
|
6944
|
-
|
|
6945
|
-
|
|
6983
|
+
yf as w,
|
|
6984
|
+
pf as x,
|
|
6946
6985
|
vf as y,
|
|
6947
|
-
|
|
6986
|
+
_f as z
|
|
6948
6987
|
};
|