@vlalg-nimbus/nb-buttons 7.0.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { useCssVars as ke, toRefs as Ve, computed as t, openBlock as pe, createElementBlock as be, mergeProps as Be, withKeys as F, withModifiers as z, unref as n, createElementVNode as se, normalizeClass as ge, normalizeStyle as ve, renderSlot as me, createTextVNode as he, createCommentVNode as ye, onMounted as Ge, ref as we, watch as yt, toDisplayString as We, nextTick as Re, onUnmounted as mt, Fragment as ht, renderList as Ct } from "vue";
1
+ import { useCssVars as ke, toRefs as Ve, computed as t, openBlock as pe, createElementBlock as be, mergeProps as Be, withKeys as F, withModifiers as z, unref as n, createElementVNode as se, normalizeClass as ge, normalizeStyle as ce, renderSlot as me, createTextVNode as he, createCommentVNode as ye, onMounted as Ge, ref as we, watch as yt, toDisplayString as We, nextTick as Re, onUnmounted as mt, Fragment as ht, renderList as Ct } from "vue";
2
2
  const Te = (e, l) => {
3
3
  const J = e.__vccOpts || e;
4
4
  for (const [ue, ae] of l)
@@ -187,9 +187,9 @@ const Te = (e, l) => {
187
187
  darkButtonColor: I,
188
188
  darkButtonColorHover: T,
189
189
  darkBorderColor: V,
190
- darkDisabledBgColor: v,
190
+ darkDisabledBgColor: c,
191
191
  uppercase: m,
192
- paddingXContent: c,
192
+ paddingXContent: v,
193
193
  paddingYContent: h,
194
194
  paddingXBorder: i,
195
195
  paddingYBorder: C,
@@ -199,7 +199,7 @@ const Te = (e, l) => {
199
199
  fontSize: R,
200
200
  fontWeight: N
201
201
  } = Ve(ue), D = t(() => {
202
- const $ = y.value ? "component-disabled" : "", re = ae.value !== "b" ? "inline-block" : "block", fe = !w.value || !(w.value >= 0 && w.value <= 1) ? "0.5" : w.value, ie = i.value !== 0 && !i.value || i.value < 0 ? 0.5 : i.value, Ce = C.value !== 0 && !C.value || C.value < 0 ? 0.5 : C.value, j = c.value !== 0 && !c.value || c.value < 0 ? 0.5 : c.value, Se = h.value !== 0 && !h.value || h.value < 0 ? 0.5 : h.value, He = m.value ? "uppercase" : "none", Ie = _.value ? _.value : "'Lato', sans-serif", De = R.value ? R.value : "1.6em", Le = N.value !== 0 && !N.value || N.value < 0 ? 100 : N.value;
202
+ const $ = y.value ? "component-disabled" : "", re = ae.value !== "b" ? "inline-block" : "block", fe = !w.value || !(w.value >= 0 && w.value <= 1) ? "0.5" : w.value, ie = i.value !== 0 && !i.value || i.value < 0 ? 0.5 : i.value, Ce = C.value !== 0 && !C.value || C.value < 0 ? 0.5 : C.value, j = v.value !== 0 && !v.value || v.value < 0 ? 0.5 : v.value, Se = h.value !== 0 && !h.value || h.value < 0 ? 0.5 : h.value, He = m.value ? "uppercase" : "none", Ie = _.value ? _.value : "'Lato', sans-serif", De = R.value ? R.value : "1.6em", Le = N.value !== 0 && !N.value || N.value < 0 ? 100 : N.value;
203
203
  return {
204
204
  disabled: $,
205
205
  display: re,
@@ -228,7 +228,7 @@ const Te = (e, l) => {
228
228
  textTransform: $.uppercase,
229
229
  padding: `${$.paddingYContent}rem ${$.paddingXContent}rem`
230
230
  };
231
- }), W = t(() => ({})), P = t(() => D.value.font), A = t(() => D.value.borderOpacity), X = t(() => Q.value), f = t(() => le.value), u = t(() => G.value), d = t(() => ee.value), o = t(() => ne.value), s = t(() => te.value), S = t(() => q.value), b = t(() => O.value), U = t(() => I.value), de = t(() => T.value), H = t(() => V.value), g = t(() => v.value), p = t(() => {
231
+ }), W = t(() => ({})), P = t(() => D.value.font), A = t(() => D.value.borderOpacity), X = t(() => Q.value), f = t(() => le.value), u = t(() => G.value), d = t(() => ee.value), o = t(() => ne.value), s = t(() => te.value), S = t(() => q.value), b = t(() => O.value), U = t(() => I.value), de = t(() => T.value), H = t(() => V.value), g = t(() => c.value), p = t(() => {
232
232
  const $ = {};
233
233
  B.value && Object.keys(B.value).forEach((ie) => $[`aria-${ie}`] = B.value[ie]);
234
234
  const re = {
@@ -259,11 +259,11 @@ const Te = (e, l) => {
259
259
  se("div", {
260
260
  id: e.nbId,
261
261
  class: ge(["nb-reset", "component", r.value]),
262
- style: ve([L.value])
262
+ style: ce([L.value])
263
263
  }, [
264
264
  se("div", {
265
265
  class: "component-content",
266
- style: ve([k.value])
266
+ style: ce([k.value])
267
267
  }, [
268
268
  se("span", Bt, [
269
269
  me($.$slots, "content", {}, () => [
@@ -272,7 +272,7 @@ const Te = (e, l) => {
272
272
  ]),
273
273
  se("span", {
274
274
  class: "component-content__mask",
275
- style: ve([W.value])
275
+ style: ce([W.value])
276
276
  }, null, 4)
277
277
  ], 4)
278
278
  ], 14, xt)
@@ -409,14 +409,14 @@ const Tt = ["tabIndex", "title"], Ht = ["id"], It = /* @__PURE__ */ Object.assig
409
409
  emits: ["clicked"],
410
410
  setup(e, { emit: l }) {
411
411
  ke((u) => ({
412
- dbeb76dc: A.value,
413
- "781e29a4": E.value,
414
- ac791462: Y.value,
415
- "6bd53873": r.value,
416
- f0d88aa4: L.value,
417
- "333e0432": k.value,
418
- "38ceb2ef": P.value,
419
- "5061a42a": W.value
412
+ "2528cfa7": A.value,
413
+ f4fb990e: E.value,
414
+ "599a2ab8": Y.value,
415
+ "8e89d470": r.value,
416
+ "758ae943": L.value,
417
+ "7b8d0687": k.value,
418
+ "09bd56fa": P.value,
419
+ "47a06216": W.value
420
420
  }));
421
421
  const J = l, ue = e, {
422
422
  ariaLabel: ae,
@@ -434,15 +434,15 @@ const Tt = ["tabIndex", "title"], Ht = ["id"], It = /* @__PURE__ */ Object.assig
434
434
  darkDisabledBgColor: I,
435
435
  paddingX: T,
436
436
  paddingY: V,
437
- disabled: v,
437
+ disabled: c,
438
438
  borderRadius: m,
439
- verticalAlign: c,
439
+ verticalAlign: v,
440
440
  fontFamily: h,
441
441
  fontSize: i,
442
442
  fontWeight: C,
443
443
  lineHeight: w
444
444
  } = Ve(ue), y = t(() => {
445
- const u = v.value ? "component-disabled" : "", d = c.value ? c.value : "middle", o = T.value !== 0 && !T.value || T.value < 0 ? 1 : T.value, s = V.value !== 0 && !V.value || V.value < 0 ? 0.2 : V.value, S = m.value !== 0 && !m.value || m.value < 0 ? 0 : m.value, b = h.value ? h.value : "'Lato', sans-serif", U = i.value ? i.value : "1.6rem", de = C.value !== 0 && !C.value || C.value < 0 ? 100 : C.value, H = w.value !== 0 && !w.value || w.value < 0 ? 1.42857143 : w.value;
445
+ const u = c.value ? "component-disabled" : "", d = v.value ? v.value : "middle", o = T.value !== 0 && !T.value || T.value < 0 ? 1 : T.value, s = V.value !== 0 && !V.value || V.value < 0 ? 0.2 : V.value, S = m.value !== 0 && !m.value || m.value < 0 ? 0 : m.value, b = h.value ? h.value : "'Lato', sans-serif", U = i.value ? i.value : "1.6em", de = C.value !== 0 && !C.value || C.value < 0 ? 100 : C.value, H = w.value !== 0 && !w.value || w.value < 0 ? 1.42857143 : w.value;
446
446
  return {
447
447
  disabled: u,
448
448
  borderRadius: S,
@@ -477,7 +477,7 @@ const Tt = ["tabIndex", "title"], Ht = ["id"], It = /* @__PURE__ */ Object.assig
477
477
  oe.value && Object.keys(oe.value).forEach((s) => u[`aria-${s}`] = oe.value[s]);
478
478
  const d = {
479
479
  "aria-label": ae.value,
480
- "aria-disabled": v.value,
480
+ "aria-disabled": c.value,
481
481
  ...u
482
482
  };
483
483
  return Object.fromEntries(
@@ -496,14 +496,14 @@ const Tt = ["tabIndex", "title"], Ht = ["id"], It = /* @__PURE__ */ Object.assig
496
496
  }, X.value, {
497
497
  onClick: d[1] || (d[1] = (o) => f(o)),
498
498
  onKeydown: [
499
- d[2] || (d[2] = F(z((o) => !n(v) && e.hasTabIndexEnter && f(o), ["prevent"]), ["enter"])),
500
- d[3] || (d[3] = F(z((o) => !n(v) && e.hasTabIndexSpace && f(o), ["prevent"]), ["space"]))
499
+ d[2] || (d[2] = F(z((o) => !n(c) && e.hasTabIndexEnter && f(o), ["prevent"]), ["enter"])),
500
+ d[3] || (d[3] = F(z((o) => !n(c) && e.hasTabIndexSpace && f(o), ["prevent"]), ["space"]))
501
501
  ]
502
502
  }), [
503
503
  se("a", {
504
504
  id: e.nbId,
505
505
  class: ge(["nb-reset component tertiary", [N.value]]),
506
- style: ve([D.value]),
506
+ style: ce([D.value]),
507
507
  onClick: d[0] || (d[0] = z(() => {
508
508
  }, ["prevent"]))
509
509
  }, [
@@ -513,7 +513,7 @@ const Tt = ["tabIndex", "title"], Ht = ["id"], It = /* @__PURE__ */ Object.assig
513
513
  ], 14, Ht)
514
514
  ], 16, Tt)) : ye("", !0);
515
515
  }
516
- }), wt = /* @__PURE__ */ Te(It, [["__scopeId", "data-v-1872dad2"]]);
516
+ }), wt = /* @__PURE__ */ Te(It, [["__scopeId", "data-v-d7a87d7b"]]);
517
517
  const Nt = ["id"], $t = ["tabIndex", "title"], Dt = ["tabIndex", "title"], Lt = /* @__PURE__ */ Object.assign({
518
518
  name: "NbButtonPrevNext",
519
519
  inheritAttrs: !1
@@ -703,9 +703,9 @@ const Nt = ["id"], $t = ["tabIndex", "title"], Dt = ["tabIndex", "title"], Lt =
703
703
  darkTextColor: I,
704
704
  darkTextColorHover: T,
705
705
  darkDisabledBgColor: V,
706
- paddingX: v,
706
+ paddingX: c,
707
707
  paddingY: m,
708
- marginBetween: c,
708
+ marginBetween: v,
709
709
  borderRadius: h,
710
710
  disabled: i,
711
711
  disabledPreview: C,
@@ -714,7 +714,7 @@ const Nt = ["id"], $t = ["tabIndex", "title"], Dt = ["tabIndex", "title"], Lt =
714
714
  fontSize: _,
715
715
  fontWeight: R
716
716
  } = Ve(ue), N = t(() => {
717
- const g = i.value ? "component-disabled" : "", p = C.value ? "component-disabled" : "", K = w.value ? "component-disabled" : "", $ = c.value !== 0 && !c.value || c.value < 0 ? 0 : c.value, re = h.value !== 0 && !h.value || h.value < 0 ? 0 : h.value, fe = v.value !== 0 && !v.value || v.value < 0 ? 1 : v.value, ie = m.value !== 0 && !m.value || m.value < 0 ? 10 : m.value, Ce = _.value ? _.value : "1.6em", j = R.value !== 0 && !R.value || R.value < 0 ? 100 : R.value;
717
+ const g = i.value ? "component-disabled" : "", p = C.value ? "component-disabled" : "", K = w.value ? "component-disabled" : "", $ = v.value !== 0 && !v.value || v.value < 0 ? 0 : v.value, re = h.value !== 0 && !h.value || h.value < 0 ? 0 : h.value, fe = c.value !== 0 && !c.value || c.value < 0 ? 1 : c.value, ie = m.value !== 0 && !m.value || m.value < 0 ? 10 : m.value, Ce = _.value ? _.value : "1.6em", j = R.value !== 0 && !R.value || R.value < 0 ? 100 : R.value;
718
718
  return {
719
719
  disabled: g,
720
720
  disabledPreview: p,
@@ -780,12 +780,12 @@ const Nt = ["id"], $t = ["tabIndex", "title"], Dt = ["tabIndex", "title"], Lt =
780
780
  return (g, p) => e.nbId ? (pe(), be("div", {
781
781
  key: 0,
782
782
  class: ge(["nb-wrapper", D.value]),
783
- style: ve([L.value])
783
+ style: ce([L.value])
784
784
  }, [
785
785
  se("div", {
786
786
  id: e.nbId,
787
787
  class: ge(["nb-reset", "component", P.value]),
788
- style: ve(r.value)
788
+ style: ce(r.value)
789
789
  }, [
790
790
  e.showPreview ? (pe(), be("div", Be({
791
791
  key: 0,
@@ -980,14 +980,14 @@ const Ot = ["tabIndex", "title"], _t = ["id"], Rt = /* @__PURE__ */ Object.assig
980
980
  paddingX: I,
981
981
  paddingY: T,
982
982
  borderRadius: V,
983
- disabled: v,
983
+ disabled: c,
984
984
  animationSlow: m,
985
- fontFamily: c,
985
+ fontFamily: v,
986
986
  fontSize: h,
987
987
  fontWeight: i,
988
988
  lineHeight: C
989
989
  } = Ve(ue), w = t(() => {
990
- const f = v.value ? "component-disabled" : "", u = ae.value !== "b" ? "inline-block" : "block", d = I.value !== 0 && !I.value || I.value < 0 ? 1 : I.value, o = T.value !== 0 && !T.value || T.value < 0 ? 0.2 : T.value, s = V.value !== 0 && !V.value || V.value < 0 ? 0 : V.value, S = m.value ? "" : "component-transition__no-slow", b = c.value ? c.value : "'Lato', sans-serif", U = h.value ? h.value : "1.6em", de = i.value !== 0 && !i.value || i.value < 0 ? 100 : i.value, H = C.value !== 0 && !C.value || C.value < 0 ? 1.42857143 : C.value;
990
+ const f = c.value ? "component-disabled" : "", u = ae.value !== "b" ? "inline-block" : "block", d = I.value !== 0 && !I.value || I.value < 0 ? 1 : I.value, o = T.value !== 0 && !T.value || T.value < 0 ? 0.2 : T.value, s = V.value !== 0 && !V.value || V.value < 0 ? 0 : V.value, S = m.value ? "" : "component-transition__no-slow", b = v.value ? v.value : "'Lato', sans-serif", U = h.value ? h.value : "1.6em", de = i.value !== 0 && !i.value || i.value < 0 ? 100 : i.value, H = C.value !== 0 && !C.value || C.value < 0 ? 1.42857143 : C.value;
991
991
  return {
992
992
  disabled: f,
993
993
  display: u,
@@ -1020,7 +1020,7 @@ const Ot = ["tabIndex", "title"], _t = ["id"], Rt = /* @__PURE__ */ Object.assig
1020
1020
  B.value && Object.keys(B.value).forEach((o) => f[`aria-${o}`] = B.value[o]);
1021
1021
  const u = {
1022
1022
  "aria-label": oe.value,
1023
- "aria-disabled": v.value,
1023
+ "aria-disabled": c.value,
1024
1024
  ...f
1025
1025
  };
1026
1026
  return Object.fromEntries(
@@ -1039,14 +1039,14 @@ const Ot = ["tabIndex", "title"], _t = ["id"], Rt = /* @__PURE__ */ Object.assig
1039
1039
  }, A.value, {
1040
1040
  onClick: u[0] || (u[0] = (d) => X(d)),
1041
1041
  onKeydown: [
1042
- u[1] || (u[1] = F(z((d) => !n(v) && e.hasTabIndexEnter && X(d), ["prevent"]), ["enter"])),
1043
- u[2] || (u[2] = F(z((d) => !n(v) && e.hasTabIndexSpace && X(d), ["prevent"]), ["space"]))
1042
+ u[1] || (u[1] = F(z((d) => !n(c) && e.hasTabIndexEnter && X(d), ["prevent"]), ["enter"])),
1043
+ u[2] || (u[2] = F(z((d) => !n(c) && e.hasTabIndexSpace && X(d), ["prevent"]), ["space"]))
1044
1044
  ]
1045
1045
  }), [
1046
1046
  se("div", {
1047
1047
  id: e.nbId,
1048
1048
  class: ge(["nb-reset", "component", "component-transition", D.value, R.value]),
1049
- style: ve([N.value])
1049
+ style: ce([N.value])
1050
1050
  }, [
1051
1051
  me(f.$slots, "content", {}, () => [
1052
1052
  u[3] || (u[3] = he("Default Text"))
@@ -1204,13 +1204,13 @@ const zt = ["tabIndex", "title"], Yt = ["id"], Xt = /* @__PURE__ */ Object.assig
1204
1204
  paddingX: I,
1205
1205
  paddingY: T,
1206
1206
  borderRadius: V,
1207
- disabled: v,
1207
+ disabled: c,
1208
1208
  fontFamily: m,
1209
- fontSize: c,
1209
+ fontSize: v,
1210
1210
  fontWeight: h,
1211
1211
  lineHeight: i
1212
1212
  } = Ve(ue), C = t(() => {
1213
- const A = v.value ? "component-disabled" : "", X = ae.value !== "b" ? "inline-block" : "block", f = I.value !== 0 && !I.value || I.value < 0 ? 1 : I.value, u = T.value !== 0 && !T.value || T.value < 0 ? 1 : T.value, d = V.value !== 0 && !V.value || V.value < 0 ? 0 : V.value, o = m.value ? m.value : "'Lato', sans-serif", s = c.value ? c.value : "1.6em", S = h.value !== 0 && !h.value || h.value < 0 ? 100 : h.value, b = i.value !== 0 && !i.value || i.value < 0 ? 1.42857143 : i.value;
1213
+ const A = c.value ? "component-disabled" : "", X = ae.value !== "b" ? "inline-block" : "block", f = I.value !== 0 && !I.value || I.value < 0 ? 1 : I.value, u = T.value !== 0 && !T.value || T.value < 0 ? 1 : T.value, d = V.value !== 0 && !V.value || V.value < 0 ? 0 : V.value, o = m.value ? m.value : "'Lato', sans-serif", s = v.value ? v.value : "1.6em", S = h.value !== 0 && !h.value || h.value < 0 ? 100 : h.value, b = i.value !== 0 && !i.value || i.value < 0 ? 1.42857143 : i.value;
1214
1214
  return {
1215
1215
  disabled: A,
1216
1216
  display: X,
@@ -1242,7 +1242,7 @@ const zt = ["tabIndex", "title"], Yt = ["id"], Xt = /* @__PURE__ */ Object.assig
1242
1242
  B.value && Object.keys(B.value).forEach((u) => A[`aria-${u}`] = B.value[u]);
1243
1243
  const X = {
1244
1244
  "aria-label": oe.value,
1245
- "aria-disabled": v.value,
1245
+ "aria-disabled": c.value,
1246
1246
  ...A
1247
1247
  };
1248
1248
  return Object.fromEntries(
@@ -1261,14 +1261,14 @@ const zt = ["tabIndex", "title"], Yt = ["id"], Xt = /* @__PURE__ */ Object.assig
1261
1261
  }, W.value, {
1262
1262
  onClick: X[0] || (X[0] = (f) => P(f)),
1263
1263
  onKeydown: [
1264
- X[1] || (X[1] = F(z((f) => !n(v) && e.hasTabIndexEnter && P(f), ["prevent"]), ["enter"])),
1265
- X[2] || (X[2] = F(z((f) => !n(v) && e.hasTabIndexSpace && P(f), ["prevent"]), ["space"]))
1264
+ X[1] || (X[1] = F(z((f) => !n(c) && e.hasTabIndexEnter && P(f), ["prevent"]), ["enter"])),
1265
+ X[2] || (X[2] = F(z((f) => !n(c) && e.hasTabIndexSpace && P(f), ["prevent"]), ["space"]))
1266
1266
  ]
1267
1267
  }), [
1268
1268
  se("div", {
1269
1269
  id: e.nbId,
1270
1270
  class: ge(["nb-reset", "component", "component-transition", _.value]),
1271
- style: ve([R.value])
1271
+ style: ce([R.value])
1272
1272
  }, [
1273
1273
  me(A.$slots, "content", {}, () => [
1274
1274
  X[3] || (X[3] = he("Default Text"))
@@ -1415,11 +1415,11 @@ const Et = ["tabIndex", "title"], Ft = ["id"], Pt = /* @__PURE__ */ Object.assig
1415
1415
  darkContainerColor: I,
1416
1416
  darkContainerColorHover: T,
1417
1417
  darkDisabledBgColor: V,
1418
- paddingX: v,
1418
+ paddingX: c,
1419
1419
  paddingY: m,
1420
- disabled: c
1420
+ disabled: v
1421
1421
  } = Ve(ue), h = t(() => {
1422
- const f = c.value ? "component-disabled" : "", u = ae.value ? "change" : "", d = v.value !== 0 && !v.value || v.value < 0 ? 3 : v.value, o = m.value !== 0 && !m.value || m.value < 0 ? 3 : m.value;
1422
+ const f = v.value ? "component-disabled" : "", u = ae.value ? "change" : "", d = c.value !== 0 && !c.value || c.value < 0 ? 3 : c.value, o = m.value !== 0 && !m.value || m.value < 0 ? 3 : m.value;
1423
1423
  return {
1424
1424
  disabled: f,
1425
1425
  buttonStatus: u,
@@ -1436,7 +1436,7 @@ const Et = ["tabIndex", "title"], Ft = ["id"], Pt = /* @__PURE__ */ Object.assig
1436
1436
  B.value && Object.keys(B.value).forEach((o) => f[`aria-${o}`] = B.value[o]);
1437
1437
  const u = {
1438
1438
  "aria-label": oe.value,
1439
- "aria-disabled": c.value,
1439
+ "aria-disabled": v.value,
1440
1440
  ...f
1441
1441
  };
1442
1442
  return Object.fromEntries(
@@ -1458,8 +1458,8 @@ const Et = ["tabIndex", "title"], Ft = ["id"], Pt = /* @__PURE__ */ Object.assig
1458
1458
  }, A.value, {
1459
1459
  onClick: u[0] || (u[0] = (d) => X(d)),
1460
1460
  onKeydown: [
1461
- u[1] || (u[1] = F(z((d) => !n(c) && e.hasTabIndexEnter && X(d), ["prevent"]), ["enter"])),
1462
- u[2] || (u[2] = F(z((d) => !n(c) && e.hasTabIndexSpace && X(d), ["prevent"]), ["space"]))
1461
+ u[1] || (u[1] = F(z((d) => !n(v) && e.hasTabIndexEnter && X(d), ["prevent"]), ["enter"])),
1462
+ u[2] || (u[2] = F(z((d) => !n(v) && e.hasTabIndexSpace && X(d), ["prevent"]), ["space"]))
1463
1463
  ]
1464
1464
  }), [
1465
1465
  se("div", {
@@ -1468,15 +1468,15 @@ const Et = ["tabIndex", "title"], Ft = ["id"], Pt = /* @__PURE__ */ Object.assig
1468
1468
  }, [
1469
1469
  se("div", {
1470
1470
  class: "component__line-one",
1471
- style: ve(y.value)
1471
+ style: ce(y.value)
1472
1472
  }, null, 4),
1473
1473
  se("div", {
1474
1474
  class: "component__line-two",
1475
- style: ve(y.value)
1475
+ style: ce(y.value)
1476
1476
  }, null, 4),
1477
1477
  se("div", {
1478
1478
  class: "component__line-three",
1479
- style: ve(y.value)
1479
+ style: ce(y.value)
1480
1480
  }, null, 4)
1481
1481
  ], 10, Ft)
1482
1482
  ], 16, Et)) : ye("", !0);
@@ -1650,9 +1650,9 @@ const Mt = ["tabIndex", "title"], qt = ["id"], Ut = /* @__PURE__ */ Object.assig
1650
1650
  paddingX: I,
1651
1651
  paddingY: T,
1652
1652
  marginTop: V,
1653
- marginBottom: v,
1653
+ marginBottom: c,
1654
1654
  marginRight: m,
1655
- marginLeft: c,
1655
+ marginLeft: v,
1656
1656
  borderRadius: h,
1657
1657
  disabled: i,
1658
1658
  fontFamily: C,
@@ -1660,7 +1660,7 @@ const Mt = ["tabIndex", "title"], qt = ["id"], Ut = /* @__PURE__ */ Object.assig
1660
1660
  fontWeight: y,
1661
1661
  lineHeight: _
1662
1662
  } = Ve(ue), R = t(() => {
1663
- const b = i.value ? "component-disabled" : "", U = ae.value !== "b" ? "inline-block" : "block", de = I.value !== 0 && !I.value || I.value < 0 ? 1 : I.value, H = T.value !== 0 && !T.value || T.value < 0 ? 0.2 : T.value, g = V.value !== 0 && !V.value || V.value < 0 ? 0 : V.value, p = v.value !== 0 && !v.value || v.value < 0 ? 0 : v.value, K = m.value !== 0 && !m.value || m.value < 0 ? 0 : m.value, $ = c.value !== 0 && !c.value || c.value < 0 ? 0 : c.value, re = h.value !== 0 && !h.value || h.value < 0 ? 0 : h.value, fe = C.value ? C.value : "'Lato', sans-serif", ie = w.value ? w.value : "1.6em", Ce = y.value !== 0 && !y.value || y.value < 0 ? 200 : y.value, j = _.value !== 0 && !_.value || _.value < 0 ? 1.42857143 : _.value;
1663
+ const b = i.value ? "component-disabled" : "", U = ae.value !== "b" ? "inline-block" : "block", de = I.value !== 0 && !I.value || I.value < 0 ? 1 : I.value, H = T.value !== 0 && !T.value || T.value < 0 ? 0.2 : T.value, g = V.value !== 0 && !V.value || V.value < 0 ? 0 : V.value, p = c.value !== 0 && !c.value || c.value < 0 ? 0 : c.value, K = m.value !== 0 && !m.value || m.value < 0 ? 0 : m.value, $ = v.value !== 0 && !v.value || v.value < 0 ? 0 : v.value, re = h.value !== 0 && !h.value || h.value < 0 ? 0 : h.value, fe = C.value ? C.value : "'Lato', sans-serif", ie = w.value ? w.value : "1.6em", Ce = y.value !== 0 && !y.value || y.value < 0 ? 200 : y.value, j = _.value !== 0 && !_.value || _.value < 0 ? 1.42857143 : _.value;
1664
1664
  return {
1665
1665
  disabled: b,
1666
1666
  display: U,
@@ -1726,11 +1726,11 @@ const Mt = ["tabIndex", "title"], qt = ["id"], Ut = /* @__PURE__ */ Object.assig
1726
1726
  se("div", {
1727
1727
  id: e.nbId,
1728
1728
  class: ge(["nb-reset", "component", k.value]),
1729
- style: ve([Y.value])
1729
+ style: ce([Y.value])
1730
1730
  }, [
1731
1731
  se("div", {
1732
1732
  class: "component-content",
1733
- style: ve([E.value])
1733
+ style: ce([E.value])
1734
1734
  }, [
1735
1735
  me(b.$slots, "content", {}, () => [
1736
1736
  U[3] || (U[3] = he("Default Text"))
@@ -1871,17 +1871,17 @@ const Jt = ["tabIndex", "title"], Qt = ["id"], Zt = /* @__PURE__ */ Object.assig
1871
1871
  emits: ["clicked"],
1872
1872
  setup(e, { emit: l }) {
1873
1873
  ke((r) => ({
1874
- b30b8dbe: D.value,
1875
- f288fa64: n(i),
1876
- "54f255e9": n(c),
1877
- a05231e4: n(C),
1878
- e002665a: n(h),
1879
- "3fb97fdc": n(V),
1880
- "19405ba6": n(I),
1881
- "16c6d44a": n(v),
1882
- "0aaf49e2": n(T),
1883
- "30c51acc": n(w),
1884
- "5eab2cde": n(m)
1874
+ "1aea0f2a": D.value,
1875
+ "354c56c4": n(i),
1876
+ bac3f742: n(v),
1877
+ "4d9a1cd8": n(C),
1878
+ "6c688fc6": n(h),
1879
+ "03aceadc": n(V),
1880
+ "5b29f277": n(I),
1881
+ "316a57c0": n(c),
1882
+ "0b0e4df6": n(T),
1883
+ "0240f610": n(w),
1884
+ cf0fcfb0: n(m)
1885
1885
  }));
1886
1886
  const J = l, ue = e, {
1887
1887
  display: ae,
@@ -1899,15 +1899,15 @@ const Jt = ["tabIndex", "title"], Qt = ["id"], Zt = /* @__PURE__ */ Object.assig
1899
1899
  lightButtonColor: I,
1900
1900
  lightButtonColorHover: T,
1901
1901
  lightTextColor: V,
1902
- lightTextColorHover: v,
1902
+ lightTextColorHover: c,
1903
1903
  lightDisabledBgColor: m,
1904
- darkButtonColor: c,
1904
+ darkButtonColor: v,
1905
1905
  darkButtonColorHover: h,
1906
1906
  darkTextColor: i,
1907
1907
  darkTextColorHover: C,
1908
1908
  darkDisabledBgColor: w
1909
1909
  } = Ve(ue), y = t(() => {
1910
- const r = G.value ? "component-disabled" : "", k = ae.value !== "b" ? "inline-block" : "block", W = M.value !== 0 && !M.value || M.value < 0 ? 1 : M.value, P = Q.value !== 0 && !Q.value || Q.value < 0 ? 0.2 : Q.value, A = le.value !== 0 && !le.value || le.value < 0 ? 0 : le.value, X = ee.value ? ee.value : "'Lato', sans-serif", f = ne.value ? ne.value : "1.6rem", u = te.value !== 0 && !te.value || te.value < 0 ? 100 : te.value, d = q.value !== 0 && !q.value || q.value < 0 ? 1.42857143 : q.value, o = O.value ? O.value : "light";
1910
+ const r = G.value ? "component-disabled" : "", k = ae.value !== "b" ? "inline-block" : "block", W = M.value !== 0 && !M.value || M.value < 0 ? 1 : M.value, P = Q.value !== 0 && !Q.value || Q.value < 0 ? 0.2 : Q.value, A = le.value !== 0 && !le.value || le.value < 0 ? 0 : le.value, X = ee.value ? ee.value : "'Lato', sans-serif", f = ne.value ? ne.value : "1.6em", u = te.value !== 0 && !te.value || te.value < 0 ? 100 : te.value, d = q.value !== 0 && !q.value || q.value < 0 ? 1.42857143 : q.value, o = O.value ? O.value : "light";
1911
1911
  return {
1912
1912
  disabled: r,
1913
1913
  display: k,
@@ -1973,7 +1973,7 @@ const Jt = ["tabIndex", "title"], Qt = ["id"], Zt = /* @__PURE__ */ Object.assig
1973
1973
  se("div", {
1974
1974
  id: e.nbId,
1975
1975
  class: ge(["nb-reset component component-transition", [Y.value]]),
1976
- style: ve([N.value])
1976
+ style: ce([N.value])
1977
1977
  }, [
1978
1978
  me(r.$slots, "content", {}, () => [
1979
1979
  k[3] || (k[3] = he("Default Text"))
@@ -1981,7 +1981,7 @@ const Jt = ["tabIndex", "title"], Qt = ["id"], Zt = /* @__PURE__ */ Object.assig
1981
1981
  ], 14, Qt)
1982
1982
  ], 16, Jt)) : ye("", !0);
1983
1983
  }
1984
- }), ea = /* @__PURE__ */ Te(Zt, [["__scopeId", "data-v-90b070ca"]]);
1984
+ }), ea = /* @__PURE__ */ Te(Zt, [["__scopeId", "data-v-6d5b935f"]]);
1985
1985
  const ta = ["tabIndex", "title"], aa = ["id"], la = { class: "first-child" }, oa = { class: "last-child" }, na = /* @__PURE__ */ Object.assign({
1986
1986
  name: "NbButtonAlternateText",
1987
1987
  inheritAttrs: !1
@@ -2158,9 +2158,9 @@ const ta = ["tabIndex", "title"], aa = ["id"], la = { class: "first-child" }, oa
2158
2158
  darkButtonColor: I,
2159
2159
  darkButtonColorHover: T,
2160
2160
  darkBorderColor: V,
2161
- darkDisabledBgColor: v,
2161
+ darkDisabledBgColor: c,
2162
2162
  showBorder: m,
2163
- borderRadius: c,
2163
+ borderRadius: v,
2164
2164
  paddingX: h,
2165
2165
  paddingY: i,
2166
2166
  disabled: C,
@@ -2169,7 +2169,7 @@ const ta = ["tabIndex", "title"], aa = ["id"], la = { class: "first-child" }, oa
2169
2169
  fontWeight: _,
2170
2170
  lineHeight: R
2171
2171
  } = Ve(ue), N = t(() => {
2172
- const H = C.value ? "component-disabled" : "", g = ae.value !== "b" ? "inline-block" : "block", p = c.value !== 0 && !c.value || c.value < 0 ? 0 : c.value, K = [!1, !0].includes(m.value) ? m.value : !0, $ = h.value !== 0 && !h.value || h.value < 0 ? 1 : h.value, re = i.value !== 0 && !i.value || i.value < 0 ? 0.2 : i.value, fe = w.value ? w.value : "'Lato', sans-serif", ie = y.value ? y.value : "1.6em", Ce = _.value !== 0 && !_.value || _.value < 0 ? 200 : _.value, j = R.value !== 0 && !R.value || R.value < 0 ? 1.42857143 : R.value;
2172
+ const H = C.value ? "component-disabled" : "", g = ae.value !== "b" ? "inline-block" : "block", p = v.value !== 0 && !v.value || v.value < 0 ? 0 : v.value, K = [!1, !0].includes(m.value) ? m.value : !0, $ = h.value !== 0 && !h.value || h.value < 0 ? 1 : h.value, re = i.value !== 0 && !i.value || i.value < 0 ? 0.2 : i.value, fe = w.value ? w.value : "'Lato', sans-serif", ie = y.value ? y.value : "1.6em", Ce = _.value !== 0 && !_.value || _.value < 0 ? 200 : _.value, j = R.value !== 0 && !R.value || R.value < 0 ? 1.42857143 : R.value;
2173
2173
  return {
2174
2174
  disabled: H,
2175
2175
  display: g,
@@ -2193,7 +2193,7 @@ const ta = ["tabIndex", "title"], aa = ["id"], la = { class: "first-child" }, oa
2193
2193
  fontSize: H.fontSize,
2194
2194
  fontWeight: H.fontWeight
2195
2195
  };
2196
- }), L = t(() => N.value.font), r = t(() => M.value === "dark" ? "component__theme--dark" : "component__theme--light"), k = t(() => Q.value), W = t(() => le.value), P = t(() => G.value), A = t(() => ee.value), X = t(() => ne.value), f = t(() => te.value), u = t(() => q.value), d = t(() => O.value), o = t(() => I.value), s = t(() => T.value), S = t(() => V.value), b = t(() => v.value), U = t(() => {
2196
+ }), L = t(() => N.value.font), r = t(() => M.value === "dark" ? "component__theme--dark" : "component__theme--light"), k = t(() => Q.value), W = t(() => le.value), P = t(() => G.value), A = t(() => ee.value), X = t(() => ne.value), f = t(() => te.value), u = t(() => q.value), d = t(() => O.value), o = t(() => I.value), s = t(() => T.value), S = t(() => V.value), b = t(() => c.value), U = t(() => {
2197
2197
  const H = {};
2198
2198
  B.value && Object.keys(B.value).forEach((K) => H[`aria-${K}`] = B.value[K]);
2199
2199
  const g = {
@@ -2224,7 +2224,7 @@ const ta = ["tabIndex", "title"], aa = ["id"], la = { class: "first-child" }, oa
2224
2224
  se("div", {
2225
2225
  id: e.nbId,
2226
2226
  class: ge(["nb-reset", "component", r.value, { "component--no-border": !n(m) }]),
2227
- style: ve([E.value])
2227
+ style: ce([E.value])
2228
2228
  }, [
2229
2229
  se("div", la, [
2230
2230
  me(H.$slots, "content", {}, () => [
@@ -2337,7 +2337,7 @@ const ua = ["tabIndex", "title"], da = ["id"], ia = /* @__PURE__ */ Object.assig
2337
2337
  ke((D) => ({
2338
2338
  "7c3baba0": w.value,
2339
2339
  "17dec660": h.value,
2340
- "87fd26e6": c.value,
2340
+ "87fd26e6": v.value,
2341
2341
  "256efac0": C.value,
2342
2342
  "90ca5e26": i.value
2343
2343
  })), Ge(() => {
@@ -2365,13 +2365,13 @@ const ua = ["tabIndex", "title"], da = ["id"], ia = /* @__PURE__ */ Object.assig
2365
2365
  fontWeight: L,
2366
2366
  disabled: D
2367
2367
  };
2368
- }), V = t(() => ({})), v = t(() => {
2368
+ }), V = t(() => ({})), c = t(() => {
2369
2369
  const D = T.value;
2370
2370
  return {
2371
2371
  fontSize: D.fontSize,
2372
2372
  fontWeight: D.fontWeight
2373
2373
  };
2374
- }), m = t(() => B.value === "dark" ? "component__theme--dark" : "component__theme--light"), c = t(() => M.value), h = t(() => Q.value);
2374
+ }), m = t(() => B.value === "dark" ? "component__theme--dark" : "component__theme--light"), v = t(() => M.value), h = t(() => Q.value);
2375
2375
  t(() => le.value);
2376
2376
  const i = t(() => G.value), C = t(() => ee.value);
2377
2377
  t(() => ne.value);
@@ -2407,7 +2407,7 @@ const ua = ["tabIndex", "title"], da = ["id"], ia = /* @__PURE__ */ Object.assig
2407
2407
  se("div", {
2408
2408
  id: e.nbId,
2409
2409
  class: ge(["nb-reset", "component", m.value]),
2410
- style: ve([v.value])
2410
+ style: ce([c.value])
2411
2411
  }, [
2412
2412
  Y[3] || (Y[3] = se("svg", {
2413
2413
  xmlns: "http://www.w3.org/2000/svg",
@@ -2425,7 +2425,7 @@ const ua = ["tabIndex", "title"], da = ["id"], ia = /* @__PURE__ */ Object.assig
2425
2425
  ], 16, ua)) : ye("", !0);
2426
2426
  }
2427
2427
  }), sa = /* @__PURE__ */ Te(ia, [["__scopeId", "data-v-9d39f792"]]);
2428
- const fa = ["tabIndex", "title"], va = ["id"], ca = /* @__PURE__ */ Object.assign({
2428
+ const fa = ["tabIndex", "title"], ca = ["id"], va = /* @__PURE__ */ Object.assign({
2429
2429
  name: "NbButtonGradientBorderToBackground",
2430
2430
  inheritAttrs: !1
2431
2431
  }, {
@@ -2557,10 +2557,10 @@ const fa = ["tabIndex", "title"], va = ["id"], ca = /* @__PURE__ */ Object.assig
2557
2557
  disabled: I,
2558
2558
  fontFamily: T,
2559
2559
  fontSize: V,
2560
- fontWeight: v,
2560
+ fontWeight: c,
2561
2561
  lineHeight: m
2562
- } = Ve(ue), c = t(() => {
2563
- const r = I.value ? "component-disabled" : "", k = ae.value !== "b" ? "inline-block" : "block", W = M.value ? M.value : "#ffffff", P = le.value ? le.value : "#000000", A = Q.value ? Q.value : "#ffe54c", X = ee.value !== 0 && !ee.value || ee.value < 0 ? 0 : ee.value, f = [!1, !0].includes(G.value) ? G.value : !0, u = ne.value ? ne.value : "#ffffff", d = te.value ? te.value : "#000000", o = q.value !== 0 && !q.value || q.value < 0 ? 1 : q.value, s = O.value !== 0 && !O.value || O.value < 0 ? 0.2 : O.value, S = T.value ? T.value : "'Lato', sans-serif", b = V.value ? V.value : "1.6em", U = v.value !== 0 && !v.value || v.value < 0 ? 200 : v.value, de = m.value !== 0 && !m.value || m.value < 0 ? 1.42857143 : m.value;
2562
+ } = Ve(ue), v = t(() => {
2563
+ const r = I.value ? "component-disabled" : "", k = ae.value !== "b" ? "inline-block" : "block", W = M.value ? M.value : "#ffffff", P = le.value ? le.value : "#000000", A = Q.value ? Q.value : "#ffe54c", X = ee.value !== 0 && !ee.value || ee.value < 0 ? 0 : ee.value, f = [!1, !0].includes(G.value) ? G.value : !0, u = ne.value ? ne.value : "#ffffff", d = te.value ? te.value : "#000000", o = q.value !== 0 && !q.value || q.value < 0 ? 1 : q.value, s = O.value !== 0 && !O.value || O.value < 0 ? 0.2 : O.value, S = T.value ? T.value : "'Lato', sans-serif", b = V.value ? V.value : "1.6em", U = c.value !== 0 && !c.value || c.value < 0 ? 200 : c.value, de = m.value !== 0 && !m.value || m.value < 0 ? 1.42857143 : m.value;
2564
2564
  return {
2565
2565
  disabled: r,
2566
2566
  display: k,
@@ -2578,19 +2578,19 @@ const fa = ["tabIndex", "title"], va = ["id"], ca = /* @__PURE__ */ Object.assig
2578
2578
  fontWeight: U,
2579
2579
  lineHeight: de
2580
2580
  };
2581
- }), h = t(() => c.value.disabled), i = t(() => ({
2582
- display: c.value.display
2581
+ }), h = t(() => v.value.disabled), i = t(() => ({
2582
+ display: v.value.display
2583
2583
  })), C = t(() => {
2584
- const r = c.value;
2584
+ const r = v.value;
2585
2585
  return {
2586
2586
  lineHeight: r.lineHeight,
2587
2587
  fontSize: r.fontSize,
2588
2588
  fontWeight: r.fontWeight
2589
2589
  };
2590
- }), w = t(() => c.value.font), y = t(() => {
2591
- const r = c.value;
2590
+ }), w = t(() => v.value.font), y = t(() => {
2591
+ const r = v.value;
2592
2592
  return `${r.paddingY}rem ${r.paddingX}rem`;
2593
- }), _ = t(() => `${c.value.borderRadius}rem`), R = t(() => c.value.textColor), N = t(() => c.value.textHoverColor), D = t(() => c.value.buttonColor), Y = t(() => c.value.buttonHoverColor), E = t(() => {
2593
+ }), _ = t(() => `${v.value.borderRadius}rem`), R = t(() => v.value.textColor), N = t(() => v.value.textHoverColor), D = t(() => v.value.buttonColor), Y = t(() => v.value.buttonHoverColor), E = t(() => {
2594
2594
  const r = {};
2595
2595
  B.value && Object.keys(B.value).forEach((P) => r[`aria-${P}`] = B.value[P]);
2596
2596
  const k = {
@@ -2621,15 +2621,15 @@ const fa = ["tabIndex", "title"], va = ["id"], ca = /* @__PURE__ */ Object.assig
2621
2621
  se("div", {
2622
2622
  id: e.nbId,
2623
2623
  class: "nb-reset component",
2624
- style: ve([C.value])
2624
+ style: ce([C.value])
2625
2625
  }, [
2626
2626
  me(r.$slots, "content", {}, () => [
2627
2627
  k[3] || (k[3] = he("Default Text"))
2628
2628
  ], !0)
2629
- ], 12, va)
2629
+ ], 12, ca)
2630
2630
  ], 16, fa)) : ye("", !0);
2631
2631
  }
2632
- }), pa = /* @__PURE__ */ Te(ca, [["__scopeId", "data-v-7105af37"]]);
2632
+ }), pa = /* @__PURE__ */ Te(va, [["__scopeId", "data-v-7105af37"]]);
2633
2633
  const ba = ["tabIndex", "title"], ga = ["id"], ya = /* @__PURE__ */ Object.assign({
2634
2634
  name: "NbButtonNormal",
2635
2635
  inheritAttrs: !1
@@ -2807,7 +2807,7 @@ const ba = ["tabIndex", "title"], ga = ["id"], ya = /* @__PURE__ */ Object.assig
2807
2807
  "30a30a67": n(m),
2808
2808
  "73b86ca6": n(C),
2809
2809
  "4832f9d0": n(i),
2810
- fcbd91d6: n(c),
2810
+ fcbd91d6: n(v),
2811
2811
  "7d99d8e2": n(w),
2812
2812
  19099820: n(L),
2813
2813
  "5ac3b818": n(y)
@@ -2828,9 +2828,9 @@ const ba = ["tabIndex", "title"], ga = ["id"], ya = /* @__PURE__ */ Object.assig
2828
2828
  hasAnimation: I,
2829
2829
  animationDuration: T,
2830
2830
  animationDurationType: V,
2831
- theme: v,
2831
+ theme: c,
2832
2832
  lightButtonColor: m,
2833
- lightButtonColorHover: c,
2833
+ lightButtonColorHover: v,
2834
2834
  lightTextColor: h,
2835
2835
  lightTextColorHover: i,
2836
2836
  lightBorderColor: C,
@@ -2844,7 +2844,7 @@ const ba = ["tabIndex", "title"], ga = ["id"], ya = /* @__PURE__ */ Object.assig
2844
2844
  darkBorderColorHover: E,
2845
2845
  darkDisabledBgColor: L
2846
2846
  } = Ve(ue), r = t(() => {
2847
- const o = ee.value ? "component-disabled" : "", s = ae.value !== "b" ? "inline-block" : "block", S = Q.value !== 0 && !Q.value || Q.value < 0 ? 0 : Q.value, b = [!1, !0].includes(M.value) ? M.value : !0, U = le.value !== 0 && !le.value || le.value < 0 ? 1 : le.value, de = G.value !== 0 && !G.value || G.value < 0 ? 0.2 : G.value, H = ne.value ? ne.value : "'Lato', sans-serif", g = te.value ? te.value : "1.6em", p = q.value !== 0 && !q.value || q.value < 0 ? 200 : q.value, K = O.value !== 0 && !O.value || O.value < 0 ? 1.42857143 : O.value, $ = I.value ? "component-transition" : "", re = T.value !== 0 && !T.value || T.value < 0 ? 0.3 : T.value, fe = V.value ? V.value : "ms", ie = v.value ? v.value : "light";
2847
+ const o = ee.value ? "component-disabled" : "", s = ae.value !== "b" ? "inline-block" : "block", S = Q.value !== 0 && !Q.value || Q.value < 0 ? 0 : Q.value, b = [!1, !0].includes(M.value) ? M.value : !0, U = le.value !== 0 && !le.value || le.value < 0 ? 1 : le.value, de = G.value !== 0 && !G.value || G.value < 0 ? 0.2 : G.value, H = ne.value ? ne.value : "'Lato', sans-serif", g = te.value ? te.value : "1.6em", p = q.value !== 0 && !q.value || q.value < 0 ? 200 : q.value, K = O.value !== 0 && !O.value || O.value < 0 ? 1.42857143 : O.value, $ = I.value ? "component-transition" : "", re = T.value !== 0 && !T.value || T.value < 0 ? 0.3 : T.value, fe = V.value ? V.value : "ms", ie = c.value ? c.value : "light";
2848
2848
  return {
2849
2849
  disabled: o,
2850
2850
  display: s,
@@ -2913,7 +2913,7 @@ const ba = ["tabIndex", "title"], ga = ["id"], ya = /* @__PURE__ */ Object.assig
2913
2913
  se("div", {
2914
2914
  id: e.nbId,
2915
2915
  class: ge(["nb-reset component", [{ "component-transition": n(I), "component--no-border": !n(M) }, f.value]]),
2916
- style: ve([P.value])
2916
+ style: ce([P.value])
2917
2917
  }, [
2918
2918
  me(o.$slots, "content", {}, () => [
2919
2919
  s[3] || (s[3] = he("Default Text"))
@@ -3126,9 +3126,9 @@ const ha = ["tabIndex", "title"], Ca = ["id"], Sa = /* @__PURE__ */ Object.assig
3126
3126
  darkTextColorHover: I,
3127
3127
  darkButtonColor: T,
3128
3128
  darkButtonColorHover: V,
3129
- darkButtonShadowColor: v,
3129
+ darkButtonShadowColor: c,
3130
3130
  darkBorderColor: m,
3131
- darkDisabledBgColor: c,
3131
+ darkDisabledBgColor: v,
3132
3132
  borderRadius: h,
3133
3133
  paddingX: i,
3134
3134
  paddingY: C,
@@ -3173,7 +3173,7 @@ const ha = ["tabIndex", "title"], Ca = ["id"], Sa = /* @__PURE__ */ Object.assig
3173
3173
  marginRight: `${j.marginRight}px`,
3174
3174
  marginLeft: `${j.marginLeft}px`
3175
3175
  };
3176
- }), A = t(() => r.value.font), X = t(() => M.value === "dark" ? "component__theme--dark" : "component__theme--light"), f = t(() => Q.value), u = t(() => le.value), d = t(() => G.value), o = t(() => ee.value), s = t(() => `3px 3px 0 -1px ${ne.value}, 3px 3px 0 ${ne.value}`), S = t(() => `0 0 0 -1px ${ne.value}, 0 0 0 ${ne.value}`), b = t(() => te.value), U = t(() => q.value), de = t(() => O.value), H = t(() => I.value), g = t(() => T.value), p = t(() => V.value), K = t(() => `3px 3px 0 -1px ${v.value}, 3px 3px 0 ${v.value}`), $ = t(() => `0 0 0 -1px ${v.value}, 0 0 0 ${v.value}`), re = t(() => m.value), fe = t(() => c.value), ie = t(() => {
3176
+ }), A = t(() => r.value.font), X = t(() => M.value === "dark" ? "component__theme--dark" : "component__theme--light"), f = t(() => Q.value), u = t(() => le.value), d = t(() => G.value), o = t(() => ee.value), s = t(() => `3px 3px 0 -1px ${ne.value}, 3px 3px 0 ${ne.value}`), S = t(() => `0 0 0 -1px ${ne.value}, 0 0 0 ${ne.value}`), b = t(() => te.value), U = t(() => q.value), de = t(() => O.value), H = t(() => I.value), g = t(() => T.value), p = t(() => V.value), K = t(() => `3px 3px 0 -1px ${c.value}, 3px 3px 0 ${c.value}`), $ = t(() => `0 0 0 -1px ${c.value}, 0 0 0 ${c.value}`), re = t(() => m.value), fe = t(() => v.value), ie = t(() => {
3177
3177
  const j = {};
3178
3178
  B.value && Object.keys(B.value).forEach((Ie) => j[`aria-${Ie}`] = B.value[Ie]);
3179
3179
  const Se = {
@@ -3204,7 +3204,7 @@ const ha = ["tabIndex", "title"], Ca = ["id"], Sa = /* @__PURE__ */ Object.assig
3204
3204
  se("div", {
3205
3205
  id: e.nbId,
3206
3206
  class: ge(["nb-reset component", [X.value]]),
3207
- style: ve([P.value])
3207
+ style: ce([P.value])
3208
3208
  }, [
3209
3209
  me(j.$slots, "content", {}, () => [
3210
3210
  Se[3] || (Se[3] = he("Default Text"))
@@ -3379,16 +3379,16 @@ const Ba = ["tabIndex", "title"], ka = ["id"], Va = /* @__PURE__ */ Object.assig
3379
3379
  darkBorderColorHover: I,
3380
3380
  darkDisabledBgColor: T,
3381
3381
  borderHeight: V,
3382
- paddingX: v,
3382
+ paddingX: c,
3383
3383
  paddingY: m,
3384
- disabled: c,
3384
+ disabled: v,
3385
3385
  fontFamily: h,
3386
3386
  fontSize: i,
3387
3387
  fontWeight: C,
3388
3388
  lineHeight: w,
3389
3389
  textAlign: y
3390
3390
  } = Ve(ue), _ = t(() => {
3391
- const s = c.value ? "component-disabled" : "", S = ae.value !== "b" ? "inline-block" : "block", b = V.value !== 0 && !V.value || V.value < 0 ? 1.5 : V.value, U = v.value !== 0 && !v.value || v.value < 0 ? 1 : v.value, de = m.value !== 0 && !m.value || m.value < 0 ? 0.2 : m.value, H = h.value ? h.value : "'Lato', sans-serif", g = i.value ? i.value : "1.6em", p = C.value !== 0 && !C.value || C.value < 0 ? 200 : C.value, K = w.value !== 0 && !w.value || w.value < 0 ? 1.42857143 : w.value, $ = y.value ? y.value : "center";
3391
+ const s = v.value ? "component-disabled" : "", S = ae.value !== "b" ? "inline-block" : "block", b = V.value !== 0 && !V.value || V.value < 0 ? 1.5 : V.value, U = c.value !== 0 && !c.value || c.value < 0 ? 1 : c.value, de = m.value !== 0 && !m.value || m.value < 0 ? 0.2 : m.value, H = h.value ? h.value : "'Lato', sans-serif", g = i.value ? i.value : "1.6em", p = C.value !== 0 && !C.value || C.value < 0 ? 200 : C.value, K = w.value !== 0 && !w.value || w.value < 0 ? 1.42857143 : w.value, $ = y.value ? y.value : "center";
3392
3392
  return {
3393
3393
  disabled: s,
3394
3394
  display: S,
@@ -3424,7 +3424,7 @@ const Ba = ["tabIndex", "title"], ka = ["id"], Va = /* @__PURE__ */ Object.assig
3424
3424
  B.value && Object.keys(B.value).forEach((U) => s[`aria-${U}`] = B.value[U]);
3425
3425
  const S = {
3426
3426
  "aria-label": oe.value,
3427
- "aria-disabled": c.value,
3427
+ "aria-disabled": v.value,
3428
3428
  ...s
3429
3429
  };
3430
3430
  return Object.fromEntries(
@@ -3443,14 +3443,14 @@ const Ba = ["tabIndex", "title"], ka = ["id"], Va = /* @__PURE__ */ Object.assig
3443
3443
  }, d.value, {
3444
3444
  onClick: S[0] || (S[0] = (b) => o(b)),
3445
3445
  onKeydown: [
3446
- S[1] || (S[1] = F(z((b) => !n(c) && e.hasTabIndexEnter && o(b), ["prevent"]), ["enter"])),
3447
- S[2] || (S[2] = F(z((b) => !n(c) && e.hasTabIndexSpace && o(b), ["prevent"]), ["space"]))
3446
+ S[1] || (S[1] = F(z((b) => !n(v) && e.hasTabIndexEnter && o(b), ["prevent"]), ["enter"])),
3447
+ S[2] || (S[2] = F(z((b) => !n(v) && e.hasTabIndexSpace && o(b), ["prevent"]), ["space"]))
3448
3448
  ]
3449
3449
  }), [
3450
3450
  se("div", {
3451
3451
  id: e.nbId,
3452
3452
  class: ge(["nb-reset component", [E.value]]),
3453
- style: ve([D.value])
3453
+ style: ce([D.value])
3454
3454
  }, [
3455
3455
  me(s.$slots, "content", {}, () => [
3456
3456
  S[3] || (S[3] = he("Default Text"))
@@ -3619,15 +3619,15 @@ const Ha = ["tabIndex", "title"], Ia = ["id"], wa = /* @__PURE__ */ Object.assig
3619
3619
  darkButtonColorHover: I,
3620
3620
  darkDisabledBgColor: T,
3621
3621
  paddingX: V,
3622
- paddingY: v,
3622
+ paddingY: c,
3623
3623
  disabled: m,
3624
- fontFamily: c,
3624
+ fontFamily: v,
3625
3625
  fontSize: h,
3626
3626
  fontWeight: i,
3627
3627
  lineHeight: C,
3628
3628
  textAlign: w
3629
3629
  } = Ve(ue), y = t(() => {
3630
- const d = m.value ? "component-disabled" : "", o = ae.value !== "b" ? "inline-block" : "block", s = V.value !== 0 && !V.value || V.value < 0 ? 1 : V.value, S = v.value !== 0 && !v.value || v.value < 0 ? 0.2 : v.value, b = c.value ? c.value : "'Lato', sans-serif", U = h.value ? h.value : "1.6em", de = i.value !== 0 && !i.value || i.value < 0 ? 200 : i.value, H = C.value !== 0 && !C.value || C.value < 0 ? 1.42857143 : C.value, g = w.value ? w.value : "center";
3630
+ const d = m.value ? "component-disabled" : "", o = ae.value !== "b" ? "inline-block" : "block", s = V.value !== 0 && !V.value || V.value < 0 ? 1 : V.value, S = c.value !== 0 && !c.value || c.value < 0 ? 0.2 : c.value, b = v.value ? v.value : "'Lato', sans-serif", U = h.value ? h.value : "1.6em", de = i.value !== 0 && !i.value || i.value < 0 ? 200 : i.value, H = C.value !== 0 && !C.value || C.value < 0 ? 1.42857143 : C.value, g = w.value ? w.value : "center";
3631
3631
  return {
3632
3632
  disabled: d,
3633
3633
  display: o,
@@ -3688,7 +3688,7 @@ const Ha = ["tabIndex", "title"], Ia = ["id"], wa = /* @__PURE__ */ Object.assig
3688
3688
  se("div", {
3689
3689
  id: e.nbId,
3690
3690
  class: ge(["nb-reset component", [Y.value]]),
3691
- style: ve([N.value])
3691
+ style: ce([N.value])
3692
3692
  }, [
3693
3693
  me(d.$slots, "content", {}, () => [
3694
3694
  o[3] || (o[3] = he("Default Text"))
@@ -3957,9 +3957,9 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
3957
3957
  borderRadius: I,
3958
3958
  popupBorderRadius: T,
3959
3959
  width: V,
3960
- paddingX: v,
3960
+ paddingX: c,
3961
3961
  paddingY: m,
3962
- popupPaddingX: c,
3962
+ popupPaddingX: v,
3963
3963
  popupPaddingY: h,
3964
3964
  disabled: i,
3965
3965
  fontFamily: C,
@@ -3990,25 +3990,25 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
3990
3990
  darkMenuItemTextColor: H,
3991
3991
  darkDisabledBgColor: g
3992
3992
  } = Ve(ue), p = we(!1), K = we(null), $ = we(null), re = we(null), fe = we(null), ie = we(-1), Ce = we(!1), j = t(() => {
3993
- const a = i.value ? "component-disabled" : "", x = ae.value !== "b" ? "inline-block" : "block", Z = I.value !== 0 && !I.value || I.value < 0 ? 0 : I.value, ce = T.value !== null && T.value !== void 0 ? T.value < 0 ? 0 : T.value : Z, xe = [!1, !0].includes(q.value) ? q.value : !0, Ne = [!1, !0].includes(O.value) ? O.value : !0, $e = ee.value || "currentColor", Ae = ne.value || "2px", qe = te.value || "-2px", Ze = v.value !== 0 && !v.value || v.value < 0 ? 1 : v.value, et = m.value !== 0 && !m.value || m.value < 0 ? 0.32 : m.value, ft = c.value !== null && c.value !== void 0 ? c.value < 0 ? 1 : c.value : Ze, vt = h.value !== null && h.value !== void 0 ? h.value < 0 ? 0.2 : h.value : et, tt = C.value ? C.value : "'Lato', sans-serif", at = w.value ? w.value : "1.6em", lt = y.value !== 0 && !y.value || y.value < 0 ? 400 : y.value, ct = _.value || tt, pt = R.value || at, bt = N.value !== null && N.value !== void 0 ? N.value < 0 ? 400 : N.value : lt, gt = D.value ? D.value : "light";
3993
+ const a = i.value ? "component-disabled" : "", x = ae.value !== "b" ? "inline-block" : "block", Z = I.value !== 0 && !I.value || I.value < 0 ? 0 : I.value, ve = T.value !== null && T.value !== void 0 ? T.value < 0 ? 0 : T.value : Z, xe = [!1, !0].includes(q.value) ? q.value : !0, Ne = [!1, !0].includes(O.value) ? O.value : !0, $e = ee.value || "currentColor", Ae = ne.value || "2px", qe = te.value || "-2px", Ze = c.value !== 0 && !c.value || c.value < 0 ? 1 : c.value, et = m.value !== 0 && !m.value || m.value < 0 ? 0.32 : m.value, ft = v.value !== null && v.value !== void 0 ? v.value < 0 ? 1 : v.value : Ze, ct = h.value !== null && h.value !== void 0 ? h.value < 0 ? 0.2 : h.value : et, tt = C.value ? C.value : "'Lato', sans-serif", at = w.value ? w.value : "1.6em", lt = y.value !== 0 && !y.value || y.value < 0 ? 400 : y.value, vt = _.value || tt, pt = R.value || at, bt = N.value !== null && N.value !== void 0 ? N.value < 0 ? 400 : N.value : lt, gt = D.value ? D.value : "light";
3994
3994
  return {
3995
3995
  disabled: a,
3996
3996
  display: x,
3997
3997
  showBorder: xe,
3998
3998
  showPopupButton: Ne,
3999
3999
  borderRadius: Z,
4000
- popupBorderRadius: ce,
4000
+ popupBorderRadius: ve,
4001
4001
  menuItemFocusOutlineColor: $e,
4002
4002
  menuItemFocusOutlineWidth: Ae,
4003
4003
  menuItemFocusOutlineOffset: qe,
4004
4004
  paddingX: Ze,
4005
4005
  paddingY: et,
4006
4006
  popupPaddingX: ft,
4007
- popupPaddingY: vt,
4007
+ popupPaddingY: ct,
4008
4008
  font: tt,
4009
4009
  fontSize: at,
4010
4010
  fontWeight: lt,
4011
- popupFont: ct,
4011
+ popupFont: vt,
4012
4012
  popupFontSize: pt,
4013
4013
  popupFontWeight: bt,
4014
4014
  theme: gt
@@ -4038,7 +4038,7 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4038
4038
  borderBottomRightRadius: "0"
4039
4039
  } : {
4040
4040
  borderRadius: `${a.borderRadius}rem`
4041
- }, ce = a.showBorder ? a.showPopupButton ? {
4041
+ }, ve = a.showBorder ? a.showPopupButton ? {
4042
4042
  borderTop: `1px solid ${a.theme === "dark" ? S.value : k.value}`,
4043
4043
  borderBottom: `1px solid ${a.theme === "dark" ? S.value : k.value}`,
4044
4044
  borderLeft: `1px solid ${a.theme === "dark" ? S.value : k.value}`,
@@ -4054,7 +4054,7 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4054
4054
  fontSize: a.fontSize,
4055
4055
  fontWeight: a.fontWeight,
4056
4056
  fontFamily: a.font,
4057
- ...ce,
4057
+ ...ve,
4058
4058
  ...Z,
4059
4059
  minWidth: x === "auto" ? "33px" : x,
4060
4060
  "--main-button-hover-color": $e,
@@ -4068,10 +4068,10 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4068
4068
  borderBottom: `1px solid ${x}`,
4069
4069
  borderRight: `1px solid ${x}`,
4070
4070
  borderLeft: `1px solid ${x}`
4071
- } : { border: "none" }, ce = a.theme === "dark" ? u.value : Y.value, xe = a.theme === "dark" ? o.value : L.value, Ne = a.theme === "dark" ? d.value : E.value, $e = a.theme === "dark" ? s.value : r.value, Ae = a.theme === "dark" ? b.value : W.value;
4071
+ } : { border: "none" }, ve = a.theme === "dark" ? u.value : Y.value, xe = a.theme === "dark" ? o.value : L.value, Ne = a.theme === "dark" ? d.value : E.value, $e = a.theme === "dark" ? s.value : r.value, Ae = a.theme === "dark" ? b.value : W.value;
4072
4072
  return {
4073
4073
  color: xe,
4074
- backgroundColor: ce,
4074
+ backgroundColor: ve,
4075
4075
  padding: `${a.paddingY}rem ${a.paddingX * 0.5}rem`,
4076
4076
  fontSize: a.fontSize,
4077
4077
  fontWeight: a.fontWeight,
@@ -4087,14 +4087,14 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4087
4087
  "--popup-border-hover-color": Ae
4088
4088
  };
4089
4089
  }), Ye = t(() => {
4090
- const a = j.value, x = a.theme === "dark" ? U.value : P.value, Z = a.theme === "dark" ? H.value : X.value, ce = a.theme === "dark" ? de.value : A.value;
4090
+ const a = j.value, x = a.theme === "dark" ? U.value : P.value, Z = a.theme === "dark" ? H.value : X.value, ve = a.theme === "dark" ? de.value : A.value;
4091
4091
  return {
4092
4092
  backgroundColor: x,
4093
4093
  color: Z,
4094
4094
  borderRadius: `${a.popupBorderRadius}rem`,
4095
4095
  boxShadow: "0 2px 8px rgba(0, 0, 0, 0.15)",
4096
4096
  minHeight: M.value.length === 0 ? "40px" : "auto",
4097
- "--menu-item-hover-color": ce,
4097
+ "--menu-item-hover-color": ve,
4098
4098
  "--menu-item-focus-outline-color": a.menuItemFocusOutlineColor,
4099
4099
  "--menu-item-focus-outline-width": a.menuItemFocusOutlineWidth,
4100
4100
  "--menu-item-focus-outline-offset": a.menuItemFocusOutlineOffset
@@ -4107,14 +4107,14 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4107
4107
  }));
4108
4108
  t(() => {
4109
4109
  const a = {};
4110
- G.value && Object.keys(G.value).forEach((ce) => a[`aria-${ce}`] = G.value[ce]);
4110
+ G.value && Object.keys(G.value).forEach((ve) => a[`aria-${ve}`] = G.value[ve]);
4111
4111
  const x = {
4112
4112
  "aria-label": le.value,
4113
4113
  "aria-disabled": i.value,
4114
4114
  ...a
4115
4115
  };
4116
4116
  return Object.fromEntries(
4117
- Object.entries(x).filter(([Z, ce]) => ce != null)
4117
+ Object.entries(x).filter(([Z, ve]) => ve != null)
4118
4118
  );
4119
4119
  });
4120
4120
  const nt = () => {
@@ -4170,8 +4170,8 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4170
4170
  x[ie.value] && x[ie.value].focus();
4171
4171
  }));
4172
4172
  }, Qe = (a) => {
4173
- var ce, xe;
4174
- if (Ce.value || !p.value || (ce = K.value) != null && ce.contains(a.target))
4173
+ var ve, xe;
4174
+ if (Ce.value || !p.value || (ve = K.value) != null && ve.contains(a.target))
4175
4175
  return;
4176
4176
  const x = a.target;
4177
4177
  ((xe = x.closest) == null ? void 0 : xe.call(x, ".nb-split-button")) !== K.value && (p.value = !1, ie.value = -1, re.value && re.value.setAttribute("aria-expanded", "false"));
@@ -4187,19 +4187,19 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4187
4187
  ref_key: "wrapperRef",
4188
4188
  ref: K,
4189
4189
  class: ge(["nb-wrapper", "nb-split-button", He.value]),
4190
- style: ve([Ie.value]),
4190
+ style: ce([Ie.value]),
4191
4191
  onFocusout: dt
4192
4192
  }, [
4193
4193
  se("div", {
4194
4194
  id: e.nbId,
4195
4195
  class: ge(["nb-reset", "component", { "component--block": n(ae) === "b" }, Se.value]),
4196
- style: ve([De.value])
4196
+ style: ce([De.value])
4197
4197
  }, [
4198
4198
  se("button", {
4199
4199
  ref_key: "mainButtonRef",
4200
4200
  ref: $,
4201
4201
  class: ge(["split-button__main", { "split-button__main--disabled": n(i) }]),
4202
- style: ve([Le.value]),
4202
+ style: ce([Le.value]),
4203
4203
  disabled: n(i),
4204
4204
  title: e.title,
4205
4205
  "aria-label": n(B),
@@ -4221,7 +4221,7 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4221
4221
  ref_key: "popupButtonRef",
4222
4222
  ref: re,
4223
4223
  class: ge(["split-button__popup-button", { "split-button__popup-button--open": p.value }]),
4224
- style: ve([ze.value]),
4224
+ style: ce([ze.value]),
4225
4225
  "aria-haspopup": !0,
4226
4226
  "aria-expanded": p.value,
4227
4227
  title: n(Q),
@@ -4255,26 +4255,26 @@ const $a = ["id"], Da = ["disabled", "title", "aria-label", "aria-haspopup", "ar
4255
4255
  ref_key: "popupRef",
4256
4256
  ref: fe,
4257
4257
  class: ge(["split-button__popup", { "split-button__popup--open": p.value }]),
4258
- style: ve([Ye.value])
4258
+ style: ce([Ye.value])
4259
4259
  }, [
4260
- (pe(!0), be(ht, null, Ct(n(M), (Z, ce) => (pe(), be("button", {
4261
- key: ce,
4260
+ (pe(!0), be(ht, null, Ct(n(M), (Z, ve) => (pe(), be("button", {
4261
+ key: ve,
4262
4262
  class: ge(["split-button__menu-item", { "split-button__menu-item--disabled": Z.disabled }]),
4263
- style: ve([ot.value]),
4263
+ style: ce([ot.value]),
4264
4264
  disabled: Z.disabled || n(i),
4265
4265
  tabindex: Z.disabled || n(i) ? -1 : 0,
4266
- onClick: z((xe) => Me(Z, ce, xe), ["stop"]),
4266
+ onClick: z((xe) => Me(Z, ve, xe), ["stop"]),
4267
4267
  onKeydown: [
4268
- F(z((xe) => !Z.disabled && !n(i) && Me(Z, ce, xe), ["prevent"]), ["enter"]),
4269
- F(z((xe) => !Z.disabled && !n(i) && Me(Z, ce, xe), ["prevent"]), ["space"]),
4270
- F(z((xe) => it(ce), ["prevent"]), ["arrow-up"]),
4271
- F(z((xe) => st(ce), ["prevent"]), ["arrow-down"]),
4268
+ F(z((xe) => !Z.disabled && !n(i) && Me(Z, ve, xe), ["prevent"]), ["enter"]),
4269
+ F(z((xe) => !Z.disabled && !n(i) && Me(Z, ve, xe), ["prevent"]), ["space"]),
4270
+ F(z((xe) => it(ve), ["prevent"]), ["arrow-up"]),
4271
+ F(z((xe) => st(ve), ["prevent"]), ["arrow-down"]),
4272
4272
  F(z(_e, ["prevent"]), ["escape"]),
4273
4273
  F(z(_e, ["prevent"]), ["backspace"])
4274
4274
  ]
4275
4275
  }, [
4276
4276
  Z.icon ? (pe(), be("span", Oa, [
4277
- me(a.$slots, `item-icon-${ce}`, { item: Z }, () => [
4277
+ me(a.$slots, `item-icon-${ve}`, { item: Z }, () => [
4278
4278
  he(We(Z.icon), 1)
4279
4279
  ], !0)
4280
4280
  ])) : ye("", !0),