@skygraph/react 0.6.4 → 0.6.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.
Files changed (57) hide show
  1. package/README.md +70 -70
  2. package/dist/{Table-CMKo6Pc3.d.cts → Table-Bhlshbs2.d.cts} +39 -0
  3. package/dist/{Table-CAay8MmA.d.ts → Table-DOGK_njf.d.ts} +39 -0
  4. package/dist/{chunk-Y6XZ5TLD.js → chunk-B6BK5B64.js} +3 -3
  5. package/dist/chunk-B6BK5B64.js.map +1 -0
  6. package/dist/{chunk-PEX2UTNG.js → chunk-EA2J67A4.js} +2 -2
  7. package/dist/chunk-EA2J67A4.js.map +1 -0
  8. package/dist/{chunk-BNMJSYI2.js → chunk-EWUB2QCP.js} +2 -2
  9. package/dist/chunk-EWUB2QCP.js.map +1 -0
  10. package/dist/{chunk-7AA2JPZB.js → chunk-G4MRXKGC.js} +21 -14
  11. package/dist/chunk-G4MRXKGC.js.map +1 -0
  12. package/dist/{chunk-EFDB2ENB.js → chunk-MTHPDCO3.js} +8 -6
  13. package/dist/chunk-MTHPDCO3.js.map +1 -0
  14. package/dist/{chunk-KGFFQGCM.js → chunk-N4S66XHX.js} +8 -4
  15. package/dist/chunk-N4S66XHX.js.map +1 -0
  16. package/dist/{chunk-SEQI65CF.js → chunk-U7BXGUMC.js} +1 -1
  17. package/dist/chunk-U7BXGUMC.js.map +1 -0
  18. package/dist/{chunk-45YW5VSP.js → chunk-UCCGEZPJ.js} +2 -2
  19. package/dist/chunk-UCCGEZPJ.js.map +1 -0
  20. package/dist/{chunk-VLRLCHEL.js → chunk-YJZKXU5O.js} +1 -1
  21. package/dist/chunk-YJZKXU5O.js.map +1 -0
  22. package/dist/{chunk-ZJC2QUWA.js → chunk-YWCL3MUL.js} +1 -1
  23. package/dist/chunk-YWCL3MUL.js.map +1 -0
  24. package/dist/datagrid.cjs +3 -4
  25. package/dist/datagrid.cjs.map +1 -1
  26. package/dist/datagrid.js +4 -4
  27. package/dist/devtools.cjs.map +1 -1
  28. package/dist/devtools.js +1 -1
  29. package/dist/form.cjs.map +1 -1
  30. package/dist/form.js +3 -3
  31. package/dist/index.cjs +1239 -255
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.cts +16 -4
  34. package/dist/index.d.ts +16 -4
  35. package/dist/index.js +1113 -150
  36. package/dist/index.js.map +1 -1
  37. package/dist/table.cjs +17 -10
  38. package/dist/table.cjs.map +1 -1
  39. package/dist/table.d.cts +1 -1
  40. package/dist/table.d.ts +1 -1
  41. package/dist/table.js +4 -4
  42. package/dist/tree.cjs +11 -7
  43. package/dist/tree.cjs.map +1 -1
  44. package/dist/tree.js +3 -3
  45. package/dist/virtual.cjs.map +1 -1
  46. package/dist/virtual.js +2 -2
  47. package/package.json +2 -2
  48. package/dist/chunk-45YW5VSP.js.map +0 -1
  49. package/dist/chunk-7AA2JPZB.js.map +0 -1
  50. package/dist/chunk-BNMJSYI2.js.map +0 -1
  51. package/dist/chunk-EFDB2ENB.js.map +0 -1
  52. package/dist/chunk-KGFFQGCM.js.map +0 -1
  53. package/dist/chunk-PEX2UTNG.js.map +0 -1
  54. package/dist/chunk-SEQI65CF.js.map +0 -1
  55. package/dist/chunk-VLRLCHEL.js.map +0 -1
  56. package/dist/chunk-Y6XZ5TLD.js.map +0 -1
  57. package/dist/chunk-ZJC2QUWA.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -139,15 +139,19 @@ __export(src_exports, {
139
139
  en_US: () => en_US,
140
140
  es_ES: () => es_ES,
141
141
  fr_FR: () => fr_FR,
142
+ it_IT: () => it_IT,
143
+ ja_JP: () => ja_JP,
142
144
  jsonSchemaToDefaults: () => jsonSchemaToDefaults,
143
145
  jsonSchemaToEditorSchema: () => jsonSchemaToEditorSchema,
144
146
  jsonSchemaToFields: () => jsonSchemaToFields,
145
147
  jsonSchemaToRules: () => jsonSchemaToRules,
148
+ ko_KR: () => ko_KR,
146
149
  makeChartContextMenuHandler: () => makeChartContextMenuHandler,
147
150
  makeSeriesContextMenuHandler: () => makeSeriesContextMenuHandler,
148
151
  measureSvg: () => measureSvg,
149
152
  notification: () => notification,
150
153
  printElement: () => printElement,
154
+ pt_BR: () => pt_BR,
151
155
  resolveBrushConfig: () => resolveBrushConfig,
152
156
  resolveChartActions: () => resolveChartActions,
153
157
  resolveChartAnimation: () => resolveChartAnimation,
@@ -453,6 +457,31 @@ var en_US = {
453
457
  moveFieldDown: "Move field down",
454
458
  duplicateField: "Duplicate field",
455
459
  deleteField: "Delete field"
460
+ },
461
+ table: {
462
+ emptyText: "No data",
463
+ searchPlaceholder: "Search..."
464
+ },
465
+ dataGrid: {
466
+ noData: "No data",
467
+ selectAll: "Select all"
468
+ },
469
+ tree: {
470
+ emptyText: "No data",
471
+ searchPlaceholder: "Search...",
472
+ clearSearch: "Clear search"
473
+ },
474
+ list: {
475
+ loading: "Loading"
476
+ },
477
+ diagram: {
478
+ ariaLabel: "Diagram"
479
+ },
480
+ colorPicker: {
481
+ pickColor: "Pick color"
482
+ },
483
+ pinInput: {
484
+ ariaLabel: "PIN input"
456
485
  }
457
486
  };
458
487
 
@@ -619,6 +648,31 @@ var ru_RU = {
619
648
  moveFieldDown: "\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u043D\u0438\u0437",
620
649
  duplicateField: "\u0414\u0443\u0431\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u043B\u0435",
621
650
  deleteField: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u043E\u043B\u0435"
651
+ },
652
+ table: {
653
+ emptyText: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",
654
+ searchPlaceholder: "\u041F\u043E\u0438\u0441\u043A..."
655
+ },
656
+ dataGrid: {
657
+ noData: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",
658
+ selectAll: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435"
659
+ },
660
+ tree: {
661
+ emptyText: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",
662
+ searchPlaceholder: "\u041F\u043E\u0438\u0441\u043A...",
663
+ clearSearch: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A"
664
+ },
665
+ list: {
666
+ loading: "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430"
667
+ },
668
+ diagram: {
669
+ ariaLabel: "\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430"
670
+ },
671
+ colorPicker: {
672
+ pickColor: "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0446\u0432\u0435\u0442"
673
+ },
674
+ pinInput: {
675
+ ariaLabel: "\u0412\u0432\u043E\u0434 PIN"
622
676
  }
623
677
  };
624
678
 
@@ -785,6 +839,31 @@ var zh_CN = {
785
839
  moveFieldDown: "\u4E0B\u79FB\u5B57\u6BB5",
786
840
  duplicateField: "\u590D\u5236\u5B57\u6BB5",
787
841
  deleteField: "\u5220\u9664\u5B57\u6BB5"
842
+ },
843
+ table: {
844
+ emptyText: "\u6682\u65E0\u6570\u636E",
845
+ searchPlaceholder: "\u641C\u7D22..."
846
+ },
847
+ dataGrid: {
848
+ noData: "\u6682\u65E0\u6570\u636E",
849
+ selectAll: "\u5168\u9009"
850
+ },
851
+ tree: {
852
+ emptyText: "\u6682\u65E0\u6570\u636E",
853
+ searchPlaceholder: "\u641C\u7D22...",
854
+ clearSearch: "\u6E05\u9664\u641C\u7D22"
855
+ },
856
+ list: {
857
+ loading: "\u52A0\u8F7D\u4E2D"
858
+ },
859
+ diagram: {
860
+ ariaLabel: "\u56FE\u8868"
861
+ },
862
+ colorPicker: {
863
+ pickColor: "\u9009\u62E9\u989C\u8272"
864
+ },
865
+ pinInput: {
866
+ ariaLabel: "PIN \u8F93\u5165"
788
867
  }
789
868
  };
790
869
 
@@ -951,6 +1030,31 @@ var de_DE = {
951
1030
  moveFieldDown: "Feld nach unten verschieben",
952
1031
  duplicateField: "Feld duplizieren",
953
1032
  deleteField: "Feld l\xF6schen"
1033
+ },
1034
+ table: {
1035
+ emptyText: "Keine Daten",
1036
+ searchPlaceholder: "Suchen..."
1037
+ },
1038
+ dataGrid: {
1039
+ noData: "Keine Daten",
1040
+ selectAll: "Alle ausw\xE4hlen"
1041
+ },
1042
+ tree: {
1043
+ emptyText: "Keine Daten",
1044
+ searchPlaceholder: "Suchen...",
1045
+ clearSearch: "Suche l\xF6schen"
1046
+ },
1047
+ list: {
1048
+ loading: "Wird geladen"
1049
+ },
1050
+ diagram: {
1051
+ ariaLabel: "Diagramm"
1052
+ },
1053
+ colorPicker: {
1054
+ pickColor: "Farbe w\xE4hlen"
1055
+ },
1056
+ pinInput: {
1057
+ ariaLabel: "PIN-Eingabe"
954
1058
  }
955
1059
  };
956
1060
 
@@ -1103,186 +1207,1000 @@ var fr_FR = {
1103
1207
  resizeEnd: "Redimensionner la fin",
1104
1208
  conflictSuffix: " (conflit)"
1105
1209
  },
