@alfadocs/ui-kit 1.67.0 → 1.69.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 (307) hide show
  1. package/dist/_chunks/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
  4. package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
  5. package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
  6. package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
  7. package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
  8. package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-DEMMoefU.js} +4 -4
  9. package/dist/_chunks/{anamnesis-card-CsUBOG32.js → anamnesis-card-Bey9qQu4.js} +2 -2
  10. package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
  11. package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-rNwSrNWZ.js} +393 -389
  12. package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
  13. package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-CpcqB8oO.js} +3 -3
  14. package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
  15. package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
  16. package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
  17. package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
  18. package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
  19. package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
  20. package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
  21. package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
  22. package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
  23. package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-Ct8_454k.js} +18 -18
  24. package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-C2VXQMoB.js} +3 -3
  25. package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
  26. package/dist/_chunks/{code-block-vwEv1jEa.js → code-block-RSKdF3E-.js} +35 -35
  27. package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
  28. package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
  29. package/dist/_chunks/{connection-status--wYsgreh.js → connection-status-BOZC5QU5.js} +2 -2
  30. package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
  31. package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
  32. package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
  33. package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
  34. package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
  35. package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
  36. package/dist/_chunks/{description-list-Q8640NHu.js → description-list-DQQ2OA_t.js} +68 -66
  37. package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
  38. package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
  39. package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
  40. package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
  41. package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
  42. package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
  43. package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
  44. package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
  45. package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
  46. package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
  47. package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
  48. package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
  49. package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
  50. package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
  51. package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
  52. package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
  53. package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
  54. package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
  55. package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
  56. package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
  57. package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
  58. package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
  59. package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
  60. package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
  61. package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
  62. package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
  63. package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
  64. package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
  65. package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
  66. package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-D5c7FBlT.js} +526 -510
  67. package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
  68. package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
  69. package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-qWOsn1MX.js} +5 -5
  70. package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-CAl5ydtX.js} +5 -5
  71. package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
  72. package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-BhuRh9AE.js} +4 -4
  73. package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
  74. package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
  75. package/dist/_chunks/{payment-request-card-0DjQgVgX.js → payment-request-card-bysjRZrP.js} +2 -2
  76. package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
  77. package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
  78. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
  79. package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
  80. package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
  81. package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
  82. package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
  83. package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
  84. package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
  85. package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
  86. package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
  87. package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
  88. package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-sbsVmmCA.js} +30 -8
  89. package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
  90. package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
  91. package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
  92. package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
  93. package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
  94. package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
  95. package/dist/_chunks/{streaming-text-zFViGexf.js → streaming-text-DbqKTsmj.js} +2 -2
  96. package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
  97. package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
  98. package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
  99. package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
  100. package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
  101. package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
  102. package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
  103. package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
  104. package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
  105. package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
  106. package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
  107. package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-1gjZuup4.js} +13 -13
  108. package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
  109. package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
  110. package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
  111. package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
  112. package/dist/_chunks/workflow-webhook-action-Ct8tFYi7.js +691 -0
  113. package/dist/agent-catalog.json +271 -4
  114. package/dist/agent-i18n/en.json +34 -1
  115. package/dist/components/_shared/code-block.d.ts +6 -0
  116. package/dist/components/_shared/format-number.d.ts +20 -0
  117. package/dist/components/_shared/length-token.d.ts +12 -0
  118. package/dist/components/_shared/option.d.ts +1 -0
  119. package/dist/components/address-fields/index.js +1 -1
  120. package/dist/components/agenda-card/index.js +1 -1
  121. package/dist/components/agenda-tray/index.js +1 -1
  122. package/dist/components/ai-credits-notice/index.js +1 -1
  123. package/dist/components/ai-permission-notice/index.js +1 -1
  124. package/dist/components/ai-prompt-input/index.js +1 -1
  125. package/dist/components/alert/alert.d.ts +26 -0
  126. package/dist/components/alert/index.js +1 -1
  127. package/dist/components/anamnesis-card/index.js +1 -1
  128. package/dist/components/anamnesis-summary-card/index.js +1 -1
  129. package/dist/components/appointment-card/index.js +2 -2
  130. package/dist/components/appointment-details-panel/index.js +1 -1
  131. package/dist/components/appointment-peek/index.js +1 -1
  132. package/dist/components/appointment-timeline/index.js +1 -1
  133. package/dist/components/audio-recorder/index.js +1 -1
  134. package/dist/components/avatar/avatar.d.ts +2 -0
  135. package/dist/components/avatar/index.js +1 -1
  136. package/dist/components/bishop-score/index.js +1 -1
  137. package/dist/components/booking/index.js +1 -1
  138. package/dist/components/calendar/index.js +1 -1
  139. package/dist/components/chat-message/index.js +1 -1
  140. package/dist/components/clinical-note-card/index.js +1 -1
  141. package/dist/components/color-picker/index.js +1 -1
  142. package/dist/components/combobox/index.js +1 -1
  143. package/dist/components/connection-status/index.js +1 -1
  144. package/dist/components/contact-profile-card/index.js +1 -1
  145. package/dist/components/control-room-rail/index.js +1 -1
  146. package/dist/components/country-select/index.js +1 -1
  147. package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
  148. package/dist/components/dashboard-grid/index.js +1 -1
  149. package/dist/components/data-table/index.js +2 -2
  150. package/dist/components/dependent-selector/index.js +1 -1
  151. package/dist/components/description-list/index.js +1 -1
  152. package/dist/components/document-preview/index.js +1 -1
  153. package/dist/components/document-scanner/index.js +1 -1
  154. package/dist/components/editable-description/index.js +1 -1
  155. package/dist/components/entity-summary/index.js +1 -1
  156. package/dist/components/error-summary/index.js +1 -1
  157. package/dist/components/face-scheme/index.js +1 -1
  158. package/dist/components/file-manager/index.js +1 -1
  159. package/dist/components/freemium-paywall/index.js +1 -1
  160. package/dist/components/gestational-age-calculator/index.js +1 -1
  161. package/dist/components/header-settings/index.js +1 -1
  162. package/dist/components/heatmap/index.js +1 -1
  163. package/dist/components/index.d.ts +5 -2
  164. package/dist/components/map-view/index.d.ts +1 -1
  165. package/dist/components/map-view/index.js +1 -1
  166. package/dist/components/map-view/map-view.d.ts +51 -0
  167. package/dist/components/message-card/index.js +1 -1
  168. package/dist/components/message-tray/index.js +1 -1
  169. package/dist/components/multi-select/index.js +1 -1
  170. package/dist/components/muscle-scheme/index.js +1 -1
  171. package/dist/components/note-timeline/index.js +1 -1
  172. package/dist/components/notes-panel/index.js +1 -1
  173. package/dist/components/notice-group/index.d.ts +3 -0
  174. package/dist/components/notice-group/index.js +6 -0
  175. package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
  176. package/dist/components/notice-group/notice-group.d.ts +43 -0
  177. package/dist/components/notification-tray/index.js +1 -1
  178. package/dist/components/operator-hero/index.js +1 -1
  179. package/dist/components/optical-prescription/index.js +1 -1
  180. package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
  181. package/dist/components/panel-header/index.js +1 -1
  182. package/dist/components/panel-header/panel-header.d.ts +10 -0
  183. package/dist/components/panel-subview/index.js +1 -1
  184. package/dist/components/patient-details/index.js +1 -1
  185. package/dist/components/patient-search/index.js +1 -1
  186. package/dist/components/patient-summary-card/index.js +1 -1
  187. package/dist/components/patient-table/index.js +1 -1
  188. package/dist/components/payment-card/index.js +1 -1
  189. package/dist/components/payment-form/index.js +1 -1
  190. package/dist/components/pdf-viewer/index.js +1 -1
  191. package/dist/components/periodontal-risk-chart/index.js +1 -1
  192. package/dist/components/practice-profile-hero/index.js +1 -1
  193. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
  194. package/dist/components/practice-results/index.js +1 -1
  195. package/dist/components/practice-results/practice-results.d.ts +10 -2
  196. package/dist/components/pregnancy-dating/index.js +1 -1
  197. package/dist/components/product-hub-tray/index.js +1 -1
  198. package/dist/components/progress-notice/index.d.ts +3 -0
  199. package/dist/components/progress-notice/index.js +6 -0
  200. package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
  201. package/dist/components/progress-notice/progress-notice.d.ts +81 -0
  202. package/dist/components/province-select/index.js +1 -1
  203. package/dist/components/radiograph-panel/index.js +1 -1
  204. package/dist/components/rating/index.js +1 -1
  205. package/dist/components/reviews-panel/index.js +1 -1
  206. package/dist/components/rich-text-editor/index.js +2 -2
  207. package/dist/components/select/index.js +1 -1
  208. package/dist/components/select/select.d.ts +6 -0
  209. package/dist/components/sign-document/index.js +1 -1
  210. package/dist/components/skeleton/index.d.ts +1 -1
  211. package/dist/components/skeleton/index.js +1 -1
  212. package/dist/components/skeleton/skeleton.d.ts +41 -1
  213. package/dist/components/skeleton-scheme/index.js +1 -1
  214. package/dist/components/slot-grid/index.js +1 -1
  215. package/dist/components/streaming-text/index.js +1 -1
  216. package/dist/components/tabs/index.js +1 -1
  217. package/dist/components/task-card/index.js +1 -1
  218. package/dist/components/task-editor/index.js +1 -1
  219. package/dist/components/task-tray/index.js +1 -1
  220. package/dist/components/tasks-panel/index.js +1 -1
  221. package/dist/components/theme-toggle/index.js +1 -1
  222. package/dist/components/timeline/index.js +1 -1
  223. package/dist/components/tool-rail/index.js +1 -1
  224. package/dist/components/transcript-panel/index.js +1 -1
  225. package/dist/components/treatment-receipt/index.js +1 -1
  226. package/dist/components/unit-converter/index.js +1 -1
  227. package/dist/components/voice-control-panel/index.js +1 -1
  228. package/dist/components/warning-stack/index.js +1 -1
  229. package/dist/components/workflow/index.js +1 -1
  230. package/dist/hooks/index.d.ts +1 -0
  231. package/dist/hooks/index.js +81 -76
  232. package/dist/hooks/use-dismissed.d.ts +58 -0
  233. package/dist/i18n/locales/ar.d.ts +77 -0
  234. package/dist/i18n/locales/ar.js +77 -0
  235. package/dist/i18n/locales/de.d.ts +77 -0
  236. package/dist/i18n/locales/de.js +77 -0
  237. package/dist/i18n/locales/el.d.ts +77 -0
  238. package/dist/i18n/locales/el.js +77 -0
  239. package/dist/i18n/locales/en.d.ts +77 -0
  240. package/dist/i18n/locales/en.js +77 -0
  241. package/dist/i18n/locales/es.d.ts +77 -0
  242. package/dist/i18n/locales/es.js +77 -0
  243. package/dist/i18n/locales/fr.d.ts +77 -0
  244. package/dist/i18n/locales/fr.js +77 -0
  245. package/dist/i18n/locales/hi.d.ts +77 -0
  246. package/dist/i18n/locales/hi.js +77 -0
  247. package/dist/i18n/locales/it.d.ts +77 -0
  248. package/dist/i18n/locales/it.js +77 -0
  249. package/dist/i18n/locales/ja.d.ts +77 -0
  250. package/dist/i18n/locales/ja.js +77 -0
  251. package/dist/i18n/locales/nl.d.ts +77 -0
  252. package/dist/i18n/locales/nl.js +77 -0
  253. package/dist/i18n/locales/pl.d.ts +77 -0
  254. package/dist/i18n/locales/pl.js +77 -0
  255. package/dist/i18n/locales/pt.d.ts +77 -0
  256. package/dist/i18n/locales/pt.js +77 -0
  257. package/dist/i18n/locales/ro.d.ts +77 -0
  258. package/dist/i18n/locales/ro.js +77 -0
  259. package/dist/i18n/locales/ru.d.ts +77 -0
  260. package/dist/i18n/locales/ru.js +77 -0
  261. package/dist/i18n/locales/sq.d.ts +77 -0
  262. package/dist/i18n/locales/sq.js +77 -0
  263. package/dist/i18n/locales/sv.d.ts +77 -0
  264. package/dist/i18n/locales/sv.js +77 -0
  265. package/dist/i18n/locales/tr.d.ts +77 -0
  266. package/dist/i18n/locales/tr.js +77 -0
  267. package/dist/i18n/locales/zh.d.ts +77 -0
  268. package/dist/i18n/locales/zh.js +77 -0
  269. package/dist/index.js +1197 -1183
  270. package/dist/locales/ar.json +77 -0
  271. package/dist/locales/de.json +77 -0
  272. package/dist/locales/el.json +77 -0
  273. package/dist/locales/en.json +77 -0
  274. package/dist/locales/es.json +77 -0
  275. package/dist/locales/fr.json +77 -0
  276. package/dist/locales/hi.json +77 -0
  277. package/dist/locales/it.json +77 -0
  278. package/dist/locales/ja.json +77 -0
  279. package/dist/locales/nl.json +77 -0
  280. package/dist/locales/pl.json +77 -0
  281. package/dist/locales/pt.json +77 -0
  282. package/dist/locales/ro.json +77 -0
  283. package/dist/locales/ru.json +77 -0
  284. package/dist/locales/sq.json +77 -0
  285. package/dist/locales/sv.json +77 -0
  286. package/dist/locales/tr.json +77 -0
  287. package/dist/locales/zh.json +77 -0
  288. package/dist/patterns/alia-assistant/index.js +1 -1
  289. package/dist/patterns/anamnesis/index.js +1 -1
  290. package/dist/patterns/calendar/index.js +1 -1
  291. package/dist/patterns/forgot-password-form/index.js +1 -1
  292. package/dist/patterns/help-me-write-templates/index.js +2 -2
  293. package/dist/patterns/login-form/index.js +1 -1
  294. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  295. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  296. package/dist/patterns/registration-form/index.js +1 -1
  297. package/dist/patterns/signature-request/index.js +1 -1
  298. package/dist/patterns/workflow-webhook-action/index.d.ts +3 -0
  299. package/dist/patterns/workflow-webhook-action/index.js +6 -0
  300. package/dist/patterns/workflow-webhook-action/workflow-webhook-action.d.ts +93 -0
  301. package/dist/tokens.css +1 -1
  302. package/package.json +13 -1
  303. package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
  304. package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
  305. package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
  306. package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
  307. package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
