@alfadocs/ui-kit 1.47.0 → 1.48.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 (442) hide show
  1. package/dist/_chunks/{actions-cell-renderer-B5m9lwgC.js → actions-cell-renderer-DMittsR3.js} +4 -4
  2. package/dist/_chunks/{address-autocomplete-Bq-1n1UX.js → address-autocomplete-Dp5uMvKP.js} +61 -60
  3. package/dist/_chunks/{address-fields-jFfjxOQR.js → address-fields-QfC-N3pw.js} +5 -5
  4. package/dist/_chunks/{agenda-card-DyQtHb9z.js → agenda-card-C4h0xMGi.js} +2 -2
  5. package/dist/_chunks/{agenda-tray-CBaJASb5.js → agenda-tray-DNZYW2xt.js} +4 -4
  6. package/dist/_chunks/{ai-credits-notice-xszqOZTC.js → ai-credits-notice-C-kz_RrY.js} +3 -3
  7. package/dist/_chunks/{ai-permission-notice-D7I2U-cz.js → ai-permission-notice-BRZeS3mT.js} +3 -3
  8. package/dist/_chunks/{ai-prompt-input-DXknpQCB.js → ai-prompt-input-CxvnXsAs.js} +82 -82
  9. package/dist/_chunks/{alia-sidebar-CUqaJNPQ.js → alia-sidebar-Crn8OGPF.js} +7 -7
  10. package/dist/_chunks/{anamnesis-card-xtEhyojD.js → anamnesis-card-D8Si-2GV.js} +3 -3
  11. package/dist/_chunks/{anamnesis-summary-card-CclBbiXg.js → anamnesis-summary-card-DPyScUMM.js} +2 -2
  12. package/dist/_chunks/{anamnesis-summary-rows-DI-UX5r6.js → anamnesis-summary-rows-CZirLRuv.js} +12 -12
  13. package/dist/_chunks/{antenatal-schedule-timeline-CXk_tzWG.js → antenatal-schedule-timeline-8fm3vPSV.js} +2 -2
  14. package/dist/_chunks/{appointment-card-DluZy8Iv.js → appointment-card-CvGU0QP6.js} +5 -5
  15. package/dist/_chunks/{appointment-peek-BsfCpiJs.js → appointment-peek--dmWznLZ.js} +5 -5
  16. package/dist/_chunks/{appointment-timeline-Cs5f9viN.js → appointment-timeline-y9uYZMUd.js} +6 -6
  17. package/dist/_chunks/{appointment-tray-CLrGGnKR.js → appointment-tray-BTecNeSb.js} +4 -4
  18. package/dist/_chunks/appointment-workflow-status-CS8ufF1f.js +66 -0
  19. package/dist/_chunks/{audio-recorder-B7dT-Y3v.js → audio-recorder-DZBtAvLH.js} +4 -4
  20. package/dist/_chunks/{autocomplete-MpBhz-fG.js → autocomplete-DSasZUf6.js} +65 -64
  21. package/dist/_chunks/{badge-BudgzTe_.js → badge-BAkd6_Pj.js} +24 -17
  22. package/dist/_chunks/{balance-badge-cell-YGrYdrvR.js → balance-badge-cell-CA0YNJMR.js} +6 -6
  23. package/dist/_chunks/{bishop-score-Cu70iv9C.js → bishop-score-BMLRvXYF.js} +4 -4
  24. package/dist/_chunks/{bmi-calculator-C9N19aLX.js → bmi-calculator-DUhRyyrA.js} +3 -3
  25. package/dist/_chunks/{booking-C4MwImkS.js → booking-BQYFDcrz.js} +10 -10
  26. package/dist/_chunks/{breadcrumb-agut0PwN.js → breadcrumb-D3boYzD4.js} +50 -49
  27. package/dist/_chunks/{button-CaUe1uyd.js → button-18oBsI3n.js} +54 -50
  28. package/dist/_chunks/button-group-BSDqso_C.js +408 -0
  29. package/dist/_chunks/{calendar-OzSeTb4V.js → calendar-DjoJ9ovF.js} +11 -17
  30. package/dist/_chunks/{calendar-event-card-B6N5h1dO.js → calendar-event-card-BUbKBPv_.js} +55 -73
  31. package/dist/_chunks/calendar-workspace-D8zX9JWm.js +10423 -0
  32. package/dist/_chunks/{care-plan-card-BOv0NRle.js → care-plan-card-ciBaaguw.js} +4 -4
  33. package/dist/_chunks/{care-plan-entry-card-d-rZD4li.js → care-plan-entry-card-D7A0whiZ.js} +5 -5
  34. package/dist/_chunks/{care-plan-header-CEmBXn6-.js → care-plan-header-DKV1gLqv.js} +4 -4
  35. package/dist/_chunks/{carousel.agent-z1yLBpyC.js → carousel.agent-DqDGR2yH.js} +2 -2
  36. package/dist/_chunks/{chart-D8ucl8hH.js → chart-VjuXDXOZ.js} +3 -3
  37. package/dist/_chunks/{chat-input-Cj7ZYQr5.js → chat-input-BVho_SqP.js} +2 -2
  38. package/dist/_chunks/{chat-message-BMVxiUIX.js → chat-message-Co_NRGM4.js} +3 -3
  39. package/dist/_chunks/{smartphone-DaPcFw-X.js → circle-dashed-CUj6o2cA.js} +3 -14
  40. package/dist/_chunks/{city-input-DaQc-Hbj.js → city-input-BGYc4lRV.js} +2 -2
  41. package/dist/_chunks/{clinical-note-card-DdsGYMmI.js → clinical-note-card-DYDQ3q2x.js} +89 -74
  42. package/dist/_chunks/{code-block-BB-viuTn.js → code-block-C_eNHWaa.js} +2 -2
  43. package/dist/_chunks/combobox-B_rLwmSv.js +578 -0
  44. package/dist/_chunks/{command-palette-DQl_SNEv.js → command-palette-DhgGo7GJ.js} +82 -80
  45. package/dist/_chunks/{connection-status-BmA9T0UO.js → connection-status-Cfux3TvH.js} +4 -4
  46. package/dist/_chunks/{contact-profile-card-C0WpwpVV.js → contact-profile-card-Dj4NgBL-.js} +3 -3
  47. package/dist/_chunks/control-room-rail-DAO0qfOI.js +379 -0
  48. package/dist/_chunks/{copy-field-B8XRVmQv.js → copy-field-Cm4y5Bff.js} +2 -2
  49. package/dist/_chunks/{country-select-CfDNFG5c.js → country-select-C5jZjO8O.js} +2 -2
  50. package/dist/_chunks/{cycle-calculator-BH2StWoT.js → cycle-calculator-B9lBRNiZ.js} +3 -3
  51. package/dist/_chunks/{dashboard-grid-BcXWL5S9.js → dashboard-grid-uX7x1ePj.js} +2 -2
  52. package/dist/_chunks/{data-table-DnKOmEVw.js → data-table-DWOSxlsy.js} +9 -9
  53. package/dist/_chunks/{data-table-tabs-B9SXA5VP.js → data-table-tabs-CzYYKp2_.js} +3 -3
  54. package/dist/_chunks/{dependent-selector-BHDP0nBB.js → dependent-selector-BR_8D2Qu.js} +2 -2
  55. package/dist/_chunks/{description-list-BsJ_6CQE.js → description-list-1A2DEbE6.js} +2 -2
  56. package/dist/_chunks/{document-preview-COV0BC6n.js → document-preview-Od2Hz4z5.js} +13 -12
  57. package/dist/_chunks/{document-scanner-B1abl-A4.js → document-scanner-p0aGlzCy.js} +3 -3
  58. package/dist/_chunks/{dropdown-menu-DU-Hrf33.js → dropdown-menu-C8PaW3lR.js} +110 -96
  59. package/dist/_chunks/{due-date-calculator-Buh_mVHq.js → due-date-calculator-BVqJaxzd.js} +4 -4
  60. package/dist/_chunks/{editable-currency-cell-renderer-OUkUv7U4.js → editable-currency-cell-renderer-D_G2Ap61.js} +4 -4
  61. package/dist/_chunks/{editable-description-ADMVFPUz.js → editable-description-B4NVdjvd.js} +3 -3
  62. package/dist/_chunks/{editor-overlay-DwNKaI22.js → editor-overlay-BDiBvQmL.js} +2 -2
  63. package/dist/_chunks/{empty-state-BUN_UAWf.js → empty-state-DTBZ1ENT.js} +2 -2
  64. package/dist/_chunks/{entity-card-I-Gio5wo.js → entity-card-D1Yrh9wf.js} +2 -1
  65. package/dist/_chunks/{entity-summary-DXejuQ8i.js → entity-summary-Ckz_U00H.js} +3 -3
  66. package/dist/_chunks/{error-boundary-BNT2iQ1w.js → error-boundary-BxTqEXqj.js} +2 -2
  67. package/dist/_chunks/euro-Dsuz4ixO.js +22 -0
  68. package/dist/_chunks/{face-scheme-mIhwrQXt.js → face-scheme-fku-RShg.js} +71 -71
  69. package/dist/_chunks/{fetal-weight-wx4ycKc6.js → fetal-weight-B69yOS9W.js} +3 -3
  70. package/dist/_chunks/{field-array-BW9KeeXG.js → field-array-lIXrFWS0.js} +3 -3
  71. package/dist/_chunks/file-BuG1VMAy.js +21 -0
  72. package/dist/_chunks/{file-Cwe9VC1A.js → file-image-cDgE-BTy.js} +2 -19
  73. package/dist/_chunks/{file-manager-DOcJGIx2.js → file-manager-CqgxLqoA.js} +15 -14
  74. package/dist/_chunks/{file-upload-BDpb08GM.js → file-upload-B242a_Y1.js} +53 -52
  75. package/dist/_chunks/{finished-terminal-DJd7Z_po.js → finished-terminal-B2oqXO0Y.js} +2 -2
  76. package/dist/_chunks/fiscal-code-input-BEF8eKIG.js +572 -0
  77. package/dist/_chunks/{freemium-paywall-BaW5ODc9.js → freemium-paywall-B6JITu4l.js} +2 -2
  78. package/dist/_chunks/{gestational-age-calculator-CwbecTul.js → gestational-age-calculator-DsGN6_HS.js} +5 -5
  79. package/dist/_chunks/handled-rejection-6gqCf5vt.js +13 -0
  80. package/dist/_chunks/{hcg-doubling-BcXriXJe.js → hcg-doubling-D2SH-e7t.js} +3 -3
  81. package/dist/_chunks/{header-3o9o9v_T.js → header-CCjp5GvE.js} +2 -2
  82. package/dist/_chunks/{header-settings-BEfx_-TF.js → header-settings-ZXa6hXuu.js} +5 -5
  83. package/dist/_chunks/{help-me-write-templates-DHIwa4xR.js → help-me-write-templates-DQtT1qs_.js} +5 -5
  84. package/dist/_chunks/history-CK2JaU2g.js +16 -0
  85. package/dist/_chunks/{hover-card-nUae8NPJ.js → hover-card-BplP5SzQ.js} +2 -2
  86. package/dist/_chunks/{icon-button-CehAeZoP.js → icon-button-CY7GU_Se.js} +2 -2
  87. package/dist/_chunks/icon-button-group-B_426QN_.js +431 -0
  88. package/dist/_chunks/{icon-picker-DMEelg9v.js → icon-picker-ZLebyB0U.js} +3 -3
  89. package/dist/_chunks/{image-cropper-BjPjT7wU.js → image-cropper-_HiNN79d.js} +2 -2
  90. package/dist/_chunks/{info-tip-iP2Pm9dh.js → info-tip-laBxZhKu.js} +2 -2
  91. package/dist/_chunks/{insert-result-DPnOBD85.js → insert-result-CSuPQyKL.js} +2 -2
  92. package/dist/_chunks/{key-value-pair-DaQI_LZB.js → key-value-pair-Dcdl3Gni.js} +2 -2
  93. package/dist/_chunks/{kit-extensions-DuoFF1R3.js → kit-extensions-BTJSnM_H.js} +6 -6
  94. package/dist/_chunks/{link-cell-renderer-s3oHzOwi.js → link-cell-renderer-Tswqf6BT.js} +7 -7
  95. package/dist/_chunks/{locale-picker-CH3kfrIG.js → locale-picker-DGkQmhV9.js} +170 -180
  96. package/dist/_chunks/{map-view-CHw4RL6w.js → map-view-Bb7ClKSF.js} +2 -2
  97. package/dist/_chunks/{marketplace-app-shell-PB89Dkk_.js → marketplace-app-shell-Dehuxbi-.js} +6 -6
  98. package/dist/_chunks/menu-row-BAr8bx1I.js +95 -0
  99. package/dist/_chunks/{message-card-V3sFPiQI.js → message-card-DKOtnBHy.js} +3 -3
  100. package/dist/_chunks/{message-tray-CrRIHfiQ.js → message-tray-COMEtmyr.js} +4 -4
  101. package/dist/_chunks/{multi-select-CtPd7g4x.js → multi-select-N4Smh-gj.js} +114 -113
  102. package/dist/_chunks/{muscle-scheme-UVz_x4iE.js → muscle-scheme-Co0NIgbU.js} +3 -3
  103. package/dist/_chunks/{note-attachment-CwDir3kK.js → note-attachment-CGjNTrAC.js} +2 -2
  104. package/dist/_chunks/{note-timeline-Dn_XTo1s.js → note-timeline-CVnKL0p6.js} +2 -2
  105. package/dist/_chunks/notes-panel-BiOxZL_0.js +1111 -0
  106. package/dist/_chunks/{notification-card-B2gLO6dK.js → notification-card-DDzBCi8l.js} +3 -3
  107. package/dist/_chunks/{notification-tray-BOEKegVV.js → notification-tray-PnH2PBlZ.js} +4 -4
  108. package/dist/_chunks/{operator-hero-XIdwDmN2.js → operator-hero-5061fkY5.js} +3 -3
  109. package/dist/_chunks/{optical-prescription-LGgmtcST.js → optical-prescription-DUufWXfZ.js} +3 -3
  110. package/dist/_chunks/{pagination-EkD5SiCK.js → pagination-B0N2qGy_.js} +83 -82
  111. package/dist/_chunks/panel-subview-CzHutkA8.js +217 -0
  112. package/dist/_chunks/{patient-details-yrgkSeEY.js → patient-details-C23Hdm8v.js} +3 -3
  113. package/dist/_chunks/{patient-field-row-DCMkFGqI.js → patient-field-row-DElFbpKc.js} +12 -12
  114. package/dist/_chunks/{patient-search-5QcmQKJD.js → patient-search-DgXdGkhK.js} +4 -4
  115. package/dist/_chunks/{patient-summary-card-CmEFflGS.js → patient-summary-card-C36L3h7h.js} +7 -7
  116. package/dist/_chunks/{payment-automation-upsell-BKmBXU4i.js → payment-automation-upsell-ugi4np1l.js} +3 -3
  117. package/dist/_chunks/{payment-request-card-Cer6XXCn.js → payment-request-card-DMJB57Tv.js} +5 -5
  118. package/dist/_chunks/{periodontal-chart-DJoZS_o7.js → periodontal-chart-DbGzKDj7.js} +2 -2
  119. package/dist/_chunks/{periodontal-chart-card-Nd1ZoYWb.js → periodontal-chart-card-DvHyP47v.js} +3 -3
  120. package/dist/_chunks/{periodontal-diagnosis-C7pfPOct.js → periodontal-diagnosis-B8WqI0eU.js} +2 -2
  121. package/dist/_chunks/{periodontal-risk-chart-B2tNFa15.js → periodontal-risk-chart-DsFRFFSz.js} +2 -2
  122. package/dist/_chunks/{phone-input-IWrGOCwm.js → phone-input-sQj-zi59.js} +85 -86
  123. package/dist/_chunks/{popover-DO-pssF3.js → popover-Dvb40vPH.js} +2 -2
  124. package/dist/_chunks/{practice-profile-hero-DxoLlQr5.js → practice-profile-hero-CPy5h2yI.js} +2 -2
  125. package/dist/_chunks/{practice-results-D11Zpt27.js → practice-results-t2BHht91.js} +7 -7
  126. package/dist/_chunks/{pregnancy-dating-DcyV9ZRD.js → pregnancy-dating-lfjjZVZH.js} +5 -5
  127. package/dist/_chunks/{pregnancy-weight-gain-Bfq4Kwt5.js → pregnancy-weight-gain-WpNt-S0q.js} +3 -3
  128. package/dist/_chunks/{privacy-lock-CbFCAMM3.js → privacy-lock-D6gq0GDg.js} +3 -3
  129. package/dist/_chunks/privacy-mask-BC5lw2zB.js +81 -0
  130. package/dist/_chunks/{product-hub-panel-w40-_-1s.js → product-hub-panel-CKeSCSeE.js} +3 -3
  131. package/dist/_chunks/{province-select-BaUnkg4S.js → province-select-BiszMRRY.js} +2 -2
  132. package/dist/_chunks/{public-header.agent-D-EBVskf.js → public-header.agent-B9wDmUeB.js} +3 -3
  133. package/dist/_chunks/{radiograph-panel.agent-LrILY2lN.js → radiograph-panel.agent-TmyIvTOa.js} +6 -6
  134. package/dist/_chunks/{reviews-panel-2GVuxGeT.js → reviews-panel-BdwFp_0c.js} +4 -4
  135. package/dist/_chunks/{rich-text-editor-BwDV2XkZ.js → rich-text-editor-y6ML0KeV.js} +12 -11
  136. package/dist/_chunks/{search-bar-CCmViqaa.js → search-bar-6bHatpYJ.js} +69 -67
  137. package/dist/_chunks/{select-CLSUnKjF.js → select-upNAltly.js} +89 -88
  138. package/dist/_chunks/{session-countdown-BqppPrw6.js → session-countdown-ACJyTXH2.js} +2 -2
  139. package/dist/_chunks/{sheet-C8WIDFS8.js → sheet-D0Lh0KR2.js} +2 -2
  140. package/dist/_chunks/{sign-in-with-alfadocs-button-DWwBJtyE.js → sign-in-with-alfadocs-button-CDyJAIzW.js} +2 -2
  141. package/dist/_chunks/{signature-request-D_j2aQu1.js → signature-request-15D363w5.js} +6 -6
  142. package/dist/_chunks/{signature-status-chip-D4NsrdeI.js → signature-status-chip-Dz6sS2oA.js} +2 -2
  143. package/dist/_chunks/{slot-grid-B3eOPkKD.js → slot-grid-4fWH3Euk.js} +4 -4
  144. package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
  145. package/dist/_chunks/{streaming-text-CE1u_oGa.js → streaming-text-eRiizArc.js} +2 -2
  146. package/dist/_chunks/{tab-bar-Cw9UK18Z.js → tab-bar-BHFf6knq.js} +9 -9
  147. package/dist/_chunks/{tabs-BnRaLT0y.js → tabs-CFsuMQ5H.js} +82 -81
  148. package/dist/_chunks/{tag-Ci3xJPcH.js → tag-B65tLWvD.js} +24 -21
  149. package/dist/_chunks/{task-card-qTKD1fIT.js → task-card-CTTQfPS6.js} +72 -55
  150. package/dist/_chunks/task-editor-DlvTwAfv.js +1243 -0
  151. package/dist/_chunks/{task-tray-DIwjAIes.js → task-tray-JA-qp_pB.js} +4 -4
  152. package/dist/_chunks/tasks-panel-C_dVDQKJ.js +1243 -0
  153. package/dist/_chunks/{theme-toggle-BP0XRGMM.js → theme-toggle-LUBxlNDm.js} +4 -4
  154. package/dist/_chunks/{toast-ZZfhA5u0.js → toast-CT8hjr9r.js} +2 -2
  155. package/dist/_chunks/{token-insert-menu-A9B5AJw6.js → token-insert-menu-klwbxVKh.js} +3 -3
  156. package/dist/_chunks/{tool-rail-CCFqDfAn.js → tool-rail-DEeX4PdN.js} +144 -137
  157. package/dist/_chunks/{tooth-scheme-DPAq0vQK.js → tooth-scheme-BkjhkI8g.js} +4 -4
  158. package/dist/_chunks/{treatment-receipt-DU0OewqH.js → treatment-receipt-C-gWZ6uv.js} +3 -3
  159. package/dist/_chunks/{unit-converter-C-LpGzrN.js → unit-converter-Dp_KDxE6.js} +3 -3
  160. package/dist/_chunks/use-appointment-details-read-D2FH-cHF.js +2045 -0
  161. package/dist/_chunks/use-list-reflow-C7O4Uqnl.js +133 -0
  162. package/dist/_chunks/use-priority-overflow-Cdmb5EiR.js +108 -0
  163. package/dist/_chunks/{variables-menu-vXUaSBj4.js → variables-menu-aJLKJ_cu.js} +127 -136
  164. package/dist/_chunks/{warning-stack-C0glSB7p.js → warning-stack-CEgYkI1z.js} +3 -3
  165. package/dist/_chunks/{widget-picker-B1sj6uyf.js → widget-picker-CilQvcNL.js} +2 -2
  166. package/dist/_chunks/{workflow-map-DhR_h5yw.js → workflow-map-qGkQTNvS.js} +30 -29
  167. package/dist/_chunks/{workflow-status-CuJAOuKL.js → workflow-status-ClHfz4Kr.js} +209 -167
  168. package/dist/agent-catalog.json +371 -26
  169. package/dist/agent-i18n/en.json +41 -9
  170. package/dist/components/_shared/appointment-format.d.ts +52 -0
  171. package/dist/{patterns/calendar/calendar-editor-fields.d.ts → components/_shared/compact-editor-fields.d.ts} +6 -5
  172. package/dist/components/_shared/handled-rejection.d.ts +2 -0
  173. package/dist/components/_shared/menu-row.d.ts +17 -0
  174. package/dist/components/_shared/patient-identity.d.ts +7 -0
  175. package/dist/components/_shared/patient-picker.d.ts +24 -0
  176. package/dist/components/_shared/privacy-mask.d.ts +29 -0
  177. package/dist/components/address-autocomplete/index.js +1 -1
  178. package/dist/components/address-fields/index.js +1 -1
  179. package/dist/components/agenda-card/index.js +1 -1
  180. package/dist/components/agenda-tray/index.js +1 -1
  181. package/dist/components/ai-credits-notice/index.js +1 -1
  182. package/dist/components/ai-permission-notice/index.js +1 -1
  183. package/dist/components/ai-prompt-input/index.js +1 -1
  184. package/dist/components/anamnesis-card/index.js +1 -1
  185. package/dist/components/anamnesis-summary-card/index.js +1 -1
  186. package/dist/components/appointment-card/index.js +2 -2
  187. package/dist/components/appointment-details-panel/appointment-details-panel.agent.d.ts +4 -0
  188. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +134 -0
  189. package/dist/components/appointment-details-panel/appointment-details-panel.focus.d.ts +7 -0
  190. package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +12 -0
  191. package/dist/components/appointment-details-panel/appointment-details-panel.identity.d.ts +41 -0
  192. package/dist/{patterns/calendar/calendar-info-hover.d.ts → components/appointment-details-panel/appointment-details-panel.info-hover.d.ts} +1 -1
  193. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +51 -0
  194. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +326 -0
  195. package/dist/components/appointment-details-panel/index.d.ts +8 -0
  196. package/dist/components/appointment-details-panel/index.js +8 -0
  197. package/dist/components/appointment-details-panel/use-appointment-details-read.d.ts +32 -0
  198. package/dist/components/appointment-peek/index.js +1 -1
  199. package/dist/components/appointment-timeline/index.js +1 -1
  200. package/dist/components/audio-recorder/index.js +1 -1
  201. package/dist/components/autocomplete/index.js +1 -1
  202. package/dist/components/badge/index.js +1 -1
  203. package/dist/components/bishop-score/index.js +1 -1
  204. package/dist/components/bmi-calculator/index.js +1 -1
  205. package/dist/components/booking/index.js +1 -1
  206. package/dist/components/breadcrumb/index.js +1 -1
  207. package/dist/components/button/button.d.ts +2 -1
  208. package/dist/components/button/index.js +2 -2
  209. package/dist/components/button-group/button-group.d.ts +19 -2
  210. package/dist/components/button-group/index.js +1 -1
  211. package/dist/components/calendar/calendar.d.ts +5 -1
  212. package/dist/components/calendar/index.js +1 -1
  213. package/dist/components/calendar-event-card/index.js +1 -1
  214. package/dist/components/care-plan-card/index.js +1 -1
  215. package/dist/components/care-plan-entry-card/index.js +1 -1
  216. package/dist/components/care-plan-header/index.js +1 -1
  217. package/dist/components/carousel/index.js +1 -1
  218. package/dist/components/chart/index.js +1 -1
  219. package/dist/components/chat-input/index.js +1 -1
  220. package/dist/components/chat-message/index.js +1 -1
  221. package/dist/components/city-input/index.js +1 -1
  222. package/dist/components/clinical-note-card/clinical-note-card.d.ts +13 -5
  223. package/dist/components/clinical-note-card/index.js +1 -1
  224. package/dist/components/combobox/combobox.d.ts +9 -4
  225. package/dist/components/combobox/index.js +1 -1
  226. package/dist/components/command-palette/index.js +1 -1
  227. package/dist/components/connection-status/index.js +1 -1
  228. package/dist/components/contact-profile-card/index.js +1 -1
  229. package/dist/components/control-room-rail/control-room-rail.d.ts +21 -3
  230. package/dist/components/control-room-rail/index.d.ts +1 -1
  231. package/dist/components/control-room-rail/index.js +1 -1
  232. package/dist/components/copy-field/index.js +1 -1
  233. package/dist/components/country-select/index.js +1 -1
  234. package/dist/components/cycle-calculator/index.js +1 -1
  235. package/dist/components/dashboard-grid/index.js +1 -1
  236. package/dist/components/data-table/index.js +4 -4
  237. package/dist/components/data-table-tabs/index.js +1 -1
  238. package/dist/components/dependent-selector/index.js +1 -1
  239. package/dist/components/description-list/index.js +1 -1
  240. package/dist/components/document-preview/index.js +1 -1
  241. package/dist/components/document-scanner/index.js +1 -1
  242. package/dist/components/dropdown-menu/index.js +1 -1
  243. package/dist/components/due-date-calculator/index.js +2 -2
  244. package/dist/components/editable-description/index.js +1 -1
  245. package/dist/components/editor-overlay/index.js +1 -1
  246. package/dist/components/empty-state/index.js +1 -1
  247. package/dist/components/entity-summary/index.js +1 -1
  248. package/dist/components/error-boundary/index.js +1 -1
  249. package/dist/components/face-scheme/index.js +1 -1
  250. package/dist/components/fetal-weight/index.js +1 -1
  251. package/dist/components/field-array/index.js +1 -1
  252. package/dist/components/file-manager/index.js +1 -1
  253. package/dist/components/file-upload/index.js +1 -1
  254. package/dist/components/finished-terminal/index.js +1 -1
  255. package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +7 -0
  256. package/dist/components/fiscal-code-input/index.d.ts +1 -1
  257. package/dist/components/fiscal-code-input/index.js +8 -7
  258. package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +19 -4
  259. package/dist/components/freemium-paywall/index.js +1 -1
  260. package/dist/components/gestational-age-calculator/index.js +1 -1
  261. package/dist/components/hcg-doubling/index.js +1 -1
  262. package/dist/components/header/index.js +1 -1
  263. package/dist/components/header-settings/index.js +1 -1
  264. package/dist/components/hover-card/index.js +1 -1
  265. package/dist/components/icon-button/index.js +1 -1
  266. package/dist/components/icon-button-group/index.js +1 -1
  267. package/dist/components/icon-picker/index.js +1 -1
  268. package/dist/components/image-cropper/index.js +1 -1
  269. package/dist/components/index.d.ts +2 -0
  270. package/dist/components/info-tip/index.js +1 -1
  271. package/dist/components/key-value-pair/index.js +1 -1
  272. package/dist/components/locale-picker/index.js +1 -1
  273. package/dist/components/map-view/index.js +1 -1
  274. package/dist/components/message-card/index.js +1 -1
  275. package/dist/components/message-tray/index.js +1 -1
  276. package/dist/components/multi-select/index.js +1 -1
  277. package/dist/components/muscle-scheme/index.js +1 -1
  278. package/dist/components/note-timeline/index.js +1 -1
  279. package/dist/components/notes-panel/index.d.ts +1 -1
  280. package/dist/components/notes-panel/index.js +1 -1
  281. package/dist/components/notes-panel/notes-panel.d.ts +102 -26
  282. package/dist/components/notification-card/index.js +1 -1
  283. package/dist/components/notification-tray/index.js +1 -1
  284. package/dist/components/operator-hero/index.js +1 -1
  285. package/dist/components/optical-prescription/index.js +1 -1
  286. package/dist/components/pagination/index.js +1 -1
  287. package/dist/components/panel-subview/index.js +1 -1
  288. package/dist/components/patient-details/index.js +1 -1
  289. package/dist/components/patient-search/index.js +1 -1
  290. package/dist/components/patient-summary-card/index.js +1 -1
  291. package/dist/components/patient-table/index.js +1 -1
  292. package/dist/components/payment-card/index.js +1 -1
  293. package/dist/components/periodontal-chart/index.js +1 -1
  294. package/dist/components/periodontal-chart-card/index.js +1 -1
  295. package/dist/components/periodontal-diagnosis/index.js +1 -1
  296. package/dist/components/periodontal-risk-chart/index.js +1 -1
  297. package/dist/components/phone-input/index.js +1 -1
  298. package/dist/components/popover/index.js +1 -1
  299. package/dist/components/practice-profile-hero/index.js +1 -1
  300. package/dist/components/practice-results/index.js +1 -1
  301. package/dist/components/pregnancy-dating/index.js +1 -1
  302. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  303. package/dist/components/privacy-lock/index.js +1 -1
  304. package/dist/components/product-hub-tray/index.js +1 -1
  305. package/dist/components/province-select/index.js +1 -1
  306. package/dist/components/public-header/index.js +1 -1
  307. package/dist/components/radiograph-panel/index.js +1 -1
  308. package/dist/components/reviews-panel/index.js +1 -1
  309. package/dist/components/rich-text-editor/index.js +2 -2
  310. package/dist/components/search-bar/index.js +1 -1
  311. package/dist/components/select/index.js +1 -1
  312. package/dist/components/session-countdown/index.js +1 -1
  313. package/dist/components/sheet/index.js +1 -1
  314. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  315. package/dist/components/signature-field/signature-field.d.ts +1 -1
  316. package/dist/components/signature-status-chip/index.js +1 -1
  317. package/dist/components/skeleton-scheme/index.js +17 -17
  318. package/dist/components/slot-grid/index.js +1 -1
  319. package/dist/components/streaming-text/index.js +1 -1
  320. package/dist/components/tab-bar/index.js +1 -1
  321. package/dist/components/tabs/index.js +1 -1
  322. package/dist/components/tag/index.js +1 -1
  323. package/dist/components/task-card/index.js +1 -1
  324. package/dist/components/task-card/task-card.d.ts +6 -0
  325. package/dist/components/task-editor/index.d.ts +4 -0
  326. package/dist/components/task-editor/index.js +6 -0
  327. package/dist/components/task-editor/task-editor.agent.d.ts +4 -0
  328. package/dist/components/task-editor/task-editor.d.ts +240 -0
  329. package/dist/components/task-editor/use-task-editor-form.d.ts +101 -0
  330. package/dist/components/task-tray/index.js +1 -1
  331. package/dist/components/tasks-panel/index.d.ts +1 -1
  332. package/dist/components/tasks-panel/index.js +1 -1
  333. package/dist/components/tasks-panel/tasks-panel.d.ts +84 -12
  334. package/dist/components/theme-toggle/index.js +1 -1
  335. package/dist/components/toast/index.js +1 -1
  336. package/dist/components/token-insert-menu/index.js +1 -1
  337. package/dist/components/tool-rail/index.js +1 -1
  338. package/dist/components/tooth-scheme/index.js +1 -1
  339. package/dist/components/treatment-receipt/index.js +1 -1
  340. package/dist/components/unit-converter/index.js +1 -1
  341. package/dist/components/variables-menu/index.js +1 -1
  342. package/dist/components/warning-stack/index.js +1 -1
  343. package/dist/components/widget-picker/index.js +1 -1
  344. package/dist/components/workflow/index.js +1 -1
  345. package/dist/components/workflow-status/appointment-workflow-status.d.ts +55 -0
  346. package/dist/components/workflow-status/index.d.ts +2 -0
  347. package/dist/components/workflow-status/index.js +7 -2
  348. package/dist/components/workflow-status/workflow-status.d.ts +35 -0
  349. package/dist/hooks/index.js +2 -2
  350. package/dist/hooks/use-exit-transition.d.ts +5 -0
  351. package/dist/hooks/use-priority-overflow.d.ts +11 -2
  352. package/dist/host-compat.css +7 -1
  353. package/dist/i18n/locales/ar.d.ts +29 -10
  354. package/dist/i18n/locales/ar.js +33 -14
  355. package/dist/i18n/locales/de.d.ts +29 -10
  356. package/dist/i18n/locales/de.js +33 -14
  357. package/dist/i18n/locales/el.d.ts +29 -10
  358. package/dist/i18n/locales/el.js +33 -14
  359. package/dist/i18n/locales/en.d.ts +29 -10
  360. package/dist/i18n/locales/en.js +33 -14
  361. package/dist/i18n/locales/es.d.ts +29 -10
  362. package/dist/i18n/locales/es.js +33 -14
  363. package/dist/i18n/locales/fr.d.ts +29 -10
  364. package/dist/i18n/locales/fr.js +33 -14
  365. package/dist/i18n/locales/hi.d.ts +29 -10
  366. package/dist/i18n/locales/hi.js +33 -14
  367. package/dist/i18n/locales/it.d.ts +29 -10
  368. package/dist/i18n/locales/it.js +33 -14
  369. package/dist/i18n/locales/ja.d.ts +29 -10
  370. package/dist/i18n/locales/ja.js +33 -14
  371. package/dist/i18n/locales/nl.d.ts +29 -10
  372. package/dist/i18n/locales/nl.js +33 -14
  373. package/dist/i18n/locales/pl.d.ts +29 -10
  374. package/dist/i18n/locales/pl.js +33 -14
  375. package/dist/i18n/locales/pt.d.ts +29 -10
  376. package/dist/i18n/locales/pt.js +33 -14
  377. package/dist/i18n/locales/ro.d.ts +29 -10
  378. package/dist/i18n/locales/ro.js +33 -14
  379. package/dist/i18n/locales/ru.d.ts +29 -10
  380. package/dist/i18n/locales/ru.js +33 -14
  381. package/dist/i18n/locales/sq.d.ts +29 -10
  382. package/dist/i18n/locales/sq.js +33 -14
  383. package/dist/i18n/locales/sv.d.ts +29 -10
  384. package/dist/i18n/locales/sv.js +33 -14
  385. package/dist/i18n/locales/tr.d.ts +29 -10
  386. package/dist/i18n/locales/tr.js +33 -14
  387. package/dist/i18n/locales/zh.d.ts +29 -10
  388. package/dist/i18n/locales/zh.js +33 -14
  389. package/dist/i18n/registerUiBundle.d.ts +5 -9
  390. package/dist/index.js +742 -728
  391. package/dist/locales/ar.json +33 -14
  392. package/dist/locales/de.json +33 -14
  393. package/dist/locales/el.json +33 -14
  394. package/dist/locales/en.json +33 -14
  395. package/dist/locales/es.json +33 -14
  396. package/dist/locales/fr.json +33 -14
  397. package/dist/locales/hi.json +33 -14
  398. package/dist/locales/it.json +33 -14
  399. package/dist/locales/ja.json +33 -14
  400. package/dist/locales/nl.json +33 -14
  401. package/dist/locales/pl.json +33 -14
  402. package/dist/locales/pt.json +33 -14
  403. package/dist/locales/ro.json +33 -14
  404. package/dist/locales/ru.json +33 -14
  405. package/dist/locales/sq.json +33 -14
  406. package/dist/locales/sv.json +33 -14
  407. package/dist/locales/tr.json +33 -14
  408. package/dist/locales/zh.json +33 -14
  409. package/dist/patterns/alia-assistant/index.js +1 -1
  410. package/dist/patterns/anamnesis/index.js +1 -1
  411. package/dist/patterns/calendar/calendar-appointment-details.d.ts +25 -95
  412. package/dist/patterns/calendar/calendar-patient-picker.d.ts +4 -3
  413. package/dist/patterns/calendar/calendar-privacy.d.ts +1 -22
  414. package/dist/patterns/calendar/calendar-sticky-offset.d.ts +20 -13
  415. package/dist/patterns/calendar/calendar-task-editor.d.ts +9 -13
  416. package/dist/patterns/calendar/calendar-workspace.d.ts +160 -1
  417. package/dist/patterns/calendar/calendar-workspace.model.d.ts +17 -12
  418. package/dist/patterns/calendar/calendar.journey.d.ts +40 -4
  419. package/dist/patterns/calendar/calendar.model.d.ts +10 -17
  420. package/dist/patterns/calendar/calendar.sheets.d.ts +18 -14
  421. package/dist/patterns/calendar/calendar.surface.d.ts +6 -1
  422. package/dist/patterns/calendar/calendar.types.d.ts +24 -100
  423. package/dist/patterns/calendar/index.d.ts +4 -3
  424. package/dist/patterns/calendar/index.js +1 -1
  425. package/dist/patterns/help-me-write-templates/index.js +1 -1
  426. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  427. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  428. package/dist/patterns/signature-request/index.js +1 -1
  429. package/dist/tokens.css +1 -1
  430. package/package.json +22 -5
  431. package/dist/_chunks/button-group-CA1tmu39.js +0 -325
  432. package/dist/_chunks/calendar-workspace-DDnQmiIL.js +0 -12427
  433. package/dist/_chunks/combobox-DnSdYssy.js +0 -522
  434. package/dist/_chunks/control-room-rail-Cv7GpMqX.js +0 -354
  435. package/dist/_chunks/fiscal-code-input-ODQRd_Sw.js +0 -553
  436. package/dist/_chunks/icon-button-group-DZKC6KGf.js +0 -428
  437. package/dist/_chunks/notes-panel-CHbDDMx8.js +0 -683
  438. package/dist/_chunks/panel-subview-CYnuX-KR.js +0 -171
  439. package/dist/_chunks/tasks-panel-DncuBPIZ.js +0 -844
  440. package/dist/_chunks/use-list-reflow-Cw43nxw5.js +0 -100
  441. package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +0 -101
  442. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +0 -37