1106
- timeline: {
1107
- ariaLabel: "Chronologie"
1210
+ timeline: {
1211
+ ariaLabel: "Chronologie"
1212
+ },
1213
+ schemaFormEditor: {
1214
+ undo: "Annuler",
1215
+ redo: "R\xE9tablir",
1216
+ removeOption: "Supprimer l'option",
1217
+ schemaView: "Sch\xE9ma JSON g\xE9n\xE9r\xE9",
1218
+ optionLabelPlaceholder: "Libell\xE9",
1219
+ optionValuePlaceholder: "Valeur",
1220
+ moveFieldUp: "D\xE9placer vers le haut",
1221
+ moveFieldDown: "D\xE9placer vers le bas",
1222
+ duplicateField: "Dupliquer le champ",
1223
+ deleteField: "Supprimer le champ"
1224
+ },
1225
+ table: {
1226
+ emptyText: "Aucune donn\xE9e",
1227
+ searchPlaceholder: "Rechercher..."
1228
+ },
1229
+ dataGrid: {
1230
+ noData: "Aucune donn\xE9e",
1231
+ selectAll: "Tout s\xE9lectionner"
1232
+ },
1233
+ tree: {
1234
+ emptyText: "Aucune donn\xE9e",
1235
+ searchPlaceholder: "Rechercher...",
1236
+ clearSearch: "Effacer la recherche"
1237
+ },
1238
+ list: {
1239
+ loading: "Chargement"
1240
+ },
1241
+ diagram: {
1242
+ ariaLabel: "Diagramme"
1243
+ },
1244
+ colorPicker: {
1245
+ pickColor: "Choisir une couleur"
1246
+ },
1247
+ pinInput: {
1248
+ ariaLabel: "Saisie du code PIN"
1249
+ }
1250
+ };
1251
+
1252
+ // src/locales/es_ES.ts
1253
+ var es_ES = {
1254
+ empty: {
1255
+ description: "Sin datos"
1256
+ },
1257
+ pagination: {
1258
+ totalPrefix: "Total",
1259
+ itemsPerPage: "/ p\xE1g.",
1260
+ jump: "Ir a",
1261
+ page: "p\xE1g.",
1262
+ ariaLabel: "Paginaci\xF3n"
1263
+ },
1264
+ popconfirm: {
1265
+ okText: "S\xED",
1266
+ cancelText: "No"
1267
+ },
1268
+ modal: {
1269
+ okText: "Aceptar",
1270
+ cancelText: "Cancelar",
1271
+ closeAriaLabel: "Cerrar"
1272
+ },
1273
+ form: {
1274
+ required: "*",
1275
+ optional: "(opcional)",
1276
+ submitText: "Enviar",
1277
+ resetText: "Restablecer"
1278
+ },
1279
+ upload: {
1280
+ uploadText: "Subir",
1281
+ removeFile: "Eliminar archivo",
1282
+ uploadError: "Error al subir",
1283
+ previewFile: "Vista previa",
1284
+ uploadAriaLabel: "Subir archivo"
1285
+ },
1286
+ transfer: {
1287
+ titles: ["Origen", "Destino"],
1288
+ searchPlaceholder: "Buscar",
1289
+ itemUnit: "elemento",
1290
+ itemsUnit: "elementos",
1291
+ notFoundContent: "No encontrado",
1292
+ selectAll: "Seleccionar todo",
1293
+ deselectAll: "Deseleccionar todo"
1294
+ },
1295
+ calendar: {
1296
+ monthNames: [
1297
+ "Enero",
1298
+ "Febrero",
1299
+ "Marzo",
1300
+ "Abril",
1301
+ "Mayo",
1302
+ "Junio",
1303
+ "Julio",
1304
+ "Agosto",
1305
+ "Septiembre",
1306
+ "Octubre",
1307
+ "Noviembre",
1308
+ "Diciembre"
1309
+ ],
1310
+ dayNames: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "S\xE1"],
1311
+ today: "Hoy",
1312
+ now: "Ahora",
1313
+ week: "Sem",
1314
+ prevYear: "A\xF1o anterior",
1315
+ nextYear: "A\xF1o siguiente",
1316
+ prevMonth: "Mes anterior",
1317
+ nextMonth: "Mes siguiente"
1318
+ },
1319
+ input: {
1320
+ clear: "Limpiar"
1321
+ },
1322
+ inputPassword: {
1323
+ showPassword: "Mostrar contrase\xF1a",
1324
+ hidePassword: "Ocultar contrase\xF1a"
1325
+ },
1326
+ searchInput: {
1327
+ clear: "Limpiar"
1328
+ },
1329
+ inlineEdit: {
1330
+ save: "Guardar",
1331
+ cancel: "Cancelar"
1332
+ },
1333
+ tagInput: {
1334
+ removeTag: (tag) => `Eliminar ${tag}`
1335
+ },
1336
+ drawer: {
1337
+ closeAriaLabel: "Cerrar"
1338
+ },
1339
+ notification: {
1340
+ closeAriaLabel: "Cerrar"
1341
+ },
1342
+ tag: {
1343
+ closeAriaLabel: "Cerrar"
1344
+ },
1345
+ spin: {
1346
+ loading: "Cargando"
1347
+ },
1348
+ skeleton: {
1349
+ loading: "Cargando"
1350
+ },
1351
+ breadcrumb: {
1352
+ ariaLabel: "Ruta de navegaci\xF3n"
1353
+ },
1354
+ carousel: {
1355
+ slide: (index) => `Diapositiva ${index}`
1356
+ },
1357
+ rate: {
1358
+ ariaLabel: "Calificaci\xF3n",
1359
+ star: (n) => `${n} estrella${n > 1 ? "s" : ""}`
1360
+ },
1361
+ charts: {
1362
+ lineChart: "Gr\xE1fico de l\xEDneas",
1363
+ barChart: "Gr\xE1fico de barras",
1364
+ areaChart: "Gr\xE1fico de \xE1reas",
1365
+ pieChart: "Gr\xE1fico circular",
1366
+ legend: "Leyenda del gr\xE1fico",
1367
+ actions: "Acciones del gr\xE1fico"
1368
+ },
1369
+ datePicker: {
1370
+ prevYear: "A\xF1o anterior",
1371
+ nextYear: "A\xF1o siguiente",
1372
+ prevMonth: "Mes anterior",
1373
+ nextMonth: "Mes siguiente"
1374
+ },
1375
+ cascader: {
1376
+ searchPlaceholder: "Buscar...",
1377
+ noMatches: "Sin coincidencias"
1378
+ },
1379
+ treeSelect: {
1380
+ searchPlaceholder: "Buscar...",
1381
+ noMatches: "Sin coincidencias"
1382
+ },
1383
+ dashboard: {
1384
+ ariaLabel: "Panel",
1385
+ editorAriaLabel: "Editor del panel",
1386
+ resizeWidget: "Cambiar tama\xF1o del widget",
1387
+ widgetActions: "Acciones del widget"
1388
+ },
1389
+ gantt: {
1390
+ ariaLabel: "Diagrama de Gantt",
1391
+ resizeTask: "Cambiar duraci\xF3n de la tarea"
1392
+ },
1393
+ resourceCalendar: {
1394
+ ariaLabel: "Calendario de recursos",
1395
+ resource: (name) => `Recurso ${name}`,
1396
+ capacity: (n) => `capacidad ${n} por franja`,
1397
+ resizeStart: "Mover el inicio",
1398
+ resizeEnd: "Mover el final",
1399
+ conflictSuffix: " (conflicto)"
1400
+ },
1401
+ timeline: {
1402
+ ariaLabel: "L\xEDnea de tiempo"
1403
+ },
1404
+ schemaFormEditor: {
1405
+ undo: "Deshacer",
1406
+ redo: "Rehacer",
1407
+ removeOption: "Eliminar opci\xF3n",
1408
+ schemaView: "Esquema JSON generado",
1409
+ optionLabelPlaceholder: "Etiqueta",
1410
+ optionValuePlaceholder: "Valor",
1411
+ moveFieldUp: "Mover campo arriba",
1412
+ moveFieldDown: "Mover campo abajo",
1413
+ duplicateField: "Duplicar campo",
1414
+ deleteField: "Eliminar campo"
1415
+ },
1416
+ table: {
1417
+ emptyText: "Sin datos",
1418
+ searchPlaceholder: "Buscar..."
1419
+ },
1420
+ dataGrid: {
1421
+ noData: "Sin datos",
1422
+ selectAll: "Seleccionar todo"
1423
+ },
1424
+ tree: {
1425
+ emptyText: "Sin datos",
1426
+ searchPlaceholder: "Buscar...",
1427
+ clearSearch: "Borrar b\xFAsqueda"
1428
+ },
1429
+ list: {
1430
+ loading: "Cargando"
1431
+ },
1432
+ diagram: {
1433
+ ariaLabel: "Diagrama"
1434
+ },
1435
+ colorPicker: {
1436
+ pickColor: "Elegir color"
1437
+ },
1438
+ pinInput: {
1439
+ ariaLabel: "Entrada de PIN"
1440
+ }
1441
+ };
1442
+
1443
+ // src/locales/ja_JP.ts
1444
+ var ja_JP = {
1445
+ empty: {
1446
+ description: "\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093"
1447
+ },
1448
+ pagination: {
1449
+ totalPrefix: "\u5408\u8A08",
1450
+ itemsPerPage: "/ \u30DA\u30FC\u30B8",
1451
+ jump: "\u79FB\u52D5",
1452
+ page: "\u30DA\u30FC\u30B8",
1453
+ ariaLabel: "\u30DA\u30FC\u30B8\u30CD\u30FC\u30B7\u30E7\u30F3"
1454
+ },
1455
+ popconfirm: {
1456
+ okText: "\u306F\u3044",
1457
+ cancelText: "\u3044\u3044\u3048"
1458
+ },
1459
+ modal: {
1460
+ okText: "OK",
1461
+ cancelText: "\u30AD\u30E3\u30F3\u30BB\u30EB",
1462
+ closeAriaLabel: "\u9589\u3058\u308B"
1463
+ },
1464
+ form: {
1465
+ required: "*",
1466
+ optional: "(\u4EFB\u610F)",
1467
+ submitText: "\u9001\u4FE1",
1468
+ resetText: "\u30EA\u30BB\u30C3\u30C8"
1469
+ },
1470
+ upload: {
1471
+ uploadText: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9",
1472
+ removeFile: "\u30D5\u30A1\u30A4\u30EB\u3092\u524A\u9664",
1473
+ uploadError: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
1474
+ previewFile: "\u30D7\u30EC\u30D3\u30E5\u30FC",
1475
+ uploadAriaLabel: "\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9"
1476
+ },
1477
+ transfer: {
1478
+ titles: ["\u30BD\u30FC\u30B9", "\u30BF\u30FC\u30B2\u30C3\u30C8"],
1479
+ searchPlaceholder: "\u691C\u7D22",
1480
+ itemUnit: "\u4EF6",
1481
+ itemsUnit: "\u4EF6",
1482
+ notFoundContent: "\u898B\u3064\u304B\u308A\u307E\u305B\u3093",
1483
+ selectAll: "\u3059\u3079\u3066\u9078\u629E",
1484
+ deselectAll: "\u3059\u3079\u3066\u9078\u629E\u89E3\u9664"
1485
+ },
1486
+ calendar: {
1487
+ monthNames: [
1488
+ "1\u6708",
1489
+ "2\u6708",
1490
+ "3\u6708",
1491
+ "4\u6708",
1492
+ "5\u6708",
1493
+ "6\u6708",
1494
+ "7\u6708",
1495
+ "8\u6708",
1496
+ "9\u6708",
1497
+ "10\u6708",
1498
+ "11\u6708",
1499
+ "12\u6708"
1500
+ ],
1501
+ dayNames: ["\u65E5", "\u6708", "\u706B", "\u6C34", "\u6728", "\u91D1", "\u571F"],
1502
+ today: "\u4ECA\u65E5",
1503
+ now: "\u73FE\u5728",
1504
+ week: "\u9031",
1505
+ prevYear: "\u524D\u5E74",
1506
+ nextYear: "\u7FCC\u5E74",
1507
+ prevMonth: "\u524D\u6708",
1508
+ nextMonth: "\u7FCC\u6708"
1509
+ },
1510
+ input: {
1511
+ clear: "\u30AF\u30EA\u30A2"
1512
+ },
1513
+ inputPassword: {
1514
+ showPassword: "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A",
1515
+ hidePassword: "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A"
1516
+ },
1517
+ searchInput: {
1518
+ clear: "\u30AF\u30EA\u30A2"
1519
+ },
1520
+ inlineEdit: {
1521
+ save: "\u4FDD\u5B58",
1522
+ cancel: "\u30AD\u30E3\u30F3\u30BB\u30EB"
1523
+ },
1524
+ tagInput: {
1525
+ removeTag: (tag) => `${tag} \u3092\u524A\u9664`
1526
+ },
1527
+ drawer: {
1528
+ closeAriaLabel: "\u9589\u3058\u308B"
1529
+ },
1530
+ notification: {
1531
+ closeAriaLabel: "\u9589\u3058\u308B"
1532
+ },
1533
+ tag: {
1534
+ closeAriaLabel: "\u9589\u3058\u308B"
1535
+ },
1536
+ spin: {
1537
+ loading: "\u8AAD\u307F\u8FBC\u307F\u4E2D"
1538
+ },
1539
+ skeleton: {
1540
+ loading: "\u8AAD\u307F\u8FBC\u307F\u4E2D"
1541
+ },
1542
+ breadcrumb: {
1543
+ ariaLabel: "\u30D1\u30F3\u304F\u305A\u30EA\u30B9\u30C8"
1544
+ },
1545
+ carousel: {
1546
+ slide: (index) => `\u30B9\u30E9\u30A4\u30C9 ${index}`
1547
+ },
1548
+ rate: {
1549
+ ariaLabel: "\u8A55\u4FA1",
1550
+ star: (n) => `${n} \u3064\u661F`
1551
+ },
1552
+ charts: {
1553
+ lineChart: "\u6298\u308C\u7DDA\u30B0\u30E9\u30D5",
1554
+ barChart: "\u68D2\u30B0\u30E9\u30D5",
1555
+ areaChart: "\u30A8\u30EA\u30A2\u30B0\u30E9\u30D5",
1556
+ pieChart: "\u5186\u30B0\u30E9\u30D5",
1557
+ legend: "\u51E1\u4F8B",
1558
+ actions: "\u30B0\u30E9\u30D5\u64CD\u4F5C"
1559
+ },
1560
+ datePicker: {
1561
+ prevYear: "\u524D\u5E74",
1562
+ nextYear: "\u7FCC\u5E74",
1563
+ prevMonth: "\u524D\u6708",
1564
+ nextMonth: "\u7FCC\u6708"
1565
+ },
1566
+ cascader: {
1567
+ searchPlaceholder: "\u691C\u7D22...",
1568
+ noMatches: "\u4E00\u81F4\u306A\u3057"
1569
+ },
1570
+ treeSelect: {
1571
+ searchPlaceholder: "\u691C\u7D22...",
1572
+ noMatches: "\u4E00\u81F4\u306A\u3057"
1573
+ },
1574
+ dashboard: {
1575
+ ariaLabel: "\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",
1576
+ editorAriaLabel: "\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u30A8\u30C7\u30A3\u30BF\u30FC",
1577
+ resizeWidget: "\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u30B5\u30A4\u30BA\u5909\u66F4",
1578
+ widgetActions: "\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u64CD\u4F5C"
1579
+ },
1580
+ gantt: {
1581
+ ariaLabel: "\u30AC\u30F3\u30C8\u30C1\u30E3\u30FC\u30C8",
1582
+ resizeTask: "\u30BF\u30B9\u30AF\u306E\u30B5\u30A4\u30BA\u5909\u66F4"
1583
+ },
1584
+ resourceCalendar: {
1585
+ ariaLabel: "\u30EA\u30BD\u30FC\u30B9\u30AB\u30EC\u30F3\u30C0\u30FC",
1586
+ resource: (name) => `\u30EA\u30BD\u30FC\u30B9 ${name}`,
1587
+ capacity: (n) => `\u30B9\u30ED\u30C3\u30C8\u3042\u305F\u308A\u306E\u5BB9\u91CF ${n}`,
1588
+ resizeStart: "\u958B\u59CB\u3092\u30B5\u30A4\u30BA\u5909\u66F4",
1589
+ resizeEnd: "\u7D42\u4E86\u3092\u30B5\u30A4\u30BA\u5909\u66F4",
1590
+ conflictSuffix: "\uFF08\u7AF6\u5408\uFF09"
1591
+ },
1592
+ timeline: {
1593
+ ariaLabel: "\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3"
1594
+ },
1595
+ schemaFormEditor: {
1596
+ undo: "\u5143\u306B\u623B\u3059",
1597
+ redo: "\u3084\u308A\u76F4\u3057",
1598
+ removeOption: "\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u524A\u9664",
1599
+ schemaView: "\u751F\u6210\u3055\u308C\u305F JSON \u30B9\u30AD\u30FC\u30DE",
1600
+ optionLabelPlaceholder: "\u30E9\u30D9\u30EB",
1601
+ optionValuePlaceholder: "\u5024",
1602
+ moveFieldUp: "\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u4E0A\u3078",
1603
+ moveFieldDown: "\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u4E0B\u3078",
1604
+ duplicateField: "\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8907\u88FD",
1605
+ deleteField: "\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u524A\u9664"
1606
+ },
1607
+ table: {
1608
+ emptyText: "\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093",
1609
+ searchPlaceholder: "\u691C\u7D22..."
1610
+ },
1611
+ dataGrid: {
1612
+ noData: "\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093",
1613
+ selectAll: "\u3059\u3079\u3066\u9078\u629E"
1614
+ },
1615
+ tree: {
1616
+ emptyText: "\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093",
1617
+ searchPlaceholder: "\u691C\u7D22...",
1618
+ clearSearch: "\u691C\u7D22\u3092\u30AF\u30EA\u30A2"
1619
+ },
1620
+ list: {
1621
+ loading: "\u8AAD\u307F\u8FBC\u307F\u4E2D"
1622
+ },
1623
+ diagram: {
1624
+ ariaLabel: "\u56F3"
1625
+ },
1626
+ colorPicker: {
1627
+ pickColor: "\u8272\u3092\u9078\u629E"
1628
+ },
1629
+ pinInput: {
1630
+ ariaLabel: "PIN \u5165\u529B"
1631
+ }
1632
+ };
1633
+
1634
+ // src/locales/ko_KR.ts
1635
+ var ko_KR = {
1636
+ empty: {
1637
+ description: "\uB370\uC774\uD130 \uC5C6\uC74C"
1638
+ },
1639
+ pagination: {
1640
+ totalPrefix: "\uD569\uACC4",
1641
+ itemsPerPage: "/ \uD398\uC774\uC9C0",
1642
+ jump: "\uC774\uB3D9",
1643
+ page: "\uD398\uC774\uC9C0",
1644
+ ariaLabel: "\uD398\uC774\uC9C0\uB124\uC774\uC158"
1645
+ },
1646
+ popconfirm: {
1647
+ okText: "\uC608",
1648
+ cancelText: "\uC544\uB2C8\uC624"
1649
+ },
1650
+ modal: {
1651
+ okText: "\uD655\uC778",
1652
+ cancelText: "\uCDE8\uC18C",
1653
+ closeAriaLabel: "\uB2EB\uAE30"
1654
+ },
1655
+ form: {
1656
+ required: "*",
1657
+ optional: "(\uC120\uD0DD)",
1658
+ submitText: "\uC81C\uCD9C",
1659
+ resetText: "\uCD08\uAE30\uD654"
1660
+ },
1661
+ upload: {
1662
+ uploadText: "\uC5C5\uB85C\uB4DC",
1663
+ removeFile: "\uD30C\uC77C \uC0AD\uC81C",
1664
+ uploadError: "\uC5C5\uB85C\uB4DC \uC2E4\uD328",
1665
+ previewFile: "\uBBF8\uB9AC\uBCF4\uAE30",
1666
+ uploadAriaLabel: "\uD30C\uC77C \uC5C5\uB85C\uB4DC"
1667
+ },
1668
+ transfer: {
1669
+ titles: ["\uC6D0\uBCF8", "\uB300\uC0C1"],
1670
+ searchPlaceholder: "\uAC80\uC0C9",
1671
+ itemUnit: "\uAC1C",
1672
+ itemsUnit: "\uAC1C",
1673
+ notFoundContent: "\uC5C6\uC74C",
1674
+ selectAll: "\uC804\uCCB4 \uC120\uD0DD",
1675
+ deselectAll: "\uC804\uCCB4 \uC120\uD0DD \uD574\uC81C"
1676
+ },
1677
+ calendar: {
1678
+ monthNames: [
1679
+ "1\uC6D4",
1680
+ "2\uC6D4",
1681
+ "3\uC6D4",
1682
+ "4\uC6D4",
1683
+ "5\uC6D4",
1684
+ "6\uC6D4",
1685
+ "7\uC6D4",
1686
+ "8\uC6D4",
1687
+ "9\uC6D4",
1688
+ "10\uC6D4",
1689
+ "11\uC6D4",
1690
+ "12\uC6D4"
1691
+ ],
1692
+ dayNames: ["\uC77C", "\uC6D4", "\uD654", "\uC218", "\uBAA9", "\uAE08", "\uD1A0"],
1693
+ today: "\uC624\uB298",
1694
+ now: "\uC9C0\uAE08",
1695
+ week: "\uC8FC",
1696
+ prevYear: "\uC774\uC804 \uD574",
1697
+ nextYear: "\uB2E4\uC74C \uD574",
1698
+ prevMonth: "\uC774\uC804 \uB2EC",
1699
+ nextMonth: "\uB2E4\uC74C \uB2EC"
1700
+ },
1701
+ input: {
1702
+ clear: "\uC9C0\uC6B0\uAE30"
1703
+ },
1704
+ inputPassword: {
1705
+ showPassword: "\uBE44\uBC00\uBC88\uD638 \uD45C\uC2DC",
1706
+ hidePassword: "\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30"
1707
+ },
1708
+ searchInput: {
1709
+ clear: "\uC9C0\uC6B0\uAE30"
1710
+ },
1711
+ inlineEdit: {
1712
+ save: "\uC800\uC7A5",
1713
+ cancel: "\uCDE8\uC18C"
1714
+ },
1715
+ tagInput: {
1716
+ removeTag: (tag) => `${tag} \uC0AD\uC81C`
1717
+ },
1718
+ drawer: {
1719
+ closeAriaLabel: "\uB2EB\uAE30"
1720
+ },
1721
+ notification: {
1722
+ closeAriaLabel: "\uB2EB\uAE30"
1723
+ },
1724
+ tag: {
1725
+ closeAriaLabel: "\uB2EB\uAE30"
1726
+ },
1727
+ spin: {
1728
+ loading: "\uB85C\uB529 \uC911"
1729
+ },
1730
+ skeleton: {
1731
+ loading: "\uB85C\uB529 \uC911"
1732
+ },
1733
+ breadcrumb: {
1734
+ ariaLabel: "\uACBD\uB85C \uD0D0\uC0C9"
1735
+ },
1736
+ carousel: {
1737
+ slide: (index) => `\uC2AC\uB77C\uC774\uB4DC ${index}`
1738
+ },
1739
+ rate: {
1740
+ ariaLabel: "\uD3C9\uC810",
1741
+ star: (n) => `\uBCC4 ${n}\uAC1C`
1742
+ },
1743
+ charts: {
1744
+ lineChart: "\uC120 \uCC28\uD2B8",
1745
+ barChart: "\uB9C9\uB300 \uCC28\uD2B8",
1746
+ areaChart: "\uC601\uC5ED \uCC28\uD2B8",
1747
+ pieChart: "\uC6D0\uD615 \uCC28\uD2B8",
1748
+ legend: "\uCC28\uD2B8 \uBC94\uB840",
1749
+ actions: "\uCC28\uD2B8 \uC791\uC5C5"
1750
+ },
1751
+ datePicker: {
1752
+ prevYear: "\uC774\uC804 \uD574",
1753
+ nextYear: "\uB2E4\uC74C \uD574",
1754
+ prevMonth: "\uC774\uC804 \uB2EC",
1755
+ nextMonth: "\uB2E4\uC74C \uB2EC"
1756
+ },
1757
+ cascader: {
1758
+ searchPlaceholder: "\uAC80\uC0C9...",
1759
+ noMatches: "\uC77C\uCE58 \uD56D\uBAA9 \uC5C6\uC74C"
1760
+ },
1761
+ treeSelect: {
1762
+ searchPlaceholder: "\uAC80\uC0C9...",
1763
+ noMatches: "\uC77C\uCE58 \uD56D\uBAA9 \uC5C6\uC74C"
1764
+ },
1765
+ dashboard: {
1766
+ ariaLabel: "\uB300\uC2DC\uBCF4\uB4DC",
1767
+ editorAriaLabel: "\uB300\uC2DC\uBCF4\uB4DC \uD3B8\uC9D1\uAE30",
1768
+ resizeWidget: "\uC704\uC82F \uD06C\uAE30 \uC870\uC815",
1769
+ widgetActions: "\uC704\uC82F \uC791\uC5C5"
1770
+ },
1771
+ gantt: {
1772
+ ariaLabel: "\uAC04\uD2B8 \uCC28\uD2B8",
1773
+ resizeTask: "\uC791\uC5C5 \uD06C\uAE30 \uC870\uC815"
1774
+ },
1775
+ resourceCalendar: {
1776
+ ariaLabel: "\uB9AC\uC18C\uC2A4 \uCE98\uB9B0\uB354",
1777
+ resource: (name) => `\uB9AC\uC18C\uC2A4 ${name}`,
1778
+ capacity: (n) => `\uC2AC\uB86F\uB2F9 \uC6A9\uB7C9 ${n}`,
1779
+ resizeStart: "\uC2DC\uC791 \uD06C\uAE30 \uC870\uC815",
1780
+ resizeEnd: "\uC885\uB8CC \uD06C\uAE30 \uC870\uC815",
1781
+ conflictSuffix: " (\uCDA9\uB3CC)"
1782
+ },
1783
+ timeline: {
1784
+ ariaLabel: "\uD0C0\uC784\uB77C\uC778"
1785
+ },
1786
+ schemaFormEditor: {
1787
+ undo: "\uC2E4\uD589 \uCDE8\uC18C",
1788
+ redo: "\uB2E4\uC2DC \uC2E4\uD589",
1789
+ removeOption: "\uC635\uC158 \uC0AD\uC81C",
1790
+ schemaView: "\uC0DD\uC131\uB41C JSON \uC2A4\uD0A4\uB9C8",
1791
+ optionLabelPlaceholder: "\uB808\uC774\uBE14",
1792
+ optionValuePlaceholder: "\uAC12",
1793
+ moveFieldUp: "\uD544\uB4DC \uC704\uB85C \uC774\uB3D9",
1794
+ moveFieldDown: "\uD544\uB4DC \uC544\uB798\uB85C \uC774\uB3D9",
1795
+ duplicateField: "\uD544\uB4DC \uBCF5\uC81C",
1796
+ deleteField: "\uD544\uB4DC \uC0AD\uC81C"
1797
+ },
1798
+ table: {
1799
+ emptyText: "\uB370\uC774\uD130 \uC5C6\uC74C",
1800
+ searchPlaceholder: "\uAC80\uC0C9..."
1801
+ },
1802
+ dataGrid: {
1803
+ noData: "\uB370\uC774\uD130 \uC5C6\uC74C",
1804
+ selectAll: "\uC804\uCCB4 \uC120\uD0DD"
1805
+ },
1806
+ tree: {
1807
+ emptyText: "\uB370\uC774\uD130 \uC5C6\uC74C",
1808
+ searchPlaceholder: "\uAC80\uC0C9...",
1809
+ clearSearch: "\uAC80\uC0C9 \uC9C0\uC6B0\uAE30"
1810
+ },
1811
+ list: {
1812
+ loading: "\uB85C\uB529 \uC911"
1813
+ },
1814
+ diagram: {
1815
+ ariaLabel: "\uB2E4\uC774\uC5B4\uADF8\uB7A8"
1816
+ },
1817
+ colorPicker: {
1818
+ pickColor: "\uC0C9\uC0C1 \uC120\uD0DD"
1819
+ },
1820
+ pinInput: {
1821
+ ariaLabel: "PIN \uC785\uB825"
1822
+ }
1823
+ };
1824
+
1825
+ // src/locales/pt_BR.ts
1826
+ var pt_BR = {
1827
+ empty: {
1828
+ description: "Sem dados"
1829
+ },
1830
+ pagination: {
1831
+ totalPrefix: "Total",
1832
+ itemsPerPage: "/ p\xE1gina",
1833
+ jump: "Ir para",
1834
+ page: "p\xE1gina",
1835
+ ariaLabel: "Pagina\xE7\xE3o"
1836
+ },
1837
+ popconfirm: {
1838
+ okText: "Sim",
1839
+ cancelText: "N\xE3o"
1840
+ },
1841
+ modal: {
1842
+ okText: "OK",
1843
+ cancelText: "Cancelar",
1844
+ closeAriaLabel: "Fechar"
1845
+ },
1846
+ form: {
1847
+ required: "*",
1848
+ optional: "(opcional)",
1849
+ submitText: "Enviar",
1850
+ resetText: "Redefinir"
1851
+ },
1852
+ upload: {
1853
+ uploadText: "Enviar",
1854
+ removeFile: "Remover arquivo",
1855
+ uploadError: "Falha no envio",
1856
+ previewFile: "Visualizar",
1857
+ uploadAriaLabel: "Enviar arquivo"
1858
+ },
1859
+ transfer: {
1860
+ titles: ["Origem", "Destino"],
1861
+ searchPlaceholder: "Buscar",
1862
+ itemUnit: "item",
1863
+ itemsUnit: "itens",
1864
+ notFoundContent: "N\xE3o encontrado",
1865
+ selectAll: "Selecionar tudo",
1866
+ deselectAll: "Desmarcar tudo"
1867
+ },
1868
+ calendar: {
1869
+ monthNames: [
1870
+ "Janeiro",
1871
+ "Fevereiro",
1872
+ "Mar\xE7o",
1873
+ "Abril",
1874
+ "Maio",
1875
+ "Junho",
1876
+ "Julho",
1877
+ "Agosto",
1878
+ "Setembro",
1879
+ "Outubro",
1880
+ "Novembro",
1881
+ "Dezembro"
1882
+ ],
1883
+ dayNames: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "S\xE1b"],
1884
+ today: "Hoje",
1885
+ now: "Agora",
1886
+ week: "Sem",
1887
+ prevYear: "Ano anterior",
1888
+ nextYear: "Pr\xF3ximo ano",
1889
+ prevMonth: "M\xEAs anterior",
1890
+ nextMonth: "Pr\xF3ximo m\xEAs"
1891
+ },
1892
+ input: {
1893
+ clear: "Limpar"
1894
+ },
1895
+ inputPassword: {
1896
+ showPassword: "Mostrar senha",
1897
+ hidePassword: "Ocultar senha"
1898
+ },
1899
+ searchInput: {
1900
+ clear: "Limpar"
1901
+ },
1902
+ inlineEdit: {
1903
+ save: "Salvar",
1904
+ cancel: "Cancelar"
1905
+ },
1906
+ tagInput: {
1907
+ removeTag: (tag) => `Remover ${tag}`
1908
+ },
1909
+ drawer: {
1910
+ closeAriaLabel: "Fechar"
1911
+ },
1912
+ notification: {
1913
+ closeAriaLabel: "Fechar"
1914
+ },
1915
+ tag: {
1916
+ closeAriaLabel: "Fechar"
1917
+ },
1918
+ spin: {
1919
+ loading: "Carregando"
1920
+ },
1921
+ skeleton: {
1922
+ loading: "Carregando"
1923
+ },
1924
+ breadcrumb: {
1925
+ ariaLabel: "Trilha de navega\xE7\xE3o"
1926
+ },
1927
+ carousel: {
1928
+ slide: (index) => `Slide ${index}`
1929
+ },
1930
+ rate: {
1931
+ ariaLabel: "Avalia\xE7\xE3o",
1932
+ star: (n) => `${n} estrela${n > 1 ? "s" : ""}`
1933
+ },
1934
+ charts: {
1935
+ lineChart: "Gr\xE1fico de linhas",
1936
+ barChart: "Gr\xE1fico de barras",
1937
+ areaChart: "Gr\xE1fico de \xE1rea",
1938
+ pieChart: "Gr\xE1fico de pizza",
1939
+ legend: "Legenda do gr\xE1fico",
1940
+ actions: "A\xE7\xF5es do gr\xE1fico"
1941
+ },
1942
+ datePicker: {
1943
+ prevYear: "Ano anterior",
1944
+ nextYear: "Pr\xF3ximo ano",
1945
+ prevMonth: "M\xEAs anterior",
1946
+ nextMonth: "Pr\xF3ximo m\xEAs"
1947
+ },
1948
+ cascader: {
1949
+ searchPlaceholder: "Buscar...",
1950
+ noMatches: "Nenhuma correspond\xEAncia"
1951
+ },
1952
+ treeSelect: {
1953
+ searchPlaceholder: "Buscar...",
1954
+ noMatches: "Nenhuma correspond\xEAncia"
1955
+ },
1956
+ dashboard: {
1957
+ ariaLabel: "Painel",
1958
+ editorAriaLabel: "Editor de painel",
1959
+ resizeWidget: "Redimensionar widget",
1960
+ widgetActions: "A\xE7\xF5es do widget"
1961
+ },
1962
+ gantt: {
1963
+ ariaLabel: "Gr\xE1fico de Gantt",
1964
+ resizeTask: "Redimensionar tarefa"
1965
+ },
1966
+ resourceCalendar: {
1967
+ ariaLabel: "Calend\xE1rio de recursos",
1968
+ resource: (name) => `Recurso ${name}`,
1969
+ capacity: (n) => `capacidade ${n} por intervalo`,
1970
+ resizeStart: "Redimensionar in\xEDcio",
1971
+ resizeEnd: "Redimensionar fim",
1972
+ conflictSuffix: " (conflito)"
1973
+ },
1974
+ timeline: {
1975
+ ariaLabel: "Linha do tempo"
1976
+ },
1977
+ schemaFormEditor: {
1978
+ undo: "Desfazer",
1979
+ redo: "Refazer",
1980
+ removeOption: "Remover op\xE7\xE3o",
1981
+ schemaView: "JSON Schema gerado",
1982
+ optionLabelPlaceholder: "R\xF3tulo",
1983
+ optionValuePlaceholder: "Valor",
1984
+ moveFieldUp: "Mover campo para cima",
1985
+ moveFieldDown: "Mover campo para baixo",
1986
+ duplicateField: "Duplicar campo",
1987
+ deleteField: "Excluir campo"
1988
+ },
1989
+ table: {
1990
+ emptyText: "Sem dados",
1991
+ searchPlaceholder: "Buscar..."
1992
+ },
1993
+ dataGrid: {
1994
+ noData: "Sem dados",
1995
+ selectAll: "Selecionar tudo"
1996
+ },
1997
+ tree: {
1998
+ emptyText: "Sem dados",
1999
+ searchPlaceholder: "Buscar...",
2000
+ clearSearch: "Limpar busca"
2001
+ },
2002
+ list: {
2003
+ loading: "Carregando"
2004
+ },
2005
+ diagram: {
2006
+ ariaLabel: "Diagrama"
1108
2007
  },