@@ -2,8 +2,8 @@ import { jsx as c } from "react/jsx-runtime";
2
2
  import { forwardRef as k, useRef as N, useEffect as O, useCallback as D, useMemo as B } from "react";
3
3
  import { c as H } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as K } from "react-i18next";
5
- import { C as M } from "./country-select-DF5Bd_mn.js";
6
- import { P as U } from "./province-select-Bd20Z9Br.js";
5
+ import { C as M } from "./country-select-CSE2Zm_s.js";
6
+ import { P as U } from "./province-select-CDjs5obD.js";
7
7
  import { P as W } from "./postal-code-input-CfZOnIkW.js";
8
8
  import { C as Y } from "./city-input-3J3bz9EO.js";
9
9
  import { T as z } from "./text-input-CaG9ApoE.js";
@@ -295,4 +295,4 @@ export {
295
295
  te as A,
296
296
  X as a
297
297
  };
298
- //# sourceMappingURL=address-fields-CJtu7LQU.js.map
298
+ //# sourceMappingURL=address-fields-BUPRs3n-.js.map
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { forwardRef as h } from "react";
3
3
  import { c as x } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as y } from "react-i18next";
5
- import { A as N } from "./avatar-WZY3eGE7.js";
5
+ import { A as N } from "./avatar-BPiPL7ND.js";
6
6
  import { B as C } from "./badge-BUk4RjTS.js";
