@vlalg-nimbus/nb-inputs 9.4.0 → 9.5.1

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 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 = ["id"], Dl = ["id", "disabled", "value", "name"], Rl = ["for", "tabindex"], Ml = /* @__PURE__ */ Object.assign({
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
- "4dae10f6": Ue.value,
157
- "3aeb4162": xt.value,
158
- "36c094f2": St.value,
159
- ecf28042: ot.value,
160
- b03d93f6: ht.value,
161
- "47b64a4a": pe.value,
162
- c9891512: vt.value,
163
- "4a63a9da": pt.value,
164
- "9dd3cf8e": Lt.value,
165
- 48025196: ze.value,
166
- "21e702c3": Le.value
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, Dl), [
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, Rl)
289
+ ], 40, Ml)
285
290
  ]))), 128))
286
- ], 16, wl)
287
- ], 6)) : me("", !0);
291
+ ], 16, Dl)
292
+ ], 14, wl)) : me("", !0);
288
293
  }
289
- }), Nl = /* @__PURE__ */ Oa(Ml, [["__scopeId", "data-v-4736d4fa"]]);
290
- const Fl = ["id"], zl = ["id", "disabled", "value", "name"], Il = ["for", "tabindex"], Wl = /* @__PURE__ */ Object.assign({
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
- "7c68ff00": vt.value,
453
- d1e7cb28: Se.value,
454
- "48e2ad8f": D.value,
455
- "2338f991": V.value,
456
- d9a9ab2e: Le.value,
457
- "35a2d00f": ze.value,
458
- dfe7a964: Lt.value,
459
- "48f03d2d": ot.value,
460
- "0c977200": ht.value,
461
- c252ed44: et.value,
462
- cde5716e: Ct.value,
463
- "631414ef": xt.value,
464
- b44adfa4: Ae.value,
465
- "1f3f6c4d": St.value,
466
- aed233c0: pt.value
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, zl), [
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, Il)
614
+ ], 42, El)
605
615
  ]))), 128))
606
- ], 16, Fl)
607
- ], 6)) : me("", !0);
616
+ ], 16, Il)
617
+ ], 14, zl)) : me("", !0);
608
618
  }