1109
- schemaFormEditor: {
1110
- undo: "Annuler",
1111
- redo: "R\xE9tablir",
1112
- removeOption: "Supprimer l'option",
1113
- schemaView: "Sch\xE9ma JSON g\xE9n\xE9r\xE9",
1114
- optionLabelPlaceholder: "Libell\xE9",
1115
- optionValuePlaceholder: "Valeur",
1116
- moveFieldUp: "D\xE9placer vers le haut",
1117
- moveFieldDown: "D\xE9placer vers le bas",
1118
- duplicateField: "Dupliquer le champ",
1119
- deleteField: "Supprimer le champ"
2008
+ colorPicker: {
2009
+ pickColor: "Escolher cor"
2010
+ },
2011
+ pinInput: {
2012
+ ariaLabel: "Entrada de PIN"
1120
2013
  }
1121
2014
  };
1122
2015
 
1123
- // src/locales/es_ES.ts
1124
- var es_ES = {
2016
+ // src/locales/it_IT.ts
2017
+ var it_IT = {
1125
2018
  empty: {
1126
- description: "Sin datos"
2019
+ description: "Nessun dato"
1127
2020
  },
1128
2021
  pagination: {
1129
- totalPrefix: "Total",
1130
- itemsPerPage: "/ p\xE1g.",
1131
- jump: "Ir a",
1132
- page: "p\xE1g.",
1133
- ariaLabel: "Paginaci\xF3n"
2022
+ totalPrefix: "Totale",
2023
+ itemsPerPage: "/ pagina",
2024
+ jump: "Vai a",
2025
+ page: "pagina",
2026
+ ariaLabel: "Paginazione"
1134
2027
  },
1135
2028
  popconfirm: {
1136
- okText: "S\xED",
2029
+ okText: "S\xEC",
1137
2030
  cancelText: "No"
1138
2031
  },
1139
2032
  modal: {
1140
- okText: "Aceptar",
1141
- cancelText: "Cancelar",
1142
- closeAriaLabel: "Cerrar"
2033
+ okText: "OK",
2034
+ cancelText: "Annulla",
2035
+ closeAriaLabel: "Chiudi"
1143
2036
  },
1144
2037
  form: {
1145
2038
  required: "*",
1146
- optional: "(opcional)",
1147
- submitText: "Enviar",
1148
- resetText: "Restablecer"
2039
+ optional: "(facoltativo)",
2040
+ submitText: "Invia",
2041
+ resetText: "Reimposta"
1149
2042
  },
1150
2043
  upload: {
1151
- uploadText: "Subir",
1152
- removeFile: "Eliminar archivo",
1153
- uploadError: "Error al subir",
1154
- previewFile: "Vista previa",
1155
- uploadAriaLabel: "Subir archivo"
2044
+ uploadText: "Carica",
2045
+ removeFile: "Rimuovi file",
2046
+ uploadError: "Caricamento non riuscito",
2047
+ previewFile: "Anteprima",
2048
+ uploadAriaLabel: "Carica file"
1156
2049
  },
1157
2050
  transfer: {
1158
- titles: ["Origen", "Destino"],
1159
- searchPlaceholder: "Buscar",
2051
+ titles: ["Origine", "Destinazione"],
2052
+ searchPlaceholder: "Cerca",
1160
2053
  itemUnit: "elemento",
1161
- itemsUnit: "elementos",
1162
- notFoundContent: "No encontrado",
1163
- selectAll: "Seleccionar todo",
1164
- deselectAll: "Deseleccionar todo"
2054
+ itemsUnit: "elementi",
2055
+ notFoundContent: "Non trovato",
2056
+ selectAll: "Seleziona tutto",
2057
+ deselectAll: "Deseleziona tutto"
1165
2058
  },
1166
2059
  calendar: {
1167
2060
  monthNames: [
1168
- "Enero",
1169
- "Febrero",
2061
+ "Gennaio",
2062
+ "Febbraio",
1170
2063
  "Marzo",
1171
- "Abril",
1172
- "Mayo",
1173
- "Junio",
1174
- "Julio",
2064
+ "Aprile",
2065
+ "Maggio",
2066
+ "Giugno",
2067
+ "Luglio",
1175
2068
  "Agosto",
1176
- "Septiembre",
1177
- "Octubre",
1178
- "Noviembre",
1179
- "Diciembre"
2069
+ "Settembre",
2070
+ "Ottobre",
2071
+ "Novembre",
2072
+ "Dicembre"
1180
2073
  ],
1181
- dayNames: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "S\xE1"],
1182
- today: "Hoy",
1183
- now: "Ahora",
1184
- week: "Sem",
1185
- prevYear: "A\xF1o anterior",
1186
- nextYear: "A\xF1o siguiente",
1187
- prevMonth: "Mes anterior",
1188
- nextMonth: "Mes siguiente"
2074
+ dayNames: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
2075
+ today: "Oggi",
2076
+ now: "Adesso",
2077
+ week: "Set",
2078
+ prevYear: "Anno precedente",
2079
+ nextYear: "Anno successivo",
2080
+ prevMonth: "Mese precedente",
2081
+ nextMonth: "Mese successivo"
1189
2082
  },
1190
2083
  input: {
1191
- clear: "Limpiar"
2084
+ clear: "Cancella"
1192
2085
  },
1193
2086
  inputPassword: {
1194
- showPassword: "Mostrar contrase\xF1a",
1195
- hidePassword: "Ocultar contrase\xF1a"
2087
+ showPassword: "Mostra password",
2088
+ hidePassword: "Nascondi password"
1196
2089
  },
1197
2090
  searchInput: {
1198
- clear: "Limpiar"
2091
+ clear: "Cancella"
1199
2092
  },
1200
2093
  inlineEdit: {
1201
- save: "Guardar",
1202
- cancel: "Cancelar"
2094
+ save: "Salva",
2095
+ cancel: "Annulla"
1203
2096
  },
1204
2097
  tagInput: {
1205
- removeTag: (tag) => `Eliminar ${tag}`
2098
+ removeTag: (tag) => `Rimuovi ${tag}`
1206
2099
  },
1207
2100
  drawer: {
1208
- closeAriaLabel: "Cerrar"
2101
+ closeAriaLabel: "Chiudi"
1209
2102
  },
1210
2103
  notification: {
1211
- closeAriaLabel: "Cerrar"
2104
+ closeAriaLabel: "Chiudi"
1212
2105
  },
1213
2106
  tag: {
1214
- closeAriaLabel: "Cerrar"
2107
+ closeAriaLabel: "Chiudi"
1215
2108
  },
1216
2109
  spin: {
1217
- loading: "Cargando"
2110
+ loading: "Caricamento"
1218
2111
  },
1219
2112
  skeleton: {
1220
- loading: "Cargando"
2113
+ loading: "Caricamento"
1221
2114
  },
1222
2115
  breadcrumb: {
1223
- ariaLabel: "Ruta de navegaci\xF3n"
2116
+ ariaLabel: "Percorso di navigazione"
1224
2117
  },
1225
2118
  carousel: {
1226
2119
  slide: (index) => `Diapositiva ${index}`
1227
2120
  },
1228
2121
  rate: {
1229
- ariaLabel: "Calificaci\xF3n",
1230
- star: (n) => `${n} estrella${n > 1 ? "s" : ""}`
2122
+ ariaLabel: "Valutazione",
2123
+ star: (n) => `${n} ${n > 1 ? "stelle" : "stella"}`
1231
2124
  },
1232
2125
  charts: {
1233
- lineChart: "Gr\xE1fico de l\xEDneas",
1234
- barChart: "Gr\xE1fico de barras",
1235
- areaChart: "Gr\xE1fico de \xE1reas",
1236
- pieChart: "Gr\xE1fico circular",
1237
- legend: "Leyenda del gr\xE1fico",
1238
- actions: "Acciones del gr\xE1fico"
2126
+ lineChart: "Grafico a linee",
2127
+ barChart: "Grafico a barre",
2128
+ areaChart: "Grafico ad area",
2129
+ pieChart: "Grafico a torta",
2130
+ legend: "Legenda del grafico",
2131
+ actions: "Azioni del grafico"
1239
2132
  },
1240
2133
  datePicker: {
1241
- prevYear: "A\xF1o anterior",
1242
- nextYear: "A\xF1o siguiente",
1243
- prevMonth: "Mes anterior",
1244
- nextMonth: "Mes siguiente"
2134
+ prevYear: "Anno precedente",
2135
+ nextYear: "Anno successivo",
2136
+ prevMonth: "Mese precedente",
2137
+ nextMonth: "Mese successivo"
1245
2138
  },
1246
2139
  cascader: {
1247
- searchPlaceholder: "Buscar...",
1248
- noMatches: "Sin coincidencias"
2140
+ searchPlaceholder: "Cerca...",
2141
+ noMatches: "Nessuna corrispondenza"
1249
2142
  },
1250
2143
  treeSelect: {
1251
- searchPlaceholder: "Buscar...",
1252
- noMatches: "Sin coincidencias"
2144
+ searchPlaceholder: "Cerca...",
2145
+ noMatches: "Nessuna corrispondenza"
1253
2146
  },
1254
2147
  dashboard: {
1255
- ariaLabel: "Panel",
1256
- editorAriaLabel: "Editor del panel",
1257
- resizeWidget: "Cambiar tama\xF1o del widget",
1258
- widgetActions: "Acciones del widget"
2148
+ ariaLabel: "Dashboard",
2149
+ editorAriaLabel: "Editor dashboard",
2150
+ resizeWidget: "Ridimensiona widget",
2151
+ widgetActions: "Azioni widget"
1259
2152
  },
1260
2153
  gantt: {
1261
- ariaLabel: "Diagrama de Gantt",
1262
- resizeTask: "Cambiar duraci\xF3n de la tarea"
2154
+ ariaLabel: "Diagramma di Gantt",
2155
+ resizeTask: "Ridimensiona attivit\xE0"
1263
2156
  },
1264
2157
  resourceCalendar: {
1265
- ariaLabel: "Calendario de recursos",
1266
- resource: (name) => `Recurso ${name}`,
1267
- capacity: (n) => `capacidad ${n} por franja`,
1268
- resizeStart: "Mover el inicio",
1269
- resizeEnd: "Mover el final",
1270
- conflictSuffix: " (conflicto)"
2158
+ ariaLabel: "Calendario risorse",
2159
+ resource: (name) => `Risorsa ${name}`,
2160
+ capacity: (n) => `capacit\xE0 ${n} per slot`,
2161
+ resizeStart: "Ridimensiona inizio",
2162
+ resizeEnd: "Ridimensiona fine",
2163
+ conflictSuffix: " (conflitto)"
1271
2164
  },
1272
2165
  timeline: {
1273
- ariaLabel: "L\xEDnea de tiempo"
2166
+ ariaLabel: "Cronologia"
1274
2167
  },
1275
2168
  schemaFormEditor: {
1276
- undo: "Deshacer",
1277
- redo: "Rehacer",
1278
- removeOption: "Eliminar opci\xF3n",
1279
- schemaView: "Esquema JSON generado",
1280
- optionLabelPlaceholder: "Etiqueta",
1281
- optionValuePlaceholder: "Valor",
1282
- moveFieldUp: "Mover campo arriba",
1283
- moveFieldDown: "Mover campo abajo",
1284
- duplicateField: "Duplicar campo",
1285
- deleteField: "Eliminar campo"
2169
+ undo: "Annulla",
2170
+ redo: "Ripeti",
2171
+ removeOption: "Rimuovi opzione",
2172
+ schemaView: "JSON Schema generato",
2173
+ optionLabelPlaceholder: "Etichetta",
2174
+ optionValuePlaceholder: "Valore",
2175
+ moveFieldUp: "Sposta campo su",
2176
+ moveFieldDown: "Sposta campo gi\xF9",
2177
+ duplicateField: "Duplica campo",
2178
+ deleteField: "Elimina campo"
2179
+ },
2180
+ table: {
2181
+ emptyText: "Nessun dato",
2182
+ searchPlaceholder: "Cerca..."
2183
+ },
2184
+ dataGrid: {
2185
+ noData: "Nessun dato",
2186
+ selectAll: "Seleziona tutto"
2187
+ },
2188
+ tree: {
2189
+ emptyText: "Nessun dato",
2190
+ searchPlaceholder: "Cerca...",
2191
+ clearSearch: "Cancella ricerca"
2192
+ },
2193
+ list: {
2194
+ loading: "Caricamento"
2195
+ },
2196
+ diagram: {
2197
+ ariaLabel: "Diagramma"
2198
+ },
2199
+ colorPicker: {
2200
+ pickColor: "Scegli colore"
2201
+ },
2202
+ pinInput: {
2203
+ ariaLabel: "Inserimento PIN"
1286
2204
  }
1287
2205
  };
