@beterdichtbij/component-library 0.36.3 → 0.36.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/dist/bd-component-lib.cjs.js +2 -2
- package/dist/bd-component-lib.es.js +343 -342
- package/dist/bd-component-lib.umd.js +2 -2
- package/dist/components/organisms/BDModal/BDModal.vue.d.ts +11 -0
- package/dist/interfaces/BDModalProps.d.ts +1 -0
- package/dist/scss/_card.scss +2 -41
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $e, computed as ke, openBlock as W, createElementBlock as q, normalizeClass as
|
|
1
|
+
import { defineComponent as $e, computed as ke, openBlock as W, createElementBlock as q, normalizeClass as We, renderSlot as Ke, createElementVNode as X, createStaticVNode as Ts, mergeProps as ln, resolveComponent as t1, createBlock as Ge, resolveDynamicComponent as Yo, withCtx as Pe, createTextVNode as ot, toDisplayString as Ne, createVNode as Se, unref as ye, createCommentVNode as Re, getCurrentScope as n1, onScopeDispose as r1, ref as Qe, watch as wn, getCurrentInstance as zf, nextTick as Uf, withDirectives as cs, isRef as Jo, vModelText as s1, withKeys as i1, useAttrs as o1, withModifiers as us, onMounted as ci, vShow as Su, Fragment as nt, renderList as At, vModelSelect as a1, vModelCheckbox as l1, normalizeProps as sc, guardReactiveProps as ic, onBeforeUnmount as Zo, h as qn, watchEffect as c1, Teleport as u1, shallowRef as d1, reactive as f1, markRaw as h1, customRef as p1, createApp as m1 } from "vue";
|
|
2
2
|
const Kr = /* @__PURE__ */ $e({
|
|
3
3
|
__name: "BDCol",
|
|
4
4
|
props: {
|
|
@@ -26,9 +26,9 @@ const Kr = /* @__PURE__ */ $e({
|
|
|
26
26
|
[`${e.class}`]: e.class
|
|
27
27
|
}));
|
|
28
28
|
return (r, s) => (W(), q("div", {
|
|
29
|
-
class:
|
|
29
|
+
class: We(t.value)
|
|
30
30
|
}, [
|
|
31
|
-
|
|
31
|
+
Ke(r.$slots, "default")
|
|
32
32
|
], 2));
|
|
33
33
|
}
|
|
34
34
|
}), ml = /* @__PURE__ */ $e({
|
|
@@ -45,9 +45,9 @@ const Kr = /* @__PURE__ */ $e({
|
|
|
45
45
|
[e.class]: !0
|
|
46
46
|
}));
|
|
47
47
|
return (r, s) => (W(), q("div", {
|
|
48
|
-
class:
|
|
48
|
+
class: We(t.value)
|
|
49
49
|
}, [
|
|
50
|
-
|
|
50
|
+
Ke(r.$slots, "default")
|
|
51
51
|
], 2));
|
|
52
52
|
}
|
|
53
53
|
}), Gr = /* @__PURE__ */ $e({
|
|
@@ -57,9 +57,9 @@ const Kr = /* @__PURE__ */ $e({
|
|
|
57
57
|
},
|
|
58
58
|
setup(n) {
|
|
59
59
|
return (e, t) => (W(), q("div", {
|
|
60
|
-
class:
|
|
60
|
+
class: We(["row", e.class])
|
|
61
61
|
}, [
|
|
62
|
-
|
|
62
|
+
Ke(e.$slots, "default")
|
|
63
63
|
], 2));
|
|
64
64
|
}
|
|
65
65
|
}), Tt = {
|
|
@@ -576,7 +576,7 @@ const nh = /* @__PURE__ */ je(Uv, [["render", Kv]]), wu = /^https:/i, Js = /* @_
|
|
|
576
576
|
});
|
|
577
577
|
return (s, i) => (W(), Ge(Yo(t.value), ln({ class: "bd-link" }, r.value), {
|
|
578
578
|
default: Pe(() => [
|
|
579
|
-
|
|
579
|
+
Ke(s.$slots, "default", {}, () => [
|
|
580
580
|
ot(Ne(e.text), 1)
|
|
581
581
|
])
|
|
582
582
|
]),
|
|
@@ -604,7 +604,7 @@ const nh = /* @__PURE__ */ je(Uv, [["render", Kv]]), wu = /^https:/i, Js = /* @_
|
|
|
604
604
|
setup(n) {
|
|
605
605
|
const e = n, t = ke(() => ["alert", `alert-${e.variant}`]);
|
|
606
606
|
return (r, s) => (W(), q("div", {
|
|
607
|
-
class:
|
|
607
|
+
class: We(t.value),
|
|
608
608
|
role: "alert"
|
|
609
609
|
}, [
|
|
610
610
|
r.title ? (W(), q("div", Gv, [
|
|
@@ -613,7 +613,7 @@ const nh = /* @__PURE__ */ je(Uv, [["render", Kv]]), wu = /^https:/i, Js = /* @_
|
|
|
613
613
|
X("strong", null, Ne(e.title), 1)
|
|
614
614
|
])
|
|
615
615
|
])) : Re("", !0),
|
|
616
|
-
|
|
616
|
+
Ke(r.$slots, "default")
|
|
617
617
|
], 2));
|
|
618
618
|
}
|
|
619
619
|
}), Yv = ["src", "alt"], Jv = ["textContent"], qo = /* @__PURE__ */ $e({
|
|
@@ -631,7 +631,7 @@ const nh = /* @__PURE__ */ je(Uv, [["render", Kv]]), wu = /^https:/i, Js = /* @_
|
|
|
631
631
|
e("click");
|
|
632
632
|
};
|
|
633
633
|
return (r, s) => (W(), q("div", {
|
|
634
|
-
class:
|
|
634
|
+
class: We(["bd-profile-picture rounded-circle", r.size])
|
|
635
635
|
}, [
|
|
636
636
|
X("img", {
|
|
637
637
|
src: r.src,
|
|
@@ -887,21 +887,21 @@ const h2 = ["id"], p2 = { key: 0 }, cc = /* @__PURE__ */ $e({
|
|
|
887
887
|
}));
|
|
888
888
|
return (l, a) => (W(), q("div", {
|
|
889
889
|
id: ye(r),
|
|
890
|
-
class:
|
|
890
|
+
class: We(s.value)
|
|
891
891
|
}, [
|
|
892
892
|
!l.noHeader || l.noBody ? (W(), q("div", {
|
|
893
893
|
key: 0,
|
|
894
|
-
class:
|
|
894
|
+
class: We(i.value)
|
|
895
895
|
}, [
|
|
896
|
-
|
|
896
|
+
Ke(l.$slots, "header", {}, () => [
|
|
897
897
|
l.title ? (W(), q("h2", p2, Ne(l.title), 1)) : Re("", !0)
|
|
898
898
|
])
|
|
899
899
|
], 2)) : Re("", !0),
|
|
900
900
|
l.noBody ? Re("", !0) : (W(), q("div", {
|
|
901
901
|
key: 1,
|
|
902
|
-
class:
|
|
902
|
+
class: We(o.value)
|
|
903
903
|
}, [
|
|
904
|
-
|
|
904
|
+
Ke(l.$slots, "body")
|
|
905
905
|
], 2))
|
|
906
906
|
], 10, h2));
|
|
907
907
|
}
|
|
@@ -949,10 +949,10 @@ const h2 = ["id"], p2 = { key: 0 }, cc = /* @__PURE__ */ $e({
|
|
|
949
949
|
header: Pe(() => [
|
|
950
950
|
a.title ? (W(), q("h2", m2, Ne(a.title), 1)) : Re("", !0),
|
|
951
951
|
X("div", g2, [
|
|
952
|
-
|
|
952
|
+
Ke(a.$slots, "action"),
|
|
953
953
|
!a.disabled && a.visible ? (W(), q("button", {
|
|
954
954
|
key: 0,
|
|
955
|
-
class:
|
|
955
|
+
class: We(["btn btn-white btn-caret", i.value]),
|
|
956
956
|
type: "button",
|
|
957
957
|
"data-bs-toggle": "collapse",
|
|
958
958
|
"data-bs-target": `.${s.value}`,
|
|
@@ -963,7 +963,7 @@ const h2 = ["id"], p2 = { key: 0 }, cc = /* @__PURE__ */ $e({
|
|
|
963
963
|
])
|
|
964
964
|
]),
|
|
965
965
|
body: Pe(() => [
|
|
966
|
-
|
|
966
|
+
Ke(a.$slots, "body")
|
|
967
967
|
]),
|
|
968
968
|
_: 3
|
|
969
969
|
}, 8, ["title", "header-class", "body-class"]));
|
|
@@ -1182,19 +1182,19 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1182
1182
|
s.value = h.target.value;
|
|
1183
1183
|
}, t.delayTimeMs);
|
|
1184
1184
|
return (h, p) => (W(), q("div", {
|
|
1185
|
-
class:
|
|
1185
|
+
class: We(["bd-form-input", h.formGroupClass]),
|
|
1186
1186
|
id: o
|
|
1187
1187
|
}, [
|
|
1188
|
-
|
|
1188
|
+
Ke(h.$slots, "label", {}, () => [
|
|
1189
1189
|
h.label ? (W(), q("label", {
|
|
1190
1190
|
key: 0,
|
|
1191
1191
|
for: l,
|
|
1192
1192
|
id: i,
|
|
1193
|
-
class:
|
|
1193
|
+
class: We(["form-label", h.labelClass])
|
|
1194
1194
|
}, Ne(h.label), 3)) : Re("", !0)
|
|
1195
1195
|
]),
|
|
1196
1196
|
X("div", {
|
|
1197
|
-
class:
|
|
1197
|
+
class: We(h.formFieldClass)
|
|
1198
1198
|
}, [
|
|
1199
1199
|
cs(X("input", ln({
|
|
1200
1200
|
value: h.modelValue,
|
|
@@ -1210,11 +1210,11 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1210
1210
|
}), null, 16, A2), [
|
|
1211
1211
|
[ye(x2)]
|
|
1212
1212
|
]),
|
|
1213
|
-
|
|
1213
|
+
Ke(h.$slots, "default")
|
|
1214
1214
|
], 2),
|
|
1215
1215
|
Se(ye(uc), {
|
|
1216
1216
|
text: h.invalidFeedbackText,
|
|
1217
|
-
class:
|
|
1217
|
+
class: We(u.value),
|
|
1218
1218
|
state: h.state,
|
|
1219
1219
|
id: a
|
|
1220
1220
|
}, null, 8, ["text", "class", "state"])
|
|
@@ -1235,9 +1235,9 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1235
1235
|
class: "form-label"
|
|
1236
1236
|
}, Ne(e.label), 9, O2)) : Re("", !0),
|
|
1237
1237
|
X("div", {
|
|
1238
|
-
class:
|
|
1238
|
+
class: We(ye(t).class)
|
|
1239
1239
|
}, [
|
|
1240
|
-
|
|
1240
|
+
Ke(r.$slots, "default")
|
|
1241
1241
|
], 2)
|
|
1242
1242
|
]));
|
|
1243
1243
|
}
|
|
@@ -1263,7 +1263,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1263
1263
|
const e = n, t = ke(() => ["badge", "bd-badge", `bd-badge-${e.variant}`]);
|
|
1264
1264
|
return (r, s) => (W(), q("span", {
|
|
1265
1265
|
role: "status",
|
|
1266
|
-
class:
|
|
1266
|
+
class: We(t.value)
|
|
1267
1267
|
}, [
|
|
1268
1268
|
r.variant === "danger" ? (W(), q("span", I2, [
|
|
1269
1269
|
Se(ye(di))
|
|
@@ -1271,7 +1271,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1271
1271
|
r.variant === "success" ? (W(), q("span", D2, [
|
|
1272
1272
|
Se(ye(ui))
|
|
1273
1273
|
])) : Re("", !0),
|
|
1274
|
-
|
|
1274
|
+
Ke(r.$slots, "default")
|
|
1275
1275
|
], 2));
|
|
1276
1276
|
}
|
|
1277
1277
|
}), L2 = ["onSubmit", "onReset"], R2 = /* @__PURE__ */ $e({
|
|
@@ -1288,7 +1288,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1288
1288
|
onSubmit: us(t, ["prevent"]),
|
|
1289
1289
|
onReset: us(r, ["prevent"])
|
|
1290
1290
|
}, [
|
|
1291
|
-
|
|
1291
|
+
Ke(s.$slots, "default")
|
|
1292
1292
|
], 40, L2));
|
|
1293
1293
|
}
|
|
1294
1294
|
}), P2 = {
|
|
@@ -1330,7 +1330,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1330
1330
|
};
|
|
1331
1331
|
return (d, f) => (W(), q("div", P2, [
|
|
1332
1332
|
X("ul", {
|
|
1333
|
-
class:
|
|
1333
|
+
class: We(["pagination", o.value])
|
|
1334
1334
|
}, [
|
|
1335
1335
|
cs(X("li", $2, [
|
|
1336
1336
|
X("a", {
|
|
@@ -1345,7 +1345,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1345
1345
|
[Su, ye(r) > 1]
|
|
1346
1346
|
]),
|
|
1347
1347
|
(W(!0), q(nt, null, At(i.value, (h) => (W(), q("li", {
|
|
1348
|
-
class:
|
|
1348
|
+
class: We(["page-item", { active: ye(r) === h, disabled: typeof h == "string" }]),
|
|
1349
1349
|
key: h
|
|
1350
1350
|
}, [
|
|
1351
1351
|
X("a", {
|
|
@@ -1405,7 +1405,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
};
|
|
1407
1407
|
return (u, d) => cs((W(), q("select", {
|
|
1408
|
-
class:
|
|
1408
|
+
class: We(o.value),
|
|
1409
1409
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => Jo(r) ? r.value = f : null),
|
|
1410
1410
|
disabled: t.disabled,
|
|
1411
1411
|
ref_key: "input",
|
|
@@ -1413,7 +1413,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1413
1413
|
onInput: l,
|
|
1414
1414
|
onChange: a
|
|
1415
1415
|
}, [
|
|
1416
|
-
|
|
1416
|
+
Ke(u.$slots, "first"),
|
|
1417
1417
|
t.options && t.options.length > 0 && t.options[0].label && t.options[0].options ? (W(!0), q(nt, { key: 0 }, At(t.options, (f) => (W(), q("optgroup", {
|
|
1418
1418
|
label: f.label
|
|
1419
1419
|
}, [
|
|
@@ -1444,12 +1444,12 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1444
1444
|
"is-invalid": t.state === !1
|
|
1445
1445
|
})), a = (c) => e("change", c.target.value);
|
|
1446
1446
|
return (c, u) => (W(), q("div", {
|
|
1447
|
-
class:
|
|
1447
|
+
class: We(o.value)
|
|
1448
1448
|
}, [
|
|
1449
1449
|
cs(X("input", {
|
|
1450
1450
|
"onUpdate:modelValue": u[0] || (u[0] = (d) => Jo(s) ? s.value = d : null),
|
|
1451
1451
|
id: i,
|
|
1452
|
-
class:
|
|
1452
|
+
class: We(l.value),
|
|
1453
1453
|
type: "checkbox",
|
|
1454
1454
|
value: c.value,
|
|
1455
1455
|
"true-value": c.value,
|
|
@@ -1463,9 +1463,9 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1463
1463
|
class: "form-check-label",
|
|
1464
1464
|
for: i
|
|
1465
1465
|
}, [
|
|
1466
|
-
|
|
1466
|
+
Ke(c.$slots, "default")
|
|
1467
1467
|
]),
|
|
1468
|
-
|
|
1468
|
+
Ke(c.$slots, "last")
|
|
1469
1469
|
], 2));
|
|
1470
1470
|
}
|
|
1471
1471
|
}), Z2 = {
|
|
@@ -1488,17 +1488,17 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1488
1488
|
onClick: r
|
|
1489
1489
|
}, [
|
|
1490
1490
|
X("header", null, [
|
|
1491
|
-
|
|
1491
|
+
Ke(s.$slots, "header", {}, () => [
|
|
1492
1492
|
X("h5", null, Ne(t.title), 1)
|
|
1493
1493
|
])
|
|
1494
1494
|
]),
|
|
1495
1495
|
t.hideBody ? Re("", !0) : (W(), q("div", Z2, [
|
|
1496
|
-
|
|
1496
|
+
Ke(s.$slots, "default", {}, () => [
|
|
1497
1497
|
ot(Ne(t.text), 1)
|
|
1498
1498
|
])
|
|
1499
1499
|
])),
|
|
1500
1500
|
t.hideFooter ? Re("", !0) : (W(), q("footer", X2, [
|
|
1501
|
-
|
|
1501
|
+
Ke(s.$slots, "footer")
|
|
1502
1502
|
]))
|
|
1503
1503
|
]));
|
|
1504
1504
|
}
|
|
@@ -1525,7 +1525,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1525
1525
|
[`bd-toast-${e.variant}`]: !0
|
|
1526
1526
|
})), r = ke(() => e.variant !== ts.SUCCESS);
|
|
1527
1527
|
return (s, i) => (W(), q("div", {
|
|
1528
|
-
class:
|
|
1528
|
+
class: We(["toast bd-toast", t.value]),
|
|
1529
1529
|
role: "alert",
|
|
1530
1530
|
"aria-live": "assertive",
|
|
1531
1531
|
"aria-atomic": "true",
|
|
@@ -1610,7 +1610,7 @@ const El = /* @__PURE__ */ new WeakMap(), T2 = (n) => {
|
|
|
1610
1610
|
onClick: r
|
|
1611
1611
|
}, t), {
|
|
1612
1612
|
default: Pe(() => [
|
|
1613
|
-
|
|
1613
|
+
Ke(s.$slots, "default", {}, () => [
|
|
1614
1614
|
ot(Ne(t.text), 1)
|
|
1615
1615
|
])
|
|
1616
1616
|
]),
|
|
@@ -22943,7 +22943,7 @@ const fE = An.create({
|
|
|
22943
22943
|
};
|
|
22944
22944
|
return (O, T) => (W(), q(nt, null, [
|
|
22945
22945
|
X("div", {
|
|
22946
|
-
class:
|
|
22946
|
+
class: We(["bd-markdown-editor", l.value])
|
|
22947
22947
|
}, [
|
|
22948
22948
|
Se(ye(B4), { editor: ye(o) }, null, 8, ["editor"]),
|
|
22949
22949
|
O.pills ? (W(), q("div", YE, [
|
|
@@ -22956,7 +22956,7 @@ const fE = An.create({
|
|
|
22956
22956
|
]))), 128))
|
|
22957
22957
|
])
|
|
22958
22958
|
])) : Re("", !0),
|
|
22959
|
-
|
|
22959
|
+
Ke(O.$slots, "default"),
|
|
22960
22960
|
g.value ? (W(), Ge(qc, {
|
|
22961
22961
|
key: 1,
|
|
22962
22962
|
files: g.value,
|
|
@@ -22988,7 +22988,7 @@ const fE = An.create({
|
|
|
22988
22988
|
key: 1,
|
|
22989
22989
|
variant: "light",
|
|
22990
22990
|
type: "button",
|
|
22991
|
-
class:
|
|
22991
|
+
class: We(a.value),
|
|
22992
22992
|
onClick: T[0] || (T[0] = (V) => ye(o).chain().focus().toggleBold().run())
|
|
22993
22993
|
}, {
|
|
22994
22994
|
default: Pe(() => [
|
|
@@ -23000,7 +23000,7 @@ const fE = An.create({
|
|
|
23000
23000
|
key: 2,
|
|
23001
23001
|
variant: "light",
|
|
23002
23002
|
type: "button",
|
|
23003
|
-
class:
|
|
23003
|
+
class: We(c.value),
|
|
23004
23004
|
onClick: T[1] || (T[1] = (V) => ye(o).chain().focus().toggleItalic().run())
|
|
23005
23005
|
}, {
|
|
23006
23006
|
default: Pe(() => [
|
|
@@ -23012,7 +23012,7 @@ const fE = An.create({
|
|
|
23012
23012
|
key: 3,
|
|
23013
23013
|
variant: "light",
|
|
23014
23014
|
type: "button",
|
|
23015
|
-
class:
|
|
23015
|
+
class: We(u.value),
|
|
23016
23016
|
onClick: T[2] || (T[2] = (V) => ye(o).chain().focus().toggleUnderline().run())
|
|
23017
23017
|
}, {
|
|
23018
23018
|
default: Pe(() => [
|
|
@@ -23024,7 +23024,7 @@ const fE = An.create({
|
|
|
23024
23024
|
key: 4,
|
|
23025
23025
|
variant: "light",
|
|
23026
23026
|
type: "button",
|
|
23027
|
-
class:
|
|
23027
|
+
class: We(d.value),
|
|
23028
23028
|
onClick: T[3] || (T[3] = (V) => ye(o).chain().focus().toggleBulletList().run())
|
|
23029
23029
|
}, {
|
|
23030
23030
|
default: Pe(() => [
|
|
@@ -23036,7 +23036,7 @@ const fE = An.create({
|
|
|
23036
23036
|
key: 5,
|
|
23037
23037
|
variant: "light",
|
|
23038
23038
|
type: "button",
|
|
23039
|
-
class:
|
|
23039
|
+
class: We(f.value),
|
|
23040
23040
|
onClick: T[4] || (T[4] = (V) => ye(o).chain().focus().toggleOrderedList().run())
|
|
23041
23041
|
}, {
|
|
23042
23042
|
default: Pe(() => [
|
|
@@ -23048,7 +23048,7 @@ const fE = An.create({
|
|
|
23048
23048
|
key: 6,
|
|
23049
23049
|
variant: "light",
|
|
23050
23050
|
type: "button",
|
|
23051
|
-
class:
|
|
23051
|
+
class: We(h.value),
|
|
23052
23052
|
onClick: y
|
|
23053
23053
|
}, {
|
|
23054
23054
|
default: Pe(() => [
|
|
@@ -23077,7 +23077,7 @@ const fE = An.create({
|
|
|
23077
23077
|
inactive: t.active === !1
|
|
23078
23078
|
})), s = () => e("hide"), i = () => e("signout");
|
|
23079
23079
|
return (o, l) => (W(), q("div", {
|
|
23080
|
-
class:
|
|
23080
|
+
class: We(["bd-mobile-menu", r.value])
|
|
23081
23081
|
}, [
|
|
23082
23082
|
X("div", qE, [
|
|
23083
23083
|
e6,
|
|
@@ -23090,7 +23090,7 @@ const fE = An.create({
|
|
|
23090
23090
|
(W(!0), q(nt, null, At(t.options, (a) => (W(), q("li", s6, [
|
|
23091
23091
|
Se(Js, ln({ class: "nav-link" }, a, { onClick: s }), null, 16)
|
|
23092
23092
|
]))), 256)),
|
|
23093
|
-
|
|
23093
|
+
Ke(o.$slots, "special-options"),
|
|
23094
23094
|
X("li", i6, [
|
|
23095
23095
|
Se(Js, {
|
|
23096
23096
|
class: "nav-link",
|
|
@@ -23120,7 +23120,7 @@ const fE = An.create({
|
|
|
23120
23120
|
X("div", a6, [
|
|
23121
23121
|
X("header", null, [
|
|
23122
23122
|
X("h5", l6, Ne(e.name), 1),
|
|
23123
|
-
|
|
23123
|
+
Ke(r.$slots, "header-extra")
|
|
23124
23124
|
]),
|
|
23125
23125
|
X("span", c6, Ne(t.value), 1)
|
|
23126
23126
|
])
|
|
@@ -23148,7 +23148,7 @@ const fE = An.create({
|
|
|
23148
23148
|
e("show-attachment", a);
|
|
23149
23149
|
};
|
|
23150
23150
|
return (a, c) => (W(), q("div", {
|
|
23151
|
-
class:
|
|
23151
|
+
class: We(["bd-chat-cloud", r.value])
|
|
23152
23152
|
}, [
|
|
23153
23153
|
Se(qo, {
|
|
23154
23154
|
src: t.src,
|
|
@@ -23156,7 +23156,7 @@ const fE = An.create({
|
|
|
23156
23156
|
}, null, 8, ["src"]),
|
|
23157
23157
|
X("div", d6, [
|
|
23158
23158
|
X("div", f6, [
|
|
23159
|
-
|
|
23159
|
+
Ke(a.$slots, "header", {}, () => [
|
|
23160
23160
|
ot(Ne(a.headerTitle), 1)
|
|
23161
23161
|
]),
|
|
23162
23162
|
Se(mt, {
|
|
@@ -23171,7 +23171,7 @@ const fE = An.create({
|
|
|
23171
23171
|
})
|
|
23172
23172
|
]),
|
|
23173
23173
|
X("div", h6, [
|
|
23174
|
-
|
|
23174
|
+
Ke(a.$slots, "body", {}, () => [
|
|
23175
23175
|
X("div", {
|
|
23176
23176
|
class: "bd-chat-cloud-card__message",
|
|
23177
23177
|
innerHTML: t.message
|
|
@@ -23179,7 +23179,7 @@ const fE = An.create({
|
|
|
23179
23179
|
])
|
|
23180
23180
|
]),
|
|
23181
23181
|
X("div", m6, [
|
|
23182
|
-
|
|
23182
|
+
Ke(a.$slots, "footer", {}, () => [
|
|
23183
23183
|
a.pills ? (W(), q("div", g6, [
|
|
23184
23184
|
X("ul", v6, [
|
|
23185
23185
|
(W(!0), q(nt, null, At(a.pills, (u, d) => (W(), q("li", {
|
|
@@ -23224,7 +23224,7 @@ const fE = An.create({
|
|
|
23224
23224
|
return wn(() => t.active, (l, a) => {
|
|
23225
23225
|
l && !a && (r.value = !1, e("sortAsc"));
|
|
23226
23226
|
}), i(), (l, a) => (W(), q("th", {
|
|
23227
|
-
class:
|
|
23227
|
+
class: We(o.value),
|
|
23228
23228
|
onClick: a[0] || (a[0] = (c) => {
|
|
23229
23229
|
s(), i();
|
|
23230
23230
|
})
|
|
@@ -23290,12 +23290,12 @@ const fE = An.create({
|
|
|
23290
23290
|
]),
|
|
23291
23291
|
X("tbody", null, [
|
|
23292
23292
|
(W(!0), q(nt, null, At(s.value, (h) => (W(), q("tr", {
|
|
23293
|
-
class:
|
|
23293
|
+
class: We(r.tbodyTrClass && r.tbodyTrClass(h)),
|
|
23294
23294
|
onClick: (p) => t("row-click", h)
|
|
23295
23295
|
}, [
|
|
23296
23296
|
(W(!0), q(nt, null, At(n.fields, (p) => (W(), q(nt, null, [
|
|
23297
23297
|
p.isVisible ? (W(), q("td", T6, [
|
|
23298
|
-
d.$slots.hasOwnProperty(p.key) ?
|
|
23298
|
+
d.$slots.hasOwnProperty(p.key) ? Ke(d.$slots, p.key, {
|
|
23299
23299
|
key: 0,
|
|
23300
23300
|
row: h,
|
|
23301
23301
|
item: h,
|
|
@@ -23541,7 +23541,7 @@ const fE = An.create({
|
|
|
23541
23541
|
ref: l,
|
|
23542
23542
|
class: ["dropdown-menu", i.value]
|
|
23543
23543
|
}, o.value, { onClick: c }), [
|
|
23544
|
-
|
|
23544
|
+
Ke(u.$slots, "default")
|
|
23545
23545
|
], 16)
|
|
23546
23546
|
]));
|
|
23547
23547
|
}
|
|
@@ -23599,7 +23599,7 @@ const fE = An.create({
|
|
|
23599
23599
|
}, 1032, ["to"]))), 256))
|
|
23600
23600
|
])) : Re("", !0),
|
|
23601
23601
|
X("div", z6, [
|
|
23602
|
-
|
|
23602
|
+
Ke(c.$slots, "profile-side"),
|
|
23603
23603
|
t.profileImageSrc ? (W(), Ge(qo, {
|
|
23604
23604
|
key: 0,
|
|
23605
23605
|
src: t.profileImageSrc,
|
|
@@ -23630,19 +23630,16 @@ const fE = An.create({
|
|
|
23630
23630
|
onSignout: o
|
|
23631
23631
|
}, {
|
|
23632
23632
|
"special-options": Pe(() => [
|
|
23633
|
-
|
|
23633
|
+
Ke(c.$slots, "mobile-menu-special-options")
|
|
23634
23634
|
]),
|
|
23635
23635
|
_: 3
|
|
23636
23636
|
}, 8, ["active", "options"])
|
|
23637
23637
|
], 64));
|
|
23638
23638
|
}
|
|
23639
|
-
}), W6 = {
|
|
23640
|
-
class: "modal bd-modal modal-lg",
|
|
23641
|
-
tabindex: "-1"
|
|
23642
|
-
}, K6 = { class: "modal-dialog" }, G6 = { class: "modal-content" }, Y6 = { class: "modal-header" }, J6 = { class: "modal-title" }, Z6 = ["src"], X6 = /* @__PURE__ */ X("span", null, "Sluiten", -1), Q6 = { class: "modal-body" }, q6 = {
|
|
23639
|
+
}), W6 = { class: "modal-dialog" }, K6 = { class: "modal-content" }, G6 = { class: "modal-header" }, Y6 = { class: "modal-title" }, J6 = ["src"], Z6 = /* @__PURE__ */ X("span", null, "Sluiten", -1), X6 = { class: "modal-body" }, Q6 = {
|
|
23643
23640
|
key: 0,
|
|
23644
23641
|
class: "modal-footer"
|
|
23645
|
-
},
|
|
23642
|
+
}, q6 = ["disabled"], wm = /* @__PURE__ */ $e({
|
|
23646
23643
|
__name: "BDModal",
|
|
23647
23644
|
props: {
|
|
23648
23645
|
title: { default: "" },
|
|
@@ -23652,59 +23649,63 @@ const fE = An.create({
|
|
|
23652
23649
|
hideFooterCancelButton: { type: Boolean, default: !1 },
|
|
23653
23650
|
hideFooterSubmitButton: { type: Boolean, default: !1 },
|
|
23654
23651
|
hideFooter: { type: Boolean, default: !1 },
|
|
23655
|
-
disableSubmitButton: { type: Boolean, default: !1 }
|
|
23652
|
+
disableSubmitButton: { type: Boolean, default: !1 },
|
|
23653
|
+
size: { default: "lg" }
|
|
23656
23654
|
},
|
|
23657
23655
|
emits: ["submit", "cancel"],
|
|
23658
23656
|
setup(n, { emit: e }) {
|
|
23659
|
-
const t = n, r = () => e("submit"),
|
|
23660
|
-
return (
|
|
23661
|
-
|
|
23662
|
-
|
|
23663
|
-
|
|
23664
|
-
|
|
23657
|
+
const t = n, r = ke(() => `modal bd-modal modal-${t.size}`), s = () => e("submit"), i = () => e("cancel");
|
|
23658
|
+
return (o, l) => (W(), q("div", {
|
|
23659
|
+
class: We(r.value),
|
|
23660
|
+
tabindex: "-1"
|
|
23661
|
+
}, [
|
|
23662
|
+
X("div", W6, [
|
|
23663
|
+
X("div", K6, [
|
|
23664
|
+
X("div", G6, [
|
|
23665
|
+
X("h2", Y6, [
|
|
23665
23666
|
t.titleImage ? (W(), q("img", {
|
|
23666
23667
|
key: 0,
|
|
23667
23668
|
src: t.titleImage,
|
|
23668
23669
|
class: "title-image",
|
|
23669
23670
|
alt: ""
|
|
23670
|
-
}, null, 8,
|
|
23671
|
+
}, null, 8, J6)) : Re("", !0),
|
|
23671
23672
|
X("span", null, Ne(t.title), 1)
|
|
23672
23673
|
]),
|
|
23673
|
-
|
|
23674
|
+
Ke(o.$slots, "modal-header-space-between"),
|
|
23674
23675
|
X("button", {
|
|
23675
23676
|
type: "button",
|
|
23676
23677
|
class: "btn-close w-auto",
|
|
23677
23678
|
"data-bs-dismiss": "modal",
|
|
23678
23679
|
"aria-label": "Sluiten",
|
|
23679
|
-
onClick:
|
|
23680
|
+
onClick: i
|
|
23680
23681
|
}, [
|
|
23681
|
-
|
|
23682
|
+
Z6,
|
|
23682
23683
|
Se(ye(oc))
|
|
23683
23684
|
])
|
|
23684
23685
|
]),
|
|
23685
|
-
X("div",
|
|
23686
|
-
|
|
23686
|
+
X("div", X6, [
|
|
23687
|
+
Ke(o.$slots, "default")
|
|
23687
23688
|
]),
|
|
23688
|
-
|
|
23689
|
+
o.hideFooter ? Re("", !0) : (W(), q("div", Q6, [
|
|
23689
23690
|
t.hideFooterSubmitButton ? Re("", !0) : (W(), q("button", {
|
|
23690
23691
|
key: 0,
|
|
23691
23692
|
class: "btn btn-primary",
|
|
23692
23693
|
disabled: t.disableSubmitButton,
|
|
23693
|
-
onClick:
|
|
23694
|
-
}, Ne(t.submitButtonTitle), 9,
|
|
23695
|
-
|
|
23694
|
+
onClick: s
|
|
23695
|
+
}, Ne(t.submitButtonTitle), 9, q6)),
|
|
23696
|
+
Ke(o.$slots, "buttons"),
|
|
23696
23697
|
t.hideFooterCancelButton ? Re("", !0) : (W(), q("button", {
|
|
23697
23698
|
key: 1,
|
|
23698
23699
|
type: "button",
|
|
23699
23700
|
class: "btn btn-link",
|
|
23700
23701
|
"data-bs-dismiss": "modal",
|
|
23701
|
-
onClick:
|
|
23702
|
+
onClick: i,
|
|
23702
23703
|
"aria-label": "Annuleren"
|
|
23703
23704
|
}, Ne(t.closeButtonTitle), 1))
|
|
23704
23705
|
]))
|
|
23705
23706
|
])
|
|
23706
23707
|
])
|
|
23707
|
-
]));
|
|
23708
|
+
], 2));
|
|
23708
23709
|
}
|
|
23709
23710
|
});
|
|
23710
23711
|
/*!
|
|
@@ -23731,12 +23732,12 @@ const jn = /* @__PURE__ */ new Map(), tl = {
|
|
|
23731
23732
|
const t = jn.get(n);
|
|
23732
23733
|
t.delete(e), t.size === 0 && jn.delete(n);
|
|
23733
23734
|
}
|
|
23734
|
-
},
|
|
23735
|
+
}, eS = 1e6, tS = 1e3, ec = "transitionend", Tm = (n) => (n && window.CSS && window.CSS.escape && (n = n.replace(/#([^\s"#']+)/g, (e, t) => `#${CSS.escape(t)}`)), n), nS = (n) => n == null ? `${n}` : Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(), rS = (n) => {
|
|
23735
23736
|
do
|
|
23736
|
-
n += Math.floor(Math.random() *
|
|
23737
|
+
n += Math.floor(Math.random() * eS);
|
|
23737
23738
|
while (document.getElementById(n));
|
|
23738
23739
|
return n;
|
|
23739
|
-
},
|
|
23740
|
+
}, sS = (n) => {
|
|
23740
23741
|
if (!n)
|
|
23741
23742
|
return 0;
|
|
23742
23743
|
let {
|
|
@@ -23744,7 +23745,7 @@ const jn = /* @__PURE__ */ new Map(), tl = {
|
|
|
23744
23745
|
transitionDelay: t
|
|
23745
23746
|
} = window.getComputedStyle(n);
|
|
23746
23747
|
const r = Number.parseFloat(e), s = Number.parseFloat(t);
|
|
23747
|
-
return !r && !s ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) *
|
|
23748
|
+
return !r && !s ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) * tS);
|
|
23748
23749
|
}, xm = (n) => {
|
|
23749
23750
|
n.dispatchEvent(new Event(ec));
|
|
23750
23751
|
}, Pn = (n) => !n || typeof n != "object" ? !1 : (typeof n.jquery < "u" && (n = n[0]), typeof n.nodeType < "u"), sr = (n) => Pn(n) ? n.jquery ? n[0] : n : typeof n == "string" && n.length > 0 ? document.querySelector(Tm(n)) : null, Ms = (n) => {
|
|
@@ -23770,13 +23771,13 @@ const jn = /* @__PURE__ */ new Map(), tl = {
|
|
|
23770
23771
|
}, jo = () => {
|
|
23771
23772
|
}, gi = (n) => {
|
|
23772
23773
|
n.offsetHeight;
|
|
23773
|
-
}, km = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, nl = [],
|
|
23774
|
+
}, km = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, nl = [], iS = (n) => {
|
|
23774
23775
|
document.readyState === "loading" ? (nl.length || document.addEventListener("DOMContentLoaded", () => {
|
|
23775
23776
|
for (const e of nl)
|
|
23776
23777
|
e();
|
|
23777
23778
|
}), nl.push(n)) : n();
|
|
23778
23779
|
}, tn = () => document.documentElement.dir === "rtl", rn = (n) => {
|
|
23779
|
-
|
|
23780
|
+
iS(() => {
|
|
23780
23781
|
const e = km();
|
|
23781
23782
|
if (e) {
|
|
23782
23783
|
const t = n.NAME, r = e.fn[t];
|
|
@@ -23788,7 +23789,7 @@ const jn = /* @__PURE__ */ new Map(), tl = {
|
|
|
23788
23789
|
Rt(n);
|
|
23789
23790
|
return;
|
|
23790
23791
|
}
|
|
23791
|
-
const r = 5, s =
|
|
23792
|
+
const r = 5, s = sS(e) + r;
|
|
23792
23793
|
let i = !1;
|
|
23793
23794
|
const o = ({
|
|
23794
23795
|
target: l
|
|
@@ -23802,12 +23803,12 @@ const jn = /* @__PURE__ */ new Map(), tl = {
|
|
|
23802
23803
|
const s = n.length;
|
|
23803
23804
|
let i = n.indexOf(e);
|
|
23804
23805
|
return i === -1 ? !t && r ? n[s - 1] : n[0] : (i += t ? 1 : -1, r && (i = (i + s) % s), n[Math.max(0, Math.min(i, s - 1))]);
|
|
23805
|
-
},
|
|
23806
|
+
}, oS = /[^.]*(?=\..*)\.|.*/, aS = /\..*/, lS = /::\d+$/, rl = {};
|
|
23806
23807
|
let mf = 1;
|
|
23807
23808
|
const Mm = {
|
|
23808
23809
|
mouseenter: "mouseover",
|
|
23809
23810
|
mouseleave: "mouseout"
|
|
23810
|
-
},
|
|
23811
|
+
}, cS = /* @__PURE__ */ new Set(["click", "dblclick", "mouseup", "mousedown", "contextmenu", "mousewheel", "DOMMouseScroll", "mouseover", "mouseout", "mousemove", "selectstart", "selectend", "keydown", "keypress", "keyup", "orientationchange", "touchstart", "touchmove", "touchend", "touchcancel", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "gesturestart", "gesturechange", "gestureend", "focus", "blur", "change", "reset", "select", "submit", "focusin", "focusout", "load", "unload", "beforeunload", "resize", "move", "DOMContentLoaded", "readystatechange", "error", "abort", "scroll"]);
|
|
23811
23812
|
function _m(n, e) {
|
|
23812
23813
|
return e && `${e}::${mf++}` || n.uidEvent || mf++;
|
|
23813
23814
|
}
|
|
@@ -23815,14 +23816,14 @@ function Im(n) {
|
|
|
23815
23816
|
const e = _m(n);
|
|
23816
23817
|
return n.uidEvent = e, rl[e] = rl[e] || {}, rl[e];
|
|
23817
23818
|
}
|
|
23818
|
-
function
|
|
23819
|
+
function uS(n, e) {
|
|
23819
23820
|
return function t(r) {
|
|
23820
23821
|
return nu(r, {
|
|
23821
23822
|
delegateTarget: n
|
|
23822
23823
|
}), t.oneOff && ae.off(n, r.type, e), e.apply(n, [r]);
|
|
23823
23824
|
};
|
|
23824
23825
|
}
|
|
23825
|
-
function
|
|
23826
|
+
function dS(n, e, t) {
|
|
23826
23827
|
return function r(s) {
|
|
23827
23828
|
const i = n.querySelectorAll(e);
|
|
23828
23829
|
for (let {
|
|
@@ -23841,7 +23842,7 @@ function Dm(n, e, t = null) {
|
|
|
23841
23842
|
function Nm(n, e, t) {
|
|
23842
23843
|
const r = typeof e == "string", s = r ? t : e || t;
|
|
23843
23844
|
let i = Lm(n);
|
|
23844
|
-
return
|
|
23845
|
+
return cS.has(i) || (i = n), [r, s, i];
|
|
23845
23846
|
}
|
|
23846
23847
|
function gf(n, e, t, r, s) {
|
|
23847
23848
|
if (typeof e != "string" || !n)
|
|
@@ -23856,20 +23857,20 @@ function gf(n, e, t, r, s) {
|
|
|
23856
23857
|
u.oneOff = u.oneOff && s;
|
|
23857
23858
|
return;
|
|
23858
23859
|
}
|
|
23859
|
-
const d = _m(o, e.replace(
|
|
23860
|
+
const d = _m(o, e.replace(oS, "")), f = i ? dS(n, t, o) : uS(n, o);
|
|
23860
23861
|
f.delegationSelector = i ? t : null, f.callable = o, f.oneOff = s, f.uidEvent = d, c[d] = f, n.addEventListener(l, f, i);
|
|
23861
23862
|
}
|
|
23862
23863
|
function tc(n, e, t, r, s) {
|
|
23863
23864
|
const i = Dm(e[t], r, s);
|
|
23864
23865
|
i && (n.removeEventListener(t, i, !!s), delete e[t][i.uidEvent]);
|
|
23865
23866
|
}
|
|
23866
|
-
function
|
|
23867
|
+
function fS(n, e, t, r) {
|
|
23867
23868
|
const s = e[t] || {};
|
|
23868
23869
|
for (const [i, o] of Object.entries(s))
|
|
23869
23870
|
i.includes(r) && tc(n, e, t, o.callable, o.delegationSelector);
|
|
23870
23871
|
}
|
|
23871
23872
|
function Lm(n) {
|
|
23872
|
-
return n = n.replace(
|
|
23873
|
+
return n = n.replace(aS, ""), Mm[n] || n;
|
|
23873
23874
|
}
|
|
23874
23875
|
const ae = {
|
|
23875
23876
|
on(n, e, t, r) {
|
|
@@ -23890,9 +23891,9 @@ const ae = {
|
|
|
23890
23891
|
}
|
|
23891
23892
|
if (u)
|
|
23892
23893
|
for (const d of Object.keys(a))
|
|
23893
|
-
|
|
23894
|
+
fS(n, a, d, e.slice(1));
|
|
23894
23895
|
for (const [d, f] of Object.entries(c)) {
|
|
23895
|
-
const h = d.replace(
|
|
23896
|
+
const h = d.replace(lS, "");
|
|
23896
23897
|
(!l || e.includes(h)) && tc(n, a, o, f.callable, f.delegationSelector);
|
|
23897
23898
|
}
|
|
23898
23899
|
},
|
|
@@ -23992,13 +23993,13 @@ class vi {
|
|
|
23992
23993
|
}
|
|
23993
23994
|
_typeCheckConfig(e, t = this.constructor.DefaultType) {
|
|
23994
23995
|
for (const [r, s] of Object.entries(t)) {
|
|
23995
|
-
const i = e[r], o = Pn(i) ? "element" :
|
|
23996
|
+
const i = e[r], o = Pn(i) ? "element" : nS(i);
|
|
23996
23997
|
if (!new RegExp(s).test(o))
|
|
23997
23998
|
throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`);
|
|
23998
23999
|
}
|
|
23999
24000
|
}
|
|
24000
24001
|
}
|
|
24001
|
-
const
|
|
24002
|
+
const hS = "5.3.0";
|
|
24002
24003
|
class fn extends vi {
|
|
24003
24004
|
constructor(e, t) {
|
|
24004
24005
|
super(), e = sr(e), e && (this._element = e, this._config = this._getConfig(t), tl.set(this._element, this.constructor.DATA_KEY, this));
|
|
@@ -24023,7 +24024,7 @@ class fn extends vi {
|
|
|
24023
24024
|
return this.getInstance(e) || new this(e, typeof t == "object" ? t : null);
|
|
24024
24025
|
}
|
|
24025
24026
|
static get VERSION() {
|
|
24026
|
-
return
|
|
24027
|
+
return hS;
|
|
24027
24028
|
}
|
|
24028
24029
|
static get DATA_KEY() {
|
|
24029
24030
|
return `bs.${this.NAME}`;
|
|
@@ -24104,23 +24105,23 @@ const il = (n) => {
|
|
|
24104
24105
|
const i = Oe.getElementFromSelector(this) || this.closest(`.${r}`);
|
|
24105
24106
|
n.getOrCreateInstance(i)[e]();
|
|
24106
24107
|
});
|
|
24107
|
-
},
|
|
24108
|
+
}, pS = "alert", mS = "bs.alert", Rm = `.${mS}`, gS = `close${Rm}`, vS = `closed${Rm}`, yS = "fade", bS = "show";
|
|
24108
24109
|
class ya extends fn {
|
|
24109
24110
|
// Getters
|
|
24110
24111
|
static get NAME() {
|
|
24111
|
-
return
|
|
24112
|
+
return pS;
|
|
24112
24113
|
}
|
|
24113
24114
|
// Public
|
|
24114
24115
|
close() {
|
|
24115
|
-
if (ae.trigger(this._element,
|
|
24116
|
+
if (ae.trigger(this._element, gS).defaultPrevented)
|
|
24116
24117
|
return;
|
|
24117
|
-
this._element.classList.remove(
|
|
24118
|
-
const t = this._element.classList.contains(
|
|
24118
|
+
this._element.classList.remove(bS);
|
|
24119
|
+
const t = this._element.classList.contains(yS);
|
|
24119
24120
|
this._queueCallback(() => this._destroyElement(), this._element, t);
|
|
24120
24121
|
}
|
|
24121
24122
|
// Private
|
|
24122
24123
|
_destroyElement() {
|
|
24123
|
-
this._element.remove(), ae.trigger(this._element,
|
|
24124
|
+
this._element.remove(), ae.trigger(this._element, vS), this.dispose();
|
|
24124
24125
|
}
|
|
24125
24126
|
// Static
|
|
24126
24127
|
static jQueryInterface(e) {
|
|
@@ -24136,15 +24137,15 @@ class ya extends fn {
|
|
|
24136
24137
|
}
|
|
24137
24138
|
va(ya, "close");
|
|
24138
24139
|
rn(ya);
|
|
24139
|
-
const
|
|
24140
|
+
const ES = "button", SS = "bs.button", CS = `.${SS}`, wS = ".data-api", TS = "active", yf = '[data-bs-toggle="button"]', xS = `click${CS}${wS}`;
|
|
24140
24141
|
class ba extends fn {
|
|
24141
24142
|
// Getters
|
|
24142
24143
|
static get NAME() {
|
|
24143
|
-
return
|
|
24144
|
+
return ES;
|
|
24144
24145
|
}
|
|
24145
24146
|
// Public
|
|
24146
24147
|
toggle() {
|
|
24147
|
-
this._element.setAttribute("aria-pressed", this._element.classList.toggle(
|
|
24148
|
+
this._element.setAttribute("aria-pressed", this._element.classList.toggle(TS));
|
|
24148
24149
|
}
|
|
24149
24150
|
// Static
|
|
24150
24151
|
static jQueryInterface(e) {
|
|
@@ -24154,17 +24155,17 @@ class ba extends fn {
|
|
|
24154
24155
|
});
|
|
24155
24156
|
}
|
|
24156
24157
|
}
|
|
24157
|
-
ae.on(document,
|
|
24158
|
+
ae.on(document, xS, yf, (n) => {
|
|
24158
24159
|
n.preventDefault();
|
|
24159
24160
|
const e = n.target.closest(yf);
|
|
24160
24161
|
ba.getOrCreateInstance(e).toggle();
|
|
24161
24162
|
});
|
|
24162
24163
|
rn(ba);
|
|
24163
|
-
const
|
|
24164
|
+
const AS = "swipe", _s = ".bs.swipe", kS = `touchstart${_s}`, OS = `touchmove${_s}`, MS = `touchend${_s}`, _S = `pointerdown${_s}`, IS = `pointerup${_s}`, DS = "touch", NS = "pen", LS = "pointer-event", RS = 40, PS = {
|
|
24164
24165
|
endCallback: null,
|
|
24165
24166
|
leftCallback: null,
|
|
24166
24167
|
rightCallback: null
|
|
24167
|
-
},
|
|
24168
|
+
}, $S = {
|
|
24168
24169
|
endCallback: "(function|null)",
|
|
24169
24170
|
leftCallback: "(function|null)",
|
|
24170
24171
|
rightCallback: "(function|null)"
|
|
@@ -24175,13 +24176,13 @@ class Wo extends vi {
|
|
|
24175
24176
|
}
|
|
24176
24177
|
// Getters
|
|
24177
24178
|
static get Default() {
|
|
24178
|
-
return
|
|
24179
|
+
return PS;
|
|
24179
24180
|
}
|
|
24180
24181
|
static get DefaultType() {
|
|
24181
|
-
return
|
|
24182
|
+
return $S;
|
|
24182
24183
|
}
|
|
24183
24184
|
static get NAME() {
|
|
24184
|
-
return
|
|
24185
|
+
return AS;
|
|
24185
24186
|
}
|
|
24186
24187
|
// Public
|
|
24187
24188
|
dispose() {
|
|
@@ -24203,33 +24204,33 @@ class Wo extends vi {
|
|
|
24203
24204
|
}
|
|
24204
24205
|
_handleSwipe() {
|
|
24205
24206
|
const e = Math.abs(this._deltaX);
|
|
24206
|
-
if (e <=
|
|
24207
|
+
if (e <= RS)
|
|
24207
24208
|
return;
|
|
24208
24209
|
const t = e / this._deltaX;
|
|
24209
24210
|
this._deltaX = 0, t && Rt(t > 0 ? this._config.rightCallback : this._config.leftCallback);
|
|
24210
24211
|
}
|
|
24211
24212
|
_initEvents() {
|
|
24212
|
-
this._supportPointerEvents ? (ae.on(this._element,
|
|
24213
|
+
this._supportPointerEvents ? (ae.on(this._element, _S, (e) => this._start(e)), ae.on(this._element, IS, (e) => this._end(e)), this._element.classList.add(LS)) : (ae.on(this._element, kS, (e) => this._start(e)), ae.on(this._element, OS, (e) => this._move(e)), ae.on(this._element, MS, (e) => this._end(e)));
|
|
24213
24214
|
}
|
|
24214
24215
|
_eventIsPointerPenTouch(e) {
|
|
24215
|
-
return this._supportPointerEvents && (e.pointerType ===
|
|
24216
|
+
return this._supportPointerEvents && (e.pointerType === NS || e.pointerType === DS);
|
|
24216
24217
|
}
|
|
24217
24218
|
// Static
|
|
24218
24219
|
static isSupported() {
|
|
24219
24220
|
return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
|
|
24220
24221
|
}
|
|
24221
24222
|
}
|
|
24222
|
-
const
|
|
24223
|
-
[
|
|
24224
|
-
[
|
|
24225
|
-
},
|
|
24223
|
+
const FS = "carousel", BS = "bs.carousel", fr = `.${BS}`, Pm = ".data-api", VS = "ArrowLeft", HS = "ArrowRight", zS = 500, Ds = "next", jr = "prev", qr = "left", Wi = "right", US = `slide${fr}`, ol = `slid${fr}`, jS = `keydown${fr}`, WS = `mouseenter${fr}`, KS = `mouseleave${fr}`, GS = `dragstart${fr}`, YS = `load${fr}${Pm}`, JS = `click${fr}${Pm}`, $m = "carousel", Ni = "active", ZS = "slide", XS = "carousel-item-end", QS = "carousel-item-start", qS = "carousel-item-next", eC = "carousel-item-prev", Fm = ".active", Bm = ".carousel-item", tC = Fm + Bm, nC = ".carousel-item img", rC = ".carousel-indicators", sC = "[data-bs-slide], [data-bs-slide-to]", iC = '[data-bs-ride="carousel"]', oC = {
|
|
24224
|
+
[VS]: Wi,
|
|
24225
|
+
[HS]: qr
|
|
24226
|
+
}, aC = {
|
|
24226
24227
|
interval: 5e3,
|
|
24227
24228
|
keyboard: !0,
|
|
24228
24229
|
pause: "hover",
|
|
24229
24230
|
ride: !1,
|
|
24230
24231
|
touch: !0,
|
|
24231
24232
|
wrap: !0
|
|
24232
|
-
},
|
|
24233
|
+
}, lC = {
|
|
24233
24234
|
interval: "(number|boolean)",
|
|
24234
24235
|
// TODO:v6 remove boolean support
|
|
24235
24236
|
keyboard: "boolean",
|
|
@@ -24240,17 +24241,17 @@ const BS = "carousel", VS = "bs.carousel", fr = `.${VS}`, Pm = ".data-api", HS =
|
|
|
24240
24241
|
};
|
|
24241
24242
|
class yi extends fn {
|
|
24242
24243
|
constructor(e, t) {
|
|
24243
|
-
super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = Oe.findOne(
|
|
24244
|
+
super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = Oe.findOne(rC, this._element), this._addEventListeners(), this._config.ride === $m && this.cycle();
|
|
24244
24245
|
}
|
|
24245
24246
|
// Getters
|
|
24246
24247
|
static get Default() {
|
|
24247
|
-
return
|
|
24248
|
+
return aC;
|
|
24248
24249
|
}
|
|
24249
24250
|
static get DefaultType() {
|
|
24250
|
-
return
|
|
24251
|
+
return lC;
|
|
24251
24252
|
}
|
|
24252
24253
|
static get NAME() {
|
|
24253
|
-
return
|
|
24254
|
+
return FS;
|
|
24254
24255
|
}
|
|
24255
24256
|
// Public
|
|
24256
24257
|
next() {
|
|
@@ -24299,16 +24300,16 @@ class yi extends fn {
|
|
|
24299
24300
|
return e.defaultInterval = e.interval, e;
|
|
24300
24301
|
}
|
|
24301
24302
|
_addEventListeners() {
|
|
24302
|
-
this._config.keyboard && ae.on(this._element,
|
|
24303
|
+
this._config.keyboard && ae.on(this._element, jS, (e) => this._keydown(e)), this._config.pause === "hover" && (ae.on(this._element, WS, () => this.pause()), ae.on(this._element, KS, () => this._maybeEnableCycle())), this._config.touch && Wo.isSupported() && this._addTouchEventListeners();
|
|
24303
24304
|
}
|
|
24304
24305
|
_addTouchEventListeners() {
|
|
24305
|
-
for (const r of Oe.find(
|
|
24306
|
-
ae.on(r,
|
|
24306
|
+
for (const r of Oe.find(nC, this._element))
|
|
24307
|
+
ae.on(r, GS, (s) => s.preventDefault());
|
|
24307
24308
|
const t = {
|
|
24308
24309
|
leftCallback: () => this._slide(this._directionToOrder(qr)),
|
|
24309
24310
|
rightCallback: () => this._slide(this._directionToOrder(Wi)),
|
|
24310
24311
|
endCallback: () => {
|
|
24311
|
-
this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(),
|
|
24312
|
+
this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), zS + this._config.interval));
|
|
24312
24313
|
}
|
|
24313
24314
|
};
|
|
24314
24315
|
this._swipeHelper = new Wo(this._element, t);
|
|
@@ -24316,7 +24317,7 @@ class yi extends fn {
|
|
|
24316
24317
|
_keydown(e) {
|
|
24317
24318
|
if (/input|textarea/i.test(e.target.tagName))
|
|
24318
24319
|
return;
|
|
24319
|
-
const t =
|
|
24320
|
+
const t = oC[e.key];
|
|
24320
24321
|
t && (e.preventDefault(), this._slide(this._directionToOrder(t)));
|
|
24321
24322
|
}
|
|
24322
24323
|
_getItemIndex(e) {
|
|
@@ -24349,11 +24350,11 @@ class yi extends fn {
|
|
|
24349
24350
|
from: this._getItemIndex(r),
|
|
24350
24351
|
to: o
|
|
24351
24352
|
});
|
|
24352
|
-
if (l(
|
|
24353
|
+
if (l(US).defaultPrevented || !r || !i)
|
|
24353
24354
|
return;
|
|
24354
24355
|
const c = !!this._interval;
|
|
24355
24356
|
this.pause(), this._isSliding = !0, this._setActiveIndicatorElement(o), this._activeElement = i;
|
|
24356
|
-
const u = s ?
|
|
24357
|
+
const u = s ? QS : XS, d = s ? qS : eC;
|
|
24357
24358
|
i.classList.add(d), gi(i), r.classList.add(u), i.classList.add(u);
|
|
24358
24359
|
const f = () => {
|
|
24359
24360
|
i.classList.remove(u, d), i.classList.add(Ni), r.classList.remove(Ni, d, u), this._isSliding = !1, l(ol);
|
|
@@ -24361,10 +24362,10 @@ class yi extends fn {
|
|
|
24361
24362
|
this._queueCallback(f, r, this._isAnimated()), c && this.cycle();
|
|
24362
24363
|
}
|
|
24363
24364
|
_isAnimated() {
|
|
24364
|
-
return this._element.classList.contains(
|
|
24365
|
+
return this._element.classList.contains(ZS);
|
|
24365
24366
|
}
|
|
24366
24367
|
_getActive() {
|
|
24367
|
-
return Oe.findOne(
|
|
24368
|
+
return Oe.findOne(tC, this._element);
|
|
24368
24369
|
}
|
|
24369
24370
|
_getItems() {
|
|
24370
24371
|
return Oe.find(Bm, this._element);
|
|
@@ -24394,7 +24395,7 @@ class yi extends fn {
|
|
|
24394
24395
|
});
|
|
24395
24396
|
}
|
|
24396
24397
|
}
|
|
24397
|
-
ae.on(document,
|
|
24398
|
+
ae.on(document, JS, sC, function(n) {
|
|
24398
24399
|
const e = Oe.getElementFromSelector(this);
|
|
24399
24400
|
if (!e || !e.classList.contains($m))
|
|
24400
24401
|
return;
|
|
@@ -24410,16 +24411,16 @@ ae.on(document, ZS, iC, function(n) {
|
|
|
24410
24411
|
}
|
|
24411
24412
|
t.prev(), t._maybeEnableCycle();
|
|
24412
24413
|
});
|
|
24413
|
-
ae.on(window,
|
|
24414
|
-
const n = Oe.find(
|
|
24414
|
+
ae.on(window, YS, () => {
|
|
24415
|
+
const n = Oe.find(iC);
|
|
24415
24416
|
for (const e of n)
|
|
24416
24417
|
yi.getOrCreateInstance(e);
|
|
24417
24418
|
});
|
|
24418
24419
|
rn(yi);
|
|
24419
|
-
const
|
|
24420
|
+
const cC = "collapse", uC = "bs.collapse", bi = `.${uC}`, dC = ".data-api", fC = `show${bi}`, hC = `shown${bi}`, pC = `hide${bi}`, mC = `hidden${bi}`, gC = `click${bi}${dC}`, al = "show", ss = "collapse", Li = "collapsing", vC = "collapsed", yC = `:scope .${ss} .${ss}`, bC = "collapse-horizontal", EC = "width", SC = "height", CC = ".collapse.show, .collapse.collapsing", nc = '[data-bs-toggle="collapse"]', wC = {
|
|
24420
24421
|
parent: null,
|
|
24421
24422
|
toggle: !0
|
|
24422
|
-
},
|
|
24423
|
+
}, TC = {
|
|
24423
24424
|
parent: "(null|element)",
|
|
24424
24425
|
toggle: "boolean"
|
|
24425
24426
|
};
|
|
@@ -24435,13 +24436,13 @@ class li extends fn {
|
|
|
24435
24436
|
}
|
|
24436
24437
|
// Getters
|
|
24437
24438
|
static get Default() {
|
|
24438
|
-
return
|
|
24439
|
+
return wC;
|
|
24439
24440
|
}
|
|
24440
24441
|
static get DefaultType() {
|
|
24441
|
-
return
|
|
24442
|
+
return TC;
|
|
24442
24443
|
}
|
|
24443
24444
|
static get NAME() {
|
|
24444
|
-
return
|
|
24445
|
+
return cC;
|
|
24445
24446
|
}
|
|
24446
24447
|
// Public
|
|
24447
24448
|
toggle() {
|
|
@@ -24451,21 +24452,21 @@ class li extends fn {
|
|
|
24451
24452
|
if (this._isTransitioning || this._isShown())
|
|
24452
24453
|
return;
|
|
24453
24454
|
let e = [];
|
|
24454
|
-
if (this._config.parent && (e = this._getFirstLevelChildren(
|
|
24455
|
+
if (this._config.parent && (e = this._getFirstLevelChildren(CC).filter((l) => l !== this._element).map((l) => li.getOrCreateInstance(l, {
|
|
24455
24456
|
toggle: !1
|
|
24456
|
-
}))), e.length && e[0]._isTransitioning || ae.trigger(this._element,
|
|
24457
|
+
}))), e.length && e[0]._isTransitioning || ae.trigger(this._element, fC).defaultPrevented)
|
|
24457
24458
|
return;
|
|
24458
24459
|
for (const l of e)
|
|
24459
24460
|
l.hide();
|
|
24460
24461
|
const r = this._getDimension();
|
|
24461
24462
|
this._element.classList.remove(ss), this._element.classList.add(Li), this._element.style[r] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0;
|
|
24462
24463
|
const s = () => {
|
|
24463
|
-
this._isTransitioning = !1, this._element.classList.remove(Li), this._element.classList.add(ss, al), this._element.style[r] = "", ae.trigger(this._element,
|
|
24464
|
+
this._isTransitioning = !1, this._element.classList.remove(Li), this._element.classList.add(ss, al), this._element.style[r] = "", ae.trigger(this._element, hC);
|
|
24464
24465
|
}, o = `scroll${r[0].toUpperCase() + r.slice(1)}`;
|
|
24465
24466
|
this._queueCallback(s, this._element, !0), this._element.style[r] = `${this._element[o]}px`;
|
|
24466
24467
|
}
|
|
24467
24468
|
hide() {
|
|
24468
|
-
if (this._isTransitioning || !this._isShown() || ae.trigger(this._element,
|
|
24469
|
+
if (this._isTransitioning || !this._isShown() || ae.trigger(this._element, pC).defaultPrevented)
|
|
24469
24470
|
return;
|
|
24470
24471
|
const t = this._getDimension();
|
|
24471
24472
|
this._element.style[t] = `${this._element.getBoundingClientRect()[t]}px`, gi(this._element), this._element.classList.add(Li), this._element.classList.remove(ss, al);
|
|
@@ -24475,7 +24476,7 @@ class li extends fn {
|
|
|
24475
24476
|
}
|
|
24476
24477
|
this._isTransitioning = !0;
|
|
24477
24478
|
const r = () => {
|
|
24478
|
-
this._isTransitioning = !1, this._element.classList.remove(Li), this._element.classList.add(ss), ae.trigger(this._element,
|
|
24479
|
+
this._isTransitioning = !1, this._element.classList.remove(Li), this._element.classList.add(ss), ae.trigger(this._element, mC);
|
|
24479
24480
|
};
|
|
24480
24481
|
this._element.style[t] = "", this._queueCallback(r, this._element, !0);
|
|
24481
24482
|
}
|
|
@@ -24487,7 +24488,7 @@ class li extends fn {
|
|
|
24487
24488
|
return e.toggle = !!e.toggle, e.parent = sr(e.parent), e;
|
|
24488
24489
|
}
|
|
24489
24490
|
_getDimension() {
|
|
24490
|
-
return this._element.classList.contains(
|
|
24491
|
+
return this._element.classList.contains(bC) ? EC : SC;
|
|
24491
24492
|
}
|
|
24492
24493
|
_initializeChildren() {
|
|
24493
24494
|
if (!this._config.parent)
|
|
@@ -24499,13 +24500,13 @@ class li extends fn {
|
|
|
24499
24500
|
}
|
|
24500
24501
|
}
|
|
24501
24502
|
_getFirstLevelChildren(e) {
|
|
24502
|
-
const t = Oe.find(
|
|
24503
|
+
const t = Oe.find(yC, this._config.parent);
|
|
24503
24504
|
return Oe.find(e, this._config.parent).filter((r) => !t.includes(r));
|
|
24504
24505
|
}
|
|
24505
24506
|
_addAriaAndCollapsedClass(e, t) {
|
|
24506
24507
|
if (e.length)
|
|
24507
24508
|
for (const r of e)
|
|
24508
|
-
r.classList.toggle(
|
|
24509
|
+
r.classList.toggle(vC, !t), r.setAttribute("aria-expanded", t);
|
|
24509
24510
|
}
|
|
24510
24511
|
// Static
|
|
24511
24512
|
static jQueryInterface(e) {
|
|
@@ -24520,7 +24521,7 @@ class li extends fn {
|
|
|
24520
24521
|
});
|
|
24521
24522
|
}
|
|
24522
24523
|
}
|
|
24523
|
-
ae.on(document,
|
|
24524
|
+
ae.on(document, gC, nc, function(n) {
|
|
24524
24525
|
(n.target.tagName === "A" || n.delegateTarget && n.delegateTarget.tagName === "A") && n.preventDefault();
|
|
24525
24526
|
for (const e of Oe.getMultipleElementsFromSelector(this))
|
|
24526
24527
|
li.getOrCreateInstance(e, {
|
|
@@ -24528,14 +24529,14 @@ ae.on(document, vC, nc, function(n) {
|
|
|
24528
24529
|
}).toggle();
|
|
24529
24530
|
});
|
|
24530
24531
|
rn(li);
|
|
24531
|
-
const bf = "dropdown",
|
|
24532
|
+
const bf = "dropdown", xC = "bs.dropdown", Pr = `.${xC}`, ru = ".data-api", AC = "Escape", Ef = "Tab", kC = "ArrowUp", Sf = "ArrowDown", OC = 2, MC = `hide${Pr}`, _C = `hidden${Pr}`, IC = `show${Pr}`, DC = `shown${Pr}`, Vm = `click${Pr}${ru}`, Hm = `keydown${Pr}${ru}`, NC = `keyup${Pr}${ru}`, es = "show", LC = "dropup", RC = "dropend", PC = "dropstart", $C = "dropup-center", FC = "dropdown-center", Cr = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', BC = `${Cr}.${es}`, Ki = ".dropdown-menu", VC = ".navbar", HC = ".navbar-nav", zC = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", UC = tn() ? "top-end" : "top-start", jC = tn() ? "top-start" : "top-end", WC = tn() ? "bottom-end" : "bottom-start", KC = tn() ? "bottom-start" : "bottom-end", GC = tn() ? "left-start" : "right-start", YC = tn() ? "right-start" : "left-start", JC = "top", ZC = "bottom", XC = {
|
|
24532
24533
|
autoClose: !0,
|
|
24533
24534
|
boundary: "clippingParents",
|
|
24534
24535
|
display: "dynamic",
|
|
24535
24536
|
offset: [0, 2],
|
|
24536
24537
|
popperConfig: null,
|
|
24537
24538
|
reference: "toggle"
|
|
24538
|
-
},
|
|
24539
|
+
}, QC = {
|
|
24539
24540
|
autoClose: "(boolean|string)",
|
|
24540
24541
|
boundary: "(string|element)",
|
|
24541
24542
|
display: "string",
|
|
@@ -24549,10 +24550,10 @@ class Cn extends fn {
|
|
|
24549
24550
|
}
|
|
24550
24551
|
// Getters
|
|
24551
24552
|
static get Default() {
|
|
24552
|
-
return
|
|
24553
|
+
return XC;
|
|
24553
24554
|
}
|
|
24554
24555
|
static get DefaultType() {
|
|
24555
|
-
return
|
|
24556
|
+
return QC;
|
|
24556
24557
|
}
|
|
24557
24558
|
static get NAME() {
|
|
24558
24559
|
return bf;
|
|
@@ -24567,11 +24568,11 @@ class Cn extends fn {
|
|
|
24567
24568
|
const e = {
|
|
24568
24569
|
relatedTarget: this._element
|
|
24569
24570
|
};
|
|
24570
|
-
if (!ae.trigger(this._element,
|
|
24571
|
-
if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(
|
|
24571
|
+
if (!ae.trigger(this._element, IC, e).defaultPrevented) {
|
|
24572
|
+
if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(HC))
|
|
24572
24573
|
for (const r of [].concat(...document.body.children))
|
|
24573
24574
|
ae.on(r, "mouseover", jo);
|
|
24574
|
-
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(es), this._element.classList.add(es), ae.trigger(this._element,
|
|
24575
|
+
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(es), this._element.classList.add(es), ae.trigger(this._element, DC, e);
|
|
24575
24576
|
}
|
|
24576
24577
|
}
|
|
24577
24578
|
hide() {
|
|
@@ -24590,11 +24591,11 @@ class Cn extends fn {
|
|
|
24590
24591
|
}
|
|
24591
24592
|
// Private
|
|
24592
24593
|
_completeHide(e) {
|
|
24593
|
-
if (!ae.trigger(this._element,
|
|
24594
|
+
if (!ae.trigger(this._element, MC, e).defaultPrevented) {
|
|
24594
24595
|
if ("ontouchstart" in document.documentElement)
|
|
24595
24596
|
for (const r of [].concat(...document.body.children))
|
|
24596
24597
|
ae.off(r, "mouseover", jo);
|
|
24597
|
-
this._popper && this._popper.destroy(), this._menu.classList.remove(es), this._element.classList.remove(es), this._element.setAttribute("aria-expanded", "false"), $n.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element,
|
|
24598
|
+
this._popper && this._popper.destroy(), this._menu.classList.remove(es), this._element.classList.remove(es), this._element.setAttribute("aria-expanded", "false"), $n.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element, _C, e);
|
|
24598
24599
|
}
|
|
24599
24600
|
}
|
|
24600
24601
|
_getConfig(e) {
|
|
@@ -24615,19 +24616,19 @@ class Cn extends fn {
|
|
|
24615
24616
|
}
|
|
24616
24617
|
_getPlacement() {
|
|
24617
24618
|
const e = this._parent;
|
|
24619
|
+
if (e.classList.contains(RC))
|
|
24620
|
+
return GC;
|
|
24618
24621
|
if (e.classList.contains(PC))
|
|
24619
24622
|
return YC;
|
|
24620
24623
|
if (e.classList.contains($C))
|
|
24621
24624
|
return JC;
|
|
24622
24625
|
if (e.classList.contains(FC))
|
|
24623
24626
|
return ZC;
|
|
24624
|
-
if (e.classList.contains(BC))
|
|
24625
|
-
return XC;
|
|
24626
24627
|
const t = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
|
|
24627
|
-
return e.classList.contains(
|
|
24628
|
+
return e.classList.contains(LC) ? t ? jC : UC : t ? KC : WC;
|
|
24628
24629
|
}
|
|
24629
24630
|
_detectNavbar() {
|
|
24630
|
-
return this._element.closest(
|
|
24631
|
+
return this._element.closest(VC) !== null;
|
|
24631
24632
|
}
|
|
24632
24633
|
_getOffset() {
|
|
24633
24634
|
const {
|
|
@@ -24662,7 +24663,7 @@ class Cn extends fn {
|
|
|
24662
24663
|
key: e,
|
|
24663
24664
|
target: t
|
|
24664
24665
|
}) {
|
|
24665
|
-
const r = Oe.find(
|
|
24666
|
+
const r = Oe.find(zC, this._menu).filter((s) => Ms(s));
|
|
24666
24667
|
r.length && tu(r, t, e === Sf, !r.includes(t)).focus();
|
|
24667
24668
|
}
|
|
24668
24669
|
// Static
|
|
@@ -24677,9 +24678,9 @@ class Cn extends fn {
|
|
|
24677
24678
|
});
|
|
24678
24679
|
}
|
|
24679
24680
|
static clearMenus(e) {
|
|
24680
|
-
if (e.button ===
|
|
24681
|
+
if (e.button === OC || e.type === "keyup" && e.key !== Ef)
|
|
24681
24682
|
return;
|
|
24682
|
-
const t = Oe.find(
|
|
24683
|
+
const t = Oe.find(BC);
|
|
24683
24684
|
for (const r of t) {
|
|
24684
24685
|
const s = Cn.getInstance(r);
|
|
24685
24686
|
if (!s || s._config.autoClose === !1)
|
|
@@ -24694,7 +24695,7 @@ class Cn extends fn {
|
|
|
24694
24695
|
}
|
|
24695
24696
|
}
|
|
24696
24697
|
static dataApiKeydownHandler(e) {
|
|
24697
|
-
const t = /input|textarea/i.test(e.target.tagName), r = e.key ===
|
|
24698
|
+
const t = /input|textarea/i.test(e.target.tagName), r = e.key === AC, s = [kC, Sf].includes(e.key);
|
|
24698
24699
|
if (!s && !r || t && !r)
|
|
24699
24700
|
return;
|
|
24700
24701
|
e.preventDefault();
|
|
@@ -24709,12 +24710,12 @@ class Cn extends fn {
|
|
|
24709
24710
|
ae.on(document, Hm, Cr, Cn.dataApiKeydownHandler);
|
|
24710
24711
|
ae.on(document, Hm, Ki, Cn.dataApiKeydownHandler);
|
|
24711
24712
|
ae.on(document, Vm, Cn.clearMenus);
|
|
24712
|
-
ae.on(document,
|
|
24713
|
+
ae.on(document, NC, Cn.clearMenus);
|
|
24713
24714
|
ae.on(document, Vm, Cr, function(n) {
|
|
24714
24715
|
n.preventDefault(), Cn.getOrCreateInstance(this).toggle();
|
|
24715
24716
|
});
|
|
24716
24717
|
rn(Cn);
|
|
24717
|
-
const zm = "backdrop",
|
|
24718
|
+
const zm = "backdrop", qC = "fade", Cf = "show", wf = `mousedown.bs.${zm}`, ew = {
|
|
24718
24719
|
className: "modal-backdrop",
|
|
24719
24720
|
clickCallback: null,
|
|
24720
24721
|
isAnimated: !1,
|
|
@@ -24722,7 +24723,7 @@ const zm = "backdrop", ew = "fade", Cf = "show", wf = `mousedown.bs.${zm}`, tw =
|
|
|
24722
24723
|
// if false, we use the backdrop helper without adding any element to the dom
|
|
24723
24724
|
rootElement: "body"
|
|
24724
24725
|
// give the choice to place backdrop under different elements
|
|
24725
|
-
},
|
|
24726
|
+
}, tw = {
|
|
24726
24727
|
className: "string",
|
|
24727
24728
|
clickCallback: "(function|null)",
|
|
24728
24729
|
isAnimated: "boolean",
|
|
@@ -24735,10 +24736,10 @@ class Um extends vi {
|
|
|
24735
24736
|
}
|
|
24736
24737
|
// Getters
|
|
24737
24738
|
static get Default() {
|
|
24738
|
-
return
|
|
24739
|
+
return ew;
|
|
24739
24740
|
}
|
|
24740
24741
|
static get DefaultType() {
|
|
24741
|
-
return
|
|
24742
|
+
return tw;
|
|
24742
24743
|
}
|
|
24743
24744
|
static get NAME() {
|
|
24744
24745
|
return zm;
|
|
@@ -24771,7 +24772,7 @@ class Um extends vi {
|
|
|
24771
24772
|
_getElement() {
|
|
24772
24773
|
if (!this._element) {
|
|
24773
24774
|
const e = document.createElement("div");
|
|
24774
|
-
e.className = this._config.className, this._config.isAnimated && e.classList.add(
|
|
24775
|
+
e.className = this._config.className, this._config.isAnimated && e.classList.add(qC), this._element = e;
|
|
24775
24776
|
}
|
|
24776
24777
|
return this._element;
|
|
24777
24778
|
}
|
|
@@ -24790,11 +24791,11 @@ class Um extends vi {
|
|
|
24790
24791
|
Om(e, this._getElement(), this._config.isAnimated);
|
|
24791
24792
|
}
|
|
24792
24793
|
}
|
|
24793
|
-
const
|
|
24794
|
+
const nw = "focustrap", rw = "bs.focustrap", Ko = `.${rw}`, sw = `focusin${Ko}`, iw = `keydown.tab${Ko}`, ow = "Tab", aw = "forward", Tf = "backward", lw = {
|
|
24794
24795
|
autofocus: !0,
|
|
24795
24796
|
trapElement: null
|
|
24796
24797
|
// The element to trap focus inside of
|
|
24797
|
-
},
|
|
24798
|
+
}, cw = {
|
|
24798
24799
|
autofocus: "boolean",
|
|
24799
24800
|
trapElement: "element"
|
|
24800
24801
|
};
|
|
@@ -24804,17 +24805,17 @@ class jm extends vi {
|
|
|
24804
24805
|
}
|
|
24805
24806
|
// Getters
|
|
24806
24807
|
static get Default() {
|
|
24807
|
-
return
|
|
24808
|
+
return lw;
|
|
24808
24809
|
}
|
|
24809
24810
|
static get DefaultType() {
|
|
24810
|
-
return
|
|
24811
|
+
return cw;
|
|
24811
24812
|
}
|
|
24812
24813
|
static get NAME() {
|
|
24813
|
-
return
|
|
24814
|
+
return nw;
|
|
24814
24815
|
}
|
|
24815
24816
|
// Public
|
|
24816
24817
|
activate() {
|
|
24817
|
-
this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ae.off(document, Ko), ae.on(document,
|
|
24818
|
+
this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ae.off(document, Ko), ae.on(document, sw, (e) => this._handleFocusin(e)), ae.on(document, iw, (e) => this._handleKeydown(e)), this._isActive = !0);
|
|
24818
24819
|
}
|
|
24819
24820
|
deactivate() {
|
|
24820
24821
|
this._isActive && (this._isActive = !1, ae.off(document, Ko));
|
|
@@ -24830,7 +24831,7 @@ class jm extends vi {
|
|
|
24830
24831
|
r.length === 0 ? t.focus() : this._lastTabNavDirection === Tf ? r[r.length - 1].focus() : r[0].focus();
|
|
24831
24832
|
}
|
|
24832
24833
|
_handleKeydown(e) {
|
|
24833
|
-
e.key ===
|
|
24834
|
+
e.key === ow && (this._lastTabNavDirection = e.shiftKey ? Tf : aw);
|
|
24834
24835
|
}
|
|
24835
24836
|
}
|
|
24836
24837
|
const xf = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", Af = ".sticky-top", Ri = "padding-right", kf = "margin-right";
|
|
@@ -24891,28 +24892,28 @@ class rc {
|
|
|
24891
24892
|
t(r);
|
|
24892
24893
|
}
|
|
24893
24894
|
}
|
|
24894
|
-
const
|
|
24895
|
+
const uw = "modal", dw = "bs.modal", nn = `.${dw}`, fw = ".data-api", hw = "Escape", pw = `hide${nn}`, mw = `hidePrevented${nn}`, Wm = `hidden${nn}`, Km = `show${nn}`, gw = `shown${nn}`, vw = `resize${nn}`, yw = `click.dismiss${nn}`, bw = `mousedown.dismiss${nn}`, Ew = `keydown.dismiss${nn}`, Sw = `click${nn}${fw}`, Of = "modal-open", Cw = "fade", Mf = "show", ll = "modal-static", ww = ".modal.show", Tw = ".modal-dialog", xw = ".modal-body", Aw = '[data-bs-toggle="modal"]', kw = {
|
|
24895
24896
|
backdrop: !0,
|
|
24896
24897
|
focus: !0,
|
|
24897
24898
|
keyboard: !0
|
|
24898
|
-
},
|
|
24899
|
+
}, Ow = {
|
|
24899
24900
|
backdrop: "(boolean|string)",
|
|
24900
24901
|
focus: "boolean",
|
|
24901
24902
|
keyboard: "boolean"
|
|
24902
24903
|
};
|
|
24903
24904
|
class or extends fn {
|
|
24904
24905
|
constructor(e, t) {
|
|
24905
|
-
super(e, t), this._dialog = Oe.findOne(
|
|
24906
|
+
super(e, t), this._dialog = Oe.findOne(Tw, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new rc(), this._addEventListeners();
|
|
24906
24907
|
}
|
|
24907
24908
|
// Getters
|
|
24908
24909
|
static get Default() {
|
|
24909
|
-
return
|
|
24910
|
+
return kw;
|
|
24910
24911
|
}
|
|
24911
24912
|
static get DefaultType() {
|
|
24912
|
-
return
|
|
24913
|
+
return Ow;
|
|
24913
24914
|
}
|
|
24914
24915
|
static get NAME() {
|
|
24915
|
-
return
|
|
24916
|
+
return uw;
|
|
24916
24917
|
}
|
|
24917
24918
|
// Public
|
|
24918
24919
|
toggle(e) {
|
|
@@ -24924,7 +24925,7 @@ class or extends fn {
|
|
|
24924
24925
|
}).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(Of), this._adjustDialog(), this._backdrop.show(() => this._showElement(e)));
|
|
24925
24926
|
}
|
|
24926
24927
|
hide() {
|
|
24927
|
-
!this._isShown || this._isTransitioning || ae.trigger(this._element,
|
|
24928
|
+
!this._isShown || this._isTransitioning || ae.trigger(this._element, pw).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(Mf), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
|
|
24928
24929
|
}
|
|
24929
24930
|
dispose() {
|
|
24930
24931
|
ae.off(window, nn), ae.off(this._dialog, nn), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
|
|
@@ -24947,28 +24948,28 @@ class or extends fn {
|
|
|
24947
24948
|
}
|
|
24948
24949
|
_showElement(e) {
|
|
24949
24950
|
document.body.contains(this._element) || document.body.append(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.scrollTop = 0;
|
|
24950
|
-
const t = Oe.findOne(
|
|
24951
|
+
const t = Oe.findOne(xw, this._dialog);
|
|
24951
24952
|
t && (t.scrollTop = 0), gi(this._element), this._element.classList.add(Mf);
|
|
24952
24953
|
const r = () => {
|
|
24953
|
-
this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ae.trigger(this._element,
|
|
24954
|
+
this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ae.trigger(this._element, gw, {
|
|
24954
24955
|
relatedTarget: e
|
|
24955
24956
|
});
|
|
24956
24957
|
};
|
|
24957
24958
|
this._queueCallback(r, this._dialog, this._isAnimated());
|
|
24958
24959
|
}
|
|
24959
24960
|
_addEventListeners() {
|
|
24960
|
-
ae.on(this._element,
|
|
24961
|
-
if (e.key ===
|
|
24961
|
+
ae.on(this._element, Ew, (e) => {
|
|
24962
|
+
if (e.key === hw) {
|
|
24962
24963
|
if (this._config.keyboard) {
|
|
24963
24964
|
this.hide();
|
|
24964
24965
|
return;
|
|
24965
24966
|
}
|
|
24966
24967
|
this._triggerBackdropTransition();
|
|
24967
24968
|
}
|
|
24968
|
-
}), ae.on(window,
|
|
24969
|
+
}), ae.on(window, vw, () => {
|
|
24969
24970
|
this._isShown && !this._isTransitioning && this._adjustDialog();
|
|
24970
|
-
}), ae.on(this._element,
|
|
24971
|
-
ae.one(this._element,
|
|
24971
|
+
}), ae.on(this._element, bw, (e) => {
|
|
24972
|
+
ae.one(this._element, yw, (t) => {
|
|
24972
24973
|
if (!(this._element !== e.target || this._element !== t.target)) {
|
|
24973
24974
|
if (this._config.backdrop === "static") {
|
|
24974
24975
|
this._triggerBackdropTransition();
|
|
@@ -24985,10 +24986,10 @@ class or extends fn {
|
|
|
24985
24986
|
});
|
|
24986
24987
|
}
|
|
24987
24988
|
_isAnimated() {
|
|
24988
|
-
return this._element.classList.contains(
|
|
24989
|
+
return this._element.classList.contains(Cw);
|
|
24989
24990
|
}
|
|
24990
24991
|
_triggerBackdropTransition() {
|
|
24991
|
-
if (ae.trigger(this._element,
|
|
24992
|
+
if (ae.trigger(this._element, mw).defaultPrevented)
|
|
24992
24993
|
return;
|
|
24993
24994
|
const t = this._element.scrollHeight > document.documentElement.clientHeight, r = this._element.style.overflowY;
|
|
24994
24995
|
r === "hidden" || this._element.classList.contains(ll) || (t || (this._element.style.overflowY = "hidden"), this._element.classList.add(ll), this._queueCallback(() => {
|
|
@@ -25026,23 +25027,23 @@ class or extends fn {
|
|
|
25026
25027
|
});
|
|
25027
25028
|
}
|
|
25028
25029
|
}
|
|
25029
|
-
ae.on(document,
|
|
25030
|
+
ae.on(document, Sw, Aw, function(n) {
|
|
25030
25031
|
const e = Oe.getElementFromSelector(this);
|
|
25031
25032
|
["A", "AREA"].includes(this.tagName) && n.preventDefault(), ae.one(e, Km, (s) => {
|
|
25032
25033
|
s.defaultPrevented || ae.one(e, Wm, () => {
|
|
25033
25034
|
Ms(this) && this.focus();
|
|
25034
25035
|
});
|
|
25035
25036
|
});
|
|
25036
|
-
const t = Oe.findOne(
|
|
25037
|
+
const t = Oe.findOne(ww);
|
|
25037
25038
|
t && or.getInstance(t).hide(), or.getOrCreateInstance(e).toggle(this);
|
|
25038
25039
|
});
|
|
25039
25040
|
va(or);
|
|
25040
25041
|
rn(or);
|
|
25041
|
-
const
|
|
25042
|
+
const Mw = "offcanvas", _w = "bs.offcanvas", Bn = `.${_w}`, Gm = ".data-api", Iw = `load${Bn}${Gm}`, Dw = "Escape", _f = "show", If = "showing", Df = "hiding", Nw = "offcanvas-backdrop", Ym = ".offcanvas.show", Lw = `show${Bn}`, Rw = `shown${Bn}`, Pw = `hide${Bn}`, Nf = `hidePrevented${Bn}`, Jm = `hidden${Bn}`, $w = `resize${Bn}`, Fw = `click${Bn}${Gm}`, Bw = `keydown.dismiss${Bn}`, Vw = '[data-bs-toggle="offcanvas"]', Hw = {
|
|
25042
25043
|
backdrop: !0,
|
|
25043
25044
|
keyboard: !0,
|
|
25044
25045
|
scroll: !1
|
|
25045
|
-
},
|
|
25046
|
+
}, zw = {
|
|
25046
25047
|
backdrop: "(boolean|string)",
|
|
25047
25048
|
keyboard: "boolean",
|
|
25048
25049
|
scroll: "boolean"
|
|
@@ -25053,33 +25054,33 @@ class ar extends fn {
|
|
|
25053
25054
|
}
|
|
25054
25055
|
// Getters
|
|
25055
25056
|
static get Default() {
|
|
25056
|
-
return
|
|
25057
|
+
return Hw;
|
|
25057
25058
|
}
|
|
25058
25059
|
static get DefaultType() {
|
|
25059
|
-
return
|
|
25060
|
+
return zw;
|
|
25060
25061
|
}
|
|
25061
25062
|
static get NAME() {
|
|
25062
|
-
return
|
|
25063
|
+
return Mw;
|
|
25063
25064
|
}
|
|
25064
25065
|
// Public
|
|
25065
25066
|
toggle(e) {
|
|
25066
25067
|
return this._isShown ? this.hide() : this.show(e);
|
|
25067
25068
|
}
|
|
25068
25069
|
show(e) {
|
|
25069
|
-
if (this._isShown || ae.trigger(this._element,
|
|
25070
|
+
if (this._isShown || ae.trigger(this._element, Lw, {
|
|
25070
25071
|
relatedTarget: e
|
|
25071
25072
|
}).defaultPrevented)
|
|
25072
25073
|
return;
|
|
25073
25074
|
this._isShown = !0, this._backdrop.show(), this._config.scroll || new rc().hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(If);
|
|
25074
25075
|
const r = () => {
|
|
25075
|
-
(!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(_f), this._element.classList.remove(If), ae.trigger(this._element,
|
|
25076
|
+
(!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(_f), this._element.classList.remove(If), ae.trigger(this._element, Rw, {
|
|
25076
25077
|
relatedTarget: e
|
|
25077
25078
|
});
|
|
25078
25079
|
};
|
|
25079
25080
|
this._queueCallback(r, this._element, !0);
|
|
25080
25081
|
}
|
|
25081
25082
|
hide() {
|
|
25082
|
-
if (!this._isShown || ae.trigger(this._element,
|
|
25083
|
+
if (!this._isShown || ae.trigger(this._element, Pw).defaultPrevented)
|
|
25083
25084
|
return;
|
|
25084
25085
|
this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(Df), this._backdrop.hide();
|
|
25085
25086
|
const t = () => {
|
|
@@ -25100,7 +25101,7 @@ class ar extends fn {
|
|
|
25100
25101
|
this.hide();
|
|
25101
25102
|
}, t = !!this._config.backdrop;
|
|
25102
25103
|
return new Um({
|
|
25103
|
-
className:
|
|
25104
|
+
className: Nw,
|
|
25104
25105
|
isVisible: t,
|
|
25105
25106
|
isAnimated: !0,
|
|
25106
25107
|
rootElement: this._element.parentNode,
|
|
@@ -25113,8 +25114,8 @@ class ar extends fn {
|
|
|
25113
25114
|
});
|
|
25114
25115
|
}
|
|
25115
25116
|
_addEventListeners() {
|
|
25116
|
-
ae.on(this._element,
|
|
25117
|
-
if (e.key ===
|
|
25117
|
+
ae.on(this._element, Bw, (e) => {
|
|
25118
|
+
if (e.key === Dw) {
|
|
25118
25119
|
if (this._config.keyboard) {
|
|
25119
25120
|
this.hide();
|
|
25120
25121
|
return;
|
|
@@ -25135,7 +25136,7 @@ class ar extends fn {
|
|
|
25135
25136
|
});
|
|
25136
25137
|
}
|
|
25137
25138
|
}
|
|
25138
|
-
ae.on(document,
|
|
25139
|
+
ae.on(document, Fw, Vw, function(n) {
|
|
25139
25140
|
const e = Oe.getElementFromSelector(this);
|
|
25140
25141
|
if (["A", "AREA"].includes(this.tagName) && n.preventDefault(), ir(this))
|
|
25141
25142
|
return;
|
|
@@ -25145,19 +25146,19 @@ ae.on(document, Bw, Hw, function(n) {
|
|
|
25145
25146
|
const t = Oe.findOne(Ym);
|
|
25146
25147
|
t && t !== e && ar.getInstance(t).hide(), ar.getOrCreateInstance(e).toggle(this);
|
|
25147
25148
|
});
|
|
25148
|
-
ae.on(window,
|
|
25149
|
+
ae.on(window, Iw, () => {
|
|
25149
25150
|
for (const n of Oe.find(Ym))
|
|
25150
25151
|
ar.getOrCreateInstance(n).show();
|
|
25151
25152
|
});
|
|
25152
|
-
ae.on(window,
|
|
25153
|
+
ae.on(window, $w, () => {
|
|
25153
25154
|
for (const n of Oe.find("[aria-modal][class*=show][class*=offcanvas-]"))
|
|
25154
25155
|
getComputedStyle(n).position !== "fixed" && ar.getOrCreateInstance(n).hide();
|
|
25155
25156
|
});
|
|
25156
25157
|
va(ar);
|
|
25157
25158
|
rn(ar);
|
|
25158
|
-
const
|
|
25159
|
+
const Uw = /^aria-[\w-]*$/i, Zm = {
|
|
25159
25160
|
// Global attributes allowed on any supplied element below.
|
|
25160
|
-
"*": ["class", "dir", "id", "lang", "role",
|
|
25161
|
+
"*": ["class", "dir", "id", "lang", "role", Uw],
|
|
25161
25162
|
a: ["target", "href", "title", "rel"],
|
|
25162
25163
|
area: [],
|
|
25163
25164
|
b: [],
|
|
@@ -25187,11 +25188,11 @@ const jw = /^aria-[\w-]*$/i, Zm = {
|
|
|
25187
25188
|
strong: [],
|
|
25188
25189
|
u: [],
|
|
25189
25190
|
ul: []
|
|
25190
|
-
},
|
|
25191
|
+
}, jw = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), Ww = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, Kw = (n, e) => {
|
|
25191
25192
|
const t = n.nodeName.toLowerCase();
|
|
25192
|
-
return e.includes(t) ?
|
|
25193
|
+
return e.includes(t) ? jw.has(t) ? !!Ww.test(n.nodeValue) : !0 : e.filter((r) => r instanceof RegExp).some((r) => r.test(t));
|
|
25193
25194
|
};
|
|
25194
|
-
function
|
|
25195
|
+
function Gw(n, e, t) {
|
|
25195
25196
|
if (!n.length)
|
|
25196
25197
|
return n;
|
|
25197
25198
|
if (t && typeof t == "function")
|
|
@@ -25205,11 +25206,11 @@ function Yw(n, e, t) {
|
|
|
25205
25206
|
}
|
|
25206
25207
|
const a = [].concat(...o.attributes), c = [].concat(e["*"] || [], e[l] || []);
|
|
25207
25208
|
for (const u of a)
|
|
25208
|
-
|
|
25209
|
+
Kw(u, c) || o.removeAttribute(u.nodeName);
|
|
25209
25210
|
}
|
|
25210
25211
|
return s.body.innerHTML;
|
|
25211
25212
|
}
|
|
25212
|
-
const
|
|
25213
|
+
const Yw = "TemplateFactory", Jw = {
|
|
25213
25214
|
allowList: Zm,
|
|
25214
25215
|
content: {},
|
|
25215
25216
|
// { selector : text , selector2 : text2 , }
|
|
@@ -25218,7 +25219,7 @@ const Jw = "TemplateFactory", Zw = {
|
|
|
25218
25219
|
sanitize: !0,
|
|
25219
25220
|
sanitizeFn: null,
|
|
25220
25221
|
template: "<div></div>"
|
|
25221
|
-
},
|
|
25222
|
+
}, Zw = {
|
|
25222
25223
|
allowList: "object",
|
|
25223
25224
|
content: "object",
|
|
25224
25225
|
extraClass: "(string|function)",
|
|
@@ -25226,23 +25227,23 @@ const Jw = "TemplateFactory", Zw = {
|
|
|
25226
25227
|
sanitize: "boolean",
|
|
25227
25228
|
sanitizeFn: "(null|function)",
|
|
25228
25229
|
template: "string"
|
|
25229
|
-
},
|
|
25230
|
+
}, Xw = {
|
|
25230
25231
|
entry: "(string|element|function|null)",
|
|
25231
25232
|
selector: "(string|element)"
|
|
25232
25233
|
};
|
|
25233
|
-
class
|
|
25234
|
+
class Qw extends vi {
|
|
25234
25235
|
constructor(e) {
|
|
25235
25236
|
super(), this._config = this._getConfig(e);
|
|
25236
25237
|
}
|
|
25237
25238
|
// Getters
|
|
25238
25239
|
static get Default() {
|
|
25239
|
-
return
|
|
25240
|
+
return Jw;
|
|
25240
25241
|
}
|
|
25241
25242
|
static get DefaultType() {
|
|
25242
|
-
return
|
|
25243
|
+
return Zw;
|
|
25243
25244
|
}
|
|
25244
25245
|
static get NAME() {
|
|
25245
|
-
return
|
|
25246
|
+
return Yw;
|
|
25246
25247
|
}
|
|
25247
25248
|
// Public
|
|
25248
25249
|
getContent() {
|
|
@@ -25274,7 +25275,7 @@ class qw extends vi {
|
|
|
25274
25275
|
super._typeCheckConfig({
|
|
25275
25276
|
selector: t,
|
|
25276
25277
|
entry: r
|
|
25277
|
-
},
|
|
25278
|
+
}, Xw);
|
|
25278
25279
|
}
|
|
25279
25280
|
_setContent(e, t, r) {
|
|
25280
25281
|
const s = Oe.findOne(r, e);
|
|
@@ -25295,7 +25296,7 @@ class qw extends vi {
|
|
|
25295
25296
|
}
|
|
25296
25297
|
}
|
|
25297
25298
|
_maybeSanitize(e) {
|
|
25298
|
-
return this._config.sanitize ?
|
|
25299
|
+
return this._config.sanitize ? Gw(e, this._config.allowList, this._config.sanitizeFn) : e;
|
|
25299
25300
|
}
|
|
25300
25301
|
_resolvePossibleFunction(e) {
|
|
25301
25302
|
return Rt(e, [this]);
|
|
@@ -25308,13 +25309,13 @@ class qw extends vi {
|
|
|
25308
25309
|
t.textContent = e.textContent;
|
|
25309
25310
|
}
|
|
25310
25311
|
}
|
|
25311
|
-
const
|
|
25312
|
+
const qw = "tooltip", eT = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), cl = "fade", tT = "modal", Pi = "show", nT = ".tooltip-inner", Lf = `.${tT}`, Rf = "hide.bs.modal", Ns = "hover", ul = "focus", rT = "click", sT = "manual", iT = "hide", oT = "hidden", aT = "show", lT = "shown", cT = "inserted", uT = "click", dT = "focusin", fT = "focusout", hT = "mouseenter", pT = "mouseleave", mT = {
|
|
25312
25313
|
AUTO: "auto",
|
|
25313
25314
|
TOP: "top",
|
|
25314
25315
|
RIGHT: tn() ? "left" : "right",
|
|
25315
25316
|
BOTTOM: "bottom",
|
|
25316
25317
|
LEFT: tn() ? "right" : "left"
|
|
25317
|
-
},
|
|
25318
|
+
}, gT = {
|
|
25318
25319
|
allowList: Zm,
|
|
25319
25320
|
animation: !0,
|
|
25320
25321
|
boundary: "clippingParents",
|
|
@@ -25332,7 +25333,7 @@ const eT = "tooltip", tT = /* @__PURE__ */ new Set(["sanitize", "allowList", "sa
|
|
|
25332
25333
|
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
|
|
25333
25334
|
title: "",
|
|
25334
25335
|
trigger: "hover focus"
|
|
25335
|
-
},
|
|
25336
|
+
}, vT = {
|
|
25336
25337
|
allowList: "object",
|
|
25337
25338
|
animation: "boolean",
|
|
25338
25339
|
boundary: "(string|element)",
|
|
@@ -25359,13 +25360,13 @@ class $r extends fn {
|
|
|
25359
25360
|
}
|
|
25360
25361
|
// Getters
|
|
25361
25362
|
static get Default() {
|
|
25362
|
-
return
|
|
25363
|
+
return gT;
|
|
25363
25364
|
}
|
|
25364
25365
|
static get DefaultType() {
|
|
25365
|
-
return
|
|
25366
|
+
return vT;
|
|
25366
25367
|
}
|
|
25367
25368
|
static get NAME() {
|
|
25368
|
-
return
|
|
25369
|
+
return qw;
|
|
25369
25370
|
}
|
|
25370
25371
|
// Public
|
|
25371
25372
|
enable() {
|
|
@@ -25394,7 +25395,7 @@ class $r extends fn {
|
|
|
25394
25395
|
throw new Error("Please use show on visible elements");
|
|
25395
25396
|
if (!(this._isWithContent() && this._isEnabled))
|
|
25396
25397
|
return;
|
|
25397
|
-
const e = ae.trigger(this._element, this.constructor.eventName(
|
|
25398
|
+
const e = ae.trigger(this._element, this.constructor.eventName(aT)), r = (Am(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
|
|
25398
25399
|
if (e.defaultPrevented || !r)
|
|
25399
25400
|
return;
|
|
25400
25401
|
this._disposePopper();
|
|
@@ -25403,23 +25404,23 @@ class $r extends fn {
|
|
|
25403
25404
|
const {
|
|
25404
25405
|
container: i
|
|
25405
25406
|
} = this._config;
|
|
25406
|
-
if (this._element.ownerDocument.documentElement.contains(this.tip) || (i.append(s), ae.trigger(this._element, this.constructor.eventName(
|
|
25407
|
+
if (this._element.ownerDocument.documentElement.contains(this.tip) || (i.append(s), ae.trigger(this._element, this.constructor.eventName(cT))), this._popper = this._createPopper(s), s.classList.add(Pi), "ontouchstart" in document.documentElement)
|
|
25407
25408
|
for (const l of [].concat(...document.body.children))
|
|
25408
25409
|
ae.on(l, "mouseover", jo);
|
|
25409
25410
|
const o = () => {
|
|
25410
|
-
ae.trigger(this._element, this.constructor.eventName(
|
|
25411
|
+
ae.trigger(this._element, this.constructor.eventName(lT)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
|
|
25411
25412
|
};
|
|
25412
25413
|
this._queueCallback(o, this.tip, this._isAnimated());
|
|
25413
25414
|
}
|
|
25414
25415
|
hide() {
|
|
25415
|
-
if (!this._isShown() || ae.trigger(this._element, this.constructor.eventName(
|
|
25416
|
+
if (!this._isShown() || ae.trigger(this._element, this.constructor.eventName(iT)).defaultPrevented)
|
|
25416
25417
|
return;
|
|
25417
25418
|
if (this._getTipElement().classList.remove(Pi), "ontouchstart" in document.documentElement)
|
|
25418
25419
|
for (const s of [].concat(...document.body.children))
|
|
25419
25420
|
ae.off(s, "mouseover", jo);
|
|
25420
|
-
this._activeTrigger[
|
|
25421
|
+
this._activeTrigger[rT] = !1, this._activeTrigger[ul] = !1, this._activeTrigger[Ns] = !1, this._isHovered = null;
|
|
25421
25422
|
const r = () => {
|
|
25422
|
-
this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ae.trigger(this._element, this.constructor.eventName(
|
|
25423
|
+
this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ae.trigger(this._element, this.constructor.eventName(oT)));
|
|
25423
25424
|
};
|
|
25424
25425
|
this._queueCallback(r, this.tip, this._isAnimated());
|
|
25425
25426
|
}
|
|
@@ -25438,14 +25439,14 @@ class $r extends fn {
|
|
|
25438
25439
|
if (!t)
|
|
25439
25440
|
return null;
|
|
25440
25441
|
t.classList.remove(cl, Pi), t.classList.add(`bs-${this.constructor.NAME}-auto`);
|
|
25441
|
-
const r =
|
|
25442
|
+
const r = rS(this.constructor.NAME).toString();
|
|
25442
25443
|
return t.setAttribute("id", r), this._isAnimated() && t.classList.add(cl), t;
|
|
25443
25444
|
}
|
|
25444
25445
|
setContent(e) {
|
|
25445
25446
|
this._newContent = e, this._isShown() && (this._disposePopper(), this.show());
|
|
25446
25447
|
}
|
|
25447
25448
|
_getTemplateFactory(e) {
|
|
25448
|
-
return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new
|
|
25449
|
+
return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new Qw({
|
|
25449
25450
|
...this._config,
|
|
25450
25451
|
// the `content` var has to be after `this._config`
|
|
25451
25452
|
// to override config.content in case of popover
|
|
@@ -25455,7 +25456,7 @@ class $r extends fn {
|
|
|
25455
25456
|
}
|
|
25456
25457
|
_getContentForTemplate() {
|
|
25457
25458
|
return {
|
|
25458
|
-
[
|
|
25459
|
+
[nT]: this._getTitle()
|
|
25459
25460
|
};
|
|
25460
25461
|
}
|
|
25461
25462
|
_getTitle() {
|
|
@@ -25472,7 +25473,7 @@ class $r extends fn {
|
|
|
25472
25473
|
return this.tip && this.tip.classList.contains(Pi);
|
|
25473
25474
|
}
|
|
25474
25475
|
_createPopper(e) {
|
|
25475
|
-
const t = Rt(this._config.placement, [this, e, this._element]), r =
|
|
25476
|
+
const t = Rt(this._config.placement, [this, e, this._element]), r = mT[t.toUpperCase()];
|
|
25476
25477
|
return ma(this._element, e, this._getPopperConfig(r));
|
|
25477
25478
|
}
|
|
25478
25479
|
_getOffset() {
|
|
@@ -25525,11 +25526,11 @@ class $r extends fn {
|
|
|
25525
25526
|
const e = this._config.trigger.split(" ");
|
|
25526
25527
|
for (const t of e)
|
|
25527
25528
|
if (t === "click")
|
|
25528
|
-
ae.on(this._element, this.constructor.eventName(
|
|
25529
|
+
ae.on(this._element, this.constructor.eventName(uT), this._config.selector, (r) => {
|
|
25529
25530
|
this._initializeOnDelegatedTarget(r).toggle();
|
|
25530
25531
|
});
|
|
25531
|
-
else if (t !==
|
|
25532
|
-
const r = t === Ns ? this.constructor.eventName(
|
|
25532
|
+
else if (t !== sT) {
|
|
25533
|
+
const r = t === Ns ? this.constructor.eventName(hT) : this.constructor.eventName(dT), s = t === Ns ? this.constructor.eventName(pT) : this.constructor.eventName(fT);
|
|
25533
25534
|
ae.on(this._element, r, this._config.selector, (i) => {
|
|
25534
25535
|
const o = this._initializeOnDelegatedTarget(i);
|
|
25535
25536
|
o._activeTrigger[i.type === "focusin" ? ul : Ns] = !0, o._enter();
|
|
@@ -25569,7 +25570,7 @@ class $r extends fn {
|
|
|
25569
25570
|
_getConfig(e) {
|
|
25570
25571
|
const t = $n.getDataAttributes(this._element);
|
|
25571
25572
|
for (const r of Object.keys(t))
|
|
25572
|
-
|
|
25573
|
+
eT.has(r) && delete t[r];
|
|
25573
25574
|
return e = {
|
|
25574
25575
|
...t,
|
|
25575
25576
|
...typeof e == "object" && e ? e : {}
|
|
@@ -25603,27 +25604,27 @@ class $r extends fn {
|
|
|
25603
25604
|
}
|
|
25604
25605
|
}
|
|
25605
25606
|
rn($r);
|
|
25606
|
-
const
|
|
25607
|
+
const yT = "popover", bT = ".popover-header", ET = ".popover-body", ST = {
|
|
25607
25608
|
...$r.Default,
|
|
25608
25609
|
content: "",
|
|
25609
25610
|
offset: [0, 8],
|
|
25610
25611
|
placement: "right",
|
|
25611
25612
|
template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',
|
|
25612
25613
|
trigger: "click"
|
|
25613
|
-
},
|
|
25614
|
+
}, CT = {
|
|
25614
25615
|
...$r.DefaultType,
|
|
25615
25616
|
content: "(null|string|element|function)"
|
|
25616
25617
|
};
|
|
25617
25618
|
class su extends $r {
|
|
25618
25619
|
// Getters
|
|
25619
25620
|
static get Default() {
|
|
25620
|
-
return
|
|
25621
|
+
return ST;
|
|
25621
25622
|
}
|
|
25622
25623
|
static get DefaultType() {
|
|
25623
|
-
return
|
|
25624
|
+
return CT;
|
|
25624
25625
|
}
|
|
25625
25626
|
static get NAME() {
|
|
25626
|
-
return
|
|
25627
|
+
return yT;
|
|
25627
25628
|
}
|
|
25628
25629
|
// Overrides
|
|
25629
25630
|
_isWithContent() {
|
|
@@ -25632,8 +25633,8 @@ class su extends $r {
|
|
|
25632
25633
|
// Private
|
|
25633
25634
|
_getContentForTemplate() {
|
|
25634
25635
|
return {
|
|
25635
|
-
[
|
|
25636
|
-
[
|
|
25636
|
+
[bT]: this._getTitle(),
|
|
25637
|
+
[ET]: this._getContent()
|
|
25637
25638
|
};
|
|
25638
25639
|
}
|
|
25639
25640
|
_getContent() {
|
|
@@ -25652,14 +25653,14 @@ class su extends $r {
|
|
|
25652
25653
|
}
|
|
25653
25654
|
}
|
|
25654
25655
|
rn(su);
|
|
25655
|
-
const
|
|
25656
|
+
const wT = "scrollspy", TT = "bs.scrollspy", iu = `.${TT}`, xT = ".data-api", AT = `activate${iu}`, Pf = `click${iu}`, kT = `load${iu}${xT}`, OT = "dropdown-item", Wr = "active", MT = '[data-bs-spy="scroll"]', dl = "[href]", _T = ".nav, .list-group", $f = ".nav-link", IT = ".nav-item", DT = ".list-group-item", NT = `${$f}, ${IT} > ${$f}, ${DT}`, LT = ".dropdown", RT = ".dropdown-toggle", PT = {
|
|
25656
25657
|
offset: null,
|
|
25657
25658
|
// TODO: v6 @deprecated, keep it for backwards compatibility reasons
|
|
25658
25659
|
rootMargin: "0px 0px -25%",
|
|
25659
25660
|
smoothScroll: !1,
|
|
25660
25661
|
target: null,
|
|
25661
25662
|
threshold: [0.1, 0.5, 1]
|
|
25662
|
-
},
|
|
25663
|
+
}, $T = {
|
|
25663
25664
|
offset: "(number|null)",
|
|
25664
25665
|
// TODO v6 @deprecated, keep it for backwards compatibility reasons
|
|
25665
25666
|
rootMargin: "string",
|
|
@@ -25676,13 +25677,13 @@ class Ea extends fn {
|
|
|
25676
25677
|
}
|
|
25677
25678
|
// Getters
|
|
25678
25679
|
static get Default() {
|
|
25679
|
-
return
|
|
25680
|
+
return PT;
|
|
25680
25681
|
}
|
|
25681
25682
|
static get DefaultType() {
|
|
25682
|
-
return
|
|
25683
|
+
return $T;
|
|
25683
25684
|
}
|
|
25684
25685
|
static get NAME() {
|
|
25685
|
-
return
|
|
25686
|
+
return wT;
|
|
25686
25687
|
}
|
|
25687
25688
|
// Public
|
|
25688
25689
|
refresh() {
|
|
@@ -25753,17 +25754,17 @@ class Ea extends fn {
|
|
|
25753
25754
|
}
|
|
25754
25755
|
}
|
|
25755
25756
|
_process(e) {
|
|
25756
|
-
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(Wr), this._activateParents(e), ae.trigger(this._element,
|
|
25757
|
+
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(Wr), this._activateParents(e), ae.trigger(this._element, AT, {
|
|
25757
25758
|
relatedTarget: e
|
|
25758
25759
|
}));
|
|
25759
25760
|
}
|
|
25760
25761
|
_activateParents(e) {
|
|
25761
|
-
if (e.classList.contains(
|
|
25762
|
-
Oe.findOne(
|
|
25762
|
+
if (e.classList.contains(OT)) {
|
|
25763
|
+
Oe.findOne(RT, e.closest(LT)).classList.add(Wr);
|
|
25763
25764
|
return;
|
|
25764
25765
|
}
|
|
25765
|
-
for (const t of Oe.parents(e,
|
|
25766
|
-
for (const r of Oe.prev(t,
|
|
25766
|
+
for (const t of Oe.parents(e, _T))
|
|
25767
|
+
for (const r of Oe.prev(t, NT))
|
|
25767
25768
|
r.classList.add(Wr);
|
|
25768
25769
|
}
|
|
25769
25770
|
_clearActiveClass(e) {
|
|
@@ -25784,29 +25785,29 @@ class Ea extends fn {
|
|
|
25784
25785
|
});
|
|
25785
25786
|
}
|
|
25786
25787
|
}
|
|
25787
|
-
ae.on(window,
|
|
25788
|
-
for (const n of Oe.find(
|
|
25788
|
+
ae.on(window, kT, () => {
|
|
25789
|
+
for (const n of Oe.find(MT))
|
|
25789
25790
|
Ea.getOrCreateInstance(n);
|
|
25790
25791
|
});
|
|
25791
25792
|
rn(Ea);
|
|
25792
|
-
const
|
|
25793
|
+
const FT = "tab", BT = "bs.tab", Fr = `.${BT}`, VT = `hide${Fr}`, HT = `hidden${Fr}`, zT = `show${Fr}`, UT = `shown${Fr}`, jT = `click${Fr}`, WT = `keydown${Fr}`, KT = `load${Fr}`, GT = "ArrowLeft", Ff = "ArrowRight", YT = "ArrowUp", Bf = "ArrowDown", wr = "active", Vf = "fade", fl = "show", JT = "dropdown", ZT = ".dropdown-toggle", XT = ".dropdown-menu", hl = ":not(.dropdown-toggle)", QT = '.list-group, .nav, [role="tablist"]', qT = ".nav-item, .list-group-item", ex = `.nav-link${hl}, .list-group-item${hl}, [role="tab"]${hl}`, Xm = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', pl = `${ex}, ${Xm}`, tx = `.${wr}[data-bs-toggle="tab"], .${wr}[data-bs-toggle="pill"], .${wr}[data-bs-toggle="list"]`;
|
|
25793
25794
|
class ws extends fn {
|
|
25794
25795
|
constructor(e) {
|
|
25795
|
-
super(e), this._parent = this._element.closest(
|
|
25796
|
+
super(e), this._parent = this._element.closest(QT), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), ae.on(this._element, WT, (t) => this._keydown(t)));
|
|
25796
25797
|
}
|
|
25797
25798
|
// Getters
|
|
25798
25799
|
static get NAME() {
|
|
25799
|
-
return
|
|
25800
|
+
return FT;
|
|
25800
25801
|
}
|
|
25801
25802
|
// Public
|
|
25802
25803
|
show() {
|
|
25803
25804
|
const e = this._element;
|
|
25804
25805
|
if (this._elemIsActive(e))
|
|
25805
25806
|
return;
|
|
25806
|
-
const t = this._getActiveElem(), r = t ? ae.trigger(t,
|
|
25807
|
+
const t = this._getActiveElem(), r = t ? ae.trigger(t, VT, {
|
|
25807
25808
|
relatedTarget: e
|
|
25808
25809
|
}) : null;
|
|
25809
|
-
ae.trigger(e,
|
|
25810
|
+
ae.trigger(e, zT, {
|
|
25810
25811
|
relatedTarget: t
|
|
25811
25812
|
}).defaultPrevented || r && r.defaultPrevented || (this._deactivate(t, e), this._activate(e, t));
|
|
25812
25813
|
}
|
|
@@ -25820,7 +25821,7 @@ class ws extends fn {
|
|
|
25820
25821
|
e.classList.add(fl);
|
|
25821
25822
|
return;
|
|
25822
25823
|
}
|
|
25823
|
-
e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), ae.trigger(e,
|
|
25824
|
+
e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), ae.trigger(e, UT, {
|
|
25824
25825
|
relatedTarget: t
|
|
25825
25826
|
});
|
|
25826
25827
|
};
|
|
@@ -25835,14 +25836,14 @@ class ws extends fn {
|
|
|
25835
25836
|
e.classList.remove(fl);
|
|
25836
25837
|
return;
|
|
25837
25838
|
}
|
|
25838
|
-
e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), ae.trigger(e,
|
|
25839
|
+
e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), ae.trigger(e, HT, {
|
|
25839
25840
|
relatedTarget: t
|
|
25840
25841
|
});
|
|
25841
25842
|
};
|
|
25842
25843
|
this._queueCallback(r, e, e.classList.contains(Vf));
|
|
25843
25844
|
}
|
|
25844
25845
|
_keydown(e) {
|
|
25845
|
-
if (![
|
|
25846
|
+
if (![GT, Ff, YT, Bf].includes(e.key))
|
|
25846
25847
|
return;
|
|
25847
25848
|
e.stopPropagation(), e.preventDefault();
|
|
25848
25849
|
const t = [Ff, Bf].includes(e.key), r = tu(this._getChildren().filter((s) => !ir(s)), e.target, t, !0);
|
|
@@ -25872,13 +25873,13 @@ class ws extends fn {
|
|
|
25872
25873
|
}
|
|
25873
25874
|
_toggleDropDown(e, t) {
|
|
25874
25875
|
const r = this._getOuterElement(e);
|
|
25875
|
-
if (!r.classList.contains(
|
|
25876
|
+
if (!r.classList.contains(JT))
|
|
25876
25877
|
return;
|
|
25877
25878
|
const s = (i, o) => {
|
|
25878
25879
|
const l = Oe.findOne(i, r);
|
|
25879
25880
|
l && l.classList.toggle(o, t);
|
|
25880
25881
|
};
|
|
25881
|
-
s(
|
|
25882
|
+
s(ZT, wr), s(XT, fl), r.setAttribute("aria-expanded", t);
|
|
25882
25883
|
}
|
|
25883
25884
|
_setAttributeIfNotExists(e, t, r) {
|
|
25884
25885
|
e.hasAttribute(t) || e.setAttribute(t, r);
|
|
@@ -25892,7 +25893,7 @@ class ws extends fn {
|
|
|
25892
25893
|
}
|
|
25893
25894
|
// Try to get the outer element (usually the .nav-item)
|
|
25894
25895
|
_getOuterElement(e) {
|
|
25895
|
-
return e.closest(
|
|
25896
|
+
return e.closest(qT) || e;
|
|
25896
25897
|
}
|
|
25897
25898
|
// Static
|
|
25898
25899
|
static jQueryInterface(e) {
|
|
@@ -25906,19 +25907,19 @@ class ws extends fn {
|
|
|
25906
25907
|
});
|
|
25907
25908
|
}
|
|
25908
25909
|
}
|
|
25909
|
-
ae.on(document,
|
|
25910
|
+
ae.on(document, jT, Xm, function(n) {
|
|
25910
25911
|
["A", "AREA"].includes(this.tagName) && n.preventDefault(), !ir(this) && ws.getOrCreateInstance(this).show();
|
|
25911
25912
|
});
|
|
25912
|
-
ae.on(window,
|
|
25913
|
-
for (const n of Oe.find(
|
|
25913
|
+
ae.on(window, KT, () => {
|
|
25914
|
+
for (const n of Oe.find(tx))
|
|
25914
25915
|
ws.getOrCreateInstance(n);
|
|
25915
25916
|
});
|
|
25916
25917
|
rn(ws);
|
|
25917
|
-
const
|
|
25918
|
+
const nx = "toast", rx = "bs.toast", hr = `.${rx}`, sx = `mouseover${hr}`, ix = `mouseout${hr}`, ox = `focusin${hr}`, ax = `focusout${hr}`, lx = `hide${hr}`, cx = `hidden${hr}`, ux = `show${hr}`, dx = `shown${hr}`, fx = "fade", Hf = "hide", $i = "show", Fi = "showing", hx = {
|
|
25918
25919
|
animation: "boolean",
|
|
25919
25920
|
autohide: "boolean",
|
|
25920
25921
|
delay: "number"
|
|
25921
|
-
},
|
|
25922
|
+
}, px = {
|
|
25922
25923
|
animation: !0,
|
|
25923
25924
|
autohide: !0,
|
|
25924
25925
|
delay: 5e3
|
|
@@ -25929,29 +25930,29 @@ class Ei extends fn {
|
|
|
25929
25930
|
}
|
|
25930
25931
|
// Getters
|
|
25931
25932
|
static get Default() {
|
|
25932
|
-
return
|
|
25933
|
+
return px;
|
|
25933
25934
|
}
|
|
25934
25935
|
static get DefaultType() {
|
|
25935
|
-
return
|
|
25936
|
+
return hx;
|
|
25936
25937
|
}
|
|
25937
25938
|
static get NAME() {
|
|
25938
|
-
return
|
|
25939
|
+
return nx;
|
|
25939
25940
|
}
|
|
25940
25941
|
// Public
|
|
25941
25942
|
show() {
|
|
25942
|
-
if (ae.trigger(this._element,
|
|
25943
|
+
if (ae.trigger(this._element, ux).defaultPrevented)
|
|
25943
25944
|
return;
|
|
25944
|
-
this._clearTimeout(), this._config.animation && this._element.classList.add(
|
|
25945
|
+
this._clearTimeout(), this._config.animation && this._element.classList.add(fx);
|
|
25945
25946
|
const t = () => {
|
|
25946
|
-
this._element.classList.remove(Fi), ae.trigger(this._element,
|
|
25947
|
+
this._element.classList.remove(Fi), ae.trigger(this._element, dx), this._maybeScheduleHide();
|
|
25947
25948
|
};
|
|
25948
25949
|
this._element.classList.remove(Hf), gi(this._element), this._element.classList.add($i, Fi), this._queueCallback(t, this._element, this._config.animation);
|
|
25949
25950
|
}
|
|
25950
25951
|
hide() {
|
|
25951
|
-
if (!this.isShown() || ae.trigger(this._element,
|
|
25952
|
+
if (!this.isShown() || ae.trigger(this._element, lx).defaultPrevented)
|
|
25952
25953
|
return;
|
|
25953
25954
|
const t = () => {
|
|
25954
|
-
this._element.classList.add(Hf), this._element.classList.remove(Fi, $i), ae.trigger(this._element,
|
|
25955
|
+
this._element.classList.add(Hf), this._element.classList.remove(Fi, $i), ae.trigger(this._element, cx);
|
|
25955
25956
|
};
|
|
25956
25957
|
this._element.classList.add(Fi), this._queueCallback(t, this._element, this._config.animation);
|
|
25957
25958
|
}
|
|
@@ -25988,7 +25989,7 @@ class Ei extends fn {
|
|
|
25988
25989
|
this._element === r || this._element.contains(r) || this._maybeScheduleHide();
|
|
25989
25990
|
}
|
|
25990
25991
|
_setListeners() {
|
|
25991
|
-
ae.on(this._element,
|
|
25992
|
+
ae.on(this._element, sx, (e) => this._onInteraction(e, !0)), ae.on(this._element, ix, (e) => this._onInteraction(e, !1)), ae.on(this._element, ox, (e) => this._onInteraction(e, !0)), ae.on(this._element, ax, (e) => this._onInteraction(e, !1));
|
|
25992
25993
|
}
|
|
25993
25994
|
_clearTimeout() {
|
|
25994
25995
|
clearTimeout(this._timeout), this._timeout = null;
|
|
@@ -26007,7 +26008,7 @@ class Ei extends fn {
|
|
|
26007
26008
|
}
|
|
26008
26009
|
va(Ei);
|
|
26009
26010
|
rn(Ei);
|
|
26010
|
-
const
|
|
26011
|
+
const mx = (n) => {
|
|
26011
26012
|
const e = Qe(null);
|
|
26012
26013
|
return { showModal: () => {
|
|
26013
26014
|
const s = document.getElementById(n);
|
|
@@ -26024,7 +26025,7 @@ const gx = (n) => {
|
|
|
26024
26025
|
}
|
|
26025
26026
|
} };
|
|
26026
26027
|
};
|
|
26027
|
-
function
|
|
26028
|
+
function gx() {
|
|
26028
26029
|
const n = Qe(0), e = Qe(!0), t = Qe(null), r = Qe({ top: 0, left: 0, x: 0, y: 0 }), s = ke(() => n.value > 0 ? `zoom-${n.value}` : "");
|
|
26029
26030
|
return {
|
|
26030
26031
|
zoom: n,
|
|
@@ -26051,17 +26052,17 @@ function vx() {
|
|
|
26051
26052
|
}
|
|
26052
26053
|
};
|
|
26053
26054
|
}
|
|
26054
|
-
const
|
|
26055
|
+
const vx = ["src", "alt"], yx = {
|
|
26055
26056
|
key: 0,
|
|
26056
26057
|
class: "show-spinner"
|
|
26057
|
-
},
|
|
26058
|
+
}, bx = {
|
|
26058
26059
|
class: "spinner-border text-primary",
|
|
26059
26060
|
role: "status"
|
|
26060
|
-
},
|
|
26061
|
+
}, Ex = { class: "visually-hidden" }, Sx = ["href"], Cx = /* @__PURE__ */ $e({
|
|
26061
26062
|
__name: "BDImageAttachmentModal",
|
|
26062
26063
|
props: ["loadingText", "downloadText"],
|
|
26063
26064
|
setup(n, { expose: e }) {
|
|
26064
|
-
const t = n, { showModal: r } =
|
|
26065
|
+
const t = n, { showModal: r } = mx("image-attachment-modal"), { zoom: s, imageHolderRef: i, SetZoom: o, OnMouseDown: l, OnMouseMove: a, OnMouseUp: c } = gx(), u = Qe(!0), d = Qe({
|
|
26065
26066
|
BerichtId: 0,
|
|
26066
26067
|
Id: void 0,
|
|
26067
26068
|
MimeType: null,
|
|
@@ -26090,7 +26091,7 @@ const yx = ["src", "alt"], bx = {
|
|
|
26090
26091
|
};
|
|
26091
26092
|
return (m, g) => (W(), Ge(wm, {
|
|
26092
26093
|
id: "image-attachment-modal",
|
|
26093
|
-
class:
|
|
26094
|
+
class: We(ye(it)),
|
|
26094
26095
|
title: d.value.Naam,
|
|
26095
26096
|
hideFooterCancelButton: !0,
|
|
26096
26097
|
showHeaderButton: !0,
|
|
@@ -26112,14 +26113,14 @@ const yx = ["src", "alt"], bx = {
|
|
|
26112
26113
|
key: 0,
|
|
26113
26114
|
src: d.value.downloadUrl,
|
|
26114
26115
|
alt: d.value.Naam,
|
|
26115
|
-
class:
|
|
26116
|
+
class: We(["image-preview-modal", ye(o)]),
|
|
26116
26117
|
onLoad: h,
|
|
26117
26118
|
draggable: !1
|
|
26118
|
-
}, null, 42,
|
|
26119
|
+
}, null, 42, vx)) : Re("", !0)
|
|
26119
26120
|
], 544),
|
|
26120
|
-
u.value ? (W(), q("div",
|
|
26121
|
-
X("div",
|
|
26122
|
-
X("span",
|
|
26121
|
+
u.value ? (W(), q("div", yx, [
|
|
26122
|
+
X("div", bx, [
|
|
26123
|
+
X("span", Ex, Ne(t.loadingText), 1)
|
|
26123
26124
|
])
|
|
26124
26125
|
])) : Re("", !0),
|
|
26125
26126
|
Se(sh, {
|
|
@@ -26140,13 +26141,13 @@ const yx = ["src", "alt"], bx = {
|
|
|
26140
26141
|
]),
|
|
26141
26142
|
_: 1
|
|
26142
26143
|
})
|
|
26143
|
-
], 8,
|
|
26144
|
+
], 8, Sx)
|
|
26144
26145
|
]),
|
|
26145
26146
|
_: 1
|
|
26146
26147
|
}, 8, ["class", "title"]));
|
|
26147
26148
|
}
|
|
26148
26149
|
});
|
|
26149
|
-
function
|
|
26150
|
+
function wx(n = void 0) {
|
|
26150
26151
|
const e = (l) => i("Succesvol", l, ts.SUCCESS), t = (l) => i("Waarschuwing", l, ts.WARNING), r = (l) => i("Informatie", l, ts.INFO), s = (l) => i("Mislukt", l, ts.DANGER);
|
|
26151
26152
|
function i(l, a, c) {
|
|
26152
26153
|
const u = `toast-${oh()}`, d = {
|
|
@@ -26186,8 +26187,8 @@ function Tx(n = void 0) {
|
|
|
26186
26187
|
}
|
|
26187
26188
|
return { showSuccessToast: e, showInformationToast: r, showWarningToast: t, showDangerToast: s };
|
|
26188
26189
|
}
|
|
26189
|
-
const
|
|
26190
|
-
function
|
|
26190
|
+
const Tx = (n) => Array.isArray(n) && n.length > 0, { showDangerToast: xx } = wx();
|
|
26191
|
+
function Nx(n) {
|
|
26191
26192
|
const e = Qe(null), t = (a, c = "serverErrors") => {
|
|
26192
26193
|
var d;
|
|
26193
26194
|
let u = [];
|
|
@@ -26205,10 +26206,10 @@ function Lx(n) {
|
|
|
26205
26206
|
const u = new URL(a.request.responseURL).pathname;
|
|
26206
26207
|
if (u in n.error) {
|
|
26207
26208
|
const d = n.error[u];
|
|
26208
|
-
d &&
|
|
26209
|
+
d && xx(d);
|
|
26209
26210
|
}
|
|
26210
26211
|
}, s = Qe(null), i = Qe(""), o = (a) => {
|
|
26211
|
-
|
|
26212
|
+
Tx(a.value) ? s.value = a.value.map((c) => wi(c) ? c : c.ErrorMessage) : wi(a.value) && (i.value = a.value);
|
|
26212
26213
|
};
|
|
26213
26214
|
function l() {
|
|
26214
26215
|
e.value = null, s.value = null, i.value = it;
|
|
@@ -26222,7 +26223,7 @@ function Lx(n) {
|
|
|
26222
26223
|
ResetServerErrors: l
|
|
26223
26224
|
};
|
|
26224
26225
|
}
|
|
26225
|
-
const
|
|
26226
|
+
const Lx = () => ({ ResetValidation: (t) => {
|
|
26226
26227
|
for (const r in t.value)
|
|
26227
26228
|
t.value[r].state = null;
|
|
26228
26229
|
}, ValidationObjectIsValid: (t) => {
|
|
@@ -26230,7 +26231,7 @@ const Rx = () => ({ ResetValidation: (t) => {
|
|
|
26230
26231
|
if (t[r].state === !1)
|
|
26231
26232
|
return !1;
|
|
26232
26233
|
return !0;
|
|
26233
|
-
} }),
|
|
26234
|
+
} }), Ax = {
|
|
26234
26235
|
mounted: (n) => {
|
|
26235
26236
|
new $r(n);
|
|
26236
26237
|
}
|
|
@@ -26527,7 +26528,7 @@ var Qm = { exports: {} };
|
|
|
26527
26528
|
})(Qm);
|
|
26528
26529
|
var qm = Qm.exports;
|
|
26529
26530
|
const Go = /* @__PURE__ */ hc(qm);
|
|
26530
|
-
var
|
|
26531
|
+
var kx = { exports: {} };
|
|
26531
26532
|
(function(n, e) {
|
|
26532
26533
|
(function(t, r) {
|
|
26533
26534
|
n.exports = r(qm);
|
|
@@ -26540,7 +26541,7 @@ var Ox = { exports: {} };
|
|
|
26540
26541
|
}, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD-MM-YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "over %s", past: "%s geleden", s: "een paar seconden", m: "een minuut", mm: "%d minuten", h: "een uur", hh: "%d uur", d: "een dag", dd: "%d dagen", M: "een maand", MM: "%d maanden", y: "een jaar", yy: "%d jaar" } };
|
|
26541
26542
|
return s.default.locale(i, null, !0), i;
|
|
26542
26543
|
});
|
|
26543
|
-
})(
|
|
26544
|
+
})(kx);
|
|
26544
26545
|
var e1 = { exports: {} };
|
|
26545
26546
|
(function(n, e) {
|
|
26546
26547
|
(function(t, r) {
|
|
@@ -26673,11 +26674,11 @@ var e1 = { exports: {} };
|
|
|
26673
26674
|
};
|
|
26674
26675
|
});
|
|
26675
26676
|
})(e1);
|
|
26676
|
-
var
|
|
26677
|
-
const
|
|
26678
|
-
Go.extend(
|
|
26677
|
+
var Ox = e1.exports;
|
|
26678
|
+
const Mx = /* @__PURE__ */ hc(Ox);
|
|
26679
|
+
Go.extend(Mx);
|
|
26679
26680
|
Go.locale("nl");
|
|
26680
|
-
function
|
|
26681
|
+
function Rx(n, e = Go().startOf("day")) {
|
|
26681
26682
|
const t = "DD-MM-YYYY", r = Go(n, t);
|
|
26682
26683
|
if (r.isSame(e))
|
|
26683
26684
|
return "vandaag";
|
|
@@ -26698,7 +26699,7 @@ function Px(n, e = Go().startOf("day")) {
|
|
|
26698
26699
|
}
|
|
26699
26700
|
return r.format(t);
|
|
26700
26701
|
}
|
|
26701
|
-
const
|
|
26702
|
+
const _x = {
|
|
26702
26703
|
PRIMARY: "primary",
|
|
26703
26704
|
SECONDARY: "secondary",
|
|
26704
26705
|
COLLEAGUE: "colleague",
|
|
@@ -26714,7 +26715,7 @@ const Ix = {
|
|
|
26714
26715
|
__name: "BDButton",
|
|
26715
26716
|
props: {
|
|
26716
26717
|
size: { default: Tt.MD },
|
|
26717
|
-
variant: { default:
|
|
26718
|
+
variant: { default: _x.PRIMARY },
|
|
26718
26719
|
blockElement: { type: Boolean, default: !1 },
|
|
26719
26720
|
disabled: { type: Boolean, default: !1 },
|
|
26720
26721
|
to: {},
|
|
@@ -26741,16 +26742,16 @@ const Ix = {
|
|
|
26741
26742
|
class: ["bd-btn", r.value]
|
|
26742
26743
|
}, i.value, { onClick: o }), {
|
|
26743
26744
|
default: Pe(() => [
|
|
26744
|
-
|
|
26745
|
+
Ke(l.$slots, "default", {}, () => [
|
|
26745
26746
|
ot(Ne(t.text), 1)
|
|
26746
26747
|
])
|
|
26747
26748
|
]),
|
|
26748
26749
|
_: 3
|
|
26749
26750
|
}, 16, ["class"]));
|
|
26750
26751
|
}
|
|
26751
|
-
}),
|
|
26752
|
+
}), Px = {
|
|
26752
26753
|
install: (n) => {
|
|
26753
|
-
n.component("BDCol", Kr), n.component("BDContainer", ml), n.component("BDRow", Gr), n.component("BDButton", mt), n.component("BDLogo", nh), n.component("BDLink", Js), n.component("BDDropdownItem", Sl), n.component("BDDropdown", Cm), n.component("BDAlert", yl), n.component("BDProfileImage", qo), n.component("BDZoomslider", sh), n.component("BDCard", cc), n.component("BDCollapsableCard", y2), n.component("BDFormInput", Bi), n.component("BDInputGroup", M2), n.component("BDFormInvalidFeedback", uc), n.component("BDBadge", N2), n.component("BDForm", R2), n.component("BDPagination", z2), n.component("BDDropzone", wy), n.component("BDMarkdownEditor", QE), n.component("BDModal", wm), n.component("BDFormSelect", G2), n.component("BDUser", u6), n.component("BDArticle", Q2), n.component("BDFormCheckbox", J2), n.component("BDToast", lh), n.component("BDAttachmentPreviewList", qc), n.component("BDImageAttachmentPreviewList", eu), n.component("BDHeader", j6), n.component("BDMobileMenu", Sm), n.component("BDChatCloud", y6), n.component("BDTable", A6), n.component("BDChangePasswordTemplate", P6), n.component("BDPill", dc), n.component("BDImageAttachmentModal",
|
|
26754
|
+
n.component("BDCol", Kr), n.component("BDContainer", ml), n.component("BDRow", Gr), n.component("BDButton", mt), n.component("BDLogo", nh), n.component("BDLink", Js), n.component("BDDropdownItem", Sl), n.component("BDDropdown", Cm), n.component("BDAlert", yl), n.component("BDProfileImage", qo), n.component("BDZoomslider", sh), n.component("BDCard", cc), n.component("BDCollapsableCard", y2), n.component("BDFormInput", Bi), n.component("BDInputGroup", M2), n.component("BDFormInvalidFeedback", uc), n.component("BDBadge", N2), n.component("BDForm", R2), n.component("BDPagination", z2), n.component("BDDropzone", wy), n.component("BDMarkdownEditor", QE), n.component("BDModal", wm), n.component("BDFormSelect", G2), n.component("BDUser", u6), n.component("BDArticle", Q2), n.component("BDFormCheckbox", J2), n.component("BDToast", lh), n.component("BDAttachmentPreviewList", qc), n.component("BDImageAttachmentPreviewList", eu), n.component("BDHeader", j6), n.component("BDMobileMenu", Sm), n.component("BDChatCloud", y6), n.component("BDTable", A6), n.component("BDChangePasswordTemplate", P6), n.component("BDPill", dc), n.component("BDImageAttachmentModal", Cx), n.component("IconAcademy", S1), n.component("IconArrowDown", k1), n.component("IconArrowUp", N1), n.component("IconAttachment", ds), n.component("IconBold", jf), n.component("IconBulletList", Wf), n.component("IconCalendar", Cu), n.component("IconCalendar", Cu), n.component("IconCardView", i0), n.component("IconCaretDown", Kf), n.component("IconCaretLeft", Gf), n.component("IconCaretRight", Yf), n.component("IconCheck", ui), n.component("IconClose", oc), n.component("IconComment", P0), n.component("IconDownloadImage", gl), n.component("IconDownloadImage", gl), n.component("IconEdit", G0), n.component("IconError", ac), n.component("IconEyeShow", sg), n.component("IconEyeSlash", ug), n.component("IconFile", Jf), n.component("IconHyperlink", lc), n.component("IconInfo", di), n.component("IconItalic", Zf), n.component("IconListView", $g), n.component("IconMenu", vl), n.component("IconMenu", vl), n.component("IconOrderedList", Xf), n.component("IconRemove", Xo), n.component("IconService", sv), n.component("IconSort", uv), n.component("IconSortAsc", Qf), n.component("IconSortDesc", qf), n.component("IconSortNone", eh), n.component("IconTriangleExclamation", Iv), n.component("IconUnderline", th), n.component("IconContactPerson", zv), n.directive("vBDTooltip", Ax);
|
|
26754
26755
|
}
|
|
26755
26756
|
};
|
|
26756
26757
|
export {
|
|
@@ -26774,7 +26775,7 @@ export {
|
|
|
26774
26775
|
uc as BDFormInvalidFeedback,
|
|
26775
26776
|
G2 as BDFormSelect,
|
|
26776
26777
|
j6 as BDHeader,
|
|
26777
|
-
|
|
26778
|
+
Cx as BDImageAttachmentModal,
|
|
26778
26779
|
eu as BDImageAttachmentPreviewList,
|
|
26779
26780
|
M2 as BDInputGroup,
|
|
26780
26781
|
Js as BDLink,
|
|
@@ -26824,12 +26825,12 @@ export {
|
|
|
26824
26825
|
eh as IconSortNone,
|
|
26825
26826
|
Iv as IconTriangleExclamation,
|
|
26826
26827
|
th as IconUnderline,
|
|
26827
|
-
|
|
26828
|
-
|
|
26829
|
-
|
|
26830
|
-
|
|
26831
|
-
|
|
26832
|
-
|
|
26833
|
-
|
|
26834
|
-
|
|
26828
|
+
Px as default,
|
|
26829
|
+
Rx as getDisplayDate,
|
|
26830
|
+
mx as useModal,
|
|
26831
|
+
Nx as useServerErrors,
|
|
26832
|
+
wx as useToaster,
|
|
26833
|
+
Lx as useValidation,
|
|
26834
|
+
gx as useZoom,
|
|
26835
|
+
Ax as vBdTooltip
|
|
26835
26836
|
};
|