@@ -0,0 +1,379 @@
1
+ import { jsx as A, jsxs as Y, Fragment as vo } from "react/jsx-runtime";
2
+ import { useState as X, useCallback as b, useMemo as S, useRef as $, useContext as O, useId as To, useEffect as bo, createContext as Co, forwardRef as ho } from "react";
3
+ import { useTranslation as yo } from "react-i18next";
4
+ import { I as Z } from "./icon-button-CY7GU_Se.js";
5
+ import { a as wo } from "./panel-header-D_mTdhUp.js";
6
+ import { T as xo } from "./tool-rail-DEeX4PdN.js";
7
+ import { u as F } from "./use-persistent-state-nZwZAnE9.js";
8
+ import { S as Ao } from "./star-Bf9L2Uot.js";
9
+ import { X as So } from "./x-B5YnXwCz.js";
10
+ const ko = {
11
+ id: "control-room-rail",
12
+ capabilities: ["open", "close", "select_single"],
13
+ state: {
14
+ activeToolId: {
15
+ type: "string | null",
16
+ descriptionKey: "ui.toolRail.agent.state.activeToolId",
17
+ description: "Id of the tool whose panel is currently open, or null when the rail is collapsed to its strip. No panel content is ever exposed.",
18
+ read: (t) => t.getActiveToolId()
19
+ }
20
+ },
21
+ actions: {
22
+ open: {
23
+ // Pure ephemeral panel state (open) — no data loss, no external effect.
24
+ safety: "read",
25
+ argsType: "{ id: string }",
26
+ argsSchema: {
27
+ type: "object",
28
+ properties: { id: { type: "string" } },
29
+ required: ["id"]
30
+ },
31
+ idempotent: !0,
32
+ descriptionKey: "ui.toolRail.agent.actions.open",
33
+ description: "Open the given tool's panel.",
34
+ examples: [{ args: { id: "inbox" }, note: "Open the inbox tool panel." }],
35
+ invoke: (t, s) => {
36
+ t.open(s.id);
37
+ }
38
+ },
39
+ close: {
40
+ safety: "read",
41
+ idempotent: !0,
42
+ descriptionKey: "ui.toolRail.agent.actions.close",
43
+ description: "Collapse the rail to its strip (no active tool).",
44
+ invoke: (t) => {
45
+ t.close();
46
+ }
47
+ },
48
+ select_tool: {
49
+ safety: "read",
50
+ argsType: "{ id: string | null }",
51
+ argsSchema: {
52
+ type: "object",
53
+ properties: { id: { type: ["string", "null"] } },
54
+ required: ["id"]
55
+ },
56
+ idempotent: !0,
57
+ descriptionKey: "ui.toolRail.agent.actions.selectTool",
58
+ description: "Set the active tool by id (opens its panel), or pass null to collapse.",
59
+ invoke: (t, s) => {
60
+ t.setActiveTool(s.id);
61
+ }
62
+ }
63
+ },
64
+ domHooks: {
65
+ root: {
66
+ attr: "data-component",
67
+ value: "control-room-rail",
68
+ description: "Marks the ControlRoomRail wrapper."
69
+ },
70
+ instanceId: {
71
+ attr: "data-component-id",
72
+ sourceProp: "id",
73
+ description: "Sourced from the id prop. Required to address a specific rail from the agent."
74
+ },
75
+ item: {
76
+ attr: "data-tool-id",
77
+ description: "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
78
+ }
79
+ }
80
+ }, H = Co(null);
81
+ function $o({
82
+ globalTools: t = [],
83
+ children: s
84
+ }) {
85
+ const [i, n] = X(
86
+ () => /* @__PURE__ */ new Map()
87
+ ), a = b(
88
+ (u, f) => {
89
+ n((T) => {
90
+ const q = new Map(T);
91
+ return q.set(u, f), q;
92
+ });
93
+ },
94
+ []
95
+ ), m = b((u) => {
96
+ n((f) => {
97
+ if (!f.has(u)) return f;
98
+ const T = new Map(f);
99
+ return T.delete(u), T;
100
+ });
101
+ }, []), l = S(
102
+ () => Array.from(i.values()).flat(),
103
+ [i]
104
+ ), d = $(null), c = b((u) => {
105
+ d.current = u;
106
+ }, []), g = b((u) => {
107
+ var f;
108
+ (f = d.current) == null || f.setActiveTool(u);
109
+ }, []), R = b(() => {
110
+ var u;
111
+ (u = d.current) == null || u.setActiveTool(null);
112
+ }, []), v = S(
113
+ () => ({
114
+ globalTools: t,
115
+ contextualTools: l,
116
+ registerContextualTools: a,
117
+ unregisterContextualTools: m,
118
+ registerRail: c,
119
+ openTool: g,
120
+ closeTool: R
121
+ }),
122
+ [
123
+ t,
124
+ l,
125
+ a,
126
+ m,
127
+ c,
128
+ g,
129
+ R
130
+ ]
131
+ );
132
+ return /* @__PURE__ */ A(H.Provider, { value: v, children: s });
133
+ }
134
+ function Do(t) {
135
+ const s = O(H), i = s == null ? void 0 : s.registerContextualTools, n = s == null ? void 0 : s.unregisterContextualTools, a = To();
136
+ bo(() => {
137
+ if (!(!i || !n))
138
+ return i(a, t), () => n(a);
139
+ }, [i, n, a, t]);
140
+ }
141
+ function Mo() {
142
+ const t = O(H);
143
+ return S(() => {
144
+ if (!t) return [];
145
+ const s = t.contextualTools.map((n) => ({
146
+ ...n,
147
+ scope: "contextual"
148
+ })), i = t.globalTools.map((n) => ({
149
+ ...n,
150
+ scope: "global"
151
+ }));
152
+ return [...s, ...i];
153
+ }, [t]);
154
+ }
155
+ function Go() {
156
+ const t = O(H), s = b(() => {
157
+ }, []);
158
+ return {
159
+ openTool: (t == null ? void 0 : t.openTool) ?? s,
160
+ closeTool: (t == null ? void 0 : t.closeTool) ?? s
161
+ };
162
+ }
163
+ function Vo() {
164
+ const t = O(H), s = b((i) => {
165
+ }, []);
166
+ return (t == null ? void 0 : t.registerRail) ?? s;
167
+ }
168
+ function jo(t, s, i, n) {
169
+ const a = s.includes(t), m = i.includes(t);
170
+ if (!a && m) return { toolId: t, action: "pin" };
171
+ if (a && !m)
172
+ return n != null && n.includes(t) ? void 0 : { toolId: t, action: "unpin" };
173
+ const l = (R) => n != null && n.length ? [...n, ...R.filter((v) => !n.includes(v))] : R, d = l(s), c = l(i);
174
+ return d.length !== c.length || d.some((R, v) => c[v] !== R) ? { toolId: t, action: "reorder" } : void 0;
175
+ }
176
+ function W(t, s, i) {
177
+ const n = new Set(i), a = [], m = /* @__PURE__ */ new Map();
178
+ let l = null;
179
+ for (const c of t)
180
+ s(c) ? n.has(c) && (l = c) : l === null ? a.push(c) : m.set(l, [...m.get(l) ?? [], c]);
181
+ const d = [
182
+ ...a,
183
+ ...i.flatMap((c) => [c, ...m.get(c) ?? []])
184
+ ];
185
+ return Array.from(new Set(d));
186
+ }
187
+ const Jo = ho(function({
188
+ tools: s,
189
+ railLabel: i,
190
+ reorderable: n = !0,
191
+ favoriteIds: a,
192
+ defaultFavoriteIds: m,
193
+ pinnedFavoriteIds: l,
194
+ onFavoriteIdsChange: d,
195
+ persistFavoritesKey: c = "ui.controlRoom.favorites",
196
+ activeToolId: g,
197
+ defaultActiveToolId: R = null,
198
+ onActiveToolChange: v,
199
+ panelWidth: u,
200
+ onPanelWidthChange: f,
201
+ persistPanelWidthKey: T,
202
+ ...q
203
+ }, V) {
204
+ const { t: w } = yo(), [P, I] = X(
205
+ g ?? R ?? null
206
+ ), D = g !== void 0 ? g : P, oo = b(
207
+ (o) => {
208
+ g === void 0 && I(o), v == null || v(o);
209
+ },
210
+ [g, v]
211
+ ), to = Mo(), k = s ?? to, _ = a !== void 0, [eo, no] = F(
212
+ c,
213
+ () => m ?? k.filter((o) => o.scope === "global").map((o) => o.id),
214
+ { disabled: _ }
215
+ ), B = _ ? a : eo, M = S(() => l != null && l.length ? [
216
+ ...l,
217
+ ...B.filter((o) => !l.includes(o))
218
+ ] : B, [l, B]), z = u !== void 0, [so, G] = F(T ?? "ui.controlRoom.panelWidth.unused", null, {
219
+ disabled: z || !T
220
+ }), ro = z ? u : T ? so : void 0, lo = b(
221
+ (o) => {
222
+ !z && T && G(o), f == null || f(o);
223
+ },
224
+ [
225
+ z,
226
+ T,
227
+ G,
228
+ f
229
+ ]
230
+ ), C = S(() => {
231
+ const o = /* @__PURE__ */ new Map();
232
+ for (const r of k) o.set(r.id, r);
233
+ return o;
234
+ }, [k]), j = S(
235
+ () => new Set(M.filter((o) => C.has(o))),
236
+ [M, C]
237
+ ), J = (o, r) => {
238
+ const e = (y) => C.has(y), p = M.filter(e), h = r(p);
239
+ _ || no(
240
+ (y) => W(y, e, r(y.filter(e)))
241
+ ), d == null || d(
242
+ W(M, e, h),
243
+ jo(o, p, h, l)
244
+ );
245
+ }, K = S(() => {
246
+ if (!n) return k;
247
+ const o = M.filter((e) => C.has(e)).map((e) => ({
248
+ ...C.get(e),
249
+ scope: "global",
250
+ reorderable: !0
251
+ })), r = k.filter((e) => !j.has(e.id)).map((e) => ({
252
+ ...e,
253
+ scope: "contextual",
254
+ reorderable: !0
255
+ }));
256
+ return [...o, ...r];
257
+ }, [n, k, M, C, j]), [io, co] = X(""), L = $(!1), ao = (o, r) => {
258
+ const e = r ? w("controlRoom.pinnedAnnounce", {
259
+ tool: o,
260
+ defaultValue: "Pinned {{tool}} to favourites"
261
+ }) : w("controlRoom.unpinnedAnnounce", {
262
+ tool: o,
263
+ defaultValue: "Removed {{tool}} from favourites"
264
+ });
265
+ L.current = !L.current, co(L.current ? e : `${e}​`);
266
+ }, uo = (o) => {
267
+ var r;
268
+ ao(((r = C.get(o)) == null ? void 0 : r.label) ?? o, !j.has(o)), J(
269
+ o,
270
+ (e) => e.includes(o) ? e.filter((p) => p !== o) : [...e, o]
271
+ );
272
+ }, fo = (o, r) => {
273
+ var p;
274
+ const e = (p = K[o]) == null ? void 0 : p.id;
275
+ e !== void 0 && J(e, (h) => {
276
+ const y = h.filter((x) => C.has(x)), N = y.length;
277
+ if (o < N) {
278
+ if (r >= N) return y.filter((Ro) => Ro !== e);
279
+ const x = y.slice();
280
+ return x.splice(o, 1), x.splice(r, 0, e), x;
281
+ }
282
+ if (r <= N) {
283
+ const x = y.slice();
284
+ return x.splice(Math.min(r, N), 0, e), x;
285
+ }
286
+ return h;
287
+ });
288
+ }, po = ({
289
+ tool: o,
290
+ from: r,
291
+ to: e
292
+ }) => {
293
+ const p = j.size, h = r < p;
294
+ return h && e >= p ? w("controlRoom.unpinnedAnnounce", {
295
+ tool: o.label,
296
+ defaultValue: "Removed {{tool}} from favourites"
297
+ }) : !h && e <= p ? w("controlRoom.pinnedAnnounce", {
298
+ tool: o.label,
299
+ defaultValue: "Pinned {{tool}} to favourites"
300
+ }) : h && e < p ? w("controlRoom.reorderAnnounce", {
301
+ tool: o.label,
302
+ to: e + 1,
303
+ total: p,
304
+ defaultValue: "{{tool}} moved to position {{to}} of {{total}}"
305
+ }) : "";
306
+ }, Q = $(null), U = Vo(), mo = b(
307
+ (o) => {
308
+ Q.current = o, U(o), typeof V == "function" ? V(o) : V && (V.current = o);
309
+ },
310
+ [U, V]
311
+ ), E = D != null ? C.get(D) ?? null : null, go = E ? /* @__PURE__ */ Y(vo, { children: [
312
+ n ? (() => {
313
+ const o = j.has(E.id);
314
+ return /* @__PURE__ */ A(
315
+ Z,
316
+ {
317
+ icon: /* @__PURE__ */ A(
318
+ Ao,
319
+ {
320
+ "aria-hidden": "true",
321
+ fill: o ? "currentColor" : "none",
322
+ className: o ? "ds:text-[color:var(--accent)]" : void 0
323
+ }
324
+ ),
325
+ intent: "ghost",
326
+ size: "sm",
327
+ "aria-pressed": o,
328
+ "aria-label": w("controlRoom.favorite", {
329
+ defaultValue: "Favourite"
330
+ }),
331
+ onClick: () => uo(E.id)
332
+ }
333
+ );
334
+ })() : null,
335
+ /* @__PURE__ */ A(
336
+ Z,
337
+ {
338
+ icon: /* @__PURE__ */ A(So, { "aria-hidden": "true" }),
339
+ intent: "ghost",
340
+ size: "sm",
341
+ "aria-label": w("controlRoom.close", { defaultValue: "Close" }),
342
+ onClick: () => {
343
+ var o;
344
+ return (o = Q.current) == null ? void 0 : o.close();
345
+ }
346
+ }
347
+ )
348
+ ] }) : null;
349
+ return /* @__PURE__ */ Y(wo, { actions: go, children: [
350
+ /* @__PURE__ */ A(
351
+ xo,
352
+ {
353
+ ref: mo,
354
+ dataComponent: "control-room-rail",
355
+ agentAdapter: ko,
356
+ tools: K,
357
+ activeToolId: g,
358
+ defaultActiveToolId: R,
359
+ onActiveToolChange: oo,
360
+ panelWidth: ro,
361
+ onPanelWidthChange: lo,
362
+ railLabel: i ?? w("controlRoom.railLabel", { defaultValue: "Control room" }),
363
+ onReorder: n ? fo : void 0,
364
+ formatReorderAnnouncement: n ? po : void 0,
365
+ ...q
366
+ }
367
+ ),
368
+ n ? /* @__PURE__ */ A("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: io }) : null
369
+ ] });
370
+ });
371
+ export {
372
+ $o as C,
373
+ Jo as a,
374
+ Mo as b,
375
+ ko as c,
376
+ Do as d,
377
+ Go as u
378
+ };
379
+ //# sourceMappingURL=control-room-rail-DAO0qfOI.js.map
@@ -2,7 +2,7 @@ import { jsxs as M, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useRef as v, useState as E, useEffect as H, useCallback as z, useMemo as O } from "react";
3
3
  import { c as u } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as W } from "react-i18next";