1288
2206
 
@@ -4829,7 +5747,12 @@ function useTableState(props) {
4829
5747
  setColumnWidth: persistColumnWidth,
4830
5748
  refresh
4831
5749
  } = useTable(tableOptions);
4832
- const t = (0, import_react24.useMemo)(() => ({ ...DEFAULT_LOCALE, ...locale }), [locale]);
5750
+ const config = useConfig();
5751
+ const configTableLocale = config.locale?.table;
5752
+ const t = (0, import_react24.useMemo)(
5753
+ () => ({ ...DEFAULT_LOCALE, ...configTableLocale, ...locale }),
5754
+ [configTableLocale, locale]
5755
+ );
4833
5756
  const hasColumnGroups = columnsProp.some((c) => c.children && c.children.length > 0);
4834
5757
  const leafColumns = (0, import_react24.useMemo)(() => flattenLeafColumns(columnsProp), [columnsProp]);
4835
5758
  const headerRows = (0, import_react24.useMemo)(
@@ -5006,9 +5929,8 @@ function useTableState(props) {
5006
5929
  } else {
5007
5930
  next = sorts.filter((s) => s.column !== col.key);
5008
5931
  }
5009
- if (onSortsChange) {
5010
- onSortsChange(next);
5011
- } else {
5932
+ onSortsChange?.(next);
5933
+ if (controlledSorts === void 0) {
5012
5934
  setInternalSorts(next);
5013
5935
  }
5014
5936
  if (next.length === 0) {
@@ -5017,7 +5939,7 @@ function useTableState(props) {
5017
5939
  setSorts(next);
5018
5940
  }
5019
5941
  } else {
5020
- const current = sorts.length === 1 ? sorts[0] : null;
5942
+ const current = sorts.find((s) => s.column === col.key) ?? null;
5021
5943
  let next;
5022
5944
  if (!current || current.column !== col.key) {
5023
5945
  next = [{ column: col.key, direction: "asc" }];
@@ -5026,9 +5948,8 @@ function useTableState(props) {
5026
5948
  } else {
5027
5949
  next = [];
5028
5950
  }
5029
- if (onSortsChange) {
5030
- onSortsChange(next);
5031
- } else {
5951
+ onSortsChange?.(next);
5952
+ if (controlledSorts === void 0) {
5032
5953
  setInternalSorts(next);
5033
5954
  }
5034
5955
  if (next.length === 0) {
@@ -5038,7 +5959,7 @@ function useTableState(props) {
5038
5959
  }
5039
5960
  }
5040
5961
  },
5041
- [multiSort, sorts, onSortsChange, setSort, setSorts, clearSort]
5962
+ [multiSort, sorts, controlledSorts, onSortsChange, setSort, setSorts, clearSort]
5042
5963
  );
5043
5964
  const getSortIndex = (0, import_react24.useCallback)(
5044
5965
  (colKey) => {
@@ -5134,10 +6055,14 @@ function useTableState(props) {
5134
6055
  e.preventDefault();
5135
6056
  e.stopPropagation();
5136
6057
  resizeCleanupRef.current?.();
6058
+ const handle = e.currentTarget;
6059
+ const th = handle.closest(".sg-table-th");
6060
+ const measuredW = th?.getBoundingClientRect().width;
6061
+ const startW = measuredW && Number.isFinite(measuredW) ? measuredW : colWidths[colKey] ?? DEFAULT_COL_WIDTH;
5137
6062
  resizeRef.current = {
5138
6063
  col: colKey,
5139
6064
  startX: e.clientX,
5140
- startW: colWidths[colKey] ?? DEFAULT_COL_WIDTH
6065
+ startW
5141
6066
  };
5142
6067
  const onMove = (ev) => {
5143
6068
  const ref = resizeRef.current;
@@ -6923,7 +7848,11 @@ function Tree(props) {
6923
7848
  style,
6924
7849
  unstyled
6925
7850
  } = props;
6926
- const t = (0, import_react28.useMemo)(() => ({ ...DEFAULT_TREE_LOCALE, ...locale }), [locale]);
7851
+ const config = useConfig();
7852
+ const t = (0, import_react28.useMemo)(
7853
+ () => ({ ...DEFAULT_TREE_LOCALE, ...config.locale?.tree, ...locale }),
7854
+ [config.locale?.tree, locale]
7855
+ );
6927
7856
  const showLineConfig = typeof showLine === "object" ? showLine : { showLeafIcon: false };
6928
7857
  const isShowLine = !!showLine;
6929
7858
  const {
@@ -10620,6 +11549,8 @@ function TimePicker({
10620
11549
  const config = useConfig();
10621
11550
  const size = sizeProp ?? config.size ?? "middle";
10622
11551
  const disabled = disabledProp ?? config.disabled ?? false;
11552
+ const nowLabel = config.locale?.calendar?.now ?? "Now";
11553
+ const clearLabel = config.locale?.input?.clear ?? "Clear";
10623
11554
  const fmt = formatProp ?? (use12Hours ? "hh:mm:ss A" : showSecond ? "HH:mm:ss" : "HH:mm");
10624
11555
  const [internalValue, setInternalValue] = (0, import_react39.useState)(value ?? defaultValue ?? "");
10625
11556
  const [internalOpen, setInternalOpen] = (0, import_react39.useState)(false);
@@ -10743,7 +11674,16 @@ function TimePicker({
10743
11674
  }
10744
11675
  ),
10745
11676
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: unstyled ? "" : "sg-timepicker-suffix", children: loading ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Spin, { size: "small", unstyled }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
10746
- allowClear && currentValue && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: unstyled ? "" : "sg-timepicker-clear", onClick: handleClear, children: "\xD7" }),
11677
+ allowClear && currentValue && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
11678
+ "span",
11679
+ {
11680
+ className: unstyled ? "" : "sg-timepicker-clear",
11681
+ role: "button",
11682
+ "aria-label": clearLabel,
11683
+ onClick: handleClear,
11684
+ children: "\xD7"
11685
+ }
11686
+ ),
10747
11687
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
10748
11688
  "svg",
10749
11689
  {
@@ -10822,7 +11762,7 @@ function TimePicker({
10822
11762
  )
10823
11763
  ] })
10824
11764
  ] }),
10825
- showNow && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: unstyled ? "" : "sg-tp-footer", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("button", { className: unstyled ? "" : "sg-tp-now-btn", onClick: handleNow, children: "Now" }) })
11765
+ showNow && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: unstyled ? "" : "sg-tp-footer", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("button", { className: unstyled ? "" : "sg-tp-now-btn", onClick: handleNow, children: nowLabel }) })
10826
11766
  ] })