609
- }), El = /* @__PURE__ */ Oa(Wl, [["__scopeId", "data-v-e89ba0b2"]]);
610
- const Pl = ["id"], Ol = ["for"], _l = {
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
- }, Hl = ["for"], ql = { key: 0 }, jl = { key: 1 }, Yl = ["id", "name", "type", "placeholder", "disabled", "required", "readonly", "autocomplete", "tabindex", "min", "max", "step"], Ul = ["for"], Gl = /* @__PURE__ */ Object.assign({
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
- "08c38d9e": Et.value,
1068
- 32745802: ra.value,
1069
- "66926c22": u(Ct),
1070
- "035597e2": ca.value,
1071
- c3c30bbe: fa.value,
1072
- "27669d79": va.value,
1073
- "02a2d684": u(Se),
1074
- "45fe75c5": u(Ee),
1075
- "8f65ce7e": u(te),
1076
- "5b861051": u(Mt),
1077
- "3f17508a": u(D),
1078
- "4c84e525": u(et),
1079
- "333fbeea": u(V),
1080
- "0269d2d6": dt.value,
1081
- "51d502b4": u(Ae),
1082
- "6ffc1dd2": u(gt),
1083
- "093eabfb": u(We),
1084
- cb095c46: u(ge),
1085
- "67d64607": u(yt),
1086
- "1325e624": u(xt),
1087
- "3dc80b7e": u(pt),
1088
- "19c1f0a7": u(St),
1089
- d7e041ec: u(Le),
1090
- "3b225bee": u(Lt),
1091
- "4d15b87e": ha.value,
1092
- "42e00e6e": xa.value,
1093
- "442651f6": Ca.value,
1094
- d3871bb4: _t.value,
1095
- a033c36e: Dt.value,
1096
- "50b22636": u(tt),
1097
- "5fa72fc9": ya.value,
1098
- "104654d4": Pt.value,
1099
- "155d4a56": ia.value,
1100
- "4f6a4cbe": Ut.value,
1101
- "371386d0": da.value,
1102
- "6b4b1a7c": Gt.value,
1103
- "610701e7": sa.value
1081
+ "1f018258": Et.value,
1082
+ "4e051488": ra.value,
1083
+ "8961fbf6": u(Ct),
1084
+ "412b5a8c": ca.value,
1085
+ "2ca9e244": fa.value,
1086
+ "7bbe1214": va.value,
1087
+ "1e33930a": u(Se),
1088
+ "2be4f102": u(Ee),
1089
+ "4359c8b8": u(te),
1090
+ "137f2c64": u(Mt),
1091
+ "454bf087": u(D),
1092
+ bd7d09f0: u(et),
1093
+ b280ffa4: u(V),
1094
+ "1a587bf9": dt.value,
1095
+ "5d546ba3": u(Ae),
1096
+ f02a7216: u(gt),
1097
+ "3fb0cf44": u(We),
1098
+ "3535ab5a": u(ge),
1099
+ "24671c2a": u(yt),
1100
+ "926726de": u(xt),
1101
+ "23f220be": u(pt),
1102
+ "654e8564": u(St),
1103
+ "54a2dca6": u(Le),
1104
+ "2108d72b": u(Lt),
1105
+ bc5b633e: ha.value,
1106
+ "1302bc28": xa.value,
1107
+ f2070f1a: Ca.value,
1108
+ "3c6df23a": _t.value,
1109
+ bbc47ff4: Dt.value,
1110
+ "425ba31a": u(tt),
1111
+ bd743b28: ya.value,
1112
+ "7e1bc293": Pt.value,
1113
+ 38278152: ia.value,
1114
+ "3550c7fb": Ut.value,
1115
+ "3002d155": da.value,
1116
+ "3b6dc836": Gt.value,
1117
+ "9478d06c": 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(() => {
@@ -1263,7 +1277,8 @@ const Pl = ["id"], Ol = ["for"], _l = {
1263
1277
  // paddingTop: isActive && showLabel.value ? `${Math.abs(defaultValues.labelActiveTop)}px` : '0',
1264
1278
  paddingTop: "0px",
1265
1279
  // Esconde o label quando não está ativo usando overflow hidden
1266
- overflow: m && lt.value ? "visible" : "hidden"
1280
+ // Se não tem label ou está ativo, permite overflow visible para não cortar conteúdo
1281
+ overflow: !lt.value || m ? "visible" : "hidden"
1267
1282
  };
1268
1283
  }), ra = a(() => {
1269
1284
  const o = N.value;
@@ -1460,7 +1475,8 @@ const Pl = ["id"], Ol = ["for"], _l = {
1460
1475
  key: 0,
1461
1476
  class: ["nb-wrapper", Ft.value],
1462
1477
  style: [oa.value, Kt.value, st.value],
1463
- role: "input"
1478
+ role: "input",
1479
+ title: e.title
1464
1480
  }, ma.value), [
1465
1481
  Ve("div", {
1466
1482
  id: u(F),
@@ -1476,8 +1492,8 @@ const Pl = ["id"], Ol = ["for"], _l = {
1476
1492
  onClick: Ta
1477
1493
  }, [
1478
1494
  jt(Rt(u(Nt)), 1),
1479
- e.required ? (O(), K("span", _l, "*")) : me("", !0)
1480
- ], 12, Ol)) : me("", !0),
1495
+ e.required ? (O(), K("span", jl, "*")) : me("", !0)
1496
+ ], 12, ql)) : me("", !0),
1481
1497
  Ot.value ? (O(), K("div", {
1482
1498
  key: 1,
1483
1499
  class: Ye(["component__eye", ga.value]),
@@ -1488,14 +1504,14 @@ const Pl = ["id"], Ol = ["for"], _l = {
1488
1504
  for: x.value,
1489
1505
  class: Ye(["component__eye-icon", "fas"])
1490
1506
  }, [
1491
- e.inputEyeCustomIcon ? (O(), K("span", jl, [
1507
+ e.inputEyeCustomIcon ? (O(), K("span", Gl, [
1492
1508
  wt.value ? La(o.$slots, "eye-icon-show", { key: 0 }, () => [
1493
1509
  m[5] || (m[5] = jt("show"))
1494
1510
  ], !0) : La(o.$slots, "eye-icon-hidden", { key: 1 }, () => [
1495
1511
  m[6] || (m[6] = jt("hidden"))
1496
1512
  ], !0)
1497
- ])) : (O(), K("span", ql, Rt(i.value), 1))
1498
- ], 8, Hl)
1513
+ ])) : (O(), K("span", Ul, Rt(i.value), 1))
1514
+ ], 8, Yl)
1499
1515
  ], 6)) : me("", !0),
