@nxgt/material 3.88.0 → 3.90.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 (141) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +8 -5
  3. package/dist/{alert-dialog-CEGs7LMN.js → alert-dialog-BFk4ye-3.js} +1 -1
  4. package/dist/{async-slice-CR0M95Jq.js → async-slice-gGyfyUw2.js} +1 -1
  5. package/dist/{button-h9hXBEQB.js → button-C5OEq9bi.js} +3 -3
  6. package/dist/{calculator-Dn_KL0b0.js → calculator-Dg_L6d3R.js} +16 -16
  7. package/dist/calculator-field.js +6 -6
  8. package/dist/{calculator-segment-DMFptsDf.js → calculator-segment-CvAaDqKf.js} +1 -1
  9. package/dist/calculator.js +1 -1
  10. package/dist/charts.js +3 -3
  11. package/dist/{chip-C-RAjar5.js → chip-DOxFA4BI.js} +2 -2
  12. package/dist/{code-editor-DApeIOZ3.js → code-editor-tiAjhXW-.js} +4 -4
  13. package/dist/code-editor.js +4 -4
  14. package/dist/{code-language-items-CGtYfc1l.js → code-language-items-CcdzQvLT.js} +2 -2
  15. package/dist/components/ui/dates/duration-field/duration-field-expressive.css +1 -1
  16. package/dist/components/ui/dates/picker-trigger/typed-box-expressive.css +5 -24
  17. package/dist/{components-BIATLurA.js → components-HQy9UW9D.js} +19905 -19582
  18. package/dist/components.js +38 -37
  19. package/dist/{conversion-variant-Cf0sEmnS.js → conversion-variant-4gCdFWV-.js} +3 -3
  20. package/dist/currency-field-CIqe7Wg4.js +289 -0
  21. package/dist/{dialog-Bul68q8u.js → dialog-d6Kdf5wc.js} +3 -3
  22. package/dist/dnd.js +1 -1
  23. package/dist/{dropdown-menu-xUUE5X6T.js → dropdown-menu-DO5kUvof.js} +1 -1
  24. package/dist/editor.js +139 -139
  25. package/dist/{empty-state-CCRfjt0n.js → empty-state-DQnICuun.js} +8 -7
  26. package/dist/{financial-variant-CYgRZzKT.js → financial-variant-D80C1hVD.js} +14 -14
  27. package/dist/{hooks-Dzc6xz5t.js → hooks-C-yLDF39.js} +2 -2
  28. package/dist/hooks.js +2 -2
  29. package/dist/{hover-card-CZLFQwZv.js → hover-card-DU3TAME4.js} +1 -1
  30. package/dist/i18n.js +3 -3
  31. package/dist/{icon-badge-0Xo9q7Ey.js → icon-badge-BGczZ4Hc.js} +1 -1
  32. package/dist/{icon-button-DE1EcO2-.js → icon-button-D0xjBCst.js} +1 -1
  33. package/dist/input-group-CSlXMFxu.js +70 -0
  34. package/dist/lib/components/ui/actions/back-link/back-link.d.ts +10 -2
  35. package/dist/lib/components/ui/collections/data-grid/grid-cell-tone.d.ts +12 -0
  36. package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-access.d.ts +4 -3
  37. package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-flags.d.ts +12 -0
  38. package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-value.d.ts +4 -1
  39. package/dist/lib/components/ui/collections/data-table/partials/data-table-cell-content.d.ts +11 -0
  40. package/dist/lib/components/ui/collections/data-table/table-meta.d.ts +50 -2
  41. package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +1 -0
  42. package/dist/lib/components/ui/collections/list-pane/list-pane-item.d.ts +3 -1
  43. package/dist/lib/components/ui/collections/list-pane/partials/list-pane-item-content.d.ts +2 -1
  44. package/dist/lib/components/ui/collections/server-table/server-table-classes.d.ts +5 -2
  45. package/dist/lib/components/ui/dates/age-field/age-field.d.ts +8 -0
  46. package/dist/lib/components/ui/dates/age-field/age-form-field.d.ts +8 -0
  47. package/dist/lib/components/ui/dates/age-field/age-reading.d.ts +11 -0
  48. package/dist/lib/components/ui/dates/age-field/age-value.d.ts +9 -0
  49. package/dist/lib/components/ui/dates/age-field/index.d.ts +4 -0
  50. package/dist/lib/components/ui/dates/age-field/types.d.ts +40 -0
  51. package/dist/lib/components/ui/dates/index.d.ts +1 -0
  52. package/dist/lib/components/ui/dates/picker-trigger/typed-box.d.ts +1 -1
  53. package/dist/lib/components/ui/display/badge/badge.d.ts +4 -1
  54. package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +8 -1
  55. package/dist/lib/components/ui/display/index.d.ts +2 -0
  56. package/dist/lib/components/ui/display/list-tile/list-tile.d.ts +2 -1
  57. package/dist/lib/components/ui/display/list-tile/partials/list-tile-line.d.ts +1 -1
  58. package/dist/lib/components/ui/display/list-tile/partials/list-tile-row.d.ts +3 -1
  59. package/dist/lib/components/ui/display/person-cell/index.d.ts +1 -0
  60. package/dist/lib/components/ui/display/person-cell/person-cell.d.ts +23 -0
  61. package/dist/lib/components/ui/display/tone-value/index.d.ts +2 -0
  62. package/dist/lib/components/ui/display/tone-value/tone-value.d.ts +23 -0
  63. package/dist/lib/components/ui/feedback/error-state/partials/error-state-actions.d.ts +6 -1
  64. package/dist/lib/components/ui/feedback/page-load-failed/page-load-failed.d.ts +8 -1
  65. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  66. package/dist/lib/components/ui/fields/number-field/number-control.d.ts +2 -2
  67. package/dist/lib/components/ui/fields/switch/partials/switch-row.d.ts +4 -2
  68. package/dist/lib/components/ui/fields/switch/switch.d.ts +7 -1
  69. package/dist/lib/components/ui/layout/app-shell/activity-content-aside-parts.d.ts +68 -0
  70. package/dist/lib/components/ui/layout/app-shell/activity-content-aside-toggle.d.ts +22 -0
  71. package/dist/lib/components/ui/layout/app-shell/activity-content-aside.d.ts +5 -2
  72. package/dist/lib/components/ui/layout/app-shell/activity-content-aside.types.d.ts +13 -0
  73. package/dist/lib/components/ui/layout/app-shell/activity-content.d.ts +3 -2
  74. package/dist/lib/components/ui/layout/app-shell/app-shell.utils.d.ts +3 -1
  75. package/dist/lib/components/ui/layout/app-shell/app-sidebar-entries.d.ts +5 -2
  76. package/dist/lib/components/ui/layout/app-shell/app-sidebar-icon-item.d.ts +2 -1
  77. package/dist/lib/components/ui/layout/app-shell/app-sidebar.d.ts +3 -1
  78. package/dist/lib/components/ui/layout/app-shell/types.d.ts +14 -5
  79. package/dist/lib/components/ui/primitives/tabs/partials/tabs-list.d.ts +8 -2
  80. package/dist/lib/components/ui/primitives/tabs/tabs-nav.d.ts +5 -1
  81. package/dist/lib/components/ui/primitives/tabs/tabs-overflow-classes.d.ts +3 -0
  82. package/dist/lib/components/ui/selection/sortable-list/index.d.ts +1 -1
  83. package/dist/lib/components/ui/selection/sortable-list/sortable-list-context.d.ts +3 -1
  84. package/dist/lib/components/ui/selection/sortable-list/sortable-list.d.ts +6 -2
  85. package/dist/lib/components/ui/selection/sortable-list/types.d.ts +1 -0
  86. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-labels.d.ts +3 -0
  87. package/dist/lib/i18n/resources/en/en.d.ts +11 -0
  88. package/dist/lib/i18n/resources/en/material.json.d.ts +12 -1
  89. package/dist/lib/i18n/resources/fr/fr.d.ts +11 -0
  90. package/dist/lib/i18n/resources/fr/material.json.d.ts +12 -1
  91. package/dist/lib/i18n/resources/resources.d.ts +22 -0
  92. package/dist/lib/i18n/translator.d.ts +1 -1
  93. package/dist/lib.js +1 -1
  94. package/dist/main.js +54 -53
  95. package/dist/map.js +7 -7
  96. package/dist/material.css +1 -1
  97. package/dist/pdf-reader.js +1 -1
  98. package/dist/{percent-field-BFwxazf1.js → percent-field-DyJ2yOH4.js} +1 -1
  99. package/dist/{picker-surface-DkfTv_ft.js → picker-surface-CnlOKQ3D.js} +4 -4
  100. package/dist/{popover-BM6xApJd.js → popover-BevReSHi.js} +1 -1
  101. package/dist/{pos-types-CpTpT4vE.js → pos-types-BrZBX0Zg.js} +1 -1
  102. package/dist/{pos-variant-Bs5BUB1L.js → pos-variant-G12HCSfQ.js} +4 -4
  103. package/dist/print.js +1 -1
  104. package/dist/{programmer-variant-B1eI1fd0.js → programmer-variant-WWLwTGRF.js} +2 -2
  105. package/dist/{public-CX7ik5Yg.js → public-C1a6wQ6o.js} +19 -19
  106. package/dist/{rich-code-block-CdVtxD75.js → rich-code-block-Dh9J-VZ8.js} +5 -5
  107. package/dist/{scientific-variant-rfvJKxB4.js → scientific-variant-BvutlF8a.js} +2 -2
  108. package/dist/{sortable-provider-BopzsciJ.js → sortable-provider-BrA5tfJX.js} +2 -2
  109. package/dist/{spinner-DcW21pN1.js → spinner-JnLLiLIO.js} +1 -1
  110. package/dist/{tabs-CdoBFtWx.js → tabs-dXCZGShv.js} +63 -61
  111. package/dist/theme-picker.js +2 -2
  112. package/dist/{theme-toggle-Ch3GkDDU.js → theme-toggle-BmcK6mXV.js} +1 -1
  113. package/dist/{toolbar-items-CZ1lJXZZ.js → toolbar-items-B-kMYsDT.js} +4 -4
  114. package/dist/{translate-material-BrYBBZ66.js → translate-material-BmpcP1p1.js} +1 -1
  115. package/dist/{translator-DoVsjUff.js → translator-CfoXTrZd.js} +24 -2
  116. package/dist/{use-chat-composer-BjKhuLfT.js → use-chat-composer-DFD_eF-r.js} +4197 -4246
  117. package/dist/{use-heading-spy-CGTTRV2N.js → use-heading-spy-BcNK1qvq.js} +4 -4
  118. package/dist/{use-material-translation-BdrItuwY.js → use-material-translation-DoymV6IP.js} +1 -1
  119. package/dist/{use-return-focus-Cqzvj9R0.js → use-return-focus-CLEnhfka.js} +1 -1
  120. package/docs/components/README.md +2 -1
  121. package/docs/components/buttons-and-actions.md +10 -1
  122. package/docs/components/data-display.md +80 -4
  123. package/docs/components/data-table-filter-and-lists.md +57 -4
  124. package/docs/components/date-and-time.md +53 -1
  125. package/docs/components/feedback-and-status.md +11 -2
  126. package/docs/components/form-fields.md +11 -2
  127. package/docs/components/navigation-and-layout.md +2 -2
  128. package/docs/components/primitives.md +7 -0
  129. package/docs/components/selection-and-choice.md +4 -2
  130. package/docs/guides/app-shell.md +46 -11
  131. package/docs/guides/data-grid.md +12 -0
  132. package/docs/guides/forms.md +1 -0
  133. package/docs/guides/i18n.md +1 -1
  134. package/docs/previews/data-display-personcell.webp +0 -0
  135. package/docs/previews/data-display-tonevalue.webp +0 -0
  136. package/docs/previews/date-time-agefield.webp +0 -0
  137. package/docs/roadmap.md +23 -0
  138. package/lib/components/ui/dates/duration-field/duration-field-expressive.css +1 -1
  139. package/lib/components/ui/dates/picker-trigger/typed-box-expressive.css +5 -24
  140. package/package.json +2 -2
  141. package/dist/currency-field-cwC7cqUE.js +0 -286