5
- import { B as _ } from "./button-CaUe1uyd.js";
5
+ import { B as _ } from "./button-18oBsI3n.js";
6
6
  import { u as q } from "./registry-DvAUVLHh.js";
7
7
  import { u as D } from "./use-copy-to-clipboard-Cyfc_dlv.js";
8
8
  import { C as G } from "./check-DrFSN__t.js";
@@ -265,4 +265,4 @@ export {
265
265
  ee as C,
266
266
  Q as c
267
267
  };
268
- //# sourceMappingURL=copy-field-B8XRVmQv.js.map
268
+ //# sourceMappingURL=copy-field-Cm4y5Bff.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as O } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useMemo as n, useCallback as x, useRef as aa, useEffect as ea } from "react";
3
3
  import { useTranslation as ra } from "react-i18next";
4
- import { C as ia } from "./combobox-DnSdYssy.js";
4
+ import { C as ia } from "./combobox-B_rLwmSv.js";
5
5
  import { h as ca, a as sa } from "./flag-DVBE6DnB.js";
6
6
  import { u as ta } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as oa } from "./registry-DvAUVLHh.js";
@@ -706,4 +706,4 @@ export {
706
706
  ua as c,
707
707
  Aa as r
708
708
  };
709
- //# sourceMappingURL=country-select-CfDNFG5c.js.map
709
+ //# sourceMappingURL=country-select-C5jZjO8O.js.map
@@ -7,8 +7,8 @@ import { F as S } from "./form-field-CahJzTxp.js";
7
7
  import { D as Y } from "./date-picker-6tFnKFty.js";
