@alfadocs/ui-kit 0.8.1 → 0.9.1

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 (165) hide show
  1. package/dist/_chunks/{agenda-card-CalZqycc.js → agenda-card-CsCm7hQv.js} +5 -5
  2. package/dist/_chunks/{agenda-tray-3ffFDQZC.js → agenda-tray-B8QZ3wEp.js} +9 -9
  3. package/dist/_chunks/{ai-prompt-input-DLgY8lrW.js → ai-prompt-input-bAJwYu84.js} +45 -45
  4. package/dist/_chunks/{alert-CVMq99Cq.js → alert-pgdXrEO5.js} +2 -2
  5. package/dist/_chunks/{app-frame-CDJOgPXe.js → app-frame-BYx1gcV7.js} +2 -2
  6. package/dist/_chunks/{audio-recorder-cOl_Z_Pk.js → audio-recorder-BHBonrFf.js} +54 -54
  7. package/dist/_chunks/{audio-visualiser-ByDEFLNm.js → audio-visualiser-I-T4Z7EU.js} +2 -2
  8. package/dist/_chunks/{autocomplete-D4oUZbsP.js → autocomplete-C34hbfKh.js} +6 -6
  9. package/dist/_chunks/{avatar-Dcr6XuDQ.js → avatar-I10iCDs8.js} +2 -2
  10. package/dist/_chunks/{badge-DKFbntoa.js → badge-cLYVGlMh.js} +2 -2
  11. package/dist/_chunks/{balance-cell-renderer-BuExGe6u.js → balance-cell-renderer-DWWtX-VM.js} +5 -5
  12. package/dist/_chunks/{breadcrumb-D1snXjPb.js → breadcrumb--YI7lcHA.js} +4 -4
  13. package/dist/_chunks/{button-group-CONver7M.js → button-group-Bh2g_Ng-.js} +2 -2
  14. package/dist/_chunks/{chat-container-ClzsWXp2.js → chat-container-izziXViv.js} +4 -4
  15. package/dist/_chunks/{chat-message-DoAhgUTj.js → chat-message-g3lxpXM_.js} +2 -2
  16. package/dist/_chunks/{checkbox-group-CarPLDIC.js → checkbox-group-Qkm3Rg1S.js} +6 -6
  17. package/dist/_chunks/{color-picker-CTIcHlDF.js → color-picker-BPfcByHH.js} +13 -13
  18. package/dist/_chunks/{combobox-BLWruOxK.js → combobox-BHhnR3qm.js} +8 -12
  19. package/dist/_chunks/{contact-card-DNyATxKv.js → contact-card-VJIUqKB2.js} +13 -13
  20. package/dist/_chunks/{date-picker-B1PO1ZQP.js → date-picker-BD5FYW08.js} +3 -3
  21. package/dist/_chunks/{date-range-picker-mix2nEVC.js → date-range-picker-BZLVgcXE.js} +27 -27
  22. package/dist/_chunks/{date-time-picker-Dnong_BY.js → date-time-picker-CCoRWX7R.js} +5 -5
  23. package/dist/_chunks/{description-list-BYA77Yud.js → description-list-y7Hk51KI.js} +16 -16
  24. package/dist/_chunks/{dialog-W8uDfXD8.js → dialog-DRp6Dejy.js} +2 -2
  25. package/dist/_chunks/{file-upload-C947ACDK.js → file-upload-DIecAfC-.js} +82 -86
  26. package/dist/_chunks/{floating-action-button-C8OYj8mE.js → floating-action-button-pojvb9gG.js} +6 -6
  27. package/dist/_chunks/{form-field-Bmkeh7WY.js → form-field-BOm9hK35.js} +2 -2
  28. package/dist/_chunks/{freemium-paywall-B9kIDtm1.js → freemium-paywall-BTEiVkes.js} +29 -29
  29. package/dist/_chunks/{key-value-pair-CgWvAIGb.js → key-value-pair-AbrRwesr.js} +14 -14
  30. package/dist/_chunks/{leo-sidebar-BWECDYpu.js → leo-sidebar-B054wsZm.js} +8 -8
  31. package/dist/_chunks/{link-BcYW1eNM.js → link-BGpwaFik.js} +2 -2
  32. package/dist/_chunks/{list-qP6p0NTw.js → list-DcjV0m5B.js} +2 -2
  33. package/dist/_chunks/{message-card-DjvsB_3U.js → message-card-c6R0-qXq.js} +6 -6
  34. package/dist/_chunks/{message-tray-BbnAzlLH.js → message-tray-Fsend-du.js} +21 -21
  35. package/dist/_chunks/{multi-select-wqqrgjUQ.js → multi-select-Bh-xR8kP.js} +10 -10
  36. package/dist/_chunks/{navigation-menu-ClbHeawy.js → navigation-menu-Bav1d_wA.js} +2 -2
  37. package/dist/_chunks/{notification-card-uTPEvAQS.js → notification-card-ejOw5g6g.js} +3 -6
  38. package/dist/_chunks/{notification-tray-PGtMqXbP.js → notification-tray-C3dYdLAF.js} +21 -24
  39. package/dist/_chunks/{number-input-Q7wkHnvQ.js → number-input-mpSLk-ld.js} +3 -3
  40. package/dist/_chunks/{otp-input-C9gUByF0.js → otp-input-CI-Zv5q6.js} +2 -2
  41. package/dist/_chunks/{pagination-3AC4zTsi.js → pagination-OQBlnb1H.js} +7 -7
  42. package/dist/_chunks/{patient-shell-IhMULVrt.js → patient-shell-BS2V6V1b.js} +3 -3
  43. package/dist/_chunks/{payment-form-C3HMAsGG.js → payment-form-CI77oIx1.js} +3 -3
  44. package/dist/_chunks/{pdf-viewer-DO95bm2o.js → pdf-viewer-CNETPubN.js} +3 -3
  45. package/dist/_chunks/{phone-input-CSHJOJ13.js → phone-input-DtBVs5fz.js} +7 -7
  46. package/dist/_chunks/{popover-DekUKNBk.js → popover--derJ_wq.js} +2 -2
  47. package/dist/_chunks/{progress-C11tqhoI.js → progress-B-PSO5OS.js} +4 -4
  48. package/dist/_chunks/{recaptcha-widget-NyfOfLII.js → recaptcha-widget-Kp1XntuE.js} +3 -3
  49. package/dist/_chunks/{resizable-mpXXyIsN.js → resizable-COV-cnth.js} +3 -3
  50. package/dist/_chunks/{search-bar-BTDfgYtg.js → search-bar-DmZZ9UvV.js} +2 -2
  51. package/dist/_chunks/{search-input-CdJIEjFo.js → search-input-BBtSRH-Q.js} +4 -4
  52. package/dist/_chunks/{select-BOU_Osnf.js → select-i9MwQeQy.js} +20 -20
  53. package/dist/_chunks/{sheet-BAg7GY9j.js → sheet-BT0izeoI.js} +9 -9
  54. package/dist/_chunks/{sidebar-Bx3wCDyy.js → sidebar-CoLHtVrP.js} +83 -83
  55. package/dist/_chunks/{sign-in-with-alfadocs-button-B9UrqOqH.js → sign-in-with-alfadocs-button-4zZC-I6y.js} +3 -3
  56. package/dist/_chunks/{skip-link-DmZ3c6cb.js → skip-link-BaSMtPwB.js} +2 -2
  57. package/dist/_chunks/{slider-BT2bZWsy.js → slider-CkR6CLun.js} +3 -3
  58. package/dist/_chunks/{sparkline-_gy8aJDG.js → sparkline-B5Ms55PZ.js} +16 -16
  59. package/dist/_chunks/{spinner-DLaYfLPl.js → spinner-DirtWZNG.js} +2 -2
  60. package/dist/_chunks/{stat-B9PHSPbN.js → stat-CDQ_a0vk.js} +4 -4
  61. package/dist/_chunks/{switch-C0psfIQF.js → switch-D916VW86.js} +2 -2
  62. package/dist/_chunks/{tabs-BZQy_Rmb.js → tabs-Cg794H0Q.js} +3 -3
  63. package/dist/_chunks/{tag-DuLMjRbF.js → tag-CQmHRM4Y.js} +3 -3
  64. package/dist/_chunks/{task-card-Dw_ZJDL8.js → task-card-BUVMh6HN.js} +2 -2
  65. package/dist/_chunks/{task-tray-XlIW9ueh.js → task-tray-B3A2fRGR.js} +13 -13
  66. package/dist/_chunks/{text-area-CO9Dz0qX.js → text-area-DHtcpcLv.js} +13 -13
  67. package/dist/_chunks/{text-input-DZwt9L8H.js → text-input-1oqFRbVI.js} +2 -2
  68. package/dist/_chunks/{theme-toggle-B3UR6ouK.js → theme-toggle-B3meAb3y.js} +14 -14
  69. package/dist/_chunks/{time-picker-DvPUmHH-.js → time-picker-DeVZkIY2.js} +2 -2
  70. package/dist/_chunks/{timeline-BvmnQadS.js → timeline-rmls7dIh.js} +10 -10
  71. package/dist/_chunks/{toast.agent-DihA6MON.js → toast.agent-32WNQ-_x.js} +2 -2
  72. package/dist/_chunks/{transaction-chip-DE6DITun.js → transaction-chip-z9ENE50O.js} +3 -3
  73. package/dist/_chunks/{transcript-panel-Bx5ANMsv.js → transcript-panel-BpJqPr7I.js} +8 -8
  74. package/dist/_chunks/{typing-indicator-BZ5jXZPn.js → typing-indicator-DHeVN4ob.js} +9 -9
  75. package/dist/_chunks/{use-password-requirements-DgEYdN4H.js → use-password-requirements-DbPZMfV9.js} +30 -33
  76. package/dist/_chunks/{warning-stack-CdLIe534.js → warning-stack-CeRihME9.js} +15 -15
  77. package/dist/_chunks/{workflow-map-CESZNNZe.js → workflow-map-D3MvrsZV.js} +4 -4
  78. package/dist/agent-catalog.json +1 -1
  79. package/dist/components/agenda-card/index.js +1 -1
  80. package/dist/components/agenda-tray/index.js +1 -1
  81. package/dist/components/ai-prompt-input/index.js +1 -1
  82. package/dist/components/alert/index.js +1 -1
  83. package/dist/components/app-frame/index.js +1 -1
  84. package/dist/components/audio-recorder/index.js +1 -1
  85. package/dist/components/audio-visualiser/index.js +1 -1
  86. package/dist/components/autocomplete/index.js +1 -1
  87. package/dist/components/avatar/index.js +1 -1
  88. package/dist/components/badge/index.js +1 -1
  89. package/dist/components/breadcrumb/index.js +1 -1
  90. package/dist/components/button-group/index.js +1 -1
  91. package/dist/components/chat-container/index.js +1 -1
  92. package/dist/components/chat-message/index.js +1 -1
  93. package/dist/components/checkbox-group/index.js +1 -1
  94. package/dist/components/color-picker/index.js +1 -1
  95. package/dist/components/combobox/index.js +1 -1
  96. package/dist/components/contact-card/index.js +1 -1
  97. package/dist/components/data-table/index.js +1 -1
  98. package/dist/components/date-picker/index.js +1 -1
  99. package/dist/components/date-range-picker/index.js +1 -1
  100. package/dist/components/date-time-picker/index.js +1 -1
  101. package/dist/components/description-list/index.js +1 -1
  102. package/dist/components/dialog/index.js +1 -1
  103. package/dist/components/file-upload/index.js +1 -1
  104. package/dist/components/floating-action-button/index.js +1 -1
  105. package/dist/components/form-field/index.js +1 -1
  106. package/dist/components/freemium-paywall/freemium-paywall.d.ts +2 -2
  107. package/dist/components/freemium-paywall/index.js +1 -1
  108. package/dist/components/key-value-pair/index.js +1 -1
  109. package/dist/components/link/index.js +1 -1
  110. package/dist/components/list/index.js +1 -1
  111. package/dist/components/message-card/index.js +1 -1
  112. package/dist/components/message-tray/index.js +1 -1
  113. package/dist/components/multi-select/index.js +1 -1
  114. package/dist/components/navigation-menu/index.js +2 -2
  115. package/dist/components/notification-card/index.js +1 -1
  116. package/dist/components/notification-tray/index.js +1 -1
  117. package/dist/components/number-input/index.js +1 -1
  118. package/dist/components/otp-input/index.js +1 -1
  119. package/dist/components/pagination/index.js +1 -1
  120. package/dist/components/password-input/index.js +1 -1
  121. package/dist/components/payment-form/index.js +1 -1
  122. package/dist/components/pdf-viewer/index.js +1 -1
  123. package/dist/components/phone-input/index.js +1 -1
  124. package/dist/components/popover/index.js +1 -1
  125. package/dist/components/progress/index.js +1 -1
  126. package/dist/components/recaptcha-widget/index.js +1 -1
  127. package/dist/components/resizable/index.js +1 -1
  128. package/dist/components/search-bar/index.js +1 -1
  129. package/dist/components/search-input/index.js +1 -1
  130. package/dist/components/select/index.js +1 -1
  131. package/dist/components/sheet/index.js +1 -1
  132. package/dist/components/sidebar/index.js +1 -1
  133. package/dist/components/sidebar/sidebar.d.ts +1 -1
  134. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  135. package/dist/components/skip-link/index.js +1 -1
  136. package/dist/components/skip-link/skip-link.d.ts +1 -1
  137. package/dist/components/slider/index.js +1 -1
  138. package/dist/components/sparkline/index.js +1 -1
  139. package/dist/components/spinner/index.js +1 -1
  140. package/dist/components/stat/index.js +1 -1
  141. package/dist/components/switch/index.js +1 -1
  142. package/dist/components/tabs/index.js +1 -1
  143. package/dist/components/tag/index.js +1 -1
  144. package/dist/components/task-card/index.js +1 -1
  145. package/dist/components/task-tray/index.js +1 -1
  146. package/dist/components/text-area/index.js +1 -1
  147. package/dist/components/text-input/index.js +1 -1
  148. package/dist/components/theme-toggle/index.js +1 -1
  149. package/dist/components/time-picker/index.js +1 -1
  150. package/dist/components/timeline/index.js +1 -1
  151. package/dist/components/toast/index.js +1 -1
  152. package/dist/components/transaction-chip/index.js +1 -1
  153. package/dist/components/transcript-panel/index.js +1 -1
  154. package/dist/components/typing-indicator/index.js +1 -1
  155. package/dist/components/typing-indicator/typing-indicator.d.ts +1 -1
  156. package/dist/components/warning-stack/index.js +1 -1
  157. package/dist/components/workflow/index.js +1 -1
  158. package/dist/i18n/config.d.ts +2 -1
  159. package/dist/i18n/config.js +49 -31
  160. package/dist/i18n/registerUiBundle.d.ts +15 -0
  161. package/dist/index.js +77 -77
  162. package/dist/patterns/leo-assistant/index.js +1 -1
  163. package/dist/patterns/patient-shell/index.js +1 -1
  164. package/dist/tokens.css +1 -1
  165. package/package.json +2 -1
