@vlalg-nimbus/nb-buttons 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { useCssVars as M, toRefs as j, computed as t, openBlock as D, createElementBlock as O, normalizeClass as R, normalizeStyle as N, createElementVNode as k, renderSlot as T, createTextVNode as A, createCommentVNode as L, unref as te, withModifiers as re, onMounted as de, ref as se, watch as ie, pushScopeId as ce, popScopeId as fe } from "vue";
2
- const q = (e, s) => {
1
+ import { useCssVars as j, toRefs as q, computed as t, openBlock as O, createElementBlock as L, normalizeClass as z, normalizeStyle as N, createElementVNode as Y, renderSlot as A, createTextVNode as P, createCommentVNode as T, unref as ae, withModifiers as de, onMounted as se, ref as ie, watch as ce, pushScopeId as fe, popScopeId as ve } from "vue";
2
+ const G = (e, s) => {
3
3
  const w = e.__vccOpts || e;
4
- for (const [V, b] of s)
5
- w[V] = b;
4
+ for (const [$, V] of s)
5
+ w[$] = V;
6
6
  return w;
7
- }, ve = ["id"], be = { class: "component-content__text" }, pe = /* @__PURE__ */ Object.assign({
7
+ }, be = ["id"], pe = { class: "component-content__text" }, ye = /* @__PURE__ */ Object.assign({
8
8
  name: "NbButtonVavaGame",
9
9
  inheritAttrs: !1
10
10
  }, {
@@ -93,52 +93,51 @@ const q = (e, s) => {
93
93
  },
94
94
  emits: ["clicked"],
95
95
  setup(e, { emit: s }) {
96
- const w = e;
97
- M((c) => ({
98
- "859731ae": n.value,
99
- "101619df": X.value,
100
- "90f5dac6": z.value,
101
- f0f7a800: Y.value,
102
- 33084168: r.value
96
+ j((c) => ({
97
+ "32e6be5f": n.value,
98
+ "9f7534d6": R.value,
99
+ "0ebea8a7": W.value,
100
+ "4de13b94": X.value,
101
+ "4e9ec21e": r.value
103
102
  }));
104
- const {
103
+ const w = s, $ = e, {
105
104
  display: V,
106
- textColor: b,
105
+ textColor: g,
107
106
  textColorHover: m,
108
- buttonColor: p,
109
- buttonColorHover: y,
107
+ buttonColor: b,
108
+ buttonColorHover: p,
110
109
  uppercase: _,
111
- paddingXContent: g,
110
+ paddingXContent: y,
112
111
  paddingYContent: x,
113
112
  paddingXBorder: C,
114
113
  paddingYBorder: f,
115
114
  borderColor: i,
116
115
  borderOpacity: u,
117
116
  disabled: v,
118
- fontFamily: $,
117
+ fontFamily: H,
119
118
  fontSize: B,
120
119
  fontWeight: h
121
- } = j(w), S = t(() => {
122
- const c = v.value ? "component-disabled" : "", I = V.value !== "b" ? "inline-block" : "block", P = b.value ? b.value : "#ece8e1", F = p.value ? p.value : "green", G = m.value ? m.value : "#ece8e1", E = y.value ? y.value : "cyan", J = i.value ? i.value : "#ffffff", K = !u.value || !(u.value >= 0 && u.value <= 1) ? "0.5" : u.value, Q = !C.value || C.value < 0 ? 0.3 : C.value, U = !f.value || f.value < 0 ? 0.3 : f.value, Z = !g.value || g.value < 0 ? 0.5 : g.value, ae = !x.value || x.value < 0 ? 0.5 : x.value, oe = _.value ? "uppercase" : "none", le = $.value ? $.value : "'Lato', sans-serif", ne = B.value ? B.value : "1.6em", ue = !h.value || h.value < 0 ? 100 : h.value;
120
+ } = q($), S = t(() => {
121
+ const c = v.value ? "component-disabled" : "", D = V.value !== "b" ? "inline-block" : "block", F = g.value ? g.value : "#ece8e1", M = b.value ? b.value : "green", E = m.value ? m.value : "#ece8e1", J = p.value ? p.value : "cyan", K = i.value ? i.value : "#ffffff", Q = !u.value || !(u.value >= 0 && u.value <= 1) ? "0.5" : u.value, U = !C.value || C.value < 0 ? 0.3 : C.value, Z = !f.value || f.value < 0 ? 0.3 : f.value, ee = !y.value || y.value < 0 ? 0.5 : y.value, oe = !x.value || x.value < 0 ? 0.5 : x.value, le = _.value ? "uppercase" : "none", ne = H.value ? H.value : "'Lato', sans-serif", ue = B.value ? B.value : "1.6em", re = !h.value || h.value < 0 ? 100 : h.value;
123
122
  return {
124
123
  disabled: c,
125
- display: I,
126
- textColor: P,
127
- buttonColor: F,
128
- textColorHover: G,
129
- buttonColorHover: E,
130
- borderColor: J,
131
- borderOpacity: K,
132
- paddingXBorder: Q,
133
- paddingYBorder: U,
134
- paddingXContent: Z,
135
- paddingYContent: ae,
136
- uppercase: oe,
137
- font: le,
138
- fontSize: ne,
139
- fontWeight: ue
124
+ display: D,
125
+ textColor: F,
126
+ buttonColor: M,
127
+ textColorHover: E,
128
+ buttonColorHover: J,
129
+ borderColor: K,
130
+ borderOpacity: Q,
131
+ paddingXBorder: U,
132
+ paddingYBorder: Z,
133
+ paddingXContent: ee,
134
+ paddingYContent: oe,
135
+ uppercase: le,
136
+ font: ne,
137
+ fontSize: ue,
138
+ fontWeight: re
140
139
  };
141
- }), o = t(() => S.value.disabled), H = t(() => ({
140
+ }), o = t(() => S.value.disabled), k = t(() => ({
142
141
  display: S.value.display
143
142
  })), d = t(() => {
144
143
  const c = S.value;
@@ -156,39 +155,39 @@ const q = (e, s) => {
156
155
  };
157
156
  }), a = t(() => ({
158
157
  backgroundColor: S.value.buttonColorHover
159
- })), n = t(() => S.value.font), Y = t(() => S.value.borderColor), r = t(() => S.value.borderOpacity), X = t(() => S.value.textColor), z = t(() => S.value.textColorHover), W = () => {
160
- s("clicked");
158
+ })), n = t(() => S.value.font), X = t(() => S.value.borderColor), r = t(() => S.value.borderOpacity), R = t(() => S.value.textColor), W = t(() => S.value.textColorHover), I = () => {
159
+ w("clicked");
161
160
  };
162
- return (c, I) => e.nbId ? (D(), O("div", {
161
+ return (c, D) => e.nbId ? (O(), L("div", {
163
162
  key: 0,
164
- class: R(["nb-wrapper", o.value]),
165
- style: N([H.value]),
166
- onClick: W
163
+ class: z(["nb-wrapper", o.value]),
164
+ style: N([k.value]),
165
+ onClick: I
167
166
  }, [
168
- k("div", {
167
+ Y("div", {
169
168
  id: e.nbId,
170
- class: R(["nb-reset", "component"]),
169
+ class: z(["nb-reset", "component"]),
171
170
  style: N([d.value])
172
171
  }, [
173
- k("div", {
172
+ Y("div", {
174
173
  class: "component-content",
175
174
  style: N([l.value])
176
175
  }, [
177
- k("span", be, [
178
- T(c.$slots, "content", {}, () => [
179
- A("Default Text")
176
+ Y("span", pe, [
177
+ A(c.$slots, "content", {}, () => [
178
+ P("Default Text")
180
179
  ], !0)
181
180
  ]),
182
- k("span", {
181
+ Y("span", {
183
182
  class: "component-content__mask",
184
183
  style: N([a.value])
185
184
  }, null, 4)
186
185
  ], 4)
187
- ], 12, ve)
188
- ], 6)) : L("", !0);
186
+ ], 12, be)
187
+ ], 6)) : T("", !0);
189
188
  }
190
- }), ye = /* @__PURE__ */ q(pe, [["__scopeId", "data-v-4cddc525"]]);
191
- const ge = ["id"], me = /* @__PURE__ */ Object.assign({
189
+ }), ge = /* @__PURE__ */ G(ye, [["__scopeId", "data-v-2854e208"]]);
190
+ const me = ["id"], Ve = /* @__PURE__ */ Object.assign({
192
191
  name: "NbButtonShowHover",
193
192
  inheritAttrs: !1
194
193
  }, {
@@ -255,42 +254,41 @@ const ge = ["id"], me = /* @__PURE__ */ Object.assign({
255
254
  },
256
255
  emits: ["clicked"],
257
256
  setup(e, { emit: s }) {
258
- const w = e;
259
- M((d) => ({
260
- "4b8ff329": o.value,
261
- "456d13a6": h.value,
262
- 55665737: S.value,
263
- "6b7abb00": e.textColorHover,
264
- b18900c8: te(V)
257
+ j((d) => ({
258
+ ae2466b6: o.value,
259
+ "4cd64222": h.value,
260
+ "54f7cb8a": S.value,
261
+ "72e3e97c": e.textColorHover,
262
+ "3b3633a0": ae(V)
265
263
  }));
266
- const {
264
+ const w = s, $ = e, {
267
265
  textColor: V,
268
- buttonColorHover: b,
266
+ buttonColorHover: g,
269
267
  buttonColorOpacityHover: m,
270
- paddingX: p,
271
- paddingY: y,
268
+ paddingX: b,
269
+ paddingY: p,
272
270
  disabled: _,
273
- borderRadius: g,
271
+ borderRadius: y,
274
272
  verticalAlign: x,
275
273
  fontFamily: C,
276
274
  fontSize: f,
277
275
  fontWeight: i
278
- } = j(w), u = t(() => {
279
- const d = _.value ? "component-disabled" : "", l = x.value ? x.value : "middle", a = V ? V.value : "ffffff", n = !p.value || p.value < 0 ? 1 : p.value, Y = !y.value || y.value < 0 ? 0.2 : y.value, r = !g.value || g.value < 0 ? 0 : g.value, X = b.value ? b.value : "10, 38, 184", z = !m.value || m.value < 0 ? 0.1 : m.value, W = C.value ? C.value : "'Lato', sans-serif", c = f.value ? f.value : "1.6rem", I = !i.value || i.value < 0 ? 100 : i.value;
276
+ } = q($), u = t(() => {
277
+ const d = _.value ? "component-disabled" : "", l = x.value ? x.value : "middle", a = V ? V.value : "ffffff", n = !b.value || b.value < 0 ? 1 : b.value, X = !p.value || p.value < 0 ? 0.2 : p.value, r = !y.value || y.value < 0 ? 0 : y.value, R = g.value ? g.value : "10, 38, 184", W = !m.value || m.value < 0 ? 0.1 : m.value, I = C.value ? C.value : "'Lato', sans-serif", c = f.value ? f.value : "1.6rem", D = !i.value || i.value < 0 ? 100 : i.value;
280
278
  return {
281
279
  disabled: d,
282
280
  borderRadius: r,
283
281
  textColor: a,
284
282
  paddingX: n,
285
- paddingY: Y,
286
- buttonColorHover: X,
287
- buttonColorOpacityHover: z,
288
- font: W,
283
+ paddingY: X,
284
+ buttonColorHover: R,
285
+ buttonColorOpacityHover: W,
286
+ font: I,
289
287
  fontSize: c,
290
- fontWeight: I,
288
+ fontWeight: D,
291
289
  verticalAlign: l
292
290
  };
293
- }), v = t(() => u.value.disabled), $ = t(() => ({
291
+ }), v = t(() => u.value.disabled), H = t(() => ({
294
292
  verticalAlign: u.value.verticalAlign
295
293
  })), B = t(() => {
296
294
  const d = u.value;
@@ -307,30 +305,30 @@ const ge = ["id"], me = /* @__PURE__ */ Object.assign({
307
305
  }), S = t(() => {
308
306
  const d = u.value;
309
307
  return `rgba(${d.buttonColorHover}, ${d.buttonColorOpacityHover})`;
310
- }), o = t(() => u.value.font), H = () => {
311
- s("clicked");
308
+ }), o = t(() => u.value.font), k = () => {
309
+ w("clicked");
312
310
  };
313
- return (d, l) => e.nbId ? (D(), O("div", {
311
+ return (d, l) => e.nbId ? (O(), L("div", {
314
312
  key: 0,
315
- class: R(["nb-wrapper", v.value]),
316
- style: N([$.value]),
317
- onClick: H
313
+ class: z(["nb-wrapper", v.value]),
314
+ style: N([H.value]),
315
+ onClick: k
318
316
  }, [
319
- k("a", {
317
+ Y("a", {
320
318
  id: e.nbId,
321
319
  class: "nb-reset component tertiary",
322
320
  style: N([B.value]),
323
- onClick: l[0] || (l[0] = re(() => {
321
+ onClick: l[0] || (l[0] = de(() => {
324
322
  }, ["prevent"]))
325
323
  }, [
326
- T(d.$slots, "content", {}, () => [
327
- A("Default Text")
324
+ A(d.$slots, "content", {}, () => [
325
+ P("Default Text")
328
326
  ], !0)
329
- ], 12, ge)
330
- ], 6)) : L("", !0);
327
+ ], 12, me)
328
+ ], 6)) : T("", !0);
331
329
  }
332
- }), Ve = /* @__PURE__ */ q(me, [["__scopeId", "data-v-35424129"]]);
333
- const Ce = ["id"], Se = /* @__PURE__ */ Object.assign({
330
+ }), Ce = /* @__PURE__ */ G(Ve, [["__scopeId", "data-v-ac926913"]]);
331
+ const Se = ["id"], _e = /* @__PURE__ */ Object.assign({
334
332
  name: "NbButtonPrevNext",
335
333
  inheritAttrs: !1
336
334
  }, {
@@ -418,39 +416,38 @@ const Ce = ["id"], Se = /* @__PURE__ */ Object.assign({
418
416
  },
419
417
  emits: ["clicked"],
420
418
  setup(e, { emit: s }) {
421
- const w = e;
422
- M((l) => ({
423
- "2446b547": H.value,
424
- a50bbbd2: e.colorPrimary,
425
- "0f9f603e": e.textColor,
426
- "748cd449": e.colorSecondary,
427
- "1af3ef9e": e.textColorHover
419
+ j((l) => ({
420
+ ac33d4c4: k.value,
421
+ "30fb3b6e": e.colorPrimary,
422
+ c9dcc372: e.textColor,
423
+ "1c2cf3e0": e.colorSecondary,
424
+ "7ad7e196": e.textColorHover
428
425
  }));
429
- const {
426
+ const w = s, $ = e, {
430
427
  paddingX: V,
431
- paddingY: b,
428
+ paddingY: g,
432
429
  marginBetween: m,
433
- borderRadius: p,
434
- disabled: y,
430
+ borderRadius: b,
431
+ disabled: p,
435
432
  disabledPreview: _,
436
- disabledNext: g,
433
+ disabledNext: y,
437
434
  fontFamily: x,
438
435
  fontSize: C,
439
436
  fontWeight: f
440
- } = j(w), i = t(() => {
441
- const l = y.value ? "component-disabled" : "", a = _.value ? "component-disabled" : "", n = g.value ? "component-disabled" : "", Y = !m.value || m.value < 0 ? 0 : m.value, r = !p.value || p.value < 0 ? 0 : p.value, X = !V.value || V.value < 0 ? 1 : V.value, z = !b.value || b.value < 0 ? 10 : b.value, W = C.value ? C.value : "1.6em", c = !f.value || f.value < 0 ? 100 : f.value;
437
+ } = q($), i = t(() => {
438
+ const l = p.value ? "component-disabled" : "", a = _.value ? "component-disabled" : "", n = y.value ? "component-disabled" : "", X = !m.value || m.value < 0 ? 0 : m.value, r = !b.value || b.value < 0 ? 0 : b.value, R = !V.value || V.value < 0 ? 1 : V.value, W = !g.value || g.value < 0 ? 10 : g.value, I = C.value ? C.value : "1.6em", c = !f.value || f.value < 0 ? 100 : f.value;
442
439
  return {
443
440
  disabled: l,
444
441
  disabledPreview: a,
445
442
  disabledNext: n,
446
- marginBetween: `${Y}px`,
443
+ marginBetween: `${X}px`,
447
444
  borderRadius: `${r}px`,
448
- paddingX: `${X}px`,
449
- paddingY: `${z}px`,
450
- fontSize: W,
445
+ paddingX: `${R}px`,
446
+ paddingY: `${W}px`,
447
+ fontSize: I,
451
448
  fontWeight: c
452
449
  };
453
- }), u = t(() => i.value.disabled), v = t(() => i.value.disabledPreview), $ = t(() => i.value.disabledNext), B = t(() => ({
450
+ }), u = t(() => i.value.disabled), v = t(() => i.value.disabledPreview), H = t(() => i.value.disabledNext), B = t(() => ({
454
451
  display: i.value.display
455
452
  })), h = t(() => {
456
453
  const l = i.value;
@@ -472,44 +469,44 @@ const Ce = ["id"], Se = /* @__PURE__ */ Object.assign({
472
469
  marginLeft: l.marginBetween,
473
470
  padding: `${l.paddingX} ${l.paddingY}`
474
471
  };
475
- }), H = t(() => `'${x.value ? x.value : "'Lato', sans-serif"}'`), d = (l) => {
476
- s("clicked", l);
472
+ }), k = t(() => `'${x.value ? x.value : "'Lato', sans-serif"}'`), d = (l) => {
473
+ w("clicked", l);
477
474
  };
478
- return (l, a) => e.nbId ? (D(), O("div", {
475
+ return (l, a) => e.nbId ? (O(), L("div", {
479
476
  key: 0,
480
- class: R(["nb-wrapper", u.value]),
477
+ class: z(["nb-wrapper", u.value]),
481
478
  style: N([B.value])
482
479
  }, [
483
- k("div", {
480
+ Y("div", {
484
481
  id: e.nbId,
485
- class: R(["nb-reset", "component"]),
482
+ class: z(["nb-reset", "component"]),
486
483
  style: N(h.value)
487
484
  }, [
488
- e.showPreview ? (D(), O("div", {
485
+ e.showPreview ? (O(), L("div", {
489
486
  key: 0,
490
487
  onClick: a[0] || (a[0] = (n) => d("preview")),
491
- class: R(["buttonNextPreview buttonPreview", v.value]),
488
+ class: z(["buttonNextPreview buttonPreview", v.value]),
492
489
  style: N(S.value)
493
490
  }, [
494
- T(l.$slots, "prev", {}, () => [
495
- A("← Preview")
491
+ A(l.$slots, "prev", {}, () => [
492
+ P("← Preview")
496
493
  ], !0)
497
- ], 6)) : L("", !0),
498
- e.showNext ? (D(), O("div", {
494
+ ], 6)) : T("", !0),
495
+ e.showNext ? (O(), L("div", {
499
496
  key: 1,
500
497
  onClick: a[1] || (a[1] = (n) => d("next")),
501
- class: R(["buttonNextPreview buttonNext", $.value]),
498
+ class: z(["buttonNextPreview buttonNext", H.value]),
502
499
  style: N(o.value)
503
500
  }, [
504
- T(l.$slots, "next", {}, () => [
505
- A("Next →")
501
+ A(l.$slots, "next", {}, () => [
502
+ P("Next →")
506
503
  ], !0)
507
- ], 6)) : L("", !0)
508
- ], 12, Ce)
509
- ], 6)) : L("", !0);
504
+ ], 6)) : T("", !0)
505
+ ], 12, Se)
506
+ ], 6)) : T("", !0);
510
507
  }
511
- }), _e = /* @__PURE__ */ q(Se, [["__scopeId", "data-v-f26b5a64"]]);
512
- const xe = ["id"], he = /* @__PURE__ */ Object.assign({
508
+ }), xe = /* @__PURE__ */ G(_e, [["__scopeId", "data-v-bce0a1da"]]);
509
+ const he = ["id"], Ne = /* @__PURE__ */ Object.assign({
513
510
  name: "NbButtonMechanical",
514
511
  inheritAttrs: !1
515
512
  }, {
@@ -579,43 +576,42 @@ const xe = ["id"], he = /* @__PURE__ */ Object.assign({
579
576
  },
580
577
  emits: ["clicked"],
581
578
  setup(e, { emit: s }) {
582
- const w = e;
583
- M((a) => ({
584
- "196eb3ca": o.value,
585
- "5a845ff6": te(b),
586
- "44f25ea8": d.value,
587
- "3eb45b5e": H.value
579
+ j((a) => ({
580
+ "4b1889ee": o.value,
581
+ "7fe81952": ae(g),
582
+ "5683f09a": d.value,
583
+ "58a615bf": k.value
588
584
  }));
589
- const {
585
+ const w = s, $ = e, {
590
586
  display: V,
591
- buttonColor: b,
587
+ buttonColor: g,
592
588
  textColor: m,
593
- containerColor: p,
594
- paddingX: y,
589
+ containerColor: b,
590
+ paddingX: p,
595
591
  paddingY: _,
596
- borderRadius: g,
592
+ borderRadius: y,
597
593
  disabled: x,
598
594
  animationSlow: C,
599
595
  fontFamily: f,
600
596
  fontSize: i,
601
597
  fontWeight: u
602
- } = j(w), v = t(() => {
603
- const a = x.value ? "component-disabled" : "", n = V.value !== "b" ? "inline-block" : "block", Y = p.value ? p.value : "#ffffff", r = b.value ? b.value : "#bbbbbb", X = m.value ? m.value : "#ffffff", z = !y.value || y.value < 0 ? 1 : y.value, W = !_.value || _.value < 0 ? 0.2 : _.value, c = !g.value || g.value < 0 ? 0 : g.value, I = C.value ? "" : "component-transition__no-slow", P = f.value ? f.value : "'Lato', sans-serif", F = i.value ? i.value : "1.6em", G = !u.value || u.value < 0 ? 100 : u.value;
598
+ } = q($), v = t(() => {
599
+ const a = x.value ? "component-disabled" : "", n = V.value !== "b" ? "inline-block" : "block", X = b.value ? b.value : "#ffffff", r = g.value ? g.value : "#bbbbbb", R = m.value ? m.value : "#ffffff", W = !p.value || p.value < 0 ? 1 : p.value, I = !_.value || _.value < 0 ? 0.2 : _.value, c = !y.value || y.value < 0 ? 0 : y.value, D = C.value ? "" : "component-transition__no-slow", F = f.value ? f.value : "'Lato', sans-serif", M = i.value ? i.value : "1.6em", E = !u.value || u.value < 0 ? 100 : u.value;
604
600
  return {
605
601
  disabled: a,
606
602
  display: n,
607
- containerColor: Y,
603
+ containerColor: X,
608
604
  buttonColor: r,
609
- textColor: X,
610
- paddingX: z,
611
- paddingY: W,
605
+ textColor: R,
606
+ paddingX: W,
607
+ paddingY: I,
612
608
  borderRadius: c,
613
- animationSlow: I,
614
- font: P,
615
- fontSize: F,
616
- fontWeight: G
609
+ animationSlow: D,
610
+ font: F,
611
+ fontSize: M,
612
+ fontWeight: E
617
613
  };
618
- }), $ = t(() => v.value.disabled), B = t(() => ({
614
+ }), H = t(() => v.value.disabled), B = t(() => ({
619
615
  display: v.value.display
620
616
  })), h = t(() => {
621
617
  const a = v.value;
@@ -628,28 +624,28 @@ const xe = ["id"], he = /* @__PURE__ */ Object.assign({
628
624
  fontSize: a.fontSize,
629
625
  fontWeight: a.fontWeight
630
626
  };
631
- }), S = t(() => v.value.animationSlow), o = t(() => v.value.font), H = t(() => v.value.textColor), d = t(() => v.value.buttonColor), l = () => {
632
- s("clicked");
627
+ }), S = t(() => v.value.animationSlow), o = t(() => v.value.font), k = t(() => v.value.textColor), d = t(() => v.value.buttonColor), l = () => {
628
+ w("clicked");
633
629
  };
634
- return (a, n) => e.nbId ? (D(), O("div", {
630
+ return (a, n) => e.nbId ? (O(), L("div", {
635
631
  key: 0,
636
- class: R(["nb-wrapper", $.value]),
632
+ class: z(["nb-wrapper", H.value]),
637
633
  style: N([B.value]),
638
634
  onClick: l
639
635
  }, [
640
- k("div", {
636
+ Y("div", {
641
637
  id: e.nbId,
642
- class: R(["nb-reset", "component", "component-transition", S.value]),
638
+ class: z(["nb-reset", "component", "component-transition", S.value]),
643
639
  style: N([h.value])
644
640
  }, [
645
- T(a.$slots, "content", {}, () => [
646
- A("Default Text")
641
+ A(a.$slots, "content", {}, () => [
642
+ P("Default Text")
647
643
  ], !0)
648
- ], 14, xe)
649
- ], 6)) : L("", !0);
644
+ ], 14, he)
645
+ ], 6)) : T("", !0);
650
646
  }
651
- }), Ne = /* @__PURE__ */ q(he, [["__scopeId", "data-v-11d6e180"]]);
652
- const we = ["id"], Be = /* @__PURE__ */ Object.assign({
647
+ }), we = /* @__PURE__ */ G(Ne, [["__scopeId", "data-v-5cadef2d"]]);
648
+ const Be = ["id"], $e = /* @__PURE__ */ Object.assign({
653
649
  name: "NbButtonMechanical2",
654
650
  inheritAttrs: !1
655
651
  }, {
@@ -715,38 +711,37 @@ const we = ["id"], Be = /* @__PURE__ */ Object.assign({
715
711
  },
716
712
  emits: ["clicked"],
717
713
  setup(e, { emit: s }) {
718
- const w = e;
719
- M((o) => ({
720
- "143d0975": h.value
714
+ j((o) => ({
715
+ "7ab7e502": h.value
721
716
  }));
722
- const {
717
+ const w = s, $ = e, {
723
718
  display: V,
724
- buttonColor: b,
719
+ buttonColor: g,
725
720
  textColor: m,
726
- paddingX: p,
727
- paddingY: y,
721
+ paddingX: b,
722
+ paddingY: p,
728
723
  borderRadius: _,
729
- shadowColor: g,
724
+ shadowColor: y,
730
725
  disabled: x,
731
726
  fontFamily: C,
732
727
  fontSize: f,
733
728
  fontWeight: i
734
- } = j(w), u = t(() => {
735
- const o = x.value ? "component-disabled" : "", H = V.value !== "b" ? "inline-block" : "block", d = b.value ? b.value : "#bbbbbb", l = g.value ? g.value : "#002f3c", a = m.value ? m.value : "#ffffff", n = !p.value || p.value < 0 ? 1 : p.value, Y = !y.value || y.value < 0 ? 1 : y.value, r = !_.value || _.value < 0 ? 0 : _.value, X = C.value ? C.value : "'Lato', sans-serif", z = f.value ? f.value : "1.6em", W = !i.value || i.value < 0 ? 100 : i.value;
729
+ } = q($), u = t(() => {
730
+ const o = x.value ? "component-disabled" : "", k = V.value !== "b" ? "inline-block" : "block", d = g.value ? g.value : "#bbbbbb", l = y.value ? y.value : "#002f3c", a = m.value ? m.value : "#ffffff", n = !b.value || b.value < 0 ? 1 : b.value, X = !p.value || p.value < 0 ? 1 : p.value, r = !_.value || _.value < 0 ? 0 : _.value, R = C.value ? C.value : "'Lato', sans-serif", W = f.value ? f.value : "1.6em", I = !i.value || i.value < 0 ? 100 : i.value;
736
731
  return {
737
732
  disabled: o,
738
- display: H,
733
+ display: k,
739
734
  buttonColor: d,
740
735
  shadowColor: l,
741
736
  textColor: a,
742
737
  paddingX: n,
743
- paddingY: Y,
738
+ paddingY: X,
744
739
  borderRadius: r,
745
- font: X,
746
- fontSize: z,
747
- fontWeight: W
740
+ font: R,
741
+ fontSize: W,
742
+ fontWeight: I
748
743
  };
749
- }), v = t(() => u.value.disabled), $ = t(() => ({
744
+ }), v = t(() => u.value.disabled), H = t(() => ({
750
745
  display: u.value.display
751
746
  })), B = t(() => {
752
747
  const o = u.value;
@@ -761,27 +756,27 @@ const we = ["id"], Be = /* @__PURE__ */ Object.assign({
761
756
  fontWeight: o.fontWeight
762
757
  };
763
758
  }), h = t(() => u.value.font), S = () => {
764
- s("clicked");
759
+ w("clicked");
765
760
  };
766
- return (o, H) => e.nbId ? (D(), O("div", {
761
+ return (o, k) => e.nbId ? (O(), L("div", {
767
762
  key: 0,
768
- class: R(["nb-wrapper", v.value]),
769
- style: N([$.value]),
763
+ class: z(["nb-wrapper", v.value]),
764
+ style: N([H.value]),
770
765
  onClick: S
771
766
  }, [
772
- k("div", {
767
+ Y("div", {
773
768
  id: e.nbId,
774
- class: R(["nb-reset", "component", "component-transition"]),
769
+ class: z(["nb-reset", "component", "component-transition"]),
775
770
  style: N([B.value])
776
771
  }, [
777
- T(o.$slots, "content", {}, () => [
778
- A("Default Text")
772
+ A(o.$slots, "content", {}, () => [
773
+ P("Default Text")
779
774
  ], !0)
780
- ], 12, we)
781
- ], 6)) : L("", !0);
775
+ ], 12, Be)
776
+ ], 6)) : T("", !0);
782
777
  }
783
- }), $e = /* @__PURE__ */ q(Be, [["__scopeId", "data-v-f22590f0"]]);
784
- const He = ["id"], ke = /* @__PURE__ */ Object.assign({
778
+ }), He = /* @__PURE__ */ G($e, [["__scopeId", "data-v-dc73d1b4"]]);
779
+ const ke = ["id"], Ye = /* @__PURE__ */ Object.assign({
785
780
  name: "NbButtonHamburger",
786
781
  inheritAttrs: !1
787
782
  }, {
@@ -830,32 +825,33 @@ const He = ["id"], ke = /* @__PURE__ */ Object.assign({
830
825
  },
831
826
  emits: ["clicked"],
832
827
  setup(e, { emit: s }) {
833
- const w = e;
834
- M((o) => ({
835
- "4f0c7280": B.value,
836
- "86dec5da": h.value
837
- })), de(() => {
838
- V.value = b.value;
828
+ j((o) => ({
829
+ f95b314e: B.value,
830
+ "30593c5a": h.value
831
+ }));
832
+ const w = s, $ = e;
833
+ se(() => {
834
+ V.value = g.value;
839
835
  });
840
- const V = se(!1), {
841
- status: b,
836
+ const V = ie(!1), {
837
+ status: g,
842
838
  color: m,
843
- containerColor: p,
844
- containerColorHover: y,
839
+ containerColor: b,
840
+ containerColorHover: p,
845
841
  colorHover: _,
846
- paddingX: g,
842
+ paddingX: y,
847
843
  paddingY: x,
848
844
  disabled: C
849
- } = j(w), f = t(() => {
850
- const o = C.value ? "component-disabled" : "", H = V.value ? "change" : "", d = p.value ? p.value : "#333333", l = m.value ? m.value : "#ffffff", a = !g.value || g.value < 0 ? 3 : g.value, n = !x.value || x.value < 0 ? 3 : x.value, Y = y.value ? y.value : "yellow", r = _.value ? _.value : "red";
845
+ } = q($), f = t(() => {
846
+ const o = C.value ? "component-disabled" : "", k = V.value ? "change" : "", d = b.value ? b.value : "#333333", l = m.value ? m.value : "#ffffff", a = !y.value || y.value < 0 ? 3 : y.value, n = !x.value || x.value < 0 ? 3 : x.value, X = p.value ? p.value : "yellow", r = _.value ? _.value : "red";
851
847
  return {
852
848
  disabled: o,
853
- buttonStatus: H,
849
+ buttonStatus: k,
854
850
  containerColor: d,
855
851
  paddingX: a,
856
852
  paddingY: n,
857
853
  color: l,
858
- containerColorHover: Y,
854
+ containerColorHover: X,
859
855
  colorHover: r
860
856
  };
861
857
  }), i = t(() => f.value.disabled), u = t(() => {
@@ -866,39 +862,39 @@ const He = ["id"], ke = /* @__PURE__ */ Object.assign({
866
862
  };
867
863
  }), v = t(() => ({
868
864
  backgroundColor: f.value.color
869
- })), $ = t(() => f.value.buttonStatus), B = t(() => f.value.containerColorHover), h = t(() => f.value.colorHover), S = () => {
865
+ })), H = t(() => f.value.buttonStatus), B = t(() => f.value.containerColorHover), h = t(() => f.value.colorHover), S = () => {
870
866
  const o = !V.value;
871
- V.value = o, s("clicked", o);
867
+ V.value = o, w("clicked", o);
872
868
  };
873
- return ie(b, () => {
874
- V.value = b.value;
875
- }), (o, H) => e.nbId ? (D(), O("div", {
869
+ return ce(g, () => {
870
+ V.value = g.value;
871
+ }), (o, k) => e.nbId ? (O(), L("div", {
876
872
  key: 0,
877
- class: R(["nb-wrapper", i.value]),
873
+ class: z(["nb-wrapper", i.value]),
878
874
  style: N([u.value]),
879
875
  onClick: S
880
876
  }, [
881
- k("div", {
877
+ Y("div", {
882
878
  id: e.nbId,
883
- class: R(["nb-reset", "component", $.value])
879
+ class: z(["nb-reset", "component", H.value])
884
880
  }, [
885
- k("div", {
881
+ Y("div", {
886
882
  class: "component__line-one",
887
883
  style: N(v.value)
888
884
  }, null, 4),
889
- k("div", {
885
+ Y("div", {
890
886
  class: "component__line-two",
891
887
  style: N(v.value)
892
888
  }, null, 4),
893
- k("div", {
889
+ Y("div", {
894
890
  class: "component__line-three",
895
891
  style: N(v.value)
896
892
  }, null, 4)
897
- ], 10, He)
898
- ], 6)) : L("", !0);
893
+ ], 10, ke)
894
+ ], 6)) : T("", !0);
899
895
  }
900
- }), Ye = /* @__PURE__ */ q(ke, [["__scopeId", "data-v-37573ac0"]]);
901
- const Xe = (e) => (ce("data-v-91c3c32d"), e = e(), fe(), e), Re = ["id"], ze = /* @__PURE__ */ Xe(() => /* @__PURE__ */ k("div", { class: "component-shadow" }, null, -1)), We = /* @__PURE__ */ Object.assign({
896
+ }), Xe = /* @__PURE__ */ G(Ye, [["__scopeId", "data-v-3ffd1dc9"]]);
897
+ const Re = (e) => (fe("data-v-e1da5764"), e = e(), ve(), e), ze = ["id"], We = /* @__PURE__ */ Re(() => /* @__PURE__ */ Y("div", { class: "component-shadow" }, null, -1)), Ie = /* @__PURE__ */ Object.assign({
902
898
  name: "NbButtonColorOutside",
903
899
  inheritAttrs: !1
904
900
  }, {
@@ -964,41 +960,40 @@ const Xe = (e) => (ce("data-v-91c3c32d"), e = e(), fe(), e), Re = ["id"], ze = /
964
960
  },
965
961
  emits: ["clicked"],
966
962
  setup(e, { emit: s }) {
967
- const w = e;
968
- M((a) => ({
969
- "1268e22f": o.value,
970
- b72ce280: d.value,
971
- "8beb00ca": S.value,
972
- "58edf536": H.value
963
+ j((a) => ({
964
+ "2ad8890e": o.value,
965
+ "48b2df1f": d.value,
966
+ fda0dac8: S.value,
967
+ "6c58e184": k.value
973
968
  }));
974
- const {
969
+ const w = s, $ = e, {
975
970
  display: V,
976
- buttonColor: b,
971
+ buttonColor: g,
977
972
  borderColor: m,
978
- textColor: p,
979
- paddingX: y,
973
+ textColor: b,
974
+ paddingX: p,
980
975
  paddingY: _,
981
- borderRadius: g,
976
+ borderRadius: y,
982
977
  disabled: x,
983
978
  fontFamily: C,
984
979
  fontSize: f,
985
980
  fontWeight: i
986
- } = j(w), u = t(() => {
987
- const a = x.value ? "component-disabled" : "", n = V.value !== "b" ? "inline-block" : "block", Y = b.value ? b.value : "#bbbbbb", r = m.value ? m.value : "#ffe54c", X = p.value ? p.value : "#ffffff", z = !y.value || y.value < 0 ? 1 : y.value, W = !_.value || _.value < 0 ? 0.2 : _.value, c = !g.value || g.value < 0 ? 0 : g.value, I = C.value ? C.value : "'Lato', sans-serif", P = f.value ? f.value : "1.6em", F = !i.value || i.value < 0 ? 200 : i.value;
981
+ } = q($), u = t(() => {
982
+ const a = x.value ? "component-disabled" : "", n = V.value !== "b" ? "inline-block" : "block", X = g.value ? g.value : "#bbbbbb", r = m.value ? m.value : "#ffe54c", R = b.value ? b.value : "#ffffff", W = !p.value || p.value < 0 ? 1 : p.value, I = !_.value || _.value < 0 ? 0.2 : _.value, c = !y.value || y.value < 0 ? 0 : y.value, D = C.value ? C.value : "'Lato', sans-serif", F = f.value ? f.value : "1.6em", M = !i.value || i.value < 0 ? 200 : i.value;
988
983
  return {
989
984
  disabled: a,
990
985
  display: n,
991
- buttonColor: Y,
986
+ buttonColor: X,
992
987
  borderColor: r,
993
- textColor: X,
994
- paddingX: z,
995
- paddingY: W,
988
+ textColor: R,
989
+ paddingX: W,
990
+ paddingY: I,
996
991
  borderRadius: c,
997
- font: I,
998
- fontSize: P,
999
- fontWeight: F
992
+ font: D,
993
+ fontSize: F,
994
+ fontWeight: M
1000
995
  };
1001
- }), v = t(() => u.value.disabled), $ = t(() => ({
996
+ }), v = t(() => u.value.disabled), H = t(() => ({
1002
997
  display: u.value.display
1003
998
  })), B = t(() => {
1004
999
  const a = u.value;
@@ -1014,34 +1009,34 @@ const Xe = (e) => (ce("data-v-91c3c32d"), e = e(), fe(), e), Re = ["id"], ze = /
1014
1009
  border: `1px solid ${a.borderColor}`,
1015
1010
  borderRadius: S.value
1016
1011
  };
1017
- }), S = t(() => `${u.value.borderRadius}rem`), o = t(() => u.value.font), H = t(() => u.value.textColor), d = t(() => u.value.buttonColor), l = () => {
1018
- s("clicked");
1012
+ }), S = t(() => `${u.value.borderRadius}rem`), o = t(() => u.value.font), k = t(() => u.value.textColor), d = t(() => u.value.buttonColor), l = () => {
1013
+ w("clicked");
1019
1014
  };
1020
- return (a, n) => e.nbId ? (D(), O("div", {
1015
+ return (a, n) => e.nbId ? (O(), L("div", {
1021
1016
  key: 0,
1022
- class: R(["nb-wrapper", v.value]),
1023
- style: N([$.value]),
1017
+ class: z(["nb-wrapper", v.value]),
1018
+ style: N([H.value]),
1024
1019
  onClick: l
1025
1020
  }, [
1026
- k("div", {
1021
+ Y("div", {
1027
1022
  id: e.nbId,
1028
- class: R(["nb-reset", "component"]),
1023
+ class: z(["nb-reset", "component"]),
1029
1024
  style: N([B.value])
1030
1025
  }, [
1031
- k("div", {
1026
+ Y("div", {
1032
1027
  class: "component-content",
1033
1028
  style: N([h.value])
1034
1029
  }, [
1035
- T(a.$slots, "content", {}, () => [
1036
- A("Default Text")
1030
+ A(a.$slots, "content", {}, () => [
1031
+ P("Default Text")
1037
1032
  ], !0)
1038
1033
  ], 4),
1039
- ze
1040
- ], 12, Re)
1041
- ], 6)) : L("", !0);
1034
+ We
1035
+ ], 12, ze)
1036
+ ], 6)) : T("", !0);
1042
1037
  }
1043
- }), Ie = /* @__PURE__ */ q(We, [["__scopeId", "data-v-91c3c32d"]]);
1044
- const De = ["id"], Oe = /* @__PURE__ */ Object.assign({
1038
+ }), De = /* @__PURE__ */ G(Ie, [["__scopeId", "data-v-e1da5764"]]);
1039
+ const Oe = ["id"], Le = /* @__PURE__ */ Object.assign({
1045
1040
  name: "NbButtonColorHover",
1046
1041
  inheritAttrs: !1
1047
1042
  }, {
@@ -1111,44 +1106,43 @@ const De = ["id"], Oe = /* @__PURE__ */ Object.assign({
1111
1106
  },
1112
1107
  emits: ["clicked"],
1113
1108
  setup(e, { emit: s }) {
1114
- const w = e;
1115
- M((n) => ({
1116
- "70b0363a": S.value,
1117
- "2d562374": d.value,
1118
- "360329a3": H.value,
1119
- "3c24be28": l.value,
1120
- "7f8991ce": o.value
1109
+ j((n) => ({
1110
+ "1c06a74c": S.value,
1111
+ "32a0706b": d.value,
1112
+ "5114b568": k.value,
1113
+ "4ae6f391": l.value,
1114
+ "0ed255d0": o.value
1121
1115
  }));
1122
- const {
1116
+ const w = s, $ = e, {
1123
1117
  display: V,
1124
- textColor: b,
1118
+ textColor: g,
1125
1119
  paddingX: m,
1126
- paddingY: p,
1127
- borderRadius: y,
1120
+ paddingY: b,
1121
+ borderRadius: p,
1128
1122
  disabled: _,
1129
- fontFamily: g,
1123
+ fontFamily: y,
1130
1124
  fontSize: x,
1131
1125
  fontWeight: C,
1132
1126
  textColorHover: f,
1133
1127
  buttonColor: i,
1134
1128
  buttonColorHover: u
1135
- } = j(w), v = t(() => {
1136
- const n = _.value ? "component-disabled" : "", Y = V.value !== "b" ? "inline-block" : "block", r = b ? b.value : "ffffff", X = !m.value || m.value < 0 ? 1 : m.value, z = !p.value || p.value < 0 ? 0.2 : p.value, W = !y.value || y.value < 0 ? 0 : y.value, c = g.value ? g.value : "'Lato', sans-serif", I = x.value ? x.value : "1.6rem", P = !C.value || C.value < 0 ? 100 : C.value, F = f.value ? f.value : "#cccccc", G = i.value ? i.value : "#bbbbbb", E = u.value ? u.value : "#959595";
1129
+ } = q($), v = t(() => {
1130
+ const n = _.value ? "component-disabled" : "", X = V.value !== "b" ? "inline-block" : "block", r = g ? g.value : "ffffff", R = !m.value || m.value < 0 ? 1 : m.value, W = !b.value || b.value < 0 ? 0.2 : b.value, I = !p.value || p.value < 0 ? 0 : p.value, c = y.value ? y.value : "'Lato', sans-serif", D = x.value ? x.value : "1.6rem", F = !C.value || C.value < 0 ? 100 : C.value, M = f.value ? f.value : "#cccccc", E = i.value ? i.value : "#bbbbbb", J = u.value ? u.value : "#959595";
1137
1131
  return {
1138
1132
  disabled: n,
1139
- display: Y,
1133
+ display: X,
1140
1134
  font: c,
1141
- fontSize: I,
1142
- fontWeight: P,
1135
+ fontSize: D,
1136
+ fontWeight: F,
1143
1137
  textColor: r,
1144
- paddingX: X,
1145
- paddingY: z,
1146
- borderRadius: W,
1147
- textColorHover: F,
1148
- buttonColor: G,
1149
- buttonColorHover: E
1138
+ paddingX: R,
1139
+ paddingY: W,
1140
+ borderRadius: I,
1141
+ textColorHover: M,
1142
+ buttonColor: E,
1143
+ buttonColorHover: J
1150
1144
  };
1151
- }), $ = t(() => v.value.disabled), B = t(() => {
1145
+ }), H = t(() => v.value.disabled), B = t(() => {
1152
1146
  const n = v.value;
1153
1147
  return {
1154
1148
  display: n.display,
@@ -1163,27 +1157,27 @@ const De = ["id"], Oe = /* @__PURE__ */ Object.assign({
1163
1157
  fontSize: n.fontSize,
1164
1158
  fontWeight: n.fontWeight
1165
1159
  };
1166
- }), S = t(() => v.value.font), o = t(() => v.value.textColor), H = t(() => v.value.textColorHover), d = t(() => v.value.buttonColor), l = t(() => v.value.buttonColorHover), a = () => {
1167
- s("clicked");
1160
+ }), S = t(() => v.value.font), o = t(() => v.value.textColor), k = t(() => v.value.textColorHover), d = t(() => v.value.buttonColor), l = t(() => v.value.buttonColorHover), a = () => {
1161
+ w("clicked");
1168
1162
  };
1169
- return (n, Y) => (D(), O("div", {
1170
- class: R(["nb-wrapper", $.value]),
1163
+ return (n, X) => (O(), L("div", {
1164
+ class: z(["nb-wrapper", H.value]),
1171
1165
  style: N([B.value]),
1172
1166
  onClick: a
1173
1167
  }, [
1174
- k("div", {
1168
+ Y("div", {
1175
1169
  id: e.nbId,
1176
1170
  class: "nb-reset component component-transition",
1177
1171
  style: N([h.value])
1178
1172
  }, [
1179
- T(n.$slots, "content", {}, () => [
1180
- A("Default Text")
1173
+ A(n.$slots, "content", {}, () => [
1174
+ P("Default Text")
1181
1175
  ], !0)
1182
- ], 12, De)
1176
+ ], 12, Oe)
1183
1177
  ], 6));
1184
1178
  }
1185
- }), Le = /* @__PURE__ */ q(Oe, [["__scopeId", "data-v-849fae4e"]]);
1186
- const Te = ["id"], Ae = { class: "first-child" }, Pe = { class: "last-child" }, Fe = /* @__PURE__ */ Object.assign({
1179
+ }), Te = /* @__PURE__ */ G(Le, [["__scopeId", "data-v-fe69344f"]]);
1180
+ const Ae = ["id"], Pe = { class: "first-child" }, Fe = { class: "last-child" }, Me = /* @__PURE__ */ Object.assign({
1187
1181
  name: "NbButtonAlternateText",
1188
1182
  inheritAttrs: !1
1189
1183
  }, {
@@ -1267,109 +1261,108 @@ const Te = ["id"], Ae = { class: "first-child" }, Pe = { class: "last-child" },
1267
1261
  },
1268
1262
  emits: ["clicked"],
1269
1263
  setup(e, { emit: s }) {
1270
- const w = e;
1271
- M((r) => ({
1272
- 70620026: d.value,
1273
- "2928e4ba": l.value,
1274
- "0fe93572": a.value,
1275
- "4dcaff7e": n.value
1264
+ j((r) => ({
1265
+ "42e9739f": d.value,
1266
+ "11568ad5": l.value,
1267
+ "03c8d755": a.value,
1268
+ b6290fa0: n.value
1276
1269
  }));
1277
- const {
1270
+ const w = s, $ = e, {
1278
1271
  display: V,
1279
- buttonColor: b,
1272
+ buttonColor: g,
1280
1273
  borderColor: m,
1281
- buttonHoverColor: p,
1282
- showBorder: y,
1274
+ buttonHoverColor: b,
1275
+ showBorder: p,
1283
1276
  borderRadius: _,
1284
- textColor: g,
1277
+ textColor: y,
1285
1278
  textHoverColor: x,
1286
1279
  width: C,
1287
1280
  paddingX: f,
1288
1281
  paddingY: i,
1289
1282
  disabled: u,
1290
1283
  fontFamily: v,
1291
- fontSize: $,
1284
+ fontSize: H,
1292
1285
  fontWeight: B
1293
- } = j(w), h = t(() => {
1294
- const r = u.value ? "component-disabled" : "", X = V.value !== "b" ? "inline-block" : "block", z = b.value ? b.value : "#ffffff", W = p.value ? p.value : "#000000", c = m.value ? m.value : "#ffe54c", I = !_.value || _.value < 0 ? 0 : _.value, P = [!1, !0].includes(y.value) ? y.value : !0, F = g.value ? g.value : "#ffffff", G = x.value ? x.value : "#000000", E = !C.value || C.value < 86 ? 86 : C.value, J = !f.value || f.value < 0 ? 1 : f.value, K = !i.value || i.value < 0 ? 0.4 : i.value, Q = v.value ? v.value : "'Lato', sans-serif", U = $.value ? $.value : "1.6em", Z = !B.value || B.value < 0 ? 200 : B.value;
1286
+ } = q($), h = t(() => {
1287
+ const r = u.value ? "component-disabled" : "", R = V.value !== "b" ? "inline-block" : "block", W = g.value ? g.value : "#ffffff", I = b.value ? b.value : "#000000", c = m.value ? m.value : "#ffe54c", D = !_.value || _.value < 0 ? 0 : _.value, F = [!1, !0].includes(p.value) ? p.value : !0, M = y.value ? y.value : "#ffffff", E = x.value ? x.value : "#000000", J = !C.value || C.value < 86 ? 86 : C.value, K = !f.value || f.value < 0 ? 1 : f.value, Q = !i.value || i.value < 0 ? 0.4 : i.value, U = v.value ? v.value : "'Lato', sans-serif", Z = H.value ? H.value : "1.6em", ee = !B.value || B.value < 0 ? 200 : B.value;
1295
1288
  return {
1296
1289
  disabled: r,
1297
- display: X,
1298
- buttonColor: z,
1299
- buttonHoverColor: W,
1290
+ display: R,
1291
+ buttonColor: W,
1292
+ buttonHoverColor: I,
1300
1293
  borderColor: c,
1301
- showBorder: P,
1302
- borderRadius: I,
1303
- textColor: F,
1304
- textHoverColor: G,
1305
- width: E,
1306
- paddingX: J,
1307
- paddingY: K,
1308
- font: Q,
1309
- fontSize: U,
1310
- fontWeight: Z
1294
+ showBorder: F,
1295
+ borderRadius: D,
1296
+ textColor: M,
1297
+ textHoverColor: E,
1298
+ width: J,
1299
+ paddingX: K,
1300
+ paddingY: Q,
1301
+ font: U,
1302
+ fontSize: Z,
1303
+ fontWeight: ee
1311
1304
  };
1312
1305
  }), S = t(() => h.value.disabled), o = t(() => ({
1313
1306
  display: h.value.display
1314
- })), H = t(() => {
1315
- const r = h.value, X = r.display === "block" ? "auto" : `${r.width}px`;
1307
+ })), k = t(() => {
1308
+ const r = h.value, R = r.display === "block" ? "auto" : `${r.width}px`;
1316
1309
  return {
1317
1310
  ...r.showBorder ? { border: `1px solid ${r.borderColor}` } : {},
1318
1311
  borderRadius: `${r.borderRadius}rem`,
1319
1312
  background: r.buttonColor,
1320
1313
  minWidth: "33px",
1321
- width: X,
1314
+ width: R,
1322
1315
  padding: `${r.paddingY}rem ${r.paddingX}rem`,
1323
1316
  lineHeight: "1.42857143",
1324
1317
  fontSize: r.fontSize,
1325
1318
  fontWeight: r.fontWeight
1326
1319
  };
1327
- }), d = t(() => h.value.font), l = t(() => h.value.textColor), a = t(() => h.value.textHoverColor), n = t(() => h.value.buttonHoverColor), Y = () => {
1328
- s("clicked");
1320
+ }), d = t(() => h.value.font), l = t(() => h.value.textColor), a = t(() => h.value.textHoverColor), n = t(() => h.value.buttonHoverColor), X = () => {
1321
+ w("clicked");
1329
1322
  };
1330
- return (r, X) => e.nbId ? (D(), O("div", {
1323
+ return (r, R) => e.nbId ? (O(), L("div", {
1331
1324
  key: 0,
1332
- class: R(["nb-wrapper", S.value]),
1325
+ class: z(["nb-wrapper", S.value]),
1333
1326
  style: N([o.value]),
1334
- onClick: Y
1327
+ onClick: X
1335
1328
  }, [
1336
- k("div", {
1329
+ Y("div", {
1337
1330
  id: e.nbId,
1338
- class: R(["nb-reset", "component"]),
1339
- style: N([H.value])
1331
+ class: z(["nb-reset", "component"]),
1332
+ style: N([k.value])
1340
1333
  }, [
1341
- k("div", Ae, [
1342
- T(r.$slots, "content", {}, () => [
1343
- A("Default Text")
1334
+ Y("div", Pe, [
1335
+ A(r.$slots, "content", {}, () => [
1336
+ P("Default Text")
1344
1337
  ], !0)
1345
1338
  ]),
1346
- k("div", Pe, [
1347
- T(r.$slots, "content", {}, () => [
1348
- A("Default Text")
1339
+ Y("div", Fe, [
1340
+ A(r.$slots, "content", {}, () => [
1341
+ P("Default Text")
1349
1342
  ], !0)
1350
1343
  ])
1351
- ], 12, Te)
1352
- ], 6)) : L("", !0);
1344
+ ], 12, Ae)
1345
+ ], 6)) : T("", !0);
1353
1346
  }
1354
- }), Me = /* @__PURE__ */ q(Fe, [["__scopeId", "data-v-fe71a891"]]), ee = {
1355
- NbButtonVavaGame: ye,
1356
- NbButtonShowHover: Ve,
1357
- NbButtonPrevNext: _e,
1358
- NbButtonMechanical: Ne,
1359
- NbButtonMechanical2: $e,
1360
- NbButtonHamburger: Ye,
1361
- NbButtonColorOutside: Ie,
1362
- NbButtonColorHover: Le,
1363
- NbButtonAlternateText: Me
1364
- }, qe = {
1347
+ }), je = /* @__PURE__ */ G(Me, [["__scopeId", "data-v-e5288afa"]]), te = {
1348
+ NbButtonVavaGame: ge,
1349
+ NbButtonShowHover: Ce,
1350
+ NbButtonPrevNext: xe,
1351
+ NbButtonMechanical: we,
1352
+ NbButtonMechanical2: He,
1353
+ NbButtonHamburger: Xe,
1354
+ NbButtonColorOutside: De,
1355
+ NbButtonColorHover: Te,
1356
+ NbButtonAlternateText: je
1357
+ }, Ge = {
1365
1358
  install(e) {
1366
- for (const s in ee)
1367
- if (Object.prototype.hasOwnProperty.call(ee, s)) {
1368
- const w = ee[s];
1359
+ for (const s in te)
1360
+ if (Object.prototype.hasOwnProperty.call(te, s)) {
1361
+ const w = te[s];
1369
1362
  e.component(w.name, w);
1370
1363
  }
1371
1364
  }
1372
1365
  };
1373
1366
  export {
1374
- qe as default
1367
+ Ge as default
1375
1368
  };