@ulu/frontend-vue 0.1.0-beta.4 → 0.1.0-beta.5
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/README.md +97 -1
- package/dist/{breakpoints-BegXzJ94.js → breakpoints-DVO2G7-7.js} +1 -1
- package/dist/frontend-vue.js +56 -62
- package/dist/{index-CGVy3UWS.js → index-BPVCOXRL.js} +1207 -1269
- package/lib/components/elements/UluIcon.vue +6 -6
- package/lib/components/index.js +0 -1
- package/lib/index.js +0 -1
- package/lib/plugins/core/index.js +87 -0
- package/lib/plugins/index.js +1 -0
- package/package.json +16 -5
- package/lib/components/forms/UluFormDropzone.vue +0 -62
- package/lib/settings.js +0 -119
|
@@ -1,10 +1,70 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { inline as Vt, offset as
|
|
3
|
-
import { Disclosure as
|
|
4
|
-
import { RouterLink as
|
|
5
|
-
import
|
|
6
|
-
import Vs from "
|
|
7
|
-
|
|
1
|
+
import { reactive as Pt, ref as E, computed as R, resolveDirective as Mt, createElementBlock as d, openBlock as l, Fragment as T, withDirectives as D, createElementVNode as f, unref as x, normalizeClass as h, renderSlot as m, withKeys as Bt, normalizeStyle as U, createCommentVNode as y, nextTick as Lt, toRef as ws, toDisplayString as p, createBlock as v, Teleport as De, resolveDynamicComponent as I, mergeProps as X, inject as Ss, watchEffect as ks, defineAsyncComponent as Cs, markRaw as ne, normalizeProps as M, toRefs as Ts, toValue as Re, resolveComponent as S, withModifiers as As, createVNode as k, useSlots as $s, renderList as C, TransitionGroup as Os, withCtx as b, createTextVNode as w, vShow as Ne, onMounted as xs, onUnmounted as Rs, guardReactiveProps as L, vModelCheckbox as Ht, vModelText as Us, vModelSelect as Is, Transition as nt, createSlots as se } from "vue";
|
|
2
|
+
import { inline as Vt, offset as Dt, flip as Nt, shift as Wt, arrow as Xt, useFloating as Yt, autoUpdate as Kt } from "@floating-ui/vue";
|
|
3
|
+
import { Disclosure as zs, DisclosureButton as Es, DisclosurePanel as js, Tab as Fs, TabGroup as Ps, TabList as Ms, TabPanel as Bs, TabPanels as Ls } from "@headlessui/vue";
|
|
4
|
+
import { RouterLink as We } from "vue-router";
|
|
5
|
+
import Hs from "gsap";
|
|
6
|
+
import Vs from "fuse.js";
|
|
7
|
+
const ot = {
|
|
8
|
+
fontAwesomeStatic: !1,
|
|
9
|
+
iconComponent: null,
|
|
10
|
+
iconPropResolver: (e) => ({ icon: e }),
|
|
11
|
+
icons: {
|
|
12
|
+
danger: "fas fa-triangle-exclamation",
|
|
13
|
+
warning: "fas fa-circle-exclamation",
|
|
14
|
+
info: "fas fa-circle-info",
|
|
15
|
+
success: "fas fa-circle-check",
|
|
16
|
+
externalLink: "fas fa-arrow-up-right-from-square",
|
|
17
|
+
close: "fas fa-xmark",
|
|
18
|
+
expand: "fas fa-plus",
|
|
19
|
+
collapse: "fas fa-minus",
|
|
20
|
+
resizeHorizontal: "fas fa-grip-lines-vertical",
|
|
21
|
+
resizeVertical: "fas fa-grip-lines",
|
|
22
|
+
resizeBoth: "fas fa-grip",
|
|
23
|
+
ellipsis: "fas fa-ellipsis",
|
|
24
|
+
pathSeparator: "fas fa-chevron-right"
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
function Jd(e, s = {}) {
|
|
28
|
+
const t = Pt({ ...ot }), { icons: n, ...i } = s || {};
|
|
29
|
+
i && Object.assign(t, i);
|
|
30
|
+
const o = {
|
|
31
|
+
// Methods to interact with settings
|
|
32
|
+
getSettings() {
|
|
33
|
+
return t;
|
|
34
|
+
},
|
|
35
|
+
getDefaultSettings() {
|
|
36
|
+
return { ...ot };
|
|
37
|
+
},
|
|
38
|
+
updateSettings(r) {
|
|
39
|
+
return Object.assign(t, r);
|
|
40
|
+
},
|
|
41
|
+
getSetting(r) {
|
|
42
|
+
if (!t.hasOwnProperty(r)) {
|
|
43
|
+
console.warn(`Attempted to access non-existent setting: ${r}`);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
return t[r];
|
|
47
|
+
},
|
|
48
|
+
updateSetting(r, a) {
|
|
49
|
+
if (typeof r != "string")
|
|
50
|
+
throw new Error("Expected key to be string");
|
|
51
|
+
t[r] = a;
|
|
52
|
+
},
|
|
53
|
+
getIcon(r) {
|
|
54
|
+
const a = t.icons;
|
|
55
|
+
if (!a[r])
|
|
56
|
+
throw new Error(`Icon type "${r}" not found!`);
|
|
57
|
+
return a[r];
|
|
58
|
+
},
|
|
59
|
+
setIcon(r, a) {
|
|
60
|
+
t.icons[r] = a;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
if (n)
|
|
64
|
+
for (const [r, a] of Object.entries(n))
|
|
65
|
+
o.setIcon(r, a);
|
|
66
|
+
e.provide("uluCore", o), e.config.globalProperties.$uluCore = o;
|
|
67
|
+
}
|
|
8
68
|
const be = {
|
|
9
69
|
/**
|
|
10
70
|
* Default Plugin Options
|
|
@@ -116,43 +176,43 @@ const be = {
|
|
|
116
176
|
plugin: { ...be.plugin },
|
|
117
177
|
popover: { ...be.popover },
|
|
118
178
|
tooltip: { ...be.tooltip, ...be.popover }
|
|
119
|
-
},
|
|
120
|
-
function
|
|
179
|
+
}, Xe = E(!1), Ye = E(null);
|
|
180
|
+
function Ds(e = {}) {
|
|
121
181
|
return Object.assign(Y.popover, e.popover), Object.assign(Y.tooltip, e.tooltip), Object.assign(Y.plugin, e.plugin), Y;
|
|
122
182
|
}
|
|
123
|
-
function
|
|
183
|
+
function Ns(e) {
|
|
124
184
|
return Object.assign({}, Y.tooltip, e);
|
|
125
185
|
}
|
|
126
|
-
function
|
|
127
|
-
|
|
186
|
+
function Ws(e) {
|
|
187
|
+
Xe.value = !0, Ye.value = e;
|
|
128
188
|
}
|
|
129
|
-
function
|
|
130
|
-
|
|
189
|
+
function Xs() {
|
|
190
|
+
Xe.value = !1, Ye.value = null;
|
|
131
191
|
}
|
|
132
|
-
const Se = /* @__PURE__ */ new WeakMap(),
|
|
192
|
+
const Se = /* @__PURE__ */ new WeakMap(), Ys = {
|
|
133
193
|
mounted(e, s) {
|
|
134
|
-
|
|
194
|
+
it(e, s);
|
|
135
195
|
},
|
|
136
196
|
beforeUpdate(e) {
|
|
137
|
-
|
|
197
|
+
rt(e);
|
|
138
198
|
},
|
|
139
199
|
updated(e, s) {
|
|
140
|
-
|
|
200
|
+
it(e, s);
|
|
141
201
|
},
|
|
142
202
|
umounted(e) {
|
|
143
|
-
|
|
203
|
+
rt(e);
|
|
144
204
|
}
|
|
145
205
|
};
|
|
146
|
-
function
|
|
147
|
-
const t =
|
|
206
|
+
function it(e, s) {
|
|
207
|
+
const t = Ks(e, s);
|
|
148
208
|
if (!t) return;
|
|
149
209
|
let n = null;
|
|
150
210
|
const i = () => {
|
|
151
211
|
n || (n = setTimeout(() => {
|
|
152
|
-
|
|
212
|
+
Ws(t), clearTimeout(n);
|
|
153
213
|
}, t.delay));
|
|
154
214
|
}, o = () => {
|
|
155
|
-
n && (clearTimeout(n), n = null),
|
|
215
|
+
n && (clearTimeout(n), n = null), Xs();
|
|
156
216
|
};
|
|
157
217
|
t.showEvents.forEach((r) => {
|
|
158
218
|
e.addEventListener(r, i);
|
|
@@ -160,7 +220,7 @@ function rt(e, s) {
|
|
|
160
220
|
e.addEventListener(r, o);
|
|
161
221
|
}), Se.set(e, { onShow: i, onHide: o, config: t });
|
|
162
222
|
}
|
|
163
|
-
function
|
|
223
|
+
function rt(e) {
|
|
164
224
|
if (!Se.has(e))
|
|
165
225
|
return;
|
|
166
226
|
const { config: s, onShow: t, onHide: n } = Se.get(e);
|
|
@@ -170,20 +230,20 @@ function lt(e) {
|
|
|
170
230
|
e.removeEventListener(i, n);
|
|
171
231
|
}), Se.delete(e);
|
|
172
232
|
}
|
|
173
|
-
function
|
|
233
|
+
function Ks(e, s) {
|
|
174
234
|
const { value: t } = s;
|
|
175
235
|
let n;
|
|
176
236
|
if (!(t === !1 || t === null))
|
|
177
|
-
return typeof t == "object" ? n = t : n = { content: t },
|
|
237
|
+
return typeof t == "object" ? n = t : n = { content: t }, Ns(Object.assign({}, { trigger: e }, n));
|
|
178
238
|
}
|
|
179
|
-
let
|
|
180
|
-
function
|
|
181
|
-
return `ulu-popovers-uid-${++
|
|
239
|
+
let Gs = 0;
|
|
240
|
+
function qs() {
|
|
241
|
+
return `ulu-popovers-uid-${++Gs}`;
|
|
182
242
|
}
|
|
183
|
-
const
|
|
243
|
+
const Zs = ["disabled", "aria-expanded", "aria-controls", "aria-label"], Js = ["aria-hidden", "id", "data-placement"], Qs = { class: "popover__inner" }, en = {
|
|
184
244
|
key: 0,
|
|
185
245
|
class: "popover__footer"
|
|
186
|
-
},
|
|
246
|
+
}, Ke = {
|
|
187
247
|
__name: "UluPopover",
|
|
188
248
|
props: {
|
|
189
249
|
triggerAlt: String,
|
|
@@ -214,73 +274,73 @@ const Qs = ["disabled", "aria-expanded", "aria-controls", "aria-label"], en = ["
|
|
|
214
274
|
},
|
|
215
275
|
emits: ["toggle"],
|
|
216
276
|
setup(e, { emit: s }) {
|
|
217
|
-
const t = s, n = e, i =
|
|
277
|
+
const t = s, n = e, i = qs(), o = Object.assign({}, Y.popover, n.config), r = E(n.startOpen || !1), a = E(null), c = E(null), u = E(null), g = [
|
|
218
278
|
...o.inline ? [Vt()] : [],
|
|
219
|
-
...o.offset ? [
|
|
279
|
+
...o.offset ? [Dt(o.offset)] : [],
|
|
280
|
+
Nt(),
|
|
220
281
|
Wt(),
|
|
221
|
-
Xt()
|
|
222
|
-
...o.arrow ? [Yt({ element: c })] : []
|
|
282
|
+
...o.arrow ? [Xt({ element: u })] : []
|
|
223
283
|
], A = {
|
|
224
284
|
placement: o.placement,
|
|
225
|
-
whileElementsMounted:
|
|
285
|
+
whileElementsMounted: Kt,
|
|
226
286
|
middleware: g
|
|
227
287
|
}, {
|
|
228
|
-
floatingStyles:
|
|
229
|
-
placement:
|
|
230
|
-
middlewareData:
|
|
231
|
-
update:
|
|
232
|
-
isPositioned:
|
|
233
|
-
} =
|
|
234
|
-
const
|
|
235
|
-
return
|
|
288
|
+
floatingStyles: z,
|
|
289
|
+
placement: j,
|
|
290
|
+
middlewareData: F,
|
|
291
|
+
update: J,
|
|
292
|
+
isPositioned: ys
|
|
293
|
+
} = Yt(a, c, A), ps = R(() => {
|
|
294
|
+
const P = F.value?.arrow;
|
|
295
|
+
return P ? {
|
|
236
296
|
position: "absolute",
|
|
237
|
-
left:
|
|
238
|
-
top:
|
|
297
|
+
left: P?.x != null ? `${P.x}px` : "",
|
|
298
|
+
top: P?.y != null ? `${P.y}px` : ""
|
|
239
299
|
} : null;
|
|
240
300
|
});
|
|
241
|
-
o.onReady && o.onReady({ update:
|
|
242
|
-
const
|
|
301
|
+
o.onReady && o.onReady({ update: J, isPositioned: ys });
|
|
302
|
+
const vs = () => {
|
|
243
303
|
pe(!r.value);
|
|
244
|
-
}, pe = (
|
|
245
|
-
r.value =
|
|
246
|
-
const
|
|
247
|
-
trigger:
|
|
248
|
-
content:
|
|
249
|
-
isOpen:
|
|
250
|
-
}, ve = { isOpen:
|
|
304
|
+
}, pe = (P) => {
|
|
305
|
+
r.value = P;
|
|
306
|
+
const ee = {
|
|
307
|
+
trigger: x(a),
|
|
308
|
+
content: x(c),
|
|
309
|
+
isOpen: x(r)
|
|
310
|
+
}, ve = { isOpen: ee.isOpen };
|
|
251
311
|
Lt(() => {
|
|
252
|
-
r.value ? (
|
|
253
|
-
|
|
254
|
-
}, 0)) : (
|
|
312
|
+
r.value ? (J(), window.setTimeout(() => {
|
|
313
|
+
bs(), n.directFocus(ee), t("toggle", ve);
|
|
314
|
+
}, 0)) : (tt(), n.directFocus(ee), t("toggle", ve));
|
|
255
315
|
});
|
|
256
316
|
};
|
|
257
|
-
let
|
|
258
|
-
const
|
|
259
|
-
n.clickOutsideCloses && (
|
|
260
|
-
|
|
261
|
-
}, document.addEventListener("click",
|
|
262
|
-
},
|
|
263
|
-
|
|
264
|
-
},
|
|
265
|
-
return (
|
|
317
|
+
let Q;
|
|
318
|
+
const bs = () => {
|
|
319
|
+
n.clickOutsideCloses && (Q && tt(), Q = (P) => {
|
|
320
|
+
c.value.contains(P.target) || pe(!1);
|
|
321
|
+
}, document.addEventListener("click", Q));
|
|
322
|
+
}, tt = () => {
|
|
323
|
+
Q && (document.removeEventListener("click", Q), Q = null);
|
|
324
|
+
}, st = () => pe(!1);
|
|
325
|
+
return (P, ee) => {
|
|
266
326
|
const ve = Mt("ulu-tooltip");
|
|
267
327
|
return l(), d(T, null, [
|
|
268
|
-
|
|
328
|
+
D((l(), d("button", {
|
|
269
329
|
type: "button",
|
|
270
330
|
ref_key: "trigger",
|
|
271
331
|
ref: a,
|
|
272
|
-
onClick:
|
|
332
|
+
onClick: vs,
|
|
273
333
|
disabled: e.disabled,
|
|
274
334
|
class: h([
|
|
275
335
|
{ [e.activeClass]: r.value },
|
|
276
336
|
e.classes.trigger
|
|
277
337
|
]),
|
|
278
338
|
"aria-expanded": r.value ? "true" : "false",
|
|
279
|
-
"aria-controls":
|
|
339
|
+
"aria-controls": x(i),
|
|
280
340
|
"aria-label": e.triggerAlt
|
|
281
341
|
}, [
|
|
282
|
-
m(
|
|
283
|
-
], 10,
|
|
342
|
+
m(P.$slots, "trigger", { isOpen: r.value })
|
|
343
|
+
], 10, Zs)), [
|
|
284
344
|
[ve, e.tooltip ? e.tooltip : null]
|
|
285
345
|
]),
|
|
286
346
|
f("span", {
|
|
@@ -293,78 +353,78 @@ const Qs = ["disabled", "aria-expanded", "aria-controls", "aria-label"], en = ["
|
|
|
293
353
|
e.classes.content
|
|
294
354
|
]]),
|
|
295
355
|
ref_key: "content",
|
|
296
|
-
ref:
|
|
356
|
+
ref: c,
|
|
297
357
|
"aria-hidden": r.value ? "false" : "true",
|
|
298
|
-
id:
|
|
299
|
-
style: U(
|
|
300
|
-
"data-placement":
|
|
301
|
-
onKeydown:
|
|
358
|
+
id: x(i),
|
|
359
|
+
style: U(x(z)),
|
|
360
|
+
"data-placement": x(j),
|
|
361
|
+
onKeydown: ee[0] || (ee[0] = Bt((Wd) => pe(!1), ["esc"])),
|
|
302
362
|
tabindex: "-1"
|
|
303
363
|
}, [
|
|
304
|
-
f("span",
|
|
305
|
-
m(
|
|
364
|
+
f("span", Qs, [
|
|
365
|
+
m(P.$slots, "content", { close: st })
|
|
306
366
|
]),
|
|
307
|
-
|
|
308
|
-
m(
|
|
367
|
+
P.$slots.footer ? (l(), d("span", en, [
|
|
368
|
+
m(P.$slots, "footer", { close: st })
|
|
309
369
|
])) : y("", !0),
|
|
310
|
-
|
|
370
|
+
x(o).arrow ? (l(), d("span", {
|
|
311
371
|
key: 1,
|
|
312
372
|
class: "popover__arrow",
|
|
313
373
|
ref_key: "contentArrow",
|
|
314
|
-
ref:
|
|
315
|
-
style: U(
|
|
374
|
+
ref: u,
|
|
375
|
+
style: U(ps.value),
|
|
316
376
|
"data-ulu-popover-arrow": ""
|
|
317
377
|
}, null, 4)) : y("", !0)
|
|
318
|
-
], 46,
|
|
378
|
+
], 46, Js)
|
|
319
379
|
], 64);
|
|
320
380
|
};
|
|
321
381
|
}
|
|
322
|
-
},
|
|
382
|
+
}, tn = ["data-placement"], sn = ["innerHTML"], nn = {
|
|
323
383
|
key: 1,
|
|
324
384
|
class: "popover__inner"
|
|
325
|
-
},
|
|
385
|
+
}, on = {
|
|
326
386
|
__name: "UluTooltipPopover",
|
|
327
387
|
props: {
|
|
328
388
|
config: Object
|
|
329
389
|
},
|
|
330
390
|
setup(e) {
|
|
331
|
-
const s =
|
|
391
|
+
const s = ws(e.config.trigger), t = E(null), n = E(null), i = [
|
|
332
392
|
...e.config.inline ? [Vt()] : [],
|
|
333
|
-
...e.config.offset ? [
|
|
393
|
+
...e.config.offset ? [Dt(e.config.offset)] : [],
|
|
394
|
+
Nt(),
|
|
334
395
|
Wt(),
|
|
335
|
-
Xt()
|
|
336
|
-
...e.config.arrow ? [Yt({ element: n })] : []
|
|
396
|
+
...e.config.arrow ? [Xt({ element: n })] : []
|
|
337
397
|
], o = {
|
|
338
398
|
placement: e.config.placement,
|
|
339
|
-
whileElementsMounted:
|
|
399
|
+
whileElementsMounted: Kt,
|
|
340
400
|
middleware: i
|
|
341
401
|
}, {
|
|
342
402
|
floatingStyles: r,
|
|
343
403
|
placement: a,
|
|
344
|
-
middlewareData:
|
|
345
|
-
update:
|
|
404
|
+
middlewareData: c,
|
|
405
|
+
update: u,
|
|
346
406
|
isPositioned: g
|
|
347
|
-
} =
|
|
348
|
-
const
|
|
349
|
-
return
|
|
407
|
+
} = Yt(s, t, o), A = R(() => {
|
|
408
|
+
const z = c.value?.arrow;
|
|
409
|
+
return z ? {
|
|
350
410
|
position: "absolute",
|
|
351
|
-
left:
|
|
352
|
-
top:
|
|
411
|
+
left: z?.x != null ? `${z.x}px` : "",
|
|
412
|
+
top: z?.y != null ? `${z.y}px` : ""
|
|
353
413
|
} : null;
|
|
354
414
|
});
|
|
355
|
-
return e.config.onReady && e.config.onReady({ update:
|
|
415
|
+
return e.config.onReady && e.config.onReady({ update: u, isPositioned: g }), (z, j) => (l(), d("span", {
|
|
356
416
|
class: h(["popover popover--tooltip is-active", e.config.class]),
|
|
357
417
|
ref_key: "content",
|
|
358
418
|
ref: t,
|
|
359
419
|
"aria-hidden": "true",
|
|
360
|
-
"data-placement":
|
|
361
|
-
style: U(
|
|
420
|
+
"data-placement": x(a),
|
|
421
|
+
style: U(x(r))
|
|
362
422
|
}, [
|
|
363
423
|
e.config.isHtml ? (l(), d("span", {
|
|
364
424
|
key: 0,
|
|
365
425
|
class: "popover__inner",
|
|
366
426
|
innerHTML: e.config.content
|
|
367
|
-
}, null, 8,
|
|
427
|
+
}, null, 8, sn)) : (l(), d("span", nn, p(e.config.content), 1)),
|
|
368
428
|
e.config.arrow ? (l(), d("span", {
|
|
369
429
|
key: 2,
|
|
370
430
|
class: "popover__arrow",
|
|
@@ -372,31 +432,31 @@ const Qs = ["disabled", "aria-expanded", "aria-controls", "aria-label"], en = ["
|
|
|
372
432
|
ref: n,
|
|
373
433
|
style: U(A.value)
|
|
374
434
|
}, null, 4)) : y("", !0)
|
|
375
|
-
], 14,
|
|
435
|
+
], 14, tn));
|
|
376
436
|
}
|
|
377
|
-
},
|
|
437
|
+
}, rn = {
|
|
378
438
|
__name: "UluTooltipDisplay",
|
|
379
439
|
setup(e) {
|
|
380
|
-
return (s, t) => (l(), v(
|
|
381
|
-
to:
|
|
440
|
+
return (s, t) => (l(), v(De, {
|
|
441
|
+
to: x(Y).plugin.tooltipTeleportTo
|
|
382
442
|
}, [
|
|
383
|
-
|
|
443
|
+
x(Xe) ? (l(), v(on, {
|
|
384
444
|
key: 0,
|
|
385
|
-
config:
|
|
445
|
+
config: x(Ye)
|
|
386
446
|
}, null, 8, ["config"])) : y("", !0)
|
|
387
447
|
], 8, ["to"]));
|
|
388
448
|
}
|
|
389
449
|
};
|
|
390
|
-
function
|
|
391
|
-
const t =
|
|
392
|
-
t.plugin.global && (e.directive(t.plugin.directiveName,
|
|
450
|
+
function Qd(e, s = {}) {
|
|
451
|
+
const t = Ds(s);
|
|
452
|
+
t.plugin.global && (e.directive(t.plugin.directiveName, Ys), e.component("UluTooltipDisplay", rn), e.component("UluPopover", Ke));
|
|
393
453
|
}
|
|
394
454
|
const _ = (e, s) => {
|
|
395
455
|
const t = e.__vccOpts || e;
|
|
396
456
|
for (const [n, i] of s)
|
|
397
457
|
t[n] = i;
|
|
398
458
|
return t;
|
|
399
|
-
},
|
|
459
|
+
}, ln = {
|
|
400
460
|
name: "UluModalsDisplay",
|
|
401
461
|
emits: [
|
|
402
462
|
"modal-unmount",
|
|
@@ -436,16 +496,16 @@ const _ = (e, s) => {
|
|
|
436
496
|
}
|
|
437
497
|
}
|
|
438
498
|
};
|
|
439
|
-
function
|
|
440
|
-
return o.currentModal ? (l(), v(
|
|
499
|
+
function an(e, s, t, n, i, o) {
|
|
500
|
+
return o.currentModal ? (l(), v(I(o.currentModal.component), X({ key: 0 }, o.currentProps, {
|
|
441
501
|
modelValue: i.open,
|
|
442
502
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => i.open = r),
|
|
443
503
|
onVnodeMounted: o.modalMounted,
|
|
444
504
|
onVnodeUnmounted: o.modalUnmounted
|
|
445
505
|
}), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : y("", !0);
|
|
446
506
|
}
|
|
447
|
-
const
|
|
448
|
-
function
|
|
507
|
+
const cn = /* @__PURE__ */ _(ln, [["render", an]]);
|
|
508
|
+
function un() {
|
|
449
509
|
return { getIconProps: (t) => t ? typeof t == "object" && !Array.isArray(t) ? t : { icon: t } : null, getClassesFromDefinition: (t) => {
|
|
450
510
|
if (!t)
|
|
451
511
|
return null;
|
|
@@ -462,70 +522,7 @@ function fn() {
|
|
|
462
522
|
return console.warn("useIcon: Unable to parse definition for static FontAwesome classes:", t), null;
|
|
463
523
|
} };
|
|
464
524
|
}
|
|
465
|
-
const
|
|
466
|
-
/**
|
|
467
|
-
* If set UluIcon will use global css classes instead of Font Awesome vue component
|
|
468
|
-
*/
|
|
469
|
-
fontAwesomeStatic: !1,
|
|
470
|
-
/**
|
|
471
|
-
* Use a different icon component (if using a library other than Font Awesome)
|
|
472
|
-
* - Need to have this component map (iconsByType) to it's implementation
|
|
473
|
-
* - All components internally use type, so only user defined components change definitions
|
|
474
|
-
* - So you should only need to create definitions for the default types to replace this for the library
|
|
475
|
-
*/
|
|
476
|
-
iconComponent: null,
|
|
477
|
-
/**
|
|
478
|
-
* Which prop in iconComponent should receive the resolved definition
|
|
479
|
-
*/
|
|
480
|
-
iconPropResolver: (e) => ({ icon: e }),
|
|
481
|
-
/**
|
|
482
|
-
* Default icons by type
|
|
483
|
-
*/
|
|
484
|
-
iconsByType: {
|
|
485
|
-
danger: "fas fa-triangle-exclamation",
|
|
486
|
-
warning: "fas fa-circle-exclamation",
|
|
487
|
-
info: "fas fa-circle-info",
|
|
488
|
-
success: "fas fa-circle-check",
|
|
489
|
-
externalLink: "fas fa-arrow-up-right-from-square",
|
|
490
|
-
close: "fas fa-xmark",
|
|
491
|
-
expand: "fas fa-plus",
|
|
492
|
-
collapse: "fas fa-minus",
|
|
493
|
-
resizeHorizontal: "fas fa-grip-lines-vertical",
|
|
494
|
-
resizeVertical: "fas fa-grip-lines",
|
|
495
|
-
resizeBoth: "fas fa-grip",
|
|
496
|
-
ellipsis: "fas fa-ellipsis",
|
|
497
|
-
pathSeparator: "fas fa-chevron-right"
|
|
498
|
-
}
|
|
499
|
-
};
|
|
500
|
-
let ne = Ht({ ...qt });
|
|
501
|
-
function lf() {
|
|
502
|
-
return { ...qt };
|
|
503
|
-
}
|
|
504
|
-
function af(e) {
|
|
505
|
-
Object.assign(ne, e);
|
|
506
|
-
}
|
|
507
|
-
function cf() {
|
|
508
|
-
return ne;
|
|
509
|
-
}
|
|
510
|
-
function Ue(e) {
|
|
511
|
-
if (!ne.hasOwnProperty(e)) {
|
|
512
|
-
console.warn(`Attempted to access non-existent setting: ${e}`);
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
return ne[e];
|
|
516
|
-
}
|
|
517
|
-
function uf(e, s) {
|
|
518
|
-
if (typeof e != "string")
|
|
519
|
-
throw new Error("Expected key to be string");
|
|
520
|
-
ne[e] = s;
|
|
521
|
-
}
|
|
522
|
-
function hn(e) {
|
|
523
|
-
const s = ne.iconsByType;
|
|
524
|
-
if (!s[e])
|
|
525
|
-
throw new Error(`Icon type "${e}" not found!`);
|
|
526
|
-
return s[e];
|
|
527
|
-
}
|
|
528
|
-
const L = {
|
|
525
|
+
const B = {
|
|
529
526
|
__name: "UluIcon",
|
|
530
527
|
props: {
|
|
531
528
|
/**
|
|
@@ -539,41 +536,41 @@ const L = {
|
|
|
539
536
|
definition: [String, Array, Object, Boolean]
|
|
540
537
|
},
|
|
541
538
|
setup(e) {
|
|
542
|
-
const s =
|
|
543
|
-
let
|
|
544
|
-
const
|
|
545
|
-
if (
|
|
546
|
-
return
|
|
547
|
-
if (
|
|
539
|
+
const s = Ss("uluCore"), t = E(null), { getIconProps: n, getClassesFromDefinition: i } = un();
|
|
540
|
+
let o;
|
|
541
|
+
const r = e, a = R(() => s.getSetting("fontAwesomeStatic")), c = R(() => s.getSetting("iconComponent")), u = R(() => s.getSetting("iconPropResolver")), g = R(() => {
|
|
542
|
+
if (r.definition)
|
|
543
|
+
return r.definition;
|
|
544
|
+
if (r.type)
|
|
548
545
|
try {
|
|
549
|
-
return
|
|
550
|
-
} catch (
|
|
551
|
-
return console.warn(
|
|
546
|
+
return s.getIcon(r.type);
|
|
547
|
+
} catch (F) {
|
|
548
|
+
return console.warn(F), null;
|
|
552
549
|
}
|
|
553
550
|
return null;
|
|
554
|
-
}),
|
|
555
|
-
return
|
|
556
|
-
if (!
|
|
557
|
-
if (
|
|
558
|
-
if (
|
|
559
|
-
|
|
551
|
+
}), A = R(() => !c.value || !g.value ? null : u.value(g.value)), z = R(() => n(g.value)), j = R(() => i(g.value));
|
|
552
|
+
return ks(async () => {
|
|
553
|
+
if (!a.value && g.value) {
|
|
554
|
+
if (t.value === null)
|
|
555
|
+
if (o)
|
|
556
|
+
t.value = ne(o.FontAwesomeIcon);
|
|
560
557
|
else {
|
|
561
|
-
const
|
|
562
|
-
const
|
|
563
|
-
return
|
|
558
|
+
const F = Cs(async () => {
|
|
559
|
+
const J = await import("./index.es-HlG3u0J5.js");
|
|
560
|
+
return o = J, J.FontAwesomeIcon;
|
|
564
561
|
});
|
|
565
|
-
|
|
562
|
+
t.value = ne(F);
|
|
566
563
|
}
|
|
567
564
|
} else
|
|
568
|
-
|
|
569
|
-
}), (
|
|
565
|
+
t.value = null;
|
|
566
|
+
}), (F, J) => c.value ? (l(), v(I(c.value), M(X({ key: 0 }, A.value)), null, 16)) : !a.value && t.value && g.value ? (l(), v(I(t.value), M(X({ key: 1 }, z.value)), null, 16)) : a.value && g.value ? (l(), d("span", {
|
|
570
567
|
key: 2,
|
|
571
|
-
class: h(
|
|
568
|
+
class: h(j.value),
|
|
572
569
|
"aria-hidden": "true"
|
|
573
570
|
}, null, 2)) : y("", !0);
|
|
574
571
|
}
|
|
575
572
|
};
|
|
576
|
-
function
|
|
573
|
+
function Fe(e) {
|
|
577
574
|
const s = /* @__PURE__ */ new Set();
|
|
578
575
|
if (!e)
|
|
579
576
|
return s;
|
|
@@ -583,7 +580,7 @@ function Pe(e) {
|
|
|
583
580
|
});
|
|
584
581
|
else if (Array.isArray(e))
|
|
585
582
|
e.forEach((t) => {
|
|
586
|
-
|
|
583
|
+
Fe(t).forEach((n) => s.add(n));
|
|
587
584
|
});
|
|
588
585
|
else if (typeof e == "object")
|
|
589
586
|
for (const t in e)
|
|
@@ -591,32 +588,32 @@ function Pe(e) {
|
|
|
591
588
|
return s;
|
|
592
589
|
}
|
|
593
590
|
function G({ props: e, baseClass: s, internal: t = {} }) {
|
|
594
|
-
const { modifiers: n } =
|
|
591
|
+
const { modifiers: n } = Ts(e);
|
|
595
592
|
return { resolvedModifiers: R(() => {
|
|
596
|
-
const o = Re(s), r =
|
|
593
|
+
const o = Re(s), r = Fe(Re(n)), a = Fe(Re(t));
|
|
597
594
|
if (!o)
|
|
598
595
|
return console.warn("useModifiers: Missing 'baseClass' argument, modifiers will not be applied."), "";
|
|
599
|
-
const
|
|
600
|
-
return Array.from(
|
|
596
|
+
const c = /* @__PURE__ */ new Set([...a, ...r]);
|
|
597
|
+
return Array.from(c).map((u) => `${o}--${u}`);
|
|
601
598
|
}) };
|
|
602
599
|
}
|
|
603
|
-
function
|
|
600
|
+
function Gt() {
|
|
604
601
|
return typeof window < "u" && typeof window.document < "u";
|
|
605
602
|
}
|
|
606
|
-
function
|
|
603
|
+
function dn(e, s) {
|
|
607
604
|
const t = e.getBoundingClientRect();
|
|
608
605
|
return s.clientY < t.top || // above
|
|
609
606
|
s.clientY > t.top + t.height || // below
|
|
610
607
|
s.clientX < t.left || // left side
|
|
611
608
|
s.clientX > t.left + t.width;
|
|
612
609
|
}
|
|
613
|
-
function
|
|
610
|
+
function fn(e = document.body, s = window) {
|
|
614
611
|
return s.innerWidth - e.clientWidth;
|
|
615
612
|
}
|
|
616
|
-
function
|
|
613
|
+
function hn({ preventShift: e = !1, container: s = document.body }) {
|
|
617
614
|
const t = s.style.overflow, n = s.style.paddingRight;
|
|
618
615
|
if (s.style.overflow = "hidden", e) {
|
|
619
|
-
const i =
|
|
616
|
+
const i = fn();
|
|
620
617
|
if (i > 0) {
|
|
621
618
|
const o = parseInt(n || "0px", 10);
|
|
622
619
|
s.style.paddingRight = `${o + i}px`;
|
|
@@ -629,14 +626,14 @@ function _n({ preventShift: e = !1, container: s = document.body }) {
|
|
|
629
626
|
function Te(e, s, t, n) {
|
|
630
627
|
var i;
|
|
631
628
|
return function() {
|
|
632
|
-
var r = n || this, a = arguments,
|
|
629
|
+
var r = n || this, a = arguments, c = function() {
|
|
633
630
|
i = null, t || e.apply(r, a);
|
|
634
|
-
},
|
|
635
|
-
clearTimeout(i), i = setTimeout(
|
|
631
|
+
}, u = t && !i;
|
|
632
|
+
clearTimeout(i), i = setTimeout(c, s), u && e.apply(r, a);
|
|
636
633
|
};
|
|
637
634
|
}
|
|
638
|
-
|
|
639
|
-
const
|
|
635
|
+
Gt() && (gn(), _n());
|
|
636
|
+
const lt = {
|
|
640
637
|
/**
|
|
641
638
|
* Event is dispatched when DOM in the page has changed, triggers updates from
|
|
642
639
|
* all modules listening for the change (init instances, etc)
|
|
@@ -664,38 +661,38 @@ const at = {
|
|
|
664
661
|
e.dispatchEvent(ce("afterPrint"));
|
|
665
662
|
}
|
|
666
663
|
};
|
|
667
|
-
function
|
|
668
|
-
|
|
664
|
+
function Pe(e, s) {
|
|
665
|
+
lt[e] ? lt[e](s) : console.warn(`Unable to dispatch site event: ${e} in context:`, s);
|
|
669
666
|
}
|
|
670
|
-
function
|
|
667
|
+
function mn(e) {
|
|
671
668
|
return "ulu:" + e;
|
|
672
669
|
}
|
|
673
670
|
function ce(e, s = null, t = { bubbles: !0 }) {
|
|
674
|
-
return new CustomEvent(
|
|
671
|
+
return new CustomEvent(mn(e), { detail: s, ...t });
|
|
675
672
|
}
|
|
676
|
-
function
|
|
677
|
-
window.addEventListener("resize", Te(() =>
|
|
673
|
+
function gn() {
|
|
674
|
+
window.addEventListener("resize", Te(() => Pe("pageResized", document), 250));
|
|
678
675
|
}
|
|
679
|
-
function
|
|
676
|
+
function _n() {
|
|
680
677
|
window.addEventListener("beforeprint", () => {
|
|
681
|
-
|
|
678
|
+
Pe("beforePrint", document);
|
|
682
679
|
}), window.addEventListener("afterprint", () => {
|
|
683
|
-
|
|
680
|
+
Pe("afterPrint", document);
|
|
684
681
|
});
|
|
685
682
|
}
|
|
686
|
-
function
|
|
683
|
+
function yn(e) {
|
|
687
684
|
return typeof e == "object" && e?.constructor?.name;
|
|
688
685
|
}
|
|
689
|
-
function
|
|
690
|
-
const n =
|
|
686
|
+
function pn(e, s, t) {
|
|
687
|
+
const n = yn(s) || "Logger";
|
|
691
688
|
console[e](n, ...t);
|
|
692
689
|
}
|
|
693
|
-
function
|
|
690
|
+
function te(e, ...s) {
|
|
694
691
|
}
|
|
695
692
|
function we(e, ...s) {
|
|
696
|
-
|
|
693
|
+
pn("error", e, s);
|
|
697
694
|
}
|
|
698
|
-
class
|
|
695
|
+
class Ge {
|
|
699
696
|
static defaults = {
|
|
700
697
|
debug: !1,
|
|
701
698
|
/**
|
|
@@ -785,18 +782,18 @@ class qe {
|
|
|
785
782
|
we(this, "Missing required elements: control, container");
|
|
786
783
|
return;
|
|
787
784
|
}
|
|
788
|
-
const i = Object.assign({},
|
|
785
|
+
const i = Object.assign({}, Ge.defaults, n);
|
|
789
786
|
this.options = i, this.container = s, this.control = t, this.debug = i.debug;
|
|
790
|
-
const o = ["left", "right"], r = ["top", "bottom"], { fromX: a, fromY:
|
|
787
|
+
const o = ["left", "right"], r = ["top", "bottom"], { fromX: a, fromY: c } = i;
|
|
791
788
|
if (!o.includes(a) && a !== null) {
|
|
792
789
|
we(this, `Invalid fromX: ${a} (left|right|null)`);
|
|
793
790
|
return;
|
|
794
791
|
}
|
|
795
|
-
if (!r.includes(
|
|
796
|
-
we(this, `Invalid fromY: ${
|
|
792
|
+
if (!r.includes(c) && c !== null) {
|
|
793
|
+
we(this, `Invalid fromY: ${c} (top|bottom|null)`);
|
|
797
794
|
return;
|
|
798
795
|
}
|
|
799
|
-
if (!a && !
|
|
796
|
+
if (!a && !c) {
|
|
800
797
|
we(this, "Invalid fromX/fromY, failed to setup resizer (at least one of fromX or fromY must be set)");
|
|
801
798
|
return;
|
|
802
799
|
}
|
|
@@ -815,7 +812,7 @@ class qe {
|
|
|
815
812
|
*/
|
|
816
813
|
destroy() {
|
|
817
814
|
const { control: s, options: t } = this;
|
|
818
|
-
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"),
|
|
815
|
+
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"), te(this, "Resizer destroyed.");
|
|
819
816
|
}
|
|
820
817
|
/**
|
|
821
818
|
* Initiates a resize operation.
|
|
@@ -830,7 +827,7 @@ class qe {
|
|
|
830
827
|
return;
|
|
831
828
|
}
|
|
832
829
|
const o = document.defaultView.getComputedStyle(t);
|
|
833
|
-
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),
|
|
830
|
+
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), te(this, "Resize started.", {
|
|
834
831
|
initialWidth: this.#e.width,
|
|
835
832
|
initialHeight: this.#e.height,
|
|
836
833
|
...s
|
|
@@ -842,7 +839,7 @@ class qe {
|
|
|
842
839
|
* @private
|
|
843
840
|
*/
|
|
844
841
|
#d() {
|
|
845
|
-
this.#s && (this.dispatchEvent("resizer:end"), this.#c(),
|
|
842
|
+
this.#s && (this.dispatchEvent("resizer:end"), this.#c(), te(this, "Resize ended."));
|
|
846
843
|
}
|
|
847
844
|
/**
|
|
848
845
|
* Core logic for calculating and applying the new size of the container.
|
|
@@ -855,16 +852,16 @@ class qe {
|
|
|
855
852
|
*/
|
|
856
853
|
#f(s, t, n) {
|
|
857
854
|
let i = this.#e.width, o = this.#e.height;
|
|
858
|
-
const { fromX: r, fromY: a, multiplier:
|
|
859
|
-
this.resizeHorizontal && (r === "right" ? i = this.#e.width + s *
|
|
860
|
-
const
|
|
855
|
+
const { fromX: r, fromY: a, multiplier: c } = this.options;
|
|
856
|
+
this.resizeHorizontal && (r === "right" ? i = this.#e.width + s * c : r === "left" && (i = this.#e.width - s * c), this.container.style.width = `${Math.max(0, i)}px`), this.resizeVertical && (a === "bottom" ? o = this.#e.height + t * c : a === "top" && (o = this.#e.height - t * c), this.container.style.height = `${Math.max(0, o)}px`);
|
|
857
|
+
const u = {
|
|
861
858
|
newWidth: i,
|
|
862
859
|
newHeight: o,
|
|
863
860
|
totalDeltaX: s,
|
|
864
861
|
totalDeltaY: t,
|
|
865
862
|
event: n
|
|
866
863
|
};
|
|
867
|
-
this.dispatchEvent("resizer:update",
|
|
864
|
+
this.dispatchEvent("resizer:update", u), te(this, "Resizing update.", u);
|
|
868
865
|
}
|
|
869
866
|
/**
|
|
870
867
|
* Public handler for pointerdown events. Call this method from your own event listeners
|
|
@@ -873,7 +870,7 @@ class qe {
|
|
|
873
870
|
*/
|
|
874
871
|
onPointerdown(s) {
|
|
875
872
|
if (!this.options.enablePointerResizing) {
|
|
876
|
-
|
|
873
|
+
te(this, "Pointer resizing disabled. Ignoring pointerdown event.");
|
|
877
874
|
return;
|
|
878
875
|
}
|
|
879
876
|
s.preventDefault();
|
|
@@ -899,7 +896,7 @@ class qe {
|
|
|
899
896
|
*/
|
|
900
897
|
onKeydown(s) {
|
|
901
898
|
if (!this.options.enableKeyboardResizing) {
|
|
902
|
-
|
|
899
|
+
te(this, "Keyboard resizing disabled. Ignoring keydown event.");
|
|
903
900
|
return;
|
|
904
901
|
}
|
|
905
902
|
const { key: t } = s, { keyboardStep: n, keyboardDebounceTime: i } = this.options;
|
|
@@ -926,11 +923,11 @@ class qe {
|
|
|
926
923
|
this.container.dispatchEvent(ce(s, t));
|
|
927
924
|
}
|
|
928
925
|
}
|
|
929
|
-
let
|
|
930
|
-
const
|
|
926
|
+
let Ue = 0;
|
|
927
|
+
const vn = {
|
|
931
928
|
name: "UluModal",
|
|
932
929
|
components: {
|
|
933
|
-
UluIcon:
|
|
930
|
+
UluIcon: B
|
|
934
931
|
},
|
|
935
932
|
emits: ["update:modelValue", "close", "open"],
|
|
936
933
|
props: {
|
|
@@ -1037,20 +1034,20 @@ const Sn = {
|
|
|
1037
1034
|
modifiers: [String, Array]
|
|
1038
1035
|
},
|
|
1039
1036
|
data() {
|
|
1040
|
-
return ++
|
|
1037
|
+
return ++Ue, {
|
|
1041
1038
|
containerWidth: null,
|
|
1042
|
-
titleId: `ulu-modal-${
|
|
1039
|
+
titleId: `ulu-modal-${Ue}-title`,
|
|
1043
1040
|
bodyOverflowValue: null,
|
|
1044
1041
|
bodyPaddingRightValue: null,
|
|
1045
1042
|
isResizing: !1
|
|
1046
1043
|
};
|
|
1047
1044
|
},
|
|
1048
1045
|
setup(e) {
|
|
1049
|
-
const s =
|
|
1050
|
-
const { allowResize: a, position:
|
|
1051
|
-
if (!a || !
|
|
1052
|
-
const
|
|
1053
|
-
return
|
|
1046
|
+
const s = $s(), t = R(() => e.title || s.title), n = R(() => {
|
|
1047
|
+
const { allowResize: a, position: c } = e;
|
|
1048
|
+
if (!a || !c) return;
|
|
1049
|
+
const u = ["left", "right", "center"];
|
|
1050
|
+
return u.includes(c) ? !0 : (console.warn(`Passed invalid position for resize (${c}), use ${u.join(", ")}`), !1);
|
|
1054
1051
|
}), i = R(() => e.position === "center" ? "resizeBoth" : "resizeHorizontal"), o = R(() => ({
|
|
1055
1052
|
[e.position]: e.position,
|
|
1056
1053
|
resize: e.allowResize,
|
|
@@ -1115,7 +1112,7 @@ const Sn = {
|
|
|
1115
1112
|
handleClick(e) {
|
|
1116
1113
|
if (this.clickOutsideCloses && !this.isResizing) {
|
|
1117
1114
|
const { target: s } = e, { container: t } = this.$refs;
|
|
1118
|
-
s === t &&
|
|
1115
|
+
s === t && dn(t, e) && this.close();
|
|
1119
1116
|
}
|
|
1120
1117
|
},
|
|
1121
1118
|
setupPreventScroll() {
|
|
@@ -1128,14 +1125,14 @@ const Sn = {
|
|
|
1128
1125
|
handleToggle(e) {
|
|
1129
1126
|
if (!this.nonModal && this.preventScroll) {
|
|
1130
1127
|
const { preventScrollShift: s } = this;
|
|
1131
|
-
e.newState === "open" ? this.restoreScroll =
|
|
1128
|
+
e.newState === "open" ? this.restoreScroll = hn({ preventShift: s }) : this.destroyPreventScroll();
|
|
1132
1129
|
}
|
|
1133
1130
|
},
|
|
1134
1131
|
setupResizer() {
|
|
1135
1132
|
const { position: e, resizerEnabled: s } = this;
|
|
1136
1133
|
if (s) {
|
|
1137
1134
|
const { container: t, resizer: n } = this.$refs, i = e === "center" ? { fromX: "right", fromY: "bottom", multiplier: 2 } : { fromX: e === "right" ? "left" : "right" };
|
|
1138
|
-
this.resizerInstance = new
|
|
1135
|
+
this.resizerInstance = new Ge(t, n, i), this.handleResizerStart = () => {
|
|
1139
1136
|
this.isResizing = !0;
|
|
1140
1137
|
}, this.handleResizerEnd = () => {
|
|
1141
1138
|
setTimeout(() => {
|
|
@@ -1150,21 +1147,21 @@ const Sn = {
|
|
|
1150
1147
|
}
|
|
1151
1148
|
},
|
|
1152
1149
|
mounted() {
|
|
1153
|
-
++
|
|
1150
|
+
++Ue, this.preventScroll && this.setupPreventScroll(), this.setupResizer();
|
|
1154
1151
|
},
|
|
1155
1152
|
beforeUnmount() {
|
|
1156
1153
|
const { container: e } = this.$refs;
|
|
1157
1154
|
e && e.open && e.close(), this.destroyPreventScroll(), this.destroyResizer();
|
|
1158
1155
|
}
|
|
1159
|
-
},
|
|
1156
|
+
}, bn = ["aria-labelledby", "aria-describedby"], wn = ["id"], Sn = { class: "modal__title-text" }, kn = {
|
|
1160
1157
|
key: 2,
|
|
1161
1158
|
class: "modal__resizer",
|
|
1162
1159
|
ref: "resizer",
|
|
1163
1160
|
type: "button"
|
|
1164
1161
|
};
|
|
1165
|
-
function
|
|
1162
|
+
function Cn(e, s, t, n, i, o) {
|
|
1166
1163
|
const r = S("UluIcon");
|
|
1167
|
-
return l(), v(
|
|
1164
|
+
return l(), v(De, {
|
|
1168
1165
|
to: t.teleport === !1 ? null : t.teleport,
|
|
1169
1166
|
disabled: t.teleport === !1
|
|
1170
1167
|
}, [
|
|
@@ -1174,7 +1171,7 @@ function $n(e, s, t, n, i, o) {
|
|
|
1174
1171
|
"aria-describedby": t.describedby,
|
|
1175
1172
|
ref: "container",
|
|
1176
1173
|
style: U({ width: i.containerWidth }),
|
|
1177
|
-
onCancel: s[1] || (s[1] =
|
|
1174
|
+
onCancel: s[1] || (s[1] = As((...a) => o.close && o.close(...a), ["prevent"])),
|
|
1178
1175
|
onClose: s[2] || (s[2] = (...a) => o.handleDialogCloseEvent && o.handleDialogCloseEvent(...a)),
|
|
1179
1176
|
onClick: s[3] || (s[3] = (...a) => o.handleClick && o.handleClick(...a)),
|
|
1180
1177
|
onToggle: s[4] || (s[4] = (...a) => o.handleToggle && o.handleToggle(...a))
|
|
@@ -1193,9 +1190,9 @@ function $n(e, s, t, n, i, o) {
|
|
|
1193
1190
|
class: "modal__title-icon",
|
|
1194
1191
|
definition: t.titleIcon
|
|
1195
1192
|
}, null, 8, ["definition"])) : y("", !0),
|
|
1196
|
-
f("span",
|
|
1193
|
+
f("span", Sn, p(t.title), 1)
|
|
1197
1194
|
])
|
|
1198
|
-
], 10,
|
|
1195
|
+
], 10, wn),
|
|
1199
1196
|
f("button", {
|
|
1200
1197
|
class: "modal__close",
|
|
1201
1198
|
"aria-label": "Close modal",
|
|
@@ -1222,7 +1219,7 @@ function $n(e, s, t, n, i, o) {
|
|
|
1222
1219
|
}, [
|
|
1223
1220
|
m(e.$slots, "footer", { close: o.close })
|
|
1224
1221
|
], 2)) : y("", !0),
|
|
1225
|
-
n.resizerEnabled ? (l(), d("button",
|
|
1222
|
+
n.resizerEnabled ? (l(), d("button", kn, [
|
|
1226
1223
|
m(e.$slots, "resizerIcon", {}, () => [
|
|
1227
1224
|
k(r, {
|
|
1228
1225
|
class: "modal__resizer-icon",
|
|
@@ -1231,10 +1228,10 @@ function $n(e, s, t, n, i, o) {
|
|
|
1231
1228
|
}, null, 8, ["type", "definition"])
|
|
1232
1229
|
])
|
|
1233
1230
|
], 512)) : y("", !0)
|
|
1234
|
-
], 46,
|
|
1231
|
+
], 46, bn)
|
|
1235
1232
|
], 8, ["to", "disabled"]);
|
|
1236
1233
|
}
|
|
1237
|
-
const
|
|
1234
|
+
const Tn = /* @__PURE__ */ _(vn, [["render", Cn]]), ue = [], An = E({
|
|
1238
1235
|
/**
|
|
1239
1236
|
* Holds active component options (including component, and options)
|
|
1240
1237
|
*/
|
|
@@ -1243,13 +1240,13 @@ const On = /* @__PURE__ */ _(Sn, [["render", $n]]), ue = [], xn = j({
|
|
|
1243
1240
|
* Populated with any props passed to open method, bound to modal component
|
|
1244
1241
|
*/
|
|
1245
1242
|
activeProps: null
|
|
1246
|
-
}), de =
|
|
1243
|
+
}), de = An.value, at = {
|
|
1247
1244
|
data: de,
|
|
1248
1245
|
modals: ue
|
|
1249
|
-
},
|
|
1246
|
+
}, $n = (e) => ({
|
|
1250
1247
|
open(s, t = null) {
|
|
1251
1248
|
const n = this.get(s);
|
|
1252
|
-
de.active =
|
|
1249
|
+
de.active = ne(n), de.activeProps = Object.assign({}, n.props, t);
|
|
1253
1250
|
},
|
|
1254
1251
|
/**
|
|
1255
1252
|
* Close the active modal
|
|
@@ -1286,22 +1283,22 @@ const On = /* @__PURE__ */ _(Sn, [["render", $n]]), ue = [], xn = j({
|
|
|
1286
1283
|
return ue.splice(t, 1);
|
|
1287
1284
|
warn("unable to find modal to remove");
|
|
1288
1285
|
}
|
|
1289
|
-
}),
|
|
1286
|
+
}), On = {
|
|
1290
1287
|
componentNameDisplay: "UluModalsDisplay",
|
|
1291
1288
|
componentNameModal: "UluModal",
|
|
1292
1289
|
modals: [],
|
|
1293
1290
|
modalOptions: {}
|
|
1294
1291
|
};
|
|
1295
|
-
function
|
|
1296
|
-
const t = Object.assign({},
|
|
1297
|
-
e.component(t.componentNameDisplay,
|
|
1292
|
+
function ef(e, s) {
|
|
1293
|
+
const t = Object.assign({}, On, s), i = $n((o) => Object.assign({}, t.modalOptions, o));
|
|
1294
|
+
e.component(t.componentNameDisplay, cn), e.component(t.componentNameModal, Tn), t.modals.forEach((o) => {
|
|
1298
1295
|
i.add(o);
|
|
1299
|
-
}),
|
|
1296
|
+
}), at.options = t, e.config.globalProperties.$uluModals = i, e.provide("uluModals", i), e.config.globalProperties.$uluModalsState = at;
|
|
1300
1297
|
}
|
|
1301
|
-
const
|
|
1298
|
+
const xn = {
|
|
1302
1299
|
name: "UluToast",
|
|
1303
1300
|
components: {
|
|
1304
|
-
UluIcon:
|
|
1301
|
+
UluIcon: B
|
|
1305
1302
|
},
|
|
1306
1303
|
props: {
|
|
1307
1304
|
/**
|
|
@@ -1330,8 +1327,8 @@ const In = {
|
|
|
1330
1327
|
});
|
|
1331
1328
|
}
|
|
1332
1329
|
}
|
|
1333
|
-
},
|
|
1334
|
-
function
|
|
1330
|
+
}, Rn = ["onClick"];
|
|
1331
|
+
function Un(e, s, t, n, i, o) {
|
|
1335
1332
|
const r = S("FaIcon"), a = S("UluIcon");
|
|
1336
1333
|
return l(), d("div", {
|
|
1337
1334
|
class: h(["toast", [
|
|
@@ -1378,26 +1375,26 @@ function En(e, s, t, n, i, o) {
|
|
|
1378
1375
|
key: 1,
|
|
1379
1376
|
class: h(["toast__actions", t.classes.actions])
|
|
1380
1377
|
}, [
|
|
1381
|
-
(l(!0), d(T, null, C(t.toast.actions, (
|
|
1382
|
-
key:
|
|
1378
|
+
(l(!0), d(T, null, C(t.toast.actions, (c, u) => (l(), d("button", {
|
|
1379
|
+
key: u,
|
|
1383
1380
|
class: h(["toast__action", t.classes.action]),
|
|
1384
|
-
onClick: (g) => o.handleAction(g,
|
|
1385
|
-
}, p(
|
|
1381
|
+
onClick: (g) => o.handleAction(g, c)
|
|
1382
|
+
}, p(c.label), 11, Rn))), 128))
|
|
1386
1383
|
], 2)) : y("", !0),
|
|
1387
1384
|
f("button", {
|
|
1388
1385
|
class: h(["toast__close", t.classes.closeButton]),
|
|
1389
|
-
onClick: s[0] || (s[0] = (...
|
|
1386
|
+
onClick: s[0] || (s[0] = (...c) => t.toast.close && t.toast.close(...c))
|
|
1390
1387
|
}, [
|
|
1391
1388
|
k(a, { type: "close" })
|
|
1392
1389
|
], 2)
|
|
1393
1390
|
], 2);
|
|
1394
1391
|
}
|
|
1395
|
-
const
|
|
1392
|
+
const qt = /* @__PURE__ */ _(xn, [["render", Un]]), ct = {
|
|
1396
1393
|
toastOptions: {
|
|
1397
1394
|
/**
|
|
1398
1395
|
* Component used to render the toast in the display
|
|
1399
1396
|
*/
|
|
1400
|
-
component:
|
|
1397
|
+
component: ne(qt),
|
|
1401
1398
|
/**
|
|
1402
1399
|
* Duration of toast
|
|
1403
1400
|
*/
|
|
@@ -1417,39 +1414,39 @@ const Jt = /* @__PURE__ */ _(In, [["render", En]]), ut = {
|
|
|
1417
1414
|
*/
|
|
1418
1415
|
position: ["top", "right"]
|
|
1419
1416
|
}
|
|
1420
|
-
}, { assign:
|
|
1421
|
-
let
|
|
1422
|
-
const
|
|
1417
|
+
}, { assign: Ie } = Object;
|
|
1418
|
+
let In = 0;
|
|
1419
|
+
const W = Pt({
|
|
1423
1420
|
toasts: [],
|
|
1424
1421
|
/**
|
|
1425
1422
|
* Saveable
|
|
1426
1423
|
*/
|
|
1427
|
-
pluginOptions:
|
|
1428
|
-
toastOptions:
|
|
1424
|
+
pluginOptions: ct.pluginOptions,
|
|
1425
|
+
toastOptions: ct.toastOptions,
|
|
1429
1426
|
setToastOptions(e) {
|
|
1430
|
-
return this.toastOptions =
|
|
1427
|
+
return this.toastOptions = Ie({}, this.toastOptions, e), this.pluginOptions;
|
|
1431
1428
|
},
|
|
1432
1429
|
setPluginOptions(e) {
|
|
1433
|
-
return this.pluginOptions =
|
|
1430
|
+
return this.pluginOptions = Ie({}, this.pluginOptions, e), this.pluginOptions;
|
|
1434
1431
|
},
|
|
1435
1432
|
createToast(e) {
|
|
1436
|
-
const s = `toast-${++
|
|
1437
|
-
return
|
|
1433
|
+
const s = `toast-${++In}`;
|
|
1434
|
+
return Ie({}, this.toastOptions, e, {
|
|
1438
1435
|
uid: s,
|
|
1439
1436
|
close() {
|
|
1440
|
-
|
|
1437
|
+
Me.remove(s);
|
|
1441
1438
|
}
|
|
1442
1439
|
});
|
|
1443
1440
|
}
|
|
1444
|
-
}),
|
|
1441
|
+
}), Me = {
|
|
1445
1442
|
/**
|
|
1446
1443
|
*
|
|
1447
1444
|
* @param {Object} options Toast options
|
|
1448
1445
|
* @returns Toast object (to be used to remove)
|
|
1449
1446
|
*/
|
|
1450
1447
|
add(e) {
|
|
1451
|
-
const s =
|
|
1452
|
-
return
|
|
1448
|
+
const s = W.createToast(e);
|
|
1449
|
+
return W.toasts.unshift(s), s.duration && setTimeout(() => {
|
|
1453
1450
|
this.remove(s.uid);
|
|
1454
1451
|
}, s.duration), s;
|
|
1455
1452
|
},
|
|
@@ -1458,19 +1455,19 @@ const X = Ht({
|
|
|
1458
1455
|
* @param {Object} toast Toast uid
|
|
1459
1456
|
*/
|
|
1460
1457
|
remove(e) {
|
|
1461
|
-
const s =
|
|
1462
|
-
s > -1 &&
|
|
1458
|
+
const s = W.toasts.findIndex((t) => t.uid === e);
|
|
1459
|
+
s > -1 && W.toasts.splice(s, 1);
|
|
1463
1460
|
},
|
|
1464
1461
|
/**
|
|
1465
1462
|
* Remove all toasts
|
|
1466
1463
|
*/
|
|
1467
1464
|
removeAll() {
|
|
1468
|
-
|
|
1465
|
+
W.toasts = [];
|
|
1469
1466
|
}
|
|
1470
|
-
},
|
|
1467
|
+
}, zn = {
|
|
1471
1468
|
name: "UluTooltipDisplay",
|
|
1472
1469
|
data() {
|
|
1473
|
-
const { toasts: e, pluginOptions: s } =
|
|
1470
|
+
const { toasts: e, pluginOptions: s } = W;
|
|
1474
1471
|
return { toasts: e, pluginOptions: s };
|
|
1475
1472
|
},
|
|
1476
1473
|
computed: {
|
|
@@ -1480,17 +1477,17 @@ const X = Ht({
|
|
|
1480
1477
|
}
|
|
1481
1478
|
}
|
|
1482
1479
|
};
|
|
1483
|
-
function
|
|
1484
|
-
return l(), v(
|
|
1480
|
+
function En(e, s, t, n, i, o) {
|
|
1481
|
+
return l(), v(De, {
|
|
1485
1482
|
to: i.pluginOptions.teleportTo
|
|
1486
1483
|
}, [
|
|
1487
|
-
k(
|
|
1484
|
+
k(Os, {
|
|
1488
1485
|
class: h(["toast-container", o.classes]),
|
|
1489
1486
|
name: "toast",
|
|
1490
1487
|
tag: "div"
|
|
1491
1488
|
}, {
|
|
1492
1489
|
default: b(() => [
|
|
1493
|
-
(l(!0), d(T, null, C(i.toasts, (r) => (l(), v(
|
|
1490
|
+
(l(!0), d(T, null, C(i.toasts, (r) => (l(), v(I(r.component), {
|
|
1494
1491
|
key: r.uid,
|
|
1495
1492
|
toast: r
|
|
1496
1493
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -1499,12 +1496,12 @@ function Pn(e, s, t, n, i, o) {
|
|
|
1499
1496
|
}, 8, ["class"])
|
|
1500
1497
|
], 8, ["to"]);
|
|
1501
1498
|
}
|
|
1502
|
-
const
|
|
1503
|
-
function
|
|
1504
|
-
const t =
|
|
1505
|
-
|
|
1499
|
+
const jn = /* @__PURE__ */ _(zn, [["render", En]]);
|
|
1500
|
+
function tf(e, s = {}) {
|
|
1501
|
+
const t = W.setPluginOptions(s?.plugin);
|
|
1502
|
+
W.setToastOptions(s?.toast), e.component(t.componentName, qt), e.component(t.componentNameDisplay, jn), e.config.globalProperties.$uluToast = Me, e.provide("uluToast", Me);
|
|
1506
1503
|
}
|
|
1507
|
-
const
|
|
1504
|
+
const Fn = {
|
|
1508
1505
|
/**
|
|
1509
1506
|
* Set an initial value (value in mounted, SSR)
|
|
1510
1507
|
*/
|
|
@@ -1520,22 +1517,22 @@ const Bn = {
|
|
|
1520
1517
|
customProperty: "--breakpoint"
|
|
1521
1518
|
}
|
|
1522
1519
|
};
|
|
1523
|
-
function
|
|
1524
|
-
const s = Object.assign({},
|
|
1520
|
+
function Pn(e) {
|
|
1521
|
+
const s = Object.assign({}, Fn, e), t = E(null), n = E(s.initialValue), i = E(null);
|
|
1525
1522
|
return (async () => {
|
|
1526
|
-
if (!
|
|
1523
|
+
if (!Gt()) return;
|
|
1527
1524
|
await new Promise((g) => {
|
|
1528
1525
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => g()) : g();
|
|
1529
1526
|
});
|
|
1530
|
-
const r = await import("./breakpoints-
|
|
1531
|
-
t.value =
|
|
1532
|
-
const
|
|
1533
|
-
n.value =
|
|
1527
|
+
const r = await import("./breakpoints-DVO2G7-7.js"), { BreakpointManager: a } = r, c = ne(new a(s.plugin));
|
|
1528
|
+
t.value = ne(c);
|
|
1529
|
+
const u = () => {
|
|
1530
|
+
n.value = c.active, i.value = c.resizeDirection;
|
|
1534
1531
|
};
|
|
1535
|
-
|
|
1532
|
+
u(), s.onReady && s.onReady(c), c.onChange(u);
|
|
1536
1533
|
})(), { breakpointManager: t, breakpointActive: n, breakpointDirection: i };
|
|
1537
1534
|
}
|
|
1538
|
-
const
|
|
1535
|
+
const Mn = {
|
|
1539
1536
|
/**
|
|
1540
1537
|
* Breakpoint for mobile down/max
|
|
1541
1538
|
*/
|
|
@@ -1545,8 +1542,8 @@ const Hn = {
|
|
|
1545
1542
|
*/
|
|
1546
1543
|
managerOptions: {}
|
|
1547
1544
|
};
|
|
1548
|
-
function
|
|
1549
|
-
const t =
|
|
1545
|
+
function sf(e, s) {
|
|
1546
|
+
const t = E(!1), n = Object.assign({}, Mn, s), { breakpointMobile: i } = n, { onReady: o } = n.managerOptions, r = {
|
|
1550
1547
|
onReady(A) {
|
|
1551
1548
|
A.at(i).max({
|
|
1552
1549
|
on() {
|
|
@@ -1558,13 +1555,13 @@ function hf(e, s) {
|
|
|
1558
1555
|
}), o && o(A);
|
|
1559
1556
|
}
|
|
1560
1557
|
}, a = Object.assign({}, n.managerOptions, r), {
|
|
1561
|
-
breakpointManager:
|
|
1562
|
-
breakpointActive:
|
|
1558
|
+
breakpointManager: c,
|
|
1559
|
+
breakpointActive: u,
|
|
1563
1560
|
breakpointDirection: g
|
|
1564
|
-
} =
|
|
1565
|
-
e.provide("uluBreakpointActive", R(() =>
|
|
1561
|
+
} = Pn(a);
|
|
1562
|
+
e.provide("uluBreakpointActive", R(() => u.value)), e.provide("uluBreakpointDirection", R(() => g.value)), e.provide("uluBreakpointManager", R(() => c.value)), e.provide("uluIsMobile", R(() => t.value));
|
|
1566
1563
|
}
|
|
1567
|
-
const
|
|
1564
|
+
const nf = {
|
|
1568
1565
|
__name: "UluAccordion",
|
|
1569
1566
|
props: {
|
|
1570
1567
|
/**
|
|
@@ -1604,16 +1601,16 @@ const mf = {
|
|
|
1604
1601
|
},
|
|
1605
1602
|
setup(e) {
|
|
1606
1603
|
const s = e, { resolvedModifiers: t } = G({ props: s, baseClass: "button" });
|
|
1607
|
-
return (n, i) => (l(), v(
|
|
1604
|
+
return (n, i) => (l(), v(x(zs), { defaultOpen: e.defaultOpen }, {
|
|
1608
1605
|
default: b(({ open: o }) => [
|
|
1609
1606
|
f("div", {
|
|
1610
1607
|
class: h(["accordion", [
|
|
1611
1608
|
{ [e.activeClass]: o },
|
|
1612
1609
|
e.classes.container,
|
|
1613
|
-
|
|
1610
|
+
x(t)
|
|
1614
1611
|
]])
|
|
1615
1612
|
}, [
|
|
1616
|
-
k(
|
|
1613
|
+
k(x(Es), {
|
|
1617
1614
|
class: h(["accordion__summary", [
|
|
1618
1615
|
{ [e.activeClass]: o },
|
|
1619
1616
|
e.classes.summary
|
|
@@ -1621,7 +1618,7 @@ const mf = {
|
|
|
1621
1618
|
}, {
|
|
1622
1619
|
default: b(() => [
|
|
1623
1620
|
m(n.$slots, "summary", { open: o }, () => [
|
|
1624
|
-
(l(), v(
|
|
1621
|
+
(l(), v(I(e.summaryTextElement), null, {
|
|
1625
1622
|
default: b(() => [
|
|
1626
1623
|
w(p(e.summaryText), 1)
|
|
1627
1624
|
]),
|
|
@@ -1632,7 +1629,7 @@ const mf = {
|
|
|
1632
1629
|
f("span", {
|
|
1633
1630
|
class: h(["accordion__icon", e.classes.icon])
|
|
1634
1631
|
}, [
|
|
1635
|
-
k(
|
|
1632
|
+
k(B, {
|
|
1636
1633
|
type: o ? "collapse" : "expand",
|
|
1637
1634
|
style: { display: "inline" }
|
|
1638
1635
|
}, null, 8, ["type"])
|
|
@@ -1641,7 +1638,7 @@ const mf = {
|
|
|
1641
1638
|
]),
|
|
1642
1639
|
_: 2
|
|
1643
1640
|
}, 1032, ["class"]),
|
|
1644
|
-
k(
|
|
1641
|
+
k(x(js), {
|
|
1645
1642
|
class: h(["accordion__content", e.classes.content])
|
|
1646
1643
|
}, {
|
|
1647
1644
|
default: b(() => [
|
|
@@ -1655,8 +1652,8 @@ const mf = {
|
|
|
1655
1652
|
}, 8, ["defaultOpen"]));
|
|
1656
1653
|
}
|
|
1657
1654
|
};
|
|
1658
|
-
let
|
|
1659
|
-
const
|
|
1655
|
+
let Bn = 0;
|
|
1656
|
+
const Ln = {
|
|
1660
1657
|
name: "UluCollapsibleRegion",
|
|
1661
1658
|
props: {
|
|
1662
1659
|
/**
|
|
@@ -1801,12 +1798,12 @@ const Vn = {
|
|
|
1801
1798
|
* Recursive function to generate and test id uniqueness
|
|
1802
1799
|
*/
|
|
1803
1800
|
getUid() {
|
|
1804
|
-
const e = `Ulu-C-${++
|
|
1801
|
+
const e = `Ulu-C-${++Bn}`;
|
|
1805
1802
|
return document.getElementById(e) ? this.getUid() : e;
|
|
1806
1803
|
}
|
|
1807
1804
|
}
|
|
1808
|
-
},
|
|
1809
|
-
function
|
|
1805
|
+
}, Hn = ["id", "aria-controls", "aria-expanded"], Vn = ["id", "aria-hidden", "aria-labelledby"], Dn = { class: "CollapsibleRegion__content-inner" };
|
|
1806
|
+
function Nn(e, s, t, n, i, o) {
|
|
1810
1807
|
return l(), d("div", {
|
|
1811
1808
|
class: h(["CollapsibleRegion", {
|
|
1812
1809
|
"CollapsibleRegion--open": i.isOpen,
|
|
@@ -1825,8 +1822,8 @@ function Yn(e, s, t, n, i, o) {
|
|
|
1825
1822
|
m(e.$slots, "toggle", { isOpen: i.isOpen }, () => [
|
|
1826
1823
|
w(p(t.title), 1)
|
|
1827
1824
|
])
|
|
1828
|
-
], 8,
|
|
1829
|
-
|
|
1825
|
+
], 8, Hn),
|
|
1826
|
+
D(f("div", {
|
|
1830
1827
|
class: "CollapsibleRegion__content",
|
|
1831
1828
|
tabindex: "-1",
|
|
1832
1829
|
ref: "content",
|
|
@@ -1835,18 +1832,18 @@ function Yn(e, s, t, n, i, o) {
|
|
|
1835
1832
|
"aria-labelledby": i.toggleId,
|
|
1836
1833
|
style: U(o.contentStyles)
|
|
1837
1834
|
}, [
|
|
1838
|
-
f("div",
|
|
1835
|
+
f("div", Dn, [
|
|
1839
1836
|
m(e.$slots, "default")
|
|
1840
1837
|
])
|
|
1841
|
-
], 12,
|
|
1842
|
-
[
|
|
1838
|
+
], 12, Vn), [
|
|
1839
|
+
[Ne, !i.isHidden]
|
|
1843
1840
|
])
|
|
1844
1841
|
], 34);
|
|
1845
1842
|
}
|
|
1846
|
-
const
|
|
1843
|
+
const Wn = /* @__PURE__ */ _(Ln, [["render", Nn]]), Xn = {
|
|
1847
1844
|
name: "UluTag",
|
|
1848
1845
|
components: {
|
|
1849
|
-
UluIcon:
|
|
1846
|
+
UluIcon: B
|
|
1850
1847
|
},
|
|
1851
1848
|
props: {
|
|
1852
1849
|
type: [String],
|
|
@@ -1873,7 +1870,7 @@ const Kn = /* @__PURE__ */ _(Vn, [["render", Yn]]), Gn = {
|
|
|
1873
1870
|
return { resolvedModifiers: s };
|
|
1874
1871
|
}
|
|
1875
1872
|
};
|
|
1876
|
-
function
|
|
1873
|
+
function Yn(e, s, t, n, i, o) {
|
|
1877
1874
|
const r = S("UluIcon");
|
|
1878
1875
|
return l(), d("span", {
|
|
1879
1876
|
class: h(["tag", [
|
|
@@ -1894,11 +1891,11 @@ function qn(e, s, t, n, i, o) {
|
|
|
1894
1891
|
])
|
|
1895
1892
|
], 2);
|
|
1896
1893
|
}
|
|
1897
|
-
const
|
|
1894
|
+
const Kn = /* @__PURE__ */ _(Xn, [["render", Yn]]), Gn = {
|
|
1898
1895
|
name: "UluMenu",
|
|
1899
1896
|
components: {
|
|
1900
|
-
UluIcon:
|
|
1901
|
-
UluTag:
|
|
1897
|
+
UluIcon: B,
|
|
1898
|
+
UluTag: Kn
|
|
1902
1899
|
},
|
|
1903
1900
|
emits: [
|
|
1904
1901
|
/**
|
|
@@ -1943,8 +1940,8 @@ const Zn = /* @__PURE__ */ _(Gn, [["render", qn]]), Jn = {
|
|
|
1943
1940
|
}
|
|
1944
1941
|
}
|
|
1945
1942
|
};
|
|
1946
|
-
function
|
|
1947
|
-
const r = S("UluIcon"), a = S("UluTag"),
|
|
1943
|
+
function qn(e, s, t, n, i, o) {
|
|
1944
|
+
const r = S("UluIcon"), a = S("UluTag"), c = S("UluMenu", !0), u = Mt("ulu-tooltip");
|
|
1948
1945
|
return t.items?.length ? (l(), d("ul", {
|
|
1949
1946
|
key: 0,
|
|
1950
1947
|
class: h(t.classes.list)
|
|
@@ -1953,12 +1950,12 @@ function Qn(e, s, t, n, i, o) {
|
|
|
1953
1950
|
key: A,
|
|
1954
1951
|
class: h([t.classes.item, g?.classes?.item])
|
|
1955
1952
|
}, [
|
|
1956
|
-
|
|
1953
|
+
D((l(), v(I(g.to || g.path ? "router-link" : g.click ? "button" : "a"), X({ ref_for: !0 }, {
|
|
1957
1954
|
...g.to || g.path ? { to: g.to || g.path } : {},
|
|
1958
1955
|
...g.href ? { href: g.href || "#" } : {}
|
|
1959
1956
|
}, {
|
|
1960
|
-
onClick: (
|
|
1961
|
-
o.handleItemClick(
|
|
1957
|
+
onClick: (z) => {
|
|
1958
|
+
o.handleItemClick(z, g);
|
|
1962
1959
|
},
|
|
1963
1960
|
class: [t.classes.link, g?.classes?.link],
|
|
1964
1961
|
activeClass: t.classes.linkActive,
|
|
@@ -1979,7 +1976,7 @@ function Qn(e, s, t, n, i, o) {
|
|
|
1979
1976
|
f("span", {
|
|
1980
1977
|
class: h([t.classes.linkText, g?.classes?.linkText])
|
|
1981
1978
|
}, p(g.title), 3),
|
|
1982
|
-
g.tag ? (l(), v(a,
|
|
1979
|
+
g.tag ? (l(), v(a, X({
|
|
1983
1980
|
key: 1,
|
|
1984
1981
|
ref_for: !0
|
|
1985
1982
|
}, g.tag), null, 16)) : y("", !0)
|
|
@@ -1987,9 +1984,9 @@ function Qn(e, s, t, n, i, o) {
|
|
|
1987
1984
|
]),
|
|
1988
1985
|
_: 2
|
|
1989
1986
|
}, 1040, ["onClick", "class", "activeClass", "exactActiveClass", "aria-label", "id"])), [
|
|
1990
|
-
[
|
|
1987
|
+
[u, t.iconOnly ? g.title : g.tooltip || null]
|
|
1991
1988
|
]),
|
|
1992
|
-
!t.noChildren && g?.children?.length ? (l(), v(
|
|
1989
|
+
!t.noChildren && g?.children?.length ? (l(), v(c, {
|
|
1993
1990
|
key: 0,
|
|
1994
1991
|
iconOnly: t.iconOnly,
|
|
1995
1992
|
classes: t.classes,
|
|
@@ -1998,10 +1995,10 @@ function Qn(e, s, t, n, i, o) {
|
|
|
1998
1995
|
], 2))), 128))
|
|
1999
1996
|
], 2)) : y("", !0);
|
|
2000
1997
|
}
|
|
2001
|
-
const
|
|
1998
|
+
const Zt = /* @__PURE__ */ _(Gn, [["render", qn]]), Zn = {
|
|
2002
1999
|
name: "UluMenuStack",
|
|
2003
2000
|
components: {
|
|
2004
|
-
UluMenu:
|
|
2001
|
+
UluMenu: Zt
|
|
2005
2002
|
},
|
|
2006
2003
|
props: {
|
|
2007
2004
|
/**
|
|
@@ -2022,7 +2019,7 @@ const Qt = /* @__PURE__ */ _(Jn, [["render", Qn]]), eo = {
|
|
|
2022
2019
|
noChildren: Boolean
|
|
2023
2020
|
}
|
|
2024
2021
|
};
|
|
2025
|
-
function
|
|
2022
|
+
function Jn(e, s, t, n, i, o) {
|
|
2026
2023
|
const r = S("UluMenu");
|
|
2027
2024
|
return l(), d("nav", {
|
|
2028
2025
|
class: h(["menu-stack", {
|
|
@@ -2043,11 +2040,11 @@ function to(e, s, t, n, i, o) {
|
|
|
2043
2040
|
}, null, 8, ["items", "noChildren"])
|
|
2044
2041
|
], 2);
|
|
2045
2042
|
}
|
|
2046
|
-
const
|
|
2043
|
+
const Qn = /* @__PURE__ */ _(Zn, [["render", Jn]]), eo = {
|
|
2047
2044
|
name: "UluDropdown",
|
|
2048
2045
|
components: {
|
|
2049
|
-
UluPopover:
|
|
2050
|
-
UluMenuStack:
|
|
2046
|
+
UluPopover: Ke,
|
|
2047
|
+
UluMenuStack: Qn
|
|
2051
2048
|
},
|
|
2052
2049
|
props: {
|
|
2053
2050
|
/**
|
|
@@ -2070,11 +2067,11 @@ const so = /* @__PURE__ */ _(eo, [["render", to]]), no = {
|
|
|
2070
2067
|
}
|
|
2071
2068
|
}
|
|
2072
2069
|
};
|
|
2073
|
-
function
|
|
2070
|
+
function to(e, s, t, n, i, o) {
|
|
2074
2071
|
const r = S("UluMenuStack"), a = S("UluPopover");
|
|
2075
2072
|
return l(), v(a, { classes: t.popoverClasses }, {
|
|
2076
|
-
trigger: b(({ isOpen:
|
|
2077
|
-
m(e.$slots, "default", { isOpen:
|
|
2073
|
+
trigger: b(({ isOpen: c }) => [
|
|
2074
|
+
m(e.$slots, "default", { isOpen: c })
|
|
2078
2075
|
]),
|
|
2079
2076
|
content: b(() => [
|
|
2080
2077
|
k(r, { items: t.items }, null, 8, ["items"])
|
|
@@ -2082,35 +2079,35 @@ function oo(e, s, t, n, i, o) {
|
|
|
2082
2079
|
_: 3
|
|
2083
2080
|
}, 8, ["classes"]);
|
|
2084
2081
|
}
|
|
2085
|
-
const
|
|
2082
|
+
const of = /* @__PURE__ */ _(eo, [["render", to]]), qe = E(!1), Ce = {
|
|
2086
2083
|
start: [],
|
|
2087
2084
|
end: []
|
|
2088
2085
|
};
|
|
2089
|
-
function
|
|
2090
|
-
window.removeEventListener("resize",
|
|
2086
|
+
function Ze() {
|
|
2087
|
+
window.removeEventListener("resize", Ze), qe.value = !0, Ce.start.forEach((e) => e());
|
|
2091
2088
|
}
|
|
2092
|
-
function
|
|
2093
|
-
|
|
2089
|
+
function so() {
|
|
2090
|
+
qe.value = !1, Ce.end.forEach((e) => e()), window.addEventListener("resize", Ze);
|
|
2094
2091
|
}
|
|
2095
|
-
window.addEventListener("resize",
|
|
2096
|
-
function
|
|
2092
|
+
window.addEventListener("resize", Ze), window.addEventListener("resize", Te(so, 300));
|
|
2093
|
+
function ut(e, s) {
|
|
2097
2094
|
return e.push(s), () => {
|
|
2098
2095
|
const t = e.findIndex((n) => n === s);
|
|
2099
2096
|
t > -1 && e.splice(t);
|
|
2100
2097
|
};
|
|
2101
2098
|
}
|
|
2102
|
-
function
|
|
2099
|
+
function no() {
|
|
2103
2100
|
return {
|
|
2104
|
-
resizing:
|
|
2101
|
+
resizing: qe,
|
|
2105
2102
|
onResizeStart(e) {
|
|
2106
|
-
return
|
|
2103
|
+
return ut(Ce.start, e);
|
|
2107
2104
|
},
|
|
2108
2105
|
onResizeEnd(e) {
|
|
2109
|
-
return
|
|
2106
|
+
return ut(Ce.end, e);
|
|
2110
2107
|
}
|
|
2111
2108
|
};
|
|
2112
2109
|
}
|
|
2113
|
-
const
|
|
2110
|
+
const oo = { class: "layout-flex-baseline" }, io = { class: "type-word-break" }, rf = {
|
|
2114
2111
|
__name: "UluOverflowPopover",
|
|
2115
2112
|
props: {
|
|
2116
2113
|
/**
|
|
@@ -2119,13 +2116,13 @@ const lo = { class: "layout-flex-baseline" }, ao = { class: "type-word-break" },
|
|
|
2119
2116
|
triggerIcon: String
|
|
2120
2117
|
},
|
|
2121
2118
|
setup(e) {
|
|
2122
|
-
const { resizing: s, onResizeEnd: t } =
|
|
2119
|
+
const { resizing: s, onResizeEnd: t } = no(), n = E(null), i = E(!1), o = () => {
|
|
2123
2120
|
Lt(() => {
|
|
2124
2121
|
const a = n.value;
|
|
2125
2122
|
i.value = a.offsetWidth < a.scrollWidth;
|
|
2126
2123
|
});
|
|
2127
2124
|
}, r = t(o);
|
|
2128
|
-
return
|
|
2125
|
+
return xs(o), Rs(r), (a, c) => (l(), d("div", oo, [
|
|
2129
2126
|
f("div", {
|
|
2130
2127
|
class: "type-truncate",
|
|
2131
2128
|
ref_key: "text",
|
|
@@ -2133,19 +2130,19 @@ const lo = { class: "layout-flex-baseline" }, ao = { class: "type-word-break" },
|
|
|
2133
2130
|
}, [
|
|
2134
2131
|
m(a.$slots, "default")
|
|
2135
2132
|
], 512),
|
|
2136
|
-
i.value && !
|
|
2133
|
+
i.value && !x(s) ? (l(), v(Ke, {
|
|
2137
2134
|
key: 0,
|
|
2138
2135
|
triggerAlt: "Show Full Text",
|
|
2139
2136
|
size: "large"
|
|
2140
2137
|
}, {
|
|
2141
2138
|
trigger: b(() => [
|
|
2142
|
-
k(
|
|
2139
|
+
k(B, {
|
|
2143
2140
|
type: "ellipsis",
|
|
2144
2141
|
definition: e.triggerIcon
|
|
2145
2142
|
}, null, 8, ["definition"])
|
|
2146
2143
|
]),
|
|
2147
2144
|
content: b(() => [
|
|
2148
|
-
f("div",
|
|
2145
|
+
f("div", io, [
|
|
2149
2146
|
m(a.$slots, "default")
|
|
2150
2147
|
])
|
|
2151
2148
|
]),
|
|
@@ -2153,17 +2150,17 @@ const lo = { class: "layout-flex-baseline" }, ao = { class: "type-word-break" },
|
|
|
2153
2150
|
})) : y("", !0)
|
|
2154
2151
|
]));
|
|
2155
2152
|
}
|
|
2156
|
-
},
|
|
2153
|
+
}, lf = {
|
|
2157
2154
|
__name: "UluTab",
|
|
2158
2155
|
setup(e) {
|
|
2159
|
-
return (s, t) => (l(), v(
|
|
2156
|
+
return (s, t) => (l(), v(x(Fs), null, {
|
|
2160
2157
|
default: b((n) => [
|
|
2161
|
-
m(s.$slots, "default", M(
|
|
2158
|
+
m(s.$slots, "default", M(L(n)))
|
|
2162
2159
|
]),
|
|
2163
2160
|
_: 3
|
|
2164
2161
|
}));
|
|
2165
2162
|
}
|
|
2166
|
-
},
|
|
2163
|
+
}, af = /* @__PURE__ */ Object.assign({
|
|
2167
2164
|
inheritAttrs: !1
|
|
2168
2165
|
}, {
|
|
2169
2166
|
__name: "UluTabGroup",
|
|
@@ -2178,7 +2175,7 @@ const lo = { class: "layout-flex-baseline" }, ao = { class: "type-word-break" },
|
|
|
2178
2175
|
vertical: Boolean
|
|
2179
2176
|
},
|
|
2180
2177
|
setup(e) {
|
|
2181
|
-
return (s, t) => (l(), v(
|
|
2178
|
+
return (s, t) => (l(), v(x(Ps), {
|
|
2182
2179
|
defaultIndex: e.defaultIndex,
|
|
2183
2180
|
vertical: e.vertical
|
|
2184
2181
|
}, {
|
|
@@ -2188,46 +2185,46 @@ const lo = { class: "layout-flex-baseline" }, ao = { class: "type-word-break" },
|
|
|
2188
2185
|
"tabs--vertical": e.vertical
|
|
2189
2186
|
}])
|
|
2190
2187
|
}, [
|
|
2191
|
-
m(s.$slots, "default", M(
|
|
2188
|
+
m(s.$slots, "default", M(L(n)))
|
|
2192
2189
|
], 2)
|
|
2193
2190
|
]),
|
|
2194
2191
|
_: 3
|
|
2195
2192
|
}, 8, ["defaultIndex", "vertical"]));
|
|
2196
2193
|
}
|
|
2197
|
-
}),
|
|
2194
|
+
}), cf = {
|
|
2198
2195
|
__name: "UluTabList",
|
|
2199
2196
|
setup(e) {
|
|
2200
|
-
return (s, t) => (l(), v(
|
|
2197
|
+
return (s, t) => (l(), v(x(Ms), { class: "tabs__tablist" }, {
|
|
2201
2198
|
default: b(() => [
|
|
2202
2199
|
m(s.$slots, "default")
|
|
2203
2200
|
]),
|
|
2204
2201
|
_: 3
|
|
2205
2202
|
}));
|
|
2206
2203
|
}
|
|
2207
|
-
},
|
|
2204
|
+
}, uf = {
|
|
2208
2205
|
__name: "UluTabPanel",
|
|
2209
2206
|
setup(e) {
|
|
2210
|
-
return (s, t) => (l(), v(
|
|
2207
|
+
return (s, t) => (l(), v(x(Bs), null, {
|
|
2211
2208
|
default: b((n) => [
|
|
2212
|
-
m(s.$slots, "default", M(
|
|
2209
|
+
m(s.$slots, "default", M(L(n)))
|
|
2213
2210
|
]),
|
|
2214
2211
|
_: 3
|
|
2215
2212
|
}));
|
|
2216
2213
|
}
|
|
2217
|
-
},
|
|
2214
|
+
}, df = {
|
|
2218
2215
|
__name: "UluTabPanels",
|
|
2219
2216
|
setup(e) {
|
|
2220
|
-
return (s, t) => (l(), v(
|
|
2217
|
+
return (s, t) => (l(), v(x(Ls), null, {
|
|
2221
2218
|
default: b((n) => [
|
|
2222
|
-
m(s.$slots, "default", M(
|
|
2219
|
+
m(s.$slots, "default", M(L(n)))
|
|
2223
2220
|
]),
|
|
2224
2221
|
_: 3
|
|
2225
2222
|
}));
|
|
2226
2223
|
}
|
|
2227
|
-
},
|
|
2224
|
+
}, ro = {
|
|
2228
2225
|
name: "UluButton",
|
|
2229
2226
|
components: {
|
|
2230
|
-
UluIcon:
|
|
2227
|
+
UluIcon: B
|
|
2231
2228
|
},
|
|
2232
2229
|
props: {
|
|
2233
2230
|
/**
|
|
@@ -2318,17 +2315,17 @@ const lo = { class: "layout-flex-baseline" }, ao = { class: "type-word-break" },
|
|
|
2318
2315
|
return s && e.push(`button--${s}`), e;
|
|
2319
2316
|
},
|
|
2320
2317
|
element() {
|
|
2321
|
-
return this.to ?
|
|
2318
|
+
return this.to ? We : this.href ? "a" : "button";
|
|
2322
2319
|
},
|
|
2323
2320
|
attrs() {
|
|
2324
2321
|
const { to: e, href: s, download: t, target: n } = this, i = e ? { to: e } : s ? { href: s } : {};
|
|
2325
2322
|
return s && (n && (i.target = n), t && (i.download = typeof t == "string" ? t : !0)), i;
|
|
2326
2323
|
}
|
|
2327
2324
|
}
|
|
2328
|
-
},
|
|
2329
|
-
function
|
|
2325
|
+
}, lo = { key: 1 };
|
|
2326
|
+
function ao(e, s, t, n, i, o) {
|
|
2330
2327
|
const r = S("UluIcon");
|
|
2331
|
-
return l(), v(
|
|
2328
|
+
return l(), v(I(o.element), X({
|
|
2332
2329
|
class: ["button", [
|
|
2333
2330
|
{
|
|
2334
2331
|
"button--transparent": t.transparent,
|
|
@@ -2351,7 +2348,7 @@ function fo(e, s, t, n, i, o) {
|
|
|
2351
2348
|
definition: t.icon,
|
|
2352
2349
|
class: "button__icon"
|
|
2353
2350
|
}, null, 8, ["definition"])) : y("", !0),
|
|
2354
|
-
(e.$slots.default || t.text) && !t.iconOnly ? (l(), d("span",
|
|
2351
|
+
(e.$slots.default || t.text) && !t.iconOnly ? (l(), d("span", lo, [
|
|
2355
2352
|
m(e.$slots, "default", {}, () => [
|
|
2356
2353
|
w(p(t.text), 1)
|
|
2357
2354
|
])
|
|
@@ -2366,11 +2363,11 @@ function fo(e, s, t, n, i, o) {
|
|
|
2366
2363
|
_: 3
|
|
2367
2364
|
}, 16, ["class", "aria-label"]);
|
|
2368
2365
|
}
|
|
2369
|
-
const
|
|
2366
|
+
const co = /* @__PURE__ */ _(ro, [["render", ao]]), uo = {
|
|
2370
2367
|
name: "UluAlert",
|
|
2371
2368
|
components: {
|
|
2372
|
-
UluButton:
|
|
2373
|
-
UluIcon:
|
|
2369
|
+
UluButton: co,
|
|
2370
|
+
UluIcon: B
|
|
2374
2371
|
},
|
|
2375
2372
|
props: {
|
|
2376
2373
|
/**
|
|
@@ -2412,22 +2409,22 @@ const ho = /* @__PURE__ */ _(co, [["render", fo]]), mo = {
|
|
|
2412
2409
|
});
|
|
2413
2410
|
return { resolvedModifiers: s };
|
|
2414
2411
|
}
|
|
2415
|
-
},
|
|
2412
|
+
}, fo = { class: "layout-flex" }, ho = { class: "type-small" }, mo = {
|
|
2416
2413
|
key: 0,
|
|
2417
2414
|
class: "margin-left-auto align-self-center"
|
|
2418
2415
|
};
|
|
2419
|
-
function
|
|
2416
|
+
function go(e, s, t, n, i, o) {
|
|
2420
2417
|
const r = S("UluIcon");
|
|
2421
2418
|
return l(), d("div", {
|
|
2422
2419
|
class: h(["callout", n.resolvedModifiers])
|
|
2423
2420
|
}, [
|
|
2424
|
-
f("div",
|
|
2421
|
+
f("div", fo, [
|
|
2425
2422
|
k(r, {
|
|
2426
2423
|
class: h(["type-large margin-right-small", `color-${t.type}`]),
|
|
2427
2424
|
type: t.type,
|
|
2428
2425
|
definition: t.icon
|
|
2429
2426
|
}, null, 8, ["class", "type", "definition"]),
|
|
2430
|
-
f("div",
|
|
2427
|
+
f("div", ho, [
|
|
2431
2428
|
f("div", null, [
|
|
2432
2429
|
m(e.$slots, "title", {}, () => [
|
|
2433
2430
|
f("strong", null, p(t.title), 1)
|
|
@@ -2439,13 +2436,13 @@ function po(e, s, t, n, i, o) {
|
|
|
2439
2436
|
])
|
|
2440
2437
|
])
|
|
2441
2438
|
]),
|
|
2442
|
-
e.$slots.action ? (l(), d("div",
|
|
2439
|
+
e.$slots.action ? (l(), d("div", mo, [
|
|
2443
2440
|
m(e.$slots, "action")
|
|
2444
2441
|
])) : y("", !0)
|
|
2445
2442
|
])
|
|
2446
2443
|
], 2);
|
|
2447
2444
|
}
|
|
2448
|
-
const
|
|
2445
|
+
const ff = /* @__PURE__ */ _(uo, [["render", go]]), _o = {
|
|
2449
2446
|
name: "UluBadge",
|
|
2450
2447
|
props: {
|
|
2451
2448
|
skeleton: Boolean,
|
|
@@ -2463,15 +2460,15 @@ const Sf = /* @__PURE__ */ _(mo, [["render", po]]), vo = {
|
|
|
2463
2460
|
},
|
|
2464
2461
|
element() {
|
|
2465
2462
|
const { click: e, to: s, href: t } = this;
|
|
2466
|
-
return e ? "button" : s ?
|
|
2463
|
+
return e ? "button" : s ? We : t ? "a" : "span";
|
|
2467
2464
|
}
|
|
2468
2465
|
}
|
|
2469
|
-
},
|
|
2466
|
+
}, yo = ["aria-hidden"], po = {
|
|
2470
2467
|
key: 2,
|
|
2471
2468
|
class: "hidden-visually"
|
|
2472
2469
|
};
|
|
2473
|
-
function
|
|
2474
|
-
return l(), v(
|
|
2470
|
+
function vo(e, s, t, n, i, o) {
|
|
2471
|
+
return l(), v(I(o.element), {
|
|
2475
2472
|
class: h(["badge", [
|
|
2476
2473
|
t.size ? `badge--${t.size}` : null,
|
|
2477
2474
|
t.type ? `badge--${t.type}` : null,
|
|
@@ -2488,17 +2485,17 @@ function So(e, s, t, n, i, o) {
|
|
|
2488
2485
|
t.text ? (l(), d("span", {
|
|
2489
2486
|
key: 0,
|
|
2490
2487
|
"aria-hidden": t.alt ? "true" : null
|
|
2491
|
-
}, p(t.text), 9,
|
|
2492
|
-
t.alt ? (l(), d("span",
|
|
2488
|
+
}, p(t.text), 9, yo)) : m(e.$slots, "default", { key: 1 }),
|
|
2489
|
+
t.alt ? (l(), d("span", po, p(t.alt), 1)) : y("", !0)
|
|
2493
2490
|
], 2)
|
|
2494
2491
|
]),
|
|
2495
2492
|
_: 3
|
|
2496
2493
|
}, 8, ["class", "to", "href", "onClick"]);
|
|
2497
2494
|
}
|
|
2498
|
-
const
|
|
2495
|
+
const bo = /* @__PURE__ */ _(_o, [["render", vo]]), wo = {
|
|
2499
2496
|
name: "UluBadgeStack",
|
|
2500
2497
|
components: {
|
|
2501
|
-
UluBadge:
|
|
2498
|
+
UluBadge: bo
|
|
2502
2499
|
},
|
|
2503
2500
|
props: {
|
|
2504
2501
|
/**
|
|
@@ -2506,19 +2503,19 @@ const ko = /* @__PURE__ */ _(vo, [["render", So]]), Co = {
|
|
|
2506
2503
|
*/
|
|
2507
2504
|
items: Array
|
|
2508
2505
|
}
|
|
2509
|
-
},
|
|
2510
|
-
function
|
|
2506
|
+
}, So = { class: "badge-stack" };
|
|
2507
|
+
function ko(e, s, t, n, i, o) {
|
|
2511
2508
|
const r = S("UluBadge");
|
|
2512
|
-
return l(), d("ul",
|
|
2513
|
-
(l(!0), d(T, null, C(t.items, (a,
|
|
2509
|
+
return l(), d("ul", So, [
|
|
2510
|
+
(l(!0), d(T, null, C(t.items, (a, c) => (l(), d("li", {
|
|
2514
2511
|
class: "badge-stack__item",
|
|
2515
|
-
key:
|
|
2512
|
+
key: c
|
|
2516
2513
|
}, [
|
|
2517
|
-
k(r,
|
|
2514
|
+
k(r, X({ ref_for: !0 }, a), null, 16)
|
|
2518
2515
|
]))), 128))
|
|
2519
2516
|
]);
|
|
2520
2517
|
}
|
|
2521
|
-
const
|
|
2518
|
+
const hf = /* @__PURE__ */ _(wo, [["render", ko]]), Co = {
|
|
2522
2519
|
name: "UluCallout",
|
|
2523
2520
|
props: {
|
|
2524
2521
|
/**
|
|
@@ -2536,17 +2533,17 @@ const kf = /* @__PURE__ */ _(Co, [["render", Ao]]), $o = {
|
|
|
2536
2533
|
return { resolvedModifiers: s };
|
|
2537
2534
|
}
|
|
2538
2535
|
};
|
|
2539
|
-
function
|
|
2536
|
+
function To(e, s, t, n, i, o) {
|
|
2540
2537
|
return l(), d("div", {
|
|
2541
2538
|
class: h(["callout", [n.resolvedModifiers, { "full-height": t.fullHeight }]])
|
|
2542
2539
|
}, [
|
|
2543
2540
|
m(e.$slots, "default")
|
|
2544
2541
|
], 2);
|
|
2545
2542
|
}
|
|
2546
|
-
const
|
|
2543
|
+
const mf = /* @__PURE__ */ _(Co, [["render", To]]), dt = (e, s) => {
|
|
2547
2544
|
const t = !(s.to || s.href);
|
|
2548
2545
|
return t || console.warn("'titleHref' and 'titleTo' can't be used with to or href (nesting links)"), t;
|
|
2549
|
-
},
|
|
2546
|
+
}, Ao = {
|
|
2550
2547
|
name: "UluCard",
|
|
2551
2548
|
props: {
|
|
2552
2549
|
/**
|
|
@@ -2574,14 +2571,14 @@ const Cf = /* @__PURE__ */ _($o, [["render", Oo]]), ft = (e, s) => {
|
|
|
2574
2571
|
*/
|
|
2575
2572
|
titleTo: {
|
|
2576
2573
|
type: [String, Object],
|
|
2577
|
-
validator:
|
|
2574
|
+
validator: dt
|
|
2578
2575
|
},
|
|
2579
2576
|
/**
|
|
2580
2577
|
* Will make title a link to href
|
|
2581
2578
|
*/
|
|
2582
2579
|
titleHref: {
|
|
2583
2580
|
type: String,
|
|
2584
|
-
validator:
|
|
2581
|
+
validator: dt
|
|
2585
2582
|
},
|
|
2586
2583
|
/**
|
|
2587
2584
|
* When using href this will set title link's target attribute
|
|
@@ -2672,7 +2669,7 @@ const Cf = /* @__PURE__ */ _($o, [["render", Oo]]), ft = (e, s) => {
|
|
|
2672
2669
|
computed: {
|
|
2673
2670
|
resolvedElement() {
|
|
2674
2671
|
const { cardElement: e, to: s, href: t } = this;
|
|
2675
|
-
return s ?
|
|
2672
|
+
return s ? We : t ? "a" : e;
|
|
2676
2673
|
}
|
|
2677
2674
|
},
|
|
2678
2675
|
methods: {
|
|
@@ -2687,16 +2684,16 @@ const Cf = /* @__PURE__ */ _($o, [["render", Oo]]), ft = (e, s) => {
|
|
|
2687
2684
|
this.shouldProxy && e - this.proxyStart < n && s.click();
|
|
2688
2685
|
}
|
|
2689
2686
|
}
|
|
2690
|
-
},
|
|
2687
|
+
}, $o = { class: "card__body" }, Oo = { class: "card__main" }, xo = ["href", "target"], Ro = {
|
|
2691
2688
|
key: 0,
|
|
2692
2689
|
class: "card__aside"
|
|
2693
|
-
},
|
|
2690
|
+
}, Uo = ["src", "alt"], Io = {
|
|
2694
2691
|
key: 1,
|
|
2695
2692
|
class: "card__footer"
|
|
2696
2693
|
};
|
|
2697
|
-
function
|
|
2694
|
+
function zo(e, s, t, n, i, o) {
|
|
2698
2695
|
const r = S("router-link");
|
|
2699
|
-
return l(), v(
|
|
2696
|
+
return l(), v(I(o.resolvedElement), {
|
|
2700
2697
|
class: h(["card", [
|
|
2701
2698
|
{
|
|
2702
2699
|
"card--horizontal": t.horizontal || t.horizontalCenter,
|
|
@@ -2714,9 +2711,9 @@ function Fo(e, s, t, n, i, o) {
|
|
|
2714
2711
|
"data-ulu-proxy-click-init": i.proxyClickEnabled
|
|
2715
2712
|
}, {
|
|
2716
2713
|
default: b(() => [
|
|
2717
|
-
f("div",
|
|
2718
|
-
f("div",
|
|
2719
|
-
(l(), v(
|
|
2714
|
+
f("div", $o, [
|
|
2715
|
+
f("div", Oo, [
|
|
2716
|
+
(l(), v(I(t.titleElement), {
|
|
2720
2717
|
class: h(["card__title", t.classes.title])
|
|
2721
2718
|
}, {
|
|
2722
2719
|
default: b(() => [
|
|
@@ -2742,7 +2739,7 @@ function Fo(e, s, t, n, i, o) {
|
|
|
2742
2739
|
m(e.$slots, "title", {}, () => [
|
|
2743
2740
|
w(p(t.title), 1)
|
|
2744
2741
|
])
|
|
2745
|
-
], 8,
|
|
2742
|
+
], 8, xo)) : m(e.$slots, "title", { key: 2 }, () => [
|
|
2746
2743
|
w(p(t.title), 1)
|
|
2747
2744
|
])
|
|
2748
2745
|
]),
|
|
@@ -2750,7 +2747,7 @@ function Fo(e, s, t, n, i, o) {
|
|
|
2750
2747
|
}, 8, ["class"])),
|
|
2751
2748
|
m(e.$slots, "body")
|
|
2752
2749
|
]),
|
|
2753
|
-
e.$slots.body ? (l(), d("div",
|
|
2750
|
+
e.$slots.body ? (l(), d("div", Ro, [
|
|
2754
2751
|
m(e.$slots, "aside")
|
|
2755
2752
|
])) : y("", !0)
|
|
2756
2753
|
]),
|
|
@@ -2765,17 +2762,17 @@ function Fo(e, s, t, n, i, o) {
|
|
|
2765
2762
|
f("img", {
|
|
2766
2763
|
src: t.imageSrc,
|
|
2767
2764
|
alt: t.imageAlt
|
|
2768
|
-
}, null, 8,
|
|
2765
|
+
}, null, 8, Uo)
|
|
2769
2766
|
])
|
|
2770
2767
|
], 2)) : y("", !0),
|
|
2771
|
-
e.$slots.footer ? (l(), d("div",
|
|
2768
|
+
e.$slots.footer ? (l(), d("div", Io, [
|
|
2772
2769
|
m(e.$slots, "footer")
|
|
2773
2770
|
])) : y("", !0)
|
|
2774
2771
|
]),
|
|
2775
2772
|
_: 3
|
|
2776
2773
|
}, 40, ["onMousedown", "onMouseup", "class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]);
|
|
2777
2774
|
}
|
|
2778
|
-
const
|
|
2775
|
+
const gf = /* @__PURE__ */ _(Ao, [["render", zo]]), Eo = {
|
|
2779
2776
|
name: "UluDefinitionList",
|
|
2780
2777
|
props: {
|
|
2781
2778
|
/**
|
|
@@ -2792,7 +2789,7 @@ const Tf = /* @__PURE__ */ _(xo, [["render", Fo]]), Po = {
|
|
|
2792
2789
|
}
|
|
2793
2790
|
}
|
|
2794
2791
|
};
|
|
2795
|
-
function
|
|
2792
|
+
function jo(e, s, t, n, i, o) {
|
|
2796
2793
|
return l(), d("dl", {
|
|
2797
2794
|
class: h(t.classes.list)
|
|
2798
2795
|
}, [
|
|
@@ -2823,10 +2820,10 @@ function Mo(e, s, t, n, i, o) {
|
|
|
2823
2820
|
], 2))), 128))
|
|
2824
2821
|
], 2);
|
|
2825
2822
|
}
|
|
2826
|
-
const
|
|
2823
|
+
const _f = /* @__PURE__ */ _(Eo, [["render", jo]]), Fo = {
|
|
2827
2824
|
name: "UluExternalLink",
|
|
2828
2825
|
components: {
|
|
2829
|
-
UluIcon:
|
|
2826
|
+
UluIcon: B
|
|
2830
2827
|
},
|
|
2831
2828
|
props: {
|
|
2832
2829
|
/**
|
|
@@ -2849,15 +2846,15 @@ const Af = /* @__PURE__ */ _(Po, [["render", Mo]]), Bo = {
|
|
|
2849
2846
|
*/
|
|
2850
2847
|
icon: String
|
|
2851
2848
|
}
|
|
2852
|
-
},
|
|
2853
|
-
function
|
|
2849
|
+
}, Po = ["href", "target"], Mo = { class: "external-link__text" };
|
|
2850
|
+
function Bo(e, s, t, n, i, o) {
|
|
2854
2851
|
const r = S("UluIcon");
|
|
2855
2852
|
return l(), d("a", {
|
|
2856
2853
|
class: "external-link",
|
|
2857
2854
|
href: t.href,
|
|
2858
2855
|
target: t.target
|
|
2859
2856
|
}, [
|
|
2860
|
-
f("span",
|
|
2857
|
+
f("span", Mo, [
|
|
2861
2858
|
m(e.$slots, "default", {}, () => [
|
|
2862
2859
|
w(p(t.text), 1)
|
|
2863
2860
|
])
|
|
@@ -2867,9 +2864,9 @@ function Do(e, s, t, n, i, o) {
|
|
|
2867
2864
|
type: "externalLink",
|
|
2868
2865
|
definition: t.icon
|
|
2869
2866
|
}, null, 8, ["definition"])
|
|
2870
|
-
], 8,
|
|
2867
|
+
], 8, Po);
|
|
2871
2868
|
}
|
|
2872
|
-
const
|
|
2869
|
+
const yf = /* @__PURE__ */ _(Fo, [["render", Bo]]), Lo = {
|
|
2873
2870
|
name: "UluList",
|
|
2874
2871
|
props: {
|
|
2875
2872
|
/**
|
|
@@ -2924,8 +2921,8 @@ const $f = /* @__PURE__ */ _(Bo, [["render", Do]]), Vo = {
|
|
|
2924
2921
|
}
|
|
2925
2922
|
}
|
|
2926
2923
|
};
|
|
2927
|
-
function
|
|
2928
|
-
return l(), v(
|
|
2924
|
+
function Ho(e, s, t, n, i, o) {
|
|
2925
|
+
return l(), v(I(o.listElement), {
|
|
2929
2926
|
class: h([
|
|
2930
2927
|
{
|
|
2931
2928
|
"list-ordered": t.ordered,
|
|
@@ -2957,13 +2954,13 @@ function No(e, s, t, n, i, o) {
|
|
|
2957
2954
|
_: 3
|
|
2958
2955
|
}, 8, ["class", "style", "reversed", "start"]);
|
|
2959
2956
|
}
|
|
2960
|
-
const
|
|
2961
|
-
function
|
|
2962
|
-
return l(), d("main",
|
|
2957
|
+
const pf = /* @__PURE__ */ _(Lo, [["render", Ho]]), Vo = {}, Do = { id: "main-content" };
|
|
2958
|
+
function No(e, s) {
|
|
2959
|
+
return l(), d("main", Do, [
|
|
2963
2960
|
m(e.$slots, "default")
|
|
2964
2961
|
]);
|
|
2965
2962
|
}
|
|
2966
|
-
const
|
|
2963
|
+
const vf = /* @__PURE__ */ _(Vo, [["render", No]]), Wo = {
|
|
2967
2964
|
name: "UluSpokeSpinner",
|
|
2968
2965
|
props: {
|
|
2969
2966
|
/**
|
|
@@ -2978,7 +2975,7 @@ const xf = /* @__PURE__ */ _(Wo, [["render", Yo]]), Ko = {
|
|
|
2978
2975
|
}
|
|
2979
2976
|
}
|
|
2980
2977
|
};
|
|
2981
|
-
function
|
|
2978
|
+
function Xo(e, s, t, n, i, o) {
|
|
2982
2979
|
return l(), d("div", {
|
|
2983
2980
|
class: h(["spoke-spinner", o.modifierClass])
|
|
2984
2981
|
}, s[0] || (s[0] = [
|
|
@@ -2998,7 +2995,7 @@ function Go(e, s, t, n, i, o) {
|
|
|
2998
2995
|
], -1)
|
|
2999
2996
|
]), 2);
|
|
3000
2997
|
}
|
|
3001
|
-
const
|
|
2998
|
+
const bf = /* @__PURE__ */ _(Wo, [["render", Xo]]), Yo = {
|
|
3002
2999
|
name: "UluCheckboxMenu",
|
|
3003
3000
|
props: {
|
|
3004
3001
|
options: Array
|
|
@@ -3008,20 +3005,20 @@ const Rf = /* @__PURE__ */ _(Ko, [["render", Go]]), qo = {
|
|
|
3008
3005
|
return `checkbox-menu-opt-${e}`;
|
|
3009
3006
|
}
|
|
3010
3007
|
}
|
|
3011
|
-
},
|
|
3012
|
-
function
|
|
3013
|
-
return l(), d("ul",
|
|
3008
|
+
}, Ko = { class: "site-menu site-form" }, Go = { class: "site-menu__checkbox" }, qo = ["id", "onUpdate:modelValue"], Zo = ["for"];
|
|
3009
|
+
function Jo(e, s, t, n, i, o) {
|
|
3010
|
+
return l(), d("ul", Ko, [
|
|
3014
3011
|
(l(!0), d(T, null, C(t.options, (r, a) => (l(), d("li", {
|
|
3015
3012
|
class: "site-menu__item",
|
|
3016
3013
|
key: a
|
|
3017
3014
|
}, [
|
|
3018
|
-
f("div",
|
|
3019
|
-
|
|
3015
|
+
f("div", Go, [
|
|
3016
|
+
D(f("input", {
|
|
3020
3017
|
type: "checkbox",
|
|
3021
3018
|
id: o.getId(a),
|
|
3022
|
-
"onUpdate:modelValue": (
|
|
3023
|
-
}, null, 8,
|
|
3024
|
-
[
|
|
3019
|
+
"onUpdate:modelValue": (c) => r.checked = c
|
|
3020
|
+
}, null, 8, qo), [
|
|
3021
|
+
[Ht, r.checked]
|
|
3025
3022
|
]),
|
|
3026
3023
|
f("label", {
|
|
3027
3024
|
for: o.getId(a)
|
|
@@ -3029,12 +3026,12 @@ function ti(e, s, t, n, i, o) {
|
|
|
3029
3026
|
m(e.$slots, "default", {}, () => [
|
|
3030
3027
|
w(p(r?.title || r?.text), 1)
|
|
3031
3028
|
])
|
|
3032
|
-
], 8,
|
|
3029
|
+
], 8, Zo)
|
|
3033
3030
|
])
|
|
3034
3031
|
]))), 128))
|
|
3035
3032
|
]);
|
|
3036
3033
|
}
|
|
3037
|
-
const
|
|
3034
|
+
const wf = /* @__PURE__ */ _(Yo, [["render", Jo]]), Qo = {
|
|
3038
3035
|
name: "FileDisplay",
|
|
3039
3036
|
props: {
|
|
3040
3037
|
file: {
|
|
@@ -3051,8 +3048,8 @@ const Uf = /* @__PURE__ */ _(qo, [["render", ti]]), si = {
|
|
|
3051
3048
|
return s > 1 ? `${n(s)}Mb` : t > 1 ? `${n(t)}Kb` : `${n(e)}B`;
|
|
3052
3049
|
}
|
|
3053
3050
|
}
|
|
3054
|
-
},
|
|
3055
|
-
function
|
|
3051
|
+
}, ei = ["href", "download"], ti = { class: "margin-left-small-x" }, si = { class: "tag tag--small tag--outline type-small-x" };
|
|
3052
|
+
function ni(e, s, t, n, i, o) {
|
|
3056
3053
|
const r = S("FaIcon");
|
|
3057
3054
|
return l(), d("a", {
|
|
3058
3055
|
class: "layout-flex-baseline",
|
|
@@ -3063,68 +3060,15 @@ function ri(e, s, t, n, i, o) {
|
|
|
3063
3060
|
class: "ui-icon",
|
|
3064
3061
|
icon: ["far", e.$site.getIcon("file")]
|
|
3065
3062
|
}, null, 8, ["icon"]),
|
|
3066
|
-
f("span",
|
|
3063
|
+
f("span", ti, [
|
|
3067
3064
|
w(p(t.file.name) + " ", 1),
|
|
3068
|
-
f("span",
|
|
3065
|
+
f("span", si, p(o.fileSize), 1)
|
|
3069
3066
|
])
|
|
3070
|
-
], 8,
|
|
3067
|
+
], 8, ei);
|
|
3071
3068
|
}
|
|
3072
|
-
const
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
}, ai = { class: "list-unordered" }, ci = {
|
|
3076
|
-
key: 1,
|
|
3077
|
-
class: "site-dropzone__display margin-top"
|
|
3078
|
-
}, zf = {
|
|
3079
|
-
__name: "UluFormDropzone",
|
|
3080
|
-
emits: ["filesChange"],
|
|
3081
|
-
setup(e, { emit: s }) {
|
|
3082
|
-
const t = j([]), n = j([]), i = s, { getRootProps: o, getInputProps: r, isDragActive: a } = Ds({
|
|
3083
|
-
onDrop: (u, c) => {
|
|
3084
|
-
c ? n.value = c.map((g) => g) : n.value = [], u.length && (t.value = u.map((g) => g), i("filesChange", t.value));
|
|
3085
|
-
},
|
|
3086
|
-
accept: [".png", ".jpg", ".jpeg"]
|
|
3087
|
-
});
|
|
3088
|
-
return (u, c) => {
|
|
3089
|
-
const g = S("FilesDisplay");
|
|
3090
|
-
return l(), d("div", {
|
|
3091
|
-
class: h(["site-dropzone site-form__item site-form__item--file", { "is-danger": n.value.length }])
|
|
3092
|
-
}, [
|
|
3093
|
-
f("div", N({
|
|
3094
|
-
class: ["site-dropzone__target", {
|
|
3095
|
-
"site-dropzone__target--dropping": O(a)
|
|
3096
|
-
}]
|
|
3097
|
-
}, O(o)()), [
|
|
3098
|
-
f("input", M(B(O(r)())), null, 16),
|
|
3099
|
-
c[0] || (c[0] = f("div", { class: "site-dropzone__instructions" }, [
|
|
3100
|
-
f("strong", { class: "type-normal" }, " Drag 'n' drop files here, or click to select ")
|
|
3101
|
-
], -1))
|
|
3102
|
-
], 16),
|
|
3103
|
-
c[3] || (c[3] = f("p", { class: "site-form__description" }, [
|
|
3104
|
-
f("em", null, "Only images allowed (.jpg, .png)")
|
|
3105
|
-
], -1)),
|
|
3106
|
-
n.value.length ? (l(), d("div", li, [
|
|
3107
|
-
f("ul", ai, [
|
|
3108
|
-
(l(!0), d(T, null, C(n.value, (A, E) => (l(), d("li", { key: E }, [
|
|
3109
|
-
f("strong", null, p(A.file.name), 1),
|
|
3110
|
-
c[1] || (c[1] = w(": ")),
|
|
3111
|
-
f("span", null, p(A.errors.map((I) => I.message).join()), 1)
|
|
3112
|
-
]))), 128))
|
|
3113
|
-
])
|
|
3114
|
-
])) : y("", !0),
|
|
3115
|
-
t.value.length ? (l(), d("div", ci, [
|
|
3116
|
-
c[2] || (c[2] = f("strong", null, "Files", -1)),
|
|
3117
|
-
k(g, {
|
|
3118
|
-
class: "site-dropzone__list",
|
|
3119
|
-
files: t.value
|
|
3120
|
-
}, null, 8, ["files"])
|
|
3121
|
-
])) : y("", !0)
|
|
3122
|
-
], 2);
|
|
3123
|
-
};
|
|
3124
|
-
}
|
|
3125
|
-
};
|
|
3126
|
-
let ui = 0;
|
|
3127
|
-
const di = {
|
|
3069
|
+
const Sf = /* @__PURE__ */ _(Qo, [["render", ni]]);
|
|
3070
|
+
let oi = 0;
|
|
3071
|
+
const ii = {
|
|
3128
3072
|
name: "FormFile",
|
|
3129
3073
|
props: {
|
|
3130
3074
|
label: {
|
|
@@ -3139,7 +3083,7 @@ const di = {
|
|
|
3139
3083
|
emits: ["filesChange"],
|
|
3140
3084
|
data() {
|
|
3141
3085
|
return {
|
|
3142
|
-
id: `file-input-id-${++
|
|
3086
|
+
id: `file-input-id-${++oi}`
|
|
3143
3087
|
};
|
|
3144
3088
|
},
|
|
3145
3089
|
methods: {
|
|
@@ -3147,9 +3091,9 @@ const di = {
|
|
|
3147
3091
|
this.$emit("filesChange", e.target.files);
|
|
3148
3092
|
}
|
|
3149
3093
|
}
|
|
3150
|
-
},
|
|
3151
|
-
function
|
|
3152
|
-
return l(), d("div",
|
|
3094
|
+
}, ri = { class: "site-form__item site-form__item--file" }, li = ["for"], ai = ["multiple", "id"];
|
|
3095
|
+
function ci(e, s, t, n, i, o) {
|
|
3096
|
+
return l(), d("div", ri, [
|
|
3153
3097
|
f("label", {
|
|
3154
3098
|
class: h({ "hidden-visually": t.labelHidden }),
|
|
3155
3099
|
for: i.id
|
|
@@ -3157,23 +3101,23 @@ function gi(e, s, t, n, i, o) {
|
|
|
3157
3101
|
m(e.$slots, "label", {}, () => [
|
|
3158
3102
|
w(p(t.label), 1)
|
|
3159
3103
|
])
|
|
3160
|
-
], 10,
|
|
3161
|
-
f("input",
|
|
3104
|
+
], 10, li),
|
|
3105
|
+
f("input", X({
|
|
3162
3106
|
type: "file",
|
|
3163
3107
|
onChange: s[0] || (s[0] = (...r) => o.onChangeFile && o.onChangeFile(...r)),
|
|
3164
3108
|
multiple: t.multiple,
|
|
3165
3109
|
id: i.id
|
|
3166
|
-
}, t.inputAttrs), null, 16,
|
|
3110
|
+
}, t.inputAttrs), null, 16, ai)
|
|
3167
3111
|
]);
|
|
3168
3112
|
}
|
|
3169
|
-
const
|
|
3113
|
+
const kf = /* @__PURE__ */ _(ii, [["render", ci]]), ui = {
|
|
3170
3114
|
name: "FormMessage",
|
|
3171
3115
|
props: {
|
|
3172
3116
|
warning: Boolean,
|
|
3173
3117
|
error: Boolean
|
|
3174
3118
|
}
|
|
3175
3119
|
};
|
|
3176
|
-
function
|
|
3120
|
+
function di(e, s, t, n, i, o) {
|
|
3177
3121
|
const r = S("FaIcon");
|
|
3178
3122
|
return l(), d("p", {
|
|
3179
3123
|
class: h(["site-form__description", {
|
|
@@ -3192,9 +3136,9 @@ function yi(e, s, t, n, i, o) {
|
|
|
3192
3136
|
m(e.$slots, "default")
|
|
3193
3137
|
], 2);
|
|
3194
3138
|
}
|
|
3195
|
-
const
|
|
3196
|
-
let
|
|
3197
|
-
const
|
|
3139
|
+
const Cf = /* @__PURE__ */ _(ui, [["render", di]]);
|
|
3140
|
+
let fi = 0;
|
|
3141
|
+
const hi = {
|
|
3198
3142
|
name: "FormSelect",
|
|
3199
3143
|
props: {
|
|
3200
3144
|
label: String,
|
|
@@ -3204,12 +3148,12 @@ const vi = {
|
|
|
3204
3148
|
},
|
|
3205
3149
|
data() {
|
|
3206
3150
|
return {
|
|
3207
|
-
id: `select-id-${++
|
|
3151
|
+
id: `select-id-${++fi}`
|
|
3208
3152
|
};
|
|
3209
3153
|
}
|
|
3210
|
-
},
|
|
3211
|
-
function
|
|
3212
|
-
return l(), d("div",
|
|
3154
|
+
}, mi = { class: "site-form__item site-form__item--select" }, gi = ["for"], _i = ["id", "value"], yi = ["value"];
|
|
3155
|
+
function pi(e, s, t, n, i, o) {
|
|
3156
|
+
return l(), d("div", mi, [
|
|
3213
3157
|
f("label", {
|
|
3214
3158
|
class: h({ "hidden-visually": t.labelHidden }),
|
|
3215
3159
|
for: i.id
|
|
@@ -3217,7 +3161,7 @@ function Ci(e, s, t, n, i, o) {
|
|
|
3217
3161
|
m(e.$slots, "default", {}, () => [
|
|
3218
3162
|
w(p(t.label), 1)
|
|
3219
3163
|
])
|
|
3220
|
-
], 10,
|
|
3164
|
+
], 10, gi),
|
|
3221
3165
|
f("select", {
|
|
3222
3166
|
id: i.id,
|
|
3223
3167
|
value: t.modelValue,
|
|
@@ -3230,13 +3174,13 @@ function Ci(e, s, t, n, i, o) {
|
|
|
3230
3174
|
(l(!0), d(T, null, C(t.options, (r, a) => (l(), d("option", {
|
|
3231
3175
|
key: a,
|
|
3232
3176
|
value: r.value
|
|
3233
|
-
}, p(r.text), 9,
|
|
3234
|
-
], 40,
|
|
3177
|
+
}, p(r.text), 9, yi))), 128))
|
|
3178
|
+
], 40, _i)
|
|
3235
3179
|
]);
|
|
3236
3180
|
}
|
|
3237
|
-
const
|
|
3238
|
-
let
|
|
3239
|
-
const
|
|
3181
|
+
const Tf = /* @__PURE__ */ _(hi, [["render", pi]]);
|
|
3182
|
+
let vi = 0;
|
|
3183
|
+
const bi = {
|
|
3240
3184
|
name: "FormText",
|
|
3241
3185
|
props: {
|
|
3242
3186
|
label: String,
|
|
@@ -3245,12 +3189,12 @@ const Ai = {
|
|
|
3245
3189
|
},
|
|
3246
3190
|
data() {
|
|
3247
3191
|
return {
|
|
3248
|
-
id: `text-input-id-${++
|
|
3192
|
+
id: `text-input-id-${++vi}`
|
|
3249
3193
|
};
|
|
3250
3194
|
}
|
|
3251
|
-
},
|
|
3252
|
-
function
|
|
3253
|
-
return l(), d("div",
|
|
3195
|
+
}, wi = { class: "site-form__item site-form__item--text" }, Si = ["for"], ki = ["value", "id"];
|
|
3196
|
+
function Ci(e, s, t, n, i, o) {
|
|
3197
|
+
return l(), d("div", wi, [
|
|
3254
3198
|
f("label", {
|
|
3255
3199
|
class: h({ "hidden-visually": t.labelHidden }),
|
|
3256
3200
|
for: i.id
|
|
@@ -3258,16 +3202,16 @@ function Ri(e, s, t, n, i, o) {
|
|
|
3258
3202
|
m(e.$slots, "default", {}, () => [
|
|
3259
3203
|
w(p(t.label), 1)
|
|
3260
3204
|
])
|
|
3261
|
-
], 10,
|
|
3205
|
+
], 10, Si),
|
|
3262
3206
|
f("input", {
|
|
3263
3207
|
type: "text",
|
|
3264
3208
|
value: t.modelValue,
|
|
3265
3209
|
onInput: s[0] || (s[0] = (r) => e.$emit("update:modelValue", r.target.value)),
|
|
3266
3210
|
id: i.id
|
|
3267
|
-
}, null, 40,
|
|
3211
|
+
}, null, 40, ki)
|
|
3268
3212
|
]);
|
|
3269
3213
|
}
|
|
3270
|
-
const
|
|
3214
|
+
const Af = /* @__PURE__ */ _(bi, [["render", Ci]]), Ti = {
|
|
3271
3215
|
name: "SearchForm",
|
|
3272
3216
|
props: {
|
|
3273
3217
|
placeholder: {
|
|
@@ -3275,42 +3219,42 @@ const Pf = /* @__PURE__ */ _(Ai, [["render", Ri]]), Ui = {
|
|
|
3275
3219
|
default: "Titles, keyword…"
|
|
3276
3220
|
}
|
|
3277
3221
|
}
|
|
3278
|
-
},
|
|
3222
|
+
}, Ai = { class: "form-theme search-form type-small" }, $i = { class: "search-form__field" }, Oi = ["placeholder"], xi = {
|
|
3279
3223
|
class: "search-form__submit button button--primary",
|
|
3280
3224
|
"aria-label": "Submit Search"
|
|
3281
3225
|
};
|
|
3282
|
-
function
|
|
3226
|
+
function Ri(e, s, t, n, i, o) {
|
|
3283
3227
|
const r = S("FaIcon");
|
|
3284
|
-
return l(), d("div",
|
|
3285
|
-
f("div",
|
|
3228
|
+
return l(), d("div", Ai, [
|
|
3229
|
+
f("div", $i, [
|
|
3286
3230
|
s[0] || (s[0] = f("label", { class: "hidden-visually" }, "Search", -1)),
|
|
3287
3231
|
f("input", {
|
|
3288
3232
|
class: "search-form__input",
|
|
3289
3233
|
type: "text",
|
|
3290
3234
|
id: "example-input",
|
|
3291
3235
|
placeholder: t.placeholder
|
|
3292
|
-
}, null, 8,
|
|
3236
|
+
}, null, 8, Oi)
|
|
3293
3237
|
]),
|
|
3294
|
-
f("button",
|
|
3238
|
+
f("button", xi, [
|
|
3295
3239
|
k(r, {
|
|
3296
3240
|
icon: e.$site.getIcon("search")
|
|
3297
3241
|
}, null, 8, ["icon"])
|
|
3298
3242
|
])
|
|
3299
3243
|
]);
|
|
3300
3244
|
}
|
|
3301
|
-
const
|
|
3245
|
+
const $f = /* @__PURE__ */ _(Ti, [["render", Ri]]), Ui = {
|
|
3302
3246
|
name: "AdaptiveLayout",
|
|
3303
3247
|
inject: ["uluIsMobile"]
|
|
3304
3248
|
};
|
|
3305
|
-
function
|
|
3249
|
+
function Ii(e, s, t, n, i, o) {
|
|
3306
3250
|
return !o.uluIsMobile || !e.$slots.mobile ? m(e.$slots, "default", { key: 0 }) : m(e.$slots, "mobile", { key: 1 });
|
|
3307
3251
|
}
|
|
3308
|
-
const
|
|
3309
|
-
function
|
|
3252
|
+
const Of = /* @__PURE__ */ _(Ui, [["render", Ii]]);
|
|
3253
|
+
function zi(e) {
|
|
3310
3254
|
var s;
|
|
3311
3255
|
return e = e.replace(/^[^-_a-zA-Z]+/, "").replace(/^-(?:[-0-9]+)/, "-"), s = e && e.replace(/[^-_a-zA-Z0-9]+/g, "-"), s.toLowerCase();
|
|
3312
3256
|
}
|
|
3313
|
-
function
|
|
3257
|
+
function Ei(e, s = {
|
|
3314
3258
|
columnFirst: "position-column-first",
|
|
3315
3259
|
columnLast: "position-column-last",
|
|
3316
3260
|
rowFirst: "position-row-first",
|
|
@@ -3322,30 +3266,30 @@ function Li(e, s = {
|
|
|
3322
3266
|
const r = o.getBoundingClientRect().y;
|
|
3323
3267
|
i !== r && n.push([]), n[n.length - 1].push(o), i = r, o.classList.remove(...Object.values(s));
|
|
3324
3268
|
}), n.forEach((o, r) => {
|
|
3325
|
-
r === 0 && o.forEach((a) => a.classList.add(s.rowFirst)), r == n.length - 1 && o.forEach((a) => a.classList.add(s.rowLast)), o.forEach((a,
|
|
3326
|
-
|
|
3269
|
+
r === 0 && o.forEach((a) => a.classList.add(s.rowFirst)), r == n.length - 1 && o.forEach((a) => a.classList.add(s.rowLast)), o.forEach((a, c) => {
|
|
3270
|
+
c === 0 && a.classList.add(s.columnFirst), c == o.length - 1 && a.classList.add(s.columnLast);
|
|
3327
3271
|
});
|
|
3328
3272
|
});
|
|
3329
3273
|
}
|
|
3330
|
-
const
|
|
3274
|
+
const ji = {
|
|
3331
3275
|
name: "UluDataGrid",
|
|
3332
3276
|
async mounted() {
|
|
3333
|
-
const e = () =>
|
|
3277
|
+
const e = () => Ei(this.$el);
|
|
3334
3278
|
e(), this.resizeHandler = Te(e, 200, !1, this), window.addEventListener("resize", this.resizeHandler);
|
|
3335
3279
|
},
|
|
3336
3280
|
beforeUnmount() {
|
|
3337
3281
|
this.resizeHandler && window.removeEventListener("resize", this.resizeHandler);
|
|
3338
3282
|
}
|
|
3339
3283
|
};
|
|
3340
|
-
function
|
|
3284
|
+
function Fi(e, s, t, n, i, o) {
|
|
3341
3285
|
return l(), d("div", null, [
|
|
3342
3286
|
m(e.$slots, "default")
|
|
3343
3287
|
]);
|
|
3344
3288
|
}
|
|
3345
|
-
const
|
|
3289
|
+
const xf = /* @__PURE__ */ _(ji, [["render", Fi]]), Pi = {
|
|
3346
3290
|
name: "UluTitleRail",
|
|
3347
3291
|
components: {
|
|
3348
|
-
UluIcon:
|
|
3292
|
+
UluIcon: B
|
|
3349
3293
|
},
|
|
3350
3294
|
props: {
|
|
3351
3295
|
icon: String,
|
|
@@ -3367,17 +3311,17 @@ const Lf = /* @__PURE__ */ _(Hi, [["render", Di]]), Vi = {
|
|
|
3367
3311
|
default: "h2"
|
|
3368
3312
|
}
|
|
3369
3313
|
}
|
|
3370
|
-
},
|
|
3314
|
+
}, Mi = { class: "rail rail--title-rail" }, Bi = {
|
|
3371
3315
|
key: 0,
|
|
3372
3316
|
class: "rail__item rail__item--pull"
|
|
3373
3317
|
};
|
|
3374
|
-
function
|
|
3318
|
+
function Li(e, s, t, n, i, o) {
|
|
3375
3319
|
const r = S("UluIcon");
|
|
3376
|
-
return l(), d("div",
|
|
3320
|
+
return l(), d("div", Mi, [
|
|
3377
3321
|
f("div", {
|
|
3378
3322
|
class: h(["rail__item rail__item--title", t.classes.itemTitle])
|
|
3379
3323
|
}, [
|
|
3380
|
-
(l(), v(
|
|
3324
|
+
(l(), v(I(t.titleElement), {
|
|
3381
3325
|
class: h(["layout-flex type-max-width-small no-margin", t.classes.title]),
|
|
3382
3326
|
style: U({ alignItems: t.iconAlign })
|
|
3383
3327
|
}, {
|
|
@@ -3395,15 +3339,15 @@ function Xi(e, s, t, n, i, o) {
|
|
|
3395
3339
|
_: 3
|
|
3396
3340
|
}, 8, ["class", "style"]))
|
|
3397
3341
|
], 2),
|
|
3398
|
-
e.$slots.end ? (l(), d("div",
|
|
3342
|
+
e.$slots.end ? (l(), d("div", Bi, [
|
|
3399
3343
|
m(e.$slots, "end")
|
|
3400
3344
|
])) : y("", !0)
|
|
3401
3345
|
]);
|
|
3402
3346
|
}
|
|
3403
|
-
const
|
|
3347
|
+
const Rf = /* @__PURE__ */ _(Pi, [["render", Li]]), Hi = {
|
|
3404
3348
|
name: "UluBreadcrumb",
|
|
3405
3349
|
components: {
|
|
3406
|
-
UluIcon:
|
|
3350
|
+
UluIcon: B
|
|
3407
3351
|
},
|
|
3408
3352
|
props: {
|
|
3409
3353
|
/**
|
|
@@ -3434,7 +3378,7 @@ const Hf = /* @__PURE__ */ _(Vi, [["render", Xi]]), Yi = {
|
|
|
3434
3378
|
}
|
|
3435
3379
|
}
|
|
3436
3380
|
};
|
|
3437
|
-
function
|
|
3381
|
+
function Vi(e, s, t, n, i, o) {
|
|
3438
3382
|
const r = S("router-link"), a = S("UluIcon");
|
|
3439
3383
|
return t.items.length ? (l(), d("nav", {
|
|
3440
3384
|
key: 0,
|
|
@@ -3444,23 +3388,23 @@ function Ki(e, s, t, n, i, o) {
|
|
|
3444
3388
|
f("ul", {
|
|
3445
3389
|
class: h(t.classes.list)
|
|
3446
3390
|
}, [
|
|
3447
|
-
(l(!0), d(T, null, C(t.items, (
|
|
3448
|
-
key:
|
|
3391
|
+
(l(!0), d(T, null, C(t.items, (c, u) => (l(), d("li", {
|
|
3392
|
+
key: u,
|
|
3449
3393
|
class: h(t.classes.item)
|
|
3450
3394
|
}, [
|
|
3451
3395
|
k(r, {
|
|
3452
|
-
to:
|
|
3396
|
+
to: c.to,
|
|
3453
3397
|
class: h(t.classes.link),
|
|
3454
|
-
"aria-current":
|
|
3398
|
+
"aria-current": c.current ? "page" : null
|
|
3455
3399
|
}, {
|
|
3456
3400
|
default: b(() => [
|
|
3457
|
-
m(e.$slots, "default", { item:
|
|
3458
|
-
w(p(
|
|
3401
|
+
m(e.$slots, "default", { item: c }, () => [
|
|
3402
|
+
w(p(c.title), 1)
|
|
3459
3403
|
])
|
|
3460
3404
|
]),
|
|
3461
3405
|
_: 2
|
|
3462
3406
|
}, 1032, ["to", "class", "aria-current"]),
|
|
3463
|
-
|
|
3407
|
+
u < t.items.length - 1 ? m(e.$slots, "separator", { key: 0 }, () => [
|
|
3464
3408
|
k(a, {
|
|
3465
3409
|
class: h(t.classes.separator),
|
|
3466
3410
|
type: "pathSeparator",
|
|
@@ -3471,10 +3415,10 @@ function Ki(e, s, t, n, i, o) {
|
|
|
3471
3415
|
], 2)
|
|
3472
3416
|
], 2)) : y("", !0);
|
|
3473
3417
|
}
|
|
3474
|
-
const
|
|
3418
|
+
const Uf = /* @__PURE__ */ _(Hi, [["render", Vi]]), Di = {
|
|
3475
3419
|
name: "UluNavStrip",
|
|
3476
3420
|
components: {
|
|
3477
|
-
UluMenu:
|
|
3421
|
+
UluMenu: Zt
|
|
3478
3422
|
},
|
|
3479
3423
|
props: {
|
|
3480
3424
|
/**
|
|
@@ -3495,7 +3439,7 @@ const Df = /* @__PURE__ */ _(Yi, [["render", Ki]]), Gi = {
|
|
|
3495
3439
|
rule: Boolean
|
|
3496
3440
|
}
|
|
3497
3441
|
};
|
|
3498
|
-
function
|
|
3442
|
+
function Ni(e, s, t, n, i, o) {
|
|
3499
3443
|
const r = S("UluMenu");
|
|
3500
3444
|
return l(), d("nav", {
|
|
3501
3445
|
class: h(["nav-strip", {
|
|
@@ -3515,14 +3459,14 @@ function qi(e, s, t, n, i, o) {
|
|
|
3515
3459
|
}, null, 8, ["items"])
|
|
3516
3460
|
], 2);
|
|
3517
3461
|
}
|
|
3518
|
-
const
|
|
3462
|
+
const If = /* @__PURE__ */ _(Di, [["render", Ni]]), Wi = {}, Xi = {
|
|
3519
3463
|
class: "site-skip-link hidden-visually-focusable",
|
|
3520
3464
|
href: "#main-content"
|
|
3521
3465
|
};
|
|
3522
|
-
function
|
|
3523
|
-
return l(), d("a",
|
|
3466
|
+
function Yi(e, s) {
|
|
3467
|
+
return l(), d("a", Xi, " Skip to main content ");
|
|
3524
3468
|
}
|
|
3525
|
-
const
|
|
3469
|
+
const zf = /* @__PURE__ */ _(Wi, [["render", Yi]]), Ki = {
|
|
3526
3470
|
name: "UluCondText",
|
|
3527
3471
|
props: {
|
|
3528
3472
|
/**
|
|
@@ -3538,28 +3482,28 @@ const Nf = /* @__PURE__ */ _(Zi, [["render", Qi]]), er = {
|
|
|
3538
3482
|
}
|
|
3539
3483
|
}
|
|
3540
3484
|
};
|
|
3541
|
-
function
|
|
3542
|
-
return t.text != null ? (l(), v(
|
|
3485
|
+
function Gi(e, s, t, n, i, o) {
|
|
3486
|
+
return t.text != null ? (l(), v(I(t.element), { key: 0 }, {
|
|
3543
3487
|
default: b(() => [
|
|
3544
3488
|
w(p(t.text), 1)
|
|
3545
3489
|
]),
|
|
3546
3490
|
_: 1
|
|
3547
3491
|
})) : y("", !0);
|
|
3548
3492
|
}
|
|
3549
|
-
const
|
|
3550
|
-
function
|
|
3551
|
-
return l(), d("span",
|
|
3493
|
+
const Ef = /* @__PURE__ */ _(Ki, [["render", Gi]]), qi = {}, Zi = { style: { display: "none" } };
|
|
3494
|
+
function Ji(e, s) {
|
|
3495
|
+
return l(), d("span", Zi);
|
|
3552
3496
|
}
|
|
3553
|
-
const
|
|
3554
|
-
function
|
|
3497
|
+
const jf = /* @__PURE__ */ _(qi, [["render", Ji]]), Qi = {};
|
|
3498
|
+
function er(e, s) {
|
|
3555
3499
|
const t = S("router-view");
|
|
3556
3500
|
return l(), v(t);
|
|
3557
3501
|
}
|
|
3558
|
-
const
|
|
3502
|
+
const Ff = /* @__PURE__ */ _(Qi, [["render", er]]);
|
|
3559
3503
|
function fe(e = 0, s = 100) {
|
|
3560
3504
|
return e = Math.ceil(e), s = Math.floor(s), Math.floor(Math.random() * (s - e) + e);
|
|
3561
3505
|
}
|
|
3562
|
-
const
|
|
3506
|
+
const tr = {
|
|
3563
3507
|
name: "UluPlaceholderImage",
|
|
3564
3508
|
props: {
|
|
3565
3509
|
imageId: String,
|
|
@@ -3599,14 +3543,14 @@ const lr = {
|
|
|
3599
3543
|
} : { width: s, height: t };
|
|
3600
3544
|
}
|
|
3601
3545
|
}
|
|
3602
|
-
},
|
|
3603
|
-
function
|
|
3546
|
+
}, sr = ["src", "alt"];
|
|
3547
|
+
function nr(e, s, t, n, i, o) {
|
|
3604
3548
|
return l(), d("img", {
|
|
3605
3549
|
src: o.src,
|
|
3606
3550
|
alt: t.alt
|
|
3607
|
-
}, null, 8,
|
|
3551
|
+
}, null, 8, sr);
|
|
3608
3552
|
}
|
|
3609
|
-
const
|
|
3553
|
+
const Pf = /* @__PURE__ */ _(tr, [["render", nr]]), or = {
|
|
3610
3554
|
name: "PlaceholderText",
|
|
3611
3555
|
props: {
|
|
3612
3556
|
amount: {
|
|
@@ -3619,8 +3563,8 @@ const Kf = /* @__PURE__ */ _(lr, [["render", cr]]), ur = {
|
|
|
3619
3563
|
}
|
|
3620
3564
|
}
|
|
3621
3565
|
};
|
|
3622
|
-
function
|
|
3623
|
-
return l(!0), d(T, null, C(parseInt(t.amount), (r) => (l(), v(
|
|
3566
|
+
function ir(e, s, t, n, i, o) {
|
|
3567
|
+
return l(!0), d(T, null, C(parseInt(t.amount), (r) => (l(), v(I(t.element), { key: r }, {
|
|
3624
3568
|
default: b(() => s[0] || (s[0] = [
|
|
3625
3569
|
w(" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed semper erat tincidunt tellus vestibulum dictum. Fusce vel augue commodo, egestas diam sed, accumsan leo. Maecenas congue nec nisl et ullamcorper. Maecenas tincidunt, tortor et viverra eleifend, enim leo vestibulum ipsum, quis placerat mi nisi nec ex. Vivamus a justo volutpat, scelerisque elit eget, lacinia ex. Phasellus dapibus sollicitudin tortor, vitae suscipit nunc condimentum ut. Cras suscipit feugiat nibh nec consectetur. Phasellus vitae quam blandit, cursus metus ut, placerat mi. Sed tempor lacus non est interdum imperdiet nec quis metus. Praesent vel eleifend diam. Donec tincidunt eget purus sed posuere. ")
|
|
3626
3570
|
])),
|
|
@@ -3628,7 +3572,7 @@ function dr(e, s, t, n, i, o) {
|
|
|
3628
3572
|
__: [0]
|
|
3629
3573
|
}, 1024))), 128);
|
|
3630
3574
|
}
|
|
3631
|
-
const
|
|
3575
|
+
const Mf = /* @__PURE__ */ _(or, [["render", ir]]), rr = {
|
|
3632
3576
|
name: "RouteAnnouncer",
|
|
3633
3577
|
props: {
|
|
3634
3578
|
/**
|
|
@@ -3673,7 +3617,7 @@ const Gf = /* @__PURE__ */ _(ur, [["render", dr]]), fr = {
|
|
|
3673
3617
|
}
|
|
3674
3618
|
}
|
|
3675
3619
|
};
|
|
3676
|
-
function
|
|
3620
|
+
function lr(e, s, t, n, i, o) {
|
|
3677
3621
|
return o.title ? (l(), d("p", {
|
|
3678
3622
|
key: 0,
|
|
3679
3623
|
tabindex: "-1",
|
|
@@ -3681,7 +3625,7 @@ function hr(e, s, t, n, i, o) {
|
|
|
3681
3625
|
ref: "el"
|
|
3682
3626
|
}, p(o.title), 513)) : y("", !0);
|
|
3683
3627
|
}
|
|
3684
|
-
const
|
|
3628
|
+
const Bf = /* @__PURE__ */ _(rr, [["render", lr]]), ar = {
|
|
3685
3629
|
name: "AnimateNumber",
|
|
3686
3630
|
props: {
|
|
3687
3631
|
/**
|
|
@@ -3691,7 +3635,7 @@ const qf = /* @__PURE__ */ _(fr, [["render", hr]]), mr = {
|
|
|
3691
3635
|
},
|
|
3692
3636
|
watch: {
|
|
3693
3637
|
value() {
|
|
3694
|
-
|
|
3638
|
+
Hs.to(this, {
|
|
3695
3639
|
tweenValue: this.value,
|
|
3696
3640
|
onUpdate: () => {
|
|
3697
3641
|
this.currentValue = Math.ceil(this.tweenValue);
|
|
@@ -3706,14 +3650,14 @@ const qf = /* @__PURE__ */ _(fr, [["render", hr]]), mr = {
|
|
|
3706
3650
|
};
|
|
3707
3651
|
}
|
|
3708
3652
|
};
|
|
3709
|
-
function
|
|
3653
|
+
function cr(e, s, t, n, i, o) {
|
|
3710
3654
|
return l(), d("span", null, [
|
|
3711
3655
|
m(e.$slots, "default", { currentValue: i.currentValue }, () => [
|
|
3712
3656
|
w(p(i.currentValue), 1)
|
|
3713
3657
|
])
|
|
3714
3658
|
]);
|
|
3715
3659
|
}
|
|
3716
|
-
const
|
|
3660
|
+
const Lf = /* @__PURE__ */ _(ar, [["render", cr]]), ur = {
|
|
3717
3661
|
name: "ProgressBar",
|
|
3718
3662
|
props: {
|
|
3719
3663
|
small: Boolean,
|
|
@@ -3749,14 +3693,14 @@ const Zf = /* @__PURE__ */ _(mr, [["render", gr]]), _r = {
|
|
|
3749
3693
|
} : null;
|
|
3750
3694
|
}
|
|
3751
3695
|
}
|
|
3752
|
-
},
|
|
3696
|
+
}, dr = { class: "progress-bar__header" }, fr = {
|
|
3753
3697
|
key: 0,
|
|
3754
3698
|
class: "progress-bar__icon"
|
|
3755
|
-
},
|
|
3699
|
+
}, hr = { class: "hidden-visually" }, mr = { class: "progress-bar__track" }, gr = { class: "progress-bar__values" }, _r = { class: "progress-bar__value progress-bar__value--amount" }, yr = {
|
|
3756
3700
|
key: 0,
|
|
3757
3701
|
class: "progress-bar__value progress-bar__value--deficit color-status is-danger"
|
|
3758
|
-
},
|
|
3759
|
-
function
|
|
3702
|
+
}, pr = { class: "progress-bar__value progress-bar__value--total" };
|
|
3703
|
+
function vr(e, s, t, n, i, o) {
|
|
3760
3704
|
const r = S("StatusIcon");
|
|
3761
3705
|
return l(), d("div", {
|
|
3762
3706
|
class: h(["progress-bar", {
|
|
@@ -3765,21 +3709,21 @@ function Tr(e, s, t, n, i, o) {
|
|
|
3765
3709
|
"type-small": t.small
|
|
3766
3710
|
}])
|
|
3767
3711
|
}, [
|
|
3768
|
-
f("div",
|
|
3712
|
+
f("div", dr, [
|
|
3769
3713
|
f("strong", {
|
|
3770
3714
|
class: h(["progress-bar__label", {
|
|
3771
3715
|
"type-normal": t.small,
|
|
3772
3716
|
"hidden-visually": t.labelHidden
|
|
3773
3717
|
}])
|
|
3774
3718
|
}, p(t.label), 3),
|
|
3775
|
-
o.status ? (l(), d("div",
|
|
3719
|
+
o.status ? (l(), d("div", fr, [
|
|
3776
3720
|
k(r, {
|
|
3777
3721
|
type: o.status.type
|
|
3778
3722
|
}, null, 8, ["type"]),
|
|
3779
|
-
f("span",
|
|
3723
|
+
f("span", hr, p(o.status.message), 1)
|
|
3780
3724
|
])) : y("", !0)
|
|
3781
3725
|
]),
|
|
3782
|
-
f("div",
|
|
3726
|
+
f("div", mr, [
|
|
3783
3727
|
f("div", {
|
|
3784
3728
|
class: "progress-bar__bar",
|
|
3785
3729
|
style: U(`width: ${o.percentage}%`)
|
|
@@ -3790,25 +3734,25 @@ function Tr(e, s, t, n, i, o) {
|
|
|
3790
3734
|
style: U(`width: ${o.defPercentage}%`)
|
|
3791
3735
|
}, null, 4)) : y("", !0)
|
|
3792
3736
|
]),
|
|
3793
|
-
f("div",
|
|
3794
|
-
f("div",
|
|
3737
|
+
f("div", gr, [
|
|
3738
|
+
f("div", _r, [
|
|
3795
3739
|
s[0] || (s[0] = f("strong", { class: "hidden-visually" }, "Amount:", -1)),
|
|
3796
3740
|
w(" " + p(t.amount), 1)
|
|
3797
3741
|
]),
|
|
3798
|
-
t.deficit > 0 ? (l(), d("div",
|
|
3742
|
+
t.deficit > 0 ? (l(), d("div", yr, [
|
|
3799
3743
|
s[1] || (s[1] = f("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
|
|
3800
3744
|
w(" -" + p(t.deficit), 1)
|
|
3801
3745
|
])) : y("", !0),
|
|
3802
|
-
f("div",
|
|
3746
|
+
f("div", pr, [
|
|
3803
3747
|
s[2] || (s[2] = f("strong", { class: "hidden-visually" }, "Total:", -1)),
|
|
3804
3748
|
w(" " + p(t.total), 1)
|
|
3805
3749
|
])
|
|
3806
3750
|
])
|
|
3807
3751
|
], 2);
|
|
3808
3752
|
}
|
|
3809
|
-
const
|
|
3810
|
-
let
|
|
3811
|
-
const
|
|
3753
|
+
const Hf = /* @__PURE__ */ _(ur, [["render", vr]]);
|
|
3754
|
+
let br = 0;
|
|
3755
|
+
const wr = {
|
|
3812
3756
|
name: "ProgressDonut",
|
|
3813
3757
|
props: {
|
|
3814
3758
|
percentage: {
|
|
@@ -3829,7 +3773,7 @@ const $r = {
|
|
|
3829
3773
|
},
|
|
3830
3774
|
data() {
|
|
3831
3775
|
return {
|
|
3832
|
-
uid: `progress-donut-${++
|
|
3776
|
+
uid: `progress-donut-${++br}`
|
|
3833
3777
|
};
|
|
3834
3778
|
},
|
|
3835
3779
|
watch: {
|
|
@@ -3857,17 +3801,17 @@ const $r = {
|
|
|
3857
3801
|
mounted() {
|
|
3858
3802
|
this.animate();
|
|
3859
3803
|
}
|
|
3860
|
-
},
|
|
3804
|
+
}, Sr = { class: "progress-donut__chart" }, kr = {
|
|
3861
3805
|
class: "progress-donut__chart-svg",
|
|
3862
3806
|
viewBox: "0 0 32 32"
|
|
3863
|
-
},
|
|
3807
|
+
}, Cr = ["r"], Tr = {
|
|
3864
3808
|
key: 0,
|
|
3865
3809
|
class: "progress-donut__chart-value"
|
|
3866
|
-
},
|
|
3810
|
+
}, Ar = {
|
|
3867
3811
|
key: 0,
|
|
3868
3812
|
class: "progress-donut__value type-small-x"
|
|
3869
3813
|
};
|
|
3870
|
-
function
|
|
3814
|
+
function $r(e, s, t, n, i, o) {
|
|
3871
3815
|
return l(), d("div", {
|
|
3872
3816
|
class: h(["progress-donut", {
|
|
3873
3817
|
"progress-donut--small": t.small,
|
|
@@ -3878,8 +3822,8 @@ function zr(e, s, t, n, i, o) {
|
|
|
3878
3822
|
}])
|
|
3879
3823
|
}, [
|
|
3880
3824
|
s[0] || (s[0] = f("strong", { class: "hidden-visually" }, "Course Progress", -1)),
|
|
3881
|
-
f("div",
|
|
3882
|
-
(l(), d("svg",
|
|
3825
|
+
f("div", Sr, [
|
|
3826
|
+
(l(), d("svg", kr, [
|
|
3883
3827
|
f("circle", {
|
|
3884
3828
|
class: "progress-donut__chart-pie",
|
|
3885
3829
|
ref: "pie",
|
|
@@ -3893,14 +3837,14 @@ function zr(e, s, t, n, i, o) {
|
|
|
3893
3837
|
r: t.small ? 7 : 11,
|
|
3894
3838
|
cx: "16",
|
|
3895
3839
|
cy: "16"
|
|
3896
|
-
}, null, 8,
|
|
3840
|
+
}, null, 8, Cr)
|
|
3897
3841
|
])),
|
|
3898
|
-
t.small ? y("", !0) : (l(), d("strong",
|
|
3842
|
+
t.small ? y("", !0) : (l(), d("strong", Tr, p(t.percentage) + "% ", 1))
|
|
3899
3843
|
]),
|
|
3900
|
-
t.small ? (l(), d("strong",
|
|
3844
|
+
t.small ? (l(), d("strong", Ar, p(t.percentage) + "% ", 1)) : y("", !0)
|
|
3901
3845
|
], 2);
|
|
3902
3846
|
}
|
|
3903
|
-
const
|
|
3847
|
+
const Vf = /* @__PURE__ */ _(wr, [["render", $r]]), Or = {
|
|
3904
3848
|
name: "UluFacetsList",
|
|
3905
3849
|
props: {
|
|
3906
3850
|
groupUid: String,
|
|
@@ -3912,31 +3856,31 @@ const Qf = /* @__PURE__ */ _($r, [["render", zr]]), Er = {
|
|
|
3912
3856
|
return `facet-${this.groupUid}-${e.uid}`;
|
|
3913
3857
|
}
|
|
3914
3858
|
}
|
|
3915
|
-
},
|
|
3916
|
-
function
|
|
3917
|
-
return l(), d("ul",
|
|
3859
|
+
}, xr = { class: "UluFacets__facet-list" }, Rr = ["id", "onUpdate:modelValue"], Ur = ["for"];
|
|
3860
|
+
function Ir(e, s, t, n, i, o) {
|
|
3861
|
+
return l(), d("ul", xr, [
|
|
3918
3862
|
(l(!0), d(T, null, C(t.children, (r) => (l(), d("li", {
|
|
3919
3863
|
class: h(["UluFacets__facet", t.classFacet]),
|
|
3920
3864
|
key: r.uid
|
|
3921
3865
|
}, [
|
|
3922
|
-
|
|
3866
|
+
D(f("input", {
|
|
3923
3867
|
class: "UluFacets__facet-checkbox",
|
|
3924
3868
|
id: o.facetCheckboxId(r),
|
|
3925
3869
|
type: "checkbox",
|
|
3926
3870
|
"onUpdate:modelValue": (a) => r.selected = a
|
|
3927
|
-
}, null, 8,
|
|
3928
|
-
[
|
|
3871
|
+
}, null, 8, Rr), [
|
|
3872
|
+
[Ht, r.selected]
|
|
3929
3873
|
]),
|
|
3930
3874
|
f("label", {
|
|
3931
3875
|
class: "UluFacets__facet-label",
|
|
3932
3876
|
for: o.facetCheckboxId(r)
|
|
3933
|
-
}, p(r.label), 9,
|
|
3877
|
+
}, p(r.label), 9, Ur)
|
|
3934
3878
|
], 2))), 128))
|
|
3935
3879
|
]);
|
|
3936
3880
|
}
|
|
3937
|
-
const
|
|
3938
|
-
let
|
|
3939
|
-
const
|
|
3881
|
+
const zr = /* @__PURE__ */ _(Or, [["render", Ir]]);
|
|
3882
|
+
let Er = 0;
|
|
3883
|
+
const jr = {
|
|
3940
3884
|
name: "UluFacetsSearch",
|
|
3941
3885
|
props: {
|
|
3942
3886
|
classes: Object,
|
|
@@ -3948,7 +3892,7 @@ const Hr = {
|
|
|
3948
3892
|
},
|
|
3949
3893
|
data() {
|
|
3950
3894
|
return {
|
|
3951
|
-
id: `facet-view-keyword-${++
|
|
3895
|
+
id: `facet-view-keyword-${++Er}`
|
|
3952
3896
|
};
|
|
3953
3897
|
},
|
|
3954
3898
|
computed: {
|
|
@@ -3965,40 +3909,40 @@ const Hr = {
|
|
|
3965
3909
|
clear() {
|
|
3966
3910
|
}
|
|
3967
3911
|
}
|
|
3968
|
-
},
|
|
3969
|
-
function
|
|
3970
|
-
return l(), d("div",
|
|
3912
|
+
}, Fr = { class: "UluFacets__keyword-search" }, Pr = ["for"], Mr = ["id", "placeholder"];
|
|
3913
|
+
function Br(e, s, t, n, i, o) {
|
|
3914
|
+
return l(), d("div", Fr, [
|
|
3971
3915
|
f("label", {
|
|
3972
3916
|
class: h(t.classes.searchLabel),
|
|
3973
3917
|
for: i.id
|
|
3974
3918
|
}, s[1] || (s[1] = [
|
|
3975
3919
|
f("strong", null, "Search", -1)
|
|
3976
|
-
]), 10,
|
|
3977
|
-
|
|
3920
|
+
]), 10, Pr),
|
|
3921
|
+
D(f("input", {
|
|
3978
3922
|
id: i.id,
|
|
3979
3923
|
class: h(t.classes.searchInput),
|
|
3980
3924
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => o.localValue = r),
|
|
3981
3925
|
type: "text",
|
|
3982
3926
|
placeholder: t.placeholder
|
|
3983
|
-
}, null, 10,
|
|
3984
|
-
[
|
|
3927
|
+
}, null, 10, Mr), [
|
|
3928
|
+
[Us, o.localValue]
|
|
3985
3929
|
])
|
|
3986
3930
|
]);
|
|
3987
3931
|
}
|
|
3988
|
-
const
|
|
3989
|
-
let
|
|
3990
|
-
const
|
|
3932
|
+
const Lr = /* @__PURE__ */ _(jr, [["render", Br]]);
|
|
3933
|
+
let ft = 0;
|
|
3934
|
+
const ht = (e) => {
|
|
3991
3935
|
const s = (t) => t.title || t.label || "";
|
|
3992
3936
|
return e.sort((t, n) => s(t).localeCompare(s(n)));
|
|
3993
|
-
},
|
|
3994
|
-
az: { text: "A-Z", sort:
|
|
3995
|
-
za: { text: "Z-A", sort: (e) =>
|
|
3996
|
-
},
|
|
3937
|
+
}, Hr = {
|
|
3938
|
+
az: { text: "A-Z", sort: ht },
|
|
3939
|
+
za: { text: "Z-A", sort: (e) => ht(e).reverse() }
|
|
3940
|
+
}, Vr = {
|
|
3997
3941
|
name: "UluFacets",
|
|
3998
3942
|
components: {
|
|
3999
|
-
UluCollapsibleRegion:
|
|
4000
|
-
UluFacetsList:
|
|
4001
|
-
UluFacetsSearch:
|
|
3943
|
+
UluCollapsibleRegion: Wn,
|
|
3944
|
+
UluFacetsList: zr,
|
|
3945
|
+
UluFacetsSearch: Lr
|
|
4002
3946
|
},
|
|
4003
3947
|
props: {
|
|
4004
3948
|
/**
|
|
@@ -4092,11 +4036,11 @@ const mt = (e) => {
|
|
|
4092
4036
|
extraSortTypes: i
|
|
4093
4037
|
} = this;
|
|
4094
4038
|
return {
|
|
4095
|
-
filterId: `ulu-facet-filters-${++
|
|
4096
|
-
sortId: `ulu-facet-sort-${++
|
|
4039
|
+
filterId: `ulu-facet-filters-${++ft}`,
|
|
4040
|
+
sortId: `ulu-facet-sort-${++ft}`,
|
|
4097
4041
|
selectedSort: n,
|
|
4098
4042
|
sortTypes: {
|
|
4099
|
-
...t ? {} :
|
|
4043
|
+
...t ? {} : Hr,
|
|
4100
4044
|
...i
|
|
4101
4045
|
},
|
|
4102
4046
|
facets: this.createFacets(),
|
|
@@ -4123,10 +4067,10 @@ const mt = (e) => {
|
|
|
4123
4067
|
},
|
|
4124
4068
|
filteredItems() {
|
|
4125
4069
|
this.resultsVisible = !1;
|
|
4126
|
-
const { getItemFacet: e, selectedFacets: s, sortTypes: t, selectedSort: n } = this, i = t[n].sort, o = this.items.filter((a) => s.length ? s.some((
|
|
4127
|
-
let
|
|
4128
|
-
const g = e(a,
|
|
4129
|
-
return g && g.length && (
|
|
4070
|
+
const { getItemFacet: e, selectedFacets: s, sortTypes: t, selectedSort: n } = this, i = t[n].sort, o = this.items.filter((a) => s.length ? s.some((c) => {
|
|
4071
|
+
let u;
|
|
4072
|
+
const g = e(a, c.uid);
|
|
4073
|
+
return g && g.length && (u = c.children.some((A) => g.includes(A.uid))), u;
|
|
4130
4074
|
}) : !0), r = i(this.search(o));
|
|
4131
4075
|
return this.$nextTick(() => {
|
|
4132
4076
|
this.resultsVisible = !0, this.filterIteration = this.filterIteration + 1;
|
|
@@ -4162,19 +4106,19 @@ const mt = (e) => {
|
|
|
4162
4106
|
*/
|
|
4163
4107
|
search(e) {
|
|
4164
4108
|
const { searchValue: s, searchOptions: t } = this;
|
|
4165
|
-
return s?.length ? new
|
|
4109
|
+
return s?.length ? new Vs(e, t).search(s).map((o) => o.item) : e;
|
|
4166
4110
|
},
|
|
4167
4111
|
toggleFilterVisibility() {
|
|
4168
4112
|
this.filtersHidden = !this.filtersHidden;
|
|
4169
4113
|
}
|
|
4170
4114
|
}
|
|
4171
|
-
},
|
|
4115
|
+
}, Dr = { class: "UluFacets" }, Nr = ["aria-controls", "aria-expanded"], Wr = ["for"], Xr = ["id"], Yr = ["value"], Kr = { class: "UluFacets__body" }, Gr = ["id"], qr = {
|
|
4172
4116
|
key: 1,
|
|
4173
4117
|
class: "UluFacets__empty"
|
|
4174
4118
|
};
|
|
4175
|
-
function
|
|
4176
|
-
const r = S("UluFacetsSearch"), a = S("UluFacetsList"),
|
|
4177
|
-
return l(), d("div",
|
|
4119
|
+
function Zr(e, s, t, n, i, o) {
|
|
4120
|
+
const r = S("UluFacetsSearch"), a = S("UluFacetsList"), c = S("UluCollapsibleRegion");
|
|
4121
|
+
return l(), d("div", Dr, [
|
|
4178
4122
|
f("div", {
|
|
4179
4123
|
class: h(["UluFacets__header", t.classes.header])
|
|
4180
4124
|
}, [
|
|
@@ -4185,7 +4129,7 @@ function nl(e, s, t, n, i, o) {
|
|
|
4185
4129
|
class: h(["UluFacets__header-actions", t.classes.headerActions])
|
|
4186
4130
|
}, [
|
|
4187
4131
|
f("button", {
|
|
4188
|
-
onClick: s[0] || (s[0] = (...
|
|
4132
|
+
onClick: s[0] || (s[0] = (...u) => o.toggleFilterVisibility && o.toggleFilterVisibility(...u)),
|
|
4189
4133
|
class: h(t.classes.buttonFilterToggle),
|
|
4190
4134
|
"aria-controls": i.filterId,
|
|
4191
4135
|
"aria-expanded": i.filtersHidden ? "false" : "true",
|
|
@@ -4194,10 +4138,10 @@ function nl(e, s, t, n, i, o) {
|
|
|
4194
4138
|
m(e.$slots, "buttonFilterToggle", { hidden: i.filtersHidden }, () => [
|
|
4195
4139
|
w(p(i.filtersHidden ? "Show" : "Hide") + " Filters ", 1)
|
|
4196
4140
|
])
|
|
4197
|
-
], 10,
|
|
4141
|
+
], 10, Nr),
|
|
4198
4142
|
o.selectedFacets.length ? (l(), d("button", {
|
|
4199
4143
|
key: 0,
|
|
4200
|
-
onClick: s[1] || (s[1] = (...
|
|
4144
|
+
onClick: s[1] || (s[1] = (...u) => o.clearFilters && o.clearFilters(...u)),
|
|
4201
4145
|
class: h(t.classes.buttonClearFilters),
|
|
4202
4146
|
type: "button"
|
|
4203
4147
|
}, [
|
|
@@ -4211,29 +4155,29 @@ function nl(e, s, t, n, i, o) {
|
|
|
4211
4155
|
f("label", {
|
|
4212
4156
|
for: i.sortId,
|
|
4213
4157
|
class: h(t.classes.sortFormLabel)
|
|
4214
|
-
}, "Sort:", 10,
|
|
4215
|
-
|
|
4216
|
-
"onUpdate:modelValue": s[2] || (s[2] = (
|
|
4158
|
+
}, "Sort:", 10, Wr),
|
|
4159
|
+
D(f("select", {
|
|
4160
|
+
"onUpdate:modelValue": s[2] || (s[2] = (u) => i.selectedSort = u),
|
|
4217
4161
|
id: i.sortId,
|
|
4218
4162
|
class: h(t.classes.sortFormSelect)
|
|
4219
4163
|
}, [
|
|
4220
|
-
(l(!0), d(T, null, C(i.sortTypes, (
|
|
4164
|
+
(l(!0), d(T, null, C(i.sortTypes, (u, g) => (l(), d("option", {
|
|
4221
4165
|
value: g,
|
|
4222
4166
|
key: g
|
|
4223
|
-
}, p(
|
|
4224
|
-
], 10,
|
|
4225
|
-
[
|
|
4167
|
+
}, p(u.text), 9, Yr))), 128))
|
|
4168
|
+
], 10, Xr), [
|
|
4169
|
+
[Is, i.selectedSort]
|
|
4226
4170
|
])
|
|
4227
4171
|
], 2)
|
|
4228
4172
|
], 2)
|
|
4229
4173
|
], 2),
|
|
4230
|
-
f("div",
|
|
4231
|
-
k(
|
|
4174
|
+
f("div", Kr, [
|
|
4175
|
+
k(nt, {
|
|
4232
4176
|
name: "UluFacetsFade",
|
|
4233
4177
|
mode: "out-in"
|
|
4234
4178
|
}, {
|
|
4235
4179
|
default: b(() => [
|
|
4236
|
-
|
|
4180
|
+
D(f("div", {
|
|
4237
4181
|
class: h(["UluFacets__filters", { "UluFacets__filters--hidden": i.filtersHidden }]),
|
|
4238
4182
|
id: i.filterId
|
|
4239
4183
|
}, [
|
|
@@ -4242,34 +4186,34 @@ function nl(e, s, t, n, i, o) {
|
|
|
4242
4186
|
initialValue: t.initialSearchValue,
|
|
4243
4187
|
placeholder: t.searchPlaceholder,
|
|
4244
4188
|
modelValue: i.searchValue,
|
|
4245
|
-
"onUpdate:modelValue": s[3] || (s[3] = (
|
|
4189
|
+
"onUpdate:modelValue": s[3] || (s[3] = (u) => i.searchValue = u)
|
|
4246
4190
|
}, null, 8, ["classes", "initialValue", "placeholder", "modelValue"]),
|
|
4247
|
-
(l(!0), d(T, null, C(i.facets, (
|
|
4191
|
+
(l(!0), d(T, null, C(i.facets, (u) => (l(), v(c, {
|
|
4248
4192
|
class: h(["UluFacets__group", t.classes.group]),
|
|
4249
4193
|
classToggle: ["UluFacets__group-toggle", t.classes.groupToggle],
|
|
4250
4194
|
classContent: ["UluFacets__group-content", t.classes.groupContent],
|
|
4251
|
-
key:
|
|
4252
|
-
group:
|
|
4253
|
-
startOpen:
|
|
4195
|
+
key: u.uid,
|
|
4196
|
+
group: u,
|
|
4197
|
+
startOpen: u.open,
|
|
4254
4198
|
clickOutsideCloses: !1,
|
|
4255
4199
|
closeOnEscape: !1,
|
|
4256
4200
|
transitionHeight: !0
|
|
4257
4201
|
}, {
|
|
4258
4202
|
toggle: b(({ isOpen: g }) => [
|
|
4259
4203
|
m(e.$slots, "groupToggle", {
|
|
4260
|
-
group:
|
|
4204
|
+
group: u,
|
|
4261
4205
|
isOpen: g
|
|
4262
4206
|
}, () => [
|
|
4263
|
-
w(p(
|
|
4207
|
+
w(p(u.name), 1)
|
|
4264
4208
|
])
|
|
4265
4209
|
]),
|
|
4266
4210
|
default: b(() => [
|
|
4267
4211
|
k(a, {
|
|
4268
|
-
children:
|
|
4269
|
-
groupUid:
|
|
4212
|
+
children: u.children.slice(0, t.maxVisible),
|
|
4213
|
+
groupUid: u.uid,
|
|
4270
4214
|
classFacet: t.classes.facet
|
|
4271
4215
|
}, null, 8, ["children", "groupUid", "classFacet"]),
|
|
4272
|
-
|
|
4216
|
+
u.children.length > t.maxVisible ? (l(), v(c, {
|
|
4273
4217
|
key: 0,
|
|
4274
4218
|
class: h(["UluFacets__more-facets", t.classes.moreFacets]),
|
|
4275
4219
|
clickOutsideCloses: !1,
|
|
@@ -4281,8 +4225,8 @@ function nl(e, s, t, n, i, o) {
|
|
|
4281
4225
|
]),
|
|
4282
4226
|
default: b(() => [
|
|
4283
4227
|
k(a, {
|
|
4284
|
-
children:
|
|
4285
|
-
groupUid:
|
|
4228
|
+
children: u.children.slice(t.maxVisible),
|
|
4229
|
+
groupUid: u.uid,
|
|
4286
4230
|
classFacet: t.classes.facet
|
|
4287
4231
|
}, null, 8, ["children", "groupUid", "classFacet"])
|
|
4288
4232
|
]),
|
|
@@ -4291,13 +4235,13 @@ function nl(e, s, t, n, i, o) {
|
|
|
4291
4235
|
]),
|
|
4292
4236
|
_: 2
|
|
4293
4237
|
}, 1032, ["class", "classToggle", "classContent", "group", "startOpen"]))), 128))
|
|
4294
|
-
], 10,
|
|
4295
|
-
[
|
|
4238
|
+
], 10, Gr), [
|
|
4239
|
+
[Ne, !i.filtersHidden]
|
|
4296
4240
|
])
|
|
4297
4241
|
]),
|
|
4298
4242
|
_: 3
|
|
4299
4243
|
}),
|
|
4300
|
-
k(
|
|
4244
|
+
k(nt, {
|
|
4301
4245
|
name: "UluFacetsFade",
|
|
4302
4246
|
mode: "out-in"
|
|
4303
4247
|
}, {
|
|
@@ -4306,16 +4250,16 @@ function nl(e, s, t, n, i, o) {
|
|
|
4306
4250
|
class: h(["UluFacets__results", t.classes.results]),
|
|
4307
4251
|
key: i.filterIteration
|
|
4308
4252
|
}, [
|
|
4309
|
-
(l(!0), d(T, null, C(o.filteredItems, (
|
|
4253
|
+
(l(!0), d(T, null, C(o.filteredItems, (u, g) => (l(), d("li", {
|
|
4310
4254
|
class: h(["UluFacets__results-item", t.classes.resultsItem]),
|
|
4311
4255
|
key: g
|
|
4312
4256
|
}, [
|
|
4313
4257
|
m(e.$slots, "item", {
|
|
4314
|
-
item:
|
|
4258
|
+
item: u,
|
|
4315
4259
|
index: g
|
|
4316
4260
|
})
|
|
4317
4261
|
], 2))), 128))
|
|
4318
|
-
], 2)) : (l(), d("div",
|
|
4262
|
+
], 2)) : (l(), d("div", qr, [
|
|
4319
4263
|
m(e.$slots, "empty", {}, () => [
|
|
4320
4264
|
s[5] || (s[5] = w(" No Results Found "))
|
|
4321
4265
|
])
|
|
@@ -4326,7 +4270,7 @@ function nl(e, s, t, n, i, o) {
|
|
|
4326
4270
|
])
|
|
4327
4271
|
]);
|
|
4328
4272
|
}
|
|
4329
|
-
const
|
|
4273
|
+
const Df = /* @__PURE__ */ _(Vr, [["render", Zr]]), Jt = Symbol(), Qt = Symbol(), Ae = Symbol(), Jr = {
|
|
4330
4274
|
name: "ScrollAnchors",
|
|
4331
4275
|
props: {
|
|
4332
4276
|
firstItemActive: Boolean,
|
|
@@ -4359,7 +4303,7 @@ const eh = /* @__PURE__ */ _(Kr, [["render", nl]]), es = Symbol(), ts = Symbol()
|
|
|
4359
4303
|
provide() {
|
|
4360
4304
|
return {
|
|
4361
4305
|
[Ae]: R(() => this.sections),
|
|
4362
|
-
[
|
|
4306
|
+
[Jt]: (e) => {
|
|
4363
4307
|
const { titleId: s, title: t } = e, { element: n } = e.$refs;
|
|
4364
4308
|
this.sections.push({
|
|
4365
4309
|
instance: e,
|
|
@@ -4369,7 +4313,7 @@ const eh = /* @__PURE__ */ _(Kr, [["render", nl]]), es = Symbol(), ts = Symbol()
|
|
|
4369
4313
|
active: !1
|
|
4370
4314
|
}), this.update();
|
|
4371
4315
|
},
|
|
4372
|
-
[
|
|
4316
|
+
[Qt]: (e) => {
|
|
4373
4317
|
const s = this.sections, t = s.findIndex((n) => n.instance === e);
|
|
4374
4318
|
t > -1 && s.splice(t, 1), this.update();
|
|
4375
4319
|
}
|
|
@@ -4389,13 +4333,13 @@ const eh = /* @__PURE__ */ _(Kr, [["render", nl]]), es = Symbol(), ts = Symbol()
|
|
|
4389
4333
|
const { observerOptions: e, sections: s, removeActive: t, firstItemActive: n } = this;
|
|
4390
4334
|
let i = 0;
|
|
4391
4335
|
const o = (r) => {
|
|
4392
|
-
r.forEach(({ target: a, isIntersecting:
|
|
4393
|
-
const
|
|
4336
|
+
r.forEach(({ target: a, isIntersecting: c }) => {
|
|
4337
|
+
const u = this.getSectionIndex(a), g = a.offsetTop, A = s[u], z = u === 0 && i > g, j = u === s.length - 1 && i < g;
|
|
4394
4338
|
A && this.$nextTick(() => {
|
|
4395
|
-
|
|
4339
|
+
c ? (t(A), A.active = !0) : (z && !n || j && A.active) && t(), this.$emit("sectionChange", {
|
|
4396
4340
|
section: A,
|
|
4397
4341
|
sections: s,
|
|
4398
|
-
active:
|
|
4342
|
+
active: c
|
|
4399
4343
|
});
|
|
4400
4344
|
});
|
|
4401
4345
|
});
|
|
@@ -4430,13 +4374,13 @@ const eh = /* @__PURE__ */ _(Kr, [["render", nl]]), es = Symbol(), ts = Symbol()
|
|
|
4430
4374
|
unmounted() {
|
|
4431
4375
|
this.destroyObserver();
|
|
4432
4376
|
}
|
|
4433
|
-
},
|
|
4434
|
-
function
|
|
4435
|
-
return l(), d("div",
|
|
4377
|
+
}, Qr = { class: "scroll-anchors" };
|
|
4378
|
+
function el(e, s, t, n, i, o) {
|
|
4379
|
+
return l(), d("div", Qr, [
|
|
4436
4380
|
m(e.$slots, "default")
|
|
4437
4381
|
]);
|
|
4438
4382
|
}
|
|
4439
|
-
const
|
|
4383
|
+
const Nf = /* @__PURE__ */ _(Jr, [["render", el]]), tl = {
|
|
4440
4384
|
name: "ScrollAnchorsNav",
|
|
4441
4385
|
inject: {
|
|
4442
4386
|
sections: { from: Ae }
|
|
@@ -4447,9 +4391,9 @@ const th = /* @__PURE__ */ _(ol, [["render", rl]]), ll = {
|
|
|
4447
4391
|
default: "nav"
|
|
4448
4392
|
}
|
|
4449
4393
|
}
|
|
4450
|
-
},
|
|
4451
|
-
function
|
|
4452
|
-
return o.sections.length ? (l(), v(
|
|
4394
|
+
}, sl = ["href"];
|
|
4395
|
+
function nl(e, s, t, n, i, o) {
|
|
4396
|
+
return o.sections.length ? (l(), v(I(t.element), {
|
|
4453
4397
|
key: 0,
|
|
4454
4398
|
class: "scroll-anchors__nav"
|
|
4455
4399
|
}, {
|
|
@@ -4462,21 +4406,21 @@ function cl(e, s, t, n, i, o) {
|
|
|
4462
4406
|
f("a", {
|
|
4463
4407
|
class: h({ "is-active": r.active }),
|
|
4464
4408
|
href: `#${r.titleId}`
|
|
4465
|
-
}, p(r.title), 11,
|
|
4409
|
+
}, p(r.title), 11, sl)
|
|
4466
4410
|
], 2))), 128))
|
|
4467
4411
|
])
|
|
4468
4412
|
]),
|
|
4469
4413
|
_: 1
|
|
4470
4414
|
})) : y("", !0);
|
|
4471
4415
|
}
|
|
4472
|
-
const
|
|
4473
|
-
function
|
|
4416
|
+
const Wf = /* @__PURE__ */ _(tl, [["render", nl]]);
|
|
4417
|
+
function es(e) {
|
|
4474
4418
|
requestAnimationFrame(() => {
|
|
4475
4419
|
const s = new MessageChannel();
|
|
4476
4420
|
s.port1.onmessage = e, s.port2.postMessage(void 0);
|
|
4477
4421
|
});
|
|
4478
4422
|
}
|
|
4479
|
-
const
|
|
4423
|
+
const ol = {
|
|
4480
4424
|
name: "ScrollAnchorsNavAnimated",
|
|
4481
4425
|
inject: {
|
|
4482
4426
|
sections: { from: Ae }
|
|
@@ -4514,7 +4458,7 @@ const ul = {
|
|
|
4514
4458
|
},
|
|
4515
4459
|
watch: {
|
|
4516
4460
|
indicatorStyles(e) {
|
|
4517
|
-
e && !this.indicatorAnimReady &&
|
|
4461
|
+
e && !this.indicatorAnimReady && es(() => {
|
|
4518
4462
|
this.indicatorAnimReady = !0;
|
|
4519
4463
|
});
|
|
4520
4464
|
}
|
|
@@ -4524,14 +4468,14 @@ const ul = {
|
|
|
4524
4468
|
this.linkRefs[e] = s;
|
|
4525
4469
|
}
|
|
4526
4470
|
}
|
|
4527
|
-
},
|
|
4528
|
-
function
|
|
4529
|
-
return o.sections.length ? (l(), v(
|
|
4471
|
+
}, il = { class: "scroll-anchors__rail" }, rl = ["href"];
|
|
4472
|
+
function ll(e, s, t, n, i, o) {
|
|
4473
|
+
return o.sections.length ? (l(), v(I(t.element), {
|
|
4530
4474
|
key: 0,
|
|
4531
4475
|
class: "scroll-anchors__nav scroll-anchors__nav--animated"
|
|
4532
4476
|
}, {
|
|
4533
4477
|
default: b(() => [
|
|
4534
|
-
f("ul",
|
|
4478
|
+
f("ul", il, [
|
|
4535
4479
|
(l(!0), d(T, null, C(o.sections, (r, a) => (l(), d("li", {
|
|
4536
4480
|
key: a,
|
|
4537
4481
|
class: h({ "is-active": r.active })
|
|
@@ -4539,9 +4483,9 @@ function hl(e, s, t, n, i, o) {
|
|
|
4539
4483
|
f("a", {
|
|
4540
4484
|
class: h({ "is-active": r.active }),
|
|
4541
4485
|
ref_for: !0,
|
|
4542
|
-
ref: (
|
|
4486
|
+
ref: (c) => o.addLinkRef(a, c),
|
|
4543
4487
|
href: `#${r.titleId}`
|
|
4544
|
-
}, p(r.title), 11,
|
|
4488
|
+
}, p(r.title), 11, rl)
|
|
4545
4489
|
], 2))), 128))
|
|
4546
4490
|
]),
|
|
4547
4491
|
f("div", {
|
|
@@ -4559,7 +4503,7 @@ function hl(e, s, t, n, i, o) {
|
|
|
4559
4503
|
_: 1
|
|
4560
4504
|
})) : y("", !0);
|
|
4561
4505
|
}
|
|
4562
|
-
const
|
|
4506
|
+
const Xf = /* @__PURE__ */ _(ol, [["render", ll]]), al = {
|
|
4563
4507
|
name: "ScrollAnchorsSection",
|
|
4564
4508
|
props: {
|
|
4565
4509
|
title: String,
|
|
@@ -4582,14 +4526,14 @@ const nh = /* @__PURE__ */ _(ul, [["render", hl]]), ml = {
|
|
|
4582
4526
|
}
|
|
4583
4527
|
},
|
|
4584
4528
|
inject: {
|
|
4585
|
-
register: { from:
|
|
4586
|
-
unregister: { from:
|
|
4529
|
+
register: { from: Jt },
|
|
4530
|
+
unregister: { from: Qt },
|
|
4587
4531
|
sections: { from: Ae, default: () => R(() => []) }
|
|
4588
4532
|
},
|
|
4589
4533
|
data() {
|
|
4590
4534
|
const { anchorId: e, title: s } = this;
|
|
4591
4535
|
return {
|
|
4592
|
-
titleId: e || `sas-title-${
|
|
4536
|
+
titleId: e || `sas-title-${zi(s)}`
|
|
4593
4537
|
};
|
|
4594
4538
|
},
|
|
4595
4539
|
computed: {
|
|
@@ -4604,12 +4548,12 @@ const nh = /* @__PURE__ */ _(ul, [["render", hl]]), ml = {
|
|
|
4604
4548
|
this.unregister && this.unregister(this);
|
|
4605
4549
|
}
|
|
4606
4550
|
};
|
|
4607
|
-
function
|
|
4551
|
+
function cl(e, s, t, n, i, o) {
|
|
4608
4552
|
return l(), d("div", {
|
|
4609
4553
|
class: h([t.wrapperClass, { [t.activeClass]: t.activeClass && o.section?.active }]),
|
|
4610
4554
|
ref: "element"
|
|
4611
4555
|
}, [
|
|
4612
|
-
(l(), v(
|
|
4556
|
+
(l(), v(I(t.titleElement), {
|
|
4613
4557
|
class: h(t.titleClass),
|
|
4614
4558
|
id: i.titleId
|
|
4615
4559
|
}, {
|
|
@@ -4621,28 +4565,28 @@ function gl(e, s, t, n, i, o) {
|
|
|
4621
4565
|
m(e.$slots, "default", { section: o.section })
|
|
4622
4566
|
], 2);
|
|
4623
4567
|
}
|
|
4624
|
-
const
|
|
4568
|
+
const Yf = /* @__PURE__ */ _(al, [["render", cl]]), ul = {
|
|
4625
4569
|
name: "ShowSkeleton",
|
|
4626
4570
|
props: {
|
|
4627
4571
|
when: Boolean
|
|
4628
4572
|
}
|
|
4629
4573
|
};
|
|
4630
|
-
function
|
|
4574
|
+
function dl(e, s, t, n, i, o) {
|
|
4631
4575
|
const r = S("SkeletonTextInline");
|
|
4632
4576
|
return t.when ? (l(), v(r, {
|
|
4633
4577
|
key: 1,
|
|
4634
4578
|
class: "skeleton"
|
|
4635
4579
|
})) : m(e.$slots, "default", { key: 0 });
|
|
4636
4580
|
}
|
|
4637
|
-
const
|
|
4638
|
-
function
|
|
4581
|
+
const Kf = /* @__PURE__ */ _(ul, [["render", dl]]);
|
|
4582
|
+
function fl(e, s) {
|
|
4639
4583
|
return [...Array(e)].map((t, n) => s(n));
|
|
4640
4584
|
}
|
|
4641
|
-
function
|
|
4585
|
+
function Gf(e, s) {
|
|
4642
4586
|
var t = e.indexOf(s);
|
|
4643
4587
|
t > -1 && e.splice(t, 1);
|
|
4644
4588
|
}
|
|
4645
|
-
const
|
|
4589
|
+
const hl = {
|
|
4646
4590
|
name: "SkeletonContent",
|
|
4647
4591
|
props: {
|
|
4648
4592
|
lines: {
|
|
@@ -4659,7 +4603,7 @@ const vl = {
|
|
|
4659
4603
|
* - Uses random number of segments and makes sure to fill the line between 70% - 100%
|
|
4660
4604
|
*/
|
|
4661
4605
|
linesWithSegments() {
|
|
4662
|
-
return
|
|
4606
|
+
return fl(this.lines, () => {
|
|
4663
4607
|
const s = fe(70, 100);
|
|
4664
4608
|
let t = 0;
|
|
4665
4609
|
const n = () => {
|
|
@@ -4675,37 +4619,37 @@ const vl = {
|
|
|
4675
4619
|
});
|
|
4676
4620
|
}
|
|
4677
4621
|
}
|
|
4678
|
-
},
|
|
4679
|
-
function
|
|
4680
|
-
return l(), d("div",
|
|
4622
|
+
}, ml = { class: "skeleton" };
|
|
4623
|
+
function gl(e, s, t, n, i, o) {
|
|
4624
|
+
return l(), d("div", ml, [
|
|
4681
4625
|
(l(!0), d(T, null, C(o.linesWithSegments, (r, a) => (l(), d("div", { key: a }, [
|
|
4682
|
-
(l(!0), d(T, null, C(r, (
|
|
4683
|
-
key:
|
|
4684
|
-
class: h(["skeleton__text skeleton__text--inline", { skeleton__alt:
|
|
4685
|
-
style: U({ width: `${
|
|
4626
|
+
(l(!0), d(T, null, C(r, (c) => (l(), d("span", {
|
|
4627
|
+
key: c,
|
|
4628
|
+
class: h(["skeleton__text skeleton__text--inline", { skeleton__alt: c.alt }]),
|
|
4629
|
+
style: U({ width: `${c.width}%` })
|
|
4686
4630
|
}, null, 6))), 128))
|
|
4687
4631
|
]))), 128))
|
|
4688
4632
|
]);
|
|
4689
4633
|
}
|
|
4690
|
-
const
|
|
4634
|
+
const qf = /* @__PURE__ */ _(hl, [["render", gl]]), _l = {
|
|
4691
4635
|
name: "SkeletonMedia"
|
|
4692
|
-
},
|
|
4693
|
-
function
|
|
4636
|
+
}, yl = { class: "skeleton__block skeleton__block--media layout-flex-center-all" };
|
|
4637
|
+
function pl(e, s, t, n, i, o) {
|
|
4694
4638
|
const r = S("FaIcon");
|
|
4695
|
-
return l(), d("div",
|
|
4639
|
+
return l(), d("div", yl, [
|
|
4696
4640
|
k(r, {
|
|
4697
4641
|
style: { "font-size": "2rem" },
|
|
4698
4642
|
icon: "image"
|
|
4699
4643
|
})
|
|
4700
4644
|
]);
|
|
4701
4645
|
}
|
|
4702
|
-
const
|
|
4646
|
+
const Zf = /* @__PURE__ */ _(_l, [["render", pl]]), vl = {
|
|
4703
4647
|
name: "SkeletonTextInline"
|
|
4704
|
-
},
|
|
4705
|
-
function
|
|
4706
|
-
return l(), d("span",
|
|
4648
|
+
}, bl = { class: "skeleton__text skeleton__text--inline" };
|
|
4649
|
+
function wl(e, s, t, n, i, o) {
|
|
4650
|
+
return l(), d("span", bl);
|
|
4707
4651
|
}
|
|
4708
|
-
const
|
|
4652
|
+
const Jf = /* @__PURE__ */ _(vl, [["render", wl]]), Sl = {
|
|
4709
4653
|
name: "SlideShow",
|
|
4710
4654
|
props: {
|
|
4711
4655
|
/**
|
|
@@ -4896,44 +4840,44 @@ const ch = /* @__PURE__ */ _(Tl, [["render", $l]]), Ol = {
|
|
|
4896
4840
|
beforeUnmount() {
|
|
4897
4841
|
this.destroyObserver();
|
|
4898
4842
|
}
|
|
4899
|
-
},
|
|
4843
|
+
}, kl = { class: "slideshow" }, Cl = {
|
|
4900
4844
|
class: "slideshow__control-context",
|
|
4901
4845
|
ref: "context"
|
|
4902
|
-
},
|
|
4846
|
+
}, Tl = {
|
|
4903
4847
|
class: "slideshow__track-crop",
|
|
4904
4848
|
ref: "crop"
|
|
4905
|
-
},
|
|
4849
|
+
}, Al = {
|
|
4906
4850
|
class: "slideshow__track",
|
|
4907
4851
|
ref: "track"
|
|
4908
|
-
},
|
|
4852
|
+
}, $l = ["tabindex"], Ol = { class: "slideshow__controls" }, xl = { class: "slideshow__controls-item slideshow__controls-item--previous" }, Rl = ["disabled"], Ul = { class: "slideshow__controls-item slideshow__controls-item--next" }, Il = ["disabled"], zl = {
|
|
4909
4853
|
key: 0,
|
|
4910
4854
|
class: "slideshow__nav",
|
|
4911
4855
|
ref: "nav"
|
|
4912
|
-
},
|
|
4913
|
-
function
|
|
4856
|
+
}, El = ["onClick"], jl = { class: "hidden-visually" };
|
|
4857
|
+
function Fl(e, s, t, n, i, o) {
|
|
4914
4858
|
const r = S("FaIcon");
|
|
4915
|
-
return l(), d("div",
|
|
4916
|
-
f("div",
|
|
4917
|
-
f("div",
|
|
4918
|
-
f("ul",
|
|
4919
|
-
(l(!0), d(T, null, C(i.slides, (a,
|
|
4859
|
+
return l(), d("div", kl, [
|
|
4860
|
+
f("div", Cl, [
|
|
4861
|
+
f("div", Tl, [
|
|
4862
|
+
f("ul", Al, [
|
|
4863
|
+
(l(!0), d(T, null, C(i.slides, (a, c) => (l(), d("li", {
|
|
4920
4864
|
class: h(["slideshow__slide", { "is-active": a.active }]),
|
|
4921
|
-
key:
|
|
4865
|
+
key: c,
|
|
4922
4866
|
tabindex: t.slideFocusable ? "0" : "-1",
|
|
4923
4867
|
ref_for: !0,
|
|
4924
|
-
ref: (
|
|
4925
|
-
a.element =
|
|
4868
|
+
ref: (u) => {
|
|
4869
|
+
a.element = u;
|
|
4926
4870
|
}
|
|
4927
4871
|
}, [
|
|
4928
4872
|
m(e.$slots, "slide", {
|
|
4929
4873
|
item: a.item,
|
|
4930
|
-
index:
|
|
4874
|
+
index: c
|
|
4931
4875
|
})
|
|
4932
|
-
], 10,
|
|
4876
|
+
], 10, $l))), 128))
|
|
4933
4877
|
], 512)
|
|
4934
4878
|
], 512),
|
|
4935
|
-
f("ul",
|
|
4936
|
-
f("li",
|
|
4879
|
+
f("ul", Ol, [
|
|
4880
|
+
f("li", xl, [
|
|
4937
4881
|
f("button", {
|
|
4938
4882
|
class: "slideshow__control-button slideshow__control-button--previous",
|
|
4939
4883
|
"aria-label": "Scroll Right",
|
|
@@ -4944,9 +4888,9 @@ function Dl(e, s, t, n, i, o) {
|
|
|
4944
4888
|
class: "slideshow__control-icon",
|
|
4945
4889
|
icon: "fas fa-chevron-left"
|
|
4946
4890
|
})
|
|
4947
|
-
], 8,
|
|
4891
|
+
], 8, Rl)
|
|
4948
4892
|
]),
|
|
4949
|
-
f("li",
|
|
4893
|
+
f("li", Ul, [
|
|
4950
4894
|
f("button", {
|
|
4951
4895
|
class: "slideshow__control-button slideshow__control-button--next",
|
|
4952
4896
|
"aria-label": "Scroll Left",
|
|
@@ -4957,39 +4901,39 @@ function Dl(e, s, t, n, i, o) {
|
|
|
4957
4901
|
class: "slideshow__control-icon",
|
|
4958
4902
|
icon: "fas fa-chevron-right"
|
|
4959
4903
|
})
|
|
4960
|
-
], 8,
|
|
4904
|
+
], 8, Il)
|
|
4961
4905
|
])
|
|
4962
4906
|
])
|
|
4963
4907
|
], 512),
|
|
4964
|
-
t.noNav ? y("", !0) : (l(), d("ul",
|
|
4965
|
-
(l(!0), d(T, null, C(i.slides, (a,
|
|
4908
|
+
t.noNav ? y("", !0) : (l(), d("ul", zl, [
|
|
4909
|
+
(l(!0), d(T, null, C(i.slides, (a, c) => (l(), d("li", {
|
|
4966
4910
|
class: h(["slideshow__nav-item", { "is-active": a.active }]),
|
|
4967
4911
|
ref_for: !0,
|
|
4968
|
-
ref: (
|
|
4969
|
-
a.navElement =
|
|
4912
|
+
ref: (u) => {
|
|
4913
|
+
a.navElement = u;
|
|
4970
4914
|
},
|
|
4971
|
-
key:
|
|
4915
|
+
key: c
|
|
4972
4916
|
}, [
|
|
4973
4917
|
f("button", {
|
|
4974
4918
|
class: h(["slideshow__nav-button", { "is-active": a.active }]),
|
|
4975
|
-
onClick: (
|
|
4919
|
+
onClick: (u) => o.to(c)
|
|
4976
4920
|
}, [
|
|
4977
4921
|
m(e.$slots, "nav", {
|
|
4978
4922
|
item: a.item,
|
|
4979
|
-
index:
|
|
4923
|
+
index: c,
|
|
4980
4924
|
active: a.active
|
|
4981
4925
|
}, () => [
|
|
4982
|
-
f("span",
|
|
4926
|
+
f("span", jl, "Item " + p(c + 1), 1)
|
|
4983
4927
|
])
|
|
4984
|
-
], 10,
|
|
4928
|
+
], 10, El)
|
|
4985
4929
|
], 2))), 128))
|
|
4986
4930
|
], 512))
|
|
4987
4931
|
]);
|
|
4988
4932
|
}
|
|
4989
|
-
const
|
|
4933
|
+
const Pl = /* @__PURE__ */ _(Sl, [["render", Fl]]), Ml = {
|
|
4990
4934
|
name: "ImageSlideShow",
|
|
4991
4935
|
components: {
|
|
4992
|
-
UluSlideShow:
|
|
4936
|
+
UluSlideShow: Pl
|
|
4993
4937
|
},
|
|
4994
4938
|
props: {
|
|
4995
4939
|
images: Array,
|
|
@@ -5010,25 +4954,25 @@ const Vl = /* @__PURE__ */ _(Ol, [["render", Dl]]), Nl = {
|
|
|
5010
4954
|
slideChange({ slide: e, nav: s }) {
|
|
5011
4955
|
const { active: t, navElement: n } = e;
|
|
5012
4956
|
if (!n) return;
|
|
5013
|
-
const { offsetWidth: i, scrollLeft: o } = s, { offsetLeft: r, offsetWidth: a } = n,
|
|
4957
|
+
const { offsetWidth: i, scrollLeft: o } = s, { offsetLeft: r, offsetWidth: a } = n, c = o + i, u = r + a;
|
|
5014
4958
|
let g = null;
|
|
5015
|
-
console.log("left/right", o,
|
|
4959
|
+
console.log("left/right", o, c), t && n && (u > c ? g = o + (u - c) : r < o && (g = r), g !== null && s.scrollTo({ left: g, top: 0, behavior: "smooth" }));
|
|
5016
4960
|
}
|
|
5017
4961
|
}
|
|
5018
|
-
},
|
|
5019
|
-
function
|
|
4962
|
+
}, Bl = ["src", "alt"], Ll = { class: "slideshow__image-actions" }, Hl = ["src", "alt"];
|
|
4963
|
+
function Vl(e, s, t, n, i, o) {
|
|
5020
4964
|
const r = S("AppButton"), a = S("UluSlideShow");
|
|
5021
4965
|
return l(), v(a, {
|
|
5022
4966
|
class: "slideshow--images",
|
|
5023
4967
|
items: t.images,
|
|
5024
4968
|
onSlideChange: o.slideChange
|
|
5025
4969
|
}, {
|
|
5026
|
-
slide: b(({ item:
|
|
4970
|
+
slide: b(({ item: c }) => [
|
|
5027
4971
|
f("img", {
|
|
5028
|
-
src:
|
|
5029
|
-
alt:
|
|
5030
|
-
}, null, 8,
|
|
5031
|
-
f("div",
|
|
4972
|
+
src: c.src,
|
|
4973
|
+
alt: c.alt
|
|
4974
|
+
}, null, 8, Bl),
|
|
4975
|
+
f("div", Ll, [
|
|
5032
4976
|
t.selectButton ? (l(), v(r, {
|
|
5033
4977
|
key: 0,
|
|
5034
4978
|
class: "type-small",
|
|
@@ -5044,16 +4988,16 @@ function Kl(e, s, t, n, i, o) {
|
|
|
5044
4988
|
})) : y("", !0)
|
|
5045
4989
|
])
|
|
5046
4990
|
]),
|
|
5047
|
-
nav: b(({ index:
|
|
4991
|
+
nav: b(({ index: c }) => [
|
|
5048
4992
|
f("img", {
|
|
5049
|
-
src: t.images[
|
|
5050
|
-
alt: `View image ${
|
|
5051
|
-
}, null, 8,
|
|
4993
|
+
src: t.images[c].src,
|
|
4994
|
+
alt: `View image ${c}`
|
|
4995
|
+
}, null, 8, Hl)
|
|
5052
4996
|
]),
|
|
5053
4997
|
_: 1
|
|
5054
4998
|
}, 8, ["items", "onSlideChange"]);
|
|
5055
4999
|
}
|
|
5056
|
-
const
|
|
5000
|
+
const Qf = /* @__PURE__ */ _(Ml, [["render", Vl]]), Dl = {
|
|
5057
5001
|
name: "SlideShowSlide",
|
|
5058
5002
|
props: {
|
|
5059
5003
|
/**
|
|
@@ -5066,14 +5010,14 @@ const uh = /* @__PURE__ */ _(Nl, [["render", Kl]]), Gl = {
|
|
|
5066
5010
|
console.log("slide mounted");
|
|
5067
5011
|
}
|
|
5068
5012
|
};
|
|
5069
|
-
function
|
|
5013
|
+
function Nl(e, s, t, n, i, o) {
|
|
5070
5014
|
return l(), d("li", {
|
|
5071
5015
|
class: h(["slideshow__slide", { "is-active": t.active }])
|
|
5072
5016
|
}, [
|
|
5073
5017
|
m(e.$slots, "default")
|
|
5074
5018
|
], 2);
|
|
5075
5019
|
}
|
|
5076
|
-
const
|
|
5020
|
+
const eh = /* @__PURE__ */ _(Dl, [["render", Nl]]), Wl = {
|
|
5077
5021
|
name: "UluTableStickyRows",
|
|
5078
5022
|
props: {
|
|
5079
5023
|
rows: Array,
|
|
@@ -5090,8 +5034,8 @@ const dh = /* @__PURE__ */ _(Gl, [["render", ql]]), Zl = {
|
|
|
5090
5034
|
default: !1
|
|
5091
5035
|
}
|
|
5092
5036
|
}
|
|
5093
|
-
},
|
|
5094
|
-
function
|
|
5037
|
+
}, Xl = ["id"], Yl = ["innerHTML"];
|
|
5038
|
+
function Kl(e, s, t, n, i, o) {
|
|
5095
5039
|
return l(!0), d(T, null, C(t.rows, (r, a) => (l(), d("tr", {
|
|
5096
5040
|
key: `br-${a}`,
|
|
5097
5041
|
id: t.optionalAttr(t.isActual && r.id),
|
|
@@ -5100,40 +5044,40 @@ function ea(e, s, t, n, i, o) {
|
|
|
5100
5044
|
height: r.height
|
|
5101
5045
|
})
|
|
5102
5046
|
}, [
|
|
5103
|
-
(l(!0), d(T, null, C(t.rowColumns, (
|
|
5104
|
-
id: t.optionalAttr(t.isActual &&
|
|
5105
|
-
scope: t.optionalAttr(t.isActual &&
|
|
5106
|
-
key: `bc-${
|
|
5107
|
-
headers: t.optionalAttr(t.isActual && t.getCellHeaders(
|
|
5108
|
-
class: h(t.resolveClasses(
|
|
5047
|
+
(l(!0), d(T, null, C(t.rowColumns, (c, u) => (l(), v(I(c.rowHeader ? "th" : "td"), {
|
|
5048
|
+
id: t.optionalAttr(t.isActual && c.rowHeader && c.getRowHeaderId(a)),
|
|
5049
|
+
scope: t.optionalAttr(t.isActual && c.rowHeader && "row"),
|
|
5050
|
+
key: `bc-${u}`,
|
|
5051
|
+
headers: t.optionalAttr(t.isActual && t.getCellHeaders(c, a)),
|
|
5052
|
+
class: h(t.resolveClasses(c.class, { column: c, index: u, isActual: t.isActual, row: r, rowIndex: a, foot: t.foot })),
|
|
5109
5053
|
style: U({
|
|
5110
5054
|
width: t.columnWidth
|
|
5111
5055
|
})
|
|
5112
5056
|
}, {
|
|
5113
5057
|
default: b(() => [
|
|
5114
|
-
e.$slots[
|
|
5058
|
+
e.$slots[c.slot] ? m(e.$slots, c.slot, {
|
|
5115
5059
|
key: 0,
|
|
5116
5060
|
row: r.data,
|
|
5117
|
-
column:
|
|
5061
|
+
column: c,
|
|
5118
5062
|
rowIndex: a,
|
|
5119
|
-
index:
|
|
5063
|
+
index: u,
|
|
5120
5064
|
foot: t.foot,
|
|
5121
5065
|
isActual: t.isActual
|
|
5122
|
-
}) :
|
|
5066
|
+
}) : c.html ? (l(), d("div", {
|
|
5123
5067
|
key: 1,
|
|
5124
|
-
innerHTML: t.value({ row: r, column:
|
|
5125
|
-
}, null, 8,
|
|
5126
|
-
w(p(t.value({ row: r, column:
|
|
5068
|
+
innerHTML: t.value({ row: r, column: c, rowIndex: a, isActual: t.isActual, foot: t.foot })
|
|
5069
|
+
}, null, 8, Yl)) : (l(), d(T, { key: 2 }, [
|
|
5070
|
+
w(p(t.value({ row: r, column: c, rowIndex: a, isActual: t.isActual, foot: t.foot })), 1)
|
|
5127
5071
|
], 64))
|
|
5128
5072
|
]),
|
|
5129
5073
|
_: 2
|
|
5130
5074
|
}, 1032, ["id", "scope", "headers", "class", "style"]))), 128))
|
|
5131
|
-
], 14,
|
|
5075
|
+
], 14, Xl))), 128);
|
|
5132
5076
|
}
|
|
5133
|
-
const
|
|
5077
|
+
const Gl = /* @__PURE__ */ _(Wl, [["render", Kl]]), ql = {
|
|
5134
5078
|
name: "UluTableStickyTable",
|
|
5135
5079
|
components: {
|
|
5136
|
-
UluTableStickyRows:
|
|
5080
|
+
UluTableStickyRows: Gl
|
|
5137
5081
|
},
|
|
5138
5082
|
props: {
|
|
5139
5083
|
resolveClasses: Function,
|
|
@@ -5213,76 +5157,76 @@ const ta = /* @__PURE__ */ _(Zl, [["render", ea]]), sa = {
|
|
|
5213
5157
|
return s.join(" ");
|
|
5214
5158
|
}
|
|
5215
5159
|
}
|
|
5216
|
-
},
|
|
5160
|
+
}, Zl = ["aria-hidden"], Jl = {
|
|
5217
5161
|
key: 0,
|
|
5218
5162
|
class: "table-sticky__caption"
|
|
5219
|
-
},
|
|
5163
|
+
}, Ql = ["id"], ea = ["id", "rowspan", "colspan", "data-child-columns", "aria-sort", "scope", "headers"], ta = ["innerHTML"], sa = {
|
|
5220
5164
|
class: "table-sticky__sort-icon",
|
|
5221
5165
|
"aria-hidden": "true"
|
|
5222
|
-
},
|
|
5223
|
-
function
|
|
5166
|
+
}, na = { class: "table-sticky__sort-icon-inner" }, oa = ["innerHTML"], ia = { key: 1 }, ra = { key: 2 };
|
|
5167
|
+
function la(e, s, t, n, i, o) {
|
|
5224
5168
|
const r = S("UluTableStickyRows");
|
|
5225
5169
|
return l(), d("table", {
|
|
5226
5170
|
class: h(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
|
|
5227
5171
|
"aria-hidden": t.isActual ? "false" : "true"
|
|
5228
5172
|
}, [
|
|
5229
|
-
t.caption ? (l(), d("caption",
|
|
5173
|
+
t.caption ? (l(), d("caption", Jl, p(t.caption), 1)) : y("", !0),
|
|
5230
5174
|
f("thead", null, [
|
|
5231
|
-
(l(!0), d(T, null, C(t.headerRows, (a,
|
|
5232
|
-
key: `hr-${
|
|
5175
|
+
(l(!0), d(T, null, C(t.headerRows, (a, c) => (l(), d("tr", {
|
|
5176
|
+
key: `hr-${c}`,
|
|
5233
5177
|
id: o.optionalAttr(t.isActual && a.id),
|
|
5234
|
-
class: h(t.resolveClasses(t.classes.rowHeader, { row: a, rowIndex:
|
|
5178
|
+
class: h(t.resolveClasses(t.classes.rowHeader, { row: a, rowIndex: c, isActual: t.isActual })),
|
|
5235
5179
|
style: U({
|
|
5236
5180
|
height: a.height
|
|
5237
5181
|
})
|
|
5238
5182
|
}, [
|
|
5239
|
-
(l(!0), d(T, null, C(a.columns, (
|
|
5183
|
+
(l(!0), d(T, null, C(a.columns, (u, g) => (l(), d("th", {
|
|
5240
5184
|
key: `hc-${g}`,
|
|
5241
|
-
id: o.optionalAttr(t.isActual &&
|
|
5242
|
-
rowspan:
|
|
5243
|
-
colspan:
|
|
5244
|
-
"data-child-columns":
|
|
5185
|
+
id: o.optionalAttr(t.isActual && u.id),
|
|
5186
|
+
rowspan: u.rowspan,
|
|
5187
|
+
colspan: u.colspan,
|
|
5188
|
+
"data-child-columns": u.columns && u.columns.length,
|
|
5245
5189
|
class: h([
|
|
5246
5190
|
{
|
|
5247
|
-
"sort-active":
|
|
5248
|
-
"sort-ascending":
|
|
5249
|
-
"sort-descending":
|
|
5191
|
+
"sort-active": u.sortApplied,
|
|
5192
|
+
"sort-ascending": u.sortApplied && u.sortAscending,
|
|
5193
|
+
"sort-descending": u.sortApplied && !u.sortAscending
|
|
5250
5194
|
},
|
|
5251
|
-
t.resolveClasses(
|
|
5195
|
+
t.resolveClasses(u.classHeader, { column: u, index: g, isActual: t.isActual })
|
|
5252
5196
|
]),
|
|
5253
5197
|
style: U({
|
|
5254
|
-
width:
|
|
5198
|
+
width: u.width
|
|
5255
5199
|
}),
|
|
5256
|
-
"aria-sort":
|
|
5257
|
-
scope: o.optionalAttr(t.isActual && (
|
|
5258
|
-
headers: o.optionalAttr(t.isActual && o.getHeaderHeaders(
|
|
5200
|
+
"aria-sort": u.sort ? u.sortAscending ? "ascending" : "descending" : null,
|
|
5201
|
+
scope: o.optionalAttr(t.isActual && (u.colspan > 1 ? "colgroup" : "col")),
|
|
5202
|
+
headers: o.optionalAttr(t.isActual && o.getHeaderHeaders(u, c)),
|
|
5259
5203
|
ref_for: !0,
|
|
5260
|
-
ref: (A) => o.addHeaderRef(
|
|
5204
|
+
ref: (A) => o.addHeaderRef(u, A)
|
|
5261
5205
|
}, [
|
|
5262
|
-
|
|
5206
|
+
u.sortable ? (l(), v(I(t.isActual ? "button" : "div"), {
|
|
5263
5207
|
key: 0,
|
|
5264
5208
|
class: h(["table-sticky__sort-button", {
|
|
5265
|
-
"table-sticky__sort-button--focused":
|
|
5209
|
+
"table-sticky__sort-button--focused": u.sortFocused
|
|
5266
5210
|
}]),
|
|
5267
|
-
onClick: (A) => e.$emit("columnSorted",
|
|
5268
|
-
onFocus: (A) => o.handleSortFocus(
|
|
5269
|
-
onBlur: (A) => o.handleSortFocus(
|
|
5270
|
-
"aria-pressed":
|
|
5211
|
+
onClick: (A) => e.$emit("columnSorted", u),
|
|
5212
|
+
onFocus: (A) => o.handleSortFocus(u, !0),
|
|
5213
|
+
onBlur: (A) => o.handleSortFocus(u, !1),
|
|
5214
|
+
"aria-pressed": u.sortApplied ? "true" : "false"
|
|
5271
5215
|
}, {
|
|
5272
5216
|
default: b(() => [
|
|
5273
|
-
e.$slots[
|
|
5217
|
+
e.$slots[u.slotHeader] ? m(e.$slots, u.slotHeader, {
|
|
5274
5218
|
key: 0,
|
|
5275
5219
|
isActual: t.isActual,
|
|
5276
|
-
column:
|
|
5220
|
+
column: u,
|
|
5277
5221
|
index: g
|
|
5278
|
-
}) :
|
|
5222
|
+
}) : u.htmlTitle ? (l(), d("div", {
|
|
5279
5223
|
key: 1,
|
|
5280
|
-
innerHTML: t.getColumnTitle({ column:
|
|
5281
|
-
}, null, 8,
|
|
5282
|
-
w(p(t.getColumnTitle({ column:
|
|
5224
|
+
innerHTML: t.getColumnTitle({ column: u, index: g, isActual: t.isActual })
|
|
5225
|
+
}, null, 8, ta)) : (l(), d(T, { key: 2 }, [
|
|
5226
|
+
w(p(t.getColumnTitle({ column: u, index: g, isActual: t.isActual })), 1)
|
|
5283
5227
|
], 64)),
|
|
5284
|
-
f("span",
|
|
5285
|
-
f("span",
|
|
5228
|
+
f("span", sa, [
|
|
5229
|
+
f("span", na, [
|
|
5286
5230
|
m(e.$slots, "sortIcon", {}, () => [
|
|
5287
5231
|
s[0] || (s[0] = w("▼"))
|
|
5288
5232
|
])
|
|
@@ -5291,22 +5235,22 @@ function ha(e, s, t, n, i, o) {
|
|
|
5291
5235
|
]),
|
|
5292
5236
|
_: 2
|
|
5293
5237
|
}, 1064, ["class", "onClick", "onFocus", "onBlur", "aria-pressed"])) : (l(), d(T, { key: 1 }, [
|
|
5294
|
-
e.$slots[
|
|
5238
|
+
e.$slots[u.slotHeader] ? m(e.$slots, u.slotHeader, {
|
|
5295
5239
|
key: 0,
|
|
5296
5240
|
isActual: t.isActual,
|
|
5297
|
-
column:
|
|
5241
|
+
column: u,
|
|
5298
5242
|
index: g
|
|
5299
|
-
}) :
|
|
5243
|
+
}) : u.htmlTitle ? (l(), d("div", {
|
|
5300
5244
|
key: 1,
|
|
5301
|
-
innerHTML: t.getColumnTitle({ column:
|
|
5302
|
-
}, null, 8,
|
|
5303
|
-
w(p(t.getColumnTitle({ column:
|
|
5245
|
+
innerHTML: t.getColumnTitle({ column: u, index: g, isActual: t.isActual })
|
|
5246
|
+
}, null, 8, oa)) : (l(), d(T, { key: 2 }, [
|
|
5247
|
+
w(p(t.getColumnTitle({ column: u, index: g, isActual: t.isActual })), 1)
|
|
5304
5248
|
], 64))
|
|
5305
5249
|
], 64))
|
|
5306
|
-
], 14,
|
|
5307
|
-
], 14,
|
|
5250
|
+
], 14, ea))), 128))
|
|
5251
|
+
], 14, Ql))), 128))
|
|
5308
5252
|
]),
|
|
5309
|
-
t.rows ? (l(), d("tbody",
|
|
5253
|
+
t.rows ? (l(), d("tbody", ia, [
|
|
5310
5254
|
k(r, {
|
|
5311
5255
|
rows: t.rows,
|
|
5312
5256
|
rowColumns: t.rowColumns,
|
|
@@ -5317,16 +5261,16 @@ function ha(e, s, t, n, i, o) {
|
|
|
5317
5261
|
columnWidth: t.columnWidth,
|
|
5318
5262
|
classes: t.classes,
|
|
5319
5263
|
value: o.value
|
|
5320
|
-
},
|
|
5321
|
-
C(e.$slots, (a,
|
|
5322
|
-
name:
|
|
5323
|
-
fn: b((
|
|
5324
|
-
m(e.$slots,
|
|
5264
|
+
}, se({ _: 2 }, [
|
|
5265
|
+
C(e.$slots, (a, c) => ({
|
|
5266
|
+
name: c,
|
|
5267
|
+
fn: b((u) => [
|
|
5268
|
+
m(e.$slots, c, M(L(u)))
|
|
5325
5269
|
])
|
|
5326
5270
|
}))
|
|
5327
5271
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
5328
5272
|
])) : y("", !0),
|
|
5329
|
-
t.footerRows ? (l(), d("tfoot",
|
|
5273
|
+
t.footerRows ? (l(), d("tfoot", ra, [
|
|
5330
5274
|
k(r, {
|
|
5331
5275
|
rows: t.footerRows,
|
|
5332
5276
|
rowColumns: t.rowColumns,
|
|
@@ -5338,116 +5282,116 @@ function ha(e, s, t, n, i, o) {
|
|
|
5338
5282
|
classes: t.classes,
|
|
5339
5283
|
value: o.value,
|
|
5340
5284
|
foot: ""
|
|
5341
|
-
},
|
|
5342
|
-
C(e.$slots, (a,
|
|
5343
|
-
name:
|
|
5344
|
-
fn: b((
|
|
5345
|
-
m(e.$slots,
|
|
5285
|
+
}, se({ _: 2 }, [
|
|
5286
|
+
C(e.$slots, (a, c) => ({
|
|
5287
|
+
name: c,
|
|
5288
|
+
fn: b((u) => [
|
|
5289
|
+
m(e.$slots, c, M(L(u)))
|
|
5346
5290
|
])
|
|
5347
5291
|
}))
|
|
5348
5292
|
]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
|
|
5349
5293
|
])) : y("", !0)
|
|
5350
|
-
], 10,
|
|
5294
|
+
], 10, Zl);
|
|
5351
5295
|
}
|
|
5352
|
-
const
|
|
5353
|
-
function
|
|
5296
|
+
const aa = /* @__PURE__ */ _(ql, [["render", la]]);
|
|
5297
|
+
function ca() {
|
|
5354
5298
|
this.__data__ = [], this.size = 0;
|
|
5355
5299
|
}
|
|
5356
|
-
function
|
|
5300
|
+
function ts(e, s) {
|
|
5357
5301
|
return e === s || e !== e && s !== s;
|
|
5358
5302
|
}
|
|
5359
5303
|
function $e(e, s) {
|
|
5360
5304
|
for (var t = e.length; t--; )
|
|
5361
|
-
if (
|
|
5305
|
+
if (ts(e[t][0], s))
|
|
5362
5306
|
return t;
|
|
5363
5307
|
return -1;
|
|
5364
5308
|
}
|
|
5365
|
-
var
|
|
5366
|
-
function
|
|
5309
|
+
var ua = Array.prototype, da = ua.splice;
|
|
5310
|
+
function fa(e) {
|
|
5367
5311
|
var s = this.__data__, t = $e(s, e);
|
|
5368
5312
|
if (t < 0)
|
|
5369
5313
|
return !1;
|
|
5370
5314
|
var n = s.length - 1;
|
|
5371
|
-
return t == n ? s.pop() :
|
|
5315
|
+
return t == n ? s.pop() : da.call(s, t, 1), --this.size, !0;
|
|
5372
5316
|
}
|
|
5373
|
-
function
|
|
5317
|
+
function ha(e) {
|
|
5374
5318
|
var s = this.__data__, t = $e(s, e);
|
|
5375
5319
|
return t < 0 ? void 0 : s[t][1];
|
|
5376
5320
|
}
|
|
5377
|
-
function
|
|
5321
|
+
function ma(e) {
|
|
5378
5322
|
return $e(this.__data__, e) > -1;
|
|
5379
5323
|
}
|
|
5380
|
-
function
|
|
5324
|
+
function ga(e, s) {
|
|
5381
5325
|
var t = this.__data__, n = $e(t, e);
|
|
5382
5326
|
return n < 0 ? (++this.size, t.push([e, s])) : t[n][1] = s, this;
|
|
5383
5327
|
}
|
|
5384
|
-
function
|
|
5328
|
+
function N(e) {
|
|
5385
5329
|
var s = -1, t = e == null ? 0 : e.length;
|
|
5386
5330
|
for (this.clear(); ++s < t; ) {
|
|
5387
5331
|
var n = e[s];
|
|
5388
5332
|
this.set(n[0], n[1]);
|
|
5389
5333
|
}
|
|
5390
5334
|
}
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
function
|
|
5397
|
-
this.__data__ = new
|
|
5335
|
+
N.prototype.clear = ca;
|
|
5336
|
+
N.prototype.delete = fa;
|
|
5337
|
+
N.prototype.get = ha;
|
|
5338
|
+
N.prototype.has = ma;
|
|
5339
|
+
N.prototype.set = ga;
|
|
5340
|
+
function _a() {
|
|
5341
|
+
this.__data__ = new N(), this.size = 0;
|
|
5398
5342
|
}
|
|
5399
|
-
function
|
|
5343
|
+
function ya(e) {
|
|
5400
5344
|
var s = this.__data__, t = s.delete(e);
|
|
5401
5345
|
return this.size = s.size, t;
|
|
5402
5346
|
}
|
|
5403
|
-
function
|
|
5347
|
+
function pa(e) {
|
|
5404
5348
|
return this.__data__.get(e);
|
|
5405
5349
|
}
|
|
5406
|
-
function
|
|
5350
|
+
function va(e) {
|
|
5407
5351
|
return this.__data__.has(e);
|
|
5408
5352
|
}
|
|
5409
|
-
var
|
|
5410
|
-
function
|
|
5411
|
-
var s =
|
|
5353
|
+
var ss = typeof global == "object" && global && global.Object === Object && global, ba = typeof self == "object" && self && self.Object === Object && self, H = ss || ba || Function("return this")(), oe = H.Symbol, ns = Object.prototype, wa = ns.hasOwnProperty, Sa = ns.toString, ae = oe ? oe.toStringTag : void 0;
|
|
5354
|
+
function ka(e) {
|
|
5355
|
+
var s = wa.call(e, ae), t = e[ae];
|
|
5412
5356
|
try {
|
|
5413
5357
|
e[ae] = void 0;
|
|
5414
5358
|
var n = !0;
|
|
5415
5359
|
} catch {
|
|
5416
5360
|
}
|
|
5417
|
-
var i =
|
|
5361
|
+
var i = Sa.call(e);
|
|
5418
5362
|
return n && (s ? e[ae] = t : delete e[ae]), i;
|
|
5419
5363
|
}
|
|
5420
|
-
var
|
|
5421
|
-
function
|
|
5422
|
-
return
|
|
5364
|
+
var Ca = Object.prototype, Ta = Ca.toString;
|
|
5365
|
+
function Aa(e) {
|
|
5366
|
+
return Ta.call(e);
|
|
5423
5367
|
}
|
|
5424
|
-
var
|
|
5368
|
+
var $a = "[object Null]", Oa = "[object Undefined]", mt = oe ? oe.toStringTag : void 0;
|
|
5425
5369
|
function _e(e) {
|
|
5426
|
-
return e == null ? e === void 0 ?
|
|
5370
|
+
return e == null ? e === void 0 ? Oa : $a : mt && mt in Object(e) ? ka(e) : Aa(e);
|
|
5427
5371
|
}
|
|
5428
5372
|
function Oe(e) {
|
|
5429
5373
|
var s = typeof e;
|
|
5430
5374
|
return e != null && (s == "object" || s == "function");
|
|
5431
5375
|
}
|
|
5432
|
-
var
|
|
5433
|
-
function
|
|
5376
|
+
var xa = "[object AsyncFunction]", Ra = "[object Function]", Ua = "[object GeneratorFunction]", Ia = "[object Proxy]";
|
|
5377
|
+
function os(e) {
|
|
5434
5378
|
if (!Oe(e))
|
|
5435
5379
|
return !1;
|
|
5436
5380
|
var s = _e(e);
|
|
5437
|
-
return s ==
|
|
5381
|
+
return s == Ra || s == Ua || s == xa || s == Ia;
|
|
5438
5382
|
}
|
|
5439
|
-
var
|
|
5440
|
-
var e = /[^.]+$/.exec(
|
|
5383
|
+
var ze = H["__core-js_shared__"], gt = function() {
|
|
5384
|
+
var e = /[^.]+$/.exec(ze && ze.keys && ze.keys.IE_PROTO || "");
|
|
5441
5385
|
return e ? "Symbol(src)_1." + e : "";
|
|
5442
5386
|
}();
|
|
5443
|
-
function
|
|
5444
|
-
return !!
|
|
5387
|
+
function za(e) {
|
|
5388
|
+
return !!gt && gt in e;
|
|
5445
5389
|
}
|
|
5446
|
-
var
|
|
5390
|
+
var Ea = Function.prototype, ja = Ea.toString;
|
|
5447
5391
|
function q(e) {
|
|
5448
5392
|
if (e != null) {
|
|
5449
5393
|
try {
|
|
5450
|
-
return
|
|
5394
|
+
return ja.call(e);
|
|
5451
5395
|
} catch {
|
|
5452
5396
|
}
|
|
5453
5397
|
try {
|
|
@@ -5457,48 +5401,48 @@ function q(e) {
|
|
|
5457
5401
|
}
|
|
5458
5402
|
return "";
|
|
5459
5403
|
}
|
|
5460
|
-
var
|
|
5461
|
-
"^" +
|
|
5404
|
+
var Fa = /[\\^$.*+?()[\]{}|]/g, Pa = /^\[object .+?Constructor\]$/, Ma = Function.prototype, Ba = Object.prototype, La = Ma.toString, Ha = Ba.hasOwnProperty, Va = RegExp(
|
|
5405
|
+
"^" + La.call(Ha).replace(Fa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
5462
5406
|
);
|
|
5463
|
-
function
|
|
5464
|
-
if (!Oe(e) ||
|
|
5407
|
+
function Da(e) {
|
|
5408
|
+
if (!Oe(e) || za(e))
|
|
5465
5409
|
return !1;
|
|
5466
|
-
var s =
|
|
5410
|
+
var s = os(e) ? Va : Pa;
|
|
5467
5411
|
return s.test(q(e));
|
|
5468
5412
|
}
|
|
5469
|
-
function
|
|
5413
|
+
function Na(e, s) {
|
|
5470
5414
|
return e?.[s];
|
|
5471
5415
|
}
|
|
5472
5416
|
function Z(e, s) {
|
|
5473
|
-
var t =
|
|
5474
|
-
return
|
|
5417
|
+
var t = Na(e, s);
|
|
5418
|
+
return Da(t) ? t : void 0;
|
|
5475
5419
|
}
|
|
5476
5420
|
var me = Z(H, "Map"), ge = Z(Object, "create");
|
|
5477
|
-
function
|
|
5421
|
+
function Wa() {
|
|
5478
5422
|
this.__data__ = ge ? ge(null) : {}, this.size = 0;
|
|
5479
5423
|
}
|
|
5480
|
-
function
|
|
5424
|
+
function Xa(e) {
|
|
5481
5425
|
var s = this.has(e) && delete this.__data__[e];
|
|
5482
5426
|
return this.size -= s ? 1 : 0, s;
|
|
5483
5427
|
}
|
|
5484
|
-
var
|
|
5485
|
-
function
|
|
5428
|
+
var Ya = "__lodash_hash_undefined__", Ka = Object.prototype, Ga = Ka.hasOwnProperty;
|
|
5429
|
+
function qa(e) {
|
|
5486
5430
|
var s = this.__data__;
|
|
5487
5431
|
if (ge) {
|
|
5488
5432
|
var t = s[e];
|
|
5489
|
-
return t ===
|
|
5433
|
+
return t === Ya ? void 0 : t;
|
|
5490
5434
|
}
|
|
5491
|
-
return
|
|
5435
|
+
return Ga.call(s, e) ? s[e] : void 0;
|
|
5492
5436
|
}
|
|
5493
|
-
var
|
|
5494
|
-
function
|
|
5437
|
+
var Za = Object.prototype, Ja = Za.hasOwnProperty;
|
|
5438
|
+
function Qa(e) {
|
|
5495
5439
|
var s = this.__data__;
|
|
5496
|
-
return ge ? s[e] !== void 0 :
|
|
5440
|
+
return ge ? s[e] !== void 0 : Ja.call(s, e);
|
|
5497
5441
|
}
|
|
5498
|
-
var
|
|
5499
|
-
function
|
|
5442
|
+
var ec = "__lodash_hash_undefined__";
|
|
5443
|
+
function tc(e, s) {
|
|
5500
5444
|
var t = this.__data__;
|
|
5501
|
-
return this.size += this.has(e) ? 0 : 1, t[e] = ge && s === void 0 ?
|
|
5445
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = ge && s === void 0 ? ec : s, this;
|
|
5502
5446
|
}
|
|
5503
5447
|
function K(e) {
|
|
5504
5448
|
var s = -1, t = e == null ? 0 : e.length;
|
|
@@ -5507,37 +5451,37 @@ function K(e) {
|
|
|
5507
5451
|
this.set(n[0], n[1]);
|
|
5508
5452
|
}
|
|
5509
5453
|
}
|
|
5510
|
-
K.prototype.clear =
|
|
5511
|
-
K.prototype.delete =
|
|
5512
|
-
K.prototype.get =
|
|
5513
|
-
K.prototype.has =
|
|
5514
|
-
K.prototype.set =
|
|
5515
|
-
function
|
|
5454
|
+
K.prototype.clear = Wa;
|
|
5455
|
+
K.prototype.delete = Xa;
|
|
5456
|
+
K.prototype.get = qa;
|
|
5457
|
+
K.prototype.has = Qa;
|
|
5458
|
+
K.prototype.set = tc;
|
|
5459
|
+
function sc() {
|
|
5516
5460
|
this.size = 0, this.__data__ = {
|
|
5517
5461
|
hash: new K(),
|
|
5518
|
-
map: new (me ||
|
|
5462
|
+
map: new (me || N)(),
|
|
5519
5463
|
string: new K()
|
|
5520
5464
|
};
|
|
5521
5465
|
}
|
|
5522
|
-
function
|
|
5466
|
+
function nc(e) {
|
|
5523
5467
|
var s = typeof e;
|
|
5524
5468
|
return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? e !== "__proto__" : e === null;
|
|
5525
5469
|
}
|
|
5526
5470
|
function xe(e, s) {
|
|
5527
5471
|
var t = e.__data__;
|
|
5528
|
-
return
|
|
5472
|
+
return nc(s) ? t[typeof s == "string" ? "string" : "hash"] : t.map;
|
|
5529
5473
|
}
|
|
5530
|
-
function
|
|
5474
|
+
function oc(e) {
|
|
5531
5475
|
var s = xe(this, e).delete(e);
|
|
5532
5476
|
return this.size -= s ? 1 : 0, s;
|
|
5533
5477
|
}
|
|
5534
|
-
function
|
|
5478
|
+
function ic(e) {
|
|
5535
5479
|
return xe(this, e).get(e);
|
|
5536
5480
|
}
|
|
5537
|
-
function
|
|
5481
|
+
function rc(e) {
|
|
5538
5482
|
return xe(this, e).has(e);
|
|
5539
5483
|
}
|
|
5540
|
-
function
|
|
5484
|
+
function lc(e, s) {
|
|
5541
5485
|
var t = xe(this, e), n = t.size;
|
|
5542
5486
|
return t.set(e, s), this.size += t.size == n ? 0 : 1, this;
|
|
5543
5487
|
}
|
|
@@ -5548,57 +5492,57 @@ function re(e) {
|
|
|
5548
5492
|
this.set(n[0], n[1]);
|
|
5549
5493
|
}
|
|
5550
5494
|
}
|
|
5551
|
-
re.prototype.clear =
|
|
5552
|
-
re.prototype.delete =
|
|
5553
|
-
re.prototype.get =
|
|
5554
|
-
re.prototype.has =
|
|
5555
|
-
re.prototype.set =
|
|
5556
|
-
var
|
|
5557
|
-
function
|
|
5495
|
+
re.prototype.clear = sc;
|
|
5496
|
+
re.prototype.delete = oc;
|
|
5497
|
+
re.prototype.get = ic;
|
|
5498
|
+
re.prototype.has = rc;
|
|
5499
|
+
re.prototype.set = lc;
|
|
5500
|
+
var ac = 200;
|
|
5501
|
+
function cc(e, s) {
|
|
5558
5502
|
var t = this.__data__;
|
|
5559
|
-
if (t instanceof
|
|
5503
|
+
if (t instanceof N) {
|
|
5560
5504
|
var n = t.__data__;
|
|
5561
|
-
if (!me || n.length <
|
|
5505
|
+
if (!me || n.length < ac - 1)
|
|
5562
5506
|
return n.push([e, s]), this.size = ++t.size, this;
|
|
5563
5507
|
t = this.__data__ = new re(n);
|
|
5564
5508
|
}
|
|
5565
5509
|
return t.set(e, s), this.size = t.size, this;
|
|
5566
5510
|
}
|
|
5567
5511
|
function le(e) {
|
|
5568
|
-
var s = this.__data__ = new
|
|
5512
|
+
var s = this.__data__ = new N(e);
|
|
5569
5513
|
this.size = s.size;
|
|
5570
5514
|
}
|
|
5571
|
-
le.prototype.clear =
|
|
5572
|
-
le.prototype.delete =
|
|
5573
|
-
le.prototype.get =
|
|
5574
|
-
le.prototype.has =
|
|
5575
|
-
le.prototype.set =
|
|
5576
|
-
function
|
|
5515
|
+
le.prototype.clear = _a;
|
|
5516
|
+
le.prototype.delete = ya;
|
|
5517
|
+
le.prototype.get = pa;
|
|
5518
|
+
le.prototype.has = va;
|
|
5519
|
+
le.prototype.set = cc;
|
|
5520
|
+
function uc(e, s) {
|
|
5577
5521
|
for (var t = -1, n = e == null ? 0 : e.length; ++t < n && s(e[t], t, e) !== !1; )
|
|
5578
5522
|
;
|
|
5579
5523
|
return e;
|
|
5580
5524
|
}
|
|
5581
|
-
var
|
|
5525
|
+
var _t = function() {
|
|
5582
5526
|
try {
|
|
5583
5527
|
var e = Z(Object, "defineProperty");
|
|
5584
5528
|
return e({}, "", {}), e;
|
|
5585
5529
|
} catch {
|
|
5586
5530
|
}
|
|
5587
5531
|
}();
|
|
5588
|
-
function
|
|
5589
|
-
s == "__proto__" &&
|
|
5532
|
+
function dc(e, s, t) {
|
|
5533
|
+
s == "__proto__" && _t ? _t(e, s, {
|
|
5590
5534
|
configurable: !0,
|
|
5591
5535
|
enumerable: !0,
|
|
5592
5536
|
value: t,
|
|
5593
5537
|
writable: !0
|
|
5594
5538
|
}) : e[s] = t;
|
|
5595
5539
|
}
|
|
5596
|
-
var
|
|
5597
|
-
function
|
|
5540
|
+
var fc = Object.prototype, hc = fc.hasOwnProperty;
|
|
5541
|
+
function mc(e, s, t) {
|
|
5598
5542
|
var n = e[s];
|
|
5599
|
-
(!(
|
|
5543
|
+
(!(hc.call(e, s) && ts(n, t)) || t === void 0 && !(s in e)) && dc(e, s, t);
|
|
5600
5544
|
}
|
|
5601
|
-
function
|
|
5545
|
+
function gc(e, s) {
|
|
5602
5546
|
for (var t = -1, n = Array(e); ++t < e; )
|
|
5603
5547
|
n[t] = s(t);
|
|
5604
5548
|
return n;
|
|
@@ -5606,264 +5550,264 @@ function wc(e, s) {
|
|
|
5606
5550
|
function ye(e) {
|
|
5607
5551
|
return e != null && typeof e == "object";
|
|
5608
5552
|
}
|
|
5609
|
-
var
|
|
5610
|
-
function
|
|
5611
|
-
return ye(e) && _e(e) ==
|
|
5553
|
+
var _c = "[object Arguments]";
|
|
5554
|
+
function yt(e) {
|
|
5555
|
+
return ye(e) && _e(e) == _c;
|
|
5612
5556
|
}
|
|
5613
|
-
var
|
|
5557
|
+
var is = Object.prototype, yc = is.hasOwnProperty, pc = is.propertyIsEnumerable, vc = yt(/* @__PURE__ */ function() {
|
|
5614
5558
|
return arguments;
|
|
5615
|
-
}()) ?
|
|
5616
|
-
return ye(e) &&
|
|
5617
|
-
},
|
|
5618
|
-
function
|
|
5559
|
+
}()) ? yt : function(e) {
|
|
5560
|
+
return ye(e) && yc.call(e, "callee") && !pc.call(e, "callee");
|
|
5561
|
+
}, Je = Array.isArray;
|
|
5562
|
+
function bc() {
|
|
5619
5563
|
return !1;
|
|
5620
5564
|
}
|
|
5621
|
-
var
|
|
5622
|
-
function
|
|
5565
|
+
var rs = typeof exports == "object" && exports && !exports.nodeType && exports, pt = rs && typeof module == "object" && module && !module.nodeType && module, wc = pt && pt.exports === rs, vt = wc ? H.Buffer : void 0, Sc = vt ? vt.isBuffer : void 0, ls = Sc || bc, kc = 9007199254740991, Cc = /^(?:0|[1-9]\d*)$/;
|
|
5566
|
+
function Tc(e, s) {
|
|
5623
5567
|
var t = typeof e;
|
|
5624
|
-
return s = s ??
|
|
5568
|
+
return s = s ?? kc, !!s && (t == "number" || t != "symbol" && Cc.test(e)) && e > -1 && e % 1 == 0 && e < s;
|
|
5625
5569
|
}
|
|
5626
|
-
var
|
|
5627
|
-
function
|
|
5628
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
5570
|
+
var Ac = 9007199254740991;
|
|
5571
|
+
function as(e) {
|
|
5572
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ac;
|
|
5629
5573
|
}
|
|
5630
|
-
var
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
function
|
|
5634
|
-
return ye(e) &&
|
|
5574
|
+
var $c = "[object Arguments]", Oc = "[object Array]", xc = "[object Boolean]", Rc = "[object Date]", Uc = "[object Error]", Ic = "[object Function]", zc = "[object Map]", Ec = "[object Number]", jc = "[object Object]", Fc = "[object RegExp]", Pc = "[object Set]", Mc = "[object String]", Bc = "[object WeakMap]", Lc = "[object ArrayBuffer]", Hc = "[object DataView]", Vc = "[object Float32Array]", Dc = "[object Float64Array]", Nc = "[object Int8Array]", Wc = "[object Int16Array]", Xc = "[object Int32Array]", Yc = "[object Uint8Array]", Kc = "[object Uint8ClampedArray]", Gc = "[object Uint16Array]", qc = "[object Uint32Array]", O = {};
|
|
5575
|
+
O[Vc] = O[Dc] = O[Nc] = O[Wc] = O[Xc] = O[Yc] = O[Kc] = O[Gc] = O[qc] = !0;
|
|
5576
|
+
O[$c] = O[Oc] = O[Lc] = O[xc] = O[Hc] = O[Rc] = O[Uc] = O[Ic] = O[zc] = O[Ec] = O[jc] = O[Fc] = O[Pc] = O[Mc] = O[Bc] = !1;
|
|
5577
|
+
function Zc(e) {
|
|
5578
|
+
return ye(e) && as(e.length) && !!O[_e(e)];
|
|
5635
5579
|
}
|
|
5636
|
-
function
|
|
5580
|
+
function Qe(e) {
|
|
5637
5581
|
return function(s) {
|
|
5638
5582
|
return e(s);
|
|
5639
5583
|
};
|
|
5640
5584
|
}
|
|
5641
|
-
var
|
|
5585
|
+
var cs = typeof exports == "object" && exports && !exports.nodeType && exports, he = cs && typeof module == "object" && module && !module.nodeType && module, Jc = he && he.exports === cs, Ee = Jc && ss.process, ie = function() {
|
|
5642
5586
|
try {
|
|
5643
5587
|
var e = he && he.require && he.require("util").types;
|
|
5644
|
-
return e ||
|
|
5588
|
+
return e || Ee && Ee.binding && Ee.binding("util");
|
|
5645
5589
|
} catch {
|
|
5646
5590
|
}
|
|
5647
|
-
}(),
|
|
5648
|
-
function
|
|
5649
|
-
var t =
|
|
5650
|
-
for (var
|
|
5651
|
-
|
|
5652
|
-
(
|
|
5653
|
-
i && (
|
|
5654
|
-
o && (
|
|
5655
|
-
|
|
5591
|
+
}(), bt = ie && ie.isTypedArray, Qc = bt ? Qe(bt) : Zc, eu = Object.prototype, tu = eu.hasOwnProperty;
|
|
5592
|
+
function su(e, s) {
|
|
5593
|
+
var t = Je(e), n = !t && vc(e), i = !t && !n && ls(e), o = !t && !n && !i && Qc(e), r = t || n || i || o, a = r ? gc(e.length, String) : [], c = a.length;
|
|
5594
|
+
for (var u in e)
|
|
5595
|
+
tu.call(e, u) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
5596
|
+
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
5597
|
+
i && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
5598
|
+
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
5599
|
+
Tc(u, c))) && a.push(u);
|
|
5656
5600
|
return a;
|
|
5657
5601
|
}
|
|
5658
|
-
var
|
|
5659
|
-
function
|
|
5660
|
-
var s = e && e.constructor, t = typeof s == "function" && s.prototype ||
|
|
5602
|
+
var nu = Object.prototype;
|
|
5603
|
+
function us(e) {
|
|
5604
|
+
var s = e && e.constructor, t = typeof s == "function" && s.prototype || nu;
|
|
5661
5605
|
return e === t;
|
|
5662
5606
|
}
|
|
5663
|
-
function
|
|
5607
|
+
function ds(e, s) {
|
|
5664
5608
|
return function(t) {
|
|
5665
5609
|
return e(s(t));
|
|
5666
5610
|
};
|
|
5667
5611
|
}
|
|
5668
|
-
var
|
|
5669
|
-
function
|
|
5670
|
-
if (!
|
|
5671
|
-
return
|
|
5612
|
+
var ou = ds(Object.keys, Object), iu = Object.prototype, ru = iu.hasOwnProperty;
|
|
5613
|
+
function lu(e) {
|
|
5614
|
+
if (!us(e))
|
|
5615
|
+
return ou(e);
|
|
5672
5616
|
var s = [];
|
|
5673
5617
|
for (var t in Object(e))
|
|
5674
|
-
|
|
5618
|
+
ru.call(e, t) && t != "constructor" && s.push(t);
|
|
5675
5619
|
return s;
|
|
5676
5620
|
}
|
|
5677
|
-
function
|
|
5678
|
-
return e != null &&
|
|
5621
|
+
function au(e) {
|
|
5622
|
+
return e != null && as(e.length) && !os(e);
|
|
5679
5623
|
}
|
|
5680
|
-
function
|
|
5681
|
-
return
|
|
5624
|
+
function cu(e) {
|
|
5625
|
+
return au(e) ? su(e) : lu(e);
|
|
5682
5626
|
}
|
|
5683
|
-
var
|
|
5684
|
-
|
|
5685
|
-
function
|
|
5627
|
+
var fs = typeof exports == "object" && exports && !exports.nodeType && exports, wt = fs && typeof module == "object" && module && !module.nodeType && module, uu = wt && wt.exports === fs, St = uu ? H.Buffer : void 0;
|
|
5628
|
+
St && St.allocUnsafe;
|
|
5629
|
+
function du(e, s) {
|
|
5686
5630
|
return e.slice();
|
|
5687
5631
|
}
|
|
5688
|
-
function
|
|
5632
|
+
function fu(e, s) {
|
|
5689
5633
|
for (var t = -1, n = e == null ? 0 : e.length, i = 0, o = []; ++t < n; ) {
|
|
5690
5634
|
var r = e[t];
|
|
5691
5635
|
s(r, t, e) && (o[i++] = r);
|
|
5692
5636
|
}
|
|
5693
5637
|
return o;
|
|
5694
5638
|
}
|
|
5695
|
-
function
|
|
5639
|
+
function hu() {
|
|
5696
5640
|
return [];
|
|
5697
5641
|
}
|
|
5698
|
-
var
|
|
5699
|
-
return e == null ? [] : (e = Object(e),
|
|
5700
|
-
return
|
|
5642
|
+
var mu = Object.prototype, gu = mu.propertyIsEnumerable, kt = Object.getOwnPropertySymbols, _u = kt ? function(e) {
|
|
5643
|
+
return e == null ? [] : (e = Object(e), fu(kt(e), function(s) {
|
|
5644
|
+
return gu.call(e, s);
|
|
5701
5645
|
}));
|
|
5702
|
-
} :
|
|
5703
|
-
function
|
|
5646
|
+
} : hu;
|
|
5647
|
+
function yu(e, s) {
|
|
5704
5648
|
for (var t = -1, n = s.length, i = e.length; ++t < n; )
|
|
5705
5649
|
e[i + t] = s[t];
|
|
5706
5650
|
return e;
|
|
5707
5651
|
}
|
|
5708
|
-
var
|
|
5709
|
-
function
|
|
5652
|
+
var pu = ds(Object.getPrototypeOf, Object);
|
|
5653
|
+
function vu(e, s, t) {
|
|
5710
5654
|
var n = s(e);
|
|
5711
|
-
return
|
|
5655
|
+
return Je(e) ? n : yu(n, t(e));
|
|
5712
5656
|
}
|
|
5713
|
-
function
|
|
5714
|
-
return
|
|
5657
|
+
function bu(e) {
|
|
5658
|
+
return vu(e, cu, _u);
|
|
5715
5659
|
}
|
|
5716
|
-
var
|
|
5717
|
-
(
|
|
5718
|
-
var s = _e(e), t = s ==
|
|
5660
|
+
var Be = Z(H, "DataView"), Le = Z(H, "Promise"), He = Z(H, "Set"), Ve = Z(H, "WeakMap"), Ct = "[object Map]", wu = "[object Object]", Tt = "[object Promise]", At = "[object Set]", $t = "[object WeakMap]", Ot = "[object DataView]", Su = q(Be), ku = q(me), Cu = q(Le), Tu = q(He), Au = q(Ve), V = _e;
|
|
5661
|
+
(Be && V(new Be(new ArrayBuffer(1))) != Ot || me && V(new me()) != Ct || Le && V(Le.resolve()) != Tt || He && V(new He()) != At || Ve && V(new Ve()) != $t) && (V = function(e) {
|
|
5662
|
+
var s = _e(e), t = s == wu ? e.constructor : void 0, n = t ? q(t) : "";
|
|
5719
5663
|
if (n)
|
|
5720
5664
|
switch (n) {
|
|
5721
|
-
case
|
|
5722
|
-
return
|
|
5723
|
-
case
|
|
5665
|
+
case Su:
|
|
5666
|
+
return Ot;
|
|
5667
|
+
case ku:
|
|
5668
|
+
return Ct;
|
|
5669
|
+
case Cu:
|
|
5724
5670
|
return Tt;
|
|
5725
|
-
case
|
|
5671
|
+
case Tu:
|
|
5726
5672
|
return At;
|
|
5727
|
-
case
|
|
5673
|
+
case Au:
|
|
5728
5674
|
return $t;
|
|
5729
|
-
case Iu:
|
|
5730
|
-
return Ot;
|
|
5731
5675
|
}
|
|
5732
5676
|
return s;
|
|
5733
5677
|
});
|
|
5734
|
-
var
|
|
5735
|
-
function
|
|
5678
|
+
var $u = Object.prototype, Ou = $u.hasOwnProperty;
|
|
5679
|
+
function xu(e) {
|
|
5736
5680
|
var s = e.length, t = new e.constructor(s);
|
|
5737
|
-
return s && typeof e[0] == "string" &&
|
|
5681
|
+
return s && typeof e[0] == "string" && Ou.call(e, "index") && (t.index = e.index, t.input = e.input), t;
|
|
5738
5682
|
}
|
|
5739
|
-
var
|
|
5740
|
-
function
|
|
5683
|
+
var xt = H.Uint8Array;
|
|
5684
|
+
function et(e) {
|
|
5741
5685
|
var s = new e.constructor(e.byteLength);
|
|
5742
|
-
return new
|
|
5686
|
+
return new xt(s).set(new xt(e)), s;
|
|
5743
5687
|
}
|
|
5744
|
-
function
|
|
5745
|
-
var t =
|
|
5688
|
+
function Ru(e, s) {
|
|
5689
|
+
var t = et(e.buffer);
|
|
5746
5690
|
return new e.constructor(t, e.byteOffset, e.byteLength);
|
|
5747
5691
|
}
|
|
5748
|
-
var
|
|
5749
|
-
function
|
|
5750
|
-
var s = new e.constructor(e.source,
|
|
5692
|
+
var Uu = /\w*$/;
|
|
5693
|
+
function Iu(e) {
|
|
5694
|
+
var s = new e.constructor(e.source, Uu.exec(e));
|
|
5751
5695
|
return s.lastIndex = e.lastIndex, s;
|
|
5752
5696
|
}
|
|
5753
|
-
var
|
|
5754
|
-
function
|
|
5755
|
-
return
|
|
5697
|
+
var Rt = oe ? oe.prototype : void 0, Ut = Rt ? Rt.valueOf : void 0;
|
|
5698
|
+
function zu(e) {
|
|
5699
|
+
return Ut ? Object(Ut.call(e)) : {};
|
|
5756
5700
|
}
|
|
5757
|
-
function
|
|
5758
|
-
var t =
|
|
5701
|
+
function Eu(e, s) {
|
|
5702
|
+
var t = et(e.buffer);
|
|
5759
5703
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
5760
5704
|
}
|
|
5761
|
-
var
|
|
5762
|
-
function
|
|
5705
|
+
var ju = "[object Boolean]", Fu = "[object Date]", Pu = "[object Map]", Mu = "[object Number]", Bu = "[object RegExp]", Lu = "[object Set]", Hu = "[object String]", Vu = "[object Symbol]", Du = "[object ArrayBuffer]", Nu = "[object DataView]", Wu = "[object Float32Array]", Xu = "[object Float64Array]", Yu = "[object Int8Array]", Ku = "[object Int16Array]", Gu = "[object Int32Array]", qu = "[object Uint8Array]", Zu = "[object Uint8ClampedArray]", Ju = "[object Uint16Array]", Qu = "[object Uint32Array]";
|
|
5706
|
+
function ed(e, s, t) {
|
|
5763
5707
|
var n = e.constructor;
|
|
5764
5708
|
switch (s) {
|
|
5765
|
-
case Gu:
|
|
5766
|
-
return tt(e);
|
|
5767
|
-
case Hu:
|
|
5768
5709
|
case Du:
|
|
5710
|
+
return et(e);
|
|
5711
|
+
case ju:
|
|
5712
|
+
case Fu:
|
|
5769
5713
|
return new n(+e);
|
|
5714
|
+
case Nu:
|
|
5715
|
+
return Ru(e);
|
|
5716
|
+
case Wu:
|
|
5717
|
+
case Xu:
|
|
5718
|
+
case Yu:
|
|
5719
|
+
case Ku:
|
|
5720
|
+
case Gu:
|
|
5770
5721
|
case qu:
|
|
5771
|
-
return Fu(e);
|
|
5772
5722
|
case Zu:
|
|
5773
5723
|
case Ju:
|
|
5774
5724
|
case Qu:
|
|
5775
|
-
|
|
5776
|
-
case
|
|
5777
|
-
case sd:
|
|
5778
|
-
case nd:
|
|
5779
|
-
case od:
|
|
5780
|
-
case id:
|
|
5781
|
-
return Lu(e);
|
|
5782
|
-
case Vu:
|
|
5725
|
+
return Eu(e);
|
|
5726
|
+
case Pu:
|
|
5783
5727
|
return new n();
|
|
5784
|
-
case
|
|
5785
|
-
case
|
|
5728
|
+
case Mu:
|
|
5729
|
+
case Hu:
|
|
5786
5730
|
return new n(e);
|
|
5787
|
-
case
|
|
5788
|
-
return
|
|
5789
|
-
case
|
|
5731
|
+
case Bu:
|
|
5732
|
+
return Iu(e);
|
|
5733
|
+
case Lu:
|
|
5790
5734
|
return new n();
|
|
5791
|
-
case
|
|
5792
|
-
return
|
|
5735
|
+
case Vu:
|
|
5736
|
+
return zu(e);
|
|
5793
5737
|
}
|
|
5794
5738
|
}
|
|
5795
|
-
var
|
|
5739
|
+
var It = Object.create, td = /* @__PURE__ */ function() {
|
|
5796
5740
|
function e() {
|
|
5797
5741
|
}
|
|
5798
5742
|
return function(s) {
|
|
5799
5743
|
if (!Oe(s))
|
|
5800
5744
|
return {};
|
|
5801
|
-
if (
|
|
5802
|
-
return
|
|
5745
|
+
if (It)
|
|
5746
|
+
return It(s);
|
|
5803
5747
|
e.prototype = s;
|
|
5804
5748
|
var t = new e();
|
|
5805
5749
|
return e.prototype = void 0, t;
|
|
5806
5750
|
};
|
|
5807
5751
|
}();
|
|
5808
|
-
function
|
|
5809
|
-
return typeof e.constructor == "function" && !
|
|
5752
|
+
function sd(e) {
|
|
5753
|
+
return typeof e.constructor == "function" && !us(e) ? td(pu(e)) : {};
|
|
5810
5754
|
}
|
|
5811
|
-
var
|
|
5812
|
-
function
|
|
5813
|
-
return ye(e) &&
|
|
5755
|
+
var nd = "[object Map]";
|
|
5756
|
+
function od(e) {
|
|
5757
|
+
return ye(e) && V(e) == nd;
|
|
5814
5758
|
}
|
|
5815
|
-
var
|
|
5816
|
-
function
|
|
5817
|
-
return ye(e) &&
|
|
5759
|
+
var zt = ie && ie.isMap, id = zt ? Qe(zt) : od, rd = "[object Set]";
|
|
5760
|
+
function ld(e) {
|
|
5761
|
+
return ye(e) && V(e) == rd;
|
|
5818
5762
|
}
|
|
5819
|
-
var
|
|
5820
|
-
$[
|
|
5821
|
-
$[
|
|
5763
|
+
var Et = ie && ie.isSet, ad = Et ? Qe(Et) : ld, hs = "[object Arguments]", cd = "[object Array]", ud = "[object Boolean]", dd = "[object Date]", fd = "[object Error]", ms = "[object Function]", hd = "[object GeneratorFunction]", md = "[object Map]", gd = "[object Number]", gs = "[object Object]", _d = "[object RegExp]", yd = "[object Set]", pd = "[object String]", vd = "[object Symbol]", bd = "[object WeakMap]", wd = "[object ArrayBuffer]", Sd = "[object DataView]", kd = "[object Float32Array]", Cd = "[object Float64Array]", Td = "[object Int8Array]", Ad = "[object Int16Array]", $d = "[object Int32Array]", Od = "[object Uint8Array]", xd = "[object Uint8ClampedArray]", Rd = "[object Uint16Array]", Ud = "[object Uint32Array]", $ = {};
|
|
5764
|
+
$[hs] = $[cd] = $[wd] = $[Sd] = $[ud] = $[dd] = $[kd] = $[Cd] = $[Td] = $[Ad] = $[$d] = $[md] = $[gd] = $[gs] = $[_d] = $[yd] = $[pd] = $[vd] = $[Od] = $[xd] = $[Rd] = $[Ud] = !0;
|
|
5765
|
+
$[fd] = $[ms] = $[bd] = !1;
|
|
5822
5766
|
function ke(e, s, t, n, i, o) {
|
|
5823
5767
|
var r;
|
|
5824
5768
|
if (r !== void 0)
|
|
5825
5769
|
return r;
|
|
5826
5770
|
if (!Oe(e))
|
|
5827
5771
|
return e;
|
|
5828
|
-
var a =
|
|
5772
|
+
var a = Je(e);
|
|
5829
5773
|
if (a)
|
|
5830
|
-
r =
|
|
5774
|
+
r = xu(e);
|
|
5831
5775
|
else {
|
|
5832
|
-
var
|
|
5833
|
-
if (
|
|
5834
|
-
return
|
|
5835
|
-
if (
|
|
5836
|
-
r =
|
|
5776
|
+
var c = V(e), u = c == ms || c == hd;
|
|
5777
|
+
if (ls(e))
|
|
5778
|
+
return du(e);
|
|
5779
|
+
if (c == gs || c == hs || u && !i)
|
|
5780
|
+
r = u ? {} : sd(e);
|
|
5837
5781
|
else {
|
|
5838
|
-
if (!$[
|
|
5782
|
+
if (!$[c])
|
|
5839
5783
|
return i ? e : {};
|
|
5840
|
-
r =
|
|
5784
|
+
r = ed(e, c);
|
|
5841
5785
|
}
|
|
5842
5786
|
}
|
|
5843
5787
|
o || (o = new le());
|
|
5844
5788
|
var g = o.get(e);
|
|
5845
5789
|
if (g)
|
|
5846
5790
|
return g;
|
|
5847
|
-
o.set(e, r),
|
|
5848
|
-
r.add(ke(
|
|
5849
|
-
}) :
|
|
5850
|
-
r.set(
|
|
5791
|
+
o.set(e, r), ad(e) ? e.forEach(function(j) {
|
|
5792
|
+
r.add(ke(j, s, t, j, e, o));
|
|
5793
|
+
}) : id(e) && e.forEach(function(j, F) {
|
|
5794
|
+
r.set(F, ke(j, s, t, F, e, o));
|
|
5851
5795
|
});
|
|
5852
|
-
var A =
|
|
5853
|
-
return
|
|
5854
|
-
|
|
5796
|
+
var A = bu, z = a ? void 0 : A(e);
|
|
5797
|
+
return uc(z || e, function(j, F) {
|
|
5798
|
+
z && (F = j, j = e[F]), mc(r, F, ke(j, s, t, F, e, o));
|
|
5855
5799
|
}), r;
|
|
5856
5800
|
}
|
|
5857
|
-
var
|
|
5858
|
-
function
|
|
5859
|
-
return ke(e,
|
|
5801
|
+
var Id = 1, zd = 4;
|
|
5802
|
+
function Ed(e) {
|
|
5803
|
+
return ke(e, Id | zd);
|
|
5860
5804
|
}
|
|
5861
|
-
const
|
|
5862
|
-
let
|
|
5863
|
-
const
|
|
5805
|
+
const je = (e) => e.every((s) => typeof s == "object"), jt = !0, _s = () => window.innerWidth;
|
|
5806
|
+
let Ft = _s();
|
|
5807
|
+
const jd = {
|
|
5864
5808
|
name: "UluTableSticky",
|
|
5865
5809
|
components: {
|
|
5866
|
-
UluTableStickyTable:
|
|
5810
|
+
UluTableStickyTable: aa
|
|
5867
5811
|
},
|
|
5868
5812
|
props: {
|
|
5869
5813
|
/**
|
|
@@ -5894,7 +5838,7 @@ const Hd = {
|
|
|
5894
5838
|
*/
|
|
5895
5839
|
caption: {
|
|
5896
5840
|
type: String,
|
|
5897
|
-
required:
|
|
5841
|
+
required: jt
|
|
5898
5842
|
},
|
|
5899
5843
|
/**
|
|
5900
5844
|
* Array of column configurations to convert to list output
|
|
@@ -5915,8 +5859,8 @@ const Hd = {
|
|
|
5915
5859
|
*/
|
|
5916
5860
|
columns: {
|
|
5917
5861
|
type: Array,
|
|
5918
|
-
validator:
|
|
5919
|
-
required:
|
|
5862
|
+
validator: je,
|
|
5863
|
+
required: jt
|
|
5920
5864
|
},
|
|
5921
5865
|
/**
|
|
5922
5866
|
* Whether the first column of the table should be sticky
|
|
@@ -5936,7 +5880,7 @@ const Hd = {
|
|
|
5936
5880
|
*/
|
|
5937
5881
|
rows: {
|
|
5938
5882
|
type: Array,
|
|
5939
|
-
validator:
|
|
5883
|
+
validator: je
|
|
5940
5884
|
// required
|
|
5941
5885
|
},
|
|
5942
5886
|
/**
|
|
@@ -5944,7 +5888,7 @@ const Hd = {
|
|
|
5944
5888
|
*/
|
|
5945
5889
|
footerRows: {
|
|
5946
5890
|
type: Array,
|
|
5947
|
-
validator:
|
|
5891
|
+
validator: je
|
|
5948
5892
|
},
|
|
5949
5893
|
/**
|
|
5950
5894
|
* Enables the visibility of the scroll controls
|
|
@@ -6032,7 +5976,7 @@ const Hd = {
|
|
|
6032
5976
|
let n = [];
|
|
6033
5977
|
return s.forEach((i, o) => {
|
|
6034
5978
|
const r = n.slice();
|
|
6035
|
-
i.getRowHeaders = (a) => r.map((
|
|
5979
|
+
i.getRowHeaders = (a) => r.map((c) => c(a)).join(" "), i.rowHeader && (i.getRowHeaderId = (a) => `${this.idPrefix}-rh-${a}-${o}`, n.push(i.getRowHeaderId));
|
|
6036
5980
|
}), s;
|
|
6037
5981
|
},
|
|
6038
5982
|
headerHeight() {
|
|
@@ -6120,7 +6064,7 @@ const Hd = {
|
|
|
6120
6064
|
* - Can be used in the future for adding/removing or enabling/disabling
|
|
6121
6065
|
*/
|
|
6122
6066
|
createColumns() {
|
|
6123
|
-
const e = this.idCreator("c"), s =
|
|
6067
|
+
const e = this.idCreator("c"), s = Ed(this.columns), t = (n, i) => {
|
|
6124
6068
|
n.id = e(), n.parent = i, n.width = "auto", n.boxWidth = null, n.sortApplied = !1, n.sortAscending = !1, n.sortFocused = !1;
|
|
6125
6069
|
let o = [];
|
|
6126
6070
|
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);
|
|
@@ -6141,8 +6085,8 @@ const Hd = {
|
|
|
6141
6085
|
id: s()
|
|
6142
6086
|
}));
|
|
6143
6087
|
function o(r, a) {
|
|
6144
|
-
const
|
|
6145
|
-
|
|
6088
|
+
const c = a.columns;
|
|
6089
|
+
c && c.forEach((u) => o(1 + r, u)), a.rowspan = c ? 1 : t - r, a.colspan = c ? c.reduce((u, g) => u + g.colspan, 0) : 1, i[r].columns.push(a);
|
|
6146
6090
|
}
|
|
6147
6091
|
return e.forEach((r) => o(0, r)), i;
|
|
6148
6092
|
},
|
|
@@ -6160,8 +6104,8 @@ const Hd = {
|
|
|
6160
6104
|
})) : [];
|
|
6161
6105
|
},
|
|
6162
6106
|
onResize() {
|
|
6163
|
-
const e =
|
|
6164
|
-
|
|
6107
|
+
const e = _s();
|
|
6108
|
+
Ft !== e && (Ft = e, this.resizing ? (this.resizing = !1, this.setTableSizes(), this.checkOverflowX(), this.syncScrollLeft()) : (this.resizing = !0, this.removeTableSizes()));
|
|
6165
6109
|
},
|
|
6166
6110
|
/**
|
|
6167
6111
|
* Method to update the table (sizes, etc) when data has changed
|
|
@@ -6235,7 +6179,7 @@ const Hd = {
|
|
|
6235
6179
|
o && (i.boxWidth = e(o, "width"), i.width = `${i.boxWidth}px`);
|
|
6236
6180
|
});
|
|
6237
6181
|
}), this.firstColumnSticky && (this.currentRows.forEach((n) => t(n)), this.currentFooterRows.forEach((n) => t(n))), this.$nextTick(() => {
|
|
6238
|
-
this.sizesCalculated = !0,
|
|
6182
|
+
this.sizesCalculated = !0, es(() => {
|
|
6239
6183
|
this.sizesPainted = !0;
|
|
6240
6184
|
});
|
|
6241
6185
|
});
|
|
@@ -6264,14 +6208,14 @@ const Hd = {
|
|
|
6264
6208
|
unmounted() {
|
|
6265
6209
|
this.columnResizeObserver.disconnect(), this.columnResizeObserver = null;
|
|
6266
6210
|
}
|
|
6267
|
-
},
|
|
6211
|
+
}, Fd = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--header" }, Pd = { class: "table-sticky__header-wrap" }, Md = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--first-column-header" }, Bd = { class: "table-sticky__sticky-wrap table-sticky__sticky-wrap--controls" }, Ld = {
|
|
6268
6212
|
key: 2,
|
|
6269
6213
|
class: "table-sticky__controls-inner"
|
|
6270
|
-
},
|
|
6214
|
+
}, Hd = ["disabled"], Vd = ["disabled"], Dd = {
|
|
6271
6215
|
ref: "display",
|
|
6272
6216
|
class: "table-sticky__display"
|
|
6273
6217
|
};
|
|
6274
|
-
function
|
|
6218
|
+
function Nd(e, s, t, n, i, o) {
|
|
6275
6219
|
const r = S("UluTableStickyTable");
|
|
6276
6220
|
return l(), d("div", {
|
|
6277
6221
|
class: h(["table-sticky", {
|
|
@@ -6280,8 +6224,8 @@ function qd(e, s, t, n, i, o) {
|
|
|
6280
6224
|
"table-sticky--can-scroll-left": i.canScrollLeft
|
|
6281
6225
|
}])
|
|
6282
6226
|
}, [
|
|
6283
|
-
f("div",
|
|
6284
|
-
f("div",
|
|
6227
|
+
f("div", Fd, [
|
|
6228
|
+
f("div", Pd, [
|
|
6285
6229
|
k(r, {
|
|
6286
6230
|
ref: "header",
|
|
6287
6231
|
class: "table-sticky__table table-sticky__table--header",
|
|
@@ -6297,17 +6241,17 @@ function qd(e, s, t, n, i, o) {
|
|
|
6297
6241
|
width: i.tableWidth
|
|
6298
6242
|
}),
|
|
6299
6243
|
onColumnSorted: o.applySort
|
|
6300
|
-
},
|
|
6301
|
-
C(e.$slots, (a,
|
|
6302
|
-
name:
|
|
6303
|
-
fn: b((
|
|
6304
|
-
m(e.$slots,
|
|
6244
|
+
}, se({ _: 2 }, [
|
|
6245
|
+
C(e.$slots, (a, c) => ({
|
|
6246
|
+
name: c,
|
|
6247
|
+
fn: b((u) => [
|
|
6248
|
+
m(e.$slots, c, M(L(u)))
|
|
6305
6249
|
])
|
|
6306
6250
|
}))
|
|
6307
6251
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])
|
|
6308
6252
|
])
|
|
6309
6253
|
]),
|
|
6310
|
-
f("div",
|
|
6254
|
+
f("div", Md, [
|
|
6311
6255
|
t.firstColumnSticky ? (l(), v(r, {
|
|
6312
6256
|
key: 0,
|
|
6313
6257
|
ref: "firstColumnHeader",
|
|
@@ -6323,17 +6267,17 @@ function qd(e, s, t, n, i, o) {
|
|
|
6323
6267
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6324
6268
|
}),
|
|
6325
6269
|
onColumnSorted: o.applySort
|
|
6326
|
-
},
|
|
6327
|
-
C(e.$slots, (a,
|
|
6328
|
-
name:
|
|
6329
|
-
fn: b((
|
|
6330
|
-
m(e.$slots,
|
|
6270
|
+
}, se({ _: 2 }, [
|
|
6271
|
+
C(e.$slots, (a, c) => ({
|
|
6272
|
+
name: c,
|
|
6273
|
+
fn: b((u) => [
|
|
6274
|
+
m(e.$slots, c, M(L(u)))
|
|
6331
6275
|
])
|
|
6332
6276
|
}))
|
|
6333
6277
|
]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : y("", !0)
|
|
6334
6278
|
]),
|
|
6335
|
-
f("div",
|
|
6336
|
-
|
|
6279
|
+
f("div", Bd, [
|
|
6280
|
+
D(f("div", {
|
|
6337
6281
|
class: h(["table-sticky__controls", o.resolveClasses(t.classes.controls)]),
|
|
6338
6282
|
ref: "controls"
|
|
6339
6283
|
}, [
|
|
@@ -6343,13 +6287,13 @@ function qd(e, s, t, n, i, o) {
|
|
|
6343
6287
|
scrollRight: o.scrollRight,
|
|
6344
6288
|
canScrollLeft: i.canScrollLeft,
|
|
6345
6289
|
canScrollRight: i.canScrollRight
|
|
6346
|
-
}) : t.controlsComponent ? (l(), v(
|
|
6290
|
+
}) : t.controlsComponent ? (l(), v(I(t.controlsComponent), {
|
|
6347
6291
|
key: 1,
|
|
6348
6292
|
scrollLeft: o.scrollLeft,
|
|
6349
6293
|
scrollRight: o.scrollRight,
|
|
6350
6294
|
canScrollLeft: i.canScrollLeft,
|
|
6351
6295
|
canScrollRight: i.canScrollRight
|
|
6352
|
-
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (l(), d("div",
|
|
6296
|
+
}, null, 8, ["scrollLeft", "scrollRight", "canScrollLeft", "canScrollRight"])) : (l(), d("div", Ld, [
|
|
6353
6297
|
f("button", {
|
|
6354
6298
|
class: h(["table-sticky__control table-sticky__control--left", o.resolveClasses(t.classes.controlButton)]),
|
|
6355
6299
|
"aria-label": "Scroll Left",
|
|
@@ -6359,7 +6303,7 @@ function qd(e, s, t, n, i, o) {
|
|
|
6359
6303
|
m(e.$slots, "controlLeft", {}, () => [
|
|
6360
6304
|
s[2] || (s[2] = w(" ← "))
|
|
6361
6305
|
])
|
|
6362
|
-
], 10,
|
|
6306
|
+
], 10, Hd),
|
|
6363
6307
|
f("button", {
|
|
6364
6308
|
class: h(["table-sticky__control table-sticky__control--right", o.resolveClasses(t.classes.controlButton)]),
|
|
6365
6309
|
"aria-label": "Scroll Right",
|
|
@@ -6369,13 +6313,13 @@ function qd(e, s, t, n, i, o) {
|
|
|
6369
6313
|
m(e.$slots, "controlRight", {}, () => [
|
|
6370
6314
|
s[3] || (s[3] = w(" → "))
|
|
6371
6315
|
])
|
|
6372
|
-
], 10,
|
|
6316
|
+
], 10, Vd)
|
|
6373
6317
|
]))
|
|
6374
6318
|
], 2), [
|
|
6375
|
-
[
|
|
6319
|
+
[Ne, o.controlsShown]
|
|
6376
6320
|
])
|
|
6377
6321
|
]),
|
|
6378
|
-
f("div",
|
|
6322
|
+
f("div", Dd, [
|
|
6379
6323
|
k(r, {
|
|
6380
6324
|
ref: "table",
|
|
6381
6325
|
class: "table-sticky__table table-sticky__table--actual",
|
|
@@ -6394,11 +6338,11 @@ function qd(e, s, t, n, i, o) {
|
|
|
6394
6338
|
onActualHeaderRemoved: o.headerRemoved,
|
|
6395
6339
|
onActualHeaderAdded: o.headerAdded,
|
|
6396
6340
|
onColumnSorted: o.applySort
|
|
6397
|
-
},
|
|
6398
|
-
C(e.$slots, (a,
|
|
6399
|
-
name:
|
|
6400
|
-
fn: b((
|
|
6401
|
-
m(e.$slots,
|
|
6341
|
+
}, se({ _: 2 }, [
|
|
6342
|
+
C(e.$slots, (a, c) => ({
|
|
6343
|
+
name: c,
|
|
6344
|
+
fn: b((u) => [
|
|
6345
|
+
m(e.$slots, c, M(L(u)))
|
|
6402
6346
|
])
|
|
6403
6347
|
}))
|
|
6404
6348
|
]), 1032, ["classes", "resolveClasses", "headerRows", "rows", "footerRows", "rowColumns", "caption", "idPrefix", "getRowValue", "getColumnTitle", "onVnodeMounted", "onActualHeaderRemoved", "onActualHeaderAdded", "onColumnSorted"])
|
|
@@ -6423,99 +6367,93 @@ function qd(e, s, t, n, i, o) {
|
|
|
6423
6367
|
pointerEvents: o.headerVisibleX ? "auto" : "none"
|
|
6424
6368
|
}),
|
|
6425
6369
|
onColumnSorted: o.applySort
|
|
6426
|
-
},
|
|
6427
|
-
C(e.$slots, (a,
|
|
6428
|
-
name:
|
|
6429
|
-
fn: b((
|
|
6430
|
-
m(e.$slots,
|
|
6370
|
+
}, se({ _: 2 }, [
|
|
6371
|
+
C(e.$slots, (a, c) => ({
|
|
6372
|
+
name: c,
|
|
6373
|
+
fn: b((u) => [
|
|
6374
|
+
m(e.$slots, c, M(L(u)))
|
|
6431
6375
|
])
|
|
6432
6376
|
}))
|
|
6433
6377
|
]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : y("", !0)
|
|
6434
6378
|
], 2);
|
|
6435
6379
|
}
|
|
6436
|
-
const
|
|
6380
|
+
const th = /* @__PURE__ */ _(jd, [["render", Nd]]);
|
|
6437
6381
|
export {
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6382
|
+
Lf as $,
|
|
6383
|
+
pf as A,
|
|
6384
|
+
vf as B,
|
|
6385
|
+
bf as C,
|
|
6386
|
+
Kn as D,
|
|
6387
|
+
wf as E,
|
|
6388
|
+
Sf as F,
|
|
6389
|
+
kf as G,
|
|
6390
|
+
Cf as H,
|
|
6391
|
+
Tf as I,
|
|
6392
|
+
Af as J,
|
|
6393
|
+
$f as K,
|
|
6394
|
+
Of as L,
|
|
6395
|
+
xf as M,
|
|
6396
|
+
Rf as N,
|
|
6397
|
+
Uf as O,
|
|
6398
|
+
Zt as P,
|
|
6399
|
+
Qn as Q,
|
|
6400
|
+
If as R,
|
|
6401
|
+
zf as S,
|
|
6402
|
+
Ef as T,
|
|
6403
|
+
Wn as U,
|
|
6404
|
+
jf as V,
|
|
6405
|
+
Ff as W,
|
|
6406
|
+
Pf as X,
|
|
6407
|
+
Mf as Y,
|
|
6408
|
+
Bf as Z,
|
|
6409
|
+
nf as _,
|
|
6466
6410
|
we as a,
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6411
|
+
Hf as a0,
|
|
6412
|
+
Vf as a1,
|
|
6413
|
+
Df as a2,
|
|
6414
|
+
Lr as a3,
|
|
6415
|
+
zr as a4,
|
|
6416
|
+
Nf as a5,
|
|
6417
|
+
Wf as a6,
|
|
6418
|
+
Xf as a7,
|
|
6419
|
+
Yf as a8,
|
|
6420
|
+
Kf as a9,
|
|
6421
|
+
qf as aa,
|
|
6422
|
+
Zf as ab,
|
|
6423
|
+
Jf as ac,
|
|
6424
|
+
Qf as ad,
|
|
6425
|
+
Pl as ae,
|
|
6426
|
+
eh as af,
|
|
6427
|
+
th as ag,
|
|
6428
|
+
Gl as ah,
|
|
6429
|
+
aa as ai,
|
|
6430
|
+
un as aj,
|
|
6487
6431
|
G as ak,
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
Cf as u,
|
|
6516
|
-
Tf as v,
|
|
6517
|
-
Af as w,
|
|
6518
|
-
$f as x,
|
|
6519
|
-
L as y,
|
|
6520
|
-
Of as z
|
|
6432
|
+
no as al,
|
|
6433
|
+
Pn as am,
|
|
6434
|
+
Qd as b,
|
|
6435
|
+
ef as c,
|
|
6436
|
+
tf as d,
|
|
6437
|
+
sf as e,
|
|
6438
|
+
of as f,
|
|
6439
|
+
mn as g,
|
|
6440
|
+
Tn as h,
|
|
6441
|
+
Jd as i,
|
|
6442
|
+
rf as j,
|
|
6443
|
+
lf as k,
|
|
6444
|
+
te as l,
|
|
6445
|
+
af as m,
|
|
6446
|
+
cf as n,
|
|
6447
|
+
uf as o,
|
|
6448
|
+
df as p,
|
|
6449
|
+
ff as q,
|
|
6450
|
+
Gf as r,
|
|
6451
|
+
bo as s,
|
|
6452
|
+
hf as t,
|
|
6453
|
+
co as u,
|
|
6454
|
+
mf as v,
|
|
6455
|
+
gf as w,
|
|
6456
|
+
_f as x,
|
|
6457
|
+
yf as y,
|
|
6458
|
+
B as z
|
|
6521
6459
|
};
|