8
8
  import { N as H } from "./number-input-Cgu2TtA8.js";
9
9
  import { C as M } from "./card-DPmk26CL.js";
10
- import { B as T } from "./badge-BudgzTe_.js";
11
- import { I as U } from "./insert-result-DPnOBD85.js";
10
+ import { B as T } from "./badge-BAkd6_Pj.js";
11
+ import { I as U } from "./insert-result-CSuPQyKL.js";
12
12
  import { a as m, c as V } from "./date-picker-variants-B9NLAfUK.js";
13
13
  import { C as J } from "./check-DrFSN__t.js";
14
14
  import { H as Q } from "./heart--qCA4ffe.js";
@@ -422,4 +422,4 @@ export {
422
422
  ie as L,
423
423
  se as p
424
424
  };
425
- //# sourceMappingURL=cycle-calculator-BH2StWoT.js.map
425
+ //# sourceMappingURL=cycle-calculator-B9lBRNiZ.js.map
@@ -2,7 +2,7 @@ import { jsxs as _, jsx as w } from "react/jsx-runtime";
2
2
  import { forwardRef as Te, useRef as S, useMemo as L, useState as O, useCallback as D, useEffect as X, useImperativeHandle as We, useContext as $e, Children as Ie, isValidElement as Ae, Fragment as je, createContext as Fe } from "react";