10827
11767
  ] });
10828
11768
  }
@@ -10851,6 +11791,7 @@ function TimeRangePicker({
10851
11791
  const config = useConfig();
10852
11792
  const size = sizeProp ?? config.size ?? "middle";
10853
11793
  const disabled = disabledProp ?? config.disabled ?? false;
11794
+ const clearLabel = config.locale?.input?.clear ?? "Clear";
10854
11795
  const fmt = formatProp ?? (use12Hours ? "hh:mm:ss A" : showSecond ? "HH:mm:ss" : "HH:mm");
10855
11796
  const [internalValue, setInternalValue] = (0, import_react39.useState)(
10856
11797
  value ?? defaultValue ?? ["", ""]
@@ -10908,7 +11849,16 @@ function TimeRangePicker({
10908
11849
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: currentValue[0] || placeholder[0] }),
10909
11850
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: unstyled ? "" : "sg-timepicker-separator", children: separator }),
10910
11851
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: currentValue[1] || placeholder[1] }),
10911
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: unstyled ? "" : "sg-timepicker-suffix", children: allowClear && (currentValue[0] || currentValue[1]) && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: unstyled ? "" : "sg-timepicker-clear", onClick: handleClear, children: "\xD7" }) })
11852
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: unstyled ? "" : "sg-timepicker-suffix", children: allowClear && (currentValue[0] || currentValue[1]) && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
11853
+ "span",
11854
+ {
11855
+ className: unstyled ? "" : "sg-timepicker-clear",
11856
+ role: "button",
11857
+ "aria-label": clearLabel,
11858
+ onClick: handleClear,
11859
+ children: "\xD7"
11860
+ }
11861
+ ) })
10912
11862
  ]
