@vlalg-nimbus/nb-inputs 9.4.0 → 9.5.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-inputs.js +228 -198
- package/dist/nb-inputs.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/nb-inputs.js
CHANGED
|
@@ -4,7 +4,7 @@ const Oa = (e, b) => {
|
|
|
4
4
|
for (const [h, F] of b)
|
|
5
5
|
g[h] = F;
|
|
6
6
|
return g;
|
|
7
|
-
}, wl = ["
|
|
7
|
+
}, wl = ["title"], Dl = ["id"], Rl = ["id", "disabled", "value", "name"], Ml = ["for", "tabindex"], Nl = /* @__PURE__ */ Object.assign({
|
|
8
8
|
name: "NbInputRadio",
|
|
9
9
|
inheritAttrs: !1
|
|
10
10
|
}, {
|
|
@@ -43,6 +43,10 @@ const Oa = (e, b) => {
|
|
|
43
43
|
type: Object,
|
|
44
44
|
default: () => ({})
|
|
45
45
|
},
|
|
46
|
+
title: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: ""
|
|
49
|
+
},
|
|
46
50
|
groupName: {
|
|
47
51
|
type: String,
|
|
48
52
|
default: "",
|
|
@@ -153,17 +157,17 @@ const Oa = (e, b) => {
|
|
|
153
157
|
emits: ["current-value", "changed", "clicked"],
|
|
154
158
|
setup(e, { emit: b }) {
|
|
155
159
|
Wa((V) => ({
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"
|
|
162
|
-
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
160
|
+
"32db2fe1": Ue.value,
|
|
161
|
+
"7548f2cd": xt.value,
|
|
162
|
+
"6ca0b972": St.value,
|
|
163
|
+
eb1de6ec: ot.value,
|
|
164
|
+
f1fdc220: ht.value,
|
|
165
|
+
"285fd002": pe.value,
|
|
166
|
+
ed3b34a8: vt.value,
|
|
167
|
+
"0c621d08": pt.value,
|
|
168
|
+
"552fe5ee": Lt.value,
|
|
169
|
+
"4d4d7941": ze.value,
|
|
170
|
+
a4929024: Le.value
|
|
167
171
|
})), Aa(() => {
|
|
168
172
|
gt();
|
|
169
173
|
});
|
|
@@ -244,7 +248,8 @@ const Oa = (e, b) => {
|
|
|
244
248
|
}), (V, D) => e.nbId && Xe.value ? (O(), K("div", {
|
|
245
249
|
key: 0,
|
|
246
250
|
class: Ye(["nb-wrapper", Qe.value]),
|
|
247
|
-
style: Ne([v.value, Ct.value])
|
|
251
|
+
style: Ne([v.value, Ct.value]),
|
|
252
|
+
title: e.title
|
|
248
253
|
}, [
|
|
249
254
|
Ve("div", $a({
|
|
250
255
|
id: e.nbId,
|
|
@@ -265,7 +270,7 @@ const Oa = (e, b) => {
|
|
|
265
270
|
value: Se.value,
|
|
266
271
|
name: e.groupName,
|
|
267
272
|
onClick: D[1] || (D[1] = (ge) => et(ge))
|
|
268
|
-
}, null, 8,
|
|
273
|
+
}, null, 8, Rl), [
|
|
269
274
|
[Tl, F.value]
|
|
270
275
|
]),
|
|
271
276
|
Ve("label", {
|
|
@@ -281,13 +286,13 @@ const Oa = (e, b) => {
|
|
|
281
286
|
Ve("span", {
|
|
282
287
|
style: Ne([Oe.value])
|
|
283
288
|
}, Rt(Se.text), 5)
|
|
284
|
-
], 40,
|
|
289
|
+
], 40, Ml)
|
|
285
290
|
]))), 128))
|
|
286
|
-
], 16,
|
|
287
|
-
],
|
|
291
|
+
], 16, Dl)
|
|
292
|
+
], 14, wl)) : me("", !0);
|
|
288
293
|
}
|
|
289
|
-
}),
|
|
290
|
-
const
|
|
294
|
+
}), Fl = /* @__PURE__ */ Oa(Nl, [["__scopeId", "data-v-e2deea1c"]]);
|
|
295
|
+
const zl = ["title"], Il = ["id"], Wl = ["id", "disabled", "value", "name"], El = ["for", "tabindex"], Pl = /* @__PURE__ */ Object.assign({
|
|
291
296
|
name: "NbInputCheckbox",
|
|
292
297
|
inheritAttrs: !1
|
|
293
298
|
}, {
|
|
@@ -326,6 +331,10 @@ const Fl = ["id"], zl = ["id", "disabled", "value", "name"], Il = ["for", "tabin
|
|
|
326
331
|
type: Object,
|
|
327
332
|
default: () => ({})
|
|
328
333
|
},
|
|
334
|
+
title: {
|
|
335
|
+
type: String,
|
|
336
|
+
default: ""
|
|
337
|
+
},
|
|
329
338
|
groupName: {
|
|
330
339
|
type: String,
|
|
331
340
|
default: "",
|
|
@@ -449,21 +458,21 @@ const Fl = ["id"], zl = ["id", "disabled", "value", "name"], Il = ["for", "tabin
|
|
|
449
458
|
emits: ["current-value", "changed", "clicked"],
|
|
450
459
|
setup(e, { emit: b }) {
|
|
451
460
|
Wa((y) => ({
|
|
452
|
-
"
|
|
453
|
-
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
|
|
457
|
-
"
|
|
458
|
-
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
"
|
|
464
|
-
|
|
465
|
-
"
|
|
466
|
-
|
|
461
|
+
"22f8e774": vt.value,
|
|
462
|
+
"29caa8e0": Se.value,
|
|
463
|
+
"240ce203": D.value,
|
|
464
|
+
"0339a3f6": V.value,
|
|
465
|
+
"3452f846": Le.value,
|
|
466
|
+
"5c5b5083": ze.value,
|
|
467
|
+
"3572107c": Lt.value,
|
|
468
|
+
"8543778e": ot.value,
|
|
469
|
+
"2b202fe8": ht.value,
|
|
470
|
+
"74e1ec5c": et.value,
|
|
471
|
+
"1796ef55": Ct.value,
|
|
472
|
+
"53cfb5fb": xt.value,
|
|
473
|
+
aecb358c: Ae.value,
|
|
474
|
+
"4ea3587e": St.value,
|
|
475
|
+
"8ec618d8": pt.value
|
|
467
476
|
})), Aa(() => {
|
|
468
477
|
Ge();
|
|
469
478
|
});
|
|
@@ -562,7 +571,8 @@ const Fl = ["id"], zl = ["id", "disabled", "value", "name"], Il = ["for", "tabin
|
|
|
562
571
|
}), (y, k) => e.nbId && Ue.value ? (O(), K("div", {
|
|
563
572
|
key: 0,
|
|
564
573
|
class: Ye(["nb-wrapper", de.value]),
|
|
565
|
-
style: Ne([Oe.value, ge.value])
|
|
574
|
+
style: Ne([Oe.value, ge.value]),
|
|
575
|
+
title: e.title
|
|
566
576
|
}, [
|
|
567
577
|
Ve("div", $a({
|
|
568
578
|
id: e.nbId,
|
|
@@ -583,7 +593,7 @@ const Fl = ["id"], zl = ["id", "disabled", "value", "name"], Il = ["for", "tabin
|
|
|
583
593
|
value: ce.value,
|
|
584
594
|
name: e.groupName,
|
|
585
595
|
onClick: k[1] || (k[1] = (ye) => Ie(ye))
|
|
586
|
-
}, null, 8,
|
|
596
|
+
}, null, 8, Wl), [
|
|
587
597
|
[kl, F.value]
|
|
588
598
|
]),
|
|
589
599
|
Ve("label", {
|
|
@@ -601,16 +611,16 @@ const Fl = ["id"], zl = ["id", "disabled", "value", "name"], Il = ["for", "tabin
|
|
|
601
611
|
Ve("span", {
|
|
602
612
|
style: Ne([S.value])
|
|
603
613
|
}, Rt(ce.text), 5)
|
|
604
|
-
], 42,
|
|
614
|
+
], 42, El)
|
|
605
615
|
]))), 128))
|
|
606
|
-
], 16,
|
|
607
|
-
],
|
|
616
|
+
], 16, Il)
|
|
617
|
+
], 14, zl)) : me("", !0);
|
|
608
618
|
}
|
|
609
|
-
}),
|
|
610
|
-
const
|
|
619
|
+
}), Ol = /* @__PURE__ */ Oa(Pl, [["__scopeId", "data-v-adc48894"]]);
|
|
620
|
+
const _l = ["title"], Hl = ["id"], ql = ["for"], jl = {
|
|
611
621
|
key: 0,
|
|
612
622
|
class: "component__label--required"
|
|
613
|
-
},
|
|
623
|
+
}, Yl = ["for"], Ul = { key: 0 }, Gl = { key: 1 }, Kl = ["id", "name", "type", "placeholder", "disabled", "required", "readonly", "autocomplete", "tabindex", "min", "max", "step"], Zl = ["for"], Jl = /* @__PURE__ */ Object.assign({
|
|
614
624
|
name: "NbInput",
|
|
615
625
|
inheritAttrs: !1
|
|
616
626
|
}, {
|
|
@@ -644,6 +654,10 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
644
654
|
type: Object,
|
|
645
655
|
default: () => ({})
|
|
646
656
|
},
|
|
657
|
+
title: {
|
|
658
|
+
type: String,
|
|
659
|
+
default: ""
|
|
660
|
+
},
|
|
647
661
|
textColor: {
|
|
648
662
|
// TESTAR AINDA
|
|
649
663
|
type: String,
|
|
@@ -1064,43 +1078,43 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
1064
1078
|
],
|
|
1065
1079
|
setup(e, { emit: b }) {
|
|
1066
1080
|
Wa((o) => ({
|
|
1067
|
-
"
|
|
1068
|
-
|
|
1069
|
-
"
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
"
|
|
1073
|
-
"
|
|
1074
|
-
"
|
|
1075
|
-
|
|
1076
|
-
"
|
|
1077
|
-
"
|
|
1078
|
-
"
|
|
1079
|
-
"
|
|
1080
|
-
"
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
"
|
|
1084
|
-
|
|
1085
|
-
"
|
|
1086
|
-
"
|
|
1087
|
-
|
|
1088
|
-
"
|
|
1089
|
-
|
|
1090
|
-
"
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
"
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1100
|
-
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1103
|
-
"
|
|
1081
|
+
"34fbb86a": Et.value,
|
|
1082
|
+
"8cfd3634": ra.value,
|
|
1083
|
+
"296e0fca": u(Ct),
|
|
1084
|
+
10702736: ca.value,
|
|
1085
|
+
"63eb97f0": fa.value,
|
|
1086
|
+
"0b4b79a0": va.value,
|
|
1087
|
+
"5d2bb4b6": u(Se),
|
|
1088
|
+
"3d293b2c": u(Ee),
|
|
1089
|
+
f44ec88c: u(te),
|
|
1090
|
+
"3f6aec78": u(Mt),
|
|
1091
|
+
"16a65831": u(D),
|
|
1092
|
+
"5d891dc4": u(et),
|
|
1093
|
+
"00b20dc4": u(V),
|
|
1094
|
+
"33ad448f": dt.value,
|
|
1095
|
+
bd03c566: u(Ae),
|
|
1096
|
+
bd80e0ea: u(gt),
|
|
1097
|
+
"1126d918": u(We),
|
|
1098
|
+
"7e602e04": u(ge),
|
|
1099
|
+
"008ceec0": u(yt),
|
|
1100
|
+
"10befa27": u(xt),
|
|
1101
|
+
19922530: u(pt),
|
|
1102
|
+
"49adaa8e": u(St),
|
|
1103
|
+
"16bb1543": u(Le),
|
|
1104
|
+
"324d2155": u(Lt),
|
|
1105
|
+
"5c677712": ha.value,
|
|
1106
|
+
"0fd36a82": xa.value,
|
|
1107
|
+
"5641451d": Ca.value,
|
|
1108
|
+
"73afa7e6": _t.value,
|
|
1109
|
+
fabca1a0: Dt.value,
|
|
1110
|
+
fb9f7ac6: u(tt),
|
|
1111
|
+
"3b5b33fc": ya.value,
|
|
1112
|
+
"7b751786": Pt.value,
|
|
1113
|
+
"076c4dfc": ia.value,
|
|
1114
|
+
46951225: Ut.value,
|
|
1115
|
+
"1461f67f": da.value,
|
|
1116
|
+
"08c4370a": Gt.value,
|
|
1117
|
+
"3484e440": sa.value
|
|
1104
1118
|
})), Aa(() => {
|
|
1105
1119
|
pe.value != null ? de.value === "number" && typeof pe.value == "number" ? z.value = pe.value : z.value = String(pe.value) : z.value = "";
|
|
1106
1120
|
}), Ya(() => {
|
|
@@ -1460,7 +1474,8 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
1460
1474
|
key: 0,
|
|
1461
1475
|
class: ["nb-wrapper", Ft.value],
|
|
1462
1476
|
style: [oa.value, Kt.value, st.value],
|
|
1463
|
-
role: "input"
|
|
1477
|
+
role: "input",
|
|
1478
|
+
title: e.title
|
|
1464
1479
|
}, ma.value), [
|
|
1465
1480
|
Ve("div", {
|
|
1466
1481
|
id: u(F),
|
|
@@ -1476,8 +1491,8 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
1476
1491
|
onClick: Ta
|
|
1477
1492
|
}, [
|
|
1478
1493
|
jt(Rt(u(Nt)), 1),
|
|
1479
|
-
e.required ? (O(), K("span",
|
|
1480
|
-
], 12,
|
|
1494
|
+
e.required ? (O(), K("span", jl, "*")) : me("", !0)
|
|
1495
|
+
], 12, ql)) : me("", !0),
|
|
1481
1496
|
Ot.value ? (O(), K("div", {
|
|
1482
1497
|
key: 1,
|
|
1483
1498
|
class: Ye(["component__eye", ga.value]),
|
|
@@ -1488,14 +1503,14 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
1488
1503
|
for: x.value,
|
|
1489
1504
|
class: Ye(["component__eye-icon", "fas"])
|
|
1490
1505
|
}, [
|
|
1491
|
-
e.inputEyeCustomIcon ? (O(), K("span",
|
|
1506
|
+
e.inputEyeCustomIcon ? (O(), K("span", Gl, [
|
|
1492
1507
|
wt.value ? La(o.$slots, "eye-icon-show", { key: 0 }, () => [
|
|
1493
1508
|
m[5] || (m[5] = jt("show"))
|
|
1494
1509
|
], !0) : La(o.$slots, "eye-icon-hidden", { key: 1 }, () => [
|
|
1495
1510
|
m[6] || (m[6] = jt("hidden"))
|
|
1496
1511
|
], !0)
|
|
1497
|
-
])) : (O(), K("span",
|
|
1498
|
-
], 8,
|
|
1512
|
+
])) : (O(), K("span", Ul, Rt(i.value), 1))
|
|
1513
|
+
], 8, Yl)
|
|
1499
1514
|
], 6)) : me("", !0),
|
|
1500
1515
|
Pa(Ve("input", {
|
|
1501
1516
|
ref_key: "inputRef",
|
|
@@ -1524,7 +1539,7 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
1524
1539
|
onBlur: m[2] || (m[2] = (Ce) => it.value = !1),
|
|
1525
1540
|
onKeydown: m[3] || (m[3] = na((Ce) => !u(w) && u(fe) && ea(), ["enter"])),
|
|
1526
1541
|
onPaste: ka
|
|
1527
|
-
}, null, 46,
|
|
1542
|
+
}, null, 46, Kl), [
|
|
1528
1543
|
[ml, z.value]
|
|
1529
1544
|
]),
|
|
1530
1545
|
u(y) ? (O(), K("label", {
|
|
@@ -1535,8 +1550,8 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
1535
1550
|
La(o.$slots, "icon", {}, () => [
|
|
1536
1551
|
m[7] || (m[7] = Ve("span", null, "♥", -1))
|
|
1537
1552
|
], !0)
|
|
1538
|
-
], 10,
|
|
1539
|
-
], 14,
|
|
1553
|
+
], 10, Zl)) : me("", !0)
|
|
1554
|
+
], 14, Hl),
|
|
1540
1555
|
ba.value ? (O(), K("div", {
|
|
1541
1556
|
key: 0,
|
|
1542
1557
|
class: Ye(["component__message", e.hasCustomMsg ? "component__message--custom" : "component__message--default"])
|
|
@@ -1545,13 +1560,13 @@ const Pl = ["id"], Ol = ["for"], _l = {
|
|
|
1545
1560
|
jt(Rt(e.message), 1)
|
|
1546
1561
|
], !0)
|
|
1547
1562
|
], 2)) : me("", !0)
|
|
1548
|
-
], 16)) : me("", !0);
|
|
1563
|
+
], 16, _l)) : me("", !0);
|
|
1549
1564
|
}
|
|
1550
|
-
}),
|
|
1551
|
-
const
|
|
1565
|
+
}), Ql = /* @__PURE__ */ Oa(Jl, [["__scopeId", "data-v-cbd5f858"]]);
|
|
1566
|
+
const Xl = ["title"], en = ["for"], tn = {
|
|
1552
1567
|
key: 0,
|
|
1553
1568
|
class: "component__label--required"
|
|
1554
|
-
},
|
|
1569
|
+
}, an = ["id"], ln = ["onClick"], nn = ["id", "name", "placeholder", "readonly", "autocomplete", "required", "tabindex"], on = /* @__PURE__ */ Object.assign({
|
|
1555
1570
|
name: "NbInputChip",
|
|
1556
1571
|
inheritAttrs: !1
|
|
1557
1572
|
}, {
|
|
@@ -1585,6 +1600,10 @@ const Zl = ["for"], Jl = {
|
|
|
1585
1600
|
type: Object,
|
|
1586
1601
|
default: () => ({})
|
|
1587
1602
|
},
|
|
1603
|
+
title: {
|
|
1604
|
+
type: String,
|
|
1605
|
+
default: ""
|
|
1606
|
+
},
|
|
1588
1607
|
caretColor: {
|
|
1589
1608
|
type: String,
|
|
1590
1609
|
default: "",
|
|
@@ -1899,32 +1918,32 @@ const Zl = ["for"], Jl = {
|
|
|
1899
1918
|
emits: ["clicked", "changed", "removed", "added", "input-changed", "focused", "blurred", "paste"],
|
|
1900
1919
|
setup(e, { emit: b }) {
|
|
1901
1920
|
Wa((c) => ({
|
|
1902
|
-
|
|
1903
|
-
"
|
|
1904
|
-
|
|
1905
|
-
"
|
|
1906
|
-
|
|
1907
|
-
"
|
|
1908
|
-
"
|
|
1909
|
-
|
|
1910
|
-
"
|
|
1911
|
-
|
|
1912
|
-
"
|
|
1913
|
-
"
|
|
1914
|
-
"
|
|
1915
|
-
"
|
|
1916
|
-
|
|
1917
|
-
"
|
|
1918
|
-
"
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
"
|
|
1922
|
-
"
|
|
1923
|
-
|
|
1924
|
-
"
|
|
1925
|
-
"
|
|
1926
|
-
|
|
1927
|
-
"
|
|
1921
|
+
86796416: z.value,
|
|
1922
|
+
"9c4e27f0": kt.value,
|
|
1923
|
+
caf14834: u(ht),
|
|
1924
|
+
"3d45efce": u(Xe),
|
|
1925
|
+
"3aad0847": u(Ue),
|
|
1926
|
+
"7b766de2": u(ot),
|
|
1927
|
+
"0e90a4fa": u(ze),
|
|
1928
|
+
d93261fa: u(Le),
|
|
1929
|
+
"7c3a9c7a": u(gt),
|
|
1930
|
+
db8f753c: u(pt),
|
|
1931
|
+
"7c9273db": u(xt),
|
|
1932
|
+
"85484d14": u(et),
|
|
1933
|
+
"6cc97b8e": u(V),
|
|
1934
|
+
"46c45097": u(D),
|
|
1935
|
+
e5231e5e: u(pe),
|
|
1936
|
+
"45c121bd": u(Ct),
|
|
1937
|
+
"6451dbbb": $t.value,
|
|
1938
|
+
"48fe3ccb": it.value,
|
|
1939
|
+
de15f446: N.value,
|
|
1940
|
+
"826dab96": Ft.value,
|
|
1941
|
+
"565afcf4": c.styleButtonColor,
|
|
1942
|
+
d6081caa: G.value,
|
|
1943
|
+
"560fcc9c": u(vt),
|
|
1944
|
+
"10a0bfaa": u(Lt),
|
|
1945
|
+
ef54c974: u(Ae),
|
|
1946
|
+
"52eb9082": u(Se)
|
|
1928
1947
|
})), Aa(() => {
|
|
1929
1948
|
_.value.length > 0 && (Re.value = _.value);
|
|
1930
1949
|
});
|
|
@@ -2186,7 +2205,8 @@ const Zl = ["for"], Jl = {
|
|
|
2186
2205
|
key: 0,
|
|
2187
2206
|
class: ["nb-wrapper", ut.value],
|
|
2188
2207
|
style: [ne.value],
|
|
2189
|
-
role: "input"
|
|
2208
|
+
role: "input",
|
|
2209
|
+
title: e.title
|
|
2190
2210
|
}, wt.value, {
|
|
2191
2211
|
onClick: A[2] || (A[2] = (ie) => da(ie))
|
|
2192
2212
|
}), [
|
|
@@ -2197,8 +2217,8 @@ const Zl = ["for"], Jl = {
|
|
|
2197
2217
|
style: Ne([ia.value])
|
|
2198
2218
|
}, [
|
|
2199
2219
|
jt(Rt(u(be)), 1),
|
|
2200
|
-
u(Be) ? (O(), K("span",
|
|
2201
|
-
], 12,
|
|
2220
|
+
u(Be) ? (O(), K("span", tn, "*")) : me("", !0)
|
|
2221
|
+
], 12, en)) : me("", !0),
|
|
2202
2222
|
Ve("div", {
|
|
2203
2223
|
id: u(F),
|
|
2204
2224
|
ref_key: "chipsContainer",
|
|
@@ -2230,7 +2250,7 @@ const Zl = ["for"], Jl = {
|
|
|
2230
2250
|
class: "chip-remove",
|
|
2231
2251
|
style: Ne([Ut.value]),
|
|
2232
2252
|
onClick: (Ze) => zt(ie)
|
|
2233
|
-
}, "×", 12,
|
|
2253
|
+
}, "×", 12, ln)) : me("", !0)
|
|
2234
2254
|
], !0)
|
|
2235
2255
|
]))), 128))
|
|
2236
2256
|
], 512)) : me("", !0),
|
|
@@ -2252,17 +2272,17 @@ const Zl = ["for"], Jl = {
|
|
|
2252
2272
|
onFocus: ca,
|
|
2253
2273
|
onBlur: fa,
|
|
2254
2274
|
onPaste: va
|
|
2255
|
-
}, null, 46,
|
|
2275
|
+
}, null, 46, nn), [
|
|
2256
2276
|
[hl, Y.value]
|
|
2257
2277
|
])
|
|
2258
|
-
], 14,
|
|
2259
|
-
], 16)) : me("", !0);
|
|
2278
|
+
], 14, an)
|
|
2279
|
+
], 16, Xl)) : me("", !0);
|
|
2260
2280
|
}
|
|
2261
|
-
}),
|
|
2262
|
-
const
|
|
2281
|
+
}), rn = /* @__PURE__ */ Oa(on, [["__scopeId", "data-v-31b94065"]]);
|
|
2282
|
+
const un = ["title"], sn = ["id"], dn = ["for"], cn = {
|
|
2263
2283
|
key: 0,
|
|
2264
2284
|
class: "component__label--required"
|
|
2265
|
-
},
|
|
2285
|
+
}, fn = ["id", "name", "placeholder", "disabled", "required", "readonly", "autocomplete", "tabindex"], vn = /* @__PURE__ */ Object.assign({
|
|
2266
2286
|
name: "NbTextarea",
|
|
2267
2287
|
inheritAttrs: !1
|
|
2268
2288
|
}, {
|
|
@@ -2296,6 +2316,10 @@ const ln = ["id"], nn = ["for"], on = {
|
|
|
2296
2316
|
type: Object,
|
|
2297
2317
|
default: () => ({})
|
|
2298
2318
|
},
|
|
2319
|
+
title: {
|
|
2320
|
+
type: String,
|
|
2321
|
+
default: ""
|
|
2322
|
+
},
|
|
2299
2323
|
textColor: {
|
|
2300
2324
|
// TESTAR AINDA
|
|
2301
2325
|
type: String,
|
|
@@ -2670,27 +2694,27 @@ const ln = ["id"], nn = ["for"], on = {
|
|
|
2670
2694
|
],
|
|
2671
2695
|
setup(e, { emit: b }) {
|
|
2672
2696
|
Wa((i) => ({
|
|
2673
|
-
"
|
|
2674
|
-
"
|
|
2675
|
-
"
|
|
2676
|
-
"
|
|
2677
|
-
"
|
|
2678
|
-
"
|
|
2679
|
-
|
|
2680
|
-
"
|
|
2681
|
-
"
|
|
2682
|
-
"
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
"
|
|
2686
|
-
|
|
2687
|
-
"
|
|
2688
|
-
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
"
|
|
2697
|
+
"12e3f4be": ne.value,
|
|
2698
|
+
"25416c92": u(ot),
|
|
2699
|
+
"1586419f": G.value,
|
|
2700
|
+
"3f131bb1": kt.value,
|
|
2701
|
+
"5db91b09": wt.value,
|
|
2702
|
+
"46e5c64e": u(pt),
|
|
2703
|
+
"14e7161a": u(Lt),
|
|
2704
|
+
"638bd436": u(ze),
|
|
2705
|
+
"3eecc242": u(Le),
|
|
2706
|
+
"4ad40d44": u(ht),
|
|
2707
|
+
d337890c: u(pe),
|
|
2708
|
+
"4a46457e": u(vt),
|
|
2709
|
+
"2efd058f": At.value,
|
|
2710
|
+
a23ec074: u(St),
|
|
2711
|
+
"61fb8c39": ia.value,
|
|
2712
|
+
f759a9b4: $t.value,
|
|
2713
|
+
"0c826865": P.value,
|
|
2714
|
+
"5e8e364e": U.value,
|
|
2715
|
+
f52a43b0: z.value,
|
|
2716
|
+
cd69d19c: i.styleButtonColor,
|
|
2717
|
+
"1fb60257": Yt.value
|
|
2694
2718
|
})), Aa(() => {
|
|
2695
2719
|
Y.value = Xe.value;
|
|
2696
2720
|
}), Ya(() => {
|
|
@@ -3001,7 +3025,8 @@ const ln = ["id"], nn = ["for"], on = {
|
|
|
3001
3025
|
key: 0,
|
|
3002
3026
|
class: ["nb-wrapper", Wt.value],
|
|
3003
3027
|
style: [Re.value, it.value, ut.value],
|
|
3004
|
-
role: "input"
|
|
3028
|
+
role: "input",
|
|
3029
|
+
title: e.title
|
|
3005
3030
|
}, sa.value), [
|
|
3006
3031
|
Ve("div", {
|
|
3007
3032
|
id: u(F),
|
|
@@ -3016,8 +3041,8 @@ const ln = ["id"], nn = ["for"], on = {
|
|
|
3016
3041
|
style: Ne([Gt.value])
|
|
3017
3042
|
}, [
|
|
3018
3043
|
jt(Rt(e.label), 1),
|
|
3019
|
-
e.required ? (O(), K("span",
|
|
3020
|
-
], 12,
|
|
3044
|
+
e.required ? (O(), K("span", cn, "*")) : me("", !0)
|
|
3045
|
+
], 12, dn)) : me("", !0),
|
|
3021
3046
|
Pa(Ve("textarea", $a({
|
|
3022
3047
|
"onUpdate:modelValue": x[0] || (x[0] = (xe) => Y.value = xe),
|
|
3023
3048
|
id: st.value,
|
|
@@ -3040,10 +3065,10 @@ const ln = ["id"], nn = ["for"], on = {
|
|
|
3040
3065
|
onInput: Ot,
|
|
3041
3066
|
onKeydown: x[3] || (x[3] = na((xe) => !u(w) && u(fe) && ie(), ["enter"])),
|
|
3042
3067
|
onPaste: Ze
|
|
3043
|
-
}), null, 16,
|
|
3068
|
+
}), null, 16, fn), [
|
|
3044
3069
|
[hl, Y.value]
|
|
3045
3070
|
])
|
|
3046
|
-
], 14,
|
|
3071
|
+
], 14, sn),
|
|
3047
3072
|
Ut.value ? (O(), K("div", {
|
|
3048
3073
|
key: 0,
|
|
3049
3074
|
class: Ye(["component__message", e.hasCustomMsg ? "component__message--custom" : "component__message--default"])
|
|
@@ -3052,9 +3077,9 @@ const ln = ["id"], nn = ["for"], on = {
|
|
|
3052
3077
|
jt(Rt(e.message), 1)
|
|
3053
3078
|
], !0)
|
|
3054
3079
|
], 2)) : me("", !0)
|
|
3055
|
-
], 16)) : me("", !0);
|
|
3080
|
+
], 16, un)) : me("", !0);
|
|
3056
3081
|
}
|
|
3057
|
-
}),
|
|
3082
|
+
}), pn = /* @__PURE__ */ Oa(vn, [["__scopeId", "data-v-c5558a12"]]), za = (e) => String(e).padStart(2, "0"), Na = (e) => {
|
|
3058
3083
|
if (!e || !(e instanceof Date))
|
|
3059
3084
|
return null;
|
|
3060
3085
|
const b = e.getFullYear(), g = za(e.getMonth() + 1), h = za(e.getDate()), F = za(e.getHours()), Q = za(e.getMinutes()), fe = za(e.getSeconds());
|
|
@@ -3075,7 +3100,7 @@ e.getDate() === b.getDate(), ja = (e) => {
|
|
|
3075
3100
|
}
|
|
3076
3101
|
const b = new Date(e);
|
|
3077
3102
|
return isNaN(b.getTime()) ? null : b;
|
|
3078
|
-
},
|
|
3103
|
+
}, gn = (e, b = {}) => {
|
|
3079
3104
|
const {
|
|
3080
3105
|
inputType: g,
|
|
3081
3106
|
hasSeconds: h = !1,
|
|
@@ -3223,10 +3248,10 @@ e.getDate() === b.getDate(), ja = (e) => {
|
|
|
3223
3248
|
}
|
|
3224
3249
|
return null;
|
|
3225
3250
|
};
|
|
3226
|
-
const
|
|
3251
|
+
const yn = ["title"], bn = ["id"], mn = ["for"], hn = {
|
|
3227
3252
|
key: 0,
|
|
3228
3253
|
class: "component__label--required"
|
|
3229
|
-
},
|
|
3254
|
+
}, Sn = ["id", "name", "type", "placeholder", "disabled", "required", "readonly", "autocomplete", "min", "max", "step", "tabindex"], xn = /* @__PURE__ */ Object.assign({
|
|
3230
3255
|
name: "NbDatePicker",
|
|
3231
3256
|
inheritAttrs: !1
|
|
3232
3257
|
}, {
|
|
@@ -3260,6 +3285,10 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
3260
3285
|
type: Object,
|
|
3261
3286
|
default: () => ({})
|
|
3262
3287
|
},
|
|
3288
|
+
title: {
|
|
3289
|
+
type: String,
|
|
3290
|
+
default: ""
|
|
3291
|
+
},
|
|
3263
3292
|
caretColor: {
|
|
3264
3293
|
type: String,
|
|
3265
3294
|
default: "",
|
|
@@ -3878,29 +3907,29 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
3878
3907
|
],
|
|
3879
3908
|
setup(e, { emit: b }) {
|
|
3880
3909
|
Wa((t) => ({
|
|
3881
|
-
"
|
|
3882
|
-
"
|
|
3883
|
-
"
|
|
3884
|
-
"
|
|
3885
|
-
"
|
|
3886
|
-
"
|
|
3887
|
-
"
|
|
3888
|
-
|
|
3889
|
-
"
|
|
3890
|
-
"
|
|
3891
|
-
|
|
3892
|
-
"
|
|
3893
|
-
"
|
|
3894
|
-
"
|
|
3895
|
-
"
|
|
3896
|
-
"
|
|
3897
|
-
"
|
|
3898
|
-
"
|
|
3899
|
-
|
|
3900
|
-
"
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
"
|
|
3910
|
+
"0bb6b508": oa.value,
|
|
3911
|
+
"36948bf0": it.value,
|
|
3912
|
+
"269f4739": u(et),
|
|
3913
|
+
"3fe3bbd8": ia.value,
|
|
3914
|
+
"219f71ac": Ut.value,
|
|
3915
|
+
"7b394c42": sa.value,
|
|
3916
|
+
"06c30a72": u(te),
|
|
3917
|
+
f9ca685a: u(Se),
|
|
3918
|
+
"6aa952ef": u(V),
|
|
3919
|
+
"9f76ceb6": Et.value,
|
|
3920
|
+
"603e8f29": u(D),
|
|
3921
|
+
"501da35f": x.value,
|
|
3922
|
+
"061b04b9": xe.value,
|
|
3923
|
+
"32d8fac5": u(gt),
|
|
3924
|
+
"72f693e1": u(Ct),
|
|
3925
|
+
"532e1577": u(Ae),
|
|
3926
|
+
"3adf0e82": u(ge),
|
|
3927
|
+
"3e8de4a0": Ze.value,
|
|
3928
|
+
e91eac42: ra.value,
|
|
3929
|
+
"36dfe29e": ua.value,
|
|
3930
|
+
67760647: st.value,
|
|
3931
|
+
"358809a1": Pt.value,
|
|
3932
|
+
"8ac637ce": t.styleButtonColor
|
|
3904
3933
|
}));
|
|
3905
3934
|
const g = Bl(
|
|
3906
3935
|
() => import("@vlalg-nimbus/nb-calendar").then((t) => t.Calendar ? t.Calendar : t.default && t.default.Calendar ? t.default.Calendar : t.default)
|
|
@@ -4851,7 +4880,7 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
4851
4880
|
}, { immediate: !0 }), re(ot, () => {
|
|
4852
4881
|
L.value && z.value && (E.value = ue(L.value, v.value));
|
|
4853
4882
|
});
|
|
4854
|
-
const Ha = (t) =>
|
|
4883
|
+
const Ha = (t) => gn(t, {
|
|
4855
4884
|
inputType: v.value,
|
|
4856
4885
|
hasSeconds: F.hasSeconds,
|
|
4857
4886
|
allowRange: Le.value,
|
|
@@ -4939,7 +4968,8 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
4939
4968
|
key: 0,
|
|
4940
4969
|
class: ["nb-wrapper", kt.value],
|
|
4941
4970
|
style: [wt.value, Gt.value, Ft.value],
|
|
4942
|
-
role: "input"
|
|
4971
|
+
role: "input",
|
|
4972
|
+
title: e.title
|
|
4943
4973
|
}, i.value), [
|
|
4944
4974
|
Ve("div", {
|
|
4945
4975
|
id: u(Q),
|
|
@@ -4955,8 +4985,8 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
4955
4985
|
onClick: ya
|
|
4956
4986
|
}, [
|
|
4957
4987
|
jt(Rt(u(y)), 1),
|
|
4958
|
-
u(Tt) ? (O(), K("span",
|
|
4959
|
-
], 12,
|
|
4988
|
+
u(Tt) ? (O(), K("span", hn, "*")) : me("", !0)
|
|
4989
|
+
], 12, mn)) : me("", !0),
|
|
4960
4990
|
Pa(Ve("input", {
|
|
4961
4991
|
ref_key: "inputRef",
|
|
4962
4992
|
ref: P,
|
|
@@ -4989,10 +5019,10 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
4989
5019
|
onBlur: xa,
|
|
4990
5020
|
onClick: Ca,
|
|
4991
5021
|
onPaste: ma
|
|
4992
|
-
}, null, 46,
|
|
5022
|
+
}, null, 46, Sn), [
|
|
4993
5023
|
[ml, E.value]
|
|
4994
5024
|
])
|
|
4995
|
-
], 14,
|
|
5025
|
+
], 14, bn),
|
|
4996
5026
|
Ot.value ? (O(), K("div", {
|
|
4997
5027
|
key: 0,
|
|
4998
5028
|
class: Ye(["component__message", e.hasCustomMsg ? "component__message--custom" : "component__message--default"])
|
|
@@ -5092,16 +5122,16 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
5092
5122
|
}, null, 8, ["nb-id", "value", "input-type", "has-seconds", "min", "max", "step", "disabled", "width", "locale", "theme", "allow-range", "block-clicks-without-events", "font-family", "font-size", "font-weight", "primary-color", "selection-color", "event-color", "today-color", "hover-text-color", "normal-text-color", "month-year-item-bg", "month-year-item-bg-hover", "day-hover-bg", "day-hover-text-color", "time-display-text-color", "time-edit-button-bg", "time-edit-button-text-color", "time-edit-button-bg-hover", "time-edit-button-text-color-hover", "time-edit-button-font-family", "time-edit-button-font-size", "time-edit-button-padding", "time-edit-button-border-radius", "time-edit-button-font-weight", "time-edit-button-border", "time-edit-button-text", "today-button-bg", "today-button-text-color", "today-button-bg-hover", "today-button-text-color-hover", "today-button-font-family", "today-button-font-size", "today-button-padding", "today-button-border-radius", "today-button-font-weight", "today-button-border", "today-button-text", "now-button-text", "show-clear-button", "show-today-button", "clear-button-keep-current-month", "start-week-on-monday", "edit-range", "max-range-days", "min-year", "max-year", "go-to-date", "is-required", "width-full", "border-radius", "scroll-class", "events", "select-month-text", "select-year-text", "select-time-text", "time-display-label-text", "clear-button-title", "clear-button-symbol", "iso-string-timezone-format"])
|
|
5093
5123
|
], 36)) : me("", !0)
|
|
5094
5124
|
]))
|
|
5095
|
-
], 16)) : me("", !0);
|
|
5125
|
+
], 16, yn)) : me("", !0);
|
|
5096
5126
|
}
|
|
5097
|
-
}),
|
|
5098
|
-
NbInputRadio:
|
|
5099
|
-
NbInputCheckbox:
|
|
5100
|
-
NbInput:
|
|
5101
|
-
NbInputChip:
|
|
5102
|
-
NbTextarea:
|
|
5103
|
-
NbDatePicker:
|
|
5104
|
-
},
|
|
5127
|
+
}), Cn = /* @__PURE__ */ Oa(xn, [["__scopeId", "data-v-6e07f6da"]]), pl = {
|
|
5128
|
+
NbInputRadio: Fl,
|
|
5129
|
+
NbInputCheckbox: Ol,
|
|
5130
|
+
NbInput: Ql,
|
|
5131
|
+
NbInputChip: rn,
|
|
5132
|
+
NbTextarea: pn,
|
|
5133
|
+
NbDatePicker: Cn
|
|
5134
|
+
}, Tn = {
|
|
5105
5135
|
install(e) {
|
|
5106
5136
|
for (const b in pl)
|
|
5107
5137
|
if (Object.prototype.hasOwnProperty.call(pl, b)) {
|
|
@@ -5111,5 +5141,5 @@ const cn = ["id"], fn = ["for"], vn = {
|
|
|
5111
5141
|
}
|
|
5112
5142
|
};
|
|
5113
5143
|
export {
|
|
5114
|
-
|
|
5144
|
+
Tn as default
|
|
5115
5145
|
};
|