@cobre-npm/ds-v3 0.3.10 → 0.3.11

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.
@@ -3353,7 +3353,7 @@ const gp = { class: "co-body--lg co-text-primary-80 list-unstyled" }, Ka = /* @_
3353
3353
  ], 12, Sf)) : N("", !0)
3354
3354
  ], 34));
3355
3355
  }
3356
- }), Hi = (t) => (je("data-v-52b82745"), t = t(), Fe(), t), kf = { class: "w-100" }, Lf = { class: "d-flex flex-wrap mb-1 co-table__container" }, Df = {
3356
+ }), Hi = (t) => (je("data-v-a8a40915"), t = t(), Fe(), t), kf = { class: "w-100" }, Lf = { class: "d-flex flex-wrap mb-1 co-table__container" }, Df = {
3357
3357
  key: 0,
3358
3358
  style: { "min-width": "32px" },
3359
3359
  class: "co-p-8 mb-3"
@@ -3396,7 +3396,7 @@ const gp = { class: "co-body--lg co-text-primary-80 list-unstyled" }, Ka = /* @_
3396
3396
  tableError: { type: Boolean },
3397
3397
  isColumnCheckboxEnabled: { type: Boolean, default: !1 },
3398
3398
  isMultipleCheckEnabled: { type: Boolean, default: !0 },
3399
- haveToolbar: { type: Boolean },
3399
+ haveToolbar: { type: Boolean, default: !0 },
3400
3400
  isToolbarOpen: { type: Boolean }
3401
3401
  }, {
3402
3402
  selectedRows: { default: [] },
@@ -3540,7 +3540,7 @@ const gp = { class: "co-body--lg co-text-primary-80 list-unstyled" }, Ka = /* @_
3540
3540
  ], 2);
3541
3541
  };
3542
3542
  }
3543
- }), QE = /* @__PURE__ */ ue(Uf, [["__scopeId", "data-v-52b82745"]]), Wl = (t) => (je("data-v-5c83ebd9"), t = t(), Fe(), t), Yf = { class: "co-input-v3" }, qf = { class: "position-relative" }, Gf = ["id", "value", "placeholder"], Xf = /* @__PURE__ */ Wl(() => /* @__PURE__ */ w("i", { class: "icon-search-sm position-absolute co-icon co-icon--xs co-input-v3__search-icon" }, null, -1)), Qf = {
3543
+ }), QE = /* @__PURE__ */ ue(Uf, [["__scopeId", "data-v-a8a40915"]]), Wl = (t) => (je("data-v-5c83ebd9"), t = t(), Fe(), t), Yf = { class: "co-input-v3" }, qf = { class: "position-relative" }, Gf = ["id", "value", "placeholder"], Xf = /* @__PURE__ */ Wl(() => /* @__PURE__ */ w("i", { class: "icon-search-sm position-absolute co-icon co-icon--xs co-input-v3__search-icon" }, null, -1)), Qf = {
3544
3544
  key: 0,
3545
3545
  class: "co-input-v3__loading cobre-loader cobre-loader--md position-absolute"
3546
3546
  }, Zf = /* @__PURE__ */ Wl(() => /* @__PURE__ */ w("i", { class: "icon-x" }, null, -1)), Jf = /* @__PURE__ */ Y({
@@ -7977,14 +7977,14 @@ L.on(document, Ky, Mi, function(t) {
7977
7977
  }).toggle();
7978
7978
  });
7979
7979
  ut(bn);
7980
- const dl = "dropdown", ew = "bs.dropdown", ws = `.${ew}`, rr = ".data-api", tw = "Escape", hl = "Tab", sw = "ArrowUp", pl = "ArrowDown", nw = 2, ow = `hide${ws}`, iw = `hidden${ws}`, rw = `show${ws}`, aw = `shown${ws}`, Bc = `click${ws}${rr}`, Rc = `keydown${ws}${rr}`, lw = `keyup${ws}${rr}`, zs = "show", cw = "dropup", uw = "dropend", dw = "dropstart", hw = "dropup-center", pw = "dropdown-center", _s = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', fw = `${_s}.${zs}`, ao = ".dropdown-menu", mw = ".navbar", _w = ".navbar-nav", gw = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", vw = lt() ? "top-end" : "top-start", bw = lt() ? "top-start" : "top-end", yw = lt() ? "bottom-end" : "bottom-start", ww = lt() ? "bottom-start" : "bottom-end", Ew = lt() ? "left-start" : "right-start", Cw = lt() ? "right-start" : "left-start", Aw = "top", $w = "bottom", Tw = {
7980
+ const dl = "dropdown", e0 = "bs.dropdown", ws = `.${e0}`, rr = ".data-api", t0 = "Escape", hl = "Tab", s0 = "ArrowUp", pl = "ArrowDown", n0 = 2, o0 = `hide${ws}`, i0 = `hidden${ws}`, r0 = `show${ws}`, a0 = `shown${ws}`, Bc = `click${ws}${rr}`, Rc = `keydown${ws}${rr}`, l0 = `keyup${ws}${rr}`, zs = "show", c0 = "dropup", u0 = "dropend", d0 = "dropstart", h0 = "dropup-center", p0 = "dropdown-center", _s = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', f0 = `${_s}.${zs}`, ao = ".dropdown-menu", m0 = ".navbar", _0 = ".navbar-nav", g0 = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", v0 = lt() ? "top-end" : "top-start", b0 = lt() ? "top-start" : "top-end", y0 = lt() ? "bottom-end" : "bottom-start", w0 = lt() ? "bottom-start" : "bottom-end", E0 = lt() ? "left-start" : "right-start", C0 = lt() ? "right-start" : "left-start", A0 = "top", $0 = "bottom", T0 = {
7981
7981
  autoClose: !0,
