@vue-interface/btn-dropdown 2.0.0-beta.6 → 2.0.0-beta.9

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.
@@ -1,10 +1,10 @@
1
- import { defineComponent as U, openBlock as W, createBlock as te, resolveDynamicComponent as Ue, mergeProps as me, withCtx as B, renderSlot as P, createTextVNode as be, toDisplayString as ye, createElementBlock as Xe, normalizeClass as F, h as Lt, Fragment as Vt, resolveComponent as re, createVNode as we, normalizeProps as ae, guardReactiveProps as Re, normalizeStyle as It, withKeys as yt, withModifiers as wt, createCommentVNode as ce, createSlots as qt } from "vue";
2
- var R = "top", N = "bottom", M = "right", j = "left", Te = "auto", xe = [R, N, M, j], se = "start", Oe = "end", Ft = "clippingParents", Ot = "viewport", ve = "popper", Wt = "reference", lt = /* @__PURE__ */ xe.reduce(function(e, t) {
3
- return e.concat([t + "-" + se, t + "-" + Oe]);
4
- }, []), $t = /* @__PURE__ */ [].concat(xe, [Te]).reduce(function(e, t) {
5
- return e.concat([t, t + "-" + se, t + "-" + Oe]);
1
+ import { defineComponent as F, openBlock as H, createBlock as te, resolveDynamicComponent as Ue, mergeProps as me, withCtx as B, renderSlot as P, createTextVNode as be, toDisplayString as ye, createElementBlock as Xe, normalizeClass as W, h as Lt, Fragment as Vt, resolveComponent as re, createVNode as we, normalizeProps as ae, guardReactiveProps as Re, normalizeStyle as It, withKeys as yt, withModifiers as wt, createCommentVNode as ce, createSlots as qt } from "vue";
2
+ var R = "top", N = "bottom", M = "right", j = "left", Te = "auto", xe = [R, N, M, j], se = "start", $e = "end", Ft = "clippingParents", $t = "viewport", ve = "popper", Wt = "reference", lt = /* @__PURE__ */ xe.reduce(function(e, t) {
3
+ return e.concat([t + "-" + se, t + "-" + $e]);
4
+ }, []), Ot = /* @__PURE__ */ [].concat(xe, [Te]).reduce(function(e, t) {
5
+ return e.concat([t, t + "-" + se, t + "-" + $e]);
6
6
  }, []), Ht = "beforeRead", Ut = "read", Xt = "afterRead", Yt = "beforeMain", Kt = "main", Gt = "afterMain", Jt = "beforeWrite", Qt = "write", Zt = "afterWrite", Fe = [Ht, Ut, Xt, Yt, Kt, Gt, Jt, Qt, Zt];
7
- function H(e) {
7
+ function U(e) {
8
8
  return e ? (e.nodeName || "").toLowerCase() : null;
9
9
  }
10
10
  function L(e) {
@@ -34,7 +34,7 @@ function _t(e) {
34
34
  var t = e.state;
35
35
  Object.keys(t.elements).forEach(function(r) {
36
36
  var n = t.styles[r] || {}, o = t.attributes[r] || {}, i = t.elements[r];
37
- !z(i) || !H(i) || (Object.assign(i.style, n), Object.keys(o).forEach(function(a) {
37
+ !z(i) || !U(i) || (Object.assign(i.style, n), Object.keys(o).forEach(function(a) {
38
38
  var l = o[a];
39
39
  l === !1 ? i.removeAttribute(a) : i.setAttribute(a, l === !0 ? "" : l);
40
40
  }));
@@ -58,7 +58,7 @@ function er(e) {
58
58
  var o = t.elements[n], i = t.attributes[n] || {}, a = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), l = a.reduce(function(s, f) {
59
59
  return s[f] = "", s;
60
60
  }, {});
61
- !z(o) || !H(o) || (Object.assign(o.style, l), Object.keys(i).forEach(function(s) {
61
+ !z(o) || !U(o) || (Object.assign(o.style, l), Object.keys(i).forEach(function(s) {
62
62
  o.removeAttribute(s);
63
63
  }));
64
64
  });
@@ -128,7 +128,7 @@ function q(e) {
128
128
  return L(e).getComputedStyle(e);
129
129
  }
130
130
  function rr(e) {
131
- return ["table", "td", "th"].indexOf(H(e)) >= 0;
131
+ return ["table", "td", "th"].indexOf(U(e)) >= 0;
132
132
  }
133
133
  function K(e) {
134
134
  return ((oe(e) ? e.ownerDocument : (
@@ -137,7 +137,7 @@ function K(e) {
137
137
  )) || window.document).documentElement;
138
138
  }
139
139
  function ze(e) {
140
- return H(e) === "html" ? e : (
140
+ return U(e) === "html" ? e : (
141
141
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
142
142
  // $FlowFixMe[incompatible-return]
143
143
  // $FlowFixMe[prop-missing]
@@ -160,7 +160,7 @@ function nr(e) {
160
160
  return null;
161
161
  }
162
162
  var o = ze(e);
163
- for (Ye(o) && (o = o.host); z(o) && ["html", "body"].indexOf(H(o)) < 0; ) {
163
+ for (Ye(o) && (o = o.host); z(o) && ["html", "body"].indexOf(U(o)) < 0; ) {
164
164
  var i = q(o);
165
165
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
166
166
  return o;
@@ -171,7 +171,7 @@ function nr(e) {
171
171
  function Ce(e) {
172
172
  for (var t = L(e), r = pt(e); r && rr(r) && q(r).position === "static"; )
173
173
  r = pt(r);
174
- return r && (H(r) === "html" || H(r) === "body" && q(r).position === "static") ? t : r || nr(e) || t;
174
+ return r && (U(r) === "html" || U(r) === "body" && q(r).position === "static") ? t : r || nr(e) || t;
175
175
  }
176
176
  function Ge(e) {
177
177
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -207,8 +207,8 @@ var ir = function(t, r) {
207
207
  function ar(e) {
208
208
  var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, a = r.modifiersData.popperOffsets, l = I(r.placement), s = Ge(l), f = [j, M].indexOf(l) >= 0, p = f ? "height" : "width";
209
209
  if (!(!i || !a)) {
210
- var h = ir(o.padding, r), y = Ke(i), u = s === "y" ? R : j, O = s === "y" ? N : M, g = r.rects.reference[p] + r.rects.reference[s] - a[s] - r.rects.popper[p], v = a[s] - r.rects.reference[s], w = Ce(i), C = w ? s === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, x = g / 2 - v / 2, d = h[u], m = C - y[p] - h[O], c = C / 2 - y[p] / 2 + x, $ = he(d, c, m), E = s;
211
- r.modifiersData[n] = (t = {}, t[E] = $, t.centerOffset = $ - c, t);
210
+ var h = ir(o.padding, r), y = Ke(i), u = s === "y" ? R : j, $ = s === "y" ? N : M, g = r.rects.reference[p] + r.rects.reference[s] - a[s] - r.rects.popper[p], v = a[s] - r.rects.reference[s], w = Ce(i), C = w ? s === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, x = g / 2 - v / 2, d = h[u], m = C - y[p] - h[$], c = C / 2 - y[p] / 2 + x, O = he(d, c, m), E = s;
211
+ r.modifiersData[n] = (t = {}, t[E] = O, t.centerOffset = O - c, t);
212
212
  }
213
213
  }
214
214
  function sr(e) {
@@ -247,7 +247,7 @@ function fr(e) {
247
247
  };
248
248
  }
249
249
  function ft(e) {
250
- var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, a = e.offsets, l = e.position, s = e.gpuAcceleration, f = e.adaptive, p = e.roundOffsets, h = e.isFixed, y = a.x, u = y === void 0 ? 0 : y, O = a.y, g = O === void 0 ? 0 : O, v = typeof p == "function" ? p({
250
+ var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, a = e.offsets, l = e.position, s = e.gpuAcceleration, f = e.adaptive, p = e.roundOffsets, h = e.isFixed, y = a.x, u = y === void 0 ? 0 : y, $ = a.y, g = $ === void 0 ? 0 : $, v = typeof p == "function" ? p({
251
251
  x: u,
252
252
  y: g
253
253
  }) : {
@@ -257,16 +257,16 @@ function ft(e) {
257
257
  u = v.x, g = v.y;
258
258
  var w = a.hasOwnProperty("x"), C = a.hasOwnProperty("y"), x = j, d = R, m = window;
259
259
  if (f) {
260
- var c = Ce(r), $ = "clientHeight", E = "clientWidth";
261
- if (c === L(r) && (c = K(r), q(c).position !== "static" && l === "absolute" && ($ = "scrollHeight", E = "scrollWidth")), c = c, o === R || (o === j || o === M) && i === Oe) {
260
+ var c = Ce(r), O = "clientHeight", E = "clientWidth";
261
+ if (c === L(r) && (c = K(r), q(c).position !== "static" && l === "absolute" && (O = "scrollHeight", E = "scrollWidth")), c = c, o === R || (o === j || o === M) && i === $e) {
262
262
  d = N;
263
263
  var S = h && c === m && m.visualViewport ? m.visualViewport.height : (
264
264
  // $FlowFixMe[prop-missing]
265
- c[$]
265
+ c[O]
266
266
  );
267
267
  g -= S - n.height, g *= s ? 1 : -1;
268
268
  }
269
- if (o === j || (o === R || o === N) && i === Oe) {
269
+ if (o === j || (o === R || o === N) && i === $e) {
270
270
  x = M;
271
271
  var k = h && c === m && m.visualViewport ? m.visualViewport.width : (
272
272
  // $FlowFixMe[prop-missing]
@@ -411,7 +411,7 @@ function Ze(e) {
411
411
  return /auto|scroll|overlay|hidden/.test(r + o + n);
412
412
  }
413
413
  function kt(e) {
414
- return ["html", "body", "#document"].indexOf(H(e)) >= 0 ? e.ownerDocument.body : z(e) && Ze(e) ? e : kt(ze(e));
414
+ return ["html", "body", "#document"].indexOf(U(e)) >= 0 ? e.ownerDocument.body : z(e) && Ze(e) ? e : kt(ze(e));
415
415
  }
416
416
  function ge(e, t) {
417
417
  var r;
@@ -435,15 +435,15 @@ function yr(e, t) {
435
435
  return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
436
436
  }
437
437
  function dt(e, t, r) {
438
- return t === Ot ? He(mr(e, r)) : oe(t) ? yr(t, r) : He(br(K(e)));
438
+ return t === $t ? He(mr(e, r)) : oe(t) ? yr(t, r) : He(br(K(e)));
439
439
  }
440
440
  function wr(e) {
441
441
  var t = ge(ze(e)), r = ["absolute", "fixed"].indexOf(q(e).position) >= 0, n = r && z(e) ? Ce(e) : e;
442
442
  return oe(n) ? t.filter(function(o) {
443
- return oe(o) && Ct(o, n) && H(o) !== "body";
443
+ return oe(o) && Ct(o, n) && U(o) !== "body";
444
444
  }) : [];
445
445
  }
446
- function Or(e, t, r, n) {
446
+ function $r(e, t, r, n) {
447
447
  var o = t === "clippingParents" ? wr(e) : [].concat(t), i = [].concat(o, [r]), a = i[0], l = i.reduce(function(s, f) {
448
448
  var p = dt(e, f, n);
449
449
  return s.top = ne(p.top, s.top), s.right = je(p.right, s.right), s.bottom = je(p.bottom, s.bottom), s.left = ne(p.left, s.left), s;
@@ -490,21 +490,21 @@ function Bt(e) {
490
490
  case se:
491
491
  s[f] = s[f] - (t[p] / 2 - r[p] / 2);
492
492
  break;
493
- case Oe:
493
+ case $e:
494
494
  s[f] = s[f] + (t[p] / 2 - r[p] / 2);
495
495
  break;
496
496
  }
497
497
  }
498
498
  return s;
499
499
  }
500
- function $e(e, t) {
500
+ function Oe(e, t) {
501
501
  t === void 0 && (t = {});
502
- var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, l = r.boundary, s = l === void 0 ? Ft : l, f = r.rootBoundary, p = f === void 0 ? Ot : f, h = r.elementContext, y = h === void 0 ? ve : h, u = r.altBoundary, O = u === void 0 ? !1 : u, g = r.padding, v = g === void 0 ? 0 : g, w = Et(typeof v != "number" ? v : St(v, xe)), C = y === ve ? Wt : ve, x = e.rects.popper, d = e.elements[O ? C : y], m = Or(oe(d) ? d : d.contextElement || K(e.elements.popper), s, p, a), c = pe(e.elements.reference), $ = Bt({
502
+ var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, l = r.boundary, s = l === void 0 ? Ft : l, f = r.rootBoundary, p = f === void 0 ? $t : f, h = r.elementContext, y = h === void 0 ? ve : h, u = r.altBoundary, $ = u === void 0 ? !1 : u, g = r.padding, v = g === void 0 ? 0 : g, w = Et(typeof v != "number" ? v : St(v, xe)), C = y === ve ? Wt : ve, x = e.rects.popper, d = e.elements[$ ? C : y], m = $r(oe(d) ? d : d.contextElement || K(e.elements.popper), s, p, a), c = pe(e.elements.reference), O = Bt({
503
503
  reference: c,
504
504
  element: x,
505
505
  strategy: "absolute",
506
506
  placement: o
507
- }), E = He(Object.assign({}, x, $)), S = y === ve ? E : c, k = {
507
+ }), E = He(Object.assign({}, x, O)), S = y === ve ? E : c, k = {
508
508
  top: m.top - S.top + w.top,
509
509
  bottom: S.bottom - m.bottom + w.bottom,
510
510
  left: m.left - S.left + w.left,
@@ -519,24 +519,24 @@ function $e(e, t) {
519
519
  }
520
520
  return k;
521
521
  }
522
- function $r(e, t) {
522
+ function Or(e, t) {
523
523
  t === void 0 && (t = {});
524
- var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, a = r.padding, l = r.flipVariations, s = r.allowedAutoPlacements, f = s === void 0 ? $t : s, p = fe(n), h = p ? l ? lt : lt.filter(function(O) {
525
- return fe(O) === p;
526
- }) : xe, y = h.filter(function(O) {
527
- return f.indexOf(O) >= 0;
524
+ var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, a = r.padding, l = r.flipVariations, s = r.allowedAutoPlacements, f = s === void 0 ? Ot : s, p = fe(n), h = p ? l ? lt : lt.filter(function($) {
525
+ return fe($) === p;
526
+ }) : xe, y = h.filter(function($) {
527
+ return f.indexOf($) >= 0;
528
528
  });
529
529
  y.length === 0 && (y = h, process.env.NODE_ENV !== "production" && console.error(["Popper: The `allowedAutoPlacements` option did not allow any", "placements. Ensure the `placement` option matches the variation", "of the allowed placements.", 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(" ")));
530
- var u = y.reduce(function(O, g) {
531
- return O[g] = $e(e, {
530
+ var u = y.reduce(function($, g) {
531
+ return $[g] = Oe(e, {
532
532
  placement: g,
533
533
  boundary: o,
534
534
  rootBoundary: i,
535
535
  padding: a
536
- })[I(g)], O;
536
+ })[I(g)], $;
537
537
  }, {});
538
- return Object.keys(u).sort(function(O, g) {
539
- return u[O] - u[g];
538
+ return Object.keys(u).sort(function($, g) {
539
+ return u[$] - u[g];
540
540
  });
541
541
  }
542
542
  function xr(e) {
@@ -548,17 +548,17 @@ function xr(e) {
548
548
  function Cr(e) {
549
549
  var t = e.state, r = e.options, n = e.name;
550
550
  if (!t.modifiersData[n]._skip) {
551
- for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, l = a === void 0 ? !0 : a, s = r.fallbackPlacements, f = r.padding, p = r.boundary, h = r.rootBoundary, y = r.altBoundary, u = r.flipVariations, O = u === void 0 ? !0 : u, g = r.allowedAutoPlacements, v = t.options.placement, w = I(v), C = w === v, x = s || (C || !O ? [Ae(v)] : xr(v)), d = [v].concat(x).reduce(function(ie, X) {
552
- return ie.concat(I(X) === Te ? $r(t, {
551
+ for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, l = a === void 0 ? !0 : a, s = r.fallbackPlacements, f = r.padding, p = r.boundary, h = r.rootBoundary, y = r.altBoundary, u = r.flipVariations, $ = u === void 0 ? !0 : u, g = r.allowedAutoPlacements, v = t.options.placement, w = I(v), C = w === v, x = s || (C || !$ ? [Ae(v)] : xr(v)), d = [v].concat(x).reduce(function(ie, X) {
552
+ return ie.concat(I(X) === Te ? Or(t, {
553
553
  placement: X,
554
554
  boundary: p,
555
555
  rootBoundary: h,
556
556
  padding: f,
557
- flipVariations: O,
557
+ flipVariations: $,
558
558
  allowedAutoPlacements: g
559
559
  }) : X);
560
- }, []), m = t.rects.reference, c = t.rects.popper, $ = /* @__PURE__ */ new Map(), E = !0, S = d[0], k = 0; k < d.length; k++) {
561
- var b = d[k], D = I(b), A = fe(b) === se, G = [R, N].indexOf(D) >= 0, J = G ? "width" : "height", T = $e(t, {
560
+ }, []), m = t.rects.reference, c = t.rects.popper, O = /* @__PURE__ */ new Map(), E = !0, S = d[0], k = 0; k < d.length; k++) {
561
+ var b = d[k], D = I(b), A = fe(b) === se, G = [R, N].indexOf(D) >= 0, J = G ? "width" : "height", T = Oe(t, {
562
562
  placement: b,
563
563
  boundary: p,
564
564
  rootBoundary: h,
@@ -573,12 +573,12 @@ function Cr(e) {
573
573
  S = b, E = !1;
574
574
  break;
575
575
  }
576
- $.set(b, Q);
576
+ O.set(b, Q);
577
577
  }
578
578
  if (E)
579
- for (var Ee = O ? 3 : 1, Me = function(X) {
579
+ for (var Ee = $ ? 3 : 1, Me = function(X) {
580
580
  var de = d.find(function(ke) {
581
- var Z = $.get(ke);
581
+ var Z = O.get(ke);
582
582
  if (Z)
583
583
  return Z.slice(0, X).every(function(Le) {
584
584
  return Le;
@@ -621,9 +621,9 @@ function vt(e) {
621
621
  });
622
622
  }
623
623
  function Er(e) {
624
- var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, a = $e(t, {
624
+ var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, a = Oe(t, {
625
625
  elementContext: "reference"
626
- }), l = $e(t, {
626
+ }), l = Oe(t, {
627
627
  altBoundary: !0
628
628
  }), s = ct(a, n), f = ct(l, o, i), p = vt(s), h = vt(f);
629
629
  t.modifiersData[r] = {
@@ -656,7 +656,7 @@ function kr(e, t, r) {
656
656
  };
657
657
  }
658
658
  function Br(e) {
659
- var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, a = $t.reduce(function(p, h) {
659
+ var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, a = Ot.reduce(function(p, h) {
660
660
  return p[h] = kr(h, t.rects, i), p;
661
661
  }, {}), l = a[t.placement], s = l.x, f = l.y;
662
662
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += s, t.modifiersData.popperOffsets.y += f), t.modifiersData[n] = a;
@@ -688,12 +688,12 @@ function jr(e) {
688
688
  return e === "x" ? "y" : "x";
689
689
  }
690
690
  function Tr(e) {
691
- var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, l = a === void 0 ? !1 : a, s = r.boundary, f = r.rootBoundary, p = r.altBoundary, h = r.padding, y = r.tether, u = y === void 0 ? !0 : y, O = r.tetherOffset, g = O === void 0 ? 0 : O, v = $e(t, {
691
+ var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, l = a === void 0 ? !1 : a, s = r.boundary, f = r.rootBoundary, p = r.altBoundary, h = r.padding, y = r.tether, u = y === void 0 ? !0 : y, $ = r.tetherOffset, g = $ === void 0 ? 0 : $, v = Oe(t, {
692
692
  boundary: s,
693
693
  rootBoundary: f,
694
694
  padding: h,
695
695
  altBoundary: p
696
- }), w = I(t.placement), C = fe(t.placement), x = !C, d = Ge(w), m = jr(d), c = t.modifiersData.popperOffsets, $ = t.rects.reference, E = t.rects.popper, S = typeof g == "function" ? g(Object.assign({}, t.rects, {
696
+ }), w = I(t.placement), C = fe(t.placement), x = !C, d = Ge(w), m = jr(d), c = t.modifiersData.popperOffsets, O = t.rects.reference, E = t.rects.popper, S = typeof g == "function" ? g(Object.assign({}, t.rects, {
697
697
  placement: t.placement
698
698
  })) : g, k = typeof S == "number" ? {
699
699
  mainAxis: S,
@@ -707,14 +707,14 @@ function Tr(e) {
707
707
  };
708
708
  if (c) {
709
709
  if (i) {
710
- var A, G = d === "y" ? R : j, J = d === "y" ? N : M, T = d === "y" ? "height" : "width", V = c[d], Pe = V + v[G], Q = V - v[J], Ee = u ? -E[T] / 2 : 0, Me = C === se ? $[T] : E[T], ue = C === se ? -E[T] : -$[T], Se = t.elements.arrow, ie = u && Se ? Ke(Se) : {
710
+ var A, G = d === "y" ? R : j, J = d === "y" ? N : M, T = d === "y" ? "height" : "width", V = c[d], Pe = V + v[G], Q = V - v[J], Ee = u ? -E[T] / 2 : 0, Me = C === se ? O[T] : E[T], ue = C === se ? -E[T] : -O[T], Se = t.elements.arrow, ie = u && Se ? Ke(Se) : {
711
711
  width: 0,
712
712
  height: 0
713
- }, X = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Pt(), de = X[G], ke = X[J], Z = he(0, $[T], ie[T]), Le = x ? $[T] / 2 - Ee - Z - de - k.mainAxis : Me - Z - de - k.mainAxis, Rt = x ? -$[T] / 2 + Ee + Z + ke + k.mainAxis : ue + Z + ke + k.mainAxis, Ve = t.elements.arrow && Ce(t.elements.arrow), jt = Ve ? d === "y" ? Ve.clientTop || 0 : Ve.clientLeft || 0 : 0, _e = (A = b == null ? void 0 : b[d]) != null ? A : 0, Tt = V + Le - _e - jt, zt = V + Rt - _e, et = he(u ? je(Pe, Tt) : Pe, V, u ? ne(Q, zt) : Q);
713
+ }, X = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Pt(), de = X[G], ke = X[J], Z = he(0, O[T], ie[T]), Le = x ? O[T] / 2 - Ee - Z - de - k.mainAxis : Me - Z - de - k.mainAxis, Rt = x ? -O[T] / 2 + Ee + Z + ke + k.mainAxis : ue + Z + ke + k.mainAxis, Ve = t.elements.arrow && Ce(t.elements.arrow), jt = Ve ? d === "y" ? Ve.clientTop || 0 : Ve.clientLeft || 0 : 0, _e = (A = b == null ? void 0 : b[d]) != null ? A : 0, Tt = V + Le - _e - jt, zt = V + Rt - _e, et = he(u ? je(Pe, Tt) : Pe, V, u ? ne(Q, zt) : Q);
714
714
  c[d] = et, D[d] = et - V;
715
715
  }
716
716
  if (l) {
717
- var tt, Nt = d === "x" ? R : j, Mt = d === "x" ? N : M, _ = c[m], Be = m === "y" ? "height" : "width", rt = _ + v[Nt], nt = _ - v[Mt], Ie = [R, j].indexOf(w) !== -1, ot = (tt = b == null ? void 0 : b[m]) != null ? tt : 0, it = Ie ? rt : _ - $[Be] - E[Be] - ot + k.altAxis, at = Ie ? _ + $[Be] + E[Be] - ot - k.altAxis : nt, st = u && Ie ? or(it, _, at) : he(u ? it : rt, _, u ? at : nt);
717
+ var tt, Nt = d === "x" ? R : j, Mt = d === "x" ? N : M, _ = c[m], Be = m === "y" ? "height" : "width", rt = _ + v[Nt], nt = _ - v[Mt], Ie = [R, j].indexOf(w) !== -1, ot = (tt = b == null ? void 0 : b[m]) != null ? tt : 0, it = Ie ? rt : _ - O[Be] - E[Be] - ot + k.altAxis, at = Ie ? _ + O[Be] + E[Be] - ot - k.altAxis : nt, st = u && Ie ? or(it, _, at) : he(u ? it : rt, _, u ? at : nt);
718
718
  c[m] = st, D[m] = st - _;
719
719
  }
720
720
  t.modifiersData[n] = D;
@@ -749,7 +749,7 @@ function Vr(e, t, r) {
749
749
  x: 0,
750
750
  y: 0
751
751
  };
752
- return (n || !n && !r) && ((H(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
752
+ return (n || !n && !r) && ((U(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
753
753
  Ze(i)) && (l = Mr(t)), z(t) ? (s = pe(t, !0), s.x += t.clientLeft, s.y += t.clientTop) : i && (s.x = Qe(i))), {
754
754
  x: a.left + l.scrollLeft - s.x,
755
755
  y: a.top + l.scrollTop - s.y,
@@ -916,12 +916,12 @@ function Kr(e) {
916
916
  });
917
917
  m || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
918
918
  }
919
- var c = q(s), $ = c.marginTop, E = c.marginRight, S = c.marginBottom, k = c.marginLeft;
920
- [$, E, S, k].some(function(b) {
919
+ var c = q(s), O = c.marginTop, E = c.marginRight, S = c.marginBottom, k = c.marginLeft;
920
+ [O, E, S, k].some(function(b) {
921
921
  return parseFloat(b);
922
922
  }) && console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" "));
923
923
  }
924
- return O(), u.update();
924
+ return $(), u.update();
925
925
  },
926
926
  // Sync update – it will always be executed, even if not necessary. This
927
927
  // is useful for low frequency updates where sync behavior simplifies the
@@ -950,8 +950,8 @@ function Kr(e) {
950
950
  p.reset = !1, m = -1;
951
951
  continue;
952
952
  }
953
- var c = p.orderedModifiers[m], $ = c.fn, E = c.options, S = E === void 0 ? {} : E, k = c.name;
954
- typeof $ == "function" && (p = $({
953
+ var c = p.orderedModifiers[m], O = c.fn, E = c.options, S = E === void 0 ? {} : E, k = c.name;
954
+ typeof O == "function" && (p = O({
955
955
  state: p,
956
956
  options: S,
957
957
  name: k,
@@ -976,7 +976,7 @@ function Kr(e) {
976
976
  u.setOptions(f).then(function(v) {
977
977
  !y && f.onFirstUpdate && f.onFirstUpdate(v);
978
978
  });
979
- function O() {
979
+ function $() {
980
980
  p.orderedModifiers.forEach(function(v) {
981
981
  var w = v.name, C = v.options, x = C === void 0 ? {} : C, d = v.effect;
982
982
  if (typeof d == "function") {
@@ -1002,24 +1002,45 @@ function Kr(e) {
1002
1002
  var Gr = [vr, Rr, dr, tr, Dr, Pr, zr, lr, Sr], Jr = /* @__PURE__ */ Kr({
1003
1003
  defaultModifiers: Gr
1004
1004
  });
1005
- const Qr = {
1005
+ const Qr = F({
1006
1006
  props: {
1007
+ /**
1008
+ * The generic component prefix.
1009
+ */
1007
1010
  componentPrefix: String,
1011
+ /**
1012
+ * The size name.
1013
+ */
1008
1014
  size: String,
1015
+ /**
1016
+ * The sizable prefix. Should use to component prefix, unless the
1017
+ * sizeable prefix is different than the component prefix.
1018
+ */
1009
1019
  sizePrefix: String
1010
1020
  },
1011
1021
  computed: {
1022
+ /**
1023
+ * The computed sizeable class prefix.
1024
+ */
1012
1025
  sizeableClassPrefix() {
1013
1026
  return this.sizePrefix || this.componentPrefix;
1014
1027
  },
1028
+ /**
1029
+ * Determines if the size already has the prefix.
1030
+ */
1015
1031
  hasSizeablePrefix() {
1016
- return this.size === void 0 ? !1 : !!this.size.match(new RegExp(`^${this.sizeableClassPrefix}`));
1032
+ return this.size === void 0 ? !1 : !!this.size.match(
1033
+ new RegExp(`^${this.sizeableClassPrefix}`)
1034
+ );
1017
1035
  },
1036
+ /**
1037
+ * The size classes that get injected into the DOM.
1038
+ */
1018
1039
  sizeableClass() {
1019
1040
  return this.size ? !this.sizeableClassPrefix || this.hasSizeablePrefix ? this.size : `${this.sizeableClassPrefix}-${this.size}` : "";
1020
1041
  }
1021
1042
  }
1022
- }, Zr = {
1043
+ }), Zr = {
1023
1044
  props: {
1024
1045
  componentPrefix: String,
1025
1046
  variant: String,
@@ -1030,14 +1051,19 @@ const Qr = {
1030
1051
  return this.variantPrefix || this.componentPrefix;
1031
1052
  },
1032
1053
  hasVariantPrefix() {
1033
- return this.variant === void 0 ? !1 : !!this.variant.match(new RegExp(`^${this.variantClassPrefix}`));
1054
+ return this.variant === void 0 ? !1 : !!this.variant.match(
1055
+ new RegExp(`^${this.variantClassPrefix}`)
1056
+ );
1034
1057
  },
1035
1058
  variantClass() {
1036
1059
  return this.variant ? !this.variantClassPrefix || this.hasVariantPrefix ? this.variant : `${this.variantClassPrefix}-${this.variant}` : "";
1037
1060
  }
1038
1061
  }
1039
- }, _r = U({
1040
- mixins: [Qr, Zr],
1062
+ }, _r = F({
1063
+ mixins: [
1064
+ Qr,
1065
+ Zr
1066
+ ],
1041
1067
  props: {
1042
1068
  active: Boolean,
1043
1069
  block: Boolean,
@@ -1056,7 +1082,14 @@ const Qr = {
1056
1082
  },
1057
1083
  computed: {
1058
1084
  classes() {
1059
- return ["btn", this.variantClass, this.sizeableClass, this.active && "active", this.block && "btn-block", this.disabled && "disabled"];
1085
+ return [
1086
+ "btn",
1087
+ this.variantClass,
1088
+ this.sizeableClass,
1089
+ this.active && "active",
1090
+ this.block && "btn-block",
1091
+ this.disabled && "disabled"
1092
+ ];
1060
1093
  },
1061
1094
  component() {
1062
1095
  return this.tag ? this.tag : this.$attrs.href ? "a" : "button";
@@ -1072,16 +1105,20 @@ const Qr = {
1072
1105
  return r;
1073
1106
  };
1074
1107
  function tn(e, t, r, n, o, i) {
1075
- return W(), te(Ue(e.component), me(e.$attrs, {
1108
+ return H(), te(Ue(e.component), me(e.$attrs, {
1076
1109
  disabled: e.disabled,
1077
1110
  class: e.classes,
1078
1111
  role: "button"
1079
1112
  }), {
1080
- default: B(() => [P(e.$slots, "default", {}, () => [be(ye(e.label), 1)])]),
1113
+ default: B(() => [
1114
+ P(e.$slots, "default", {}, () => [
1115
+ be(ye(e.label), 1)
1116
+ ])
1117
+ ]),
1081
1118
  _: 3
1082
1119
  }, 16, ["disabled", "class"]);
1083
1120
  }
1084
- const rn = /* @__PURE__ */ en(_r, [["render", tn]]), nn = U({
1121
+ const rn = /* @__PURE__ */ en(_r, [["render", tn]]), nn = F({
1085
1122
  props: {
1086
1123
  componentPrefix: String,
1087
1124
  size: String,
@@ -1092,15 +1129,19 @@ const rn = /* @__PURE__ */ en(_r, [["render", tn]]), nn = U({
1092
1129
  return this.sizePrefix || this.componentPrefix;
1093
1130
  },
1094
1131
  hasSizeablePrefix() {
1095
- return this.size === void 0 ? !1 : !!this.size.match(new RegExp(`^${this.sizeableClassPrefix}`));
1132
+ return this.size === void 0 ? !1 : !!this.size.match(
1133
+ new RegExp(`^${this.sizeableClassPrefix}`)
1134
+ );
1096
1135
  },
1097
1136
  sizeableClass() {
1098
1137
  return this.size ? !this.sizeableClassPrefix || this.hasSizeablePrefix ? this.size : `${this.sizeableClassPrefix}-${this.size}` : "";
1099
1138
  }
1100
1139
  }
1101
- }), on = U({
1140
+ }), on = F({
1102
1141
  name: "BtnGroup",
1103
- mixins: [nn],
1142
+ mixins: [
1143
+ nn
1144
+ ],
1104
1145
  props: {
1105
1146
  /**
1106
1147
  * The size prefix.
@@ -1143,14 +1184,16 @@ const rn = /* @__PURE__ */ en(_r, [["render", tn]]), nn = U({
1143
1184
  return r;
1144
1185
  }, sn = ["data-toggle"];
1145
1186
  function ln(e, t, r, n, o, i) {
1146
- return W(), Xe("div", {
1147
- class: F(e.classes),
1187
+ return H(), Xe("div", {
1188
+ class: W(e.classes),
1148
1189
  "data-toggle": e.toggle ? "buttons" : !1,
1149
1190
  role: "group"
1150
- }, [P(e.$slots, "default")], 10, sn);
1191
+ }, [
1192
+ P(e.$slots, "default")
1193
+ ], 10, sn);
1151
1194
  }
1152
1195
  const pn = /* @__PURE__ */ an(on, [["render", ln]]);
1153
- U({
1196
+ F({
1154
1197
  name: "BtnGroupToggle"
1155
1198
  });
1156
1199
  function qe(e, t) {
@@ -1158,15 +1201,13 @@ function qe(e, t) {
1158
1201
  }
1159
1202
  function Dt(e) {
1160
1203
  for (const t of e) {
1161
- t.type === Vt && Dt(t.children), t.props = Object.assign({
1162
- class: void 0
1163
- }, t.props), t.attrs = Object.assign({}, t.attrs), t.attrs.on || (t.attrs.on = {});
1204
+ t.type === Vt && Dt(t.children), t.props = Object.assign({ class: void 0 }, t.props), t.attrs = Object.assign({}, t.attrs), t.attrs.on || (t.attrs.on = {});
1164
1205
  const r = t.props.class && t.props.class.match(/dropdown-item/), n = t.props.class && t.props.class.match(/dropdown-divider/);
1165
1206
  typeof t.type == "string" && t.type.match(/^h\d$/) ? qe(t, "dropdown-header") : t.type === "hr" && !n ? (t.type = "div", qe(t, "dropdown-divider")) : !r && !n && qe(t, "dropdown-item");
1166
1207
  }
1167
1208
  return e;
1168
1209
  }
1169
- const fn = (e, t) => Lt("div", {}, Dt(t.slots.default())), un = U({
1210
+ const fn = (e, t) => Lt("div", {}, Dt(t.slots.default())), un = F({
1170
1211
  name: "DropdownMenu",
1171
1212
  components: {
1172
1213
  DropdownMenuItems: fn
@@ -1199,19 +1240,23 @@ const fn = (e, t) => Lt("div", {}, Dt(t.slots.default())), un = U({
1199
1240
  }, cn = ["aria-labelledby"];
1200
1241
  function vn(e, t, r, n, o, i) {
1201
1242
  const a = re("dropdown-menu-items");
1202
- return W(), Xe("div", {
1203
- class: F(["dropdown-menu", {
1243
+ return H(), Xe("div", {
1244
+ class: W(["dropdown-menu", {
1204
1245
  "dropdown-menu-left": e.align === "left",
1205
1246
  "dropdown-menu-right": e.align === "right",
1206
1247
  show: e.show
1207
1248
  }]),
1208
1249
  "aria-labelledby": e.$attrs.id
1209
- }, [we(a, null, {
1210
- default: B(() => [P(e.$slots, "default")]),
1211
- _: 3
1212
- })], 10, cn);
1250
+ }, [
1251
+ we(a, null, {
1252
+ default: B(() => [
1253
+ P(e.$slots, "default")
1254
+ ]),
1255
+ _: 3
1256
+ })
1257
+ ], 10, cn);
1213
1258
  }
1214
- const hn = /* @__PURE__ */ dn(un, [["render", vn]]), gn = U({
1259
+ const hn = /* @__PURE__ */ dn(un, [["render", vn]]), gn = F({
1215
1260
  props: {
1216
1261
  expanded: {
1217
1262
  type: Boolean,
@@ -1242,7 +1287,7 @@ const hn = /* @__PURE__ */ dn(un, [["render", vn]]), gn = U({
1242
1287
  return r;
1243
1288
  };
1244
1289
  function mn(e, t, r, n, o, i) {
1245
- return W(), te(Ue(e.is), me({ id: e.id }, e.to ? { to: e.to } : { href: e.href }, {
1290
+ return H(), te(Ue(e.is), me({ id: e.id }, e.to ? { to: e.to } : { href: e.href }, {
1246
1291
  "aria-haspopup": "true",
1247
1292
  "aria-expanded": e.expanded,
1248
1293
  type: e.is === "button" ? "button" : void 0
@@ -1253,19 +1298,13 @@ function mn(e, t, r, n, o, i) {
1253
1298
  _: 3
1254
1299
  }, 16, ["id", "aria-expanded", "type"]);
1255
1300
  }
1256
- const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1301
+ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = F({
1257
1302
  components: {
1258
1303
  BtnDropdownAction: bn,
1259
1304
  BtnGroup: pn,
1260
1305
  DropdownMenu: hn
1261
1306
  },
1262
1307
  extends: rn,
1263
- emits: [
1264
- "click-toggle",
1265
- "show",
1266
- "hide",
1267
- "toggle"
1268
- ],
1269
1308
  props: {
1270
1309
  /**
1271
1310
  * Display the dropdown menu aligned left or right
@@ -1408,6 +1447,12 @@ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1408
1447
  */
1409
1448
  width: String
1410
1449
  },
1450
+ emits: [
1451
+ "click-toggle",
1452
+ "show",
1453
+ "hide",
1454
+ "toggle"
1455
+ ],
1411
1456
  data() {
1412
1457
  return {
1413
1458
  popper: null,
@@ -1491,6 +1536,15 @@ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1491
1536
  });
1492
1537
  }
1493
1538
  },
1539
+ watch: {
1540
+ expanded(e) {
1541
+ this.$nextTick(() => {
1542
+ this.$emit(e ? "show" : "hide"), this.$emit("toggle", e);
1543
+ }), setTimeout(() => {
1544
+ e ? document.addEventListener("click", this.onClickDocument) : document.removeEventListener("click", this.onClickDocument);
1545
+ });
1546
+ }
1547
+ },
1494
1548
  beforeUnmount() {
1495
1549
  this.popper && this.popper.destroy();
1496
1550
  },
@@ -1501,7 +1555,8 @@ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1501
1555
  * @return void
1502
1556
  */
1503
1557
  focus() {
1504
- this.$el.querySelector(".dropdown-toggle").focus();
1558
+ var e;
1559
+ (e = this.$el) == null || e.querySelector(".dropdown-toggle").focus();
1505
1560
  },
1506
1561
  /**
1507
1562
  * Focus on the the dropdown toggle button
@@ -1509,7 +1564,8 @@ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1509
1564
  * @return void
1510
1565
  */
1511
1566
  queryFocusable() {
1512
- return this.$el.querySelector(".dropdown-menu").querySelectorAll('label, input, select, textarea, [tabindex]:not([tabindex="-1"])');
1567
+ var e;
1568
+ return (e = this.$el) == null ? void 0 : e.querySelector(".dropdown-menu").querySelectorAll('label, input, select, textarea, [tabindex]:not([tabindex="-1"])');
1513
1569
  },
1514
1570
  /**
1515
1571
  * Method to check if the given element is focusable.
@@ -1537,9 +1593,10 @@ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1537
1593
  * @return void
1538
1594
  */
1539
1595
  show() {
1596
+ var t, r;
1540
1597
  this.expanded = !0;
1541
- const e = this.$refs.split && this.$refs.split.$el || this.$el;
1542
- !this.nav && !this.popper ? this.popper = Jr(e, this.$refs.menu.$el, {
1598
+ const e = this.$refs.split && ((t = this.$refs.split) == null ? void 0 : t.$el) || this.$el;
1599
+ !this.nav && !this.popper ? this.popper = Jr(e, (r = this.$refs.menu) == null ? void 0 : r.$el, {
1543
1600
  placement: `${this.placement}-${this.align === "left" ? "start" : "end"}`,
1544
1601
  onFirstUpdate: () => {
1545
1602
  this.triggerAnimation = this.animated;
@@ -1569,10 +1626,11 @@ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1569
1626
  * @return void
1570
1627
  */
1571
1628
  onBlur(e) {
1572
- (!this.$refs.menu.$el.contains(e.relatedTarget) || !this.$el.contains(e.relatedTarget)) && this.hide();
1629
+ var t;
1630
+ (this.$refs.menu && !((t = this.$refs.menu) != null && t.$el.contains(e.relatedTarget)) || !(this != null && this.$el.contains(e.relatedTarget))) && this.hide();
1573
1631
  },
1574
1632
  onClickDocument(e) {
1575
- this.$el.contains(e.target) || this.hide();
1633
+ this != null && this.$el.contains(e.target) || this.hide();
1576
1634
  },
1577
1635
  /**
1578
1636
  * A callback function for the `click-item` event.
@@ -1593,25 +1651,16 @@ const bn = /* @__PURE__ */ Ne(gn, [["render", mn]]), At = {
1593
1651
  onKeydown(e) {
1594
1652
  e.target.parentElement.lastElementChild === e.target && this.hide();
1595
1653
  }
1596
- },
1597
- watch: {
1598
- expanded(e) {
1599
- this.$nextTick(() => {
1600
- this.$emit(e ? "show" : "hide"), this.$emit("toggle", e);
1601
- }), setTimeout(() => {
1602
- e ? document.addEventListener("click", this.onClickDocument) : document.removeEventListener("click", this.onClickDocument);
1603
- });
1604
- }
1605
1654
  }
1606
- }, yn = U({
1655
+ }), yn = F({
1607
1656
  mixins: [
1608
1657
  At
1609
1658
  ]
1610
1659
  });
1611
1660
  function wn(e, t, r, n, o, i) {
1612
1661
  const a = re("btn-dropdown-action"), l = re("dropdown-menu"), s = re("btn-group");
1613
- return W(), te(s, {
1614
- class: F(e.classes)
1662
+ return H(), te(s, {
1663
+ class: W(e.classes)
1615
1664
  }, {
1616
1665
  default: B(() => [
1617
1666
  P(e.$slots, "button", ae(Re(e.scope)), () => [
@@ -1622,7 +1671,7 @@ function wn(e, t, r, n, o, i) {
1622
1671
  href: e.href,
1623
1672
  to: e.to,
1624
1673
  style: It(e.toggleStyle),
1625
- class: F(e.toggleClasses),
1674
+ class: W(e.toggleClasses),
1626
1675
  onBlur: e.onBlur,
1627
1676
  onClick: e.onClickToggle
1628
1677
  }, {
@@ -1640,7 +1689,7 @@ function wn(e, t, r, n, o, i) {
1640
1689
  ref: "menu",
1641
1690
  align: e.align,
1642
1691
  show: e.expanded,
1643
- class: F({ animated: e.triggerAnimation }),
1692
+ class: W({ animated: e.triggerAnimation }),
1644
1693
  onBlur: e.onBlur,
1645
1694
  onClick: e.onClickItem,
1646
1695
  onKeydown: yt(e.onKeydown, ["tab"]),
@@ -1656,7 +1705,7 @@ function wn(e, t, r, n, o, i) {
1656
1705
  _: 3
1657
1706
  }, 8, ["class"]);
1658
1707
  }
1659
- const On = /* @__PURE__ */ Ne(yn, [["render", wn]]), $n = U({
1708
+ const $n = /* @__PURE__ */ Ne(yn, [["render", wn]]), On = F({
1660
1709
  mixins: [
1661
1710
  At
1662
1711
  ],
@@ -1666,19 +1715,19 @@ const On = /* @__PURE__ */ Ne(yn, [["render", wn]]), $n = U({
1666
1715
  }), xn = ["id", "aria-expanded"];
1667
1716
  function Cn(e, t, r, n, o, i) {
1668
1717
  const a = re("btn-dropdown-action"), l = re("dropdown-menu"), s = re("btn-group");
1669
- return W(), te(s, {
1670
- class: F([e.classes, "btn-dropdown-split"])
1718
+ return H(), te(s, {
1719
+ class: W([e.classes, "btn-dropdown-split"])
1671
1720
  }, {
1672
1721
  default: B(() => [
1673
1722
  e.dropleft ? ce("", !0) : P(e.$slots, "button", ae(me({ key: 0 }, e.scope)), () => [
1674
- e.dropleft ? ce("", !0) : (W(), te(a, {
1723
+ e.dropleft ? ce("", !0) : (H(), te(a, {
1675
1724
  key: 0,
1676
1725
  id: e.$attrs.id,
1677
1726
  ref: "button",
1678
1727
  expanded: e.expanded,
1679
1728
  href: e.href,
1680
1729
  to: e.to,
1681
- class: F(e.actionClasses),
1730
+ class: W(e.actionClasses),
1682
1731
  onClick: t[0] || (t[0] = (f) => e.$emit("click", f))
1683
1732
  }, {
1684
1733
  default: B(() => [
@@ -1693,13 +1742,13 @@ function Cn(e, t, r, n, o, i) {
1693
1742
  we(s, { ref: "split" }, {
1694
1743
  default: B(() => [
1695
1744
  P(e.$slots, "split", ae(Re(e.scope)), () => [
1696
- e.split ? (W(), Xe("button", {
1745
+ e.split ? (H(), Xe("button", {
1697
1746
  key: 0,
1698
1747
  id: e.$attrs.id,
1699
1748
  type: "button",
1700
1749
  "aria-haspopup": "true",
1701
1750
  "aria-expanded": e.expanded,
1702
- class: F(e.toggleClasses),
1751
+ class: W(e.toggleClasses),
1703
1752
  onBlur: t[1] || (t[1] = (...f) => e.onBlur && e.onBlur(...f)),
1704
1753
  onClick: t[2] || (t[2] = (...f) => e.onClickToggle && e.onClickToggle(...f))
1705
1754
  }, null, 42, xn)) : ce("", !0)
@@ -1709,7 +1758,7 @@ function Cn(e, t, r, n, o, i) {
1709
1758
  ref: "menu",
1710
1759
  align: e.align,
1711
1760
  show: e.expanded,
1712
- class: F({ animated: e.triggerAnimation }),
1761
+ class: W({ animated: e.triggerAnimation }),
1713
1762
  onBlur: e.onBlur,
1714
1763
  onClick: e.onClickItem,
1715
1764
  onKeydown: yt(e.onKeydown, ["tab"]),
@@ -1725,14 +1774,14 @@ function Cn(e, t, r, n, o, i) {
1725
1774
  _: 3
1726
1775
  }, 512),
1727
1776
  e.dropleft ? P(e.$slots, "button", ae(me({ key: 1 }, e.scope)), () => [
1728
- e.dropleft ? (W(), te(a, {
1777
+ e.dropleft ? (H(), te(a, {
1729
1778
  key: 0,
1730
1779
  id: e.$attrs.id,
1731
1780
  ref: "button",
1732
1781
  expanded: e.expanded,
1733
1782
  href: e.href,
1734
1783
  to: e.to,
1735
- class: F(e.actionClasses),
1784
+ class: W(e.actionClasses),
1736
1785
  onClick: t[4] || (t[4] = (f) => e.$emit("click", f))
1737
1786
  }, {
1738
1787
  default: B(() => [
@@ -1748,11 +1797,11 @@ function Cn(e, t, r, n, o, i) {
1748
1797
  _: 3
1749
1798
  }, 8, ["class"]);
1750
1799
  }
1751
- const Pn = /* @__PURE__ */ Ne($n, [["render", Cn]]), En = U({
1800
+ const Pn = /* @__PURE__ */ Ne(On, [["render", Cn]]), En = F({
1752
1801
  name: "BtnDropdown",
1753
1802
  components: {
1754
1803
  BtnDropdownSplit: Pn,
1755
- BtnDropdownSingle: On
1804
+ BtnDropdownSingle: $n
1756
1805
  },
1757
1806
  inheritAttrs: !1,
1758
1807
  emits: [
@@ -1765,7 +1814,7 @@ const Pn = /* @__PURE__ */ Ne($n, [["render", Cn]]), En = U({
1765
1814
  ]
1766
1815
  });
1767
1816
  function Sn(e, t, r, n, o, i) {
1768
- return W(), te(Ue(e.$attrs.split === void 0 || e.$attrs.nav ? "btn-dropdown-single" : "btn-dropdown-split"), me({ class: "btn-dropdown" }, e.$attrs, {
1817
+ return H(), te(Ue(e.$attrs.split === void 0 || e.$attrs.nav ? "btn-dropdown-single" : "btn-dropdown-split"), me({ class: "btn-dropdown" }, e.$attrs, {
1769
1818
  onClick: t[0] || (t[0] = (...a) => e.$emit("click", ...a)),
1770
1819
  onClickToggle: t[1] || (t[1] = (...a) => e.$emit("click-toggle", ...a)),
1771
1820
  onDropdown: t[2] || (t[2] = (...a) => e.$emit("dropdown", ...a)),