@beterdichtbij/component-library 0.22.0 → 0.22.1
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.
|
@@ -23084,7 +23084,10 @@ const XS = Tn.create({
|
|
|
23084
23084
|
], 16)
|
|
23085
23085
|
]));
|
|
23086
23086
|
}
|
|
23087
|
-
}), i7 = { class: "navbar navbar-expand-lg header-navbar" }, s7 = /* @__PURE__ */ te("div", null, "Menu", -1), o7 = {
|
|
23087
|
+
}), i7 = { class: "navbar navbar-expand-lg header-navbar" }, s7 = /* @__PURE__ */ te("div", null, "Menu", -1), o7 = {
|
|
23088
|
+
key: 0,
|
|
23089
|
+
class: "header-options"
|
|
23090
|
+
}, a7 = { class: "bd-btn-settings d-flex gap-2 align-items-center" }, l7 = "sm", c7 = /* @__PURE__ */ Ve({
|
|
23088
23091
|
__name: "BDHeader",
|
|
23089
23092
|
props: {
|
|
23090
23093
|
dropdownMenuTitle: {},
|
|
@@ -23123,7 +23126,7 @@ const XS = Tn.create({
|
|
|
23123
23126
|
s7,
|
|
23124
23127
|
Le(ol)
|
|
23125
23128
|
]),
|
|
23126
|
-
|
|
23129
|
+
t.headerOptions && t.headerOptions.length !== 0 ? (ee(), le("div", o7, [
|
|
23127
23130
|
(ee(!0), le(Jt, null, kr(t.headerOptions, (d) => (ee(), Ze(Mt, {
|
|
23128
23131
|
class: "btn-header",
|
|
23129
23132
|
to: d.to
|
|
@@ -23133,13 +23136,13 @@ const XS = Tn.create({
|
|
|
23133
23136
|
]),
|
|
23134
23137
|
_: 2
|
|
23135
23138
|
}, 1032, ["to"]))), 256))
|
|
23136
|
-
]),
|
|
23137
|
-
te("div",
|
|
23139
|
+
])) : ze("", !0),
|
|
23140
|
+
te("div", a7, [
|
|
23138
23141
|
t.src ? (ee(), Ze(Uo, {
|
|
23139
23142
|
key: 0,
|
|
23140
23143
|
src: t.src,
|
|
23141
23144
|
alt: t.profileImageAlt,
|
|
23142
|
-
size:
|
|
23145
|
+
size: l7
|
|
23143
23146
|
}, null, 8, ["src", "alt"])) : ze("", !0),
|
|
23144
23147
|
Le(sm, {
|
|
23145
23148
|
text: t.dropdownMenuTitle,
|
|
@@ -23166,13 +23169,13 @@ const XS = Tn.create({
|
|
|
23166
23169
|
}, null, 8, ["active", "options"])
|
|
23167
23170
|
], 64));
|
|
23168
23171
|
}
|
|
23169
|
-
}),
|
|
23172
|
+
}), u7 = {
|
|
23170
23173
|
class: "modal bd-modal modal-lg",
|
|
23171
23174
|
tabindex: "-1"
|
|
23172
|
-
},
|
|
23175
|
+
}, d7 = { class: "modal-dialog" }, f7 = { class: "modal-content" }, h7 = { class: "modal-header" }, p7 = { class: "modal-title" }, m7 = { class: "modal-body" }, g7 = {
|
|
23173
23176
|
key: 0,
|
|
23174
23177
|
class: "modal-footer"
|
|
23175
|
-
},
|
|
23178
|
+
}, v7 = ["disabled"], y7 = /* @__PURE__ */ Ve({
|
|
23176
23179
|
__name: "BDModal",
|
|
23177
23180
|
props: {
|
|
23178
23181
|
title: { default: "" },
|
|
@@ -23190,11 +23193,11 @@ const XS = Tn.create({
|
|
|
23190
23193
|
}, i = () => {
|
|
23191
23194
|
e("cancel");
|
|
23192
23195
|
};
|
|
23193
|
-
return (s, o) => (ee(), le("div",
|
|
23194
|
-
te("div",
|
|
23195
|
-
te("div",
|
|
23196
|
-
te("div",
|
|
23197
|
-
te("h2",
|
|
23196
|
+
return (s, o) => (ee(), le("div", u7, [
|
|
23197
|
+
te("div", d7, [
|
|
23198
|
+
te("div", f7, [
|
|
23199
|
+
te("div", h7, [
|
|
23200
|
+
te("h2", p7, We(t.title), 1),
|
|
23198
23201
|
He(s.$slots, "modal-header-space-between"),
|
|
23199
23202
|
te("button", {
|
|
23200
23203
|
type: "button",
|
|
@@ -23207,17 +23210,17 @@ const XS = Tn.create({
|
|
|
23207
23210
|
Le(Ee(Gl), { class: "bg-primary" })
|
|
23208
23211
|
])
|
|
23209
23212
|
]),
|
|
23210
|
-
te("div",
|
|
23213
|
+
te("div", m7, [
|
|
23211
23214
|
He(s.$slots, "default")
|
|
23212
23215
|
]),
|
|
23213
|
-
s.hideFooter ? ze("", !0) : (ee(), le("div",
|
|
23216
|
+
s.hideFooter ? ze("", !0) : (ee(), le("div", g7, [
|
|
23214
23217
|
t.hideFooterSubmitButton ? ze("", !0) : (ee(), le("button", {
|
|
23215
23218
|
key: 0,
|
|
23216
23219
|
type: "button",
|
|
23217
23220
|
class: "btn btn-primary",
|
|
23218
23221
|
disabled: t.disableSubmitButton,
|
|
23219
23222
|
onClick: r
|
|
23220
|
-
}, We(t.submitButtonTitle), 9,
|
|
23223
|
+
}, We(t.submitButtonTitle), 9, v7)),
|
|
23221
23224
|
t.hideFooterCancelButton ? ze("", !0) : (ee(), le("button", {
|
|
23222
23225
|
key: 1,
|
|
23223
23226
|
type: "button",
|
|
@@ -23256,12 +23259,12 @@ const zn = /* @__PURE__ */ new Map(), Wa = {
|
|
|
23256
23259
|
const t = zn.get(n);
|
|
23257
23260
|
t.delete(e), t.size === 0 && zn.delete(n);
|
|
23258
23261
|
}
|
|
23259
|
-
},
|
|
23262
|
+
}, b7 = 1e6, E7 = 1e3, Hl = "transitionend", om = (n) => (n && window.CSS && window.CSS.escape && (n = n.replace(/#([^\s"#']+)/g, (e, t) => `#${CSS.escape(t)}`)), n), S7 = (n) => n == null ? `${n}` : Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(), C7 = (n) => {
|
|
23260
23263
|
do
|
|
23261
|
-
n += Math.floor(Math.random() *
|
|
23264
|
+
n += Math.floor(Math.random() * b7);
|
|
23262
23265
|
while (document.getElementById(n));
|
|
23263
23266
|
return n;
|
|
23264
|
-
},
|
|
23267
|
+
}, T7 = (n) => {
|
|
23265
23268
|
if (!n)
|
|
23266
23269
|
return 0;
|
|
23267
23270
|
let {
|
|
@@ -23269,7 +23272,7 @@ const zn = /* @__PURE__ */ new Map(), Wa = {
|
|
|
23269
23272
|
transitionDelay: t
|
|
23270
23273
|
} = window.getComputedStyle(n);
|
|
23271
23274
|
const r = Number.parseFloat(e), i = Number.parseFloat(t);
|
|
23272
|
-
return !r && !i ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) *
|
|
23275
|
+
return !r && !i ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) * E7);
|
|
23273
23276
|
}, am = (n) => {
|
|
23274
23277
|
n.dispatchEvent(new Event(Hl));
|
|
23275
23278
|
}, _n = (n) => !n || typeof n != "object" ? !1 : (typeof n.jquery < "u" && (n = n[0]), typeof n.nodeType < "u"), nr = (n) => _n(n) ? n.jquery ? n[0] : n : typeof n == "string" && n.length > 0 ? document.querySelector(om(n)) : null, Ci = (n) => {
|
|
@@ -23295,13 +23298,13 @@ const zn = /* @__PURE__ */ new Map(), Wa = {
|
|
|
23295
23298
|
}, Ro = () => {
|
|
23296
23299
|
}, cs = (n) => {
|
|
23297
23300
|
n.offsetHeight;
|
|
23298
|
-
}, cm = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, Ka = [],
|
|
23301
|
+
}, cm = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, Ka = [], w7 = (n) => {
|
|
23299
23302
|
document.readyState === "loading" ? (Ka.length || document.addEventListener("DOMContentLoaded", () => {
|
|
23300
23303
|
for (const e of Ka)
|
|
23301
23304
|
e();
|
|
23302
23305
|
}), Ka.push(n)) : n();
|
|
23303
23306
|
}, Qt = () => document.documentElement.dir === "rtl", en = (n) => {
|
|
23304
|
-
|
|
23307
|
+
w7(() => {
|
|
23305
23308
|
const e = cm();
|
|
23306
23309
|
if (e) {
|
|
23307
23310
|
const t = n.NAME, r = e.fn[t];
|
|
@@ -23313,7 +23316,7 @@ const zn = /* @__PURE__ */ new Map(), Wa = {
|
|
|
23313
23316
|
Nt(n);
|
|
23314
23317
|
return;
|
|
23315
23318
|
}
|
|
23316
|
-
const r = 5, i =
|
|
23319
|
+
const r = 5, i = T7(e) + r;
|
|
23317
23320
|
let s = !1;
|
|
23318
23321
|
const o = ({
|
|
23319
23322
|
target: l
|
|
@@ -23327,12 +23330,12 @@ const zn = /* @__PURE__ */ new Map(), Wa = {
|
|
|
23327
23330
|
const i = n.length;
|
|
23328
23331
|
let s = n.indexOf(e);
|
|
23329
23332
|
return s === -1 ? !t && r ? n[i - 1] : n[0] : (s += t ? 1 : -1, r && (s = (s + i) % i), n[Math.max(0, Math.min(s, i - 1))]);
|
|
23330
|
-
},
|
|
23333
|
+
}, x7 = /[^.]*(?=\..*)\.|.*/, A7 = /\..*/, k7 = /::\d+$/, Ga = {};
|
|
23331
23334
|
let Qd = 1;
|
|
23332
23335
|
const dm = {
|
|
23333
23336
|
mouseenter: "mouseover",
|
|
23334
23337
|
mouseleave: "mouseout"
|
|
23335
|
-
},
|
|
23338
|
+
}, O7 = /* @__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"]);
|
|
23336
23339
|
function fm(n, e) {
|
|
23337
23340
|
return e && `${e}::${Qd++}` || n.uidEvent || Qd++;
|
|
23338
23341
|
}
|
|
@@ -23340,14 +23343,14 @@ function hm(n) {
|
|
|
23340
23343
|
const e = fm(n);
|
|
23341
23344
|
return n.uidEvent = e, Ga[e] = Ga[e] || {}, Ga[e];
|
|
23342
23345
|
}
|
|
23343
|
-
function
|
|
23346
|
+
function M7(n, e) {
|
|
23344
23347
|
return function t(r) {
|
|
23345
23348
|
return Bc(r, {
|
|
23346
23349
|
delegateTarget: n
|
|
23347
23350
|
}), t.oneOff && re.off(n, r.type, e), e.apply(n, [r]);
|
|
23348
23351
|
};
|
|
23349
23352
|
}
|
|
23350
|
-
function
|
|
23353
|
+
function I7(n, e, t) {
|
|
23351
23354
|
return function r(i) {
|
|
23352
23355
|
const s = n.querySelectorAll(e);
|
|
23353
23356
|
for (let {
|
|
@@ -23366,7 +23369,7 @@ function pm(n, e, t = null) {
|
|
|
23366
23369
|
function mm(n, e, t) {
|
|
23367
23370
|
const r = typeof e == "string", i = r ? t : e || t;
|
|
23368
23371
|
let s = gm(n);
|
|
23369
|
-
return
|
|
23372
|
+
return O7.has(s) || (s = n), [r, i, s];
|
|
23370
23373
|
}
|
|
23371
23374
|
function qd(n, e, t, r, i) {
|
|
23372
23375
|
if (typeof e != "string" || !n)
|
|
@@ -23381,20 +23384,20 @@ function qd(n, e, t, r, i) {
|
|
|
23381
23384
|
u.oneOff = u.oneOff && i;
|
|
23382
23385
|
return;
|
|
23383
23386
|
}
|
|
23384
|
-
const d = fm(o, e.replace(
|
|
23387
|
+
const d = fm(o, e.replace(x7, "")), f = s ? I7(n, t, o) : M7(n, o);
|
|
23385
23388
|
f.delegationSelector = s ? t : null, f.callable = o, f.oneOff = i, f.uidEvent = d, c[d] = f, n.addEventListener(l, f, s);
|
|
23386
23389
|
}
|
|
23387
23390
|
function Ul(n, e, t, r, i) {
|
|
23388
23391
|
const s = pm(e[t], r, i);
|
|
23389
23392
|
s && (n.removeEventListener(t, s, !!i), delete e[t][s.uidEvent]);
|
|
23390
23393
|
}
|
|
23391
|
-
function
|
|
23394
|
+
function N7(n, e, t, r) {
|
|
23392
23395
|
const i = e[t] || {};
|
|
23393
23396
|
for (const [s, o] of Object.entries(i))
|
|
23394
23397
|
s.includes(r) && Ul(n, e, t, o.callable, o.delegationSelector);
|
|
23395
23398
|
}
|
|
23396
23399
|
function gm(n) {
|
|
23397
|
-
return n = n.replace(
|
|
23400
|
+
return n = n.replace(A7, ""), dm[n] || n;
|
|
23398
23401
|
}
|
|
23399
23402
|
const re = {
|
|
23400
23403
|
on(n, e, t, r) {
|
|
@@ -23415,9 +23418,9 @@ const re = {
|
|
|
23415
23418
|
}
|
|
23416
23419
|
if (u)
|
|
23417
23420
|
for (const d of Object.keys(a))
|
|
23418
|
-
|
|
23421
|
+
N7(n, a, d, e.slice(1));
|
|
23419
23422
|
for (const [d, f] of Object.entries(c)) {
|
|
23420
|
-
const p = d.replace(
|
|
23423
|
+
const p = d.replace(k7, "");
|
|
23421
23424
|
(!l || e.includes(p)) && Ul(n, a, o, f.callable, f.delegationSelector);
|
|
23422
23425
|
}
|
|
23423
23426
|
},
|
|
@@ -23517,13 +23520,13 @@ class us {
|
|
|
23517
23520
|
}
|
|
23518
23521
|
_typeCheckConfig(e, t = this.constructor.DefaultType) {
|
|
23519
23522
|
for (const [r, i] of Object.entries(t)) {
|
|
23520
|
-
const s = e[r], o = _n(s) ? "element" :
|
|
23523
|
+
const s = e[r], o = _n(s) ? "element" : S7(s);
|
|
23521
23524
|
if (!new RegExp(i).test(o))
|
|
23522
23525
|
throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`);
|
|
23523
23526
|
}
|
|
23524
23527
|
}
|
|
23525
23528
|
}
|
|
23526
|
-
const
|
|
23529
|
+
const D7 = "5.3.0";
|
|
23527
23530
|
class un extends us {
|
|
23528
23531
|
constructor(e, t) {
|
|
23529
23532
|
super(), e = nr(e), e && (this._element = e, this._config = this._getConfig(t), Wa.set(this._element, this.constructor.DATA_KEY, this));
|
|
@@ -23548,7 +23551,7 @@ class un extends us {
|
|
|
23548
23551
|
return this.getInstance(e) || new this(e, typeof t == "object" ? t : null);
|
|
23549
23552
|
}
|
|
23550
23553
|
static get VERSION() {
|
|
23551
|
-
return
|
|
23554
|
+
return D7;
|
|
23552
23555
|
}
|
|
23553
23556
|
static get DATA_KEY() {
|
|
23554
23557
|
return `bs.${this.NAME}`;
|
|
@@ -23629,23 +23632,23 @@ const Ja = (n) => {
|
|
|
23629
23632
|
const s = Se.getElementFromSelector(this) || this.closest(`.${r}`);
|
|
23630
23633
|
n.getOrCreateInstance(s)[e]();
|
|
23631
23634
|
});
|
|
23632
|
-
},
|
|
23635
|
+
}, _7 = "alert", L7 = "bs.alert", vm = `.${L7}`, R7 = `close${vm}`, P7 = `closed${vm}`, $7 = "fade", F7 = "show";
|
|
23633
23636
|
class la extends un {
|
|
23634
23637
|
// Getters
|
|
23635
23638
|
static get NAME() {
|
|
23636
|
-
return
|
|
23639
|
+
return _7;
|
|
23637
23640
|
}
|
|
23638
23641
|
// Public
|
|
23639
23642
|
close() {
|
|
23640
|
-
if (re.trigger(this._element,
|
|
23643
|
+
if (re.trigger(this._element, R7).defaultPrevented)
|
|
23641
23644
|
return;
|
|
23642
|
-
this._element.classList.remove(
|
|
23643
|
-
const t = this._element.classList.contains(
|
|
23645
|
+
this._element.classList.remove(F7);
|
|
23646
|
+
const t = this._element.classList.contains($7);
|
|
23644
23647
|
this._queueCallback(() => this._destroyElement(), this._element, t);
|
|
23645
23648
|
}
|
|
23646
23649
|
// Private
|
|
23647
23650
|
_destroyElement() {
|
|
23648
|
-
this._element.remove(), re.trigger(this._element,
|
|
23651
|
+
this._element.remove(), re.trigger(this._element, P7), this.dispose();
|
|
23649
23652
|
}
|
|
23650
23653
|
// Static
|
|
23651
23654
|
static jQueryInterface(e) {
|
|
@@ -23661,15 +23664,15 @@ class la extends un {
|
|
|
23661
23664
|
}
|
|
23662
23665
|
aa(la, "close");
|
|
23663
23666
|
en(la);
|
|
23664
|
-
const
|
|
23667
|
+
const B7 = "button", V7 = "bs.button", z7 = `.${V7}`, H7 = ".data-api", U7 = "active", tf = '[data-bs-toggle="button"]', j7 = `click${z7}${H7}`;
|
|
23665
23668
|
class ca extends un {
|
|
23666
23669
|
// Getters
|
|
23667
23670
|
static get NAME() {
|
|
23668
|
-
return
|
|
23671
|
+
return B7;
|
|
23669
23672
|
}
|
|
23670
23673
|
// Public
|
|
23671
23674
|
toggle() {
|
|
23672
|
-
this._element.setAttribute("aria-pressed", this._element.classList.toggle(
|
|
23675
|
+
this._element.setAttribute("aria-pressed", this._element.classList.toggle(U7));
|
|
23673
23676
|
}
|
|
23674
23677
|
// Static
|
|
23675
23678
|
static jQueryInterface(e) {
|
|
@@ -23679,17 +23682,17 @@ class ca extends un {
|
|
|
23679
23682
|
});
|
|
23680
23683
|
}
|
|
23681
23684
|
}
|
|
23682
|
-
re.on(document,
|
|
23685
|
+
re.on(document, j7, tf, (n) => {
|
|
23683
23686
|
n.preventDefault();
|
|
23684
23687
|
const e = n.target.closest(tf);
|
|
23685
23688
|
ca.getOrCreateInstance(e).toggle();
|
|
23686
23689
|
});
|
|
23687
23690
|
en(ca);
|
|
23688
|
-
const
|
|
23691
|
+
const W7 = "swipe", Ti = ".bs.swipe", K7 = `touchstart${Ti}`, G7 = `touchmove${Ti}`, Y7 = `touchend${Ti}`, J7 = `pointerdown${Ti}`, Z7 = `pointerup${Ti}`, X7 = "touch", Q7 = "pen", q7 = "pointer-event", eC = 40, tC = {
|
|
23689
23692
|
endCallback: null,
|
|
23690
23693
|
leftCallback: null,
|
|
23691
23694
|
rightCallback: null
|
|
23692
|
-
},
|
|
23695
|
+
}, nC = {
|
|
23693
23696
|
endCallback: "(function|null)",
|
|
23694
23697
|
leftCallback: "(function|null)",
|
|
23695
23698
|
rightCallback: "(function|null)"
|
|
@@ -23700,13 +23703,13 @@ class Po extends us {
|
|
|
23700
23703
|
}
|
|
23701
23704
|
// Getters
|
|
23702
23705
|
static get Default() {
|
|
23703
|
-
return
|
|
23706
|
+
return tC;
|
|
23704
23707
|
}
|
|
23705
23708
|
static get DefaultType() {
|
|
23706
|
-
return
|
|
23709
|
+
return nC;
|
|
23707
23710
|
}
|
|
23708
23711
|
static get NAME() {
|
|
23709
|
-
return
|
|
23712
|
+
return W7;
|
|
23710
23713
|
}
|
|
23711
23714
|
// Public
|
|
23712
23715
|
dispose() {
|
|
@@ -23728,33 +23731,33 @@ class Po extends us {
|
|
|
23728
23731
|
}
|
|
23729
23732
|
_handleSwipe() {
|
|
23730
23733
|
const e = Math.abs(this._deltaX);
|
|
23731
|
-
if (e <=
|
|
23734
|
+
if (e <= eC)
|
|
23732
23735
|
return;
|
|
23733
23736
|
const t = e / this._deltaX;
|
|
23734
23737
|
this._deltaX = 0, t && Nt(t > 0 ? this._config.rightCallback : this._config.leftCallback);
|
|
23735
23738
|
}
|
|
23736
23739
|
_initEvents() {
|
|
23737
|
-
this._supportPointerEvents ? (re.on(this._element,
|
|
23740
|
+
this._supportPointerEvents ? (re.on(this._element, J7, (e) => this._start(e)), re.on(this._element, Z7, (e) => this._end(e)), this._element.classList.add(q7)) : (re.on(this._element, K7, (e) => this._start(e)), re.on(this._element, G7, (e) => this._move(e)), re.on(this._element, Y7, (e) => this._end(e)));
|
|
23738
23741
|
}
|
|
23739
23742
|
_eventIsPointerPenTouch(e) {
|
|
23740
|
-
return this._supportPointerEvents && (e.pointerType ===
|
|
23743
|
+
return this._supportPointerEvents && (e.pointerType === Q7 || e.pointerType === X7);
|
|
23741
23744
|
}
|
|
23742
23745
|
// Static
|
|
23743
23746
|
static isSupported() {
|
|
23744
23747
|
return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
|
|
23745
23748
|
}
|
|
23746
23749
|
}
|
|
23747
|
-
const
|
|
23748
|
-
[
|
|
23749
|
-
[
|
|
23750
|
-
},
|
|
23750
|
+
const rC = "carousel", iC = "bs.carousel", cr = `.${iC}`, ym = ".data-api", sC = "ArrowLeft", oC = "ArrowRight", aC = 500, xi = "next", Ur = "prev", Zr = "left", Ps = "right", lC = `slide${cr}`, Za = `slid${cr}`, cC = `keydown${cr}`, uC = `mouseenter${cr}`, dC = `mouseleave${cr}`, fC = `dragstart${cr}`, hC = `load${cr}${ym}`, pC = `click${cr}${ym}`, bm = "carousel", xs = "active", mC = "slide", gC = "carousel-item-end", vC = "carousel-item-start", yC = "carousel-item-next", bC = "carousel-item-prev", Em = ".active", Sm = ".carousel-item", EC = Em + Sm, SC = ".carousel-item img", CC = ".carousel-indicators", TC = "[data-bs-slide], [data-bs-slide-to]", wC = '[data-bs-ride="carousel"]', xC = {
|
|
23751
|
+
[sC]: Ps,
|
|
23752
|
+
[oC]: Zr
|
|
23753
|
+
}, AC = {
|
|
23751
23754
|
interval: 5e3,
|
|
23752
23755
|
keyboard: !0,
|
|
23753
23756
|
pause: "hover",
|
|
23754
23757
|
ride: !1,
|
|
23755
23758
|
touch: !0,
|
|
23756
23759
|
wrap: !0
|
|
23757
|
-
},
|
|
23760
|
+
}, kC = {
|
|
23758
23761
|
interval: "(number|boolean)",
|
|
23759
23762
|
// TODO:v6 remove boolean support
|
|
23760
23763
|
keyboard: "boolean",
|
|
@@ -23765,17 +23768,17 @@ const nC = "carousel", rC = "bs.carousel", cr = `.${rC}`, ym = ".data-api", iC =
|
|
|
23765
23768
|
};
|
|
23766
23769
|
class ds extends un {
|
|
23767
23770
|
constructor(e, t) {
|
|
23768
|
-
super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = Se.findOne(
|
|
23771
|
+
super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = Se.findOne(CC, this._element), this._addEventListeners(), this._config.ride === bm && this.cycle();
|
|
23769
23772
|
}
|
|
23770
23773
|
// Getters
|
|
23771
23774
|
static get Default() {
|
|
23772
|
-
return
|
|
23775
|
+
return AC;
|
|
23773
23776
|
}
|
|
23774
23777
|
static get DefaultType() {
|
|
23775
|
-
return
|
|
23778
|
+
return kC;
|
|
23776
23779
|
}
|
|
23777
23780
|
static get NAME() {
|
|
23778
|
-
return
|
|
23781
|
+
return rC;
|
|
23779
23782
|
}
|
|
23780
23783
|
// Public
|
|
23781
23784
|
next() {
|
|
@@ -23824,16 +23827,16 @@ class ds extends un {
|
|
|
23824
23827
|
return e.defaultInterval = e.interval, e;
|
|
23825
23828
|
}
|
|
23826
23829
|
_addEventListeners() {
|
|
23827
|
-
this._config.keyboard && re.on(this._element,
|
|
23830
|
+
this._config.keyboard && re.on(this._element, cC, (e) => this._keydown(e)), this._config.pause === "hover" && (re.on(this._element, uC, () => this.pause()), re.on(this._element, dC, () => this._maybeEnableCycle())), this._config.touch && Po.isSupported() && this._addTouchEventListeners();
|
|
23828
23831
|
}
|
|
23829
23832
|
_addTouchEventListeners() {
|
|
23830
|
-
for (const r of Se.find(
|
|
23831
|
-
re.on(r,
|
|
23833
|
+
for (const r of Se.find(SC, this._element))
|
|
23834
|
+
re.on(r, fC, (i) => i.preventDefault());
|
|
23832
23835
|
const t = {
|
|
23833
23836
|
leftCallback: () => this._slide(this._directionToOrder(Zr)),
|
|
23834
23837
|
rightCallback: () => this._slide(this._directionToOrder(Ps)),
|
|
23835
23838
|
endCallback: () => {
|
|
23836
|
-
this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(),
|
|
23839
|
+
this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), aC + this._config.interval));
|
|
23837
23840
|
}
|
|
23838
23841
|
};
|
|
23839
23842
|
this._swipeHelper = new Po(this._element, t);
|
|
@@ -23841,7 +23844,7 @@ class ds extends un {
|
|
|
23841
23844
|
_keydown(e) {
|
|
23842
23845
|
if (/input|textarea/i.test(e.target.tagName))
|
|
23843
23846
|
return;
|
|
23844
|
-
const t =
|
|
23847
|
+
const t = xC[e.key];
|
|
23845
23848
|
t && (e.preventDefault(), this._slide(this._directionToOrder(t)));
|
|
23846
23849
|
}
|
|
23847
23850
|
_getItemIndex(e) {
|
|
@@ -23874,11 +23877,11 @@ class ds extends un {
|
|
|
23874
23877
|
from: this._getItemIndex(r),
|
|
23875
23878
|
to: o
|
|
23876
23879
|
});
|
|
23877
|
-
if (l(
|
|
23880
|
+
if (l(lC).defaultPrevented || !r || !s)
|
|
23878
23881
|
return;
|
|
23879
23882
|
const c = !!this._interval;
|
|
23880
23883
|
this.pause(), this._isSliding = !0, this._setActiveIndicatorElement(o), this._activeElement = s;
|
|
23881
|
-
const u = i ?
|
|
23884
|
+
const u = i ? vC : gC, d = i ? yC : bC;
|
|
23882
23885
|
s.classList.add(d), cs(s), r.classList.add(u), s.classList.add(u);
|
|
23883
23886
|
const f = () => {
|
|
23884
23887
|
s.classList.remove(u, d), s.classList.add(xs), r.classList.remove(xs, d, u), this._isSliding = !1, l(Za);
|
|
@@ -23886,10 +23889,10 @@ class ds extends un {
|
|
|
23886
23889
|
this._queueCallback(f, r, this._isAnimated()), c && this.cycle();
|
|
23887
23890
|
}
|
|
23888
23891
|
_isAnimated() {
|
|
23889
|
-
return this._element.classList.contains(
|
|
23892
|
+
return this._element.classList.contains(mC);
|
|
23890
23893
|
}
|
|
23891
23894
|
_getActive() {
|
|
23892
|
-
return Se.findOne(
|
|
23895
|
+
return Se.findOne(EC, this._element);
|
|
23893
23896
|
}
|
|
23894
23897
|
_getItems() {
|
|
23895
23898
|
return Se.find(Sm, this._element);
|
|
@@ -23919,7 +23922,7 @@ class ds extends un {
|
|
|
23919
23922
|
});
|
|
23920
23923
|
}
|
|
23921
23924
|
}
|
|
23922
|
-
re.on(document,
|
|
23925
|
+
re.on(document, pC, TC, function(n) {
|
|
23923
23926
|
const e = Se.getElementFromSelector(this);
|
|
23924
23927
|
if (!e || !e.classList.contains(bm))
|
|
23925
23928
|
return;
|
|
@@ -23935,16 +23938,16 @@ re.on(document, hC, CC, function(n) {
|
|
|
23935
23938
|
}
|
|
23936
23939
|
t.prev(), t._maybeEnableCycle();
|
|
23937
23940
|
});
|
|
23938
|
-
re.on(window,
|
|
23939
|
-
const n = Se.find(
|
|
23941
|
+
re.on(window, hC, () => {
|
|
23942
|
+
const n = Se.find(wC);
|
|
23940
23943
|
for (const e of n)
|
|
23941
23944
|
ds.getOrCreateInstance(e);
|
|
23942
23945
|
});
|
|
23943
23946
|
en(ds);
|
|
23944
|
-
const
|
|
23947
|
+
const OC = "collapse", MC = "bs.collapse", fs = `.${MC}`, IC = ".data-api", NC = `show${fs}`, DC = `shown${fs}`, _C = `hide${fs}`, LC = `hidden${fs}`, RC = `click${fs}${IC}`, Xa = "show", ti = "collapse", As = "collapsing", PC = "collapsed", $C = `:scope .${ti} .${ti}`, FC = "collapse-horizontal", BC = "width", VC = "height", zC = ".collapse.show, .collapse.collapsing", jl = '[data-bs-toggle="collapse"]', HC = {
|
|
23945
23948
|
parent: null,
|
|
23946
23949
|
toggle: !0
|
|
23947
|
-
},
|
|
23950
|
+
}, UC = {
|
|
23948
23951
|
parent: "(null|element)",
|
|
23949
23952
|
toggle: "boolean"
|
|
23950
23953
|
};
|
|
@@ -23960,13 +23963,13 @@ class ts extends un {
|
|
|
23960
23963
|
}
|
|
23961
23964
|
// Getters
|
|
23962
23965
|
static get Default() {
|
|
23963
|
-
return
|
|
23966
|
+
return HC;
|
|
23964
23967
|
}
|
|
23965
23968
|
static get DefaultType() {
|
|
23966
|
-
return
|
|
23969
|
+
return UC;
|
|
23967
23970
|
}
|
|
23968
23971
|
static get NAME() {
|
|
23969
|
-
return
|
|
23972
|
+
return OC;
|
|
23970
23973
|
}
|
|
23971
23974
|
// Public
|
|
23972
23975
|
toggle() {
|
|
@@ -23976,21 +23979,21 @@ class ts extends un {
|
|
|
23976
23979
|
if (this._isTransitioning || this._isShown())
|
|
23977
23980
|
return;
|
|
23978
23981
|
let e = [];
|
|
23979
|
-
if (this._config.parent && (e = this._getFirstLevelChildren(
|
|
23982
|
+
if (this._config.parent && (e = this._getFirstLevelChildren(zC).filter((l) => l !== this._element).map((l) => ts.getOrCreateInstance(l, {
|
|
23980
23983
|
toggle: !1
|
|
23981
|
-
}))), e.length && e[0]._isTransitioning || re.trigger(this._element,
|
|
23984
|
+
}))), e.length && e[0]._isTransitioning || re.trigger(this._element, NC).defaultPrevented)
|
|
23982
23985
|
return;
|
|
23983
23986
|
for (const l of e)
|
|
23984
23987
|
l.hide();
|
|
23985
23988
|
const r = this._getDimension();
|
|
23986
23989
|
this._element.classList.remove(ti), this._element.classList.add(As), this._element.style[r] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0;
|
|
23987
23990
|
const i = () => {
|
|
23988
|
-
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(ti, Xa), this._element.style[r] = "", re.trigger(this._element,
|
|
23991
|
+
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(ti, Xa), this._element.style[r] = "", re.trigger(this._element, DC);
|
|
23989
23992
|
}, o = `scroll${r[0].toUpperCase() + r.slice(1)}`;
|
|
23990
23993
|
this._queueCallback(i, this._element, !0), this._element.style[r] = `${this._element[o]}px`;
|
|
23991
23994
|
}
|
|
23992
23995
|
hide() {
|
|
23993
|
-
if (this._isTransitioning || !this._isShown() || re.trigger(this._element,
|
|
23996
|
+
if (this._isTransitioning || !this._isShown() || re.trigger(this._element, _C).defaultPrevented)
|
|
23994
23997
|
return;
|
|
23995
23998
|
const t = this._getDimension();
|
|
23996
23999
|
this._element.style[t] = `${this._element.getBoundingClientRect()[t]}px`, cs(this._element), this._element.classList.add(As), this._element.classList.remove(ti, Xa);
|
|
@@ -24000,7 +24003,7 @@ class ts extends un {
|
|
|
24000
24003
|
}
|
|
24001
24004
|
this._isTransitioning = !0;
|
|
24002
24005
|
const r = () => {
|
|
24003
|
-
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(ti), re.trigger(this._element,
|
|
24006
|
+
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(ti), re.trigger(this._element, LC);
|
|
24004
24007
|
};
|
|
24005
24008
|
this._element.style[t] = "", this._queueCallback(r, this._element, !0);
|
|
24006
24009
|
}
|
|
@@ -24012,7 +24015,7 @@ class ts extends un {
|
|
|
24012
24015
|
return e.toggle = !!e.toggle, e.parent = nr(e.parent), e;
|
|
24013
24016
|
}
|
|
24014
24017
|
_getDimension() {
|
|
24015
|
-
return this._element.classList.contains(
|
|
24018
|
+
return this._element.classList.contains(FC) ? BC : VC;
|
|
24016
24019
|
}
|
|
24017
24020
|
_initializeChildren() {
|
|
24018
24021
|
if (!this._config.parent)
|
|
@@ -24024,13 +24027,13 @@ class ts extends un {
|
|
|
24024
24027
|
}
|
|
24025
24028
|
}
|
|
24026
24029
|
_getFirstLevelChildren(e) {
|
|
24027
|
-
const t = Se.find(
|
|
24030
|
+
const t = Se.find($C, this._config.parent);
|
|
24028
24031
|
return Se.find(e, this._config.parent).filter((r) => !t.includes(r));
|
|
24029
24032
|
}
|
|
24030
24033
|
_addAriaAndCollapsedClass(e, t) {
|
|
24031
24034
|
if (e.length)
|
|
24032
24035
|
for (const r of e)
|
|
24033
|
-
r.classList.toggle(
|
|
24036
|
+
r.classList.toggle(PC, !t), r.setAttribute("aria-expanded", t);
|
|
24034
24037
|
}
|
|
24035
24038
|
// Static
|
|
24036
24039
|
static jQueryInterface(e) {
|
|
@@ -24045,7 +24048,7 @@ class ts extends un {
|
|
|
24045
24048
|
});
|
|
24046
24049
|
}
|
|
24047
24050
|
}
|
|
24048
|
-
re.on(document,
|
|
24051
|
+
re.on(document, RC, jl, function(n) {
|
|
24049
24052
|
(n.target.tagName === "A" || n.delegateTarget && n.delegateTarget.tagName === "A") && n.preventDefault();
|
|
24050
24053
|
for (const e of Se.getMultipleElementsFromSelector(this))
|
|
24051
24054
|
ts.getOrCreateInstance(e, {
|
|
@@ -24053,14 +24056,14 @@ re.on(document, LC, jl, function(n) {
|
|
|
24053
24056
|
}).toggle();
|
|
24054
24057
|
});
|
|
24055
24058
|
en(ts);
|
|
24056
|
-
const nf = "dropdown",
|
|
24059
|
+
const nf = "dropdown", jC = "bs.dropdown", Rr = `.${jC}`, Vc = ".data-api", WC = "Escape", rf = "Tab", KC = "ArrowUp", sf = "ArrowDown", GC = 2, YC = `hide${Rr}`, JC = `hidden${Rr}`, ZC = `show${Rr}`, XC = `shown${Rr}`, Cm = `click${Rr}${Vc}`, Tm = `keydown${Rr}${Vc}`, QC = `keyup${Rr}${Vc}`, Xr = "show", qC = "dropup", eT = "dropend", tT = "dropstart", nT = "dropup-center", rT = "dropdown-center", br = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', iT = `${br}.${Xr}`, $s = ".dropdown-menu", sT = ".navbar", oT = ".navbar-nav", aT = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", lT = Qt() ? "top-end" : "top-start", cT = Qt() ? "top-start" : "top-end", uT = Qt() ? "bottom-end" : "bottom-start", dT = Qt() ? "bottom-start" : "bottom-end", fT = Qt() ? "left-start" : "right-start", hT = Qt() ? "right-start" : "left-start", pT = "top", mT = "bottom", gT = {
|
|
24057
24060
|
autoClose: !0,
|
|
24058
24061
|
boundary: "clippingParents",
|
|
24059
24062
|
display: "dynamic",
|
|
24060
24063
|
offset: [0, 2],
|
|
24061
24064
|
popperConfig: null,
|
|
24062
24065
|
reference: "toggle"
|
|
24063
|
-
},
|
|
24066
|
+
}, vT = {
|
|
24064
24067
|
autoClose: "(boolean|string)",
|
|
24065
24068
|
boundary: "(string|element)",
|
|
24066
24069
|
display: "string",
|
|
@@ -24074,10 +24077,10 @@ class En extends un {
|
|
|
24074
24077
|
}
|
|
24075
24078
|
// Getters
|
|
24076
24079
|
static get Default() {
|
|
24077
|
-
return
|
|
24080
|
+
return gT;
|
|
24078
24081
|
}
|
|
24079
24082
|
static get DefaultType() {
|
|
24080
|
-
return
|
|
24083
|
+
return vT;
|
|
24081
24084
|
}
|
|
24082
24085
|
static get NAME() {
|
|
24083
24086
|
return nf;
|
|
@@ -24092,11 +24095,11 @@ class En extends un {
|
|
|
24092
24095
|
const e = {
|
|
24093
24096
|
relatedTarget: this._element
|
|
24094
24097
|
};
|
|
24095
|
-
if (!re.trigger(this._element,
|
|
24096
|
-
if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(
|
|
24098
|
+
if (!re.trigger(this._element, ZC, e).defaultPrevented) {
|
|
24099
|
+
if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(oT))
|
|
24097
24100
|
for (const r of [].concat(...document.body.children))
|
|
24098
24101
|
re.on(r, "mouseover", Ro);
|
|
24099
|
-
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(Xr), this._element.classList.add(Xr), re.trigger(this._element,
|
|
24102
|
+
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(Xr), this._element.classList.add(Xr), re.trigger(this._element, XC, e);
|
|
24100
24103
|
}
|
|
24101
24104
|
}
|
|
24102
24105
|
hide() {
|
|
@@ -24115,11 +24118,11 @@ class En extends un {
|
|
|
24115
24118
|
}
|
|
24116
24119
|
// Private
|
|
24117
24120
|
_completeHide(e) {
|
|
24118
|
-
if (!re.trigger(this._element,
|
|
24121
|
+
if (!re.trigger(this._element, YC, e).defaultPrevented) {
|
|
24119
24122
|
if ("ontouchstart" in document.documentElement)
|
|
24120
24123
|
for (const r of [].concat(...document.body.children))
|
|
24121
24124
|
re.off(r, "mouseover", Ro);
|
|
24122
|
-
this._popper && this._popper.destroy(), this._menu.classList.remove(Xr), this._element.classList.remove(Xr), this._element.setAttribute("aria-expanded", "false"), Ln.removeDataAttribute(this._menu, "popper"), re.trigger(this._element,
|
|
24125
|
+
this._popper && this._popper.destroy(), this._menu.classList.remove(Xr), this._element.classList.remove(Xr), this._element.setAttribute("aria-expanded", "false"), Ln.removeDataAttribute(this._menu, "popper"), re.trigger(this._element, JC, e);
|
|
24123
24126
|
}
|
|
24124
24127
|
}
|
|
24125
24128
|
_getConfig(e) {
|
|
@@ -24140,19 +24143,19 @@ class En extends un {
|
|
|
24140
24143
|
}
|
|
24141
24144
|
_getPlacement() {
|
|
24142
24145
|
const e = this._parent;
|
|
24143
|
-
if (e.classList.contains(qC))
|
|
24144
|
-
return dT;
|
|
24145
24146
|
if (e.classList.contains(eT))
|
|
24146
24147
|
return fT;
|
|
24147
24148
|
if (e.classList.contains(tT))
|
|
24148
24149
|
return hT;
|
|
24149
24150
|
if (e.classList.contains(nT))
|
|
24150
24151
|
return pT;
|
|
24152
|
+
if (e.classList.contains(rT))
|
|
24153
|
+
return mT;
|
|
24151
24154
|
const t = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
|
|
24152
|
-
return e.classList.contains(
|
|
24155
|
+
return e.classList.contains(qC) ? t ? cT : lT : t ? dT : uT;
|
|
24153
24156
|
}
|
|
24154
24157
|
_detectNavbar() {
|
|
24155
|
-
return this._element.closest(
|
|
24158
|
+
return this._element.closest(sT) !== null;
|
|
24156
24159
|
}
|
|
24157
24160
|
_getOffset() {
|
|
24158
24161
|
const {
|
|
@@ -24187,7 +24190,7 @@ class En extends un {
|
|
|
24187
24190
|
key: e,
|
|
24188
24191
|
target: t
|
|
24189
24192
|
}) {
|
|
24190
|
-
const r = Se.find(
|
|
24193
|
+
const r = Se.find(aT, this._menu).filter((i) => Ci(i));
|
|
24191
24194
|
r.length && Fc(r, t, e === sf, !r.includes(t)).focus();
|
|
24192
24195
|
}
|
|
24193
24196
|
// Static
|
|
@@ -24202,9 +24205,9 @@ class En extends un {
|
|
|
24202
24205
|
});
|
|
24203
24206
|
}
|
|
24204
24207
|
static clearMenus(e) {
|
|
24205
|
-
if (e.button ===
|
|
24208
|
+
if (e.button === GC || e.type === "keyup" && e.key !== rf)
|
|
24206
24209
|
return;
|
|
24207
|
-
const t = Se.find(
|
|
24210
|
+
const t = Se.find(iT);
|
|
24208
24211
|
for (const r of t) {
|
|
24209
24212
|
const i = En.getInstance(r);
|
|
24210
24213
|
if (!i || i._config.autoClose === !1)
|
|
@@ -24219,7 +24222,7 @@ class En extends un {
|
|
|
24219
24222
|
}
|
|
24220
24223
|
}
|
|
24221
24224
|
static dataApiKeydownHandler(e) {
|
|
24222
|
-
const t = /input|textarea/i.test(e.target.tagName), r = e.key ===
|
|
24225
|
+
const t = /input|textarea/i.test(e.target.tagName), r = e.key === WC, i = [KC, sf].includes(e.key);
|
|
24223
24226
|
if (!i && !r || t && !r)
|
|
24224
24227
|
return;
|
|
24225
24228
|
e.preventDefault();
|
|
@@ -24234,12 +24237,12 @@ class En extends un {
|
|
|
24234
24237
|
re.on(document, Tm, br, En.dataApiKeydownHandler);
|
|
24235
24238
|
re.on(document, Tm, $s, En.dataApiKeydownHandler);
|
|
24236
24239
|
re.on(document, Cm, En.clearMenus);
|
|
24237
|
-
re.on(document,
|
|
24240
|
+
re.on(document, QC, En.clearMenus);
|
|
24238
24241
|
re.on(document, Cm, br, function(n) {
|
|
24239
24242
|
n.preventDefault(), En.getOrCreateInstance(this).toggle();
|
|
24240
24243
|
});
|
|
24241
24244
|
en(En);
|
|
24242
|
-
const wm = "backdrop",
|
|
24245
|
+
const wm = "backdrop", yT = "fade", of = "show", af = `mousedown.bs.${wm}`, bT = {
|
|
24243
24246
|
className: "modal-backdrop",
|
|
24244
24247
|
clickCallback: null,
|
|
24245
24248
|
isAnimated: !1,
|
|
@@ -24247,7 +24250,7 @@ const wm = "backdrop", vT = "fade", of = "show", af = `mousedown.bs.${wm}`, yT =
|
|
|
24247
24250
|
// if false, we use the backdrop helper without adding any element to the dom
|
|
24248
24251
|
rootElement: "body"
|
|
24249
24252
|
// give the choice to place backdrop under different elements
|
|
24250
|
-
},
|
|
24253
|
+
}, ET = {
|
|
24251
24254
|
className: "string",
|
|
24252
24255
|
clickCallback: "(function|null)",
|
|
24253
24256
|
isAnimated: "boolean",
|
|
@@ -24260,10 +24263,10 @@ class xm extends us {
|
|
|
24260
24263
|
}
|
|
24261
24264
|
// Getters
|
|
24262
24265
|
static get Default() {
|
|
24263
|
-
return
|
|
24266
|
+
return bT;
|
|
24264
24267
|
}
|
|
24265
24268
|
static get DefaultType() {
|
|
24266
|
-
return
|
|
24269
|
+
return ET;
|
|
24267
24270
|
}
|
|
24268
24271
|
static get NAME() {
|
|
24269
24272
|
return wm;
|
|
@@ -24296,7 +24299,7 @@ class xm extends us {
|
|
|
24296
24299
|
_getElement() {
|
|
24297
24300
|
if (!this._element) {
|
|
24298
24301
|
const e = document.createElement("div");
|
|
24299
|
-
e.className = this._config.className, this._config.isAnimated && e.classList.add(
|
|
24302
|
+
e.className = this._config.className, this._config.isAnimated && e.classList.add(yT), this._element = e;
|
|
24300
24303
|
}
|
|
24301
24304
|
return this._element;
|
|
24302
24305
|
}
|
|
@@ -24315,11 +24318,11 @@ class xm extends us {
|
|
|
24315
24318
|
um(e, this._getElement(), this._config.isAnimated);
|
|
24316
24319
|
}
|
|
24317
24320
|
}
|
|
24318
|
-
const
|
|
24321
|
+
const ST = "focustrap", CT = "bs.focustrap", $o = `.${CT}`, TT = `focusin${$o}`, wT = `keydown.tab${$o}`, xT = "Tab", AT = "forward", lf = "backward", kT = {
|
|
24319
24322
|
autofocus: !0,
|
|
24320
24323
|
trapElement: null
|
|
24321
24324
|
// The element to trap focus inside of
|
|
24322
|
-
},
|
|
24325
|
+
}, OT = {
|
|
24323
24326
|
autofocus: "boolean",
|
|
24324
24327
|
trapElement: "element"
|
|
24325
24328
|
};
|
|
@@ -24329,17 +24332,17 @@ class Am extends us {
|
|
|
24329
24332
|
}
|
|
24330
24333
|
// Getters
|
|
24331
24334
|
static get Default() {
|
|
24332
|
-
return
|
|
24335
|
+
return kT;
|
|
24333
24336
|
}
|
|
24334
24337
|
static get DefaultType() {
|
|
24335
|
-
return
|
|
24338
|
+
return OT;
|
|
24336
24339
|
}
|
|
24337
24340
|
static get NAME() {
|
|
24338
|
-
return
|
|
24341
|
+
return ST;
|
|
24339
24342
|
}
|
|
24340
24343
|
// Public
|
|
24341
24344
|
activate() {
|
|
24342
|
-
this._isActive || (this._config.autofocus && this._config.trapElement.focus(), re.off(document, $o), re.on(document,
|
|
24345
|
+
this._isActive || (this._config.autofocus && this._config.trapElement.focus(), re.off(document, $o), re.on(document, TT, (e) => this._handleFocusin(e)), re.on(document, wT, (e) => this._handleKeydown(e)), this._isActive = !0);
|
|
24343
24346
|
}
|
|
24344
24347
|
deactivate() {
|
|
24345
24348
|
this._isActive && (this._isActive = !1, re.off(document, $o));
|
|
@@ -24355,7 +24358,7 @@ class Am extends us {
|
|
|
24355
24358
|
r.length === 0 ? t.focus() : this._lastTabNavDirection === lf ? r[r.length - 1].focus() : r[0].focus();
|
|
24356
24359
|
}
|
|
24357
24360
|
_handleKeydown(e) {
|
|
24358
|
-
e.key ===
|
|
24361
|
+
e.key === xT && (this._lastTabNavDirection = e.shiftKey ? lf : AT);
|
|
24359
24362
|
}
|
|
24360
24363
|
}
|
|
24361
24364
|
const cf = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", uf = ".sticky-top", ks = "padding-right", df = "margin-right";
|
|
@@ -24416,28 +24419,28 @@ class Wl {
|
|
|
24416
24419
|
t(r);
|
|
24417
24420
|
}
|
|
24418
24421
|
}
|
|
24419
|
-
const
|
|
24422
|
+
const MT = "modal", IT = "bs.modal", qt = `.${IT}`, NT = ".data-api", DT = "Escape", _T = `hide${qt}`, LT = `hidePrevented${qt}`, km = `hidden${qt}`, Om = `show${qt}`, RT = `shown${qt}`, PT = `resize${qt}`, $T = `click.dismiss${qt}`, FT = `mousedown.dismiss${qt}`, BT = `keydown.dismiss${qt}`, VT = `click${qt}${NT}`, ff = "modal-open", zT = "fade", hf = "show", Qa = "modal-static", HT = ".modal.show", UT = ".modal-dialog", jT = ".modal-body", WT = '[data-bs-toggle="modal"]', KT = {
|
|
24420
24423
|
backdrop: !0,
|
|
24421
24424
|
focus: !0,
|
|
24422
24425
|
keyboard: !0
|
|
24423
|
-
},
|
|
24426
|
+
}, GT = {
|
|
24424
24427
|
backdrop: "(boolean|string)",
|
|
24425
24428
|
focus: "boolean",
|
|
24426
24429
|
keyboard: "boolean"
|
|
24427
24430
|
};
|
|
24428
24431
|
class _r extends un {
|
|
24429
24432
|
constructor(e, t) {
|
|
24430
|
-
super(e, t), this._dialog = Se.findOne(
|
|
24433
|
+
super(e, t), this._dialog = Se.findOne(UT, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new Wl(), this._addEventListeners();
|
|
24431
24434
|
}
|
|
24432
24435
|
// Getters
|
|
24433
24436
|
static get Default() {
|
|
24434
|
-
return
|
|
24437
|
+
return KT;
|
|
24435
24438
|
}
|
|
24436
24439
|
static get DefaultType() {
|
|
24437
|
-
return
|
|
24440
|
+
return GT;
|
|
24438
24441
|
}
|
|
24439
24442
|
static get NAME() {
|
|
24440
|
-
return
|
|
24443
|
+
return MT;
|
|
24441
24444
|
}
|
|
24442
24445
|
// Public
|
|
24443
24446
|
toggle(e) {
|
|
@@ -24449,7 +24452,7 @@ class _r extends un {
|
|
|
24449
24452
|
}).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(ff), this._adjustDialog(), this._backdrop.show(() => this._showElement(e)));
|
|
24450
24453
|
}
|
|
24451
24454
|
hide() {
|
|
24452
|
-
!this._isShown || this._isTransitioning || re.trigger(this._element,
|
|
24455
|
+
!this._isShown || this._isTransitioning || re.trigger(this._element, _T).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(hf), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
|
|
24453
24456
|
}
|
|
24454
24457
|
dispose() {
|
|
24455
24458
|
re.off(window, qt), re.off(this._dialog, qt), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
|
|
@@ -24472,28 +24475,28 @@ class _r extends un {
|
|
|
24472
24475
|
}
|
|
24473
24476
|
_showElement(e) {
|
|
24474
24477
|
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;
|
|
24475
|
-
const t = Se.findOne(
|
|
24478
|
+
const t = Se.findOne(jT, this._dialog);
|
|
24476
24479
|
t && (t.scrollTop = 0), cs(this._element), this._element.classList.add(hf);
|
|
24477
24480
|
const r = () => {
|
|
24478
|
-
this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, re.trigger(this._element,
|
|
24481
|
+
this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, re.trigger(this._element, RT, {
|
|
24479
24482
|
relatedTarget: e
|
|
24480
24483
|
});
|
|
24481
24484
|
};
|
|
24482
24485
|
this._queueCallback(r, this._dialog, this._isAnimated());
|
|
24483
24486
|
}
|
|
24484
24487
|
_addEventListeners() {
|
|
24485
|
-
re.on(this._element,
|
|
24486
|
-
if (e.key ===
|
|
24488
|
+
re.on(this._element, BT, (e) => {
|
|
24489
|
+
if (e.key === DT) {
|
|
24487
24490
|
if (this._config.keyboard) {
|
|
24488
24491
|
this.hide();
|
|
24489
24492
|
return;
|
|
24490
24493
|
}
|
|
24491
24494
|
this._triggerBackdropTransition();
|
|
24492
24495
|
}
|
|
24493
|
-
}), re.on(window,
|
|
24496
|
+
}), re.on(window, PT, () => {
|
|
24494
24497
|
this._isShown && !this._isTransitioning && this._adjustDialog();
|
|
24495
|
-
}), re.on(this._element,
|
|
24496
|
-
re.one(this._element,
|
|
24498
|
+
}), re.on(this._element, FT, (e) => {
|
|
24499
|
+
re.one(this._element, $T, (t) => {
|
|
24497
24500
|
if (!(this._element !== e.target || this._element !== t.target)) {
|
|
24498
24501
|
if (this._config.backdrop === "static") {
|
|
24499
24502
|
this._triggerBackdropTransition();
|
|
@@ -24510,10 +24513,10 @@ class _r extends un {
|
|
|
24510
24513
|
});
|
|
24511
24514
|
}
|
|
24512
24515
|
_isAnimated() {
|
|
24513
|
-
return this._element.classList.contains(
|
|
24516
|
+
return this._element.classList.contains(zT);
|
|
24514
24517
|
}
|
|
24515
24518
|
_triggerBackdropTransition() {
|
|
24516
|
-
if (re.trigger(this._element,
|
|
24519
|
+
if (re.trigger(this._element, LT).defaultPrevented)
|
|
24517
24520
|
return;
|
|
24518
24521
|
const t = this._element.scrollHeight > document.documentElement.clientHeight, r = this._element.style.overflowY;
|
|
24519
24522
|
r === "hidden" || this._element.classList.contains(Qa) || (t || (this._element.style.overflowY = "hidden"), this._element.classList.add(Qa), this._queueCallback(() => {
|
|
@@ -24551,23 +24554,23 @@ class _r extends un {
|
|
|
24551
24554
|
});
|
|
24552
24555
|
}
|
|
24553
24556
|
}
|
|
24554
|
-
re.on(document,
|
|
24557
|
+
re.on(document, VT, WT, function(n) {
|
|
24555
24558
|
const e = Se.getElementFromSelector(this);
|
|
24556
24559
|
["A", "AREA"].includes(this.tagName) && n.preventDefault(), re.one(e, Om, (i) => {
|
|
24557
24560
|
i.defaultPrevented || re.one(e, km, () => {
|
|
24558
24561
|
Ci(this) && this.focus();
|
|
24559
24562
|
});
|
|
24560
24563
|
});
|
|
24561
|
-
const t = Se.findOne(
|
|
24564
|
+
const t = Se.findOne(HT);
|
|
24562
24565
|
t && _r.getInstance(t).hide(), _r.getOrCreateInstance(e).toggle(this);
|
|
24563
24566
|
});
|
|
24564
24567
|
aa(_r);
|
|
24565
24568
|
en(_r);
|
|
24566
|
-
const
|
|
24569
|
+
const YT = "offcanvas", JT = "bs.offcanvas", Pn = `.${JT}`, Mm = ".data-api", ZT = `load${Pn}${Mm}`, XT = "Escape", pf = "show", mf = "showing", gf = "hiding", QT = "offcanvas-backdrop", Im = ".offcanvas.show", qT = `show${Pn}`, ew = `shown${Pn}`, tw = `hide${Pn}`, vf = `hidePrevented${Pn}`, Nm = `hidden${Pn}`, nw = `resize${Pn}`, rw = `click${Pn}${Mm}`, iw = `keydown.dismiss${Pn}`, sw = '[data-bs-toggle="offcanvas"]', ow = {
|
|
24567
24570
|
backdrop: !0,
|
|
24568
24571
|
keyboard: !0,
|
|
24569
24572
|
scroll: !1
|
|
24570
|
-
},
|
|
24573
|
+
}, aw = {
|
|
24571
24574
|
backdrop: "(boolean|string)",
|
|
24572
24575
|
keyboard: "boolean",
|
|
24573
24576
|
scroll: "boolean"
|
|
@@ -24578,33 +24581,33 @@ class ir extends un {
|
|
|
24578
24581
|
}
|
|
24579
24582
|
// Getters
|
|
24580
24583
|
static get Default() {
|
|
24581
|
-
return
|
|
24584
|
+
return ow;
|
|
24582
24585
|
}
|
|
24583
24586
|
static get DefaultType() {
|
|
24584
|
-
return
|
|
24587
|
+
return aw;
|
|
24585
24588
|
}
|
|
24586
24589
|
static get NAME() {
|
|
24587
|
-
return
|
|
24590
|
+
return YT;
|
|
24588
24591
|
}
|
|
24589
24592
|
// Public
|
|
24590
24593
|
toggle(e) {
|
|
24591
24594
|
return this._isShown ? this.hide() : this.show(e);
|
|
24592
24595
|
}
|
|
24593
24596
|
show(e) {
|
|
24594
|
-
if (this._isShown || re.trigger(this._element,
|
|
24597
|
+
if (this._isShown || re.trigger(this._element, qT, {
|
|
24595
24598
|
relatedTarget: e
|
|
24596
24599
|
}).defaultPrevented)
|
|
24597
24600
|
return;
|
|
24598
24601
|
this._isShown = !0, this._backdrop.show(), this._config.scroll || new Wl().hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(mf);
|
|
24599
24602
|
const r = () => {
|
|
24600
|
-
(!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(pf), this._element.classList.remove(mf), re.trigger(this._element,
|
|
24603
|
+
(!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(pf), this._element.classList.remove(mf), re.trigger(this._element, ew, {
|
|
24601
24604
|
relatedTarget: e
|
|
24602
24605
|
});
|
|
24603
24606
|
};
|
|
24604
24607
|
this._queueCallback(r, this._element, !0);
|
|
24605
24608
|
}
|
|
24606
24609
|
hide() {
|
|
24607
|
-
if (!this._isShown || re.trigger(this._element,
|
|
24610
|
+
if (!this._isShown || re.trigger(this._element, tw).defaultPrevented)
|
|
24608
24611
|
return;
|
|
24609
24612
|
this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(gf), this._backdrop.hide();
|
|
24610
24613
|
const t = () => {
|
|
@@ -24625,7 +24628,7 @@ class ir extends un {
|
|
|
24625
24628
|
this.hide();
|
|
24626
24629
|
}, t = !!this._config.backdrop;
|
|
24627
24630
|
return new xm({
|
|
24628
|
-
className:
|
|
24631
|
+
className: QT,
|
|
24629
24632
|
isVisible: t,
|
|
24630
24633
|
isAnimated: !0,
|
|
24631
24634
|
rootElement: this._element.parentNode,
|
|
@@ -24638,8 +24641,8 @@ class ir extends un {
|
|
|
24638
24641
|
});
|
|
24639
24642
|
}
|
|
24640
24643
|
_addEventListeners() {
|
|
24641
|
-
re.on(this._element,
|
|
24642
|
-
if (e.key ===
|
|
24644
|
+
re.on(this._element, iw, (e) => {
|
|
24645
|
+
if (e.key === XT) {
|
|
24643
24646
|
if (this._config.keyboard) {
|
|
24644
24647
|
this.hide();
|
|
24645
24648
|
return;
|
|
@@ -24660,7 +24663,7 @@ class ir extends un {
|
|
|
24660
24663
|
});
|
|
24661
24664
|
}
|
|
24662
24665
|
}
|
|
24663
|
-
re.on(document,
|
|
24666
|
+
re.on(document, rw, sw, function(n) {
|
|
24664
24667
|
const e = Se.getElementFromSelector(this);
|
|
24665
24668
|
if (["A", "AREA"].includes(this.tagName) && n.preventDefault(), rr(this))
|
|
24666
24669
|
return;
|
|
@@ -24670,19 +24673,19 @@ re.on(document, nw, iw, function(n) {
|
|
|
24670
24673
|
const t = Se.findOne(Im);
|
|
24671
24674
|
t && t !== e && ir.getInstance(t).hide(), ir.getOrCreateInstance(e).toggle(this);
|
|
24672
24675
|
});
|
|
24673
|
-
re.on(window,
|
|
24676
|
+
re.on(window, ZT, () => {
|
|
24674
24677
|
for (const n of Se.find(Im))
|
|
24675
24678
|
ir.getOrCreateInstance(n).show();
|
|
24676
24679
|
});
|
|
24677
|
-
re.on(window,
|
|
24680
|
+
re.on(window, nw, () => {
|
|
24678
24681
|
for (const n of Se.find("[aria-modal][class*=show][class*=offcanvas-]"))
|
|
24679
24682
|
getComputedStyle(n).position !== "fixed" && ir.getOrCreateInstance(n).hide();
|
|
24680
24683
|
});
|
|
24681
24684
|
aa(ir);
|
|
24682
24685
|
en(ir);
|
|
24683
|
-
const
|
|
24686
|
+
const lw = /^aria-[\w-]*$/i, Dm = {
|
|
24684
24687
|
// Global attributes allowed on any supplied element below.
|
|
24685
|
-
"*": ["class", "dir", "id", "lang", "role",
|
|
24688
|
+
"*": ["class", "dir", "id", "lang", "role", lw],
|
|
24686
24689
|
a: ["target", "href", "title", "rel"],
|
|
24687
24690
|
area: [],
|
|
24688
24691
|
b: [],
|
|
@@ -24712,11 +24715,11 @@ const aw = /^aria-[\w-]*$/i, Dm = {
|
|
|
24712
24715
|
strong: [],
|
|
24713
24716
|
u: [],
|
|
24714
24717
|
ul: []
|
|
24715
|
-
},
|
|
24718
|
+
}, cw = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), uw = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, dw = (n, e) => {
|
|
24716
24719
|
const t = n.nodeName.toLowerCase();
|
|
24717
|
-
return e.includes(t) ?
|
|
24720
|
+
return e.includes(t) ? cw.has(t) ? !!uw.test(n.nodeValue) : !0 : e.filter((r) => r instanceof RegExp).some((r) => r.test(t));
|
|
24718
24721
|
};
|
|
24719
|
-
function
|
|
24722
|
+
function fw(n, e, t) {
|
|
24720
24723
|
if (!n.length)
|
|
24721
24724
|
return n;
|
|
24722
24725
|
if (t && typeof t == "function")
|
|
@@ -24730,11 +24733,11 @@ function dw(n, e, t) {
|
|
|
24730
24733
|
}
|
|
24731
24734
|
const a = [].concat(...o.attributes), c = [].concat(e["*"] || [], e[l] || []);
|
|
24732
24735
|
for (const u of a)
|
|
24733
|
-
|
|
24736
|
+
dw(u, c) || o.removeAttribute(u.nodeName);
|
|
24734
24737
|
}
|
|
24735
24738
|
return i.body.innerHTML;
|
|
24736
24739
|
}
|
|
24737
|
-
const
|
|
24740
|
+
const hw = "TemplateFactory", pw = {
|
|
24738
24741
|
allowList: Dm,
|
|
24739
24742
|
content: {},
|
|
24740
24743
|
// { selector : text , selector2 : text2 , }
|
|
@@ -24743,7 +24746,7 @@ const fw = "TemplateFactory", hw = {
|
|
|
24743
24746
|
sanitize: !0,
|
|
24744
24747
|
sanitizeFn: null,
|
|
24745
24748
|
template: "<div></div>"
|
|
24746
|
-
},
|
|
24749
|
+
}, mw = {
|
|
24747
24750
|
allowList: "object",
|
|
24748
24751
|
content: "object",
|
|
24749
24752
|
extraClass: "(string|function)",
|
|
@@ -24751,23 +24754,23 @@ const fw = "TemplateFactory", hw = {
|
|
|
24751
24754
|
sanitize: "boolean",
|
|
24752
24755
|
sanitizeFn: "(null|function)",
|
|
24753
24756
|
template: "string"
|
|
24754
|
-
},
|
|
24757
|
+
}, gw = {
|
|
24755
24758
|
entry: "(string|element|function|null)",
|
|
24756
24759
|
selector: "(string|element)"
|
|
24757
24760
|
};
|
|
24758
|
-
class
|
|
24761
|
+
class vw extends us {
|
|
24759
24762
|
constructor(e) {
|
|
24760
24763
|
super(), this._config = this._getConfig(e);
|
|
24761
24764
|
}
|
|
24762
24765
|
// Getters
|
|
24763
24766
|
static get Default() {
|
|
24764
|
-
return
|
|
24767
|
+
return pw;
|
|
24765
24768
|
}
|
|
24766
24769
|
static get DefaultType() {
|
|
24767
|
-
return
|
|
24770
|
+
return mw;
|
|
24768
24771
|
}
|
|
24769
24772
|
static get NAME() {
|
|
24770
|
-
return
|
|
24773
|
+
return hw;
|
|
24771
24774
|
}
|
|
24772
24775
|
// Public
|
|
24773
24776
|
getContent() {
|
|
@@ -24799,7 +24802,7 @@ class gw extends us {
|
|
|
24799
24802
|
super._typeCheckConfig({
|
|
24800
24803
|
selector: t,
|
|
24801
24804
|
entry: r
|
|
24802
|
-
},
|
|
24805
|
+
}, gw);
|
|
24803
24806
|
}
|
|
24804
24807
|
_setContent(e, t, r) {
|
|
24805
24808
|
const i = Se.findOne(r, e);
|
|
@@ -24820,7 +24823,7 @@ class gw extends us {
|
|
|
24820
24823
|
}
|
|
24821
24824
|
}
|
|
24822
24825
|
_maybeSanitize(e) {
|
|
24823
|
-
return this._config.sanitize ?
|
|
24826
|
+
return this._config.sanitize ? fw(e, this._config.allowList, this._config.sanitizeFn) : e;
|
|
24824
24827
|
}
|
|
24825
24828
|
_resolvePossibleFunction(e) {
|
|
24826
24829
|
return Nt(e, [this]);
|
|
@@ -24833,13 +24836,13 @@ class gw extends us {
|
|
|
24833
24836
|
t.textContent = e.textContent;
|
|
24834
24837
|
}
|
|
24835
24838
|
}
|
|
24836
|
-
const
|
|
24839
|
+
const yw = "tooltip", bw = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), qa = "fade", Ew = "modal", Os = "show", Sw = ".tooltip-inner", yf = `.${Ew}`, bf = "hide.bs.modal", Ai = "hover", el = "focus", Cw = "click", Tw = "manual", ww = "hide", xw = "hidden", Aw = "show", kw = "shown", Ow = "inserted", Mw = "click", Iw = "focusin", Nw = "focusout", Dw = "mouseenter", _w = "mouseleave", Lw = {
|
|
24837
24840
|
AUTO: "auto",
|
|
24838
24841
|
TOP: "top",
|
|
24839
24842
|
RIGHT: Qt() ? "left" : "right",
|
|
24840
24843
|
BOTTOM: "bottom",
|
|
24841
24844
|
LEFT: Qt() ? "right" : "left"
|
|
24842
|
-
},
|
|
24845
|
+
}, Rw = {
|
|
24843
24846
|
allowList: Dm,
|
|
24844
24847
|
animation: !0,
|
|
24845
24848
|
boundary: "clippingParents",
|
|
@@ -24857,7 +24860,7 @@ const vw = "tooltip", yw = /* @__PURE__ */ new Set(["sanitize", "allowList", "sa
|
|
|
24857
24860
|
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
|
|
24858
24861
|
title: "",
|
|
24859
24862
|
trigger: "hover focus"
|
|
24860
|
-
},
|
|
24863
|
+
}, Pw = {
|
|
24861
24864
|
allowList: "object",
|
|
24862
24865
|
animation: "boolean",
|
|
24863
24866
|
boundary: "(string|element)",
|
|
@@ -24884,13 +24887,13 @@ class Pr extends un {
|
|
|
24884
24887
|
}
|
|
24885
24888
|
// Getters
|
|
24886
24889
|
static get Default() {
|
|
24887
|
-
return
|
|
24890
|
+
return Rw;
|
|
24888
24891
|
}
|
|
24889
24892
|
static get DefaultType() {
|
|
24890
|
-
return
|
|
24893
|
+
return Pw;
|
|
24891
24894
|
}
|
|
24892
24895
|
static get NAME() {
|
|
24893
|
-
return
|
|
24896
|
+
return yw;
|
|
24894
24897
|
}
|
|
24895
24898
|
// Public
|
|
24896
24899
|
enable() {
|
|
@@ -24919,7 +24922,7 @@ class Pr extends un {
|
|
|
24919
24922
|
throw new Error("Please use show on visible elements");
|
|
24920
24923
|
if (!(this._isWithContent() && this._isEnabled))
|
|
24921
24924
|
return;
|
|
24922
|
-
const e = re.trigger(this._element, this.constructor.eventName(
|
|
24925
|
+
const e = re.trigger(this._element, this.constructor.eventName(Aw)), r = (lm(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
|
|
24923
24926
|
if (e.defaultPrevented || !r)
|
|
24924
24927
|
return;
|
|
24925
24928
|
this._disposePopper();
|
|
@@ -24928,23 +24931,23 @@ class Pr extends un {
|
|
|
24928
24931
|
const {
|
|
24929
24932
|
container: s
|
|
24930
24933
|
} = this._config;
|
|
24931
|
-
if (this._element.ownerDocument.documentElement.contains(this.tip) || (s.append(i), re.trigger(this._element, this.constructor.eventName(
|
|
24934
|
+
if (this._element.ownerDocument.documentElement.contains(this.tip) || (s.append(i), re.trigger(this._element, this.constructor.eventName(Ow))), this._popper = this._createPopper(i), i.classList.add(Os), "ontouchstart" in document.documentElement)
|
|
24932
24935
|
for (const l of [].concat(...document.body.children))
|
|
24933
24936
|
re.on(l, "mouseover", Ro);
|
|
24934
24937
|
const o = () => {
|
|
24935
|
-
re.trigger(this._element, this.constructor.eventName(
|
|
24938
|
+
re.trigger(this._element, this.constructor.eventName(kw)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
|
|
24936
24939
|
};
|
|
24937
24940
|
this._queueCallback(o, this.tip, this._isAnimated());
|
|
24938
24941
|
}
|
|
24939
24942
|
hide() {
|
|
24940
|
-
if (!this._isShown() || re.trigger(this._element, this.constructor.eventName(
|
|
24943
|
+
if (!this._isShown() || re.trigger(this._element, this.constructor.eventName(ww)).defaultPrevented)
|
|
24941
24944
|
return;
|
|
24942
24945
|
if (this._getTipElement().classList.remove(Os), "ontouchstart" in document.documentElement)
|
|
24943
24946
|
for (const i of [].concat(...document.body.children))
|
|
24944
24947
|
re.off(i, "mouseover", Ro);
|
|
24945
|
-
this._activeTrigger[
|
|
24948
|
+
this._activeTrigger[Cw] = !1, this._activeTrigger[el] = !1, this._activeTrigger[Ai] = !1, this._isHovered = null;
|
|
24946
24949
|
const r = () => {
|
|
24947
|
-
this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), re.trigger(this._element, this.constructor.eventName(
|
|
24950
|
+
this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), re.trigger(this._element, this.constructor.eventName(xw)));
|
|
24948
24951
|
};
|
|
24949
24952
|
this._queueCallback(r, this.tip, this._isAnimated());
|
|
24950
24953
|
}
|
|
@@ -24963,14 +24966,14 @@ class Pr extends un {
|
|
|
24963
24966
|
if (!t)
|
|
24964
24967
|
return null;
|
|
24965
24968
|
t.classList.remove(qa, Os), t.classList.add(`bs-${this.constructor.NAME}-auto`);
|
|
24966
|
-
const r =
|
|
24969
|
+
const r = C7(this.constructor.NAME).toString();
|
|
24967
24970
|
return t.setAttribute("id", r), this._isAnimated() && t.classList.add(qa), t;
|
|
24968
24971
|
}
|
|
24969
24972
|
setContent(e) {
|
|
24970
24973
|
this._newContent = e, this._isShown() && (this._disposePopper(), this.show());
|
|
24971
24974
|
}
|
|
24972
24975
|
_getTemplateFactory(e) {
|
|
24973
|
-
return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new
|
|
24976
|
+
return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new vw({
|
|
24974
24977
|
...this._config,
|
|
24975
24978
|
// the `content` var has to be after `this._config`
|
|
24976
24979
|
// to override config.content in case of popover
|
|
@@ -24980,7 +24983,7 @@ class Pr extends un {
|
|
|
24980
24983
|
}
|
|
24981
24984
|
_getContentForTemplate() {
|
|
24982
24985
|
return {
|
|
24983
|
-
[
|
|
24986
|
+
[Sw]: this._getTitle()
|
|
24984
24987
|
};
|
|
24985
24988
|
}
|
|
24986
24989
|
_getTitle() {
|
|
@@ -24997,7 +25000,7 @@ class Pr extends un {
|
|
|
24997
25000
|
return this.tip && this.tip.classList.contains(Os);
|
|
24998
25001
|
}
|
|
24999
25002
|
_createPopper(e) {
|
|
25000
|
-
const t = Nt(this._config.placement, [this, e, this._element]), r =
|
|
25003
|
+
const t = Nt(this._config.placement, [this, e, this._element]), r = Lw[t.toUpperCase()];
|
|
25001
25004
|
return sa(this._element, e, this._getPopperConfig(r));
|
|
25002
25005
|
}
|
|
25003
25006
|
_getOffset() {
|
|
@@ -25050,11 +25053,11 @@ class Pr extends un {
|
|
|
25050
25053
|
const e = this._config.trigger.split(" ");
|
|
25051
25054
|
for (const t of e)
|
|
25052
25055
|
if (t === "click")
|
|
25053
|
-
re.on(this._element, this.constructor.eventName(
|
|
25056
|
+
re.on(this._element, this.constructor.eventName(Mw), this._config.selector, (r) => {
|
|
25054
25057
|
this._initializeOnDelegatedTarget(r).toggle();
|
|
25055
25058
|
});
|
|
25056
|
-
else if (t !==
|
|
25057
|
-
const r = t === Ai ? this.constructor.eventName(
|
|
25059
|
+
else if (t !== Tw) {
|
|
25060
|
+
const r = t === Ai ? this.constructor.eventName(Dw) : this.constructor.eventName(Iw), i = t === Ai ? this.constructor.eventName(_w) : this.constructor.eventName(Nw);
|
|
25058
25061
|
re.on(this._element, r, this._config.selector, (s) => {
|
|
25059
25062
|
const o = this._initializeOnDelegatedTarget(s);
|
|
25060
25063
|
o._activeTrigger[s.type === "focusin" ? el : Ai] = !0, o._enter();
|
|
@@ -25094,7 +25097,7 @@ class Pr extends un {
|
|
|
25094
25097
|
_getConfig(e) {
|
|
25095
25098
|
const t = Ln.getDataAttributes(this._element);
|
|
25096
25099
|
for (const r of Object.keys(t))
|
|
25097
|
-
|
|
25100
|
+
bw.has(r) && delete t[r];
|
|
25098
25101
|
return e = {
|
|
25099
25102
|
...t,
|
|
25100
25103
|
...typeof e == "object" && e ? e : {}
|
|
@@ -25128,27 +25131,27 @@ class Pr extends un {
|
|
|
25128
25131
|
}
|
|
25129
25132
|
}
|
|
25130
25133
|
en(Pr);
|
|
25131
|
-
const
|
|
25134
|
+
const $w = "popover", Fw = ".popover-header", Bw = ".popover-body", Vw = {
|
|
25132
25135
|
...Pr.Default,
|
|
25133
25136
|
content: "",
|
|
25134
25137
|
offset: [0, 8],
|
|
25135
25138
|
placement: "right",
|
|
25136
25139
|
template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',
|
|
25137
25140
|
trigger: "click"
|
|
25138
|
-
},
|
|
25141
|
+
}, zw = {
|
|
25139
25142
|
...Pr.DefaultType,
|
|
25140
25143
|
content: "(null|string|element|function)"
|
|
25141
25144
|
};
|
|
25142
25145
|
class zc extends Pr {
|
|
25143
25146
|
// Getters
|
|
25144
25147
|
static get Default() {
|
|
25145
|
-
return
|
|
25148
|
+
return Vw;
|
|
25146
25149
|
}
|
|
25147
25150
|
static get DefaultType() {
|
|
25148
|
-
return
|
|
25151
|
+
return zw;
|
|
25149
25152
|
}
|
|
25150
25153
|
static get NAME() {
|
|
25151
|
-
return
|
|
25154
|
+
return $w;
|
|
25152
25155
|
}
|
|
25153
25156
|
// Overrides
|
|
25154
25157
|
_isWithContent() {
|
|
@@ -25157,8 +25160,8 @@ class zc extends Pr {
|
|
|
25157
25160
|
// Private
|
|
25158
25161
|
_getContentForTemplate() {
|
|
25159
25162
|
return {
|
|
25160
|
-
[
|
|
25161
|
-
[
|
|
25163
|
+
[Fw]: this._getTitle(),
|
|
25164
|
+
[Bw]: this._getContent()
|
|
25162
25165
|
};
|
|
25163
25166
|
}
|
|
25164
25167
|
_getContent() {
|
|
@@ -25177,14 +25180,14 @@ class zc extends Pr {
|
|
|
25177
25180
|
}
|
|
25178
25181
|
}
|
|
25179
25182
|
en(zc);
|
|
25180
|
-
const
|
|
25183
|
+
const Hw = "scrollspy", Uw = "bs.scrollspy", Hc = `.${Uw}`, jw = ".data-api", Ww = `activate${Hc}`, Ef = `click${Hc}`, Kw = `load${Hc}${jw}`, Gw = "dropdown-item", jr = "active", Yw = '[data-bs-spy="scroll"]', tl = "[href]", Jw = ".nav, .list-group", Sf = ".nav-link", Zw = ".nav-item", Xw = ".list-group-item", Qw = `${Sf}, ${Zw} > ${Sf}, ${Xw}`, qw = ".dropdown", ex = ".dropdown-toggle", tx = {
|
|
25181
25184
|
offset: null,
|
|
25182
25185
|
// TODO: v6 @deprecated, keep it for backwards compatibility reasons
|
|
25183
25186
|
rootMargin: "0px 0px -25%",
|
|
25184
25187
|
smoothScroll: !1,
|
|
25185
25188
|
target: null,
|
|
25186
25189
|
threshold: [0.1, 0.5, 1]
|
|
25187
|
-
},
|
|
25190
|
+
}, nx = {
|
|
25188
25191
|
offset: "(number|null)",
|
|
25189
25192
|
// TODO v6 @deprecated, keep it for backwards compatibility reasons
|
|
25190
25193
|
rootMargin: "string",
|
|
@@ -25201,13 +25204,13 @@ class ua extends un {
|
|
|
25201
25204
|
}
|
|
25202
25205
|
// Getters
|
|
25203
25206
|
static get Default() {
|
|
25204
|
-
return
|
|
25207
|
+
return tx;
|
|
25205
25208
|
}
|
|
25206
25209
|
static get DefaultType() {
|
|
25207
|
-
return
|
|
25210
|
+
return nx;
|
|
25208
25211
|
}
|
|
25209
25212
|
static get NAME() {
|
|
25210
|
-
return
|
|
25213
|
+
return Hw;
|
|
25211
25214
|
}
|
|
25212
25215
|
// Public
|
|
25213
25216
|
refresh() {
|
|
@@ -25278,17 +25281,17 @@ class ua extends un {
|
|
|
25278
25281
|
}
|
|
25279
25282
|
}
|
|
25280
25283
|
_process(e) {
|
|
25281
|
-
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(jr), this._activateParents(e), re.trigger(this._element,
|
|
25284
|
+
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(jr), this._activateParents(e), re.trigger(this._element, Ww, {
|
|
25282
25285
|
relatedTarget: e
|
|
25283
25286
|
}));
|
|
25284
25287
|
}
|
|
25285
25288
|
_activateParents(e) {
|
|
25286
|
-
if (e.classList.contains(
|
|
25287
|
-
Se.findOne(
|
|
25289
|
+
if (e.classList.contains(Gw)) {
|
|
25290
|
+
Se.findOne(ex, e.closest(qw)).classList.add(jr);
|
|
25288
25291
|
return;
|
|
25289
25292
|
}
|
|
25290
|
-
for (const t of Se.parents(e,
|
|
25291
|
-
for (const r of Se.prev(t,
|
|
25293
|
+
for (const t of Se.parents(e, Jw))
|
|
25294
|
+
for (const r of Se.prev(t, Qw))
|
|
25292
25295
|
r.classList.add(jr);
|
|
25293
25296
|
}
|
|
25294
25297
|
_clearActiveClass(e) {
|
|
@@ -25309,29 +25312,29 @@ class ua extends un {
|
|
|
25309
25312
|
});
|
|
25310
25313
|
}
|
|
25311
25314
|
}
|
|
25312
|
-
re.on(window,
|
|
25313
|
-
for (const n of Se.find(
|
|
25315
|
+
re.on(window, Kw, () => {
|
|
25316
|
+
for (const n of Se.find(Yw))
|
|
25314
25317
|
ua.getOrCreateInstance(n);
|
|
25315
25318
|
});
|
|
25316
25319
|
en(ua);
|
|
25317
|
-
const
|
|
25320
|
+
const rx = "tab", ix = "bs.tab", $r = `.${ix}`, sx = `hide${$r}`, ox = `hidden${$r}`, ax = `show${$r}`, lx = `shown${$r}`, cx = `click${$r}`, ux = `keydown${$r}`, dx = `load${$r}`, fx = "ArrowLeft", Cf = "ArrowRight", hx = "ArrowUp", Tf = "ArrowDown", Er = "active", wf = "fade", nl = "show", px = "dropdown", mx = ".dropdown-toggle", gx = ".dropdown-menu", rl = ":not(.dropdown-toggle)", vx = '.list-group, .nav, [role="tablist"]', yx = ".nav-item, .list-group-item", bx = `.nav-link${rl}, .list-group-item${rl}, [role="tab"]${rl}`, _m = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', il = `${bx}, ${_m}`, Ex = `.${Er}[data-bs-toggle="tab"], .${Er}[data-bs-toggle="pill"], .${Er}[data-bs-toggle="list"]`;
|
|
25318
25321
|
class yi extends un {
|
|
25319
25322
|
constructor(e) {
|
|
25320
|
-
super(e), this._parent = this._element.closest(
|
|
25323
|
+
super(e), this._parent = this._element.closest(vx), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), re.on(this._element, ux, (t) => this._keydown(t)));
|
|
25321
25324
|
}
|
|
25322
25325
|
// Getters
|
|
25323
25326
|
static get NAME() {
|
|
25324
|
-
return
|
|
25327
|
+
return rx;
|
|
25325
25328
|
}
|
|
25326
25329
|
// Public
|
|
25327
25330
|
show() {
|
|
25328
25331
|
const e = this._element;
|
|
25329
25332
|
if (this._elemIsActive(e))
|
|
25330
25333
|
return;
|
|
25331
|
-
const t = this._getActiveElem(), r = t ? re.trigger(t,
|
|
25334
|
+
const t = this._getActiveElem(), r = t ? re.trigger(t, sx, {
|
|
25332
25335
|
relatedTarget: e
|
|
25333
25336
|
}) : null;
|
|
25334
|
-
re.trigger(e,
|
|
25337
|
+
re.trigger(e, ax, {
|
|
25335
25338
|
relatedTarget: t
|
|
25336
25339
|
}).defaultPrevented || r && r.defaultPrevented || (this._deactivate(t, e), this._activate(e, t));
|
|
25337
25340
|
}
|
|
@@ -25345,7 +25348,7 @@ class yi extends un {
|
|
|
25345
25348
|
e.classList.add(nl);
|
|
25346
25349
|
return;
|
|
25347
25350
|
}
|
|
25348
|
-
e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), re.trigger(e,
|
|
25351
|
+
e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), re.trigger(e, lx, {
|
|
25349
25352
|
relatedTarget: t
|
|
25350
25353
|
});
|
|
25351
25354
|
};
|
|
@@ -25360,14 +25363,14 @@ class yi extends un {
|
|
|
25360
25363
|
e.classList.remove(nl);
|
|
25361
25364
|
return;
|
|
25362
25365
|
}
|
|
25363
|
-
e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), re.trigger(e,
|
|
25366
|
+
e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), re.trigger(e, ox, {
|
|
25364
25367
|
relatedTarget: t
|
|
25365
25368
|
});
|
|
25366
25369
|
};
|
|
25367
25370
|
this._queueCallback(r, e, e.classList.contains(wf));
|
|
25368
25371
|
}
|
|
25369
25372
|
_keydown(e) {
|
|
25370
|
-
if (![
|
|
25373
|
+
if (![fx, Cf, hx, Tf].includes(e.key))
|
|
25371
25374
|
return;
|
|
25372
25375
|
e.stopPropagation(), e.preventDefault();
|
|
25373
25376
|
const t = [Cf, Tf].includes(e.key), r = Fc(this._getChildren().filter((i) => !rr(i)), e.target, t, !0);
|
|
@@ -25397,13 +25400,13 @@ class yi extends un {
|
|
|
25397
25400
|
}
|
|
25398
25401
|
_toggleDropDown(e, t) {
|
|
25399
25402
|
const r = this._getOuterElement(e);
|
|
25400
|
-
if (!r.classList.contains(
|
|
25403
|
+
if (!r.classList.contains(px))
|
|
25401
25404
|
return;
|
|
25402
25405
|
const i = (s, o) => {
|
|
25403
25406
|
const l = Se.findOne(s, r);
|
|
25404
25407
|
l && l.classList.toggle(o, t);
|
|
25405
25408
|
};
|
|
25406
|
-
i(
|
|
25409
|
+
i(mx, Er), i(gx, nl), r.setAttribute("aria-expanded", t);
|
|
25407
25410
|
}
|
|
25408
25411
|
_setAttributeIfNotExists(e, t, r) {
|
|
25409
25412
|
e.hasAttribute(t) || e.setAttribute(t, r);
|
|
@@ -25417,7 +25420,7 @@ class yi extends un {
|
|
|
25417
25420
|
}
|
|
25418
25421
|
// Try to get the outer element (usually the .nav-item)
|
|
25419
25422
|
_getOuterElement(e) {
|
|
25420
|
-
return e.closest(
|
|
25423
|
+
return e.closest(yx) || e;
|
|
25421
25424
|
}
|
|
25422
25425
|
// Static
|
|
25423
25426
|
static jQueryInterface(e) {
|
|
@@ -25431,19 +25434,19 @@ class yi extends un {
|
|
|
25431
25434
|
});
|
|
25432
25435
|
}
|
|
25433
25436
|
}
|
|
25434
|
-
re.on(document,
|
|
25437
|
+
re.on(document, cx, _m, function(n) {
|
|
25435
25438
|
["A", "AREA"].includes(this.tagName) && n.preventDefault(), !rr(this) && yi.getOrCreateInstance(this).show();
|
|
25436
25439
|
});
|
|
25437
|
-
re.on(window,
|
|
25438
|
-
for (const n of Se.find(
|
|
25440
|
+
re.on(window, dx, () => {
|
|
25441
|
+
for (const n of Se.find(Ex))
|
|
25439
25442
|
yi.getOrCreateInstance(n);
|
|
25440
25443
|
});
|
|
25441
25444
|
en(yi);
|
|
25442
|
-
const
|
|
25445
|
+
const Sx = "toast", Cx = "bs.toast", ur = `.${Cx}`, Tx = `mouseover${ur}`, wx = `mouseout${ur}`, xx = `focusin${ur}`, Ax = `focusout${ur}`, kx = `hide${ur}`, Ox = `hidden${ur}`, Mx = `show${ur}`, Ix = `shown${ur}`, Nx = "fade", xf = "hide", Ms = "show", Is = "showing", Dx = {
|
|
25443
25446
|
animation: "boolean",
|
|
25444
25447
|
autohide: "boolean",
|
|
25445
25448
|
delay: "number"
|
|
25446
|
-
},
|
|
25449
|
+
}, _x = {
|
|
25447
25450
|
animation: !0,
|
|
25448
25451
|
autohide: !0,
|
|
25449
25452
|
delay: 5e3
|
|
@@ -25454,29 +25457,29 @@ class hs extends un {
|
|
|
25454
25457
|
}
|
|
25455
25458
|
// Getters
|
|
25456
25459
|
static get Default() {
|
|
25457
|
-
return
|
|
25460
|
+
return _x;
|
|
25458
25461
|
}
|
|
25459
25462
|
static get DefaultType() {
|
|
25460
|
-
return
|
|
25463
|
+
return Dx;
|
|
25461
25464
|
}
|
|
25462
25465
|
static get NAME() {
|
|
25463
|
-
return
|
|
25466
|
+
return Sx;
|
|
25464
25467
|
}
|
|
25465
25468
|
// Public
|
|
25466
25469
|
show() {
|
|
25467
|
-
if (re.trigger(this._element,
|
|
25470
|
+
if (re.trigger(this._element, Mx).defaultPrevented)
|
|
25468
25471
|
return;
|
|
25469
|
-
this._clearTimeout(), this._config.animation && this._element.classList.add(
|
|
25472
|
+
this._clearTimeout(), this._config.animation && this._element.classList.add(Nx);
|
|
25470
25473
|
const t = () => {
|
|
25471
|
-
this._element.classList.remove(Is), re.trigger(this._element,
|
|
25474
|
+
this._element.classList.remove(Is), re.trigger(this._element, Ix), this._maybeScheduleHide();
|
|
25472
25475
|
};
|
|
25473
25476
|
this._element.classList.remove(xf), cs(this._element), this._element.classList.add(Ms, Is), this._queueCallback(t, this._element, this._config.animation);
|
|
25474
25477
|
}
|
|
25475
25478
|
hide() {
|
|
25476
|
-
if (!this.isShown() || re.trigger(this._element,
|
|
25479
|
+
if (!this.isShown() || re.trigger(this._element, kx).defaultPrevented)
|
|
25477
25480
|
return;
|
|
25478
25481
|
const t = () => {
|
|
25479
|
-
this._element.classList.add(xf), this._element.classList.remove(Is, Ms), re.trigger(this._element,
|
|
25482
|
+
this._element.classList.add(xf), this._element.classList.remove(Is, Ms), re.trigger(this._element, Ox);
|
|
25480
25483
|
};
|
|
25481
25484
|
this._element.classList.add(Is), this._queueCallback(t, this._element, this._config.animation);
|
|
25482
25485
|
}
|
|
@@ -25513,7 +25516,7 @@ class hs extends un {
|
|
|
25513
25516
|
this._element === r || this._element.contains(r) || this._maybeScheduleHide();
|
|
25514
25517
|
}
|
|
25515
25518
|
_setListeners() {
|
|
25516
|
-
re.on(this._element,
|
|
25519
|
+
re.on(this._element, Tx, (e) => this._onInteraction(e, !0)), re.on(this._element, wx, (e) => this._onInteraction(e, !1)), re.on(this._element, xx, (e) => this._onInteraction(e, !0)), re.on(this._element, Ax, (e) => this._onInteraction(e, !1));
|
|
25517
25520
|
}
|
|
25518
25521
|
_clearTimeout() {
|
|
25519
25522
|
clearTimeout(this._timeout), this._timeout = null;
|
|
@@ -25532,7 +25535,7 @@ class hs extends un {
|
|
|
25532
25535
|
}
|
|
25533
25536
|
aa(hs);
|
|
25534
25537
|
en(hs);
|
|
25535
|
-
const
|
|
25538
|
+
const Fx = (n) => {
|
|
25536
25539
|
const e = on(null);
|
|
25537
25540
|
return { showModal: () => {
|
|
25538
25541
|
const i = document.getElementById(n);
|
|
@@ -25541,7 +25544,7 @@ const $x = (n) => {
|
|
|
25541
25544
|
e.value && e.value.hide();
|
|
25542
25545
|
} };
|
|
25543
25546
|
};
|
|
25544
|
-
function
|
|
25547
|
+
function Bx(n = void 0) {
|
|
25545
25548
|
const e = (l) => s("Succesvol", l, Qr.SUCCESS), t = (l) => s("Waarschuwing", l, Qr.WARNING), r = (l) => s("Informatie", l, Qr.INFO), i = (l) => s("Mislukt", l, Qr.DANGER);
|
|
25546
25549
|
function s(l, a, c) {
|
|
25547
25550
|
const u = `toast-${Hf()}`, d = {
|
|
@@ -25577,11 +25580,11 @@ function Fx(n = void 0) {
|
|
|
25577
25580
|
}
|
|
25578
25581
|
return { showSuccessToast: e, showInformationToast: r, showWarningToast: t, showDangerToast: i };
|
|
25579
25582
|
}
|
|
25580
|
-
const
|
|
25583
|
+
const Lx = {
|
|
25581
25584
|
mounted: (n) => {
|
|
25582
25585
|
new Pr(n);
|
|
25583
25586
|
}
|
|
25584
|
-
},
|
|
25587
|
+
}, Rx = {
|
|
25585
25588
|
PRIMARY: "primary",
|
|
25586
25589
|
SECONDARY: "secondary",
|
|
25587
25590
|
COLLEAGUE: "colleague",
|
|
@@ -25597,7 +25600,7 @@ const _x = {
|
|
|
25597
25600
|
__name: "BDButton",
|
|
25598
25601
|
props: {
|
|
25599
25602
|
size: { default: bt.MD },
|
|
25600
|
-
variant: { default:
|
|
25603
|
+
variant: { default: Rx.PRIMARY },
|
|
25601
25604
|
blockElement: { type: Boolean, default: !1 },
|
|
25602
25605
|
disabled: { type: Boolean, default: !1 },
|
|
25603
25606
|
to: {},
|
|
@@ -25631,9 +25634,9 @@ const _x = {
|
|
|
25631
25634
|
_: 3
|
|
25632
25635
|
}, 16, ["class"]));
|
|
25633
25636
|
}
|
|
25634
|
-
}),
|
|
25637
|
+
}), Vx = {
|
|
25635
25638
|
install: (n) => {
|
|
25636
|
-
n.component("BDCol", Xm), n.component("BDContainer", Qm), n.component("BDRow", qm), n.component("BDButton", Mt), n.component("BDLogo", Bf), n.component("BDLink", Hi), n.component("BDDropdownItem", cl), n.component("BDDropdown", sm), n.component("BDAlert", V0), n.component("BDProfileImage", Uo), n.component("BDZoomslider", ov), n.component("BDCard", Uf), n.component("BDCollapsableCard", fv), n.component("BDFormInput", Sv), n.component("BDInputGroup", Tv), n.component("BDFormInvalidFeedback", Zl), n.component("BDBadge", xv), n.component("BDForm", kv), n.component("BDPagination", Lv), n.component("BDDropzone", ly), n.component("BDMarkdownEditor", $4), n.component("BDModal",
|
|
25639
|
+
n.component("BDCol", Xm), n.component("BDContainer", Qm), n.component("BDRow", qm), n.component("BDButton", Mt), n.component("BDLogo", Bf), n.component("BDLink", Hi), n.component("BDDropdownItem", cl), n.component("BDDropdown", sm), n.component("BDAlert", V0), n.component("BDProfileImage", Uo), n.component("BDZoomslider", ov), n.component("BDCard", Uf), n.component("BDCollapsableCard", fv), n.component("BDFormInput", Sv), n.component("BDInputGroup", Tv), n.component("BDFormInvalidFeedback", Zl), n.component("BDBadge", xv), n.component("BDForm", kv), n.component("BDPagination", Lv), n.component("BDDropzone", ly), n.component("BDMarkdownEditor", $4), n.component("BDModal", y7), n.component("BDFormSelect", $v), n.component("BDUser", J4), n.component("BDArticle", Hv), n.component("BDFormCheckbox", Bv), n.component("BDToast", Wf), n.component("BDAttachmentPreviewList", Pc), n.component("BDImageAttachmentPreviewList", $c), n.component("BDHeader", c7), n.component("BDMobileMenu", im), n.component("BDChatCloud", n7), n.component("IconAcademy", o1), n.component("IconArrowDown", u1), n.component("IconArrowUp", g1), n.component("IconAttachment", oi), n.component("IconBold", Mf), n.component("IconBulletList", If), n.component("IconCalendar", ou), n.component("IconCalendar", ou), n.component("IconCardView", H1), n.component("IconCaretDown", Nf), n.component("IconCaretLeft", Df), n.component("IconCaretRight", _f), n.component("IconCheck", Vo), n.component("IconClose", Gl), n.component("IconDownloadImage", sl), n.component("IconDownloadImage", sl), n.component("IconEdit", wg), n.component("IconError", Yl), n.component("IconEyeShow", Rg), n.component("IconEyeSlash", zg), n.component("IconFile", Lf), n.component("IconHyperlink", Rf), n.component("IconInfo", Jl), n.component("IconItalic", Pf), n.component("IconListView", p0), n.component("IconMenu", ol), n.component("IconMenu", ol), n.component("IconOrderedList", $f), n.component("IconRemove", zo), n.component("IconUnderline", Ff), n.directive("vBDTooltip", Lx);
|
|
25637
25640
|
}
|
|
25638
25641
|
};
|
|
25639
25642
|
export {
|
|
@@ -25655,14 +25658,14 @@ export {
|
|
|
25655
25658
|
Sv as BDFormInput,
|
|
25656
25659
|
Zl as BDFormInvalidFeedback,
|
|
25657
25660
|
$v as BDFormSelect,
|
|
25658
|
-
|
|
25661
|
+
c7 as BDHeader,
|
|
25659
25662
|
$c as BDImageAttachmentPreviewList,
|
|
25660
25663
|
Tv as BDInputGroup,
|
|
25661
25664
|
Hi as BDLink,
|
|
25662
25665
|
Bf as BDLogo,
|
|
25663
25666
|
$4 as BDMarkdownEditor,
|
|
25664
25667
|
im as BDMobileMenu,
|
|
25665
|
-
|
|
25668
|
+
y7 as BDModal,
|
|
25666
25669
|
Lv as BDPagination,
|
|
25667
25670
|
Uo as BDProfileImage,
|
|
25668
25671
|
qm as BDRow,
|
|
@@ -25696,8 +25699,8 @@ export {
|
|
|
25696
25699
|
$f as IconOrderedList,
|
|
25697
25700
|
zo as IconRemove,
|
|
25698
25701
|
Ff as IconUnderline,
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25702
|
+
Vx as default,
|
|
25703
|
+
Fx as useModal,
|
|
25704
|
+
Bx as useToaster,
|
|
25705
|
+
Lx as vBdTooltip
|
|
25703
25706
|
};
|