7982
7982
  boundary: "clippingParents",
7983
7983
  display: "dynamic",
7984
7984
  offset: [0, 2],
7985
7985
  popperConfig: null,
7986
7986
  reference: "toggle"
7987
- }, Ow = {
7987
+ }, O0 = {
7988
7988
  autoClose: "(boolean|string)",
7989
7989
  boundary: "(string|element)",
7990
7990
  display: "string",
@@ -7998,10 +7998,10 @@ class $t extends _t {
7998
7998
  }
7999
7999
  // Getters
8000
8000
  static get Default() {
8001
- return Tw;
8001
+ return T0;
8002
8002
  }
8003
8003
  static get DefaultType() {
8004
- return Ow;
8004
+ return O0;
8005
8005
  }
8006
8006
  static get NAME() {
8007
8007
  return dl;
@@ -8016,11 +8016,11 @@ class $t extends _t {
8016
8016
  const e = {
8017
8017
  relatedTarget: this._element
8018
8018
  };
8019
- if (!L.trigger(this._element, rw, e).defaultPrevented) {
8020
- if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(_w))
8019
+ if (!L.trigger(this._element, r0, e).defaultPrevented) {
8020
+ if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(_0))
8021
8021
  for (const o of [].concat(...document.body.children))
8022
8022
  L.on(o, "mouseover", ho);
8023
- this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(zs), this._element.classList.add(zs), L.trigger(this._element, aw, e);
8023
+ this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(zs), this._element.classList.add(zs), L.trigger(this._element, a0, e);
8024
8024
  }
8025
8025
  }
8026
8026
  hide() {
@@ -8039,11 +8039,11 @@ class $t extends _t {
8039
8039
  }
8040
8040
  // Private
8041
8041
  _completeHide(e) {
8042
- if (!L.trigger(this._element, ow, e).defaultPrevented) {
8042
+ if (!L.trigger(this._element, o0, e).defaultPrevented) {
8043
8043
  if ("ontouchstart" in document.documentElement)
8044
8044
  for (const o of [].concat(...document.body.children))
8045
8045
  L.off(o, "mouseover", ho);
8046
- this._popper && this._popper.destroy(), this._menu.classList.remove(zs), this._element.classList.remove(zs), this._element.setAttribute("aria-expanded", "false"), Pt.removeDataAttribute(this._menu, "popper"), L.trigger(this._element, iw, e);
8046
+ this._popper && this._popper.destroy(), this._menu.classList.remove(zs), this._element.classList.remove(zs), this._element.setAttribute("aria-expanded", "false"), Pt.removeDataAttribute(this._menu, "popper"), L.trigger(this._element, i0, e);
8047
8047
  }
8048
8048
  }
8049
8049
  _getConfig(e) {
@@ -8064,19 +8064,19 @@ class $t extends _t {
8064
8064
  }
8065
8065
  _getPlacement() {
8066
8066
  const e = this._parent;
8067
- if (e.classList.contains(uw))
8068
- return Ew;
8069
- if (e.classList.contains(dw))
8070
- return Cw;
8071
- if (e.classList.contains(hw))
8072
- return Aw;
8073
- if (e.classList.contains(pw))
8074
- return $w;
8067
+ if (e.classList.contains(u0))
8068
+ return E0;
8069
+ if (e.classList.contains(d0))
8070
+ return C0;
8071
+ if (e.classList.contains(h0))
8072
+ return A0;
8073
+ if (e.classList.contains(p0))
8074
+ return $0;
8075
8075
  const s = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
8076
- return e.classList.contains(cw) ? s ? bw : vw : s ? ww : yw;
8076
+ return e.classList.contains(c0) ? s ? b0 : v0 : s ? w0 : y0;
8077
8077
  }
8078
8078
  _detectNavbar() {
8079
- return this._element.closest(mw) !== null;
8079
+ return this._element.closest(m0) !== null;
8080
8080
  }
8081
8081
  _getOffset() {
8082
8082
  const {
@@ -8111,7 +8111,7 @@ class $t extends _t {
8111
8111
  key: e,
8112
8112
  target: s
8113
8113
  }) {
8114
- const o = z.find(gw, this._menu).filter((r) => tn(r));
8114
+ const o = z.find(g0, this._menu).filter((r) => tn(r));
8115
8115
  o.length && or(o, s, e === pl, !o.includes(s)).focus();
8116
8116
  }
8117
8117
  // Static
@@ -8126,9 +8126,9 @@ class $t extends _t {
8126
8126
  });
8127
8127
  }
8128
8128
  static clearMenus(e) {
8129
- if (e.button === nw || e.type === "keyup" && e.key !== hl)
8129
+ if (e.button === n0 || e.type === "keyup" && e.key !== hl)
8130
8130
  return;
8131
- const s = z.find(fw);
8131
+ const s = z.find(f0);
8132
8132
  for (const o of s) {
8133
8133
  const r = $t.getInstance(o);
8134
8134
  if (!r || r._config.autoClose === !1)
@@ -8143,7 +8143,7 @@ class $t extends _t {
8143
8143
  }
8144
8144
  }
8145
8145
  static dataApiKeydownHandler(e) {
8146
- const s = /input|textarea/i.test(e.target.tagName), o = e.key === tw, r = [sw, pl].includes(e.key);
8146
+ const s = /input|textarea/i.test(e.target.tagName), o = e.key === t0, r = [s0, pl].includes(e.key);
8147
8147
  if (!r && !o || s && !o)
8148
8148
  return;
8149
8149
  e.preventDefault();
@@ -8158,12 +8158,12 @@ class $t extends _t {
8158
8158
  L.on(document, Rc, _s, $t.dataApiKeydownHandler);
8159
8159
  L.on(document, Rc, ao, $t.dataApiKeydownHandler);
8160
8160
  L.on(document, Bc, $t.clearMenus);
8161
- L.on(document, lw, $t.clearMenus);
8161
+ L.on(document, l0, $t.clearMenus);
8162
8162
  L.on(document, Bc, _s, function(t) {
8163
8163
  t.preventDefault(), $t.getOrCreateInstance(this).toggle();
8164
8164
  });
8165
8165
  ut($t);
8166
- const Vc = "backdrop", Sw = "fade", fl = "show", ml = `mousedown.bs.${Vc}`, kw = {
8166
+ const Vc = "backdrop", S0 = "fade", fl = "show", ml = `mousedown.bs.${Vc}`, k0 = {
8167
8167
  className: "modal-backdrop",
8168
8168
  clickCallback: null,
8169
8169
  isAnimated: !1,
@@ -8171,7 +8171,7 @@ const Vc = "backdrop", Sw = "fade", fl = "show", ml = `mousedown.bs.${Vc}`, kw =
8171
8171
  // if false, we use the backdrop helper without adding any element to the dom
8172
8172
  rootElement: "body"
8173
8173
  // give the choice to place backdrop under different elements
8174
- }, Lw = {
8174
+ }, L0 = {
8175
8175
  className: "string",
8176
8176
  clickCallback: "(function|null)",
8177
8177
  isAnimated: "boolean",
@@ -8184,10 +8184,10 @@ class jc extends En {
8184
8184
  }
8185
8185
  // Getters
8186
8186
  static get Default() {
8187
- return kw;
8187
+ return k0;
8188
8188
  }
8189
8189
  static get DefaultType() {
8190
- return Lw;
8190
+ return L0;
8191
8191
  }
8192
8192
  static get NAME() {
8193
8193
  return Vc;
@@ -8220,7 +8220,7 @@ class jc extends En {
8220
8220
  _getElement() {
8221
8221
  if (!this._element) {
8222
8222
  const e = document.createElement("div");
8223
- e.className = this._config.className, this._config.isAnimated && e.classList.add(Sw), this._element = e;
8223
+ e.className = this._config.className, this._config.isAnimated && e.classList.add(S0), this._element = e;
8224
8224
  }
8225
8225
  return this._element;
8226
8226
  }
@@ -8239,11 +8239,11 @@ class jc extends En {
8239
8239
  $c(e, this._getElement(), this._config.isAnimated);
8240
8240
  }
8241
8241
  }
8242
- const Dw = "focustrap", Iw = "bs.focustrap", fo = `.${Iw}`, Nw = `focusin${fo}`, xw = `keydown.tab${fo}`, Pw = "Tab", Mw = "forward", _l = "backward", Bw = {
8242
+ const D0 = "focustrap", I0 = "bs.focustrap", fo = `.${I0}`, N0 = `focusin${fo}`, x0 = `keydown.tab${fo}`, P0 = "Tab", M0 = "forward", _l = "backward", B0 = {
8243
8243
  autofocus: !0,
8244
8244
  trapElement: null
8245
8245
  // The element to trap focus inside of
8246
- }, Rw = {
8246
+ }, R0 = {
8247
8247
  autofocus: "boolean",
8248
8248
  trapElement: "element"
8249
8249
  };
@@ -8253,17 +8253,17 @@ class Fc extends En {
8253
8253
  }
8254
8254
  // Getters
8255
8255
  static get Default() {
8256
- return Bw;
8256
+ return B0;
8257
8257
  }
8258
8258
  static get DefaultType() {
8259
- return Rw;
8259
+ return R0;
8260
8260
  }
8261
8261
  static get NAME() {
8262
- return Dw;
8262
+ return D0;
8263
8263
  }
8264
8264
  // Public
8265
8265
  activate() {
8266
- this._isActive || (this._config.autofocus && this._config.trapElement.focus(), L.off(document, fo), L.on(document, Nw, (e) => this._handleFocusin(e)), L.on(document, xw, (e) => this._handleKeydown(e)), this._isActive = !0);
8266
+ this._isActive || (this._config.autofocus && this._config.trapElement.focus(), L.off(document, fo), L.on(document, N0, (e) => this._handleFocusin(e)), L.on(document, x0, (e) => this._handleKeydown(e)), this._isActive = !0);
8267
8267
  }
8268
8268
  deactivate() {
8269
8269
  this._isActive && (this._isActive = !1, L.off(document, fo));
@@ -8279,7 +8279,7 @@ class Fc extends En {
8279
8279
  o.length === 0 ? s.focus() : this._lastTabNavDirection === _l ? o[o.length - 1].focus() : o[0].focus();
8280
8280
  }
8281
8281
  _handleKeydown(e) {
8282
- e.key === Pw && (this._lastTabNavDirection = e.shiftKey ? _l : Mw);
8282
+ e.key === P0 && (this._lastTabNavDirection = e.shiftKey ? _l : M0);
8283
8283
  }
8284
8284
  }
8285
8285
  const gl = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", vl = ".sticky-top", Jn = "padding-right", bl = "margin-right";
@@ -8340,28 +8340,28 @@ class Bi {
8340
8340
  s(o);
8341
8341
  }
8342
8342
  }
8343
- const Vw = "modal", jw = "bs.modal", ct = `.${jw}`, Fw = ".data-api", Hw = "Escape", Ww = `hide${ct}`, zw = `hidePrevented${ct}`, Hc = `hidden${ct}`, Wc = `show${ct}`, Kw = `shown${ct}`, Uw = `resize${ct}`, Yw = `click.dismiss${ct}`, qw = `mousedown.dismiss${ct}`, Gw = `keydown.dismiss${ct}`, Xw = `click${ct}${Fw}`, yl = "modal-open", Qw = "fade", wl = "show", _i = "modal-static", Zw = ".modal.show", Jw = ".modal-dialog", e0 = ".modal-body", t0 = '[data-bs-toggle="modal"]', s0 = {
8343
+ const V0 = "modal", j0 = "bs.modal", ct = `.${j0}`, F0 = ".data-api", H0 = "Escape", W0 = `hide${ct}`, z0 = `hidePrevented${ct}`, Hc = `hidden${ct}`, Wc = `show${ct}`, K0 = `shown${ct}`, U0 = `resize${ct}`, Y0 = `click.dismiss${ct}`, q0 = `mousedown.dismiss${ct}`, G0 = `keydown.dismiss${ct}`, X0 = `click${ct}${F0}`, yl = "modal-open", Q0 = "fade", wl = "show", _i = "modal-static", Z0 = ".modal.show", J0 = ".modal-dialog", ew = ".modal-body", tw = '[data-bs-toggle="modal"]', sw = {
8344
8344
  backdrop: !0,
8345
8345
  focus: !0,
8346
8346
  keyboard: !0
8347
- }, n0 = {
8347
+ }, nw = {
8348
8348
  backdrop: "(boolean|string)",
8349
8349
  focus: "boolean",
8350
8350
  keyboard: "boolean"
8351
8351
  };
8352
8352
  class Qs extends _t {
8353
8353
  constructor(e, s) {
8354
- super(e, s), this._dialog = z.findOne(Jw, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new Bi(), this._addEventListeners();
8354
+ super(e, s), this._dialog = z.findOne(J0, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new Bi(), this._addEventListeners();
8355
8355
  }
8356
8356
  // Getters
8357
8357
  static get Default() {
8358
- return s0;
8358
+ return sw;
8359
8359
  }
8360
8360
  static get DefaultType() {
8361
- return n0;
8361
+ return nw;
8362
8362
  }
8363
8363
  static get NAME() {
8364
- return Vw;
8364
+ return V0;
8365
8365
  }
8366
8366
  // Public
8367
8367
  toggle(e) {
@@ -8373,7 +8373,7 @@ class Qs extends _t {
8373
8373
  }).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(yl), this._adjustDialog(), this._backdrop.show(() => this._showElement(e)));
8374
8374
  }
8375
8375
  hide() {
8376
- !this._isShown || this._isTransitioning || L.trigger(this._element, Ww).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(wl), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
8376
+ !this._isShown || this._isTransitioning || L.trigger(this._element, W0).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(wl), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
8377
8377
  }
8378
8378
  dispose() {
8379
8379
  L.off(window, ct), L.off(this._dialog, ct), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
@@ -8396,28 +8396,28 @@ class Qs extends _t {
8396
8396
  }
8397
8397
  _showElement(e) {
8398
8398
  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;
8399
- const s = z.findOne(e0, this._dialog);
8399
+ const s = z.findOne(ew, this._dialog);
8400
8400
  s && (s.scrollTop = 0), wn(this._element), this._element.classList.add(wl);
8401
8401
  const o = () => {
8402
- this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, L.trigger(this._element, Kw, {
8402
+ this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, L.trigger(this._element, K0, {
8403
8403
  relatedTarget: e
8404
8404
  });
8405
8405
  };
8406
8406
  this._queueCallback(o, this._dialog, this._isAnimated());
8407
8407
  }
8408
8408
  _addEventListeners() {
8409
- L.on(this._element, Gw, (e) => {
8410
- if (e.key === Hw) {
8409
+ L.on(this._element, G0, (e) => {
8410
+ if (e.key === H0) {
8411
8411
  if (this._config.keyboard) {
8412
8412
  this.hide();
8413
8413
  return;
8414
8414
  }
8415
8415
  this._triggerBackdropTransition();
8416
8416
  }
8417
- }), L.on(window, Uw, () => {
8417
+ }), L.on(window, U0, () => {
8418
8418
  this._isShown && !this._isTransitioning && this._adjustDialog();
8419
- }), L.on(this._element, qw, (e) => {
8420
- L.one(this._element, Yw, (s) => {
8419
+ }), L.on(this._element, q0, (e) => {
8420
+ L.one(this._element, Y0, (s) => {
8421
8421
  if (!(this._element !== e.target || this._element !== s.target)) {
8422
8422
  if (this._config.backdrop === "static") {
8423
8423
  this._triggerBackdropTransition();
@@ -8434,10 +8434,10 @@ class Qs extends _t {
8434
8434
  });
8435
8435
  }
8436
8436
  _isAnimated() {
8437
- return this._element.classList.contains(Qw);
8437
+ return this._element.classList.contains(Q0);
8438
8438
  }
8439
8439
  _triggerBackdropTransition() {
8440
- if (L.trigger(this._element, zw).defaultPrevented)
8440
+ if (L.trigger(this._element, z0).defaultPrevented)
8441
8441
  return;
8442
8442
  const s = this._element.scrollHeight > document.documentElement.clientHeight, o = this._element.style.overflowY;
8443
8443
  o === "hidden" || this._element.classList.contains(_i) || (s || (this._element.style.overflowY = "hidden"), this._element.classList.add(_i), this._queueCallback(() => {
@@ -8475,23 +8475,23 @@ class Qs extends _t {
8475
8475
  });
8476
8476
  }
8477
8477
  }
8478
- L.on(document, Xw, t0, function(t) {
8478
+ L.on(document, X0, tw, function(t) {
8479
8479
  const e = z.getElementFromSelector(this);
8480
8480
  ["A", "AREA"].includes(this.tagName) && t.preventDefault(), L.one(e, Wc, (r) => {
8481
8481
  r.defaultPrevented || L.one(e, Hc, () => {
8482
8482
  tn(this) && this.focus();
8483
8483
  });
8484
8484
  });
8485
- const s = z.findOne(Zw);
8485
+ const s = z.findOne(Z0);
8486
8486
  s && Qs.getInstance(s).hide(), Qs.getOrCreateInstance(e).toggle(this);
8487
8487
  });
8488
8488
  yo(Qs);
8489
8489
  ut(Qs);
8490
- const o0 = "offcanvas", i0 = "bs.offcanvas", Rt = `.${i0}`, zc = ".data-api", r0 = `load${Rt}${zc}`, a0 = "Escape", El = "show", Cl = "showing", Al = "hiding", l0 = "offcanvas-backdrop", Kc = ".offcanvas.show", c0 = `show${Rt}`, u0 = `shown${Rt}`, d0 = `hide${Rt}`, $l = `hidePrevented${Rt}`, Uc = `hidden${Rt}`, h0 = `resize${Rt}`, p0 = `click${Rt}${zc}`, f0 = `keydown.dismiss${Rt}`, m0 = '[data-bs-toggle="offcanvas"]', _0 = {
8490
+ const ow = "offcanvas", iw = "bs.offcanvas", Rt = `.${iw}`, zc = ".data-api", rw = `load${Rt}${zc}`, aw = "Escape", El = "show", Cl = "showing", Al = "hiding", lw = "offcanvas-backdrop", Kc = ".offcanvas.show", cw = `show${Rt}`, uw = `shown${Rt}`, dw = `hide${Rt}`, $l = `hidePrevented${Rt}`, Uc = `hidden${Rt}`, hw = `resize${Rt}`, pw = `click${Rt}${zc}`, fw = `keydown.dismiss${Rt}`, mw = '[data-bs-toggle="offcanvas"]', _w = {
8491
8491
  backdrop: !0,
8492
8492
  keyboard: !0,
8493
8493
  scroll: !1
8494
- }, g0 = {
8494
+ }, gw = {
8495
8495
  backdrop: "(boolean|string)",
8496
8496
  keyboard: "boolean",
8497
8497
  scroll: "boolean"
@@ -8502,33 +8502,33 @@ class Zt extends _t {
8502
8502
  }
8503
8503
  // Getters
8504
8504
  static get Default() {
8505
- return _0;
8505
+ return _w;
8506
8506
  }
8507
8507
  static get DefaultType() {
8508
- return g0;
8508
+ return gw;
8509
8509
  }
8510
8510
  static get NAME() {
8511
- return o0;
8511
+ return ow;
8512
8512
  }
8513
8513
  // Public
8514
8514
  toggle(e) {
8515
8515
  return this._isShown ? this.hide() : this.show(e);
8516
8516
  }
8517
8517
  show(e) {
8518
- if (this._isShown || L.trigger(this._element, c0, {
8518
+ if (this._isShown || L.trigger(this._element, cw, {
8519
8519
  relatedTarget: e
8520
8520
  }).defaultPrevented)
8521
8521
  return;
8522
8522
  this._isShown = !0, this._backdrop.show(), this._config.scroll || new Bi().hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(Cl);
8523
8523
  const o = () => {
8524
- (!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(El), this._element.classList.remove(Cl), L.trigger(this._element, u0, {
8524
+ (!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(El), this._element.classList.remove(Cl), L.trigger(this._element, uw, {
8525
8525
  relatedTarget: e
8526
8526
  });
8527
8527
  };
8528
8528
  this._queueCallback(o, this._element, !0);
8529
8529
  }
8530
8530
  hide() {
8531
- if (!this._isShown || L.trigger(this._element, d0).defaultPrevented)
8531
+ if (!this._isShown || L.trigger(this._element, dw).defaultPrevented)
8532
8532
  return;
8533
8533
  this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(Al), this._backdrop.hide();
8534
8534
  const s = () => {
@@ -8549,7 +8549,7 @@ class Zt extends _t {
8549
8549
  this.hide();
8550
8550
  }, s = !!this._config.backdrop;
8551
8551
  return new jc({
8552
- className: l0,
8552
+ className: lw,
8553
8553
  isVisible: s,
8554
8554
  isAnimated: !0,
8555
8555
  rootElement: this._element.parentNode,
@@ -8562,8 +8562,8 @@ class Zt extends _t {
8562
8562
  });
8563
8563
  }
8564
8564
  _addEventListeners() {
8565
- L.on(this._element, f0, (e) => {
8566
- if (e.key === a0) {
8565
+ L.on(this._element, fw, (e) => {
8566
+ if (e.key === aw) {
8567
8567
  if (this._config.keyboard) {
8568
8568
  this.hide();
8569
8569
  return;
@@ -8584,7 +8584,7 @@ class Zt extends _t {
8584
8584
  });
8585
8585
  }
8586
8586
  }
8587
- L.on(document, p0, m0, function(t) {
8587
+ L.on(document, pw, mw, function(t) {
8588
8588
  const e = z.getElementFromSelector(this);
8589
8589
  if (["A", "AREA"].includes(this.tagName) && t.preventDefault(), Qt(this))
8590
8590
  return;
@@ -8594,19 +8594,19 @@ L.on(document, p0, m0, function(t) {
8594
8594
  const s = z.findOne(Kc);
8595
8595
  s && s !== e && Zt.getInstance(s).hide(), Zt.getOrCreateInstance(e).toggle(this);
8596
8596
  });
8597
- L.on(window, r0, () => {
8597
+ L.on(window, rw, () => {
8598
8598
  for (const t of z.find(Kc))
8599
8599
  Zt.getOrCreateInstance(t).show();
8600
8600
  });
8601
- L.on(window, h0, () => {
8601
+ L.on(window, hw, () => {
8602
8602
  for (const t of z.find("[aria-modal][class*=show][class*=offcanvas-]"))
8603
8603
  getComputedStyle(t).position !== "fixed" && Zt.getOrCreateInstance(t).hide();
8604
8604
  });
8605
8605
  yo(Zt);
8606
8606
  ut(Zt);
8607
- const v0 = /^aria-[\w-]*$/i, Yc = {
8607
+ const vw = /^aria-[\w-]*$/i, Yc = {
8608
8608
  // Global attributes allowed on any supplied element below.
8609
- "*": ["class", "dir", "id", "lang", "role", v0],
8609
+ "*": ["class", "dir", "id", "lang", "role", vw],
8610
8610
  a: ["target", "href", "title", "rel"],
8611
8611
  area: [],
8612
8612
  b: [],
@@ -8639,11 +8639,11 @@ const v0 = /^aria-[\w-]*$/i, Yc = {
8639
8639
  strong: [],
8640
8640
  u: [],
8641
8641
  ul: []
8642
- }, b0 = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), y0 = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, w0 = (t, e) => {
8642
+ }, bw = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), yw = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, ww = (t, e) => {
8643
8643
  const s = t.nodeName.toLowerCase();
8644
- return e.includes(s) ? b0.has(s) ? !!y0.test(t.nodeValue) : !0 : e.filter((o) => o instanceof RegExp).some((o) => o.test(s));
8644
+ return e.includes(s) ? bw.has(s) ? !!yw.test(t.nodeValue) : !0 : e.filter((o) => o instanceof RegExp).some((o) => o.test(s));
8645
8645
  };
8646
- function E0(t, e, s) {
8646
+ function Ew(t, e, s) {
8647
8647
  if (!t.length)
8648
8648
  return t;
8649
8649
  if (s && typeof s == "function")
@@ -8657,11 +8657,11 @@ function E0(t, e, s) {
8657
8657
  }
8658
8658
  const h = [].concat(...c.attributes), m = [].concat(e["*"] || [], e[u] || []);
8659
8659
  for (const p of h)
8660
- w0(p, m) || c.removeAttribute(p.nodeName);
8660
+ ww(p, m) || c.removeAttribute(p.nodeName);
8661
8661
  }
8662
8662
  return r.body.innerHTML;
8663
8663
  }
8664
- const C0 = "TemplateFactory", A0 = {
8664
+ const Cw = "TemplateFactory", Aw = {
8665
8665
  allowList: Yc,
8666
8666
  content: {},
8667
8667
  // { selector : text , selector2 : text2 , }
@@ -8670,7 +8670,7 @@ const C0 = "TemplateFactory", A0 = {
8670
8670
  sanitize: !0,
8671
8671
  sanitizeFn: null,
8672
8672
  template: "<div></div>"
8673
- }, $0 = {
8673
+ }, $w = {
8674
8674
  allowList: "object",
8675
8675
  content: "object",
8676
8676
  extraClass: "(string|function)",
@@ -8678,23 +8678,23 @@ const C0 = "TemplateFactory", A0 = {
8678
8678
  sanitize: "boolean",
8679
8679
  sanitizeFn: "(null|function)",
8680
8680
  template: "string"
8681
- }, T0 = {
8681
+ }, Tw = {
8682
8682
  entry: "(string|element|function|null)",
8683
8683
  selector: "(string|element)"
8684
8684
  };
8685
- class O0 extends En {
8685
+ class Ow extends En {
8686
8686
  constructor(e) {
8687
8687
  super(), this._config = this._getConfig(e);
8688
8688
  }
8689
8689
  // Getters
8690
8690
  static get Default() {
8691
- return A0;
8691
+ return Aw;
8692
8692
  }
8693
8693
  static get DefaultType() {
8694
- return $0;
8694
+ return $w;
8695
8695
  }
8696
8696
  static get NAME() {
8697
- return C0;
8697
+ return Cw;
8698
8698
  }
8699
8699
  // Public
8700
8700
  getContent() {
@@ -8726,7 +8726,7 @@ class O0 extends En {
8726
8726
  super._typeCheckConfig({
8727
8727
  selector: s,
8728
8728
  entry: o
8729
- }, T0);
8729
+ }, Tw);
8730
8730
  }
8731
8731
  _setContent(e, s, o) {
8732
8732
  const r = z.findOne(o, e);
@@ -8747,7 +8747,7 @@ class O0 extends En {
8747
8747
  }
8748
8748
  }
8749
8749
  _maybeSanitize(e) {
8750
- return this._config.sanitize ? E0(e, this._config.allowList, this._config.sanitizeFn) : e;
8750
+ return this._config.sanitize ? Ew(e, this._config.allowList, this._config.sanitizeFn) : e;
8751
8751
  }
8752
8752
  _resolvePossibleFunction(e) {
8753
8753
  return ze(e, [this]);
@@ -8760,13 +8760,13 @@ class O0 extends En {
8760
8760
  s.textContent = e.textContent;
8761
8761
  }
8762
8762
  }
8763
- const S0 = "tooltip", k0 = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), gi = "fade", L0 = "modal", eo = "show", D0 = ".tooltip-inner", Tl = `.${L0}`, Ol = "hide.bs.modal", mn = "hover", vi = "focus", I0 = "click", N0 = "manual", x0 = "hide", P0 = "hidden", M0 = "show", B0 = "shown", R0 = "inserted", V0 = "click", j0 = "focusin", F0 = "focusout", H0 = "mouseenter", W0 = "mouseleave", z0 = {
8763
+ const Sw = "tooltip", kw = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), gi = "fade", Lw = "modal", eo = "show", Dw = ".tooltip-inner", Tl = `.${Lw}`, Ol = "hide.bs.modal", mn = "hover", vi = "focus", Iw = "click", Nw = "manual", xw = "hide", Pw = "hidden", Mw = "show", Bw = "shown", Rw = "inserted", Vw = "click", jw = "focusin", Fw = "focusout", Hw = "mouseenter", Ww = "mouseleave", zw = {
8764
8764
  AUTO: "auto",
8765
8765
  TOP: "top",
8766
8766
  RIGHT: lt() ? "left" : "right",
8767
8767
  BOTTOM: "bottom",
8768
8768
  LEFT: lt() ? "right" : "left"
8769
- }, K0 = {
8769
+ }, Kw = {
8770
8770
  allowList: Yc,
8771
8771
  animation: !0,
8772
8772
  boundary: "clippingParents",
@@ -8784,7 +8784,7 @@ const S0 = "tooltip", k0 = /* @__PURE__ */ new Set(["sanitize", "allowList", "sa
8784
8784
  template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
8785
8785
  title: "",
8786
8786
  trigger: "hover focus"
8787
- }, U0 = {
8787
+ }, Uw = {
8788
8788
  allowList: "object",
8789
8789
  animation: "boolean",
8790
8790
  boundary: "(string|element)",
@@ -8811,13 +8811,13 @@ class nn extends _t {
8811
8811
  }
8812
8812
  // Getters
8813
8813
  static get Default() {
8814
- return K0;
8814
+ return Kw;
8815
8815
  }
8816
8816
  static get DefaultType() {
8817
- return U0;
8817
+ return Uw;
8818
8818
  }
8819
8819
  static get NAME() {
8820
- return S0;
8820
+ return Sw;
8821
8821
  }
8822
8822
  // Public
8823
8823
  enable() {
@@ -8846,7 +8846,7 @@ class nn extends _t {
8846
8846
  throw new Error("Please use show on visible elements");
8847
8847
  if (!(this._isWithContent() && this._isEnabled))
8848
8848
  return;
8849
- const e = L.trigger(this._element, this.constructor.eventName(M0)), o = (Cc(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
8849
+ const e = L.trigger(this._element, this.constructor.eventName(Mw)), o = (Cc(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
8850
8850
  if (e.defaultPrevented || !o)
8851
8851
  return;
8852
8852
  this._disposePopper();
@@ -8855,23 +8855,23 @@ class nn extends _t {
8855
8855
  const {
8856
8856
  container: a
8857
8857
  } = this._config;
8858
- if (this._element.ownerDocument.documentElement.contains(this.tip) || (a.append(r), L.trigger(this._element, this.constructor.eventName(R0))), this._popper = this._createPopper(r), r.classList.add(eo), "ontouchstart" in document.documentElement)
8858
+ if (this._element.ownerDocument.documentElement.contains(this.tip) || (a.append(r), L.trigger(this._element, this.constructor.eventName(Rw))), this._popper = this._createPopper(r), r.classList.add(eo), "ontouchstart" in document.documentElement)
8859
8859
  for (const u of [].concat(...document.body.children))
8860
8860
  L.on(u, "mouseover", ho);
8861
8861
  const c = () => {
8862
- L.trigger(this._element, this.constructor.eventName(B0)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
8862
+ L.trigger(this._element, this.constructor.eventName(Bw)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
8863
8863
  };
8864
8864
  this._queueCallback(c, this.tip, this._isAnimated());
8865
8865
  }
8866
8866
  hide() {
8867
- if (!this._isShown() || L.trigger(this._element, this.constructor.eventName(x0)).defaultPrevented)
8867
+ if (!this._isShown() || L.trigger(this._element, this.constructor.eventName(xw)).defaultPrevented)
8868
8868
  return;
8869
8869
  if (this._getTipElement().classList.remove(eo), "ontouchstart" in document.documentElement)
8870
8870
  for (const r of [].concat(...document.body.children))
8871
8871
  L.off(r, "mouseover", ho);
8872
- this._activeTrigger[I0] = !1, this._activeTrigger[vi] = !1, this._activeTrigger[mn] = !1, this._isHovered = null;
8872
+ this._activeTrigger[Iw] = !1, this._activeTrigger[vi] = !1, this._activeTrigger[mn] = !1, this._isHovered = null;
8873
8873
  const o = () => {
8874
- this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), L.trigger(this._element, this.constructor.eventName(P0)));
8874
+ this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), L.trigger(this._element, this.constructor.eventName(Pw)));
8875
8875
  };
8876
8876
  this._queueCallback(o, this.tip, this._isAnimated());
8877
8877
  }
@@ -8897,7 +8897,7 @@ class nn extends _t {
8897
8897
  this._newContent = e, this._isShown() && (this._disposePopper(), this.show());
8898
8898
  }
8899
8899
  _getTemplateFactory(e) {
8900
- return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new O0({
8900
+ return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new Ow({
8901
8901
  ...this._config,
8902
8902
  // the `content` var has to be after `this._config`
8903
8903
  // to override config.content in case of popover
@@ -8907,7 +8907,7 @@ class nn extends _t {
8907
8907
  }
8908
8908
  _getContentForTemplate() {
8909
8909
  return {
8910
- [D0]: this._getTitle()
8910
+ [Dw]: this._getTitle()
8911
8911
  };
8912
8912
  }
8913
8913
  _getTitle() {
@@ -8924,7 +8924,7 @@ class nn extends _t {
8924
8924
  return this.tip && this.tip.classList.contains(eo);
8925
8925
  }
8926
8926
  _createPopper(e) {
8927
- const s = ze(this._config.placement, [this, e, this._element]), o = z0[s.toUpperCase()];
8927
+ const s = ze(this._config.placement, [this, e, this._element]), o = zw[s.toUpperCase()];
8928
8928
  return nr(this._element, e, this._getPopperConfig(o));
8929
8929
  }
8930
8930
  _getOffset() {
@@ -8977,11 +8977,11 @@ class nn extends _t {
8977
8977
  const e = this._config.trigger.split(" ");
8978
8978
  for (const s of e)
8979
8979
  if (s === "click")
8980
- L.on(this._element, this.constructor.eventName(V0), this._config.selector, (o) => {
8980
+ L.on(this._element, this.constructor.eventName(Vw), this._config.selector, (o) => {
8981
8981
  this._initializeOnDelegatedTarget(o).toggle();
8982
8982
  });
8983
- else if (s !== N0) {
8984
- const o = s === mn ? this.constructor.eventName(H0) : this.constructor.eventName(j0), r = s === mn ? this.constructor.eventName(W0) : this.constructor.eventName(F0);
8983
+ else if (s !== Nw) {
8984
+ const o = s === mn ? this.constructor.eventName(Hw) : this.constructor.eventName(jw), r = s === mn ? this.constructor.eventName(Ww) : this.constructor.eventName(Fw);
8985
8985
  L.on(this._element, o, this._config.selector, (a) => {
8986
8986
  const c = this._initializeOnDelegatedTarget(a);
8987
8987
  c._activeTrigger[a.type === "focusin" ? vi : mn] = !0, c._enter();
@@ -9021,7 +9021,7 @@ class nn extends _t {
9021
9021
  _getConfig(e) {
9022
9022
  const s = Pt.getDataAttributes(this._element);
9023
9023
  for (const o of Object.keys(s))
9024
- k0.has(o) && delete s[o];
9024
+ kw.has(o) && delete s[o];
9025
9025
  return e = {
9026
9026
  ...s,
9027
9027
  ...typeof e == "object" && e ? e : {}
@@ -9055,27 +9055,27 @@ class nn extends _t {
9055
9055
  }
9056
9056
  }
9057
9057
  ut(nn);
9058
- const Y0 = "popover", q0 = ".popover-header", G0 = ".popover-body", X0 = {
9058
+ const Yw = "popover", qw = ".popover-header", Gw = ".popover-body", Xw = {
9059
9059
  ...nn.Default,
9060
9060
  content: "",
9061
9061
  offset: [0, 8],
9062
9062
  placement: "right",
9063
9063
  template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',
9064
9064
  trigger: "click"
9065
- }, Q0 = {
9065
+ }, Qw = {
9066
9066
  ...nn.DefaultType,
9067
9067
  content: "(null|string|element|function)"
9068
9068
  };
9069
9069
  class ar extends nn {
9070
9070
  // Getters
9071
9071
  static get Default() {
9072
- return X0;
9072
+ return Xw;
9073
9073
  }
9074
9074
  static get DefaultType() {
9075
- return Q0;
9075
+ return Qw;
9076
9076
  }
9077
9077
  static get NAME() {
9078
- return Y0;
9078
+ return Yw;
9079
9079
  }
9080
9080
  // Overrides
9081
9081
  _isWithContent() {
@@ -9084,8 +9084,8 @@ class ar extends nn {
9084
9084
  // Private
9085
9085
  _getContentForTemplate() {
9086
9086
  return {
9087
- [q0]: this._getTitle(),
9088
- [G0]: this._getContent()
9087
+ [qw]: this._getTitle(),
9088
+ [Gw]: this._getContent()
9089
9089
  };
9090
9090
  }
9091
9091
  _getContent() {
@@ -9104,7 +9104,7 @@ class ar extends nn {
9104
9104
  }
9105
9105
  }
9106
9106
  ut(ar);
9107
- const Z0 = "scrollspy", J0 = "bs.scrollspy", lr = `.${J0}`, eE = ".data-api", tE = `activate${lr}`, Sl = `click${lr}`, sE = `load${lr}${eE}`, nE = "dropdown-item", Fs = "active", oE = '[data-bs-spy="scroll"]', bi = "[href]", iE = ".nav, .list-group", kl = ".nav-link", rE = ".nav-item", aE = ".list-group-item", lE = `${kl}, ${rE} > ${kl}, ${aE}`, cE = ".dropdown", uE = ".dropdown-toggle", dE = {
9107
+ const Zw = "scrollspy", Jw = "bs.scrollspy", lr = `.${Jw}`, eE = ".data-api", tE = `activate${lr}`, Sl = `click${lr}`, sE = `load${lr}${eE}`, nE = "dropdown-item", Fs = "active", oE = '[data-bs-spy="scroll"]', bi = "[href]", iE = ".nav, .list-group", kl = ".nav-link", rE = ".nav-item", aE = ".list-group-item", lE = `${kl}, ${rE} > ${kl}, ${aE}`, cE = ".dropdown", uE = ".dropdown-toggle", dE = {
9108
9108
  offset: null,
9109
9109
  // TODO: v6 @deprecated, keep it for backwards compatibility reasons
9110
9110
  rootMargin: "0px 0px -25%",
@@ -9134,7 +9134,7 @@ class Co extends _t {
9134
9134
  return hE;
9135
9135
  }
9136
9136
  static get NAME() {
9137
- return Z0;
9137
+ return Zw;
9138
9138
  }
9139
9139
  // Public
9140
9140
  refresh() {