@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.
- package/dist/nb-buttons.js +1424 -1473
- package/dist/nb-buttons.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/nb-buttons.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
|
|
6
|
-
return
|
|
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
|
-
|
|
155
|
-
"45d3f656":
|
|
156
|
-
"731cf8ea":
|
|
157
|
-
"38923b1c":
|
|
158
|
-
"444f744b":
|
|
159
|
-
"15533dd5":
|
|
160
|
-
a26295f6:
|
|
161
|
-
"4bcd7f37":
|
|
162
|
-
d8896214:
|
|
163
|
-
"4b1873e6":
|
|
164
|
-
"929f1152":
|
|
165
|
-
"212fb811":
|
|
166
|
-
"611083ab":
|
|
167
|
-
"2fbce3b6":
|
|
168
|
-
"96e4fe7c":
|
|
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
|
|
171
|
-
display:
|
|
172
|
-
ariaLabel:
|
|
173
|
-
ariaAttrs:
|
|
174
|
-
theme:
|
|
175
|
-
lightTextColor:
|
|
176
|
-
lightTextColorHover:
|
|
177
|
-
lightButtonColor:
|
|
178
|
-
lightButtonColorHover:
|
|
179
|
-
lightBorderColor:
|
|
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:
|
|
182
|
-
darkTextColorHover:
|
|
183
|
-
darkButtonColor:
|
|
184
|
-
darkButtonColorHover:
|
|
185
|
-
darkBorderColor:
|
|
186
|
-
darkDisabledBgColor:
|
|
187
|
-
uppercase:
|
|
188
|
-
paddingXContent:
|
|
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:
|
|
191
|
-
paddingYBorder:
|
|
192
|
-
borderOpacity:
|
|
193
|
-
disabled:
|
|
194
|
-
fontFamily:
|
|
195
|
-
fontSize:
|
|
196
|
-
fontWeight:
|
|
197
|
-
} =
|
|
198
|
-
const
|
|
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:
|
|
201
|
-
display:
|
|
202
|
-
borderOpacity:
|
|
203
|
-
paddingXBorder:
|
|
204
|
-
paddingYBorder:
|
|
205
|
-
paddingXContent:
|
|
206
|
-
paddingYContent:
|
|
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:
|
|
209
|
-
fontSize:
|
|
210
|
-
fontWeight:
|
|
208
|
+
font: Oe,
|
|
209
|
+
fontSize: Re,
|
|
210
|
+
fontWeight: We
|
|
211
211
|
};
|
|
212
|
-
}),
|
|
213
|
-
display:
|
|
214
|
-
})),
|
|
215
|
-
const
|
|
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: `${
|
|
218
|
-
fontSize:
|
|
219
|
-
fontWeight:
|
|
217
|
+
padding: `${v.paddingYBorder}rem ${v.paddingXBorder}rem`,
|
|
218
|
+
fontSize: v.fontSize,
|
|
219
|
+
fontWeight: v.fontWeight
|
|
220
220
|
};
|
|
221
|
-
}),
|
|
222
|
-
const
|
|
221
|
+
}), $ = t(() => O.value === "dark" ? "component__theme--dark" : "component__theme--light"), j = t(() => {
|
|
222
|
+
const v = w.value;
|
|
223
223
|
return {
|
|
224
|
-
textTransform:
|
|
225
|
-
padding: `${
|
|
224
|
+
textTransform: v.uppercase,
|
|
225
|
+
padding: `${v.paddingYContent}rem ${v.paddingXContent}rem`
|
|
226
226
|
};
|
|
227
|
-
}),
|
|
228
|
-
const
|
|
229
|
-
|
|
230
|
-
const
|
|
231
|
-
"aria-label":
|
|
232
|
-
"aria-disabled":
|
|
233
|
-
...
|
|
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(
|
|
236
|
+
Object.entries(z).filter(([pe, ae]) => ae != null)
|
|
237
237
|
);
|
|
238
|
-
}),
|
|
239
|
-
|
|
238
|
+
}), de = () => {
|
|
239
|
+
E("clicked");
|
|
240
240
|
};
|
|
241
|
-
return (
|
|
241
|
+
return (v, z) => e.nbId ? (ce(), fe("div", Ce({
|
|
242
242
|
key: 0,
|
|
243
|
-
class: ["nb-wrapper",
|
|
244
|
-
style: [
|
|
243
|
+
class: ["nb-wrapper", W.value],
|
|
244
|
+
style: [X.value],
|
|
245
245
|
tabIndex: e.tabIndex,
|
|
246
246
|
role: "button"
|
|
247
|
-
},
|
|
248
|
-
onClick:
|
|
247
|
+
}, p.value, {
|
|
248
|
+
onClick: de,
|
|
249
249
|
onKeydown: [
|
|
250
|
-
|
|
251
|
-
|
|
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
|
-
|
|
254
|
+
ne("div", {
|
|
255
255
|
id: e.nbId,
|
|
256
|
-
class:
|
|
257
|
-
style:
|
|
256
|
+
class: be(["nb-reset", "component", $.value]),
|
|
257
|
+
style: ie([u.value])
|
|
258
258
|
}, [
|
|
259
|
-
|
|
259
|
+
ne("div", {
|
|
260
260
|
class: "component-content",
|
|
261
|
-
style:
|
|
261
|
+
style: ie([j.value])
|
|
262
262
|
}, [
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
ne("span", Bt, [
|
|
264
|
+
me(v.$slots, "content", {}, () => [
|
|
265
|
+
z[2] || (z[2] = he("Default Text"))
|
|
266
266
|
], !0)
|
|
267
267
|
]),
|
|
268
|
-
|
|
268
|
+
ne("span", {
|
|
269
269
|
class: "component-content__mask",
|
|
270
|
-
style:
|
|
270
|
+
style: ie([N.value])
|
|
271
271
|
}, null, 4)
|
|
272
272
|
], 4)
|
|
273
273
|
], 14, xt)
|
|
274
|
-
], 16, St)) :
|
|
274
|
+
], 16, St)) : ge("", !0);
|
|
275
275
|
}
|
|
276
|
-
}), Vt = /* @__PURE__ */
|
|
277
|
-
const Tt = ["tabIndex"],
|
|
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
|
-
|
|
399
|
-
"764d74ba":
|
|
400
|
-
"45cf85fd":
|
|
401
|
-
a495d4c0:
|
|
402
|
-
"2848a6c4":
|
|
403
|
-
a7feed82:
|
|
404
|
-
ba6d58fa:
|
|
405
|
-
bc089304:
|
|
406
|
-
"38c83f79":
|
|
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
|
|
409
|
-
ariaLabel:
|
|
410
|
-
ariaAttrs:
|
|
411
|
-
theme:
|
|
412
|
-
lightTextColor:
|
|
413
|
-
lightTextColorHover:
|
|
414
|
-
lightButtonColorHover:
|
|
415
|
-
lightButtonColorOpacityHover:
|
|
416
|
-
lightDisabledBgColor:
|
|
417
|
-
darkTextColor:
|
|
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:
|
|
420
|
-
darkButtonColorOpacityHover:
|
|
421
|
-
darkDisabledBgColor:
|
|
422
|
-
paddingX:
|
|
423
|
-
paddingY:
|
|
424
|
-
disabled:
|
|
425
|
-
borderRadius:
|
|
426
|
-
verticalAlign:
|
|
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:
|
|
429
|
-
fontWeight:
|
|
430
|
-
} =
|
|
431
|
-
const
|
|
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:
|
|
434
|
-
borderRadius:
|
|
435
|
-
paddingX:
|
|
436
|
-
paddingY:
|
|
437
|
-
font:
|
|
438
|
-
fontSize:
|
|
439
|
-
fontWeight:
|
|
440
|
-
verticalAlign:
|
|
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
|
-
}),
|
|
443
|
-
verticalAlign:
|
|
444
|
-
})),
|
|
445
|
-
const
|
|
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: `${
|
|
448
|
-
borderRadius: `${
|
|
449
|
-
fontSize:
|
|
450
|
-
fontWeight:
|
|
447
|
+
padding: `${d.paddingY}rem 0`,
|
|
448
|
+
borderRadius: `${d.borderRadius}rem`,
|
|
449
|
+
fontSize: d.fontSize,
|
|
450
|
+
fontWeight: d.fontWeight
|
|
451
451
|
};
|
|
452
|
-
}),
|
|
453
|
-
const
|
|
454
|
-
return `${
|
|
455
|
-
}),
|
|
456
|
-
t(() =>
|
|
457
|
-
const
|
|
458
|
-
t(() =>
|
|
459
|
-
const
|
|
460
|
-
const
|
|
461
|
-
|
|
462
|
-
const
|
|
463
|
-
"aria-label":
|
|
464
|
-
"aria-disabled":
|
|
465
|
-
...
|
|
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(
|
|
468
|
+
Object.entries(o).filter(([r, s]) => s != null)
|
|
469
469
|
);
|
|
470
|
-
}),
|
|
471
|
-
|
|
470
|
+
}), h = () => {
|
|
471
|
+
E("clicked");
|
|
472
472
|
};
|
|
473
|
-
return (
|
|
473
|
+
return (d, o) => e.nbId ? (ce(), fe("div", Ce({
|
|
474
474
|
key: 0,
|
|
475
|
-
class: ["nb-wrapper",
|
|
476
|
-
style: [
|
|
475
|
+
class: ["nb-wrapper", _.value],
|
|
476
|
+
style: [Z.value],
|
|
477
477
|
tabIndex: e.tabIndex,
|
|
478
478
|
role: "button"
|
|
479
|
-
},
|
|
480
|
-
onClick:
|
|
479
|
+
}, K.value, {
|
|
480
|
+
onClick: h,
|
|
481
481
|
onKeydown: [
|
|
482
|
-
|
|
483
|
-
|
|
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
|
-
|
|
486
|
+
ne("a", {
|
|
487
487
|
id: e.nbId,
|
|
488
|
-
class:
|
|
489
|
-
style:
|
|
490
|
-
onClick:
|
|
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
|
-
|
|
494
|
-
|
|
493
|
+
me(d.$slots, "content", {}, () => [
|
|
494
|
+
o[3] || (o[3] = he("Default Text"))
|
|
495
495
|
], !0)
|
|
496
|
-
], 14,
|
|
497
|
-
], 16, Tt)) :
|
|
496
|
+
], 14, It)
|
|
497
|
+
], 16, Tt)) : ge("", !0);
|
|
498
498
|
}
|
|
499
|
-
}),
|
|
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
|
-
|
|
655
|
-
"21ad11ea":
|
|
656
|
-
"0a9f5140":
|
|
657
|
-
"7f8d50d6":
|
|
658
|
-
"4d0adb52":
|
|
659
|
-
"191c12b2":
|
|
660
|
-
"58fb0f6c":
|
|
661
|
-
"0192eeeb":
|
|
662
|
-
"39d869bc":
|
|
663
|
-
"3f80f5de":
|
|
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
|
|
666
|
-
ariaLabelPrev:
|
|
667
|
-
ariaAttrsPrev:
|
|
668
|
-
ariaLabelNext:
|
|
669
|
-
ariaAttrsNext:
|
|
670
|
-
theme:
|
|
671
|
-
lightColorPrimary:
|
|
672
|
-
lightColorSecondary:
|
|
673
|
-
lightTextColor:
|
|
674
|
-
lightTextColorHover:
|
|
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:
|
|
677
|
-
darkColorSecondary:
|
|
678
|
-
darkTextColor:
|
|
679
|
-
darkTextColorHover:
|
|
680
|
-
darkDisabledBgColor:
|
|
681
|
-
paddingX:
|
|
682
|
-
paddingY:
|
|
683
|
-
marginBetween:
|
|
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:
|
|
686
|
-
disabledPreview:
|
|
687
|
-
disabledNext:
|
|
688
|
-
fontFamily:
|
|
689
|
-
fontSize:
|
|
690
|
-
fontWeight:
|
|
691
|
-
} =
|
|
692
|
-
const
|
|
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:
|
|
695
|
-
disabledPreview:
|
|
696
|
-
disabledNext:
|
|
697
|
-
marginBetween: `${
|
|
698
|
-
borderRadius: `${
|
|
699
|
-
paddingX: `${
|
|
700
|
-
paddingY: `${
|
|
701
|
-
fontSize:
|
|
702
|
-
fontWeight:
|
|
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
|
-
}),
|
|
705
|
-
display:
|
|
706
|
-
})),
|
|
707
|
-
const
|
|
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:
|
|
710
|
-
fontWeight:
|
|
709
|
+
fontSize: T.fontSize,
|
|
710
|
+
fontWeight: T.fontWeight
|
|
711
711
|
};
|
|
712
|
-
}),
|
|
713
|
-
const
|
|
712
|
+
}), j = t(() => {
|
|
713
|
+
const T = I.value;
|
|
714
714
|
return {
|
|
715
|
-
borderRadius: `${
|
|
716
|
-
marginRight:
|
|
717
|
-
padding: `${
|
|
715
|
+
borderRadius: `${T.borderRadius} 0px 0px ${T.borderRadius}`,
|
|
716
|
+
marginRight: T.marginBetween,
|
|
717
|
+
padding: `${T.paddingX} ${T.paddingY}`
|
|
718
718
|
};
|
|
719
|
-
}),
|
|
720
|
-
const
|
|
719
|
+
}), N = t(() => {
|
|
720
|
+
const T = I.value;
|
|
721
721
|
return {
|
|
722
|
-
borderRadius: `0px ${
|
|
723
|
-
marginLeft:
|
|
724
|
-
padding: `${
|
|
722
|
+
borderRadius: `0px ${T.borderRadius} ${T.borderRadius} 0px`,
|
|
723
|
+
marginLeft: T.marginBetween,
|
|
724
|
+
padding: `${T.paddingX} ${T.paddingY}`
|
|
725
725
|
};
|
|
726
|
-
}),
|
|
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
|
|
729
|
-
t(() =>
|
|
730
|
-
const
|
|
731
|
-
const
|
|
732
|
-
|
|
733
|
-
const
|
|
734
|
-
"aria-label":
|
|
735
|
-
"aria-disabled":
|
|
736
|
-
...
|
|
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(
|
|
739
|
+
Object.entries(p).filter(([de, v]) => v != null)
|
|
740
740
|
);
|
|
741
|
-
}),
|
|
742
|
-
const
|
|
743
|
-
|
|
744
|
-
const
|
|
745
|
-
"aria-label":
|
|
746
|
-
"aria-disabled":
|
|
747
|
-
...
|
|
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(
|
|
750
|
+
Object.entries(p).filter(([de, v]) => v != null)
|
|
751
751
|
);
|
|
752
|
-
}),
|
|
753
|
-
|
|
752
|
+
}), ue = (T) => {
|
|
753
|
+
E("clicked", T);
|
|
754
754
|
};
|
|
755
|
-
return (
|
|
755
|
+
return (T, p) => e.nbId ? (ce(), fe("div", {
|
|
756
756
|
key: 0,
|
|
757
|
-
class:
|
|
758
|
-
style:
|
|
757
|
+
class: be(["nb-wrapper", w.value]),
|
|
758
|
+
style: ie([u.value])
|
|
759
759
|
}, [
|
|
760
|
-
|
|
760
|
+
ne("div", {
|
|
761
761
|
id: e.nbId,
|
|
762
|
-
class:
|
|
763
|
-
style:
|
|
762
|
+
class: be(["nb-reset", "component", H.value]),
|
|
763
|
+
style: ie($.value)
|
|
764
764
|
}, [
|
|
765
|
-
e.showPreview ? (
|
|
765
|
+
e.showPreview ? (ce(), fe("div", Ce({
|
|
766
766
|
key: 0,
|
|
767
|
-
class: ["buttonNextPreview buttonPreview",
|
|
768
|
-
style:
|
|
767
|
+
class: ["buttonNextPreview buttonPreview", W.value],
|
|
768
|
+
style: j.value,
|
|
769
769
|
tabIndex: e.tabIndexPrev,
|
|
770
770
|
role: "button"
|
|
771
|
-
},
|
|
772
|
-
onClick:
|
|
771
|
+
}, ve.value, {
|
|
772
|
+
onClick: p[0] || (p[0] = (de) => ue("preview")),
|
|
773
773
|
onKeydown: [
|
|
774
|
-
|
|
775
|
-
|
|
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
|
-
|
|
779
|
-
|
|
778
|
+
me(T.$slots, "prev", {}, () => [
|
|
779
|
+
p[6] || (p[6] = he("← Preview"))
|
|
780
780
|
], !0)
|
|
781
|
-
], 16, Dt)) :
|
|
782
|
-
e.showNext ? (
|
|
781
|
+
], 16, Dt)) : ge("", !0),
|
|
782
|
+
e.showNext ? (ce(), fe("div", Ce({
|
|
783
783
|
key: 1,
|
|
784
|
-
class: ["buttonNextPreview buttonNext",
|
|
785
|
-
style:
|
|
784
|
+
class: ["buttonNextPreview buttonNext", X.value],
|
|
785
|
+
style: N.value,
|
|
786
786
|
tabIndex: e.tabIndexNext,
|
|
787
787
|
role: "button"
|
|
788
|
-
},
|
|
789
|
-
onClick:
|
|
788
|
+
}, oe.value, {
|
|
789
|
+
onClick: p[3] || (p[3] = (de) => ue("next")),
|
|
790
790
|
onKeydown: [
|
|
791
|
-
|
|
792
|
-
|
|
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
|
-
|
|
796
|
-
|
|
795
|
+
me(T.$slots, "next", {}, () => [
|
|
796
|
+
p[7] || (p[7] = he("Next →"))
|
|
797
797
|
], !0)
|
|
798
|
-
], 16, Nt)) :
|
|
798
|
+
], 16, Nt)) : ge("", !0)
|
|
799
799
|
], 14, _t)
|
|
800
|
-
], 6)) :
|
|
800
|
+
], 6)) : ge("", !0);
|
|
801
801
|
}
|
|
802
|
-
}), At = /* @__PURE__ */
|
|
803
|
-
const Lt = ["tabIndex"], Ot = ["id"],
|
|
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
|
-
|
|
924
|
-
"11f48348":
|
|
925
|
-
"70882b98":
|
|
926
|
-
"588d6424":
|
|
927
|
-
"0c5d8c82":
|
|
928
|
-
"6d039e48":
|
|
929
|
-
"6153947c":
|
|
930
|
-
"2c6697d2":
|
|
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
|
|
933
|
-
display:
|
|
934
|
-
ariaLabel:
|
|
935
|
-
ariaAttrs:
|
|
936
|
-
theme:
|
|
937
|
-
lightTextColor:
|
|
938
|
-
lightButtonColor:
|
|
939
|
-
lightContainerColor:
|
|
940
|
-
lightDisabledBgColor:
|
|
941
|
-
darkTextColor:
|
|
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:
|
|
944
|
-
darkDisabledBgColor:
|
|
945
|
-
paddingX:
|
|
946
|
-
paddingY:
|
|
947
|
-
borderRadius:
|
|
948
|
-
disabled:
|
|
949
|
-
animationSlow:
|
|
950
|
-
fontFamily:
|
|
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:
|
|
953
|
-
} =
|
|
954
|
-
const
|
|
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:
|
|
957
|
-
display:
|
|
958
|
-
paddingX:
|
|
959
|
-
paddingY:
|
|
960
|
-
borderRadius:
|
|
961
|
-
animationSlow:
|
|
962
|
-
font:
|
|
963
|
-
fontSize:
|
|
964
|
-
fontWeight:
|
|
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
|
-
}),
|
|
967
|
-
display:
|
|
968
|
-
})),
|
|
969
|
-
const
|
|
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: `${
|
|
972
|
-
borderRadius: `${
|
|
973
|
-
fontSize:
|
|
974
|
-
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
|
-
}),
|
|
977
|
-
t(() =>
|
|
978
|
-
const
|
|
979
|
-
t(() =>
|
|
980
|
-
const
|
|
981
|
-
const
|
|
982
|
-
|
|
983
|
-
const
|
|
984
|
-
"aria-label":
|
|
985
|
-
"aria-disabled":
|
|
986
|
-
...
|
|
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(
|
|
989
|
+
Object.entries(d).filter(([o, r]) => r != null)
|
|
990
990
|
);
|
|
991
|
-
}),
|
|
992
|
-
|
|
991
|
+
}), K = () => {
|
|
992
|
+
E("clicked");
|
|
993
993
|
};
|
|
994
|
-
return (
|
|
994
|
+
return (h, d) => e.nbId ? (ce(), fe("div", Ce({
|
|
995
995
|
key: 0,
|
|
996
|
-
class: ["nb-wrapper",
|
|
997
|
-
style: [
|
|
996
|
+
class: ["nb-wrapper", B.value],
|
|
997
|
+
style: [_.value],
|
|
998
998
|
tabIndex: e.tabIndex,
|
|
999
999
|
role: "button"
|
|
1000
|
-
},
|
|
1001
|
-
onClick:
|
|
1000
|
+
}, H.value, {
|
|
1001
|
+
onClick: K,
|
|
1002
1002
|
onKeydown: [
|
|
1003
|
-
|
|
1004
|
-
|
|
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
|
-
|
|
1007
|
+
ne("div", {
|
|
1008
1008
|
id: e.nbId,
|
|
1009
|
-
class:
|
|
1010
|
-
style:
|
|
1009
|
+
class: be(["nb-reset", "component", "component-transition", I.value, Z.value]),
|
|
1010
|
+
style: ie([R.value])
|
|
1011
1011
|
}, [
|
|
1012
|
-
|
|
1013
|
-
|
|
1012
|
+
me(h.$slots, "content", {}, () => [
|
|
1013
|
+
d[2] || (d[2] = he("Default Text"))
|
|
1014
1014
|
], !0)
|
|
1015
1015
|
], 14, Ot)
|
|
1016
|
-
], 16, Lt)) :
|
|
1016
|
+
], 16, Lt)) : ge("", !0);
|
|
1017
1017
|
}
|
|
1018
|
-
}),
|
|
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
|
-
|
|
1136
|
-
ebbdb8f2:
|
|
1137
|
-
"3c1ba399":
|
|
1138
|
-
"32cd6ff4":
|
|
1139
|
-
"3e7722c6":
|
|
1140
|
-
dc15db32:
|
|
1141
|
-
78066342:
|
|
1142
|
-
f89fd3d8:
|
|
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
|
|
1145
|
-
display:
|
|
1146
|
-
ariaLabel:
|
|
1147
|
-
ariaAttrs:
|
|
1148
|
-
theme:
|
|
1149
|
-
lightTextColor:
|
|
1150
|
-
lightButtonColor:
|
|
1151
|
-
lightShadowColor:
|
|
1152
|
-
lightDisabledBgColor:
|
|
1153
|
-
darkTextColor:
|
|
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:
|
|
1156
|
-
darkDisabledBgColor:
|
|
1157
|
-
paddingX:
|
|
1158
|
-
paddingY:
|
|
1159
|
-
borderRadius:
|
|
1160
|
-
disabled:
|
|
1161
|
-
fontFamily:
|
|
1162
|
-
fontSize:
|
|
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
|
-
} =
|
|
1165
|
-
const
|
|
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:
|
|
1168
|
-
display:
|
|
1169
|
-
paddingX:
|
|
1170
|
-
paddingY:
|
|
1171
|
-
borderRadius:
|
|
1172
|
-
font:
|
|
1173
|
-
fontSize:
|
|
1174
|
-
fontWeight:
|
|
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
|
-
}),
|
|
1177
|
-
display:
|
|
1178
|
-
})),
|
|
1179
|
-
const
|
|
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: `${
|
|
1182
|
-
borderRadius: `${
|
|
1183
|
-
fontSize:
|
|
1184
|
-
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
|
-
}),
|
|
1187
|
-
t(() =>
|
|
1188
|
-
const
|
|
1189
|
-
t(() =>
|
|
1190
|
-
const
|
|
1191
|
-
const
|
|
1192
|
-
|
|
1193
|
-
const
|
|
1194
|
-
"aria-label":
|
|
1195
|
-
"aria-disabled":
|
|
1196
|
-
...
|
|
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(
|
|
1199
|
+
Object.entries(K).filter(([h, d]) => d != null)
|
|
1200
1200
|
);
|
|
1201
|
-
}),
|
|
1202
|
-
|
|
1201
|
+
}), N = () => {
|
|
1202
|
+
E("clicked");
|
|
1203
1203
|
};
|
|
1204
|
-
return (
|
|
1204
|
+
return (H, K) => e.nbId ? (ce(), fe("div", Ce({
|
|
1205
1205
|
key: 0,
|
|
1206
|
-
class: ["nb-wrapper",
|
|
1207
|
-
style: [
|
|
1206
|
+
class: ["nb-wrapper", x.value],
|
|
1207
|
+
style: [B.value],
|
|
1208
1208
|
tabIndex: e.tabIndex,
|
|
1209
1209
|
role: "button"
|
|
1210
|
-
},
|
|
1211
|
-
onClick:
|
|
1210
|
+
}, j.value, {
|
|
1211
|
+
onClick: N,
|
|
1212
1212
|
onKeydown: [
|
|
1213
|
-
|
|
1214
|
-
|
|
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
|
-
|
|
1217
|
+
ne("div", {
|
|
1218
1218
|
id: e.nbId,
|
|
1219
|
-
class:
|
|
1220
|
-
style:
|
|
1219
|
+
class: be(["nb-reset", "component", "component-transition", _.value]),
|
|
1220
|
+
style: ie([Z.value])
|
|
1221
1221
|
}, [
|
|
1222
|
-
|
|
1223
|
-
|
|
1222
|
+
me(H.$slots, "content", {}, () => [
|
|
1223
|
+
K[2] || (K[2] = he("Default Text"))
|
|
1224
1224
|
], !0)
|
|
1225
1225
|
], 14, Yt)
|
|
1226
|
-
], 16, zt)) :
|
|
1226
|
+
], 16, zt)) : ge("", !0);
|
|
1227
1227
|
}
|
|
1228
|
-
}), jt = /* @__PURE__ */
|
|
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
|
-
|
|
1333
|
-
e49369fc:
|
|
1334
|
-
"016d7e4e":
|
|
1335
|
-
d1d5c14c:
|
|
1336
|
-
"3ee44f39":
|
|
1337
|
-
"66961b8e":
|
|
1338
|
-
b51deef6:
|
|
1339
|
-
"3bd26bc3":
|
|
1340
|
-
ca9bda12:
|
|
1341
|
-
"716c3462":
|
|
1342
|
-
"749b6a96":
|
|
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
|
|
1344
|
+
const E = l, te = e;
|
|
1345
1345
|
Ee(() => {
|
|
1346
|
-
|
|
1346
|
+
U.value = F.value;
|
|
1347
1347
|
});
|
|
1348
|
-
const
|
|
1349
|
-
ariaLabel:
|
|
1350
|
-
ariaAttrs:
|
|
1351
|
-
theme:
|
|
1352
|
-
status:
|
|
1353
|
-
lightColor:
|
|
1354
|
-
lightColorHover:
|
|
1355
|
-
lightContainerColor:
|
|
1356
|
-
lightContainerColorHover:
|
|
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:
|
|
1359
|
-
darkColorHover:
|
|
1360
|
-
darkContainerColor:
|
|
1361
|
-
darkContainerColorHover:
|
|
1362
|
-
darkDisabledBgColor:
|
|
1363
|
-
paddingX:
|
|
1364
|
-
paddingY:
|
|
1365
|
-
disabled:
|
|
1366
|
-
} =
|
|
1367
|
-
const
|
|
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:
|
|
1370
|
-
buttonStatus:
|
|
1371
|
-
paddingX:
|
|
1372
|
-
paddingY:
|
|
1369
|
+
disabled: d,
|
|
1370
|
+
buttonStatus: o,
|
|
1371
|
+
paddingX: r,
|
|
1372
|
+
paddingY: s
|
|
1373
1373
|
};
|
|
1374
|
-
}),
|
|
1375
|
-
const
|
|
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: `${
|
|
1377
|
+
padding: `${d.paddingY}px ${d.paddingX}px`
|
|
1378
1378
|
};
|
|
1379
|
-
}),
|
|
1380
|
-
const
|
|
1381
|
-
|
|
1382
|
-
const
|
|
1383
|
-
"aria-label":
|
|
1384
|
-
"aria-disabled":
|
|
1385
|
-
...
|
|
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(
|
|
1388
|
+
Object.entries(o).filter(([r, s]) => s != null)
|
|
1389
1389
|
);
|
|
1390
|
-
}),
|
|
1391
|
-
const
|
|
1392
|
-
|
|
1390
|
+
}), h = () => {
|
|
1391
|
+
const d = !U.value;
|
|
1392
|
+
U.value = d, E("clicked", d);
|
|
1393
1393
|
};
|
|
1394
|
-
return yt(
|
|
1395
|
-
|
|
1396
|
-
}), (
|
|
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",
|
|
1399
|
-
style: [
|
|
1398
|
+
class: ["nb-wrapper", i.value],
|
|
1399
|
+
style: [B.value],
|
|
1400
1400
|
tabIndex: e.tabIndex,
|
|
1401
1401
|
role: "button"
|
|
1402
|
-
},
|
|
1403
|
-
onClick:
|
|
1402
|
+
}, K.value, {
|
|
1403
|
+
onClick: h,
|
|
1404
1404
|
onKeydown: [
|
|
1405
|
-
|
|
1406
|
-
|
|
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
|
-
|
|
1409
|
+
ne("div", {
|
|
1410
1410
|
id: e.nbId,
|
|
1411
|
-
class:
|
|
1411
|
+
class: be(["nb-reset", "component", Z.value, x.value])
|
|
1412
1412
|
}, [
|
|
1413
|
-
|
|
1413
|
+
ne("div", {
|
|
1414
1414
|
class: "component__line-one",
|
|
1415
|
-
style:
|
|
1415
|
+
style: ie(_.value)
|
|
1416
1416
|
}, null, 4),
|
|
1417
|
-
|
|
1417
|
+
ne("div", {
|
|
1418
1418
|
class: "component__line-two",
|
|
1419
|
-
style:
|
|
1419
|
+
style: ie(_.value)
|
|
1420
1420
|
}, null, 4),
|
|
1421
|
-
|
|
1421
|
+
ne("div", {
|
|
1422
1422
|
class: "component__line-three",
|
|
1423
|
-
style:
|
|
1423
|
+
style: ie(_.value)
|
|
1424
1424
|
}, null, 4)
|
|
1425
1425
|
], 10, Ft)
|
|
1426
|
-
], 16, Et)) :
|
|
1426
|
+
], 16, Et)) : ge("", !0);
|
|
1427
1427
|
}
|
|
1428
|
-
}), Kt = /* @__PURE__ */
|
|
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
|
-
|
|
1546
|
-
"6d1b36a9":
|
|
1547
|
-
"65506e61":
|
|
1548
|
-
e28eaf92:
|
|
1549
|
-
"3086f750":
|
|
1550
|
-
"523bc512":
|
|
1551
|
-
"2113fbee":
|
|
1552
|
-
"0e8ab1aa":
|
|
1553
|
-
"7909f264":
|
|
1554
|
-
"36d92543":
|
|
1555
|
-
"75674cd6":
|
|
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
|
|
1558
|
-
display:
|
|
1559
|
-
ariaLabel:
|
|
1560
|
-
ariaAttrs:
|
|
1561
|
-
theme:
|
|
1562
|
-
lightTextColor:
|
|
1563
|
-
lightButtonColor:
|
|
1564
|
-
lightBorderColor:
|
|
1565
|
-
lightDisabledBgColor:
|
|
1566
|
-
darkTextColor:
|
|
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:
|
|
1569
|
-
darkDisabledBgColor:
|
|
1570
|
-
paddingX:
|
|
1571
|
-
paddingY:
|
|
1572
|
-
borderRadius:
|
|
1573
|
-
disabled:
|
|
1574
|
-
fontFamily:
|
|
1575
|
-
fontSize:
|
|
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
|
-
} =
|
|
1578
|
-
const
|
|
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:
|
|
1581
|
-
display:
|
|
1582
|
-
paddingX:
|
|
1583
|
-
paddingY:
|
|
1584
|
-
borderRadius:
|
|
1585
|
-
font:
|
|
1586
|
-
fontSize:
|
|
1587
|
-
fontWeight:
|
|
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
|
-
}),
|
|
1590
|
-
display:
|
|
1591
|
-
})),
|
|
1592
|
-
const
|
|
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:
|
|
1595
|
-
fontWeight:
|
|
1594
|
+
fontSize: o.fontSize,
|
|
1595
|
+
fontWeight: o.fontWeight
|
|
1596
1596
|
};
|
|
1597
|
-
}),
|
|
1598
|
-
const
|
|
1597
|
+
}), Z = t(() => {
|
|
1598
|
+
const o = i.value;
|
|
1599
1599
|
return {
|
|
1600
|
-
padding: `${
|
|
1601
|
-
borderRadius:
|
|
1600
|
+
padding: `${o.paddingY}rem ${o.paddingX}rem`,
|
|
1601
|
+
borderRadius: R.value
|
|
1602
1602
|
};
|
|
1603
|
-
}),
|
|
1604
|
-
const
|
|
1605
|
-
|
|
1606
|
-
const
|
|
1607
|
-
"aria-label":
|
|
1608
|
-
"aria-disabled":
|
|
1609
|
-
...
|
|
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(
|
|
1612
|
+
Object.entries(r).filter(([s, k]) => k != null)
|
|
1613
1613
|
);
|
|
1614
|
-
}),
|
|
1615
|
-
|
|
1614
|
+
}), d = () => {
|
|
1615
|
+
E("clicked");
|
|
1616
1616
|
};
|
|
1617
|
-
return (
|
|
1617
|
+
return (o, r) => e.nbId ? (ce(), fe("div", Ce({
|
|
1618
1618
|
key: 0,
|
|
1619
|
-
class: ["nb-wrapper",
|
|
1620
|
-
style: [
|
|
1619
|
+
class: ["nb-wrapper", x.value],
|
|
1620
|
+
style: [B.value],
|
|
1621
1621
|
tabIndex: e.tabIndex,
|
|
1622
1622
|
role: "button"
|
|
1623
|
-
},
|
|
1624
|
-
onClick:
|
|
1623
|
+
}, h.value, {
|
|
1624
|
+
onClick: d,
|
|
1625
1625
|
onKeydown: [
|
|
1626
|
-
|
|
1627
|
-
|
|
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
|
-
|
|
1630
|
+
ne("div", {
|
|
1631
1631
|
id: e.nbId,
|
|
1632
|
-
class:
|
|
1633
|
-
style:
|
|
1632
|
+
class: be(["nb-reset", "component", w.value]),
|
|
1633
|
+
style: ie([_.value])
|
|
1634
1634
|
}, [
|
|
1635
|
-
|
|
1635
|
+
ne("div", {
|
|
1636
1636
|
class: "component-content",
|
|
1637
|
-
style:
|
|
1637
|
+
style: ie([Z.value])
|
|
1638
1638
|
}, [
|
|
1639
|
-
|
|
1640
|
-
|
|
1639
|
+
me(o.$slots, "content", {}, () => [
|
|
1640
|
+
r[2] || (r[2] = he("Default Text"))
|
|
1641
1641
|
], !0)
|
|
1642
1642
|
], 4),
|
|
1643
|
-
|
|
1643
|
+
r[3] || (r[3] = ne("div", { class: "component-shadow" }, null, -1))
|
|
1644
1644
|
], 14, qt)
|
|
1645
|
-
], 16, Mt)) :
|
|
1645
|
+
], 16, Mt)) : ge("", !0);
|
|
1646
1646
|
}
|
|
1647
|
-
}), Gt = /* @__PURE__ */
|
|
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
|
-
|
|
1770
|
-
"33f9338a":
|
|
1771
|
-
"69aa72f4":
|
|
1772
|
-
"37e5d48f":
|
|
1773
|
-
"3d961ea8":
|
|
1774
|
-
aa62f426:
|
|
1775
|
-
"5b1254ac":
|
|
1776
|
-
"6edc2847":
|
|
1777
|
-
"40ee8ff0":
|
|
1778
|
-
"39cfc535":
|
|
1779
|
-
"11c52e40":
|
|
1780
|
-
"797ae5f8":
|
|
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
|
|
1783
|
-
display:
|
|
1784
|
-
ariaLabel:
|
|
1785
|
-
ariaAttrs:
|
|
1786
|
-
paddingX:
|
|
1787
|
-
paddingY:
|
|
1788
|
-
borderRadius:
|
|
1789
|
-
disabled:
|
|
1790
|
-
fontFamily:
|
|
1791
|
-
fontSize:
|
|
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:
|
|
1794
|
-
lightButtonColor:
|
|
1795
|
-
lightButtonColorHover:
|
|
1796
|
-
lightTextColor:
|
|
1797
|
-
lightTextColorHover:
|
|
1798
|
-
lightDisabledBgColor:
|
|
1799
|
-
darkButtonColor:
|
|
1800
|
-
darkButtonColorHover:
|
|
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:
|
|
1803
|
-
darkDisabledBgColor:
|
|
1804
|
-
} =
|
|
1805
|
-
const
|
|
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:
|
|
1808
|
-
display:
|
|
1809
|
-
font:
|
|
1810
|
-
fontSize:
|
|
1811
|
-
fontWeight:
|
|
1812
|
-
paddingX:
|
|
1813
|
-
paddingY:
|
|
1814
|
-
borderRadius:
|
|
1815
|
-
theme:
|
|
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
|
-
}),
|
|
1818
|
-
const
|
|
1817
|
+
}), _ = t(() => B.value.disabled), Z = t(() => {
|
|
1818
|
+
const u = B.value;
|
|
1819
1819
|
return {
|
|
1820
|
-
display:
|
|
1821
|
-
borderRadius: `${
|
|
1820
|
+
display: u.display,
|
|
1821
|
+
borderRadius: `${u.borderRadius}rem`
|
|
1822
1822
|
};
|
|
1823
|
-
}),
|
|
1824
|
-
const
|
|
1823
|
+
}), R = t(() => {
|
|
1824
|
+
const u = B.value;
|
|
1825
1825
|
return {
|
|
1826
|
-
padding: `${
|
|
1827
|
-
borderRadius: `${
|
|
1828
|
-
fontSize:
|
|
1829
|
-
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
|
-
}),
|
|
1832
|
-
switch (
|
|
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
|
-
}),
|
|
1839
|
-
const
|
|
1840
|
-
|
|
1841
|
-
const
|
|
1842
|
-
"aria-label":
|
|
1843
|
-
"aria-disabled":
|
|
1844
|
-
...
|
|
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(
|
|
1847
|
+
Object.entries($).filter(([j, N]) => N != null)
|
|
1848
1848
|
);
|
|
1849
|
-
}),
|
|
1850
|
-
|
|
1849
|
+
}), X = () => {
|
|
1850
|
+
E("clicked");
|
|
1851
1851
|
};
|
|
1852
|
-
return (
|
|
1852
|
+
return (u, $) => e.nbId ? (ce(), fe("div", Ce({
|
|
1853
1853
|
key: 0,
|
|
1854
|
-
class: ["nb-wrapper",
|
|
1855
|
-
style: [
|
|
1854
|
+
class: ["nb-wrapper", _.value],
|
|
1855
|
+
style: [Z.value],
|
|
1856
1856
|
tabIndex: e.tabIndex,
|
|
1857
1857
|
role: "button"
|
|
1858
|
-
},
|
|
1859
|
-
onClick:
|
|
1858
|
+
}, W.value, {
|
|
1859
|
+
onClick: X,
|
|
1860
1860
|
onKeydown: [
|
|
1861
|
-
|
|
1862
|
-
|
|
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
|
-
|
|
1865
|
+
ne("div", {
|
|
1866
1866
|
id: e.nbId,
|
|
1867
|
-
class:
|
|
1868
|
-
style:
|
|
1867
|
+
class: be(["nb-reset component component-transition", [w.value]]),
|
|
1868
|
+
style: ie([R.value])
|
|
1869
1869
|
}, [
|
|
1870
|
-
|
|
1871
|
-
|
|
1870
|
+
me(u.$slots, "content", {}, () => [
|
|
1871
|
+
$[2] || ($[2] = he("Default Text"))
|
|
1872
1872
|
], !0)
|
|
1873
1873
|
], 14, Qt)
|
|
1874
|
-
], 16, Jt)) :
|
|
1874
|
+
], 16, Jt)) : ge("", !0);
|
|
1875
1875
|
}
|
|
1876
|
-
}), ea = /* @__PURE__ */
|
|
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
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
"
|
|
2025
|
-
"
|
|
2026
|
-
|
|
2027
|
-
"
|
|
2028
|
-
"
|
|
2029
|
-
"
|
|
2030
|
-
"
|
|
2031
|
-
"
|
|
2032
|
-
|
|
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
|
|
2035
|
-
display:
|
|
2036
|
-
ariaLabel:
|
|
2037
|
-
ariaAttrs:
|
|
2038
|
-
theme:
|
|
2039
|
-
lightTextColor:
|
|
2040
|
-
lightTextColorHover:
|
|
2041
|
-
lightButtonColor:
|
|
2042
|
-
lightButtonColorHover:
|
|
2043
|
-
lightBorderColor:
|
|
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:
|
|
2046
|
-
darkTextColorHover:
|
|
2047
|
-
darkButtonColor:
|
|
2048
|
-
darkButtonColorHover:
|
|
2049
|
-
darkBorderColor:
|
|
2050
|
-
darkDisabledBgColor:
|
|
2051
|
-
showBorder:
|
|
2052
|
-
borderRadius:
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
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:
|
|
2064
|
-
display:
|
|
2065
|
-
showBorder:
|
|
2066
|
-
borderRadius:
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
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
|
-
}),
|
|
2075
|
-
display:
|
|
2076
|
-
})),
|
|
2077
|
-
const
|
|
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: `${
|
|
2080
|
-
|
|
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:
|
|
2085
|
-
fontWeight:
|
|
2075
|
+
fontSize: oe.fontSize,
|
|
2076
|
+
fontWeight: oe.fontWeight
|
|
2086
2077
|
};
|
|
2087
|
-
}),
|
|
2088
|
-
const
|
|
2089
|
-
|
|
2090
|
-
const
|
|
2091
|
-
"aria-label":
|
|
2092
|
-
"aria-disabled":
|
|
2093
|
-
...
|
|
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(
|
|
2087
|
+
Object.entries(ue).filter(([T, p]) => p != null)
|
|
2097
2088
|
);
|
|
2098
|
-
}),
|
|
2099
|
-
|
|
2089
|
+
}), ve = () => {
|
|
2090
|
+
E("clicked");
|
|
2100
2091
|
};
|
|
2101
|
-
return (
|
|
2092
|
+
return (oe, ue) => e.nbId ? (ce(), fe("div", Ce({
|
|
2102
2093
|
key: 0,
|
|
2103
|
-
class: ["nb-wrapper",
|
|
2104
|
-
style: [
|
|
2094
|
+
class: ["nb-wrapper", I.value],
|
|
2095
|
+
style: [w.value],
|
|
2105
2096
|
tabIndex: e.tabIndex,
|
|
2106
2097
|
role: "button"
|
|
2107
|
-
},
|
|
2108
|
-
onClick:
|
|
2098
|
+
}, re.value, {
|
|
2099
|
+
onClick: ve,
|
|
2109
2100
|
onKeydown: [
|
|
2110
|
-
|
|
2111
|
-
|
|
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
|
-
|
|
2105
|
+
ne("div", {
|
|
2115
2106
|
id: e.nbId,
|
|
2116
|
-
class:
|
|
2117
|
-
style:
|
|
2107
|
+
class: be(["nb-reset", "component", u.value, { "component--no-border": !n(f) }]),
|
|
2108
|
+
style: ie([W.value])
|
|
2118
2109
|
}, [
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2110
|
+
ne("div", la, [
|
|
2111
|
+
me(oe.$slots, "content", {}, () => [
|
|
2112
|
+
ue[2] || (ue[2] = he("Default Text"))
|
|
2122
2113
|
], !0)
|
|
2123
2114
|
]),
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
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)) :
|
|
2121
|
+
], 16, ta)) : ge("", !0);
|
|
2131
2122
|
}
|
|
2132
|
-
}), ra = /* @__PURE__ */
|
|
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
|
-
|
|
2224
|
-
"016c20ce":
|
|
2214
|
+
Se((w) => ({
|
|
2215
|
+
"016c20ce": B.value,
|
|
2225
2216
|
"8168e11c": b.value,
|
|
2226
|
-
a95ce2c2:
|
|
2227
|
-
"439bc76e":
|
|
2228
|
-
"70d5b6ca":
|
|
2217
|
+
a95ce2c2: m.value,
|
|
2218
|
+
"439bc76e": x.value,
|
|
2219
|
+
"70d5b6ca": i.value
|
|
2229
2220
|
})), Ee(() => {
|
|
2230
|
-
|
|
2221
|
+
R();
|
|
2231
2222
|
});
|
|
2232
|
-
const
|
|
2233
|
-
ariaLabel:
|
|
2234
|
-
ariaAttrs:
|
|
2235
|
-
theme:
|
|
2236
|
-
lightColor:
|
|
2237
|
-
lightTextColor:
|
|
2238
|
-
lightDisabledBgColor:
|
|
2239
|
-
darkColor:
|
|
2240
|
-
darkTextColor:
|
|
2241
|
-
darkDisabledBgColor:
|
|
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:
|
|
2244
|
-
fontSize:
|
|
2245
|
-
fontWeight:
|
|
2246
|
-
} =
|
|
2247
|
-
const
|
|
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:
|
|
2250
|
-
fontSize:
|
|
2251
|
-
fontWeight:
|
|
2252
|
-
disabled:
|
|
2240
|
+
font: W,
|
|
2241
|
+
fontSize: X,
|
|
2242
|
+
fontWeight: u,
|
|
2243
|
+
disabled: w
|
|
2253
2244
|
};
|
|
2254
|
-
}),
|
|
2255
|
-
const
|
|
2245
|
+
}), y = t(() => ({})), c = t(() => {
|
|
2246
|
+
const w = V.value;
|
|
2256
2247
|
return {
|
|
2257
|
-
fontSize:
|
|
2258
|
-
fontWeight:
|
|
2248
|
+
fontSize: w.fontSize,
|
|
2249
|
+
fontWeight: w.fontWeight
|
|
2259
2250
|
};
|
|
2260
|
-
}),
|
|
2261
|
-
t(() =>
|
|
2262
|
-
const
|
|
2263
|
-
t(() =>
|
|
2264
|
-
const
|
|
2265
|
-
const
|
|
2266
|
-
|
|
2267
|
-
const
|
|
2268
|
-
"aria-label":
|
|
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(
|
|
2264
|
+
Object.entries(W).filter(([X, u]) => u != null)
|
|
2274
2265
|
);
|
|
2275
|
-
}),
|
|
2276
|
-
},
|
|
2277
|
-
|
|
2266
|
+
}), R = () => {
|
|
2267
|
+
}, I = () => {
|
|
2268
|
+
E("clicked");
|
|
2278
2269
|
};
|
|
2279
|
-
return (
|
|
2270
|
+
return (w, W) => e.nbId ? (ce(), fe("div", Ce({
|
|
2280
2271
|
key: 0,
|
|
2281
|
-
class: ["nb-wrapper",
|
|
2282
|
-
style: [
|
|
2272
|
+
class: ["nb-wrapper", _.value],
|
|
2273
|
+
style: [y.value],
|
|
2283
2274
|
tabIndex: e.tabIndex,
|
|
2284
2275
|
role: "button"
|
|
2285
|
-
},
|
|
2286
|
-
onClick:
|
|
2276
|
+
}, Z.value, {
|
|
2277
|
+
onClick: I,
|
|
2287
2278
|
onKeydown: [
|
|
2288
|
-
|
|
2289
|
-
|
|
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
|
-
|
|
2283
|
+
ne("div", {
|
|
2293
2284
|
id: e.nbId,
|
|
2294
|
-
class:
|
|
2295
|
-
style:
|
|
2285
|
+
class: be(["nb-reset", "component", f.value]),
|
|
2286
|
+
style: ie([c.value])
|
|
2296
2287
|
}, [
|
|
2297
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2299
|
+
ne("span", null, Le(e.text), 1)
|
|
2309
2300
|
], 14, da)
|
|
2310
|
-
], 16, ua)) :
|
|
2301
|
+
], 16, ua)) : ge("", !0);
|
|
2311
2302
|
}
|
|
2312
|
-
}), sa = /* @__PURE__ */
|
|
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
|
-
|
|
2418
|
-
"
|
|
2419
|
-
"
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
"
|
|
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
|
|
2427
|
-
display:
|
|
2428
|
-
ariaLabel:
|
|
2429
|
-
ariaAttrs:
|
|
2430
|
-
buttonColor:
|
|
2431
|
-
borderColor:
|
|
2432
|
-
buttonHoverColor:
|
|
2433
|
-
showBorder:
|
|
2434
|
-
borderRadius:
|
|
2435
|
-
textColor:
|
|
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
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
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:
|
|
2448
|
-
display:
|
|
2449
|
-
buttonColor:
|
|
2450
|
-
buttonHoverColor:
|
|
2451
|
-
borderColor:
|
|
2452
|
-
showBorder:
|
|
2453
|
-
borderRadius:
|
|
2454
|
-
textColor:
|
|
2455
|
-
textHoverColor:
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
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
|
-
}),
|
|
2447
|
+
}), m = t(() => f.value.disabled), b = t(() => ({
|
|
2464
2448
|
display: f.value.display
|
|
2465
|
-
})),
|
|
2466
|
-
const
|
|
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:
|
|
2472
|
-
fontWeight:
|
|
2453
|
+
fontSize: u.fontSize,
|
|
2454
|
+
fontWeight: u.fontWeight
|
|
2473
2455
|
};
|
|
2474
|
-
}),
|
|
2475
|
-
const
|
|
2476
|
-
return `${
|
|
2477
|
-
}),
|
|
2478
|
-
const
|
|
2479
|
-
|
|
2480
|
-
const
|
|
2481
|
-
"aria-label":
|
|
2482
|
-
"aria-disabled":
|
|
2483
|
-
...
|
|
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(
|
|
2468
|
+
Object.entries($).filter(([j, N]) => N != null)
|
|
2487
2469
|
);
|
|
2488
|
-
}),
|
|
2489
|
-
|
|
2470
|
+
}), X = () => {
|
|
2471
|
+
E("clicked");
|
|
2490
2472
|
};
|
|
2491
|
-
return (
|
|
2473
|
+
return (u, $) => e.nbId ? (ce(), fe("div", Ce({
|
|
2492
2474
|
key: 0,
|
|
2493
|
-
class: ["nb-wrapper",
|
|
2494
|
-
style: [
|
|
2475
|
+
class: ["nb-wrapper", m.value],
|
|
2476
|
+
style: [b.value],
|
|
2495
2477
|
tabIndex: e.tabIndex,
|
|
2496
2478
|
role: "button"
|
|
2497
|
-
},
|
|
2498
|
-
onClick:
|
|
2479
|
+
}, W.value, {
|
|
2480
|
+
onClick: X,
|
|
2499
2481
|
onKeydown: [
|
|
2500
|
-
|
|
2501
|
-
|
|
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
|
-
|
|
2486
|
+
ne("div", {
|
|
2505
2487
|
id: e.nbId,
|
|
2506
2488
|
class: "nb-reset component",
|
|
2507
|
-
style:
|
|
2489
|
+
style: ie([i.value])
|
|
2508
2490
|
}, [
|
|
2509
|
-
|
|
2510
|
-
|
|
2491
|
+
me(u.$slots, "content", {}, () => [
|
|
2492
|
+
$[2] || ($[2] = he("Default Text"))
|
|
2511
2493
|
], !0)
|
|
2512
2494
|
], 12, fa)
|
|
2513
|
-
], 16, ca)) :
|
|
2495
|
+
], 16, ca)) : ge("", !0);
|
|
2514
2496
|
}
|
|
2515
|
-
}), pa = /* @__PURE__ */
|
|
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
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
"
|
|
2682
|
-
|
|
2683
|
-
"
|
|
2684
|
-
|
|
2685
|
-
"
|
|
2686
|
-
"
|
|
2687
|
-
"
|
|
2688
|
-
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2691
|
-
|
|
2692
|
-
"
|
|
2693
|
-
"
|
|
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
|
|
2696
|
-
display:
|
|
2697
|
-
ariaLabel:
|
|
2698
|
-
ariaAttrs:
|
|
2699
|
-
showBorder:
|
|
2700
|
-
borderRadius:
|
|
2701
|
-
|
|
2702
|
-
|
|
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:
|
|
2706
|
-
fontSize:
|
|
2707
|
-
fontWeight:
|
|
2708
|
-
hasAnimation:
|
|
2709
|
-
animationDuration:
|
|
2710
|
-
animationDurationType:
|
|
2711
|
-
theme:
|
|
2712
|
-
lightButtonColor:
|
|
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:
|
|
2715
|
-
lightTextColorHover:
|
|
2716
|
-
lightBorderColor:
|
|
2717
|
-
lightBorderColorHover:
|
|
2718
|
-
lightDisabledBgColor:
|
|
2719
|
-
darkButtonColor:
|
|
2720
|
-
darkButtonColorHover:
|
|
2721
|
-
darkTextColor:
|
|
2722
|
-
darkTextColorHover:
|
|
2723
|
-
darkBorderColor:
|
|
2724
|
-
darkBorderColorHover:
|
|
2725
|
-
darkDisabledBgColor:
|
|
2726
|
-
} =
|
|
2727
|
-
const
|
|
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:
|
|
2730
|
-
display:
|
|
2731
|
-
showBorder:
|
|
2732
|
-
borderRadius:
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
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
|
-
}),
|
|
2745
|
-
display:
|
|
2746
|
-
})),
|
|
2747
|
-
const
|
|
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: `${
|
|
2750
|
-
|
|
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:
|
|
2755
|
-
fontWeight:
|
|
2727
|
+
fontSize: r.fontSize,
|
|
2728
|
+
fontWeight: r.fontWeight
|
|
2756
2729
|
};
|
|
2757
|
-
}),
|
|
2758
|
-
const
|
|
2759
|
-
return
|
|
2760
|
-
}),
|
|
2761
|
-
switch (
|
|
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
|
-
}),
|
|
2768
|
-
const
|
|
2769
|
-
|
|
2770
|
-
const
|
|
2771
|
-
"aria-label":
|
|
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
|
-
...
|
|
2746
|
+
...r
|
|
2774
2747
|
};
|
|
2775
2748
|
return Object.fromEntries(
|
|
2776
|
-
Object.entries(
|
|
2749
|
+
Object.entries(s).filter(([k, ee]) => ee != null)
|
|
2777
2750
|
);
|
|
2778
|
-
}),
|
|
2779
|
-
|
|
2751
|
+
}), o = () => {
|
|
2752
|
+
E("clicked");
|
|
2780
2753
|
};
|
|
2781
|
-
return (
|
|
2754
|
+
return (r, s) => e.nbId ? (ce(), fe("div", Ce({
|
|
2782
2755
|
key: 0,
|
|
2783
|
-
class: ["nb-wrapper",
|
|
2784
|
-
style: [
|
|
2756
|
+
class: ["nb-wrapper", $.value],
|
|
2757
|
+
style: [j.value],
|
|
2785
2758
|
tabIndex: e.tabIndex,
|
|
2786
2759
|
role: "button"
|
|
2787
|
-
},
|
|
2788
|
-
onClick:
|
|
2760
|
+
}, d.value, {
|
|
2761
|
+
onClick: o,
|
|
2789
2762
|
onKeydown: [
|
|
2790
|
-
|
|
2791
|
-
|
|
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
|
-
|
|
2767
|
+
ne("div", {
|
|
2795
2768
|
id: e.nbId,
|
|
2796
|
-
class:
|
|
2797
|
-
style:
|
|
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
|
-
|
|
2800
|
-
|
|
2772
|
+
me(r.$slots, "content", {}, () => [
|
|
2773
|
+
s[2] || (s[2] = he("Default Text"))
|
|
2801
2774
|
], !0)
|
|
2802
2775
|
], 14, ga)
|
|
2803
|
-
], 16, ba)) :
|
|
2776
|
+
], 16, ba)) : ge("", !0);
|
|
2804
2777
|
}
|
|
2805
|
-
}), ma = /* @__PURE__ */
|
|
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
|
-
|
|
2952
|
-
|
|
2953
|
-
"
|
|
2954
|
-
"
|
|
2955
|
-
|
|
2956
|
-
"
|
|
2957
|
-
"
|
|
2958
|
-
|
|
2959
|
-
"
|
|
2960
|
-
"
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
"
|
|
2964
|
-
|
|
2965
|
-
"
|
|
2966
|
-
"
|
|
2967
|
-
|
|
2968
|
-
|
|
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
|
|
2971
|
-
display:
|
|
2972
|
-
ariaLabel:
|
|
2973
|
-
ariaAttrs:
|
|
2974
|
-
theme:
|
|
2975
|
-
lightTextColor:
|
|
2976
|
-
lightTextColorHover:
|
|
2977
|
-
lightButtonColor:
|
|
2978
|
-
lightButtonColorHover:
|
|
2979
|
-
lightButtonShadowColor:
|
|
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:
|
|
2982
|
-
darkTextColor:
|
|
2983
|
-
darkTextColorHover:
|
|
2984
|
-
darkButtonColor:
|
|
2985
|
-
darkButtonColorHover:
|
|
2986
|
-
darkButtonShadowColor:
|
|
2987
|
-
darkBorderColor:
|
|
2988
|
-
darkDisabledBgColor:
|
|
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
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
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:
|
|
3002
|
-
borderRadius:
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
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
|
-
}),
|
|
3011
|
-
display:
|
|
3012
|
-
})),
|
|
3013
|
-
const
|
|
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: `${
|
|
3016
|
-
|
|
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:
|
|
3021
|
-
fontWeight:
|
|
2989
|
+
fontSize: v.fontSize,
|
|
2990
|
+
fontWeight: v.fontWeight
|
|
3022
2991
|
};
|
|
3023
|
-
}),
|
|
3024
|
-
const
|
|
3025
|
-
|
|
3026
|
-
const
|
|
3027
|
-
"aria-label":
|
|
3028
|
-
"aria-disabled":
|
|
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(
|
|
3001
|
+
Object.entries(z).filter(([pe, ae]) => ae != null)
|
|
3033
3002
|
);
|
|
3034
|
-
}),
|
|
3035
|
-
|
|
3003
|
+
}), de = () => {
|
|
3004
|
+
E("clicked");
|
|
3036
3005
|
};
|
|
3037
|
-
return (
|
|
3006
|
+
return (v, z) => e.nbId ? (ce(), fe("div", Ce({
|
|
3038
3007
|
key: 0,
|
|
3039
|
-
class: ["nb-wrapper",
|
|
3040
|
-
style: [
|
|
3008
|
+
class: ["nb-wrapper", w.value],
|
|
3009
|
+
style: [W.value],
|
|
3041
3010
|
tabIndex: e.tabIndex,
|
|
3042
3011
|
role: "button"
|
|
3043
|
-
},
|
|
3044
|
-
onClick:
|
|
3012
|
+
}, p.value, {
|
|
3013
|
+
onClick: de,
|
|
3045
3014
|
onKeydown: [
|
|
3046
|
-
|
|
3047
|
-
|
|
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
|
-
|
|
3019
|
+
ne("div", {
|
|
3051
3020
|
id: e.nbId,
|
|
3052
|
-
class:
|
|
3053
|
-
style:
|
|
3021
|
+
class: be(["nb-reset component", [$.value]]),
|
|
3022
|
+
style: ie([X.value])
|
|
3054
3023
|
}, [
|
|
3055
|
-
|
|
3056
|
-
|
|
3024
|
+
me(v.$slots, "content", {}, () => [
|
|
3025
|
+
z[2] || (z[2] = he("Default Text"))
|
|
3057
3026
|
], !0)
|
|
3058
3027
|
], 14, Ca)
|
|
3059
|
-
], 16, ha)) :
|
|
3028
|
+
], 16, ha)) : ge("", !0);
|
|
3060
3029
|
}
|
|
3061
|
-
}), xa = /* @__PURE__ */
|
|
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
|
-
|
|
3198
|
-
"
|
|
3199
|
-
"
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
"
|
|
3203
|
-
"
|
|
3204
|
-
"
|
|
3205
|
-
|
|
3206
|
-
"
|
|
3207
|
-
|
|
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
|
|
3210
|
-
display:
|
|
3211
|
-
ariaLabel:
|
|
3212
|
-
ariaAttrs:
|
|
3213
|
-
theme:
|
|
3214
|
-
lightTextColor:
|
|
3215
|
-
lightTextColorHover:
|
|
3216
|
-
lightBorderColor:
|
|
3217
|
-
lightBorderColorHover:
|
|
3218
|
-
lightDisabledBgColor:
|
|
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:
|
|
3221
|
-
darkBorderColor:
|
|
3222
|
-
darkBorderColorHover:
|
|
3223
|
-
darkDisabledBgColor:
|
|
3224
|
-
borderHeight:
|
|
3225
|
-
|
|
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:
|
|
3229
|
-
fontFamily:
|
|
3230
|
-
fontSize:
|
|
3231
|
-
fontWeight:
|
|
3232
|
-
textAlign:
|
|
3233
|
-
} =
|
|
3234
|
-
const
|
|
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:
|
|
3237
|
-
display:
|
|
3238
|
-
borderHeight:
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
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
|
-
}),
|
|
3248
|
-
const
|
|
3209
|
+
}), Z = t(() => _.value.disabled), R = t(() => {
|
|
3210
|
+
const s = _.value;
|
|
3249
3211
|
return {
|
|
3250
|
-
display:
|
|
3251
|
-
textAlign:
|
|
3212
|
+
display: s.display,
|
|
3213
|
+
textAlign: s.textAlign
|
|
3252
3214
|
};
|
|
3253
|
-
}),
|
|
3254
|
-
const
|
|
3215
|
+
}), I = t(() => {
|
|
3216
|
+
const s = _.value;
|
|
3255
3217
|
return {
|
|
3256
|
-
|
|
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:
|
|
3261
|
-
fontWeight:
|
|
3220
|
+
fontSize: s.fontSize,
|
|
3221
|
+
fontWeight: s.fontWeight
|
|
3262
3222
|
};
|
|
3263
|
-
}),
|
|
3264
|
-
t(() =>
|
|
3265
|
-
const
|
|
3266
|
-
t(() =>
|
|
3267
|
-
const
|
|
3268
|
-
const
|
|
3269
|
-
|
|
3270
|
-
const
|
|
3271
|
-
"aria-label":
|
|
3272
|
-
"aria-disabled":
|
|
3273
|
-
...
|
|
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(
|
|
3236
|
+
Object.entries(k).filter(([ee, re]) => re != null)
|
|
3277
3237
|
);
|
|
3278
|
-
}),
|
|
3279
|
-
|
|
3238
|
+
}), r = () => {
|
|
3239
|
+
E("clicked");
|
|
3280
3240
|
};
|
|
3281
|
-
return (
|
|
3241
|
+
return (s, k) => e.nbId ? (ce(), fe("div", Ce({
|
|
3282
3242
|
key: 0,
|
|
3283
|
-
class: ["nb-wrapper",
|
|
3284
|
-
style: [
|
|
3243
|
+
class: ["nb-wrapper", Z.value],
|
|
3244
|
+
style: [R.value],
|
|
3285
3245
|
tabIndex: e.tabIndex,
|
|
3286
3246
|
role: "button"
|
|
3287
|
-
},
|
|
3288
|
-
onClick:
|
|
3247
|
+
}, o.value, {
|
|
3248
|
+
onClick: r,
|
|
3289
3249
|
onKeydown: [
|
|
3290
|
-
|
|
3291
|
-
|
|
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
|
-
|
|
3254
|
+
ne("div", {
|
|
3295
3255
|
id: e.nbId,
|
|
3296
|
-
class:
|
|
3297
|
-
style:
|
|
3256
|
+
class: be(["nb-reset component", [W.value]]),
|
|
3257
|
+
style: ie([I.value])
|
|
3298
3258
|
}, [
|
|
3299
|
-
|
|
3300
|
-
|
|
3259
|
+
me(s.$slots, "content", {}, () => [
|
|
3260
|
+
k[2] || (k[2] = he("Default Text"))
|
|
3301
3261
|
], !0)
|
|
3302
3262
|
], 14, ka)
|
|
3303
|
-
], 16, Ba)) :
|
|
3263
|
+
], 16, Ba)) : ge("", !0);
|
|
3304
3264
|
}
|
|
3305
|
-
}), Ta = /* @__PURE__ */
|
|
3306
|
-
const
|
|
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
|
-
|
|
3437
|
-
"
|
|
3438
|
-
|
|
3439
|
-
"
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3444
|
-
|
|
3445
|
-
"
|
|
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
|
|
3448
|
-
display:
|
|
3449
|
-
ariaLabel:
|
|
3450
|
-
ariaAttrs:
|
|
3451
|
-
theme:
|
|
3452
|
-
lightTextColor:
|
|
3453
|
-
lightTextColorHover:
|
|
3454
|
-
lightButtonColor:
|
|
3455
|
-
lightButtonColorHover:
|
|
3456
|
-
lightDisabledBgColor:
|
|
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:
|
|
3459
|
-
darkButtonColor:
|
|
3460
|
-
darkButtonColorHover:
|
|
3461
|
-
darkDisabledBgColor:
|
|
3462
|
-
|
|
3463
|
-
|
|
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:
|
|
3467
|
-
fontSize:
|
|
3468
|
-
fontWeight:
|
|
3469
|
-
textAlign:
|
|
3470
|
-
} =
|
|
3471
|
-
const
|
|
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:
|
|
3474
|
-
display:
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
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
|
-
}),
|
|
3484
|
-
const
|
|
3436
|
+
}), _ = t(() => B.value.disabled), Z = t(() => {
|
|
3437
|
+
const o = B.value;
|
|
3485
3438
|
return {
|
|
3486
|
-
display:
|
|
3487
|
-
textAlign:
|
|
3439
|
+
display: o.display,
|
|
3440
|
+
textAlign: o.textAlign
|
|
3488
3441
|
};
|
|
3489
|
-
}),
|
|
3490
|
-
const
|
|
3442
|
+
}), R = t(() => {
|
|
3443
|
+
const o = B.value;
|
|
3491
3444
|
return {
|
|
3492
|
-
|
|
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:
|
|
3497
|
-
fontWeight:
|
|
3447
|
+
fontSize: o.fontSize,
|
|
3448
|
+
fontWeight: o.fontWeight
|
|
3498
3449
|
};
|
|
3499
|
-
}),
|
|
3500
|
-
t(() =>
|
|
3501
|
-
const
|
|
3502
|
-
t(() =>
|
|
3503
|
-
const
|
|
3504
|
-
const
|
|
3505
|
-
|
|
3506
|
-
const
|
|
3507
|
-
"aria-label":
|
|
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
|
-
...
|
|
3460
|
+
...o
|
|
3510
3461
|
};
|
|
3511
3462
|
return Object.fromEntries(
|
|
3512
|
-
Object.entries(
|
|
3463
|
+
Object.entries(r).filter(([s, k]) => k != null)
|
|
3513
3464
|
);
|
|
3514
|
-
}),
|
|
3515
|
-
|
|
3465
|
+
}), d = () => {
|
|
3466
|
+
E("clicked");
|
|
3516
3467
|
};
|
|
3517
|
-
return (
|
|
3468
|
+
return (o, r) => e.nbId ? (ce(), fe("div", Ce({
|
|
3518
3469
|
key: 0,
|
|
3519
|
-
class: ["nb-wrapper",
|
|
3520
|
-
style: [
|
|
3470
|
+
class: ["nb-wrapper", _.value],
|
|
3471
|
+
style: [Z.value],
|
|
3521
3472
|
tabIndex: e.tabIndex,
|
|
3522
3473
|
role: "button"
|
|
3523
|
-
},
|
|
3524
|
-
onClick:
|
|
3474
|
+
}, h.value, {
|
|
3475
|
+
onClick: d,
|
|
3525
3476
|
onKeydown: [
|
|
3526
|
-
|
|
3527
|
-
|
|
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
|
-
|
|
3481
|
+
ne("div", {
|
|
3531
3482
|
id: e.nbId,
|
|
3532
|
-
class:
|
|
3533
|
-
style:
|
|
3483
|
+
class: be(["nb-reset component", [w.value]]),
|
|
3484
|
+
style: ie([R.value])
|
|
3534
3485
|
}, [
|
|
3535
|
-
|
|
3536
|
-
|
|
3486
|
+
me(o.$slots, "content", {}, () => [
|
|
3487
|
+
r[2] || (r[2] = he("Default Text"))
|
|
3537
3488
|
], !0)
|
|
3538
3489
|
], 14, $a)
|
|
3539
|
-
], 16,
|
|
3490
|
+
], 16, Ia)) : ge("", !0);
|
|
3540
3491
|
}
|
|
3541
|
-
}), _a = /* @__PURE__ */
|
|
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" },
|
|
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
|
-
|
|
3774
|
-
"8f9d7e60":
|
|
3775
|
-
"5798d4ef":
|
|
3776
|
-
"5274eb26":
|
|
3777
|
-
"6b8b8e3e":
|
|
3778
|
-
a05be326:
|
|
3779
|
-
"0c7b4c5f":
|
|
3780
|
-
c5ebe92a:
|
|
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
|
|
3783
|
-
display:
|
|
3784
|
-
mainButtonText:
|
|
3785
|
-
mainButtonAriaLabel:
|
|
3786
|
-
menuItems:
|
|
3787
|
-
popupButtonTitle:
|
|
3788
|
-
ariaLabel:
|
|
3789
|
-
ariaAttrs:
|
|
3790
|
-
menuItemFocusOutlineColor:
|
|
3791
|
-
menuItemFocusOutlineWidth:
|
|
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:
|
|
3794
|
-
showPopupButton:
|
|
3795
|
-
borderRadius:
|
|
3796
|
-
popupBorderRadius:
|
|
3797
|
-
width:
|
|
3798
|
-
paddingX:
|
|
3799
|
-
paddingY:
|
|
3800
|
-
popupPaddingX:
|
|
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:
|
|
3803
|
-
fontFamily:
|
|
3804
|
-
fontSize:
|
|
3805
|
-
fontWeight:
|
|
3806
|
-
popupFontFamily:
|
|
3807
|
-
popupFontSize:
|
|
3808
|
-
popupFontWeight:
|
|
3809
|
-
theme:
|
|
3810
|
-
lightButtonColor:
|
|
3811
|
-
lightButtonColorHover:
|
|
3812
|
-
lightTextColor:
|
|
3813
|
-
lightTextColorHover:
|
|
3814
|
-
lightBorderColor:
|
|
3815
|
-
lightBorderColorHover:
|
|
3816
|
-
lightPopupBgColor:
|
|
3817
|
-
lightMenuItemHoverColor:
|
|
3818
|
-
lightMenuItemTextColor:
|
|
3819
|
-
lightDisabledBgColor:
|
|
3820
|
-
darkButtonColor:
|
|
3821
|
-
darkButtonColorHover:
|
|
3822
|
-
darkTextColor:
|
|
3823
|
-
darkTextColorHover:
|
|
3824
|
-
darkBorderColor:
|
|
3825
|
-
darkBorderColorHover:
|
|
3826
|
-
darkPopupBgColor:
|
|
3827
|
-
darkMenuItemHoverColor:
|
|
3828
|
-
darkMenuItemTextColor:
|
|
3829
|
-
darkDisabledBgColor:
|
|
3830
|
-
} =
|
|
3831
|
-
const a =
|
|
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:
|
|
3835
|
-
showBorder:
|
|
3836
|
-
showPopupButton:
|
|
3837
|
-
borderRadius:
|
|
3838
|
-
popupBorderRadius:
|
|
3785
|
+
display: C,
|
|
3786
|
+
showBorder: ke,
|
|
3787
|
+
showPopupButton: Ie,
|
|
3788
|
+
borderRadius: le,
|
|
3789
|
+
popupBorderRadius: se,
|
|
3839
3790
|
menuItemFocusOutlineColor: $e,
|
|
3840
|
-
menuItemFocusOutlineWidth:
|
|
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
|
-
}),
|
|
3855
|
-
switch (
|
|
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(() =>
|
|
3862
|
-
display:
|
|
3863
|
-
})),
|
|
3864
|
-
const a =
|
|
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
|
-
...
|
|
3820
|
+
...C
|
|
3870
3821
|
};
|
|
3871
|
-
}),
|
|
3872
|
-
const a =
|
|
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
|
-
},
|
|
3880
|
-
borderTop: `1px solid ${a.theme === "dark" ?
|
|
3881
|
-
borderBottom: `1px solid ${a.theme === "dark" ?
|
|
3882
|
-
borderLeft: `1px solid ${a.theme === "dark" ?
|
|
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" ?
|
|
3886
|
-
} : { border: "none" },
|
|
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:
|
|
3889
|
-
backgroundColor:
|
|
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
|
-
...
|
|
3896
|
-
...
|
|
3897
|
-
minWidth:
|
|
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":
|
|
3851
|
+
"--main-text-hover-color": De,
|
|
3901
3852
|
"--main-border-hover-color": Xe
|
|
3902
3853
|
};
|
|
3903
3854
|
}), Je = t(() => {
|
|
3904
|
-
const a =
|
|
3905
|
-
borderTop: `1px solid ${
|
|
3906
|
-
borderBottom: `1px solid ${
|
|
3907
|
-
borderRight: `1px solid ${
|
|
3908
|
-
borderLeft: `1px solid ${
|
|
3909
|
-
} : { border: "none" },
|
|
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:
|
|
3912
|
-
backgroundColor:
|
|
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
|
-
...
|
|
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":
|
|
3923
|
-
"--popup-button-active-color":
|
|
3873
|
+
"--popup-button-hover-color": Ie,
|
|
3874
|
+
"--popup-button-active-color": Ie,
|
|
3924
3875
|
"--popup-text-hover-color": $e,
|
|
3925
|
-
"--popup-border-hover-color":
|
|
3876
|
+
"--popup-border-hover-color": De
|
|
3926
3877
|
};
|
|
3927
3878
|
}), Qe = t(() => {
|
|
3928
|
-
const a =
|
|
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:
|
|
3931
|
-
color:
|
|
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:
|
|
3935
|
-
"--menu-item-hover-color":
|
|
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(() =>
|
|
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
|
-
|
|
3949
|
-
const
|
|
3950
|
-
"aria-label":
|
|
3951
|
-
"aria-disabled":
|
|
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(
|
|
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:
|
|
3911
|
+
detail: { excludeId: te.nbId }
|
|
3961
3912
|
}));
|
|
3962
3913
|
}, Fe = (a) => {
|
|
3963
|
-
var
|
|
3964
|
-
((
|
|
3965
|
-
},
|
|
3966
|
-
|
|
3967
|
-
if (
|
|
3968
|
-
const a =
|
|
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
|
|
3971
|
-
(
|
|
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
|
-
|
|
3926
|
+
Ve.value = !1;
|
|
3976
3927
|
}, 10);
|
|
3977
|
-
}) : (
|
|
3928
|
+
}) : (ae.value = -1, Ve.value = !1));
|
|
3978
3929
|
}, ze = () => {
|
|
3979
|
-
if (!
|
|
3980
|
-
if (!
|
|
3981
|
-
|
|
3930
|
+
if (!i.value) {
|
|
3931
|
+
if (!L.value && O.value.length > 0) {
|
|
3932
|
+
Ne();
|
|
3982
3933
|
return;
|
|
3983
3934
|
}
|
|
3984
|
-
|
|
3935
|
+
E("main-clicked"), E("clicked", { type: "main" });
|
|
3985
3936
|
}
|
|
3986
|
-
}, Ye = (a,
|
|
3987
|
-
a.disabled ||
|
|
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
|
-
|
|
3940
|
+
z.value && z.value.setAttribute("aria-expanded", "true");
|
|
3990
3941
|
}, ut = (a) => {
|
|
3991
|
-
var
|
|
3992
|
-
|
|
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
|
|
3995
|
-
|
|
3996
|
-
},
|
|
3997
|
-
(a.code === "Escape" || a.code === "Backspace") &&
|
|
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 && (
|
|
4000
|
-
var
|
|
4001
|
-
const
|
|
4002
|
-
|
|
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
|
|
4006
|
-
const
|
|
4007
|
-
|
|
4008
|
-
|
|
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
|
|
4012
|
-
if (
|
|
3962
|
+
var se, ke;
|
|
3963
|
+
if (Ve.value || !p.value || (se = de.value) != null && se.contains(a.target))
|
|
4013
3964
|
return;
|
|
4014
|
-
const
|
|
4015
|
-
((
|
|
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
|
-
|
|
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,
|
|
3974
|
+
}), (a, C) => e.nbId ? (ce(), fe("div", {
|
|
4024
3975
|
key: 0,
|
|
4025
3976
|
ref_key: "wrapperRef",
|
|
4026
|
-
ref:
|
|
4027
|
-
class:
|
|
4028
|
-
style:
|
|
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
|
-
|
|
3982
|
+
ne("div", {
|
|
4032
3983
|
id: e.nbId,
|
|
4033
|
-
class:
|
|
4034
|
-
style:
|
|
3984
|
+
class: be(["nb-reset", "component", { "component--block": n(U) === "b" }, we.value]),
|
|
3985
|
+
style: ie([Re.value])
|
|
4035
3986
|
}, [
|
|
4036
|
-
|
|
3987
|
+
ne("button", {
|
|
4037
3988
|
ref_key: "mainButtonRef",
|
|
4038
|
-
ref:
|
|
4039
|
-
class:
|
|
4040
|
-
style:
|
|
4041
|
-
disabled:
|
|
4042
|
-
"aria-label":
|
|
4043
|
-
"aria-haspopup": !
|
|
4044
|
-
"aria-expanded":
|
|
4045
|
-
tabindex:
|
|
4046
|
-
onClick:
|
|
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
|
-
|
|
4049
|
-
|
|
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
|
-
|
|
4053
|
-
|
|
4003
|
+
me(a.$slots, "main-content", {}, () => [
|
|
4004
|
+
he(Le(n(J)), 1)
|
|
4054
4005
|
], !0)
|
|
4055
4006
|
], 46, Na),
|
|
4056
|
-
|
|
4007
|
+
n(L) ? (ce(), fe("span", {
|
|
4057
4008
|
key: 0,
|
|
4058
4009
|
ref_key: "popupButtonRef",
|
|
4059
|
-
ref:
|
|
4060
|
-
class:
|
|
4061
|
-
style:
|
|
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":
|
|
4064
|
-
title:
|
|
4065
|
-
tabindex:
|
|
4066
|
-
onClick:
|
|
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
|
-
|
|
4071
|
-
|
|
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
|
-
|
|
4075
|
-
|
|
4025
|
+
A(He, ["escape"]),
|
|
4026
|
+
A(He, ["backspace"])
|
|
4076
4027
|
]
|
|
4077
4028
|
}, [
|
|
4078
|
-
|
|
4079
|
-
(
|
|
4080
|
-
class:
|
|
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
|
-
},
|
|
4086
|
-
|
|
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)) :
|
|
4090
|
-
|
|
4040
|
+
], 46, Ha)) : ge("", !0),
|
|
4041
|
+
p.value ? (ce(), fe("div", {
|
|
4091
4042
|
key: 1,
|
|
4092
4043
|
ref_key: "popupRef",
|
|
4093
|
-
ref:
|
|
4094
|
-
class:
|
|
4095
|
-
style:
|
|
4044
|
+
ref: pe,
|
|
4045
|
+
class: be(["split-button__popup", { "split-button__popup--open": p.value }]),
|
|
4046
|
+
style: ie([Qe.value])
|
|
4096
4047
|
}, [
|
|
4097
|
-
(
|
|
4098
|
-
key:
|
|
4099
|
-
class:
|
|
4100
|
-
style:
|
|
4101
|
-
disabled:
|
|
4102
|
-
tabindex:
|
|
4103
|
-
onClick:
|
|
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
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
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
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
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
|
-
])) :
|
|
4118
|
-
|
|
4068
|
+
])) : ge("", !0),
|
|
4069
|
+
ne("span", Oa, Le(le.label), 1)
|
|
4119
4070
|
], 46, Aa))), 128))
|
|
4120
|
-
], 6)) :
|
|
4071
|
+
], 6)) : ge("", !0)
|
|
4121
4072
|
], 14, Da)
|
|
4122
|
-
], 38)) :
|
|
4073
|
+
], 38)) : ge("", !0);
|
|
4123
4074
|
}
|
|
4124
|
-
}),
|
|
4075
|
+
}), Wa = /* @__PURE__ */ Be(Ra, [["__scopeId", "data-v-06da0798"]]), je = {
|
|
4125
4076
|
NbButtonVavaGame: Vt,
|
|
4126
|
-
NbButtonShowHover:
|
|
4077
|
+
NbButtonShowHover: wt,
|
|
4127
4078
|
NbButtonPrevNext: At,
|
|
4128
|
-
NbButtonMechanical:
|
|
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:
|
|
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
|
|
4146
|
-
e.component(
|
|
4096
|
+
const E = je[l];
|
|
4097
|
+
e.component(E.name, E);
|
|
4147
4098
|
}
|
|
4148
4099
|
}
|
|
4149
4100
|
};
|