3
3
  import { c as Ge } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ke } from "react-i18next";
5
- import { I as re } from "./icon-button-CehAeZoP.js";
5
+ import { I as re } from "./icon-button-CY7GU_Se.js";
6
6
  import { u as U } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
7
7
  import { u as Ke } from "./registry-DvAUVLHh.js";
8
8
  import { P as _e } from "./plus-DzMQ_c6b.js";
@@ -688,4 +688,4 @@ export {
688
688
  cr as D,
689
689
  Oe as d
690
690
  };
691
- //# sourceMappingURL=dashboard-grid-BcXWL5S9.js.map
691
+ //# sourceMappingURL=dashboard-grid-uX7x1ePj.js.map
@@ -1,19 +1,19 @@
1
1
  import { jsx as s, jsxs as L } from "react/jsx-runtime";
2
2
  import { useMemo as j, forwardRef as $, useState as G, useCallback as D, useEffect as K, useRef as B, createContext as Ce, useContext as Re, isValidElement as At, cloneElement as Pt, useImperativeHandle as Ot } from "react";
3
3
  import { S as Mt } from "./skeleton-B1KTdJ4N.js";
4
- import { E as zt } from "./empty-state-BUN_UAWf.js";
4
+ import { E as zt } from "./empty-state-DTBZ1ENT.js";
5
5
  import { c as Gt } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as A } from "react-i18next";