package/dist/editor.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./ui.utils-CAnKTCw5.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
- import { A as n, An as r, Bn as i, C as a, Cn as o, D as s, Dn as c, E as l, Fi as u, G as d, Gn as f, H as p, Hn as m, I as h, Ii as g, J as _, K as v, Kn as y, L as b, Li as x, Mn as S, O as ee, On as C, Q as w, S as te, Sn as T, T as E, U as ne, Un as re, V as ie, Vn as ae, W as oe, X as se, Y as ce, Z as le, a as ue, an as de, b as D, c as fe, d as pe, dn as me, fn as he, fr as ge, gn as _e, hn as ve, i as ye, j as be, jn as xe, k as Se, kn as Ce, l as we, on as Te, p as Ee, q as De, s as Oe, sn as ke, t as Ae, v as je, w as O, x as Me, xn as Ne, y as Pe, zn as k } from "./use-chat-composer-BjKhuLfT.js";
4
- import { c as Fe, l as Ie, n as Le, t as Re } from "./alert-dialog-CEGs7LMN.js";
5
- import { c as ze, i as Be, n as Ve, o as He, r as Ue, s as We, t as Ge, u as A } from "./dropdown-menu-xUUE5X6T.js";
6
- import { n as Ke, r as qe, t as Je } from "./popover-BM6xApJd.js";
7
- import { n as Ye, t as j } from "./button-h9hXBEQB.js";
8
- import { t as M } from "./use-material-translation-BdrItuwY.js";
9
- import { t as N } from "./icon-button-DE1EcO2-.js";
3
+ import { A as n, Ai as r, An as i, Bn as a, C as o, Cn as s, D as c, Dn as l, E as u, G as d, Gn as f, H as p, Hn as m, I as h, J as g, K as _, Kn as v, L as y, Mn as b, O as x, On as S, Q as ee, S as C, Sn as w, T as te, U as T, Un as E, V as D, Vn as ne, W as re, X as ie, Y as ae, Z as oe, a as se, an as ce, b as O, c as le, d as ue, dn as de, fn as fe, fr as pe, gn as me, hn as he, i as ge, j as _e, ji as ve, jn as ye, k as be, ki as xe, kn as Se, l as Ce, on as we, p as Te, q as Ee, s as De, sn as Oe, t as ke, v as Ae, w as je, x as Me, xn as Ne, y as Pe, zn as k } from "./use-chat-composer-DFD_eF-r.js";
4
+ import { c as Fe, l as Ie, n as Le, t as Re } from "./alert-dialog-BFk4ye-3.js";
5
+ import { c as ze, i as Be, n as Ve, o as He, r as Ue, s as We, t as Ge, u as A } from "./dropdown-menu-DO5kUvof.js";
6
+ import { n as Ke, r as qe, t as Je } from "./popover-BevReSHi.js";
7
+ import { n as Ye, t as j } from "./button-C5OEq9bi.js";
8
+ import { t as M } from "./use-material-translation-DoymV6IP.js";
9
+ import { t as N } from "./icon-button-D0xjBCst.js";
10
10
  import { a as Xe, s as P } from "./dist-C3GR7kJd.js";