@@ -1,12 +1,12 @@
1
- import { jsxs as b, jsx as s, Fragment as re } from "react/jsx-runtime";
1
+ import { jsxs as b, jsx as s, Fragment as ie } from "react/jsx-runtime";
2
2
  import { forwardRef as se, useReducer as ae, useState as x, useRef as m, useEffect as D, useCallback as h, useMemo as ne, useImperativeHandle as de } from "react";
3
3
  import { c as ce } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as oe } from "react-i18next";
5
5
  import { B as G } from "./button-DD_0Xdmr.js";
6
6
  import { I as N } from "./icon-button-C4CGcYuz.js";
7
- import { S as ue } from "./select-BOU_Osnf.js";
8
- import { A as pe } from "./audio-visualiser-ByDEFLNm.js";
9
- import { A as F } from "./alert-CVMq99Cq.js";
7
+ import { S as ue } from "./select-i9MwQeQy.js";
8
+ import { A as pe } from "./audio-visualiser-I-T4Z7EU.js";
9
+ import { A as F } from "./alert-pgdXrEO5.js";
10
10
  import { u as le } from "./registry-C9nwlNyL.js";
11
11
  import { c as V } from "./createLucideIcon-CrFbzy84.js";
12
12
  import { S as me } from "./square-CZoGU14v.js";
