@nxgt/material 3.68.0 → 3.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/README.md +13 -9
  3. package/dist/{alert-dialog-BhARh_qC.js → alert-dialog-y2pbowVh.js} +1 -1
  4. package/dist/{async-slice-CHyRU5V3.js → async-slice-CGfWBOaV.js} +1 -1
  5. package/dist/{button-Du7fJ9i_.js → button-D54Hrjo0.js} +1 -1
  6. package/dist/charts.js +3 -3
  7. package/dist/{chip-BVB6UYl-.js → chip-B5MhXBfm.js} +2 -2
  8. package/dist/{code-editor-D-GBs2yu.js → code-editor-mULs4SL8.js} +5 -5
  9. package/dist/code-editor.js +5 -5
  10. package/dist/{code-language-items-xrgq1Am0.js → code-language-items-BWDnqUqn.js} +2 -2
  11. package/dist/components/ui/collections/server-table/server-table-phone-row.css +6 -0
  12. package/dist/components/ui/display/code/code-moonlight.css +37 -0
  13. package/dist/{components-iNCh4A6M.js → components-B_taYVcd.js} +19740 -18682
  14. package/dist/components.js +28 -28
  15. package/dist/{dialog-DFY_nsqF.js → dialog-AjCYZ2Vz.js} +4 -4
  16. package/dist/dnd.js +1 -1
  17. package/dist/{dropdown-menu-B6Yh4XJu.js → dropdown-menu-LN60hu_3.js} +1 -1
  18. package/dist/editor.js +673 -673
  19. package/dist/{empty-state-DGtwE50c.js → empty-state-Bo8G8W8G.js} +2 -2
  20. package/dist/{field-blur-Br7ij-a1.js → field-blur-Cnd6FfCH.js} +1 -1
  21. package/dist/{field-blur-context-CucMAZLj.js → field-blur-context-bUFZj8iN.js} +1 -1
  22. package/dist/{hooks-CYQJkKGc.js → hooks-Dt4PkQiZ.js} +2 -2
  23. package/dist/hooks.js +3 -3
  24. package/dist/{hover-card-C2J0GwWf.js → hover-card-QtGnvsnc.js} +1 -1
  25. package/dist/i18n.js +3 -3
  26. package/dist/{icon-badge-LzO5K6Wu.js → icon-badge-DLbpCQIm.js} +3 -3
  27. package/dist/{icon-button-vLJ4YrEW.js → icon-button-C59DqL7L.js} +1 -1
  28. package/dist/lib/components/ui/actions/fab/fab-dock-inset.d.ts +29 -0
  29. package/dist/lib/components/ui/actions/fab/fab-dock.d.ts +6 -1
  30. package/dist/lib/components/ui/collections/data-table/select-checkbox.d.ts +3 -2
  31. package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +3 -3
  32. package/dist/lib/components/ui/collections/index.d.ts +1 -0
  33. package/dist/lib/components/ui/collections/record-actions-menu/index.d.ts +2 -0
  34. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-dialogs.d.ts +15 -0
  35. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-menu.d.ts +72 -0
  36. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-rules.d.ts +68 -0
  37. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-words.d.ts +52 -0
  38. package/dist/lib/components/ui/collections/record-actions-menu/use-record-actions.d.ts +51 -0
  39. package/dist/lib/components/ui/collections/record-actions-menu/use-record-flight.d.ts +16 -0
  40. package/dist/lib/components/ui/collections/row-menu/row-menu-column.d.ts +4 -0
  41. package/dist/lib/components/ui/collections/row-menu/row-menu.d.ts +1 -1
  42. package/dist/lib/components/ui/collections/server-table/partials/server-table-band-classes.d.ts +7 -5
  43. package/dist/lib/components/ui/collections/server-table/partials/server-table-column-sorting.d.ts +7 -0
  44. package/dist/lib/components/ui/collections/server-table/types.d.ts +3 -1
  45. package/dist/lib/components/ui/display/markdown/markdown.d.ts +12 -1
  46. package/dist/lib/components/ui/display/markdown/markdown.utils.d.ts +2 -0
  47. package/dist/lib/components/ui/display/markdown/mermaid-csp-scope.d.ts +8 -0
  48. package/dist/lib/components/ui/display/markdown/mermaid-markup.d.ts +20 -0
  49. package/dist/lib/components/ui/display/markdown/partials/markdown-code.d.ts +5 -1
  50. package/dist/lib/components/ui/feedback/confirm-dialog/action-refusal.d.ts +24 -0
  51. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-alert.d.ts +17 -0
  52. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-description.d.ts +10 -0
  53. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-dialog.d.ts +24 -2
  54. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-refusal.d.ts +7 -0
  55. package/dist/lib/components/ui/feedback/confirm-dialog/index.d.ts +1 -0
  56. package/dist/lib/components/ui/feedback/confirm-dialog/use-confirm-action.d.ts +6 -0
  57. package/dist/lib/components/ui/feedback/index.d.ts +1 -0
  58. package/dist/lib/components/ui/feedback/stale-notice/index.d.ts +1 -0
  59. package/dist/lib/components/ui/feedback/stale-notice/stale-notice.d.ts +15 -0
  60. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  61. package/dist/lib/components/ui/fields/country-field/index.d.ts +2 -0
  62. package/dist/lib/components/ui/fields/country-field/iso-countries.d.ts +2 -0
  63. package/dist/lib/components/ui/fields/index.d.ts +1 -0
  64. package/dist/lib/components/ui/fields/phone-field/index.d.ts +1 -1
  65. package/dist/lib/components/ui/fields/phone-field/parse-phone.d.ts +2 -0
  66. package/dist/lib/components/ui/fields/phone-field/phone-field.d.ts +8 -1
  67. package/dist/lib/components/ui/fields/phone-field/phone-form-field.d.ts +8 -1
  68. package/dist/lib/components/ui/fields/phone-field/use-phone-value.d.ts +2 -1
  69. package/dist/lib/components/ui/fields/postal-address/utils.d.ts +15 -0
  70. package/dist/lib/components/ui/fields/quantity-field/index.d.ts +3 -0
  71. package/dist/lib/components/ui/fields/quantity-field/quantity-field.d.ts +8 -0
  72. package/dist/lib/components/ui/fields/quantity-field/quantity-form-field.d.ts +8 -0
  73. package/dist/lib/components/ui/fields/quantity-field/quantity-row.d.ts +13 -0
  74. package/dist/lib/components/ui/fields/quantity-field/quantity-unit.d.ts +12 -0
  75. package/dist/lib/components/ui/fields/quantity-field/quantity-value.d.ts +9 -0
  76. package/dist/lib/components/ui/fields/quantity-field/types.d.ts +45 -0
  77. package/dist/lib/components/ui/forms/index.d.ts +1 -0
  78. package/dist/lib/components/ui/forms/use-server-field-errors.d.ts +21 -0
  79. package/dist/lib/components/ui/layout/index.d.ts +1 -0
  80. package/dist/lib/components/ui/layout/record-page/index.d.ts +2 -0
  81. package/dist/lib/components/ui/layout/record-page/record-details.d.ts +40 -0
  82. package/dist/lib/components/ui/layout/record-page/record-page.d.ts +27 -0
  83. package/dist/lib/components/ui/media/upload/index.d.ts +1 -0
  84. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.d.ts +6 -1
  85. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.errors.d.ts +8 -0
  86. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +2 -7
  87. package/dist/lib/components/ui/media/upload/network-upload-field/use-start-upload.d.ts +7 -3
  88. package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-item-handlers.d.ts +2 -1
  89. package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-field.d.ts +2 -5
  90. package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-field.utils.d.ts +26 -1
  91. package/dist/lib/components/ui/media/upload/upload-error.d.ts +33 -0
  92. package/dist/lib/components/ui/selection/autocomplete/autocomplete-enter.d.ts +18 -0
  93. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chip-input.d.ts +2 -1
  94. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-text-input.d.ts +2 -1
  95. package/dist/lib/components/ui/selection/autocomplete/types.d.ts +3 -1
  96. package/dist/lib/components/ui/widgets/chat/chat-conversation-item.d.ts +8 -2
  97. package/dist/lib/components/ui/widgets/chat/chat-markdown.d.ts +4 -0
  98. package/dist/lib/components/ui/widgets/chat/chat-message-list.d.ts +8 -1
  99. package/dist/lib/components/ui/widgets/chat/index.d.ts +2 -0
  100. package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-text.d.ts +2 -1
  101. package/dist/lib/components/ui/widgets/chat/partials/chat-empty-thread.d.ts +2 -0
  102. package/dist/lib/components/ui/widgets/chat/proposal/chat-action-proposal-parts.d.ts +24 -0
  103. package/dist/lib/components/ui/widgets/chat/proposal/chat-action-proposal.d.ts +39 -0
  104. package/dist/lib/components/ui/widgets/chat/proposal/chat-action-proposal.rules.d.ts +17 -0
  105. package/dist/lib/components/ui/widgets/chat/proposal/chat-tool-activity.d.ts +16 -0
  106. package/dist/lib/components/ui/widgets/education/questions/partials/question-content.d.ts +1 -1
  107. package/dist/lib/components/ui/widgets/education/questions/question-text.d.ts +1 -1
  108. package/dist/lib/components/ui/widgets/education/questions/question.d.ts +1 -1
  109. package/dist/lib/components/ui/widgets/education/questions/types.d.ts +10 -0
  110. package/dist/lib/i18n/resources/en/en.d.ts +49 -0
  111. package/dist/lib/i18n/resources/en/material.json.d.ts +50 -1
  112. package/dist/lib/i18n/resources/fr/fr.d.ts +49 -0
  113. package/dist/lib/i18n/resources/fr/material.json.d.ts +50 -1
  114. package/dist/lib/i18n/resources/resources.d.ts +98 -0
  115. package/dist/lib/i18n/translator.d.ts +1 -1
  116. package/dist/lib/print/output/to-pdf-element.d.ts +6 -0
  117. package/dist/lib.js +1 -1
  118. package/dist/main.js +42 -42
  119. package/dist/map.js +8 -8
  120. package/dist/material.css +1 -1
  121. package/dist/pdf-reader.js +1 -1
  122. package/dist/print.js +135 -131
  123. package/dist/{public-BHthpdpe.js → public-BSaSCwy7.js} +9 -9
  124. package/dist/{rich-code-block-DoW7l2ND.js → rich-code-block-BFVj1GWz.js} +5 -5
  125. package/dist/{sortable-provider-FLNMfr0o.js → sortable-provider-REwyjiOZ.js} +2 -2
  126. package/dist/{spinner-DCgDw8eq.js → spinner-BFZxqdWC.js} +1 -1
  127. package/dist/theme-picker.js +2 -2
  128. package/dist/{theme-toggle-BMDAwMLh.js → theme-toggle-BHi6miz-.js} +1 -1
  129. package/dist/{toolbar-items-CkPEhQq7.js → toolbar-items-BTtoKVlx.js} +3 -3
  130. package/dist/{translate-material-DkcuQBNr.js → translate-material-R-uLthBy.js} +1 -1
  131. package/dist/{translator-DXdVRdMm.js → translator-ClbXOGQO.js} +100 -2
  132. package/dist/{typography-BNS_IbFI.js → typography-v-PJ4Zco.js} +1 -1
  133. package/dist/{use-chat-composer-B-tGRLkI.js → use-chat-composer-Rhan4Xv0.js} +2463 -2405
  134. package/dist/{use-heading-spy-DaqibCCm.js → use-heading-spy-CJnBkCY0.js} +179 -87
  135. package/dist/{use-material-translation-Bxl8sv1n.js → use-material-translation-CCWUeiEn.js} +1 -1
  136. package/dist/{use-return-focus-Y_Kx0QlW.js → use-return-focus-Duk40DZI.js} +1 -1
  137. package/docs/components/buttons-and-actions.md +24 -0
  138. package/docs/components/data-display.md +33 -0
  139. package/docs/components/data-table-filter-and-lists.md +117 -5
  140. package/docs/components/feedback-and-status.md +58 -2
  141. package/docs/components/form-fields.md +97 -3
  142. package/docs/components/media-and-files.md +55 -9
  143. package/docs/components/navigation-and-layout.md +58 -0
  144. package/docs/components/rich-widgets.md +37 -3
  145. package/docs/components/selection-and-choice.md +10 -3
  146. package/docs/guides/cards-and-tiles.md +4 -2
  147. package/docs/guides/csp.md +44 -6
  148. package/docs/guides/forms.md +55 -7
  149. package/docs/guides/i18n.md +6 -5
  150. package/docs/guides/printing.md +17 -7
  151. package/docs/previews/data-table-filter-lists-recordactionsmenu.webp +0 -0
  152. package/docs/previews/feedback-status-stalenotice.webp +0 -0
  153. package/docs/previews/form-fields-quantityfield.webp +0 -0
  154. package/docs/previews/media-files-networkuploadfield.webp +0 -0
  155. package/docs/previews/media-files-s3uploadfield.webp +0 -0
  156. package/docs/previews/media-files-uploadfield.webp +0 -0
  157. package/docs/previews/navigation-layout-recordpage.webp +0 -0
  158. package/docs/previews/rich-widgets-chat-action-proposal.webp +0 -0
  159. package/docs/roadmap.md +14 -1
  160. package/docs/troubleshooting.md +58 -11
  161. package/lib/components/ui/collections/server-table/server-table-phone-row.css +6 -0
  162. package/lib/components/ui/display/code/code-moonlight.css +37 -0
  163. package/package.json +2 -2