11
11
  import { n as Ze, t as Qe } from "./toggle-group-CVMxEpWi.js";
12
12
  import { t as $e } from "./input-CC2joTjB.js";
@@ -683,7 +683,7 @@ function mr({ user: e }) {
683
683
  "aria-label": e.name,
684
684
  title: e.name,
685
685
  className: "flex",
686
- children: /* @__PURE__ */ J(Ee, { fallback: /* @__PURE__ */ J("span", {
686
+ children: /* @__PURE__ */ J(Te, { fallback: /* @__PURE__ */ J("span", {
687
687
  ref: (t) => {
688
688
  t?.style.setProperty("--nxgt-collab-color", e.color), t?.style.setProperty("--nxgt-collab-fg", Et(e.color));
689
689
  },
@@ -700,13 +700,13 @@ function hr({ status: e, max: n = 4, className: r }) {
700
700
  "data-slot": "editor-presence",
701
701
  "data-status": e,
702
702
  className: t("flex items-center gap-3", r),
703
- children: [s && o && /* @__PURE__ */ J(je, {
703
+ children: [s && o && /* @__PURE__ */ J(Ae, {
704
704
  tone: o,
705
705
  pulse: e === "connecting",
706
706
  role: "status",
707
707
  className: "text-muted-foreground text-xs",
708
708
  children: i(s, c)
709
- }), a.length > 0 && /* @__PURE__ */ J(pe, {
709
+ }), a.length > 0 && /* @__PURE__ */ J(ue, {
710
710
  size: "sm",
711
711
  max: n,
712
712
  role: "group",
@@ -735,7 +735,7 @@ function vr({ composer: e, body: t, onBody: n, onSubmit: r, onDismiss: i }) {
735
735
  className: "line-clamp-2 border-s-2 ps-2 text-muted-foreground text-xs italic",
736
736
  children: e.quote
737
737
  }),
738
- /* @__PURE__ */ J(S, {
738
+ /* @__PURE__ */ J(b, {
739
739
  className: gr,
740
740
  "aria-label": a("material.editor.comments.body-label", "Comment"),
741
741
  placeholder: a("material.editor.comments.placeholder", "Write a comment…"),
@@ -898,7 +898,7 @@ function jr({ id: e, children: t, ...n }) {
898
898
  //#region lib/components/ui/widgets/editor/extensions/comments/comments-status.tsx
899
899
  function Mr({ state: e, controller: t, count: n }) {
900
900
  let { t: r } = M();
901
- return n === 0 && !e.showResolved ? null : /* @__PURE__ */ J(ge, {
901
+ return n === 0 && !e.showResolved ? null : /* @__PURE__ */ J(pe, {
902
902
  label: r("material.editor.comments.show-resolved", "Show resolved"),
903
903
  checked: e.showResolved,
904
904
  onCheckedChange: t.setShowResolved
@@ -918,7 +918,7 @@ function Pr({ draft: e, onChange: t, onSave: n, onCancel: r }) {
918
918
  let { t: i } = M();
919
919
  return /* @__PURE__ */ Y("div", {
920
920
  className: "grid grid-cols-[minmax(0,1fr)] gap-2",
921
- children: [/* @__PURE__ */ J(S, {
921
+ children: [/* @__PURE__ */ J(b, {
922
922
  className: gr,
923
923
  "aria-label": i("material.editor.comments.body-label", "Comment"),
924
924
  value: e,
@@ -1012,7 +1012,7 @@ function Qr({ comment: e, pending: t, onEdit: n }) {
1012
1012
  return /* @__PURE__ */ Y("div", {
1013
1013
  className: "flex items-center gap-2",
1014
1014
  children: [
1015
- /* @__PURE__ */ J(Ee, {
1015
+ /* @__PURE__ */ J(Te, {
1016
1016
  src: dt(e.author.avatarUrl),
1017
1017
  alt: "",
1018
1018
  fallback: Zr(e.author.name),
@@ -1068,7 +1068,7 @@ function ei({ thread: e, controller: t, canRemove: n }) {
1068
1068
  let n = i;
1069
1069
  n.trim() && (a(""), await t.reply(e.id, n) || a(n));
1070
1070
  };
1071
- return /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ J(S, {
1071
+ return /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ J(b, {
1072
1072
  className: gr,
1073
1073
  "aria-label": r("material.editor.comments.reply-label", "Reply to this thread"),
1074
1074
  placeholder: r("material.editor.comments.reply-placeholder", "Reply…"),
@@ -2529,7 +2529,7 @@ function Fa(e) {
2529
2529
  //#region lib/components/ui/widgets/editor/extensions/upload/use-editor-uploads.ts
2530
2530
  var Ia = 0, La = 1e6;
2531
2531
  function Ra(e) {
2532
- let t = xe(e.editor)?.queue, n = jt(H((e) => t?.subscribe(e) ?? (() => {}), [t]), () => {
2532
+ let t = ye(e.editor)?.queue, n = jt(H((e) => t?.subscribe(e) ?? (() => {}), [t]), () => {
2533
2533
  if (!t) return Ia;
2534
2534
  let e = t.list(), n = e.filter((e) => e.status === "error").length;
2535
2535
  return (e.length - n) * La + n;
@@ -3448,7 +3448,7 @@ function Zo({ editor: e }) {
3448
3448
  let { t } = M(), n = P({
3449
3449
  editor: e,
3450
3450
  selector: (e) => e.editor.getAttributes("image").alt ?? ""
3451
- }), [r, i] = K(""), [a, o] = K(!1), { trigger: s, onCloseAutoFocus: c } = ce(), l = t("material.editor.upload.alt", "Alt text");
3451
+ }), [r, i] = K(""), [a, o] = K(!1), { trigger: s, onCloseAutoFocus: c } = ae(), l = t("material.editor.upload.alt", "Alt text");
3452
3452
  return /* @__PURE__ */ Y(Re, {
3453
3453
  open: a,
3454
3454
  onOpenChange: (e) => {
@@ -3853,7 +3853,7 @@ function Hs({ id: e, storage: n, maxSize: r }) {
3853
3853
  role: "alert",
3854
3854
  className: "text-xs text-error-text",
3855
3855
  children: Vs(i, o.failure, r)
3856
- }) : /* @__PURE__ */ J(y, {
3856
+ }) : /* @__PURE__ */ J(v, {
3857
3857
  value: o.progress === void 0 ? null : o.progress * 100,
3858
3858
  "aria-label": i("material.editor.upload.uploading", "Uploading {name}", { name: s }),
3859
3859
  className: "mt-1.5"
@@ -4127,18 +4127,18 @@ var $s = /* @__PURE__ */ new WeakMap(), ec = R.create({
4127
4127
  order: 61,
4128
4128
  priority: 30,
4129
4129
  kind: "panel",
4130
- when: (e) => !!xe(e)?.ownsImage,
4131
- render: _
4130
+ when: (e) => !!ye(e)?.ownsImage,
4131
+ render: g
4132
4132
  }],
4133
4133
  bubble: [{
4134
4134
  id: "image-alt",
4135
4135
  order: 35,
4136
4136
  priority: 60,
4137
4137
  kind: "panel",
4138
- when: (e) => !!xe(e) && e.isActive("image"),
4138
+ when: (e) => !!ye(e) && e.isActive("image"),
4139
4139
  render: Zo
4140
4140
  }],
4141
- slash: r("image"),
4141
+ slash: i("image"),
4142
4142
  markdown: "native"
4143
4143
  } : {
4144
4144
  name: "upload",
@@ -4146,91 +4146,91 @@ var $s = /* @__PURE__ */ new WeakMap(), ec = R.create({
4146
4146
  markdown: "native"
4147
4147
  });
4148
4148
  }, nc = {
4149
- accordion: c,
4150
- actionCard: o,
4149
+ accordion: l,
4150
+ actionCard: s,
4151
4151
  assistant: po,
4152
- blocks: T,
4152
+ blocks: w,
4153
4153
  callout: Ne,
4154
- checkboxGroup: _e,
4155
- codeBlock: ve,
4156
- color: he,
4154
+ checkboxGroup: me,
4155
+ codeBlock: he,
4156
+ color: fe,
4157
4157
  comments: No,
4158
- count: me,
4158
+ count: de,
4159
4159
  dragHandle: Fo,
4160
- emoji: Te,
4160
+ emoji: we,
4161
4161
  find: Vo,
4162
4162
  focusMode: Uo,
4163
- fontFamily: de,
4164
- gallery: w,
4165
- headings: le,
4166
- highlight: se,
4167
- image: De,
4163
+ fontFamily: ce,
4164
+ gallery: ee,
4165
+ headings: oe,
4166
+ highlight: ie,
4167
+ image: Ee,
4168
4168
  inlineCode: Go,
4169
- link: v,
4169
+ link: _,
4170
4170
  lists: d,
4171
4171
  markdownPaste: Jo,
4172
- marks: ie,
4173
- mention: b,
4172
+ marks: D,
4173
+ mention: y,
4174
4174
  outline: Xo,
4175
4175
  placeholder: h,
4176
- radioGroup: be,
4176
+ radioGroup: _e,
4177
4177
  selectCard: n,
4178
- selectChip: Se,
4179
- slash: ee,
4180
- table: s,
4181
- textAlign: l,
4178
+ selectChip: be,
4179
+ slash: x,
4180
+ table: c,
4181
+ textAlign: u,
4182
4182
  upload: tc,
4183
- youtube: E
4183
+ youtube: te
4184
4184
  }, rc = (...e) => (t) => [...t, ...e], ic = (...e) => (t) => t.filter((t) => !e.includes(t.key ?? t.name)), ac = () => [
4185
- o(),
4186
- Se(),
4185
+ s(),
4186
+ be(),
4187
4187
  n(),
4188
- _e(),
4189
- be()
4188
+ me(),
4189
+ _e()
4190
4190
  ], oc = () => [
4191
4191
  Ne(),
4192
- c(),
4193
- w(),
4192
+ l(),
4194
4193
  ee(),
4195
- he(),
4196
- de(),
4194
+ x(),
4195
+ fe(),
4196
+ ce(),
4197
+ D(),
4198
+ oe(),
4199
+ w(),
4200
+ _(),
4197
4201
  ie(),
4198
- le(),
4199
- T(),
4200
- v(),
4201
- se(),
4202
- l(),
4202
+ u(),
4203
4203
  h(),
4204
- me(),
4204
+ de(),
4205
4205
  Jo(),
4206
4206
  d(),
4207
- De(),
4207
+ Ee(),
4208
4208
  tc(),
4209
- E(),
4210
- Te({ suggest: !0 }),
4211
- s(),
4212
- ve(),
4209
+ te(),
4210
+ we({ suggest: !0 }),
4211
+ c(),
4212
+ he(),
4213
4213
  Vo(),
4214
4214
  Uo(),
4215
4215
  Fo(),
4216
4216
  No()
4217
4217
  ], sc = () => [
4218
- ie({ compact: !0 }),
4218
+ D({ compact: !0 }),
4219
4219
  Go(),
4220
- v(),
4220
+ _(),
4221
4221
  h(),
4222
- me(),
4222
+ de(),
4223
4223
  Jo(),
4224
4224
  d(),
4225
4225
  tc()
4226
4226
  ], cc = () => [
4227
- ie({ compact: !0 }),
4227
+ D({ compact: !0 }),
4228
4228
  Go(),
4229
- v(),
4229
+ _(),
4230
4230
  h(),
4231
- me(),
4232
- Te({ suggest: !0 }),
4233
- b()
4231
+ de(),
4232
+ we({ suggest: !0 }),
4233
+ y()
4234
4234
  ];
4235
4235
  //#endregion
4236
4236
  //#region lib/components/ui/widgets/editor/extensions/assistant/use-assistant-feature.ts
@@ -4443,7 +4443,7 @@ function Lc({ look: e }) {
4443
4443
  "data-slot": "compact-editor-toolbar",
4444
4444
  "data-look": e,
4445
4445
  className: Ic(e),
4446
- children: /* @__PURE__ */ J(D, {
4446
+ children: /* @__PURE__ */ J(O, {
4447
4447
  dividers: !1,
4448
4448
  density: "compact",
4449
4449
  className: Nc(e, wc)
@@ -4464,7 +4464,7 @@ function Rc({ actions: e }) {
4464
4464
  //#endregion
4465
4465
  //#region lib/components/ui/widgets/editor/presets/preset-features.ts
4466
4466
  var zc = (e) => (t) => {
4467
- let { features: n, mentions: r, outline: i, extra: a } = e, o = (typeof n == "function" ? n(t) : n) ?? (r ? [...t, b()] : t);
4467
+ let { features: n, mentions: r, outline: i, extra: a } = e, o = (typeof n == "function" ? n(t) : n) ?? (r ? [...t, y()] : t);
4468
4468
  return [...i && !o.some((e) => e.key === "outline") ? [...o, Xo()] : o, ...a.filter((e) => !!e)];
4469
4469
  }, Bc = [
4470
4470
  "min-h-[1lh]",
@@ -4518,15 +4518,15 @@ function Gc(e = 2, t = 8) {
4518
4518
  }
4519
4519
  //#endregion
4520
4520
  //#region lib/components/ui/widgets/editor/presets/compact-editor.tsx
4521
- function Kc({ features: e, minRows: n = 2, maxRows: r = 8, toolbar: o = !0, look: s = "expressive", actions: c, onUpload: l, uploadOptions: u, onUploadingChange: d, onAssist: f, assistOptions: p, label: m, helperText: h, error: g, required: _, className: v, attributes: y, ...b }) {
4522
- let { t: x } = M(), S = W(sc, []), ee = dc(l, u), C = lc(f, p), w = !!c || !!b.characterLimit;
4523
- return /* @__PURE__ */ Y(i, {
4521
+ function Kc({ features: e, minRows: n = 2, maxRows: r = 8, toolbar: i = !0, look: s = "expressive", actions: c, onUpload: l, uploadOptions: u, onUploadingChange: d, onAssist: f, assistOptions: p, label: m, helperText: h, error: g, required: _, className: v, attributes: y, ...b }) {
4522
+ let { t: x } = M(), S = W(sc, []), ee = dc(l, u), w = lc(f, p), te = !!c || !!b.characterLimit;
4523
+ return /* @__PURE__ */ Y(a, {
4524
4524
  ...b,
4525
4525
  look: s,
4526
4526
  features: zc({
4527
4527
  features: e,
4528
4528
  mentions: b.mentions,
4529
- extra: [ee, C]
4529
+ extra: [ee, w]
4530
4530
  }),
4531
4531
  defaults: S,
4532
4532
  attributes: {
@@ -4535,7 +4535,7 @@ function Kc({ features: e, minRows: n = 2, maxRows: r = 8, toolbar: o = !0, look
4535
4535
  ...y
4536
4536
  },
4537
4537
  children: [
4538
- /* @__PURE__ */ J(te, {
4538
+ /* @__PURE__ */ J(C, {
4539
4539
  label: m,
4540
4540
  helperText: h,
4541
4541
  error: g,
@@ -4547,14 +4547,14 @@ function Kc({ features: e, minRows: n = 2, maxRows: r = 8, toolbar: o = !0, look
4547
4547
  "data-look": s,
4548
4548
  className: t("overflow-clip border bg-card text-card-foreground transition-colors duration-(--nxgt-motion-effects-fast-duration) ease-effects-fast motion-reduce:transition-none", Fc(s, g)),
4549
4549
  children: [
4550
- o && /* @__PURE__ */ J(Lc, { look: s }),
4551
- /* @__PURE__ */ J(a, { className: "px-3 py-2.5" }),
4552
- w && /* @__PURE__ */ J(Rc, { actions: c })
4550
+ i && /* @__PURE__ */ J(Lc, { look: s }),
4551
+ /* @__PURE__ */ J(o, { className: "px-3 py-2.5" }),
4552
+ te && /* @__PURE__ */ J(Rc, { actions: c })
4553
4553
  ]
4554
4554
  })
4555
4555
  }),
4556
4556
  l && /* @__PURE__ */ J(uc, { onChange: d }),
4557
- /* @__PURE__ */ J(O, {}),
4557
+ /* @__PURE__ */ J(je, {}),
4558
4558
  /* @__PURE__ */ J(Me, {}),
4559
4559
  /* @__PURE__ */ J(sr, {})
4560
4560
  ]
@@ -4572,7 +4572,7 @@ function qc({ control: e, name: n, ...r }) {
4572
4572
  children: /* @__PURE__ */ J(Kc, {
4573
4573
  ...r,
4574
4574
  className: t(r.className, e.disabled && "nxgt-editor-disabled"),
4575
- value: e.value ?? re(r.format ?? "html"),
4575
+ value: e.value ?? E(r.format ?? "html"),
4576
4576
  onChange: (t) => e.onChange(t),
4577
4577
  editable: (r.editable ?? !0) && !e.disabled,
4578
4578
  error: n.invalid,
@@ -4760,14 +4760,14 @@ function cl({ children: e }) {
4760
4760
  });
4761
4761
  }
4762
4762
  function ll({ toolbar: e, bar: n, rail: r, railFab: i, previewComponents: a, panels: o, footer: s, outline: c, comments: l, presence: u, outlineSide: d = "start", className: p, children: m }) {
4763
- let { chrome: h, handle: g, look: _ } = f(), v = _ === "expressive", y = g.features.some((e) => e.key === "dragHandle"), b = h.state.focusMode, x = G(null), [S, ee] = K("write"), C = S === "write", w = mc(x, 64), te = mc(x, 72), T = C && !b, E = T && w && r, ne = !!(n && T && !E), re = c && T && te, ie = l && T && w;
4763
+ let { chrome: h, handle: g, look: _ } = f(), v = _ === "expressive", y = g.features.some((e) => e.key === "dragHandle"), b = h.state.focusMode, x = G(null), [S, ee] = K("write"), C = S === "write", w = mc(x, 64), te = mc(x, 72), T = C && !b, E = T && w && r, D = !!(n && T && !E), ne = c && T && te, re = l && T && w;
4764
4764
  return /* @__PURE__ */ Y("div", {
4765
4765
  ref: x,
4766
4766
  "data-slot": "document-editor",
4767
4767
  "data-look": _,
4768
4768
  "data-layout": "page",
4769
4769
  "data-mode": S,
4770
- className: t(tl(v, ne), p),
4770
+ className: t(tl(v, D), p),
4771
4771
  children: [
4772
4772
  /* @__PURE__ */ J(rl, {
4773
4773
  mode: S,
@@ -4778,7 +4778,7 @@ function ll({ toolbar: e, bar: n, rail: r, railFab: i, previewComponents: a, pan
4778
4778
  children: T && !E && e
4779
4779
  }),
4780
4780
  /* @__PURE__ */ J(ya, { className: "absolute end-3 top-3 z-20" }),
4781
- ne && n,
4781
+ D && n,
4782
4782
  /* @__PURE__ */ Y("div", {
4783
4783
  className: "flex items-start gap-4 px-2 pb-6 @2xl:gap-6 @2xl:px-6",
4784
4784
  children: [
@@ -4786,7 +4786,7 @@ function ll({ toolbar: e, bar: n, rail: r, railFab: i, previewComponents: a, pan
4786
4786
  fab: i,
4787
4787
  children: r
4788
4788
  }),
4789
- re && d === "start" && /* @__PURE__ */ J(sl, {
4789
+ ne && d === "start" && /* @__PURE__ */ J(sl, {
4790
4790
  side: "start",
4791
4791
  children: c
4792
4792
  }),
@@ -4800,15 +4800,15 @@ function ll({ toolbar: e, bar: n, rail: r, railFab: i, previewComponents: a, pan
4800
4800
  children: m
4801
4801
  })
4802
4802
  }),
4803
- re && d === "end" && /* @__PURE__ */ J(sl, {
4803
+ ne && d === "end" && /* @__PURE__ */ J(sl, {
4804
4804
  side: "end",
4805
4805
  children: c
4806
4806
  }),
4807
- ie && /* @__PURE__ */ J(cl, { children: l })
4807
+ re && /* @__PURE__ */ J(cl, { children: l })
4808
4808
  ]
4809
4809
  }),
4810
4810
  s && /* @__PURE__ */ J(al, {
4811
- floating: ne,
4811
+ floating: D,
4812
4812
  children: s
4813
4813
  })
4814
4814
  ]
@@ -4838,7 +4838,7 @@ var ul = {
4838
4838
  history: 50
4839
4839
  };
4840
4840
  function fl(e) {
4841
- return e.some((e) => e.name === "slash") ? C(e.flatMap((e) => e.slash ?? [])) : [];
4841
+ return e.some((e) => e.name === "slash") ? S(e.flatMap((e) => e.slash ?? [])) : [];
4842
4842
  }
4843
4843
  function pl(e, t) {
4844
4844
  let n = new Set(t.map((e) => e.id));
@@ -4850,12 +4850,12 @@ function pl(e, t) {
4850
4850
  function ml(e, t) {
4851
4851
  return pl(e, t).flatMap((e) => e.id === "marks" && e.render === p ? [{
4852
4852
  ...e,
4853
- render: oe
4853
+ render: re
4854
4854
  }, {
4855
4855
  ...e,
4856
4856
  id: "marks-extra",
4857
4857
  order: e.order + .5,
4858
- render: ne
4858
+ render: T
4859
4859
  }] : [e]).map((e) => ({
4860
4860
  ...e,
4861
4861
  priority: dl[e.id] ?? e.priority
@@ -4867,14 +4867,14 @@ function hl() {
4867
4867
  let { handle: e, chrome: t } = f();
4868
4868
  return !!P({
4869
4869
  editor: e.editor,
4870
- selector: (e) => !!(e.editor?.isEditable && ae.selectShowToolbar(t.state))
4870
+ selector: (e) => !!(e.editor?.isEditable && ne.selectShowToolbar(t.state))
4871
4871
  });
4872
4872
  }
4873
4873
  //#endregion
4874
4874
  //#region lib/components/ui/widgets/editor/partials/editor-insert-fab.tsx
4875
4875
  function gl() {
4876
- let { t: e } = M(), { handle: t } = f(), { editor: n, features: r } = t, i = G(!1), a = W(() => Ce(fl(r), "", e), [r, e]), o = hl();
4877
- return !n || !o || a.length === 0 ? null : /* @__PURE__ */ J(x, {
4876
+ let { t: e } = M(), { handle: t } = f(), { editor: n, features: r } = t, i = G(!1), a = W(() => Se(fl(r), "", e), [r, e]), o = hl();
4877
+ return !n || !o || a.length === 0 ? null : /* @__PURE__ */ J(ve, {
4878
4878
  "data-slot": "editor-insert-fab",
4879
4879
  label: e("material.editor.insert", "Insert"),
4880
4880
  items: a.map((e) => ({
@@ -4905,7 +4905,7 @@ function _l({ className: e }) {
4905
4905
  return hl() ? /* @__PURE__ */ J("div", {
4906
4906
  "data-slot": "editor-floating-bar",
4907
4907
  className: "nxgt-editor-bar",
4908
- children: /* @__PURE__ */ Y(u, { children: [/* @__PURE__ */ J(D, {
4908
+ children: /* @__PURE__ */ Y(xe, { children: [/* @__PURE__ */ J(O, {
4909
4909
  variant: "floating",
4910
4910
  dividers: !1,
4911
4911
  className: e,
@@ -4917,7 +4917,7 @@ function _l({ className: e }) {
4917
4917
  //#region lib/components/ui/widgets/editor/partials/editor-rail-toolbar.tsx
4918
4918
  function vl({ floating: e, className: t }) {
4919
4919
  let { handle: n } = f(), r = W(() => e ? fl(n.features) : [], [e, n.features]), i = H((e) => pl(e, r), [r]);
4920
- return /* @__PURE__ */ J(D, {
4920
+ return /* @__PURE__ */ J(O, {
4921
4921
  orientation: "vertical",
4922
4922
  variant: e ? "floating" : void 0,
4923
4923
  className: t,
@@ -4929,7 +4929,7 @@ function vl({ floating: e, className: t }) {
4929
4929
  function yl({ look: e, layout: t, previewComponents: n, outline: r, comments: i, collaboration: a, collaborationStatus: o, footer: s, status: c, actions: l }) {
4930
4930
  let u = t === "page", d = Pc(e), f = e === "expressive";
4931
4931
  return {
4932
- toolbar: f ? void 0 : /* @__PURE__ */ J(D, {
4932
+ toolbar: f ? void 0 : /* @__PURE__ */ J(O, {
4933
4933
  dividers: !1,
4934
4934
  className: u ? d.docked : Nc(e, wc)
4935
4935
  }),
@@ -4956,7 +4956,7 @@ function yl({ look: e, layout: t, previewComponents: n, outline: r, comments: i,
4956
4956
  function bl(e) {
4957
4957
  return /* @__PURE__ */ J(e.layout === "page" ? ll : Ec, {
4958
4958
  ...yl(e),
4959
- children: /* @__PURE__ */ J(Wi, { children: /* @__PURE__ */ J(a, {}) })
4959
+ children: /* @__PURE__ */ J(Wi, { children: /* @__PURE__ */ J(o, {}) })
4960
4960
  });
4961
4961
  }
4962
4962
  //#endregion
@@ -4970,7 +4970,7 @@ function xl({ adapter: e }) {
4970
4970
  function Sl({ onUpload: e, onUploadingChange: t, withComments: n, commentsAdapter: r }) {
4971
4971
  return /* @__PURE__ */ Y(q, { children: [
4972
4972
  e && /* @__PURE__ */ J(uc, { onChange: t }),
4973
- /* @__PURE__ */ J(O, {}),
4973
+ /* @__PURE__ */ J(je, {}),
4974
4974
  /* @__PURE__ */ J(Me, {}),
4975
4975
  /* @__PURE__ */ J(sr, {}),
4976
4976
  /* @__PURE__ */ J(yi, {}),
@@ -5025,10 +5025,10 @@ function wl({ features: e, mentions: t, outline: n, onUpload: r, uploadOptions:
5025
5025
  }
5026
5026
  //#endregion
5027
5027
  //#region lib/components/ui/widgets/editor/presets/document-editor.tsx
5028
- function Tl({ features: e, layout: n = "docked", look: r = "expressive", previewComponents: a, status: o, actions: s, footer: c = !0, outline: l = !1, onUpload: u, uploadOptions: d, onUploadingChange: f, onAssist: p, assistOptions: m, comments: h, collaboration: g, collaborationStatus: _, label: v, helperText: y, error: b, required: x, className: S, attributes: ee, ...C }) {
5029
- let { defaults: w, commentsFeature: T, editorFeatures: E } = wl({
5028
+ function Tl({ features: e, layout: n = "docked", look: r = "expressive", previewComponents: i, status: o, actions: s, footer: c = !0, outline: l = !1, onUpload: u, uploadOptions: d, onUploadingChange: f, onAssist: p, assistOptions: m, comments: h, collaboration: g, collaborationStatus: _, label: v, helperText: y, error: b, required: x, className: S, attributes: ee, ...w }) {
5029
+ let { defaults: te, commentsFeature: T, editorFeatures: E } = wl({
5030
5030
  features: e,
5031
- mentions: C.mentions,
5031
+ mentions: w.mentions,
5032
5032
  outline: l,
5033
5033
  onUpload: u,
5034
5034
  uploadOptions: d,
@@ -5037,16 +5037,16 @@ function Tl({ features: e, layout: n = "docked", look: r = "expressive", preview
5037
5037
  comments: h,
5038
5038
  collaboration: g
5039
5039
  });
5040
- return /* @__PURE__ */ Y(i, {
5041
- ...C,
5040
+ return /* @__PURE__ */ Y(a, {
5041
+ ...w,
5042
5042
  look: r,
5043
5043
  features: E,
5044
- defaults: w,
5044
+ defaults: te,
5045
5045
  attributes: {
5046
5046
  class: t("nxgt-prose min-h-64 focus:outline-none"),
5047
5047
  ...ee
5048
5048
  },
5049
- children: [/* @__PURE__ */ J(te, {
5049
+ children: [/* @__PURE__ */ J(C, {
5050
5050
  label: v,
5051
5051
  helperText: y,
5052
5052
  error: b,
@@ -5055,7 +5055,7 @@ function Tl({ features: e, layout: n = "docked", look: r = "expressive", preview
5055
5055
  children: /* @__PURE__ */ J(bl, {
5056
5056
  layout: n,
5057
5057
  look: r,
5058
- previewComponents: a,
5058
+ previewComponents: i,
5059
5059
  outline: l,
5060
5060
  comments: !!T,
5061
5061
  collaboration: !!g,
@@ -5084,7 +5084,7 @@ function El({ control: e, name: n, ...r }) {
5084
5084
  children: /* @__PURE__ */ J(Tl, {
5085
5085
  ...r,
5086
5086
  className: t(r.className, e.disabled && "nxgt-editor-disabled"),
5087
- value: e.value ?? re(r.format ?? "html"),
5087
+ value: e.value ?? E(r.format ?? "html"),
5088
5088
  onChange: (t) => e.onChange(t),
5089
5089
  editable: (r.editable ?? !0) && !e.disabled,
5090
5090
  error: n.invalid,
@@ -5109,12 +5109,12 @@ function Ol({ error: e, replyTo: t, onCancelReply: n, attachments: r, isDisabled
5109
5109
  }),
5110
5110
  t && /* @__PURE__ */ J("div", {
5111
5111
  className: "w-full",
5112
- children: /* @__PURE__ */ J(ue, {
5112
+ children: /* @__PURE__ */ J(se, {
5113
5113
  replyTo: t,
5114
5114
  onCancel: n
5115
5115
  })
5116
5116
  }),
5117
- /* @__PURE__ */ J(fe, {
5117
+ /* @__PURE__ */ J(le, {
5118
5118
  attachments: r,
5119
5119
  isDisabled: i,
5120
5120
  onAttachmentsChange: a,
@@ -5129,7 +5129,7 @@ function kl({ id: e, look: t }) {
5129
5129
  id: e,
5130
5130
  "data-slot": "rich-chat-composer-toolbar",
5131
5131
  className: "w-full px-1",
5132
- children: /* @__PURE__ */ J(D, {
5132
+ children: /* @__PURE__ */ J(O, {
5133
5133
  dividers: !1,
5134
5134
  density: "compact",
5135
5135
  className: Nc(t, wc)
@@ -5138,22 +5138,22 @@ function kl({ id: e, look: t }) {
5138
5138
  }
5139
5139
  //#endregion
5140
5140
  //#region lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/send-control.tsx
5141
- function Al({ sendLabel: e, stopLabel: t, disabled: n, empty: r, onStop: i, onSchedule: a, squircle: o }) {
5142
- let { t: s } = M();
5143
- return !a || i ? /* @__PURE__ */ J(Oe, {
5141
+ function Al({ sendLabel: e, stopLabel: t, disabled: n, empty: i, onStop: a, onSchedule: o, squircle: s }) {
5142
+ let { t: c } = M();
5143
+ return !o || a ? /* @__PURE__ */ J(De, {
5144
5144
  sendLabel: e,
5145
5145
  stopLabel: t,
5146
5146
  isDisabled: n,
5147
- isEmpty: r,
5148
- onStop: i,
5149
- shape: o ? "squircle" : "round"
5150
- }) : /* @__PURE__ */ J(g, {
5147
+ isEmpty: i,
5148
+ onStop: a,
5149
+ shape: s ? "squircle" : "round"
5150
+ }) : /* @__PURE__ */ J(r, {
5151
5151
  type: "submit",
5152
- disabled: n || r,
5153
- menuLabel: s("material.editor.send-options", "Send options"),
5152
+ disabled: n || i,
5153
+ menuLabel: c("material.editor.send-options", "Send options"),
5154
5154
  menu: /* @__PURE__ */ J(A, {
5155
- onSelect: a,
5156
- children: s("material.editor.schedule", "Schedule…")
5155
+ onSelect: o,
5156
+ children: c("material.editor.schedule", "Schedule…")
5157
5157
  }),
5158
5158
  children: e
5159
5159
  });
@@ -5161,7 +5161,7 @@ function Al({ sendLabel: e, stopLabel: t, disabled: n, empty: r, onStop: i, onSc
5161
5161
  //#endregion
5162
5162
  //#region lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/send-on-enter.tsx
5163
5163
  function jl(e, t) {
5164
- return e.nativeEvent.keyCode !== 229 && Ae(e, t);
5164
+ return e.nativeEvent.keyCode !== 229 && ke(e, t);
5165
5165
  }
5166
5166
  function Ml({ onSend: e, sendOnEnter: t, disabled: n, onFocus: r, className: i, children: a }) {
5167
5167
  let { handle: o } = f();
@@ -5207,9 +5207,9 @@ function Pl({ pill: e, formatOpen: n, toolbarId: r, onFormatToggle: i, mentionab
5207
5207
  return /* @__PURE__ */ Y("div", {
5208
5208
  "data-slot": "rich-chat-composer-tools",
5209
5209
  className: t("flex min-w-0 items-end gap-1", e ? "order-1" : "flex-1"),
5210
- children: [/* @__PURE__ */ J(we, {
5210
+ children: [/* @__PURE__ */ J(Ce, {
5211
5211
  ...o,
5212
- actions: /* @__PURE__ */ Y(q, { children: [l?.storage.emoji && /* @__PURE__ */ J(ke, { editor: l }), !e && /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ J(Nl, {
5212
+ actions: /* @__PURE__ */ Y(q, { children: [l?.storage.emoji && /* @__PURE__ */ J(Oe, { editor: l }), !e && /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ J(Nl, {
5213
5213
  formatOpen: n,
5214
5214
  toolbarId: r,
5215
5215
  onFormatToggle: i,
@@ -5320,7 +5320,7 @@ function Bl({ handle: e, attachments: t, blocked: n, clear: r, onSend: i, onSche
5320
5320
  function Vl({ handle: e, onSend: t, onSchedule: n, onError: r, disabled: i = !1, isLoading: a = !1, accept: o, maxFiles: s, attachments: c, onAttachmentsChange: l }) {
5321
5321
  let [u, d] = K([]), f = c ?? u, p = (e) => {
5322
5322
  c === void 0 && d(e), l?.(e);
5323
- }, m = G(null), h = ye({
5323
+ }, m = G(null), h = ge({
5324
5324
  attachments: f,
5325
5325
  accept: o,
5326
5326
  maxFiles: s,
@@ -5387,7 +5387,7 @@ function Hl(e) {
5387
5387
  //#endregion
5388
5388
  //#region lib/components/ui/widgets/editor/presets/rich-chat-composer/rich-chat-composer.tsx
5389
5389
  function Ul(e) {
5390
- let { t: n } = M(), { mentions: r, replyTo: o, onCancelReply: s, actions: c, className: l } = e, { sendOnEnter: u = !0, sendLabel: d, isLoading: f = !1 } = e, { look: p = "expressive" } = e, { handle: m, editable: h, composer: g, ui: _, attach: v } = Hl(e), { files: y, attachments: b } = g, { pill: x } = _;
5390
+ let { t: n } = M(), { mentions: r, replyTo: i, onCancelReply: s, actions: c, className: l } = e, { sendOnEnter: u = !0, sendLabel: d, isLoading: f = !1 } = e, { look: p = "expressive" } = e, { handle: m, editable: h, composer: g, ui: _, attach: v } = Hl(e), { files: y, attachments: b } = g, { pill: x } = _;
5391
5391
  return /* @__PURE__ */ J("form", {
5392
5392
  "data-slot": "rich-chat-composer",
5393
5393
  "data-look": p,
@@ -5400,14 +5400,14 @@ function Ul(e) {
5400
5400
  editable: h,
5401
5401
  className: l
5402
5402
  }),
5403
- children: /* @__PURE__ */ Y(i, {
5403
+ children: /* @__PURE__ */ Y(a, {
5404
5404
  editor: m,
5405
5405
  className: "contents",
5406
5406
  look: p,
5407
5407
  children: [
5408
5408
  /* @__PURE__ */ J(Ol, {
5409
5409
  error: y.errorMessage ?? g.sendError,
5410
- replyTo: o,
5410
+ replyTo: i,
5411
5411
  onCancelReply: s,
5412
5412
  attachments: b,
5413
5413
  isDisabled: y.isDisabled,
@@ -5419,7 +5419,7 @@ function Ul(e) {
5419
5419
  onSend: () => void g.send(),
5420
5420
  sendOnEnter: u,
5421
5421
  disabled: !h,
5422
- children: /* @__PURE__ */ J(a, {})
5422
+ children: /* @__PURE__ */ J(o, {})
5423
5423
  }),
5424
5424
  _.formatOpen && !x && /* @__PURE__ */ J(kl, {
5425
5425
  id: _.toolbarId,
@@ -5446,7 +5446,7 @@ function Ul(e) {
5446
5446
  squircle: p === "expressive"
5447
5447
  })
5448
5448
  }),
5449
- /* @__PURE__ */ J(O, {}),
5449
+ /* @__PURE__ */ J(je, {}),
5450
5450
  /* @__PURE__ */ J(Me, {})
5451
5451
  ]
5452
5452
  })
@@ -5455,12 +5455,12 @@ function Ul(e) {
5455
5455
  //#endregion
5456
5456
  //#region lib/components/ui/widgets/editor/index.ts
5457
5457
  var Wl = {
5458
- Root: i,
5459
- Content: a,
5460
- Toolbar: D,
5458
+ Root: a,
5459
+ Content: o,
5460
+ Toolbar: O,
5461
5461
  Panel: jr,
5462
5462
  AssistantPanel: sr,
5463
- BubbleMenu: O,
5463
+ BubbleMenu: je,
5464
5464
  CommentsRail: Oi,
5465
5465
  CommentsPanel: yi,
5466
5466
  CommentComposer: Dr,
@@ -5471,8 +5471,8 @@ var Wl = {
5471
5471
  FindPanel: ga,
5472
5472
  BlockHandle: Wi,
5473
5473
  FocusExit: ya,
5474
- Field: te,
5474
+ Field: C,
5475
5475
  Presence: hr
5476
5476
  };
5477
5477
  //#endregion
5478
- export { Kc as CompactEditor, qc as CompactEditorFormField, Tl as DocumentEditor, El as DocumentEditorFormField, Wl as Editor, sr as EditorAssistantPanel, Wi as EditorBlockHandle, O as EditorBubbleMenu, Dr as EditorCommentComposer, yi as EditorCommentsPanel, Oi as EditorCommentsRail, a as EditorContent, te as EditorField, ga as EditorFindPanel, ya as EditorFocusExit, Ta as EditorFooter, Na as EditorOutline, Fa as EditorOutlinePanel, jr as EditorPanel, hr as EditorPresence, i as EditorRoot, Me as EditorSuggestionList, D as EditorToolbar, Ul as RichChatComposer, cc as chatKit, sc as compactKit, V as defineFeature, oc as documentKit, nc as editorFeatures, ac as formNodesKit, vt as fromMarkdown, Ha as looksLikeMarkdown, yt as toHtml, _t as toJson, gt as toMarkdown, m as useEditor, f as useEditorContext, dr as useEditorPresence, Sa as useEditorStats, Ra as useEditorUploads, rc as withFeatures, ic as withoutFeatures };
5478
+ export { Kc as CompactEditor, qc as CompactEditorFormField, Tl as DocumentEditor, El as DocumentEditorFormField, Wl as Editor, sr as EditorAssistantPanel, Wi as EditorBlockHandle, je as EditorBubbleMenu, Dr as EditorCommentComposer, yi as EditorCommentsPanel, Oi as EditorCommentsRail, o as EditorContent, C as EditorField, ga as EditorFindPanel, ya as EditorFocusExit, Ta as EditorFooter, Na as EditorOutline, Fa as EditorOutlinePanel, jr as EditorPanel, hr as EditorPresence, a as EditorRoot, Me as EditorSuggestionList, O as EditorToolbar, Ul as RichChatComposer, cc as chatKit, sc as compactKit, V as defineFeature, oc as documentKit, nc as editorFeatures, ac as formNodesKit, vt as fromMarkdown, Ha as looksLikeMarkdown, yt as toHtml, _t as toJson, gt as toMarkdown, m as useEditor, f as useEditorContext, dr as useEditorPresence, Sa as useEditorStats, Ra as useEditorUploads, rc as withFeatures, ic as withoutFeatures };