10913
11863
  }
10914
11864
  ),
@@ -12950,9 +13900,7 @@ function parseColor(input) {
12950
13900
  const full = clean.length === 3 ? "#" + clean[0] + clean[0] + clean[1] + clean[1] + clean[2] + clean[2] : trimmed;
12951
13901
  return full.toLowerCase();
12952
13902
  }
12953
- const rgbMatch = trimmed.match(
12954
- /^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i
12955
- );
13903
+ const rgbMatch = trimmed.match(/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i);
12956
13904
  if (rgbMatch) {
12957
13905
  const [, rs, gs, bs] = rgbMatch;
12958
13906
  const r = Math.min(255, parseInt(rs));
@@ -12984,9 +13932,8 @@ function ColorPicker({
12984
13932
  const config = useConfig();
12985
13933
  const size = sizeProp ?? config.size ?? "middle";
12986
13934
  const disabled = disabledProp ?? config.disabled ?? false;
12987
- const [internalColor, setInternalColor] = (0, import_react51.useState)(
12988
- value ?? defaultValue ?? DEFAULT_COLOR
12989
- );
13935
+ const pickColorLabel = config.locale?.colorPicker?.pickColor ?? "Pick color";
13936
+ const [internalColor, setInternalColor] = (0, import_react51.useState)(value ?? defaultValue ?? DEFAULT_COLOR);
12990
13937
  const currentHex = (value ?? internalColor).toLowerCase();
12991
13938
  const [hsv, setHsv] = (0, import_react51.useState)(() => {
12992
13939
  const [r, g, b] = hexToRgb(currentHex);
@@ -13109,67 +14056,94 @@ function ColorPicker({
13109
14056
  };
13110
14057
  const hueColor = hsvToHex(hsv.h, 1, 1);
13111
14058
  if (unstyled) {
13112
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { ref: wrapperRef, className, style: { ...style, position: "relative", display: "inline-block" }, children: [
13113
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
13114
- "button",
13115
- {
13116
- type: "button",
13117
- disabled,
13118
- "aria-haspopup": "dialog",
13119
- "aria-expanded": isOpen,
13120
- "aria-label": ariaLabel,
13121
- "aria-labelledby": ariaLabelledBy,
13122
- onClick: handleTriggerClick,
13123
- onMouseEnter: handleMouseEnter,
13124
- onMouseLeave: handleMouseLeave,
13125
- children: [
13126
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { style: { display: "inline-block", width: 16, height: 16, background: currentHex } }),
13127
- renderText()
13128
- ]
13129
- }
13130
- ),
13131
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: [
13132
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
13133
- "div",
13134
- {
13135
- ref: satPanelRef,
13136
- style: { width: 200, height: 150, position: "relative", background: `linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, ${hueColor})` },
13137
- onPointerDown: handleSatPointerDown,
13138
- onPointerMove: handleSatPointerMove,
13139
- onPointerUp: handleSatPointerUp
13140
- }
13141
- ),
13142
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
13143
- "div",
13144
- {
13145
- ref: hueBarRef,
13146
- style: { width: 200, height: 12, background: "linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)" },
13147
- onPointerDown: handleHuePointerDown,
13148
- onPointerMove: handleHuePointerMove,
13149
- onPointerUp: handleHuePointerUp
13150
- }
13151
- ),
13152
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("input", { value: textInput, onChange: handleTextChange }),
13153
- presets?.map((group) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { children: [
13154
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { children: group.label }),
13155
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { style: { display: "flex", flexWrap: "wrap", gap: 4 }, children: group.colors.map((c) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
14059
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
14060
+ "div",
14061
+ {
14062
+ ref: wrapperRef,
14063
+ className,
14064
+ style: { ...style, position: "relative", display: "inline-block" },
14065
+ children: [
14066
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
13156
14067
  "button",
13157
14068
  {
13158
- style: { width: 16, height: 16, background: c },
13159
- onClick: () => handlePresetClick(c)
13160
- },
13161
- c
13162
- )) })
13163
- ] }, group.label))
13164
- ] })
13165
- ] });
14069
+ type: "button",
14070
+ disabled,
14071
+ "aria-haspopup": "dialog",
14072
+ "aria-expanded": isOpen,
14073
+ "aria-label": ariaLabel ?? pickColorLabel,
14074
+ "aria-labelledby": ariaLabelledBy,
14075
+ onClick: handleTriggerClick,
14076
+ onMouseEnter: handleMouseEnter,
14077
+ onMouseLeave: handleMouseLeave,
14078
+ children: [
14079
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
14080
+ "span",
14081
+ {
14082
+ style: { display: "inline-block", width: 16, height: 16, background: currentHex }
14083
+ }
14084
+ ),
14085
+ renderText()
14086
+ ]
14087
+ }
14088
+ ),
14089
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: [
14090
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
14091
+ "div",
14092
+ {
14093
+ ref: satPanelRef,
14094
+ style: {
14095
+ width: 200,
14096
+ height: 150,
14097
+ position: "relative",
14098
+ background: `linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, ${hueColor})`
14099
+ },
14100
+ onPointerDown: handleSatPointerDown,
14101
+ onPointerMove: handleSatPointerMove,
14102
+ onPointerUp: handleSatPointerUp
14103
+ }
14104
+ ),
14105
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
14106
+ "div",
14107
+ {
14108
+ ref: hueBarRef,
14109
+ style: {
14110
+ width: 200,
14111
+ height: 12,
14112
+ background: "linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"
14113
+ },
14114
+ onPointerDown: handleHuePointerDown,
14115
+ onPointerMove: handleHuePointerMove,
14116
+ onPointerUp: handleHuePointerUp
14117
+ }
14118
+ ),
14119
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("input", { value: textInput, onChange: handleTextChange }),
14120
+ presets?.map((group) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { children: [
14121
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { children: group.label }),
14122
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { style: { display: "flex", flexWrap: "wrap", gap: 4 }, children: group.colors.map((c) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
14123
+ "button",
14124
+ {
14125
+ style: { width: 16, height: 16, background: c },
14126
+ onClick: () => handlePresetClick(c)
14127
+ },
14128
+ c
14129
+ )) })
14130
+ ] }, group.label))
14131
+ ] })
14132
+ ]
14133
+ }
14134
+ );
13166
14135
  }
