@alfadocs/ui-kit 1.35.0 → 1.36.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 (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-Duv_5B4j.js} +2494 -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,7 +1,7 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as l } from "react";
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as u } from "react";
3
3
  import { c as v } from "./index-D2ZczOXr.js";
4
- const u = v(
4
+ const g = v(
5
5
  [
6
6
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
7
7
  "ds:rounded-[var(--radius-full)] ds:box-border",
@@ -21,10 +21,20 @@ const u = v(
21
21
  The quiet in-table roll-up: reads softly, keeps the grid row
22
22
  light. `--accent` resolves to magenta-700 in light (AA-safe as
23
23
  text/border on white) and magenta-500 in dark. */
24
- outline: "ds:bg-transparent ds:text-[color:var(--accent)] ds:border ds:border-[color:var(--accent)]",
24
+ /* NO bg utility of its own — the compound rules below are the single
25
+ source of this variant's paint, so `transparent` vs `surface` never
26
+ depends on CSS order between two competing bg-* classes. Button's
27
+ outline intents do the same. */
28
+ outline: "ds:text-[color:var(--accent)] ds:border ds:border-[color:var(--accent)]",
25
29
  /* Neutral plain tally — muted surface, no semantic intent. */
26
30
  neutral: "ds:bg-[color:var(--muted)] ds:text-[color:var(--muted-foreground)]"
27
31
  },
32
+ /* Backing paint behind the see-through `outline` variant. Ignored by
33
+ the filled variants, which already paint their own surface. */
34
+ background: {
35
+ transparent: "",
36
+ surface: ""
37
+ },
28
38
  size: {
29
39
  /* 16px circle, 10px figure — dense, for in-table counts. */
30
40
  sm: "ds:h-[var(--spacing-md)] ds:min-w-[var(--spacing-md)] ds:px-[calc(var(--spacing-xs)/1.5)] ds:text-[length:var(--font-size-2xs)]",
@@ -32,24 +42,49 @@ const u = v(
32
42
  md: "ds:h-[calc(var(--spacing-md)+var(--spacing-xs))] ds:min-w-[calc(var(--spacing-md)+var(--spacing-xs))] ds:px-[calc(var(--spacing-xs)/1.5)] ds:text-[length:var(--font-size-xs)]"
33
43
  }
34
44
  },
35
- defaultVariants: { variant: "neutral", size: "md" }
45
+ compoundVariants: [
46
+ {
47
+ variant: "outline",
48
+ background: "transparent",
49
+ class: "ds:bg-transparent"
50
+ },
51
+ {
52
+ variant: "outline",
53
+ background: "surface",
54
+ class: "ds:bg-[color:var(--background)]"
55
+ }
56
+ ],
57
+ defaultVariants: {
58
+ variant: "neutral",
59
+ size: "md",
60
+ background: "transparent"
61
+ }
36
62
  }
37
- ), x = l(
38
- function({ variant: a, size: o, count: r, max: s = 99, children: n, className: e, ...t }, d) {
39
- const c = r != null ? r > s ? `${s}+` : String(r) : n;
40
- return /* @__PURE__ */ i(
63
+ ), b = u(
64
+ function({
65
+ variant: a,
66
+ size: n,
67
+ background: o,
68
+ count: r,
69
+ max: s = 99,
70
+ children: t,
71
+ className: e,
72
+ ...d
73
+ }, c) {
74
+ const i = r != null ? r > s ? `${s}+` : String(r) : t;
75
+ return /* @__PURE__ */ l(
41
76
  "span",
42
77
  {
43
- ref: d,
78
+ ref: c,
44
79
  "data-component": "counter",
45
- className: u({ variant: a, size: o, className: e }),
46
- ...t,
47
- children: c
80
+ className: g({ variant: a, size: n, background: o, className: e }),
81
+ ...d,
82
+ children: i
48
83
  }
49
84
  );
50
85
  }
51
86
  );
52
87
  export {
53
- x as C
88
+ b as C
54
89
  };
55
- //# sourceMappingURL=counter-dRlTNC_y.js.map
90
+ //# sourceMappingURL=counter-WsvRuum1.js.map
@@ -4,10 +4,10 @@ import { c as q } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as z } from "react-i18next";
5
5
  import { u as B } from "./registry-DvAUVLHh.js";
6
6
  import { F as S } from "./form-field-CahJzTxp.js";
7
- import { D as Y } from "./date-picker-B6NW_PS5.js";
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-sTusUqZD.js";
10
+ import { B as T } from "./badge-BudgzTe_.js";
11
11
  import { I as U } from "./insert-result-LCNTskNJ.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";
@@ -422,4 +422,4 @@ export {
422
422
  ie as L,
423
423
  se as p
424
424
  };
425
- //# sourceMappingURL=cycle-calculator-DVgxBfP0.js.map
425
+ //# sourceMappingURL=cycle-calculator-BJeaXiZv.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-DA2CAGHZ.js";
5
+ import { I as re } from "./icon-button-8xqRnkdG.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-BFtdHqfn.js.map
691
+ //# sourceMappingURL=dashboard-grid-B23BFzRl.js.map
@@ -6,13 +6,13 @@ 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-VCCod3Hz.js";
9
+ import { I as Wt } from "./icon-button-group-Dj6CRoYR.js";
10
10
  import { B as de } from "./button-nJaPh_HC.js";
11
- import { I as oe } from "./icon-button-DA2CAGHZ.js";
12
- import { P as me } from "./popover-DP6WCVwm.js";
13
- import { C as Bt } from "./checkbox-BuZ1u__2.js";
11
+ import { I as oe } from "./icon-button-8xqRnkdG.js";
12
+ import { P as me } from "./popover-DzR5QYxp.js";
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-3wgkwwDB.js";
15
+ import { T as We } from "./tag-Ci3xJPcH.js";
16
16
  import { D as he } from "./dropdown-menu-DU-Hrf33.js";
17
17
  import { X as $e } from "./x-B5YnXwCz.js";
18
18
  import { R as $t } from "./refresh-cw-DnI0cLFC.js";
@@ -1820,4 +1820,4 @@ export {
1820
1820
  fa as g,
1821
1821
  W as i
1822
1822
  };
1823
- //# sourceMappingURL=data-table-DC96JJIq.js.map
1823
+ //# sourceMappingURL=data-table-BYGK-gUJ.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-DA2CAGHZ.js";
7
- import { P as ue } from "./popover-DP6WCVwm.js";
6
+ import { I as le } from "./icon-button-8xqRnkdG.js";
7
+ import { P as ue } from "./popover-DzR5QYxp.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-DVIFkqx_.js.map
728
+ //# sourceMappingURL=data-table-tabs-BMR0zsVQ.js.map
@@ -5,7 +5,7 @@ import * as k from "@radix-ui/react-popover";
5
5
  import { u as ue } from "./use-controllable-state-BiY4xTzM.js";
6
6
  import { u as fe, F as me } from "./form-field-context-B3APVHKx.js";
7
7
  import { u as he } from "./registry-DvAUVLHh.js";
8
- import { u as ge, g as ve, b as ye, i as ke, c as be, t as Ce, d as De, p as Pe, D as Se, C as xe, e as we, f as Ie } from "./date-picker-variants-B9NLAfUK.js";
8
+ import { u as ge, g as ve, b as ye, i as ke, c as be, t as Ce, d as De, p as xe, D as Pe, C as Se, e as we, f as Ie } from "./date-picker-variants-B9NLAfUK.js";
9
9
  import { f as T, i as Oe, b as Ne } from "./format-4HNwNGrN.js";
10
10
  import { C as Ve } from "./calendar-days-BGWklvE-.js";
11
11
  import { C as Fe } from "./check-DrFSN__t.js";
@@ -106,7 +106,7 @@ const Ke = {
106
106
  disabledDates: c,
107
107
  weekStartsOn: j,
108
108
  presets: b,
109
- size: x = "md",
109
+ size: S = "md",
110
110
  chrome: q = "input",
111
111
  disabled: B,
112
112
  placeholder: E,
@@ -121,7 +121,7 @@ const Ke = {
121
121
  onChange: M
122
122
  }), n = Q, [i, s] = y(!1), [U, D] = y(
123
123
  n ? T(n, f, { locale: u }) : ""
124
- ), [F, g] = y(!1), [X, P] = y(n ?? /* @__PURE__ */ new Date()), S = K(null);
124
+ ), [F, g] = y(!1), [X, x] = y(n ?? /* @__PURE__ */ new Date()), P = K(null);
125
125
  de(() => {
126
126
  n ? (D(T(n, f, { locale: u })), g(!1)) : D("");
127
127
  }, [n, f, u]);
@@ -146,16 +146,16 @@ const Ke = {
146
146
  return;
147
147
  }
148
148
  const d = Ae(t, f, /* @__PURE__ */ new Date(), { locale: u });
149
- Oe(d) && !Z(d) ? (g(!1), o(d), P(d)) : t.length === f.length && g(!0);
149
+ Oe(d) && !Z(d) ? (g(!1), o(d), x(d)) : t.length === f.length && g(!0);
150
150
  }, ee = (e) => {
151
151
  e.key === "Enter" && i && (e.preventDefault(), s(!1)), e.key === "Escape" && i && (e.preventDefault(), s(!1)), e.key === "ArrowDown" && !i && (e.preventDefault(), s(!0));
152
152
  }, te = (e) => {
153
153
  var t;
154
- e && (o(e), s(!1), (t = S.current) == null || t.focus());
154
+ e && (o(e), s(!1), (t = P.current) == null || t.focus());
155
155
  }, ae = (e) => {
156
156
  var d;
157
157
  const t = e.date();
158
- o(t), P(t), s(!1), (d = S.current) == null || d.focus();
158
+ o(t), x(t), s(!1), (d = P.current) == null || d.focus();
159
159
  }, re = (e) => n ? Ne(e.date(), n) : !1, ne = w("inputs.datePicker.gridLabel", "Calendar"), se = le(
160
160
  () => ({
161
161
  getValue: () => n,
@@ -179,7 +179,7 @@ const Ke = {
179
179
  /* @__PURE__ */ r(k.Trigger, { asChild: !0, disabled: N, children: /* @__PURE__ */ r(
180
180
  "input",
181
181
  {
182
- ref: S,
182
+ ref: P,
183
183
  id: C,
184
184
  type: "text",
185
185
  role: "combobox",
@@ -197,13 +197,13 @@ const Ke = {
197
197
  onKeyDown: ee,
198
198
  onClick: () => !i && s(!0),
199
199
  className: Ce({
200
- size: x,
200
+ size: S,
201
201
  tone: F ? "error" : z,
202
202
  chrome: q
203
203
  })
204
204
  }
205
205
  ) }),
206
- /* @__PURE__ */ r("span", { "aria-hidden": "true", className: De({ size: x }), children: /* @__PURE__ */ r(Ve, {}) })
206
+ /* @__PURE__ */ r("span", { "aria-hidden": "true", className: De({ size: S }), children: /* @__PURE__ */ r(Ve, {}) })
207
207
  ] }),
208
208
  /* @__PURE__ */ r(k.Portal, { children: /* @__PURE__ */ r(
209
209
  k.Content,
@@ -224,7 +224,7 @@ const Ke = {
224
224
  type: "button",
225
225
  "aria-pressed": t,
226
226
  onClick: () => ae(e),
227
- className: Pe({ active: t }),
227
+ className: xe({ active: t }),
228
228
  children: [
229
229
  /* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate", children: e.label }),
230
230
  t ? /* @__PURE__ */ r(
@@ -240,20 +240,20 @@ const Ke = {
240
240
  );
241
241
  }) }) : null,
242
242
  /* @__PURE__ */ r("div", { role: "region", "aria-label": ne, children: /* @__PURE__ */ r(
243
- Se,
243
+ Pe,
244
244
  {
245
245
  mode: "single",
246
246
  selected: n,
247
247
  onSelect: te,
248
248
  month: X,
249
- onMonthChange: P,
249
+ onMonthChange: x,
250
250
  disabled: Y,
251
251
  weekStartsOn: j,
252
252
  locale: u,
253
253
  showOutsideDays: !0,
254
254
  fixedWeeks: !0,
255
255
  classNames: we,
256
- components: { Chevron: xe }
256
+ components: { Chevron: Se }
257
257
  }
258
258
  ) })
259
259
  ] })
@@ -269,4 +269,4 @@ export {
269
269
  Re as D,
270
270
  Ke as d
271
271
  };
272
- //# sourceMappingURL=date-picker-B6NW_PS5.js.map
272
+ //# sourceMappingURL=date-picker-6tFnKFty.js.map
@@ -4,8 +4,8 @@ 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-sTusUqZD.js";
8
- import { T as ge } from "./tooltip-DvmfrNvB.js";
7
+ import { B as fe } from "./badge-BudgzTe_.js";
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";
11
11
  import { u as he } from "./use-direction-Dp8h70PP.js";
@@ -335,4 +335,4 @@ export {
335
335
  ke as D,
336
336
  xe as d
337
337
  };
338
- //# sourceMappingURL=dependent-selector-yTKKsuc9.js.map
338
+ //# sourceMappingURL=dependent-selector-BHDP0nBB.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-DA2CAGHZ.js";
5
+ import { I as A } from "./icon-button-8xqRnkdG.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-CjJqR8WK.js.map
319
+ //# sourceMappingURL=description-list-C1RXMDZ_.js.map
@@ -2,11 +2,11 @@ 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-sTusUqZD.js";
5
+ import { B as b } from "./badge-BudgzTe_.js";
6
6
  import { C as B } from "./card-DPmk26CL.js";
7
7
  import { E as G } from "./empty-state-X0sVPfVo.js";
8
- import { P as Y } from "./panel-header-D313n_9-.js";
9
- import { P as J } from "./pdf-viewer-DUIsV9s5.js";
8
+ import { P as Y } from "./panel-header-D_mTdhUp.js";
9
+ import { P as J } from "./pdf-viewer-DUKdn5iq.js";
10
10
  import { T as O, b as Q, c as X, a as Z } from "./tabs-BnRaLT0y.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
12
  import { F as ie, a as te } from "./file-Cwe9VC1A.js";
@@ -287,4 +287,4 @@ export {
287
287
  ue as D,
288
288
  de as d
289
289
  };
290
- //# sourceMappingURL=document-preview-BrhMHNh8.js.map
290
+ //# sourceMappingURL=document-preview-DsEyRcNd.js.map
@@ -3,12 +3,13 @@ import { forwardRef as Fe, useId as Me, useRef as m, useState as W, useEffect as
3
3
  import { c as k } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Ye } from "react-i18next";
5
5
  import { B as K } from "./button-nJaPh_HC.js";
6
- import { A as ae } from "./alert-CiJT540z.js";
7
- import { L as he, F as Xe } from "./file-upload-CwxdqkMK.js";
6
+ import { A as ae } from "./alert-CiQ5Pa3Q.js";
7
+ import { F as Xe } from "./file-upload-BDpb08GM.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";
11
11
  import { C as Je } from "./check-DrFSN__t.js";
12
+ import { L as he } from "./loader-circle-BECIU_8N.js";
12
13
  import { C as be } from "./camera-VSklPDCv.js";
13
14
  const Qe = {
14
15
  id: "document-scanner",
@@ -18,13 +19,13 @@ const Qe = {
18
19
  type: "boolean",
19
20
  descriptionKey: "documentScanner.agent.state.hasCapture",
20
21
  description: "True when a captured or uploaded image is available.",
21
- read: (t) => t.hasCapture()
22
+ read: (n) => n.hasCapture()
22
23
  },
23
24
  phase: {
24
25
  type: "string",
25
26
  descriptionKey: "documentScanner.agent.state.phase",
26
27
  description: "Lifecycle phase: 'idle' | 'requesting' | 'streaming' | 'captured' | 'error'.",
27
- read: (t) => t.getPhase()
28
+ read: (n) => n.getPhase()
28
29
  }
29
30
  },
30
31
  actions: {
@@ -39,29 +40,29 @@ const Qe = {
39
40
  "not-readable",
40
41
  "insecure-context"
41
42
  ],
42
- invoke: (t) => t.startCamera()
43
+ invoke: (n) => n.startCamera()
43
44
  },
44
45
  capture: {
45
46
  safety: "write",
46
47
  descriptionKey: "documentScanner.agent.actions.capture",
47
48
  description: "Freeze the current viewfinder frame as a captured image.",
48
49
  errors: ["capture-failed"],
49
- invoke: (t) => t.capture()
50
+ invoke: (n) => n.capture()
50
51
  },
51
52
  submit: {
52
53
  safety: "write",
53
54
  descriptionKey: "documentScanner.agent.actions.confirm",
54
55
  description: "Confirm the current capture, emitting it via onConfirm.",
55
- invoke: (t) => {
56
- t.confirm();
56
+ invoke: (n) => {
57
+ n.confirm();
57
58
  }
58
59
  },
59
60
  retake: {
60
61
  safety: "destructive",
61
62
  descriptionKey: "documentScanner.agent.actions.retake",
62
63
  description: "Discard the current capture and return to the capture path.",
63
- invoke: (t) => {
64
- t.retake();
64
+ invoke: (n) => {
65
+ n.retake();
65
66
  }
66
67
  }
67
68
  },
@@ -140,30 +141,30 @@ const Qe = {
140
141
  "ds:flex ds:flex-col ds:items-stretch ds:gap-[var(--spacing-sm)]",
141
142
  "ds:sm:flex-row ds:sm:flex-wrap ds:sm:items-center"
142
143
  ].join(" ")
143
- ), nr = k(
144
+ ), tr = k(
144
145
  ["type-body-sm ds:text-center", "ds:text-[var(--muted-foreground)]"].join(
145
146
  " "
146
147
  )
147
148
  );
148
- function tr(t) {
149
+ function nr(n) {
149
150
  let o = "";
150
- for (let f = 0; f < t.length; f += 1)
151
- o += t[f].toString(16).padStart(2, "0");
151
+ for (let f = 0; f < n.length; f += 1)
152
+ o += n[f].toString(16).padStart(2, "0");
152
153
  return o;
153
154
  }
154
- async function xe(t) {
155
+ async function xe(n) {
155
156
  var f;
156
157
  const o = globalThis;
157
158
  if ((f = o.crypto) != null && f.subtle) {
158
- const C = new Uint8Array(t.byteLength);
159
- C.set(new Uint8Array(t));
159
+ const C = new Uint8Array(n.byteLength);
160
+ C.set(new Uint8Array(n));
160
161
  const U = await o.crypto.subtle.digest("SHA-256", C.buffer);
161
- return tr(new Uint8Array(U));
162
+ return nr(new Uint8Array(U));
162
163
  }
163
164
  return "";
164
165
  }
165
- function ar(t) {
166
- const o = t instanceof Error ? t.name : "";
166
+ function ar(n) {
167
+ const o = n instanceof Error ? n.name : "";
167
168
  return o === "NotAllowedError" || o === "SecurityError" ? "permission-denied" : o === "NotFoundError" || o === "OverconstrainedError" ? "no-camera" : o === "NotReadableError" || o === "AbortError" ? "not-readable" : "capture-failed";
168
169
  }
169
170
  function sr() {
@@ -184,7 +185,7 @@ const ir = {
184
185
  "file-too-large": "documentScanner.error.fileTooLarge"
185
186
  }, or = Fe(
186
187
  ({
187
- id: t,
188
+ id: n,
188
189
  value: o,
189
190
  defaultValue: f = null,
190
191
  onConfirm: C,
@@ -210,7 +211,7 @@ const ir = {
210
211
  const { t: s } = Ye(), ce = `ds-${Me().replace(/[^a-zA-Z0-9-_]/g, "")}-hint`, [y, N] = Ze({
211
212
  value: o,
212
213
  defaultValue: f
213
- }), j = m(f != null || o != null), [n, v] = W(
214
+ }), j = m(f != null || o != null), [t, v] = W(
214
215
  f != null || o != null ? "captured" : "idle"
215
216
  ), [S, q] = W(
216
217
  null
@@ -264,7 +265,7 @@ const ir = {
264
265
  e && e.readyState >= 2 && de(!0);
265
266
  }, []);
266
267
  z(() => {
267
- if (n !== "streaming") return;
268
+ if (t !== "streaming") return;
268
269
  D();
269
270
  const e = window.setInterval(D, 100), r = window.setTimeout(
270
271
  () => window.clearInterval(e),
@@ -273,7 +274,7 @@ const ir = {
273
274
  return () => {
274
275
  window.clearInterval(e), window.clearTimeout(r);
275
276
  };
276
- }, [n, D]);
277
+ }, [t, D]);
277
278
  const J = h(async () => {
278
279
  const e = I.current;
279
280
  if (!e || e.readyState < 2) {
@@ -395,14 +396,14 @@ const ir = {
395
396
  }, [V, N]);
396
397
  z(() => {
397
398
  var e, r, i;
398
- n === "captured" && !j.current ? (e = me.current) == null || e.focus() : n === "error" ? (r = fe.current) == null || r.focus() : n === "idle" && ee.current && (ee.current = !1, (i = pe.current) == null || i.focus());
399
- }, [n]), z(() => {
400
- if (n !== "streaming") return;
399
+ t === "captured" && !j.current ? (e = me.current) == null || e.focus() : t === "error" ? (r = fe.current) == null || r.focus() : t === "idle" && ee.current && (ee.current = !1, (i = pe.current) == null || i.focus());
400
+ }, [t]), z(() => {
401
+ if (t !== "streaming") return;
401
402
  const e = (r) => {
402
403
  r.key === "Escape" && (w(), v("idle"));
403
404
  };
404
405
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
405
- }, [n, w]), z(() => {
406
+ }, [t, w]), z(() => {
406
407
  const e = () => {
407
408
  document.visibilityState === "hidden" && R.current && (w(), v("idle"));
408
409
  };
@@ -412,23 +413,23 @@ const ir = {
412
413
  const e = R.current;
413
414
  e && e.getTracks().forEach((r) => r.stop()), R.current = null;
414
415
  }, []), z(() => {
415
- V && (o != null ? v("captured") : n === "captured" && v("idle"));
416
+ V && (o != null ? v("captured") : t === "captured" && v("idle"));
416
417
  }, [o, V]);
417
- const ne = Te(
418
+ const te = Te(
418
419
  () => ({
419
420
  hasCapture: () => y != null,
420
- getPhase: () => n,
421
+ getPhase: () => t,
421
422
  startCamera: () => F(),
422
423
  capture: () => J(),
423
424
  confirm: () => Q(),
424
425
  retake: () => re()
425
426
  }),
426
- [y, n, F, J, Q, re]
427
+ [y, t, F, J, Q, re]
427
428
  );
428
- We(Re, () => ne, [ne]), $e(Qe, ne, t);
429
+ We(Re, () => te, [te]), $e(Qe, te, n);
429
430
  const Le = Ne ?? s("documentScanner.regionLabel"), _e = s(ir[Z]), ge = Math.round(se / (1024 * 1024)), Be = (() => {
430
431
  if (le) return s("documentScanner.state.uploading");
431
- switch (n) {
432
+ switch (t) {
432
433
  case "idle":
433
434
  return s("documentScanner.state.idle");
434
435
  case "requesting":
@@ -440,7 +441,7 @@ const ir = {
440
441
  case "error":
441
442
  return S ? s(ze[S], { maxSizeMb: ge }) : s("documentScanner.error.captureFailed");
442
443
  }
443
- })(), Ke = !A && S !== "file-invalid-type" && S !== "file-too-large" && S !== "insecure-context", ve = !g && (P === "auto" || P === "upload-only" || n === "error"), te = /* @__PURE__ */ a(
444
+ })(), Ke = !A && S !== "file-invalid-type" && S !== "file-too-large" && S !== "insecure-context", ve = !g && (P === "auto" || P === "upload-only" || t === "error"), ne = /* @__PURE__ */ a(
444
445
  Xe,
445
446
  {
446
447
  variant: "button",
@@ -455,7 +456,7 @@ const ir = {
455
456
  },
456
457
  onReject: De
457
458
  }
458
- ), Pe = n === "idle" || n === "requesting" || n === "streaming" || n === "error";
459
+ ), Pe = t === "idle" || t === "requesting" || t === "streaming" || t === "error";
459
460
  return /* @__PURE__ */ p(
460
461
  "div",
461
462
  {
@@ -464,8 +465,8 @@ const ir = {
464
465
  "aria-disabled": g || void 0,
465
466
  className: [er({ size: Ce }), je].filter(Boolean).join(" "),
466
467
  "data-component": "document-scanner",
467
- "data-component-id": t,
468
- "data-phase": n,
468
+ "data-component-id": n,
469
+ "data-phase": t,
469
470
  children: [
470
471
  /* @__PURE__ */ a(
471
472
  "span",
@@ -478,7 +479,7 @@ const ir = {
478
479
  children: Be
479
480
  }
480
481
  ),
481
- n === "captured" && y ? (
482
+ t === "captured" && y ? (
482
483
  /* ---- Captured preview ---- */
483
484
  /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
484
485
  /* @__PURE__ */ p("div", { className: ye({ frame: Z }), children: [
@@ -523,12 +524,12 @@ const ir = {
523
524
  ] })
524
525
  ) : null,
525
526
  Pe ? /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
526
- !A && n !== "error" ? /* @__PURE__ */ p(
527
+ !A && t !== "error" ? /* @__PURE__ */ p(
527
528
  "div",
528
529
  {
529
530
  ref: Ue,
530
531
  className: ye({ frame: Z }),
531
- "aria-busy": n === "requesting" || void 0,
532
+ "aria-busy": t === "requesting" || void 0,
532
533
  children: [
533
534
  /* @__PURE__ */ a(
534
535
  "video",
@@ -544,7 +545,7 @@ const ir = {
544
545
  "data-testid": "document-scanner-video"
545
546
  }
546
547
  ),
547
- n === "requesting" ? /* @__PURE__ */ a("div", { className: "ds:absolute ds:inset-0 ds:flex ds:items-center ds:justify-center ds:bg-[color-mix(in_srgb,var(--foreground)_20%,transparent)]", children: /* @__PURE__ */ a(
548
+ t === "requesting" ? /* @__PURE__ */ a("div", { className: "ds:absolute ds:inset-0 ds:flex ds:items-center ds:justify-center ds:bg-[color-mix(in_srgb,var(--foreground)_20%,transparent)]", children: /* @__PURE__ */ a(
548
549
  he,
549
550
  {
550
551
  "aria-hidden": "true",
@@ -600,8 +601,8 @@ const ir = {
600
601
  ]
601
602
  }
602
603
  ) : null,
603
- n === "streaming" ? /* @__PURE__ */ a("p", { id: ce, className: nr(), children: _e }) : null,
604
- n === "error" && S ? /* @__PURE__ */ p(ae, { variant: "error", live: "assertive", children: [
604
+ t === "streaming" ? /* @__PURE__ */ a("p", { id: ce, className: tr(), children: _e }) : null,
605
+ t === "error" && S ? /* @__PURE__ */ p(ae, { variant: "error", live: "assertive", children: [
605
606
  /* @__PURE__ */ a(ae.Description, { children: s(ze[S], { maxSizeMb: ge }) }),
606
607
  /* @__PURE__ */ p(ae.Action, { children: [
607
608
  Ke ? /* @__PURE__ */ a(
@@ -617,11 +618,11 @@ const ir = {
617
618
  children: s("documentScanner.retry")
618
619
  }
619
620
  ) : null,
620
- ve ? te : null
621
+ ve ? ne : null
621
622
  ] })
622
623
  ] }) : null,
623
- n !== "error" ? /* @__PURE__ */ p("div", { className: Se(), children: [
624
- n === "streaming" ? /* @__PURE__ */ a(
624
+ t !== "error" ? /* @__PURE__ */ p("div", { className: Se(), children: [
625
+ t === "streaming" ? /* @__PURE__ */ a(
625
626
  K,
626
627
  {
627
628
  ref: Ie,
@@ -637,14 +638,14 @@ const ir = {
637
638
  children: s("documentScanner.capture")
638
639
  }
639
640
  ) : null,
640
- (n === "idle" || n === "requesting") && !A ? /* @__PURE__ */ a(
641
+ (t === "idle" || t === "requesting") && !A ? /* @__PURE__ */ a(
641
642
  K,
642
643
  {
643
644
  ref: pe,
644
645
  intent: "primary",
645
646
  size: "md",
646
647
  className: "ds:[min-block-size:var(--min-target-size)] ds:[min-inline-size:var(--min-target-size)]",
647
- loading: n === "requesting",
648
+ loading: t === "requesting",
648
649
  startIcon: /* @__PURE__ */ a(be, { "aria-hidden": "true" }),
649
650
  onClick: () => {
650
651
  F();
@@ -662,8 +663,8 @@ const ir = {
662
663
  }
663
664
  ),
664
665
  s("documentScanner.state.uploading")
665
- ] }) : ve && n !== "streaming" ? te : null,
666
- n === "streaming" && P !== "camera-only" ? te : null
666
+ ] }) : ve && t !== "streaming" ? ne : null,
667
+ t === "streaming" && P !== "camera-only" ? ne : null
667
668
  ] }) : null
668
669
  ] }) : null
669
670
  ]
@@ -676,4 +677,4 @@ export {
676
677
  or as D,
677
678
  Qe as d
678
679
  };
679
- //# sourceMappingURL=document-scanner-C5Vrbu21.js.map
680
+ //# sourceMappingURL=document-scanner-CbWVtm7u.js.map