@alfadocs/ui-kit 1.35.0 → 1.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/dist/_chunks/{actions-cell-renderer-yy03OgRL.js → actions-cell-renderer-CUn1pqEq.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DVz3jwTf.js → agenda-card-DyQtHb9z.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-1oDWCJdB.js → agenda-tray-DYGCTIWB.js} +3 -3
  4. package/dist/_chunks/{ai-consent-banner-OggpS5hW.js → ai-consent-banner-De4gzSBZ.js} +4 -4
  5. package/dist/_chunks/{ai-prompt-input-Dt7tpCBh.js → ai-prompt-input-DdxlaI7q.js} +2 -2
  6. package/dist/_chunks/{alert-CiJT540z.js → alert-CiQ5Pa3Q.js} +2 -2
  7. package/dist/_chunks/{alia-sidebar-D18kp3p9.js → alia-sidebar-B6bXlZZk.js} +6 -6
  8. package/dist/_chunks/{anamnesis-card-NTi4LLzI.js → anamnesis-card-DGwINeNn.js} +3 -3
  9. package/dist/_chunks/{anamnesis-summary-card-DGVKBQoq.js → anamnesis-summary-card-GYHa7VGp.js} +3 -3
  10. package/dist/_chunks/{anamnesis-summary-rows-BYgyp_i2.js → anamnesis-summary-rows-Cxtgo2ok.js} +12 -12
  11. package/dist/_chunks/{antenatal-schedule-timeline-sXfIp5lp.js → antenatal-schedule-timeline-CXk_tzWG.js} +2 -2
  12. package/dist/_chunks/{appointment-card-Bh_CIlc6.js → appointment-card-WsDGBBut.js} +120 -126
  13. package/dist/_chunks/{appointment-timeline-De-Wqdkw.js → appointment-timeline-ByfovxqR.js} +5 -5
  14. package/dist/_chunks/{appointment-tray-4I9wTAi4.js → appointment-tray-D6UyJHej.js} +3 -3
  15. package/dist/_chunks/arrow-right-KsIrLdt0.js +15 -0
  16. package/dist/_chunks/{audio-recorder-11wClczr.js → audio-recorder-BlQBC7N_.js} +3 -3
  17. package/dist/_chunks/{badge-sTusUqZD.js → badge-BudgzTe_.js} +2 -2
  18. package/dist/_chunks/{balance-badge-cell-DhBtFRoW.js → balance-badge-cell-B0Z8Dwn8.js} +6 -6
  19. package/dist/_chunks/{bishop-score-CAl7C5hm.js → bishop-score-D5b8tktp.js} +2 -2
  20. package/dist/_chunks/{bmi-calculator-Dwkih9a4.js → bmi-calculator-dOKP-vW4.js} +4 -4
  21. package/dist/_chunks/{booking-BqkEtsKx.js → booking-Dp-9qR6F.js} +9 -9
  22. package/dist/_chunks/button-group-QmN1VdUW.js +307 -0
  23. package/dist/_chunks/{calendar-Dgvl5L4T.js → calendar-7GAUlsNO.js} +3 -3
  24. package/dist/_chunks/{calendar-event-card-DSh-69HT.js → calendar-event-card-DKUnT9Be.js} +91 -134
  25. package/dist/_chunks/{calendar-workspace-UywR5gUl.js → calendar-workspace-BYwQK7fz.js} +2501 -2415
  26. package/dist/_chunks/{care-plan-card-DHVhBcvs.js → care-plan-card-COFOI-fI.js} +5 -5
  27. package/dist/_chunks/{care-plan-entry-card-Dx6IdTcR.js → care-plan-entry-card-BOKn0KW-.js} +6 -6
  28. package/dist/_chunks/{care-plan-header-UTX5ZD74.js → care-plan-header-CbuOuVBw.js} +4 -4
  29. package/dist/_chunks/{carousel.agent-CLxdHEBP.js → carousel.agent-Dv4a4M8L.js} +2 -2
  30. package/dist/_chunks/{chart-C6eHTxkO.js → chart-iWl76PXv.js} +3 -3
  31. package/dist/_chunks/{chat-input-BsB5Umpj.js → chat-input-qM5QpUSq.js} +2 -2
  32. package/dist/_chunks/{chat-message-C-8UU2av.js → chat-message-RniXtrCH.js} +2 -2
  33. package/dist/_chunks/{checkbox-BuZ1u__2.js → checkbox-CZkipDn7.js} +2 -2
  34. package/dist/_chunks/{checkbox-group-CfqMv57d.js → checkbox-group-DomUzpkF.js} +2 -2
  35. package/dist/_chunks/clinical-note-card-DdsGYMmI.js +325 -0
  36. package/dist/_chunks/{code-block-BIkpRLkl.js → code-block-uVjNSI9g.js} +2 -2
  37. package/dist/_chunks/{connection-status-DRZIcMqM.js → connection-status-OEsWjmRk.js} +3 -3
  38. package/dist/_chunks/{contact-profile-card-DSI9uumA.js → contact-profile-card--My1H2UD.js} +3 -3
  39. package/dist/_chunks/{control-room-rail-5MbhjsxN.js → control-room-rail-Ds45_g4f.js} +4 -4
  40. package/dist/_chunks/{counter-dRlTNC_y.js → counter-WsvRuum1.js} +50 -15
  41. package/dist/_chunks/{cycle-calculator-DVgxBfP0.js → cycle-calculator-BJeaXiZv.js} +3 -3
  42. package/dist/_chunks/{dashboard-grid-BFtdHqfn.js → dashboard-grid-B23BFzRl.js} +2 -2
  43. package/dist/_chunks/{data-table-DC96JJIq.js → data-table-BYGK-gUJ.js} +6 -6
  44. package/dist/_chunks/{data-table-tabs-DVIFkqx_.js → data-table-tabs-BMR0zsVQ.js} +3 -3
  45. package/dist/_chunks/{date-picker-B6NW_PS5.js → date-picker-6tFnKFty.js} +14 -14
  46. package/dist/_chunks/{dependent-selector-yTKKsuc9.js → dependent-selector-BHDP0nBB.js} +3 -3
  47. package/dist/_chunks/{description-list-CjJqR8WK.js → description-list-C1RXMDZ_.js} +2 -2
  48. package/dist/_chunks/{document-preview-BrhMHNh8.js → document-preview-DsEyRcNd.js} +4 -4
  49. package/dist/_chunks/{document-scanner-C5Vrbu21.js → document-scanner-CbWVtm7u.js} +53 -52
  50. package/dist/_chunks/{due-date-calculator-CxgK8vzt.js → due-date-calculator-Dhc9Ljkb.js} +6 -6
  51. package/dist/_chunks/{editable-currency-cell-renderer-B7TVZ5ZJ.js → editable-currency-cell-renderer-D7blbDFY.js} +4 -4
  52. package/dist/_chunks/{editor-overlay-DEc5yYwo.js → editor-overlay-8fKAcRsm.js} +2 -2
  53. package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-I-Gio5wo.js} +36 -32
  54. package/dist/_chunks/{entity-summary-5o768XLU.js → entity-summary-BbW0mIzU.js} +4 -4
  55. package/dist/_chunks/{face-scheme-l-CQyLs-.js → face-scheme-uFvhqz6h.js} +4 -4
  56. package/dist/_chunks/{fetal-weight-Dqy0T1fP.js → fetal-weight-C6SxchOv.js} +2 -2
  57. package/dist/_chunks/{field-array-BjkXZzSr.js → field-array-C9dmRaIM.js} +2 -2
  58. package/dist/_chunks/{file-manager-CI2Qn8qW.js → file-manager-DvkFgj7d.js} +7 -7
  59. package/dist/_chunks/{file-upload-CwxdqkMK.js → file-upload-BDpb08GM.js} +71 -78
  60. package/dist/_chunks/{fiscal-code-input-B_nYMSEM.js → fiscal-code-input-CkwIdB1y.js} +2 -2
  61. package/dist/_chunks/{freemium-paywall-DrXzYfv-.js → freemium-paywall-BqGk_SBU.js} +2 -2
  62. package/dist/_chunks/{gestational-age-calculator-CZHVrERT.js → gestational-age-calculator-DDOGaPvg.js} +6 -6
  63. package/dist/_chunks/{hcg-doubling-C2fQxfXd.js → hcg-doubling-Bb_n6tEa.js} +2 -2
  64. package/dist/_chunks/{header-DUXRIPyM.js → header-BZ4pZlJV.js} +2 -2
  65. package/dist/_chunks/{header-settings-DvjZNMhD.js → header-settings-B8mLc03Q.js} +4 -4
  66. package/dist/_chunks/hover-card-Bcku1GQu.js +511 -0
  67. package/dist/_chunks/{icon-button-DA2CAGHZ.js → icon-button-8xqRnkdG.js} +2 -2
  68. package/dist/_chunks/{icon-button-group-VCCod3Hz.js → icon-button-group-Dj6CRoYR.js} +2 -2
  69. package/dist/_chunks/{icon-picker-DOa89vn3.js → icon-picker-CTWzlHJr.js} +2 -2
  70. package/dist/_chunks/{info-tip-CADik6WN.js → info-tip-ey_Pon2y.js} +2 -2
  71. package/dist/_chunks/{key-value-pair-BIBdZBLg.js → key-value-pair-DczGb4yz.js} +42 -41
  72. package/dist/_chunks/{link-cell-renderer-BEpMNtAa.js → link-cell-renderer-BNa8x6oJ.js} +6 -6
  73. package/dist/_chunks/loader-circle-BECIU_8N.js +12 -0
  74. package/dist/_chunks/{locale-picker-CwFtqSkt.js → locale-picker-BLeHbFSc.js} +3 -3
  75. package/dist/_chunks/{marketplace-app-shell-CK_ND8Tr.js → marketplace-app-shell-BwH6Aruw.js} +6 -6
  76. package/dist/_chunks/{message-card-BUMv16un.js → message-card-Dm5Xshup.js} +2 -2
  77. package/dist/_chunks/{message-tray-0zsv27xX.js → message-tray-BcLyaO-G.js} +3 -3
  78. package/dist/_chunks/{multi-select-DYOvx2SJ.js → multi-select-CtPd7g4x.js} +15 -15
  79. package/dist/_chunks/note-attachment-CwDir3kK.js +124 -0
  80. package/dist/_chunks/note-timeline-CXfSV3yX.js +231 -0
  81. package/dist/_chunks/{notes-panel-BjLt-kiP.js → notes-panel-Co8D3uDd.js} +7 -7
  82. package/dist/_chunks/{notification-card-CtrzoTUO.js → notification-card-ChcK9Wat.js} +2 -2
  83. package/dist/_chunks/{notification-tray-BiRzXHDf.js → notification-tray-CJ8jOe-U.js} +4 -4
  84. package/dist/_chunks/{operator-hero-aG_qyn6g.js → operator-hero-XIdwDmN2.js} +3 -3
  85. package/dist/_chunks/{optical-prescription-DUJOhKz_.js → optical-prescription-cphK41eP.js} +2 -2
  86. package/dist/_chunks/panel-header-D_mTdhUp.js +128 -0
  87. package/dist/_chunks/patient-details-f7SSXkTJ.js +371 -0
  88. package/dist/_chunks/patient-field-row-BQZoP4m2.js +787 -0
  89. package/dist/_chunks/{patient-search-HeEUB-_X.js → patient-search-D08b6jgj.js} +2 -2
  90. package/dist/_chunks/patient-summary-card-Bz7KdUin.js +533 -0
  91. package/dist/_chunks/{payment-automation-upsell-DwQW2fRp.js → payment-automation-upsell-BLTdE2em.js} +50 -59
  92. package/dist/_chunks/{payment-form-Ds1I9KqB.js → payment-form-BHMDqW9C.js} +2 -2
  93. package/dist/_chunks/{payment-request-card-DvEsWEkC.js → payment-request-card-BxcdvxKR.js} +6 -6
  94. package/dist/_chunks/{pdf-viewer-DUIsV9s5.js → pdf-viewer-DUKdn5iq.js} +2 -2
  95. package/dist/_chunks/{periodontal-chart-B9fphroR.js → periodontal-chart-BF_e3wZp.js} +2 -2
  96. package/dist/_chunks/{periodontal-chart-card-qEZPXj83.js → periodontal-chart-card-BJEuJuzh.js} +3 -3
  97. package/dist/_chunks/{periodontal-diagnosis-lEwA8wqX.js → periodontal-diagnosis-C7pfPOct.js} +5 -5
  98. package/dist/_chunks/{periodontal-risk-chart-0x7KVZjL.js → periodontal-risk-chart-B2tNFa15.js} +2 -2
  99. package/dist/_chunks/{permission-matrix-BIJrGEmz.js → permission-matrix-VdAXjjHU.js} +3 -3
  100. package/dist/_chunks/{popover-DP6WCVwm.js → popover-DzR5QYxp.js} +24 -24
  101. package/dist/_chunks/{practice-profile-hero-DQyDvpJL.js → practice-profile-hero-DxoLlQr5.js} +2 -2
  102. package/dist/_chunks/{practice-results-kayDEorM.js → practice-results-DOcORTkP.js} +4 -4
  103. package/dist/_chunks/{pregnancy-dating-n5j5dAKy.js → pregnancy-dating-nV1_S6w0.js} +6 -6
  104. package/dist/_chunks/{pregnancy-weight-gain-D5A8vPjj.js → pregnancy-weight-gain-tRecShAD.js} +4 -4
  105. package/dist/_chunks/{privacy-lock-CkAUo6Dz.js → privacy-lock-Be39vQUN.js} +2 -2
  106. package/dist/_chunks/{product-hub-panel-BScCotGD.js → product-hub-panel-C0TO69P7.js} +2 -2
  107. package/dist/_chunks/{public-header.agent-kth2SdXn.js → public-header.agent-Bl1KFwSE.js} +3 -3
  108. package/dist/_chunks/{radio-DNRe6H_8.js → radio-6fml-pWk.js} +2 -2
  109. package/dist/_chunks/{radio-group-DyVBgnA3.js → radio-group-CIjmyioi.js} +3 -3
  110. package/dist/_chunks/{radiograph-panel.agent-o4jwEJPC.js → radiograph-panel.agent-k0G7JuoM.js} +6 -6
  111. package/dist/_chunks/{reviews-panel-BKHEfqVQ.js → reviews-panel-BaHZb_ai.js} +3 -3
  112. package/dist/_chunks/{rich-text-editor-CCI-Y3DN.js → rich-text-editor-BTXlorm5.js} +7 -7
  113. package/dist/_chunks/{search-bar-CJj6sI9m.js → search-bar-CCmViqaa.js} +46 -46
  114. package/dist/_chunks/section-card.agent-W18CHEgX.js +74 -0
  115. package/dist/_chunks/{sheet-BSznOyJs.js → sheet-hm04DGFd.js} +2 -2
  116. package/dist/_chunks/{sign-document-jF4fZDJ5.js → sign-document-CRQuAn4W.js} +2 -2
  117. package/dist/_chunks/{signature-request-vihDT8On.js → signature-request-Dej2g86d.js} +5 -5
  118. package/dist/_chunks/{signature-status-chip-T5fyS-k9.js → signature-status-chip-D4NsrdeI.js} +3 -3
  119. package/dist/_chunks/{slot-grid-BuZOKfcd.js → slot-grid-8Ko6thzz.js} +2 -2
  120. package/dist/_chunks/{streaming-text-CvsjIQ7S.js → streaming-text-DjFqLSt_.js} +2 -2
  121. package/dist/_chunks/{tab-bar-DvFJIQfL.js → tab-bar-rDkLiaA6.js} +2 -2
  122. package/dist/_chunks/{tag-3wgkwwDB.js → tag-Ci3xJPcH.js} +2 -2
  123. package/dist/_chunks/{task-tray-COo-RlDv.js → task-tray-wl9eti6J.js} +2 -2
  124. package/dist/_chunks/{tasks-panel-DLKpSNoE.js → tasks-panel-BDNB7hsZ.js} +5 -5
  125. package/dist/_chunks/{theme-toggle-uEwoKjl3.js → theme-toggle-CMz8YfC1.js} +3 -3
  126. package/dist/_chunks/{timeline-Bs9Erxlo.js → timeline-61AihzYz.js} +47 -47
  127. package/dist/_chunks/{toast-YZz2sBzB.js → toast-8jqtbfAB.js} +2 -2
  128. package/dist/_chunks/{tool-rail-ONaV-Nzz.js → tool-rail-Bq5eiFMG.js} +3 -3
  129. package/dist/_chunks/{tooltip-DvmfrNvB.js → tooltip-Cp-PLePW.js} +41 -41
  130. package/dist/_chunks/{tooth-scheme-Qe7LO5Di.js → tooth-scheme-BWkYxxjR.js} +3 -3
  131. package/dist/_chunks/{transaction-chip-DJCstquX.js → transaction-chip-Dth1nThY.js} +49 -48
  132. package/dist/_chunks/{transcript-panel-BGkEhvHO.js → transcript-panel-u2HHxZB6.js} +2 -2
  133. package/dist/_chunks/user-x-DYszNtIg.js +45 -0
  134. package/dist/_chunks/{warning-stack-DQz0Jyir.js → warning-stack-BW5Dwb3z.js} +3 -3
  135. package/dist/_chunks/{widget-picker-DvUkBemi.js → widget-picker-B1sj6uyf.js} +2 -2
  136. package/dist/_chunks/{workflow-map-dNzJjBWG.js → workflow-map-D-LEni11.js} +5 -5
  137. package/dist/_chunks/workflow-status-xeaJTzD3.js +476 -0
  138. package/dist/agent-catalog.json +185 -1
  139. package/dist/agent-i18n/en.json +27 -0
  140. package/dist/components/_shared/entity-card/entity-card.d.ts +44 -0
  141. package/dist/components/_shared/entity-card/index.d.ts +1 -1
  142. package/dist/components/_shared/note-attachment.d.ts +41 -0
  143. package/dist/components/_shared/note-markdown.d.ts +3 -0
  144. package/dist/components/_shared/patient-field-row.d.ts +40 -0
  145. package/dist/components/agenda-card/index.js +1 -1
  146. package/dist/components/agenda-tray/index.js +1 -1
  147. package/dist/components/ai-consent-banner/index.js +1 -1
  148. package/dist/components/ai-prompt-input/index.js +1 -1
  149. package/dist/components/alert/index.js +1 -1
  150. package/dist/components/anamnesis-card/index.js +1 -1
  151. package/dist/components/anamnesis-summary-card/index.js +1 -1
  152. package/dist/components/appointment-card/index.js +2 -2
  153. package/dist/components/appointment-timeline/index.js +1 -1
  154. package/dist/components/audio-recorder/index.js +1 -1
  155. package/dist/components/badge/index.js +1 -1
  156. package/dist/components/bishop-score/index.js +1 -1
  157. package/dist/components/bmi-calculator/index.js +1 -1
  158. package/dist/components/booking/index.js +1 -1
  159. package/dist/components/button/index.js +1 -1
  160. package/dist/components/button-group/button-group.d.ts +20 -0
  161. package/dist/components/button-group/index.js +1 -1
  162. package/dist/components/calendar/index.js +1 -1
  163. package/dist/components/calendar-event-card/index.js +1 -1
  164. package/dist/components/care-plan-card/index.js +1 -1
  165. package/dist/components/care-plan-entry-card/index.js +1 -1
  166. package/dist/components/care-plan-header/index.js +1 -1
  167. package/dist/components/carousel/index.js +1 -1
  168. package/dist/components/chart/index.js +1 -1
  169. package/dist/components/chat-input/index.js +1 -1
  170. package/dist/components/chat-message/index.js +1 -1
  171. package/dist/components/checkbox/index.js +1 -1
  172. package/dist/components/checkbox-group/index.js +1 -1
  173. package/dist/components/clinical-note-card/clinical-note-card.d.ts +2 -34
  174. package/dist/components/clinical-note-card/index.js +1 -1
  175. package/dist/components/connection-status/index.js +1 -1
  176. package/dist/components/contact-profile-card/index.js +1 -1
  177. package/dist/components/control-room-rail/index.js +1 -1
  178. package/dist/components/counter/counter.d.ts +6 -0
  179. package/dist/components/counter/index.js +1 -1
  180. package/dist/components/cycle-calculator/index.js +1 -1
  181. package/dist/components/dashboard-grid/index.js +1 -1
  182. package/dist/components/data-table/index.js +4 -4
  183. package/dist/components/data-table-tabs/index.js +1 -1
  184. package/dist/components/date-picker/index.js +1 -1
  185. package/dist/components/dependent-selector/index.js +1 -1
  186. package/dist/components/description-list/index.js +1 -1
  187. package/dist/components/document-preview/index.js +1 -1
  188. package/dist/components/document-scanner/index.js +1 -1
  189. package/dist/components/due-date-calculator/index.js +2 -2
  190. package/dist/components/editor-overlay/index.js +1 -1
  191. package/dist/components/entity-summary/index.js +1 -1
  192. package/dist/components/face-scheme/index.js +1 -1
  193. package/dist/components/fetal-weight/index.js +1 -1
  194. package/dist/components/field-array/index.js +1 -1
  195. package/dist/components/file-manager/index.js +1 -1
  196. package/dist/components/file-upload/index.js +1 -1
  197. package/dist/components/fiscal-code-input/index.js +1 -1
  198. package/dist/components/freemium-paywall/index.js +1 -1
  199. package/dist/components/gestational-age-calculator/index.js +1 -1
  200. package/dist/components/hcg-doubling/index.js +1 -1
  201. package/dist/components/header/index.js +1 -1
  202. package/dist/components/header-settings/index.js +1 -1
  203. package/dist/components/hover-card/hover-card.agent.d.ts +4 -0
  204. package/dist/components/hover-card/hover-card.d.ts +80 -0
  205. package/dist/components/hover-card/index.d.ts +4 -0
  206. package/dist/components/hover-card/index.js +6 -0
  207. package/dist/components/icon-button/index.js +1 -1
  208. package/dist/components/icon-button-group/index.js +1 -1
  209. package/dist/components/icon-picker/index.js +1 -1
  210. package/dist/components/index.d.ts +4 -0
  211. package/dist/components/info-tip/index.js +1 -1
  212. package/dist/components/key-value-pair/index.js +1 -1
  213. package/dist/components/key-value-pair/key-value-pair.d.ts +8 -1
  214. package/dist/components/locale-picker/index.js +1 -1
  215. package/dist/components/message-card/index.js +1 -1
  216. package/dist/components/message-tray/index.js +1 -1
  217. package/dist/components/multi-select/index.js +1 -1
  218. package/dist/components/note-timeline/index.d.ts +4 -0
  219. package/dist/components/note-timeline/index.js +6 -0
  220. package/dist/components/note-timeline/note-timeline.agent.d.ts +4 -0
  221. package/dist/components/note-timeline/note-timeline.d.ts +77 -0
  222. package/dist/components/notes-panel/index.js +1 -1
  223. package/dist/components/notification-card/index.js +1 -1
  224. package/dist/components/notification-tray/index.js +1 -1
  225. package/dist/components/operator-hero/index.js +1 -1
  226. package/dist/components/optical-prescription/index.js +1 -1
  227. package/dist/components/panel-header/index.js +1 -1
  228. package/dist/components/panel-header/panel-header.d.ts +7 -0
  229. package/dist/components/patient-details/index.js +1 -1
  230. package/dist/components/patient-search/index.js +1 -1
  231. package/dist/components/patient-summary-card/index.js +1 -1
  232. package/dist/components/patient-summary-card/patient-summary-card.d.ts +54 -0
  233. package/dist/components/patient-table/index.js +1 -1
  234. package/dist/components/payment-card/index.js +1 -1
  235. package/dist/components/payment-form/index.js +1 -1
  236. package/dist/components/pdf-viewer/index.js +1 -1
  237. package/dist/components/periodontal-chart/index.js +1 -1
  238. package/dist/components/periodontal-chart-card/index.js +1 -1
  239. package/dist/components/periodontal-diagnosis/index.js +1 -1
  240. package/dist/components/periodontal-risk-chart/index.js +1 -1
  241. package/dist/components/permission-matrix/index.js +1 -1
  242. package/dist/components/popover/index.js +1 -1
  243. package/dist/components/practice-profile-hero/index.js +1 -1
  244. package/dist/components/practice-results/index.js +1 -1
  245. package/dist/components/pregnancy-dating/index.js +1 -1
  246. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  247. package/dist/components/privacy-lock/index.js +1 -1
  248. package/dist/components/product-hub-tray/index.js +1 -1
  249. package/dist/components/public-header/index.js +1 -1
  250. package/dist/components/radio/index.js +1 -1
  251. package/dist/components/radio-group/index.js +2 -2
  252. package/dist/components/radiograph-panel/index.js +1 -1
  253. package/dist/components/reviews-panel/index.js +1 -1
  254. package/dist/components/rich-text-editor/index.js +1 -1
  255. package/dist/components/search-bar/index.js +1 -1
  256. package/dist/components/section-card/index.d.ts +4 -0
  257. package/dist/components/section-card/index.js +6 -0
  258. package/dist/components/section-card/section-card.agent.d.ts +3 -0
  259. package/dist/components/section-card/section-card.d.ts +30 -0
  260. package/dist/components/sheet/index.js +1 -1
  261. package/dist/components/sign-document/index.js +1 -1
  262. package/dist/components/signature-status-chip/index.js +1 -1
  263. package/dist/components/slot-grid/index.js +1 -1
  264. package/dist/components/streaming-text/index.js +1 -1
  265. package/dist/components/tab-bar/index.js +1 -1
  266. package/dist/components/tag/index.js +1 -1
  267. package/dist/components/task-tray/index.js +1 -1
  268. package/dist/components/tasks-panel/index.js +1 -1
  269. package/dist/components/theme-toggle/index.js +1 -1
  270. package/dist/components/timeline/index.js +1 -1
  271. package/dist/components/timeline/timeline.d.ts +1 -1
  272. package/dist/components/toast/index.js +1 -1
  273. package/dist/components/tool-rail/index.js +1 -1
  274. package/dist/components/tooltip/index.js +1 -1
  275. package/dist/components/tooth-scheme/index.js +1 -1
  276. package/dist/components/transaction-chip/index.js +1 -1
  277. package/dist/components/transaction-chip/transaction-chip.d.ts +11 -0
  278. package/dist/components/transcript-panel/index.js +1 -1
  279. package/dist/components/warning-stack/index.js +1 -1
  280. package/dist/components/widget-picker/index.js +1 -1
  281. package/dist/components/workflow/index.js +1 -1
  282. package/dist/components/workflow-status/index.d.ts +4 -0
  283. package/dist/components/workflow-status/index.js +7 -0
  284. package/dist/components/workflow-status/workflow-status.agent.d.ts +4 -0
  285. package/dist/components/workflow-status/workflow-status.d.ts +52 -0
  286. package/dist/host-compat.css +4 -1
  287. package/dist/i18n/locales/ar.d.ts +12 -0
  288. package/dist/i18n/locales/ar.js +12 -0
  289. package/dist/i18n/locales/de.d.ts +12 -0
  290. package/dist/i18n/locales/de.js +12 -0
  291. package/dist/i18n/locales/el.d.ts +12 -0
  292. package/dist/i18n/locales/el.js +12 -0
  293. package/dist/i18n/locales/en.d.ts +12 -0
  294. package/dist/i18n/locales/en.js +12 -0
  295. package/dist/i18n/locales/es.d.ts +12 -0
  296. package/dist/i18n/locales/es.js +12 -0
  297. package/dist/i18n/locales/fr.d.ts +12 -0
  298. package/dist/i18n/locales/fr.js +12 -0
  299. package/dist/i18n/locales/hi.d.ts +12 -0
  300. package/dist/i18n/locales/hi.js +12 -0
  301. package/dist/i18n/locales/it.d.ts +12 -0
  302. package/dist/i18n/locales/it.js +12 -0
  303. package/dist/i18n/locales/ja.d.ts +12 -0
  304. package/dist/i18n/locales/ja.js +12 -0
  305. package/dist/i18n/locales/nl.d.ts +12 -0
  306. package/dist/i18n/locales/nl.js +12 -0
  307. package/dist/i18n/locales/pl.d.ts +12 -0
  308. package/dist/i18n/locales/pl.js +12 -0
  309. package/dist/i18n/locales/pt.d.ts +12 -0
  310. package/dist/i18n/locales/pt.js +12 -0
  311. package/dist/i18n/locales/ro.d.ts +12 -0
  312. package/dist/i18n/locales/ro.js +12 -0
  313. package/dist/i18n/locales/ru.d.ts +12 -0
  314. package/dist/i18n/locales/ru.js +12 -0
  315. package/dist/i18n/locales/sq.d.ts +12 -0
  316. package/dist/i18n/locales/sq.js +12 -0
  317. package/dist/i18n/locales/sv.d.ts +12 -0
  318. package/dist/i18n/locales/sv.js +12 -0
  319. package/dist/i18n/locales/tr.d.ts +12 -0
  320. package/dist/i18n/locales/tr.js +12 -0
  321. package/dist/i18n/locales/zh.d.ts +12 -0
  322. package/dist/i18n/locales/zh.js +12 -0
  323. package/dist/index.js +929 -916
  324. package/dist/locales/ar.json +12 -0
  325. package/dist/locales/de.json +12 -0
  326. package/dist/locales/el.json +12 -0
  327. package/dist/locales/en.json +12 -0
  328. package/dist/locales/es.json +12 -0
  329. package/dist/locales/fr.json +12 -0
  330. package/dist/locales/hi.json +12 -0
  331. package/dist/locales/it.json +12 -0
  332. package/dist/locales/ja.json +12 -0
  333. package/dist/locales/nl.json +12 -0
  334. package/dist/locales/pl.json +12 -0
  335. package/dist/locales/pt.json +12 -0
  336. package/dist/locales/ro.json +12 -0
  337. package/dist/locales/ru.json +12 -0
  338. package/dist/locales/sq.json +12 -0
  339. package/dist/locales/sv.json +12 -0
  340. package/dist/locales/tr.json +12 -0
  341. package/dist/locales/zh.json +12 -0
  342. package/dist/patterns/alia-assistant/index.js +1 -1
  343. package/dist/patterns/anamnesis/index.js +1 -1
  344. package/dist/patterns/calendar/calendar.model.d.ts +2 -0
  345. package/dist/patterns/calendar/index.js +1 -1
  346. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  347. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  348. package/dist/patterns/signature-request/index.js +1 -1
  349. package/dist/tokens.css +1 -1
  350. package/package.json +17 -1
  351. package/dist/_chunks/button-group-CaxRJsNG.js +0 -289
  352. package/dist/_chunks/clinical-note-card-CTRzmqvv.js +0 -438
  353. package/dist/_chunks/field-value-BetdWMA2.js +0 -384
  354. package/dist/_chunks/panel-header-D313n_9-.js +0 -105
  355. package/dist/_chunks/patient-details-BGiawUHd.js +0 -760
  356. package/dist/_chunks/patient-summary-card--CT_gbaQ.js +0 -454
