@ikatec/nebula-react 1.0.4 → 1.0.6

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/index.mjs CHANGED
@@ -20,6 +20,8 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
20
20
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
21
21
  import * as TabsPrimitive from '@radix-ui/react-tabs';
22
22
  import { Toaster as Toaster$1, toast as toast$1 } from 'sonner';
23
+ import * as RPNInput from 'react-phone-number-input';
24
+ import flags from 'react-phone-number-input/flags';
23
25
 
24
26
  // src/button.tsx
25
27
 
@@ -631,12 +633,24 @@ var Info = createLucideIcon("Info", __iconNode13);
631
633
  var __iconNode14 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
632
634
  var Minus = createLucideIcon("Minus", __iconNode14);
633
635
 
634
- // ../../node_modules/lucide-react/dist/esm/icons/x.js
636
+ // ../../node_modules/lucide-react/dist/esm/icons/phone.js
635
637
  var __iconNode15 = [
638
+ [
639
+ "path",
640
+ {
641
+ d: "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",
642
+ key: "foiqr5"
643
+ }
644
+ ]
645
+ ];
646
+ var Phone = createLucideIcon("Phone", __iconNode15);
647
+
648
+ // ../../node_modules/lucide-react/dist/esm/icons/x.js
649
+ var __iconNode16 = [
636
650
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
637
651
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
638
652
  ];
639
- var X = createLucideIcon("X", __iconNode15);
653
+ var X = createLucideIcon("X", __iconNode16);
640
654
  var DropdownMenu = DropdownMenuPrimitive.Root;
641
655
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
642
656
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
@@ -989,14 +1003,267 @@ var messages2 = {
989
1003
  };
990
1004
  var input_select_default = messages2;
991
1005
 
1006
+ // src/i18n/messages/en/input-phone.ts
1007
+ var messages3 = {
1008
+ countries: {
1009
+ AF: "Afghanistan",
1010
+ AX: "\xC5land Islands",
1011
+ AL: "Albania",
1012
+ DZ: "Algeria",
1013
+ AS: "American Samoa",
1014
+ AD: "Andorra",
1015
+ AO: "Angola",
1016
+ AI: "Anguilla",
1017
+ AG: "Antigua and Barbuda",
1018
+ AR: "Argentina",
1019
+ AM: "Armenia",
1020
+ AW: "Aruba",
1021
+ AC: "Ascension Island",
1022
+ AU: "Australia",
1023
+ AT: "Austria",
1024
+ AZ: "Azerbaijan",
1025
+ BS: "Bahamas",
1026
+ BH: "Bahrain",
1027
+ BD: "Bangladesh",
1028
+ BB: "Barbados",
1029
+ BY: "Belarus",
1030
+ BE: "Belgium",
1031
+ BZ: "Belize",
1032
+ BJ: "Benin",
1033
+ BM: "Bermuda",
1034
+ BT: "Bhutan",
1035
+ BO: "Bolivia",
1036
+ BQ: "Bonaire, Sint Eustatius and Saba",
1037
+ BA: "Bosnia and Herzegovina",
1038
+ BW: "Botswana",
1039
+ BR: "Brazil",
1040
+ IO: "British Indian Ocean Territory",
1041
+ BN: "Brunei Darussalam",
1042
+ BG: "Bulgaria",
1043
+ BF: "Burkina Faso",
1044
+ BI: "Burundi",
1045
+ KH: "Cambodia",
1046
+ CM: "Cameroon",
1047
+ CA: "Canada",
1048
+ CV: "Cape Verde",
1049
+ KY: "Cayman Islands",
1050
+ CF: "Central African Republic",
1051
+ TD: "Chad",
1052
+ CL: "Chile",
1053
+ CN: "China",
1054
+ CX: "Christmas Island",
1055
+ CC: "Cocos (Keeling) Islands",
1056
+ CO: "Colombia",
1057
+ KM: "Comoros",
1058
+ CG: "Congo",
1059
+ CD: "Congo, Democratic Republic of the",
1060
+ CK: "Cook Islands",
1061
+ CR: "Costa Rica",
1062
+ CI: "Cote d'Ivoire",
1063
+ HR: "Croatia",
1064
+ CU: "Cuba",
1065
+ CW: "Cura\xE7ao",
1066
+ CY: "Cyprus",
1067
+ CZ: "Czech Republic",
1068
+ DK: "Denmark",
1069
+ DJ: "Djibouti",
1070
+ DM: "Dominica",
1071
+ DO: "Dominican Republic",
1072
+ EC: "Ecuador",
1073
+ EG: "Egypt",
1074
+ SV: "El Salvador",
1075
+ GQ: "Equatorial Guinea",
1076
+ ER: "Eritrea",
1077
+ EE: "Estonia",
1078
+ ET: "Ethiopia",
1079
+ FK: "Falkland Islands",
1080
+ FO: "Faroe Islands",
1081
+ FM: "Federated States of Micronesia",
1082
+ FJ: "Fiji",
1083
+ FI: "Finland",
1084
+ FR: "France",
1085
+ GF: "French Guiana",
1086
+ PF: "French Polynesia",
1087
+ GA: "Gabon",
1088
+ GM: "Gambia",
1089
+ GE: "Georgia",
1090
+ DE: "Germany",
1091
+ GH: "Ghana",
1092
+ GI: "Gibraltar",
1093
+ GR: "Greece",
1094
+ GL: "Greenland",
1095
+ GD: "Grenada",
1096
+ GP: "Guadeloupe",
1097
+ GU: "Guam",
1098
+ GT: "Guatemala",
1099
+ GG: "Guernsey",
1100
+ GN: "Guinea",
1101
+ GW: "Guinea-Bissau",
1102
+ GY: "Guyana",
1103
+ HT: "Haiti",
1104
+ VA: "Holy See (Vatican City State)",
1105
+ HN: "Honduras",
1106
+ HK: "Hong Kong",
1107
+ HU: "Hungary",
1108
+ IS: "Iceland",
1109
+ IN: "India",
1110
+ ID: "Indonesia",
1111
+ IR: "Iran",
1112
+ IQ: "Iraq",
1113
+ IE: "Ireland",
1114
+ IM: "Isle of Man",
1115
+ IL: "Israel",
1116
+ IT: "Italy",
1117
+ JM: "Jamaica",
1118
+ JP: "Japan",
1119
+ JE: "Jersey",
1120
+ JO: "Jordan",
1121
+ KZ: "Kazakhstan",
1122
+ KE: "Kenya",
1123
+ KI: "Kiribati",
1124
+ XK: "Kosovo",
1125
+ KW: "Kuwait",
1126
+ KG: "Kyrgyzstan",
1127
+ LA: "Laos",
1128
+ LV: "Latvia",
1129
+ LB: "Lebanon",
1130
+ LS: "Lesotho",
1131
+ LR: "Liberia",
1132
+ LY: "Libya",
1133
+ LI: "Liechtenstein",
1134
+ LT: "Lithuania",
1135
+ LU: "Luxembourg",
1136
+ MO: "Macao",
1137
+ MG: "Madagascar",
1138
+ MW: "Malawi",
1139
+ MY: "Malaysia",
1140
+ MV: "Maldives",
1141
+ ML: "Mali",
1142
+ MT: "Malta",
1143
+ MH: "Marshall Islands",
1144
+ MQ: "Martinique",
1145
+ MR: "Mauritania",
1146
+ MU: "Mauritius",
1147
+ YT: "Mayotte",
1148
+ MX: "Mexico",
1149
+ MD: "Moldova",
1150
+ MC: "Monaco",
1151
+ MN: "Mongolia",
1152
+ ME: "Montenegro",
1153
+ MS: "Montserrat",
1154
+ MA: "Morocco",
1155
+ MZ: "Mozambique",
1156
+ MM: "Myanmar",
1157
+ NA: "Namibia",
1158
+ NR: "Nauru",
1159
+ NP: "Nepal",
1160
+ NL: "Netherlands",
1161
+ NC: "New Caledonia",
1162
+ NZ: "New Zealand",
1163
+ NI: "Nicaragua",
1164
+ NE: "Niger",
1165
+ NG: "Nigeria",
1166
+ NU: "Niue",
1167
+ NF: "Norfolk Island",
1168
+ KP: "North Korea",
1169
+ MK: "North Macedonia",
1170
+ MP: "Northern Mariana Islands",
1171
+ NO: "Norway",
1172
+ OM: "Oman",
1173
+ PK: "Pakistan",
1174
+ PW: "Palau",
1175
+ PS: "Palestine",
1176
+ PA: "Panama",
1177
+ PG: "Papua New Guinea",
1178
+ PY: "Paraguay",
1179
+ PE: "Peru",
1180
+ PH: "Philippines",
1181
+ PL: "Poland",
1182
+ PT: "Portugal",
1183
+ PR: "Puerto Rico",
1184
+ QA: "Qatar",
1185
+ RE: "Reunion",
1186
+ RO: "Romania",
1187
+ RU: "Russia",
1188
+ RW: "Rwanda",
1189
+ BL: "Saint Barth\xE9lemy",
1190
+ SH: "Saint Helena",
1191
+ KN: "Saint Kitts and Nevis",
1192
+ LC: "Saint Lucia",
1193
+ MF: "Saint Martin (French Part)",
1194
+ PM: "Saint Pierre and Miquelon",
1195
+ VC: "Saint Vincent and the Grenadines",
1196
+ WS: "Samoa",
1197
+ SM: "San Marino",
1198
+ ST: "Sao Tome and Principe",
1199
+ SA: "Saudi Arabia",
1200
+ SN: "Senegal",
1201
+ RS: "Serbia",
1202
+ SC: "Seychelles",
1203
+ SL: "Sierra Leone",
1204
+ SG: "Singapore",
1205
+ SX: "Sint Maarten",
1206
+ SK: "Slovakia",
1207
+ SI: "Slovenia",
1208
+ SB: "Solomon Islands",
1209
+ SO: "Somalia",
1210
+ ZA: "South Africa",
1211
+ KR: "South Korea",
1212
+ SS: "South Sudan",
1213
+ ES: "Spain",
1214
+ LK: "Sri Lanka",
1215
+ SD: "Sudan",
1216
+ SR: "Suriname",
1217
+ SJ: "Svalbard and Jan Mayen",
1218
+ SZ: "Swaziland",
1219
+ SE: "Sweden",
1220
+ CH: "Switzerland",
1221
+ SY: "Syria",
1222
+ TW: "Taiwan",
1223
+ TJ: "Tajikistan",
1224
+ TZ: "Tanzania",
1225
+ TH: "Thailand",
1226
+ TL: "Timor-Leste",
1227
+ TG: "Togo",
1228
+ TK: "Tokelau",
1229
+ TO: "Tonga",
1230
+ TT: "Trinidad and Tobago",
1231
+ TA: "Tristan da Cunha",
1232
+ TN: "Tunisia",
1233
+ TR: "Turkey",
1234
+ TM: "Turkmenistan",
1235
+ TC: "Turks and Caicos Islands",
1236
+ TV: "Tuvalu",
1237
+ UG: "Uganda",
1238
+ UA: "Ukraine",
1239
+ AE: "United Arab Emirates",
1240
+ GB: "United Kingdom",
1241
+ US: "United States",
1242
+ UY: "Uruguay",
1243
+ UZ: "Uzbekistan",
1244
+ VU: "Vanuatu",
1245
+ VE: "Venezuela",
1246
+ VN: "Vietnam",
1247
+ VG: "Virgin Islands, British",
1248
+ VI: "Virgin Islands, U.S.",
1249
+ WF: "Wallis and Futuna",
1250
+ EH: "Western Sahara",
1251
+ YE: "Yemen",
1252
+ ZM: "Zambia",
1253
+ ZW: "Zimbabwe"
1254
+ }
1255
+ };
1256
+ var input_phone_default = messages3;
1257
+
992
1258
  // src/i18n/messages/en/index.ts