@@ -54,19 +54,19 @@ const ke = [
54
54
  type: "boolean",
55
55
  descriptionKey: "ui.agent.audioRecorder.state.isRecording",
56
56
  description: "True while actively capturing audio (not paused).",
57
- read: (i) => i.isRecording()
57
+ read: (r) => r.isRecording()
58
58
  },
59
59
  duration: {
60
60
  type: "number",
61
61
  descriptionKey: "ui.agent.audioRecorder.state.duration",
62
62
  description: "Elapsed recording time in milliseconds (paused time excluded).",
63
- read: (i) => i.getDuration()
63
+ read: (r) => r.getDuration()
64
64
  },
65
65
  hasRecording: {
66
66
  type: "boolean",
67
67
  descriptionKey: "ui.agent.audioRecorder.state.hasRecording",
68
68
  description: "True when a completed recording is available for submission.",
69
- read: (i) => i.hasRecording()
69
+ read: (r) => r.hasRecording()
70
70
  }
71
71
  },
72
72
  actions: {
@@ -74,30 +74,30 @@ const ke = [
74
74
  safety: "write",
75
75
  descriptionKey: "ui.agent.audioRecorder.actions.startRecording",
76
76
  description: "Request microphone permission and begin recording.",
77
- invoke: (i) => i.startRecording()
77
+ invoke: (r) => r.startRecording()
78
78
  },
79
79
  stop_recording: {
80
80
  safety: "write",
81
81
  descriptionKey: "ui.agent.audioRecorder.actions.stopRecording",
82
82
  description: "Stop the current recording and finalise the blob.",
83
- invoke: (i) => {
84
- i.stopRecording();
83
+ invoke: (r) => {
84
+ r.stopRecording();
85
85
  }
86
86
  },
87
87
  discard: {
88
88
  safety: "destructive",
89
89
  descriptionKey: "ui.agent.audioRecorder.actions.discard",
90
90
  description: "Cancel the recording. Irreversible — the captured audio is dropped.",
91
- invoke: (i) => {
92
- i.discard();
91
+ invoke: (r) => {
92
+ r.discard();
93
93
  }
94
94
  },
95
95
  submit: {
96
96
  safety: "write",
97
97
  descriptionKey: "ui.agent.audioRecorder.actions.submit",
98
98
  description: "Stop the active recording, finalising it via onRecordingComplete.",
99
- invoke: (i) => {
100
- i.stopRecording();
99
+ invoke: (r) => {
100
+ r.stopRecording();
101
101
  }
102
102
  }
103
103
  },
@@ -114,24 +114,24 @@ const ke = [
114
114
  }
115
115
  }
116
116
  };
117
- function we(i, u) {
117
+ function we(r, u) {
118
118
  switch (u.type) {
119
119
  case "request":
120
120
  return { kind: "requesting" };
121
121
  case "start":
122
122
  return { kind: "recording", startedAt: Date.now(), pausedMs: 0 };
123
123
  case "pause":
124
- return i.kind !== "recording" ? i : {
124
+ return r.kind !== "recording" ? r : {
125
125
  kind: "paused",
126
- startedAt: i.startedAt,
127
- pausedMs: i.pausedMs,
126
+ startedAt: r.startedAt,
127
+ pausedMs: r.pausedMs,
128
128
  pausedAt: Date.now()
129
129
  };
130
130
  case "resume":
131
- return i.kind !== "paused" ? i : {
131
+ return r.kind !== "paused" ? r : {
132
132
  kind: "recording",
133
- startedAt: i.startedAt,
134
- pausedMs: i.pausedMs + (Date.now() - i.pausedAt)
133
+ startedAt: r.startedAt,
134
+ pausedMs: r.pausedMs + (Date.now() - r.pausedAt)
135
135
  };
136
136
  case "stop":
137
137
  return { kind: "stopped", duration: u.duration };
@@ -142,7 +142,7 @@ function we(i, u) {
142
142
  case "reset":
143
143
  return { kind: "idle" };
144
144
  default:
145
- return i;
145
+ return r;
146
146
  }
147
147
  }
148
148
  const Ae = ce(
@@ -170,20 +170,20 @@ const Ae = ce(
170
170
  ];
171
171
  function xe() {
172
172
  if (!(typeof MediaRecorder > "u")) {
173
- for (const i of Me)
174
- if (MediaRecorder.isTypeSupported(i)) return i;
173
+ for (const r of Me)
174
+ if (MediaRecorder.isTypeSupported(r)) return r;
175
175
  }
176
176
  }
177
- function De(i, u) {
178
- const l = Math.max(0, Math.floor(i / 1e3)), r = Math.floor(l / 60), f = l % 60, v = (S) => new Intl.NumberFormat(u, { minimumIntegerDigits: 2 }).format(S);
179
- return `${v(r)}:${v(f)}`;
177
+ function De(r, u) {
178
+ const l = Math.max(0, Math.floor(r / 1e3)), i = Math.floor(l / 60), f = l % 60, v = (S) => new Intl.NumberFormat(u, { minimumIntegerDigits: 2 }).format(S);
179
+ return `${v(i)}:${v(f)}`;
180
180
  }
181
181
  const Ne = se(
182
182
  ({
183
- size: i = "md",
183
+ size: r = "md",
184
184
  onRecordingComplete: u,
185
185
  onCancel: l,
186
- onError: r,
186
+ onError: i,
187
187
  maxDurationMs: f = 1800 * 1e3,
188
188
  maxBytes: v = 250 * 1024 * 1024,
189
189
  className: S,
@@ -207,7 +207,7 @@ const Ne = se(
207
207
  e == null || e.getTracks().forEach((a) => a.stop()), g.current = null, T(null);
208
208
  }, [z]), A = h(async () => {
209
209
  if (!k) {
210
- p({ type: "error", kind: "unsupported" }), r == null || r("unsupported");
210
+ p({ type: "error", kind: "unsupported" }), i == null || i("unsupported");
211
211
  return;
212
212
  }
213
213
  p({ type: "request" }), w.current = !1;
@@ -227,7 +227,7 @@ const Ne = se(
227
227
  c.current = o, y.current = [], _.current = 0, o.ondataavailable = (n) => {
228
228
  var X;
229
229
  if (n.data && n.data.size > 0 && (y.current.push(n.data), _.current += n.data.size, typeof v == "number" && _.current >= v && ((X = c.current) == null ? void 0 : X.state) === "recording")) {
230
- r == null || r("max-size");
230
+ i == null || i("max-size");
231
231
  try {
232
232
  c.current.stop();
233
233
  } catch {
@@ -244,12 +244,12 @@ const Ne = se(
244
244
  }, o.start(1e3), p({ type: "start" });
245
245
  } catch (e) {
246
246
  const a = e instanceof Error ? e.name : "";
247
- a === "NotAllowedError" || a === "SecurityError" ? (p({ type: "error", kind: "permission-denied" }), r == null || r("permission-denied")) : a === "NotFoundError" || a === "OverconstrainedError" ? (p({ type: "error", kind: "no-device" }), r == null || r("no-device")) : (p({ type: "error", kind: "capture-failed" }), r == null || r("capture-failed"));
247
+ a === "NotAllowedError" || a === "SecurityError" ? (p({ type: "error", kind: "permission-denied" }), i == null || i("permission-denied")) : a === "NotFoundError" || a === "OverconstrainedError" ? (p({ type: "error", kind: "no-device" }), i == null || i("no-device")) : (p({ type: "error", kind: "capture-failed" }), i == null || i("capture-failed"));
248
248
  }
249
- }, [r, u, R, k]), te = h(() => {
249
+ }, [i, u, R, k]), te = h(() => {
250
250
  var e;
251
251
  (e = c.current) == null || e.pause(), p({ type: "pause" });
252
- }, []), ie = h(() => {
252
+ }, []), re = h(() => {
253
253
  var e;
254
254
  (e = c.current) == null || e.resume(), p({ type: "resume" });
255
255
  }, []), q = h(() => {
@@ -276,7 +276,7 @@ const Ne = se(
276
276
  const e = Date.now() - t.startedAt - t.pausedMs, a = Math.max(0, f - e), o = window.setTimeout(() => {
277
277
  var n;
278
278
  if (((n = c.current) == null ? void 0 : n.state) === "recording") {
279
- r == null || r("max-duration");
279
+ i == null || i("max-duration");
280
280
  try {
281
281
  c.current.stop();
282
282
  } catch {
@@ -284,7 +284,7 @@ const Ne = se(
284
284
  }
285
285
  }, a);
286
286
  return () => window.clearTimeout(o);
287
- }, [t, f, r]), D(() => () => {
287
+ }, [t, f, i]), D(() => () => {
288
288
  var e, a;
289
289
  B.current = !0;
290
290
  try {
@@ -307,21 +307,21 @@ const Ne = se(
307
307
  de(J, () => P, [P]), le(Re, P, I.id);
308
308
  const C = Z.map((e) => ({
309
309
  value: e.deviceId,
310
- label: e.label || d("ui.chat.audio.selectDevice")
310
+ label: e.label || d("chat.audio.selectDevice")
311
311
  })), O = (() => {
312
312
  switch (t.kind) {
313
313
  case "idle":
314
- return d("ui.chat.audio.idle");
314
+ return d("chat.audio.idle");
315
315
  case "requesting":
316
- return d("ui.common.loading");
316
+ return d("common.loading");
317
317
  case "recording":
318
- return d("ui.chat.audio.recording");
318
+ return d("chat.audio.recording");
319
319
  case "paused":
320
- return d("ui.chat.audio.paused");
320
+ return d("chat.audio.paused");
321
321
  case "stopped":
322
- return d("ui.chat.audio.idle");
322
+ return d("chat.audio.idle");
323
323
  case "error":
324
- return t.type === "permission-denied" ? d("ui.chat.audio.permissionDenied") : t.type === "unsupported" ? d("ui.chat.audio.unsupported") : d("ui.chat.audio.idle");
324
+ return t.type === "permission-denied" ? d("chat.audio.permissionDenied") : t.type === "unsupported" ? d("chat.audio.unsupported") : d("chat.audio.idle");
325
325
  }
326
326
  })(), M = t.kind === "recording", L = t.kind === "paused", U = t.kind === "error";
327
327
  return /* @__PURE__ */ b(
@@ -329,7 +329,7 @@ const Ne = se(
329
329
  {
330
330
  "data-component": "audio-recorder",
331
331
  "data-component-id": I.id,
332
- className: Ae({ size: i, className: S }),
332
+ className: Ae({ size: r, className: S }),
333
333
  ...I,
334
334
  children: [
335
335
  /* @__PURE__ */ b("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
@@ -383,14 +383,14 @@ const Ne = se(
383
383
  startIcon: /* @__PURE__ */ s(he, {}),
384
384
  onClick: A,
385
385
  disabled: !k,
386
- children: d("ui.chat.audio.record")
386
+ children: d("chat.audio.record")
387
387
  }
388
388
  ) : null,
389
389
  M ? /* @__PURE__ */ s(
390
390
  N,
391
391
  {
392
392
  icon: /* @__PURE__ */ s(ye, {}),
393
- "aria-label": d("ui.chat.audio.pause"),
393
+ "aria-label": d("chat.audio.pause"),
394
394
  intent: "secondary",
395
395
  size: "sm",
396
396
  onClick: te
@@ -400,18 +400,18 @@ const Ne = se(
400
400
  N,
401
401
  {
402
402
  icon: /* @__PURE__ */ s(be, {}),
403
- "aria-label": d("ui.chat.audio.resume"),
403
+ "aria-label": d("chat.audio.resume"),
404
404
  intent: "secondary",
405
405
  size: "sm",
406
- onClick: ie
406
+ onClick: re
407
407
  }
408
408
  ) : null,
409
- M || L ? /* @__PURE__ */ b(re, { children: [
409
+ M || L ? /* @__PURE__ */ b(ie, { children: [
410
410
  /* @__PURE__ */ s(
411
411
  N,
412
412
  {
413
413
  icon: /* @__PURE__ */ s(me, {}),
414
- "aria-label": d("ui.chat.audio.stop"),
414
+ "aria-label": d("chat.audio.stop"),
415
415
  intent: "primary",
416
416
  size: "sm",
417
417
  onClick: q
@@ -421,7 +421,7 @@ const Ne = se(
421
421
  N,
422
422
  {
423
423
  icon: /* @__PURE__ */ s(fe, {}),
424
- "aria-label": d("ui.chat.audio.cancel"),
424
+ "aria-label": d("chat.audio.cancel"),
425
425
  intent: "ghost",
426
426
  size: "sm",
427
427
  onClick: K
@@ -431,7 +431,7 @@ const Ne = se(
431
431
  t.kind === "idle" && C.length > 1 ? /* @__PURE__ */ s("div", { className: "ds:ms-auto ds:min-w-[160px]", children: /* @__PURE__ */ s(
432
432
  ue,
433
433
  {
434
- "aria-label": d("ui.chat.audio.selectDevice"),
434
+ "aria-label": d("chat.audio.selectDevice"),
435
435
  options: C,
436
436
  value: R,
437
437
  onValueChange: (e) => ee(e),
@@ -442,7 +442,7 @@ const Ne = se(
442
442
  ] }),
443
443
  U && t.kind === "error" ? /* @__PURE__ */ b(F, { variant: "error", live: "polite", children: [
444
444
  /* @__PURE__ */ s(F.Description, { children: O }),
445
- t.type === "permission-denied" ? /* @__PURE__ */ s(F.Action, { children: /* @__PURE__ */ s(G, { intent: "ghost", size: "sm", onClick: A, children: d("ui.chat.audio.retry") }) }) : null
445
+ t.type === "permission-denied" ? /* @__PURE__ */ s(F.Action, { children: /* @__PURE__ */ s(G, { intent: "ghost", size: "sm", onClick: A, children: d("chat.audio.retry") }) }) : null
446
446
  ] }) : null
447
447
  ]
448
448
  }
@@ -454,4 +454,4 @@ export {
454
454
  Ne as A,
455
455
  Re as a
456
456
  };
457
- //# sourceMappingURL=audio-recorder-cOl_Z_Pk.js.map
457
+ //# sourceMappingURL=audio-recorder-BHBonrFf.js.map
@@ -98,7 +98,7 @@ const K = H(
98
98
  b(() => {
99
99
  o.current.length > t && (o.current.length = t);
100
100
  }, [t]);
101
- const P = V ?? M("ui.chat.audio.visualiserLabel"), g = A ? M("ui.chat.audio.device", { name: A }) : null, F = G();
101
+ const P = V ?? M("chat.audio.visualiserLabel"), g = A ? M("chat.audio.device", { name: A }) : null, F = G();
102
102
  return /* @__PURE__ */ C(
103
103
  "div",
104
104
  {
@@ -142,4 +142,4 @@ O.displayName = "AudioVisualiser";
142
142
  export {
143
143
  O as A
144
144
  };
145
- //# sourceMappingURL=audio-visualiser-ByDEFLNm.js.map
145
+ //# sourceMappingURL=audio-visualiser-I-T4Z7EU.js.map
@@ -4,7 +4,7 @@ import { _ as m } from "./index-4xgbg-sn.js";
4
4
  import * as A from "@radix-ui/react-popover";
5
5
  import { c as F } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as et } from "react-i18next";
7
- import { S as me } from "./spinner-DLaYfLPl.js";
7
+ import { S as me } from "./spinner-DirtWZNG.js";
8
8
  import { u as tt } from "./form-field-context-B3APVHKx.js";
9
9
  import { u as st } from "./use-debounced-callback-BisrB-Fq.js";
10
10
  import { g as nt } from "./group-options-BvKhQ3xb.js";
@@ -297,7 +297,7 @@ const ct = Ye(
297
297
  [f]
298
298
  );
299
299
  rt(it, Xe, j);
300
- const Je = y.length, We = V ? x("ui.common.loading", "Loading…") : i && r.length > 0 ? x("ui.inputs.autocomplete.results", {
300
+ const Je = y.length, We = V ? x("common.loading", "Loading…") : i && r.length > 0 ? x("inputs.autocomplete.results", {
301
301
  count: Je,
302
302
  defaultValue: "{{count}} results"
303
303
  }) : "";
@@ -399,7 +399,7 @@ const ct = Ye(
399
399
  _ ? /* @__PURE__ */ o(
400
400
  m.Group,
401
401
  {
402
- heading: x("ui.inputs.autocomplete.recent", "Recent"),
402
+ heading: x("inputs.autocomplete.recent", "Recent"),
403
403
  className: he,
404
404
  children: (v ?? []).map((e) => /* @__PURE__ */ o(
405
405
  m.Item,
@@ -416,10 +416,10 @@ const ct = Ye(
416
416
  ))
417
417
  }
418
418
  ) : null,
419
- ue ? /* @__PURE__ */ o("div", { className: "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: x("ui.inputs.autocomplete.noResults", "No results") }) : null,
419
+ ue ? /* @__PURE__ */ o("div", { className: "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: x("inputs.autocomplete.noResults", "No results") }) : null,
420
420
  ce ? /* @__PURE__ */ D("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: [
421
421
  /* @__PURE__ */ o(me, { size: "sm" }),
422
- /* @__PURE__ */ o("span", { children: x("ui.common.loading", "Loading…") })
422
+ /* @__PURE__ */ o("span", { children: x("common.loading", "Loading…") })
423
423
  ] }) : null,
424
424
  !_ && $ ? Oe.map((e, t) => {
425
425
  const n = e.items.map((a) => /* @__PURE__ */ o(
@@ -463,4 +463,4 @@ export {
463
463
  it as a,
464
464
  dt as b
465
465
  };
466
- //# sourceMappingURL=autocomplete-D4oUZbsP.js.map
466
+ //# sourceMappingURL=autocomplete-C34hbfKh.js.map
@@ -69,7 +69,7 @@ const T = N(
69
69
  const r = !!s && !b, m = !r && !!e, h = !r && !e, p = o ? "ds:bg-[var(--avatar-color-override)]" : e ? S(e) : "ds:bg-muted", x = T({
70
70
  size: d,
71
71
  className: [p, o || e ? "ds:text-[var(--primary-foreground)]" : "ds:text-muted-foreground", c].filter(Boolean).join(" ")
72
- }), z = e ?? g("ui.avatar.placeholder", "User avatar");
72
+ }), z = e ?? g("avatar.placeholder", "User avatar");
73
73
  return /* @__PURE__ */ C(
74
74
  "span",
75
75
  {
@@ -111,4 +111,4 @@ export {
111
111
  L as g,
112
112
  S as n
113
113
  };
114
- //# sourceMappingURL=avatar-Dcr6XuDQ.js.map
114
+ //# sourceMappingURL=avatar-I10iCDs8.js.map
@@ -93,7 +93,7 @@ const z = r(
93
93
  d && /* @__PURE__ */ e("span", { "aria-hidden": "true", className: V({ size: n }), children: d }),
94
94
  !a && (b ? /* @__PURE__ */ u(x, { children: [
95
95
  /* @__PURE__ */ e("span", { "aria-hidden": "true", children: s }),
96
- /* @__PURE__ */ e("span", { className: "ds:sr-only", children: v("ui.badge.notifications", { count: s }) })
96
+ /* @__PURE__ */ e("span", { className: "ds:sr-only", children: v("badge.notifications", { count: s }) })
97
97
  ] }) : i ? /* @__PURE__ */ e("span", { className: "ds:max-w-[var(--badge-truncate-max-width)] ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap", children: s }) : s)
98
98
  ]
99
99
  }
@@ -105,4 +105,4 @@ j.displayName = "Badge";
105
105
  export {
106
106
  j as B
107
107
  };
108
- //# sourceMappingURL=badge-DKFbntoa.js.map
108
+ //# sourceMappingURL=badge-cLYVGlMh.js.map
@@ -8,15 +8,15 @@ import { AgGridReact as He } from "ag-grid-react";
8
8
  import { ModuleRegistry as qe, AllCommunityModule as We } from "ag-grid-community";
9
9
  import { B as Ue } from "./button-DD_0Xdmr.js";
10
10
  import { I as P } from "./icon-button-C4CGcYuz.js";
11
- import { P as E } from "./popover-DekUKNBk.js";
11
+ import { P as E } from "./popover--derJ_wq.js";
12
12
  import { C as Je } from "./checkbox-D5EHnB14.js";
13
13
  import { c as te } from "./createLucideIcon-CrFbzy84.js";
14
14
  import { P as Ze } from "./printer-CeVEWfQq.js";
15
15
  import { F as Xe } from "./file-text-DSNuv2B8.js";
16
16
  import { u as Qe } from "./registry-C9nwlNyL.js";
17
- import { B as Ye } from "./badge-DKFbntoa.js";
18
- import { A as et } from "./avatar-Dcr6XuDQ.js";
19
- import { T as q } from "./tag-DuLMjRbF.js";
17
+ import { B as Ye } from "./badge-cLYVGlMh.js";
18
+ import { A as et } from "./avatar-I10iCDs8.js";
19
+ import { T as q } from "./tag-CQmHRM4Y.js";
20
20
  import { T as tt } from "./tooltip-DHik5yRI.js";
21
21
  import { T as W } from "./timestamp-BV2lC-wV.js";
22
22
  import { S as at } from "./square-check-big-Jr-0202D.js";
@@ -1012,4 +1012,4 @@ export {
1012
1012
  mt as f,
1013
1013
  aa as u
1014
1014
  };
1015
- //# sourceMappingURL=balance-cell-renderer-BuExGe6u.js.map
1015
+ //# sourceMappingURL=balance-cell-renderer-DWWtX-VM.js.map
@@ -77,7 +77,7 @@ const G = {
77
77
  {
78
78
  ref: c,
79
79
  id: d,
80
- "aria-label": l ?? w("ui.navigation.breadcrumb.label"),
80
+ "aria-label": l ?? w("navigation.breadcrumb.label"),
81
81
  "data-component": "breadcrumb",
82
82
  "data-component-id": d,
83
83
  className: a,
@@ -223,7 +223,7 @@ const P = [
223
223
  "span",
224
224
  {
225
225
  "aria-current": "page",
226
- "aria-label": s["aria-label"] ?? o("ui.navigation.breadcrumb.current"),
226
+ "aria-label": s["aria-label"] ?? o("navigation.breadcrumb.current"),
227
227
  className: [W, l].filter(Boolean).join(" "),
228
228
  children: e
229
229
  }
@@ -311,7 +311,7 @@ const Y = [
311
311
  "ds:data-[highlighted]:bg-[var(--muted)] ds:data-[highlighted]:text-[var(--foreground)]",
312
312
  "ds:outline-none"
313
313
  ].join(" "), $ = y(({ className: r, hiddenItems: a = [], ...l }, e) => {
314
- const { t: s } = B(), t = s("ui.navigation.breadcrumb.showPath");
314
+ const { t: s } = B(), t = s("navigation.breadcrumb.showPath");
315
315
  return /* @__PURE__ */ E(j.Root, { children: [
316
316
  /* @__PURE__ */ n(j.Trigger, { asChild: !0, children: /* @__PURE__ */ E(
317
317
  "button",
@@ -376,4 +376,4 @@ export {
376
376
  T as e,
377
377
  G as f
378
378
  };
379
- //# sourceMappingURL=breadcrumb-D1snXjPb.js.map
379
+ //# sourceMappingURL=breadcrumb--YI7lcHA.js.map
@@ -53,7 +53,7 @@ const M = S(
53
53
  children: z,
54
54
  ...E
55
55
  }, l) => {
56
- const { t: L } = H(), j = A ?? L("ui.buttonGroup.label", "Button group"), c = p, d = R([]), [u, h] = g(0), w = R(null), [b, B] = g(!1);
56
+ const { t: L } = H(), j = A ?? L("buttonGroup.label", "Button group"), c = p, d = R([]), [u, h] = g(0), w = R(null), [b, B] = g(!1);
57
57
  T(() => {
58
58
  if (typeof window > "u") return;
59
59
  const t = w.current;
@@ -118,4 +118,4 @@ U.displayName = "ButtonGroup";
118
118
  export {
119
119
  U as B
120
120
  };
121
- //# sourceMappingURL=button-group-CONver7M.js.map
121
+ //# sourceMappingURL=button-group-Bh2g_Ng-.js.map
@@ -4,7 +4,7 @@ import { c as k } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as S } from "react-i18next";
5
5
  import { u as j } from "./registry-C9nwlNyL.js";
6
6
  import { u as A } from "./index-CJE9uQmb.js";
7
- import { F as P } from "./floating-action-button-C8OYj8mE.js";
7
+ import { F as P } from "./floating-action-button-pojvb9gG.js";
8
8
  import { u as $ } from "./use-prefers-reduced-motion-BMwIQRjB.js";
9
9
  import { C as D } from "./chevron-down-BX_NP2Yh.js";
10
10
  const F = {
@@ -139,7 +139,7 @@ const F = {
139
139
  role: "log",
140
140
  "aria-live": "polite",
141
141
  "aria-relevant": "additions",
142
- "aria-label": f("ui.chat.container"),
142
+ "aria-label": f("chat.container"),
143
143
  tabIndex: 0,
144
144
  className: U(),
145
145
  children: [
@@ -196,7 +196,7 @@ const F = {
196
196
  P,
197
197
  {
198
198
  icon: /* @__PURE__ */ t(D, {}),
199
- "aria-label": f("ui.chat.scrollToLatest"),
199
+ "aria-label": f("chat.scrollToLatest"),
200
200
  size: "sm",
201
201
  variant: "secondary",
202
202
  position: "static",
@@ -217,4 +217,4 @@ export {
217
217
  Z as C,
218
218
  F as c
219
219
  };
220
- //# sourceMappingURL=chat-container-ClzsWXp2.js.map
220
+ //# sourceMappingURL=chat-container-izziXViv.js.map
@@ -3,7 +3,7 @@ import { forwardRef as C, useMemo as j, Fragment as g } from "react";
3
3
  import { c as h } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as T } from "react-i18next";
5
5
  import { B as z } from "./button-DD_0Xdmr.js";
6
- import { A as M } from "./avatar-Dcr6XuDQ.js";
6
+ import { A as M } from "./avatar-I10iCDs8.js";
7
7
  import { T as I } from "./timestamp-BV2lC-wV.js";
8
8
  import { s as A } from "./safe-image-src-DstKgCo7.js";
9
9
  import { c as F } from "./createLucideIcon-CrFbzy84.js";
@@ -236,4 +236,4 @@ H.displayName = "ChatMessage";
236
236
  export {
237
237
  H as C
238
238
  };
239
- //# sourceMappingURL=chat-message-DoAhgUTj.js.map
239
+ //# sourceMappingURL=chat-message-g3lxpXM_.js.map
@@ -110,14 +110,14 @@ const oe = T(
110
110
  toggle: (e) => {
111
111
  if (A.has(e)) {
112
112
  if (typeof i == "number" && r.length <= i) {
113
- o(p("ui.inputs.checkboxGroup.minReached", { min: i })), c == null || c("min");
113
+ o(p("inputs.checkboxGroup.minReached", { min: i })), c == null || c("min");
114
114
  return;
115
115
  }
116
116
  o(""), n(r.filter((Q) => Q !== e));
117
117
  return;
118
118
  }
119
119
  if (typeof d == "number" && r.length >= d) {
120
- o(p("ui.inputs.checkboxGroup.maxReached", { max: d })), c == null || c("max");
120
+ o(p("inputs.checkboxGroup.maxReached", { max: d })), c == null || c("max");
121
121
  return;
122
122
  }
123
123
  o(""), n([...r, e]);
@@ -126,7 +126,7 @@ const oe = T(
126
126
  }, h = y.length, G = r.length, B = h === 0 || G === 0 ? !1 : G >= h ? !0 : "indeterminate", F = () => {
127
127
  if (B === !0) {
128
128
  if (typeof i == "number" && i > 0) {
129
- o(p("ui.inputs.checkboxGroup.minReached", { min: i })), c == null || c("min");
129
+ o(p("inputs.checkboxGroup.minReached", { min: i })), c == null || c("min");
130
130
  return;
131
131
  }
132
132
  n([]), o("");
@@ -165,7 +165,7 @@ const oe = T(
165
165
  z ? /* @__PURE__ */ s(
166
166
  _,
167
167
  {
168
- label: p("ui.inputs.checkboxGroup.selectAll"),
168
+ label: p("inputs.checkboxGroup.selectAll"),
169
169
  checked: B,
170
170
  onCheckedChange: F,
171
171
  disabled: N
@@ -192,7 +192,7 @@ const oe = T(
192
192
  role: "status",
193
193
  "aria-live": "polite",
194
194
  className: "ds:sr-only",
195
- children: h > 0 ? p("ui.inputs.checkboxGroup.counter", { count: G, total: h }) : ""
195
+ children: h > 0 ? p("inputs.checkboxGroup.counter", { count: G, total: h }) : ""
196
196
  }
197
197
  ),
198
198
  /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: C })
@@ -205,4 +205,4 @@ oe.displayName = "CheckboxGroup";
205
205
  export {
206
206
  oe as C
207
207
  };
208
- //# sourceMappingURL=checkbox-group-CarPLDIC.js.map
208
+ //# sourceMappingURL=checkbox-group-Qkm3Rg1S.js.map