7
7
  import { i as w } from "./is-safe-url-DkETxeHz.js";
8
8
  import { C as k } from "./chevron-right-I9AeSxH2.js";
@@ -144,4 +144,4 @@ z.displayName = "AgendaCard";
144
144
  export {
145
145
  z as A
146
146
  };
147
- //# sourceMappingURL=agenda-card-DR9gDdKp.js.map
147
+ //# sourceMappingURL=agenda-card-BDuvreCe.js.map
@@ -3,9 +3,9 @@ import { forwardRef as _, useRef as w, useImperativeHandle as q, useMemo as B }
3
3
  import { c as H } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as K } from "react-i18next";
5
5
  import { I as M } from "./icon-button-C_1TgRiK.js";
6
- import { S as A } from "./skeleton-B1KTdJ4N.js";
6
+ import { S as A } from "./skeleton-tTWJpvAq.js";
7
7
  import { E as D } from "./empty-state-pL1qum99.js";
8
- import { A as V } from "./agenda-card-DR9gDdKp.js";
8
+ import { A as V } from "./agenda-card-BDuvreCe.js";
9
9
  import { u as F } from "./registry-DvAUVLHh.js";
10
10
  import { C as G } from "./calendar-days-BGWklvE-.js";
11
11
  import { P as J } from "./plus-DzMQ_c6b.js";
