@vlalg-nimbus/nb-buttons 2.0.4 → 2.0.5

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 F, toRefs as M, computed as t, openBlock as T, createElementBlock as L, normalizeClass as X, normalizeStyle as w, createElementVNode as R, renderSlot as q, createTextVNode as G, createCommentVNode as A, unref as ae, withModifiers as de, toDisplayString as te, onMounted as se, ref as ie, watch as ce } from "vue";
1
+ import { useCssVars as F, toRefs as M, computed as t, openBlock as D, createElementBlock as O, normalizeClass as X, normalizeStyle as N, createElementVNode as R, renderSlot as T, createTextVNode as A, createCommentVNode as L, unref as te, withModifiers as re, onMounted as de, ref as se, watch as ie } from "vue";
2
2
  const j = (e, s) => {
3
- const B = e.__vccOpts || e;
4
- for (const [C, b] of s)
5
- B[C] = b;
6
- return B;
7
- }, fe = ["id"], ve = { class: "component-content__text" }, be = /* @__PURE__ */ Object.assign({
3
+ const w = e.__vccOpts || e;
4
+ for (const [V, b] of s)
5
+ w[V] = b;
6
+ return w;
7
+ }, ce = ["id"], fe = { class: "component-content__text" }, ve = /* @__PURE__ */ Object.assign({
8
8
  name: "NbButtonVavaGame",
9
9
  inheritAttrs: !1
10
10
  }, {
@@ -93,102 +93,102 @@ const j = (e, s) => {
93
93
  },
94
94
  emits: ["clicked"],
95
95
  setup(e, { emit: s }) {
96
- const B = e;
97
- F((u) => ({
98
- "4348b976": H.value,
99
- "1735afec": Y.value,
100
- "58e23cb0": z.value,
101
- "451672cd": d.value,
102
- "55b7ee16": n.value
96
+ const w = e;
97
+ F((c) => ({
98
+ "859731ae": n.value,
99
+ "101619df": Y.value,
100
+ "90f5dac6": z.value,
101
+ f0f7a800: k.value,
102
+ 33084168: u.value
103
103
  }));
104
104
  const {
105
- display: C,
105
+ display: V,
106
106
  textColor: b,
107
- textColorHover: x,
107
+ textColorHover: m,
108
108
  buttonColor: p,
109
109
  buttonColorHover: y,
110
- uppercase: v,
111
- paddingXContent: V,
112
- paddingYContent: g,
113
- paddingXBorder: N,
114
- paddingYBorder: i,
115
- borderColor: c,
116
- borderOpacity: m,
117
- disabled: l,
118
- fontFamily: S,
119
- fontSize: $,
120
- fontWeight: h
121
- } = M(B), _ = t(() => {
122
- const u = l.value ? "component-disabled" : "", I = C.value !== "b" ? "inline-block" : "block", D = b.value ? b.value : "#ece8e1", O = p.value ? p.value : "green", P = x.value ? x.value : "#ece8e1", E = y.value ? y.value : "cyan", J = c.value ? c.value : "#ffffff", K = !m.value || !(m.value >= 0 && m.value <= 1) ? "0.5" : m.value, Q = !N.value || N.value < 0 ? 0.3 : N.value, U = !i.value || i.value < 0 ? 0.3 : i.value, Z = !V.value || V.value < 0 ? 0.5 : V.value, oe = !g.value || g.value < 0 ? 0.5 : g.value, le = v.value ? "uppercase" : "none", ne = S.value ? S.value : "'Lato', sans-serif", ue = $.value ? $.value : "1.6em", re = !h.value || h.value < 0 ? 100 : h.value;
110
+ uppercase: S,
111
+ paddingXContent: g,
112
+ paddingYContent: h,
113
+ paddingXBorder: C,
114
+ paddingYBorder: f,
115
+ borderColor: i,
116
+ borderOpacity: r,
117
+ disabled: v,
118
+ fontFamily: $,
119
+ fontSize: B,
120
+ fontWeight: x
121
+ } = M(w), _ = t(() => {
122
+ const c = v.value ? "component-disabled" : "", I = V.value !== "b" ? "inline-block" : "block", P = b.value ? b.value : "#ece8e1", q = p.value ? p.value : "green", G = m.value ? m.value : "#ece8e1", E = y.value ? y.value : "cyan", J = i.value ? i.value : "#ffffff", K = !r.value || !(r.value >= 0 && r.value <= 1) ? "0.5" : r.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 = !h.value || h.value < 0 ? 0.5 : h.value, oe = S.value ? "uppercase" : "none", le = $.value ? $.value : "'Lato', sans-serif", ne = B.value ? B.value : "1.6em", ue = !x.value || x.value < 0 ? 100 : x.value;
123
123
  return {
124
- disabled: u,
124
+ disabled: c,
125
125
  display: I,
126
- textColor: D,
127
- buttonColor: O,
128
- textColorHover: P,
126
+ textColor: P,
127
+ buttonColor: q,
128
+ textColorHover: G,
129
129
  buttonColorHover: E,
130
130
  borderColor: J,
131
131
  borderOpacity: K,
132
132
  paddingXBorder: Q,
133
133
  paddingYBorder: U,
134
134
  paddingXContent: Z,
135
- paddingYContent: oe,
136
- uppercase: le,
137
- font: ne,
138
- fontSize: ue,
139
- fontWeight: re
135
+ paddingYContent: ae,
136
+ uppercase: oe,
137
+ font: le,
138
+ fontSize: ne,
139
+ fontWeight: ue
140
140
  };
141
- }), f = t(() => _.value.disabled), r = t(() => ({
141
+ }), o = t(() => _.value.disabled), H = t(() => ({
142
142
  display: _.value.display
143
- })), k = t(() => {
144
- const u = _.value;
143
+ })), d = t(() => {
144
+ const c = _.value;
145
145
  return {
146
- padding: `${u.paddingYBorder}rem ${u.paddingXBorder}rem`,
147
- fontSize: u.fontSize,
148
- fontWeight: u.fontWeight
146
+ padding: `${c.paddingYBorder}rem ${c.paddingXBorder}rem`,
147
+ fontSize: c.fontSize,
148
+ fontWeight: c.fontWeight
149
149
  };
150
150
  }), a = t(() => {
151
- const u = _.value;
151
+ const c = _.value;
152
152
  return {
153
- textTransform: u.uppercase,
154
- padding: `${u.paddingYContent}rem ${u.paddingXContent}rem`,
155
- backgroundColor: u.buttonColor
153
+ textTransform: c.uppercase,
154
+ padding: `${c.paddingYContent}rem ${c.paddingXContent}rem`,
155
+ backgroundColor: c.buttonColor
156
156
  };
157
- }), o = t(() => ({
157
+ }), l = t(() => ({
158
158
  backgroundColor: _.value.buttonColorHover
159
- })), H = t(() => _.value.font), d = t(() => _.value.borderColor), n = t(() => _.value.borderOpacity), Y = t(() => _.value.textColor), z = t(() => _.value.textColorHover), W = () => {
159
+ })), n = t(() => _.value.font), k = t(() => _.value.borderColor), u = t(() => _.value.borderOpacity), Y = t(() => _.value.textColor), z = t(() => _.value.textColorHover), W = () => {
160
160
  s("clicked");
161
161
  };
162
- return (u, I) => e.nbId ? (T(), L("div", {
162
+ return (c, I) => e.nbId ? (D(), O("div", {
163
163
  key: 0,
164
- class: X(["nb-wrapper", f.value]),
165
- style: w([r.value]),
164
+ class: X(["nb-wrapper", o.value]),
165
+ style: N([H.value]),
166
166
  onClick: W
167
167
  }, [
168
168
  R("div", {
169
169
  id: e.nbId,
170
170
  class: X(["nb-reset", "component"]),
171
- style: w([k.value])
171
+ style: N([d.value])
172
172
  }, [
173
173
  R("div", {
174
174
  class: "component-content",
175
- style: w([a.value])
175
+ style: N([a.value])
176
176
  }, [
177
- R("span", ve, [
178
- q(u.$slots, "text", {}, () => [
179
- G("Default Text")
177
+ R("span", fe, [
178
+ T(c.$slots, "content", {}, () => [
179
+ A("Default Text")
180
180
  ], !0)
181
181
  ]),
182
182
  R("span", {
183
183
  class: "component-content__mask",
184
- style: w([o.value])
184
+ style: N([l.value])
185
185
  }, null, 4)
186
186
  ], 4)
187
- ], 12, fe)
188
- ], 6)) : A("", !0);
187
+ ], 12, ce)
188
+ ], 6)) : L("", !0);
189
189
  }
190
- }), pe = /* @__PURE__ */ j(be, [["__scopeId", "data-v-09b2bb91"]]);
191
- const ye = ["id"], ge = /* @__PURE__ */ Object.assign({
190
+ }), be = /* @__PURE__ */ j(ve, [["__scopeId", "data-v-4cddc525"]]);
191
+ const pe = ["id"], ye = /* @__PURE__ */ Object.assign({
192
192
  name: "NbButtonShowHover",
193
193
  inheritAttrs: !1
194
194
  }, {
@@ -198,10 +198,6 @@ const ye = ["id"], ge = /* @__PURE__ */ Object.assign({
198
198
  type: String,
199
199
  required: !0
200
200
  },
201
- text: {
202
- type: String,
203
- default: "Default Text"
204
- },
205
201
  textColor: {
206
202
  type: String,
207
203
  default: "#145deb"
@@ -259,80 +255,82 @@ const ye = ["id"], ge = /* @__PURE__ */ Object.assign({
259
255
  },
260
256
  emits: ["clicked"],
261
257
  setup(e, { emit: s }) {
262
- const B = e;
263
- F((a) => ({
264
- e35bf122: r.value,
265
- "122f086c": _.value,
266
- "590fef9e": f.value,
267
- "383cafc6": e.textColorHover,
268
- 66192716: ae(b)
258
+ const w = e;
259
+ F((d) => ({
260
+ "4b8ff329": o.value,
261
+ "456d13a6": x.value,
262
+ 55665737: _.value,
263
+ "6b7abb00": e.textColorHover,
264
+ b18900c8: te(V)
269
265
  }));
270
266
  const {
271
- text: C,
272
- textColor: b,
273
- buttonColorHover: x,
274
- buttonColorOpacityHover: p,
275
- paddingX: y,
276
- paddingY: v,
277
- disabled: V,
267
+ textColor: V,
268
+ buttonColorHover: b,
269
+ buttonColorOpacityHover: m,
270
+ paddingX: p,
271
+ paddingY: y,
272
+ disabled: S,
278
273
  borderRadius: g,
279
- verticalAlign: N,
280
- fontFamily: i,
281
- fontSize: c,
282
- fontWeight: m
283
- } = M(B), l = t(() => {
284
- const a = C.value ? C.value : "Default Text", o = V.value ? "component-disabled" : "", H = N.value ? N.value : "middle", d = b ? b.value : "ffffff", n = !y.value || y.value < 0 ? 1 : y.value, Y = !v.value || v.value < 0 ? 0.2 : v.value, z = !g.value || g.value < 0 ? 0 : g.value, W = x.value ? x.value : "10, 38, 184", u = !p.value || p.value < 0 ? 0.1 : p.value, I = i.value ? i.value : "'Lato', sans-serif", D = c.value ? c.value : "1.6rem", O = !m.value || m.value < 0 ? 100 : m.value;
274
+ verticalAlign: h,
275
+ fontFamily: C,
276
+ fontSize: f,
277
+ fontWeight: i
278
+ } = M(w), r = t(() => {
279
+ const d = S.value ? "component-disabled" : "", a = h.value ? h.value : "middle", l = V ? V.value : "ffffff", n = !p.value || p.value < 0 ? 1 : p.value, k = !y.value || y.value < 0 ? 0.2 : y.value, u = !g.value || g.value < 0 ? 0 : g.value, Y = 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;
285
280
  return {
286
- disabled: o,
287
- borderRadius: z,
288
- textColor: d,
281
+ disabled: d,
282
+ borderRadius: u,
283
+ textColor: l,
289
284
  paddingX: n,
290
- paddingY: Y,
291
- buttonColorHover: W,
292
- buttonColorOpacityHover: u,
293
- font: I,
294
- fontSize: D,
295
- fontWeight: O,
296
- text: a,
297
- verticalAlign: H
285
+ paddingY: k,
286
+ buttonColorHover: Y,
287
+ buttonColorOpacityHover: z,
288
+ font: W,
289
+ fontSize: c,
290
+ fontWeight: I,
291
+ verticalAlign: a
298
292
  };
299
- }), S = t(() => l.value.disabled), $ = t(() => ({
300
- verticalAlign: l.value.verticalAlign
301
- })), h = t(() => {
302
- const a = l.value;
293
+ }), v = t(() => r.value.disabled), $ = t(() => ({
294
+ verticalAlign: r.value.verticalAlign
295
+ })), B = t(() => {
296
+ const d = r.value;
303
297
  return {
304
- color: a.textColor,
305
- padding: `${a.paddingY}rem 0`,
306
- borderRadius: `${a.borderRadius}rem`,
307
- fontSize: a.fontSize,
308
- fontWeight: a.fontWeight
298
+ color: d.textColor,
299
+ padding: `${d.paddingY}rem 0`,
300
+ borderRadius: `${d.borderRadius}rem`,
301
+ fontSize: d.fontSize,
302
+ fontWeight: d.fontWeight
309
303
  };
304
+ }), x = t(() => {
305
+ const d = r.value;
306
+ return `${d.paddingY}rem ${d.paddingX}rem`;
310
307
  }), _ = t(() => {
311
- const a = l.value;
312
- return `${a.paddingY}rem ${a.paddingX}rem`;
313
- }), f = t(() => {
314
- const a = l.value;
315
- return `rgba(${a.buttonColorHover}, ${a.buttonColorOpacityHover})`;
316
- }), r = t(() => l.value.font), k = () => {
308
+ const d = r.value;
309
+ return `rgba(${d.buttonColorHover}, ${d.buttonColorOpacityHover})`;
310
+ }), o = t(() => r.value.font), H = () => {
317
311
  s("clicked");
318
312
  };
319
- return (a, o) => e.nbId ? (T(), L("div", {
313
+ return (d, a) => e.nbId ? (D(), O("div", {
320
314
  key: 0,
321
- class: X(["nb-wrapper", S.value]),
322
- style: w([$.value]),
323
- onClick: k
315
+ class: X(["nb-wrapper", v.value]),
316
+ style: N([$.value]),
317
+ onClick: H
324
318
  }, [
325
319
  R("a", {
326
320
  id: e.nbId,
327
321
  class: "nb-reset component tertiary",
328
- style: w([h.value]),
329
- onClick: o[0] || (o[0] = de(() => {
322
+ style: N([B.value]),
323
+ onClick: a[0] || (a[0] = re(() => {
330
324
  }, ["prevent"]))
331
- }, te(l.value.text), 13, ye)
332
- ], 6)) : A("", !0);
325
+ }, [
326
+ T(d.$slots, "content", {}, () => [
327
+ A("Default Text")
328
+ ], !0)
329
+ ], 12, pe)
330
+ ], 6)) : L("", !0);
333
331
  }
334
- }), me = /* @__PURE__ */ j(ge, [["__scopeId", "data-v-7f17ac3f"]]);
335
- const Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
332
+ }), ge = /* @__PURE__ */ j(ye, [["__scopeId", "data-v-35424129"]]);
333
+ const me = ["id"], Ve = /* @__PURE__ */ Object.assign({
336
334
  name: "NbButtonPrevNext",
337
335
  inheritAttrs: !1
338
336
  }, {
@@ -420,98 +418,98 @@ const Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
420
418
  },
421
419
  emits: ["clicked"],
422
420
  setup(e, { emit: s }) {
423
- const B = e;
421
+ const w = e;
424
422
  F((a) => ({
425
- "2446b547": r.value,
423
+ "2446b547": H.value,
426
424
  a50bbbd2: e.colorPrimary,
427
425
  "0f9f603e": e.textColor,
428
426
  "748cd449": e.colorSecondary,
429
427
  "1af3ef9e": e.textColorHover
430
428
  }));
431
429
  const {
432
- paddingX: C,
430
+ paddingX: V,
433
431
  paddingY: b,
434
- marginBetween: x,
432
+ marginBetween: m,
435
433
  borderRadius: p,
436
434
  disabled: y,
437
- disabledPreview: v,
438
- disabledNext: V,
439
- fontFamily: g,
440
- fontSize: N,
441
- fontWeight: i
442
- } = M(B), c = t(() => {
443
- const a = y.value ? "component-disabled" : "", o = v.value ? "component-disabled" : "", H = V.value ? "component-disabled" : "", d = !x.value || x.value < 0 ? 0 : x.value, n = !p.value || p.value < 0 ? 0 : p.value, Y = !C.value || C.value < 0 ? 1 : C.value, z = !b.value || b.value < 0 ? 10 : b.value, W = N.value ? N.value : "1.6em", u = !i.value || i.value < 0 ? 100 : i.value;
435
+ disabledPreview: S,
436
+ disabledNext: g,
437
+ fontFamily: h,
438
+ fontSize: C,
439
+ fontWeight: f
440
+ } = M(w), i = t(() => {
441
+ const a = y.value ? "component-disabled" : "", l = S.value ? "component-disabled" : "", n = g.value ? "component-disabled" : "", k = !m.value || m.value < 0 ? 0 : m.value, u = !p.value || p.value < 0 ? 0 : p.value, Y = !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;
444
442
  return {
445
443
  disabled: a,
446
- disabledPreview: o,
447
- disabledNext: H,
448
- marginBetween: `${d}px`,
449
- borderRadius: `${n}px`,
444
+ disabledPreview: l,
445
+ disabledNext: n,
446
+ marginBetween: `${k}px`,
447
+ borderRadius: `${u}px`,
450
448
  paddingX: `${Y}px`,
451
449
  paddingY: `${z}px`,
452
450
  fontSize: W,
453
- fontWeight: u
451
+ fontWeight: c
454
452
  };
455
- }), m = t(() => c.value.disabled), l = t(() => c.value.disabledPreview), S = t(() => c.value.disabledNext), $ = t(() => ({
456
- display: c.value.display
457
- })), h = t(() => {
458
- const a = c.value;
453
+ }), r = t(() => i.value.disabled), v = t(() => i.value.disabledPreview), $ = t(() => i.value.disabledNext), B = t(() => ({
454
+ display: i.value.display
455
+ })), x = t(() => {
456
+ const a = i.value;
459
457
  return {
460
458
  fontSize: a.fontSize,
461
459
  fontWeight: a.fontWeight
462
460
  };
463
461
  }), _ = t(() => {
464
- const a = c.value;
462
+ const a = i.value;
465
463
  return {
466
464
  borderRadius: `${a.borderRadius} 0px 0px ${a.borderRadius}`,
467
465
  marginRight: a.marginBetween,
468
466
  padding: `${a.paddingX} ${a.paddingY}`
469
467
  };
470
- }), f = t(() => {
471
- const a = c.value;
468
+ }), o = t(() => {
469
+ const a = i.value;
472
470
  return {
473
471
  borderRadius: `0px ${a.borderRadius} ${a.borderRadius} 0px`,
474
472
  marginLeft: a.marginBetween,
475
473
  padding: `${a.paddingX} ${a.paddingY}`
476
474
  };
477
- }), r = t(() => `'${g.value ? g.value : "'Lato', sans-serif"}'`), k = (a) => {
475
+ }), H = t(() => `'${h.value ? h.value : "'Lato', sans-serif"}'`), d = (a) => {
478
476
  s("clicked", a);
479
477
  };
480
- return (a, o) => e.nbId ? (T(), L("div", {
478
+ return (a, l) => e.nbId ? (D(), O("div", {
481
479
  key: 0,
482
- class: X(["nb-wrapper", m.value]),
483
- style: w([$.value])
480
+ class: X(["nb-wrapper", r.value]),
481
+ style: N([B.value])
484
482
  }, [
485
483
  R("div", {
486
484
  id: e.nbId,
487
485
  class: X(["nb-reset", "component"]),
488
- style: w(h.value)
486
+ style: N(x.value)
489
487
  }, [
490
- e.showPreview ? (T(), L("div", {
488
+ e.showPreview ? (D(), O("div", {
491
489
  key: 0,
492
- onClick: o[0] || (o[0] = (H) => k("preview")),
493
- class: X(["buttonNextPreview buttonPreview", l.value]),
494
- style: w(_.value)
490
+ onClick: l[0] || (l[0] = (n) => d("preview")),
491
+ class: X(["buttonNextPreview buttonPreview", v.value]),
492
+ style: N(_.value)
495
493
  }, [
496
- q(a.$slots, "prev", {}, () => [
497
- G("← Preview")
494
+ T(a.$slots, "prev", {}, () => [
495
+ A("← Preview")
498
496
  ], !0)
499
- ], 6)) : A("", !0),
500
- e.showNext ? (T(), L("div", {
497
+ ], 6)) : L("", !0),
498
+ e.showNext ? (D(), O("div", {
501
499
  key: 1,
502
- onClick: o[1] || (o[1] = (H) => k("next")),
503
- class: X(["buttonNextPreview buttonNext", S.value]),
504
- style: w(f.value)
500
+ onClick: l[1] || (l[1] = (n) => d("next")),
501
+ class: X(["buttonNextPreview buttonNext", $.value]),
502
+ style: N(o.value)
505
503
  }, [
506
- q(a.$slots, "next", {}, () => [
507
- G("Next →")
504
+ T(a.$slots, "next", {}, () => [
505
+ A("Next →")
508
506
  ], !0)
509
- ], 6)) : A("", !0)
510
- ], 12, Ve)
511
- ], 6)) : A("", !0);
507
+ ], 6)) : L("", !0)
508
+ ], 12, me)
509
+ ], 6)) : L("", !0);
512
510
  }
513
- }), xe = /* @__PURE__ */ j(Ce, [["__scopeId", "data-v-f26b5a64"]]);
514
- const Se = ["id"], _e = /* @__PURE__ */ Object.assign({
511
+ }), Ce = /* @__PURE__ */ j(Ve, [["__scopeId", "data-v-f26b5a64"]]);
512
+ const Se = ["id"], xe = /* @__PURE__ */ Object.assign({
515
513
  name: "NbButtonMechanical",
516
514
  inheritAttrs: !1
517
515
  }, {
@@ -581,77 +579,77 @@ const Se = ["id"], _e = /* @__PURE__ */ Object.assign({
581
579
  },
582
580
  emits: ["clicked"],
583
581
  setup(e, { emit: s }) {
584
- const B = e;
585
- F((o) => ({
586
- "196eb3ca": f.value,
587
- "5a845ff6": ae(b),
588
- "44f25ea8": k.value,
589
- "3eb45b5e": r.value
582
+ const w = e;
583
+ F((l) => ({
584
+ "196eb3ca": o.value,
585
+ "5a845ff6": te(b),
586
+ "44f25ea8": d.value,
587
+ "3eb45b5e": H.value
590
588
  }));
591
589
  const {
592
- display: C,
590
+ display: V,
593
591
  buttonColor: b,
594
- textColor: x,
592
+ textColor: m,
595
593
  containerColor: p,
596
594
  paddingX: y,
597
- paddingY: v,
598
- borderRadius: V,
599
- disabled: g,
600
- animationSlow: N,
601
- fontFamily: i,
602
- fontSize: c,
603
- fontWeight: m
604
- } = M(B), l = t(() => {
605
- const o = g.value ? "component-disabled" : "", H = C.value !== "b" ? "inline-block" : "block", d = p.value ? p.value : "#ffffff", n = b.value ? b.value : "#bbbbbb", Y = x.value ? x.value : "#ffffff", z = !y.value || y.value < 0 ? 1 : y.value, W = !v.value || v.value < 0 ? 0.2 : v.value, u = !V.value || V.value < 0 ? 0 : V.value, I = N.value ? "" : "component-transition__no-slow", D = i.value ? i.value : "'Lato', sans-serif", O = c.value ? c.value : "1.6em", P = !m.value || m.value < 0 ? 100 : m.value;
595
+ paddingY: S,
596
+ borderRadius: g,
597
+ disabled: h,
598
+ animationSlow: C,
599
+ fontFamily: f,
600
+ fontSize: i,
601
+ fontWeight: r
602
+ } = M(w), v = t(() => {
603
+ const l = h.value ? "component-disabled" : "", n = V.value !== "b" ? "inline-block" : "block", k = p.value ? p.value : "#ffffff", u = b.value ? b.value : "#bbbbbb", Y = m.value ? m.value : "#ffffff", z = !y.value || y.value < 0 ? 1 : y.value, W = !S.value || S.value < 0 ? 0.2 : S.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", q = i.value ? i.value : "1.6em", G = !r.value || r.value < 0 ? 100 : r.value;
606
604
  return {
607
- disabled: o,
608
- display: H,
609
- containerColor: d,
610
- buttonColor: n,
605
+ disabled: l,
606
+ display: n,
607
+ containerColor: k,
608
+ buttonColor: u,
611
609
  textColor: Y,
612
610
  paddingX: z,
613
611
  paddingY: W,
614
- borderRadius: u,
612
+ borderRadius: c,
615
613
  animationSlow: I,
616
- font: D,
617
- fontSize: O,
618
- fontWeight: P
614
+ font: P,
615
+ fontSize: q,
616
+ fontWeight: G
619
617
  };
620
- }), S = t(() => l.value.disabled), $ = t(() => ({
621
- display: l.value.display
622
- })), h = t(() => {
623
- const o = l.value;
618
+ }), $ = t(() => v.value.disabled), B = t(() => ({
619
+ display: v.value.display
620
+ })), x = t(() => {
621
+ const l = v.value;
624
622
  return {
625
- border: `2px solid ${o.containerColor}`,
626
- color: o.textColor,
627
- backgroundColor: o.buttonColor,
628
- padding: `${o.paddingY}rem ${o.paddingX}rem`,
629
- borderRadius: `${o.borderRadius}rem`,
630
- fontSize: o.fontSize,
631
- fontWeight: o.fontWeight
623
+ border: `2px solid ${l.containerColor}`,
624
+ color: l.textColor,
625
+ backgroundColor: l.buttonColor,
626
+ padding: `${l.paddingY}rem ${l.paddingX}rem`,
627
+ borderRadius: `${l.borderRadius}rem`,
628
+ fontSize: l.fontSize,
629
+ fontWeight: l.fontWeight
632
630
  };
633
- }), _ = t(() => l.value.animationSlow), f = t(() => l.value.font), r = t(() => l.value.textColor), k = t(() => l.value.buttonColor), a = () => {
631
+ }), _ = t(() => v.value.animationSlow), o = t(() => v.value.font), H = t(() => v.value.textColor), d = t(() => v.value.buttonColor), a = () => {
634
632
  s("clicked");
635
633
  };
636
- return (o, H) => e.nbId ? (T(), L("div", {
634
+ return (l, n) => e.nbId ? (D(), O("div", {
637
635
  key: 0,
638
- class: X(["nb-wrapper", S.value]),
639
- style: w([$.value]),
636
+ class: X(["nb-wrapper", $.value]),
637
+ style: N([B.value]),
640
638
  onClick: a
641
639
  }, [
642
640
  R("div", {
643
641
  id: e.nbId,
644
642
  class: X(["nb-reset", "component", "component-transition", _.value]),
645
- style: w([h.value])
643
+ style: N([x.value])
646
644
  }, [
647
- q(o.$slots, "content", {}, () => [
648
- G("Default Text")
645
+ T(l.$slots, "content", {}, () => [
646
+ A("Default Text")
649
647
  ], !0)
650
648
  ], 14, Se)
651
- ], 6)) : A("", !0);
649
+ ], 6)) : L("", !0);
652
650
  }
653
- }), he = /* @__PURE__ */ j(_e, [["__scopeId", "data-v-11d6e180"]]);
654
- const Ne = ["id"], we = /* @__PURE__ */ Object.assign({
651
+ }), _e = /* @__PURE__ */ j(xe, [["__scopeId", "data-v-11d6e180"]]);
652
+ const he = ["id"], Ne = /* @__PURE__ */ Object.assign({
655
653
  name: "NbButtonMechanical2",
656
654
  inheritAttrs: !1
657
655
  }, {
@@ -717,74 +715,73 @@ const Ne = ["id"], we = /* @__PURE__ */ Object.assign({
717
715
  },
718
716
  emits: ["clicked"],
719
717
  setup(e, { emit: s }) {
720
- const B = e;
721
- F((r) => ({
722
- a193a08a: _.value
718
+ const w = e;
719
+ F((o) => ({
720
+ "143d0975": x.value
723
721
  }));
724
722
  const {
725
- text: C,
726
- display: b,
727
- buttonColor: x,
728
- textColor: p,
729
- paddingX: y,
730
- paddingY: v,
731
- borderRadius: V,
723
+ display: V,
724
+ buttonColor: b,
725
+ textColor: m,
726
+ paddingX: p,
727
+ paddingY: y,
728
+ borderRadius: S,
732
729
  shadowColor: g,
733
- disabled: N,
734
- fontFamily: i,
735
- fontSize: c,
736
- fontWeight: m
737
- } = M(B), l = t(() => {
738
- const r = N.value ? "component-disabled" : "", k = b.value !== "b" ? "inline-block" : "block", a = x.value ? x.value : "#bbbbbb", o = g.value ? g.value : "#002f3c", H = p.value ? p.value : "#ffffff", d = !y.value || y.value < 0 ? 1 : y.value, n = !v.value || v.value < 0 ? 1 : v.value, Y = !V.value || V.value < 0 ? 0 : V.value, z = i.value ? i.value : "'Lato', sans-serif", W = c.value ? c.value : "1.6em", u = !m.value || m.value < 0 ? 100 : m.value;
730
+ disabled: h,
731
+ fontFamily: C,
732
+ fontSize: f,
733
+ fontWeight: i
734
+ } = M(w), r = t(() => {
735
+ const o = h.value ? "component-disabled" : "", H = V.value !== "b" ? "inline-block" : "block", d = b.value ? b.value : "#bbbbbb", a = g.value ? g.value : "#002f3c", l = m.value ? m.value : "#ffffff", n = !p.value || p.value < 0 ? 1 : p.value, k = !y.value || y.value < 0 ? 1 : y.value, u = !S.value || S.value < 0 ? 0 : S.value, Y = C.value ? C.value : "'Lato', sans-serif", z = f.value ? f.value : "1.6em", W = !i.value || i.value < 0 ? 100 : i.value;
739
736
  return {
740
- disabled: r,
741
- display: k,
742
- buttonColor: a,
743
- shadowColor: o,
744
- textColor: H,
745
- paddingX: d,
746
- paddingY: n,
747
- borderRadius: Y,
748
- font: z,
749
- fontSize: W,
750
- fontWeight: u
737
+ disabled: o,
738
+ display: H,
739
+ buttonColor: d,
740
+ shadowColor: a,
741
+ textColor: l,
742
+ paddingX: n,
743
+ paddingY: k,
744
+ borderRadius: u,
745
+ font: Y,
746
+ fontSize: z,
747
+ fontWeight: W
751
748
  };
752
- }), S = t(() => l.value.disabled), $ = t(() => ({
753
- display: l.value.display
754
- })), h = t(() => {
755
- const r = l.value;
749
+ }), v = t(() => r.value.disabled), $ = t(() => ({
750
+ display: r.value.display
751
+ })), B = t(() => {
752
+ const o = r.value;
756
753
  return {
757
- color: r.textColor,
758
- backgroundColor: r.buttonColor,
759
- boxShadow: `0 0 #0000, 0 0 #0000, 3px 3px 0 ${r.shadowColor}`,
760
- padding: `${r.paddingY}rem ${r.paddingX}rem`,
761
- padding: `${r.paddingY}rem ${r.paddingX}rem`,
762
- borderRadius: `${r.borderRadius}rem`,
763
- fontSize: r.fontSize,
764
- fontWeight: r.fontWeight
754
+ color: o.textColor,
755
+ backgroundColor: o.buttonColor,
756
+ boxShadow: `0 0 #0000, 0 0 #0000, 3px 3px 0 ${o.shadowColor}`,
757
+ padding: `${o.paddingY}rem ${o.paddingX}rem`,
758
+ padding: `${o.paddingY}rem ${o.paddingX}rem`,
759
+ borderRadius: `${o.borderRadius}rem`,
760
+ fontSize: o.fontSize,
761
+ fontWeight: o.fontWeight
765
762
  };
766
- }), _ = t(() => l.value.font), f = () => {
763
+ }), x = t(() => r.value.font), _ = () => {
767
764
  s("clicked");
768
765
  };
769
- return (r, k) => e.nbId ? (T(), L("div", {
766
+ return (o, H) => e.nbId ? (D(), O("div", {
770
767
  key: 0,
771
- class: X(["nb-wrapper", S.value]),
772
- style: w([$.value]),
773
- onClick: f
768
+ class: X(["nb-wrapper", v.value]),
769
+ style: N([$.value]),
770
+ onClick: _
774
771
  }, [
775
772
  R("div", {
776
773
  id: e.nbId,
777
774
  class: X(["nb-reset", "component", "component-transition"]),
778
- style: w([h.value])
775
+ style: N([B.value])
779
776
  }, [
780
- q(r.$slots, "content", {}, () => [
781
- G("Default Text")
777
+ T(o.$slots, "content", {}, () => [
778
+ A("Default Text")
782
779
  ], !0)
783
- ], 12, Ne)
784
- ], 6)) : A("", !0);
780
+ ], 12, he)
781
+ ], 6)) : L("", !0);
785
782
  }
786
- }), Be = /* @__PURE__ */ j(we, [["__scopeId", "data-v-fec2a51e"]]);
787
- const He = ["id"], $e = /* @__PURE__ */ Object.assign({
783
+ }), we = /* @__PURE__ */ j(Ne, [["__scopeId", "data-v-f22590f0"]]);
784
+ const Be = ["id"], $e = /* @__PURE__ */ Object.assign({
788
785
  name: "NbButtonHamburger",
789
786
  inheritAttrs: !1
790
787
  }, {
@@ -833,75 +830,75 @@ const He = ["id"], $e = /* @__PURE__ */ Object.assign({
833
830
  },
834
831
  emits: ["clicked"],
835
832
  setup(e, { emit: s }) {
836
- const B = e;
837
- F((f) => ({
838
- "4f0c7280": $.value,
839
- "86dec5da": h.value
840
- })), se(() => {
841
- C.value = b.value;
833
+ const w = e;
834
+ F((o) => ({
835
+ "4f0c7280": B.value,
836
+ "86dec5da": x.value
837
+ })), de(() => {
838
+ V.value = b.value;
842
839
  });
843
- const C = ie(!1), {
840
+ const V = se(!1), {
844
841
  status: b,
845
- color: x,
842
+ color: m,
846
843
  containerColor: p,
847
844
  containerColorHover: y,
848
- colorHover: v,
849
- paddingX: V,
850
- paddingY: g,
851
- disabled: N
852
- } = M(B), i = t(() => {
853
- const f = N.value ? "component-disabled" : "", r = C.value ? "change" : "", k = p.value ? p.value : "#333333", a = x.value ? x.value : "#ffffff", o = !V.value || V.value < 0 ? 3 : V.value, H = !g.value || g.value < 0 ? 3 : g.value, d = y.value ? y.value : "yellow", n = v.value ? v.value : "red";
845
+ colorHover: S,
846
+ paddingX: g,
847
+ paddingY: h,
848
+ disabled: C
849
+ } = M(w), f = t(() => {
850
+ const o = C.value ? "component-disabled" : "", H = V.value ? "change" : "", d = p.value ? p.value : "#333333", a = m.value ? m.value : "#ffffff", l = !g.value || g.value < 0 ? 3 : g.value, n = !h.value || h.value < 0 ? 3 : h.value, k = y.value ? y.value : "yellow", u = S.value ? S.value : "red";
854
851
  return {
855
- disabled: f,
856
- buttonStatus: r,
857
- containerColor: k,
858
- paddingX: o,
859
- paddingY: H,
852
+ disabled: o,
853
+ buttonStatus: H,
854
+ containerColor: d,
855
+ paddingX: l,
856
+ paddingY: n,
860
857
  color: a,
861
- containerColorHover: d,
862
- colorHover: n
858
+ containerColorHover: k,
859
+ colorHover: u
863
860
  };
864
- }), c = t(() => i.value.disabled), m = t(() => {
865
- const f = i.value;
861
+ }), i = t(() => f.value.disabled), r = t(() => {
862
+ const o = f.value;
866
863
  return {
867
- padding: `${f.paddingY}px ${f.paddingX}px`,
868
- backgroundColor: f.containerColor
864
+ padding: `${o.paddingY}px ${o.paddingX}px`,
865
+ backgroundColor: o.containerColor
869
866
  };
870
- }), l = t(() => ({
871
- backgroundColor: i.value.color
872
- })), S = t(() => i.value.buttonStatus), $ = t(() => i.value.containerColorHover), h = t(() => i.value.colorHover), _ = () => {
873
- const f = !C.value;
874
- C.value = f, s("clicked", f);
867
+ }), v = t(() => ({
868
+ backgroundColor: f.value.color
869
+ })), $ = t(() => f.value.buttonStatus), B = t(() => f.value.containerColorHover), x = t(() => f.value.colorHover), _ = () => {
870
+ const o = !V.value;
871
+ V.value = o, s("clicked", o);
875
872
  };
876
- return ce(b, () => {
877
- C.value = b.value;
878
- }), (f, r) => e.nbId ? (T(), L("div", {
873
+ return ie(b, () => {
874
+ V.value = b.value;
875
+ }), (o, H) => e.nbId ? (D(), O("div", {
879
876
  key: 0,
880
- class: X(["nb-wrapper", c.value]),
881
- style: w([m.value]),
877
+ class: X(["nb-wrapper", i.value]),
878
+ style: N([r.value]),
882
879
  onClick: _
883
880
  }, [
884
881
  R("div", {
885
882
  id: e.nbId,
886
- class: X(["nb-reset", "component", S.value])
883
+ class: X(["nb-reset", "component", $.value])
887
884
  }, [
888
885
  R("div", {
889
886
  class: "component__line-one",
890
- style: w(l.value)
887
+ style: N(v.value)
891
888
  }, null, 4),
892
889
  R("div", {
893
890
  class: "component__line-two",
894
- style: w(l.value)
891
+ style: N(v.value)
895
892
  }, null, 4),
896
893
  R("div", {
897
894
  class: "component__line-three",
898
- style: w(l.value)
895
+ style: N(v.value)
899
896
  }, null, 4)
900
- ], 10, He)
901
- ], 6)) : A("", !0);
897
+ ], 10, Be)
898
+ ], 6)) : L("", !0);
902
899
  }
903
- }), ke = /* @__PURE__ */ j($e, [["__scopeId", "data-v-37573ac0"]]);
904
- const Ye = ["id"], Xe = /* @__PURE__ */ Object.assign({
900
+ }), He = /* @__PURE__ */ j($e, [["__scopeId", "data-v-37573ac0"]]);
901
+ const ke = ["id"], Ye = /* @__PURE__ */ Object.assign({
905
902
  name: "NbButtonColorOutside",
906
903
  inheritAttrs: !1
907
904
  }, {
@@ -919,10 +916,6 @@ const Ye = ["id"], Xe = /* @__PURE__ */ Object.assign({
919
916
  return ["b", "ib"].includes(s);
920
917
  }
921
918
  },
922
- text: {
923
- type: String,
924
- default: "Default Text"
925
- },
926
919
  textColor: {
927
920
  type: String,
928
921
  default: "#ffffff"
@@ -971,72 +964,74 @@ const Ye = ["id"], Xe = /* @__PURE__ */ Object.assign({
971
964
  },
972
965
  emits: ["clicked"],
973
966
  setup(e, { emit: s }) {
974
- const B = e;
975
- F((o) => ({
976
- bf6244be: f.value,
977
- "3087ef32": k.value,
978
- b71ed32e: _.value,
979
- df6e4b52: r.value
967
+ const w = e;
968
+ F((a) => ({
969
+ c461ea64: _.value,
970
+ "39967e42": H.value,
971
+ ed566e48: x.value,
972
+ "0d683344": o.value
980
973
  }));
981
974
  const {
982
- text: C,
983
- display: b,
984
- buttonColor: x,
985
- borderColor: p,
986
- textColor: y,
987
- paddingX: v,
988
- paddingY: V,
975
+ display: V,
976
+ buttonColor: b,
977
+ borderColor: m,
978
+ textColor: p,
979
+ paddingX: y,
980
+ paddingY: S,
989
981
  borderRadius: g,
990
- disabled: N,
991
- fontFamily: i,
992
- fontSize: c,
993
- fontWeight: m
994
- } = M(B), l = t(() => {
995
- const o = C.value ? C.value : "Default Text", H = N.value ? "component-disabled" : "", d = b.value !== "b" ? "inline-block" : "block", n = x.value ? x.value : "#bbbbbb", Y = p.value ? p.value : "#ffe54c", z = y.value ? y.value : "#ffffff", W = !v.value || v.value < 0 ? 1 : v.value, u = !V.value || V.value < 0 ? 0.2 : V.value, I = !g.value || g.value < 0 ? 0 : g.value, D = i.value ? i.value : "'Lato', sans-serif", O = c.value ? c.value : "1.6em", P = !m.value || m.value < 0 ? 200 : m.value;
982
+ disabled: h,
983
+ fontFamily: C,
984
+ fontSize: f,
985
+ fontWeight: i
986
+ } = M(w), r = t(() => {
987
+ const a = h.value ? "component-disabled" : "", l = V.value !== "b" ? "inline-block" : "block", n = b.value ? b.value : "#bbbbbb", k = m.value ? m.value : "#ffe54c", u = p.value ? p.value : "#ffffff", Y = !y.value || y.value < 0 ? 1 : y.value, z = !S.value || S.value < 0 ? 0.2 : S.value, W = !g.value || g.value < 0 ? 0 : g.value, c = C.value ? C.value : "'Lato', sans-serif", I = f.value ? f.value : "1.6em", P = !i.value || i.value < 0 ? 200 : i.value;
996
988
  return {
997
- disabled: H,
998
- display: d,
989
+ disabled: a,
990
+ display: l,
999
991
  buttonColor: n,
1000
- borderColor: Y,
1001
- textColor: z,
1002
- paddingX: W,
1003
- paddingY: u,
1004
- text: o,
1005
- borderRadius: I,
1006
- font: D,
1007
- fontSize: O,
992
+ borderColor: k,
993
+ textColor: u,
994
+ paddingX: Y,
995
+ paddingY: z,
996
+ borderRadius: W,
997
+ font: c,
998
+ fontSize: I,
1008
999
  fontWeight: P
1009
1000
  };
1010
- }), S = t(() => l.value.disabled), $ = t(() => ({
1011
- display: l.value.display
1012
- })), h = t(() => {
1013
- const o = l.value;
1001
+ }), v = t(() => r.value.disabled), $ = t(() => ({
1002
+ display: r.value.display
1003
+ })), B = t(() => {
1004
+ const a = r.value;
1014
1005
  return {
1015
- border: `1px solid ${o.borderColor}`,
1016
- color: o.textColor,
1017
- padding: `${o.paddingY}rem ${o.paddingX}rem`,
1018
- borderRadius: _.value,
1019
- fontSize: o.fontSize,
1020
- fontWeight: o.fontWeight
1006
+ border: `1px solid ${a.borderColor}`,
1007
+ color: a.textColor,
1008
+ padding: `${a.paddingY}rem ${a.paddingX}rem`,
1009
+ borderRadius: x.value,
1010
+ fontSize: a.fontSize,
1011
+ fontWeight: a.fontWeight
1021
1012
  };
1022
- }), _ = t(() => `${l.value.borderRadius}rem`), f = t(() => l.value.font), r = t(() => l.value.textColor), k = t(() => l.value.buttonColor), a = () => {
1013
+ }), x = t(() => `${r.value.borderRadius}rem`), _ = t(() => r.value.font), o = t(() => r.value.textColor), H = t(() => r.value.buttonColor), d = () => {
1023
1014
  s("clicked");
1024
1015
  };
1025
- return (o, H) => e.nbId ? (T(), L("div", {
1016
+ return (a, l) => e.nbId ? (D(), O("div", {
1026
1017
  key: 0,
1027
- class: X(["nb-wrapper", S.value]),
1028
- style: w([$.value]),
1029
- onClick: a
1018
+ class: X(["nb-wrapper", v.value]),
1019
+ style: N([$.value]),
1020
+ onClick: d
1030
1021
  }, [
1031
1022
  R("div", {
1032
1023
  id: e.nbId,
1033
1024
  class: X(["nb-reset", "component"]),
1034
- style: w([h.value])
1035
- }, te(l.value.text), 13, Ye)
1036
- ], 6)) : A("", !0);
1025
+ style: N([B.value])
1026
+ }, [
1027
+ T(a.$slots, "content", {}, () => [
1028
+ A("Default Text")
1029
+ ], !0)
1030
+ ], 12, ke)
1031
+ ], 6)) : L("", !0);
1037
1032
  }
1038
- }), Re = /* @__PURE__ */ j(Xe, [["__scopeId", "data-v-34a3b3a9"]]);
1039
- const ze = ["id"], We = /* @__PURE__ */ Object.assign({
1033
+ }), Xe = /* @__PURE__ */ j(Ye, [["__scopeId", "data-v-0201e93e"]]);
1034
+ const Re = ["id"], ze = /* @__PURE__ */ Object.assign({
1040
1035
  name: "NbButtonColorHover",
1041
1036
  inheritAttrs: !1
1042
1037
  }, {
@@ -1046,10 +1041,6 @@ const ze = ["id"], We = /* @__PURE__ */ Object.assign({
1046
1041
  type: String,
1047
1042
  required: !0
1048
1043
  },
1049
- text: {
1050
- type: String,
1051
- default: "Default Text"
1052
- },
1053
1044
  display: {
1054
1045
  type: String,
1055
1046
  default: "b",
@@ -1110,77 +1101,79 @@ const ze = ["id"], We = /* @__PURE__ */ Object.assign({
1110
1101
  },
1111
1102
  emits: ["clicked"],
1112
1103
  setup(e, { emit: s }) {
1113
- const B = e;
1114
- F((d) => ({
1115
- ea8f1624: f.value,
1116
- "68a00a02": a.value,
1117
- a1f5bb90: k.value,
1118
- "7c8ae57d": o.value,
1119
- "0ca91538": r.value
1104
+ const w = e;
1105
+ F((n) => ({
1106
+ "70b0363a": _.value,
1107
+ "2d562374": d.value,
1108
+ "360329a3": H.value,
1109
+ "3c24be28": a.value,
1110
+ "7f8991ce": o.value
1120
1111
  }));
1121
1112
  const {
1122
- text: C,
1123
- display: b,
1124
- textColor: x,
1125
- paddingX: p,
1126
- paddingY: y,
1127
- borderRadius: v,
1128
- disabled: V,
1113
+ display: V,
1114
+ textColor: b,
1115
+ paddingX: m,
1116
+ paddingY: p,
1117
+ borderRadius: y,
1118
+ disabled: S,
1129
1119
  fontFamily: g,
1130
- fontSize: N,
1131
- fontWeight: i,
1132
- textColorHover: c,
1133
- buttonColor: m,
1134
- buttonColorHover: l
1135
- } = M(B), S = t(() => {
1136
- const d = C.value ? C.value : "Default Text", n = V.value ? "component-disabled" : "", Y = b.value !== "b" ? "inline-block" : "block", z = x ? x.value : "ffffff", W = !p.value || p.value < 0 ? 1 : p.value, u = !y.value || y.value < 0 ? 0.2 : y.value, I = !v.value || v.value < 0 ? 0 : v.value, D = g.value ? g.value : "'Lato', sans-serif", O = N.value ? N.value : "1.6rem", P = !i.value || i.value < 0 ? 100 : i.value, E = c.value ? c.value : "#cccccc", J = m.value ? m.value : "#bbbbbb", K = l.value ? l.value : "#959595";
1120
+ fontSize: h,
1121
+ fontWeight: C,
1122
+ textColorHover: f,
1123
+ buttonColor: i,
1124
+ buttonColorHover: r
1125
+ } = M(w), v = t(() => {
1126
+ const n = S.value ? "component-disabled" : "", k = V.value !== "b" ? "inline-block" : "block", u = b ? b.value : "ffffff", Y = !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 = h.value ? h.value : "1.6rem", P = !C.value || C.value < 0 ? 100 : C.value, q = f.value ? f.value : "#cccccc", G = i.value ? i.value : "#bbbbbb", E = r.value ? r.value : "#959595";
1137
1127
  return {
1138
1128
  disabled: n,
1139
- display: Y,
1140
- font: D,
1141
- fontSize: O,
1129
+ display: k,
1130
+ font: c,
1131
+ fontSize: I,
1142
1132
  fontWeight: P,
1143
- text: d,
1144
- textColor: z,
1145
- paddingX: W,
1146
- paddingY: u,
1147
- borderRadius: I,
1148
- textColorHover: E,
1149
- buttonColor: J,
1150
- buttonColorHover: K
1133
+ textColor: u,
1134
+ paddingX: Y,
1135
+ paddingY: z,
1136
+ borderRadius: W,
1137
+ textColorHover: q,
1138
+ buttonColor: G,
1139
+ buttonColorHover: E
1151
1140
  };
1152
- }), $ = t(() => S.value.disabled), h = t(() => {
1153
- const d = S.value;
1141
+ }), $ = t(() => v.value.disabled), B = t(() => {
1142
+ const n = v.value;
1154
1143
  return {
1155
- display: d.display,
1156
- borderRadius: `${d.borderRadius}rem`
1144
+ display: n.display,
1145
+ borderRadius: `${n.borderRadius}rem`
1157
1146
  };
1158
- }), _ = t(() => {
1159
- const d = S.value;
1147
+ }), x = t(() => {
1148
+ const n = v.value;
1160
1149
  return {
1161
- color: d.textColor,
1162
- padding: `${d.paddingY}rem ${d.paddingX}rem`,
1163
- borderRadius: `${d.borderRadius}rem`,
1164
- fontSize: d.fontSize,
1165
- fontWeight: d.fontWeight
1150
+ color: n.textColor,
1151
+ padding: `${n.paddingY}rem ${n.paddingX}rem`,
1152
+ borderRadius: `${n.borderRadius}rem`,
1153
+ fontSize: n.fontSize,
1154
+ fontWeight: n.fontWeight
1166
1155
  };
1167
- }), f = t(() => S.value.font), r = t(() => S.value.textColor), k = t(() => S.value.textColorHover), a = t(() => S.value.buttonColor), o = t(() => S.value.buttonColorHover), H = () => {
1156
+ }), _ = t(() => v.value.font), o = t(() => v.value.textColor), H = t(() => v.value.textColorHover), d = t(() => v.value.buttonColor), a = t(() => v.value.buttonColorHover), l = () => {
1168
1157
  s("clicked");
1169
1158
  };
1170
- return (d, n) => (T(), L("div", {
1159
+ return (n, k) => (D(), O("div", {
1171
1160
  class: X(["nb-wrapper", $.value]),
1172
- style: w([h.value]),
1173
- onClick: H
1161
+ style: N([B.value]),
1162
+ onClick: l
1174
1163
  }, [
1175
1164
  R("div", {
1176
1165
  id: e.nbId,
1177
1166
  class: "nb-reset component component-transition",
1178
- style: w([_.value])
1179
- }, te(S.value.text), 13, ze)
1167
+ style: N([x.value])
1168
+ }, [
1169
+ T(n.$slots, "content", {}, () => [
1170
+ A("Default Text")
1171
+ ], !0)
1172
+ ], 12, Re)
1180
1173
  ], 6));
1181
1174
  }
1182
- }), Ie = /* @__PURE__ */ j(We, [["__scopeId", "data-v-14a4a2ac"]]);
1183
- const De = ["id"], Oe = { class: "first-child" }, Te = { class: "last-child" }, Le = /* @__PURE__ */ Object.assign({
1175
+ }), We = /* @__PURE__ */ j(ze, [["__scopeId", "data-v-849fae4e"]]);
1176
+ const Ie = ["id"], De = { class: "first-child" }, Oe = { class: "last-child" }, Le = /* @__PURE__ */ Object.assign({
1184
1177
  name: "NbButtonAlternateText",
1185
1178
  inheritAttrs: !1
1186
1179
  }, {
@@ -1264,41 +1257,41 @@ const De = ["id"], Oe = { class: "first-child" }, Te = { class: "last-child" },
1264
1257
  },
1265
1258
  emits: ["clicked"],
1266
1259
  setup(e, { emit: s }) {
1267
- const B = e;
1268
- F((n) => ({
1269
- "17a23bbc": k.value,
1270
- "2cc4da9c": a.value,
1271
- aa259cd0: o.value,
1272
- f0e00666: H.value
1260
+ const w = e;
1261
+ F((u) => ({
1262
+ 70620026: d.value,
1263
+ "2928e4ba": a.value,
1264
+ "0fe93572": l.value,
1265
+ "4dcaff7e": n.value
1273
1266
  }));
1274
1267
  const {
1275
- display: C,
1268
+ display: V,
1276
1269
  buttonColor: b,
1277
- borderColor: x,
1270
+ borderColor: m,
1278
1271
  buttonHoverColor: p,
1279
1272
  showBorder: y,
1280
- borderRadius: v,
1281
- textColor: V,
1282
- textHoverColor: g,
1283
- width: N,
1284
- paddingX: i,
1285
- paddingY: c,
1286
- disabled: m,
1287
- fontFamily: l,
1288
- fontSize: S,
1289
- fontWeight: $
1290
- } = M(B), h = t(() => {
1291
- const n = m.value ? "component-disabled" : "", Y = C.value !== "b" ? "inline-block" : "block", z = b.value ? b.value : "#ffffff", W = p.value ? p.value : "#000000", u = x.value ? x.value : "#ffe54c", I = !v.value || v.value < 0 ? 0 : v.value, D = [!1, !0].includes(y.value) ? y.value : !0, O = V.value ? V.value : "#ffffff", P = g.value ? g.value : "#000000", E = !N.value || N.value < 86 ? 86 : N.value, J = !i.value || i.value < 0 ? 1 : i.value, K = !c.value || c.value < 0 ? 0.4 : c.value, Q = l.value ? l.value : "'Lato', sans-serif", U = S.value ? S.value : "1.6em", Z = !$.value || $.value < 0 ? 200 : $.value;
1273
+ borderRadius: S,
1274
+ textColor: g,
1275
+ textHoverColor: h,
1276
+ width: C,
1277
+ paddingX: f,
1278
+ paddingY: i,
1279
+ disabled: r,
1280
+ fontFamily: v,
1281
+ fontSize: $,
1282
+ fontWeight: B
1283
+ } = M(w), x = t(() => {
1284
+ const u = r.value ? "component-disabled" : "", Y = 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 = !S.value || S.value < 0 ? 0 : S.value, P = [!1, !0].includes(y.value) ? y.value : !0, q = g.value ? g.value : "#ffffff", G = h.value ? h.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;
1292
1285
  return {
1293
- disabled: n,
1286
+ disabled: u,
1294
1287
  display: Y,
1295
1288
  buttonColor: z,
1296
1289
  buttonHoverColor: W,
1297
- borderColor: u,
1298
- showBorder: D,
1290
+ borderColor: c,
1291
+ showBorder: P,
1299
1292
  borderRadius: I,
1300
- textColor: O,
1301
- textHoverColor: P,
1293
+ textColor: q,
1294
+ textHoverColor: G,
1302
1295
  width: E,
1303
1296
  paddingX: J,
1304
1297
  paddingY: K,
@@ -1306,67 +1299,67 @@ const De = ["id"], Oe = { class: "first-child" }, Te = { class: "last-child" },
1306
1299
  fontSize: U,
1307
1300
  fontWeight: Z
1308
1301
  };
1309
- }), _ = t(() => h.value.disabled), f = t(() => ({
1310
- display: h.value.display
1311
- })), r = t(() => {
1312
- const n = h.value, Y = n.display === "block" ? "auto" : `${n.width}px`;
1302
+ }), _ = t(() => x.value.disabled), o = t(() => ({
1303
+ display: x.value.display
1304
+ })), H = t(() => {
1305
+ const u = x.value, Y = u.display === "block" ? "auto" : `${u.width}px`;
1313
1306
  return {
1314
- ...n.showBorder ? { border: `1px solid ${n.borderColor}` } : {},
1315
- borderRadius: `${n.borderRadius}rem`,
1316
- background: n.buttonColor,
1307
+ ...u.showBorder ? { border: `1px solid ${u.borderColor}` } : {},
1308
+ borderRadius: `${u.borderRadius}rem`,
1309
+ background: u.buttonColor,
1317
1310
  minWidth: "33px",
1318
1311
  width: Y,
1319
- padding: `${n.paddingY}rem ${n.paddingX}rem`,
1312
+ padding: `${u.paddingY}rem ${u.paddingX}rem`,
1320
1313
  lineHeight: "1.42857143",
1321
- fontSize: n.fontSize,
1322
- fontWeight: n.fontWeight
1314
+ fontSize: u.fontSize,
1315
+ fontWeight: u.fontWeight
1323
1316
  };
1324
- }), k = t(() => h.value.font), a = t(() => h.value.textColor), o = t(() => h.value.textHoverColor), H = t(() => h.value.buttonHoverColor), d = () => {
1317
+ }), d = t(() => x.value.font), a = t(() => x.value.textColor), l = t(() => x.value.textHoverColor), n = t(() => x.value.buttonHoverColor), k = () => {
1325
1318
  s("clicked");
1326
1319
  };
1327
- return (n, Y) => e.nbId ? (T(), L("div", {
1320
+ return (u, Y) => e.nbId ? (D(), O("div", {
1328
1321
  key: 0,
1329
1322
  class: X(["nb-wrapper", _.value]),
1330
- style: w([f.value]),
1331
- onClick: d
1323
+ style: N([o.value]),
1324
+ onClick: k
1332
1325
  }, [
1333
1326
  R("div", {
1334
1327
  id: e.nbId,
1335
1328
  class: X(["nb-reset", "component"]),
1336
- style: w([r.value])
1329
+ style: N([H.value])
1337
1330
  }, [
1338
- R("div", Oe, [
1339
- q(n.$slots, "content", {}, () => [
1340
- G("Default Text")
1331
+ R("div", De, [
1332
+ T(u.$slots, "content", {}, () => [
1333
+ A("Default Text")
1341
1334
  ], !0)
1342
1335
  ]),
1343
- R("div", Te, [
1344
- q(n.$slots, "content-alternate", {}, () => [
1345
- G("Default Alternate Text")
1336
+ R("div", Oe, [
1337
+ T(u.$slots, "content", {}, () => [
1338
+ A("Default Text")
1346
1339
  ], !0)
1347
1340
  ])
1348
- ], 12, De)
1349
- ], 6)) : A("", !0);
1341
+ ], 12, Ie)
1342
+ ], 6)) : L("", !0);
1350
1343
  }
1351
- }), Ae = /* @__PURE__ */ j(Le, [["__scopeId", "data-v-e0ed856f"]]), ee = {
1352
- NbButtonVavaGame: pe,
1353
- NbButtonShowHover: me,
1354
- NbButtonPrevNext: xe,
1355
- NbButtonMechanical: he,
1356
- NbButtonMechanical2: Be,
1357
- NbButtonHamburger: ke,
1358
- NbButtonColorOutside: Re,
1359
- NbButtonColorHover: Ie,
1360
- NbButtonAlternateText: Ae
1361
- }, Fe = {
1344
+ }), Te = /* @__PURE__ */ j(Le, [["__scopeId", "data-v-fe71a891"]]), ee = {
1345
+ NbButtonVavaGame: be,
1346
+ NbButtonShowHover: ge,
1347
+ NbButtonPrevNext: Ce,
1348
+ NbButtonMechanical: _e,
1349
+ NbButtonMechanical2: we,
1350
+ NbButtonHamburger: He,
1351
+ NbButtonColorOutside: Xe,
1352
+ NbButtonColorHover: We,
1353
+ NbButtonAlternateText: Te
1354
+ }, Pe = {
1362
1355
  install(e) {
1363
1356
  for (const s in ee)
1364
1357
  if (Object.prototype.hasOwnProperty.call(ee, s)) {
1365
- const B = ee[s];
1366
- e.component(B.name, B);
1358
+ const w = ee[s];
1359
+ e.component(w.name, w);
1367
1360
  }
1368
1361
  }
1369
1362
  };
1370
1363
  export {
1371
- Fe as default
1364
+ Pe as default
1372
1365
  };