1500
1516
  Pa(Ve("input", {
1501
1517
  ref_key: "inputRef",
@@ -1524,7 +1540,7 @@ const Pl = ["id"], Ol = ["for"], _l = {
1524
1540
  onBlur: m[2] || (m[2] = (Ce) => it.value = !1),
1525
1541
  onKeydown: m[3] || (m[3] = na((Ce) => !u(w) && u(fe) && ea(), ["enter"])),
1526
1542
  onPaste: ka
1527
- }, null, 46, Yl), [
1543
+ }, null, 46, Kl), [
1528
1544
  [ml, z.value]
1529
1545
  ]),
1530
1546
  u(y) ? (O(), K("label", {
@@ -1535,8 +1551,8 @@ const Pl = ["id"], Ol = ["for"], _l = {
1535
1551
  La(o.$slots, "icon", {}, () => [
1536
1552
  m[7] || (m[7] = Ve("span", null, "♥", -1))
1537
1553
  ], !0)
1538
- ], 10, Ul)) : me("", !0)
1539
- ], 14, Pl),
1554
+ ], 10, Zl)) : me("", !0)
1555
+ ], 14, Hl),
1540
1556
  ba.value ? (O(), K("div", {
1541
1557
  key: 0,
1542
1558
  class: Ye(["component__message", e.hasCustomMsg ? "component__message--custom" : "component__message--default"])
@@ -1545,13 +1561,13 @@ const Pl = ["id"], Ol = ["for"], _l = {
1545
1561
  jt(Rt(e.message), 1)
1546
1562
  ], !0)
1547
1563
  ], 2)) : me("", !0)
1548
- ], 16)) : me("", !0);
1564
+ ], 16, _l)) : me("", !0);
1549
1565
  }
