@vlalg-nimbus/nb-buttons 5.0.6 → 6.0.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,9 +1,9 @@
1
- import { useCssVars as xe, toRefs as Be, computed as t, openBlock as fe, createElementBlock as ve, mergeProps as Se, withKeys as W, withModifiers as L, unref as o, createElementVNode as de, normalizeClass as pe, normalizeStyle as se, renderSlot as he, createTextVNode as Ce, createCommentVNode as ye, onMounted as Ee, ref as Te, watch as yt, toDisplayString as We, nextTick as Oe, onUnmounted as mt, Fragment as ht, renderList as Ct } from "vue";
2
- const ke = (e, l) => {
3
- const j = e.__vccOpts || e;
4
- for (const [ae, Q] of l)
5
- j[ae] = Q;
6
- return j;
1
+ import { useCssVars as Se, toRefs as xe, computed as t, openBlock as ce, createElementBlock as fe, mergeProps as Ce, withKeys as A, withModifiers as D, unref as n, createElementVNode as ne, normalizeClass as be, normalizeStyle as ie, renderSlot as me, createTextVNode as he, createCommentVNode as ge, onMounted as Ee, ref as Te, watch as yt, toDisplayString as Le, nextTick as Ae, onUnmounted as mt, Fragment as ht, renderList as Ct } from "vue";
2
+ const Be = (e, l) => {
3
+ const E = e.__vccOpts || e;
4
+ for (const [te, U] of l)
5
+ E[te] = U;
6
+ return E;
7
7
  }, St = ["tabIndex"], xt = ["id"], Bt = { class: "component-content__text" }, kt = /* @__PURE__ */ Object.assign({
8
8
  name: "NbButtonVavaGame",
9
9
  inheritAttrs: !1
@@ -151,130 +151,130 @@ const ke = (e, l) => {
151
151
  },
152
152
  emits: ["clicked"],
153
153
  setup(e, { emit: l }) {
154
- xe((D) => ({
155
- "45d3f656": I.value,
156
- "731cf8ea": S.value,
157
- "38923b1c": r.value,
158
- "444f744b": n.value,
159
- "15533dd5": P.value,
160
- a26295f6: i.value,
161
- "4bcd7f37": d.value,
162
- d8896214: A.value,
163
- "4b1873e6": oe.value,
164
- "929f1152": J.value,
165
- "212fb811": ie.value,
166
- "611083ab": be.value,
167
- "2fbce3b6": c.value,
168
- "96e4fe7c": p.value
154
+ Se((v) => ({
155
+ "45d3f656": H.value,
156
+ "731cf8ea": h.value,
157
+ "38923b1c": d.value,
158
+ "444f744b": s.value,
159
+ "15533dd5": K.value,
160
+ a26295f6: o.value,
161
+ "4bcd7f37": r.value,
162
+ d8896214: ee.value,
163
+ "4b1873e6": re.value,
164
+ "929f1152": ue.value,
165
+ "212fb811": ve.value,
166
+ "611083ab": oe.value,
167
+ "2fbce3b6": k.value,
168
+ "96e4fe7c": T.value
169
169
  }));
170
- const j = l, ae = e, {
171
- display: Q,
172
- ariaLabel: Z,
173
- ariaAttrs: h,
174
- theme: R,
175
- lightTextColor: E,
176
- lightTextColorHover: ee,
177
- lightButtonColor: X,
178
- lightButtonColorHover: K,
179
- lightBorderColor: M,
170
+ const E = l, te = e, {
171
+ display: U,
172
+ ariaLabel: J,
173
+ ariaAttrs: g,
174
+ theme: O,
175
+ lightTextColor: F,
176
+ lightTextColorHover: G,
177
+ lightButtonColor: Y,
178
+ lightButtonColorHover: M,
179
+ lightBorderColor: Q,
180
180
  lightDisabledBgColor: q,
181
- darkTextColor: te,
182
- darkTextColorHover: O,
183
- darkButtonColor: T,
184
- darkButtonColorHover: C,
185
- darkBorderColor: B,
186
- darkDisabledBgColor: v,
187
- uppercase: m,
188
- paddingXContent: f,
181
+ darkTextColor: P,
182
+ darkTextColorHover: L,
183
+ darkButtonColor: S,
184
+ darkButtonColorHover: V,
185
+ darkBorderColor: y,
186
+ darkDisabledBgColor: c,
187
+ uppercase: f,
188
+ paddingXContent: m,
189
189
  paddingYContent: b,
190
- paddingXBorder: u,
191
- paddingYBorder: V,
192
- borderOpacity: k,
193
- disabled: N,
194
- fontFamily: U,
195
- fontSize: F,
196
- fontWeight: w
197
- } = Be(ae), $ = t(() => {
198
- const D = N.value ? "component-disabled" : "", _ = Q.value !== "b" ? "inline-block" : "block", ue = !k.value || !(k.value >= 0 && k.value <= 1) ? "0.5" : k.value, ne = u.value !== 0 && !u.value || u.value < 0 ? 0.5 : u.value, me = V.value !== 0 && !V.value || V.value < 0 ? 0.5 : V.value, ge = f.value !== 0 && !f.value || f.value < 0 ? 0.5 : f.value, Ie = b.value !== 0 && !b.value || b.value < 0 ? 0.5 : b.value, _e = m.value ? "uppercase" : "none", De = U.value ? U.value : "'Lato', sans-serif", Ne = F.value ? F.value : "1.6em", Re = w.value !== 0 && !w.value || w.value < 0 ? 100 : w.value;
190
+ paddingXBorder: i,
191
+ paddingYBorder: x,
192
+ borderOpacity: B,
193
+ disabled: _,
194
+ fontFamily: Z,
195
+ fontSize: R,
196
+ fontWeight: I
197
+ } = xe(te), w = t(() => {
198
+ const v = _.value ? "component-disabled" : "", z = U.value !== "b" ? "inline-block" : "block", pe = !B.value || !(B.value >= 0 && B.value <= 1) ? "0.5" : B.value, ae = i.value !== 0 && !i.value || i.value < 0 ? 0.5 : i.value, Ve = x.value !== 0 && !x.value || x.value < 0 ? 0.5 : x.value, ye = m.value !== 0 && !m.value || m.value < 0 ? 0.5 : m.value, we = b.value !== 0 && !b.value || b.value < 0 ? 0.5 : b.value, _e = f.value ? "uppercase" : "none", Oe = Z.value ? Z.value : "'Lato', sans-serif", Re = R.value ? R.value : "1.6em", We = I.value !== 0 && !I.value || I.value < 0 ? 100 : I.value;
199
199
  return {
200
- disabled: D,
201
- display: _,
202
- borderOpacity: ue,
203
- paddingXBorder: ne,
204
- paddingYBorder: me,
205
- paddingXContent: ge,
206
- paddingYContent: Ie,
200
+ disabled: v,
201
+ display: z,
202
+ borderOpacity: pe,
203
+ paddingXBorder: ae,
204
+ paddingYBorder: Ve,
205
+ paddingXContent: ye,
206
+ paddingYContent: we,
207
207
  uppercase: _e,
208
- font: De,
209
- fontSize: Ne,
210
- fontWeight: Re
208
+ font: Oe,
209
+ fontSize: Re,
210
+ fontWeight: We
211
211
  };
212
- }), z = t(() => $.value.disabled), G = t(() => ({
213
- display: $.value.display
214
- })), g = t(() => {
215
- const D = $.value;
212
+ }), W = t(() => w.value.disabled), X = t(() => ({
213
+ display: w.value.display
214
+ })), u = t(() => {
215
+ const v = w.value;
216
216
  return {
217
- padding: `${D.paddingYBorder}rem ${D.paddingXBorder}rem`,
218
- fontSize: D.fontSize,
219
- fontWeight: D.fontWeight
217
+ padding: `${v.paddingYBorder}rem ${v.paddingXBorder}rem`,
218
+ fontSize: v.fontSize,
219
+ fontWeight: v.fontWeight
220
220
  };
221
- }), s = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), H = t(() => {
222
- const D = $.value;
221
+ }), $ = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), j = t(() => {
222
+ const v = w.value;
223
223
  return {
224
- textTransform: D.uppercase,
225
- padding: `${D.paddingYContent}rem ${D.paddingXContent}rem`
224
+ textTransform: v.uppercase,
225
+ padding: `${v.paddingYContent}rem ${v.paddingXContent}rem`
226
226
  };
227
- }), Y = t(() => ({})), I = t(() => $.value.font), P = t(() => $.value.borderOpacity), S = t(() => E.value), r = t(() => ee.value), i = t(() => X.value), d = t(() => K.value), n = t(() => M.value), c = t(() => q.value), A = t(() => te.value), oe = t(() => O.value), ie = t(() => T.value), be = t(() => C.value), J = t(() => B.value), p = t(() => v.value), y = t(() => {
228
- const D = {};
229
- h.value && Object.keys(h.value).forEach((ne) => D[`aria-${ne}`] = h.value[ne]);
230
- const _ = {
231
- "aria-label": Z.value,
232
- "aria-disabled": N.value,
233
- ...D
227
+ }), N = t(() => ({})), H = t(() => w.value.font), K = t(() => w.value.borderOpacity), h = t(() => F.value), d = t(() => G.value), o = t(() => Y.value), r = t(() => M.value), s = t(() => Q.value), k = t(() => q.value), ee = t(() => P.value), re = t(() => L.value), ve = t(() => S.value), oe = t(() => V.value), ue = t(() => y.value), T = t(() => c.value), p = t(() => {
228
+ const v = {};
229
+ g.value && Object.keys(g.value).forEach((ae) => v[`aria-${ae}`] = g.value[ae]);
230
+ const z = {
231
+ "aria-label": J.value,
232
+ "aria-disabled": _.value,
233
+ ...v
234
234
  };
235
235
  return Object.fromEntries(
236
- Object.entries(_).filter(([ue, ne]) => ne != null)
236
+ Object.entries(z).filter(([pe, ae]) => ae != null)
237
237
  );
238
- }), le = () => {
239
- j("clicked");
238
+ }), de = () => {
239
+ E("clicked");
240
240
  };
241
- return (D, _) => e.nbId ? (fe(), ve("div", Se({
241
+ return (v, z) => e.nbId ? (ce(), fe("div", Ce({
242
242
  key: 0,
243
- class: ["nb-wrapper", z.value],
244
- style: [G.value],
243
+ class: ["nb-wrapper", W.value],
244
+ style: [X.value],
245
245
  tabIndex: e.tabIndex,
246
246
  role: "button"
247
- }, y.value, {
248
- onClick: le,
247
+ }, p.value, {
248
+ onClick: de,
249
249
  onKeydown: [
250
- _[0] || (_[0] = W(L((ue) => !o(N) && e.hasTabIndexEnter && le(), ["prevent"]), ["enter"])),
251
- _[1] || (_[1] = W(L((ue) => !o(N) && e.hasTabIndexSpace && le(), ["prevent"]), ["space"]))
250
+ z[0] || (z[0] = A(D((pe) => !n(_) && e.hasTabIndexEnter && de(), ["prevent"]), ["enter"])),
251
+ z[1] || (z[1] = A(D((pe) => !n(_) && e.hasTabIndexSpace && de(), ["prevent"]), ["space"]))
252
252
  ]
253
253
  }), [
254
- de("div", {
254
+ ne("div", {
255
255
  id: e.nbId,
256
- class: pe(["nb-reset", "component", s.value]),
257
- style: se([g.value])
256
+ class: be(["nb-reset", "component", $.value]),
257
+ style: ie([u.value])
258
258
  }, [
259
- de("div", {
259
+ ne("div", {
260
260
  class: "component-content",
261
- style: se([H.value])
261
+ style: ie([j.value])
262
262
  }, [
263
- de("span", Bt, [
264
- he(D.$slots, "content", {}, () => [
265
- _[2] || (_[2] = Ce("Default Text"))
263
+ ne("span", Bt, [
264
+ me(v.$slots, "content", {}, () => [
265
+ z[2] || (z[2] = he("Default Text"))
266
266
  ], !0)
267
267
  ]),
268
- de("span", {
268
+ ne("span", {
269
269
  class: "component-content__mask",
270
- style: se([Y.value])
270
+ style: ie([N.value])
271
271
  }, null, 4)
272
272
  ], 4)
273
273
  ], 14, xt)
274
- ], 16, St)) : ye("", !0);
274
+ ], 16, St)) : ge("", !0);
275
275
  }
276
- }), Vt = /* @__PURE__ */ ke(kt, [["__scopeId", "data-v-cdb0df77"]]);
277
- const Tt = ["tabIndex"], wt = ["id"], $t = /* @__PURE__ */ Object.assign({
276
+ }), Vt = /* @__PURE__ */ Be(kt, [["__scopeId", "data-v-cdb0df77"]]);
277
+ const Tt = ["tabIndex"], It = ["id"], $t = /* @__PURE__ */ Object.assign({
278
278
  name: "NbButtonShowHover",
279
279
  inheritAttrs: !1
280
280
  }, {
@@ -395,108 +395,108 @@ const Tt = ["tabIndex"], wt = ["id"], $t = /* @__PURE__ */ Object.assign({
395
395
  },
396
396
  emits: ["clicked"],
397
397
  setup(e, { emit: l }) {
398
- xe((r) => ({
399
- "764d74ba": I.value,
400
- "45cf85fd": z.value,
401
- a495d4c0: $.value,
402
- "2848a6c4": g.value,
403
- a7feed82: G.value,
404
- ba6d58fa: s.value,
405
- bc089304: Y.value,
406
- "38c83f79": H.value
398
+ Se((d) => ({
399
+ "764d74ba": H.value,
400
+ "45cf85fd": W.value,
401
+ a495d4c0: w.value,
402
+ "2848a6c4": u.value,
403
+ a7feed82: X.value,
404
+ ba6d58fa: $.value,
405
+ bc089304: N.value,
406
+ "38c83f79": j.value
407
407
  }));
408
- const j = l, ae = e, {
409
- ariaLabel: Q,
410
- ariaAttrs: Z,
411
- theme: h,
412
- lightTextColor: R,
413
- lightTextColorHover: E,
414
- lightButtonColorHover: ee,
415
- lightButtonColorOpacityHover: X,
416
- lightDisabledBgColor: K,
417
- darkTextColor: M,
408
+ const E = l, te = e, {
409
+ ariaLabel: U,
410
+ ariaAttrs: J,
411
+ theme: g,
412
+ lightTextColor: O,
413
+ lightTextColorHover: F,
414
+ lightButtonColorHover: G,
415
+ lightButtonColorOpacityHover: Y,
416
+ lightDisabledBgColor: M,
417
+ darkTextColor: Q,
418
418
  darkTextColorHover: q,
419
- darkButtonColorHover: te,
420
- darkButtonColorOpacityHover: O,
421
- darkDisabledBgColor: T,
422
- paddingX: C,
423
- paddingY: B,
424
- disabled: v,
425
- borderRadius: m,
426
- verticalAlign: f,
419
+ darkButtonColorHover: P,
420
+ darkButtonColorOpacityHover: L,
421
+ darkDisabledBgColor: S,
422
+ paddingX: V,
423
+ paddingY: y,
424
+ disabled: c,
425
+ borderRadius: f,
426
+ verticalAlign: m,
427
427
  fontFamily: b,
428
- fontSize: u,
429
- fontWeight: V
430
- } = Be(ae), k = t(() => {
431
- const r = v.value ? "component-disabled" : "", i = f.value ? f.value : "middle", d = C.value !== 0 && !C.value || C.value < 0 ? 1 : C.value, n = B.value !== 0 && !B.value || B.value < 0 ? 0.2 : B.value, c = m.value !== 0 && !m.value || m.value < 0 ? 0 : m.value, A = b.value ? b.value : "'Lato', sans-serif", oe = u.value ? u.value : "1.6rem", ie = V.value !== 0 && !V.value || V.value < 0 ? 100 : V.value;
428
+ fontSize: i,
429
+ fontWeight: x
430
+ } = xe(te), B = t(() => {
431
+ const d = c.value ? "component-disabled" : "", o = m.value ? m.value : "middle", r = V.value !== 0 && !V.value || V.value < 0 ? 1 : V.value, s = y.value !== 0 && !y.value || y.value < 0 ? 0.2 : y.value, k = f.value !== 0 && !f.value || f.value < 0 ? 0 : f.value, ee = b.value ? b.value : "'Lato', sans-serif", re = i.value ? i.value : "1.6rem", ve = x.value !== 0 && !x.value || x.value < 0 ? 100 : x.value;
432
432
  return {
433
- disabled: r,
434
- borderRadius: c,
435
- paddingX: d,
436
- paddingY: n,
437
- font: A,
438
- fontSize: oe,
439
- fontWeight: ie,
440
- verticalAlign: i
433
+ disabled: d,
434
+ borderRadius: k,
435
+ paddingX: r,
436
+ paddingY: s,
437
+ font: ee,
438
+ fontSize: re,
439
+ fontWeight: ve,
440
+ verticalAlign: o
441
441
  };
442
- }), N = t(() => k.value.disabled), U = t(() => ({
443
- verticalAlign: k.value.verticalAlign
444
- })), F = t(() => h.value === "dark" ? "component__theme--dark" : "component__theme--light"), w = t(() => {
445
- const r = k.value;
442
+ }), _ = t(() => B.value.disabled), Z = t(() => ({
443
+ verticalAlign: B.value.verticalAlign
444
+ })), R = t(() => g.value === "dark" ? "component__theme--dark" : "component__theme--light"), I = t(() => {
445
+ const d = B.value;
446
446
  return {
447
- padding: `${r.paddingY}rem 0`,
448
- borderRadius: `${r.borderRadius}rem`,
449
- fontSize: r.fontSize,
450
- fontWeight: r.fontWeight
447
+ padding: `${d.paddingY}rem 0`,
448
+ borderRadius: `${d.borderRadius}rem`,
449
+ fontSize: d.fontSize,
450
+ fontWeight: d.fontWeight
451
451
  };
452
- }), $ = t(() => {
453
- const r = k.value;
454
- return `${r.paddingY}rem ${r.paddingX}rem`;
455
- }), z = t(() => R.value), G = t(() => E.value), g = t(() => `rgba(${ee.value}, ${X.value})`);
456
- t(() => K.value);
457
- const s = t(() => M.value), H = t(() => q.value), Y = t(() => `rgba(${te.value}, ${O.value})`);
458
- t(() => T.value);
459
- const I = t(() => k.value.font), P = t(() => {
460
- const r = {};
461
- Z.value && Object.keys(Z.value).forEach((n) => r[`aria-${n}`] = Z.value[n]);
462
- const i = {
463
- "aria-label": Q.value,
464
- "aria-disabled": v.value,
465
- ...r
452
+ }), w = t(() => {
453
+ const d = B.value;
454
+ return `${d.paddingY}rem ${d.paddingX}rem`;
455
+ }), W = t(() => O.value), X = t(() => F.value), u = t(() => `rgba(${G.value}, ${Y.value})`);
456
+ t(() => M.value);
457
+ const $ = t(() => Q.value), j = t(() => q.value), N = t(() => `rgba(${P.value}, ${L.value})`);
458
+ t(() => S.value);
459
+ const H = t(() => B.value.font), K = t(() => {
460
+ const d = {};
461
+ J.value && Object.keys(J.value).forEach((s) => d[`aria-${s}`] = J.value[s]);
462
+ const o = {
463
+ "aria-label": U.value,
464
+ "aria-disabled": c.value,
465
+ ...d
466
466
  };
467
467
  return Object.fromEntries(
468
- Object.entries(i).filter(([d, n]) => n != null)
468
+ Object.entries(o).filter(([r, s]) => s != null)
469
469
  );
470
- }), S = () => {
471
- j("clicked");
470
+ }), h = () => {
471
+ E("clicked");
472
472
  };
473
- return (r, i) => e.nbId ? (fe(), ve("div", Se({
473
+ return (d, o) => e.nbId ? (ce(), fe("div", Ce({
474
474
  key: 0,
475
- class: ["nb-wrapper", N.value],
476
- style: [U.value],
475
+ class: ["nb-wrapper", _.value],
476
+ style: [Z.value],
477
477
  tabIndex: e.tabIndex,
478
478
  role: "button"
479
- }, P.value, {
480
- onClick: S,
479
+ }, K.value, {
480
+ onClick: h,
481
481
  onKeydown: [
482
- i[1] || (i[1] = W(L((d) => !o(v) && e.hasTabIndexEnter && S(), ["prevent"]), ["enter"])),
483
- i[2] || (i[2] = W(L((d) => !o(v) && e.hasTabIndexSpace && S(), ["prevent"]), ["space"]))
482
+ o[1] || (o[1] = A(D((r) => !n(c) && e.hasTabIndexEnter && h(), ["prevent"]), ["enter"])),
483
+ o[2] || (o[2] = A(D((r) => !n(c) && e.hasTabIndexSpace && h(), ["prevent"]), ["space"]))
484
484
  ]
485
485
  }), [
486
- de("a", {
486
+ ne("a", {
487
487
  id: e.nbId,
488
- class: pe(["nb-reset component tertiary", [F.value]]),
489
- style: se([w.value]),
490
- onClick: i[0] || (i[0] = L(() => {
488
+ class: be(["nb-reset component tertiary", [R.value]]),
489
+ style: ie([I.value]),
490
+ onClick: o[0] || (o[0] = D(() => {
491
491
  }, ["prevent"]))
492
492
  }, [
493
- he(r.$slots, "content", {}, () => [
494
- i[3] || (i[3] = Ce("Default Text"))
493
+ me(d.$slots, "content", {}, () => [
494
+ o[3] || (o[3] = he("Default Text"))
495
495
  ], !0)
496
- ], 14, wt)
497
- ], 16, Tt)) : ye("", !0);
496
+ ], 14, It)
497
+ ], 16, Tt)) : ge("", !0);
498
498
  }
499
- }), It = /* @__PURE__ */ ke($t, [["__scopeId", "data-v-9f86c7ed"]]);
499
+ }), wt = /* @__PURE__ */ Be($t, [["__scopeId", "data-v-9f86c7ed"]]);
500
500
  const _t = ["id"], Dt = ["tabIndex"], Nt = ["tabIndex"], Ht = /* @__PURE__ */ Object.assign({
501
501
  name: "NbButtonPrevNext",
502
502
  inheritAttrs: !1
@@ -651,156 +651,156 @@ const _t = ["id"], Dt = ["tabIndex"], Nt = ["tabIndex"], Ht = /* @__PURE__ */ Ob
651
651
  },
652
652
  emits: ["clicked"],
653
653
  setup(e, { emit: l }) {
654
- xe((p) => ({
655
- "21ad11ea": oe.value,
656
- "0a9f5140": P.value,
657
- "7f8d50d6": r.value,
658
- "4d0adb52": S.value,
659
- "191c12b2": i.value,
660
- "58fb0f6c": d.value,
661
- "0192eeeb": c.value,
662
- "39d869bc": n.value,
663
- "3f80f5de": A.value
654
+ Se((T) => ({
655
+ "21ad11ea": re.value,
656
+ "0a9f5140": K.value,
657
+ "7f8d50d6": d.value,
658
+ "4d0adb52": h.value,
659
+ "191c12b2": o.value,
660
+ "58fb0f6c": r.value,
661
+ "0192eeeb": k.value,
662
+ "39d869bc": s.value,
663
+ "3f80f5de": ee.value
664
664
  }));
665
- const j = l, ae = e, {
666
- ariaLabelPrev: Q,
667
- ariaAttrsPrev: Z,
668
- ariaLabelNext: h,
669
- ariaAttrsNext: R,
670
- theme: E,
671
- lightColorPrimary: ee,
672
- lightColorSecondary: X,
673
- lightTextColor: K,
674
- lightTextColorHover: M,
665
+ const E = l, te = e, {
666
+ ariaLabelPrev: U,
667
+ ariaAttrsPrev: J,
668
+ ariaLabelNext: g,
669
+ ariaAttrsNext: O,
670
+ theme: F,
671
+ lightColorPrimary: G,
672
+ lightColorSecondary: Y,
673
+ lightTextColor: M,
674
+ lightTextColorHover: Q,
675
675
  lightDisabledBgColor: q,
676
- darkColorPrimary: te,
677
- darkColorSecondary: O,
678
- darkTextColor: T,
679
- darkTextColorHover: C,
680
- darkDisabledBgColor: B,
681
- paddingX: v,
682
- paddingY: m,
683
- marginBetween: f,
676
+ darkColorPrimary: P,
677
+ darkColorSecondary: L,
678
+ darkTextColor: S,
679
+ darkTextColorHover: V,
680
+ darkDisabledBgColor: y,
681
+ paddingX: c,
682
+ paddingY: f,
683
+ marginBetween: m,
684
684
  borderRadius: b,
685
- disabled: u,
686
- disabledPreview: V,
687
- disabledNext: k,
688
- fontFamily: N,
689
- fontSize: U,
690
- fontWeight: F
691
- } = Be(ae), w = t(() => {
692
- const p = u.value ? "component-disabled" : "", y = V.value ? "component-disabled" : "", le = k.value ? "component-disabled" : "", D = f.value !== 0 && !f.value || f.value < 0 ? 0 : f.value, _ = b.value !== 0 && !b.value || b.value < 0 ? 0 : b.value, ue = v.value !== 0 && !v.value || v.value < 0 ? 1 : v.value, ne = m.value !== 0 && !m.value || m.value < 0 ? 10 : m.value, me = U.value ? U.value : "1.6em", ge = F.value !== 0 && !F.value || F.value < 0 ? 100 : F.value;
685
+ disabled: i,
686
+ disabledPreview: x,
687
+ disabledNext: B,
688
+ fontFamily: _,
689
+ fontSize: Z,
690
+ fontWeight: R
691
+ } = xe(te), I = t(() => {
692
+ const T = i.value ? "component-disabled" : "", p = x.value ? "component-disabled" : "", de = B.value ? "component-disabled" : "", v = m.value !== 0 && !m.value || m.value < 0 ? 0 : m.value, z = b.value !== 0 && !b.value || b.value < 0 ? 0 : b.value, pe = c.value !== 0 && !c.value || c.value < 0 ? 1 : c.value, ae = f.value !== 0 && !f.value || f.value < 0 ? 10 : f.value, Ve = Z.value ? Z.value : "1.6em", ye = R.value !== 0 && !R.value || R.value < 0 ? 100 : R.value;
693
693
  return {
694
- disabled: p,
695
- disabledPreview: y,
696
- disabledNext: le,
697
- marginBetween: `${D}px`,
698
- borderRadius: `${_}px`,
699
- paddingX: `${ue}px`,
700
- paddingY: `${ne}px`,
701
- fontSize: me,
702
- fontWeight: ge
694
+ disabled: T,
695
+ disabledPreview: p,
696
+ disabledNext: de,
697
+ marginBetween: `${v}px`,
698
+ borderRadius: `${z}px`,
699
+ paddingX: `${pe}px`,
700
+ paddingY: `${ae}px`,
701
+ fontSize: Ve,
702
+ fontWeight: ye
703
703
  };
704
- }), $ = t(() => w.value.disabled), z = t(() => w.value.disabledPreview), G = t(() => w.value.disabledNext), g = t(() => ({
705
- display: w.value.display
706
- })), s = t(() => {
707
- const p = w.value;
704
+ }), w = t(() => I.value.disabled), W = t(() => I.value.disabledPreview), X = t(() => I.value.disabledNext), u = t(() => ({
705
+ display: I.value.display
706
+ })), $ = t(() => {
707
+ const T = I.value;
708
708
  return {
709
- fontSize: p.fontSize,
710
- fontWeight: p.fontWeight
709
+ fontSize: T.fontSize,
710
+ fontWeight: T.fontWeight
711
711
  };
712
- }), H = t(() => {
713
- const p = w.value;
712
+ }), j = t(() => {
713
+ const T = I.value;
714
714
  return {
715
- borderRadius: `${p.borderRadius} 0px 0px ${p.borderRadius}`,
716
- marginRight: p.marginBetween,
717
- padding: `${p.paddingX} ${p.paddingY}`
715
+ borderRadius: `${T.borderRadius} 0px 0px ${T.borderRadius}`,
716
+ marginRight: T.marginBetween,
717
+ padding: `${T.paddingX} ${T.paddingY}`
718
718
  };
719
- }), Y = t(() => {
720
- const p = w.value;
719
+ }), N = t(() => {
720
+ const T = I.value;
721
721
  return {
722
- borderRadius: `0px ${p.borderRadius} ${p.borderRadius} 0px`,
723
- marginLeft: p.marginBetween,
724
- padding: `${p.paddingX} ${p.paddingY}`
722
+ borderRadius: `0px ${T.borderRadius} ${T.borderRadius} 0px`,
723
+ marginLeft: T.marginBetween,
724
+ padding: `${T.paddingX} ${T.paddingY}`
725
725
  };
726
- }), I = t(() => E.value === "dark" ? "component__theme--dark" : "component__theme--light"), P = t(() => ee.value), S = t(() => X.value), r = t(() => K.value), i = t(() => M.value);
726
+ }), H = t(() => F.value === "dark" ? "component__theme--dark" : "component__theme--light"), K = t(() => G.value), h = t(() => Y.value), d = t(() => M.value), o = t(() => Q.value);
727
727
  t(() => q.value);
728
- const d = t(() => te.value), n = t(() => O.value), c = t(() => T.value), A = t(() => C.value);
729
- t(() => B.value);
730
- const oe = t(() => `'${N.value ? N.value : "'Lato', sans-serif"}'`), ie = t(() => {
731
- const p = {};
732
- Z.value && Object.keys(Z.value).forEach((D) => p[`aria-${D}`] = Z.value[D]);
733
- const y = {
734
- "aria-label": Q.value,
735
- "aria-disabled": z.value,
736
- ...p
728
+ const r = t(() => P.value), s = t(() => L.value), k = t(() => S.value), ee = t(() => V.value);
729
+ t(() => y.value);
730
+ const re = t(() => `'${_.value ? _.value : "'Lato', sans-serif"}'`), ve = t(() => {
731
+ const T = {};
732
+ J.value && Object.keys(J.value).forEach((v) => T[`aria-${v}`] = J.value[v]);
733
+ const p = {
734
+ "aria-label": U.value,
735
+ "aria-disabled": W.value,
736
+ ...T
737
737
  };
738
738
  return Object.fromEntries(
739
- Object.entries(y).filter(([le, D]) => D != null)
739
+ Object.entries(p).filter(([de, v]) => v != null)
740
740
  );
741
- }), be = t(() => {
742
- const p = {};
743
- R.value && Object.keys(R.value).forEach((D) => p[`aria-${D}`] = R.value[D]);
744
- const y = {
745
- "aria-label": h.value,
746
- "aria-disabled": G.value,
747
- ...p
741
+ }), oe = t(() => {
742
+ const T = {};
743
+ O.value && Object.keys(O.value).forEach((v) => T[`aria-${v}`] = O.value[v]);
744
+ const p = {
745
+ "aria-label": g.value,
746
+ "aria-disabled": X.value,
747
+ ...T
748
748
  };
749
749
  return Object.fromEntries(
750
- Object.entries(y).filter(([le, D]) => D != null)
750
+ Object.entries(p).filter(([de, v]) => v != null)
751
751
  );
752
- }), J = (p) => {
753
- j("clicked", p);
752
+ }), ue = (T) => {
753
+ E("clicked", T);
754
754
  };
755
- return (p, y) => e.nbId ? (fe(), ve("div", {
755
+ return (T, p) => e.nbId ? (ce(), fe("div", {
756
756
  key: 0,
757
- class: pe(["nb-wrapper", $.value]),
758
- style: se([g.value])
757
+ class: be(["nb-wrapper", w.value]),
758
+ style: ie([u.value])
759
759
  }, [
760
- de("div", {
760
+ ne("div", {
761
761
  id: e.nbId,
762
- class: pe(["nb-reset", "component", I.value]),
763
- style: se(s.value)
762
+ class: be(["nb-reset", "component", H.value]),
763
+ style: ie($.value)
764
764
  }, [
765
- e.showPreview ? (fe(), ve("div", Se({
765
+ e.showPreview ? (ce(), fe("div", Ce({
766
766
  key: 0,
767
- class: ["buttonNextPreview buttonPreview", z.value],
768
- style: H.value,
767
+ class: ["buttonNextPreview buttonPreview", W.value],
768
+ style: j.value,
769
769
  tabIndex: e.tabIndexPrev,
770
770
  role: "button"
771
- }, ie.value, {
772
- onClick: y[0] || (y[0] = (le) => J("preview")),
771
+ }, ve.value, {
772
+ onClick: p[0] || (p[0] = (de) => ue("preview")),
773
773
  onKeydown: [
774
- y[1] || (y[1] = W(L((le) => !o(u) && e.hasTabIndexEnter && J("preview"), ["prevent"]), ["enter"])),
775
- y[2] || (y[2] = W(L((le) => !o(u) && e.hasTabIndexSpace && J("preview"), ["prevent"]), ["space"]))
774
+ p[1] || (p[1] = A(D((de) => !n(i) && e.hasTabIndexEnter && ue("preview"), ["prevent"]), ["enter"])),
775
+ p[2] || (p[2] = A(D((de) => !n(i) && e.hasTabIndexSpace && ue("preview"), ["prevent"]), ["space"]))
776
776
  ]
777
777
  }), [
778
- he(p.$slots, "prev", {}, () => [
779
- y[6] || (y[6] = Ce("← Preview"))
778
+ me(T.$slots, "prev", {}, () => [
779
+ p[6] || (p[6] = he("← Preview"))
780
780
  ], !0)
781
- ], 16, Dt)) : ye("", !0),
782
- e.showNext ? (fe(), ve("div", Se({
781
+ ], 16, Dt)) : ge("", !0),
782
+ e.showNext ? (ce(), fe("div", Ce({
783
783
  key: 1,
784
- class: ["buttonNextPreview buttonNext", G.value],
785
- style: Y.value,
784
+ class: ["buttonNextPreview buttonNext", X.value],
785
+ style: N.value,
786
786
  tabIndex: e.tabIndexNext,
787
787
  role: "button"
788
- }, be.value, {
789
- onClick: y[3] || (y[3] = (le) => J("next")),
788
+ }, oe.value, {
789
+ onClick: p[3] || (p[3] = (de) => ue("next")),
790
790
  onKeydown: [
791
- y[4] || (y[4] = W(L((le) => !o(u) && e.hasTabIndexEnter && J("next"), ["prevent"]), ["enter"])),
792
- y[5] || (y[5] = W(L((le) => !o(u) && e.hasTabIndexSpace && J("next"), ["prevent"]), ["space"]))
791
+ p[4] || (p[4] = A(D((de) => !n(i) && e.hasTabIndexEnter && ue("next"), ["prevent"]), ["enter"])),
792
+ p[5] || (p[5] = A(D((de) => !n(i) && e.hasTabIndexSpace && ue("next"), ["prevent"]), ["space"]))
793
793
  ]
794
794
  }), [
795
- he(p.$slots, "next", {}, () => [
796
- y[7] || (y[7] = Ce("Next →"))
795
+ me(T.$slots, "next", {}, () => [
796
+ p[7] || (p[7] = he("Next →"))
797
797
  ], !0)
798
- ], 16, Nt)) : ye("", !0)
798
+ ], 16, Nt)) : ge("", !0)
799
799
  ], 14, _t)
800
- ], 6)) : ye("", !0);
800
+ ], 6)) : ge("", !0);
801
801
  }
802
- }), At = /* @__PURE__ */ ke(Ht, [["__scopeId", "data-v-4c99460e"]]);
803
- const Lt = ["tabIndex"], Ot = ["id"], Wt = /* @__PURE__ */ Object.assign({
802
+ }), At = /* @__PURE__ */ Be(Ht, [["__scopeId", "data-v-4c99460e"]]);
803
+ const Lt = ["tabIndex"], Ot = ["id"], Rt = /* @__PURE__ */ Object.assign({
804
804
  name: "NbButtonMechanical",
805
805
  inheritAttrs: !1
806
806
  }, {
@@ -920,102 +920,102 @@ const Lt = ["tabIndex"], Ot = ["id"], Wt = /* @__PURE__ */ Object.assign({
920
920
  },
921
921
  emits: ["clicked"],
922
922
  setup(e, { emit: l }) {
923
- xe((S) => ({
924
- "11f48348": $.value,
925
- "70882b98": g.value,
926
- "588d6424": z.value,
927
- "0c5d8c82": G.value,
928
- "6d039e48": Y.value,
929
- "6153947c": s.value,
930
- "2c6697d2": H.value
923
+ Se((h) => ({
924
+ "11f48348": w.value,
925
+ "70882b98": u.value,
926
+ "588d6424": W.value,
927
+ "0c5d8c82": X.value,
928
+ "6d039e48": N.value,
929
+ "6153947c": $.value,
930
+ "2c6697d2": j.value
931
931
  }));
932
- const j = l, ae = e, {
933
- display: Q,
934
- ariaLabel: Z,
935
- ariaAttrs: h,
936
- theme: R,
937
- lightTextColor: E,
938
- lightButtonColor: ee,
939
- lightContainerColor: X,
940
- lightDisabledBgColor: K,
941
- darkTextColor: M,
932
+ const E = l, te = e, {
933
+ display: U,
934
+ ariaLabel: J,
935
+ ariaAttrs: g,
936
+ theme: O,
937
+ lightTextColor: F,
938
+ lightButtonColor: G,
939
+ lightContainerColor: Y,
940
+ lightDisabledBgColor: M,
941
+ darkTextColor: Q,
942
942
  darkButtonColor: q,
943
- darkContainerColor: te,
944
- darkDisabledBgColor: O,
945
- paddingX: T,
946
- paddingY: C,
947
- borderRadius: B,
948
- disabled: v,
949
- animationSlow: m,
950
- fontFamily: f,
943
+ darkContainerColor: P,
944
+ darkDisabledBgColor: L,
945
+ paddingX: S,
946
+ paddingY: V,
947
+ borderRadius: y,
948
+ disabled: c,
949
+ animationSlow: f,
950
+ fontFamily: m,
951
951
  fontSize: b,
952
- fontWeight: u
953
- } = Be(ae), V = t(() => {
954
- const S = v.value ? "component-disabled" : "", r = Q.value !== "b" ? "inline-block" : "block", i = T.value !== 0 && !T.value || T.value < 0 ? 1 : T.value, d = C.value !== 0 && !C.value || C.value < 0 ? 0.2 : C.value, n = B.value !== 0 && !B.value || B.value < 0 ? 0 : B.value, c = m.value ? "" : "component-transition__no-slow", A = f.value ? f.value : "'Lato', sans-serif", oe = b.value ? b.value : "1.6em", ie = u.value !== 0 && !u.value || u.value < 0 ? 100 : u.value;
952
+ fontWeight: i
953
+ } = xe(te), x = t(() => {
954
+ const h = c.value ? "component-disabled" : "", d = U.value !== "b" ? "inline-block" : "block", o = S.value !== 0 && !S.value || S.value < 0 ? 1 : S.value, r = V.value !== 0 && !V.value || V.value < 0 ? 0.2 : V.value, s = y.value !== 0 && !y.value || y.value < 0 ? 0 : y.value, k = f.value ? "" : "component-transition__no-slow", ee = m.value ? m.value : "'Lato', sans-serif", re = b.value ? b.value : "1.6em", ve = i.value !== 0 && !i.value || i.value < 0 ? 100 : i.value;
955
955
  return {
956
- disabled: S,
957
- display: r,
958
- paddingX: i,
959
- paddingY: d,
960
- borderRadius: n,
961
- animationSlow: c,
962
- font: A,
963
- fontSize: oe,
964
- fontWeight: ie
956
+ disabled: h,
957
+ display: d,
958
+ paddingX: o,
959
+ paddingY: r,
960
+ borderRadius: s,
961
+ animationSlow: k,
962
+ font: ee,
963
+ fontSize: re,
964
+ fontWeight: ve
965
965
  };
966
- }), k = t(() => V.value.disabled), N = t(() => ({
967
- display: V.value.display
968
- })), U = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), F = t(() => {
969
- const S = V.value;
966
+ }), B = t(() => x.value.disabled), _ = t(() => ({
967
+ display: x.value.display
968
+ })), Z = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), R = t(() => {
969
+ const h = x.value;
970
970
  return {
971
- padding: `${S.paddingY}rem ${S.paddingX}rem`,
972
- borderRadius: `${S.borderRadius}rem`,
973
- fontSize: S.fontSize,
974
- fontWeight: S.fontWeight
971
+ padding: `${h.paddingY}rem ${h.paddingX}rem`,
972
+ borderRadius: `${h.borderRadius}rem`,
973
+ fontSize: h.fontSize,
974
+ fontWeight: h.fontWeight
975
975
  };
976
- }), w = t(() => V.value.animationSlow), $ = t(() => V.value.font), z = t(() => E.value), G = t(() => ee.value), g = t(() => X.value);
977
- t(() => K.value);
978
- const s = t(() => M.value), H = t(() => q.value), Y = t(() => te.value);
979
- t(() => O.value);
980
- const I = t(() => {
981
- const S = {};
982
- h.value && Object.keys(h.value).forEach((d) => S[`aria-${d}`] = h.value[d]);
983
- const r = {
984
- "aria-label": Z.value,
985
- "aria-disabled": v.value,
986
- ...S
976
+ }), I = t(() => x.value.animationSlow), w = t(() => x.value.font), W = t(() => F.value), X = t(() => G.value), u = t(() => Y.value);
977
+ t(() => M.value);
978
+ const $ = t(() => Q.value), j = t(() => q.value), N = t(() => P.value);
979
+ t(() => L.value);
980
+ const H = t(() => {
981
+ const h = {};
982
+ g.value && Object.keys(g.value).forEach((r) => h[`aria-${r}`] = g.value[r]);
983
+ const d = {
984
+ "aria-label": J.value,
985
+ "aria-disabled": c.value,
986
+ ...h
987
987
  };
988
988
  return Object.fromEntries(
989
- Object.entries(r).filter(([i, d]) => d != null)
989
+ Object.entries(d).filter(([o, r]) => r != null)
990
990
  );
991
- }), P = () => {
992
- j("clicked");
991
+ }), K = () => {
992
+ E("clicked");
993
993
  };
994
- return (S, r) => e.nbId ? (fe(), ve("div", Se({
994
+ return (h, d) => e.nbId ? (ce(), fe("div", Ce({
995
995
  key: 0,
996
- class: ["nb-wrapper", k.value],
997
- style: [N.value],
996
+ class: ["nb-wrapper", B.value],
997
+ style: [_.value],
998
998
  tabIndex: e.tabIndex,
999
999
  role: "button"
1000
- }, I.value, {
1001
- onClick: P,
1000
+ }, H.value, {
1001
+ onClick: K,
1002
1002
  onKeydown: [
1003
- r[0] || (r[0] = W(L((i) => !o(v) && e.hasTabIndexEnter && P(), ["prevent"]), ["enter"])),
1004
- r[1] || (r[1] = W(L((i) => !o(v) && e.hasTabIndexSpace && P(), ["prevent"]), ["space"]))
1003
+ d[0] || (d[0] = A(D((o) => !n(c) && e.hasTabIndexEnter && K(), ["prevent"]), ["enter"])),
1004
+ d[1] || (d[1] = A(D((o) => !n(c) && e.hasTabIndexSpace && K(), ["prevent"]), ["space"]))
1005
1005
  ]
1006
1006
  }), [
1007
- de("div", {
1007
+ ne("div", {
1008
1008
  id: e.nbId,
1009
- class: pe(["nb-reset", "component", "component-transition", w.value, U.value]),
1010
- style: se([F.value])
1009
+ class: be(["nb-reset", "component", "component-transition", I.value, Z.value]),
1010
+ style: ie([R.value])
1011
1011
  }, [
1012
- he(S.$slots, "content", {}, () => [
1013
- r[2] || (r[2] = Ce("Default Text"))
1012
+ me(h.$slots, "content", {}, () => [
1013
+ d[2] || (d[2] = he("Default Text"))
1014
1014
  ], !0)
1015
1015
  ], 14, Ot)
1016
- ], 16, Lt)) : ye("", !0);
1016
+ ], 16, Lt)) : ge("", !0);
1017
1017
  }
1018
- }), Rt = /* @__PURE__ */ ke(Wt, [["__scopeId", "data-v-6b8bbb23"]]);
1018
+ }), Wt = /* @__PURE__ */ Be(Rt, [["__scopeId", "data-v-6b8bbb23"]]);
1019
1019
  const zt = ["tabIndex"], Yt = ["id"], Xt = /* @__PURE__ */ Object.assign({
1020
1020
  name: "NbButtonMechanical2",
1021
1021
  inheritAttrs: !1
@@ -1132,100 +1132,100 @@ const zt = ["tabIndex"], Yt = ["id"], Xt = /* @__PURE__ */ Object.assign({
1132
1132
  },
1133
1133
  emits: ["clicked"],
1134
1134
  setup(e, { emit: l }) {
1135
- xe((I) => ({
1136
- ebbdb8f2: s.value,
1137
- "3c1ba399": F.value,
1138
- "32cd6ff4": w.value,
1139
- "3e7722c6": $.value,
1140
- dc15db32: z.value,
1141
- 78066342: G.value,
1142
- f89fd3d8: g.value
1135
+ Se((H) => ({
1136
+ ebbdb8f2: $.value,
1137
+ "3c1ba399": R.value,
1138
+ "32cd6ff4": I.value,
1139
+ "3e7722c6": w.value,
1140
+ dc15db32: W.value,
1141
+ 78066342: X.value,
1142
+ f89fd3d8: u.value
1143
1143
  }));
1144
- const j = l, ae = e, {
1145
- display: Q,
1146
- ariaLabel: Z,
1147
- ariaAttrs: h,
1148
- theme: R,
1149
- lightTextColor: E,
1150
- lightButtonColor: ee,
1151
- lightShadowColor: X,
1152
- lightDisabledBgColor: K,
1153
- darkTextColor: M,
1144
+ const E = l, te = e, {
1145
+ display: U,
1146
+ ariaLabel: J,
1147
+ ariaAttrs: g,
1148
+ theme: O,
1149
+ lightTextColor: F,
1150
+ lightButtonColor: G,
1151
+ lightShadowColor: Y,
1152
+ lightDisabledBgColor: M,
1153
+ darkTextColor: Q,
1154
1154
  darkButtonColor: q,
1155
- darkShadowColor: te,
1156
- darkDisabledBgColor: O,
1157
- paddingX: T,
1158
- paddingY: C,
1159
- borderRadius: B,
1160
- disabled: v,
1161
- fontFamily: m,
1162
- fontSize: f,
1155
+ darkShadowColor: P,
1156
+ darkDisabledBgColor: L,
1157
+ paddingX: S,
1158
+ paddingY: V,
1159
+ borderRadius: y,
1160
+ disabled: c,
1161
+ fontFamily: f,
1162
+ fontSize: m,
1163
1163
  fontWeight: b
1164
- } = Be(ae), u = t(() => {
1165
- const I = v.value ? "component-disabled" : "", P = Q.value !== "b" ? "inline-block" : "block", S = T.value !== 0 && !T.value || T.value < 0 ? 1 : T.value, r = C.value !== 0 && !C.value || C.value < 0 ? 1 : C.value, i = B.value !== 0 && !B.value || B.value < 0 ? 0 : B.value, d = m.value ? m.value : "'Lato', sans-serif", n = f.value ? f.value : "1.6em", c = b.value !== 0 && !b.value || b.value < 0 ? 100 : b.value;
1164
+ } = xe(te), i = t(() => {
1165
+ const H = c.value ? "component-disabled" : "", K = U.value !== "b" ? "inline-block" : "block", h = S.value !== 0 && !S.value || S.value < 0 ? 1 : S.value, d = V.value !== 0 && !V.value || V.value < 0 ? 1 : V.value, o = y.value !== 0 && !y.value || y.value < 0 ? 0 : y.value, r = f.value ? f.value : "'Lato', sans-serif", s = m.value ? m.value : "1.6em", k = b.value !== 0 && !b.value || b.value < 0 ? 100 : b.value;
1166
1166
  return {
1167
- disabled: I,
1168
- display: P,
1169
- paddingX: S,
1170
- paddingY: r,
1171
- borderRadius: i,
1172
- font: d,
1173
- fontSize: n,
1174
- fontWeight: c
1167
+ disabled: H,
1168
+ display: K,
1169
+ paddingX: h,
1170
+ paddingY: d,
1171
+ borderRadius: o,
1172
+ font: r,
1173
+ fontSize: s,
1174
+ fontWeight: k
1175
1175
  };
1176
- }), V = t(() => u.value.disabled), k = t(() => ({
1177
- display: u.value.display
1178
- })), N = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), U = t(() => {
1179
- const I = u.value;
1176
+ }), x = t(() => i.value.disabled), B = t(() => ({
1177
+ display: i.value.display
1178
+ })), _ = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), Z = t(() => {
1179
+ const H = i.value;
1180
1180
  return {
1181
- padding: `${I.paddingY}rem ${I.paddingX}rem`,
1182
- borderRadius: `${I.borderRadius}rem`,
1183
- fontSize: I.fontSize,
1184
- fontWeight: I.fontWeight
1181
+ padding: `${H.paddingY}rem ${H.paddingX}rem`,
1182
+ borderRadius: `${H.borderRadius}rem`,
1183
+ fontSize: H.fontSize,
1184
+ fontWeight: H.fontWeight
1185
1185
  };
1186
- }), F = t(() => E.value), w = t(() => ee.value), $ = t(() => X.value);
1187
- t(() => K.value);
1188
- const z = t(() => M.value), G = t(() => q.value), g = t(() => te.value);
1189
- t(() => O.value);
1190
- const s = t(() => u.value.font), H = t(() => {
1191
- const I = {};
1192
- h.value && Object.keys(h.value).forEach((r) => I[`aria-${r}`] = h.value[r]);
1193
- const P = {
1194
- "aria-label": Z.value,
1195
- "aria-disabled": v.value,
1196
- ...I
1186
+ }), R = t(() => F.value), I = t(() => G.value), w = t(() => Y.value);
1187
+ t(() => M.value);
1188
+ const W = t(() => Q.value), X = t(() => q.value), u = t(() => P.value);
1189
+ t(() => L.value);
1190
+ const $ = t(() => i.value.font), j = t(() => {
1191
+ const H = {};
1192
+ g.value && Object.keys(g.value).forEach((d) => H[`aria-${d}`] = g.value[d]);
1193
+ const K = {
1194
+ "aria-label": J.value,
1195
+ "aria-disabled": c.value,
1196
+ ...H
1197
1197
  };
1198
1198
  return Object.fromEntries(
1199
- Object.entries(P).filter(([S, r]) => r != null)
1199
+ Object.entries(K).filter(([h, d]) => d != null)
1200
1200
  );
1201
- }), Y = () => {
1202
- j("clicked");
1201
+ }), N = () => {
1202
+ E("clicked");
1203
1203
  };
1204
- return (I, P) => e.nbId ? (fe(), ve("div", Se({
1204
+ return (H, K) => e.nbId ? (ce(), fe("div", Ce({
1205
1205
  key: 0,
1206
- class: ["nb-wrapper", V.value],
1207
- style: [k.value],
1206
+ class: ["nb-wrapper", x.value],
1207
+ style: [B.value],
1208
1208
  tabIndex: e.tabIndex,
1209
1209
  role: "button"
1210
- }, H.value, {
1211
- onClick: Y,
1210
+ }, j.value, {
1211
+ onClick: N,
1212
1212
  onKeydown: [
1213
- P[0] || (P[0] = W(L((S) => !o(v) && e.hasTabIndexEnter && Y(), ["prevent"]), ["enter"])),
1214
- P[1] || (P[1] = W(L((S) => !o(v) && e.hasTabIndexSpace && Y(), ["prevent"]), ["space"]))
1213
+ K[0] || (K[0] = A(D((h) => !n(c) && e.hasTabIndexEnter && N(), ["prevent"]), ["enter"])),
1214
+ K[1] || (K[1] = A(D((h) => !n(c) && e.hasTabIndexSpace && N(), ["prevent"]), ["space"]))
1215
1215
  ]
1216
1216
  }), [
1217
- de("div", {
1217
+ ne("div", {
1218
1218
  id: e.nbId,
1219
- class: pe(["nb-reset", "component", "component-transition", N.value]),
1220
- style: se([U.value])
1219
+ class: be(["nb-reset", "component", "component-transition", _.value]),
1220
+ style: ie([Z.value])
1221
1221
  }, [
1222
- he(I.$slots, "content", {}, () => [
1223
- P[2] || (P[2] = Ce("Default Text"))
1222
+ me(H.$slots, "content", {}, () => [
1223
+ K[2] || (K[2] = he("Default Text"))
1224
1224
  ], !0)
1225
1225
  ], 14, Yt)
1226
- ], 16, zt)) : ye("", !0);
1226
+ ], 16, zt)) : ge("", !0);
1227
1227
  }
1228
- }), jt = /* @__PURE__ */ ke(Xt, [["__scopeId", "data-v-56612ee8"]]);
1228
+ }), jt = /* @__PURE__ */ Be(Xt, [["__scopeId", "data-v-56612ee8"]]);
1229
1229
  const Et = ["tabIndex"], Ft = ["id"], Pt = /* @__PURE__ */ Object.assign({
1230
1230
  name: "NbButtonHamburger",
1231
1231
  inheritAttrs: !1
@@ -1329,103 +1329,103 @@ const Et = ["tabIndex"], Ft = ["id"], Pt = /* @__PURE__ */ Object.assign({
1329
1329
  },
1330
1330
  emits: ["clicked"],
1331
1331
  setup(e, { emit: l }) {
1332
- xe((r) => ({
1333
- e49369fc: $.value,
1334
- "016d7e4e": H.value,
1335
- d1d5c14c: z.value,
1336
- "3ee44f39": w.value,
1337
- "66961b8e": Y.value,
1338
- b51deef6: s.value,
1339
- "3bd26bc3": F.value,
1340
- ca9bda12: g.value,
1341
- "716c3462": G.value,
1342
- "749b6a96": I.value
1332
+ Se((d) => ({
1333
+ e49369fc: w.value,
1334
+ "016d7e4e": j.value,
1335
+ d1d5c14c: W.value,
1336
+ "3ee44f39": I.value,
1337
+ "66961b8e": N.value,
1338
+ b51deef6: $.value,
1339
+ "3bd26bc3": R.value,
1340
+ ca9bda12: u.value,
1341
+ "716c3462": X.value,
1342
+ "749b6a96": H.value
1343
1343
  }));
1344
- const j = l, ae = e;
1344
+ const E = l, te = e;
1345
1345
  Ee(() => {
1346
- Q.value = E.value;
1346
+ U.value = F.value;
1347
1347
  });
1348
- const Q = Te(!1), {
1349
- ariaLabel: Z,
1350
- ariaAttrs: h,
1351
- theme: R,
1352
- status: E,
1353
- lightColor: ee,
1354
- lightColorHover: X,
1355
- lightContainerColor: K,
1356
- lightContainerColorHover: M,
1348
+ const U = Te(!1), {
1349
+ ariaLabel: J,
1350
+ ariaAttrs: g,
1351
+ theme: O,
1352
+ status: F,
1353
+ lightColor: G,
1354
+ lightColorHover: Y,
1355
+ lightContainerColor: M,
1356
+ lightContainerColorHover: Q,
1357
1357
  lightDisabledBgColor: q,
1358
- darkColor: te,
1359
- darkColorHover: O,
1360
- darkContainerColor: T,
1361
- darkContainerColorHover: C,
1362
- darkDisabledBgColor: B,
1363
- paddingX: v,
1364
- paddingY: m,
1365
- disabled: f
1366
- } = Be(ae), b = t(() => {
1367
- const r = f.value ? "component-disabled" : "", i = Q.value ? "change" : "", d = v.value !== 0 && !v.value || v.value < 0 ? 3 : v.value, n = m.value !== 0 && !m.value || m.value < 0 ? 3 : m.value;
1358
+ darkColor: P,
1359
+ darkColorHover: L,
1360
+ darkContainerColor: S,
1361
+ darkContainerColorHover: V,
1362
+ darkDisabledBgColor: y,
1363
+ paddingX: c,
1364
+ paddingY: f,
1365
+ disabled: m
1366
+ } = xe(te), b = t(() => {
1367
+ const d = m.value ? "component-disabled" : "", o = U.value ? "change" : "", r = c.value !== 0 && !c.value || c.value < 0 ? 3 : c.value, s = f.value !== 0 && !f.value || f.value < 0 ? 3 : f.value;
1368
1368
  return {
1369
- disabled: r,
1370
- buttonStatus: i,
1371
- paddingX: d,
1372
- paddingY: n
1369
+ disabled: d,
1370
+ buttonStatus: o,
1371
+ paddingX: r,
1372
+ paddingY: s
1373
1373
  };
1374
- }), u = t(() => b.value.disabled), V = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), k = t(() => {
1375
- const r = b.value;
1374
+ }), i = t(() => b.value.disabled), x = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), B = t(() => {
1375
+ const d = b.value;
1376
1376
  return {
1377
- padding: `${r.paddingY}px ${r.paddingX}px`
1377
+ padding: `${d.paddingY}px ${d.paddingX}px`
1378
1378
  };
1379
- }), N = t(() => ({})), U = t(() => b.value.buttonStatus), F = t(() => ee.value), w = t(() => X.value), $ = t(() => K.value), z = t(() => M.value), G = t(() => q.value), g = t(() => te.value), s = t(() => O.value), H = t(() => T.value), Y = t(() => C.value), I = t(() => B.value), P = t(() => {
1380
- const r = {};
1381
- h.value && Object.keys(h.value).forEach((n) => r[`aria-${n}`] = h.value[n]);
1382
- const i = {
1383
- "aria-label": Z.value,
1384
- "aria-disabled": f.value,
1385
- ...r
1379
+ }), _ = t(() => ({})), Z = t(() => b.value.buttonStatus), R = t(() => G.value), I = t(() => Y.value), w = t(() => M.value), W = t(() => Q.value), X = t(() => q.value), u = t(() => P.value), $ = t(() => L.value), j = t(() => S.value), N = t(() => V.value), H = t(() => y.value), K = t(() => {
1380
+ const d = {};
1381
+ g.value && Object.keys(g.value).forEach((s) => d[`aria-${s}`] = g.value[s]);
1382
+ const o = {
1383
+ "aria-label": J.value,
1384
+ "aria-disabled": m.value,
1385
+ ...d
1386
1386
  };
1387
1387
  return Object.fromEntries(
1388
- Object.entries(i).filter(([d, n]) => n != null)
1388
+ Object.entries(o).filter(([r, s]) => s != null)
1389
1389
  );
1390
- }), S = () => {
1391
- const r = !Q.value;
1392
- Q.value = r, j("clicked", r);
1390
+ }), h = () => {
1391
+ const d = !U.value;
1392
+ U.value = d, E("clicked", d);
1393
1393
  };
1394
- return yt(E, () => {
1395
- Q.value = E.value;
1396
- }), (r, i) => e.nbId ? (fe(), ve("div", Se({
1394
+ return yt(F, () => {
1395
+ U.value = F.value;
1396
+ }), (d, o) => e.nbId ? (ce(), fe("div", Ce({
1397
1397
  key: 0,
1398
- class: ["nb-wrapper", u.value],
1399
- style: [k.value],
1398
+ class: ["nb-wrapper", i.value],
1399
+ style: [B.value],
1400
1400
  tabIndex: e.tabIndex,
1401
1401
  role: "button"
1402
- }, P.value, {
1403
- onClick: S,
1402
+ }, K.value, {
1403
+ onClick: h,
1404
1404
  onKeydown: [
1405
- i[0] || (i[0] = W(L((d) => !o(f) && e.hasTabIndexEnter && S(), ["prevent"]), ["enter"])),
1406
- i[1] || (i[1] = W(L((d) => !o(f) && e.hasTabIndexSpace && S(), ["prevent"]), ["space"]))
1405
+ o[0] || (o[0] = A(D((r) => !n(m) && e.hasTabIndexEnter && h(), ["prevent"]), ["enter"])),
1406
+ o[1] || (o[1] = A(D((r) => !n(m) && e.hasTabIndexSpace && h(), ["prevent"]), ["space"]))
1407
1407
  ]
1408
1408
  }), [
1409
- de("div", {
1409
+ ne("div", {
1410
1410
  id: e.nbId,
1411
- class: pe(["nb-reset", "component", U.value, V.value])
1411
+ class: be(["nb-reset", "component", Z.value, x.value])
1412
1412
  }, [
1413
- de("div", {
1413
+ ne("div", {
1414
1414
  class: "component__line-one",
1415
- style: se(N.value)
1415
+ style: ie(_.value)
1416
1416
  }, null, 4),
1417
- de("div", {
1417
+ ne("div", {
1418
1418
  class: "component__line-two",
1419
- style: se(N.value)
1419
+ style: ie(_.value)
1420
1420
  }, null, 4),
1421
- de("div", {
1421
+ ne("div", {
1422
1422
  class: "component__line-three",
1423
- style: se(N.value)
1423
+ style: ie(_.value)
1424
1424
  }, null, 4)
1425
1425
  ], 10, Ft)
1426
- ], 16, Et)) : ye("", !0);
1426
+ ], 16, Et)) : ge("", !0);
1427
1427
  }
1428
- }), Kt = /* @__PURE__ */ ke(Pt, [["__scopeId", "data-v-bfc7656d"]]);
1428
+ }), Kt = /* @__PURE__ */ Be(Pt, [["__scopeId", "data-v-bfc7656d"]]);
1429
1429
  const Mt = ["tabIndex"], qt = ["id"], Ut = /* @__PURE__ */ Object.assign({
1430
1430
  name: "NbButtonColorOutside",
1431
1431
  inheritAttrs: !1
@@ -1542,109 +1542,109 @@ const Mt = ["tabIndex"], qt = ["id"], Ut = /* @__PURE__ */ Object.assign({
1542
1542
  },
1543
1543
  emits: ["clicked"],
1544
1544
  setup(e, { emit: l }) {
1545
- xe((i) => ({
1546
- "6d1b36a9": w.value,
1547
- "65506e61": F.value,
1548
- e28eaf92: z.value,
1549
- "3086f750": g.value,
1550
- "523bc512": G.value,
1551
- "2113fbee": H.value,
1552
- "0e8ab1aa": I.value,
1553
- "7909f264": Y.value,
1554
- "36d92543": s.value,
1555
- "75674cd6": P.value
1545
+ Se((o) => ({
1546
+ "6d1b36a9": I.value,
1547
+ "65506e61": R.value,
1548
+ e28eaf92: W.value,
1549
+ "3086f750": u.value,
1550
+ "523bc512": X.value,
1551
+ "2113fbee": j.value,
1552
+ "0e8ab1aa": H.value,
1553
+ "7909f264": N.value,
1554
+ "36d92543": $.value,
1555
+ "75674cd6": K.value
1556
1556
  }));
1557
- const j = l, ae = e, {
1558
- display: Q,
1559
- ariaLabel: Z,
1560
- ariaAttrs: h,
1561
- theme: R,
1562
- lightTextColor: E,
1563
- lightButtonColor: ee,
1564
- lightBorderColor: X,
1565
- lightDisabledBgColor: K,
1566
- darkTextColor: M,
1557
+ const E = l, te = e, {
1558
+ display: U,
1559
+ ariaLabel: J,
1560
+ ariaAttrs: g,
1561
+ theme: O,
1562
+ lightTextColor: F,
1563
+ lightButtonColor: G,
1564
+ lightBorderColor: Y,
1565
+ lightDisabledBgColor: M,
1566
+ darkTextColor: Q,
1567
1567
  darkButtonColor: q,
1568
- darkBorderColor: te,
1569
- darkDisabledBgColor: O,
1570
- paddingX: T,
1571
- paddingY: C,
1572
- borderRadius: B,
1573
- disabled: v,
1574
- fontFamily: m,
1575
- fontSize: f,
1568
+ darkBorderColor: P,
1569
+ darkDisabledBgColor: L,
1570
+ paddingX: S,
1571
+ paddingY: V,
1572
+ borderRadius: y,
1573
+ disabled: c,
1574
+ fontFamily: f,
1575
+ fontSize: m,
1576
1576
  fontWeight: b
1577
- } = Be(ae), u = t(() => {
1578
- const i = v.value ? "component-disabled" : "", d = Q.value !== "b" ? "inline-block" : "block", n = T.value !== 0 && !T.value || T.value < 0 ? 1 : T.value, c = C.value !== 0 && !C.value || C.value < 0 ? 0.2 : C.value, A = B.value !== 0 && !B.value || B.value < 0 ? 0 : B.value, oe = m.value ? m.value : "'Lato', sans-serif", ie = f.value ? f.value : "1.6em", be = b.value !== 0 && !b.value || b.value < 0 ? 200 : b.value;
1577
+ } = xe(te), i = t(() => {
1578
+ const o = c.value ? "component-disabled" : "", r = U.value !== "b" ? "inline-block" : "block", s = S.value !== 0 && !S.value || S.value < 0 ? 1 : S.value, k = V.value !== 0 && !V.value || V.value < 0 ? 0.2 : V.value, ee = y.value !== 0 && !y.value || y.value < 0 ? 0 : y.value, re = f.value ? f.value : "'Lato', sans-serif", ve = m.value ? m.value : "1.6em", oe = b.value !== 0 && !b.value || b.value < 0 ? 200 : b.value;
1579
1579
  return {
1580
- disabled: i,
1581
- display: d,
1582
- paddingX: n,
1583
- paddingY: c,
1584
- borderRadius: A,
1585
- font: oe,
1586
- fontSize: ie,
1587
- fontWeight: be
1580
+ disabled: o,
1581
+ display: r,
1582
+ paddingX: s,
1583
+ paddingY: k,
1584
+ borderRadius: ee,
1585
+ font: re,
1586
+ fontSize: ve,
1587
+ fontWeight: oe
1588
1588
  };
1589
- }), V = t(() => u.value.disabled), k = t(() => ({
1590
- display: u.value.display
1591
- })), N = t(() => {
1592
- const i = u.value;
1589
+ }), x = t(() => i.value.disabled), B = t(() => ({
1590
+ display: i.value.display
1591
+ })), _ = t(() => {
1592
+ const o = i.value;
1593
1593
  return {
1594
- fontSize: i.fontSize,
1595
- fontWeight: i.fontWeight
1594
+ fontSize: o.fontSize,
1595
+ fontWeight: o.fontWeight
1596
1596
  };
1597
- }), U = t(() => {
1598
- const i = u.value;
1597
+ }), Z = t(() => {
1598
+ const o = i.value;
1599
1599
  return {
1600
- padding: `${i.paddingY}rem ${i.paddingX}rem`,
1601
- borderRadius: F.value
1600
+ padding: `${o.paddingY}rem ${o.paddingX}rem`,
1601
+ borderRadius: R.value
1602
1602
  };
1603
- }), F = t(() => `${u.value.borderRadius}rem`), w = t(() => u.value.font), $ = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), z = t(() => E.value), G = t(() => ee.value), g = t(() => X.value), s = t(() => K.value), H = t(() => M.value), Y = t(() => q.value), I = t(() => te.value), P = t(() => O.value), S = t(() => {
1604
- const i = {};
1605
- h.value && Object.keys(h.value).forEach((c) => i[`aria-${c}`] = h.value[c]);
1606
- const d = {
1607
- "aria-label": Z.value,
1608
- "aria-disabled": v.value,
1609
- ...i
1603
+ }), R = t(() => `${i.value.borderRadius}rem`), I = t(() => i.value.font), w = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), W = t(() => F.value), X = t(() => G.value), u = t(() => Y.value), $ = t(() => M.value), j = t(() => Q.value), N = t(() => q.value), H = t(() => P.value), K = t(() => L.value), h = t(() => {
1604
+ const o = {};
1605
+ g.value && Object.keys(g.value).forEach((k) => o[`aria-${k}`] = g.value[k]);
1606
+ const r = {
1607
+ "aria-label": J.value,
1608
+ "aria-disabled": c.value,
1609
+ ...o
1610
1610
  };
1611
1611
  return Object.fromEntries(
1612
- Object.entries(d).filter(([n, c]) => c != null)
1612
+ Object.entries(r).filter(([s, k]) => k != null)
1613
1613
  );
1614
- }), r = () => {
1615
- j("clicked");
1614
+ }), d = () => {
1615
+ E("clicked");
1616
1616
  };
1617
- return (i, d) => e.nbId ? (fe(), ve("div", Se({
1617
+ return (o, r) => e.nbId ? (ce(), fe("div", Ce({
1618
1618
  key: 0,
1619
- class: ["nb-wrapper", V.value],
1620
- style: [k.value],
1619
+ class: ["nb-wrapper", x.value],
1620
+ style: [B.value],
1621
1621
  tabIndex: e.tabIndex,
1622
1622
  role: "button"
1623
- }, S.value, {
1624
- onClick: r,
1623
+ }, h.value, {
1624
+ onClick: d,
1625
1625
  onKeydown: [
1626
- d[0] || (d[0] = W(L((n) => !o(v) && e.hasTabIndexEnter && r(), ["prevent"]), ["enter"])),
1627
- d[1] || (d[1] = W(L((n) => !o(v) && e.hasTabIndexSpace && r(), ["prevent"]), ["space"]))
1626
+ r[0] || (r[0] = A(D((s) => !n(c) && e.hasTabIndexEnter && d(), ["prevent"]), ["enter"])),
1627
+ r[1] || (r[1] = A(D((s) => !n(c) && e.hasTabIndexSpace && d(), ["prevent"]), ["space"]))
1628
1628
  ]
1629
1629
  }), [
1630
- de("div", {
1630
+ ne("div", {
1631
1631
  id: e.nbId,
1632
- class: pe(["nb-reset", "component", $.value]),
1633
- style: se([N.value])
1632
+ class: be(["nb-reset", "component", w.value]),
1633
+ style: ie([_.value])
1634
1634
  }, [
1635
- de("div", {
1635
+ ne("div", {
1636
1636
  class: "component-content",
1637
- style: se([U.value])
1637
+ style: ie([Z.value])
1638
1638
  }, [
1639
- he(i.$slots, "content", {}, () => [
1640
- d[2] || (d[2] = Ce("Default Text"))
1639
+ me(o.$slots, "content", {}, () => [
1640
+ r[2] || (r[2] = he("Default Text"))
1641
1641
  ], !0)
1642
1642
  ], 4),
1643
- d[3] || (d[3] = de("div", { class: "component-shadow" }, null, -1))
1643
+ r[3] || (r[3] = ne("div", { class: "component-shadow" }, null, -1))
1644
1644
  ], 14, qt)
1645
- ], 16, Mt)) : ye("", !0);
1645
+ ], 16, Mt)) : ge("", !0);
1646
1646
  }
1647
- }), Gt = /* @__PURE__ */ ke(Ut, [["__scopeId", "data-v-da1579ab"]]);
1647
+ }), Gt = /* @__PURE__ */ Be(Ut, [["__scopeId", "data-v-da1579ab"]]);
1648
1648
  const Jt = ["tabIndex"], Qt = ["id"], Zt = /* @__PURE__ */ Object.assign({
1649
1649
  name: "NbButtonColorHover",
1650
1650
  inheritAttrs: !1
@@ -1766,114 +1766,114 @@ const Jt = ["tabIndex"], Qt = ["id"], Zt = /* @__PURE__ */ Object.assign({
1766
1766
  },
1767
1767
  emits: ["clicked"],
1768
1768
  setup(e, { emit: l }) {
1769
- xe((g) => ({
1770
- "33f9338a": w.value,
1771
- "69aa72f4": o(b),
1772
- "37e5d48f": o(m),
1773
- "3d961ea8": o(u),
1774
- aa62f426: o(f),
1775
- "5b1254ac": o(C),
1776
- "6edc2847": o(O),
1777
- "40ee8ff0": o(B),
1778
- "39cfc535": o(T),
1779
- "11c52e40": o(V),
1780
- "797ae5f8": o(v)
1769
+ Se((u) => ({
1770
+ "33f9338a": I.value,
1771
+ "69aa72f4": n(b),
1772
+ "37e5d48f": n(f),
1773
+ "3d961ea8": n(i),
1774
+ aa62f426: n(m),
1775
+ "5b1254ac": n(V),
1776
+ "6edc2847": n(L),
1777
+ "40ee8ff0": n(y),
1778
+ "39cfc535": n(S),
1779
+ "11c52e40": n(x),
1780
+ "797ae5f8": n(c)
1781
1781
  }));
1782
- const j = l, ae = e, {
1783
- display: Q,
1784
- ariaLabel: Z,
1785
- ariaAttrs: h,
1786
- paddingX: R,
1787
- paddingY: E,
1788
- borderRadius: ee,
1789
- disabled: X,
1790
- fontFamily: K,
1791
- fontSize: M,
1782
+ const E = l, te = e, {
1783
+ display: U,
1784
+ ariaLabel: J,
1785
+ ariaAttrs: g,
1786
+ paddingX: O,
1787
+ paddingY: F,
1788
+ borderRadius: G,
1789
+ disabled: Y,
1790
+ fontFamily: M,
1791
+ fontSize: Q,
1792
1792
  fontWeight: q,
1793
- theme: te,
1794
- lightButtonColor: O,
1795
- lightButtonColorHover: T,
1796
- lightTextColor: C,
1797
- lightTextColorHover: B,
1798
- lightDisabledBgColor: v,
1799
- darkButtonColor: m,
1800
- darkButtonColorHover: f,
1793
+ theme: P,
1794
+ lightButtonColor: L,
1795
+ lightButtonColorHover: S,
1796
+ lightTextColor: V,
1797
+ lightTextColorHover: y,
1798
+ lightDisabledBgColor: c,
1799
+ darkButtonColor: f,
1800
+ darkButtonColorHover: m,
1801
1801
  darkTextColor: b,
1802
- darkTextColorHover: u,
1803
- darkDisabledBgColor: V
1804
- } = Be(ae), k = t(() => {
1805
- const g = X.value ? "component-disabled" : "", s = Q.value !== "b" ? "inline-block" : "block", H = R.value !== 0 && !R.value || R.value < 0 ? 1 : R.value, Y = E.value !== 0 && !E.value || E.value < 0 ? 0.2 : E.value, I = ee.value !== 0 && !ee.value || ee.value < 0 ? 0 : ee.value, P = K.value ? K.value : "'Lato', sans-serif", S = M.value ? M.value : "1.6rem", r = q.value !== 0 && !q.value || q.value < 0 ? 100 : q.value, i = te.value ? te.value : "light";
1802
+ darkTextColorHover: i,
1803
+ darkDisabledBgColor: x
1804
+ } = xe(te), B = t(() => {
1805
+ const u = Y.value ? "component-disabled" : "", $ = U.value !== "b" ? "inline-block" : "block", j = O.value !== 0 && !O.value || O.value < 0 ? 1 : O.value, N = F.value !== 0 && !F.value || F.value < 0 ? 0.2 : F.value, H = G.value !== 0 && !G.value || G.value < 0 ? 0 : G.value, K = M.value ? M.value : "'Lato', sans-serif", h = Q.value ? Q.value : "1.6rem", d = q.value !== 0 && !q.value || q.value < 0 ? 100 : q.value, o = P.value ? P.value : "light";
1806
1806
  return {
1807
- disabled: g,
1808
- display: s,
1809
- font: P,
1810
- fontSize: S,
1811
- fontWeight: r,
1812
- paddingX: H,
1813
- paddingY: Y,
1814
- borderRadius: I,
1815
- theme: i
1807
+ disabled: u,
1808
+ display: $,
1809
+ font: K,
1810
+ fontSize: h,
1811
+ fontWeight: d,
1812
+ paddingX: j,
1813
+ paddingY: N,
1814
+ borderRadius: H,
1815
+ theme: o
1816
1816
  };
1817
- }), N = t(() => k.value.disabled), U = t(() => {
1818
- const g = k.value;
1817
+ }), _ = t(() => B.value.disabled), Z = t(() => {
1818
+ const u = B.value;
1819
1819
  return {
1820
- display: g.display,
1821
- borderRadius: `${g.borderRadius}rem`
1820
+ display: u.display,
1821
+ borderRadius: `${u.borderRadius}rem`
1822
1822
  };
1823
- }), F = t(() => {
1824
- const g = k.value;
1823
+ }), R = t(() => {
1824
+ const u = B.value;
1825
1825
  return {
1826
- padding: `${g.paddingY}rem ${g.paddingX}rem`,
1827
- borderRadius: `${g.borderRadius}rem`,
1828
- fontSize: g.fontSize,
1829
- fontWeight: g.fontWeight
1826
+ padding: `${u.paddingY}rem ${u.paddingX}rem`,
1827
+ borderRadius: `${u.borderRadius}rem`,
1828
+ fontSize: u.fontSize,
1829
+ fontWeight: u.fontWeight
1830
1830
  };
1831
- }), w = t(() => k.value.font), $ = t(() => {
1832
- switch (k.value.theme) {
1831
+ }), I = t(() => B.value.font), w = t(() => {
1832
+ switch (B.value.theme) {
1833
1833
  case "dark":
1834
1834
  return "component__theme--dark";
1835
1835
  default:
1836
1836
  return "component__theme--light";
1837
1837
  }
1838
- }), z = t(() => {
1839
- const g = {};
1840
- h.value && Object.keys(h.value).forEach((Y) => g[`aria-${Y}`] = h.value[Y]);
1841
- const s = {
1842
- "aria-label": Z.value,
1843
- "aria-disabled": X.value,
1844
- ...g
1838
+ }), W = t(() => {
1839
+ const u = {};
1840
+ g.value && Object.keys(g.value).forEach((N) => u[`aria-${N}`] = g.value[N]);
1841
+ const $ = {
1842
+ "aria-label": J.value,
1843
+ "aria-disabled": Y.value,
1844
+ ...u
1845
1845
  };
1846
1846
  return Object.fromEntries(
1847
- Object.entries(s).filter(([H, Y]) => Y != null)
1847
+ Object.entries($).filter(([j, N]) => N != null)
1848
1848
  );
1849
- }), G = () => {
1850
- j("clicked");
1849
+ }), X = () => {
1850
+ E("clicked");
1851
1851
  };
1852
- return (g, s) => e.nbId ? (fe(), ve("div", Se({
1852
+ return (u, $) => e.nbId ? (ce(), fe("div", Ce({
1853
1853
  key: 0,
1854
- class: ["nb-wrapper", N.value],
1855
- style: [U.value],
1854
+ class: ["nb-wrapper", _.value],
1855
+ style: [Z.value],
1856
1856
  tabIndex: e.tabIndex,
1857
1857
  role: "button"
1858
- }, z.value, {
1859
- onClick: G,
1858
+ }, W.value, {
1859
+ onClick: X,
1860
1860
  onKeydown: [
1861
- s[0] || (s[0] = W(L((H) => !o(X) && e.hasTabIndexEnter && G(), ["prevent"]), ["enter"])),
1862
- s[1] || (s[1] = W(L((H) => !o(X) && e.hasTabIndexSpace && G(), ["prevent"]), ["space"]))
1861
+ $[0] || ($[0] = A(D((j) => !n(Y) && e.hasTabIndexEnter && X(), ["prevent"]), ["enter"])),
1862
+ $[1] || ($[1] = A(D((j) => !n(Y) && e.hasTabIndexSpace && X(), ["prevent"]), ["space"]))
1863
1863
  ]
1864
1864
  }), [
1865
- de("div", {
1865
+ ne("div", {
1866
1866
  id: e.nbId,
1867
- class: pe(["nb-reset component component-transition", [$.value]]),
1868
- style: se([F.value])
1867
+ class: be(["nb-reset component component-transition", [w.value]]),
1868
+ style: ie([R.value])
1869
1869
  }, [
1870
- he(g.$slots, "content", {}, () => [
1871
- s[2] || (s[2] = Ce("Default Text"))
1870
+ me(u.$slots, "content", {}, () => [
1871
+ $[2] || ($[2] = he("Default Text"))
1872
1872
  ], !0)
1873
1873
  ], 14, Qt)
1874
- ], 16, Jt)) : ye("", !0);
1874
+ ], 16, Jt)) : ge("", !0);
1875
1875
  }
1876
- }), ea = /* @__PURE__ */ ke(Zt, [["__scopeId", "data-v-3023dc70"]]);
1876
+ }), ea = /* @__PURE__ */ Be(Zt, [["__scopeId", "data-v-3023dc70"]]);
1877
1877
  const ta = ["tabIndex"], aa = ["id"], la = { class: "first-child" }, oa = { class: "last-child" }, na = /* @__PURE__ */ Object.assign({
1878
1878
  name: "NbButtonAlternateText",
1879
1879
  inheritAttrs: !1
@@ -1979,11 +1979,6 @@ const ta = ["tabIndex"], aa = ["id"], la = { class: "first-child" }, oa = { clas
1979
1979
  type: Number,
1980
1980
  default: 0.375
1981
1981
  },
1982
- width: {
1983
- type: Number,
1984
- default: 86,
1985
- validator: (e) => e || 86
1986
- },
1987
1982
  paddingX: {
1988
1983
  type: Number,
1989
1984
  default: 1,
@@ -2016,120 +2011,116 @@ const ta = ["tabIndex"], aa = ["id"], la = { class: "first-child" }, oa = { clas
2016
2011
  },
2017
2012
  emits: ["clicked"],
2018
2013
  setup(e, { emit: l }) {
2019
- xe((J) => ({
2020
- "60c258fb": g.value,
2021
- cf915e00: I.value,
2022
- "2db81046": S.value,
2023
- cf3b50b6: H.value,
2024
- "2f92fed2": Y.value,
2025
- "2ede281c": P.value,
2026
- b6d39e94: n.value,
2027
- "3a16effc": A.value,
2028
- "417ca64a": i.value,
2029
- "7cc9fd21": d.value,
2030
- "26f6abb4": c.value,
2031
- "899deb9e": r.value,
2032
- "8de5c232": oe.value
2014
+ Se((oe) => ({
2015
+ a6ea190a: X.value,
2016
+ 60670680: N.value,
2017
+ 14307474: K.value,
2018
+ "67fd25b6": $.value,
2019
+ "5fae49d2": j.value,
2020
+ "38b83ac8": H.value,
2021
+ "364c6994": r.value,
2022
+ "7a5a8a7c": k.value,
2023
+ "4eac314a": d.value,
2024
+ "103b5abe": o.value,
2025
+ "02dd9fa6": s.value,
2026
+ "5cec009e": h.value,
2027
+ be010d32: ee.value
2033
2028
  }));
2034
- const j = l, ae = e, {
2035
- display: Q,
2036
- ariaLabel: Z,
2037
- ariaAttrs: h,
2038
- theme: R,
2039
- lightTextColor: E,
2040
- lightTextColorHover: ee,
2041
- lightButtonColor: X,
2042
- lightButtonColorHover: K,
2043
- lightBorderColor: M,
2029
+ const E = l, te = e, {
2030
+ display: U,
2031
+ ariaLabel: J,
2032
+ ariaAttrs: g,
2033
+ theme: O,
2034
+ lightTextColor: F,
2035
+ lightTextColorHover: G,
2036
+ lightButtonColor: Y,
2037
+ lightButtonColorHover: M,
2038
+ lightBorderColor: Q,
2044
2039
  lightDisabledBgColor: q,
2045
- darkTextColor: te,
2046
- darkTextColorHover: O,
2047
- darkButtonColor: T,
2048
- darkButtonColorHover: C,
2049
- darkBorderColor: B,
2050
- darkDisabledBgColor: v,
2051
- showBorder: m,
2052
- borderRadius: f,
2053
- width: b,
2054
- paddingX: u,
2055
- paddingY: V,
2056
- disabled: k,
2057
- fontFamily: N,
2058
- fontSize: U,
2059
- fontWeight: F
2060
- } = Be(ae), w = t(() => {
2061
- const J = k.value ? "component-disabled" : "", p = Q.value !== "b" ? "inline-block" : "block", y = f.value !== 0 && !f.value || f.value < 0 ? 0 : f.value, le = [!1, !0].includes(m.value) ? m.value : !0, D = !b.value || b.value < 86 ? 86 : b.value, _ = u.value !== 0 && !u.value || u.value < 0 ? 1 : u.value, ue = V.value !== 0 && !V.value || V.value < 0 ? 0.4 : V.value, ne = N.value ? N.value : "'Lato', sans-serif", me = U.value ? U.value : "1.6em", ge = F.value !== 0 && !F.value || F.value < 0 ? 200 : F.value;
2040
+ darkTextColor: P,
2041
+ darkTextColorHover: L,
2042
+ darkButtonColor: S,
2043
+ darkButtonColorHover: V,
2044
+ darkBorderColor: y,
2045
+ darkDisabledBgColor: c,
2046
+ showBorder: f,
2047
+ borderRadius: m,
2048
+ paddingX: b,
2049
+ paddingY: i,
2050
+ disabled: x,
2051
+ fontFamily: B,
2052
+ fontSize: _,
2053
+ fontWeight: Z
2054
+ } = xe(te), R = t(() => {
2055
+ const oe = x.value ? "component-disabled" : "", ue = U.value !== "b" ? "inline-block" : "block", T = m.value !== 0 && !m.value || m.value < 0 ? 0 : m.value, p = [!1, !0].includes(f.value) ? f.value : !0, de = b.value !== 0 && !b.value || b.value < 0 ? 1 : b.value, v = i.value !== 0 && !i.value || i.value < 0 ? 0.4 : i.value, z = B.value ? B.value : "'Lato', sans-serif", pe = _.value ? _.value : "1.6em", ae = Z.value !== 0 && !Z.value || Z.value < 0 ? 200 : Z.value;
2062
2056
  return {
2063
- disabled: J,
2064
- display: p,
2065
- showBorder: le,
2066
- borderRadius: y,
2067
- width: D,
2068
- paddingX: _,
2069
- paddingY: ue,
2070
- font: ne,
2071
- fontSize: me,
2072
- fontWeight: ge
2057
+ disabled: oe,
2058
+ display: ue,
2059
+ showBorder: p,
2060
+ borderRadius: T,
2061
+ paddingX: de,
2062
+ paddingY: v,
2063
+ font: z,
2064
+ fontSize: pe,
2065
+ fontWeight: ae
2073
2066
  };
2074
- }), $ = t(() => w.value.disabled), z = t(() => ({
2075
- display: w.value.display
2076
- })), G = t(() => {
2077
- const J = w.value, p = J.display === "block" ? "auto" : `${J.width}px`;
2067
+ }), I = t(() => R.value.disabled), w = t(() => ({
2068
+ display: R.value.display
2069
+ })), W = t(() => {
2070
+ const oe = R.value;
2078
2071
  return {
2079
- borderRadius: `${J.borderRadius}rem`,
2080
- minWidth: "33px",
2081
- width: p,
2082
- padding: `${J.paddingY}rem ${J.paddingX}rem`,
2072
+ borderRadius: `${oe.borderRadius}rem`,
2073
+ padding: `${oe.paddingY}rem ${oe.paddingX}rem`,
2083
2074
  lineHeight: "1.42857143",
2084
- fontSize: J.fontSize,
2085
- fontWeight: J.fontWeight
2075
+ fontSize: oe.fontSize,
2076
+ fontWeight: oe.fontWeight
2086
2077
  };
2087
- }), g = t(() => w.value.font), s = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), H = t(() => E.value), Y = t(() => ee.value), I = t(() => X.value), P = t(() => K.value), S = t(() => M.value), r = t(() => q.value), i = t(() => te.value), d = t(() => O.value), n = t(() => T.value), c = t(() => C.value), A = t(() => B.value), oe = t(() => v.value), ie = t(() => {
2088
- const J = {};
2089
- h.value && Object.keys(h.value).forEach((le) => J[`aria-${le}`] = h.value[le]);
2090
- const p = {
2091
- "aria-label": Z.value,
2092
- "aria-disabled": k.value,
2093
- ...J
2078
+ }), X = t(() => R.value.font), u = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), $ = t(() => F.value), j = t(() => G.value), N = t(() => Y.value), H = t(() => M.value), K = t(() => Q.value), h = t(() => q.value), d = t(() => P.value), o = t(() => L.value), r = t(() => S.value), s = t(() => V.value), k = t(() => y.value), ee = t(() => c.value), re = t(() => {
2079
+ const oe = {};
2080
+ g.value && Object.keys(g.value).forEach((p) => oe[`aria-${p}`] = g.value[p]);
2081
+ const ue = {
2082
+ "aria-label": J.value,
2083
+ "aria-disabled": x.value,
2084
+ ...oe
2094
2085
  };
2095
2086
  return Object.fromEntries(
2096
- Object.entries(p).filter(([y, le]) => le != null)
2087
+ Object.entries(ue).filter(([T, p]) => p != null)
2097
2088
  );
2098
- }), be = () => {
2099
- j("clicked");
2089
+ }), ve = () => {
2090
+ E("clicked");
2100
2091
  };
2101
- return (J, p) => e.nbId ? (fe(), ve("div", Se({
2092
+ return (oe, ue) => e.nbId ? (ce(), fe("div", Ce({
2102
2093
  key: 0,
2103
- class: ["nb-wrapper", $.value],
2104
- style: [z.value],
2094
+ class: ["nb-wrapper", I.value],
2095
+ style: [w.value],
2105
2096
  tabIndex: e.tabIndex,
2106
2097
  role: "button"
2107
- }, ie.value, {
2108
- onClick: be,
2098
+ }, re.value, {
2099
+ onClick: ve,
2109
2100
  onKeydown: [
2110
- p[0] || (p[0] = W(L((y) => !o(k) && e.hasTabIndexEnter && be(), ["prevent"]), ["enter"])),
2111
- p[1] || (p[1] = W(L((y) => !o(k) && e.hasTabIndexSpace && be(), ["prevent"]), ["space"]))
2101
+ ue[0] || (ue[0] = A(D((T) => !n(x) && e.hasTabIndexEnter && ve(), ["prevent"]), ["enter"])),
2102
+ ue[1] || (ue[1] = A(D((T) => !n(x) && e.hasTabIndexSpace && ve(), ["prevent"]), ["space"]))
2112
2103
  ]
2113
2104
  }), [
2114
- de("div", {
2105
+ ne("div", {
2115
2106
  id: e.nbId,
2116
- class: pe(["nb-reset", "component", s.value, { "component--no-border": !o(m) }]),
2117
- style: se([G.value])
2107
+ class: be(["nb-reset", "component", u.value, { "component--no-border": !n(f) }]),
2108
+ style: ie([W.value])
2118
2109
  }, [
2119
- de("div", la, [
2120
- he(J.$slots, "content", {}, () => [
2121
- p[2] || (p[2] = Ce("Default Text"))
2110
+ ne("div", la, [
2111
+ me(oe.$slots, "content", {}, () => [
2112
+ ue[2] || (ue[2] = he("Default Text"))
2122
2113
  ], !0)
2123
2114
  ]),
2124
- de("div", oa, [
2125
- he(J.$slots, "content", {}, () => [
2126
- p[3] || (p[3] = Ce("Default Text"))
2115
+ ne("div", oa, [
2116
+ me(oe.$slots, "content", {}, () => [
2117
+ ue[3] || (ue[3] = he("Default Text"))
2127
2118
  ], !0)
2128
2119
  ])
2129
2120
  ], 14, aa)
2130
- ], 16, ta)) : ye("", !0);
2121
+ ], 16, ta)) : ge("", !0);
2131
2122
  }
2132
- }), ra = /* @__PURE__ */ ke(na, [["__scopeId", "data-v-71fb35fd"]]);
2123
+ }), ra = /* @__PURE__ */ Be(na, [["__scopeId", "data-v-a54b79c5"]]);
2133
2124
  const ua = ["tabIndex"], da = ["id"], ia = /* @__PURE__ */ Object.assign({
2134
2125
  name: "NbButtonBack",
2135
2126
  inheritAttrs: !1
@@ -2220,96 +2211,96 @@ const ua = ["tabIndex"], da = ["id"], ia = /* @__PURE__ */ Object.assign({
2220
2211
  },
2221
2212
  emits: ["clicked"],
2222
2213
  setup(e, { emit: l }) {
2223
- xe(($) => ({
2224
- "016c20ce": k.value,
2214
+ Se((w) => ({
2215
+ "016c20ce": B.value,
2225
2216
  "8168e11c": b.value,
2226
- a95ce2c2: f.value,
2227
- "439bc76e": V.value,
2228
- "70d5b6ca": u.value
2217
+ a95ce2c2: m.value,
2218
+ "439bc76e": x.value,
2219
+ "70d5b6ca": i.value
2229
2220
  })), Ee(() => {
2230
- F();
2221
+ R();
2231
2222
  });
2232
- const j = l, ae = e, {
2233
- ariaLabel: Q,
2234
- ariaAttrs: Z,
2235
- theme: h,
2236
- lightColor: R,
2237
- lightTextColor: E,
2238
- lightDisabledBgColor: ee,
2239
- darkColor: X,
2240
- darkTextColor: K,
2241
- darkDisabledBgColor: M,
2223
+ const E = l, te = e, {
2224
+ ariaLabel: U,
2225
+ ariaAttrs: J,
2226
+ theme: g,
2227
+ lightColor: O,
2228
+ lightTextColor: F,
2229
+ lightDisabledBgColor: G,
2230
+ darkColor: Y,
2231
+ darkTextColor: M,
2232
+ darkDisabledBgColor: Q,
2242
2233
  disabled: q,
2243
- fontFamily: te,
2244
- fontSize: O,
2245
- fontWeight: T
2246
- } = Be(ae), C = t(() => {
2247
- const $ = q.value ? "component-disabled" : "", z = te.value ? te.value : "'Lato', sans-serif", G = O.value ? O.value : "1.6em", g = T.value !== 0 && !T.value || T.value < 0 ? 400 : T.value;
2234
+ fontFamily: P,
2235
+ fontSize: L,
2236
+ fontWeight: S
2237
+ } = xe(te), V = t(() => {
2238
+ const w = q.value ? "component-disabled" : "", W = P.value ? P.value : "'Lato', sans-serif", X = L.value ? L.value : "1.6em", u = S.value !== 0 && !S.value || S.value < 0 ? 400 : S.value;
2248
2239
  return {
2249
- font: z,
2250
- fontSize: G,
2251
- fontWeight: g,
2252
- disabled: $
2240
+ font: W,
2241
+ fontSize: X,
2242
+ fontWeight: u,
2243
+ disabled: w
2253
2244
  };
2254
- }), B = t(() => ({})), v = t(() => {
2255
- const $ = C.value;
2245
+ }), y = t(() => ({})), c = t(() => {
2246
+ const w = V.value;
2256
2247
  return {
2257
- fontSize: $.fontSize,
2258
- fontWeight: $.fontWeight
2248
+ fontSize: w.fontSize,
2249
+ fontWeight: w.fontWeight
2259
2250
  };
2260
- }), m = t(() => h.value === "dark" ? "component__theme--dark" : "component__theme--light"), f = t(() => R.value), b = t(() => E.value);
2261
- t(() => ee.value);
2262
- const u = t(() => X.value), V = t(() => K.value);
2263
- t(() => M.value);
2264
- const k = t(() => C.value.font), N = t(() => C.value.disabled), U = t(() => {
2265
- const $ = {};
2266
- Z.value && Object.keys(Z.value).forEach((g) => $[`aria-${g}`] = Z.value[g]);
2267
- const z = {
2268
- "aria-label": Q.value,
2251
+ }), f = t(() => g.value === "dark" ? "component__theme--dark" : "component__theme--light"), m = t(() => O.value), b = t(() => F.value);
2252
+ t(() => G.value);
2253
+ const i = t(() => Y.value), x = t(() => M.value);
2254
+ t(() => Q.value);
2255
+ const B = t(() => V.value.font), _ = t(() => V.value.disabled), Z = t(() => {
2256
+ const w = {};
2257
+ J.value && Object.keys(J.value).forEach((u) => w[`aria-${u}`] = J.value[u]);
2258
+ const W = {
2259
+ "aria-label": U.value,
2269
2260
  "aria-disabled": q.value,
2270
- ...$
2261
+ ...w
2271
2262
  };
2272
2263
  return Object.fromEntries(
2273
- Object.entries(z).filter(([G, g]) => g != null)
2264
+ Object.entries(W).filter(([X, u]) => u != null)
2274
2265
  );
2275
- }), F = () => {
2276
- }, w = () => {
2277
- j("clicked");
2266
+ }), R = () => {
2267
+ }, I = () => {
2268
+ E("clicked");
2278
2269
  };
2279
- return ($, z) => e.nbId ? (fe(), ve("div", Se({
2270
+ return (w, W) => e.nbId ? (ce(), fe("div", Ce({
2280
2271
  key: 0,
2281
- class: ["nb-wrapper", N.value],
2282
- style: [B.value],
2272
+ class: ["nb-wrapper", _.value],
2273
+ style: [y.value],
2283
2274
  tabIndex: e.tabIndex,
2284
2275
  role: "button"
2285
- }, U.value, {
2286
- onClick: w,
2276
+ }, Z.value, {
2277
+ onClick: I,
2287
2278
  onKeydown: [
2288
- z[0] || (z[0] = W(L((G) => !o(q) && e.hasTabIndexEnter && w(), ["prevent"]), ["enter"])),
2289
- z[1] || (z[1] = W(L((G) => !o(q) && e.hasTabIndexSpace && w(), ["prevent"]), ["space"]))
2279
+ W[0] || (W[0] = A(D((X) => !n(q) && e.hasTabIndexEnter && I(), ["prevent"]), ["enter"])),
2280
+ W[1] || (W[1] = A(D((X) => !n(q) && e.hasTabIndexSpace && I(), ["prevent"]), ["space"]))
2290
2281
  ]
2291
2282
  }), [
2292
- de("div", {
2283
+ ne("div", {
2293
2284
  id: e.nbId,
2294
- class: pe(["nb-reset", "component", m.value]),
2295
- style: se([v.value])
2285
+ class: be(["nb-reset", "component", f.value]),
2286
+ style: ie([c.value])
2296
2287
  }, [
2297
- z[2] || (z[2] = de("svg", {
2288
+ W[2] || (W[2] = ne("svg", {
2298
2289
  xmlns: "http://www.w3.org/2000/svg",
2299
2290
  width: "1em",
2300
2291
  height: "1em",
2301
2292
  viewBox: "0 0 16 16"
2302
2293
  }, [
2303
- de("path", {
2294
+ ne("path", {
2304
2295
  d: "M14 8a.75.75 0 01-.75.75H4.56l1.22 1.22a.75.75 0 11-1.06 1.06l-2.5-2.5a.75.75 0 010-1.06l2.5-2.5a.75.75 0 111.06 1.06L4.56 7.25h8.69A.75.75 0 0114 8z",
2305
2296
  "clip-rule": "evenodd"
2306
2297
  })
2307
2298
  ], -1)),
2308
- de("span", null, We(e.text), 1)
2299
+ ne("span", null, Le(e.text), 1)
2309
2300
  ], 14, da)
2310
- ], 16, ua)) : ye("", !0);
2301
+ ], 16, ua)) : ge("", !0);
2311
2302
  }
2312
- }), sa = /* @__PURE__ */ ke(ia, [["__scopeId", "data-v-20a30e37"]]);
2303
+ }), sa = /* @__PURE__ */ Be(ia, [["__scopeId", "data-v-20a30e37"]]);
2313
2304
  const ca = ["tabIndex"], fa = ["id"], va = /* @__PURE__ */ Object.assign({
2314
2305
  name: "NbButtonGradientBorderToBackground",
2315
2306
  inheritAttrs: !1
@@ -2377,11 +2368,6 @@ const ca = ["tabIndex"], fa = ["id"], va = /* @__PURE__ */ Object.assign({
2377
2368
  type: Number,
2378
2369
  default: 0.375
2379
2370
  },
2380
- width: {
2381
- type: Number,
2382
- default: 86,
2383
- validator: (e) => e || 86
2384
- },
2385
2371
  paddingX: {
2386
2372
  type: Number,
2387
2373
  default: 1,
@@ -2414,105 +2400,101 @@ const ca = ["tabIndex"], fa = ["id"], va = /* @__PURE__ */ Object.assign({
2414
2400
  },
2415
2401
  emits: ["clicked"],
2416
2402
  setup(e, { emit: l }) {
2417
- xe((s) => ({
2418
- "928e066e": k.value,
2419
- "1a34925a": $.value,
2420
- "1f94277f": F.value,
2421
- "5fc491f5": U.value,
2422
- c38e18cc: N.value,
2423
- ac76d62a: w.value,
2424
- "30d4a1fc": z.value
2403
+ Se((u) => ({
2404
+ "70139a7c": x.value,
2405
+ "85ad88e6": I.value,
2406
+ "6410fd1c": Z.value,
2407
+ "1b650f22": _.value,
2408
+ "01802e4d": B.value,
2409
+ "018b0a50": R.value,
2410
+ "91ac64a2": w.value
2425
2411
  }));
2426
- const j = l, ae = e, {
2427
- display: Q,
2428
- ariaLabel: Z,
2429
- ariaAttrs: h,
2430
- buttonColor: R,
2431
- borderColor: E,
2432
- buttonHoverColor: ee,
2433
- showBorder: X,
2434
- borderRadius: K,
2435
- textColor: M,
2412
+ const E = l, te = e, {
2413
+ display: U,
2414
+ ariaLabel: J,
2415
+ ariaAttrs: g,
2416
+ buttonColor: O,
2417
+ borderColor: F,
2418
+ buttonHoverColor: G,
2419
+ showBorder: Y,
2420
+ borderRadius: M,
2421
+ textColor: Q,
2436
2422
  textHoverColor: q,
2437
- width: te,
2438
- paddingX: O,
2439
- paddingY: T,
2440
- disabled: C,
2441
- fontFamily: B,
2442
- fontSize: v,
2443
- fontWeight: m
2444
- } = Be(ae), f = t(() => {
2445
- const s = C.value ? "component-disabled" : "", H = Q.value !== "b" ? "inline-block" : "block", Y = R.value ? R.value : "#ffffff", I = ee.value ? ee.value : "#000000", P = E.value ? E.value : "#ffe54c", S = K.value !== 0 && !K.value || K.value < 0 ? 0 : K.value, r = [!1, !0].includes(X.value) ? X.value : !0, i = M.value ? M.value : "#ffffff", d = q.value ? q.value : "#000000", n = !te.value || te.value < 86 ? 86 : te.value, c = O.value !== 0 && !O.value || O.value < 0 ? 1 : O.value, A = T.value !== 0 && !T.value || T.value < 0 ? 0.2 : T.value, oe = B.value ? B.value : "'Lato', sans-serif", ie = v.value ? v.value : "1.6em", be = m.value !== 0 && !m.value || m.value < 0 ? 200 : m.value;
2423
+ paddingX: P,
2424
+ paddingY: L,
2425
+ disabled: S,
2426
+ fontFamily: V,
2427
+ fontSize: y,
2428
+ fontWeight: c
2429
+ } = xe(te), f = t(() => {
2430
+ const u = S.value ? "component-disabled" : "", $ = U.value !== "b" ? "inline-block" : "block", j = O.value ? O.value : "#ffffff", N = G.value ? G.value : "#000000", H = F.value ? F.value : "#ffe54c", K = M.value !== 0 && !M.value || M.value < 0 ? 0 : M.value, h = [!1, !0].includes(Y.value) ? Y.value : !0, d = Q.value ? Q.value : "#ffffff", o = q.value ? q.value : "#000000", r = P.value !== 0 && !P.value || P.value < 0 ? 1 : P.value, s = L.value !== 0 && !L.value || L.value < 0 ? 0.2 : L.value, k = V.value ? V.value : "'Lato', sans-serif", ee = y.value ? y.value : "1.6em", re = c.value !== 0 && !c.value || c.value < 0 ? 200 : c.value;
2446
2431
  return {
2447
- disabled: s,
2448
- display: H,
2449
- buttonColor: Y,
2450
- buttonHoverColor: I,
2451
- borderColor: P,
2452
- showBorder: r,
2453
- borderRadius: S,
2454
- textColor: i,
2455
- textHoverColor: d,
2456
- width: n,
2457
- paddingX: c,
2458
- paddingY: A,
2459
- font: oe,
2460
- fontSize: ie,
2461
- fontWeight: be
2432
+ disabled: u,
2433
+ display: $,
2434
+ buttonColor: j,
2435
+ buttonHoverColor: N,
2436
+ borderColor: H,
2437
+ showBorder: h,
2438
+ borderRadius: K,
2439
+ textColor: d,
2440
+ textHoverColor: o,
2441
+ paddingX: r,
2442
+ paddingY: s,
2443
+ font: k,
2444
+ fontSize: ee,
2445
+ fontWeight: re
2462
2446
  };
2463
- }), b = t(() => f.value.disabled), u = t(() => ({
2447
+ }), m = t(() => f.value.disabled), b = t(() => ({
2464
2448
  display: f.value.display
2465
- })), V = t(() => {
2466
- const s = f.value;
2449
+ })), i = t(() => {
2450
+ const u = f.value;
2467
2451
  return {
2468
- minWidth: "33px",
2469
- width: s.display === "block" ? "auto" : `${s.width}px`,
2470
2452
  lineHeight: "1.42857143",
2471
- fontSize: s.fontSize,
2472
- fontWeight: s.fontWeight
2453
+ fontSize: u.fontSize,
2454
+ fontWeight: u.fontWeight
2473
2455
  };
2474
- }), k = t(() => f.value.font), N = t(() => {
2475
- const s = f.value;
2476
- return `${s.paddingY}rem ${s.paddingX}rem`;
2477
- }), U = t(() => `${f.value.borderRadius}rem`), F = t(() => f.value.textColor), w = t(() => f.value.textHoverColor), $ = t(() => f.value.buttonColor), z = t(() => f.value.buttonHoverColor), G = t(() => {
2478
- const s = {};
2479
- h.value && Object.keys(h.value).forEach((I) => s[`aria-${I}`] = h.value[I]);
2480
- const H = {
2481
- "aria-label": Z.value,
2482
- "aria-disabled": C.value,
2483
- ...s
2456
+ }), x = t(() => f.value.font), B = t(() => {
2457
+ const u = f.value;
2458
+ return `${u.paddingY}rem ${u.paddingX}rem`;
2459
+ }), _ = t(() => `${f.value.borderRadius}rem`), Z = t(() => f.value.textColor), R = t(() => f.value.textHoverColor), I = t(() => f.value.buttonColor), w = t(() => f.value.buttonHoverColor), W = t(() => {
2460
+ const u = {};
2461
+ g.value && Object.keys(g.value).forEach((N) => u[`aria-${N}`] = g.value[N]);
2462
+ const $ = {
2463
+ "aria-label": J.value,
2464
+ "aria-disabled": S.value,
2465
+ ...u
2484
2466
  };
2485
2467
  return Object.fromEntries(
2486
- Object.entries(H).filter(([Y, I]) => I != null)
2468
+ Object.entries($).filter(([j, N]) => N != null)
2487
2469
  );
2488
- }), g = () => {
2489
- j("clicked");
2470
+ }), X = () => {
2471
+ E("clicked");
2490
2472
  };
2491
- return (s, H) => e.nbId ? (fe(), ve("div", Se({
2473
+ return (u, $) => e.nbId ? (ce(), fe("div", Ce({
2492
2474
  key: 0,
2493
- class: ["nb-wrapper", b.value],
2494
- style: [u.value],
2475
+ class: ["nb-wrapper", m.value],
2476
+ style: [b.value],
2495
2477
  tabIndex: e.tabIndex,
2496
2478
  role: "button"
2497
- }, G.value, {
2498
- onClick: g,
2479
+ }, W.value, {
2480
+ onClick: X,
2499
2481
  onKeydown: [
2500
- H[0] || (H[0] = W(L((Y) => !o(C) && e.hasTabIndexEnter && g(), ["prevent"]), ["enter"])),
2501
- H[1] || (H[1] = W(L((Y) => !o(C) && e.hasTabIndexSpace && g(), ["prevent"]), ["space"]))
2482
+ $[0] || ($[0] = A(D((j) => !n(S) && e.hasTabIndexEnter && X(), ["prevent"]), ["enter"])),
2483
+ $[1] || ($[1] = A(D((j) => !n(S) && e.hasTabIndexSpace && X(), ["prevent"]), ["space"]))
2502
2484
  ]
2503
2485
  }), [
2504
- de("div", {
2486
+ ne("div", {
2505
2487
  id: e.nbId,
2506
2488
  class: "nb-reset component",
2507
- style: se([V.value])
2489
+ style: ie([i.value])
2508
2490
  }, [
2509
- he(s.$slots, "content", {}, () => [
2510
- H[2] || (H[2] = Ce("Default Text"))
2491
+ me(u.$slots, "content", {}, () => [
2492
+ $[2] || ($[2] = he("Default Text"))
2511
2493
  ], !0)
2512
2494
  ], 12, fa)
2513
- ], 16, ca)) : ye("", !0);
2495
+ ], 16, ca)) : ge("", !0);
2514
2496
  }
2515
- }), pa = /* @__PURE__ */ ke(va, [["__scopeId", "data-v-7ea19f81"]]);
2497
+ }), pa = /* @__PURE__ */ Be(va, [["__scopeId", "data-v-92801766"]]);
2516
2498
  const ba = ["tabIndex"], ga = ["id"], ya = /* @__PURE__ */ Object.assign({
2517
2499
  name: "NbButtonNormal",
2518
2500
  inheritAttrs: !1
@@ -2560,11 +2542,6 @@ const ba = ["tabIndex"], ga = ["id"], ya = /* @__PURE__ */ Object.assign({
2560
2542
  type: Number,
2561
2543
  default: 0.375
2562
2544
  },
2563
- width: {
2564
- type: Number,
2565
- default: 86,
2566
- validator: (e) => e || 86
2567
- },
2568
2545
  paddingX: {
2569
2546
  type: Number,
2570
2547
  default: 1,
@@ -2674,135 +2651,131 @@ const ba = ["tabIndex"], ga = ["id"], ya = /* @__PURE__ */ Object.assign({
2674
2651
  },
2675
2652
  emits: ["clicked"],
2676
2653
  setup(e, { emit: l }) {
2677
- xe((n) => ({
2678
- c45340ec: P.value,
2679
- "554c8b64": S.value,
2680
- "2fc98285": o(w),
2681
- "1b017840": o(U),
2682
- effff9b4: o(z),
2683
- "02f721b7": o($),
2684
- c809fd88: o(F),
2685
- "48e64494": o(G),
2686
- "58d5373b": o(b),
2687
- "0770a316": o(m),
2688
- c61d3b48: o(V),
2689
- "27adeec1": o(u),
2690
- "6e32b3c6": o(f),
2691
- a476df80: o(k),
2692
- "0ef6e5de": o(g),
2693
- "6aa76147": o(N)
2654
+ Se((r) => ({
2655
+ cd04d0ca: H.value,
2656
+ d2ea5dc2: K.value,
2657
+ acbc64d8: n(R),
2658
+ "5771072f": n(_),
2659
+ "261c7316": n(w),
2660
+ "052e6808": n(I),
2661
+ "250c1166": n(Z),
2662
+ "2d0bd3c7": n(W),
2663
+ "1a064e0c": n(m),
2664
+ "40b749a7": n(c),
2665
+ "538fee26": n(i),
2666
+ "6c5f7290": n(b),
2667
+ "4c927fd5": n(f),
2668
+ e7b74762: n(x),
2669
+ "3d3610e0": n(X),
2670
+ "87b35150": n(B)
2694
2671
  }));
2695
- const j = l, ae = e, {
2696
- display: Q,
2697
- ariaLabel: Z,
2698
- ariaAttrs: h,
2699
- showBorder: R,
2700
- borderRadius: E,
2701
- width: ee,
2702
- paddingX: X,
2703
- paddingY: K,
2672
+ const E = l, te = e, {
2673
+ display: U,
2674
+ ariaLabel: J,
2675
+ ariaAttrs: g,
2676
+ showBorder: O,
2677
+ borderRadius: F,
2678
+ paddingX: G,
2679
+ paddingY: Y,
2704
2680
  disabled: M,
2705
- fontFamily: q,
2706
- fontSize: te,
2707
- fontWeight: O,
2708
- hasAnimation: T,
2709
- animationDuration: C,
2710
- animationDurationType: B,
2711
- theme: v,
2712
- lightButtonColor: m,
2681
+ fontFamily: Q,
2682
+ fontSize: q,
2683
+ fontWeight: P,
2684
+ hasAnimation: L,
2685
+ animationDuration: S,
2686
+ animationDurationType: V,
2687
+ theme: y,
2688
+ lightButtonColor: c,
2713
2689
  lightButtonColorHover: f,
2714
- lightTextColor: b,
2715
- lightTextColorHover: u,
2716
- lightBorderColor: V,
2717
- lightBorderColorHover: k,
2718
- lightDisabledBgColor: N,
2719
- darkButtonColor: U,
2720
- darkButtonColorHover: F,
2721
- darkTextColor: w,
2722
- darkTextColorHover: $,
2723
- darkBorderColor: z,
2724
- darkBorderColorHover: G,
2725
- darkDisabledBgColor: g
2726
- } = Be(ae), s = t(() => {
2727
- const n = M.value ? "component-disabled" : "", c = Q.value !== "b" ? "inline-block" : "block", A = E.value !== 0 && !E.value || E.value < 0 ? 0 : E.value, oe = [!1, !0].includes(R.value) ? R.value : !0, ie = !ee.value || ee.value < 86 ? 86 : ee.value, be = X.value !== 0 && !X.value || X.value < 0 ? 1 : X.value, J = K.value !== 0 && !K.value || K.value < 0 ? 0.2 : K.value, p = q.value ? q.value : "'Lato', sans-serif", y = te.value ? te.value : "1.6em", le = O.value !== 0 && !O.value || O.value < 0 ? 200 : O.value, D = T.value ? "component-transition" : "", _ = C.value !== 0 && !C.value || C.value < 0 ? 0.3 : C.value, ue = B.value ? B.value : "ms", ne = v.value ? v.value : "light";
2690
+ lightTextColor: m,
2691
+ lightTextColorHover: b,
2692
+ lightBorderColor: i,
2693
+ lightBorderColorHover: x,
2694
+ lightDisabledBgColor: B,
2695
+ darkButtonColor: _,
2696
+ darkButtonColorHover: Z,
2697
+ darkTextColor: R,
2698
+ darkTextColorHover: I,
2699
+ darkBorderColor: w,
2700
+ darkBorderColorHover: W,
2701
+ darkDisabledBgColor: X
2702
+ } = xe(te), u = t(() => {
2703
+ const r = M.value ? "component-disabled" : "", s = U.value !== "b" ? "inline-block" : "block", k = F.value !== 0 && !F.value || F.value < 0 ? 0 : F.value, ee = [!1, !0].includes(O.value) ? O.value : !0, re = G.value !== 0 && !G.value || G.value < 0 ? 1 : G.value, ve = Y.value !== 0 && !Y.value || Y.value < 0 ? 0.2 : Y.value, oe = Q.value ? Q.value : "'Lato', sans-serif", ue = q.value ? q.value : "1.6em", T = P.value !== 0 && !P.value || P.value < 0 ? 200 : P.value, p = L.value ? "component-transition" : "", de = S.value !== 0 && !S.value || S.value < 0 ? 0.3 : S.value, v = V.value ? V.value : "ms", z = y.value ? y.value : "light";
2728
2704
  return {
2729
- disabled: n,
2730
- display: c,
2731
- showBorder: oe,
2732
- borderRadius: A,
2733
- width: ie,
2734
- paddingX: be,
2735
- paddingY: J,
2736
- font: p,
2737
- fontSize: y,
2738
- fontWeight: le,
2739
- hasAnimation: D,
2740
- animationDuration: _,
2741
- animationDurationType: ue,
2742
- theme: ne
2705
+ disabled: r,
2706
+ display: s,
2707
+ showBorder: ee,
2708
+ borderRadius: k,
2709
+ paddingX: re,
2710
+ paddingY: ve,
2711
+ font: oe,
2712
+ fontSize: ue,
2713
+ fontWeight: T,
2714
+ hasAnimation: p,
2715
+ animationDuration: de,
2716
+ animationDurationType: v,
2717
+ theme: z
2743
2718
  };
2744
- }), H = t(() => s.value.disabled), Y = t(() => ({
2745
- display: s.value.display
2746
- })), I = t(() => {
2747
- const n = s.value, c = n.display === "block" ? "auto" : `${n.width}px`;
2719
+ }), $ = t(() => u.value.disabled), j = t(() => ({
2720
+ display: u.value.display
2721
+ })), N = t(() => {
2722
+ const r = u.value;
2748
2723
  return {
2749
- borderRadius: `${n.borderRadius}rem`,
2750
- minWidth: "33px",
2751
- width: c,
2752
- padding: `${n.paddingY}rem ${n.paddingX}rem`,
2724
+ borderRadius: `${r.borderRadius}rem`,
2725
+ padding: `${r.paddingY}rem ${r.paddingX}rem`,
2753
2726
  lineHeight: "1.42857143",
2754
- fontSize: n.fontSize,
2755
- fontWeight: n.fontWeight
2727
+ fontSize: r.fontSize,
2728
+ fontWeight: r.fontWeight
2756
2729
  };
2757
- }), P = t(() => s.value.font), S = t(() => {
2758
- const n = s.value;
2759
- return n.hasAnimation ? `all ${n.animationDuration}${n.animationDurationType} ease-in-out` : "";
2760
- }), r = t(() => {
2761
- switch (s.value.theme) {
2730
+ }), H = t(() => u.value.font), K = t(() => {
2731
+ const r = u.value;
2732
+ return r.hasAnimation ? `all ${r.animationDuration}${r.animationDurationType} ease-in-out` : "";
2733
+ }), h = t(() => {
2734
+ switch (u.value.theme) {
2762
2735
  case "dark":
2763
2736
  return "component__theme--dark";
2764
2737
  default:
2765
2738
  return "component__theme--light";
2766
2739
  }
2767
- }), i = t(() => {
2768
- const n = {};
2769
- h.value && Object.keys(h.value).forEach((oe) => n[`aria-${oe}`] = h.value[oe]);
2770
- const c = {
2771
- "aria-label": Z.value,
2740
+ }), d = t(() => {
2741
+ const r = {};
2742
+ g.value && Object.keys(g.value).forEach((ee) => r[`aria-${ee}`] = g.value[ee]);
2743
+ const s = {
2744
+ "aria-label": J.value,
2772
2745
  "aria-disabled": M.value,
2773
- ...n
2746
+ ...r
2774
2747
  };
2775
2748
  return Object.fromEntries(
2776
- Object.entries(c).filter(([A, oe]) => oe != null)
2749
+ Object.entries(s).filter(([k, ee]) => ee != null)
2777
2750
  );
2778
- }), d = () => {
2779
- j("clicked");
2751
+ }), o = () => {
2752
+ E("clicked");
2780
2753
  };
2781
- return (n, c) => e.nbId ? (fe(), ve("div", Se({
2754
+ return (r, s) => e.nbId ? (ce(), fe("div", Ce({
2782
2755
  key: 0,
2783
- class: ["nb-wrapper", H.value],
2784
- style: [Y.value],
2756
+ class: ["nb-wrapper", $.value],
2757
+ style: [j.value],
2785
2758
  tabIndex: e.tabIndex,
2786
2759
  role: "button"
2787
- }, i.value, {
2788
- onClick: d,
2760
+ }, d.value, {
2761
+ onClick: o,
2789
2762
  onKeydown: [
2790
- c[0] || (c[0] = W(L((A) => !o(M) && e.hasTabIndexEnter && d(), ["prevent"]), ["enter"])),
2791
- c[1] || (c[1] = W(L((A) => !o(M) && e.hasTabIndexSpace && d(), ["prevent"]), ["space"]))
2763
+ s[0] || (s[0] = A(D((k) => !n(M) && e.hasTabIndexEnter && o(), ["prevent"]), ["enter"])),
2764
+ s[1] || (s[1] = A(D((k) => !n(M) && e.hasTabIndexSpace && o(), ["prevent"]), ["space"]))
2792
2765
  ]
2793
2766
  }), [
2794
- de("div", {
2767
+ ne("div", {
2795
2768
  id: e.nbId,
2796
- class: pe(["nb-reset component", [{ "component-transition": o(T), "component--no-border": !o(R) }, r.value]]),
2797
- style: se([I.value])
2769
+ class: be(["nb-reset component", [{ "component-transition": n(L), "component--no-border": !n(O) }, h.value]]),
2770
+ style: ie([N.value])
2798
2771
  }, [
2799
- he(n.$slots, "content", {}, () => [
2800
- c[2] || (c[2] = Ce("Default Text"))
2772
+ me(r.$slots, "content", {}, () => [
2773
+ s[2] || (s[2] = he("Default Text"))
2801
2774
  ], !0)
2802
2775
  ], 14, ga)
2803
- ], 16, ba)) : ye("", !0);
2776
+ ], 16, ba)) : ge("", !0);
2804
2777
  }
2805
- }), ma = /* @__PURE__ */ ke(ya, [["__scopeId", "data-v-52762902"]]);
2778
+ }), ma = /* @__PURE__ */ Be(ya, [["__scopeId", "data-v-74515101"]]);
2806
2779
  const ha = ["tabIndex"], Ca = ["id"], Sa = /* @__PURE__ */ Object.assign({
2807
2780
  name: "NbButtonShadow",
2808
2781
  inheritAttrs: !1
@@ -2948,117 +2921,113 @@ const ha = ["tabIndex"], Ca = ["id"], Sa = /* @__PURE__ */ Object.assign({
2948
2921
  },
2949
2922
  emits: ["clicked"],
2950
2923
  setup(e, { emit: l }) {
2951
- xe((_) => ({
2952
- "3ec9f221": s.value,
2953
- "06dc689a": P.value,
2954
- "9686e482": Y.value,
2955
- c745b040: d.value,
2956
- "7148a3cc": r.value,
2957
- "6599c0c2": S.value,
2958
- "73a7ea86": I.value,
2959
- "956c297c": i.value,
2960
- "1382bddc": oe.value,
2961
- c3c968fe: c.value,
2962
- adf905bc: p.value,
2963
- "548989dc": be.value,
2964
- "657f3680": ie.value,
2965
- "52f0d38a": A.value,
2966
- "5c9918c0": J.value,
2967
- c826766a: n.value,
2968
- d1faade6: y.value
2924
+ Se((v) => ({
2925
+ be370cfa: u.value,
2926
+ "0a195178": H.value,
2927
+ "3d8bd3c6": j.value,
2928
+ c0cbde84: o.value,
2929
+ "1a1c0f10": h.value,
2930
+ "6701b2a4": K.value,
2931
+ d969e5c2: N.value,
2932
+ "3e796ba4": d.value,
2933
+ "76b6413e": ee.value,
2934
+ "65bc3f63": s.value,
2935
+ "0c370084": ue.value,
2936
+ "55f17bbe": ve.value,
2937
+ b7fca2c4: re.value,
2938
+ "03a480ce": k.value,
2939
+ "35b1f7c4": oe.value,
2940
+ "72ae0ea9": r.value,
2941
+ "6421ab6f": T.value
2969
2942
  }));
2970
- const j = l, ae = e, {
2971
- display: Q,
2972
- ariaLabel: Z,
2973
- ariaAttrs: h,
2974
- theme: R,
2975
- lightTextColor: E,
2976
- lightTextColorHover: ee,
2977
- lightButtonColor: X,
2978
- lightButtonColorHover: K,
2979
- lightButtonShadowColor: M,
2943
+ const E = l, te = e, {
2944
+ display: U,
2945
+ ariaLabel: J,
2946
+ ariaAttrs: g,
2947
+ theme: O,
2948
+ lightTextColor: F,
2949
+ lightTextColorHover: G,
2950
+ lightButtonColor: Y,
2951
+ lightButtonColorHover: M,
2952
+ lightButtonShadowColor: Q,
2980
2953
  lightBorderColor: q,
2981
- lightDisabledBgColor: te,
2982
- darkTextColor: O,
2983
- darkTextColorHover: T,
2984
- darkButtonColor: C,
2985
- darkButtonColorHover: B,
2986
- darkButtonShadowColor: v,
2987
- darkBorderColor: m,
2988
- darkDisabledBgColor: f,
2954
+ lightDisabledBgColor: P,
2955
+ darkTextColor: L,
2956
+ darkTextColorHover: S,
2957
+ darkButtonColor: V,
2958
+ darkButtonColorHover: y,
2959
+ darkButtonShadowColor: c,
2960
+ darkBorderColor: f,
2961
+ darkDisabledBgColor: m,
2989
2962
  borderRadius: b,
2990
- width: u,
2991
- paddingX: V,
2992
- paddingY: k,
2993
- disabled: N,
2994
- fontFamily: U,
2995
- fontSize: F,
2996
- fontWeight: w
2997
- } = Be(ae), $ = t(() => {
2998
- const _ = N.value ? "component-disabled" : "", ue = Q.value !== "b" ? "inline-block" : "block", ne = b.value !== 0 && !b.value || b.value < 0 ? 0 : b.value, me = !u.value || u.value < 86 ? 86 : u.value, ge = V.value !== 0 && !V.value || V.value < 0 ? 1 : V.value, Ie = k.value !== 0 && !k.value || k.value < 0 ? 0.2 : k.value, _e = U.value ? U.value : "'Lato', sans-serif", De = F.value ? F.value : "1.6em", Ne = w.value !== 0 && !w.value || w.value < 0 ? 200 : w.value;
2963
+ paddingX: i,
2964
+ paddingY: x,
2965
+ disabled: B,
2966
+ fontFamily: _,
2967
+ fontSize: Z,
2968
+ fontWeight: R
2969
+ } = xe(te), I = t(() => {
2970
+ const v = B.value ? "component-disabled" : "", z = U.value !== "b" ? "inline-block" : "block", pe = b.value !== 0 && !b.value || b.value < 0 ? 0 : b.value, ae = i.value !== 0 && !i.value || i.value < 0 ? 1 : i.value, Ve = x.value !== 0 && !x.value || x.value < 0 ? 0.2 : x.value, ye = _.value ? _.value : "'Lato', sans-serif", we = Z.value ? Z.value : "1.6em", _e = R.value !== 0 && !R.value || R.value < 0 ? 200 : R.value;
2999
2971
  return {
3000
- disabled: _,
3001
- display: ue,
3002
- borderRadius: ne,
3003
- width: me,
3004
- paddingX: ge,
3005
- paddingY: Ie,
3006
- font: _e,
3007
- fontSize: De,
3008
- fontWeight: Ne
2972
+ disabled: v,
2973
+ display: z,
2974
+ borderRadius: pe,
2975
+ paddingX: ae,
2976
+ paddingY: Ve,
2977
+ font: ye,
2978
+ fontSize: we,
2979
+ fontWeight: _e
3009
2980
  };
3010
- }), z = t(() => $.value.disabled), G = t(() => ({
3011
- display: $.value.display
3012
- })), g = t(() => {
3013
- const _ = $.value, ue = _.display === "block" ? "auto" : `${_.width}px`;
2981
+ }), w = t(() => I.value.disabled), W = t(() => ({
2982
+ display: I.value.display
2983
+ })), X = t(() => {
2984
+ const v = I.value;
3014
2985
  return {
3015
- borderRadius: `${_.borderRadius}rem`,
3016
- minWidth: "33px",
3017
- width: ue,
3018
- padding: `${_.paddingY}rem ${_.paddingX}rem`,
2986
+ borderRadius: `${v.borderRadius}rem`,
2987
+ padding: `${v.paddingY}rem ${v.paddingX}rem`,
3019
2988
  lineHeight: "1.42857143",
3020
- fontSize: _.fontSize,
3021
- fontWeight: _.fontWeight
2989
+ fontSize: v.fontSize,
2990
+ fontWeight: v.fontWeight
3022
2991
  };
3023
- }), s = t(() => $.value.font), H = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), Y = t(() => E.value), I = t(() => ee.value), P = t(() => X.value), S = t(() => K.value), r = t(() => `3px 3px 0 -1px ${M.value}, 3px 3px 0 ${M.value}`), i = t(() => `0 0 0 -1px ${M.value}, 0 0 0 ${M.value}`), d = t(() => q.value), n = t(() => te.value), c = t(() => O.value), A = t(() => T.value), oe = t(() => C.value), ie = t(() => B.value), be = t(() => `3px 3px 0 -1px ${v.value}, 3px 3px 0 ${v.value}`), J = t(() => `0 0 0 -1px ${v.value}, 0 0 0 ${v.value}`), p = t(() => m.value), y = t(() => f.value), le = t(() => {
3024
- const _ = {};
3025
- h.value && Object.keys(h.value).forEach((me) => _[`aria-${me}`] = h.value[me]);
3026
- const ue = {
3027
- "aria-label": Z.value,
3028
- "aria-disabled": N.value,
3029
- ..._
2992
+ }), u = t(() => I.value.font), $ = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), j = t(() => F.value), N = t(() => G.value), H = t(() => Y.value), K = t(() => M.value), h = t(() => `3px 3px 0 -1px ${Q.value}, 3px 3px 0 ${Q.value}`), d = t(() => `0 0 0 -1px ${Q.value}, 0 0 0 ${Q.value}`), o = t(() => q.value), r = t(() => P.value), s = t(() => L.value), k = t(() => S.value), ee = t(() => V.value), re = t(() => y.value), ve = t(() => `3px 3px 0 -1px ${c.value}, 3px 3px 0 ${c.value}`), oe = t(() => `0 0 0 -1px ${c.value}, 0 0 0 ${c.value}`), ue = t(() => f.value), T = t(() => m.value), p = t(() => {
2993
+ const v = {};
2994
+ g.value && Object.keys(g.value).forEach((ae) => v[`aria-${ae}`] = g.value[ae]);
2995
+ const z = {
2996
+ "aria-label": J.value,
2997
+ "aria-disabled": B.value,
2998
+ ...v
3030
2999
  };
3031
3000
  return Object.fromEntries(
3032
- Object.entries(ue).filter(([ne, me]) => me != null)
3001
+ Object.entries(z).filter(([pe, ae]) => ae != null)
3033
3002
  );
3034
- }), D = () => {
3035
- j("clicked");
3003
+ }), de = () => {
3004
+ E("clicked");
3036
3005
  };
3037
- return (_, ue) => e.nbId ? (fe(), ve("div", Se({
3006
+ return (v, z) => e.nbId ? (ce(), fe("div", Ce({
3038
3007
  key: 0,
3039
- class: ["nb-wrapper", z.value],
3040
- style: [G.value],
3008
+ class: ["nb-wrapper", w.value],
3009
+ style: [W.value],
3041
3010
  tabIndex: e.tabIndex,
3042
3011
  role: "button"
3043
- }, le.value, {
3044
- onClick: D,
3012
+ }, p.value, {
3013
+ onClick: de,
3045
3014
  onKeydown: [
3046
- ue[0] || (ue[0] = W(L((ne) => !o(N) && e.hasTabIndexEnter && D(), ["prevent"]), ["enter"])),
3047
- ue[1] || (ue[1] = W(L((ne) => !o(N) && e.hasTabIndexSpace && D(), ["prevent"]), ["space"]))
3015
+ z[0] || (z[0] = A(D((pe) => !n(B) && e.hasTabIndexEnter && de(), ["prevent"]), ["enter"])),
3016
+ z[1] || (z[1] = A(D((pe) => !n(B) && e.hasTabIndexSpace && de(), ["prevent"]), ["space"]))
3048
3017
  ]
3049
3018
  }), [
3050
- de("div", {
3019
+ ne("div", {
3051
3020
  id: e.nbId,
3052
- class: pe(["nb-reset component", [H.value]]),
3053
- style: se([g.value])
3021
+ class: be(["nb-reset component", [$.value]]),
3022
+ style: ie([X.value])
3054
3023
  }, [
3055
- he(_.$slots, "content", {}, () => [
3056
- ue[2] || (ue[2] = Ce("Default Text"))
3024
+ me(v.$slots, "content", {}, () => [
3025
+ z[2] || (z[2] = he("Default Text"))
3057
3026
  ], !0)
3058
3027
  ], 14, Ca)
3059
- ], 16, ha)) : ye("", !0);
3028
+ ], 16, ha)) : ge("", !0);
3060
3029
  }
3061
- }), xa = /* @__PURE__ */ ke(Sa, [["__scopeId", "data-v-af8ef341"]]);
3030
+ }), xa = /* @__PURE__ */ Be(Sa, [["__scopeId", "data-v-53ce7533"]]);
3062
3031
  const Ba = ["tabIndex"], ka = ["id"], Va = /* @__PURE__ */ Object.assign({
3063
3032
  name: "NbButtonUnderlineExpand",
3064
3033
  inheritAttrs: !1
@@ -3152,11 +3121,6 @@ const Ba = ["tabIndex"], ka = ["id"], Va = /* @__PURE__ */ Object.assign({
3152
3121
  default: 1.5,
3153
3122
  validator: (e) => e || 1.5
3154
3123
  },
3155
- width: {
3156
- type: Number,
3157
- default: 86,
3158
- validator: (e) => e || 86
3159
- },
3160
3124
  paddingX: {
3161
3125
  type: Number,
3162
3126
  default: 1,
@@ -3194,116 +3158,112 @@ const Ba = ["tabIndex"], ka = ["id"], Va = /* @__PURE__ */ Object.assign({
3194
3158
  },
3195
3159
  emits: ["clicked"],
3196
3160
  setup(e, { emit: l }) {
3197
- xe((c) => ({
3198
- "1a3aa9a1": z.value,
3199
- "08b2ae9c": i.value,
3200
- cc543382: g.value,
3201
- befb3f40: H.value,
3202
- "2d96023d": s.value,
3203
- "4c149688": Y.value,
3204
- "7c34e301": I.value,
3205
- "671534a2": S.value,
3206
- "6640aebb": P.value,
3207
- dab18c8c: r.value
3161
+ Se((s) => ({
3162
+ "6590a483": w.value,
3163
+ "7f22ed10": d.value,
3164
+ "2f528b1d": X.value,
3165
+ "6d2d7484": $.value,
3166
+ "09988fc2": u.value,
3167
+ "92050bc4": j.value,
3168
+ "68412a63": N.value,
3169
+ fda5a8f8: K.value,
3170
+ "1df896ce": H.value,
3171
+ "78c04018": h.value
3208
3172
  }));
3209
- const j = l, ae = e, {
3210
- display: Q,
3211
- ariaLabel: Z,
3212
- ariaAttrs: h,
3213
- theme: R,
3214
- lightTextColor: E,
3215
- lightTextColorHover: ee,
3216
- lightBorderColor: X,
3217
- lightBorderColorHover: K,
3218
- lightDisabledBgColor: M,
3173
+ const E = l, te = e, {
3174
+ display: U,
3175
+ ariaLabel: J,
3176
+ ariaAttrs: g,
3177
+ theme: O,
3178
+ lightTextColor: F,
3179
+ lightTextColorHover: G,
3180
+ lightBorderColor: Y,
3181
+ lightBorderColorHover: M,
3182
+ lightDisabledBgColor: Q,
3219
3183
  darkTextColor: q,
3220
- darkTextColorHover: te,
3221
- darkBorderColor: O,
3222
- darkBorderColorHover: T,
3223
- darkDisabledBgColor: C,
3224
- borderHeight: B,
3225
- width: v,
3226
- paddingX: m,
3184
+ darkTextColorHover: P,
3185
+ darkBorderColor: L,
3186
+ darkBorderColorHover: S,
3187
+ darkDisabledBgColor: V,
3188
+ borderHeight: y,
3189
+ paddingX: c,
3227
3190
  paddingY: f,
3228
- disabled: b,
3229
- fontFamily: u,
3230
- fontSize: V,
3231
- fontWeight: k,
3232
- textAlign: N
3233
- } = Be(ae), U = t(() => {
3234
- const c = b.value ? "component-disabled" : "", A = Q.value !== "b" ? "inline-block" : "block", oe = B.value !== 0 && !B.value || B.value < 0 ? 1.5 : B.value, ie = !v.value || v.value < 86 ? 86 : v.value, be = m.value !== 0 && !m.value || m.value < 0 ? 1 : m.value, J = f.value !== 0 && !f.value || f.value < 0 ? 0.2 : f.value, p = u.value ? u.value : "'Lato', sans-serif", y = V.value ? V.value : "1.6em", le = k.value !== 0 && !k.value || k.value < 0 ? 200 : k.value, D = N.value ? N.value : "center";
3191
+ disabled: m,
3192
+ fontFamily: b,
3193
+ fontSize: i,
3194
+ fontWeight: x,
3195
+ textAlign: B
3196
+ } = xe(te), _ = t(() => {
3197
+ const s = m.value ? "component-disabled" : "", k = U.value !== "b" ? "inline-block" : "block", ee = y.value !== 0 && !y.value || y.value < 0 ? 1.5 : y.value, re = c.value !== 0 && !c.value || c.value < 0 ? 1 : c.value, ve = f.value !== 0 && !f.value || f.value < 0 ? 0.2 : f.value, oe = b.value ? b.value : "'Lato', sans-serif", ue = i.value ? i.value : "1.6em", T = x.value !== 0 && !x.value || x.value < 0 ? 200 : x.value, p = B.value ? B.value : "center";
3235
3198
  return {
3236
- disabled: c,
3237
- display: A,
3238
- borderHeight: oe,
3239
- width: ie,
3240
- paddingX: be,
3241
- paddingY: J,
3242
- font: p,
3243
- fontSize: y,
3244
- fontWeight: le,
3245
- textAlign: D
3199
+ disabled: s,
3200
+ display: k,
3201
+ borderHeight: ee,
3202
+ paddingX: re,
3203
+ paddingY: ve,
3204
+ font: oe,
3205
+ fontSize: ue,
3206
+ fontWeight: T,
3207
+ textAlign: p
3246
3208
  };
3247
- }), F = t(() => U.value.disabled), w = t(() => {
3248
- const c = U.value;
3209
+ }), Z = t(() => _.value.disabled), R = t(() => {
3210
+ const s = _.value;
3249
3211
  return {
3250
- display: c.display,
3251
- textAlign: c.textAlign
3212
+ display: s.display,
3213
+ textAlign: s.textAlign
3252
3214
  };
3253
- }), $ = t(() => {
3254
- const c = U.value;
3215
+ }), I = t(() => {
3216
+ const s = _.value;
3255
3217
  return {
3256
- minWidth: "33px",
3257
- width: c.display === "block" ? "auto" : `${c.width}px`,
3258
- padding: `${c.paddingY}rem ${c.paddingX}rem`,
3218
+ padding: `${s.paddingY}rem ${s.paddingX}rem`,
3259
3219
  lineHeight: "1.42857143",
3260
- fontSize: c.fontSize,
3261
- fontWeight: c.fontWeight
3220
+ fontSize: s.fontSize,
3221
+ fontWeight: s.fontWeight
3262
3222
  };
3263
- }), z = t(() => U.value.font), G = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), g = t(() => E.value), s = t(() => ee.value), H = t(() => X.value), Y = t(() => K.value);
3264
- t(() => M.value);
3265
- const I = t(() => q.value), P = t(() => te.value), S = t(() => O.value), r = t(() => T.value);
3266
- t(() => C.value);
3267
- const i = t(() => `${U.value.borderHeight}px`), d = t(() => {
3268
- const c = {};
3269
- h.value && Object.keys(h.value).forEach((ie) => c[`aria-${ie}`] = h.value[ie]);
3270
- const A = {
3271
- "aria-label": Z.value,
3272
- "aria-disabled": b.value,
3273
- ...c
3223
+ }), w = t(() => _.value.font), W = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), X = t(() => F.value), u = t(() => G.value), $ = t(() => Y.value), j = t(() => M.value);
3224
+ t(() => Q.value);
3225
+ const N = t(() => q.value), H = t(() => P.value), K = t(() => L.value), h = t(() => S.value);
3226
+ t(() => V.value);
3227
+ const d = t(() => `${_.value.borderHeight}px`), o = t(() => {
3228
+ const s = {};
3229
+ g.value && Object.keys(g.value).forEach((re) => s[`aria-${re}`] = g.value[re]);
3230
+ const k = {
3231
+ "aria-label": J.value,
3232
+ "aria-disabled": m.value,
3233
+ ...s
3274
3234
  };
3275
3235
  return Object.fromEntries(
3276
- Object.entries(A).filter(([oe, ie]) => ie != null)
3236
+ Object.entries(k).filter(([ee, re]) => re != null)
3277
3237
  );
3278
- }), n = () => {
3279
- j("clicked");
3238
+ }), r = () => {
3239
+ E("clicked");
3280
3240
  };
3281
- return (c, A) => e.nbId ? (fe(), ve("div", Se({
3241
+ return (s, k) => e.nbId ? (ce(), fe("div", Ce({
3282
3242
  key: 0,
3283
- class: ["nb-wrapper", F.value],
3284
- style: [w.value],
3243
+ class: ["nb-wrapper", Z.value],
3244
+ style: [R.value],
3285
3245
  tabIndex: e.tabIndex,
3286
3246
  role: "button"
3287
- }, d.value, {
3288
- onClick: n,
3247
+ }, o.value, {
3248
+ onClick: r,
3289
3249
  onKeydown: [
3290
- A[0] || (A[0] = W(L((oe) => !o(b) && e.hasTabIndexEnter && n(), ["prevent"]), ["enter"])),
3291
- A[1] || (A[1] = W(L((oe) => !o(b) && e.hasTabIndexSpace && n(), ["prevent"]), ["space"]))
3250
+ k[0] || (k[0] = A(D((ee) => !n(m) && e.hasTabIndexEnter && r(), ["prevent"]), ["enter"])),
3251
+ k[1] || (k[1] = A(D((ee) => !n(m) && e.hasTabIndexSpace && r(), ["prevent"]), ["space"]))
3292
3252
  ]
3293
3253
  }), [
3294
- de("div", {
3254
+ ne("div", {
3295
3255
  id: e.nbId,
3296
- class: pe(["nb-reset component", [G.value]]),
3297
- style: se([$.value])
3256
+ class: be(["nb-reset component", [W.value]]),
3257
+ style: ie([I.value])
3298
3258
  }, [
3299
- he(c.$slots, "content", {}, () => [
3300
- A[2] || (A[2] = Ce("Default Text"))
3259
+ me(s.$slots, "content", {}, () => [
3260
+ k[2] || (k[2] = he("Default Text"))
3301
3261
  ], !0)
3302
3262
  ], 14, ka)
3303
- ], 16, Ba)) : ye("", !0);
3263
+ ], 16, Ba)) : ge("", !0);
3304
3264
  }
3305
- }), Ta = /* @__PURE__ */ ke(Va, [["__scopeId", "data-v-910f5abd"]]);
3306
- const wa = ["tabIndex"], $a = ["id"], Ia = /* @__PURE__ */ Object.assign({
3265
+ }), Ta = /* @__PURE__ */ Be(Va, [["__scopeId", "data-v-e157e203"]]);
3266
+ const Ia = ["tabIndex"], $a = ["id"], wa = /* @__PURE__ */ Object.assign({
3307
3267
  name: "NbButtonUnderlineFill",
3308
3268
  inheritAttrs: !1
3309
3269
  }, {
@@ -3391,11 +3351,6 @@ const wa = ["tabIndex"], $a = ["id"], Ia = /* @__PURE__ */ Object.assign({
3391
3351
  type: String,
3392
3352
  default: "rgba(40, 42, 54, 1)"
3393
3353
  },
3394
- width: {
3395
- type: Number,
3396
- default: 86,
3397
- validator: (e) => e || 86
3398
- },
3399
3354
  paddingX: {
3400
3355
  type: Number,
3401
3356
  default: 1,
@@ -3433,116 +3388,112 @@ const wa = ["tabIndex"], $a = ["id"], Ia = /* @__PURE__ */ Object.assign({
3433
3388
  },
3434
3389
  emits: ["clicked"],
3435
3390
  setup(e, { emit: l }) {
3436
- xe((d) => ({
3437
- "3f2443ee": $.value,
3438
- "17204a6d": s.value,
3439
- "7e24c852": G.value,
3440
- "61a90acf": H.value,
3441
- dc9f17ec: g.value,
3442
- "7721d5a9": P.value,
3443
- "5a47f28e": Y.value,
3444
- 72492513: S.value,
3445
- "354b6164": I.value
3391
+ Se((o) => ({
3392
+ "71c6e3de": I.value,
3393
+ ed11aaac: u.value,
3394
+ "084093cf": W.value,
3395
+ ca946e9c: $.value,
3396
+ "5d894ead": X.value,
3397
+ "307f79cc": H.value,
3398
+ "45f64371": j.value,
3399
+ "218b9ed0": K.value,
3400
+ "1d7a144b": N.value
3446
3401
  }));
3447
- const j = l, ae = e, {
3448
- display: Q,
3449
- ariaLabel: Z,
3450
- ariaAttrs: h,
3451
- theme: R,
3452
- lightTextColor: E,
3453
- lightTextColorHover: ee,
3454
- lightButtonColor: X,
3455
- lightButtonColorHover: K,
3456
- lightDisabledBgColor: M,
3402
+ const E = l, te = e, {
3403
+ display: U,
3404
+ ariaLabel: J,
3405
+ ariaAttrs: g,
3406
+ theme: O,
3407
+ lightTextColor: F,
3408
+ lightTextColorHover: G,
3409
+ lightButtonColor: Y,
3410
+ lightButtonColorHover: M,
3411
+ lightDisabledBgColor: Q,
3457
3412
  darkTextColor: q,
3458
- darkTextColorHover: te,
3459
- darkButtonColor: O,
3460
- darkButtonColorHover: T,
3461
- darkDisabledBgColor: C,
3462
- width: B,
3463
- paddingX: v,
3464
- paddingY: m,
3413
+ darkTextColorHover: P,
3414
+ darkButtonColor: L,
3415
+ darkButtonColorHover: S,
3416
+ darkDisabledBgColor: V,
3417
+ paddingX: y,
3418
+ paddingY: c,
3465
3419
  disabled: f,
3466
- fontFamily: b,
3467
- fontSize: u,
3468
- fontWeight: V,
3469
- textAlign: k
3470
- } = Be(ae), N = t(() => {
3471
- const d = f.value ? "component-disabled" : "", n = Q.value !== "b" ? "inline-block" : "block", c = !B.value || B.value < 86 ? 86 : B.value, A = v.value !== 0 && !v.value || v.value < 0 ? 1 : v.value, oe = m.value !== 0 && !m.value || m.value < 0 ? 0.2 : m.value, ie = b.value ? b.value : "'Lato', sans-serif", be = u.value ? u.value : "1.6em", J = V.value !== 0 && !V.value || V.value < 0 ? 200 : V.value, p = k.value ? k.value : "center";
3420
+ fontFamily: m,
3421
+ fontSize: b,
3422
+ fontWeight: i,
3423
+ textAlign: x
3424
+ } = xe(te), B = t(() => {
3425
+ const o = f.value ? "component-disabled" : "", r = U.value !== "b" ? "inline-block" : "block", s = y.value !== 0 && !y.value || y.value < 0 ? 1 : y.value, k = c.value !== 0 && !c.value || c.value < 0 ? 0.2 : c.value, ee = m.value ? m.value : "'Lato', sans-serif", re = b.value ? b.value : "1.6em", ve = i.value !== 0 && !i.value || i.value < 0 ? 200 : i.value, oe = x.value ? x.value : "center";
3472
3426
  return {
3473
- disabled: d,
3474
- display: n,
3475
- width: c,
3476
- paddingX: A,
3477
- paddingY: oe,
3478
- font: ie,
3479
- fontSize: be,
3480
- fontWeight: J,
3481
- textAlign: p
3427
+ disabled: o,
3428
+ display: r,
3429
+ paddingX: s,
3430
+ paddingY: k,
3431
+ font: ee,
3432
+ fontSize: re,
3433
+ fontWeight: ve,
3434
+ textAlign: oe
3482
3435
  };
3483
- }), U = t(() => N.value.disabled), F = t(() => {
3484
- const d = N.value;
3436
+ }), _ = t(() => B.value.disabled), Z = t(() => {
3437
+ const o = B.value;
3485
3438
  return {
3486
- display: d.display,
3487
- textAlign: d.textAlign
3439
+ display: o.display,
3440
+ textAlign: o.textAlign
3488
3441
  };
3489
- }), w = t(() => {
3490
- const d = N.value;
3442
+ }), R = t(() => {
3443
+ const o = B.value;
3491
3444
  return {
3492
- minWidth: "33px",
3493
- width: d.display === "block" ? "auto" : `${d.width}px`,
3494
- padding: `${d.paddingY}rem ${d.paddingX}rem`,
3445
+ padding: `${o.paddingY}rem ${o.paddingX}rem`,
3495
3446
  lineHeight: "1.42857143",
3496
- fontSize: d.fontSize,
3497
- fontWeight: d.fontWeight
3447
+ fontSize: o.fontSize,
3448
+ fontWeight: o.fontWeight
3498
3449
  };
3499
- }), $ = t(() => N.value.font), z = t(() => R.value === "dark" ? "component__theme--dark" : "component__theme--light"), G = t(() => E.value), g = t(() => ee.value), s = t(() => `linear-gradient(${X.value}, ${X.value}) center bottom / 1px 1px repeat-x`), H = t(() => `linear-gradient(${K.value}, ${K.value}) center bottom / 100% 100% repeat-x`);
3500
- t(() => M.value);
3501
- const Y = t(() => q.value), I = t(() => te.value), P = t(() => `linear-gradient(${O.value}, ${O.value}) center bottom / 1px 1px repeat-x`), S = t(() => `linear-gradient(${T.value}, ${T.value}) center bottom / 100% 100% repeat-x`);
3502
- t(() => C.value);
3503
- const r = t(() => {
3504
- const d = {};
3505
- h.value && Object.keys(h.value).forEach((A) => d[`aria-${A}`] = h.value[A]);
3506
- const n = {
3507
- "aria-label": Z.value,
3450
+ }), I = t(() => B.value.font), w = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), W = t(() => F.value), X = t(() => G.value), u = t(() => `linear-gradient(${Y.value}, ${Y.value}) center bottom / 1px 1px repeat-x`), $ = t(() => `linear-gradient(${M.value}, ${M.value}) center bottom / 100% 100% repeat-x`);
3451
+ t(() => Q.value);
3452
+ const j = t(() => q.value), N = t(() => P.value), H = t(() => `linear-gradient(${L.value}, ${L.value}) center bottom / 1px 1px repeat-x`), K = t(() => `linear-gradient(${S.value}, ${S.value}) center bottom / 100% 100% repeat-x`);
3453
+ t(() => V.value);
3454
+ const h = t(() => {
3455
+ const o = {};
3456
+ g.value && Object.keys(g.value).forEach((k) => o[`aria-${k}`] = g.value[k]);
3457
+ const r = {
3458
+ "aria-label": J.value,
3508
3459
  "aria-disabled": f.value,
3509
- ...d
3460
+ ...o
3510
3461
  };
3511
3462
  return Object.fromEntries(
3512
- Object.entries(n).filter(([c, A]) => A != null)
3463
+ Object.entries(r).filter(([s, k]) => k != null)
3513
3464
  );
3514
- }), i = () => {
3515
- j("clicked");
3465
+ }), d = () => {
3466
+ E("clicked");
3516
3467
  };
3517
- return (d, n) => e.nbId ? (fe(), ve("div", Se({
3468
+ return (o, r) => e.nbId ? (ce(), fe("div", Ce({
3518
3469
  key: 0,
3519
- class: ["nb-wrapper", U.value],
3520
- style: [F.value],
3470
+ class: ["nb-wrapper", _.value],
3471
+ style: [Z.value],
3521
3472
  tabIndex: e.tabIndex,
3522
3473
  role: "button"
3523
- }, r.value, {
3524
- onClick: i,
3474
+ }, h.value, {
3475
+ onClick: d,
3525
3476
  onKeydown: [
3526
- n[0] || (n[0] = W(L((c) => !o(f) && e.hasTabIndexEnter && i(), ["prevent"]), ["enter"])),
3527
- n[1] || (n[1] = W(L((c) => !o(f) && e.hasTabIndexSpace && i(), ["prevent"]), ["space"]))
3477
+ r[0] || (r[0] = A(D((s) => !n(f) && e.hasTabIndexEnter && d(), ["prevent"]), ["enter"])),
3478
+ r[1] || (r[1] = A(D((s) => !n(f) && e.hasTabIndexSpace && d(), ["prevent"]), ["space"]))
3528
3479
  ]
3529
3480
  }), [
3530
- de("div", {
3481
+ ne("div", {
3531
3482
  id: e.nbId,
3532
- class: pe(["nb-reset component", [z.value]]),
3533
- style: se([w.value])
3483
+ class: be(["nb-reset component", [w.value]]),
3484
+ style: ie([R.value])
3534
3485
  }, [
3535
- he(d.$slots, "content", {}, () => [
3536
- n[2] || (n[2] = Ce("Default Text"))
3486
+ me(o.$slots, "content", {}, () => [
3487
+ r[2] || (r[2] = he("Default Text"))
3537
3488
  ], !0)
3538
3489
  ], 14, $a)
3539
- ], 16, wa)) : ye("", !0);
3490
+ ], 16, Ia)) : ge("", !0);
3540
3491
  }
3541
- }), _a = /* @__PURE__ */ ke(Ia, [["__scopeId", "data-v-5a8db575"]]);
3492
+ }), _a = /* @__PURE__ */ Be(wa, [["__scopeId", "data-v-83708b7e"]]);
3542
3493
  const Da = ["id"], Na = ["disabled", "aria-label", "aria-haspopup", "aria-expanded", "tabindex"], Ha = ["aria-expanded", "title", "tabindex"], Aa = ["disabled", "tabindex", "onClick", "onKeydown"], La = {
3543
3494
  key: 0,
3544
3495
  class: "split-button__menu-item-icon"
3545
- }, Oa = { class: "split-button__menu-item-text" }, Wa = /* @__PURE__ */ Object.assign({
3496
+ }, Oa = { class: "split-button__menu-item-text" }, Ra = /* @__PURE__ */ Object.assign({
3546
3497
  name: "NbButtonSplitDropdown",
3547
3498
  inheritAttrs: !1
3548
3499
  }, {
@@ -3770,74 +3721,74 @@ const Da = ["id"], Na = ["disabled", "aria-label", "aria-haspopup", "aria-expand
3770
3721
  },
3771
3722
  emits: ["clicked", "main-clicked", "menu-item-clicked"],
3772
3723
  setup(e, { emit: l }) {
3773
- xe((a) => ({
3774
- "8f9d7e60": ge.value.font,
3775
- "5798d4ef": o(J),
3776
- "5274eb26": o(S),
3777
- "6b8b8e3e": o(n),
3778
- a05be326: o(p),
3779
- "0c7b4c5f": o(g),
3780
- c5ebe92a: o(r)
3724
+ Se((a) => ({
3725
+ "8f9d7e60": ye.value.font,
3726
+ "5798d4ef": n(ue),
3727
+ "5274eb26": n(h),
3728
+ "6b8b8e3e": n(s),
3729
+ a05be326: n(T),
3730
+ "0c7b4c5f": n(u),
3731
+ c5ebe92a: n(d)
3781
3732
  }));
3782
- const j = l, ae = e, {
3783
- display: Q,
3784
- mainButtonText: Z,
3785
- mainButtonAriaLabel: h,
3786
- menuItems: R,
3787
- popupButtonTitle: E,
3788
- ariaLabel: ee,
3789
- ariaAttrs: X,
3790
- menuItemFocusOutlineColor: K,
3791
- menuItemFocusOutlineWidth: M,
3733
+ const E = l, te = e, {
3734
+ display: U,
3735
+ mainButtonText: J,
3736
+ mainButtonAriaLabel: g,
3737
+ menuItems: O,
3738
+ popupButtonTitle: F,
3739
+ ariaLabel: G,
3740
+ ariaAttrs: Y,
3741
+ menuItemFocusOutlineColor: M,
3742
+ menuItemFocusOutlineWidth: Q,
3792
3743
  menuItemFocusOutlineOffset: q,
3793
- showBorder: te,
3794
- showPopupButton: O,
3795
- borderRadius: T,
3796
- popupBorderRadius: C,
3797
- width: B,
3798
- paddingX: v,
3799
- paddingY: m,
3800
- popupPaddingX: f,
3744
+ showBorder: P,
3745
+ showPopupButton: L,
3746
+ borderRadius: S,
3747
+ popupBorderRadius: V,
3748
+ width: y,
3749
+ paddingX: c,
3750
+ paddingY: f,
3751
+ popupPaddingX: m,
3801
3752
  popupPaddingY: b,
3802
- disabled: u,
3803
- fontFamily: V,
3804
- fontSize: k,
3805
- fontWeight: N,
3806
- popupFontFamily: U,
3807
- popupFontSize: F,
3808
- popupFontWeight: w,
3809
- theme: $,
3810
- lightButtonColor: z,
3811
- lightButtonColorHover: G,
3812
- lightTextColor: g,
3813
- lightTextColorHover: s,
3814
- lightBorderColor: H,
3815
- lightBorderColorHover: Y,
3816
- lightPopupBgColor: I,
3817
- lightMenuItemHoverColor: P,
3818
- lightMenuItemTextColor: S,
3819
- lightDisabledBgColor: r,
3820
- darkButtonColor: i,
3821
- darkButtonColorHover: d,
3822
- darkTextColor: n,
3823
- darkTextColorHover: c,
3824
- darkBorderColor: A,
3825
- darkBorderColorHover: oe,
3826
- darkPopupBgColor: ie,
3827
- darkMenuItemHoverColor: be,
3828
- darkMenuItemTextColor: J,
3829
- darkDisabledBgColor: p
3830
- } = Be(ae), y = Te(!1), le = Te(null), D = Te(null), _ = Te(null), ue = Te(null), ne = Te(-1), me = Te(!1), ge = t(() => {
3831
- const a = u.value ? "component-disabled" : "", x = Q.value !== "b" ? "inline-block" : "block", re = T.value !== 0 && !T.value || T.value < 0 ? 0 : T.value, ce = C.value !== null && C.value !== void 0 ? C.value < 0 ? 0 : C.value : re, Ve = [!1, !0].includes(te.value) ? te.value : !0, we = [!1, !0].includes(O.value) ? O.value : !0, $e = K.value || "currentColor", He = M.value || "2px", Xe = q.value || "-2px", Ke = v.value !== 0 && !v.value || v.value < 0 ? 1 : v.value, Me = m.value !== 0 && !m.value || m.value < 0 ? 0.32 : m.value, ct = f.value !== null && f.value !== void 0 ? f.value < 0 ? 1 : f.value : Ke, ft = b.value !== null && b.value !== void 0 ? b.value < 0 ? 0.2 : b.value : Me, qe = V.value ? V.value : "'Lato', sans-serif", Ue = k.value ? k.value : "1.6em", Ge = N.value !== 0 && !N.value || N.value < 0 ? 400 : N.value, vt = U.value || qe, pt = F.value || Ue, bt = w.value !== null && w.value !== void 0 ? w.value < 0 ? 400 : w.value : Ge, gt = $.value ? $.value : "light";
3753
+ disabled: i,
3754
+ fontFamily: x,
3755
+ fontSize: B,
3756
+ fontWeight: _,
3757
+ popupFontFamily: Z,
3758
+ popupFontSize: R,
3759
+ popupFontWeight: I,
3760
+ theme: w,
3761
+ lightButtonColor: W,
3762
+ lightButtonColorHover: X,
3763
+ lightTextColor: u,
3764
+ lightTextColorHover: $,
3765
+ lightBorderColor: j,
3766
+ lightBorderColorHover: N,
3767
+ lightPopupBgColor: H,
3768
+ lightMenuItemHoverColor: K,
3769
+ lightMenuItemTextColor: h,
3770
+ lightDisabledBgColor: d,
3771
+ darkButtonColor: o,
3772
+ darkButtonColorHover: r,
3773
+ darkTextColor: s,
3774
+ darkTextColorHover: k,
3775
+ darkBorderColor: ee,
3776
+ darkBorderColorHover: re,
3777
+ darkPopupBgColor: ve,
3778
+ darkMenuItemHoverColor: oe,
3779
+ darkMenuItemTextColor: ue,
3780
+ darkDisabledBgColor: T
3781
+ } = xe(te), p = Te(!1), de = Te(null), v = Te(null), z = Te(null), pe = Te(null), ae = Te(-1), Ve = Te(!1), ye = t(() => {
3782
+ const a = i.value ? "component-disabled" : "", C = U.value !== "b" ? "inline-block" : "block", le = S.value !== 0 && !S.value || S.value < 0 ? 0 : S.value, se = V.value !== null && V.value !== void 0 ? V.value < 0 ? 0 : V.value : le, ke = [!1, !0].includes(P.value) ? P.value : !0, Ie = [!1, !0].includes(L.value) ? L.value : !0, $e = M.value || "currentColor", De = Q.value || "2px", Xe = q.value || "-2px", Ke = c.value !== 0 && !c.value || c.value < 0 ? 1 : c.value, Me = f.value !== 0 && !f.value || f.value < 0 ? 0.32 : f.value, ct = m.value !== null && m.value !== void 0 ? m.value < 0 ? 1 : m.value : Ke, ft = b.value !== null && b.value !== void 0 ? b.value < 0 ? 0.2 : b.value : Me, qe = x.value ? x.value : "'Lato', sans-serif", Ue = B.value ? B.value : "1.6em", Ge = _.value !== 0 && !_.value || _.value < 0 ? 400 : _.value, vt = Z.value || qe, pt = R.value || Ue, bt = I.value !== null && I.value !== void 0 ? I.value < 0 ? 400 : I.value : Ge, gt = w.value ? w.value : "light";
3832
3783
  return {
3833
3784
  disabled: a,
3834
- display: x,
3835
- showBorder: Ve,
3836
- showPopupButton: we,
3837
- borderRadius: re,
3838
- popupBorderRadius: ce,
3785
+ display: C,
3786
+ showBorder: ke,
3787
+ showPopupButton: Ie,
3788
+ borderRadius: le,
3789
+ popupBorderRadius: se,
3839
3790
  menuItemFocusOutlineColor: $e,
3840
- menuItemFocusOutlineWidth: He,
3791
+ menuItemFocusOutlineWidth: De,
3841
3792
  menuItemFocusOutlineOffset: Xe,
3842
3793
  paddingX: Ke,
3843
3794
  paddingY: Me,
@@ -3851,93 +3802,93 @@ const Da = ["id"], Na = ["disabled", "aria-label", "aria-haspopup", "aria-expand
3851
3802
  popupFontWeight: bt,
3852
3803
  theme: gt
3853
3804
  };
3854
- }), Ie = t(() => {
3855
- switch (ge.value.theme) {
3805
+ }), we = t(() => {
3806
+ switch (ye.value.theme) {
3856
3807
  case "dark":
3857
3808
  return "component__theme--dark";
3858
3809
  default:
3859
3810
  return "component__theme--light";
3860
3811
  }
3861
- }), _e = t(() => ge.value.disabled), De = t(() => ({
3862
- display: ge.value.display
3863
- })), Ne = t(() => {
3864
- const a = ge.value, x = a.display === "block" ? {} : { width: B.value ? `${B.value}px` : "auto" };
3812
+ }), _e = t(() => ye.value.disabled), Oe = t(() => ({
3813
+ display: ye.value.display
3814
+ })), Re = t(() => {
3815
+ const a = ye.value, C = a.display === "block" ? {} : { width: y.value ? `${y.value}px` : "auto" };
3865
3816
  return {
3866
3817
  borderRadius: `${a.borderRadius}rem`,
3867
3818
  overflow: "visible",
3868
3819
  position: "relative",
3869
- ...x
3820
+ ...C
3870
3821
  };
3871
- }), Re = t(() => {
3872
- const a = ge.value, x = B.value ? `${B.value}px` : "auto", re = a.showPopupButton ? {
3822
+ }), We = t(() => {
3823
+ const a = ye.value, C = y.value ? `${y.value}px` : "auto", le = a.showPopupButton ? {
3873
3824
  borderTopLeftRadius: `${a.borderRadius}rem`,
3874
3825
  borderBottomLeftRadius: `${a.borderRadius}rem`,
3875
3826
  borderTopRightRadius: "0",
3876
3827
  borderBottomRightRadius: "0"
3877
3828
  } : {
3878
3829
  borderRadius: `${a.borderRadius}rem`
3879
- }, ce = a.showBorder ? a.showPopupButton ? {
3880
- borderTop: `1px solid ${a.theme === "dark" ? A.value : H.value}`,
3881
- borderBottom: `1px solid ${a.theme === "dark" ? A.value : H.value}`,
3882
- borderLeft: `1px solid ${a.theme === "dark" ? A.value : H.value}`,
3830
+ }, se = a.showBorder ? a.showPopupButton ? {
3831
+ borderTop: `1px solid ${a.theme === "dark" ? ee.value : j.value}`,
3832
+ borderBottom: `1px solid ${a.theme === "dark" ? ee.value : j.value}`,
3833
+ borderLeft: `1px solid ${a.theme === "dark" ? ee.value : j.value}`,
3883
3834
  borderRight: "none"
3884
3835
  } : {
3885
- border: `1px solid ${a.theme === "dark" ? A.value : H.value}`
3886
- } : { border: "none" }, Ve = a.theme === "dark" ? i.value : z.value, we = a.theme === "dark" ? n.value : g.value, $e = a.theme === "dark" ? d.value : G.value, He = a.theme === "dark" ? c.value : s.value, Xe = a.theme === "dark" ? oe.value : Y.value;
3836
+ border: `1px solid ${a.theme === "dark" ? ee.value : j.value}`
3837
+ } : { border: "none" }, ke = a.theme === "dark" ? o.value : W.value, Ie = a.theme === "dark" ? s.value : u.value, $e = a.theme === "dark" ? r.value : X.value, De = a.theme === "dark" ? k.value : $.value, Xe = a.theme === "dark" ? re.value : N.value;
3887
3838
  return {
3888
- color: we,
3889
- backgroundColor: Ve,
3839
+ color: Ie,
3840
+ backgroundColor: ke,
3890
3841
  padding: `${a.paddingY}rem ${a.paddingX}rem`,
3891
3842
  lineHeight: "1.42857143",
3892
3843
  fontSize: a.fontSize,
3893
3844
  fontWeight: a.fontWeight,
3894
3845
  fontFamily: a.font,
3895
- ...ce,
3896
- ...re,
3897
- minWidth: x === "auto" ? "33px" : x,
3846
+ ...se,
3847
+ ...le,
3848
+ minWidth: C === "auto" ? "33px" : C,
3898
3849
  "--main-button-hover-color": $e,
3899
3850
  "--main-button-active-color": $e,
3900
- "--main-text-hover-color": He,
3851
+ "--main-text-hover-color": De,
3901
3852
  "--main-border-hover-color": Xe
3902
3853
  };
3903
3854
  }), Je = t(() => {
3904
- const a = ge.value, x = a.theme === "dark" ? A.value : H.value, re = a.showBorder ? {
3905
- borderTop: `1px solid ${x}`,
3906
- borderBottom: `1px solid ${x}`,
3907
- borderRight: `1px solid ${x}`,
3908
- borderLeft: `1px solid ${x}`
3909
- } : { border: "none" }, ce = a.theme === "dark" ? i.value : z.value, Ve = a.theme === "dark" ? n.value : g.value, we = a.theme === "dark" ? d.value : G.value, $e = a.theme === "dark" ? c.value : s.value, He = a.theme === "dark" ? oe.value : Y.value;
3855
+ const a = ye.value, C = a.theme === "dark" ? ee.value : j.value, le = a.showBorder ? {
3856
+ borderTop: `1px solid ${C}`,
3857
+ borderBottom: `1px solid ${C}`,
3858
+ borderRight: `1px solid ${C}`,
3859
+ borderLeft: `1px solid ${C}`
3860
+ } : { border: "none" }, se = a.theme === "dark" ? o.value : W.value, ke = a.theme === "dark" ? s.value : u.value, Ie = a.theme === "dark" ? r.value : X.value, $e = a.theme === "dark" ? k.value : $.value, De = a.theme === "dark" ? re.value : N.value;
3910
3861
  return {
3911
- color: Ve,
3912
- backgroundColor: ce,
3862
+ color: ke,
3863
+ backgroundColor: se,
3913
3864
  padding: `${a.paddingY}rem ${a.paddingX * 0.5}rem`,
3914
3865
  fontSize: a.fontSize,
3915
3866
  fontWeight: a.fontWeight,
3916
3867
  fontFamily: a.font,
3917
- ...re,
3868
+ ...le,
3918
3869
  borderTopRightRadius: `${a.borderRadius}rem`,
3919
3870
  borderBottomRightRadius: `${a.borderRadius}rem`,
3920
3871
  borderTopLeftRadius: "0",
3921
3872
  borderBottomLeftRadius: "0",
3922
- "--popup-button-hover-color": we,
3923
- "--popup-button-active-color": we,
3873
+ "--popup-button-hover-color": Ie,
3874
+ "--popup-button-active-color": Ie,
3924
3875
  "--popup-text-hover-color": $e,
3925
- "--popup-border-hover-color": He
3876
+ "--popup-border-hover-color": De
3926
3877
  };
3927
3878
  }), Qe = t(() => {
3928
- const a = ge.value, x = a.theme === "dark" ? ie.value : I.value, re = a.theme === "dark" ? J.value : S.value, ce = a.theme === "dark" ? be.value : P.value;
3879
+ const a = ye.value, C = a.theme === "dark" ? ve.value : H.value, le = a.theme === "dark" ? ue.value : h.value, se = a.theme === "dark" ? oe.value : K.value;
3929
3880
  return {
3930
- backgroundColor: x,
3931
- color: re,
3881
+ backgroundColor: C,
3882
+ color: le,
3932
3883
  borderRadius: `${a.popupBorderRadius}rem`,
3933
3884
  boxShadow: "0 2px 8px rgba(0, 0, 0, 0.15)",
3934
- minHeight: R.value.length === 0 ? "40px" : "auto",
3935
- "--menu-item-hover-color": ce,
3885
+ minHeight: O.value.length === 0 ? "40px" : "auto",
3886
+ "--menu-item-hover-color": se,
3936
3887
  "--menu-item-focus-outline-color": a.menuItemFocusOutlineColor,
3937
3888
  "--menu-item-focus-outline-width": a.menuItemFocusOutlineWidth,
3938
3889
  "--menu-item-focus-outline-offset": a.menuItemFocusOutlineOffset
3939
3890
  };
3940
- }), Ze = t(() => ge.value.popupFont), et = t(() => ge.value.popupFontSize), tt = t(() => ge.value.popupFontWeight), at = t(() => ge.value.popupPaddingX), lt = t(() => ge.value.popupPaddingY), ot = t(() => ({
3891
+ }), Ze = t(() => ye.value.popupFont), et = t(() => ye.value.popupFontSize), tt = t(() => ye.value.popupFontWeight), at = t(() => ye.value.popupPaddingX), lt = t(() => ye.value.popupPaddingY), ot = t(() => ({
3941
3892
  fontSize: et.value,
3942
3893
  fontWeight: tt.value,
3943
3894
  fontFamily: Ze.value,
@@ -3945,187 +3896,187 @@ const Da = ["id"], Na = ["disabled", "aria-label", "aria-haspopup", "aria-expand
3945
3896
  }));
3946
3897
  t(() => {
3947
3898
  const a = {};
3948
- X.value && Object.keys(X.value).forEach((ce) => a[`aria-${ce}`] = X.value[ce]);
3949
- const x = {
3950
- "aria-label": ee.value,
3951
- "aria-disabled": u.value,
3899
+ Y.value && Object.keys(Y.value).forEach((se) => a[`aria-${se}`] = Y.value[se]);
3900
+ const C = {
3901
+ "aria-label": G.value,
3902
+ "aria-disabled": i.value,
3952
3903
  ...a
3953
3904
  };
3954
3905
  return Object.fromEntries(
3955
- Object.entries(x).filter(([re, ce]) => ce != null)
3906
+ Object.entries(C).filter(([le, se]) => se != null)
3956
3907
  );
3957
3908
  });
3958
3909
  const nt = () => {
3959
3910
  document.dispatchEvent(new CustomEvent("splitbutton:close-all", {
3960
- detail: { excludeId: ae.nbId }
3911
+ detail: { excludeId: te.nbId }
3961
3912
  }));
3962
3913
  }, Fe = (a) => {
3963
- var x;
3964
- ((x = a.detail) == null ? void 0 : x.excludeId) !== ae.nbId && y.value && (y.value = !1, ne.value = -1, _.value && _.value.setAttribute("aria-expanded", "false"));
3965
- }, Ae = () => {
3966
- u.value || (y.value || nt(), me.value = !0, y.value = !y.value, y.value ? Oe(() => {
3967
- if (ue.value) {
3968
- const a = ue.value.querySelectorAll("button:not([disabled])");
3914
+ var C;
3915
+ ((C = a.detail) == null ? void 0 : C.excludeId) !== te.nbId && p.value && (p.value = !1, ae.value = -1, z.value && z.value.setAttribute("aria-expanded", "false"));
3916
+ }, Ne = () => {
3917
+ i.value || (p.value || nt(), Ve.value = !0, p.value = !p.value, p.value ? Ae(() => {
3918
+ if (pe.value) {
3919
+ const a = pe.value.querySelectorAll("button:not([disabled])");
3969
3920
  if (a && a.length > 0) {
3970
- const x = document.activeElement;
3971
- (x === _.value || x === D.value) && a[0].focus(), ne.value = 0;
3921
+ const C = document.activeElement;
3922
+ (C === z.value || C === v.value) && a[0].focus(), ae.value = 0;
3972
3923
  }
3973
3924
  }
3974
3925
  setTimeout(() => {
3975
- me.value = !1;
3926
+ Ve.value = !1;
3976
3927
  }, 10);
3977
- }) : (ne.value = -1, me.value = !1));
3928
+ }) : (ae.value = -1, Ve.value = !1));
3978
3929
  }, ze = () => {
3979
- if (!u.value) {
3980
- if (!O.value && R.value.length > 0) {
3981
- Ae();
3930
+ if (!i.value) {
3931
+ if (!L.value && O.value.length > 0) {
3932
+ Ne();
3982
3933
  return;
3983
3934
  }
3984
- j("main-clicked"), j("clicked", { type: "main" });
3935
+ E("main-clicked"), E("clicked", { type: "main" });
3985
3936
  }
3986
- }, Ye = (a, x) => {
3987
- a.disabled || u.value || (j("menu-item-clicked", { item: a, index: x }), j("clicked", { type: "menu-item", item: a, index: x }), y.value = !1, ne.value = -1);
3937
+ }, Ye = (a, C) => {
3938
+ a.disabled || i.value || (E("menu-item-clicked", { item: a, index: C }), E("clicked", { type: "menu-item", item: a, index: C }), p.value = !1, ae.value = -1);
3988
3939
  }, rt = () => {
3989
- _.value && _.value.setAttribute("aria-expanded", "true");
3940
+ z.value && z.value.setAttribute("aria-expanded", "true");
3990
3941
  }, ut = (a) => {
3991
- var x;
3992
- ue.value && !ue.value.contains(a.relatedTarget) && !((x = le.value) != null && x.contains(a.relatedTarget)) && (_.value && _.value.setAttribute("aria-expanded", "false"), y.value = !1, ne.value = -1);
3942
+ var C;
3943
+ pe.value && !pe.value.contains(a.relatedTarget) && !((C = de.value) != null && C.contains(a.relatedTarget)) && (z.value && z.value.setAttribute("aria-expanded", "false"), p.value = !1, ae.value = -1);
3993
3944
  }, dt = (a) => {
3994
- var x;
3995
- y.value && !((x = le.value) != null && x.contains(a.relatedTarget)) && (y.value = !1, ne.value = -1, _.value && _.value.setAttribute("aria-expanded", "false"));
3996
- }, Le = (a) => {
3997
- (a.code === "Escape" || a.code === "Backspace") && y.value && (y.value = !1, ne.value = -1, !O.value && D.value ? D.value.focus() : _.value && _.value.focus());
3945
+ var C;
3946
+ p.value && !((C = de.value) != null && C.contains(a.relatedTarget)) && (p.value = !1, ae.value = -1, z.value && z.value.setAttribute("aria-expanded", "false"));
3947
+ }, He = (a) => {
3948
+ (a.code === "Escape" || a.code === "Backspace") && p.value && (p.value = !1, ae.value = -1, !L.value && v.value ? v.value.focus() : z.value && z.value.focus());
3998
3949
  }, it = (a) => {
3999
- a > 0 && (ne.value = a - 1, Oe(() => {
4000
- var re;
4001
- const x = (re = ue.value) == null ? void 0 : re.querySelectorAll("button:not([disabled])");
4002
- x && x[ne.value] && x[ne.value].focus();
3950
+ a > 0 && (ae.value = a - 1, Ae(() => {
3951
+ var le;
3952
+ const C = (le = pe.value) == null ? void 0 : le.querySelectorAll("button:not([disabled])");
3953
+ C && C[ae.value] && C[ae.value].focus();
4003
3954
  }));
4004
3955
  }, st = (a) => {
4005
- var re;
4006
- const x = (re = ue.value) == null ? void 0 : re.querySelectorAll("button:not([disabled])");
4007
- x && a < x.length - 1 && (ne.value = a + 1, Oe(() => {
4008
- x[ne.value] && x[ne.value].focus();
3956
+ var le;
3957
+ const C = (le = pe.value) == null ? void 0 : le.querySelectorAll("button:not([disabled])");
3958
+ C && a < C.length - 1 && (ae.value = a + 1, Ae(() => {
3959
+ C[ae.value] && C[ae.value].focus();
4009
3960
  }));
4010
3961
  }, Pe = (a) => {
4011
- var ce, Ve;
4012
- if (me.value || !y.value || (ce = le.value) != null && ce.contains(a.target))
3962
+ var se, ke;
3963
+ if (Ve.value || !p.value || (se = de.value) != null && se.contains(a.target))
4013
3964
  return;
4014
- const x = a.target;
4015
- ((Ve = x.closest) == null ? void 0 : Ve.call(x, ".nb-split-button")) !== le.value && (y.value = !1, ne.value = -1, _.value && _.value.setAttribute("aria-expanded", "false"));
3965
+ const C = a.target;
3966
+ ((ke = C.closest) == null ? void 0 : ke.call(C, ".nb-split-button")) !== de.value && (p.value = !1, ae.value = -1, z.value && z.value.setAttribute("aria-expanded", "false"));
4016
3967
  };
4017
3968
  return Ee(() => {
4018
- Oe(() => {
3969
+ Ae(() => {
4019
3970
  document.addEventListener("click", Pe, !1), document.addEventListener("splitbutton:close-all", Fe);
4020
3971
  });
4021
3972
  }), mt(() => {
4022
3973
  document.removeEventListener("click", Pe, !1), document.removeEventListener("splitbutton:close-all", Fe);
4023
- }), (a, x) => e.nbId ? (fe(), ve("div", {
3974
+ }), (a, C) => e.nbId ? (ce(), fe("div", {
4024
3975
  key: 0,
4025
3976
  ref_key: "wrapperRef",
4026
- ref: le,
4027
- class: pe(["nb-wrapper", "nb-split-button", _e.value]),
4028
- style: se([De.value]),
3977
+ ref: de,
3978
+ class: be(["nb-wrapper", "nb-split-button", _e.value]),
3979
+ style: ie([Oe.value]),
4029
3980
  onFocusout: dt
4030
3981
  }, [
4031
- de("div", {
3982
+ ne("div", {
4032
3983
  id: e.nbId,
4033
- class: pe(["nb-reset", "component", { "component--block": o(Q) === "b" }, Ie.value]),
4034
- style: se([Ne.value])
3984
+ class: be(["nb-reset", "component", { "component--block": n(U) === "b" }, we.value]),
3985
+ style: ie([Re.value])
4035
3986
  }, [
4036
- de("button", {
3987
+ ne("button", {
4037
3988
  ref_key: "mainButtonRef",
4038
- ref: D,
4039
- class: pe(["split-button__main", { "split-button__main--disabled": o(u) }]),
4040
- style: se([Re.value]),
4041
- disabled: o(u),
4042
- "aria-label": o(h),
4043
- "aria-haspopup": !o(O) && o(R).length > 0,
4044
- "aria-expanded": o(O) ? void 0 : y.value,
4045
- tabindex: o(u) ? -1 : 0,
4046
- onClick: L(ze, ["stop"]),
3989
+ ref: v,
3990
+ class: be(["split-button__main", { "split-button__main--disabled": n(i) }]),
3991
+ style: ie([We.value]),
3992
+ disabled: n(i),
3993
+ "aria-label": n(g),
3994
+ "aria-haspopup": !n(L) && n(O).length > 0,
3995
+ "aria-expanded": n(L) ? void 0 : p.value,
3996
+ tabindex: n(i) ? -1 : 0,
3997
+ onClick: D(ze, ["stop"]),
4047
3998
  onKeydown: [
4048
- x[0] || (x[0] = W(L((re) => !o(u) && e.hasTabIndexEnter && ze(), ["prevent"]), ["enter"])),
4049
- x[1] || (x[1] = W(L((re) => !o(u) && e.hasTabIndexSpace && ze(), ["prevent"]), ["space"]))
3999
+ C[0] || (C[0] = A(D((le) => !n(i) && e.hasTabIndexEnter && ze(), ["prevent"]), ["enter"])),
4000
+ C[1] || (C[1] = A(D((le) => !n(i) && e.hasTabIndexSpace && ze(), ["prevent"]), ["space"]))
4050
4001
  ]
4051
4002
  }, [
4052
- he(a.$slots, "main-content", {}, () => [
4053
- Ce(We(o(Z)), 1)
4003
+ me(a.$slots, "main-content", {}, () => [
4004
+ he(Le(n(J)), 1)
4054
4005
  ], !0)
4055
4006
  ], 46, Na),
4056
- o(O) ? (fe(), ve("span", {
4007
+ n(L) ? (ce(), fe("span", {
4057
4008
  key: 0,
4058
4009
  ref_key: "popupButtonRef",
4059
- ref: _,
4060
- class: pe(["split-button__popup-button", { "split-button__popup-button--open": y.value }]),
4061
- style: se([Je.value]),
4010
+ ref: z,
4011
+ class: be(["split-button__popup-button", { "split-button__popup-button--open": p.value }]),
4012
+ style: ie([Je.value]),
4062
4013
  "aria-haspopup": !0,
4063
- "aria-expanded": y.value,
4064
- title: o(E),
4065
- tabindex: o(u) ? -1 : 0,
4066
- onClick: L(Ae, ["stop"]),
4014
+ "aria-expanded": p.value,
4015
+ title: n(F),
4016
+ tabindex: n(i) ? -1 : 0,
4017
+ onClick: D(Ne, ["stop"]),
4067
4018
  onFocusin: rt,
4068
4019
  onFocusout: ut,
4069
4020
  onKeydown: [
4070
- x[2] || (x[2] = W(L((re) => !o(u) && Ae(), ["prevent"]), ["enter"])),
4071
- x[3] || (x[3] = W(L((re) => !o(u) && Ae(), ["prevent"]), ["space"]))
4021
+ C[2] || (C[2] = A(D((le) => !n(i) && Ne(), ["prevent"]), ["enter"])),
4022
+ C[3] || (C[3] = A(D((le) => !n(i) && Ne(), ["prevent"]), ["space"]))
4072
4023
  ],
4073
4024
  onKeyup: [
4074
- W(Le, ["escape"]),
4075
- W(Le, ["backspace"])
4025
+ A(He, ["escape"]),
4026
+ A(He, ["backspace"])
4076
4027
  ]
4077
4028
  }, [
4078
- he(a.$slots, "popup-icon", {}, () => [
4079
- (fe(), ve("svg", {
4080
- class: pe(["split-button__icon", { "split-button__icon--open": y.value }]),
4029
+ me(a.$slots, "popup-icon", {}, () => [
4030
+ (ce(), fe("svg", {
4031
+ class: be(["split-button__icon", { "split-button__icon--open": p.value }]),
4081
4032
  viewBox: "0 0 24 24",
4082
4033
  fill: "none",
4083
4034
  stroke: "currentColor",
4084
4035
  "stroke-width": "2"
4085
- }, x[4] || (x[4] = [
4086
- de("polyline", { points: "6 9 12 15 18 9" }, null, -1)
4036
+ }, C[4] || (C[4] = [
4037
+ ne("polyline", { points: "6 9 12 15 18 9" }, null, -1)
4087
4038
  ]), 2))
4088
4039
  ], !0)
4089
- ], 46, Ha)) : ye("", !0),
4090
- y.value ? (fe(), ve("div", {
4040
+ ], 46, Ha)) : ge("", !0),
4041
+ p.value ? (ce(), fe("div", {
4091
4042
  key: 1,
4092
4043
  ref_key: "popupRef",
4093
- ref: ue,
4094
- class: pe(["split-button__popup", { "split-button__popup--open": y.value }]),
4095
- style: se([Qe.value])
4044
+ ref: pe,
4045
+ class: be(["split-button__popup", { "split-button__popup--open": p.value }]),
4046
+ style: ie([Qe.value])
4096
4047
  }, [
4097
- (fe(!0), ve(ht, null, Ct(o(R), (re, ce) => (fe(), ve("button", {
4098
- key: ce,
4099
- class: pe(["split-button__menu-item", { "split-button__menu-item--disabled": re.disabled }]),
4100
- style: se([ot.value]),
4101
- disabled: re.disabled || o(u),
4102
- tabindex: re.disabled || o(u) ? -1 : 0,
4103
- onClick: L((Ve) => Ye(re, ce), ["stop"]),
4048
+ (ce(!0), fe(ht, null, Ct(n(O), (le, se) => (ce(), fe("button", {
4049
+ key: se,
4050
+ class: be(["split-button__menu-item", { "split-button__menu-item--disabled": le.disabled }]),
4051
+ style: ie([ot.value]),
4052
+ disabled: le.disabled || n(i),
4053
+ tabindex: le.disabled || n(i) ? -1 : 0,
4054
+ onClick: D((ke) => Ye(le, se), ["stop"]),
4104
4055
  onKeydown: [
4105
- W(L((Ve) => !re.disabled && !o(u) && Ye(re, ce), ["prevent"]), ["enter"]),
4106
- W(L((Ve) => !re.disabled && !o(u) && Ye(re, ce), ["prevent"]), ["space"]),
4107
- W(L((Ve) => it(ce), ["prevent"]), ["arrow-up"]),
4108
- W(L((Ve) => st(ce), ["prevent"]), ["arrow-down"]),
4109
- W(L(Le, ["prevent"]), ["escape"]),
4110
- W(L(Le, ["prevent"]), ["backspace"])
4056
+ A(D((ke) => !le.disabled && !n(i) && Ye(le, se), ["prevent"]), ["enter"]),
4057
+ A(D((ke) => !le.disabled && !n(i) && Ye(le, se), ["prevent"]), ["space"]),
4058
+ A(D((ke) => it(se), ["prevent"]), ["arrow-up"]),
4059
+ A(D((ke) => st(se), ["prevent"]), ["arrow-down"]),
4060
+ A(D(He, ["prevent"]), ["escape"]),
4061
+ A(D(He, ["prevent"]), ["backspace"])
4111
4062
  ]
4112
4063
  }, [
4113
- re.icon ? (fe(), ve("span", La, [
4114
- he(a.$slots, `item-icon-${ce}`, { item: re }, () => [
4115
- Ce(We(re.icon), 1)
4064
+ le.icon ? (ce(), fe("span", La, [
4065
+ me(a.$slots, `item-icon-${se}`, { item: le }, () => [
4066
+ he(Le(le.icon), 1)
4116
4067
  ], !0)
4117
- ])) : ye("", !0),
4118
- de("span", Oa, We(re.label), 1)
4068
+ ])) : ge("", !0),
4069
+ ne("span", Oa, Le(le.label), 1)
4119
4070
  ], 46, Aa))), 128))
4120
- ], 6)) : ye("", !0)
4071
+ ], 6)) : ge("", !0)
4121
4072
  ], 14, Da)
4122
- ], 38)) : ye("", !0);
4073
+ ], 38)) : ge("", !0);
4123
4074
  }
4124
- }), Ra = /* @__PURE__ */ ke(Wa, [["__scopeId", "data-v-06da0798"]]), je = {
4075
+ }), Wa = /* @__PURE__ */ Be(Ra, [["__scopeId", "data-v-06da0798"]]), je = {
4125
4076
  NbButtonVavaGame: Vt,
4126
- NbButtonShowHover: It,
4077
+ NbButtonShowHover: wt,
4127
4078
  NbButtonPrevNext: At,
4128
- NbButtonMechanical: Rt,
4079
+ NbButtonMechanical: Wt,
4129
4080
  NbButtonMechanical2: jt,
4130
4081
  NbButtonHamburger: Kt,
4131
4082
  NbButtonColorOutside: Gt,
@@ -4137,13 +4088,13 @@ const Da = ["id"], Na = ["disabled", "aria-label", "aria-haspopup", "aria-expand
4137
4088
  NbButtonUnderlineExpand: Ta,
4138
4089
  NbButtonUnderlineFill: _a,
4139
4090
  NbButtonGradientBorderToBackground: pa,
4140
- NbButtonSplitDropdown: Ra
4091
+ NbButtonSplitDropdown: Wa
4141
4092
  }, Ya = {
4142
4093
  install(e) {
4143
4094
  for (const l in je)
4144
4095
  if (Object.prototype.hasOwnProperty.call(je, l)) {
4145
- const j = je[l];
4146
- e.component(j.name, j);
4096
+ const E = je[l];
4097
+ e.component(E.name, E);
4147
4098
  }
4148
4099
  }
4149
4100
  };