@nxgt/material 3.70.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 (125) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/README.md +8 -5
  3. package/dist/{alert-dialog-CBkWG32g.js → alert-dialog-y2pbowVh.js} +1 -1
  4. package/dist/{async-slice-CNZ3N55P.js → async-slice-CGfWBOaV.js} +1 -1
  5. package/dist/{button-D3qzqDY_.js → button-D54Hrjo0.js} +1 -1
  6. package/dist/charts.js +3 -3
  7. package/dist/{chip-CMTe4sQd.js → chip-B5MhXBfm.js} +2 -2
  8. package/dist/{code-editor-Cs7mz1J-.js → code-editor-mULs4SL8.js} +5 -5
  9. package/dist/code-editor.js +5 -5
  10. package/dist/{code-language-items-D_QMgjVy.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-BbWcozcj.js → components-B_taYVcd.js} +19417 -18629
  14. package/dist/components.js +28 -28
  15. package/dist/{dialog-B3BSdRci.js → dialog-AjCYZ2Vz.js} +4 -4
  16. package/dist/dnd.js +1 -1
  17. package/dist/{dropdown-menu-BaupOWgS.js → dropdown-menu-LN60hu_3.js} +1 -1
  18. package/dist/editor.js +35 -35
  19. package/dist/{empty-state-B2Um5UpI.js → empty-state-Bo8G8W8G.js} +2 -2
  20. package/dist/{field-blur-1XLyxRPr.js → field-blur-Cnd6FfCH.js} +1 -1
  21. package/dist/{field-blur-context-XNvCDnMT.js → field-blur-context-bUFZj8iN.js} +1 -1
  22. package/dist/{hooks-BU21Jpaa.js → hooks-Dt4PkQiZ.js} +2 -2
  23. package/dist/hooks.js +3 -3
  24. package/dist/{hover-card-Bvm3svX9.js → hover-card-QtGnvsnc.js} +1 -1
  25. package/dist/i18n.js +3 -3
  26. package/dist/{icon-badge-wip9bfa2.js → icon-badge-DLbpCQIm.js} +3 -3
  27. package/dist/{icon-button-QwIeBTdw.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/index.d.ts +1 -0
  32. package/dist/lib/components/ui/collections/record-actions-menu/index.d.ts +2 -0
  33. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-dialogs.d.ts +15 -0
  34. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-menu.d.ts +72 -0
  35. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-rules.d.ts +68 -0
  36. package/dist/lib/components/ui/collections/record-actions-menu/record-actions-words.d.ts +52 -0
  37. package/dist/lib/components/ui/collections/record-actions-menu/use-record-actions.d.ts +51 -0
  38. package/dist/lib/components/ui/collections/record-actions-menu/use-record-flight.d.ts +16 -0
  39. package/dist/lib/components/ui/collections/row-menu/row-menu-column.d.ts +4 -0
  40. package/dist/lib/components/ui/collections/row-menu/row-menu.d.ts +1 -1
  41. package/dist/lib/components/ui/collections/server-table/partials/server-table-band-classes.d.ts +7 -5
  42. package/dist/lib/components/ui/collections/server-table/partials/server-table-column-sorting.d.ts +7 -0
  43. package/dist/lib/components/ui/collections/server-table/types.d.ts +3 -1
  44. package/dist/lib/components/ui/display/markdown/markdown.d.ts +12 -1
  45. package/dist/lib/components/ui/display/markdown/markdown.utils.d.ts +2 -0
  46. package/dist/lib/components/ui/display/markdown/mermaid-csp-scope.d.ts +8 -0
  47. package/dist/lib/components/ui/display/markdown/mermaid-markup.d.ts +20 -0
  48. package/dist/lib/components/ui/display/markdown/partials/markdown-code.d.ts +5 -1
  49. package/dist/lib/components/ui/feedback/confirm-dialog/action-refusal.d.ts +24 -0
  50. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-alert.d.ts +17 -0
  51. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-description.d.ts +10 -0
  52. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-dialog.d.ts +24 -2
  53. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-refusal.d.ts +7 -0
  54. package/dist/lib/components/ui/feedback/confirm-dialog/index.d.ts +1 -0
  55. package/dist/lib/components/ui/feedback/confirm-dialog/use-confirm-action.d.ts +6 -0
  56. package/dist/lib/components/ui/feedback/index.d.ts +1 -0
  57. package/dist/lib/components/ui/feedback/stale-notice/index.d.ts +1 -0
  58. package/dist/lib/components/ui/feedback/stale-notice/stale-notice.d.ts +15 -0
  59. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  60. package/dist/lib/components/ui/forms/index.d.ts +1 -0
  61. package/dist/lib/components/ui/forms/use-server-field-errors.d.ts +21 -0
  62. package/dist/lib/components/ui/layout/index.d.ts +1 -0
  63. package/dist/lib/components/ui/layout/record-page/index.d.ts +2 -0
  64. package/dist/lib/components/ui/layout/record-page/record-details.d.ts +40 -0
  65. package/dist/lib/components/ui/layout/record-page/record-page.d.ts +27 -0
  66. package/dist/lib/components/ui/widgets/chat/chat-conversation-item.d.ts +8 -2
  67. package/dist/lib/components/ui/widgets/chat/chat-markdown.d.ts +4 -0
  68. package/dist/lib/components/ui/widgets/chat/chat-message-list.d.ts +8 -1
  69. package/dist/lib/components/ui/widgets/chat/index.d.ts +2 -0
  70. package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-text.d.ts +2 -1
  71. package/dist/lib/components/ui/widgets/chat/partials/chat-empty-thread.d.ts +2 -0
  72. package/dist/lib/components/ui/widgets/chat/proposal/chat-action-proposal-parts.d.ts +24 -0
  73. package/dist/lib/components/ui/widgets/chat/proposal/chat-action-proposal.d.ts +39 -0
  74. package/dist/lib/components/ui/widgets/chat/proposal/chat-action-proposal.rules.d.ts +17 -0
  75. package/dist/lib/components/ui/widgets/chat/proposal/chat-tool-activity.d.ts +16 -0
  76. package/dist/lib/i18n/resources/en/en.d.ts +40 -0
  77. package/dist/lib/i18n/resources/en/material.json.d.ts +40 -0
  78. package/dist/lib/i18n/resources/fr/fr.d.ts +40 -0
  79. package/dist/lib/i18n/resources/fr/material.json.d.ts +40 -0
  80. package/dist/lib/i18n/resources/resources.d.ts +80 -0
  81. package/dist/lib/i18n/translator.d.ts +1 -1
  82. package/dist/lib/print/output/to-pdf-element.d.ts +6 -0
  83. package/dist/lib.js +1 -1
  84. package/dist/main.js +42 -42
  85. package/dist/map.js +8 -8
  86. package/dist/material.css +1 -1
  87. package/dist/pdf-reader.js +1 -1
  88. package/dist/print.js +135 -131
  89. package/dist/{public-BuGgOtAl.js → public-BSaSCwy7.js} +9 -9
  90. package/dist/{rich-code-block-DdHqzzek.js → rich-code-block-BFVj1GWz.js} +5 -5
  91. package/dist/{sortable-provider-DMyaSfZZ.js → sortable-provider-REwyjiOZ.js} +2 -2
  92. package/dist/{spinner-ByYdcukU.js → spinner-BFZxqdWC.js} +1 -1
  93. package/dist/theme-picker.js +2 -2
  94. package/dist/{theme-toggle-DB3aZZnO.js → theme-toggle-BHi6miz-.js} +1 -1
  95. package/dist/{toolbar-items-DbzIKjo7.js → toolbar-items-BTtoKVlx.js} +3 -3
  96. package/dist/{translate-material-Dh7MYkHT.js → translate-material-R-uLthBy.js} +1 -1
  97. package/dist/{translator-Byhohi1S.js → translator-ClbXOGQO.js} +80 -0
  98. package/dist/{typography-rUf0mE5a.js → typography-v-PJ4Zco.js} +1 -1
  99. package/dist/{use-chat-composer-uUUTRB3Z.js → use-chat-composer-Rhan4Xv0.js} +107 -107
  100. package/dist/{use-heading-spy-CVzW2NM3.js → use-heading-spy-CJnBkCY0.js} +179 -87
  101. package/dist/{use-material-translation-BAYyZOcH.js → use-material-translation-CCWUeiEn.js} +1 -1
  102. package/dist/{use-return-focus-CQAuk9kh.js → use-return-focus-Duk40DZI.js} +1 -1
  103. package/docs/components/buttons-and-actions.md +24 -0
  104. package/docs/components/data-display.md +33 -0
  105. package/docs/components/data-table-filter-and-lists.md +117 -5
  106. package/docs/components/feedback-and-status.md +58 -2
  107. package/docs/components/navigation-and-layout.md +58 -0
  108. package/docs/components/rich-widgets.md +35 -2
  109. package/docs/guides/cards-and-tiles.md +4 -2
  110. package/docs/guides/csp.md +44 -6
  111. package/docs/guides/forms.md +51 -4
  112. package/docs/guides/i18n.md +6 -5
  113. package/docs/guides/printing.md +17 -7
  114. package/docs/previews/data-table-filter-lists-recordactionsmenu.webp +0 -0
  115. package/docs/previews/feedback-status-stalenotice.webp +0 -0
  116. package/docs/previews/media-files-networkuploadfield.webp +0 -0
  117. package/docs/previews/media-files-s3uploadfield.webp +0 -0
  118. package/docs/previews/media-files-uploadfield.webp +0 -0
  119. package/docs/previews/navigation-layout-recordpage.webp +0 -0
  120. package/docs/previews/rich-widgets-chat-action-proposal.webp +0 -0
  121. package/docs/roadmap.md +11 -1
  122. package/docs/troubleshooting.md +47 -7
  123. package/lib/components/ui/collections/server-table/server-table-phone-row.css +6 -0
  124. package/lib/components/ui/display/code/code-moonlight.css +37 -0
  125. package/package.json +2 -2
@@ -121,6 +121,7 @@ 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",
125
126
  "error-status": "Upload failed with status {status}",
126
127
  "error-status-code": "Upload failed with status {status} ({code})",
@@ -242,6 +243,25 @@ var r = {
242
243
  widget: {
243
244
  open: "Open chat",
244
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"
245
265
  }
246
266
  },
247
267
  gallery: {
@@ -1328,6 +1348,11 @@ var r = {
1328
1348
  stay: "Stay",
1329
1349
  leave: "Leave"
1330
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
+ },
1331
1356
  "load-more": {
1332
1357
  shown: "Showing {shown} of {total}",
1333
1358
  "shown-count": "{shown, plural, one {# shown} other {# shown}}",
@@ -2929,6 +2954,21 @@ var r = {
2929
2954
  "row-menu": {
2930
2955
  label: "Actions for {name}",
2931
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"
2932
2972
  }
2933
2973
  } },
2934
2974
  fr: { material: {
@@ -3048,6 +3088,7 @@ var r = {
3048
3088
  retry: "Réessayer",
3049
3089
  remove: "Supprimer",
3050
3090
  "replace-named": "Remplacer {name}",
3091
+ "remove-named": "Supprimer {name}",
3051
3092
  failed: "Échec de l'envoi",
3052
3093
  "error-status": "Échec de l'envoi (statut {status})",
3053
3094
  "error-status-code": "Échec de l'envoi (statut {status}, {code})",
@@ -3169,6 +3210,25 @@ var r = {
3169
3210
  widget: {
3170
3211
  open: "Ouvrir la discussion",
3171
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"
3172
3232
  }
3173
3233
  },
3174
3234
  gallery: {
@@ -4255,6 +4315,11 @@ var r = {
4255
4315
  stay: "Rester",
4256
4316
  leave: "Quitter"
4257
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
+ },
4258
4323
  "load-more": {
4259
4324
  shown: "Affichage de {shown} sur {total}",
4260
4325
  "shown-count": "{shown, plural, one {# affiché} other {# affichés}}",
@@ -5856,6 +5921,21 @@ var r = {
5856
5921
  "row-menu": {
5857
5922
  label: "Actions pour {name}",
5858
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"
5859
5939
  }
5860
5940
  } }
5861
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-ByYdcukU.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 = [
@@ -4,40 +4,40 @@ import { t as n } from "./utils-BLfntITJ.js";
4
4
  import { n as r } from "./use-shape-morph-BKA_R5P5.js";
5
5
  import { n as i, o as a, t as o } from "./dist-DVRQkaTK.js";
6
6
  import { a as s, c, i as l, l as u, n as d, o as f, r as p, s as m, t as h } from "./dist-lmHmz_bu.js";
7
- import { _ as g, a as _, b as v, c as y, g as b, h as x, i as S, n as C, o as w, r as T, s as E, t as D, v as O, x as k, y as A } from "./spinner-ByYdcukU.js";
7
+ import { _ as g, a as _, b as v, c as y, g as b, h as x, i as S, n as C, o as w, r as T, s as E, t as D, v as O, x as k, y as A } from "./spinner-BFZxqdWC.js";
8
8
  import { a as ee, i as j, n as M, r as N, t as te } from "./dist-C4wtXCjf.js";
9
9
  import { i as ne, n as P } from "./in-dialog-Vwkyp-M5.js";
10
- import { c as re, l as ie, n as F, r as ae, t as oe } from "./alert-dialog-CBkWG32g.js";
10
+ import { c as re, l as ie, n as F, r as ae, t as oe } from "./alert-dialog-y2pbowVh.js";
11
11
  import { A as se, C as I, D as ce, E as le, O as ue, S as de, T as fe, _ as pe, a as me, b as he, d as ge, f as _e, g as ve, h as ye, i as be, k as xe, l as Se, m as Ce, n as we, o as Te, p as Ee, r as De, s as Oe, t as ke, u as Ae, v as je, w as Me, x as Ne, y as Pe } from "./floating-ui.dom-KkZSW8_E.js";
12
- import { D as Fe, E as Ie, N as Le, O as Re, c as ze, d as Be, f as Ve, i as He, k as Ue, m as We, n as Ge, o as Ke, p as qe, t as Je, u as Ye } from "./dropdown-menu-BaupOWgS.js";
13
- import { a as Xe, i as Ze, n as Qe } from "./field-blur-context-XNvCDnMT.js";
14
- import { C as $e, S as et, a as tt, c as nt, d as rt, l as it, n as at, o as ot, s as st, u as ct } from "./toolbar-items-DbzIKjo7.js";
12
+ import { D as Fe, E as Ie, N as Le, O as Re, c as ze, d as Be, f as Ve, i as He, k as Ue, m as We, n as Ge, o as Ke, p as qe, t as Je, u as Ye } from "./dropdown-menu-LN60hu_3.js";
13
+ import { a as Xe, i as Ze, n as Qe } from "./field-blur-context-bUFZj8iN.js";
14
+ import { C as $e, S as et, a as tt, c as nt, d as rt, l as it, n as at, o as ot, s as st, u as ct } from "./toolbar-items-BTtoKVlx.js";
15
15
  import { a as lt, i as ut, n as dt, o as ft, t as pt } from "./bubble-input-B7BVd9fX.js";
16
16
  import { i as mt } from "./dist-B7RjY7SL.js";
17
17
  import { o as ht, s as gt, t as _t } from "./use-click-lock-BZYtTmVt.js";
18
18
  import { a as vt, r as yt } from "./icon-sprites-CaYXzOL4.js";
19
19
  import { t as bt } from "./warn-once-C_e47JM8.js";
20
- import { r as xt, t as St } from "./button-D3qzqDY_.js";
21
- import { a as Ct } from "./translator-Byhohi1S.js";
20
+ import { r as xt, t as St } from "./button-D54Hrjo0.js";
21
+ import { a as Ct } from "./translator-ClbXOGQO.js";
22
22
  import { h as wt } from "./get-CTzJAwfc.js";
23
23
  import { t as Tt } from "./isEmpty-F_g3jLf8.js";
24
- import { t as L } from "./use-material-translation-BAYyZOcH.js";
25
- import { t as R } from "./icon-button-QwIeBTdw.js";
24
+ import { t as L } from "./use-material-translation-CCWUeiEn.js";
25
+ import { t as R } from "./icon-button-C59DqL7L.js";
26
26
  import { t as Et } from "./use-ssr-media-query-C6M5m8sf.js";
27
- import { n as Dt, t as Ot } from "./typography-rUf0mE5a.js";
27
+ import { n as Dt, t as Ot } from "./typography-v-PJ4Zco.js";
28
28
  import { n as kt, t as At } from "./util-4heV2LPI.js";
29
29
  import { t as jt } from "./useEvent-2fKq-6w8.js";
30
- import { p as Mt } from "./field-blur-1XLyxRPr.js";
30
+ import { p as Mt } from "./field-blur-Cnd6FfCH.js";
31
31
  import { c as Nt, i as Pt, l as Ft, o as It, r as Lt, s as Rt, t as zt } from "./dist-C3GR7kJd.js";
32
32
  import { a as Bt } from "./toggle-group-DXXlqid2.js";
33
33
  import { n as Vt } from "./use-slice-reducer-BGkeGtML.js";
34
34
  import { t as Ht } from "./browser-only-DQ94lWF8.js";
35
35
  import { t as Ut } from "./compose-refs-G4J4kaUA.js";
36
- import { n as Wt, r as Gt, t as Kt } from "./chip-CMTe4sQd.js";
37
- import { _ as qt, f as Jt, g as Yt, l as Xt, m as Zt, n as Qt, o as $t, r as en, s as tn, t as nn, u as rn, v as an, y as on } from "./dialog-B3BSdRci.js";
38
- import { n as sn, t as cn } from "./icon-badge-wip9bfa2.js";
36
+ import { n as Wt, r as Gt, t as Kt } from "./chip-B5MhXBfm.js";
37
+ import { _ as qt, f as Jt, g as Yt, l as Xt, m as Zt, n as Qt, o as $t, r as en, s as tn, t as nn, u as rn, v as an, y as on } from "./dialog-AjCYZ2Vz.js";
38
+ import { n as sn, t as cn } from "./icon-badge-DLbpCQIm.js";
39
39
  import { r as ln } from "./use-csp-nonce-ZKs9k-ov.js";
40
- import { t as un } from "./empty-state-B2Um5UpI.js";
40
+ import { t as un } from "./empty-state-Bo8G8W8G.js";
41
41
  import { t as dn } from "./skeleton-DSdtr2qc.js";
42
42
  import { H as fn, V as pn, X as mn, bt as hn, it as gn, lt as _n, n as vn, t as yn, xt as bn, yt as xn } from "./dist-moutbfbd.js";
43
43
  import { t as Sn } from "./markdown-Dw_uH7j7.js";
@@ -11308,7 +11308,7 @@ var ES = (e = {}) => Cn({
11308
11308
  let [{ default: t }, { lowlight: n }, { richCodeBlock: r }] = await Promise.all([
11309
11309
  import("./dist-CRMFGjng.js"),
11310
11310
  import("./lowlight-OtcjU2Sa.js"),
11311
- import("./rich-code-block-DdHqzzek.js")
11311
+ import("./rich-code-block-BFVj1GWz.js")
11312
11312
  ]);
11313
11313
  return [r(t, {
11314
11314
  lowlight: n,
@@ -23783,8 +23783,81 @@ function dR({ className: e, variant: t = "docked", layout: r, dividers: i = !0,
23783
23783
  });
23784
23784
  }
23785
23785
  //#endregion
23786
+ //#region lib/components/ui/feedback/loading-indicator/loading-indicator-frames.ts
23787
+ var fR = [
23788
+ "soft-burst",
23789
+ "cookie-9",
23790
+ "pentagon",
23791
+ "pill",
23792
+ "sunny",
23793
+ "cookie-4",
23794
+ "oval"
23795
+ ], pR = 40, mR = 2, hR = "0.65 0 0.25 1", gR;
23796
+ function _R() {
23797
+ if (gR) return gR;
23798
+ let e = fR.map((e) => kr(e, "circle")), t = Or(e, pR), n = t.length - 1, r = 360 * mR / n;
23799
+ return gR = {
23800
+ values: t.map((e) => Ar(e, { precision: 1 })).join(";"),
23801
+ turns: t.map((e, t) => `${Dr(t * r)} 50 50`).join(";"),
23802
+ keyTimes: t.map((e, t) => Dr(t / n, 4)).join(";"),
23803
+ keySplines: Array.from({ length: n }, () => hR).join(";"),
23804
+ still: Ar(e[0] ?? [])
23805
+ }, gR;
23806
+ }
23807
+ //#endregion
23808
+ //#region lib/components/ui/feedback/loading-indicator/loading-indicator.tsx
23809
+ var vR = {
23810
+ primary: ["text-primary dark:text-primary-text", "bg-primary/12 dark:bg-primary/40"],
23811
+ secondary: ["text-secondary", "bg-secondary/14 dark:bg-secondary/24"],
23812
+ tertiary: ["text-tertiary", "bg-tertiary/14 dark:bg-tertiary/22"],
23813
+ neutral: ["text-muted-foreground", "bg-muted"]
23814
+ };
23815
+ function yR({ tone: e = "primary", contained: t = !1, label: r, duration: i = 4.9, className: a, ...o }) {
23816
+ let { t: s } = L(), c = _R(), [l, u] = vR[e], d = `${i}s`;
23817
+ return /* @__PURE__ */ G("span", {
23818
+ "data-slot": "loading-indicator",
23819
+ role: "progressbar",
23820
+ "aria-label": r ?? s("material.spinner.loading", "Loading..."),
23821
+ className: n("nxgt-loading-indicator inline-grid size-12 shrink-0 place-items-center", l, t && `rounded-(--nxgt-shape-corner-full) ${u}`, a),
23822
+ ...o,
23823
+ children: /* @__PURE__ */ K("svg", {
23824
+ viewBox: "0 0 100 100",
23825
+ "aria-hidden": "true",
23826
+ focusable: "false",
23827
+ className: n("fill-current", t ? "size-[66%]" : "size-[80%]"),
23828
+ children: [/* @__PURE__ */ K("g", {
23829
+ className: "nxgt-loading-indicator-morph",
23830
+ children: [/* @__PURE__ */ G("path", {
23831
+ d: c.still,
23832
+ children: /* @__PURE__ */ G("animate", {
23833
+ attributeName: "d",
23834
+ dur: d,
23835
+ repeatCount: "indefinite",
23836
+ calcMode: "spline",
23837
+ values: c.values,
23838
+ keyTimes: c.keyTimes,
23839
+ keySplines: c.keySplines
23840
+ })
23841
+ }), /* @__PURE__ */ G("animateTransform", {
23842
+ attributeName: "transform",
23843
+ type: "rotate",
23844
+ dur: d,
23845
+ repeatCount: "indefinite",
23846
+ calcMode: "spline",
23847
+ values: c.turns,
23848
+ keyTimes: c.keyTimes,
23849
+ keySplines: c.keySplines
23850
+ })]
23851
+ }), /* @__PURE__ */ G("g", {
23852
+ className: "nxgt-loading-indicator-still animate-spin",
23853
+ children: /* @__PURE__ */ G("path", { d: c.still })
23854
+ })]
23855
+ })
23856
+ });
23857
+ }
23858
+ //#endregion
23786
23859
  //#region lib/components/ui/display/status-indicator/status-indicator.tsx
23787
- var fR = {
23860
+ var bR = {
23788
23861
  neutral: "bg-muted-foreground",
23789
23862
  primary: "bg-primary-indicator",
23790
23863
  success: "bg-success",
@@ -23792,7 +23865,7 @@ var fR = {
23792
23865
  warning: "bg-warning",
23793
23866
  error: "bg-error"
23794
23867
  };
23795
- function pR({ tone: e = "neutral", pulse: t = !1, className: r, children: i, ...a }) {
23868
+ function xR({ tone: e = "neutral", pulse: t = !1, className: r, children: i, ...a }) {
23796
23869
  return /* @__PURE__ */ K("span", {
23797
23870
  "data-slot": "status-indicator",
23798
23871
  "data-tone": e,
@@ -23800,13 +23873,13 @@ function pR({ tone: e = "neutral", pulse: t = !1, className: r, children: i, ...
23800
23873
  ...a,
23801
23874
  children: [/* @__PURE__ */ G("span", {
23802
23875
  "aria-hidden": !0,
23803
- className: n("size-2 shrink-0 rounded-full", fR[e], t && "animate-pulse")
23876
+ className: n("size-2 shrink-0 rounded-full", bR[e], t && "animate-pulse")
23804
23877
  }), i]
23805
23878
  });
23806
23879
  }
23807
23880
  //#endregion
23808
23881
  //#region lib/components/ui/display/avatar/avatar.tsx
23809
- function mR({ src: e, alt: r, fallback: i, status: a, statusPulse: o = !1, shape: s, tone: c, className: l, ...u }) {
23882
+ function SR({ src: e, alt: r, fallback: i, status: a, statusPulse: o = !1, shape: s, tone: c, className: l, ...u }) {
23810
23883
  let { t: d } = L(), f = s ? /* @__PURE__ */ G(xs, {
23811
23884
  "data-slot": "avatar",
23812
23885
  shape: s,
@@ -23820,14 +23893,14 @@ function mR({ src: e, alt: r, fallback: i, status: a, statusPulse: o = !1, shape
23820
23893
  "data-slot": "avatar-fallback",
23821
23894
  children: i
23822
23895
  }) : null
23823
- }) : /* @__PURE__ */ K(hR, {
23896
+ }) : /* @__PURE__ */ K(CR, {
23824
23897
  tone: c,
23825
23898
  className: l,
23826
23899
  ...u,
23827
- children: [e && /* @__PURE__ */ G(gR, {
23900
+ children: [e && /* @__PURE__ */ G(wR, {
23828
23901
  src: e,
23829
23902
  alt: r
23830
- }), t(i) && /* @__PURE__ */ G(_R, {
23903
+ }), t(i) && /* @__PURE__ */ G(TR, {
23831
23904
  tone: c,
23832
23905
  children: i
23833
23906
  })]
@@ -23838,11 +23911,11 @@ function mR({ src: e, alt: r, fallback: i, status: a, statusPulse: o = !1, shape
23838
23911
  children: [f, /* @__PURE__ */ G("span", {
23839
23912
  role: "img",
23840
23913
  "aria-label": a === "success" ? d("material.avatar.online", "Online") : a === "neutral" ? d("material.avatar.offline", "Offline") : a === "warning" ? d("material.avatar.away", "Away") : a === "error" ? d("material.avatar.busy", "Busy") : d("material.avatar.active", "Active"),
23841
- className: n("absolute right-0 bottom-0 size-2.5 rounded-full ring-2 ring-background", fR[a], o && "animate-pulse")
23914
+ className: n("absolute right-0 bottom-0 size-2.5 rounded-full ring-2 ring-background", bR[a], o && "animate-pulse")
23842
23915
  })]
23843
23916
  }) : f;
23844
23917
  }
23845
- function hR({ tone: e, className: t, ...r }) {
23918
+ function CR({ tone: e, className: t, ...r }) {
23846
23919
  return /* @__PURE__ */ G(jc, {
23847
23920
  "data-slot": "avatar",
23848
23921
  "data-tone": e ?? "neutral",
@@ -23850,14 +23923,14 @@ function hR({ tone: e, className: t, ...r }) {
23850
23923
  ...r
23851
23924
  });
23852
23925
  }
23853
- function gR({ className: e, ...t }) {
23926
+ function wR({ className: e, ...t }) {
23854
23927
  return /* @__PURE__ */ G(Nc, {
23855
23928
  "data-slot": "avatar-image",
23856
23929
  className: n("aspect-square size-full", e),
23857
23930
  ...t
23858
23931
  });
23859
23932
  }
23860
- function _R({ tone: e, className: t, ...r }) {
23933
+ function TR({ tone: e, className: t, ...r }) {
23861
23934
  return /* @__PURE__ */ G(Fc, {
23862
23935
  "data-slot": "avatar-fallback",
23863
23936
  "data-tone": e,
@@ -23867,7 +23940,7 @@ function _R({ tone: e, className: t, ...r }) {
23867
23940
  }
23868
23941
  //#endregion
23869
23942
  //#region lib/components/ui/display/avatar-group/avatar-group.utils.ts
23870
- function vR(e, t) {
23943
+ function ER(e, t) {
23871
23944
  let n = Math.max(0, e);
23872
23945
  return t == null || t < 1 || n <= t ? {
23873
23946
  visible: n,
@@ -23879,18 +23952,18 @@ function vR(e, t) {
23879
23952
  }
23880
23953
  //#endregion
23881
23954
  //#region lib/components/ui/display/avatar-group/avatar-group.tsx
23882
- var yR = {
23955
+ var DR = {
23883
23956
  sm: "-space-x-0.5 [&_[data-slot=avatar]]:size-6 [&_[data-slot=avatar-fallback]]:text-[0.625rem]",
23884
23957
  md: "-space-x-1 [&_[data-slot=avatar]]:size-8 [&_[data-slot=avatar-fallback]]:text-xs",
23885
23958
  lg: "-space-x-1.5 [&_[data-slot=avatar]]:size-10 [&_[data-slot=avatar-fallback]]:text-sm"
23886
23959
  };
23887
- function bR({ children: e, max: t, size: r = "md", className: i, ...a }) {
23888
- let { t: o } = L(), s = Mr.toArray(e).filter(Boolean), { visible: c, extra: l } = vR(s.length, t), u = l > 0 ? s.slice(0, c) : s, d = o("material.avatar-group.more", "+{count} more", { count: l });
23960
+ function OR({ children: e, max: t, size: r = "md", className: i, ...a }) {
23961
+ let { t: o } = L(), s = Mr.toArray(e).filter(Boolean), { visible: c, extra: l } = ER(s.length, t), u = l > 0 ? s.slice(0, c) : s, d = o("material.avatar-group.more", "+{count} more", { count: l });
23889
23962
  return /* @__PURE__ */ K("div", {
23890
23963
  "data-slot": "avatar-group",
23891
- className: n("flex items-center", yR[r], "[&_[data-slot=avatar]]:ring-2 [&_[data-slot=avatar]]:ring-background", "[&_[data-slot=avatar-fallback]]:font-medium [&_[data-slot=avatar-fallback]]:leading-none [&_[data-slot=avatar-fallback]]:tracking-tight", i),
23964
+ className: n("flex items-center", DR[r], "[&_[data-slot=avatar]]:ring-2 [&_[data-slot=avatar]]:ring-background", "[&_[data-slot=avatar-fallback]]:font-medium [&_[data-slot=avatar-fallback]]:leading-none [&_[data-slot=avatar-fallback]]:tracking-tight", i),
23892
23965
  ...a,
23893
- children: [u, l > 0 && /* @__PURE__ */ G(mR, {
23966
+ children: [u, l > 0 && /* @__PURE__ */ G(SR, {
23894
23967
  fallback: `+${l}`,
23895
23968
  "aria-label": d,
23896
23969
  title: d
@@ -23898,79 +23971,6 @@ function bR({ children: e, max: t, size: r = "md", className: i, ...a }) {
23898
23971
  });
23899
23972
  }
23900
23973
  //#endregion
23901
- //#region lib/components/ui/feedback/loading-indicator/loading-indicator-frames.ts
23902
- var xR = [
23903
- "soft-burst",
23904
- "cookie-9",
23905
- "pentagon",
23906
- "pill",
23907
- "sunny",
23908
- "cookie-4",
23909
- "oval"
23910
- ], SR = 40, CR = 2, wR = "0.65 0 0.25 1", TR;
23911
- function ER() {
23912
- if (TR) return TR;
23913
- let e = xR.map((e) => kr(e, "circle")), t = Or(e, SR), n = t.length - 1, r = 360 * CR / n;
23914
- return TR = {
23915
- values: t.map((e) => Ar(e, { precision: 1 })).join(";"),
23916
- turns: t.map((e, t) => `${Dr(t * r)} 50 50`).join(";"),
23917
- keyTimes: t.map((e, t) => Dr(t / n, 4)).join(";"),
23918
- keySplines: Array.from({ length: n }, () => wR).join(";"),
23919
- still: Ar(e[0] ?? [])
23920
- }, TR;
23921
- }
23922
- //#endregion
23923
- //#region lib/components/ui/feedback/loading-indicator/loading-indicator.tsx
23924
- var DR = {
23925
- primary: ["text-primary dark:text-primary-text", "bg-primary/12 dark:bg-primary/40"],
23926
- secondary: ["text-secondary", "bg-secondary/14 dark:bg-secondary/24"],
23927
- tertiary: ["text-tertiary", "bg-tertiary/14 dark:bg-tertiary/22"],
23928
- neutral: ["text-muted-foreground", "bg-muted"]
23929
- };
23930
- function OR({ tone: e = "primary", contained: t = !1, label: r, duration: i = 4.9, className: a, ...o }) {
23931
- let { t: s } = L(), c = ER(), [l, u] = DR[e], d = `${i}s`;
23932
- return /* @__PURE__ */ G("span", {
23933
- "data-slot": "loading-indicator",
23934
- role: "progressbar",
23935
- "aria-label": r ?? s("material.spinner.loading", "Loading..."),
23936
- className: n("nxgt-loading-indicator inline-grid size-12 shrink-0 place-items-center", l, t && `rounded-(--nxgt-shape-corner-full) ${u}`, a),
23937
- ...o,
23938
- children: /* @__PURE__ */ K("svg", {
23939
- viewBox: "0 0 100 100",
23940
- "aria-hidden": "true",
23941
- focusable: "false",
23942
- className: n("fill-current", t ? "size-[66%]" : "size-[80%]"),
23943
- children: [/* @__PURE__ */ K("g", {
23944
- className: "nxgt-loading-indicator-morph",
23945
- children: [/* @__PURE__ */ G("path", {
23946
- d: c.still,
23947
- children: /* @__PURE__ */ G("animate", {
23948
- attributeName: "d",
23949
- dur: d,
23950
- repeatCount: "indefinite",
23951
- calcMode: "spline",
23952
- values: c.values,
23953
- keyTimes: c.keyTimes,
23954
- keySplines: c.keySplines
23955
- })
23956
- }), /* @__PURE__ */ G("animateTransform", {
23957
- attributeName: "transform",
23958
- type: "rotate",
23959
- dur: d,
23960
- repeatCount: "indefinite",
23961
- calcMode: "spline",
23962
- values: c.turns,
23963
- keyTimes: c.keyTimes,
23964
- keySplines: c.keySplines
23965
- })]
23966
- }), /* @__PURE__ */ G("g", {
23967
- className: "nxgt-loading-indicator-still animate-spin",
23968
- children: /* @__PURE__ */ G("path", { d: c.still })
23969
- })]
23970
- })
23971
- });
23972
- }
23973
- //#endregion
23974
23974
  //#region lib/components/ui/primitives/toggle/toggle.tsx
23975
23975
  var kR = C([
23976
23976
  "inline-flex center gap-2 rounded text-sm font-medium hover:bg-primary/10 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-all aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error whitespace-nowrap",
@@ -24261,4 +24261,4 @@ function BR({ value: e, onSend: t, placeholder: n, disabled: r, isLoading: i, se
24261
24261
  };
24262
24262
  }
24263
24263
  //#endregion
24264
- export { SF as $, eu as $i, yb as $n, V_ as $r, UE as $t, QI as A, ag as Ai, RC as An, fv as Ar, jA as At, gI as B, mf as Bi, Ex as Bn, X_ as Br, PO as Bt, nR as C, jg as Ci, ow as Cn, Nv as Cr, sj as Ct, mL as D, xg as Di, XC as Dn, bv as Dr, HA as Dt, JL as E, wg as Ei, ZC as En, yv as Er, JA as Et, DI as F, Ah as Fi, Yx as Fn, uv as Fr, FO as Ft, fI as G, q as Gi, zb as Gn, nv as Gr, VD as Gt, hI as H, Od as Hi, ox as Hn, $_ as Hr, DO as Ht, CI as I, _h as Ii, Jx as In, av as Ir, LO as It, PF as J, mu as Ji, Mb as Jn, J_ as Jr, bD as Jt, dI as K, yu as Ki, Vb as Kn, Y_ as Kr, BD as Kt, wI as L, X as Li, Bx as Ln, dv as Lr, IO as Lt, UI as M, Zh as Mi, ES as Mn, sv as Mr, _A as Mt, MI as N, Z as Ni, wS as Nn, ov as Nr, aA as Nt, uL as O, yg as Oi, WC as On, _v as Or, RA as Ot, EI as P, Mh as Pi, yS as Pn, cv as Pr, Gk as Pt, TF as Q, su as Qi, gb as Qn, z_ as Qr, $ as Qt, xI as R, ap as Ri, Lx as Rn, iv as Rr, MO as Rt, dR as S, Ng as Si, sw as Sn, Mv as Sr, uj as St, YL as T, Og as Ti, rw as Tn, xv as Tr, rj as Tt, pI as U, hd as Ui, qb as Un, tv as Ur, TO as Ut, mI as V, rf as Vi, _x as Vn, Q_ as Vr, jO as Vt, uI as W, J as Wi, Hb as Wn, ev as Wr, WD as Wt, AF as X, lu as Xi, xb as Xn, W_ as Xr, vD as Xt, jF as Y, uu as Yi, Cb as Yn, H_ as Yr, yD as Yt, EF as Z, cu as Zi, bb as Zn, B_ as Zr, _D as Zt, hR as _, i_ as _i, Tw as _n, Wv as _r, Cj as _t, IR as a, Bs as aa, D_ as ai, IE as an, nb as ar, KM as at, fR as b, Rg as bi, uw as bn, Iv as br, hj as bt, NR as c, Ls as ca, x_ as ci, zw as cn, wy as cr, PM as ct, AR as d, hs as da, v_ as di, Pw as dn, Zv as dr, xM as dt, $l as ea, L_ as ei, HE as en, _b as er, mF as et, kR as f, __ as fi, jw as fn, Yv as fr, vM as ft, mR as g, o_ as gi, Dw as gn, Hv as gr, Vj as gt, vR as h, l_ as hi, Ow as hn, Kv as hr, rM as ht, RR as i, zl as ia, O_ as ii, LE as in, ib as ir, pN as it, YI as j, eg as ji, LC as jn, lv as jr, bA as jt, sL as k, mg as ki, HC as kn, vv as kr, PA as kt, MR as l, xs as la, b_ as li, Rw as ln, xy as lr, NM as lt, bR as m, u_ as mi, kw as mn, Jv as mr, sM as mt, BR as n, Vl as na, k_ as ni, BE as nn, mb as nr, nF as nt, FR as o, Ps as oa, w_ as oi, Xw as on, Dy as or, IM as ot, OR as p, p_ as pi, Aw as pn, ty as pr, pM as pt, FF as q, gu as qi, Bb as qn, G_ as qr, LD as qt, LR as r, Bl as ra, A_ as ri, RE as rn, pb as rr, mN as rt, PR as s, Ms as sa, S_ as si, Ww as sn, My as sr, FM as st, zR as t, Ql as ta, F_ as ti, VE as tn, vb as tr, sF as tt, jR as u, ms as ua, y_ as ui, Lw as un, Xv as ur, SM as ut, _R as v, Wg as vi, hw as vn, Bv as vr, xj as vt, ZL as w, Ag as wi, ew as wn, jv as wr, ij as wt, pR as x, Lg as xi, lw as xn, Rv as xr, mj as xt, gR as y, Vg as yi, gw as yn, Vv as yr, gj as yt, yI as z, op as zi, kx as zn, rv as zr, NO as zt };
24264
+ export { SF as $, eu as $i, yb as $n, V_ as $r, UE as $t, QI as A, ag as Ai, RC as An, fv as Ar, jA as At, gI as B, mf as Bi, Ex as Bn, X_ as Br, PO as Bt, nR as C, jg as Ci, ow as Cn, Nv as Cr, sj as Ct, mL as D, xg as Di, XC as Dn, bv as Dr, HA as Dt, JL as E, wg as Ei, ZC as En, yv as Er, JA as Et, DI as F, Ah as Fi, Yx as Fn, uv as Fr, FO as Ft, fI as G, q as Gi, zb as Gn, nv as Gr, VD as Gt, hI as H, Od as Hi, ox as Hn, $_ as Hr, DO as Ht, CI as I, _h as Ii, Jx as In, av as Ir, LO as It, PF as J, mu as Ji, Mb as Jn, J_ as Jr, bD as Jt, dI as K, yu as Ki, Vb as Kn, Y_ as Kr, BD as Kt, wI as L, X as Li, Bx as Ln, dv as Lr, IO as Lt, UI as M, Zh as Mi, ES as Mn, sv as Mr, _A as Mt, MI as N, Z as Ni, wS as Nn, ov as Nr, aA as Nt, uL as O, yg as Oi, WC as On, _v as Or, RA as Ot, EI as P, Mh as Pi, yS as Pn, cv as Pr, Gk as Pt, TF as Q, su as Qi, gb as Qn, z_ as Qr, $ as Qt, xI as R, ap as Ri, Lx as Rn, iv as Rr, MO as Rt, dR as S, Ng as Si, sw as Sn, Mv as Sr, uj as St, YL as T, Og as Ti, rw as Tn, xv as Tr, rj as Tt, pI as U, hd as Ui, qb as Un, tv as Ur, TO as Ut, mI as V, rf as Vi, _x as Vn, Q_ as Vr, jO as Vt, uI as W, J as Wi, Hb as Wn, ev as Wr, WD as Wt, AF as X, lu as Xi, xb as Xn, W_ as Xr, vD as Xt, jF as Y, uu as Yi, Cb as Yn, H_ as Yr, yD as Yt, EF as Z, cu as Zi, bb as Zn, B_ as Zr, _D as Zt, TR as _, i_ as _i, Tw as _n, Wv as _r, Cj as _t, IR as a, Bs as aa, D_ as ai, IE as an, nb as ar, KM as at, xR as b, Rg as bi, uw as bn, Iv as br, hj as bt, NR as c, Ls as ca, x_ as ci, zw as cn, wy as cr, PM as ct, AR as d, hs as da, v_ as di, Pw as dn, Zv as dr, xM as dt, $l as ea, L_ as ei, HE as en, _b as er, mF as et, kR as f, __ as fi, jw as fn, Yv as fr, vM as ft, CR as g, o_ as gi, Dw as gn, Hv as gr, Vj as gt, SR as h, l_ as hi, Ow as hn, Kv as hr, rM as ht, RR as i, zl as ia, O_ as ii, LE as in, ib as ir, pN as it, YI as j, eg as ji, LC as jn, lv as jr, bA as jt, sL as k, mg as ki, HC as kn, vv as kr, PA as kt, MR as l, xs as la, b_ as li, Rw as ln, xy as lr, NM as lt, ER as m, u_ as mi, kw as mn, Jv as mr, sM as mt, BR as n, Vl as na, k_ as ni, BE as nn, mb as nr, nF as nt, FR as o, Ps as oa, w_ as oi, Xw as on, Dy as or, IM as ot, OR as p, p_ as pi, Aw as pn, ty as pr, pM as pt, FF as q, gu as qi, Bb as qn, G_ as qr, LD as qt, LR as r, Bl as ra, A_ as ri, RE as rn, pb as rr, mN as rt, PR as s, Ms as sa, S_ as si, Ww as sn, My as sr, FM as st, zR as t, Ql as ta, F_ as ti, VE as tn, vb as tr, sF as tt, jR as u, ms as ua, y_ as ui, Lw as un, Xv as ur, SM as ut, wR as v, Wg as vi, hw as vn, Bv as vr, xj as vt, ZL as w, Ag as wi, ew as wn, jv as wr, ij as wt, yR as x, Lg as xi, lw as xn, Rv as xr, mj as xt, bR as y, Vg as yi, gw as yn, Vv as yr, gj as yt, yI as z, op as zi, kx as zn, rv as zr, NO as zt };