1550
- }), Kl = /* @__PURE__ */ Oa(Gl, [["__scopeId", "data-v-9e792880"]]);
1551
- const Zl = ["for"], Jl = {
1566
+ }), Ql = /* @__PURE__ */ Oa(Jl, [["__scopeId", "data-v-5069e468"]]);
1567
+ const Xl = ["title"], en = ["for"], tn = {
1552
1568
  key: 0,
1553
1569
  class: "component__label--required"
1554
- }, Ql = ["id"], Xl = ["onClick"], en = ["id", "name", "placeholder", "readonly", "autocomplete", "required", "tabindex"], tn = /* @__PURE__ */ Object.assign({
1570
+ }, an = ["id"], ln = ["onClick"], nn = ["id", "name", "placeholder", "readonly", "autocomplete", "required", "tabindex"], on = /* @__PURE__ */ Object.assign({
1555
1571
  name: "NbInputChip",
1556
1572
  inheritAttrs: !1
1557
1573
  }, {
@@ -1585,6 +1601,10 @@ const Zl = ["for"], Jl = {
1585
1601
  type: Object,
1586
1602
  default: () => ({})
1587
1603
  },
1604
+ title: {
1605
+ type: String,
1606
+ default: ""
1607
+ },
1588
1608
  caretColor: {
1589
1609
  type: String,
1590
1610
  default: "",
@@ -1899,32 +1919,32 @@ const Zl = ["for"], Jl = {
1899
1919
  emits: ["clicked", "changed", "removed", "added", "input-changed", "focused", "blurred", "paste"],
1900
1920
  setup(e, { emit: b }) {
1901
1921
  Wa((c) => ({
1902
- e08d2976: z.value,
1903
- "0de97d58": kt.value,
1904
- "21b51536": u(ht),
1905
- "5f9c85c4": u(Xe),
1906
- a55ca4d2: u(Ue),
1907
- "23c9d99c": u(ot),
1908
- "6aa1364a": u(ze),
1909
- "2d984c53": u(Le),
1910
- "46c8792a": u(gt),
1911
- d214e3dc: u(pt),
1912
- "49c836ea": u(xt),
1913
- "1be54a26": u(et),
1914
- "4eb9803e": u(V),
1915
- "6cc5e947": u(D),
1916
- "396c9d81": u(pe),
1917
- "401ac1e6": u(Ct),
1918
- "2edfb86b": $t.value,
1919
- b0f0a50a: it.value,
1920
- "3cf3328d": N.value,
1921
- "63eeeae5": Ft.value,
1922
- "477726d6": c.styleButtonColor,
1923
- "1c29aafb": G.value,
1924
- "6f299702": u(vt),
1925
- "117c150a": u(Lt),
1926
- a3519814: u(Ae),
1927
- "7baff86f": u(Se)
1922
+ "2abf6c48": z.value,
1923
+ b640f0a2: kt.value,
1924
+ "89f839e6": u(ht),
1925
+ "9c8fd696": u(Xe),
1926
+ "2e2461ae": u(Ue),
1927
+ "6eedc749": u(ot),
1928
+ "019740a1": u(ze),
1929
+ "4195c62c": u(Le),
1930
+ d3e5d71a: u(gt),
1931
+ "4feb30ca": u(pt),
1932
+ "6ba6d194": u(xt),
1933
+ a71f91a2: u(et),
1934
+ "2f8561f2": u(V),
1935
+ "96ddac60": u(D),
1936
+ "892c406c": u(pe),
1937
+ dce120b8: u(Ct),
1938
+ "7e2453b4": $t.value,
1939
+ "38129a84": it.value,
1940
+ "821f1654": N.value,
1941
+ "5ba4beee": Ft.value,
1942
+ "6f6c4a26": c.styleButtonColor,
1943
+ "950f0e5c": G.value,
1944
+ "20c66799": u(vt),
1945
+ "1372badc": u(Lt),
1946
+ "13bb1702": u(Ae),
1947
+ "7365cc78": u(Se)
1928
1948
  })), Aa(() => {
1929
1949
  _.value.length > 0 && (Re.value = _.value);
1930
1950
  });
@@ -2054,7 +2074,8 @@ const Zl = ["for"], Jl = {
2054
2074
  // paddingTop: isActive && showLabel.value ? `${Math.abs(defaultValues.labelActiveTop)}px` : '0',
2055
2075
  paddingTop: "0px",
2056
2076
  // Esconde o label quando não está ativo usando overflow hidden
2057
- overflow: A && ce.value ? "visible" : "hidden"
2077
+ // Se não tem label ou está ativo, permite overflow visible para não cortar conteúdo
2078
+ overflow: !ce.value || A ? "visible" : "hidden"
2058
2079
  };
2059
2080
  }), $t = a(() => {
2060
2081
  const c = ue.value;
@@ -2186,7 +2207,8 @@ const Zl = ["for"], Jl = {
2186
2207
  key: 0,
2187
2208
  class: ["nb-wrapper", ut.value],
2188
2209
  style: [ne.value],
2189
- role: "input"
2210
+ role: "input",
2211
+ title: e.title
2190
2212
  }, wt.value, {
2191
2213
  onClick: A[2] || (A[2] = (ie) => da(ie))
2192
2214
  }), [
@@ -2197,8 +2219,8 @@ const Zl = ["for"], Jl = {
2197
2219
  style: Ne([ia.value])
2198
2220
  }, [
2199
2221
  jt(Rt(u(be)), 1),
2200
- u(Be) ? (O(), K("span", Jl, "*")) : me("", !0)
2201
- ], 12, Zl)) : me("", !0),
2222
+ u(Be) ? (O(), K("span", tn, "*")) : me("", !0)
2223
+ ], 12, en)) : me("", !0),
2202
2224
  Ve("div", {
2203
2225
  id: u(F),
2204
2226
  ref_key: "chipsContainer",
@@ -2230,7 +2252,7 @@ const Zl = ["for"], Jl = {
2230
2252
  class: "chip-remove",
2231
2253
  style: Ne([Ut.value]),
2232
2254
  onClick: (Ze) => zt(ie)
2233
- }, "×", 12, Xl)) : me("", !0)
2255
+ }, "×", 12, ln)) : me("", !0)
2234
2256
  ], !0)