13167
14136
  const sizeClass = `sg-colorpicker-${size}`;
13168
14137
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
13169
14138
  "div",
13170
14139
  {
13171
14140
  ref: wrapperRef,
13172
- className: ["sg-colorpicker-wrapper", sizeClass, disabled ? "sg-colorpicker-disabled" : "", className].filter(Boolean).join(" "),
14141
+ className: [
14142
+ "sg-colorpicker-wrapper",
14143
+ sizeClass,
14144
+ disabled ? "sg-colorpicker-disabled" : "",
14145
+ className
14146
+ ].filter(Boolean).join(" "),
13173
14147
  style,
13174
14148
  onMouseEnter: handleMouseEnter,
13175
14149
  onMouseLeave: handleMouseLeave,
@@ -13183,7 +14157,7 @@ function ColorPicker({
13183
14157
  disabled,
13184
14158
  "aria-haspopup": "dialog",
13185
14159
  "aria-expanded": isOpen,
13186
- "aria-label": ariaLabel,
14160
+ "aria-label": ariaLabel ?? pickColorLabel,
13187
14161
  "aria-labelledby": ariaLabelledBy,
13188
14162
  children: [
13189
14163
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "sg-colorpicker-swatch", style: { background: currentHex } }),
@@ -13203,7 +14177,9 @@ function ColorPicker({
13203
14177
  {
13204
14178
  ref: satPanelRef,
13205
14179
  className: "sg-colorpicker-saturation",
13206
- style: { background: `linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, ${hueColor})` },
14180
+ style: {
14181
+ background: `linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, ${hueColor})`
14182
+ },
13207
14183
  onPointerDown: handleSatPointerDown,
13208
14184
  onPointerMove: handleSatPointerMove,
13209
14185
  onPointerUp: handleSatPointerUp,
@@ -13228,23 +14204,11 @@ function ColorPicker({
13228
14204
  onPointerDown: handleHuePointerDown,
13229
14205
  onPointerMove: handleHuePointerMove,
13230
14206
  onPointerUp: handleHuePointerUp,
13231
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
13232
- "div",
13233
- {
13234
- className: "sg-colorpicker-hue-cursor",
13235
- style: { left: `${hsv.h * 100}%` }
13236
- }
13237
- )
14207
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "sg-colorpicker-hue-cursor", style: { left: `${hsv.h * 100}%` } })
13238
14208
  }
13239
14209
  ),
13240
14210
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "sg-colorpicker-input-row", children: [
13241
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
13242
- "span",
13243
- {
13244
- className: "sg-colorpicker-preview",
13245
- style: { background: currentHex }
13246
- }
13247
- ),
14211
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "sg-colorpicker-preview", style: { background: currentHex } }),
13248
14212
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
13249
14213
  "input",