993
1259
  var enMessages = {
994
1260
  pagination: pagination_default,
995
- inputSelect: input_select_default
1261
+ inputSelect: input_select_default,
1262
+ inputPhone: input_phone_default
996
1263
  };
997
1264
 
998
1265
  // src/i18n/messages/es/pagination.ts
999
- var messages3 = {
1266
+ var messages4 = {
1000
1267
  totalResultsLabel(pagesSize, totalResults) {
1001
1268
  if (totalResults < pagesSize) {
1002
1269
  pagesSize = totalResults;
@@ -1007,22 +1274,275 @@ var messages3 = {
1007
1274
  return `P\xE1gina ${currentPage} de ${totalPages}`;
1008
1275
  }
1009
1276
  };
1010
- var pagination_default2 = messages3;
1277
+ var pagination_default2 = messages4;
1011
1278
 
1012
1279
  // src/i18n/messages/es/input-select.ts
1013
- var messages4 = {
1280
+ var messages5 = {
1014
1281
  noOptions: "No hay opciones disponibles"
1015
1282
  };
1016
- var input_select_default2 = messages4;
1283
+ var input_select_default2 = messages5;
1284
+
1285
+ // src/i18n/messages/es/input-phone.ts
1286
+ var messages6 = {
1287
+ countries: {
1288
+ AF: "Afganist\xE1n",
1289
+ AX: "Islas \xC5land",
1290
+ AL: "Albania",
1291
+ DZ: "Argelia",
1292
+ AS: "Samoa Americana",
1293
+ AD: "Andorra",
1294
+ AO: "Angola",
1295
+ AI: "Anguilla",
1296
+ AG: "Antigua y Barbuda",
1297
+ AR: "Argentina",
1298
+ AM: "Armenia",
1299
+ AW: "Aruba",
1300
+ AC: "Isla de Ascensi\xF3n",
1301
+ AU: "Australia",
1302
+ AT: "Austria",
1303
+ AZ: "Azerbaiy\xE1n",
1304
+ BS: "Bahamas",
1305
+ BH: "Bar\xE9in",
1306
+ BD: "Banglad\xE9s",
1307
+ BB: "Barbados",
1308
+ BY: "Bielorrusia",
1309
+ BE: "B\xE9lgica",
1310
+ BZ: "Belice",
1311
+ BJ: "Ben\xEDn",
1312
+ BM: "Bermudas",
1313
+ BT: "But\xE1n",
1314
+ BO: "Bolivia",
1315
+ BQ: "Bonaire, San Eustaquio y Saba",
1316
+ BA: "Bosnia y Herzegovina",
1317
+ BW: "Botsuana",
1318
+ BR: "Brasil",
1319
+ IO: "Territorio Brit\xE1nico del Oc\xE9ano \xCDndico",
1320
+ BN: "Brun\xE9i",
1321
+ BG: "Bulgaria",
1322
+ BF: "Burkina Faso",
1323
+ BI: "Burundi",
1324
+ KH: "Camboya",
1325
+ CM: "Camer\xFAn",
1326
+ CA: "Canad\xE1",
1327
+ CV: "Cabo Verde",
1328
+ KY: "Islas Caim\xE1n",
1329
+ CF: "Rep\xFAblica Centroafricana",
1330
+ TD: "Chad",
1331
+ CL: "Chile",
1332
+ CN: "China",
1333
+ CX: "Isla Christmas",
1334
+ CC: "Islas Cocos (Keeling)",
1335
+ CO: "Colombia",
1336
+ KM: "Comoras",
1337
+ CG: "Congo",
1338
+ CD: "Rep\xFAblica Democr\xE1tica del Congo",
1339
+ CK: "Islas Cook",
1340
+ CR: "Costa Rica",
1341
+ CI: "C\xF4te d'Ivoire",
1342
+ HR: "Croacia",
1343
+ CU: "Cuba",
1344
+ CW: "Curazao",
1345
+ CY: "Chipre",
1346
+ CZ: "Rep\xFAblica Checa",
1347
+ DK: "Dinamarca",
1348
+ DJ: "Yibuti",
1349
+ DM: "Dominica",
1350
+ DO: "Rep\xFAblica Dominicana",
1351
+ EC: "Ecuador",
1352
+ EG: "Egipto",
1353
+ SV: "El Salvador",
1354
+ GQ: "Guinea Ecuatorial",
1355
+ ER: "Eritrea",
1356
+ EE: "Estonia",
1357
+ ET: "Etiop\xEDa",
1358
+ FK: "Islas Malvinas",
1359
+ FO: "Islas Feroe",
1360
+ FM: "Micronesia",
1361
+ FJ: "Fiyi",
1362
+ FI: "Finlandia",
1363
+ FR: "Francia",
1364
+ GF: "Guayana Francesa",
1365
+ PF: "Polinesia Francesa",
1366
+ GA: "Gab\xF3n",
1367
+ GM: "Gambia",
1368
+ GE: "Georgia",
1369
+ DE: "Alemania",
1370
+ GH: "Ghana",
1371
+ GI: "Gibraltar",
1372
+ GR: "Grecia",
1373
+ GL: "Groenlandia",
1374
+ GD: "Granada",
1375
+ GP: "Guadalupe",
1376
+ GU: "Guam",
1377
+ GT: "Guatemala",
1378
+ GG: "Guernesey",
1379
+ GN: "Guinea",
1380
+ GW: "Guinea-Bis\xE1u",
1381
+ GY: "Guyana",
1382
+ HT: "Hait\xED",
1383
+ VA: "Santa Sede (Ciudad del Vaticano)",
1384
+ HN: "Honduras",
1385
+ HK: "Hong Kong",
1386
+ HU: "Hungr\xEDa",
1387
+ IS: "Islandia",
1388
+ IN: "India",
1389
+ ID: "Indonesia",
1390
+ IR: "Ir\xE1n",
1391
+ IQ: "Iraq",
1392
+ IE: "Irlanda",
1393
+ IM: "Isla de Man",
1394
+ IL: "Israel",
1395
+ IT: "Italia",
1396
+ JM: "Jamaica",
1397
+ JP: "Jap\xF3n",
1398
+ JE: "Jersey",
1399
+ JO: "Jordania",
1400
+ KZ: "Kazajist\xE1n",
1401
+ KE: "Kenia",
1402
+ KI: "Kiribati",
1403
+ XK: "Kosovo",
1404
+ KW: "Kuwait",
1405
+ KG: "Kirguist\xE1n",
1406
+ LA: "Laos",
1407
+ LV: "Letonia",
1408
+ LB: "L\xEDbano",
1409
+ LS: "Lesoto",
1410
+ LR: "Liberia",
1411
+ LY: "Libia",
1412
+ LI: "Liechtenstein",
1413
+ LT: "Lituania",
1414
+ LU: "Luxemburgo",
1415
+ MO: "Macao",
1416
+ MG: "Madagascar",
1417
+ MW: "Malaui",
1418
+ MY: "Malasia",
1419
+ MV: "Maldivas",
1420
+ ML: "Mal\xED",
1421
+ MT: "Malta",
1422
+ MH: "Islas Marshall",
1423
+ MQ: "Martinica",
1424
+ MR: "Mauritania",
1425
+ MU: "Mauricio",
1426
+ YT: "Mayotte",
1427
+ MX: "M\xE9xico",
1428
+ MD: "Moldavia",
1429
+ MC: "M\xF3naco",
1430
+ MN: "Mongolia",
1431
+ ME: "Montenegro",
1432
+ MS: "Montserrat",
1433
+ MA: "Marruecos",
1434
+ MZ: "Mozambique",
1435
+ MM: "Myanmar",
1436
+ NA: "Namibia",
1437
+ NR: "Nauru",
1438
+ NP: "Nepal",
1439
+ NL: "Pa\xEDses Bajos",
1440
+ NC: "Nueva Caledonia",
1441
+ NZ: "Nueva Zelanda",
1442
+ NI: "Nicaragua",
1443
+ NE: "N\xEDger",
1444
+ NG: "Nigeria",
1445
+ NU: "Niue",
1446
+ NF: "Isla Norfolk",
1447
+ KP: "Corea del Norte",
1448
+ MK: "Macedonia del Norte",
1449
+ MP: "Islas Marianas del Norte",
1450
+ NO: "Noruega",
1451
+ OM: "Om\xE1n",
1452
+ PK: "Pakist\xE1n",
1453
+ PW: "Palau",
1454
+ PS: "Palestina",
1455
+ PA: "Panam\xE1",
1456
+ PG: "Pap\xFAa Nueva Guinea",
1457
+ PY: "Paraguay",
1458
+ PE: "Per\xFA",
1459
+ PH: "Filipinas",
1460
+ PL: "Polonia",
1461
+ PT: "Portugal",
1462
+ PR: "Puerto Rico",
1463
+ QA: "Catar",
1464
+ RE: "Reuni\xF3n",
1465
+ RO: "Ruman\xEDa",
1466
+ RU: "Rusia",
1467
+ RW: "Ruanda",
1468
+ BL: "San Bartolom\xE9",
1469
+ SH: "Santa Elena",
1470
+ KN: "San Crist\xF3bal y Nieves",
1471
+ LC: "Santa Luc\xEDa",
1472
+ MF: "San Mart\xEDn (parte francesa)",
1473
+ PM: "San Pedro y Miquel\xF3n",
1474
+ VC: "San Vicente y las Granadinas",
1475
+ WS: "Samoa",
1476
+ SM: "San Marino",
1477
+ ST: "Santo Tom\xE9 y Pr\xEDncipe",
1478
+ SA: "Arabia Saudita",
1479
+ SN: "Senegal",
1480
+ RS: "Serbia",
1481
+ SC: "Seychelles",
1482
+ SL: "Sierra Leona",
1483
+ SG: "Singapur",
1484
+ SX: "Sint Maarten",
1485
+ SK: "Eslovaquia",
1486
+ SI: "Eslovenia",
1487
+ SB: "Islas Salom\xF3n",
1488
+ SO: "Somalia",
1489
+ ZA: "Sud\xE1frica",
1490
+ KR: "Corea del Sur",
1491
+ SS: "Sud\xE1n del Sur",
1492
+ ES: "Espa\xF1a",
1493
+ LK: "Sri Lanka",
1494
+ SD: "Sud\xE1n",
1495
+ SR: "Surinam",
1496
+ SJ: "Svalbard y Jan Mayen",
1497
+ SZ: "Suazilandia",
1498
+ SE: "Suecia",
1499
+ CH: "Suiza",
1500
+ SY: "Siria",
1501
+ TW: "Taiw\xE1n",
1502
+ TJ: "Tayikist\xE1n",
1503
+ TZ: "Tanzania",
1504
+ TH: "Tailandia",
1505
+ TL: "Timor-Leste",
1506
+ TG: "Togo",
1507
+ TK: "Tokelau",
1508
+ TO: "Tonga",
1509
+ TT: "Trinidad y Tobago",
1510
+ TA: "Trist\xE1n de Acu\xF1a",
1511
+ TN: "T\xFAnez",
1512
+ TR: "Turqu\xEDa",
1513
+ TM: "Turkmenist\xE1n",
1514
+ TC: "Islas Turcas y Caicos",
1515
+ TV: "Tuvalu",
1516
+ UG: "Uganda",
1517
+ UA: "Ucrania",
1518
+ AE: "Emiratos \xC1rabes Unidos",
1519
+ GB: "Reino Unido",
1520
+ US: "Estados Unidos",
1521
+ UY: "Uruguay",
1522
+ UZ: "Uzbekist\xE1n",
1523
+ VU: "Vanuatu",
1524
+ VE: "Venezuela",
1525
+ VN: "Vietnam",
1526
+ VG: "Islas V\xEDrgenes Brit\xE1nicas",
1527
+ VI: "Islas V\xEDrgenes de los EE.UU.",
1528
+ WF: "Wallis y Futuna",
1529
+ EH: "Sahara Occidental",
1530
+ YE: "Yemen",
1531
+ ZM: "Zambia",
1532
+ ZW: "Zimbabue"
1533
+ }
1534
+ };
1535
+ var input_phone_default2 = messages6;
1017
1536
 
1018
1537
  // src/i18n/messages/es/index.ts
1019
1538
  var esMessages = {
1020
1539
  pagination: pagination_default2,
1021
- inputSelect: input_select_default2
1540
+ inputSelect: input_select_default2,
1541
+ inputPhone: input_phone_default2
1022
1542
  };
1023
1543
 
1024
1544
  // src/i18n/messages/pt-br/pagination.ts
1025
- var messages5 = {
1545
+ var messages7 = {
1026
1546
  totalResultsLabel(pagesSize, totalResults) {
1027
1547
  if (totalResults < pagesSize) {
1028
1548
  pagesSize = totalResults;
@@ -1033,21 +1553,274 @@ var messages5 = {
1033
1553
  return `P\xE1gina ${currentPage} de ${totalPages}`;
1034
1554
  }
1035
1555
  };
1036
- var pagination_default3 = messages5;
1556
+ var pagination_default3 = messages7;
1037
1557
 
1038
1558
  // src/i18n/messages/pt-br/input-select.ts
1039
- var messages6 = {
1559
+ var messages8 = {
1040
1560
  noOptions: "Nenhuma op\xE7\xE3o dispon\xEDvel"
1041
1561
  };
1042
- var input_select_default3 = messages6;
1562
+ var input_select_default3 = messages8;
1563
+
1564
+ // src/i18n/messages/pt-br/input-phone.ts
1565
+ var messages9 = {
1566
+ countries: {
1567
+ AF: "Afeganist\xE3o",
1568
+ AX: "Ilhas \xC5land",
1569
+ AL: "Alb\xE2nia",
1570
+ DZ: "Arg\xE9lia",
1571
+ AS: "Samoa Americana",
1572
+ AD: "Andorra",
1573
+ AO: "Angola",
1574
+ AI: "Anguila",
1575
+ AG: "Ant\xEDgua e Barbuda",
1576
+ AR: "Argentina",
1577
+ AM: "Arm\xEAnia",
1578
+ AW: "Aruba",
1579
+ AC: "Ilha de Ascens\xE3o",
1580
+ AU: "Austr\xE1lia",
1581
+ AT: "\xC1ustria",
1582
+ AZ: "Azerbaij\xE3o",
1583
+ BS: "Bahamas",
1584
+ BH: "Bahrein",
1585
+ BD: "Bangladesh",
1586
+ BB: "Barbados",
1587
+ BY: "Bielorr\xFAssia",
1588
+ BE: "B\xE9lgica",
1589
+ BZ: "Belize",
1590
+ BJ: "Benim",
1591
+ BM: "Bermudas",
1592
+ BT: "But\xE3o",
1593
+ BO: "Bol\xEDvia",
1594
+ BQ: "Bonaire, Santo Eust\xE1quio e Saba",
1595
+ BA: "B\xF3snia e Herzegovina",
1596
+ BW: "Botsuana",
1597
+ BR: "Brasil",
1598
+ IO: "Territ\xF3rio Brit\xE2nico do Oceano \xCDndico",
1599
+ BN: "Brunei",
1600
+ BG: "Bulg\xE1ria",
1601
+ BF: "Burquina Faso",
1602
+ BI: "Burundi",
1603
+ KH: "Camboja",
1604
+ CM: "Camar\xF5es",
1605
+ CA: "Canad\xE1",
1606
+ CV: "Cabo Verde",
1607
+ KY: "Ilhas Cayman",
1608
+ CF: "Rep\xFAblica Centro-Africana",
1609
+ TD: "Chade",
1610
+ CL: "Chile",
1611
+ CN: "China",
1612
+ CX: "Ilha Christmas",
1613
+ CC: "Ilhas Cocos (Keeling)",
1614
+ CO: "Col\xF4mbia",
1615
+ KM: "Comores",
1616
+ CG: "Congo",
1617
+ CD: "Rep\xFAblica Democr\xE1tica do Congo",
1618
+ CK: "Ilhas Cook",
1619
+ CR: "Costa Rica",
1620
+ CI: "Costa do Marfim",
1621
+ HR: "Cro\xE1cia",
1622
+ CU: "Cuba",
1623
+ CW: "Cura\xE7au",
1624
+ CY: "Chipre",
1625
+ CZ: "Rep\xFAblica Tcheca",
1626
+ DK: "Dinamarca",
1627
+ DJ: "Djibouti",
1628
+ DM: "Dominica",
1629
+ DO: "Rep\xFAblica Dominicana",
1630
+ EC: "Equador",
1631
+ EG: "Egito",
1632
+ SV: "El Salvador",
1633
+ GQ: "Guin\xE9 Equatorial",
1634
+ ER: "Eritreia",
1635
+ EE: "Est\xF4nia",
1636
+ ET: "Eti\xF3pia",
1637
+ FK: "Ilhas Malvinas",
1638
+ FO: "Ilhas Faro\xE9",
1639
+ FM: "Micron\xE9sia",
1640
+ FJ: "Fiji",
1641
+ FI: "Finl\xE2ndia",
1642
+ FR: "Fran\xE7a",
1643
+ GF: "Guiana Francesa",
1644
+ PF: "Polin\xE9sia Francesa",
1645
+ GA: "Gab\xE3o",
1646
+ GM: "G\xE2mbia",
1647
+ GE: "Ge\xF3rgia",
1648
+ DE: "Alemanha",
1649
+ GH: "Gana",
1650
+ GI: "Gibraltar",
1651
+ GR: "Gr\xE9cia",
1652
+ GL: "Groenl\xE2ndia",
1653
+ GD: "Granada",
1654
+ GP: "Guadalupe",
1655
+ GU: "Guam",
1656
+ GT: "Guatemala",
1657
+ GG: "Guernsey",
1658
+ GN: "Guin\xE9",
1659
+ GW: "Guin\xE9-Bissau",
1660
+ GY: "Guiana",
1661
+ HT: "Haiti",
1662
+ VA: "Santa S\xE9 (Cidade do Vaticano)",
1663
+ HN: "Honduras",
1664
+ HK: "Hong Kong",
1665
+ HU: "Hungria",
1666
+ IS: "Isl\xE2ndia",
1667
+ IN: "\xCDndia",
1668
+ ID: "Indon\xE9sia",
1669
+ IR: "Ir\xE3",
1670
+ IQ: "Iraque",
1671
+ IE: "Irlanda",
1672
+ IM: "Ilha de Man",
1673
+ IL: "Israel",
1674
+ IT: "It\xE1lia",
1675
+ JM: "Jamaica",
1676
+ JP: "Jap\xE3o",
1677
+ JE: "Jersey",
1678
+ JO: "Jord\xE2nia",
1679
+ KZ: "Cazaquist\xE3o",
1680
+ KE: "Qu\xEAnia",
1681
+ KI: "Quirib\xE1ti",
1682
+ XK: "Kosovo",
1683
+ KW: "Kuwait",
1684
+ KG: "Quirguist\xE3o",
1685
+ LA: "Laos",
1686
+ LV: "Let\xF4nia",
1687
+ LB: "L\xEDbano",
1688
+ LS: "Lesoto",
1689
+ LR: "Lib\xE9ria",
1690
+ LY: "L\xEDbia",
1691
+ LI: "Liechtenstein",
1692
+ LT: "Litu\xE2nia",
1693
+ LU: "Luxemburgo",
1694
+ MO: "Macau",
1695
+ MG: "Madag\xE1scar",
1696
+ MW: "Malawi",
1697
+ MY: "Mal\xE1sia",
1698
+ MV: "Maldivas",
1699
+ ML: "Mali",
1700
+ MT: "Malta",
1701
+ MH: "Ilhas Marshall",
1702
+ MQ: "Martinica",
1703
+ MR: "Maurit\xE2nia",
1704
+ MU: "Maur\xEDcio",
1705
+ YT: "Mayotte",
1706
+ MX: "M\xE9xico",
1707
+ MD: "Mold\xE1via",
1708
+ MC: "M\xF4naco",
1709
+ MN: "Mong\xF3lia",
1710
+ ME: "Montenegro",
1711
+ MS: "Montserrat",
1712
+ MA: "Marrocos",
1713
+ MZ: "Mo\xE7ambique",
1714
+ MM: "Mianmar",
1715
+ NA: "Nam\xEDbia",
1716
+ NR: "Nauru",
1717
+ NP: "Nepal",
1718
+ NL: "Pa\xEDses Baixos",
1719
+ NC: "Nova Caled\xF4nia",
1720
+ NZ: "Nova Zel\xE2ndia",
1721
+ NI: "Nicar\xE1gua",
1722
+ NE: "N\xEDger",
1723
+ NG: "Nig\xE9ria",
1724
+ NU: "Niue",
1725
+ NF: "Ilha Norfolk",
1726
+ KP: "Coreia do Norte",
1727
+ MK: "Maced\xF4nia do Norte",
1728
+ MP: "Ilhas Marianas do Norte",
1729
+ NO: "Noruega",
1730
+ OM: "Om\xE3",
1731
+ PK: "Paquist\xE3o",
1732
+ PW: "Palau",
1733
+ PS: "Palestina",
1734
+ PA: "Panam\xE1",
1735
+ PG: "Papua-Nova Guin\xE9",
1736
+ PY: "Paraguai",
1737
+ PE: "Peru",
1738
+ PH: "Filipinas",
1739
+ PL: "Pol\xF4nia",
1740
+ PT: "Portugal",
1741
+ PR: "Porto Rico",
1742
+ QA: "Catar",
1743
+ RE: "Reuni\xE3o",
1744
+ RO: "Rom\xEAnia",
1745
+ RU: "R\xFAssia",
1746
+ RW: "Ruanda",
1747
+ BL: "S\xE3o Bartolomeu",
1748
+ SH: "Santa Helena",
1749
+ KN: "S\xE3o Crist\xF3v\xE3o e Neves",
1750
+ LC: "Santa L\xFAcia",
1751
+ MF: "S\xE3o Martinho (parte francesa)",
1752
+ PM: "S\xE3o Pedro e Miquel\xE3o",
1753
+ VC: "S\xE3o Vicente e Granadinas",
1754
+ WS: "Samoa",
1755
+ SM: "San Marino",
1756
+ ST: "S\xE3o Tom\xE9 e Pr\xEDncipe",
1757
+ SA: "Ar\xE1bia Saudita",
1758
+ SN: "Senegal",
1759
+ RS: "S\xE9rvia",
1760
+ SC: "Seicheles",
1761
+ SL: "Serra Leoa",
1762
+ SG: "Singapura",
1763
+ SX: "Sint Maarten",
1764
+ SK: "Eslov\xE1quia",
1765
+ SI: "Eslov\xEAnia",
1766
+ SB: "Ilhas Salom\xE3o",
1767
+ SO: "Som\xE1lia",
1768
+ ZA: "\xC1frica do Sul",
1769
+ KR: "Coreia do Sul",
1770
+ SS: "Sud\xE3o do Sul",
1771
+ ES: "Espanha",
1772
+ LK: "Sri Lanka",
1773
+ SD: "Sud\xE3o",
1774
+ SR: "Suriname",
1775
+ SJ: "Svalbard e Jan Mayen",
1776
+ SZ: "Essuat\xEDni",
1777
+ SE: "Su\xE9cia",
1778
+ CH: "Su\xED\xE7a",
1779
+ SY: "S\xEDria",
1780
+ TW: "Taiwan",
1781
+ TJ: "Tajiquist\xE3o",
1782
+ TZ: "Tanz\xE2nia",
1783
+ TH: "Tail\xE2ndia",
1784
+ TL: "Timor-Leste",
1785
+ TG: "Togo",
1786
+ TK: "Toquelau",
1787
+ TO: "Tonga",
1788
+ TT: "Trindade e Tobago",
1789
+ TA: "Trist\xE3o da Cunha",
1790
+ TN: "Tun\xEDsia",
1791
+ TR: "Turquia",
1792
+ TM: "Turcomenist\xE3o",
1793
+ TC: "Ilhas Turcas e Caicos",
1794
+ TV: "Tuvalu",
1795
+ UG: "Uganda",
1796
+ UA: "Ucr\xE2nia",
1797
+ AE: "Emirados \xC1rabes Unidos",
1798
+ GB: "Reino Unido",
1799
+ US: "Estados Unidos",
1800
+ UY: "Uruguai",
1801
+ UZ: "Uzbequist\xE3o",
1802
+ VU: "Vanuatu",
1803
+ VE: "Venezuela",
1804
+ VN: "Vietn\xE3",
1805
+ VG: "Ilhas Virgens Brit\xE2nicas",
1806
+ VI: "Ilhas Virgens Americanas",
1807
+ WF: "Wallis e Futuna",
1808
+ EH: "Saara Ocidental",
1809
+ YE: "I\xE9men",
1810
+ ZM: "Z\xE2mbia",
1811
+ ZW: "Zimb\xE1bue"
1812
+ }
1813
+ };
1814
+ var input_phone_default3 = messages9;
1043
1815
 
1044
1816
  // src/i18n/messages/pt-br/index.ts
1045
1817
  var ptBrMessages = {
1046
1818
  pagination: pagination_default3,
1047
- inputSelect: input_select_default3
1819
+ inputSelect: input_select_default3,
1820
+ inputPhone: input_phone_default3
1048
1821
  };
1049
1822
 
1050
- // src/i18n/messasge-storege-handler.ts
1823
+ // src/i18n/message-storage-handler.ts
1051
1824
  var customNebulaI18nStorageKey = "custom-nebula-i18n-key";
1052
1825
  var localStorageKey = "nebula-i18n-key";
1053
1826
  var getNebulaI18nStorageKey = () => {
@@ -1069,7 +1842,7 @@ var setNebulaLanguage = (language) => {
1069
1842
  }
1070
1843
  localStorage.setItem(getNebulaI18nStorageKey(), language);
1071
1844
  };
1072
- var messages7 = /* @__PURE__ */ new Map([
1845
+ var messages10 = /* @__PURE__ */ new Map([
1073
1846
  [null, enMessages],
1074
1847
  [void 0, enMessages],
1075
1848
  ["en-US", enMessages],
@@ -1087,14 +1860,14 @@ var NebulaI18nProvider = ({
1087
1860
  () => customI18nStorageKey ?? localStorageKey,
1088
1861
  [customI18nStorageKey]
1089
1862
  );
1090
- const [messages8, setMessages] = useState(
1091
- messages7.get(getNebulaLanguage()) ?? messages7.get("en-US")
1863
+ const [messages11, setMessages] = useState(
1864
+ messages10.get(getNebulaLanguage()) ?? messages10.get("en-US")
1092
1865
  );
1093
1866
  const handleStorageChange = useCallback(
1094
1867
  ({ detail }) => {
1095
1868
  if (detail.key === storageKey) {
1096
1869
  setMessages(
1097
- messages7.get(detail.value) ?? messages7.get("en-US")
1870
+ messages10.get(detail.value) ?? messages10.get("en-US")
1098
1871
  );
1099
1872
  }
1100
1873
  },
@@ -1134,7 +1907,7 @@ var NebulaI18nProvider = ({
1134
1907
  localStorage.removeItem(localStorageKey);
1135
1908
  localStorage.setItem(customNebulaI18nStorageKey, customI18nStorageKey);
1136
1909
  }, [customI18nStorageKey]);
1137
- return /* @__PURE__ */ jsx(NebulaI18nContext.Provider, { value: { messages: messages8 }, children });
1910
+ return /* @__PURE__ */ jsx(NebulaI18nContext.Provider, { value: { messages: messages11 }, children });
1138
1911
  };
1139
1912
  var useNebulaI18n = () => {
1140
1913
  const context = useContext(NebulaI18nContext);
@@ -1151,7 +1924,7 @@ var Pagination = ({
1151
1924
  onChangePage,
1152
1925
  ...props
1153
1926
  }) => {
1154
- const { messages: messages8 } = useNebulaI18n();
1927
+ const { messages: messages11 } = useNebulaI18n();
1155
1928
  const totalPages = useMemo(() => {
1156
1929
  return Math.ceil(total / (pageSize || 1));
1157
1930
  }, [total, pageSize]);
@@ -1184,13 +1957,13 @@ var Pagination = ({
1184
1957
  }, [totalPages, pageSize, total]);
1185
1958
  const totalResultsLabel = useMemo(() => {
1186
1959
  if (page === totalPages) {
1187
- return messages8.pagination.totalResultsLabel(lastPageSize, total);
1960
+ return messages11.pagination.totalResultsLabel(lastPageSize, total);
1188
1961
  }
1189
- return messages8.pagination.totalResultsLabel(pageSize, total);
1190
- }, [messages8.pagination, pageSize, total, page, totalPages, lastPageSize]);
1962
+ return messages11.pagination.totalResultsLabel(pageSize, total);
1963
+ }, [messages11.pagination, pageSize, total, page, totalPages, lastPageSize]);
1191
1964
  const currentPageLabel = useMemo(
1192
- () => messages8.pagination.currentPageLabel(normalizedPage, totalPages),
1193
- [messages8.pagination, normalizedPage, totalPages]
1965
+ () => messages11.pagination.currentPageLabel(normalizedPage, totalPages),
1966
+ [messages11.pagination, normalizedPage, totalPages]
1194
1967
  );
1195
1968
  return /* @__PURE__ */ jsxs(
1196
1969
  "nav",
@@ -1204,28 +1977,28 @@ var Pagination = ({
1204
1977
  /* @__PURE__ */ jsxs(PaginationContent, { children: [
1205
1978
  totalPages > 0 && /* @__PURE__ */ jsx("span", { className: "nebula-ds select-none text-pagination-text text-sm font-medium mr-[14px]", children: currentPageLabel }),
1206
1979
  /* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(
1207
- PaginationJumpPreviousChunk,
1980
+ PaginationButtonFirstPage,
1208
1981
  {
1209
1982
  onClick: () => handleChangePage(1),
1210
1983
  disabled: disabledPreviousPage
1211
1984
  }
1212
1985
  ) }),
1213
- /* @__PURE__ */ jsx(
1214
- PaginationPrevious,
1986
+ /* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(
1987
+ PaginationButtonPreviousPage,
1215
1988
  {
1216
1989
  onClick: () => handleChangePage(normalizedPage - 1),
1217
1990
  disabled: disabledPreviousPage
1218
1991
  }
1219
- ),
1992
+ ) }),
1220
1993
  /* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(
1221
- PaginationNext,
1994
+ PaginationButtonNextPage,
1222
1995
  {
1223
1996
  onClick: () => handleChangePage(normalizedPage + 1),
1224
1997
  disabled: disabledNextPage
1225
1998
  }
1226
1999
  ) }),
1227
2000
  /* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(
1228
- PaginationJumpNextChunk,
2001
+ PaginationButtonLastPage,
1229
2002
  {
1230
2003
  onClick: () => handleChangePage(totalPages),
1231
2004
  disabled: disabledNextPage
@@ -1304,18 +2077,50 @@ var PaginationButton = ({
1304
2077
  );
1305
2078
  };
1306
2079
  PaginationButton.displayName = "PaginationButton";
1307
- var PaginationPrevious = ({
2080
+ var PaginationButtonFirstPage = ({ ...props }) => /* @__PURE__ */ jsx(
2081
+ PaginationButton,
2082
+ {
2083
+ "aria-label": "Go to previous chunk",
2084
+ "data-testid": "nebula-pagination-button-first-page",
2085
+ ...props,
2086
+ children: /* @__PURE__ */ jsx(ChevronsLeft, { className: "nebula-ds h-4 w-4" })
2087
+ }
2088
+ );
2089
+ PaginationButtonFirstPage.displayName = "PaginationButtonFirstPage";
2090
+ var PaginationButtonPreviousPage = ({
1308
2091
  ...props
1309
- }) => /* @__PURE__ */ jsx(PaginationButton, { "aria-label": "Go to previous page", ...props, children: /* @__PURE__ */ jsx(ChevronLeft, { className: "nebula-ds h-4" }) });
1310
- PaginationPrevious.displayName = "PaginationPrevious";
1311
- var PaginationNext = ({
2092
+ }) => /* @__PURE__ */ jsx(
2093
+ PaginationButton,
2094
+ {
2095
+ "aria-label": "Go to previous page",
2096
+ "data-testid": "nebula-pagination-button-previous-page",
2097
+ ...props,
2098
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: "nebula-ds h-4" })
2099
+ }
2100
+ );
2101
+ PaginationButtonPreviousPage.displayName = "PaginationButtonPreviousPage";
2102
+ var PaginationButtonNextPage = ({
1312
2103
  ...props
1313
- }) => /* @__PURE__ */ jsx(PaginationButton, { "aria-label": "Go to next page", ...props, children: /* @__PURE__ */ jsx(ChevronRight, { className: "nebula-ds h-4" }) });
1314
- PaginationNext.displayName = "PaginationNext";
1315
- var PaginationJumpNextChunk = ({ ...props }) => /* @__PURE__ */ jsx(PaginationButton, { "aria-label": "Go to next chunk", ...props, children: /* @__PURE__ */ jsx(ChevronsRight, { className: "nebula-ds h-4 w-4" }) });
1316
- PaginationJumpNextChunk.displayName = "PaginationJumpNextChunk";
1317
- var PaginationJumpPreviousChunk = ({ ...props }) => /* @__PURE__ */ jsx(PaginationButton, { "aria-label": "Go to previous chunk", ...props, children: /* @__PURE__ */ jsx(ChevronsLeft, { className: "nebula-ds h-4 w-4" }) });
1318
- PaginationJumpPreviousChunk.displayName = "PaginationJumpPreviousChunk";
2104
+ }) => /* @__PURE__ */ jsx(
2105
+ PaginationButton,
2106
+ {
2107
+ "aria-label": "Go to next page",
2108
+ "data-testid": "nebula-pagination-button-next-page",
2109
+ ...props,
2110
+ children: /* @__PURE__ */ jsx(ChevronRight, { className: "nebula-ds h-4" })
2111
+ }
2112
+ );
2113
+ PaginationButtonNextPage.displayName = "PaginationButtonNextPage";
2114
+ var PaginationButtonLastPage = ({ ...props }) => /* @__PURE__ */ jsx(
2115
+ PaginationButton,
2116
+ {
2117
+ "aria-label": "Go to next chunk",
2118
+ "data-testid": "nebula-pagination-button-last-page",
2119
+ ...props,
2120
+ children: /* @__PURE__ */ jsx(ChevronsRight, { className: "nebula-ds h-4 w-4" })
2121
+ }
2122
+ );
2123
+ PaginationButtonLastPage.displayName = "PaginationButtonLastPage";
1319
2124
  var tagVariantsEnum = /* @__PURE__ */ ((tagVariantsEnum2) => {
1320
2125
  tagVariantsEnum2["blue"] = "bg-tag-colorIndicator-blue";
1321
2126
  tagVariantsEnum2["green"] = "bg-tag-colorIndicator-green";
@@ -1431,7 +2236,7 @@ var createStyledSelect = (BaseSelect, displayName) => {
1431
2236
  isError = false,
1432
2237
  ...props
1433
2238
  }) => {
1434
- const { messages: messages8 } = useNebulaI18n();
2239
+ const { messages: messages11 } = useNebulaI18n();
1435
2240
  const customClassNames = useMemo(() => {
1436
2241
  return {
1437
2242
  control: (props2) => controlStyles(props2, isError),
@@ -1478,7 +2283,7 @@ var createStyledSelect = (BaseSelect, displayName) => {
1478
2283
  isDisabled: disabled,
1479
2284
  components: customComponents,
1480
2285
  classNames: customClassNames,
1481
- noOptionsMessage: () => /* @__PURE__ */ jsx("p", { children: messages8.inputSelect.noOptions }),
2286
+ noOptionsMessage: () => /* @__PURE__ */ jsx("p", { children: messages11.inputSelect.noOptions }),
1482
2287
  ...props
1483
2288
  }
1484
2289
  );
@@ -2453,13 +3258,13 @@ function custom(message, options) {
2453
3258
  }
2454
3259
  );
2455
3260
  }
2456
- async function promise(promise2, messages8, options) {
3261
+ async function promise(promise2, messages11, options) {
2457
3262
  const loadingToast = toast$1.custom(
2458
3263
  (t) => /* @__PURE__ */ jsx(
2459
3264
  ToastComponent,
2460
3265
  {
2461
3266
  type: "info",
2462
- message: messages8.loading,
3267
+ message: messages11.loading,
2463
3268
  options,
2464
3269
  t
2465
3270
  }
@@ -2473,7 +3278,7 @@ async function promise(promise2, messages8, options) {
2473
3278
  ToastComponent,
2474
3279
  {
2475
3280
  type: "success",
2476
- message: messages8.success,
3281
+ message: messages11.success,
2477
3282
  options,
2478
3283
  t
2479
3284
  }
@@ -2488,7 +3293,7 @@ async function promise(promise2, messages8, options) {
2488
3293
  ToastComponent,
2489
3294
  {
2490
3295
  type: "error",
2491
- message: messages8.error,
3296
+ message: messages11.error,
2492
3297
  options,
2493
3298
  t
2494
3299
  }
@@ -2564,6 +3369,112 @@ var ActionBarContent = React8.forwardRef(({ className, children, portal = false,
2564
3369
  ) });
2565
3370
  });
2566
3371
  ActionBarContent.displayName = "ActionBarContent";
3372
+ var CountrySelect = ({
3373
+ disabled,
3374
+ value,
3375
+ onChange,
3376
+ options
3377
+ }) => {
3378
+ const handleSelect = (event) => {
3379
+ onChange(event.target.value);
3380
+ };
3381
+ const { messages: messages11 } = useNebulaI18n();
3382
+ const { countries } = messages11.inputPhone;
3383
+ return /* @__PURE__ */ jsxs("div", { className: "nebula-ds rounded-s-[20px] relative inline-flex items-center self-stretch py-2 ps-4 pe-2 transition-[color,box-shadow] outline-none has-disabled:pointer-events-none has-disabled:opacity-50", children: [
3384
+ /* @__PURE__ */ jsxs("div", { className: "nebula-ds inline-flex items-center gap-1", "aria-hidden": "true", children: [
3385
+ /* @__PURE__ */ jsx(FlagComponent, { country: value, countryName: value, "aria-hidden": "true" }),
3386
+ /* @__PURE__ */ jsx("span", { className: "nebula-ds text-inputText-text-filled focus:text-inputText-text-focus", children: /* @__PURE__ */ jsx(ChevronDown, { size: 16, "aria-hidden": "true" }) })
3387
+ ] }),
3388
+ /* @__PURE__ */ jsx(
3389
+ "select",
3390
+ {
3391
+ disabled,
3392
+ value,
3393
+ onChange: handleSelect,
3394
+ className: "nebula-ds absolute bg-inputText-background-default inset-0 text-sm opacity-0 text-inputText-text-filled focus:text-inputText-text-focus",
3395
+ "aria-label": "Select country",
3396
+ children: options.filter((x) => x.value).map((option, i) => /* @__PURE__ */ jsxs("option", { value: option.value, children: [
3397
+ option.value && countries[option.value],
3398
+ " ",
3399
+ option.value && `+${RPNInput.getCountryCallingCode(option.value)}`
3400
+ ] }, option.value ?? `empty-${i}`))
3401
+ }
3402
+ )
3403
+ ] });
3404
+ };
3405
+ var FlagComponent = ({ country, countryName }) => {
3406
+ const Flag = flags[country];
3407
+ return /* @__PURE__ */ jsx("span", { className: "nebula-ds w-5 overflow-hidden rounded-sm", children: Flag ? /* @__PURE__ */ jsx(Flag, { title: countryName }) : /* @__PURE__ */ jsx(Phone, { size: 16, "aria-hidden": "true" }) });
3408
+ };
3409
+ var PhoneInput = React8__default.forwardRef(({ className, ...props }, ref) => {
3410
+ return /* @__PURE__ */ jsxs("div", { className: "nebula-ds flex items-center justify-center rounded-e-[20px] w-full", children: [
3411
+ /* @__PURE__ */ jsx(Separator2, { orientation: "vertical", className: "nebula-ds w-[2px] h-5" }),
3412
+ /* @__PURE__ */ jsx(
3413
+ InputText,
3414
+ {
3415
+ "data-slot": "phone-input",
3416
+ ref,
3417
+ className: cn(
3418
+ "-ms-px rounded-s-none shadow-none focus-visible:z-10 ring-0 focus:ring-0 border-0 w-full",
3419
+ className
3420
+ ),
3421
+ ...props
3422
+ }
3423
+ )
3424
+ ] });
3425
+ });
3426
+ PhoneInput.displayName = "Input";
3427
+ function InputPhone({
3428
+ value,
3429
+ onChange,
3430
+ className,
3431
+ disabled,
3432
+ isError = false,
3433
+ defaultCountry = "BR",
3434
+ ...props
3435
+ }) {
3436
+ const valueCorrection = value.length && !value.startsWith("+") ? `+${value}` : value;
3437
+ return /* @__PURE__ */ jsx(
3438
+ RPNInput.default,
3439
+ {
3440
+ className: cn(
3441
+ "flex w-full bg-inputText-background-default rounded-[20px] border border-inputText-border-default focus-within:ring-[3px] focus-within:ring-inputText-border-focus focus-within:border-inputText-border-focus",
3442
+ { "bg-inputText-background-disabled": disabled },
3443
+ {
3444
+ "text-inputText-icon-danger border-inputText-border-danger focus-within:border-inputText-border-danger focus-within:ring-button-danger-border-focus": isError
3445
+ },
3446
+ className
3447
+ ),
3448
+ flagComponent: FlagComponent,
3449
+ limitMaxLength: true,
3450
+ countrySelectComponent: CountrySelect,
3451
+ inputComponent: PhoneInput,
3452
+ disabled,
3453
+ value: valueCorrection,
3454
+ onChange: (newValue) => onChange(newValue ?? ""),
3455
+ countryCallingCodeEditable: true,
3456
+ initialValueFormat: "national",
3457
+ defaultCountry,
3458
+ ...props
3459
+ }
3460
+ );
3461
+ }
3462
+ var Skeleton = React8__default.forwardRef(
3463
+ ({ className, ...rest }, ref) => {
3464
+ return /* @__PURE__ */ jsx(
3465
+ "div",
3466
+ {
3467
+ ref,
3468
+ className: cn(
3469
+ "animate-pulse bg-skeleton-background rounded-lg",
3470
+ className
3471
+ ),
3472
+ ...rest
3473
+ }
3474
+ );
3475
+ }
3476
+ );
3477
+ Skeleton.displayName = "Skeleton";
2567
3478
 
2568
3479
  // src/tailwind.ts
2569
3480
  function content({ base = "./" } = {}) {
@@ -2594,6 +3505,7 @@ lucide-react/dist/esm/icons/eye-off.js:
2594
3505
  lucide-react/dist/esm/icons/eye.js:
2595
3506
  lucide-react/dist/esm/icons/info.js:
2596
3507
  lucide-react/dist/esm/icons/minus.js:
3508
+ lucide-react/dist/esm/icons/phone.js:
2597
3509
  lucide-react/dist/esm/icons/x.js:
2598
3510
  lucide-react/dist/esm/lucide-react.js:
2599
3511
  (**
@@ -2604,4 +3516,4 @@ lucide-react/dist/esm/lucide-react.js:
2604
3516
  *)
2605
3517
  */
2606
3518
 
2607
- export { Accordion, AccordionContent, AccordionDescription, AccordionItem, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Checkbox, StyledCreatable as Creatable, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, InputText, Label, NebulaI18nProvider, Pagination, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, Separator2 as Separator, Space, SpaceDirectionEnum, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Toaster, Tooltip, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages7 as messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useNebulaI18n };
3519
+ export { Accordion, AccordionContent, AccordionDescription, AccordionItem, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Checkbox, StyledCreatable as Creatable, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, InputPhone, InputText, Label, NebulaI18nProvider, Pagination, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, Separator2 as Separator, Skeleton, Space, SpaceDirectionEnum, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Toaster, Tooltip, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages10 as messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useNebulaI18n };