2235
2257
  ]))), 128))
2236
2258
  ], 512)) : me("", !0),
@@ -2252,17 +2274,17 @@ const Zl = ["for"], Jl = {
2252
2274
  onFocus: ca,
2253
2275
  onBlur: fa,
2254
2276
  onPaste: va
2255
- }, null, 46, en), [
2277
+ }, null, 46, nn), [
2256
2278
  [hl, Y.value]
2257
2279
  ])
2258
- ], 14, Ql)
2259
- ], 16)) : me("", !0);
2280
+ ], 14, an)
2281
+ ], 16, Xl)) : me("", !0);
2260
2282
  }
2261
- }), an = /* @__PURE__ */ Oa(tn, [["__scopeId", "data-v-fcb787c2"]]);
2262
- const ln = ["id"], nn = ["for"], on = {
2283
+ }), rn = /* @__PURE__ */ Oa(on, [["__scopeId", "data-v-857e8bac"]]);
2284
+ const un = ["title"], sn = ["id"], dn = ["for"], cn = {
2263
2285
  key: 0,
2264
2286
  class: "component__label--required"
2265
- }, rn = ["id", "name", "placeholder", "disabled", "required", "readonly", "autocomplete", "tabindex"], un = /* @__PURE__ */ Object.assign({
2287
+ }, fn = ["id", "name", "placeholder", "disabled", "required", "readonly", "autocomplete", "tabindex"], vn = /* @__PURE__ */ Object.assign({
2266
2288
  name: "NbTextarea",
2267
2289
  inheritAttrs: !1
2268
2290
  }, {
@@ -2296,6 +2318,10 @@ const ln = ["id"], nn = ["for"], on = {
2296
2318
  type: Object,
2297
2319
  default: () => ({})
2298
2320
  },
2321
+ title: {
2322
+ type: String,
2323
+ default: ""
2324
+ },
2299
2325
  textColor: {
2300
2326
  // TESTAR AINDA
2301
2327
  type: String,
@@ -2670,27 +2696,27 @@ const ln = ["id"], nn = ["for"], on = {
2670
2696
  ],
2671
2697
  setup(e, { emit: b }) {
2672
2698
  Wa((i) => ({
2673
- "627b1b20": ne.value,
2674
- "25e6215e": u(ot),
2675
- "472b16c0": G.value,
2676
- "06b1d412": kt.value,
2677
- "8ee981ac": wt.value,
2678
- "2c4f6faf": u(pt),
2679
- e02b1a8a: u(Lt),
2680
- "246261d7": u(ze),
2681
- "41e29141": u(Le),
2682
- "80039e46": u(ht),
2683
- "1f413c0e": u(pe),
2684
- b3eb5342: u(vt),
2685
- "1466aef0": At.value,
2686
- "5d9021a7": u(St),
2687
- "88129a90": ia.value,
2688
- "4529b8c7": $t.value,
2689
- "3e273d86": P.value,
2690
- "8b5b71a2": U.value,
2691
- "4d099689": z.value,
2692
- c77e339e: i.styleButtonColor,
2693
- "30fcf5d4": Yt.value
2699
+ "99659cd8": ne.value,
2700
+ "0346f676": u(ot),
2701
+ "5fce2fcc": G.value,
2702
+ "60ae17c4": kt.value,
2703
+ "203a8c36": wt.value,
2704
+ ae85488a: u(pt),
2705
+ "000225c7": u(Lt),
2706
+ "0f33e0e3": u(ze),
2707
+ "3da299b5": u(Le),
2708
+ "52dcdf51": u(ht),
2709
+ "5fbdc46d": u(pe),
2710
+ "224b5c6b": u(vt),
2711
+ de56ca08: At.value,
2712
+ "108df3b3": u(St),
2713
+ "2b55152c": ia.value,
2714
+ "2ffb37d3": $t.value,
2715
+ "56ca5692": P.value,
2716
+ "36934d3b": U.value,
2717
+ "1600b695": z.value,
2718
+ cffe22b6: i.styleButtonColor,
2719
+ "0e5dcaec": Yt.value
2694
2720
  })), Aa(() => {
2695
2721
  Y.value = Xe.value;
2696
2722
  }), Ya(() => {
@@ -2840,7 +2866,8 @@ const ln = ["id"], nn = ["for"], on = {
2840
2866
  // paddingTop: isActive && showLabel.value ? `${Math.abs(defaultValues.labelActiveTop)}px` : '0',
2841
2867
  paddingTop: "0px",
2842
2868
  // Esconde o label quando não está ativo usando overflow hidden
2843
- overflow: x && Ae.value ? "visible" : "hidden"
2869
+ // Se não tem label ou está ativo, permite overflow visible para não cortar conteúdo
2870
+ overflow: !Ae.value || x ? "visible" : "hidden"
2844
2871
  };
2845
2872
  }), At = a(() => {
2846
2873
  const i = M.value;
@@ -3001,7 +3028,8 @@ const ln = ["id"], nn = ["for"], on = {
3001
3028
  key: 0,
3002
3029
  class: ["nb-wrapper", Wt.value],
3003
3030
  style: [Re.value, it.value, ut.value],
3004
- role: "input"
3031
+ role: "input",
3032
+ title: e.title
3005
3033
  }, sa.value), [
3006
3034
  Ve("div", {
3007
3035
  id: u(F),
@@ -3016,8 +3044,8 @@ const ln = ["id"], nn = ["for"], on = {
3016
3044
  style: Ne([Gt.value])
3017
3045
  }, [
3018
3046
  jt(Rt(e.label), 1),
3019
- e.required ? (O(), K("span", on, "*")) : me("", !0)
3020
- ], 12, nn)) : me("", !0),
3047
+ e.required ? (O(), K("span", cn, "*")) : me("", !0)
3048
+ ], 12, dn)) : me("", !0),
3021
3049
  Pa(Ve("textarea", $a({
3022
3050
  "onUpdate:modelValue": x[0] || (x[0] = (xe) => Y.value = xe),
3023
3051
  id: st.value,
@@ -3040,10 +3068,10 @@ const ln = ["id"], nn = ["for"], on = {
3040
3068
  onInput: Ot,
3041
3069
  onKeydown: x[3] || (x[3] = na((xe) => !u(w) && u(fe) && ie(), ["enter"])),
3042
3070
  onPaste: Ze
3043
- }), null, 16, rn), [
3071
+ }), null, 16, fn), [
3044
3072
  [hl, Y.value]
3045
3073
  ])
3046
- ], 14, ln),
3074
+ ], 14, sn),
3047
3075
  Ut.value ? (O(), K("div", {
3048
3076
  key: 0,
3049
3077
  class: Ye(["component__message", e.hasCustomMsg ? "component__message--custom" : "component__message--default"])
@@ -3052,9 +3080,9 @@ const ln = ["id"], nn = ["for"], on = {
3052
3080
  jt(Rt(e.message), 1)
3053
3081
  ], !0)
3054
3082
  ], 2)) : me("", !0)