@@ -212,4 +212,4 @@ export {
212
212
  U as A,
213
213
  L as a
214
214
  };
215
- //# sourceMappingURL=agenda-tray-DGB1Zup-.js.map
215
+ //# sourceMappingURL=agenda-tray-CfwylhWf.js.map
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as r } from "react/jsx-runtime";
2
2
  import { forwardRef as S, useId as E } from "react";
3
3
  import { c as x } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
- import { C as P, A as b } from "./alert-DjsJMGRE.js";
5
+ import { C as P, A as b } from "./alert-9kEwDza3.js";
6
6
  import { B as U } from "./button-D-MQxsA_.js";
7
7
  import { P as _ } from "./progress-D_g_Sl2g.js";
8
8
  import { f as j, n as F } from "./intl-locale-FWh-Y5_3.js";
@@ -284,4 +284,4 @@ export {
284
284
  an as a,
285
285
  $ as i
286
286
  };
287
- //# sourceMappingURL=ai-credits-exhausted-notice-DfAgfZDF.js.map
287
+ //# sourceMappingURL=ai-credits-exhausted-notice-Bg8NpW2K.js.map
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as z, useState as C, useRef as E, useMemo as F } from "react";
3
3
  import { c as M } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as P } from "react-i18next";
5
- import { A as g } from "./alert-DjsJMGRE.js";
5
+ import { A as g } from "./alert-9kEwDza3.js";
6
6
  import { B as D } from "./badge-BUk4RjTS.js";
7
7
  import { B as H } from "./button-D-MQxsA_.js";
8
8
  import { C as J } from "./checkbox-BjDv-r3o.js";
@@ -203,4 +203,4 @@ export {
203
203
  Q as A,
204
204
  $ as a
205
205
  };
206
- //# sourceMappingURL=ai-permission-notice-qsdm4Sx4.js.map
206
+ //# sourceMappingURL=ai-permission-notice-C00i6VhY.js.map
@@ -1,18 +1,19 @@
1
1
  import { jsxs as u, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as Fe, useId as Be, useRef as H, useCallback as v, useState as W, useImperativeHandle as $e, useMemo as Ce } from "react";
3
- import { c as Oe } from "./index-D2ZczOXr.js";
4
- import { useTranslation as ee } from "react-i18next";
5
- import { u as J } from "./use-controllable-state-BiY4xTzM.js";
6
- import { u as Re } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
2
+ import { forwardRef as Ce, useId as Oe, useRef as H, useCallback as v, useState as L, useImperativeHandle as $e, useMemo as De } from "react";
3
+ import { c as Re } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as ae } from "react-i18next";
5
+ import { u as te } from "./use-controllable-state-BiY4xTzM.js";
6
+ import { u as _e } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
7
7
  import { u as je } from "./registry-DvAUVLHh.js";
8
8
  import { _ as g } from "./index-4xgbg-sn.js";