7
7
  import { useGridFilter as _t, AgGridReact as jt } from "ag-grid-react";
8
8
  import { ModuleRegistry as Lt, AllCommunityModule as qt } from "ag-grid-community";
9
- import { I as Wt } from "./icon-button-group-DZKC6KGf.js";
10
- import { B as de } from "./button-CaUe1uyd.js";
11
- import { I as oe } from "./icon-button-CehAeZoP.js";
12
- import { P as me } from "./popover-DO-pssF3.js";
9
+ import { I as Wt } from "./icon-button-group-B_426QN_.js";
10
+ import { B as de } from "./button-18oBsI3n.js";
11
+ import { I as oe } from "./icon-button-CY7GU_Se.js";
12
+ import { P as me } from "./popover-Dvb40vPH.js";
13
13
  import { C as Bt } from "./checkbox-CZkipDn7.js";
14
14
  import { T as Se } from "./text-input-CUvCb6ST.js";
15
- import { T as We } from "./tag-Ci3xJPcH.js";
16
- import { D as he } from "./dropdown-menu-DU-Hrf33.js";
15
+ import { T as We } from "./tag-B65tLWvD.js";
16
+ import { D as he } from "./dropdown-menu-C8PaW3lR.js";
17
17
  import { X as $e } from "./x-B5YnXwCz.js";