13250
14214
  {
@@ -20629,6 +21593,7 @@ function DataGridInner(props, ref) {
20629
21593
  loading,
20630
21594
  emptyContent
20631
21595
  } = props;
21596
+ const config = useConfig();
20632
21597
  const containerRef = (0, import_react83.useRef)(null);
20633
21598
  const state = useDataGridState(columns, data);
20634
21599
  const {
@@ -21114,7 +22079,7 @@ function DataGridInner(props, ref) {
21114
22079
  position: "relative",
21115
22080
  height: bodyHeight
21116
22081
  },
21117
- children: data.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: cls.empty, style: { padding: 24, textAlign: "center" }, children: emptyContent ?? locale?.noData ?? "No data" }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { style: { height: range.totalHeight, position: "relative", minWidth: totalWidth }, children: range.visibleItems.map((vi) => {
22082
+ children: data.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: cls.empty, style: { padding: 24, textAlign: "center" }, children: emptyContent ?? locale?.noData ?? config.locale?.dataGrid?.noData ?? "No data" }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { style: { height: range.totalHeight, position: "relative", minWidth: totalWidth }, children: range.visibleItems.map((vi) => {
21118
22083
  const row = data[vi.index];
21119
22084
  if (!row) return null;
21120
22085
  const rKey = getRowKey(row, vi.index);
@@ -21408,7 +22373,8 @@ function ListInner({
21408
22373
  if (scrollRafRef.current != null) cancelAnimationFrame(scrollRafRef.current);
21409
22374
  };
21410
22375
  }, []);
21411
- const emptyText = locale?.emptyText ?? "No Data";
22376
+ const config = useConfig();
22377
+ const emptyText = locale?.emptyText ?? config.locale?.empty?.description ?? "No Data";
21412
22378
  const gridStyle = import_react84.default.useMemo(() => {
21413
22379
  if (!grid) return void 0;
21414
22380
  const cols = grid.column ?? 1;
@@ -21855,10 +22821,16 @@ function Transfer({
21855
22821
  listHeight,
21856
22822
  listClassName
21857
22823
  }) {
21858
- const mergedLocale = import_react86.default.useMemo(() => ({
21859
- ...DEFAULT_TRANSFER_LOCALE,
21860
- ...locale
21861
- }), [locale]);
22824
+ const config = useConfig();
22825
+ const mergedLocale = import_react86.default.useMemo(
22826
+ () => ({
22827
+ ...DEFAULT_TRANSFER_LOCALE,
22828
+ ...config.locale?.transfer,
22829
+ ...locale
22830
+ }),
22831
+ [config.locale?.transfer, locale]
22832
+ );
22833
+ const resolvedTitles = titles ?? config.locale?.transfer?.titles;
21862
22834
  const [internalSourceSelected, setInternalSourceSelected] = import_react86.default.useState([]);
21863
22835
  const [internalTargetSelected, setInternalTargetSelected] = import_react86.default.useState([]);
21864
22836
  const sourceSelected = controlledSelectedKeys ? controlledSelectedKeys.filter((k) => !targetKeys.includes(k)) : internalSourceSelected;
@@ -21938,7 +22910,7 @@ function Transfer({
21938
22910
  items: sourceItems,
21939
22911
  selectedKeys: sourceSelected,
21940
22912
  onSelect: setSourceSelected,
21941
- title: titles?.[0],
22913
+ title: resolvedTitles?.[0],
21942
22914
  direction: "left",
21943
22915
  footer: resolveFooter("left"),
21944
22916
  ...listCommonProps
@@ -21955,7 +22927,7 @@ function Transfer({
21955
22927
  items: targetItems,
21956
22928
  selectedKeys: targetSelected,
21957
22929
  onSelect: setTargetSelected,
21958
- title: titles?.[1],
22930
+ title: resolvedTitles?.[1],
21959
22931
  direction: "right",
21960
22932
  footer: resolveFooter("right"),
21961
22933
  ...listCommonProps
@@ -21963,54 +22935,61 @@ function Transfer({
21963
22935
  )
21964
22936
  ] });
21965
22937
  }
21966
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: cls4("sg-transfer", disabled && "sg-transfer-disabled", className), style, children: [
21967
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
21968
- TransferList,
21969
- {
21970
- items: sourceItems,
21971
- selectedKeys: sourceSelected,
21972
- onSelect: setSourceSelected,
21973
- title: titles?.[0] ?? "Source",
21974
- direction: "left",
21975
- footer: resolveFooter("left"),
21976
- ...listCommonProps
21977
- }
21978
- ),
21979
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "sg-transfer-operations", style: operationsStyle, children: [
21980
- operations ? operations[0] : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
21981
- Button,
21982
- {
21983
- type: "primary",
21984
- size: "small",
21985
- disabled: disabled || !canMoveRight,
21986
- onClick: moveToRight,
21987
- children: "\u2192"
21988
- }
21989
- ),
21990
- !oneWay && (operations ? operations[1] : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
21991
- Button,
21992
- {
21993
- type: "primary",
21994
- size: "small",
21995
- disabled: disabled || !canMoveLeft,
21996
- onClick: moveToLeft,
21997
- children: "\u2190"
21998
- }
21999
- ))
22000
- ] }),
22001
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22002
- TransferList,
22003
- {
22004
- items: targetItems,
22005
- selectedKeys: targetSelected,
22006
- onSelect: setTargetSelected,
22007
- title: titles?.[1] ?? "Target",
22008
- direction: "right",
22009
- footer: resolveFooter("right"),
22010
- ...listCommonProps
22011
- }
22012
- )
22013
- ] });
22938
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
22939
+ "div",
22940
+ {
22941
+ className: cls4("sg-transfer", disabled && "sg-transfer-disabled", className),
22942
+ style,
22943
+ children: [
22944
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22945
+ TransferList,
22946
+ {
22947
+ items: sourceItems,
22948
+ selectedKeys: sourceSelected,
22949
+ onSelect: setSourceSelected,
22950
+ title: resolvedTitles?.[0] ?? "Source",
22951
+ direction: "left",
22952
+ footer: resolveFooter("left"),
22953
+ ...listCommonProps
22954
+ }
22955
+ ),
22956
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "sg-transfer-operations", style: operationsStyle, children: [
22957
+ operations ? operations[0] : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22958
+ Button,
22959
+ {
22960
+ type: "primary",
22961
+ size: "small",
22962
+ disabled: disabled || !canMoveRight,
22963
+ onClick: moveToRight,
22964
+ children: "\u2192"
22965
+ }
22966
+ ),
22967
+ !oneWay && (operations ? operations[1] : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22968
+ Button,
22969
+ {
22970
+ type: "primary",
22971
+ size: "small",
22972
+ disabled: disabled || !canMoveLeft,
22973
+ onClick: moveToLeft,
22974
+ children: "\u2190"
22975
+ }
22976
+ ))
22977
+ ] }),
22978
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22979
+ TransferList,
22980
+ {
22981
+ items: targetItems,
22982
+ selectedKeys: targetSelected,
22983
+ onSelect: setTargetSelected,
22984
+ title: resolvedTitles?.[1] ?? "Target",
22985
+ direction: "right",
22986
+ footer: resolveFooter("right"),
22987
+ ...listCommonProps
22988
+ }
22989
+ )
22990
+ ]
22991
+ }
22992
+ );
22014
22993
  }
22015
22994
 
22016
22995
  // src/components/ui/Mentions.tsx
@@ -22553,11 +23532,12 @@ function PinInput({
22553
23532
  className,
22554
23533
  style,
22555
23534
  unstyled,
22556
- "aria-label": ariaLabel = "PIN input"
23535
+ "aria-label": ariaLabelProp
22557
23536
  }) {
22558
23537
  const config = useConfig();
22559
23538
  const size = sizeProp ?? config.size ?? "middle";
22560
23539
  const disabled = disabledProp ?? config.disabled ?? false;
23540
+ const ariaLabel = ariaLabelProp ?? config.locale?.pinInput?.ariaLabel ?? "PIN input";
22561
23541
  const id = (0, import_react91.useId)();
22562
23542
  const pad2 = (s) => s.padEnd(length, "").slice(0, length);
22563
23543
  const [internal, setInternal] = (0, import_react91.useState)(() => pad2(defaultValue));
@@ -22971,15 +23951,19 @@ function InputGroup({
22971
23951
  en_US,
22972
23952
  es_ES,
22973
23953
  fr_FR,
23954
+ it_IT,
23955
+ ja_JP,
22974
23956
  jsonSchemaToDefaults,
22975
23957
  jsonSchemaToEditorSchema,
22976
23958
  jsonSchemaToFields,
22977
23959
  jsonSchemaToRules,
23960
+ ko_KR,
22978
23961
  makeChartContextMenuHandler,
22979
23962
  makeSeriesContextMenuHandler,
22980
23963
  measureSvg,
22981
23964
  notification,
22982
23965
  printElement,
23966
+ pt_BR,
22983
23967
  resolveBrushConfig,
22984
23968
  resolveChartActions,
22985
23969
  resolveChartAnimation,