@@ -121,7 +121,12 @@ var r = {
121
121
  retry: "Retry",
122
122
  remove: "Remove",
123
123
  "replace-named": "Replace {name}",
124
+ "remove-named": "Remove {name}",
124
125
  failed: "Upload failed",
126
+ "error-status": "Upload failed with status {status}",
127
+ "error-status-code": "Upload failed with status {status} ({code})",
128
+ "error-network": "Network error during upload",
129
+ "error-aborted": "Upload cancelled",
125
130
  "invalid-type": "File type not accepted",
126
131
  "too-large": "File exceeds maximum size of {size}",
127
132
  "max-files": "{count, plural, one {Maximum of # file reached} other {Maximum of # files reached}}"
@@ -238,6 +243,25 @@ var r = {
238
243
  widget: {
239
244
  open: "Open chat",
240
245
  close: "Close chat"
246
+ },
247
+ proposal: {
248
+ status: {
249
+ pending: "Awaiting your answer",
250
+ running: "Running",
251
+ confirmed: "Confirmed",
252
+ failed: "Failed",
253
+ rejected: "Rejected",
254
+ expired: "Expired"
255
+ },
256
+ confirm: "Confirm",
257
+ reject: "Reject",
258
+ "respond-by": "Respond by",
259
+ "expired-at": "Expired on"
260
+ },
261
+ tool: {
262
+ running: "Running",
263
+ ok: "Done",
264
+ failed: "Failed"
241
265
  }
242
266
  },
243
267
  gallery: {
@@ -1282,6 +1306,10 @@ var r = {
1282
1306
  "decrease-named": "Decrease {label}",
1283
1307
  "increase-named": "Increase {label}"
1284
1308
  },
1309
+ "quantity-field": {
1310
+ unit: "Unit",
1311
+ "unit-named": "{label} unit"
1312
+ },
1285
1313
  "textarea-field": { count: "{count}/{max}" },
1286
1314
  skeleton: { loading: "Loading" },
1287
1315
  chip: {
@@ -1301,7 +1329,8 @@ var r = {
1301
1329
  country: "Country code",
1302
1330
  placeholder: "6 12 34 56 78",
1303
1331
  search: "Search country",
1304
- empty: "No country found"
1332
+ empty: "No country found",
1333
+ incomplete: "Incomplete number"
1305
1334
  },
1306
1335
  "rating-field": { star: "{value} of {max}" },
1307
1336
  "theme-picker": {
@@ -1319,6 +1348,11 @@ var r = {
1319
1348
  stay: "Stay",
1320
1349
  leave: "Leave"
1321
1350
  },
1351
+ "stale-notice": {
1352
+ title: "This record changed",
1353
+ description: "Someone else saved this record before you. What you typed is kept. Reload the record to see their version.",
1354
+ reload: "Reload the record"
1355
+ },
1322
1356
  "load-more": {
1323
1357
  shown: "Showing {shown} of {total}",
1324
1358
  "shown-count": "{shown, plural, one {# shown} other {# shown}}",
@@ -2920,6 +2954,21 @@ var r = {
2920
2954
  "row-menu": {
2921
2955
  label: "Actions for {name}",
2922
2956
  column: "Actions"
2957
+ },
2958
+ "record-actions": {
2959
+ archive: "Archive",
2960
+ restore: "Restore",
2961
+ delete: "Delete permanently",
2962
+ archived: "{name} archived",
2963
+ restored: "{name} restored",
2964
+ undo: "Undo",
2965
+ failed: "The action failed.",
2966
+ "archive-title": "Archive {name}?",
2967
+ "archive-description": "{name} will be hidden. You can restore it later.",
2968
+ "archive-confirm": "Archive",
2969
+ "delete-title": "Delete {name} permanently?",
2970
+ "delete-description": "This cannot be undone.",
2971
+ "delete-confirm": "Delete permanently"
2923
2972
  }
2924
2973
  } },
2925
2974
  fr: { material: {
@@ -3039,7 +3088,12 @@ var r = {
3039
3088
  retry: "Réessayer",
3040
3089
  remove: "Supprimer",
3041
3090
  "replace-named": "Remplacer {name}",
3091
+ "remove-named": "Supprimer {name}",
3042
3092
  failed: "Échec de l'envoi",
3093
+ "error-status": "Échec de l'envoi (statut {status})",
3094
+ "error-status-code": "Échec de l'envoi (statut {status}, {code})",
3095
+ "error-network": "Erreur réseau pendant l'envoi",
3096
+ "error-aborted": "Envoi annulé",
3043
3097
  "invalid-type": "Type de fichier non accepté",
3044
3098
  "too-large": "Le fichier dépasse la taille maximale de {size}",
3045
3099
  "max-files": "{count, plural, one {Maximum de # fichier atteint} other {Maximum de # fichiers atteint}}"
@@ -3156,6 +3210,25 @@ var r = {
3156
3210
  widget: {
3157
3211
  open: "Ouvrir la discussion",
3158
3212
  close: "Fermer la discussion"
3213
+ },
3214
+ proposal: {
3215
+ status: {
3216
+ pending: "En attente de votre réponse",
3217
+ running: "En cours",
3218
+ confirmed: "Confirmée",
3219
+ failed: "Échec",
3220
+ rejected: "Refusée",
3221
+ expired: "Expirée"
3222
+ },
3223
+ confirm: "Confirmer",
3224
+ reject: "Refuser",
3225
+ "respond-by": "Répondre avant le",
3226
+ "expired-at": "Expirée le"
3227
+ },
3228
+ tool: {
3229
+ running: "En cours",
3230
+ ok: "Terminé",
3231
+ failed: "Échec"
3159
3232
  }
3160
3233
  },
3161
3234
  gallery: {
@@ -4200,6 +4273,10 @@ var r = {
4200
4273
  "decrease-named": "Diminuer {label}",
4201
4274
  "increase-named": "Augmenter {label}"
4202
4275
  },
4276
+ "quantity-field": {
4277
+ unit: "Unité",
4278
+ "unit-named": "Unité de {label}"
4279
+ },
4203
4280
  "textarea-field": { count: "{count}/{max}" },
4204
4281
  skeleton: { loading: "Chargement" },
4205
4282
  chip: {
@@ -4219,7 +4296,8 @@ var r = {
4219
4296
  country: "Indicatif pays",
4220
4297
  placeholder: "6 12 34 56 78",
4221
4298
  search: "Rechercher un pays",
4222
- empty: "Aucun pays trouvé"
4299
+ empty: "Aucun pays trouvé",
4300
+ incomplete: "Numéro incomplet"
4223
4301
  },
4224
4302
  "rating-field": { star: "{value} sur {max}" },
4225
4303
  "theme-picker": {
@@ -4237,6 +4315,11 @@ var r = {
4237
4315
  stay: "Rester",
4238
4316
  leave: "Quitter"
4239
4317
  },
4318
+ "stale-notice": {
4319
+ title: "Cet enregistrement a changé",
4320
+ description: "Quelqu’un d’autre a enregistré cet enregistrement avant vous. Ce que vous avez saisi est conservé. Rechargez l’enregistrement pour voir sa version.",
4321
+ reload: "Recharger l’enregistrement"
4322
+ },
4240
4323
  "load-more": {
4241
4324
  shown: "Affichage de {shown} sur {total}",
4242
4325
  "shown-count": "{shown, plural, one {# affiché} other {# affichés}}",
@@ -5838,6 +5921,21 @@ var r = {
5838
5921
  "row-menu": {
5839
5922
  label: "Actions pour {name}",
5840
5923
  column: "Actions"
5924
+ },
5925
+ "record-actions": {
5926
+ archive: "Archiver",
5927
+ restore: "Restaurer",
5928
+ delete: "Supprimer définitivement",
5929
+ archived: "{name} archivé",
5930
+ restored: "{name} restauré",
5931
+ undo: "Annuler",
5932
+ failed: "L’action a échoué.",
5933
+ "archive-title": "Archiver {name} ?",
5934
+ "archive-description": "{name} sera masqué. Vous pourrez le restaurer plus tard.",
5935
+ "archive-confirm": "Archiver",
5936
+ "delete-title": "Supprimer {name} définitivement ?",
5937
+ "delete-description": "Cette action est irréversible.",
5938
+ "delete-confirm": "Supprimer définitivement"
5841
5939
  }
5842
5940
  } }
5843
5941
  }, i = "language", a = "en", o = Object.keys(r);
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./dist-DVRQkaTK.js";
3
- import { n } from "./spinner-DCgDw8eq.js";
3
+ import { n } from "./spinner-BFZxqdWC.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/primitives/typography/typography.variants.ts
6
6
  var i = [