18
18
  import { R as $t } from "./refresh-cw-DnI0cLFC.js";
19
19
  import { S as Ie } from "./search-QbWPlY5f.js";
@@ -24,7 +24,7 @@ import { F as Ke } from "./file-text-5yv6r2ls.js";
24
24
  import { D as ye } from "./download-CfYKJO_j.js";
25
25
  import { F as Ut } from "./file-spreadsheet-DmwyfV4O.js";
26
26
  import Xt from "i18next";
27
- import { S as Qt } from "./select-CLSUnKjF.js";
27
+ import { S as Qt } from "./select-upNAltly.js";
28
28
  import { u as Jt } from "./registry-DvAUVLHh.js";
29
29
  import { u as Zt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
30
30
  import { u as Yt } from "./use-theme-CAuo6EYT.js";
@@ -1820,4 +1820,4 @@ export {
1820
1820
  fa as g,
1821
1821
  W as i
1822
1822
  };
1823
- //# sourceMappingURL=data-table-DnKOmEVw.js.map
1823
+ //# sourceMappingURL=data-table-DWOSxlsy.js.map
@@ -3,8 +3,8 @@ import { useMemo as de, useCallback as u, useRef as T, useEffect as me, forwardR
3
3
  import * as ce from "@radix-ui/react-tabs";
4
4
  import { a as ne, c as ke } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as Ae } from "react-i18next";
6
- import { I as le } from "./icon-button-CehAeZoP.js";
7
- import { P as ue } from "./popover-DO-pssF3.js";
6
+ import { I as le } from "./icon-button-CY7GU_Se.js";
7
+ import { P as ue } from "./popover-Dvb40vPH.js";
8
8
  import { T as ze } from "./text-input-CUvCb6ST.js";
9
9
  import { u as Ke } from "./use-direction-Dp8h70PP.js";
10
10
  import { u as Me } from "./registry-DvAUVLHh.js";
@@ -725,4 +725,4 @@ export {
725
725
  $e as b,
726
726
  Le as d
727
727
  };
728
- //# sourceMappingURL=data-table-tabs-B9SXA5VP.js.map
728
+ //# sourceMappingURL=data-table-tabs-CzYYKp2_.js.map
@@ -4,7 +4,7 @@ import * as E from "@radix-ui/react-radio-group";
4
4
  import { c as G } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as pe } from "react-i18next";