@@ -1,11 +1,11 @@
1
1
  import { jsx as a, jsxs as i, Fragment as y } from "react/jsx-runtime";
2
- import { forwardRef as g, useState as f, useCallback as I } from "react";
2
+ import { forwardRef as g, useState as f, useCallback as K } from "react";
3
3
  import { c as h } from "./index-D2ZczOXr.js";
4
- import { useTranslation as K } from "react-i18next";
5
- import { I as T } from "./icon-button-DA2CAGHZ.js";
6
- import { C as j } from "./check-DrFSN__t.js";
7
- import { C as _ } from "./copy-vRpqqHtY.js";
8
- const A = h(
4
+ import { useTranslation as T } from "react-i18next";
5
+ import { I as j } from "./icon-button-8xqRnkdG.js";
6
+ import { C as _ } from "./check-DrFSN__t.js";
7
+ import { C as A } from "./copy-vRpqqHtY.js";
8
+ const B = h(
9
9
  "type-body ds:text-foreground ds:min-w-0 ds:[unicode-bidi:isolate]",
10
10
  {
11
11
  variants: {
@@ -47,7 +47,7 @@ const A = h(
47
47
  mono: !1
48
48
  }
49
49
  }
50
- ), B = h("ds:flex", {
50
+ ), L = h("ds:flex", {
51
51
  variants: {
52
52
  layout: {
53
53
  horizontal: "ds:flex-row ds:items-center ds:gap-[var(--spacing-sm)]",
@@ -66,20 +66,21 @@ const A = h(
66
66
  layout: "horizontal",
67
67
  hasIcon: !1
68
68
  }
69
- }), L = g(
69
+ }), S = g(
70
70
  ({
71
71
  label: t,
72
+ labelNode: l,
72
73
  value: e,
73
74
  layout: s = "horizontal",
74
75
  alignValue: n = "start",
75
- mono: l = !1,
76
- copyable: v = !1,
77
- copyText: k,
76
+ mono: v = !1,
77
+ copyable: k = !1,
78
+ copyText: x,
78
79
  icon: d,
79
- className: x,
80
- ...V
81
- }, C) => {
82
- const { t: o } = K(), [z, p] = f(!1), [N, r] = f(""), c = k ?? (typeof e == "string" ? e : void 0), b = I(async () => {
80
+ className: V,
81
+ ...C
82
+ }, z) => {
83
+ const { t: o } = T(), [N, p] = f(!1), [b, r] = f(""), c = x ?? (typeof e == "string" ? e : void 0), w = K(async () => {
83
84
  if (c)
84
85
  try {
85
86
  await navigator.clipboard.writeText(c), p(!0), r(o("keyValuePair.copied")), setTimeout(() => {
@@ -88,23 +89,23 @@ const A = h(
88
89
  } catch {
89
90
  r(o("keyValuePair.notAvailable")), setTimeout(() => r(""), 3e3);
90
91
  }
91
- }, [c, o]), w = A({
92
+ }, [c, o]), P = B({
92
93
  layout: s,
93
94
  alignValue: n,
94
- mono: l
95
- }), u = d != null, P = "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0 ds:flex-1", m = /* @__PURE__ */ i(y, { children: [
95
+ mono: v
96
+ }), u = d != null, I = "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0 ds:flex-1", m = /* @__PURE__ */ i(y, { children: [
96
97
  /* @__PURE__ */ i("span", { className: "type-label ds:text-muted-foreground ds:shrink-0", children: [
97
- t,
98
+ l ?? t,
98
99
  /* @__PURE__ */ a("span", { className: "ds:sr-only", children: ": " })
99
100
  ] }),
100
- /* @__PURE__ */ a("span", { className: w, children: e }),
101
- v && /* @__PURE__ */ a(
102
- T,
101
+ /* @__PURE__ */ a("span", { className: P, children: e }),
102
+ k && /* @__PURE__ */ a(
103
+ j,
103
104
  {
104
- icon: z ? /* @__PURE__ */ a(j, {}) : /* @__PURE__ */ a(_, {}),
105
+ icon: N ? /* @__PURE__ */ a(_, {}) : /* @__PURE__ */ a(A, {}),
105
106
  size: "sm",
106
107
  "aria-label": o("keyValuePair.copy", { label: t }),
107
- onClick: b,
108
+ onClick: w,
108
109
  intent: "ghost",
109
110
  className: s === "horizontal" ? (
110
111
  // Only one element on the row may claim the slack. When
@@ -120,10 +121,10 @@ const A = h(
120
121
  return /* @__PURE__ */ i(
121
122
  "div",
122
123
  {
123
- ref: C,
124
- className: B({ layout: s, hasIcon: u, className: x }),
124
+ ref: z,
125
+ className: L({ layout: s, hasIcon: u, className: V }),
125
126
  "data-component": "key-value-pair",
126
- ...V,
127
+ ...C,
127
128
  children: [
128
129
  u ? /* @__PURE__ */ i(y, { children: [
129
130
  /* @__PURE__ */ a(
@@ -134,29 +135,29 @@ const A = h(
134
135
  children: d
135
136
  }
136
137
  ),
137
- s === "horizontal" ? m : /* @__PURE__ */ a("div", { className: P, children: m })
138
+ s === "horizontal" ? m : /* @__PURE__ */ a("div", { className: I, children: m })
138
139
  ] }) : m,
139
- /* @__PURE__ */ a("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: N })
140
+ /* @__PURE__ */ a("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: b })
140
141
  ]
141
142
  }
142
143
  );
143
144
  }
144
145
  );
145
- L.displayName = "KeyValuePair";
146
- const S = {
146
+ S.displayName = "KeyValuePair";
147
+ const F = {
147
148
  sm: "ds:gap-y-[var(--spacing-sm)]",
148
149
  md: "ds:gap-y-[var(--spacing-md)]",
149
150
  lg: "ds:gap-y-[var(--spacing-lg)]"
150
- }, F = g(
151
- ({ children: t, className: e, rowGap: s = "md", ...n }, l) => /* @__PURE__ */ a(
151
+ }, G = g(
152
+ ({ children: t, className: l, rowGap: e = "md", ...s }, n) => /* @__PURE__ */ a(
152
153
  "div",
153
154
  {
154
- ref: l,
155
+ ref: n,
155
156
  "data-component": "key-value-list",
156
157
  className: [
157
158
  "ds:grid ds:grid-cols-[auto_auto_minmax(0,1fr)]",
158
159
  "ds:gap-x-[var(--spacing-md)]",
159
- S[s],
160
+ F[e],
160
161
  // Each direct `data-component="key-value-pair"` child becomes
161
162
  // a subgrid row spanning all three columns. The KVP's own
162
163
  // flex layout still works inside the cell (icon shrinks-0,
@@ -173,16 +174,16 @@ const S = {
173
174
  // `[gap:normal]` is the subgrid-spec way to defer to the
174
175
  // parent.
175
176
  'ds:[&>[data-component="key-value-pair"]]:[gap:normal]',
176
- e
177
+ l
177
178
  ].filter(Boolean).join(" "),
178
- ...n,
179
+ ...s,
179
180
  children: t
180
181
  }
181
182
  )
182
183
  );
183
- F.displayName = "KeyValueList";
184
+ G.displayName = "KeyValueList";
184
185
  export {
185
- F as K,
186
- L as a
186
+ G as K,
187
+ S as a
187
188
  };
188
- //# sourceMappingURL=key-value-pair-BIBdZBLg.js.map
189
+ //# sourceMappingURL=key-value-pair-DczGb4yz.js.map
@@ -3,17 +3,17 @@ import { useState as x, useEffect as w, useCallback as U, useMemo as z, useRef a
3
3
  import { useGridFilter as A } from "ag-grid-react";
4
4
  import { D as H } from "./date-range-picker-TpmECKRh.js";
5
5
  import { useTranslation as L } from "react-i18next";
6
- import { C as J } from "./checkbox-BuZ1u__2.js";
6
+ import { C as J } from "./checkbox-CZkipDn7.js";
7
7
  import { B as E } from "./button-nJaPh_HC.js";
8
- import { M as Q } from "./multi-select-DYOvx2SJ.js";
8
+ import { M as Q } from "./multi-select-CtPd7g4x.js";
9
9
  import { S as W } from "./scroll-area-BZOvUhwQ.js";
10
10
  import { A as Y } from "./autocomplete-MpBhz-fG.js";
11
11
  import { N as M } from "./number-input-Cgu2TtA8.js";
12
12
  import { S as ee } from "./select-CLSUnKjF.js";
13
- import { B as te } from "./badge-sTusUqZD.js";
13
+ import { B as te } from "./badge-BudgzTe_.js";
14
14
  import { A as j } from "./avatar-CkDeQOSI.js";
15
- import { T as I } from "./tag-3wgkwwDB.js";
16
- import { T as ne } from "./tooltip-DvmfrNvB.js";
15
+ import { T as I } from "./tag-Ci3xJPcH.js";
16
+ import { T as ne } from "./tooltip-Cp-PLePW.js";
17
17
  import { T as B } from "./timestamp-BV2lC-wV.js";
18
18
  const G = /^\d{4}-\d{2}-\d{2}$/, ae = /^(\d{4}-\d{2}-\d{2})/;
19
19
  function P(t) {
@@ -775,4 +775,4 @@ export {
775
775
  Ve as g,
776
776
  O as h
777
777
  };
778
- //# sourceMappingURL=link-cell-renderer-BEpMNtAa.js.map
778
+ //# sourceMappingURL=link-cell-renderer-BNa8x6oJ.js.map
@@ -0,0 +1,12 @@
1
+ import { c } from "./createLucideIcon-DhHxpK9K.js";
2
+ /**
3
+ * @license lucide-react v1.22.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], a = c("loader-circle", e);
9
+ export {
10
+ a as L
11
+ };
12
+ //# sourceMappingURL=loader-circle-BECIU_8N.js.map
@@ -3,8 +3,8 @@ import { forwardRef as I, createElement as Z, useId as ee, useState as B, useCal
3
3
  import { c as q } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
5
  import { _ as y, R as oe } from "./index-4xgbg-sn.js";
6
- import { I as te } from "./icon-button-DA2CAGHZ.js";
7
- import { P as L } from "./popover-DP6WCVwm.js";
6
+ import { I as te } from "./icon-button-8xqRnkdG.js";
7
+ import { P as L } from "./popover-DzR5QYxp.js";
8
8
  import { F as ne, f as ie, s as J, _ as re, a as le, b as ce, c as de, d as ue, e as ge, g as me, h as _e, i as fe, j as ve, k as pe, l as he, m as ye, n as be, o as Ne, p as Le, q as xe, r as Ce, t as Se, u as ke, v as we, w as Ee, x as Pe, y as Re, z as Ie, A as Te, B as Ae, C as De, D as je, E as Fe, G as Oe, H as ze, I as Ue, J as Ge, K as Me, L as He } from "./flag-view-udarpAot.js";
9
9
  import { c as Be, a as qe, d as Je } from "./input-surface-xyERuLU_.js";
10
10
  import { LOCALES_WITH_BUNDLES as D } from "../i18n/config.js";
@@ -828,4 +828,4 @@ export {
828
828
  P as b,
829
829
  x as c
830
830
  };
831
- //# sourceMappingURL=locale-picker-CwFtqSkt.js.map
831
+ //# sourceMappingURL=locale-picker-BLeHbFSc.js.map
@@ -4,16 +4,16 @@ import { useTranslation as B } from "react-i18next";
4
4
  import { c as p } from "./index-D2ZczOXr.js";
5
5
  import { A as D } from "./app-frame-DIEMIC5V.js";
6
6
  import { A as S } from "./avatar-CkDeQOSI.js";
7
- import { A as F } from "./alert-CiJT540z.js";
7
+ import { A as F } from "./alert-CiQ5Pa3Q.js";
8
8
  import { C as w } from "./card-DPmk26CL.js";
9
9
  import { D as m } from "./dropdown-menu-DU-Hrf33.js";
10
- import { T as q } from "./tab-bar-DvFJIQfL.js";
11
- import { a as A, H as G, g as J, f as z, e as K, c as Q, d as U } from "./header-DUXRIPyM.js";
12
- import { H as X } from "./header-settings-DvjZNMhD.js";
10
+ import { T as q } from "./tab-bar-rDkLiaA6.js";
11
+ import { a as A, H as G, g as J, f as z, e as K, c as Q, d as U } from "./header-BZ4pZlJV.js";
12
+ import { H as X } from "./header-settings-B8mLc03Q.js";
13
13
  import { S as Y } from "./sign-in-with-alfadocs-button-BLe_quy5.js";
14
14
  import { S as Z, g as _, b as aa, a as ea, j as sa, k as ta, i as ra, h as I } from "./sidebar-C-Gr2LL-.js";
15
15
  import { T as na } from "./theme-root-BOO73p5t.js";
16
- import { a as da } from "./tooltip-DvmfrNvB.js";
16
+ import { a as da } from "./tooltip-Cp-PLePW.js";
17
17
  import { u as ia } from "./use-theme-CAuo6EYT.js";
18
18
  import { A as la, L as oa } from "./logo-1FuSGx0n.js";
19
19
  import { A as ca } from "./Alfadocs_Logo_Mark-7o3L3WBI.js";
@@ -529,4 +529,4 @@ export {
529
529
  ka as M,
530
530
  g as P
531
531
  };
532
- //# sourceMappingURL=marketplace-app-shell-CK_ND8Tr.js.map
532
+ //# sourceMappingURL=marketplace-app-shell-BwH6Aruw.js.map
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
2
  import { forwardRef as O, useMemo as Q, useState as Y, useRef as Z, useCallback as A } from "react";
3
3
  import { c as ss } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as es } from "react-i18next";
5
- import { I as as } from "./icon-button-DA2CAGHZ.js";
5
+ import { I as as } from "./icon-button-8xqRnkdG.js";
6
6
  import { B as S } from "./button-nJaPh_HC.js";
7
7
  import { A as rs } from "./avatar-CkDeQOSI.js";
8
8
  import { T as ds } from "./timestamp-BV2lC-wV.js";
@@ -316,4 +316,4 @@ ls.displayName = "MessageCard";
316
316
  export {
317
317
  ls as M
318
318
  };
319
- //# sourceMappingURL=message-card-BUMv16un.js.map
319
+ //# sourceMappingURL=message-card-Dm5Xshup.js.map
@@ -5,12 +5,12 @@ import { c as j } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as H } from "react-i18next";
6
6
  import { u as ce } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as le } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
8
- import { I as me } from "./icon-button-DA2CAGHZ.js";
8
+ import { I as me } from "./icon-button-8xqRnkdG.js";
9
9
  import { B as L } from "./button-nJaPh_HC.js";
10
10
  import { S as F } from "./separator-CYU_bGFn.js";
11
11
  import { S as h } from "./skeleton-CZbwyJAA.js";
12
12
  import { S as pe } from "./scroll-area-BZOvUhwQ.js";
13
- import { M as ge } from "./message-card-BUMv16un.js";
13
+ import { M as ge } from "./message-card-Dm5Xshup.js";
14
14
  import { u as ue } from "./registry-DvAUVLHh.js";
15
15
  import { M as V } from "./mail-BqXVF2zH.js";
16
16
  const fe = {
@@ -491,4 +491,4 @@ export {
491
491
  Te as M,
492
492
  fe as m
493
493
  };
494
- //# sourceMappingURL=message-tray-0zsv27xX.js.map
494
+ //# sourceMappingURL=message-tray-BcLyaO-G.js.map
@@ -5,7 +5,7 @@ import { _ as c } from "./index-4xgbg-sn.js";
5
5
  import { c as pe } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as Ye } from "react-i18next";
7
7
  import { u as Ge, F as He } from "./form-field-context-B3APVHKx.js";
8
- import { T as de } from "./tooltip-DvmfrNvB.js";
8
+ import { T as de } from "./tooltip-Cp-PLePW.js";
9
9
  import { c as We } from "./compose-refs-C0k0tdqF.js";
10
10
  import { u as Xe } from "./use-controllable-state-BiY4xTzM.js";
11
11
  import { u as G } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
@@ -208,7 +208,7 @@ const rt = {
208
208
  allowSelectAll: W = !1,
209
209
  allowClear: X = !1,
210
210
  filter: z,
211
- size: R = "md",
211
+ size: _ = "md",
212
212
  disabled: be,
213
213
  className: ye,
214
214
  id: M,
@@ -227,13 +227,13 @@ const rt = {
227
227
  value: fe,
228
228
  defaultValue: he ?? [],
229
229
  onChange: ge
230
- }), i = Ie ?? [], [N, p] = q(!1), [m, j] = q(""), x = v(null), w = v([]), P = v(null), Ne = We(we, P), g = S && y.disabled || !!be, ke = S && y.required, J = S && y.invalid, Ce = S && y.describedBy ? y.describedBy : void 0, Ae = M ?? (S ? y.id : void 0), _e = O(() => {
230
+ }), i = Ie ?? [], [N, p] = q(!1), [m, j] = q(""), x = v(null), w = v([]), P = v(null), Ne = We(we, P), g = S && y.disabled || !!be, ke = S && y.required, J = S && y.invalid, Ce = S && y.describedBy ? y.describedBy : void 0, Ae = M ?? (S ? y.id : void 0), Re = O(() => {
231
231
  const e = /* @__PURE__ */ new Map();
232
232
  for (const t of l) e.set(t.value, t.label);
233
233
  return e;
234
234
  }, [l]), Z = typeof b == "number" && i.length >= b, k = (e) => {
235
235
  K(e);
236
- }, Re = (e) => {
236
+ }, _e = (e) => {
237
237
  if (i.includes(e)) {
238
238
  k(i.filter((t) => t !== e));
239
239
  return;
@@ -319,15 +319,15 @@ const rt = {
319
319
  const V = $(e);
320
320
  if (V.length === 0) {
321
321
  requestAnimationFrame(() => {
322
- var _;
323
- return (_ = x.current) == null ? void 0 : _.focus();
322
+ var R;
323
+ return (R = x.current) == null ? void 0 : R.focus();
324
324
  });
325
325
  return;
326
326
  }
327
327
  const Be = Math.min(e, V.length - 1);
328
328
  requestAnimationFrame(() => {
329
- var _;
330
- (_ = w.current[Be]) == null || _.focus();
329
+ var R;
330
+ (R = w.current[Be]) == null || R.focus();
331
331
  });
332
332
  return;
333
333
  }
@@ -368,7 +368,7 @@ const rt = {
368
368
  );
369
369
  }, [De]), G(() => {
370
370
  E();
371
- }, [i.length, R, E]), G(() => {
371
+ }, [i.length, _, E]), G(() => {
372
372
  const e = P.current;
373
373
  if (!e) return;
374
374
  const t = new ResizeObserver((r) => {
@@ -382,7 +382,7 @@ const rt = {
382
382
  }, [E]);
383
383
  const F = i.map((e) => ({
384
384
  value: e,
385
- label: _e.get(e) ?? e
385
+ label: Re.get(e) ?? e
386
386
  })), oe = T === Number.POSITIVE_INFINITY || T >= F.length, ze = oe ? F : F.slice(0, T), ae = oe ? [] : F.slice(T), C = ae.length, Me = (e) => {
387
387
  var r;
388
388
  if (g) return;
@@ -403,7 +403,7 @@ const rt = {
403
403
  "div",
404
404
  {
405
405
  ref: Ne,
406
- className: nt({ size: R, className: ye }),
406
+ className: nt({ size: _, className: ye }),
407
407
  "aria-disabled": g || void 0,
408
408
  "aria-invalid": J || void 0,
409
409
  "data-component": "multi-select",
@@ -423,7 +423,7 @@ const rt = {
423
423
  },
424
424
  tabIndex: g ? -1 : 0,
425
425
  "data-ui-chip": "true",
426
- className: ce({ size: R }),
426
+ className: ce({ size: _ }),
427
427
  onKeyDown: Oe(t),
428
428
  "aria-label": e.label,
429
429
  children: [
@@ -462,7 +462,7 @@ const rt = {
462
462
  children: /* @__PURE__ */ n(
463
463
  "span",
464
464
  {
465
- className: ce({ size: R }),
465
+ className: ce({ size: _ }),
466
466
  tabIndex: 0,
467
467
  role: "button",
468
468
  "aria-label": u("inputs.multiSelect.overflow", {
@@ -551,7 +551,7 @@ const rt = {
551
551
  "data-option-id": s.value,
552
552
  disabled: h,
553
553
  onSelect: () => {
554
- h || Re(s.value);
554
+ h || _e(s.value);
555
555
  },
556
556
  "aria-selected": f,
557
557
  "aria-disabled": h || void 0,
@@ -632,4 +632,4 @@ export {
632
632
  nt as a,
633
633
  rt as m
634
634
  };
635
- //# sourceMappingURL=multi-select-DYOvx2SJ.js.map
635
+ //# sourceMappingURL=multi-select-CtPd7g4x.js.map
@@ -0,0 +1,124 @@
1
+ import { c as f } from "./createLucideIcon-DhHxpK9K.js";
2
+ import { jsx as a } from "react/jsx-runtime";
3
+ import { useTranslation as g } from "react-i18next";
4
+ import { B as u } from "./badge-BudgzTe_.js";
5
+ import { L as h } from "./link-CPb_pZPr.js";
6
+ import { i as b } from "./is-safe-url-DkETxeHz.js";
7
+ import { S as y } from "./scan-line-CNseIHQ0.js";
8
+ import { L as N } from "./layers-DcAENmsZ.js";
9
+ import { F as d } from "./file-text-5yv6r2ls.js";
10
+ import { U as $ } from "./user-B12p7bVF.js";
11
+ /**
12
+ * @license lucide-react v1.22.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */
17
+ const k = [
18
+ [
19
+ "path",
20
+ {
21
+ d: "M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",
22
+ key: "1jaruq"
23
+ }
24
+ ]
25
+ ], H = f("flag", k);
26
+ /**
27
+ * @license lucide-react v1.22.0 - ISC
28
+ *
29
+ * This source code is licensed under the ISC license.
30
+ * See the LICENSE file in the root directory of this source tree.
31
+ */
32
+ const C = [
33
+ ["path", { d: "M12 17v5", key: "bb1du9" }],
34
+ [
35
+ "path",
36
+ {
37
+ d: "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",
38
+ key: "1nkz8b"
39
+ }
40
+ ]
41
+ ], M = f("pin", C);
42
+ function m(e) {
43
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
44
+ }
45
+ function p(e) {
46
+ let r = e;
47
+ return r = r.replace(/`([^`]+)`/g, "<code>$1</code>"), r = r.replace(/\*\*([^*]+)\*\*/g, "<strong>$1</strong>"), r = r.replace(/\*([^*]+)\*/g, "<em>$1</em>"), r = r.replace(
48
+ /\[([^\]]+)\]\(([^)\s]+)\)/g,
49
+ '<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>'
50
+ ), r;
51
+ }
52
+ function U(e) {
53
+ return e.split(/\n{2,}/).map((t) => {
54
+ const n = t.split(`
55
+ `), s = n.every((l) => /^\s*[-*]\s+/.test(l)), o = n.every((l) => /^\s*\d+\.\s+/.test(l));
56
+ return s && n.length > 0 ? `<ul>${n.map((i) => i.replace(/^\s*[-*]\s+/, "")).map((i) => `<li>${p(m(i))}</li>`).join("")}</ul>` : o && n.length > 0 ? `<ol>${n.map((i) => i.replace(/^\s*\d+\.\s+/, "")).map((i) => `<li>${p(m(i))}</li>`).join("")}</ol>` : `<p>${p(m(t)).replace(
57
+ /\n/g,
58
+ "<br />"
59
+ )}</p>`;
60
+ }).join("");
61
+ }
62
+ function q({
63
+ attachedTo: e
64
+ }) {
65
+ const { t: r } = g();
66
+ if (!e) return null;
67
+ const t = (n, s, o, c) => c && b(c) ? /* @__PURE__ */ a(h, { href: c, intent: "default", startIcon: s, children: n }) : /* @__PURE__ */ a(u, { variant: o, size: "sm", leading: s, children: n });
68
+ switch (e.kind) {
69
+ case "patient":
70
+ return /* @__PURE__ */ a(
71
+ u,
72
+ {
73
+ variant: "neutral",
74
+ size: "sm",
75
+ leading: /* @__PURE__ */ a($, { "aria-hidden": "true" }),
76
+ children: r("clinicalNoteCard.attachment.patient")
77
+ }
78
+ );
79
+ case "carePlan":
80
+ return t(
81
+ r("clinicalNoteCard.attachment.carePlan", {
82
+ number: e.number
83
+ }),
84
+ /* @__PURE__ */ a(d, { "aria-hidden": "true" }),
85
+ "info",
86
+ e.url
87
+ );
88
+ case "carePlanEntry":
89
+ return t(
90
+ e.elements && e.elements.length > 0 ? r("clinicalNoteCard.attachment.carePlanEntryWithElements", {
91
+ care: e.careName,
92
+ elements: e.elements.join(", ")
93
+ }) : r("clinicalNoteCard.attachment.carePlanEntry", {
94
+ care: e.careName
95
+ }),
96
+ /* @__PURE__ */ a(d, { "aria-hidden": "true" }),
97
+ "info",
98
+ e.url
99
+ );
100
+ case "phase":
101
+ return t(
102
+ r("clinicalNoteCard.attachment.phase", { label: e.label }),
103
+ /* @__PURE__ */ a(N, { "aria-hidden": "true" }),
104
+ "neutral",
105
+ e.url
106
+ );
107
+ case "xray":
108
+ return t(
109
+ e.label ? r("clinicalNoteCard.attachment.xrayWithLabel", {
110
+ label: e.label
111
+ }) : r("clinicalNoteCard.attachment.xray"),
112
+ /* @__PURE__ */ a(y, { "aria-hidden": "true" }),
113
+ "neutral",
114
+ e.url
115
+ );
116
+ }
117
+ }
118
+ export {
119
+ H as F,
120
+ q as N,
121
+ M as P,
122
+ U as n
123
+ };
124
+ //# sourceMappingURL=note-attachment-CwDir3kK.js.map