@beterdichtbij/component-library 0.31.5 → 0.32.0
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 +25 -25
- package/dist/bd-component-lib.es.js +410 -418
- package/dist/bd-component-lib.umd.js +2 -2
- package/dist/scss/_card.scss +14 -3
- package/dist/scss/_chatcloud.scss +5 -36
- package/dist/scss/_collapsable-card.scss +17 -3
- package/dist/scss/_markdown-editor.scss +9 -1
- package/dist/scss/base/variables.scss +5 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $e, computed as _e, openBlock as J, createElementBlock as te, normalizeClass as Ke, renderSlot as je, createElementVNode as ee, createStaticVNode as ws, mergeProps as an, resolveComponent as Zm, createBlock as Ge, resolveDynamicComponent as Wo, withCtx as Re, createTextVNode as ct, toDisplayString as Pe, createVNode as Te, unref as Ae, createCommentVNode as
|
|
1
|
+
import { defineComponent as $e, computed as _e, openBlock as J, createElementBlock as te, normalizeClass as Ke, renderSlot as je, createElementVNode as ee, createStaticVNode as ws, mergeProps as an, resolveComponent as Zm, createBlock as Ge, resolveDynamicComponent as Wo, withCtx as Re, createTextVNode as ct, toDisplayString as Pe, createVNode as Te, unref as Ae, createCommentVNode as Ue, getCurrentScope as Xm, onScopeDispose as Qm, ref as at, watch as Cn, getCurrentInstance as Ff, nextTick as Bf, withDirectives as ls, isRef as rc, vModelText as qm, withKeys as e1, useAttrs as t1, withModifiers as cs, onMounted as ai, vShow as vu, Fragment as rt, renderList as Bt, vModelSelect as n1, vModelCheckbox as r1, normalizeProps as s1, guardReactiveProps as i1, onBeforeUnmount as Ko, h as Qn, watchEffect as o1, Teleport as a1, shallowRef as l1, reactive as c1, markRaw as u1, customRef as d1, createApp as f1 } from "vue";
|
|
2
2
|
const Wr = /* @__PURE__ */ $e({
|
|
3
3
|
__name: "BDCol",
|
|
4
4
|
props: {
|
|
@@ -599,7 +599,7 @@ const qf = /* @__PURE__ */ We(Lv, [["render", $v]]), bu = /^https:/i, Gs = /* @_
|
|
|
599
599
|
ee("span", null, [
|
|
600
600
|
ee("strong", null, Pe(e.title), 1)
|
|
601
601
|
])
|
|
602
|
-
])) :
|
|
602
|
+
])) : Ue("", !0),
|
|
603
603
|
je(r.$slots, "default")
|
|
604
604
|
], 2));
|
|
605
605
|
}
|
|
@@ -630,7 +630,7 @@ const qf = /* @__PURE__ */ We(Lv, [["render", $v]]), bu = /^https:/i, Gs = /* @_
|
|
|
630
630
|
class: "bd-profile-picture__footer position-absolute bottom-0 start-0",
|
|
631
631
|
onClick: t,
|
|
632
632
|
textContent: Pe(r.linkText)
|
|
633
|
-
}, null, 8, Vv)) :
|
|
633
|
+
}, null, 8, Vv)) : Ue("", !0)
|
|
634
634
|
], 2));
|
|
635
635
|
}
|
|
636
636
|
});
|
|
@@ -881,10 +881,10 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
|
|
|
881
881
|
class: Ke(i.value)
|
|
882
882
|
}, [
|
|
883
883
|
je(l.$slots, "header", {}, () => [
|
|
884
|
-
l.title ? (J(), te("h2", o2, Pe(l.title), 1)) :
|
|
884
|
+
l.title ? (J(), te("h2", o2, Pe(l.title), 1)) : Ue("", !0)
|
|
885
885
|
])
|
|
886
|
-
], 2)) :
|
|
887
|
-
l.noBody ?
|
|
886
|
+
], 2)) : Ue("", !0),
|
|
887
|
+
l.noBody ? Ue("", !0) : (J(), te("div", {
|
|
888
888
|
key: 1,
|
|
889
889
|
class: Ke(o.value)
|
|
890
890
|
}, [
|
|
@@ -934,7 +934,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
|
|
|
934
934
|
"body-class": l.value
|
|
935
935
|
}, {
|
|
936
936
|
header: Re(() => [
|
|
937
|
-
a.title ? (J(), te("h2", a2, Pe(a.title), 1)) :
|
|
937
|
+
a.title ? (J(), te("h2", a2, Pe(a.title), 1)) : Ue("", !0),
|
|
938
938
|
ee("div", l2, [
|
|
939
939
|
je(a.$slots, "action"),
|
|
940
940
|
!a.disabled && a.visible ? (J(), te("button", {
|
|
@@ -946,7 +946,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
|
|
|
946
946
|
"aria-expanded": "true"
|
|
947
947
|
}, [
|
|
948
948
|
Te(Ae(zf))
|
|
949
|
-
], 10, c2)) :
|
|
949
|
+
], 10, c2)) : Ue("", !0)
|
|
950
950
|
])
|
|
951
951
|
]),
|
|
952
952
|
body: Re(() => [
|
|
@@ -1178,7 +1178,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1178
1178
|
for: l,
|
|
1179
1179
|
id: i,
|
|
1180
1180
|
class: Ke(["form-label", h.labelClass])
|
|
1181
|
-
}, Pe(h.label), 3)) :
|
|
1181
|
+
}, Pe(h.label), 3)) : Ue("", !0)
|
|
1182
1182
|
]),
|
|
1183
1183
|
ee("div", {
|
|
1184
1184
|
class: Ke(h.formFieldClass)
|
|
@@ -1220,7 +1220,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1220
1220
|
key: 0,
|
|
1221
1221
|
for: e.labelForId,
|
|
1222
1222
|
class: "form-label"
|
|
1223
|
-
}, Pe(e.label), 9, E2)) :
|
|
1223
|
+
}, Pe(e.label), 9, E2)) : Ue("", !0),
|
|
1224
1224
|
ee("div", {
|
|
1225
1225
|
class: Ke(Ae(t).class)
|
|
1226
1226
|
}, [
|
|
@@ -1473,12 +1473,12 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1473
1473
|
ee("h5", null, Pe(t.title), 1)
|
|
1474
1474
|
])
|
|
1475
1475
|
]),
|
|
1476
|
-
t.hideBody ?
|
|
1476
|
+
t.hideBody ? Ue("", !0) : (J(), te("div", V2, [
|
|
1477
1477
|
je(s.$slots, "default", {}, () => [
|
|
1478
1478
|
ct(Pe(t.text), 1)
|
|
1479
1479
|
])
|
|
1480
1480
|
])),
|
|
1481
|
-
t.hideFooter ?
|
|
1481
|
+
t.hideFooter ? Ue("", !0) : (J(), te("footer", H2, [
|
|
1482
1482
|
je(s.$slots, "footer")
|
|
1483
1483
|
]))
|
|
1484
1484
|
]));
|
|
@@ -11825,7 +11825,7 @@ class Dh {
|
|
|
11825
11825
|
}
|
|
11826
11826
|
}
|
|
11827
11827
|
const _a = /* @__PURE__ */ Object.create(null);
|
|
11828
|
-
class
|
|
11828
|
+
class He {
|
|
11829
11829
|
/**
|
|
11830
11830
|
Initialize a selection with the head and anchor and ranges. If no
|
|
11831
11831
|
ranges are given, constructs a single range across `$anchor` and
|
|
@@ -11919,7 +11919,7 @@ class ze {
|
|
|
11919
11919
|
found.
|
|
11920
11920
|
*/
|
|
11921
11921
|
static findFrom(e, t, r = !1) {
|
|
11922
|
-
let s = e.parent.inlineContent ? new
|
|
11922
|
+
let s = e.parent.inlineContent ? new ze(e) : Gr(e.node(0), e.parent, e.pos, e.index(), t, r);
|
|
11923
11923
|
if (s)
|
|
11924
11924
|
return s;
|
|
11925
11925
|
for (let i = e.depth - 1; i >= 0; i--) {
|
|
@@ -11986,10 +11986,10 @@ class ze {
|
|
|
11986
11986
|
returns the bookmark for that.
|
|
11987
11987
|
*/
|
|
11988
11988
|
getBookmark() {
|
|
11989
|
-
return
|
|
11989
|
+
return ze.between(this.$anchor, this.$head).getBookmark();
|
|
11990
11990
|
}
|
|
11991
11991
|
}
|
|
11992
|
-
|
|
11992
|
+
He.prototype.visible = !0;
|
|
11993
11993
|
class Qy {
|
|
11994
11994
|
/**
|
|
11995
11995
|
Create a range.
|
|
@@ -12002,7 +12002,7 @@ let Pu = !1;
|
|
|
12002
12002
|
function $u(n) {
|
|
12003
12003
|
!Pu && !n.parent.inlineContent && (Pu = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + n.parent.type.name + ")"));
|
|
12004
12004
|
}
|
|
12005
|
-
class
|
|
12005
|
+
class ze extends He {
|
|
12006
12006
|
/**
|
|
12007
12007
|
Construct a text selection between the given points.
|
|
12008
12008
|
*/
|
|
@@ -12019,9 +12019,9 @@ class Ue extends ze {
|
|
|
12019
12019
|
map(e, t) {
|
|
12020
12020
|
let r = e.resolve(t.map(this.head));
|
|
12021
12021
|
if (!r.parent.inlineContent)
|
|
12022
|
-
return
|
|
12022
|
+
return He.near(r);
|
|
12023
12023
|
let s = e.resolve(t.map(this.anchor));
|
|
12024
|
-
return new
|
|
12024
|
+
return new ze(s.parent.inlineContent ? s : r, r);
|
|
12025
12025
|
}
|
|
12026
12026
|
replace(e, t = ye.empty) {
|
|
12027
12027
|
if (super.replace(e, t), t == ye.empty) {
|
|
@@ -12030,7 +12030,7 @@ class Ue extends ze {
|
|
|
12030
12030
|
}
|
|
12031
12031
|
}
|
|
12032
12032
|
eq(e) {
|
|
12033
|
-
return e instanceof
|
|
12033
|
+
return e instanceof ze && e.anchor == this.anchor && e.head == this.head;
|
|
12034
12034
|
}
|
|
12035
12035
|
getBookmark() {
|
|
12036
12036
|
return new ea(this.anchor, this.head);
|
|
@@ -12044,7 +12044,7 @@ class Ue extends ze {
|
|
|
12044
12044
|
static fromJSON(e, t) {
|
|
12045
12045
|
if (typeof t.anchor != "number" || typeof t.head != "number")
|
|
12046
12046
|
throw new RangeError("Invalid input for TextSelection.fromJSON");
|
|
12047
|
-
return new
|
|
12047
|
+
return new ze(e.resolve(t.anchor), e.resolve(t.head));
|
|
12048
12048
|
}
|
|
12049
12049
|
/**
|
|
12050
12050
|
Create a text selection from non-resolved positions.
|
|
@@ -12064,16 +12064,16 @@ class Ue extends ze {
|
|
|
12064
12064
|
static between(e, t, r) {
|
|
12065
12065
|
let s = e.pos - t.pos;
|
|
12066
12066
|
if ((!r || s) && (r = s >= 0 ? 1 : -1), !t.parent.inlineContent) {
|
|
12067
|
-
let i =
|
|
12067
|
+
let i = He.findFrom(t, r, !0) || He.findFrom(t, -r, !0);
|
|
12068
12068
|
if (i)
|
|
12069
12069
|
t = i.$head;
|
|
12070
12070
|
else
|
|
12071
|
-
return
|
|
12071
|
+
return He.near(t, r);
|
|
12072
12072
|
}
|
|
12073
|
-
return e.parent.inlineContent || (s == 0 ? e = t : (e = (
|
|
12073
|
+
return e.parent.inlineContent || (s == 0 ? e = t : (e = (He.findFrom(e, -r, !0) || He.findFrom(e, r, !0)).$anchor, e.pos < t.pos != s < 0 && (e = t))), new ze(e, t);
|
|
12074
12074
|
}
|
|
12075
12075
|
}
|
|
12076
|
-
|
|
12076
|
+
He.jsonID("text", ze);
|
|
12077
12077
|
class ea {
|
|
12078
12078
|
constructor(e, t) {
|
|
12079
12079
|
this.anchor = e, this.head = t;
|
|
@@ -12082,10 +12082,10 @@ class ea {
|
|
|
12082
12082
|
return new ea(e.map(this.anchor), e.map(this.head));
|
|
12083
12083
|
}
|
|
12084
12084
|
resolve(e) {
|
|
12085
|
-
return
|
|
12085
|
+
return ze.between(e.resolve(this.anchor), e.resolve(this.head));
|
|
12086
12086
|
}
|
|
12087
12087
|
}
|
|
12088
|
-
class Ie extends
|
|
12088
|
+
class Ie extends He {
|
|
12089
12089
|
/**
|
|
12090
12090
|
Create a node selection. Does not verify the validity of its
|
|
12091
12091
|
argument.
|
|
@@ -12096,7 +12096,7 @@ class Ie extends ze {
|
|
|
12096
12096
|
}
|
|
12097
12097
|
map(e, t) {
|
|
12098
12098
|
let { deleted: r, pos: s } = t.mapResult(this.anchor), i = e.resolve(s);
|
|
12099
|
-
return r ?
|
|
12099
|
+
return r ? He.near(i) : new Ie(i);
|
|
12100
12100
|
}
|
|
12101
12101
|
content() {
|
|
12102
12102
|
return new ye(ue.from(this.node), 0, 0);
|
|
@@ -12133,7 +12133,7 @@ class Ie extends ze {
|
|
|
12133
12133
|
}
|
|
12134
12134
|
}
|
|
12135
12135
|
Ie.prototype.visible = !1;
|
|
12136
|
-
|
|
12136
|
+
He.jsonID("node", Ie);
|
|
12137
12137
|
class hc {
|
|
12138
12138
|
constructor(e) {
|
|
12139
12139
|
this.anchor = e;
|
|
@@ -12144,10 +12144,10 @@ class hc {
|
|
|
12144
12144
|
}
|
|
12145
12145
|
resolve(e) {
|
|
12146
12146
|
let t = e.resolve(this.anchor), r = t.nodeAfter;
|
|
12147
|
-
return r && Ie.isSelectable(r) ? new Ie(t) :
|
|
12147
|
+
return r && Ie.isSelectable(r) ? new Ie(t) : He.near(t);
|
|
12148
12148
|
}
|
|
12149
12149
|
}
|
|
12150
|
-
class sn extends
|
|
12150
|
+
class sn extends He {
|
|
12151
12151
|
/**
|
|
12152
12152
|
Create an all-selection over the given document.
|
|
12153
12153
|
*/
|
|
@@ -12157,7 +12157,7 @@ class sn extends ze {
|
|
|
12157
12157
|
replace(e, t = ye.empty) {
|
|
12158
12158
|
if (t == ye.empty) {
|
|
12159
12159
|
e.delete(0, e.doc.content.size);
|
|
12160
|
-
let r =
|
|
12160
|
+
let r = He.atStart(e.doc);
|
|
12161
12161
|
r.eq(e.selection) || e.setSelection(r);
|
|
12162
12162
|
} else
|
|
12163
12163
|
super.replace(e, t);
|
|
@@ -12181,7 +12181,7 @@ class sn extends ze {
|
|
|
12181
12181
|
return qy;
|
|
12182
12182
|
}
|
|
12183
12183
|
}
|
|
12184
|
-
|
|
12184
|
+
He.jsonID("all", sn);
|
|
12185
12185
|
const qy = {
|
|
12186
12186
|
map() {
|
|
12187
12187
|
return this;
|
|
@@ -12192,7 +12192,7 @@ const qy = {
|
|
|
12192
12192
|
};
|
|
12193
12193
|
function Gr(n, e, t, r, s, i = !1) {
|
|
12194
12194
|
if (e.inlineContent)
|
|
12195
|
-
return
|
|
12195
|
+
return ze.create(n, t);
|
|
12196
12196
|
for (let o = r - (s > 0 ? 0 : 1); s > 0 ? o < e.childCount : o >= 0; o += s) {
|
|
12197
12197
|
let l = e.child(o);
|
|
12198
12198
|
if (l.isAtom) {
|
|
@@ -12217,7 +12217,7 @@ function Fu(n, e, t) {
|
|
|
12217
12217
|
let i = n.mapping.maps[r], o;
|
|
12218
12218
|
i.forEach((l, a, c, u) => {
|
|
12219
12219
|
o == null && (o = u);
|
|
12220
|
-
}), n.setSelection(
|
|
12220
|
+
}), n.setSelection(He.near(n.doc.resolve(o), t));
|
|
12221
12221
|
}
|
|
12222
12222
|
const Bu = 1, Ci = 2, Vu = 4;
|
|
12223
12223
|
class e5 extends Dh {
|
|
@@ -12332,7 +12332,7 @@ class e5 extends Dh {
|
|
|
12332
12332
|
let o = this.doc.resolve(t);
|
|
12333
12333
|
i = r == t ? o.marks() : o.marksAcross(this.doc.resolve(r));
|
|
12334
12334
|
}
|
|
12335
|
-
return this.replaceRangeWith(t, r, s.text(e, i)), this.selection.empty || this.setSelection(
|
|
12335
|
+
return this.replaceRangeWith(t, r, s.text(e, i)), this.selection.empty || this.setSelection(He.near(this.selection.$to)), this;
|
|
12336
12336
|
}
|
|
12337
12337
|
}
|
|
12338
12338
|
/**
|
|
@@ -12390,7 +12390,7 @@ const t5 = [
|
|
|
12390
12390
|
}),
|
|
12391
12391
|
new Ls("selection", {
|
|
12392
12392
|
init(n, e) {
|
|
12393
|
-
return n.selection ||
|
|
12393
|
+
return n.selection || He.atStart(e.doc);
|
|
12394
12394
|
},
|
|
12395
12395
|
apply(n) {
|
|
12396
12396
|
return n.selection;
|
|
@@ -12570,7 +12570,7 @@ class ts {
|
|
|
12570
12570
|
if (o.name == "doc")
|
|
12571
12571
|
i.doc = xr.fromJSON(e.schema, t.doc);
|
|
12572
12572
|
else if (o.name == "selection")
|
|
12573
|
-
i.selection =
|
|
12573
|
+
i.selection = He.fromJSON(i.doc, t.selection);
|
|
12574
12574
|
else if (o.name == "storedMarks")
|
|
12575
12575
|
t.storedMarks && (i.storedMarks = t.storedMarks.map(e.schema.markFromJSON));
|
|
12576
12576
|
else {
|
|
@@ -13536,7 +13536,7 @@ class er extends ui {
|
|
|
13536
13536
|
}
|
|
13537
13537
|
localCompositionInfo(e, t) {
|
|
13538
13538
|
let { from: r, to: s } = e.state.selection;
|
|
13539
|
-
if (!(e.state.selection instanceof
|
|
13539
|
+
if (!(e.state.selection instanceof ze) || r < t || s > t + this.node.content.size)
|
|
13540
13540
|
return null;
|
|
13541
13541
|
let i = e.domSelectionRange(), o = D5(i.focusNode, i.focusOffset);
|
|
13542
13542
|
if (!o || !this.dom.contains(o.parentNode))
|
|
@@ -14096,7 +14096,7 @@ function Ln(n, e = !1) {
|
|
|
14096
14096
|
R5(n);
|
|
14097
14097
|
else {
|
|
14098
14098
|
let { anchor: r, head: s } = t, i, o;
|
|
14099
|
-
qu && !(t instanceof
|
|
14099
|
+
qu && !(t instanceof ze) && (t.$from.parent.inlineContent || (i = ed(n, t.from)), !t.empty && !t.$from.parent.inlineContent && (o = ed(n, t.to))), n.docView.setSelection(r, s, n.root, e), qu && (i && td(i), o && td(o)), t.visible ? n.dom.classList.remove("ProseMirror-hideselection") : (n.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && L5(n));
|
|
14100
14100
|
}
|
|
14101
14101
|
n.domObserver.setCurSelection(), n.domObserver.connectSelection();
|
|
14102
14102
|
}
|
|
@@ -14144,7 +14144,7 @@ function nd(n) {
|
|
|
14144
14144
|
n.lastSelectedViewDesc && (n.lastSelectedViewDesc.parent && n.lastSelectedViewDesc.deselectNode(), n.lastSelectedViewDesc = void 0);
|
|
14145
14145
|
}
|
|
14146
14146
|
function vc(n, e, t, r) {
|
|
14147
|
-
return n.someProp("createSelectionBetween", (s) => s(n, e, t)) ||
|
|
14147
|
+
return n.someProp("createSelectionBetween", (s) => s(n, e, t)) || ze.between(e, t, r);
|
|
14148
14148
|
}
|
|
14149
14149
|
function rd(n) {
|
|
14150
14150
|
return n.editable && !n.hasFocus() ? !1 : Jh(n);
|
|
@@ -14165,20 +14165,20 @@ function P5(n) {
|
|
|
14165
14165
|
}
|
|
14166
14166
|
function Il(n, e) {
|
|
14167
14167
|
let { $anchor: t, $head: r } = n.selection, s = e > 0 ? t.max(r) : t.min(r), i = s.parent.inlineContent ? s.depth ? n.doc.resolve(e > 0 ? s.after() : s.before()) : null : s;
|
|
14168
|
-
return i &&
|
|
14168
|
+
return i && He.findFrom(i, e);
|
|
14169
14169
|
}
|
|
14170
14170
|
function Wn(n, e) {
|
|
14171
14171
|
return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()), !0;
|
|
14172
14172
|
}
|
|
14173
14173
|
function sd(n, e, t) {
|
|
14174
14174
|
let r = n.state.selection;
|
|
14175
|
-
if (r instanceof
|
|
14175
|
+
if (r instanceof ze)
|
|
14176
14176
|
if (t.indexOf("s") > -1) {
|
|
14177
14177
|
let { $head: s } = r, i = s.textOffset ? null : e < 0 ? s.nodeBefore : s.nodeAfter;
|
|
14178
14178
|
if (!i || i.isText || !i.isLeaf)
|
|
14179
14179
|
return !1;
|
|
14180
14180
|
let o = n.state.doc.resolve(s.pos + i.nodeSize * (e < 0 ? -1 : 1));
|
|
14181
|
-
return Wn(n, new
|
|
14181
|
+
return Wn(n, new ze(r.$anchor, o));
|
|
14182
14182
|
} else if (r.empty) {
|
|
14183
14183
|
if (n.endOfTextblock(e > 0 ? "forward" : "backward")) {
|
|
14184
14184
|
let s = Il(n.state, e);
|
|
@@ -14188,13 +14188,13 @@ function sd(n, e, t) {
|
|
|
14188
14188
|
if (!i || i.isText)
|
|
14189
14189
|
return !1;
|
|
14190
14190
|
let l = e < 0 ? s.pos - i.nodeSize : s.pos;
|
|
14191
|
-
return i.isAtom || (o = n.docView.descAt(l)) && !o.contentDOM ? Ie.isSelectable(i) ? Wn(n, new Ie(e < 0 ? n.state.doc.resolve(s.pos - i.nodeSize) : s)) : ci ? Wn(n, new
|
|
14191
|
+
return i.isAtom || (o = n.docView.descAt(l)) && !o.contentDOM ? Ie.isSelectable(i) ? Wn(n, new Ie(e < 0 ? n.state.doc.resolve(s.pos - i.nodeSize) : s)) : ci ? Wn(n, new ze(n.state.doc.resolve(e < 0 ? l : l + i.nodeSize))) : !1 : !1;
|
|
14192
14192
|
}
|
|
14193
14193
|
} else
|
|
14194
14194
|
return !1;
|
|
14195
14195
|
else {
|
|
14196
14196
|
if (r instanceof Ie && r.node.isInline)
|
|
14197
|
-
return Wn(n, new
|
|
14197
|
+
return Wn(n, new ze(e > 0 ? r.$to : r.$from));
|
|
14198
14198
|
{
|
|
14199
14199
|
let s = Il(n.state, e);
|
|
14200
14200
|
return s ? Wn(n, s) : !1;
|
|
@@ -14343,7 +14343,7 @@ function id(n, e) {
|
|
|
14343
14343
|
}
|
|
14344
14344
|
function od(n, e, t) {
|
|
14345
14345
|
let r = n.state.selection;
|
|
14346
|
-
if (r instanceof
|
|
14346
|
+
if (r instanceof ze && !r.empty || t.indexOf("s") > -1 || Zt && t.indexOf("m") > -1)
|
|
14347
14347
|
return !1;
|
|
14348
14348
|
let { $from: s, $to: i } = r;
|
|
14349
14349
|
if (!s.parent.inlineContent || n.endOfTextblock(e < 0 ? "up" : "down")) {
|
|
@@ -14352,13 +14352,13 @@ function od(n, e, t) {
|
|
|
14352
14352
|
return Wn(n, o);
|
|
14353
14353
|
}
|
|
14354
14354
|
if (!s.parent.inlineContent) {
|
|
14355
|
-
let o = e < 0 ? s : i, l = r instanceof sn ?
|
|
14355
|
+
let o = e < 0 ? s : i, l = r instanceof sn ? He.near(o, e) : He.findFrom(o, e);
|
|
14356
14356
|
return l ? Wn(n, l) : !1;
|
|
14357
14357
|
}
|
|
14358
14358
|
return !1;
|
|
14359
14359
|
}
|
|
14360
14360
|
function ad(n, e) {
|
|
14361
|
-
if (!(n.state.selection instanceof
|
|
14361
|
+
if (!(n.state.selection instanceof ze))
|
|
14362
14362
|
return !0;
|
|
14363
14363
|
let { $head: t, $anchor: r, empty: s } = n.state.selection;
|
|
14364
14364
|
if (!t.sameParent(r))
|
|
@@ -14670,7 +14670,7 @@ Mt.keypress = (n, e) => {
|
|
|
14670
14670
|
return;
|
|
14671
14671
|
}
|
|
14672
14672
|
let r = n.state.selection;
|
|
14673
|
-
if (!(r instanceof
|
|
14673
|
+
if (!(r instanceof ze) || !r.$from.sameParent(r.$to)) {
|
|
14674
14674
|
let s = String.fromCharCode(t.charCode);
|
|
14675
14675
|
!/[\r\n]/.test(s) && !n.someProp("handleTextInput", (i) => i(n, r.$from.pos, r.$to.pos, s)) && n.dispatch(n.state.tr.insertText(s).scrollIntoView()), t.preventDefault();
|
|
14676
14676
|
}
|
|
@@ -14731,12 +14731,12 @@ function a3(n, e, t) {
|
|
|
14731
14731
|
return !1;
|
|
14732
14732
|
let r = n.state.doc;
|
|
14733
14733
|
if (e == -1)
|
|
14734
|
-
return r.inlineContent ? (as(n,
|
|
14734
|
+
return r.inlineContent ? (as(n, ze.create(r, 0, r.content.size), "pointer"), !0) : !1;
|
|
14735
14735
|
let s = r.resolve(e);
|
|
14736
14736
|
for (let i = s.depth + 1; i > 0; i--) {
|
|
14737
14737
|
let o = i > s.depth ? s.nodeAfter : s.node(i), l = s.before(i);
|
|
14738
14738
|
if (o.inlineContent)
|
|
14739
|
-
as(n,
|
|
14739
|
+
as(n, ze.create(r, l + 1, l + 1 + o.content.size), "pointer");
|
|
14740
14740
|
else if (Ie.isSelectable(o))
|
|
14741
14741
|
as(n, Ie.create(r, l), "pointer");
|
|
14742
14742
|
else
|
|
@@ -14793,7 +14793,7 @@ class l3 {
|
|
|
14793
14793
|
// (hidden) cursor is doesn't change the selection, and
|
|
14794
14794
|
// thus doesn't get a reaction from ProseMirror. This
|
|
14795
14795
|
// works around that.
|
|
14796
|
-
bt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (as(this.view,
|
|
14796
|
+
bt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (as(this.view, He.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : Xn(this.view, "pointer");
|
|
14797
14797
|
}
|
|
14798
14798
|
move(e) {
|
|
14799
14799
|
this.updateAllowDefault(e), Xn(this.view, "pointer"), e.buttons == 0 && this.done();
|
|
@@ -15630,7 +15630,7 @@ class b3 {
|
|
|
15630
15630
|
}
|
|
15631
15631
|
}
|
|
15632
15632
|
let c = null;
|
|
15633
|
-
i < 0 && s && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && ta(r) && (c = gc(e)) && c.eq(
|
|
15633
|
+
i < 0 && s && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && ta(r) && (c = gc(e)) && c.eq(He.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Ln(e), this.currentSelection.set(r), e.scrollToSelection()) : (i > -1 || s) && (i > -1 && (e.docView.markDirty(i, o), E3(e)), this.handleDOMChange(i, o, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Ln(e), this.currentSelection.set(r));
|
|
15634
15634
|
}
|
|
15635
15635
|
registerMutation(e, t) {
|
|
15636
15636
|
if (t.indexOf(e.target) > -1)
|
|
@@ -15747,7 +15747,7 @@ function x3(n, e, t, r, s) {
|
|
|
15747
15747
|
return;
|
|
15748
15748
|
}
|
|
15749
15749
|
if (!p)
|
|
15750
|
-
if (r && a instanceof
|
|
15750
|
+
if (r && a instanceof ze && !a.empty && a.$head.sameParent(a.$anchor) && !n.composing && !(c.sel && c.sel.anchor != c.sel.head))
|
|
15751
15751
|
p = { start: a.from, endA: a.to, endB: a.to };
|
|
15752
15752
|
else {
|
|
15753
15753
|
if (c.sel) {
|
|
@@ -15763,9 +15763,9 @@ function x3(n, e, t, r, s) {
|
|
|
15763
15763
|
let U = p.endB - p.start;
|
|
15764
15764
|
c.sel = { anchor: c.sel.anchor + U, head: c.sel.anchor + U };
|
|
15765
15765
|
}
|
|
15766
|
-
n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof
|
|
15766
|
+
n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof ze && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), Lt && qn <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == " " && (p.start--, p.endA--, p.endB--);
|
|
15767
15767
|
let m = c.doc.resolveNoCache(p.start - c.from), g = c.doc.resolveNoCache(p.endB - c.from), E = u.resolve(p.start), S = m.sameParent(g) && m.parent.inlineContent && E.end() >= p.endA, w;
|
|
15768
|
-
if ((ps && n.input.lastIOSEnter > Date.now() - 225 && (!S || s.some((U) => U.nodeName == "DIV" || U.nodeName == "P")) || !S && m.pos < c.doc.content.size && !m.sameParent(g) && (w =
|
|
15768
|
+
if ((ps && n.input.lastIOSEnter > Date.now() - 225 && (!S || s.some((U) => U.nodeName == "DIV" || U.nodeName == "P")) || !S && m.pos < c.doc.content.size && !m.sameParent(g) && (w = He.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && w.head == g.pos) && n.someProp("handleKeyDown", (U) => U(n, gr(13, "Enter")))) {
|
|
15769
15769
|
n.input.lastIOSEnter = 0;
|
|
15770
15770
|
return;
|
|
15771
15771
|
}
|
|
@@ -16412,7 +16412,7 @@ const z3 = (n, e, t) => {
|
|
|
16412
16412
|
if (o && o.slice.size < o.to - o.from) {
|
|
16413
16413
|
if (e) {
|
|
16414
16414
|
let l = n.tr.step(o);
|
|
16415
|
-
l.setSelection(ms(i, "end") ?
|
|
16415
|
+
l.setSelection(ms(i, "end") ? He.findFrom(l.doc.resolve(l.mapping.map(s.pos, -1)), -1) : Ie.create(l.doc, s.pos - i.nodeSize)), e(l.scrollIntoView());
|
|
16416
16416
|
}
|
|
16417
16417
|
return !0;
|
|
16418
16418
|
}
|
|
@@ -16469,7 +16469,7 @@ const W3 = (n, e, t) => {
|
|
|
16469
16469
|
if (o && o.slice.size < o.to - o.from) {
|
|
16470
16470
|
if (e) {
|
|
16471
16471
|
let l = n.tr.step(o);
|
|
16472
|
-
l.setSelection(ms(i, "start") ?
|
|
16472
|
+
l.setSelection(ms(i, "start") ? He.findFrom(l.doc.resolve(l.mapping.map(s.pos)), 1) : Ie.create(l.doc, l.mapping.map(s.pos))), e(l.scrollIntoView());
|
|
16473
16473
|
}
|
|
16474
16474
|
return !0;
|
|
16475
16475
|
}
|
|
@@ -16545,7 +16545,7 @@ const X3 = (n, e) => {
|
|
|
16545
16545
|
return !1;
|
|
16546
16546
|
if (e) {
|
|
16547
16547
|
let l = t.after(), a = n.tr.replaceWith(l, l, o.createAndFill());
|
|
16548
|
-
a.setSelection(
|
|
16548
|
+
a.setSelection(He.near(a.doc.resolve(l), 1)), e(a.scrollIntoView());
|
|
16549
16549
|
}
|
|
16550
16550
|
return !0;
|
|
16551
16551
|
}, Q3 = (n, e) => {
|
|
@@ -16557,7 +16557,7 @@ const X3 = (n, e) => {
|
|
|
16557
16557
|
return !1;
|
|
16558
16558
|
if (e) {
|
|
16559
16559
|
let o = (!r.parentOffset && s.index() < s.parent.childCount ? r : s).pos, l = n.tr.insert(o, i.createAndFill());
|
|
16560
|
-
l.setSelection(
|
|
16560
|
+
l.setSelection(ze.create(l.doc, o + 1)), e(l.scrollIntoView());
|
|
16561
16561
|
}
|
|
16562
16562
|
return !0;
|
|
16563
16563
|
}, q3 = (n, e) => {
|
|
@@ -16597,7 +16597,7 @@ function vp(n, e, t) {
|
|
|
16597
16597
|
}
|
|
16598
16598
|
return !0;
|
|
16599
16599
|
}
|
|
16600
|
-
let a =
|
|
16600
|
+
let a = He.findFrom(e, 1), c = a && a.$from.blockRange(a.$to), u = c && Ts(c);
|
|
16601
16601
|
if (u != null && u >= e.depth)
|
|
16602
16602
|
return t && t(n.tr.lift(c, u).scrollIntoView()), !0;
|
|
16603
16603
|
if (l && ms(s, "start", !0) && ms(r, "end")) {
|
|
@@ -16628,7 +16628,7 @@ function yp(n) {
|
|
|
16628
16628
|
return !1;
|
|
16629
16629
|
i--;
|
|
16630
16630
|
}
|
|
16631
|
-
return s.node(i).isTextblock ? (t && t(e.tr.setSelection(
|
|
16631
|
+
return s.node(i).isTextblock ? (t && t(e.tr.setSelection(ze.create(e.doc, n < 0 ? s.start(i) : s.end(i)))), !0) : !1;
|
|
16632
16632
|
};
|
|
16633
16633
|
}
|
|
16634
16634
|
const nb = yp(-1), rb = yp(1);
|
|
@@ -17538,7 +17538,7 @@ const xb = qt.create({
|
|
|
17538
17538
|
const { state: s } = t, i = s.doc.slice(n.from, n.to);
|
|
17539
17539
|
r.deleteRange(n.from, n.to);
|
|
17540
17540
|
const o = r.mapping.map(e);
|
|
17541
|
-
return r.insert(o, i.content), r.setSelection(new
|
|
17541
|
+
return r.insert(o, i.content), r.setSelection(new ze(r.doc.resolve(o - 1))), !0;
|
|
17542
17542
|
}, Db = () => ({ tr: n, dispatch: e }) => {
|
|
17543
17543
|
const { selection: t } = n, r = t.$anchor.node();
|
|
17544
17544
|
if (r.content.size > 0)
|
|
@@ -17610,7 +17610,7 @@ const Bb = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
|
|
|
17610
17610
|
if (s) {
|
|
17611
17611
|
const d = Tc(a, i, e);
|
|
17612
17612
|
if (d && d.from <= c && d.to >= u) {
|
|
17613
|
-
const f =
|
|
17613
|
+
const f = ze.create(o, d.from, d.to);
|
|
17614
17614
|
t.setSelection(f);
|
|
17615
17615
|
}
|
|
17616
17616
|
}
|
|
@@ -17623,7 +17623,7 @@ const Bb = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
|
|
|
17623
17623
|
return !1;
|
|
17624
17624
|
};
|
|
17625
17625
|
function xc(n) {
|
|
17626
|
-
return n instanceof
|
|
17626
|
+
return n instanceof ze;
|
|
17627
17627
|
}
|
|
17628
17628
|
function Nn(n = 0, e = 0, t = 0) {
|
|
17629
17629
|
return Math.min(Math.max(n, e), t);
|
|
@@ -17631,13 +17631,13 @@ function Nn(n = 0, e = 0, t = 0) {
|
|
|
17631
17631
|
function Tp(n, e = null) {
|
|
17632
17632
|
if (!e)
|
|
17633
17633
|
return null;
|
|
17634
|
-
const t =
|
|
17634
|
+
const t = He.atStart(n), r = He.atEnd(n);
|
|
17635
17635
|
if (e === "start" || e === !0)
|
|
17636
17636
|
return t;
|
|
17637
17637
|
if (e === "end")
|
|
17638
17638
|
return r;
|
|
17639
17639
|
const s = t.from, i = r.to;
|
|
17640
|
-
return e === "all" ?
|
|
17640
|
+
return e === "all" ? ze.create(n, Nn(0, s, i), Nn(n.content.size, s, i)) : ze.create(n, Nn(e, s, i), Nn(e, s, i));
|
|
17641
17641
|
}
|
|
17642
17642
|
function Ac() {
|
|
17643
17643
|
return [
|
|
@@ -17698,7 +17698,7 @@ function jb(n, e, t) {
|
|
|
17698
17698
|
let o = 0;
|
|
17699
17699
|
i.forEach((l, a, c, u) => {
|
|
17700
17700
|
o === 0 && (o = u);
|
|
17701
|
-
}), n.setSelection(
|
|
17701
|
+
}), n.setSelection(He.near(n.doc.resolve(o), t));
|
|
17702
17702
|
}
|
|
17703
17703
|
const Wb = (n) => n.toString().startsWith("<"), Kb = (n, e, t) => ({ tr: r, dispatch: s, editor: i }) => {
|
|
17704
17704
|
if (s) {
|
|
@@ -18085,7 +18085,7 @@ const O7 = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
|
|
|
18085
18085
|
return !0;
|
|
18086
18086
|
}, D7 = (n) => ({ tr: e, dispatch: t }) => {
|
|
18087
18087
|
if (t) {
|
|
18088
|
-
const { doc: r } = e, { from: s, to: i } = typeof n == "number" ? { from: n, to: n } : n, o =
|
|
18088
|
+
const { doc: r } = e, { from: s, to: i } = typeof n == "number" ? { from: n, to: n } : n, o = ze.atStart(r).from, l = ze.atEnd(r).to, a = Nn(s, o, l), c = Nn(i, o, l), u = ze.create(r, a, c);
|
|
18089
18089
|
e.setSelection(u);
|
|
18090
18090
|
}
|
|
18091
18091
|
return !0;
|
|
@@ -18108,7 +18108,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
|
|
|
18108
18108
|
return !1;
|
|
18109
18109
|
if (r) {
|
|
18110
18110
|
const d = a.parentOffset === a.parent.content.size;
|
|
18111
|
-
i instanceof
|
|
18111
|
+
i instanceof ze && e.deleteSelection();
|
|
18112
18112
|
const f = l.depth === 0 ? void 0 : m7(l.node(-1).contentMatchAt(l.indexAfter(-1)));
|
|
18113
18113
|
let h = d && f ? [
|
|
18114
18114
|
{
|
|
@@ -18154,7 +18154,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
|
|
|
18154
18154
|
if (T > -1)
|
|
18155
18155
|
return !1;
|
|
18156
18156
|
V.isTextblock && V.content.size === 0 && (T = z + 1);
|
|
18157
|
-
}), T > -1 && e.setSelection(
|
|
18157
|
+
}), T > -1 && e.setSelection(ze.near(e.doc.resolve(T))), e.scrollIntoView();
|
|
18158
18158
|
}
|
|
18159
18159
|
return !0;
|
|
18160
18160
|
}
|
|
@@ -18391,7 +18391,7 @@ const G7 = qt.create({
|
|
|
18391
18391
|
() => o.undoInputRule(),
|
|
18392
18392
|
// maybe convert first text block node to default node
|
|
18393
18393
|
() => o.command(({ tr: l }) => {
|
|
18394
|
-
const { selection: a, doc: c } = l, { empty: u, $anchor: d } = a, { pos: f, parent: h } = d, p = d.parent.isTextblock ? l.doc.resolve(f - 1) : d, m = p.parent.type.spec.isolating, g = d.pos - d.parentOffset, E = m && p.parent.childCount === 1 ? g === d.pos :
|
|
18394
|
+
const { selection: a, doc: c } = l, { empty: u, $anchor: d } = a, { pos: f, parent: h } = d, p = d.parent.isTextblock ? l.doc.resolve(f - 1) : d, m = p.parent.type.spec.isolating, g = d.pos - d.parentOffset, E = m && p.parent.childCount === 1 ? g === d.pos : He.atStart(c).from === f;
|
|
18395
18395
|
return !u || !E || !h.type.isTextblock || h.textContent.length ? !1 : o.clearNodes();
|
|
18396
18396
|
}),
|
|
18397
18397
|
() => o.deleteSelection(),
|
|
@@ -18443,7 +18443,7 @@ const G7 = qt.create({
|
|
|
18443
18443
|
appendTransaction: (n, e, t) => {
|
|
18444
18444
|
if (!(n.some((p) => p.docChanged) && !e.doc.eq(t.doc)))
|
|
18445
18445
|
return;
|
|
18446
|
-
const { empty: s, from: i, to: o } = e.selection, l =
|
|
18446
|
+
const { empty: s, from: i, to: o } = e.selection, l = He.atStart(e.doc).from, a = He.atEnd(e.doc).to;
|
|
18447
18447
|
if (s || !(i === l && o === a) || !(t.doc.textBetween(0, t.doc.content.size, " ", " ").length === 0))
|
|
18448
18448
|
return;
|
|
18449
18449
|
const d = t.tr, f = sa({
|
|
@@ -22708,7 +22708,7 @@ const Z4 = xn.create({
|
|
|
22708
22708
|
Te(Ae(Jo))
|
|
22709
22709
|
]),
|
|
22710
22710
|
_: 2
|
|
22711
|
-
}, 1032, ["onClick"])) :
|
|
22711
|
+
}, 1032, ["onClick"])) : Ue("", !0),
|
|
22712
22712
|
r.noDownload ? (J(), te("div", yE, [
|
|
22713
22713
|
Te(Ae(us)),
|
|
22714
22714
|
ct(" " + Pe(i.Naam.trim()), 1)
|
|
@@ -22754,7 +22754,7 @@ const Z4 = xn.create({
|
|
|
22754
22754
|
Te(Ae(Jo))
|
|
22755
22755
|
]),
|
|
22756
22756
|
_: 2
|
|
22757
|
-
}, 1032, ["onClick"])) :
|
|
22757
|
+
}, 1032, ["onClick"])) : Ue("", !0),
|
|
22758
22758
|
t.noDownload ? (J(), te("div", {
|
|
22759
22759
|
key: 1,
|
|
22760
22760
|
onClick: (a) => s(a, l)
|
|
@@ -22777,7 +22777,7 @@ const Z4 = xn.create({
|
|
|
22777
22777
|
ee("button", AE, [
|
|
22778
22778
|
Te(Ae(pl))
|
|
22779
22779
|
])
|
|
22780
|
-
], 8, xE)) :
|
|
22780
|
+
], 8, xE)) : Ue("", !0),
|
|
22781
22781
|
ee("img", {
|
|
22782
22782
|
src: l.previewUrl,
|
|
22783
22783
|
alt: l.altName,
|
|
@@ -22802,13 +22802,7 @@ const Z4 = xn.create({
|
|
|
22802
22802
|
}), DE = { class: "bd-markdown-editor__menu-bottom" }, NE = {
|
|
22803
22803
|
key: 0,
|
|
22804
22804
|
class: "vr"
|
|
22805
|
-
}, LE = {
|
|
22806
|
-
key: 4,
|
|
22807
|
-
class: "vr"
|
|
22808
|
-
}, RE = {
|
|
22809
|
-
key: 7,
|
|
22810
|
-
class: "vr"
|
|
22811
|
-
}, PE = /* @__PURE__ */ $e({
|
|
22805
|
+
}, LE = /* @__PURE__ */ $e({
|
|
22812
22806
|
__name: "BDMarkdownEditor",
|
|
22813
22807
|
props: {
|
|
22814
22808
|
placeholder: { default: "Typ een bericht" },
|
|
@@ -22866,7 +22860,7 @@ const Z4 = xn.create({
|
|
|
22866
22860
|
}, w = (M) => {
|
|
22867
22861
|
e("action", { name: "image-attachment", obj: M });
|
|
22868
22862
|
}, y = () => {
|
|
22869
|
-
const M = o.value.getAttributes("link").href, T = window.prompt("
|
|
22863
|
+
const M = o.value.getAttributes("link").href, T = window.prompt("Voeg link toe", M);
|
|
22870
22864
|
if (T !== null) {
|
|
22871
22865
|
if (T === "") {
|
|
22872
22866
|
o.value.chain().focus().unsetLink().run();
|
|
@@ -22887,7 +22881,7 @@ const Z4 = xn.create({
|
|
|
22887
22881
|
"no-download": !0,
|
|
22888
22882
|
"show-delete": !0,
|
|
22889
22883
|
onDelete: S
|
|
22890
|
-
}, null, 8, ["files"])) :
|
|
22884
|
+
}, null, 8, ["files"])) : Ue("", !0),
|
|
22891
22885
|
E.value ? (J(), Ge(Zc, {
|
|
22892
22886
|
key: 1,
|
|
22893
22887
|
files: E.value,
|
|
@@ -22895,7 +22889,7 @@ const Z4 = xn.create({
|
|
|
22895
22889
|
"show-delete": !0,
|
|
22896
22890
|
onDelete: S,
|
|
22897
22891
|
onShow: w
|
|
22898
|
-
}, null, 8, ["files"])) :
|
|
22892
|
+
}, null, 8, ["files"])) : Ue("", !0),
|
|
22899
22893
|
ee("div", DE, [
|
|
22900
22894
|
Te(yt, {
|
|
22901
22895
|
variant: "light",
|
|
@@ -22907,7 +22901,7 @@ const Z4 = xn.create({
|
|
|
22907
22901
|
]),
|
|
22908
22902
|
_: 1
|
|
22909
22903
|
}),
|
|
22910
|
-
p.value ? (J(), te("div", NE)) :
|
|
22904
|
+
p.value ? (J(), te("div", NE)) : Ue("", !0),
|
|
22911
22905
|
p.value ? (J(), Ge(yt, {
|
|
22912
22906
|
key: 1,
|
|
22913
22907
|
variant: "light",
|
|
@@ -22919,7 +22913,7 @@ const Z4 = xn.create({
|
|
|
22919
22913
|
Te(Ae(Vf))
|
|
22920
22914
|
]),
|
|
22921
22915
|
_: 1
|
|
22922
|
-
}, 8, ["class"])) :
|
|
22916
|
+
}, 8, ["class"])) : Ue("", !0),
|
|
22923
22917
|
p.value ? (J(), Ge(yt, {
|
|
22924
22918
|
key: 2,
|
|
22925
22919
|
variant: "light",
|
|
@@ -22931,7 +22925,7 @@ const Z4 = xn.create({
|
|
|
22931
22925
|
Te(Ae(Gf))
|
|
22932
22926
|
]),
|
|
22933
22927
|
_: 1
|
|
22934
|
-
}, 8, ["class"])) :
|
|
22928
|
+
}, 8, ["class"])) : Ue("", !0),
|
|
22935
22929
|
p.value ? (J(), Ge(yt, {
|
|
22936
22930
|
key: 3,
|
|
22937
22931
|
variant: "light",
|
|
@@ -22943,10 +22937,9 @@ const Z4 = xn.create({
|
|
|
22943
22937
|
Te(Ae(Qf))
|
|
22944
22938
|
]),
|
|
22945
22939
|
_: 1
|
|
22946
|
-
}, 8, ["class"])) :
|
|
22947
|
-
p.value ? (J(), te("div", LE)) : He("", !0),
|
|
22940
|
+
}, 8, ["class"])) : Ue("", !0),
|
|
22948
22941
|
p.value ? (J(), Ge(yt, {
|
|
22949
|
-
key:
|
|
22942
|
+
key: 4,
|
|
22950
22943
|
variant: "light",
|
|
22951
22944
|
type: "button",
|
|
22952
22945
|
class: Ke(d.value),
|
|
@@ -22956,9 +22949,9 @@ const Z4 = xn.create({
|
|
|
22956
22949
|
Te(Ae(Hf))
|
|
22957
22950
|
]),
|
|
22958
22951
|
_: 1
|
|
22959
|
-
}, 8, ["class"])) :
|
|
22952
|
+
}, 8, ["class"])) : Ue("", !0),
|
|
22960
22953
|
p.value ? (J(), Ge(yt, {
|
|
22961
|
-
key:
|
|
22954
|
+
key: 5,
|
|
22962
22955
|
variant: "light",
|
|
22963
22956
|
type: "button",
|
|
22964
22957
|
class: Ke(f.value),
|
|
@@ -22968,10 +22961,9 @@ const Z4 = xn.create({
|
|
|
22968
22961
|
Te(Ae(Yf))
|
|
22969
22962
|
]),
|
|
22970
22963
|
_: 1
|
|
22971
|
-
}, 8, ["class"])) :
|
|
22972
|
-
p.value ? (J(), te("div", RE)) : He("", !0),
|
|
22964
|
+
}, 8, ["class"])) : Ue("", !0),
|
|
22973
22965
|
p.value ? (J(), Ge(yt, {
|
|
22974
|
-
key:
|
|
22966
|
+
key: 6,
|
|
22975
22967
|
variant: "light",
|
|
22976
22968
|
type: "button",
|
|
22977
22969
|
class: Ke(h.value),
|
|
@@ -22981,7 +22973,7 @@ const Z4 = xn.create({
|
|
|
22981
22973
|
Te(Ae(Kf))
|
|
22982
22974
|
]),
|
|
22983
22975
|
_: 1
|
|
22984
|
-
}, 8, ["class"])) :
|
|
22976
|
+
}, 8, ["class"])) : Ue("", !0)
|
|
22985
22977
|
])
|
|
22986
22978
|
], 2),
|
|
22987
22979
|
Te(Ae(ac), {
|
|
@@ -22990,7 +22982,7 @@ const Z4 = xn.create({
|
|
|
22990
22982
|
}, null, 8, ["text", "state"])
|
|
22991
22983
|
], 64));
|
|
22992
22984
|
}
|
|
22993
|
-
}),
|
|
22985
|
+
}), RE = { class: "header" }, PE = /* @__PURE__ */ ee("div", null, "Menu", -1), $E = { class: "icon-close-wrapper" }, FE = { class: "navbar" }, BE = { class: "nav navbar-nav w-100" }, VE = { class: "nav-item" }, HE = { class: "nav-item" }, vm = /* @__PURE__ */ $e({
|
|
22994
22986
|
__name: "BDMobileMenu",
|
|
22995
22987
|
props: {
|
|
22996
22988
|
active: { type: Boolean, default: void 0 },
|
|
@@ -23005,19 +22997,19 @@ const Z4 = xn.create({
|
|
|
23005
22997
|
return (o, l) => (J(), te("div", {
|
|
23006
22998
|
class: Ke(["bd-mobile-menu", r.value])
|
|
23007
22999
|
}, [
|
|
23008
|
-
ee("div",
|
|
23009
|
-
|
|
23010
|
-
ee("div",
|
|
23000
|
+
ee("div", RE, [
|
|
23001
|
+
PE,
|
|
23002
|
+
ee("div", $E, [
|
|
23011
23003
|
Te(sc, { onClick: s })
|
|
23012
23004
|
])
|
|
23013
23005
|
]),
|
|
23014
|
-
ee("nav",
|
|
23015
|
-
ee("ul",
|
|
23016
|
-
(J(!0), te(rt, null, Bt(t.options, (a) => (J(), te("li",
|
|
23006
|
+
ee("nav", FE, [
|
|
23007
|
+
ee("ul", BE, [
|
|
23008
|
+
(J(!0), te(rt, null, Bt(t.options, (a) => (J(), te("li", VE, [
|
|
23017
23009
|
Te(Gs, an({ class: "nav-link" }, a, { onClick: s }), null, 16)
|
|
23018
23010
|
]))), 256)),
|
|
23019
23011
|
je(o.$slots, "special-options"),
|
|
23020
|
-
ee("li",
|
|
23012
|
+
ee("li", HE, [
|
|
23021
23013
|
Te(Gs, {
|
|
23022
23014
|
class: "nav-link",
|
|
23023
23015
|
text: "Uitloggen",
|
|
@@ -23028,7 +23020,7 @@ const Z4 = xn.create({
|
|
|
23028
23020
|
])
|
|
23029
23021
|
], 2));
|
|
23030
23022
|
}
|
|
23031
|
-
}),
|
|
23023
|
+
}), zE = { class: "bd-user" }, UE = { class: "bd-user__information" }, jE = { class: "text-break" }, WE = { class: "overflow-x-hidden" }, KE = /* @__PURE__ */ $e({
|
|
23032
23024
|
__name: "BDUser",
|
|
23033
23025
|
props: {
|
|
23034
23026
|
name: { default: "" },
|
|
@@ -23041,18 +23033,18 @@ const Z4 = xn.create({
|
|
|
23041
23033
|
var r;
|
|
23042
23034
|
return typeof e.details == "string" ? e.details : (r = e.details) == null ? void 0 : r.join(" • ");
|
|
23043
23035
|
});
|
|
23044
|
-
return (r, s) => (J(), te("div",
|
|
23045
|
-
e.hideImage ?
|
|
23046
|
-
ee("div",
|
|
23036
|
+
return (r, s) => (J(), te("div", zE, [
|
|
23037
|
+
e.hideImage ? Ue("", !0) : (J(), Ge(Xo, an({ key: 0 }, e.img, { size: "sm" }), null, 16)),
|
|
23038
|
+
ee("div", UE, [
|
|
23047
23039
|
ee("header", null, [
|
|
23048
|
-
ee("h5",
|
|
23040
|
+
ee("h5", jE, Pe(e.name), 1),
|
|
23049
23041
|
je(r.$slots, "header-extra")
|
|
23050
23042
|
]),
|
|
23051
|
-
ee("span",
|
|
23043
|
+
ee("span", WE, Pe(t.value), 1)
|
|
23052
23044
|
])
|
|
23053
23045
|
]));
|
|
23054
23046
|
}
|
|
23055
|
-
}), Ql = "", Mi = (n) => typeof n == "string" || n instanceof String,
|
|
23047
|
+
}), Ql = "", Mi = (n) => typeof n == "string" || n instanceof String, GE = { class: "bd-chat-cloud-card" }, YE = { class: "bd-chat-cloud-card__header" }, JE = { class: "bd-chat-cloud-card__body" }, ZE = ["innerHTML"], XE = { class: "bd-chat-cloud-card__footer" }, QE = /* @__PURE__ */ $e({
|
|
23056
23048
|
__name: "BDChatCloud",
|
|
23057
23049
|
props: {
|
|
23058
23050
|
headerTitle: { default: "" },
|
|
@@ -23077,8 +23069,8 @@ const Z4 = xn.create({
|
|
|
23077
23069
|
src: t.src,
|
|
23078
23070
|
size: "sm"
|
|
23079
23071
|
}, null, 8, ["src"]),
|
|
23080
|
-
ee("div",
|
|
23081
|
-
ee("div",
|
|
23072
|
+
ee("div", GE, [
|
|
23073
|
+
ee("div", YE, [
|
|
23082
23074
|
je(a.$slots, "header", {}, () => [
|
|
23083
23075
|
ct(Pe(a.headerTitle), 1)
|
|
23084
23076
|
]),
|
|
@@ -23093,32 +23085,32 @@ const Z4 = xn.create({
|
|
|
23093
23085
|
_: 1
|
|
23094
23086
|
})
|
|
23095
23087
|
]),
|
|
23096
|
-
ee("div",
|
|
23088
|
+
ee("div", JE, [
|
|
23097
23089
|
je(a.$slots, "body", {}, () => [
|
|
23098
23090
|
ee("div", {
|
|
23099
23091
|
class: "bd-chat-cloud-card__message",
|
|
23100
23092
|
innerHTML: t.message
|
|
23101
|
-
}, null, 8,
|
|
23093
|
+
}, null, 8, ZE)
|
|
23102
23094
|
])
|
|
23103
23095
|
]),
|
|
23104
|
-
ee("div",
|
|
23096
|
+
ee("div", XE, [
|
|
23105
23097
|
je(a.$slots, "footer", {}, () => [
|
|
23106
23098
|
s.value ? (J(), Ge(Jc, {
|
|
23107
23099
|
key: 0,
|
|
23108
23100
|
files: s.value
|
|
23109
|
-
}, null, 8, ["files"])) :
|
|
23101
|
+
}, null, 8, ["files"])) : Ue("", !0),
|
|
23110
23102
|
i.value ? (J(), Ge(Zc, {
|
|
23111
23103
|
key: 1,
|
|
23112
23104
|
files: i.value,
|
|
23113
23105
|
onShow: l,
|
|
23114
23106
|
"fast-download": !0
|
|
23115
|
-
}, null, 8, ["files"])) :
|
|
23107
|
+
}, null, 8, ["files"])) : Ue("", !0)
|
|
23116
23108
|
])
|
|
23117
23109
|
])
|
|
23118
23110
|
])
|
|
23119
23111
|
], 2));
|
|
23120
23112
|
}
|
|
23121
|
-
}),
|
|
23113
|
+
}), qE = /* @__PURE__ */ $e({
|
|
23122
23114
|
__name: "BDTableSortHeader",
|
|
23123
23115
|
props: ["active", "label", "sortDesc"],
|
|
23124
23116
|
emits: ["sortAsc", "sortDesc"],
|
|
@@ -23146,13 +23138,13 @@ const Z4 = xn.create({
|
|
|
23146
23138
|
t.active && !r.value ? (J(), Ge(Ae(Jf), { key: 0 })) : t.active && r.value ? (J(), Ge(Ae(Zf), { key: 1 })) : (J(), Ge(Ae(Xf), { key: 2 }))
|
|
23147
23139
|
], 2));
|
|
23148
23140
|
}
|
|
23149
|
-
}),
|
|
23141
|
+
}), e6 = { class: "bd-table" }, t6 = {
|
|
23150
23142
|
key: 0,
|
|
23151
23143
|
class: "table"
|
|
23152
|
-
},
|
|
23144
|
+
}, n6 = { key: 1 }, r6 = ["onClick"], s6 = { key: 0 }, i6 = {
|
|
23153
23145
|
key: 1,
|
|
23154
23146
|
class: "empty-text"
|
|
23155
|
-
},
|
|
23147
|
+
}, o6 = /* @__PURE__ */ $e({
|
|
23156
23148
|
__name: "BDTable",
|
|
23157
23149
|
props: ["fields", "items", "sortBy", "sortDesc", "tbodyTrClass", "emptyText"],
|
|
23158
23150
|
emits: ["row-click", "sort-changed"],
|
|
@@ -23182,13 +23174,13 @@ const Z4 = xn.create({
|
|
|
23182
23174
|
s.value = d;
|
|
23183
23175
|
}), e({
|
|
23184
23176
|
Refresh: u
|
|
23185
|
-
}), (d, f) => (J(), te("div",
|
|
23186
|
-
r.items && r.items.length > 0 ? (J(), te("table",
|
|
23177
|
+
}), (d, f) => (J(), te("div", e6, [
|
|
23178
|
+
r.items && r.items.length > 0 ? (J(), te("table", t6, [
|
|
23187
23179
|
ee("thead", null, [
|
|
23188
23180
|
ee("tr", null, [
|
|
23189
23181
|
(J(!0), te(rt, null, Bt(r.fields, (h) => (J(), te(rt, null, [
|
|
23190
23182
|
h.isVisible ? (J(), te(rt, { key: 0 }, [
|
|
23191
|
-
h.sortable ? (J(), Ge(
|
|
23183
|
+
h.sortable ? (J(), Ge(qE, {
|
|
23192
23184
|
key: 0,
|
|
23193
23185
|
label: h.label,
|
|
23194
23186
|
active: h.key == i.value,
|
|
@@ -23196,8 +23188,8 @@ const Z4 = xn.create({
|
|
|
23196
23188
|
onClick: (p) => o(h.key),
|
|
23197
23189
|
onSortAsc: (p) => a(h.key),
|
|
23198
23190
|
onSortDesc: (p) => c(h.key)
|
|
23199
|
-
}, null, 8, ["label", "active", "sortDesc", "onClick", "onSortAsc", "onSortDesc"])) : (J(), te("th",
|
|
23200
|
-
], 64)) :
|
|
23191
|
+
}, null, 8, ["label", "active", "sortDesc", "onClick", "onSortAsc", "onSortDesc"])) : (J(), te("th", n6, Pe(h.label), 1))
|
|
23192
|
+
], 64)) : Ue("", !0)
|
|
23201
23193
|
], 64))), 256))
|
|
23202
23194
|
])
|
|
23203
23195
|
]),
|
|
@@ -23207,7 +23199,7 @@ const Z4 = xn.create({
|
|
|
23207
23199
|
onClick: (p) => t("row-click", h)
|
|
23208
23200
|
}, [
|
|
23209
23201
|
(J(!0), te(rt, null, Bt(n.fields, (p) => (J(), te(rt, null, [
|
|
23210
|
-
p.isVisible ? (J(), te("td",
|
|
23202
|
+
p.isVisible ? (J(), te("td", s6, [
|
|
23211
23203
|
d.$slots.hasOwnProperty(p.key) ? je(d.$slots, p.key, {
|
|
23212
23204
|
key: 0,
|
|
23213
23205
|
row: h,
|
|
@@ -23216,11 +23208,11 @@ const Z4 = xn.create({
|
|
|
23216
23208
|
}) : (J(), te(rt, { key: 1 }, [
|
|
23217
23209
|
ct(Pe(h[p.key]), 1)
|
|
23218
23210
|
], 64))
|
|
23219
|
-
])) :
|
|
23211
|
+
])) : Ue("", !0)
|
|
23220
23212
|
], 64))), 256))
|
|
23221
|
-
], 10,
|
|
23213
|
+
], 10, r6))), 256))
|
|
23222
23214
|
])
|
|
23223
|
-
])) : (J(), te("p",
|
|
23215
|
+
])) : (J(), te("p", i6, Pe(r.emptyText), 1))
|
|
23224
23216
|
]));
|
|
23225
23217
|
}
|
|
23226
23218
|
}), ym = /* @__PURE__ */ $e({
|
|
@@ -23283,10 +23275,10 @@ const Z4 = xn.create({
|
|
|
23283
23275
|
], 16)
|
|
23284
23276
|
]));
|
|
23285
23277
|
}
|
|
23286
|
-
}),
|
|
23278
|
+
}), a6 = { class: "row bd-header" }, l6 = { class: "col logo-mix" }, c6 = ["src", "alt"], u6 = /* @__PURE__ */ ee("div", null, "Menu", -1), d6 = {
|
|
23287
23279
|
key: 0,
|
|
23288
23280
|
class: "col header-options"
|
|
23289
|
-
},
|
|
23281
|
+
}, f6 = { class: "col bd-btn-settings" }, h6 = "sm", p6 = /* @__PURE__ */ $e({
|
|
23290
23282
|
__name: "BDHeader",
|
|
23291
23283
|
props: {
|
|
23292
23284
|
dropdownMenuTitle: {},
|
|
@@ -23304,8 +23296,8 @@ const Z4 = xn.create({
|
|
|
23304
23296
|
return t.headerOptions && (c = c.concat(t.headerOptions)), t.dropdownOptions && (c = c.concat(t.dropdownOptions)), c;
|
|
23305
23297
|
}), s = at(void 0), i = () => e("click"), o = () => e("signout"), l = () => s.value = !0, a = () => s.value = !1;
|
|
23306
23298
|
return (c, u) => (J(), te(rt, null, [
|
|
23307
|
-
ee("nav",
|
|
23308
|
-
ee("div",
|
|
23299
|
+
ee("nav", a6, [
|
|
23300
|
+
ee("div", l6, [
|
|
23309
23301
|
Te(qf, {
|
|
23310
23302
|
viewBox: "0 0 351 61",
|
|
23311
23303
|
class: "logo bd-logo",
|
|
@@ -23316,16 +23308,16 @@ const Z4 = xn.create({
|
|
|
23316
23308
|
class: "logo organization-logo",
|
|
23317
23309
|
src: t.organizationLogoSrc,
|
|
23318
23310
|
alt: t.organizationLogoAlt
|
|
23319
|
-
}, null, 8,
|
|
23311
|
+
}, null, 8, c6)) : Ue("", !0)
|
|
23320
23312
|
]),
|
|
23321
23313
|
ee("div", {
|
|
23322
23314
|
class: "col bd-hamburger",
|
|
23323
23315
|
onClick: l
|
|
23324
23316
|
}, [
|
|
23325
|
-
|
|
23317
|
+
u6,
|
|
23326
23318
|
Te(ml)
|
|
23327
23319
|
]),
|
|
23328
|
-
t.headerOptions && t.headerOptions.length !== 0 ? (J(), te("div",
|
|
23320
|
+
t.headerOptions && t.headerOptions.length !== 0 ? (J(), te("div", d6, [
|
|
23329
23321
|
(J(!0), te(rt, null, Bt(t.headerOptions, (d) => (J(), Ge(yt, {
|
|
23330
23322
|
class: "btn-header",
|
|
23331
23323
|
to: d.to
|
|
@@ -23335,15 +23327,15 @@ const Z4 = xn.create({
|
|
|
23335
23327
|
]),
|
|
23336
23328
|
_: 2
|
|
23337
23329
|
}, 1032, ["to"]))), 256))
|
|
23338
|
-
])) :
|
|
23339
|
-
ee("div",
|
|
23330
|
+
])) : Ue("", !0),
|
|
23331
|
+
ee("div", f6, [
|
|
23340
23332
|
je(c.$slots, "profile-side"),
|
|
23341
23333
|
t.profileImageSrc ? (J(), Ge(Xo, {
|
|
23342
23334
|
key: 0,
|
|
23343
23335
|
src: t.profileImageSrc,
|
|
23344
23336
|
alt: t.profileImageAlt,
|
|
23345
|
-
size:
|
|
23346
|
-
}, null, 8, ["src", "alt"])) :
|
|
23337
|
+
size: h6
|
|
23338
|
+
}, null, 8, ["src", "alt"])) : Ue("", !0),
|
|
23347
23339
|
Te(ym, {
|
|
23348
23340
|
text: t.dropdownMenuTitle,
|
|
23349
23341
|
variant: "primary",
|
|
@@ -23374,13 +23366,13 @@ const Z4 = xn.create({
|
|
|
23374
23366
|
}, 8, ["active", "options"])
|
|
23375
23367
|
], 64));
|
|
23376
23368
|
}
|
|
23377
|
-
}),
|
|
23369
|
+
}), m6 = {
|
|
23378
23370
|
class: "modal bd-modal modal-lg",
|
|
23379
23371
|
tabindex: "-1"
|
|
23380
|
-
},
|
|
23372
|
+
}, g6 = { class: "modal-dialog" }, v6 = { class: "modal-content" }, y6 = { class: "modal-header" }, b6 = { class: "modal-title" }, E6 = /* @__PURE__ */ ee("span", null, "Sluiten", -1), S6 = { class: "modal-body" }, C6 = {
|
|
23381
23373
|
key: 0,
|
|
23382
23374
|
class: "modal-footer"
|
|
23383
|
-
},
|
|
23375
|
+
}, w6 = ["disabled"], T6 = /* @__PURE__ */ $e({
|
|
23384
23376
|
__name: "BDModal",
|
|
23385
23377
|
props: {
|
|
23386
23378
|
title: { default: "" },
|
|
@@ -23398,11 +23390,11 @@ const Z4 = xn.create({
|
|
|
23398
23390
|
}, s = () => {
|
|
23399
23391
|
e("cancel");
|
|
23400
23392
|
};
|
|
23401
|
-
return (i, o) => (J(), te("div",
|
|
23402
|
-
ee("div",
|
|
23403
|
-
ee("div",
|
|
23404
|
-
ee("div",
|
|
23405
|
-
ee("h2",
|
|
23393
|
+
return (i, o) => (J(), te("div", m6, [
|
|
23394
|
+
ee("div", g6, [
|
|
23395
|
+
ee("div", v6, [
|
|
23396
|
+
ee("div", y6, [
|
|
23397
|
+
ee("h2", b6, Pe(t.title), 1),
|
|
23406
23398
|
je(i.$slots, "modal-header-space-between"),
|
|
23407
23399
|
ee("button", {
|
|
23408
23400
|
type: "button",
|
|
@@ -23411,23 +23403,23 @@ const Z4 = xn.create({
|
|
|
23411
23403
|
"aria-label": "Sluiten",
|
|
23412
23404
|
onClick: s
|
|
23413
23405
|
}, [
|
|
23414
|
-
|
|
23406
|
+
E6,
|
|
23415
23407
|
Te(Ae(sc), { class: "bg-primary" })
|
|
23416
23408
|
])
|
|
23417
23409
|
]),
|
|
23418
|
-
ee("div",
|
|
23410
|
+
ee("div", S6, [
|
|
23419
23411
|
je(i.$slots, "default")
|
|
23420
23412
|
]),
|
|
23421
|
-
i.hideFooter ?
|
|
23422
|
-
t.hideFooterSubmitButton ?
|
|
23413
|
+
i.hideFooter ? Ue("", !0) : (J(), te("div", C6, [
|
|
23414
|
+
t.hideFooterSubmitButton ? Ue("", !0) : (J(), te("button", {
|
|
23423
23415
|
key: 0,
|
|
23424
23416
|
type: "button",
|
|
23425
23417
|
class: "btn btn-primary",
|
|
23426
23418
|
disabled: t.disableSubmitButton,
|
|
23427
23419
|
onClick: r
|
|
23428
|
-
}, Pe(t.submitButtonTitle), 9,
|
|
23420
|
+
}, Pe(t.submitButtonTitle), 9, w6)),
|
|
23429
23421
|
je(i.$slots, "buttons"),
|
|
23430
|
-
t.hideFooterCancelButton ?
|
|
23422
|
+
t.hideFooterCancelButton ? Ue("", !0) : (J(), te("button", {
|
|
23431
23423
|
key: 1,
|
|
23432
23424
|
type: "button",
|
|
23433
23425
|
class: "btn btn-link",
|
|
@@ -23440,7 +23432,7 @@ const Z4 = xn.create({
|
|
|
23440
23432
|
])
|
|
23441
23433
|
]));
|
|
23442
23434
|
}
|
|
23443
|
-
}),
|
|
23435
|
+
}), x6 = { class: "template change-password-template" }, A6 = { class: "template-title" }, k6 = { key: 0 }, O6 = { key: 1 }, M6 = ["onSubmit", "onReset"], _6 = { class: "bd-form-field" }, I6 = { class: "bd-form-field" }, D6 = { class: "bd-form-field" }, N6 = { class: "bd-form-buttons" }, L6 = /* @__PURE__ */ $e({
|
|
23444
23436
|
__name: "BDChangePasswordTemplate",
|
|
23445
23437
|
props: {
|
|
23446
23438
|
data: {},
|
|
@@ -23459,7 +23451,7 @@ const Z4 = xn.create({
|
|
|
23459
23451
|
emits: ["submit", "reset"],
|
|
23460
23452
|
setup(n, { emit: e }) {
|
|
23461
23453
|
const t = () => e("submit"), r = () => e("reset");
|
|
23462
|
-
return (s, i) => (J(), te("main",
|
|
23454
|
+
return (s, i) => (J(), te("main", x6, [
|
|
23463
23455
|
Te(hl, { class: "container-xl" }, {
|
|
23464
23456
|
default: Re(() => [
|
|
23465
23457
|
Te(Kr, { class: "justify-content-md-center template-header" }, {
|
|
@@ -23470,7 +23462,7 @@ const Z4 = xn.create({
|
|
|
23470
23462
|
lg: 7
|
|
23471
23463
|
}, {
|
|
23472
23464
|
default: Re(() => [
|
|
23473
|
-
ee("h2",
|
|
23465
|
+
ee("h2", A6, Pe(s.title), 1)
|
|
23474
23466
|
]),
|
|
23475
23467
|
_: 1
|
|
23476
23468
|
})
|
|
@@ -23514,14 +23506,14 @@ const Z4 = xn.create({
|
|
|
23514
23506
|
default: Re(() => [
|
|
23515
23507
|
Te(gl, { variant: "danger" }, {
|
|
23516
23508
|
default: Re(() => [
|
|
23517
|
-
s.errorMessages ? (J(), te("div",
|
|
23509
|
+
s.errorMessages ? (J(), te("div", k6, [
|
|
23518
23510
|
ee("ul", null, [
|
|
23519
23511
|
(J(!0), te(rt, null, Bt(s.errorMessages, (o, l) => (J(), te("li", { key: l }, [
|
|
23520
23512
|
Te(Yo),
|
|
23521
23513
|
ct(" " + Pe(o), 1)
|
|
23522
23514
|
]))), 128))
|
|
23523
23515
|
])
|
|
23524
|
-
])) : (J(), te("div",
|
|
23516
|
+
])) : (J(), te("div", O6, Pe(s.errorMessageText), 1))
|
|
23525
23517
|
]),
|
|
23526
23518
|
_: 1
|
|
23527
23519
|
})
|
|
@@ -23530,7 +23522,7 @@ const Z4 = xn.create({
|
|
|
23530
23522
|
})
|
|
23531
23523
|
]),
|
|
23532
23524
|
_: 1
|
|
23533
|
-
})) :
|
|
23525
|
+
})) : Ue("", !0),
|
|
23534
23526
|
Te(Kr, null, {
|
|
23535
23527
|
default: Re(() => [
|
|
23536
23528
|
Te(Wr, {
|
|
@@ -23544,7 +23536,7 @@ const Z4 = xn.create({
|
|
|
23544
23536
|
onReset: cs(r, ["prevent"]),
|
|
23545
23537
|
class: "form"
|
|
23546
23538
|
}, [
|
|
23547
|
-
ee("div",
|
|
23539
|
+
ee("div", _6, [
|
|
23548
23540
|
Te(Pi, {
|
|
23549
23541
|
modelValue: s.data.password,
|
|
23550
23542
|
"onUpdate:modelValue": i[0] || (i[0] = (o) => s.data.password = o),
|
|
@@ -23554,7 +23546,7 @@ const Z4 = xn.create({
|
|
|
23554
23546
|
invalidFeedbackText: s.validation.password.errorLabel
|
|
23555
23547
|
}, null, 8, ["modelValue", "label", "state", "invalidFeedbackText"])
|
|
23556
23548
|
]),
|
|
23557
|
-
ee("div",
|
|
23549
|
+
ee("div", I6, [
|
|
23558
23550
|
Te(Pi, {
|
|
23559
23551
|
modelValue: s.data.passwordNew,
|
|
23560
23552
|
"onUpdate:modelValue": i[1] || (i[1] = (o) => s.data.passwordNew = o),
|
|
@@ -23564,7 +23556,7 @@ const Z4 = xn.create({
|
|
|
23564
23556
|
invalidFeedbackText: s.validation.passwordNew.errorLabel
|
|
23565
23557
|
}, null, 8, ["modelValue", "label", "state", "invalidFeedbackText"])
|
|
23566
23558
|
]),
|
|
23567
|
-
ee("div",
|
|
23559
|
+
ee("div", D6, [
|
|
23568
23560
|
Te(Pi, {
|
|
23569
23561
|
modelValue: s.data.passwordRepeat,
|
|
23570
23562
|
"onUpdate:modelValue": i[2] || (i[2] = (o) => s.data.passwordRepeat = o),
|
|
@@ -23574,7 +23566,7 @@ const Z4 = xn.create({
|
|
|
23574
23566
|
invalidFeedbackText: s.validation.passwordRepeat.errorLabel
|
|
23575
23567
|
}, null, 8, ["modelValue", "label", "state", "invalidFeedbackText"])
|
|
23576
23568
|
]),
|
|
23577
|
-
ee("div",
|
|
23569
|
+
ee("div", N6, [
|
|
23578
23570
|
Te(yt, { type: "submit" }, {
|
|
23579
23571
|
default: Re(() => [
|
|
23580
23572
|
ct(Pe(s.submitButtonText), 1)
|
|
@@ -23591,7 +23583,7 @@ const Z4 = xn.create({
|
|
|
23591
23583
|
_: 1
|
|
23592
23584
|
})
|
|
23593
23585
|
])
|
|
23594
|
-
], 40,
|
|
23586
|
+
], 40, M6)
|
|
23595
23587
|
]),
|
|
23596
23588
|
_: 1
|
|
23597
23589
|
})
|
|
@@ -23640,12 +23632,12 @@ const Un = /* @__PURE__ */ new Map(), qa = {
|
|
|
23640
23632
|
const t = Un.get(n);
|
|
23641
23633
|
t.delete(e), t.size === 0 && Un.delete(n);
|
|
23642
23634
|
}
|
|
23643
|
-
},
|
|
23635
|
+
}, R6 = 1e6, P6 = 1e3, ql = "transitionend", bm = (n) => (n && window.CSS && window.CSS.escape && (n = n.replace(/#([^\s"#']+)/g, (e, t) => `#${CSS.escape(t)}`)), n), $6 = (n) => n == null ? `${n}` : Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(), F6 = (n) => {
|
|
23644
23636
|
do
|
|
23645
|
-
n += Math.floor(Math.random() *
|
|
23637
|
+
n += Math.floor(Math.random() * R6);
|
|
23646
23638
|
while (document.getElementById(n));
|
|
23647
23639
|
return n;
|
|
23648
|
-
},
|
|
23640
|
+
}, B6 = (n) => {
|
|
23649
23641
|
if (!n)
|
|
23650
23642
|
return 0;
|
|
23651
23643
|
let {
|
|
@@ -23653,7 +23645,7 @@ const Un = /* @__PURE__ */ new Map(), qa = {
|
|
|
23653
23645
|
transitionDelay: t
|
|
23654
23646
|
} = window.getComputedStyle(n);
|
|
23655
23647
|
const r = Number.parseFloat(e), s = Number.parseFloat(t);
|
|
23656
|
-
return !r && !s ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) *
|
|
23648
|
+
return !r && !s ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) * P6);
|
|
23657
23649
|
}, Em = (n) => {
|
|
23658
23650
|
n.dispatchEvent(new Event(ql));
|
|
23659
23651
|
}, Rn = (n) => !n || typeof n != "object" ? !1 : (typeof n.jquery < "u" && (n = n[0]), typeof n.nodeType < "u"), rr = (n) => Rn(n) ? n.jquery ? n[0] : n : typeof n == "string" && n.length > 0 ? document.querySelector(bm(n)) : null, ks = (n) => {
|
|
@@ -23679,13 +23671,13 @@ const Un = /* @__PURE__ */ new Map(), qa = {
|
|
|
23679
23671
|
}, Ho = () => {
|
|
23680
23672
|
}, hi = (n) => {
|
|
23681
23673
|
n.offsetHeight;
|
|
23682
|
-
}, Cm = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, el = [],
|
|
23674
|
+
}, Cm = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, el = [], V6 = (n) => {
|
|
23683
23675
|
document.readyState === "loading" ? (el.length || document.addEventListener("DOMContentLoaded", () => {
|
|
23684
23676
|
for (const e of el)
|
|
23685
23677
|
e();
|
|
23686
23678
|
}), el.push(n)) : n();
|
|
23687
23679
|
}, en = () => document.documentElement.dir === "rtl", nn = (n) => {
|
|
23688
|
-
|
|
23680
|
+
V6(() => {
|
|
23689
23681
|
const e = Cm();
|
|
23690
23682
|
if (e) {
|
|
23691
23683
|
const t = n.NAME, r = e.fn[t];
|
|
@@ -23697,7 +23689,7 @@ const Un = /* @__PURE__ */ new Map(), qa = {
|
|
|
23697
23689
|
Nt(n);
|
|
23698
23690
|
return;
|
|
23699
23691
|
}
|
|
23700
|
-
const r = 5, s =
|
|
23692
|
+
const r = 5, s = B6(e) + r;
|
|
23701
23693
|
let i = !1;
|
|
23702
23694
|
const o = ({
|
|
23703
23695
|
target: l
|
|
@@ -23711,12 +23703,12 @@ const Un = /* @__PURE__ */ new Map(), qa = {
|
|
|
23711
23703
|
const s = n.length;
|
|
23712
23704
|
let i = n.indexOf(e);
|
|
23713
23705
|
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))]);
|
|
23714
|
-
},
|
|
23706
|
+
}, H6 = /[^.]*(?=\..*)\.|.*/, z6 = /\..*/, U6 = /::\d+$/, tl = {};
|
|
23715
23707
|
let df = 1;
|
|
23716
23708
|
const Tm = {
|
|
23717
23709
|
mouseenter: "mouseover",
|
|
23718
23710
|
mouseleave: "mouseout"
|
|
23719
|
-
},
|
|
23711
|
+
}, j6 = /* @__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"]);
|
|
23720
23712
|
function xm(n, e) {
|
|
23721
23713
|
return e && `${e}::${df++}` || n.uidEvent || df++;
|
|
23722
23714
|
}
|
|
@@ -23724,14 +23716,14 @@ function Am(n) {
|
|
|
23724
23716
|
const e = xm(n);
|
|
23725
23717
|
return n.uidEvent = e, tl[e] = tl[e] || {}, tl[e];
|
|
23726
23718
|
}
|
|
23727
|
-
function
|
|
23719
|
+
function W6(n, e) {
|
|
23728
23720
|
return function t(r) {
|
|
23729
23721
|
return Qc(r, {
|
|
23730
23722
|
delegateTarget: n
|
|
23731
23723
|
}), t.oneOff && ae.off(n, r.type, e), e.apply(n, [r]);
|
|
23732
23724
|
};
|
|
23733
23725
|
}
|
|
23734
|
-
function
|
|
23726
|
+
function K6(n, e, t) {
|
|
23735
23727
|
return function r(s) {
|
|
23736
23728
|
const i = n.querySelectorAll(e);
|
|
23737
23729
|
for (let {
|
|
@@ -23750,7 +23742,7 @@ function km(n, e, t = null) {
|
|
|
23750
23742
|
function Om(n, e, t) {
|
|
23751
23743
|
const r = typeof e == "string", s = r ? t : e || t;
|
|
23752
23744
|
let i = Mm(n);
|
|
23753
|
-
return
|
|
23745
|
+
return j6.has(i) || (i = n), [r, s, i];
|
|
23754
23746
|
}
|
|
23755
23747
|
function ff(n, e, t, r, s) {
|
|
23756
23748
|
if (typeof e != "string" || !n)
|
|
@@ -23765,20 +23757,20 @@ function ff(n, e, t, r, s) {
|
|
|
23765
23757
|
u.oneOff = u.oneOff && s;
|
|
23766
23758
|
return;
|
|
23767
23759
|
}
|
|
23768
|
-
const d = xm(o, e.replace(
|
|
23760
|
+
const d = xm(o, e.replace(H6, "")), f = i ? K6(n, t, o) : W6(n, o);
|
|
23769
23761
|
f.delegationSelector = i ? t : null, f.callable = o, f.oneOff = s, f.uidEvent = d, c[d] = f, n.addEventListener(l, f, i);
|
|
23770
23762
|
}
|
|
23771
23763
|
function ec(n, e, t, r, s) {
|
|
23772
23764
|
const i = km(e[t], r, s);
|
|
23773
23765
|
i && (n.removeEventListener(t, i, !!s), delete e[t][i.uidEvent]);
|
|
23774
23766
|
}
|
|
23775
|
-
function
|
|
23767
|
+
function G6(n, e, t, r) {
|
|
23776
23768
|
const s = e[t] || {};
|
|
23777
23769
|
for (const [i, o] of Object.entries(s))
|
|
23778
23770
|
i.includes(r) && ec(n, e, t, o.callable, o.delegationSelector);
|
|
23779
23771
|
}
|
|
23780
23772
|
function Mm(n) {
|
|
23781
|
-
return n = n.replace(
|
|
23773
|
+
return n = n.replace(z6, ""), Tm[n] || n;
|
|
23782
23774
|
}
|
|
23783
23775
|
const ae = {
|
|
23784
23776
|
on(n, e, t, r) {
|
|
@@ -23799,9 +23791,9 @@ const ae = {
|
|
|
23799
23791
|
}
|
|
23800
23792
|
if (u)
|
|
23801
23793
|
for (const d of Object.keys(a))
|
|
23802
|
-
|
|
23794
|
+
G6(n, a, d, e.slice(1));
|
|
23803
23795
|
for (const [d, f] of Object.entries(c)) {
|
|
23804
|
-
const h = d.replace(
|
|
23796
|
+
const h = d.replace(U6, "");
|
|
23805
23797
|
(!l || e.includes(h)) && ec(n, a, o, f.callable, f.delegationSelector);
|
|
23806
23798
|
}
|
|
23807
23799
|
},
|
|
@@ -23901,13 +23893,13 @@ class pi {
|
|
|
23901
23893
|
}
|
|
23902
23894
|
_typeCheckConfig(e, t = this.constructor.DefaultType) {
|
|
23903
23895
|
for (const [r, s] of Object.entries(t)) {
|
|
23904
|
-
const i = e[r], o = Rn(i) ? "element" :
|
|
23896
|
+
const i = e[r], o = Rn(i) ? "element" : $6(i);
|
|
23905
23897
|
if (!new RegExp(s).test(o))
|
|
23906
23898
|
throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`);
|
|
23907
23899
|
}
|
|
23908
23900
|
}
|
|
23909
23901
|
}
|
|
23910
|
-
const
|
|
23902
|
+
const Y6 = "5.3.0";
|
|
23911
23903
|
class dn extends pi {
|
|
23912
23904
|
constructor(e, t) {
|
|
23913
23905
|
super(), e = rr(e), e && (this._element = e, this._config = this._getConfig(t), qa.set(this._element, this.constructor.DATA_KEY, this));
|
|
@@ -23932,7 +23924,7 @@ class dn extends pi {
|
|
|
23932
23924
|
return this.getInstance(e) || new this(e, typeof t == "object" ? t : null);
|
|
23933
23925
|
}
|
|
23934
23926
|
static get VERSION() {
|
|
23935
|
-
return
|
|
23927
|
+
return Y6;
|
|
23936
23928
|
}
|
|
23937
23929
|
static get DATA_KEY() {
|
|
23938
23930
|
return `bs.${this.NAME}`;
|
|
@@ -24013,23 +24005,23 @@ const rl = (n) => {
|
|
|
24013
24005
|
const i = ke.getElementFromSelector(this) || this.closest(`.${r}`);
|
|
24014
24006
|
n.getOrCreateInstance(i)[e]();
|
|
24015
24007
|
});
|
|
24016
|
-
},
|
|
24008
|
+
}, J6 = "alert", Z6 = "bs.alert", _m = `.${Z6}`, X6 = `close${_m}`, Q6 = `closed${_m}`, q6 = "fade", eS = "show";
|
|
24017
24009
|
class ga extends dn {
|
|
24018
24010
|
// Getters
|
|
24019
24011
|
static get NAME() {
|
|
24020
|
-
return
|
|
24012
|
+
return J6;
|
|
24021
24013
|
}
|
|
24022
24014
|
// Public
|
|
24023
24015
|
close() {
|
|
24024
|
-
if (ae.trigger(this._element,
|
|
24016
|
+
if (ae.trigger(this._element, X6).defaultPrevented)
|
|
24025
24017
|
return;
|
|
24026
|
-
this._element.classList.remove(
|
|
24027
|
-
const t = this._element.classList.contains(
|
|
24018
|
+
this._element.classList.remove(eS);
|
|
24019
|
+
const t = this._element.classList.contains(q6);
|
|
24028
24020
|
this._queueCallback(() => this._destroyElement(), this._element, t);
|
|
24029
24021
|
}
|
|
24030
24022
|
// Private
|
|
24031
24023
|
_destroyElement() {
|
|
24032
|
-
this._element.remove(), ae.trigger(this._element,
|
|
24024
|
+
this._element.remove(), ae.trigger(this._element, Q6), this.dispose();
|
|
24033
24025
|
}
|
|
24034
24026
|
// Static
|
|
24035
24027
|
static jQueryInterface(e) {
|
|
@@ -24045,15 +24037,15 @@ class ga extends dn {
|
|
|
24045
24037
|
}
|
|
24046
24038
|
ma(ga, "close");
|
|
24047
24039
|
nn(ga);
|
|
24048
|
-
const
|
|
24040
|
+
const tS = "button", nS = "bs.button", rS = `.${nS}`, sS = ".data-api", iS = "active", pf = '[data-bs-toggle="button"]', oS = `click${rS}${sS}`;
|
|
24049
24041
|
class va extends dn {
|
|
24050
24042
|
// Getters
|
|
24051
24043
|
static get NAME() {
|
|
24052
|
-
return
|
|
24044
|
+
return tS;
|
|
24053
24045
|
}
|
|
24054
24046
|
// Public
|
|
24055
24047
|
toggle() {
|
|
24056
|
-
this._element.setAttribute("aria-pressed", this._element.classList.toggle(
|
|
24048
|
+
this._element.setAttribute("aria-pressed", this._element.classList.toggle(iS));
|
|
24057
24049
|
}
|
|
24058
24050
|
// Static
|
|
24059
24051
|
static jQueryInterface(e) {
|
|
@@ -24063,17 +24055,17 @@ class va extends dn {
|
|
|
24063
24055
|
});
|
|
24064
24056
|
}
|
|
24065
24057
|
}
|
|
24066
|
-
ae.on(document,
|
|
24058
|
+
ae.on(document, oS, pf, (n) => {
|
|
24067
24059
|
n.preventDefault();
|
|
24068
24060
|
const e = n.target.closest(pf);
|
|
24069
24061
|
va.getOrCreateInstance(e).toggle();
|
|
24070
24062
|
});
|
|
24071
24063
|
nn(va);
|
|
24072
|
-
const
|
|
24064
|
+
const aS = "swipe", Os = ".bs.swipe", lS = `touchstart${Os}`, cS = `touchmove${Os}`, uS = `touchend${Os}`, dS = `pointerdown${Os}`, fS = `pointerup${Os}`, hS = "touch", pS = "pen", mS = "pointer-event", gS = 40, vS = {
|
|
24073
24065
|
endCallback: null,
|
|
24074
24066
|
leftCallback: null,
|
|
24075
24067
|
rightCallback: null
|
|
24076
|
-
},
|
|
24068
|
+
}, yS = {
|
|
24077
24069
|
endCallback: "(function|null)",
|
|
24078
24070
|
leftCallback: "(function|null)",
|
|
24079
24071
|
rightCallback: "(function|null)"
|
|
@@ -24084,13 +24076,13 @@ class zo extends pi {
|
|
|
24084
24076
|
}
|
|
24085
24077
|
// Getters
|
|
24086
24078
|
static get Default() {
|
|
24087
|
-
return
|
|
24079
|
+
return vS;
|
|
24088
24080
|
}
|
|
24089
24081
|
static get DefaultType() {
|
|
24090
|
-
return
|
|
24082
|
+
return yS;
|
|
24091
24083
|
}
|
|
24092
24084
|
static get NAME() {
|
|
24093
|
-
return
|
|
24085
|
+
return aS;
|
|
24094
24086
|
}
|
|
24095
24087
|
// Public
|
|
24096
24088
|
dispose() {
|
|
@@ -24112,33 +24104,33 @@ class zo extends pi {
|
|
|
24112
24104
|
}
|
|
24113
24105
|
_handleSwipe() {
|
|
24114
24106
|
const e = Math.abs(this._deltaX);
|
|
24115
|
-
if (e <=
|
|
24107
|
+
if (e <= gS)
|
|
24116
24108
|
return;
|
|
24117
24109
|
const t = e / this._deltaX;
|
|
24118
24110
|
this._deltaX = 0, t && Nt(t > 0 ? this._config.rightCallback : this._config.leftCallback);
|
|
24119
24111
|
}
|
|
24120
24112
|
_initEvents() {
|
|
24121
|
-
this._supportPointerEvents ? (ae.on(this._element,
|
|
24113
|
+
this._supportPointerEvents ? (ae.on(this._element, dS, (e) => this._start(e)), ae.on(this._element, fS, (e) => this._end(e)), this._element.classList.add(mS)) : (ae.on(this._element, lS, (e) => this._start(e)), ae.on(this._element, cS, (e) => this._move(e)), ae.on(this._element, uS, (e) => this._end(e)));
|
|
24122
24114
|
}
|
|
24123
24115
|
_eventIsPointerPenTouch(e) {
|
|
24124
|
-
return this._supportPointerEvents && (e.pointerType ===
|
|
24116
|
+
return this._supportPointerEvents && (e.pointerType === pS || e.pointerType === hS);
|
|
24125
24117
|
}
|
|
24126
24118
|
// Static
|
|
24127
24119
|
static isSupported() {
|
|
24128
24120
|
return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
|
|
24129
24121
|
}
|
|
24130
24122
|
}
|
|
24131
|
-
const
|
|
24132
|
-
[
|
|
24133
|
-
[
|
|
24134
|
-
},
|
|
24123
|
+
const bS = "carousel", ES = "bs.carousel", dr = `.${ES}`, Im = ".data-api", SS = "ArrowLeft", CS = "ArrowRight", wS = 500, _s = "next", Ur = "prev", Qr = "left", zi = "right", TS = `slide${dr}`, sl = `slid${dr}`, xS = `keydown${dr}`, AS = `mouseenter${dr}`, kS = `mouseleave${dr}`, OS = `dragstart${dr}`, MS = `load${dr}${Im}`, _S = `click${dr}${Im}`, Dm = "carousel", _i = "active", IS = "slide", DS = "carousel-item-end", NS = "carousel-item-start", LS = "carousel-item-next", RS = "carousel-item-prev", Nm = ".active", Lm = ".carousel-item", PS = Nm + Lm, $S = ".carousel-item img", FS = ".carousel-indicators", BS = "[data-bs-slide], [data-bs-slide-to]", VS = '[data-bs-ride="carousel"]', HS = {
|
|
24124
|
+
[SS]: zi,
|
|
24125
|
+
[CS]: Qr
|
|
24126
|
+
}, zS = {
|
|
24135
24127
|
interval: 5e3,
|
|
24136
24128
|
keyboard: !0,
|
|
24137
24129
|
pause: "hover",
|
|
24138
24130
|
ride: !1,
|
|
24139
24131
|
touch: !0,
|
|
24140
24132
|
wrap: !0
|
|
24141
|
-
},
|
|
24133
|
+
}, US = {
|
|
24142
24134
|
interval: "(number|boolean)",
|
|
24143
24135
|
// TODO:v6 remove boolean support
|
|
24144
24136
|
keyboard: "boolean",
|
|
@@ -24149,17 +24141,17 @@ const SS = "carousel", CS = "bs.carousel", dr = `.${CS}`, Im = ".data-api", wS =
|
|
|
24149
24141
|
};
|
|
24150
24142
|
class mi extends dn {
|
|
24151
24143
|
constructor(e, t) {
|
|
24152
|
-
super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = ke.findOne(
|
|
24144
|
+
super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = ke.findOne(FS, this._element), this._addEventListeners(), this._config.ride === Dm && this.cycle();
|
|
24153
24145
|
}
|
|
24154
24146
|
// Getters
|
|
24155
24147
|
static get Default() {
|
|
24156
|
-
return
|
|
24148
|
+
return zS;
|
|
24157
24149
|
}
|
|
24158
24150
|
static get DefaultType() {
|
|
24159
|
-
return
|
|
24151
|
+
return US;
|
|
24160
24152
|
}
|
|
24161
24153
|
static get NAME() {
|
|
24162
|
-
return
|
|
24154
|
+
return bS;
|
|
24163
24155
|
}
|
|
24164
24156
|
// Public
|
|
24165
24157
|
next() {
|
|
@@ -24208,16 +24200,16 @@ class mi extends dn {
|
|
|
24208
24200
|
return e.defaultInterval = e.interval, e;
|
|
24209
24201
|
}
|
|
24210
24202
|
_addEventListeners() {
|
|
24211
|
-
this._config.keyboard && ae.on(this._element,
|
|
24203
|
+
this._config.keyboard && ae.on(this._element, xS, (e) => this._keydown(e)), this._config.pause === "hover" && (ae.on(this._element, AS, () => this.pause()), ae.on(this._element, kS, () => this._maybeEnableCycle())), this._config.touch && zo.isSupported() && this._addTouchEventListeners();
|
|
24212
24204
|
}
|
|
24213
24205
|
_addTouchEventListeners() {
|
|
24214
|
-
for (const r of ke.find(
|
|
24215
|
-
ae.on(r,
|
|
24206
|
+
for (const r of ke.find($S, this._element))
|
|
24207
|
+
ae.on(r, OS, (s) => s.preventDefault());
|
|
24216
24208
|
const t = {
|
|
24217
24209
|
leftCallback: () => this._slide(this._directionToOrder(Qr)),
|
|
24218
24210
|
rightCallback: () => this._slide(this._directionToOrder(zi)),
|
|
24219
24211
|
endCallback: () => {
|
|
24220
|
-
this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(),
|
|
24212
|
+
this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), wS + this._config.interval));
|
|
24221
24213
|
}
|
|
24222
24214
|
};
|
|
24223
24215
|
this._swipeHelper = new zo(this._element, t);
|
|
@@ -24225,7 +24217,7 @@ class mi extends dn {
|
|
|
24225
24217
|
_keydown(e) {
|
|
24226
24218
|
if (/input|textarea/i.test(e.target.tagName))
|
|
24227
24219
|
return;
|
|
24228
|
-
const t =
|
|
24220
|
+
const t = HS[e.key];
|
|
24229
24221
|
t && (e.preventDefault(), this._slide(this._directionToOrder(t)));
|
|
24230
24222
|
}
|
|
24231
24223
|
_getItemIndex(e) {
|
|
@@ -24258,11 +24250,11 @@ class mi extends dn {
|
|
|
24258
24250
|
from: this._getItemIndex(r),
|
|
24259
24251
|
to: o
|
|
24260
24252
|
});
|
|
24261
|
-
if (l(
|
|
24253
|
+
if (l(TS).defaultPrevented || !r || !i)
|
|
24262
24254
|
return;
|
|
24263
24255
|
const c = !!this._interval;
|
|
24264
24256
|
this.pause(), this._isSliding = !0, this._setActiveIndicatorElement(o), this._activeElement = i;
|
|
24265
|
-
const u = s ?
|
|
24257
|
+
const u = s ? NS : DS, d = s ? LS : RS;
|
|
24266
24258
|
i.classList.add(d), hi(i), r.classList.add(u), i.classList.add(u);
|
|
24267
24259
|
const f = () => {
|
|
24268
24260
|
i.classList.remove(u, d), i.classList.add(_i), r.classList.remove(_i, d, u), this._isSliding = !1, l(sl);
|
|
@@ -24270,10 +24262,10 @@ class mi extends dn {
|
|
|
24270
24262
|
this._queueCallback(f, r, this._isAnimated()), c && this.cycle();
|
|
24271
24263
|
}
|
|
24272
24264
|
_isAnimated() {
|
|
24273
|
-
return this._element.classList.contains(
|
|
24265
|
+
return this._element.classList.contains(IS);
|
|
24274
24266
|
}
|
|
24275
24267
|
_getActive() {
|
|
24276
|
-
return ke.findOne(
|
|
24268
|
+
return ke.findOne(PS, this._element);
|
|
24277
24269
|
}
|
|
24278
24270
|
_getItems() {
|
|
24279
24271
|
return ke.find(Lm, this._element);
|
|
@@ -24303,7 +24295,7 @@ class mi extends dn {
|
|
|
24303
24295
|
});
|
|
24304
24296
|
}
|
|
24305
24297
|
}
|
|
24306
|
-
ae.on(document,
|
|
24298
|
+
ae.on(document, _S, BS, function(n) {
|
|
24307
24299
|
const e = ke.getElementFromSelector(this);
|
|
24308
24300
|
if (!e || !e.classList.contains(Dm))
|
|
24309
24301
|
return;
|
|
@@ -24319,16 +24311,16 @@ ae.on(document, DS, HS, function(n) {
|
|
|
24319
24311
|
}
|
|
24320
24312
|
t.prev(), t._maybeEnableCycle();
|
|
24321
24313
|
});
|
|
24322
|
-
ae.on(window,
|
|
24323
|
-
const n = ke.find(
|
|
24314
|
+
ae.on(window, MS, () => {
|
|
24315
|
+
const n = ke.find(VS);
|
|
24324
24316
|
for (const e of n)
|
|
24325
24317
|
mi.getOrCreateInstance(e);
|
|
24326
24318
|
});
|
|
24327
24319
|
nn(mi);
|
|
24328
|
-
const
|
|
24320
|
+
const jS = "collapse", WS = "bs.collapse", gi = `.${WS}`, KS = ".data-api", GS = `show${gi}`, YS = `shown${gi}`, JS = `hide${gi}`, ZS = `hidden${gi}`, XS = `click${gi}${KS}`, il = "show", rs = "collapse", Ii = "collapsing", QS = "collapsed", qS = `:scope .${rs} .${rs}`, eC = "collapse-horizontal", tC = "width", nC = "height", rC = ".collapse.show, .collapse.collapsing", tc = '[data-bs-toggle="collapse"]', sC = {
|
|
24329
24321
|
parent: null,
|
|
24330
24322
|
toggle: !0
|
|
24331
|
-
},
|
|
24323
|
+
}, iC = {
|
|
24332
24324
|
parent: "(null|element)",
|
|
24333
24325
|
toggle: "boolean"
|
|
24334
24326
|
};
|
|
@@ -24344,13 +24336,13 @@ class oi extends dn {
|
|
|
24344
24336
|
}
|
|
24345
24337
|
// Getters
|
|
24346
24338
|
static get Default() {
|
|
24347
|
-
return
|
|
24339
|
+
return sC;
|
|
24348
24340
|
}
|
|
24349
24341
|
static get DefaultType() {
|
|
24350
|
-
return
|
|
24342
|
+
return iC;
|
|
24351
24343
|
}
|
|
24352
24344
|
static get NAME() {
|
|
24353
|
-
return
|
|
24345
|
+
return jS;
|
|
24354
24346
|
}
|
|
24355
24347
|
// Public
|
|
24356
24348
|
toggle() {
|
|
@@ -24360,21 +24352,21 @@ class oi extends dn {
|
|
|
24360
24352
|
if (this._isTransitioning || this._isShown())
|
|
24361
24353
|
return;
|
|
24362
24354
|
let e = [];
|
|
24363
|
-
if (this._config.parent && (e = this._getFirstLevelChildren(
|
|
24355
|
+
if (this._config.parent && (e = this._getFirstLevelChildren(rC).filter((l) => l !== this._element).map((l) => oi.getOrCreateInstance(l, {
|
|
24364
24356
|
toggle: !1
|
|
24365
|
-
}))), e.length && e[0]._isTransitioning || ae.trigger(this._element,
|
|
24357
|
+
}))), e.length && e[0]._isTransitioning || ae.trigger(this._element, GS).defaultPrevented)
|
|
24366
24358
|
return;
|
|
24367
24359
|
for (const l of e)
|
|
24368
24360
|
l.hide();
|
|
24369
24361
|
const r = this._getDimension();
|
|
24370
24362
|
this._element.classList.remove(rs), this._element.classList.add(Ii), this._element.style[r] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0;
|
|
24371
24363
|
const s = () => {
|
|
24372
|
-
this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs, il), this._element.style[r] = "", ae.trigger(this._element,
|
|
24364
|
+
this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs, il), this._element.style[r] = "", ae.trigger(this._element, YS);
|
|
24373
24365
|
}, o = `scroll${r[0].toUpperCase() + r.slice(1)}`;
|
|
24374
24366
|
this._queueCallback(s, this._element, !0), this._element.style[r] = `${this._element[o]}px`;
|
|
24375
24367
|
}
|
|
24376
24368
|
hide() {
|
|
24377
|
-
if (this._isTransitioning || !this._isShown() || ae.trigger(this._element,
|
|
24369
|
+
if (this._isTransitioning || !this._isShown() || ae.trigger(this._element, JS).defaultPrevented)
|
|
24378
24370
|
return;
|
|
24379
24371
|
const t = this._getDimension();
|
|
24380
24372
|
this._element.style[t] = `${this._element.getBoundingClientRect()[t]}px`, hi(this._element), this._element.classList.add(Ii), this._element.classList.remove(rs, il);
|
|
@@ -24384,7 +24376,7 @@ class oi extends dn {
|
|
|
24384
24376
|
}
|
|
24385
24377
|
this._isTransitioning = !0;
|
|
24386
24378
|
const r = () => {
|
|
24387
|
-
this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs), ae.trigger(this._element,
|
|
24379
|
+
this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs), ae.trigger(this._element, ZS);
|
|
24388
24380
|
};
|
|
24389
24381
|
this._element.style[t] = "", this._queueCallback(r, this._element, !0);
|
|
24390
24382
|
}
|
|
@@ -24396,7 +24388,7 @@ class oi extends dn {
|
|
|
24396
24388
|
return e.toggle = !!e.toggle, e.parent = rr(e.parent), e;
|
|
24397
24389
|
}
|
|
24398
24390
|
_getDimension() {
|
|
24399
|
-
return this._element.classList.contains(
|
|
24391
|
+
return this._element.classList.contains(eC) ? tC : nC;
|
|
24400
24392
|
}
|
|
24401
24393
|
_initializeChildren() {
|
|
24402
24394
|
if (!this._config.parent)
|
|
@@ -24408,13 +24400,13 @@ class oi extends dn {
|
|
|
24408
24400
|
}
|
|
24409
24401
|
}
|
|
24410
24402
|
_getFirstLevelChildren(e) {
|
|
24411
|
-
const t = ke.find(
|
|
24403
|
+
const t = ke.find(qS, this._config.parent);
|
|
24412
24404
|
return ke.find(e, this._config.parent).filter((r) => !t.includes(r));
|
|
24413
24405
|
}
|
|
24414
24406
|
_addAriaAndCollapsedClass(e, t) {
|
|
24415
24407
|
if (e.length)
|
|
24416
24408
|
for (const r of e)
|
|
24417
|
-
r.classList.toggle(
|
|
24409
|
+
r.classList.toggle(QS, !t), r.setAttribute("aria-expanded", t);
|
|
24418
24410
|
}
|
|
24419
24411
|
// Static
|
|
24420
24412
|
static jQueryInterface(e) {
|
|
@@ -24429,7 +24421,7 @@ class oi extends dn {
|
|
|
24429
24421
|
});
|
|
24430
24422
|
}
|
|
24431
24423
|
}
|
|
24432
|
-
ae.on(document,
|
|
24424
|
+
ae.on(document, XS, tc, function(n) {
|
|
24433
24425
|
(n.target.tagName === "A" || n.delegateTarget && n.delegateTarget.tagName === "A") && n.preventDefault();
|
|
24434
24426
|
for (const e of ke.getMultipleElementsFromSelector(this))
|
|
24435
24427
|
oi.getOrCreateInstance(e, {
|
|
@@ -24437,14 +24429,14 @@ ae.on(document, qS, tc, function(n) {
|
|
|
24437
24429
|
}).toggle();
|
|
24438
24430
|
});
|
|
24439
24431
|
nn(oi);
|
|
24440
|
-
const mf = "dropdown",
|
|
24432
|
+
const mf = "dropdown", oC = "bs.dropdown", Rr = `.${oC}`, qc = ".data-api", aC = "Escape", gf = "Tab", lC = "ArrowUp", vf = "ArrowDown", cC = 2, uC = `hide${Rr}`, dC = `hidden${Rr}`, fC = `show${Rr}`, hC = `shown${Rr}`, Rm = `click${Rr}${qc}`, Pm = `keydown${Rr}${qc}`, pC = `keyup${Rr}${qc}`, qr = "show", mC = "dropup", gC = "dropend", vC = "dropstart", yC = "dropup-center", bC = "dropdown-center", Sr = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', EC = `${Sr}.${qr}`, Ui = ".dropdown-menu", SC = ".navbar", CC = ".navbar-nav", wC = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", TC = en() ? "top-end" : "top-start", xC = en() ? "top-start" : "top-end", AC = en() ? "bottom-end" : "bottom-start", kC = en() ? "bottom-start" : "bottom-end", OC = en() ? "left-start" : "right-start", MC = en() ? "right-start" : "left-start", _C = "top", IC = "bottom", DC = {
|
|
24441
24433
|
autoClose: !0,
|
|
24442
24434
|
boundary: "clippingParents",
|
|
24443
24435
|
display: "dynamic",
|
|
24444
24436
|
offset: [0, 2],
|
|
24445
24437
|
popperConfig: null,
|
|
24446
24438
|
reference: "toggle"
|
|
24447
|
-
},
|
|
24439
|
+
}, NC = {
|
|
24448
24440
|
autoClose: "(boolean|string)",
|
|
24449
24441
|
boundary: "(string|element)",
|
|
24450
24442
|
display: "string",
|
|
@@ -24458,10 +24450,10 @@ class Sn extends dn {
|
|
|
24458
24450
|
}
|
|
24459
24451
|
// Getters
|
|
24460
24452
|
static get Default() {
|
|
24461
|
-
return
|
|
24453
|
+
return DC;
|
|
24462
24454
|
}
|
|
24463
24455
|
static get DefaultType() {
|
|
24464
|
-
return
|
|
24456
|
+
return NC;
|
|
24465
24457
|
}
|
|
24466
24458
|
static get NAME() {
|
|
24467
24459
|
return mf;
|
|
@@ -24476,11 +24468,11 @@ class Sn extends dn {
|
|
|
24476
24468
|
const e = {
|
|
24477
24469
|
relatedTarget: this._element
|
|
24478
24470
|
};
|
|
24479
|
-
if (!ae.trigger(this._element,
|
|
24480
|
-
if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(
|
|
24471
|
+
if (!ae.trigger(this._element, fC, e).defaultPrevented) {
|
|
24472
|
+
if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(CC))
|
|
24481
24473
|
for (const r of [].concat(...document.body.children))
|
|
24482
24474
|
ae.on(r, "mouseover", Ho);
|
|
24483
|
-
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(qr), this._element.classList.add(qr), ae.trigger(this._element,
|
|
24475
|
+
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(qr), this._element.classList.add(qr), ae.trigger(this._element, hC, e);
|
|
24484
24476
|
}
|
|
24485
24477
|
}
|
|
24486
24478
|
hide() {
|
|
@@ -24499,11 +24491,11 @@ class Sn extends dn {
|
|
|
24499
24491
|
}
|
|
24500
24492
|
// Private
|
|
24501
24493
|
_completeHide(e) {
|
|
24502
|
-
if (!ae.trigger(this._element,
|
|
24494
|
+
if (!ae.trigger(this._element, uC, e).defaultPrevented) {
|
|
24503
24495
|
if ("ontouchstart" in document.documentElement)
|
|
24504
24496
|
for (const r of [].concat(...document.body.children))
|
|
24505
24497
|
ae.off(r, "mouseover", Ho);
|
|
24506
|
-
this._popper && this._popper.destroy(), this._menu.classList.remove(qr), this._element.classList.remove(qr), this._element.setAttribute("aria-expanded", "false"), Pn.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element,
|
|
24498
|
+
this._popper && this._popper.destroy(), this._menu.classList.remove(qr), this._element.classList.remove(qr), this._element.setAttribute("aria-expanded", "false"), Pn.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element, dC, e);
|
|
24507
24499
|
}
|
|
24508
24500
|
}
|
|
24509
24501
|
_getConfig(e) {
|
|
@@ -24524,19 +24516,19 @@ class Sn extends dn {
|
|
|
24524
24516
|
}
|
|
24525
24517
|
_getPlacement() {
|
|
24526
24518
|
const e = this._parent;
|
|
24519
|
+
if (e.classList.contains(gC))
|
|
24520
|
+
return OC;
|
|
24521
|
+
if (e.classList.contains(vC))
|
|
24522
|
+
return MC;
|
|
24527
24523
|
if (e.classList.contains(yC))
|
|
24528
24524
|
return _C;
|
|
24529
24525
|
if (e.classList.contains(bC))
|
|
24530
24526
|
return IC;
|
|
24531
|
-
if (e.classList.contains(EC))
|
|
24532
|
-
return DC;
|
|
24533
|
-
if (e.classList.contains(SC))
|
|
24534
|
-
return NC;
|
|
24535
24527
|
const t = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
|
|
24536
|
-
return e.classList.contains(
|
|
24528
|
+
return e.classList.contains(mC) ? t ? xC : TC : t ? kC : AC;
|
|
24537
24529
|
}
|
|
24538
24530
|
_detectNavbar() {
|
|
24539
|
-
return this._element.closest(
|
|
24531
|
+
return this._element.closest(SC) !== null;
|
|
24540
24532
|
}
|
|
24541
24533
|
_getOffset() {
|
|
24542
24534
|
const {
|
|
@@ -24571,7 +24563,7 @@ class Sn extends dn {
|
|
|
24571
24563
|
key: e,
|
|
24572
24564
|
target: t
|
|
24573
24565
|
}) {
|
|
24574
|
-
const r = ke.find(
|
|
24566
|
+
const r = ke.find(wC, this._menu).filter((s) => ks(s));
|
|
24575
24567
|
r.length && Xc(r, t, e === vf, !r.includes(t)).focus();
|
|
24576
24568
|
}
|
|
24577
24569
|
// Static
|
|
@@ -24586,9 +24578,9 @@ class Sn extends dn {
|
|
|
24586
24578
|
});
|
|
24587
24579
|
}
|
|
24588
24580
|
static clearMenus(e) {
|
|
24589
|
-
if (e.button ===
|
|
24581
|
+
if (e.button === cC || e.type === "keyup" && e.key !== gf)
|
|
24590
24582
|
return;
|
|
24591
|
-
const t = ke.find(
|
|
24583
|
+
const t = ke.find(EC);
|
|
24592
24584
|
for (const r of t) {
|
|
24593
24585
|
const s = Sn.getInstance(r);
|
|
24594
24586
|
if (!s || s._config.autoClose === !1)
|
|
@@ -24603,7 +24595,7 @@ class Sn extends dn {
|
|
|
24603
24595
|
}
|
|
24604
24596
|
}
|
|
24605
24597
|
static dataApiKeydownHandler(e) {
|
|
24606
|
-
const t = /input|textarea/i.test(e.target.tagName), r = e.key ===
|
|
24598
|
+
const t = /input|textarea/i.test(e.target.tagName), r = e.key === aC, s = [lC, vf].includes(e.key);
|
|
24607
24599
|
if (!s && !r || t && !r)
|
|
24608
24600
|
return;
|
|
24609
24601
|
e.preventDefault();
|
|
@@ -24618,12 +24610,12 @@ class Sn extends dn {
|
|
|
24618
24610
|
ae.on(document, Pm, Sr, Sn.dataApiKeydownHandler);
|
|
24619
24611
|
ae.on(document, Pm, Ui, Sn.dataApiKeydownHandler);
|
|
24620
24612
|
ae.on(document, Rm, Sn.clearMenus);
|
|
24621
|
-
ae.on(document,
|
|
24613
|
+
ae.on(document, pC, Sn.clearMenus);
|
|
24622
24614
|
ae.on(document, Rm, Sr, function(n) {
|
|
24623
24615
|
n.preventDefault(), Sn.getOrCreateInstance(this).toggle();
|
|
24624
24616
|
});
|
|
24625
24617
|
nn(Sn);
|
|
24626
|
-
const $m = "backdrop",
|
|
24618
|
+
const $m = "backdrop", LC = "fade", yf = "show", bf = `mousedown.bs.${$m}`, RC = {
|
|
24627
24619
|
className: "modal-backdrop",
|
|
24628
24620
|
clickCallback: null,
|
|
24629
24621
|
isAnimated: !1,
|
|
@@ -24631,7 +24623,7 @@ const $m = "backdrop", PC = "fade", yf = "show", bf = `mousedown.bs.${$m}`, $C =
|
|
|
24631
24623
|
// if false, we use the backdrop helper without adding any element to the dom
|
|
24632
24624
|
rootElement: "body"
|
|
24633
24625
|
// give the choice to place backdrop under different elements
|
|
24634
|
-
},
|
|
24626
|
+
}, PC = {
|
|
24635
24627
|
className: "string",
|
|
24636
24628
|
clickCallback: "(function|null)",
|
|
24637
24629
|
isAnimated: "boolean",
|
|
@@ -24644,10 +24636,10 @@ class Fm extends pi {
|
|
|
24644
24636
|
}
|
|
24645
24637
|
// Getters
|
|
24646
24638
|
static get Default() {
|
|
24647
|
-
return
|
|
24639
|
+
return RC;
|
|
24648
24640
|
}
|
|
24649
24641
|
static get DefaultType() {
|
|
24650
|
-
return
|
|
24642
|
+
return PC;
|
|
24651
24643
|
}
|
|
24652
24644
|
static get NAME() {
|
|
24653
24645
|
return $m;
|
|
@@ -24680,7 +24672,7 @@ class Fm extends pi {
|
|
|
24680
24672
|
_getElement() {
|
|
24681
24673
|
if (!this._element) {
|
|
24682
24674
|
const e = document.createElement("div");
|
|
24683
|
-
e.className = this._config.className, this._config.isAnimated && e.classList.add(
|
|
24675
|
+
e.className = this._config.className, this._config.isAnimated && e.classList.add(LC), this._element = e;
|
|
24684
24676
|
}
|
|
24685
24677
|
return this._element;
|
|
24686
24678
|
}
|
|
@@ -24699,11 +24691,11 @@ class Fm extends pi {
|
|
|
24699
24691
|
wm(e, this._getElement(), this._config.isAnimated);
|
|
24700
24692
|
}
|
|
24701
24693
|
}
|
|
24702
|
-
const
|
|
24694
|
+
const $C = "focustrap", FC = "bs.focustrap", Uo = `.${FC}`, BC = `focusin${Uo}`, VC = `keydown.tab${Uo}`, HC = "Tab", zC = "forward", Ef = "backward", UC = {
|
|
24703
24695
|
autofocus: !0,
|
|
24704
24696
|
trapElement: null
|
|
24705
24697
|
// The element to trap focus inside of
|
|
24706
|
-
},
|
|
24698
|
+
}, jC = {
|
|
24707
24699
|
autofocus: "boolean",
|
|
24708
24700
|
trapElement: "element"
|
|
24709
24701
|
};
|
|
@@ -24713,17 +24705,17 @@ class Bm extends pi {
|
|
|
24713
24705
|
}
|
|
24714
24706
|
// Getters
|
|
24715
24707
|
static get Default() {
|
|
24716
|
-
return
|
|
24708
|
+
return UC;
|
|
24717
24709
|
}
|
|
24718
24710
|
static get DefaultType() {
|
|
24719
|
-
return
|
|
24711
|
+
return jC;
|
|
24720
24712
|
}
|
|
24721
24713
|
static get NAME() {
|
|
24722
|
-
return
|
|
24714
|
+
return $C;
|
|
24723
24715
|
}
|
|
24724
24716
|
// Public
|
|
24725
24717
|
activate() {
|
|
24726
|
-
this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ae.off(document, Uo), ae.on(document,
|
|
24718
|
+
this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ae.off(document, Uo), ae.on(document, BC, (e) => this._handleFocusin(e)), ae.on(document, VC, (e) => this._handleKeydown(e)), this._isActive = !0);
|
|
24727
24719
|
}
|
|
24728
24720
|
deactivate() {
|
|
24729
24721
|
this._isActive && (this._isActive = !1, ae.off(document, Uo));
|
|
@@ -24739,7 +24731,7 @@ class Bm extends pi {
|
|
|
24739
24731
|
r.length === 0 ? t.focus() : this._lastTabNavDirection === Ef ? r[r.length - 1].focus() : r[0].focus();
|
|
24740
24732
|
}
|
|
24741
24733
|
_handleKeydown(e) {
|
|
24742
|
-
e.key ===
|
|
24734
|
+
e.key === HC && (this._lastTabNavDirection = e.shiftKey ? Ef : zC);
|
|
24743
24735
|
}
|
|
24744
24736
|
}
|
|
24745
24737
|
const Sf = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", Cf = ".sticky-top", Di = "padding-right", wf = "margin-right";
|
|
@@ -24800,28 +24792,28 @@ class nc {
|
|
|
24800
24792
|
t(r);
|
|
24801
24793
|
}
|
|
24802
24794
|
}
|
|
24803
|
-
const
|
|
24795
|
+
const WC = "modal", KC = "bs.modal", tn = `.${KC}`, GC = ".data-api", YC = "Escape", JC = `hide${tn}`, ZC = `hidePrevented${tn}`, Vm = `hidden${tn}`, Hm = `show${tn}`, XC = `shown${tn}`, QC = `resize${tn}`, qC = `click.dismiss${tn}`, ew = `mousedown.dismiss${tn}`, tw = `keydown.dismiss${tn}`, nw = `click${tn}${GC}`, Tf = "modal-open", rw = "fade", xf = "show", ol = "modal-static", sw = ".modal.show", iw = ".modal-dialog", ow = ".modal-body", aw = '[data-bs-toggle="modal"]', lw = {
|
|
24804
24796
|
backdrop: !0,
|
|
24805
24797
|
focus: !0,
|
|
24806
24798
|
keyboard: !0
|
|
24807
|
-
},
|
|
24799
|
+
}, cw = {
|
|
24808
24800
|
backdrop: "(boolean|string)",
|
|
24809
24801
|
focus: "boolean",
|
|
24810
24802
|
keyboard: "boolean"
|
|
24811
24803
|
};
|
|
24812
24804
|
class ir extends dn {
|
|
24813
24805
|
constructor(e, t) {
|
|
24814
|
-
super(e, t), this._dialog = ke.findOne(
|
|
24806
|
+
super(e, t), this._dialog = ke.findOne(iw, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new nc(), this._addEventListeners();
|
|
24815
24807
|
}
|
|
24816
24808
|
// Getters
|
|
24817
24809
|
static get Default() {
|
|
24818
|
-
return
|
|
24810
|
+
return lw;
|
|
24819
24811
|
}
|
|
24820
24812
|
static get DefaultType() {
|
|
24821
|
-
return
|
|
24813
|
+
return cw;
|
|
24822
24814
|
}
|
|
24823
24815
|
static get NAME() {
|
|
24824
|
-
return
|
|
24816
|
+
return WC;
|
|
24825
24817
|
}
|
|
24826
24818
|
// Public
|
|
24827
24819
|
toggle(e) {
|
|
@@ -24833,7 +24825,7 @@ class ir extends dn {
|
|
|
24833
24825
|
}).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(Tf), this._adjustDialog(), this._backdrop.show(() => this._showElement(e)));
|
|
24834
24826
|
}
|
|
24835
24827
|
hide() {
|
|
24836
|
-
!this._isShown || this._isTransitioning || ae.trigger(this._element,
|
|
24828
|
+
!this._isShown || this._isTransitioning || ae.trigger(this._element, JC).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(xf), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
|
|
24837
24829
|
}
|
|
24838
24830
|
dispose() {
|
|
24839
24831
|
ae.off(window, tn), ae.off(this._dialog, tn), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
|
|
@@ -24856,28 +24848,28 @@ class ir extends dn {
|
|
|
24856
24848
|
}
|
|
24857
24849
|
_showElement(e) {
|
|
24858
24850
|
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;
|
|
24859
|
-
const t = ke.findOne(
|
|
24851
|
+
const t = ke.findOne(ow, this._dialog);
|
|
24860
24852
|
t && (t.scrollTop = 0), hi(this._element), this._element.classList.add(xf);
|
|
24861
24853
|
const r = () => {
|
|
24862
|
-
this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ae.trigger(this._element,
|
|
24854
|
+
this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ae.trigger(this._element, XC, {
|
|
24863
24855
|
relatedTarget: e
|
|
24864
24856
|
});
|
|
24865
24857
|
};
|
|
24866
24858
|
this._queueCallback(r, this._dialog, this._isAnimated());
|
|
24867
24859
|
}
|
|
24868
24860
|
_addEventListeners() {
|
|
24869
|
-
ae.on(this._element,
|
|
24870
|
-
if (e.key ===
|
|
24861
|
+
ae.on(this._element, tw, (e) => {
|
|
24862
|
+
if (e.key === YC) {
|
|
24871
24863
|
if (this._config.keyboard) {
|
|
24872
24864
|
this.hide();
|
|
24873
24865
|
return;
|
|
24874
24866
|
}
|
|
24875
24867
|
this._triggerBackdropTransition();
|
|
24876
24868
|
}
|
|
24877
|
-
}), ae.on(window,
|
|
24869
|
+
}), ae.on(window, QC, () => {
|
|
24878
24870
|
this._isShown && !this._isTransitioning && this._adjustDialog();
|
|
24879
|
-
}), ae.on(this._element,
|
|
24880
|
-
ae.one(this._element,
|
|
24871
|
+
}), ae.on(this._element, ew, (e) => {
|
|
24872
|
+
ae.one(this._element, qC, (t) => {
|
|
24881
24873
|
if (!(this._element !== e.target || this._element !== t.target)) {
|
|
24882
24874
|
if (this._config.backdrop === "static") {
|
|
24883
24875
|
this._triggerBackdropTransition();
|
|
@@ -24894,10 +24886,10 @@ class ir extends dn {
|
|
|
24894
24886
|
});
|
|
24895
24887
|
}
|
|
24896
24888
|
_isAnimated() {
|
|
24897
|
-
return this._element.classList.contains(
|
|
24889
|
+
return this._element.classList.contains(rw);
|
|
24898
24890
|
}
|
|
24899
24891
|
_triggerBackdropTransition() {
|
|
24900
|
-
if (ae.trigger(this._element,
|
|
24892
|
+
if (ae.trigger(this._element, ZC).defaultPrevented)
|
|
24901
24893
|
return;
|
|
24902
24894
|
const t = this._element.scrollHeight > document.documentElement.clientHeight, r = this._element.style.overflowY;
|
|
24903
24895
|
r === "hidden" || this._element.classList.contains(ol) || (t || (this._element.style.overflowY = "hidden"), this._element.classList.add(ol), this._queueCallback(() => {
|
|
@@ -24935,23 +24927,23 @@ class ir extends dn {
|
|
|
24935
24927
|
});
|
|
24936
24928
|
}
|
|
24937
24929
|
}
|
|
24938
|
-
ae.on(document,
|
|
24930
|
+
ae.on(document, nw, aw, function(n) {
|
|
24939
24931
|
const e = ke.getElementFromSelector(this);
|
|
24940
24932
|
["A", "AREA"].includes(this.tagName) && n.preventDefault(), ae.one(e, Hm, (s) => {
|
|
24941
24933
|
s.defaultPrevented || ae.one(e, Vm, () => {
|
|
24942
24934
|
ks(this) && this.focus();
|
|
24943
24935
|
});
|
|
24944
24936
|
});
|
|
24945
|
-
const t = ke.findOne(
|
|
24937
|
+
const t = ke.findOne(sw);
|
|
24946
24938
|
t && ir.getInstance(t).hide(), ir.getOrCreateInstance(e).toggle(this);
|
|
24947
24939
|
});
|
|
24948
24940
|
ma(ir);
|
|
24949
24941
|
nn(ir);
|
|
24950
|
-
const
|
|
24942
|
+
const uw = "offcanvas", dw = "bs.offcanvas", Fn = `.${dw}`, zm = ".data-api", fw = `load${Fn}${zm}`, hw = "Escape", Af = "show", kf = "showing", Of = "hiding", pw = "offcanvas-backdrop", Um = ".offcanvas.show", mw = `show${Fn}`, gw = `shown${Fn}`, vw = `hide${Fn}`, Mf = `hidePrevented${Fn}`, jm = `hidden${Fn}`, yw = `resize${Fn}`, bw = `click${Fn}${zm}`, Ew = `keydown.dismiss${Fn}`, Sw = '[data-bs-toggle="offcanvas"]', Cw = {
|
|
24951
24943
|
backdrop: !0,
|
|
24952
24944
|
keyboard: !0,
|
|
24953
24945
|
scroll: !1
|
|
24954
|
-
},
|
|
24946
|
+
}, ww = {
|
|
24955
24947
|
backdrop: "(boolean|string)",
|
|
24956
24948
|
keyboard: "boolean",
|
|
24957
24949
|
scroll: "boolean"
|
|
@@ -24962,33 +24954,33 @@ class or extends dn {
|
|
|
24962
24954
|
}
|
|
24963
24955
|
// Getters
|
|
24964
24956
|
static get Default() {
|
|
24965
|
-
return
|
|
24957
|
+
return Cw;
|
|
24966
24958
|
}
|
|
24967
24959
|
static get DefaultType() {
|
|
24968
|
-
return
|
|
24960
|
+
return ww;
|
|
24969
24961
|
}
|
|
24970
24962
|
static get NAME() {
|
|
24971
|
-
return
|
|
24963
|
+
return uw;
|
|
24972
24964
|
}
|
|
24973
24965
|
// Public
|
|
24974
24966
|
toggle(e) {
|
|
24975
24967
|
return this._isShown ? this.hide() : this.show(e);
|
|
24976
24968
|
}
|
|
24977
24969
|
show(e) {
|
|
24978
|
-
if (this._isShown || ae.trigger(this._element,
|
|
24970
|
+
if (this._isShown || ae.trigger(this._element, mw, {
|
|
24979
24971
|
relatedTarget: e
|
|
24980
24972
|
}).defaultPrevented)
|
|
24981
24973
|
return;
|
|
24982
24974
|
this._isShown = !0, this._backdrop.show(), this._config.scroll || new nc().hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(kf);
|
|
24983
24975
|
const r = () => {
|
|
24984
|
-
(!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(Af), this._element.classList.remove(kf), ae.trigger(this._element,
|
|
24976
|
+
(!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(Af), this._element.classList.remove(kf), ae.trigger(this._element, gw, {
|
|
24985
24977
|
relatedTarget: e
|
|
24986
24978
|
});
|
|
24987
24979
|
};
|
|
24988
24980
|
this._queueCallback(r, this._element, !0);
|
|
24989
24981
|
}
|
|
24990
24982
|
hide() {
|
|
24991
|
-
if (!this._isShown || ae.trigger(this._element,
|
|
24983
|
+
if (!this._isShown || ae.trigger(this._element, vw).defaultPrevented)
|
|
24992
24984
|
return;
|
|
24993
24985
|
this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(Of), this._backdrop.hide();
|
|
24994
24986
|
const t = () => {
|
|
@@ -25009,7 +25001,7 @@ class or extends dn {
|
|
|
25009
25001
|
this.hide();
|
|
25010
25002
|
}, t = !!this._config.backdrop;
|
|
25011
25003
|
return new Fm({
|
|
25012
|
-
className:
|
|
25004
|
+
className: pw,
|
|
25013
25005
|
isVisible: t,
|
|
25014
25006
|
isAnimated: !0,
|
|
25015
25007
|
rootElement: this._element.parentNode,
|
|
@@ -25022,8 +25014,8 @@ class or extends dn {
|
|
|
25022
25014
|
});
|
|
25023
25015
|
}
|
|
25024
25016
|
_addEventListeners() {
|
|
25025
|
-
ae.on(this._element,
|
|
25026
|
-
if (e.key ===
|
|
25017
|
+
ae.on(this._element, Ew, (e) => {
|
|
25018
|
+
if (e.key === hw) {
|
|
25027
25019
|
if (this._config.keyboard) {
|
|
25028
25020
|
this.hide();
|
|
25029
25021
|
return;
|
|
@@ -25044,7 +25036,7 @@ class or extends dn {
|
|
|
25044
25036
|
});
|
|
25045
25037
|
}
|
|
25046
25038
|
}
|
|
25047
|
-
ae.on(document,
|
|
25039
|
+
ae.on(document, bw, Sw, function(n) {
|
|
25048
25040
|
const e = ke.getElementFromSelector(this);
|
|
25049
25041
|
if (["A", "AREA"].includes(this.tagName) && n.preventDefault(), sr(this))
|
|
25050
25042
|
return;
|
|
@@ -25054,19 +25046,19 @@ ae.on(document, Sw, ww, function(n) {
|
|
|
25054
25046
|
const t = ke.findOne(Um);
|
|
25055
25047
|
t && t !== e && or.getInstance(t).hide(), or.getOrCreateInstance(e).toggle(this);
|
|
25056
25048
|
});
|
|
25057
|
-
ae.on(window,
|
|
25049
|
+
ae.on(window, fw, () => {
|
|
25058
25050
|
for (const n of ke.find(Um))
|
|
25059
25051
|
or.getOrCreateInstance(n).show();
|
|
25060
25052
|
});
|
|
25061
|
-
ae.on(window,
|
|
25053
|
+
ae.on(window, yw, () => {
|
|
25062
25054
|
for (const n of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))
|
|
25063
25055
|
getComputedStyle(n).position !== "fixed" && or.getOrCreateInstance(n).hide();
|
|
25064
25056
|
});
|
|
25065
25057
|
ma(or);
|
|
25066
25058
|
nn(or);
|
|
25067
|
-
const
|
|
25059
|
+
const Tw = /^aria-[\w-]*$/i, Wm = {
|
|
25068
25060
|
// Global attributes allowed on any supplied element below.
|
|
25069
|
-
"*": ["class", "dir", "id", "lang", "role",
|
|
25061
|
+
"*": ["class", "dir", "id", "lang", "role", Tw],
|
|
25070
25062
|
a: ["target", "href", "title", "rel"],
|
|
25071
25063
|
area: [],
|
|
25072
25064
|
b: [],
|
|
@@ -25096,11 +25088,11 @@ const Aw = /^aria-[\w-]*$/i, Wm = {
|
|
|
25096
25088
|
strong: [],
|
|
25097
25089
|
u: [],
|
|
25098
25090
|
ul: []
|
|
25099
|
-
},
|
|
25091
|
+
}, xw = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), Aw = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, kw = (n, e) => {
|
|
25100
25092
|
const t = n.nodeName.toLowerCase();
|
|
25101
|
-
return e.includes(t) ?
|
|
25093
|
+
return e.includes(t) ? xw.has(t) ? !!Aw.test(n.nodeValue) : !0 : e.filter((r) => r instanceof RegExp).some((r) => r.test(t));
|
|
25102
25094
|
};
|
|
25103
|
-
function
|
|
25095
|
+
function Ow(n, e, t) {
|
|
25104
25096
|
if (!n.length)
|
|
25105
25097
|
return n;
|
|
25106
25098
|
if (t && typeof t == "function")
|
|
@@ -25114,11 +25106,11 @@ function _w(n, e, t) {
|
|
|
25114
25106
|
}
|
|
25115
25107
|
const a = [].concat(...o.attributes), c = [].concat(e["*"] || [], e[l] || []);
|
|
25116
25108
|
for (const u of a)
|
|
25117
|
-
|
|
25109
|
+
kw(u, c) || o.removeAttribute(u.nodeName);
|
|
25118
25110
|
}
|
|
25119
25111
|
return s.body.innerHTML;
|
|
25120
25112
|
}
|
|
25121
|
-
const
|
|
25113
|
+
const Mw = "TemplateFactory", _w = {
|
|
25122
25114
|
allowList: Wm,
|
|
25123
25115
|
content: {},
|
|
25124
25116
|
// { selector : text , selector2 : text2 , }
|
|
@@ -25127,7 +25119,7 @@ const Iw = "TemplateFactory", Dw = {
|
|
|
25127
25119
|
sanitize: !0,
|
|
25128
25120
|
sanitizeFn: null,
|
|
25129
25121
|
template: "<div></div>"
|
|
25130
|
-
},
|
|
25122
|
+
}, Iw = {
|
|
25131
25123
|
allowList: "object",
|
|
25132
25124
|
content: "object",
|
|
25133
25125
|
extraClass: "(string|function)",
|
|
@@ -25135,23 +25127,23 @@ const Iw = "TemplateFactory", Dw = {
|
|
|
25135
25127
|
sanitize: "boolean",
|
|
25136
25128
|
sanitizeFn: "(null|function)",
|
|
25137
25129
|
template: "string"
|
|
25138
|
-
},
|
|
25130
|
+
}, Dw = {
|
|
25139
25131
|
entry: "(string|element|function|null)",
|
|
25140
25132
|
selector: "(string|element)"
|
|
25141
25133
|
};
|
|
25142
|
-
class
|
|
25134
|
+
class Nw extends pi {
|
|
25143
25135
|
constructor(e) {
|
|
25144
25136
|
super(), this._config = this._getConfig(e);
|
|
25145
25137
|
}
|
|
25146
25138
|
// Getters
|
|
25147
25139
|
static get Default() {
|
|
25148
|
-
return
|
|
25140
|
+
return _w;
|
|
25149
25141
|
}
|
|
25150
25142
|
static get DefaultType() {
|
|
25151
|
-
return
|
|
25143
|
+
return Iw;
|
|
25152
25144
|
}
|
|
25153
25145
|
static get NAME() {
|
|
25154
|
-
return
|
|
25146
|
+
return Mw;
|
|
25155
25147
|
}
|
|
25156
25148
|
// Public
|
|
25157
25149
|
getContent() {
|
|
@@ -25183,7 +25175,7 @@ class Rw extends pi {
|
|
|
25183
25175
|
super._typeCheckConfig({
|
|
25184
25176
|
selector: t,
|
|
25185
25177
|
entry: r
|
|
25186
|
-
},
|
|
25178
|
+
}, Dw);
|
|
25187
25179
|
}
|
|
25188
25180
|
_setContent(e, t, r) {
|
|
25189
25181
|
const s = ke.findOne(r, e);
|
|
@@ -25204,7 +25196,7 @@ class Rw extends pi {
|
|
|
25204
25196
|
}
|
|
25205
25197
|
}
|
|
25206
25198
|
_maybeSanitize(e) {
|
|
25207
|
-
return this._config.sanitize ?
|
|
25199
|
+
return this._config.sanitize ? Ow(e, this._config.allowList, this._config.sanitizeFn) : e;
|
|
25208
25200
|
}
|
|
25209
25201
|
_resolvePossibleFunction(e) {
|
|
25210
25202
|
return Nt(e, [this]);
|
|
@@ -25217,13 +25209,13 @@ class Rw extends pi {
|
|
|
25217
25209
|
t.textContent = e.textContent;
|
|
25218
25210
|
}
|
|
25219
25211
|
}
|
|
25220
|
-
const
|
|
25212
|
+
const Lw = "tooltip", Rw = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), al = "fade", Pw = "modal", Ni = "show", $w = ".tooltip-inner", _f = `.${Pw}`, If = "hide.bs.modal", Is = "hover", ll = "focus", Fw = "click", Bw = "manual", Vw = "hide", Hw = "hidden", zw = "show", Uw = "shown", jw = "inserted", Ww = "click", Kw = "focusin", Gw = "focusout", Yw = "mouseenter", Jw = "mouseleave", Zw = {
|
|
25221
25213
|
AUTO: "auto",
|
|
25222
25214
|
TOP: "top",
|
|
25223
25215
|
RIGHT: en() ? "left" : "right",
|
|
25224
25216
|
BOTTOM: "bottom",
|
|
25225
25217
|
LEFT: en() ? "right" : "left"
|
|
25226
|
-
},
|
|
25218
|
+
}, Xw = {
|
|
25227
25219
|
allowList: Wm,
|
|
25228
25220
|
animation: !0,
|
|
25229
25221
|
boundary: "clippingParents",
|
|
@@ -25241,7 +25233,7 @@ const Pw = "tooltip", $w = /* @__PURE__ */ new Set(["sanitize", "allowList", "sa
|
|
|
25241
25233
|
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
|
|
25242
25234
|
title: "",
|
|
25243
25235
|
trigger: "hover focus"
|
|
25244
|
-
},
|
|
25236
|
+
}, Qw = {
|
|
25245
25237
|
allowList: "object",
|
|
25246
25238
|
animation: "boolean",
|
|
25247
25239
|
boundary: "(string|element)",
|
|
@@ -25268,13 +25260,13 @@ class Pr extends dn {
|
|
|
25268
25260
|
}
|
|
25269
25261
|
// Getters
|
|
25270
25262
|
static get Default() {
|
|
25271
|
-
return
|
|
25263
|
+
return Xw;
|
|
25272
25264
|
}
|
|
25273
25265
|
static get DefaultType() {
|
|
25274
|
-
return
|
|
25266
|
+
return Qw;
|
|
25275
25267
|
}
|
|
25276
25268
|
static get NAME() {
|
|
25277
|
-
return
|
|
25269
|
+
return Lw;
|
|
25278
25270
|
}
|
|
25279
25271
|
// Public
|
|
25280
25272
|
enable() {
|
|
@@ -25303,7 +25295,7 @@ class Pr extends dn {
|
|
|
25303
25295
|
throw new Error("Please use show on visible elements");
|
|
25304
25296
|
if (!(this._isWithContent() && this._isEnabled))
|
|
25305
25297
|
return;
|
|
25306
|
-
const e = ae.trigger(this._element, this.constructor.eventName(
|
|
25298
|
+
const e = ae.trigger(this._element, this.constructor.eventName(zw)), r = (Sm(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
|
|
25307
25299
|
if (e.defaultPrevented || !r)
|
|
25308
25300
|
return;
|
|
25309
25301
|
this._disposePopper();
|
|
@@ -25312,23 +25304,23 @@ class Pr extends dn {
|
|
|
25312
25304
|
const {
|
|
25313
25305
|
container: i
|
|
25314
25306
|
} = this._config;
|
|
25315
|
-
if (this._element.ownerDocument.documentElement.contains(this.tip) || (i.append(s), ae.trigger(this._element, this.constructor.eventName(
|
|
25307
|
+
if (this._element.ownerDocument.documentElement.contains(this.tip) || (i.append(s), ae.trigger(this._element, this.constructor.eventName(jw))), this._popper = this._createPopper(s), s.classList.add(Ni), "ontouchstart" in document.documentElement)
|
|
25316
25308
|
for (const l of [].concat(...document.body.children))
|
|
25317
25309
|
ae.on(l, "mouseover", Ho);
|
|
25318
25310
|
const o = () => {
|
|
25319
|
-
ae.trigger(this._element, this.constructor.eventName(
|
|
25311
|
+
ae.trigger(this._element, this.constructor.eventName(Uw)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
|
|
25320
25312
|
};
|
|
25321
25313
|
this._queueCallback(o, this.tip, this._isAnimated());
|
|
25322
25314
|
}
|
|
25323
25315
|
hide() {
|
|
25324
|
-
if (!this._isShown() || ae.trigger(this._element, this.constructor.eventName(
|
|
25316
|
+
if (!this._isShown() || ae.trigger(this._element, this.constructor.eventName(Vw)).defaultPrevented)
|
|
25325
25317
|
return;
|
|
25326
25318
|
if (this._getTipElement().classList.remove(Ni), "ontouchstart" in document.documentElement)
|
|
25327
25319
|
for (const s of [].concat(...document.body.children))
|
|
25328
25320
|
ae.off(s, "mouseover", Ho);
|
|
25329
|
-
this._activeTrigger[
|
|
25321
|
+
this._activeTrigger[Fw] = !1, this._activeTrigger[ll] = !1, this._activeTrigger[Is] = !1, this._isHovered = null;
|
|
25330
25322
|
const r = () => {
|
|
25331
|
-
this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ae.trigger(this._element, this.constructor.eventName(
|
|
25323
|
+
this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ae.trigger(this._element, this.constructor.eventName(Hw)));
|
|
25332
25324
|
};
|
|
25333
25325
|
this._queueCallback(r, this.tip, this._isAnimated());
|
|
25334
25326
|
}
|
|
@@ -25347,14 +25339,14 @@ class Pr extends dn {
|
|
|
25347
25339
|
if (!t)
|
|
25348
25340
|
return null;
|
|
25349
25341
|
t.classList.remove(al, Ni), t.classList.add(`bs-${this.constructor.NAME}-auto`);
|
|
25350
|
-
const r =
|
|
25342
|
+
const r = F6(this.constructor.NAME).toString();
|
|
25351
25343
|
return t.setAttribute("id", r), this._isAnimated() && t.classList.add(al), t;
|
|
25352
25344
|
}
|
|
25353
25345
|
setContent(e) {
|
|
25354
25346
|
this._newContent = e, this._isShown() && (this._disposePopper(), this.show());
|
|
25355
25347
|
}
|
|
25356
25348
|
_getTemplateFactory(e) {
|
|
25357
|
-
return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new
|
|
25349
|
+
return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new Nw({
|
|
25358
25350
|
...this._config,
|
|
25359
25351
|
// the `content` var has to be after `this._config`
|
|
25360
25352
|
// to override config.content in case of popover
|
|
@@ -25364,7 +25356,7 @@ class Pr extends dn {
|
|
|
25364
25356
|
}
|
|
25365
25357
|
_getContentForTemplate() {
|
|
25366
25358
|
return {
|
|
25367
|
-
[
|
|
25359
|
+
[$w]: this._getTitle()
|
|
25368
25360
|
};
|
|
25369
25361
|
}
|
|
25370
25362
|
_getTitle() {
|
|
@@ -25381,7 +25373,7 @@ class Pr extends dn {
|
|
|
25381
25373
|
return this.tip && this.tip.classList.contains(Ni);
|
|
25382
25374
|
}
|
|
25383
25375
|
_createPopper(e) {
|
|
25384
|
-
const t = Nt(this._config.placement, [this, e, this._element]), r =
|
|
25376
|
+
const t = Nt(this._config.placement, [this, e, this._element]), r = Zw[t.toUpperCase()];
|
|
25385
25377
|
return ha(this._element, e, this._getPopperConfig(r));
|
|
25386
25378
|
}
|
|
25387
25379
|
_getOffset() {
|
|
@@ -25434,11 +25426,11 @@ class Pr extends dn {
|
|
|
25434
25426
|
const e = this._config.trigger.split(" ");
|
|
25435
25427
|
for (const t of e)
|
|
25436
25428
|
if (t === "click")
|
|
25437
|
-
ae.on(this._element, this.constructor.eventName(
|
|
25429
|
+
ae.on(this._element, this.constructor.eventName(Ww), this._config.selector, (r) => {
|
|
25438
25430
|
this._initializeOnDelegatedTarget(r).toggle();
|
|
25439
25431
|
});
|
|
25440
|
-
else if (t !==
|
|
25441
|
-
const r = t === Is ? this.constructor.eventName(
|
|
25432
|
+
else if (t !== Bw) {
|
|
25433
|
+
const r = t === Is ? this.constructor.eventName(Yw) : this.constructor.eventName(Kw), s = t === Is ? this.constructor.eventName(Jw) : this.constructor.eventName(Gw);
|
|
25442
25434
|
ae.on(this._element, r, this._config.selector, (i) => {
|
|
25443
25435
|
const o = this._initializeOnDelegatedTarget(i);
|
|
25444
25436
|
o._activeTrigger[i.type === "focusin" ? ll : Is] = !0, o._enter();
|
|
@@ -25478,7 +25470,7 @@ class Pr extends dn {
|
|
|
25478
25470
|
_getConfig(e) {
|
|
25479
25471
|
const t = Pn.getDataAttributes(this._element);
|
|
25480
25472
|
for (const r of Object.keys(t))
|
|
25481
|
-
|
|
25473
|
+
Rw.has(r) && delete t[r];
|
|
25482
25474
|
return e = {
|
|
25483
25475
|
...t,
|
|
25484
25476
|
...typeof e == "object" && e ? e : {}
|
|
@@ -25512,27 +25504,27 @@ class Pr extends dn {
|
|
|
25512
25504
|
}
|
|
25513
25505
|
}
|
|
25514
25506
|
nn(Pr);
|
|
25515
|
-
const
|
|
25507
|
+
const qw = "popover", eT = ".popover-header", tT = ".popover-body", nT = {
|
|
25516
25508
|
...Pr.Default,
|
|
25517
25509
|
content: "",
|
|
25518
25510
|
offset: [0, 8],
|
|
25519
25511
|
placement: "right",
|
|
25520
25512
|
template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',
|
|
25521
25513
|
trigger: "click"
|
|
25522
|
-
},
|
|
25514
|
+
}, rT = {
|
|
25523
25515
|
...Pr.DefaultType,
|
|
25524
25516
|
content: "(null|string|element|function)"
|
|
25525
25517
|
};
|
|
25526
25518
|
class eu extends Pr {
|
|
25527
25519
|
// Getters
|
|
25528
25520
|
static get Default() {
|
|
25529
|
-
return
|
|
25521
|
+
return nT;
|
|
25530
25522
|
}
|
|
25531
25523
|
static get DefaultType() {
|
|
25532
|
-
return
|
|
25524
|
+
return rT;
|
|
25533
25525
|
}
|
|
25534
25526
|
static get NAME() {
|
|
25535
|
-
return
|
|
25527
|
+
return qw;
|
|
25536
25528
|
}
|
|
25537
25529
|
// Overrides
|
|
25538
25530
|
_isWithContent() {
|
|
@@ -25541,8 +25533,8 @@ class eu extends Pr {
|
|
|
25541
25533
|
// Private
|
|
25542
25534
|
_getContentForTemplate() {
|
|
25543
25535
|
return {
|
|
25544
|
-
[
|
|
25545
|
-
[
|
|
25536
|
+
[eT]: this._getTitle(),
|
|
25537
|
+
[tT]: this._getContent()
|
|
25546
25538
|
};
|
|
25547
25539
|
}
|
|
25548
25540
|
_getContent() {
|
|
@@ -25561,14 +25553,14 @@ class eu extends Pr {
|
|
|
25561
25553
|
}
|
|
25562
25554
|
}
|
|
25563
25555
|
nn(eu);
|
|
25564
|
-
const
|
|
25556
|
+
const sT = "scrollspy", iT = "bs.scrollspy", tu = `.${iT}`, oT = ".data-api", aT = `activate${tu}`, Df = `click${tu}`, lT = `load${tu}${oT}`, cT = "dropdown-item", jr = "active", uT = '[data-bs-spy="scroll"]', cl = "[href]", dT = ".nav, .list-group", Nf = ".nav-link", fT = ".nav-item", hT = ".list-group-item", pT = `${Nf}, ${fT} > ${Nf}, ${hT}`, mT = ".dropdown", gT = ".dropdown-toggle", vT = {
|
|
25565
25557
|
offset: null,
|
|
25566
25558
|
// TODO: v6 @deprecated, keep it for backwards compatibility reasons
|
|
25567
25559
|
rootMargin: "0px 0px -25%",
|
|
25568
25560
|
smoothScroll: !1,
|
|
25569
25561
|
target: null,
|
|
25570
25562
|
threshold: [0.1, 0.5, 1]
|
|
25571
|
-
},
|
|
25563
|
+
}, yT = {
|
|
25572
25564
|
offset: "(number|null)",
|
|
25573
25565
|
// TODO v6 @deprecated, keep it for backwards compatibility reasons
|
|
25574
25566
|
rootMargin: "string",
|
|
@@ -25585,13 +25577,13 @@ class ya extends dn {
|
|
|
25585
25577
|
}
|
|
25586
25578
|
// Getters
|
|
25587
25579
|
static get Default() {
|
|
25588
|
-
return
|
|
25580
|
+
return vT;
|
|
25589
25581
|
}
|
|
25590
25582
|
static get DefaultType() {
|
|
25591
|
-
return
|
|
25583
|
+
return yT;
|
|
25592
25584
|
}
|
|
25593
25585
|
static get NAME() {
|
|
25594
|
-
return
|
|
25586
|
+
return sT;
|
|
25595
25587
|
}
|
|
25596
25588
|
// Public
|
|
25597
25589
|
refresh() {
|
|
@@ -25662,17 +25654,17 @@ class ya extends dn {
|
|
|
25662
25654
|
}
|
|
25663
25655
|
}
|
|
25664
25656
|
_process(e) {
|
|
25665
|
-
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(jr), this._activateParents(e), ae.trigger(this._element,
|
|
25657
|
+
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(jr), this._activateParents(e), ae.trigger(this._element, aT, {
|
|
25666
25658
|
relatedTarget: e
|
|
25667
25659
|
}));
|
|
25668
25660
|
}
|
|
25669
25661
|
_activateParents(e) {
|
|
25670
|
-
if (e.classList.contains(
|
|
25671
|
-
ke.findOne(
|
|
25662
|
+
if (e.classList.contains(cT)) {
|
|
25663
|
+
ke.findOne(gT, e.closest(mT)).classList.add(jr);
|
|
25672
25664
|
return;
|
|
25673
25665
|
}
|
|
25674
|
-
for (const t of ke.parents(e,
|
|
25675
|
-
for (const r of ke.prev(t,
|
|
25666
|
+
for (const t of ke.parents(e, dT))
|
|
25667
|
+
for (const r of ke.prev(t, pT))
|
|
25676
25668
|
r.classList.add(jr);
|
|
25677
25669
|
}
|
|
25678
25670
|
_clearActiveClass(e) {
|
|
@@ -25693,29 +25685,29 @@ class ya extends dn {
|
|
|
25693
25685
|
});
|
|
25694
25686
|
}
|
|
25695
25687
|
}
|
|
25696
|
-
ae.on(window,
|
|
25697
|
-
for (const n of ke.find(
|
|
25688
|
+
ae.on(window, lT, () => {
|
|
25689
|
+
for (const n of ke.find(uT))
|
|
25698
25690
|
ya.getOrCreateInstance(n);
|
|
25699
25691
|
});
|
|
25700
25692
|
nn(ya);
|
|
25701
|
-
const
|
|
25693
|
+
const bT = "tab", ET = "bs.tab", $r = `.${ET}`, ST = `hide${$r}`, CT = `hidden${$r}`, wT = `show${$r}`, TT = `shown${$r}`, xT = `click${$r}`, AT = `keydown${$r}`, kT = `load${$r}`, OT = "ArrowLeft", Lf = "ArrowRight", MT = "ArrowUp", Rf = "ArrowDown", Cr = "active", Pf = "fade", ul = "show", _T = "dropdown", IT = ".dropdown-toggle", DT = ".dropdown-menu", dl = ":not(.dropdown-toggle)", NT = '.list-group, .nav, [role="tablist"]', LT = ".nav-item, .list-group-item", RT = `.nav-link${dl}, .list-group-item${dl}, [role="tab"]${dl}`, Km = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', fl = `${RT}, ${Km}`, PT = `.${Cr}[data-bs-toggle="tab"], .${Cr}[data-bs-toggle="pill"], .${Cr}[data-bs-toggle="list"]`;
|
|
25702
25694
|
class Cs extends dn {
|
|
25703
25695
|
constructor(e) {
|
|
25704
|
-
super(e), this._parent = this._element.closest(
|
|
25696
|
+
super(e), this._parent = this._element.closest(NT), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), ae.on(this._element, AT, (t) => this._keydown(t)));
|
|
25705
25697
|
}
|
|
25706
25698
|
// Getters
|
|
25707
25699
|
static get NAME() {
|
|
25708
|
-
return
|
|
25700
|
+
return bT;
|
|
25709
25701
|
}
|
|
25710
25702
|
// Public
|
|
25711
25703
|
show() {
|
|
25712
25704
|
const e = this._element;
|
|
25713
25705
|
if (this._elemIsActive(e))
|
|
25714
25706
|
return;
|
|
25715
|
-
const t = this._getActiveElem(), r = t ? ae.trigger(t,
|
|
25707
|
+
const t = this._getActiveElem(), r = t ? ae.trigger(t, ST, {
|
|
25716
25708
|
relatedTarget: e
|
|
25717
25709
|
}) : null;
|
|
25718
|
-
ae.trigger(e,
|
|
25710
|
+
ae.trigger(e, wT, {
|
|
25719
25711
|
relatedTarget: t
|
|
25720
25712
|
}).defaultPrevented || r && r.defaultPrevented || (this._deactivate(t, e), this._activate(e, t));
|
|
25721
25713
|
}
|
|
@@ -25729,7 +25721,7 @@ class Cs extends dn {
|
|
|
25729
25721
|
e.classList.add(ul);
|
|
25730
25722
|
return;
|
|
25731
25723
|
}
|
|
25732
|
-
e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), ae.trigger(e,
|
|
25724
|
+
e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), ae.trigger(e, TT, {
|
|
25733
25725
|
relatedTarget: t
|
|
25734
25726
|
});
|
|
25735
25727
|
};
|
|
@@ -25744,14 +25736,14 @@ class Cs extends dn {
|
|
|
25744
25736
|
e.classList.remove(ul);
|
|
25745
25737
|
return;
|
|
25746
25738
|
}
|
|
25747
|
-
e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), ae.trigger(e,
|
|
25739
|
+
e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), ae.trigger(e, CT, {
|
|
25748
25740
|
relatedTarget: t
|
|
25749
25741
|
});
|
|
25750
25742
|
};
|
|
25751
25743
|
this._queueCallback(r, e, e.classList.contains(Pf));
|
|
25752
25744
|
}
|
|
25753
25745
|
_keydown(e) {
|
|
25754
|
-
if (![
|
|
25746
|
+
if (![OT, Lf, MT, Rf].includes(e.key))
|
|
25755
25747
|
return;
|
|
25756
25748
|
e.stopPropagation(), e.preventDefault();
|
|
25757
25749
|
const t = [Lf, Rf].includes(e.key), r = Xc(this._getChildren().filter((s) => !sr(s)), e.target, t, !0);
|
|
@@ -25781,13 +25773,13 @@ class Cs extends dn {
|
|
|
25781
25773
|
}
|
|
25782
25774
|
_toggleDropDown(e, t) {
|
|
25783
25775
|
const r = this._getOuterElement(e);
|
|
25784
|
-
if (!r.classList.contains(
|
|
25776
|
+
if (!r.classList.contains(_T))
|
|
25785
25777
|
return;
|
|
25786
25778
|
const s = (i, o) => {
|
|
25787
25779
|
const l = ke.findOne(i, r);
|
|
25788
25780
|
l && l.classList.toggle(o, t);
|
|
25789
25781
|
};
|
|
25790
|
-
s(
|
|
25782
|
+
s(IT, Cr), s(DT, ul), r.setAttribute("aria-expanded", t);
|
|
25791
25783
|
}
|
|
25792
25784
|
_setAttributeIfNotExists(e, t, r) {
|
|
25793
25785
|
e.hasAttribute(t) || e.setAttribute(t, r);
|
|
@@ -25801,7 +25793,7 @@ class Cs extends dn {
|
|
|
25801
25793
|
}
|
|
25802
25794
|
// Try to get the outer element (usually the .nav-item)
|
|
25803
25795
|
_getOuterElement(e) {
|
|
25804
|
-
return e.closest(
|
|
25796
|
+
return e.closest(LT) || e;
|
|
25805
25797
|
}
|
|
25806
25798
|
// Static
|
|
25807
25799
|
static jQueryInterface(e) {
|
|
@@ -25815,19 +25807,19 @@ class Cs extends dn {
|
|
|
25815
25807
|
});
|
|
25816
25808
|
}
|
|
25817
25809
|
}
|
|
25818
|
-
ae.on(document,
|
|
25810
|
+
ae.on(document, xT, Km, function(n) {
|
|
25819
25811
|
["A", "AREA"].includes(this.tagName) && n.preventDefault(), !sr(this) && Cs.getOrCreateInstance(this).show();
|
|
25820
25812
|
});
|
|
25821
|
-
ae.on(window,
|
|
25822
|
-
for (const n of ke.find(
|
|
25813
|
+
ae.on(window, kT, () => {
|
|
25814
|
+
for (const n of ke.find(PT))
|
|
25823
25815
|
Cs.getOrCreateInstance(n);
|
|
25824
25816
|
});
|
|
25825
25817
|
nn(Cs);
|
|
25826
|
-
const
|
|
25818
|
+
const $T = "toast", FT = "bs.toast", fr = `.${FT}`, BT = `mouseover${fr}`, VT = `mouseout${fr}`, HT = `focusin${fr}`, zT = `focusout${fr}`, UT = `hide${fr}`, jT = `hidden${fr}`, WT = `show${fr}`, KT = `shown${fr}`, GT = "fade", $f = "hide", Li = "show", Ri = "showing", YT = {
|
|
25827
25819
|
animation: "boolean",
|
|
25828
25820
|
autohide: "boolean",
|
|
25829
25821
|
delay: "number"
|
|
25830
|
-
},
|
|
25822
|
+
}, JT = {
|
|
25831
25823
|
animation: !0,
|
|
25832
25824
|
autohide: !0,
|
|
25833
25825
|
delay: 5e3
|
|
@@ -25838,29 +25830,29 @@ class vi extends dn {
|
|
|
25838
25830
|
}
|
|
25839
25831
|
// Getters
|
|
25840
25832
|
static get Default() {
|
|
25841
|
-
return
|
|
25833
|
+
return JT;
|
|
25842
25834
|
}
|
|
25843
25835
|
static get DefaultType() {
|
|
25844
|
-
return
|
|
25836
|
+
return YT;
|
|
25845
25837
|
}
|
|
25846
25838
|
static get NAME() {
|
|
25847
|
-
return
|
|
25839
|
+
return $T;
|
|
25848
25840
|
}
|
|
25849
25841
|
// Public
|
|
25850
25842
|
show() {
|
|
25851
|
-
if (ae.trigger(this._element,
|
|
25843
|
+
if (ae.trigger(this._element, WT).defaultPrevented)
|
|
25852
25844
|
return;
|
|
25853
|
-
this._clearTimeout(), this._config.animation && this._element.classList.add(
|
|
25845
|
+
this._clearTimeout(), this._config.animation && this._element.classList.add(GT);
|
|
25854
25846
|
const t = () => {
|
|
25855
|
-
this._element.classList.remove(Ri), ae.trigger(this._element,
|
|
25847
|
+
this._element.classList.remove(Ri), ae.trigger(this._element, KT), this._maybeScheduleHide();
|
|
25856
25848
|
};
|
|
25857
25849
|
this._element.classList.remove($f), hi(this._element), this._element.classList.add(Li, Ri), this._queueCallback(t, this._element, this._config.animation);
|
|
25858
25850
|
}
|
|
25859
25851
|
hide() {
|
|
25860
|
-
if (!this.isShown() || ae.trigger(this._element,
|
|
25852
|
+
if (!this.isShown() || ae.trigger(this._element, UT).defaultPrevented)
|
|
25861
25853
|
return;
|
|
25862
25854
|
const t = () => {
|
|
25863
|
-
this._element.classList.add($f), this._element.classList.remove(Ri, Li), ae.trigger(this._element,
|
|
25855
|
+
this._element.classList.add($f), this._element.classList.remove(Ri, Li), ae.trigger(this._element, jT);
|
|
25864
25856
|
};
|
|
25865
25857
|
this._element.classList.add(Ri), this._queueCallback(t, this._element, this._config.animation);
|
|
25866
25858
|
}
|
|
@@ -25897,7 +25889,7 @@ class vi extends dn {
|
|
|
25897
25889
|
this._element === r || this._element.contains(r) || this._maybeScheduleHide();
|
|
25898
25890
|
}
|
|
25899
25891
|
_setListeners() {
|
|
25900
|
-
ae.on(this._element,
|
|
25892
|
+
ae.on(this._element, BT, (e) => this._onInteraction(e, !0)), ae.on(this._element, VT, (e) => this._onInteraction(e, !1)), ae.on(this._element, HT, (e) => this._onInteraction(e, !0)), ae.on(this._element, zT, (e) => this._onInteraction(e, !1));
|
|
25901
25893
|
}
|
|
25902
25894
|
_clearTimeout() {
|
|
25903
25895
|
clearTimeout(this._timeout), this._timeout = null;
|
|
@@ -25916,7 +25908,7 @@ class vi extends dn {
|
|
|
25916
25908
|
}
|
|
25917
25909
|
ma(vi);
|
|
25918
25910
|
nn(vi);
|
|
25919
|
-
const
|
|
25911
|
+
const ox = (n) => {
|
|
25920
25912
|
const e = at(null);
|
|
25921
25913
|
return { showModal: () => {
|
|
25922
25914
|
const s = document.getElementById(n);
|
|
@@ -25933,7 +25925,7 @@ const lx = (n) => {
|
|
|
25933
25925
|
}
|
|
25934
25926
|
} };
|
|
25935
25927
|
};
|
|
25936
|
-
function
|
|
25928
|
+
function ZT(n = void 0) {
|
|
25937
25929
|
const e = (l) => i("Succesvol", l, es.SUCCESS), t = (l) => i("Waarschuwing", l, es.WARNING), r = (l) => i("Informatie", l, es.INFO), s = (l) => i("Mislukt", l, es.DANGER);
|
|
25938
25930
|
function i(l, a, c) {
|
|
25939
25931
|
const u = `toast-${nh()}`, d = {
|
|
@@ -25973,8 +25965,8 @@ function QT(n = void 0) {
|
|
|
25973
25965
|
}
|
|
25974
25966
|
return { showSuccessToast: e, showInformationToast: r, showWarningToast: t, showDangerToast: s };
|
|
25975
25967
|
}
|
|
25976
|
-
const
|
|
25977
|
-
function
|
|
25968
|
+
const XT = (n) => Array.isArray(n) && n.length > 0, { showDangerToast: QT } = ZT();
|
|
25969
|
+
function ax(n) {
|
|
25978
25970
|
const e = at(null), t = (a, c = "serverErrors") => {
|
|
25979
25971
|
var d;
|
|
25980
25972
|
let u = [];
|
|
@@ -25992,10 +25984,10 @@ function cx(n) {
|
|
|
25992
25984
|
const u = new URL(a.request.responseURL).pathname;
|
|
25993
25985
|
if (u in n.error) {
|
|
25994
25986
|
const d = n.error[u];
|
|
25995
|
-
d &&
|
|
25987
|
+
d && QT(d);
|
|
25996
25988
|
}
|
|
25997
25989
|
}, s = at(null), i = at(""), o = (a) => {
|
|
25998
|
-
|
|
25990
|
+
XT(a.value) ? s.value = a.value.map((c) => Mi(c) ? c : c.ErrorMessage) : Mi(a.value) && (i.value = a.value);
|
|
25999
25991
|
};
|
|
26000
25992
|
function l() {
|
|
26001
25993
|
e.value = null, s.value = null, i.value = Ql;
|
|
@@ -26009,7 +26001,7 @@ function cx(n) {
|
|
|
26009
26001
|
ResetServerErrors: l
|
|
26010
26002
|
};
|
|
26011
26003
|
}
|
|
26012
|
-
const
|
|
26004
|
+
const lx = () => ({ ResetValidation: (t) => {
|
|
26013
26005
|
for (const r in t.value)
|
|
26014
26006
|
t.value[r].state = null;
|
|
26015
26007
|
}, ValidationObjectIsValid: (t) => {
|
|
@@ -26017,7 +26009,7 @@ const ux = () => ({ ResetValidation: (t) => {
|
|
|
26017
26009
|
if (t[r].state === !1)
|
|
26018
26010
|
return !1;
|
|
26019
26011
|
return !0;
|
|
26020
|
-
} }),
|
|
26012
|
+
} }), qT = {
|
|
26021
26013
|
mounted: (n) => {
|
|
26022
26014
|
new Pr(n);
|
|
26023
26015
|
}
|
|
@@ -26314,7 +26306,7 @@ var Gm = { exports: {} };
|
|
|
26314
26306
|
})(Gm);
|
|
26315
26307
|
var Ym = Gm.exports;
|
|
26316
26308
|
const jo = /* @__PURE__ */ cc(Ym);
|
|
26317
|
-
var
|
|
26309
|
+
var ex = { exports: {} };
|
|
26318
26310
|
(function(n, e) {
|
|
26319
26311
|
(function(t, r) {
|
|
26320
26312
|
n.exports = r(Ym);
|
|
@@ -26327,7 +26319,7 @@ var nx = { exports: {} };
|
|
|
26327
26319
|
}, 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" } };
|
|
26328
26320
|
return s.default.locale(i, null, !0), i;
|
|
26329
26321
|
});
|
|
26330
|
-
})(
|
|
26322
|
+
})(ex);
|
|
26331
26323
|
var Jm = { exports: {} };
|
|
26332
26324
|
(function(n, e) {
|
|
26333
26325
|
(function(t, r) {
|
|
@@ -26460,11 +26452,11 @@ var Jm = { exports: {} };
|
|
|
26460
26452
|
};
|
|
26461
26453
|
});
|
|
26462
26454
|
})(Jm);
|
|
26463
|
-
var
|
|
26464
|
-
const
|
|
26465
|
-
jo.extend(
|
|
26455
|
+
var tx = Jm.exports;
|
|
26456
|
+
const nx = /* @__PURE__ */ cc(tx);
|
|
26457
|
+
jo.extend(nx);
|
|
26466
26458
|
jo.locale("nl");
|
|
26467
|
-
function
|
|
26459
|
+
function cx(n, e = jo().startOf("day")) {
|
|
26468
26460
|
const t = "DD-MM-YYYY", r = jo(n, t);
|
|
26469
26461
|
if (r.isSame(e))
|
|
26470
26462
|
return "vandaag";
|
|
@@ -26485,7 +26477,7 @@ function dx(n, e = jo().startOf("day")) {
|
|
|
26485
26477
|
}
|
|
26486
26478
|
return r.format(t);
|
|
26487
26479
|
}
|
|
26488
|
-
const
|
|
26480
|
+
const rx = {
|
|
26489
26481
|
PRIMARY: "primary",
|
|
26490
26482
|
SECONDARY: "secondary",
|
|
26491
26483
|
COLLEAGUE: "colleague",
|
|
@@ -26501,7 +26493,7 @@ const ix = {
|
|
|
26501
26493
|
__name: "BDButton",
|
|
26502
26494
|
props: {
|
|
26503
26495
|
size: { default: wt.MD },
|
|
26504
|
-
variant: { default:
|
|
26496
|
+
variant: { default: rx.PRIMARY },
|
|
26505
26497
|
blockElement: { type: Boolean, default: !1 },
|
|
26506
26498
|
disabled: { type: Boolean, default: !1 },
|
|
26507
26499
|
to: {},
|
|
@@ -26535,9 +26527,9 @@ const ix = {
|
|
|
26535
26527
|
_: 3
|
|
26536
26528
|
}, 16, ["class"]));
|
|
26537
26529
|
}
|
|
26538
|
-
}),
|
|
26530
|
+
}), ux = {
|
|
26539
26531
|
install: (n) => {
|
|
26540
|
-
n.component("BDCol", Wr), n.component("BDContainer", hl), n.component("BDRow", Kr), n.component("BDButton", yt), n.component("BDLogo", qf), n.component("BDLink", Gs), n.component("BDDropdownItem", bl), n.component("BDDropdown", ym), n.component("BDAlert", gl), n.component("BDProfileImage", Xo), n.component("BDZoomslider", s2), n.component("BDCard", oc), n.component("BDCollapsableCard", u2), n.component("BDFormInput", Pi), n.component("BDInputGroup", S2), n.component("BDFormInvalidFeedback", ac), n.component("BDBadge", w2), n.component("BDForm", x2), n.component("BDPagination", D2), n.component("BDDropzone", ay), n.component("BDMarkdownEditor",
|
|
26532
|
+
n.component("BDCol", Wr), n.component("BDContainer", hl), n.component("BDRow", Kr), n.component("BDButton", yt), n.component("BDLogo", qf), n.component("BDLink", Gs), n.component("BDDropdownItem", bl), n.component("BDDropdown", ym), n.component("BDAlert", gl), n.component("BDProfileImage", Xo), n.component("BDZoomslider", s2), n.component("BDCard", oc), n.component("BDCollapsableCard", u2), n.component("BDFormInput", Pi), n.component("BDInputGroup", S2), n.component("BDFormInvalidFeedback", ac), n.component("BDBadge", w2), n.component("BDForm", x2), n.component("BDPagination", D2), n.component("BDDropzone", ay), n.component("BDMarkdownEditor", LE), n.component("BDModal", T6), n.component("BDFormSelect", $2), n.component("BDUser", KE), n.component("BDArticle", z2), n.component("BDFormCheckbox", B2), n.component("BDToast", sh), n.component("BDAttachmentPreviewList", Jc), n.component("BDImageAttachmentPreviewList", Zc), n.component("BDHeader", p6), n.component("BDMobileMenu", vm), n.component("BDChatCloud", QE), n.component("BDTable", o6), n.component("BDChangePasswordTemplate", L6), n.component("IconAcademy", y1), n.component("IconArrowDown", T1), n.component("IconArrowUp", _1), n.component("IconAttachment", us), n.component("IconBold", Vf), n.component("IconBulletList", Hf), n.component("IconCalendar", yu), n.component("IconCalendar", yu), n.component("IconCardView", n0), n.component("IconCaretDown", zf), n.component("IconCaretLeft", Uf), n.component("IconCaretRight", jf), n.component("IconCheck", Go), n.component("IconClose", sc), n.component("IconDownloadImage", pl), n.component("IconDownloadImage", pl), n.component("IconEdit", F0), n.component("IconError", ic), n.component("IconEyeShow", J0), n.component("IconEyeSlash", tg), n.component("IconFile", Wf), n.component("IconHyperlink", Kf), n.component("IconInfo", Yo), n.component("IconItalic", Gf), n.component("IconListView", Og), n.component("IconMenu", ml), n.component("IconMenu", ml), n.component("IconOrderedList", Yf), n.component("IconRemove", Jo), n.component("IconService", Jg), n.component("IconSort", tv), n.component("IconSortAsc", Jf), n.component("IconSortDesc", Zf), n.component("IconSortNone", Xf), n.component("IconTriangleExclamation", Cv), n.component("IconUnderline", Qf), n.component("IconContactPerson", Nv), n.directive("vBDTooltip", qT);
|
|
26541
26533
|
}
|
|
26542
26534
|
};
|
|
26543
26535
|
export {
|
|
@@ -26547,8 +26539,8 @@ export {
|
|
|
26547
26539
|
w2 as BDBadge,
|
|
26548
26540
|
yt as BDButton,
|
|
26549
26541
|
oc as BDCard,
|
|
26550
|
-
|
|
26551
|
-
|
|
26542
|
+
L6 as BDChangePasswordTemplate,
|
|
26543
|
+
QE as BDChatCloud,
|
|
26552
26544
|
Wr as BDCol,
|
|
26553
26545
|
u2 as BDCollapsableCard,
|
|
26554
26546
|
hl as BDContainer,
|
|
@@ -26560,20 +26552,20 @@ export {
|
|
|
26560
26552
|
Pi as BDFormInput,
|
|
26561
26553
|
ac as BDFormInvalidFeedback,
|
|
26562
26554
|
$2 as BDFormSelect,
|
|
26563
|
-
|
|
26555
|
+
p6 as BDHeader,
|
|
26564
26556
|
Zc as BDImageAttachmentPreviewList,
|
|
26565
26557
|
S2 as BDInputGroup,
|
|
26566
26558
|
Gs as BDLink,
|
|
26567
26559
|
qf as BDLogo,
|
|
26568
|
-
|
|
26560
|
+
LE as BDMarkdownEditor,
|
|
26569
26561
|
vm as BDMobileMenu,
|
|
26570
|
-
|
|
26562
|
+
T6 as BDModal,
|
|
26571
26563
|
D2 as BDPagination,
|
|
26572
26564
|
Xo as BDProfileImage,
|
|
26573
26565
|
Kr as BDRow,
|
|
26574
|
-
|
|
26566
|
+
o6 as BDTable,
|
|
26575
26567
|
sh as BDToast,
|
|
26576
|
-
|
|
26568
|
+
KE as BDUser,
|
|
26577
26569
|
s2 as BDZoomslider,
|
|
26578
26570
|
y1 as IconAcademy,
|
|
26579
26571
|
T1 as IconArrowDown,
|
|
@@ -26609,11 +26601,11 @@ export {
|
|
|
26609
26601
|
Xf as IconSortNone,
|
|
26610
26602
|
Cv as IconTriangleExclamation,
|
|
26611
26603
|
Qf as IconUnderline,
|
|
26612
|
-
|
|
26613
|
-
|
|
26614
|
-
|
|
26615
|
-
|
|
26616
|
-
|
|
26617
|
-
|
|
26618
|
-
|
|
26604
|
+
ux as default,
|
|
26605
|
+
cx as getDisplayDate,
|
|
26606
|
+
ox as useModal,
|
|
26607
|
+
ax as useServerErrors,
|
|
26608
|
+
ZT as useToaster,
|
|
26609
|
+
lx as useValidation,
|
|
26610
|
+
qT as vBdTooltip
|
|
26619
26611
|
};
|