6
6
  import { A as ue } from "./avatar-CkDeQOSI.js";
7
- import { B as fe } from "./badge-BudgzTe_.js";
7
+ import { B as fe } from "./badge-BAkd6_Pj.js";
8
8
  import { T as ge } from "./tooltip-Cp-PLePW.js";
9
9
  import { c as ve } from "./compose-refs-C0k0tdqF.js";
10
10
  import { u as be } from "./registry-DvAUVLHh.js";
@@ -335,4 +335,4 @@ export {
335
335
  ke as D,
336
336
  xe as d
337
337
  };
338
- //# sourceMappingURL=dependent-selector-BHDP0nBB.js.map
338
+ //# sourceMappingURL=dependent-selector-BR_8D2Qu.js.map
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as V } from "react/jsx-runtime";
2
2
  import { forwardRef as c, useMemo as x, Children as C, isValidElement as T, useContext as R, useState as b, useCallback as j, createContext as P } from "react";
3
3
  import { c as m } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as z } from "react-i18next";
5
- import { I as A } from "./icon-button-CehAeZoP.js";
5
+ import { I as A } from "./icon-button-CY7GU_Se.js";
6
6
  import { C as S } from "./check-DrFSN__t.js";
7
7
  import { C as B } from "./copy-vRpqqHtY.js";
8
8
  function E(s) {
@@ -316,4 +316,4 @@ const Z = Object.assign(k, {
316
316
  export {
317
317
  Z as D
318
318
  };
319
- //# sourceMappingURL=description-list-BsJ_6CQE.js.map
319
+ //# sourceMappingURL=description-list-1A2DEbE6.js.map
@@ -2,15 +2,16 @@ import { jsxs as m, Fragment as W, jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as j, useMemo as I, useState as q, useImperativeHandle as E, Fragment as H } from "react";
3
3
  import { c as $ } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as U } from "react-i18next";
5
- import { B as b } from "./badge-BudgzTe_.js";
5
+ import { B as b } from "./badge-BAkd6_Pj.js";
6
6
  import { C as B } from "./card-DPmk26CL.js";
7
- import { E as G } from "./empty-state-BUN_UAWf.js";
7
+ import { E as G } from "./empty-state-DTBZ1ENT.js";
8
8
  import { P as Y } from "./panel-header-D_mTdhUp.js";
9
9
  import { P as J } from "./pdf-viewer-DUKdn5iq.js";
10
- import { T as O, b as Q, c as X, a as Z } from "./tabs-BnRaLT0y.js";
10
+ import { T as O, b as Q, c as X, a as Z } from "./tabs-CFsuMQ5H.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
- import { F as ie, a as te } from "./file-Cwe9VC1A.js";
13
- import { F as se } from "./file-text-5yv6r2ls.js";
12
+ import { F as ie } from "./file-image-cDgE-BTy.js";
13
+ import { F as te } from "./file-text-5yv6r2ls.js";
14
+ import { F as se } from "./file-BuG1VMAy.js";
14
15
  import { c as ne } from "./createLucideIcon-DhHxpK9K.js";
15
16
  /**
16
17
  * @license lucide-react v1.22.0 - ISC
@@ -83,23 +84,23 @@ function z(a, r, u) {
83
84
  }
84
85
  function N(a) {
85
86
  const r = a ?? "";
86
- return r.startsWith("image/") ? ie : r === "application/pdf" || r.startsWith("text/") || r.includes("word") ? se : te;
87
+ return r.startsWith("image/") ? ie : r === "application/pdf" || r.startsWith("text/") || r.includes("word") ? te : se;
87
88
  }
88
89
  const ce = [
89
90
  "documentPreview.units.bytes",
90
91
  "documentPreview.units.kilobytes",
91
92
  "documentPreview.units.megabytes",
92
93
  "documentPreview.units.gigabytes"
93
- ], S = ["B", "KB", "MB", "GB"];
94
+ ], F = ["B", "KB", "MB", "GB"];
94
95
  function me(a, r, u) {
95
96
  let l = a, o = 0;
96
- for (; l >= 1024 && o < S.length - 1; )
97
+ for (; l >= 1024 && o < F.length - 1; )
97
98
  l /= 1024, o++;
98
99
  return `${new Intl.NumberFormat(r, {
99
100
  maximumFractionDigits: o === 0 ? 0 : 1
100
- }).format(l)} ${u(ce[o], S[o])}`;
101
+ }).format(l)} ${u(ce[o], F[o])}`;
101
102
  }
102
- const ue = j(({ id: a, name: r, mimeType: u, src: l, metadata: o, documents: h, className: F }, M) => {
103
+ const ue = j(({ id: a, name: r, mimeType: u, src: l, metadata: o, documents: h, className: S }, M) => {
103
104
  const { t: s, i18n: T } = U(), c = I(() => h && h.length > 0 ? h : r ? [{ id: a ?? r, name: r, mimeType: u, src: l, metadata: o }] : [], [h, a, r, u, l, o]), P = c.length > 1, [R, C] = q(void 0), n = c.find((t) => t.id === R) ?? c[0], x = I(
104
105
  () => ({
105
106
  getKind: () => n ? z(n.name, n.mimeType, n.src) : "empty",
@@ -274,7 +275,7 @@ const ue = j(({ id: a, name: r, mimeType: u, src: l, metadata: o, documents: h,
274
275
  "data-component-id": a,
275
276
  tabIndex: 0,
276
277
  "aria-label": s("documentPreview.regionLabel", "Document preview"),
277
- className: le({ className: F }),
278
+ className: le({ className: S }),
278
279
  children: [
279
280
  c.length > 0 && /* @__PURE__ */ i(Y, { sticky: !0, icon: K, title: L }),
280
281
  g
@@ -287,4 +288,4 @@ export {
287
288
  ue as D,
288
289
  de as d
289
290
  };
290
- //# sourceMappingURL=document-preview-COV0BC6n.js.map
291
+ //# sourceMappingURL=document-preview-Od2Hz4z5.js.map
@@ -2,9 +2,9 @@ import { jsxs as p, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as Fe, useId as Me, useRef as m, useState as W, useEffect as z, useCallback as h, useMemo as Te, useImperativeHandle as We } from "react";
3
3
  import { c as k } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Ye } from "react-i18next";
5
- import { B as K } from "./button-CaUe1uyd.js";
5
+ import { B as K } from "./button-18oBsI3n.js";
6
6
  import { A as ae } from "./alert-CiQ5Pa3Q.js";
7
- import { F as Xe } from "./file-upload-BDpb08GM.js";
7
+ import { F as Xe } from "./file-upload-B242a_Y1.js";
8
8
  import { u as Ze } from "./use-controllable-state-BiY4xTzM.js";
9
9
  import { u as $e } from "./registry-DvAUVLHh.js";
10
10
  import { R as Ge } from "./rotate-ccw-BBQnIVTr.js";
@@ -677,4 +677,4 @@ export {
677
677
  or as D,
678
678
  Qe as d
679
679
  };
680
- //# sourceMappingURL=document-scanner-B1abl-A4.js.map
680
+ //# sourceMappingURL=document-scanner-p0aGlzCy.js.map