@alfadocs/ui-kit 1.61.0 → 1.62.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 (310) hide show
  1. package/dist/_chunks/{actions-cell-renderer-CZWGQFKV.js → actions-cell-renderer-BXCpK2_0.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DauvvKX6.js → agenda-card-DR9gDdKp.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-DU7O5Z7R.js → agenda-tray-DGB1Zup-.js} +3 -3
  4. package/dist/_chunks/{ai-credits-notice-MBgQXxsx.js → ai-credits-notice-pK9BOmEz.js} +2 -2
  5. package/dist/_chunks/{ai-permission-notice-BJHutKLE.js → ai-permission-notice-DpRmZ9Q3.js} +4 -4
  6. package/dist/_chunks/{ai-prompt-input-Dzos37rf.js → ai-prompt-input-DSGSe4LH.js} +2 -2
  7. package/dist/_chunks/{alert-BhCstf2h.js → alert-DdDpOi-P.js} +2 -2
  8. package/dist/_chunks/{alia-sidebar-CU3mVL9J.js → alia-sidebar-qe0quZkB.js} +6 -6
  9. package/dist/_chunks/{anamnesis-card-VjJOUl-t.js → anamnesis-card-CsUBOG32.js} +3 -3
  10. package/dist/_chunks/{anamnesis-summary-card-cCj7LPh3.js → anamnesis-summary-card-CMzBLTiN.js} +3 -3
  11. package/dist/_chunks/{anamnesis-summary-rows-C5F08WT6.js → anamnesis-summary-rows-DFWws7mM.js} +11 -11
  12. package/dist/_chunks/{antenatal-schedule-timeline-CfNFrej5.js → antenatal-schedule-timeline-DuaAQj1m.js} +2 -2
  13. package/dist/_chunks/app-frame-DUPEwu4E.js +179 -0
  14. package/dist/_chunks/app-frame-context-CPszhDDb.js +10 -0
  15. package/dist/_chunks/{appointment-card-BXQUZlAJ.js → appointment-card-CL32sux-.js} +3 -3
  16. package/dist/_chunks/{appointment-peek-BvzXHYiD.js → appointment-peek-B5mcDcXt.js} +3 -3
  17. package/dist/_chunks/{appointment-timeline-r-q97cec.js → appointment-timeline-DaHKV81s.js} +4 -4
  18. package/dist/_chunks/{appointment-tray-DF_R9ldY.js → appointment-tray-qtpJt8e0.js} +3 -3
  19. package/dist/_chunks/{audio-recorder-Cssm6jVh.js → audio-recorder-DR-u1qbl.js} +3 -3
  20. package/dist/_chunks/{auth-form-parts-CravOf0L.js → auth-form-parts-Cmb41LSQ.js} +2 -2
  21. package/dist/_chunks/{badge-hnBt8o7n.js → badge-BUk4RjTS.js} +2 -2
  22. package/dist/_chunks/{balance-badge-cell-DMG06b2C.js → balance-badge-cell-F7p_ZKEg.js} +5 -5
  23. package/dist/_chunks/{bishop-score-DxfkcxiV.js → bishop-score-CaNTrikJ.js} +2 -2
  24. package/dist/_chunks/{bmi-calculator-B4kgPqt5.js → bmi-calculator-DjmQ04Ch.js} +4 -4
  25. package/dist/_chunks/{booking-CXaqmdF7.js → booking-CGhOtxad.js} +8 -8
  26. package/dist/_chunks/{button-group-Cfpyu6pc.js → button-group-DCOJhvm3.js} +3 -3
  27. package/dist/_chunks/{calendar-DNTVaK6b.js → calendar-DCr65Kt1.js} +3 -3
  28. package/dist/_chunks/{calendar-workspace-UL5xcpWa.js → calendar-workspace-Dvfl9Vf6.js} +29 -29
  29. package/dist/_chunks/{care-plan-card-DFQbU_Gd.js → care-plan-card-BU3p5cLr.js} +3 -3
  30. package/dist/_chunks/{care-plan-entry-card-bj784KRk.js → care-plan-entry-card-DPJcP34v.js} +4 -4
  31. package/dist/_chunks/{care-plan-header-DDhyAfVK.js → care-plan-header-CgFjQLBd.js} +3 -3
  32. package/dist/_chunks/{carousel.agent-Csn24G1k.js → carousel.agent-BaRsN-8H.js} +2 -2
  33. package/dist/_chunks/chart-DgYHN8Xq.js +991 -0
  34. package/dist/_chunks/{chat-input-Ck34Pnmp.js → chat-input-HtTbUUD6.js} +2 -2
  35. package/dist/_chunks/{chat-message-DU0X3Xnl.js → chat-message-fRLZ95O5.js} +2 -2
  36. package/dist/_chunks/{checkbox--ndmyokr.js → checkbox-BjDv-r3o.js} +2 -2
  37. package/dist/_chunks/{checkbox-group-B0oZHNT3.js → checkbox-group-Cw2H5qaq.js} +2 -2
  38. package/dist/_chunks/{clinical-note-card-L6FVM9Gx.js → clinical-note-card-BgURrgL5.js} +3 -3
  39. package/dist/_chunks/{code-block-DiC4bg-o.js → code-block-vwEv1jEa.js} +2 -2
  40. package/dist/_chunks/{connection-status-BAnuwayz.js → connection-status--wYsgreh.js} +3 -3
  41. package/dist/_chunks/{contact-profile-card-JTRbnbxy.js → contact-profile-card-VTCAmQqj.js} +3 -3
  42. package/dist/_chunks/control-room-rail-DUerqHeo.js +416 -0
  43. package/dist/_chunks/{cycle-calculator-BuFi6ZJa.js → cycle-calculator-D-rwX9Pj.js} +2 -2
  44. package/dist/_chunks/{dashboard-grid-DRnhIlT-.js → dashboard-grid-B2MB7SRS.js} +627 -603
  45. package/dist/_chunks/{data-table-DAPkhyXO.js → data-table-m7GbLJZy.js} +6 -6
  46. package/dist/_chunks/{data-table-tabs-2t0cdk0h.js → data-table-tabs-BfrnefV5.js} +3 -3
  47. package/dist/_chunks/{dependent-selector-DgaAQc-c.js → dependent-selector-DBr1AhLg.js} +3 -3
  48. package/dist/_chunks/{description-list-CFEw__MT.js → description-list-Q8640NHu.js} +2 -2
  49. package/dist/_chunks/{dev-bypass-button-dTuUuzsT.js → dev-bypass-button--CPzzRSj.js} +2 -2
  50. package/dist/_chunks/{document-preview-DYX669jE.js → document-preview-B1dQm292.js} +4 -4
  51. package/dist/_chunks/{document-scanner-C41n4pNq.js → document-scanner-CVPVLK7z.js} +2 -2
  52. package/dist/_chunks/{due-date-calculator-yYvX8Ww_.js → due-date-calculator-DTfxFJCM.js} +5 -5
  53. package/dist/_chunks/{editable-currency-cell-renderer-6LDFAWUE.js → editable-currency-cell-renderer-1ijmzNWh.js} +4 -4
  54. package/dist/_chunks/{editable-description-D9FsTi8e.js → editable-description-ChGNdYY8.js} +2 -2
  55. package/dist/_chunks/{editor-overlay-BYkcaLCj.js → editor-overlay-CpVO1-Kk.js} +2 -2
  56. package/dist/_chunks/{entity-summary-oD_63dlz.js → entity-summary-DXIr5_x2.js} +4 -4
  57. package/dist/_chunks/{error-summary-BhM8FEkl.js → error-summary-DrUfuKu1.js} +2 -2
  58. package/dist/_chunks/{face-scheme-C-5V3MsY.js → face-scheme-DAD-mXzM.js} +4 -4
  59. package/dist/_chunks/{fetal-weight-CHv2winC.js → fetal-weight-DycD_Vqr.js} +2 -2
  60. package/dist/_chunks/{field-array-dSkD_ePA.js → field-array-BJYc1xSu.js} +2 -2
  61. package/dist/_chunks/{file-manager-C8bdHsYy.js → file-manager-G0t8MWbE.js} +6 -6
  62. package/dist/_chunks/{fiscal-code-input-BSWwda0C.js → fiscal-code-input-DwHb2nVW.js} +2 -2
  63. package/dist/_chunks/{forgot-password-form-CGWV5Q1-.js → forgot-password-form-CgZkEvZy.js} +4 -4
  64. package/dist/_chunks/{freemium-paywall-DjjVPC-5.js → freemium-paywall-r-z48YaT.js} +2 -2
  65. package/dist/_chunks/{gestational-age-calculator-BLccWS_4.js → gestational-age-calculator-BnCAL5a-.js} +5 -5
  66. package/dist/_chunks/{hcg-doubling-CnrY2OVu.js → hcg-doubling-DVDiqFyp.js} +2 -2
  67. package/dist/_chunks/{header-BVHAt7Fi.js → header-_TppWBpK.js} +2 -2
  68. package/dist/_chunks/{header-settings-C200bKyp.js → header-settings-BSH9Gk0J.js} +3 -3
  69. package/dist/_chunks/{heatmap-CRMr7VWC.js → heatmap-Bb0-M88T.js} +4 -4
  70. package/dist/_chunks/{help-me-write-templates-C9T8-DcT.js → help-me-write-templates-DFmqnsAa.js} +4 -4
  71. package/dist/_chunks/{hover-card-DbTmj-ea.js → hover-card-CTNhQXWS.js} +2 -2
  72. package/dist/_chunks/{icon-button-dNE6ENLn.js → icon-button-C_1TgRiK.js} +2 -2
  73. package/dist/_chunks/{icon-button-group-Du8IvZek.js → icon-button-group-NIHji7_y.js} +2 -2
  74. package/dist/_chunks/{icon-picker-D5NdDbCL.js → icon-picker-Dq4O32K8.js} +2 -2
  75. package/dist/_chunks/{info-tip-DObdz3w3.js → info-tip-cYszyg6h.js} +2 -2
  76. package/dist/_chunks/{key-value-pair-BNYHAZwD.js → key-value-pair-BscGwZsJ.js} +2 -2
  77. package/dist/_chunks/{kit-extensions-DI2nHVNw.js → kit-extensions-RnddkrXn.js} +6 -6
  78. package/dist/_chunks/{link-cell-renderer-DvhzS6lu.js → link-cell-renderer-dtEYlxi2.js} +6 -6
  79. package/dist/_chunks/{locale-picker-Bu4YE5b2.js → locale-picker-CeveTnDK.js} +3 -3
  80. package/dist/_chunks/{login-dev-card-DwWWHclZ.js → login-dev-card-PnADNcI9.js} +3 -3
  81. package/dist/_chunks/{marketplace-app-shell-p6hPgVwy.js → marketplace-app-shell-C-2e4eCD.js} +139 -136
  82. package/dist/_chunks/{message-card-CvZlo3Fn.js → message-card-A3mJNqfy.js} +2 -2
  83. package/dist/_chunks/{message-tray-DrS_LOed.js → message-tray-Ft6vSr71.js} +3 -3
  84. package/dist/_chunks/{multi-select-BT23EnSA.js → multi-select-CMaAQQgb.js} +2 -2
  85. package/dist/_chunks/{note-attachment-Bt2cddsZ.js → note-attachment-DoVWvjWR.js} +2 -2
  86. package/dist/_chunks/{note-timeline-CX9nAgAR.js → note-timeline-B7l3t5DZ.js} +2 -2
  87. package/dist/_chunks/{notes-panel-6TElt7jQ.js → notes-panel-CTmvrqQn.js} +7 -7
  88. package/dist/_chunks/{notification-card-Qrs52HIA.js → notification-card-c2oX8j3F.js} +2 -2
  89. package/dist/_chunks/{notification-tray-DRm1z97G.js → notification-tray-BR3seWA7.js} +3 -3
  90. package/dist/_chunks/{operator-hero-C_Khr5IU.js → operator-hero-3_RG4Dkj.js} +2 -2
  91. package/dist/_chunks/{optical-prescription-DLIAhJ6f.js → optical-prescription-CxfMsbxi.js} +2 -2
  92. package/dist/_chunks/{panel-header-D_mTdhUp.js → panel-header-BJkaUwnl.js} +2 -2
  93. package/dist/_chunks/{panel-subview-CjZgdWwO.js → panel-subview-yP4qIbKS.js} +3 -3
  94. package/dist/_chunks/{patient-details-BjqKBY2x.js → patient-details-BNDS69Zx.js} +4 -4
  95. package/dist/_chunks/{patient-field-row-BiI0BPPK.js → patient-field-row-BLBi-PjO.js} +7 -7
  96. package/dist/_chunks/{patient-search-B5R7FyFO.js → patient-search-DOnDUVsl.js} +2 -2
  97. package/dist/_chunks/{patient-summary-card-BOgnWKRV.js → patient-summary-card-T9umuZJF.js} +8 -8
  98. package/dist/_chunks/{payment-automation-upsell-39d5ykBi.js → payment-automation-upsell-C8MEu0t6.js} +4 -4
  99. package/dist/_chunks/{payment-form-v6zZuV1_.js → payment-form-i90DUuNK.js} +2 -2
  100. package/dist/_chunks/{payment-request-card-E3G4aVt6.js → payment-request-card-BmzNMY2a.js} +4 -4
  101. package/dist/_chunks/{pdf-viewer-CNQxa4tv.js → pdf-viewer-DJ9VN7cu.js} +2 -2
  102. package/dist/_chunks/{periodontal-chart-BZ1d6S36.js → periodontal-chart-DCcOEYC6.js} +2 -2
  103. package/dist/_chunks/{periodontal-chart-card-BE5hiQnn.js → periodontal-chart-card-CxdjXFb3.js} +3 -3
  104. package/dist/_chunks/{periodontal-diagnosis-6wybid_W.js → periodontal-diagnosis-B9YmmVmM.js} +5 -5
  105. package/dist/_chunks/{periodontal-risk-chart-CgLwBj5c.js → periodontal-risk-chart-CPy7CNFe.js} +2 -2
  106. package/dist/_chunks/{permission-matrix-DuTkUHxe.js → permission-matrix-BoQjENGV.js} +3 -3
  107. package/dist/_chunks/{popover-DQr_tljb.js → popover-4ZVtH_At.js} +2 -2
  108. package/dist/_chunks/{practice-profile-hero-DPbvYfCs.js → practice-profile-hero-Dfc0F60y.js} +2 -2
  109. package/dist/_chunks/{practice-results-Cktx7KaC.js → practice-results-B8L9ZmtR.js} +4 -4
  110. package/dist/_chunks/{pregnancy-dating-26fcvhAx.js → pregnancy-dating-D2XTELiw.js} +5 -5
  111. package/dist/_chunks/{pregnancy-weight-gain-D8q1IUCT.js → pregnancy-weight-gain-BVvyL-j1.js} +4 -4
  112. package/dist/_chunks/{privacy-lock-BpVgSgMb.js → privacy-lock-CEYJ8ehu.js} +2 -2
  113. package/dist/_chunks/{privacy-mask-BfMC57ST.js → privacy-mask-Ch7743uk.js} +2 -2
  114. package/dist/_chunks/{product-hub-panel-CH4B49ij.js → product-hub-panel-D-UELdo0.js} +2 -2
  115. package/dist/_chunks/{public-header.agent-BHTDKMsw.js → public-header.agent-DXRA7ebK.js} +3 -3
  116. package/dist/_chunks/{radio-BBbMdbE_.js → radio-BZQs6_36.js} +2 -2
  117. package/dist/_chunks/{radio-group-DicxWJXP.js → radio-group-ChIKyeSJ.js} +3 -3
  118. package/dist/_chunks/{radiograph-panel.agent-DR0gOeSc.js → radiograph-panel.agent-DDNUo4Ul.js} +4 -4
  119. package/dist/_chunks/{registration-form-B8IeB9kd.js → registration-form-BQyT_kBX.js} +5 -5
  120. package/dist/_chunks/{resource-chip-DQeCJzJf.js → resource-chip-DB5jDwUO.js} +2 -2
  121. package/dist/_chunks/{reviews-panel-CHzDqerd.js → reviews-panel-AvsVgtJu.js} +3 -3
  122. package/dist/_chunks/{rich-text-editor-BRuTo2hm.js → rich-text-editor-M2gT_E7f.js} +9 -9
  123. package/dist/_chunks/{sheet-CqvPYNLn.js → sheet-D2PfJl8n.js} +2 -2
  124. package/dist/_chunks/{sidebar-C9Zof0z1.js → sidebar-BS24EnYd.js} +2 -2
  125. package/dist/_chunks/{sign-document-D4iHS_Ug.js → sign-document-CY7xTXbm.js} +2 -2
  126. package/dist/_chunks/{signature-request-BH7yKI01.js → signature-request-BMCHy2ZO.js} +5 -5
  127. package/dist/_chunks/{signature-status-chip-DP3qRijv.js → signature-status-chip-pIoQjvH8.js} +3 -3
  128. package/dist/_chunks/{signed-out-frame-eaOWHpDr.js → signed-out-frame-D5DzqATh.js} +3 -3
  129. package/dist/_chunks/{slot-grid-DELa2Nwz.js → slot-grid-dj5f6R2w.js} +2 -2
  130. package/dist/_chunks/{stat-DmjGfXND.js → stat-D2PNJujA.js} +2 -2
  131. package/dist/_chunks/{streaming-text-bPDoG7Y3.js → streaming-text-zFViGexf.js} +2 -2
  132. package/dist/_chunks/{tab-bar-5GppbMGc.js → tab-bar-BEODTG6k.js} +2 -2
  133. package/dist/_chunks/{tag-CS5cXpfx.js → tag-DOZGz0fT.js} +2 -2
  134. package/dist/_chunks/{task-card-zaTU1rQa.js → task-card-BS7Uqevr.js} +2 -2
  135. package/dist/_chunks/{task-editor-CgGcg-2c.js → task-editor-DoiOzNiC.js} +9 -9
  136. package/dist/_chunks/{task-tray-DGMwogWu.js → task-tray-eQU4KJcA.js} +3 -3
  137. package/dist/_chunks/{tasks-panel-xGtiEdcj.js → tasks-panel-8nLwBw6P.js} +7 -7
  138. package/dist/_chunks/{theme-toggle-_cfYEK73.js → theme-toggle-Ctb77x6O.js} +3 -3
  139. package/dist/_chunks/{toast-CNUydTgT.js → toast-6T519aLz.js} +2 -2
  140. package/dist/_chunks/tool-rail-C-03rH2I.js +973 -0
  141. package/dist/_chunks/tooltip-uEBdD1-5.js +178 -0
  142. package/dist/_chunks/{tooth-scheme-05DsRMA5.js → tooth-scheme-Dkh4JwzT.js} +2 -2
  143. package/dist/_chunks/{transcript-panel-CjsiDB1K.js → transcript-panel-XudW5l6l.js} +2 -2
  144. package/dist/_chunks/{treatment-receipt-BSVOfStA.js → treatment-receipt-BdJ36vNP.js} +3 -3
  145. package/dist/_chunks/{use-appointment-details-read-BGVthJFx.js → use-appointment-details-read-Gu0ehyxj.js} +16 -16
  146. package/dist/_chunks/use-edge-resize-CBtem0j2.js +171 -0
  147. package/dist/_chunks/{voice-control-panel-DyKEaFxt.js → voice-control-panel-C0BfY23Y.js} +4 -4
  148. package/dist/_chunks/{warning-stack-CAL9xVo1.js → warning-stack-HYWAytZV.js} +3 -3
  149. package/dist/_chunks/{widget-picker-CkhoG4Rj.js → widget-picker-DlNPGcnu.js} +2 -2
  150. package/dist/_chunks/{workflow-map-BUYG1oXU.js → workflow-map-C2B2qIr1.js} +5 -5
  151. package/dist/agent-catalog.json +13 -1
  152. package/dist/agent-i18n/en.json +10 -0
  153. package/dist/components/_shared/use-apex-legend-scroll.d.ts +7 -0
  154. package/dist/components/agenda-card/index.js +1 -1
  155. package/dist/components/agenda-tray/index.js +1 -1
  156. package/dist/components/ai-credits-notice/index.js +1 -1
  157. package/dist/components/ai-permission-notice/index.js +1 -1
  158. package/dist/components/ai-prompt-input/index.js +1 -1
  159. package/dist/components/alert/index.js +1 -1
  160. package/dist/components/anamnesis-card/index.js +1 -1
  161. package/dist/components/anamnesis-summary-card/index.js +1 -1
  162. package/dist/components/app-frame/app-frame-context.d.ts +19 -0
  163. package/dist/components/app-frame/app-frame.d.ts +3 -0
  164. package/dist/components/app-frame/index.d.ts +2 -0
  165. package/dist/components/app-frame/index.js +4 -2
  166. package/dist/components/appointment-card/index.js +2 -2
  167. package/dist/components/appointment-details-panel/index.js +1 -1
  168. package/dist/components/appointment-peek/index.js +1 -1
  169. package/dist/components/appointment-timeline/index.js +1 -1
  170. package/dist/components/audio-recorder/index.js +1 -1
  171. package/dist/components/badge/index.js +1 -1
  172. package/dist/components/bishop-score/index.js +1 -1
  173. package/dist/components/bmi-calculator/index.js +1 -1
  174. package/dist/components/booking/index.js +1 -1
  175. package/dist/components/button/index.js +1 -1
  176. package/dist/components/button-group/index.js +1 -1
  177. package/dist/components/calendar/index.js +1 -1
  178. package/dist/components/care-plan-card/index.js +1 -1
  179. package/dist/components/care-plan-entry-card/index.js +1 -1
  180. package/dist/components/care-plan-header/index.js +1 -1
  181. package/dist/components/carousel/index.js +1 -1
  182. package/dist/components/chart/chart.d.ts +3 -1
  183. package/dist/components/chart/index.js +1 -1
  184. package/dist/components/chat-input/index.js +1 -1
  185. package/dist/components/chat-message/index.js +1 -1
  186. package/dist/components/checkbox/index.js +1 -1
  187. package/dist/components/checkbox-group/index.js +1 -1
  188. package/dist/components/clinical-note-card/index.js +1 -1
  189. package/dist/components/connection-status/index.js +1 -1
  190. package/dist/components/contact-profile-card/index.js +1 -1
  191. package/dist/components/control-room-rail/control-room-context.d.ts +10 -4
  192. package/dist/components/control-room-rail/index.js +1 -1
  193. package/dist/components/cycle-calculator/index.js +1 -1
  194. package/dist/components/dashboard-grid/index.js +1 -1
  195. package/dist/components/data-table/index.js +4 -4
  196. package/dist/components/data-table-tabs/index.js +1 -1
  197. package/dist/components/dependent-selector/index.js +1 -1
  198. package/dist/components/description-list/index.js +1 -1
  199. package/dist/components/dev-bypass-button/index.js +1 -1
  200. package/dist/components/document-preview/index.js +1 -1
  201. package/dist/components/document-scanner/index.js +1 -1
  202. package/dist/components/due-date-calculator/index.js +2 -2
  203. package/dist/components/editable-description/index.js +1 -1
  204. package/dist/components/editor-overlay/index.js +1 -1
  205. package/dist/components/entity-summary/index.js +1 -1
  206. package/dist/components/error-summary/index.js +1 -1
  207. package/dist/components/face-scheme/index.js +1 -1
  208. package/dist/components/fetal-weight/index.js +1 -1
  209. package/dist/components/field-array/index.js +1 -1
  210. package/dist/components/file-manager/index.js +1 -1
  211. package/dist/components/fiscal-code-input/index.js +1 -1
  212. package/dist/components/freemium-paywall/index.js +1 -1
  213. package/dist/components/gestational-age-calculator/index.js +1 -1
  214. package/dist/components/hcg-doubling/index.js +1 -1
  215. package/dist/components/header/index.js +1 -1
  216. package/dist/components/header-settings/index.js +1 -1
  217. package/dist/components/heatmap/index.js +1 -1
  218. package/dist/components/hover-card/index.js +1 -1
  219. package/dist/components/icon-button/index.js +1 -1
  220. package/dist/components/icon-button-group/index.js +1 -1
  221. package/dist/components/icon-picker/index.js +1 -1
  222. package/dist/components/info-tip/index.js +1 -1
  223. package/dist/components/key-value-pair/index.js +1 -1
  224. package/dist/components/locale-picker/index.js +1 -1
  225. package/dist/components/message-card/index.js +1 -1
  226. package/dist/components/message-tray/index.js +1 -1
  227. package/dist/components/multi-select/index.js +1 -1
  228. package/dist/components/note-timeline/index.js +1 -1
  229. package/dist/components/notes-panel/index.js +1 -1
  230. package/dist/components/notification-card/index.js +1 -1
  231. package/dist/components/notification-tray/index.js +1 -1
  232. package/dist/components/operator-hero/index.js +1 -1
  233. package/dist/components/optical-prescription/index.js +1 -1
  234. package/dist/components/panel-header/index.js +1 -1
  235. package/dist/components/panel-subview/index.js +1 -1
  236. package/dist/components/patient-details/index.js +1 -1
  237. package/dist/components/patient-search/index.js +1 -1
  238. package/dist/components/patient-summary-card/index.js +1 -1
  239. package/dist/components/patient-table/index.js +1 -1
  240. package/dist/components/payment-card/index.js +1 -1
  241. package/dist/components/payment-form/index.js +1 -1
  242. package/dist/components/pdf-viewer/index.js +1 -1
  243. package/dist/components/periodontal-chart/index.js +1 -1
  244. package/dist/components/periodontal-chart-card/index.js +1 -1
  245. package/dist/components/periodontal-diagnosis/index.js +1 -1
  246. package/dist/components/periodontal-risk-chart/index.js +1 -1
  247. package/dist/components/permission-matrix/index.js +1 -1
  248. package/dist/components/popover/index.js +1 -1
  249. package/dist/components/practice-profile-hero/index.js +1 -1
  250. package/dist/components/practice-results/index.js +1 -1
  251. package/dist/components/pregnancy-dating/index.js +1 -1
  252. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  253. package/dist/components/privacy-lock/index.js +1 -1
  254. package/dist/components/product-hub-tray/index.js +1 -1
  255. package/dist/components/public-header/index.js +1 -1
  256. package/dist/components/radio/index.js +1 -1
  257. package/dist/components/radio-group/index.js +2 -2
  258. package/dist/components/radiograph-panel/index.js +1 -1
  259. package/dist/components/resource-chip/index.js +1 -1
  260. package/dist/components/reviews-panel/index.js +1 -1
  261. package/dist/components/rich-text-editor/index.js +2 -2
  262. package/dist/components/sheet/index.js +1 -1
  263. package/dist/components/sidebar/index.js +1 -1
  264. package/dist/components/sign-document/index.js +1 -1
  265. package/dist/components/signature-status-chip/index.js +1 -1
  266. package/dist/components/slot-grid/index.js +1 -1
  267. package/dist/components/stat/index.js +1 -1
  268. package/dist/components/stat/stat.d.ts +7 -2
  269. package/dist/components/streaming-text/index.js +1 -1
  270. package/dist/components/tab-bar/index.js +1 -1
  271. package/dist/components/tag/index.js +1 -1
  272. package/dist/components/task-card/index.js +1 -1
  273. package/dist/components/task-editor/index.js +1 -1
  274. package/dist/components/task-tray/index.js +1 -1
  275. package/dist/components/tasks-panel/index.js +1 -1
  276. package/dist/components/theme-toggle/index.js +1 -1
  277. package/dist/components/toast/index.js +1 -1
  278. package/dist/components/tool-rail/index.js +1 -1
  279. package/dist/components/tool-rail/tool-rail.d.ts +7 -0
  280. package/dist/components/tooltip/index.js +1 -1
  281. package/dist/components/tooth-scheme/index.js +1 -1
  282. package/dist/components/transcript-panel/index.js +1 -1
  283. package/dist/components/treatment-receipt/index.js +1 -1
  284. package/dist/components/voice-control-panel/index.js +1 -1
  285. package/dist/components/warning-stack/index.js +1 -1
  286. package/dist/components/widget-picker/index.js +1 -1
  287. package/dist/components/workflow/index.js +1 -1
  288. package/dist/hooks/index.js +1 -1
  289. package/dist/hooks/use-edge-resize.d.ts +5 -1
  290. package/dist/index.js +778 -776
  291. package/dist/patterns/alia-assistant/index.js +1 -1
  292. package/dist/patterns/anamnesis/index.js +1 -1
  293. package/dist/patterns/calendar/index.js +1 -1
  294. package/dist/patterns/forgot-password-form/index.js +1 -1
  295. package/dist/patterns/help-me-write-templates/index.js +1 -1
  296. package/dist/patterns/login-form/index.js +1 -1
  297. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  298. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +3 -0
  299. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  300. package/dist/patterns/registration-form/index.js +1 -1
  301. package/dist/patterns/signature-request/index.js +1 -1
  302. package/dist/patterns/signed-out-frame/index.js +1 -1
  303. package/dist/tokens.css +8 -1
  304. package/package.json +1 -1
  305. package/dist/_chunks/app-frame-CqmDh2v5.js +0 -134
  306. package/dist/_chunks/chart-D7PbNO_M.js +0 -920
  307. package/dist/_chunks/control-room-rail-BbBEIdws.js +0 -379
  308. package/dist/_chunks/tool-rail-Blgibz0a.js +0 -816
  309. package/dist/_chunks/tooltip-Cp-PLePW.js +0 -119
  310. package/dist/_chunks/use-edge-resize-DHbyQwu8.js +0 -149
@@ -1,379 +0,0 @@
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-dNE6ENLn.js";
5
- import { a as wo } from "./panel-header-D_mTdhUp.js";
6
- import { T as xo } from "./tool-rail-Blgibz0a.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("ui"), [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-BbBEIdws.js.map