9
- import { u as _e } from "./index-BcMWc8W2.js";
10
- import { I as te } from "./icon-button-C_1TgRiK.js";
11
- import { S as We } from "./select-k4gBdS8N.js";
12
- import { b as De } from "./menu-row-BAr8bx1I.js";
13
- import { S as Le } from "./send-C5kDJ-Mz.js";
14
- import { X as Ue } from "./x-B5YnXwCz.js";
15
- const Ae = {
9
+ import { u as Le } from "./index-BcMWc8W2.js";
10
+ import { I as re } from "./icon-button-C_1TgRiK.js";
11
+ import { S as We } from "./select-4S-eYZUf.js";
12
+ import { b as Ae } from "./menu-row-BAr8bx1I.js";
13
+ import { a as W } from "./format-number-DdzqwMs1.js";
14
+ import { S as Ue } from "./send-C5kDJ-Mz.js";
15
+ import { X as Ge } from "./x-B5YnXwCz.js";
16
+ const Ze = {
16
17
  id: "ai-prompt-input",
17
18
  capabilities: ["edit_inline", "submit"],
18
19
  state: {
@@ -54,8 +55,8 @@ const Ae = {
54
55
  note: "Replace composer text."
55
56
  }
56
57
  ],
57
- invoke: (s, d) => {
58
- s.setValue(d.value);
58
+ invoke: (s, o) => {
59
+ s.setValue(o.value);
59
60
  }
60
61
  },
61
62
  clear: {
@@ -101,7 +102,7 @@ const Ae = {
101
102
  description: "Sourced from the id prop; addresses a specific composer instance."
102
103
  }
103
104
  }
104
- }, Ze = Oe(
105
+ }, qe = Re(
105
106
  [
106
107
  "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:w-full",
107
108
  "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--control-border)] ds:bg-input",
@@ -120,58 +121,58 @@ const Ae = {
120
121
  },
121
122
  defaultVariants: { size: "md" }
122
123
  }
123
- ), qe = Fe(
124
+ ), Qe = Ce(
124
125
  ({
125
126
  commands: s = [],
126
- models: d,
127
- defaultModelId: T,
128
- modelId: se,
129
- onModelChange: ae,
127
+ models: o,
128
+ defaultModelId: E,
129
+ modelId: T,
130
+ onModelChange: ne,
130
131
  maxSize: h,
131
- accept: re,
132
- context: E,
132
+ accept: ie,
133
+ context: K,
133
134
  onContextDismiss: b,
134
135
  onSubmit: x,
135
136
  onAttach: y,
136
137
  onAttachmentRejected: I,
137
- minRows: K = 2,
138
- maxRows: D = 8,
139
- value: L,
140
- defaultValue: ne,
141
- size: ie = "md",
142
- disabled: U,
143
- className: oe,
144
- placeholder: de,
145
- onChange: F,
146
- onKeyDown: B,
147
- onCompositionStart: $,
148
- onCompositionEnd: C,
149
- onPaste: O,
138
+ minRows: F = 2,
139
+ maxRows: A = 8,
140
+ value: U,
141
+ defaultValue: oe,
142
+ size: de = "md",
143
+ disabled: G,
144
+ className: le,
145
+ placeholder: ce,
146
+ onChange: B,
147
+ onKeyDown: C,
148
+ onCompositionStart: O,
149
+ onCompositionEnd: $,
150
+ onPaste: D,
150
151
  id: R,
151
- ...le
152
- }, ce) => {
153
- var X;
154
- const { t: o } = ee("ui"), pe = Be(), w = H(null), N = H(!1), ue = H(null), me = v((e) => {
152
+ ...pe
153
+ }, ue) => {
154
+ var J;
155
+ const { t: d } = ae("ui"), me = Oe(), w = H(null), N = H(!1), fe = H(null), ve = v((e) => {
155
156
  w.current = e;
156
- }, []), [fe, m] = J({
157
- value: L === void 0 ? void 0 : String(L),
158
- defaultValue: String(ne ?? "")
159
- }), i = fe ?? "", [p, S] = W([]), [f, k] = W(!1), [ve, M] = W(""), [ge, he] = J({
160
- value: se,
161
- defaultValue: T ?? ((X = d == null ? void 0 : d[0]) == null ? void 0 : X.id) ?? "",
162
- onChange: ae
163
- }), j = ge ?? "", A = v(() => {
157
+ }, []), [ge, m] = te({
158
+ value: U === void 0 ? void 0 : String(U),
159
+ defaultValue: String(oe ?? "")
160
+ }), i = ge ?? "", [p, S] = L([]), [f, k] = L(!1), [he, M] = L(""), [be, xe] = te({
161
+ value: T,
162
+ defaultValue: E ?? ((J = o == null ? void 0 : o[0]) == null ? void 0 : J.id) ?? "",
163
+ onChange: ne
164
+ }), _ = be ?? "", Z = v(() => {
164
165
  const e = w.current;
165
166
  if (!e) return;
166
- const t = window.getComputedStyle(e), n = parseFloat(t.lineHeight) || 24, r = parseFloat(t.paddingTop) || 0, c = parseFloat(t.paddingBottom) || 0, l = parseFloat(t.borderTopWidth) || 0, _ = parseFloat(t.borderBottomWidth) || 0, V = r + c + l + _, Ee = n * K + V, Y = n * D + V;
167
+ const t = window.getComputedStyle(e), n = parseFloat(t.lineHeight) || 24, r = parseFloat(t.paddingTop) || 0, c = parseFloat(t.paddingBottom) || 0, l = parseFloat(t.borderTopWidth) || 0, j = parseFloat(t.borderBottomWidth) || 0, V = r + c + l + j, Fe = n * F + V, ee = n * A + V;
167
168
  e.style.height = "auto";
168
- const Ke = Math.max(Ee, Math.min(e.scrollHeight, Y));
169
- e.style.height = `${Ke}px`, e.style.overflowY = e.scrollHeight > Y ? "auto" : "hidden";
170
- }, [K, D]);
171
- Re(() => {
172
- A();
173
- }, [A, i]);
174
- const be = v((e, t) => {
169
+ const Be = Math.max(Fe, Math.min(e.scrollHeight, ee));
170
+ e.style.height = `${Be}px`, e.style.overflowY = e.scrollHeight > ee ? "auto" : "hidden";
171
+ }, [F, A]);
172
+ _e(() => {
173
+ Z();
174
+ }, [Z, i]);
175
+ const ye = v((e, t) => {
175
176
  const r = e.slice(0, t).lastIndexOf(`
176
177
  `) + 1, c = e.slice(r, t);
177
178
  if (c.startsWith("/")) {
@@ -182,16 +183,16 @@ const Ae = {
182
183
  }
183
184
  }
184
185
  k(!1), M("");
185
- }, []), xe = (e) => {
186
+ }, []), Ie = (e) => {
186
187
  if (m(e.target.value), N.current) return;
187
- F == null || F(e);
188
+ B == null || B(e);
188
189
  const t = e.target.selectionStart ?? e.target.value.length;
189
- be(e.target.value, t);
190
- }, ye = (e) => {
191
- N.current = !0, $ == null || $(e);
192
- }, Ie = (e) => {
193
- N.current = !1, C == null || C(e);
194
- }, we = (e) => e.nativeEvent.isComposing || e.keyCode === 229 || N.current, P = v(() => {
190
+ ye(e.target.value, t);
191
+ }, we = (e) => {
192
+ N.current = !0, O == null || O(e);
193
+ }, Ne = (e) => {
194
+ N.current = !1, $ == null || $(e);
195
+ }, Se = (e) => e.nativeEvent.isComposing || e.keyCode === 229 || N.current, P = v(() => {
195
196
  if (!i.trim() && p.length === 0) return;
196
197
  let t, n = i;
197
198
  const r = i.match(/^\/(\S+)\s?/);
@@ -199,11 +200,11 @@ const Ae = {
199
200
  text: n,
200
201
  command: t,
201
202
  attachments: p,
202
- modelId: j || void 0
203
+ modelId: _ || void 0
203
204
  }), m(""), S([]);
204
- }, [i, p, x, j, m]), Z = H(null);
205
- $e(ce, () => Z.current, []);
206
- const Ne = Ce(
205
+ }, [i, p, x, _, m]), q = H(null);
206
+ $e(ue, () => q.current, []);
207
+ const ke = De(
207
208
  () => ({
208
209
  getValue: () => i,
209
210
  isEmpty: () => !i.trim() && p.length === 0,
@@ -224,16 +225,16 @@ const Ae = {
224
225
  }),
225
226
  [i, p, m, P]
226
227
  );
227
- je(Ae, Ne, R);
228
- const Se = (e) => {
229
- if (B == null || B(e), !e.defaultPrevented && !we(e)) {
228
+ je(Ze, ke, R);
229
+ const Me = (e) => {
230
+ if (C == null || C(e), !e.defaultPrevented && !Se(e)) {
230
231
  if (f && e.key === "Escape") {
231
232
  e.preventDefault(), k(!1);
232
233
  return;
233
234
  }
234
235
  e.key === "Enter" && (e.metaKey || e.ctrlKey) && (e.preventDefault(), P());
235
236
  }
236
- }, ke = (e) => {
237
+ }, Pe = (e) => {
237
238
  const t = w.current;
238
239
  if (!t) return;
239
240
  const n = t.selectionStart ?? i.length, c = i.slice(0, n).lastIndexOf(`
@@ -241,10 +242,10 @@ const Ae = {
241
242
  let l = n;
242
243
  for (; l < i.length && !/\s/.test(i[l]); )
243
244
  l += 1;
244
- const _ = i.slice(l), V = i.slice(0, c) + `/${e.id} ` + _;
245
+ const j = i.slice(l), V = i.slice(0, c) + `/${e.id} ` + j;
245
246
  m(V), k(!1), M(""), queueMicrotask(() => t.focus());
246
- }, Me = (e) => {
247
- if (O == null || O(e), e.defaultPrevented) return;
247
+ }, ze = (e) => {
248
+ if (D == null || D(e), e.defaultPrevented) return;
248
249
  const { clipboardData: t } = e;
249
250
  if (!t) return;
250
251
  const n = [];
@@ -255,15 +256,15 @@ const Ae = {
255
256
  l && n.push(l);
256
257
  }
257
258
  }
258
- n.length > 0 && (e.preventDefault(), q(n));
259
- }, q = v(
259
+ n.length > 0 && (e.preventDefault(), Q(n));
260
+ }, Q = v(
260
261
  (e) => {
261
262
  var n;
262
263
  const t = [];
263
264
  for (const r of e) {
264
265
  if (typeof h == "number" && r.size > h) {
265
266
  I == null || I(
266
- o("chat.attachment.rejected", { reason: "size" })
267
+ d("chat.attachment.rejected", { reason: "size" })
267
268
  );
268
269
  continue;
269
270
  }
@@ -274,36 +275,36 @@ const Ae = {
274
275
  }
275
276
  t.length > 0 && (S((r) => [...r, ...t]), y == null || y(t.map((r) => r.file)));
276
277
  },
277
- [h, y, I, o]
278
- ), { getRootProps: Pe, getInputProps: ze, isDragActive: Ve } = _e({
279
- onDrop: q,
278
+ [h, y, I, d]
279
+ ), { getRootProps: Ve, getInputProps: He, isDragActive: Ee } = Le({
280
+ onDrop: Q,
280
281
  maxSize: h,
281
- accept: re,
282
+ accept: ie,
282
283
  noClick: !0,
283
284
  noKeyboard: !0
284
- }), He = (e) => {
285
+ }), Te = (e) => {
285
286
  S((t) => t.filter((n) => n.id !== e));
286
- }, z = R ?? pe, G = `${z}-label`, Q = `${z}-slash-list`, Te = (d == null ? void 0 : d.map((e) => ({ value: e.id, label: e.label }))) ?? [];
287
+ }, z = R ?? me, X = `${z}-label`, Y = `${z}-slash-list`, Ke = (o == null ? void 0 : o.map((e) => ({ value: e.id, label: e.label }))) ?? [];
287
288
  return /* @__PURE__ */ u(
288
289
  "div",
289
290
  {
290
- ref: Z,
291
- ...Pe({
291
+ ref: q,
292
+ ...Ve({
292
293
  className: [
293
- Ze({ size: ie, className: oe }),
294
- Ve ? "ds:outline ds:outline-dashed ds:outline-[color:var(--primary)] ds:outline-offset-2 ds:bg-[color:var(--primary)]/5" : ""
294
+ qe({ size: de, className: le }),
295
+ Ee ? "ds:outline ds:outline-dashed ds:outline-[color:var(--primary)] ds:outline-offset-2 ds:bg-[color:var(--primary)]/5" : ""
295
296
  ].join(" ")
296
297
  }),
297
- "aria-label": o("chat.attachmentZone"),
298
+ "aria-label": d("chat.attachmentZone"),
298
299
  "data-component": "ai-prompt-input",
299
300
  "data-component-id": R,
300
301
  children: [
301
- /* @__PURE__ */ a("input", { "aria-label": o("chat.attachmentZone"), ...ze() }),
302
- E ? /* @__PURE__ */ a("div", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)]", children: /* @__PURE__ */ a(
302
+ /* @__PURE__ */ a("input", { "aria-label": d("chat.attachmentZone"), ...He() }),
303
+ K ? /* @__PURE__ */ a("div", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)]", children: /* @__PURE__ */ a(
303
304
  "button",
304
305
  {
305
306
  type: "button",
306
- "aria-label": o("chat.contextActive", { name: E }),
307
+ "aria-label": d("chat.contextActive", { name: K }),
307
308
  onClick: b,
308
309
  onKeyDown: (e) => {
309
310
  (e.key === "Backspace" || e.key === "Delete") && (e.preventDefault(), b == null || b());
@@ -318,29 +319,29 @@ const Ae = {
318
319
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)]",
319
320
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
320
321
  ].join(" "),
321
- children: o("chat.contextActive", { name: E })
322
+ children: d("chat.contextActive", { name: K })
322
323
  }
323
324
  ) }) : null,
324
- /* @__PURE__ */ a("label", { id: G, htmlFor: z, className: "ds:sr-only", children: o("chat.prompt") }),
325
+ /* @__PURE__ */ a("label", { id: X, htmlFor: z, className: "ds:sr-only", children: d("chat.prompt") }),
325
326
  /* @__PURE__ */ u("div", { className: "ds:relative", children: [
326
327
  /* @__PURE__ */ a(
327
328
  "textarea",
328
329
  {
329
- ref: me,
330
+ ref: ve,
330
331
  id: z,
331
- rows: K,
332
+ rows: F,
332
333
  value: i,
333
- disabled: U,
334
- placeholder: de ?? o("chat.input.placeholder"),
335
- "aria-labelledby": G,
334
+ disabled: G,
335
+ placeholder: ce ?? d("chat.input.placeholder"),
336
+ "aria-labelledby": X,
336
337
  role: f ? "combobox" : void 0,
337
- "aria-controls": f ? Q : void 0,
338
+ "aria-controls": f ? Y : void 0,
338
339
  "aria-expanded": f ? !0 : void 0,
339
- onChange: xe,
340
- onKeyDown: Se,
341
- onPaste: Me,
342
- onCompositionStart: ye,
343
- onCompositionEnd: Ie,
340
+ onChange: Ie,
341
+ onKeyDown: Me,
342
+ onPaste: ze,
343
+ onCompositionStart: we,
344
+ onCompositionEnd: Ne,
344
345
  className: [
345
346
  "ds:w-full ds:resize-none ds:bg-transparent ds:outline-none",
346
347
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-xs)]",
@@ -348,13 +349,13 @@ const Ae = {
348
349
  "ds:leading-[var(--line-height-base)]",
349
350
  "ds:disabled:opacity-50 ds:disabled:cursor-not-allowed"
350
351
  ].join(" "),
351
- ...le
352
+ ...pe
352
353
  }
353
354
  ),
354
355
  f ? /* @__PURE__ */ a(
355
356
  "div",
356
357
  {
357
- ref: ue,
358
+ ref: fe,
358
359
  className: [
359
360
  "ds:absolute ds:start-[var(--spacing-md)] ds:top-full ds:z-50",
360
361
  "ds:mt-[var(--spacing-xs)]",
@@ -367,29 +368,29 @@ const Ae = {
367
368
  "ds:origin-top ds:motion-safe:animate-in ds:motion-safe:fade-in-0 ds:motion-safe:zoom-in-95",
368
369
  "ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]"
369
370
  ].join(" "),
370
- id: Q,
371
- children: /* @__PURE__ */ u(g, { label: o("chat.slashMenu.label"), loop: !0, children: [
371
+ id: Y,
372
+ children: /* @__PURE__ */ u(g, { label: d("chat.slashMenu.label"), loop: !0, children: [
372
373
  /* @__PURE__ */ a(
373
374
  g.Input,
374
375
  {
375
- value: ve,
376
+ value: he,
376
377
  onValueChange: M,
377
378
  className: "ds:sr-only"
378
379
  }
379
380
  ),
380
381
  /* @__PURE__ */ u(g.List, { className: "ds:max-h-60 ds:overflow-y-auto ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]", children: [
381
- /* @__PURE__ */ a(g.Empty, { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: o("chat.slashMenu.empty") }),
382
+ /* @__PURE__ */ a(g.Empty, { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: d("chat.slashMenu.empty") }),
382
383
  s.map((e) => /* @__PURE__ */ u(
383
384
  g.Item,
384
385
  {
385
386
  value: e.id,
386
- onSelect: () => ke(e),
387
+ onSelect: () => Pe(e),
387
388
  className: [
388
389
  "ds:flex ds:flex-col ds:gap-[2px]",
389
390
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
390
391
  "ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]",
391
392
  "type-body-sm ds:cursor-pointer",
392
- De.selected
393
+ Ae.selected
393
394
  ].join(" "),
394
395
  children: [
395
396
  /* @__PURE__ */ u("span", { className: "ds:font-medium", children: [
@@ -410,40 +411,40 @@ const Ae = {
410
411
  "div",
411
412
  {
412
413
  role: "group",
413
- "aria-label": o("chat.attachmentZone"),
414
+ "aria-label": d("chat.attachmentZone"),
414
415
  className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-xs)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
415
416
  children: p.map((e) => /* @__PURE__ */ a(
416
- Qe,
417
+ Ye,
417
418
  {
418
419
  file: e.file,
419
- onRemove: () => He(e.id)
420
+ onRemove: () => Te(e.id)
420
421
  },
421
422
  e.id
422
423
  ))
423
424
  }
424
425
  ) : null,
425
426
  /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]", children: [
426
- d && d.length > 0 ? /* @__PURE__ */ a("div", { className: "ds:me-auto ds:min-w-[140px]", children: /* @__PURE__ */ a(
427
+ o && o.length > 0 ? /* @__PURE__ */ a("div", { className: "ds:me-auto ds:min-w-[140px]", children: /* @__PURE__ */ a(
427
428
  We,
428
429
  {
429
- "aria-label": o("chat.model.select"),
430
- options: Te,
431
- value: j || "",
430
+ "aria-label": d("chat.model.select"),
431
+ options: Ke,
432
+ value: _ || "",
432
433
  onValueChange: (e) => {
433
- he(e);
434
+ xe(e);
434
435
  },
435
436
  size: "sm"
436
437
  }
437
438
  ) }) : /* @__PURE__ */ a("div", { className: "ds:me-auto" }),
438
- /* @__PURE__ */ a("span", { className: "ds:sr-only", children: o("chat.input.sendHint") }),
439
+ /* @__PURE__ */ a("span", { className: "ds:sr-only", children: d("chat.input.sendHint") }),
439
440
  /* @__PURE__ */ a(
440
- te,
441
+ re,
441
442
  {
442
- icon: /* @__PURE__ */ a(Le, {}),
443
- "aria-label": o("chat.send"),
443
+ icon: /* @__PURE__ */ a(Ue, {}),
444
+ "aria-label": d("chat.send"),
444
445
  intent: "primary",
445
446
  size: "sm",
446
- disabled: U || !i.trim() && p.length === 0,
447
+ disabled: G || !i.trim() && p.length === 0,
447
448
  onClick: P,
448
449
  "aria-keyshortcuts": "Meta+Enter Control+Enter"
449
450
  }
@@ -454,15 +455,16 @@ const Ae = {
454
455
  );
455
456
  }
456
457
  );
457
- qe.displayName = "AIPromptInput";
458
- function Ge(s) {
459
- return s < 1024 ? `${s} B` : s < 1024 * 1024 ? `${(s / 1024).toFixed(1)} KB` : `${(s / (1024 * 1024)).toFixed(1)} MB`;
458
+ Qe.displayName = "AIPromptInput";
459
+ const se = { minimumFractionDigits: 1, maximumFractionDigits: 1 };
460
+ function Xe(s, o) {
461
+ return s < 1024 ? `${W(s, o, { useGrouping: !1 })} B` : s < 1024 * 1024 ? `${W(s / 1024, o, se)} KB` : `${W(s / (1024 * 1024), o, se)} MB`;
460
462
  }
461
- function Qe({
463
+ function Ye({
462
464
  file: s,
463
- onRemove: d
465
+ onRemove: o
464
466
  }) {
465
- const { t: T } = ee("ui");
467
+ const { t: E, i18n: T } = ae("ui");
466
468
  return /* @__PURE__ */ u(
467
469
  "span",
468
470
  {
@@ -478,15 +480,15 @@ function Qe({
478
480
  ].join(" "),
479
481
  children: [
480
482
  /* @__PURE__ */ a("span", { className: "ds:truncate ds:max-w-[16ch]", children: s.name }),
481
- /* @__PURE__ */ a("span", { className: "ds:text-[color:var(--muted-foreground)] ds:tabular-nums", children: Ge(s.size) }),
483
+ /* @__PURE__ */ a("span", { className: "ds:text-[color:var(--muted-foreground)] ds:tabular-nums", children: Xe(s.size, T.language) }),
482
484
  /* @__PURE__ */ a(
483
- te,
485
+ re,
484
486
  {
485
- icon: /* @__PURE__ */ a(Ue, {}),
486
- "aria-label": T("chat.attachment.remove", { name: s.name }),
487
+ icon: /* @__PURE__ */ a(Ge, {}),
488
+ "aria-label": E("chat.attachment.remove", { name: s.name }),
487
489
  intent: "ghost",
488
490
  size: "sm",
489
- onClick: d
491
+ onClick: o
490
492
  }
491
493
  )
492
494
  ]
@@ -494,7 +496,7 @@ function Qe({
494
496
  );
495
497
  }
496
498
  export {
497
- qe as A,
498
- Ae as a
499
+ Qe as A,
500
+ Ze as a
499
501
  };
500
- //# sourceMappingURL=ai-prompt-input-DSGSe4LH.js.map
502
+ //# sourceMappingURL=ai-prompt-input-DzgyoKyk.js.map