3055
- ], 16)) : me("", !0);
3083
+ ], 16, un)) : me("", !0);
3056
3084
  }
3057
- }), sn = /* @__PURE__ */ Oa(un, [["__scopeId", "data-v-56d3a040"]]), za = (e) => String(e).padStart(2, "0"), Na = (e) => {
3085
+ }), pn = /* @__PURE__ */ Oa(vn, [["__scopeId", "data-v-f8d0486c"]]), za = (e) => String(e).padStart(2, "0"), Na = (e) => {
3058
3086
  if (!e || !(e instanceof Date))
3059
3087
  return null;
3060
3088
  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 +3103,7 @@ e.getDate() === b.getDate(), ja = (e) => {
3075
3103
  }
3076
3104
  const b = new Date(e);
3077
3105
  return isNaN(b.getTime()) ? null : b;
3078
- }, dn = (e, b = {}) => {
3106
+ }, gn = (e, b = {}) => {
3079
3107
  const {
3080
3108
  inputType: g,
3081
3109
  hasSeconds: h = !1,
@@ -3223,10 +3251,10 @@ e.getDate() === b.getDate(), ja = (e) => {
3223
3251
  }
3224
3252
  return null;
3225
3253
  };
3226
- const cn = ["id"], fn = ["for"], vn = {
3254
+ const yn = ["title"], bn = ["id"], mn = ["for"], hn = {
3227
3255
  key: 0,
3228
3256
  class: "component__label--required"
3229
- }, pn = ["id", "name", "type", "placeholder", "disabled", "required", "readonly", "autocomplete", "min", "max", "step", "tabindex"], gn = /* @__PURE__ */ Object.assign({
3257
+ }, Sn = ["id", "name", "type", "placeholder", "disabled", "required", "readonly", "autocomplete", "min", "max", "step", "tabindex"], xn = /* @__PURE__ */ Object.assign({
3230
3258
  name: "NbDatePicker",
3231
3259
  inheritAttrs: !1
3232
3260
  }, {
@@ -3260,6 +3288,10 @@ const cn = ["id"], fn = ["for"], vn = {
3260
3288
  type: Object,
3261
3289
  default: () => ({})
3262
3290
  },
3291
+ title: {
3292
+ type: String,
3293
+ default: ""
3294
+ },
3263
3295
  caretColor: {
3264
3296
  type: String,
3265
3297
  default: "",
@@ -3878,29 +3910,29 @@ const cn = ["id"], fn = ["for"], vn = {
3878
3910
  ],
3879
3911
  setup(e, { emit: b }) {
3880
3912
  Wa((t) => ({
3881
- "78d85593": oa.value,
3882
- "374885dd": it.value,
3883
- "2665f604": u(et),
3884
- "38f2e66d": ia.value,
3885
- "30b86dff": Ut.value,
3886
- "7b5311d7": sa.value,
3887
- "4f31469c": u(te),
3888
- "968eb830": u(Se),
3889
- "49b71004": u(V),
3890
- "3c3b1e8c": Et.value,
3891
- edd69198: u(D),
3892
- "78f3cb6a": x.value,
3893
- "47a32b8e": xe.value,
3894
- "34f62550": u(gt),
3895
- "75a0796c": u(Ct),
3896
- "451ceecc": u(Ae),
3897
- "76a47714": u(ge),
3898
- "4137ca2b": Ze.value,
3899
- "6a7e66f4": ra.value,
3900
- "2fef0d33": ua.value,
3901
- "5964df9c": st.value,
3902
- 77103076: Pt.value,
3903
- "3919e7b8": t.styleButtonColor
3913
+ 63363671: oa.value,
3914
+ "7f928282": it.value,
3915
+ "89824d3c": u(et),
3916
+ "3f366ecf": ia.value,
3917
+ "6f4eb63e": Ut.value,
3918
+ a87dcf8e: sa.value,
3919
+ "4fc10104": u(te),
3920
+ "635d2b4a": u(Se),
3921
+ ed7bcd34: u(V),
3922
+ def20fc8: Et.value,
3923
+ "4b423b12": u(D),
3924
+ "3b214f48": x.value,
3925
+ "41793b20": xe.value,
3926
+ "5ae28a2e": u(gt),
3927
+ "27769c4a": u(Ct),
3928
+ "6ec032a4": u(Ae),
3929
+ "36c670f6": u(ge),
3930
+ "19e425ee": Ze.value,
3931
+ abed1f54: ra.value,
3932
+ 36329595: ua.value,
3933
+ 46305104: st.value,
3934
+ "0eb06758": Pt.value,
3935
+ b4bedffc: t.styleButtonColor
3904
3936
  }));
3905
3937
  const g = Bl(
3906
3938
  () => import("@vlalg-nimbus/nb-calendar").then((t) => t.Calendar ? t.Calendar : t.default && t.default.Calendar ? t.default.Calendar : t.default)
@@ -4236,7 +4268,8 @@ const cn = ["id"], fn = ["for"], vn = {
4236
4268
  // paddingTop: isActive && showLabel.value ? `${Math.abs(defaultValues.labelActiveTop)}px` : '0',
4237
4269
  paddingTop: "0px",
4238
4270
  // Esconde o label quando não está ativo usando overflow hidden
4239
- overflow: l && Ie.value ? "visible" : "hidden"
4271
+ // Se não tem label ou está ativo, permite overflow visible para não cortar conteúdo
4272
+ overflow: !Ie.value || l ? "visible" : "hidden"
4240
4273
  };
4241
4274
  }), it = a(() => {
4242
4275
  const t = G.value;
@@ -4851,7 +4884,7 @@ const cn = ["id"], fn = ["for"], vn = {
4851
4884
  }, { immediate: !0 }), re(ot, () => {
4852
4885
  L.value && z.value && (E.value = ue(L.value, v.value));
4853
4886
  });
4854
- const Ha = (t) => dn(t, {
4887
+ const Ha = (t) => gn(t, {
4855
4888
  inputType: v.value,
4856
4889
  hasSeconds: F.hasSeconds,
4857
4890
  allowRange: Le.value,
@@ -4939,7 +4972,8 @@ const cn = ["id"], fn = ["for"], vn = {
4939
4972
  key: 0,
4940
4973
  class: ["nb-wrapper", kt.value],
4941
4974
  style: [wt.value, Gt.value, Ft.value],
4942
- role: "input"
4975
+ role: "input",
4976
+ title: e.title
4943
4977
  }, i.value), [
4944
4978
  Ve("div", {
4945
4979
  id: u(Q),
@@ -4955,8 +4989,8 @@ const cn = ["id"], fn = ["for"], vn = {
4955
4989
  onClick: ya
4956
4990
  }, [
4957
4991
  jt(Rt(u(y)), 1),
4958
- u(Tt) ? (O(), K("span", vn, "*")) : me("", !0)
4959
- ], 12, fn)) : me("", !0),
4992
+ u(Tt) ? (O(), K("span", hn, "*")) : me("", !0)
4993
+ ], 12, mn)) : me("", !0),
4960
4994
  Pa(Ve("input", {
4961
4995
  ref_key: "inputRef",
4962
4996
  ref: P,
@@ -4989,10 +5023,10 @@ const cn = ["id"], fn = ["for"], vn = {
4989
5023
  onBlur: xa,
4990
5024
  onClick: Ca,
4991
5025
  onPaste: ma
4992
- }, null, 46, pn), [
5026
+ }, null, 46, Sn), [
4993
5027
  [ml, E.value]
4994
5028
  ])
4995
- ], 14, cn),
5029
+ ], 14, bn),
4996
5030
  Ot.value ? (O(), K("div", {
4997
5031
  key: 0,
4998
5032
  class: Ye(["component__message", e.hasCustomMsg ? "component__message--custom" : "component__message--default"])
@@ -5092,16 +5126,16 @@ const cn = ["id"], fn = ["for"], vn = {
5092
5126
  }, 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
5127
  ], 36)) : me("", !0)
5094
5128
  ]))
5095
- ], 16)) : me("", !0);
5129
+ ], 16, yn)) : me("", !0);
5096
5130
  }
5097
- }), yn = /* @__PURE__ */ Oa(gn, [["__scopeId", "data-v-627e4800"]]), pl = {
5098
- NbInputRadio: Nl,
5099
- NbInputCheckbox: El,
5100
- NbInput: Kl,
5101
- NbInputChip: an,
5102
- NbTextarea: sn,
5103
- NbDatePicker: yn
5104
- }, mn = {
5131
+ }), Cn = /* @__PURE__ */ Oa(xn, [["__scopeId", "data-v-0ae3635e"]]), pl = {
5132
+ NbInputRadio: Fl,
5133
+ NbInputCheckbox: Ol,
5134
+ NbInput: Ql,
5135
+ NbInputChip: rn,
5136
+ NbTextarea: pn,
5137
+ NbDatePicker: Cn
5138
+ }, Tn = {
5105
5139
  install(e) {
5106
5140
  for (const b in pl)
5107
5141
  if (Object.prototype.hasOwnProperty.call(pl, b)) {
@@ -5111,5 +5145,5 @@ const cn = ["id"], fn = ["for"], vn = {
5111
5145
  }
5112
5146
  };
5113
5147
  export {
5114
- mn as default
5148
+ Tn as default
5115
5149
  };