@alfadocs/ui-kit 1.37.0 → 1.39.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 (318) hide show
  1. package/dist/_chunks/{actions-cell-renderer-CUn1pqEq.js → actions-cell-renderer-BXBy9c0f.js} +3 -3
  2. package/dist/_chunks/{agenda-tray-DYGCTIWB.js → agenda-tray-CBaJASb5.js} +4 -4
  3. package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js → ai-consent-banner-DvtaM3yg.js} +2 -2
  4. package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js → ai-prompt-input-DXknpQCB.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-B6bXlZZk.js → alia-sidebar-CUqaJNPQ.js} +7 -7
  6. package/dist/_chunks/{anamnesis-card-DGwINeNn.js → anamnesis-card-xtEhyojD.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-card-GYHa7VGp.js → anamnesis-summary-card-CclBbiXg.js} +2 -2
  8. package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js → anamnesis-summary-rows-DQUqwWc1.js} +7 -7
  9. package/dist/_chunks/{appointment-card-WsDGBBut.js → appointment-card-TgR_2GKS.js} +134 -102
  10. package/dist/_chunks/{appointment-peek-5S4O1VQP.js → appointment-peek-abiR0T9e.js} +3 -3
  11. package/dist/_chunks/{appointment-timeline-ByfovxqR.js → appointment-timeline-CCnyUYKz.js} +67 -63
  12. package/dist/_chunks/{appointment-tray-D6UyJHej.js → appointment-tray-N0yEI8UF.js} +5 -5
  13. package/dist/_chunks/{audio-recorder-BlQBC7N_.js → audio-recorder-B7dT-Y3v.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-B0Z8Dwn8.js → balance-badge-cell-o6LldMUA.js} +5 -5
  15. package/dist/_chunks/{bishop-score-D5b8tktp.js → bishop-score-Cu70iv9C.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-dOKP-vW4.js → bmi-calculator-C9N19aLX.js} +2 -2
  17. package/dist/_chunks/{booking-Dp-9qR6F.js → booking-Dn3jvv3K.js} +6 -6
  18. package/dist/_chunks/{button-nJaPh_HC.js → button-CaUe1uyd.js} +11 -7
  19. package/dist/_chunks/{button-group-QmN1VdUW.js → button-group-R32U7SyV.js} +2 -2
  20. package/dist/_chunks/{calendar-7GAUlsNO.js → calendar-ChJQzRw-.js} +2 -2
  21. package/dist/_chunks/calendar-workspace-B-fUbm62.js +11372 -0
  22. package/dist/_chunks/{care-plan-card-COFOI-fI.js → care-plan-card-BOv0NRle.js} +3 -3
  23. package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js → care-plan-entry-card-d-rZD4li.js} +3 -3
  24. package/dist/_chunks/{care-plan-header-CbuOuVBw.js → care-plan-header-CEmBXn6-.js} +2 -2
  25. package/dist/_chunks/{carousel.agent-Dv4a4M8L.js → carousel.agent-z1yLBpyC.js} +2 -2
  26. package/dist/_chunks/{chart-iWl76PXv.js → chart-PF2krCZC.js} +3 -3
  27. package/dist/_chunks/{chat-input-qM5QpUSq.js → chat-input-Cj7ZYQr5.js} +2 -2
  28. package/dist/_chunks/{chat-message-RniXtrCH.js → chat-message-BMVxiUIX.js} +3 -3
  29. package/dist/_chunks/{code-block-uVjNSI9g.js → code-block-BB-viuTn.js} +2 -2
  30. package/dist/_chunks/{connection-status-OEsWjmRk.js → connection-status-BmA9T0UO.js} +3 -3
  31. package/dist/_chunks/{contact-profile-card--My1H2UD.js → contact-profile-card-Zt6WNg1u.js} +2 -2
  32. package/dist/_chunks/{control-room-rail-DQoHdE1U.js → control-room-rail-CnNZusR5.js} +3 -3
  33. package/dist/_chunks/{copy-field-fYKpl6aN.js → copy-field-B8XRVmQv.js} +2 -2
  34. package/dist/_chunks/credit-card-D9XZsHGA.js +15 -0
  35. package/dist/_chunks/{cycle-calculator-BJeaXiZv.js → cycle-calculator-BH2StWoT.js} +2 -2
  36. package/dist/_chunks/{dashboard-grid-B23BFzRl.js → dashboard-grid-BcXWL5S9.js} +2 -2
  37. package/dist/_chunks/{data-table-BYGK-gUJ.js → data-table-CcAx_I1w.js} +7 -7
  38. package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js → data-table-tabs-B9SXA5VP.js} +3 -3
  39. package/dist/_chunks/{description-list-C1RXMDZ_.js → description-list-BsJ_6CQE.js} +2 -2
  40. package/dist/_chunks/{document-preview-DsEyRcNd.js → document-preview-COV0BC6n.js} +2 -2
  41. package/dist/_chunks/{document-scanner-CbWVtm7u.js → document-scanner-B1abl-A4.js} +2 -2
  42. package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js → due-date-calculator-Buh_mVHq.js} +2 -2
  43. package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js → editable-currency-cell-renderer-Psb6XKHR.js} +3 -3
  44. package/dist/_chunks/editable-description-ADMVFPUz.js +142 -0
  45. package/dist/_chunks/{editor-overlay-8fKAcRsm.js → editor-overlay-9tcPXNWt.js} +2 -2
  46. package/dist/_chunks/{empty-state-X0sVPfVo.js → empty-state-BUN_UAWf.js} +2 -2
  47. package/dist/_chunks/{entity-summary-BbW0mIzU.js → entity-summary-DXejuQ8i.js} +3 -3
  48. package/dist/_chunks/{error-boundary-ayXFCcq4.js → error-boundary-BNT2iQ1w.js} +2 -2
  49. package/dist/_chunks/{face-scheme-uFvhqz6h.js → face-scheme-Dg6ZyLKb.js} +5 -5
  50. package/dist/_chunks/{fetal-weight-C6SxchOv.js → fetal-weight-wx4ycKc6.js} +2 -2
  51. package/dist/_chunks/{field-array-C9dmRaIM.js → field-array-BW9KeeXG.js} +3 -3
  52. package/dist/_chunks/{file-manager-DvkFgj7d.js → file-manager-BfLQxF5t.js} +137 -151
  53. package/dist/_chunks/{finished-terminal-Br61Ip4e.js → finished-terminal-DJd7Z_po.js} +2 -2
  54. package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js → fiscal-code-input-ODQRd_Sw.js} +2 -2
  55. package/dist/_chunks/folder-BghC8_S2.js +20 -0
  56. package/dist/_chunks/{freemium-paywall-BqGk_SBU.js → freemium-paywall-Cz-O9lQD.js} +2 -2
  57. package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js → gestational-age-calculator-CwbecTul.js} +2 -2
  58. package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js → hcg-doubling-BcXriXJe.js} +2 -2
  59. package/dist/_chunks/{header-BZ4pZlJV.js → header-3o9o9v_T.js} +2 -2
  60. package/dist/_chunks/{header-settings-B8mLc03Q.js → header-settings-CTe45iDy.js} +4 -4
  61. package/dist/_chunks/{hover-card-Bcku1GQu.js → hover-card-BMJBVqIf.js} +2 -2
  62. package/dist/_chunks/{icon-button-8xqRnkdG.js → icon-button-CehAeZoP.js} +2 -2
  63. package/dist/_chunks/{icon-button-group-Dj6CRoYR.js → icon-button-group-DkkdIygu.js} +2 -2
  64. package/dist/_chunks/{icon-picker-CTWzlHJr.js → icon-picker-DMEelg9v.js} +3 -3
  65. package/dist/_chunks/{image-cropper-C84NDTB7.js → image-cropper-BjPjT7wU.js} +2 -2
  66. package/dist/_chunks/{info-tip-ey_Pon2y.js → info-tip-iP2Pm9dh.js} +2 -2
  67. package/dist/_chunks/{insert-result-LCNTskNJ.js → insert-result-DPnOBD85.js} +2 -2
  68. package/dist/_chunks/{key-value-pair-DczGb4yz.js → key-value-pair-DaQI_LZB.js} +2 -2
  69. package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js → link-cell-renderer-s3oHzOwi.js} +2 -2
  70. package/dist/_chunks/{locale-picker-BLeHbFSc.js → locale-picker-CH3kfrIG.js} +3 -3
  71. package/dist/_chunks/{map-view-CCAlC9IL.js → map-view-CHw4RL6w.js} +2 -2
  72. package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js → marketplace-app-shell-d2EtcUbe.js} +4 -4
  73. package/dist/_chunks/{message-card-Dm5Xshup.js → message-card-V3sFPiQI.js} +3 -3
  74. package/dist/_chunks/{message-tray-BcLyaO-G.js → message-tray-CrRIHfiQ.js} +5 -5
  75. package/dist/_chunks/note-timeline-Dn_XTo1s.js +333 -0
  76. package/dist/_chunks/notes-panel-CAD1Ytcj.js +647 -0
  77. package/dist/_chunks/{notification-card-ChcK9Wat.js → notification-card-B2gLO6dK.js} +3 -3
  78. package/dist/_chunks/{notification-tray-CJ8jOe-U.js → notification-tray-BOEKegVV.js} +5 -5
  79. package/dist/_chunks/{optical-prescription-cphK41eP.js → optical-prescription-LGgmtcST.js} +2 -2
  80. package/dist/_chunks/{panel-subview-BNXN8OEL.js → panel-subview-Cc2Wtt7D.js} +52 -52
  81. package/dist/_chunks/{patient-details-2cIaL-Zb.js → patient-details-C8ImUrVg.js} +3 -3
  82. package/dist/_chunks/{patient-field-row-IHb2VFc2.js → patient-field-row-BRSOKvme.js} +7 -7
  83. package/dist/_chunks/{patient-search-D08b6jgj.js → patient-search-5QcmQKJD.js} +2 -2
  84. package/dist/_chunks/{patient-summary-card-BzmJH9a-.js → patient-summary-card-BhmKB2KR.js} +8 -8
  85. package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js → payment-automation-upsell-BKmBXU4i.js} +17 -16
  86. package/dist/_chunks/{payment-request-card-BxcdvxKR.js → payment-request-card-Cer6XXCn.js} +6 -5
  87. package/dist/_chunks/{periodontal-chart-BF_e3wZp.js → periodontal-chart-DJoZS_o7.js} +2 -2
  88. package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js → periodontal-chart-card-Nd1ZoYWb.js} +2 -2
  89. package/dist/_chunks/{popover-DzR5QYxp.js → popover-DO-pssF3.js} +2 -2
  90. package/dist/_chunks/{practice-results-DOcORTkP.js → practice-results-D_jjzwgf.js} +6 -6
  91. package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js → pregnancy-dating-DcyV9ZRD.js} +2 -2
  92. package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js → pregnancy-weight-gain-Bfq4Kwt5.js} +2 -2
  93. package/dist/_chunks/{privacy-lock-Be39vQUN.js → privacy-lock-CbFCAMM3.js} +3 -3
  94. package/dist/_chunks/{product-hub-panel-C0TO69P7.js → product-hub-panel-w40-_-1s.js} +4 -4
  95. package/dist/_chunks/{public-header.agent-Bl1KFwSE.js → public-header.agent-D-EBVskf.js} +3 -3
  96. package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js → radiograph-panel.agent-LrILY2lN.js} +4 -4
  97. package/dist/_chunks/{receipt-euro-C6k4Gzhr.js → receipt-euro-B1cLM_TN.js} +3 -14
  98. package/dist/_chunks/{reviews-panel-BaHZb_ai.js → reviews-panel-2GVuxGeT.js} +5 -5
  99. package/dist/_chunks/{rich-text-editor-BTXlorm5.js → rich-text-editor-C6fE-uP4.js} +5 -5
  100. package/dist/_chunks/{session-countdown-QMsnRa1x.js → session-countdown-BqppPrw6.js} +2 -2
  101. package/dist/_chunks/{sheet-hm04DGFd.js → sheet-C8WIDFS8.js} +2 -2
  102. package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js → sign-in-with-alfadocs-button-DWwBJtyE.js} +2 -2
  103. package/dist/_chunks/{signature-request-Dej2g86d.js → signature-request-D_j2aQu1.js} +360 -371
  104. package/dist/_chunks/{skeleton-CZbwyJAA.js → skeleton-B1KTdJ4N.js} +46 -33
  105. package/dist/_chunks/{slot-grid-8Ko6thzz.js → slot-grid-B3eOPkKD.js} +5 -5
  106. package/dist/_chunks/{streaming-text-DjFqLSt_.js → streaming-text-CE1u_oGa.js} +2 -2
  107. package/dist/_chunks/{task-tray-CQ8UAR2j.js → task-tray-DIwjAIes.js} +4 -4
  108. package/dist/_chunks/{tasks-panel-CBGMtQ_f.js → tasks-panel-CpcikOeY.js} +6 -6
  109. package/dist/_chunks/{theme-toggle-CMz8YfC1.js → theme-toggle-bI0pgDDv.js} +3 -3
  110. package/dist/_chunks/{toast-8jqtbfAB.js → toast-ZZfhA5u0.js} +2 -2
  111. package/dist/_chunks/{token-insert-menu-9Um0JinI.js → token-insert-menu-A9B5AJw6.js} +2 -2
  112. package/dist/_chunks/tool-rail-D89USYE6.js +799 -0
  113. package/dist/_chunks/{tooth-scheme-BWkYxxjR.js → tooth-scheme-DPAq0vQK.js} +3 -3
  114. package/dist/_chunks/{transaction-chip-Dth1nThY.js → transaction-chip-CwgcJiqF.js} +47 -46
  115. package/dist/_chunks/treatment-receipt-dUm99mdn.js +160 -0
  116. package/dist/_chunks/{unit-converter-BTgU50gk.js → unit-converter-C-LpGzrN.js} +2 -2
  117. package/dist/_chunks/user-plus-BtcOLgNU.js +17 -0
  118. package/dist/_chunks/{warning-stack-BW5Dwb3z.js → warning-stack-C0glSB7p.js} +3 -3
  119. package/dist/_chunks/{workflow-map-CXdsxvUj.js → workflow-map-DhR_h5yw.js} +5 -5
  120. package/dist/agent-catalog.json +3 -418
  121. package/dist/agent-i18n/en.json +2 -18
  122. package/dist/components/agenda-tray/index.js +1 -1
  123. package/dist/components/ai-consent-banner/index.js +1 -1
  124. package/dist/components/ai-prompt-input/index.js +1 -1
  125. package/dist/components/anamnesis-card/index.js +1 -1
  126. package/dist/components/anamnesis-summary-card/index.js +1 -1
  127. package/dist/components/appointment-card/appointment-card.d.ts +24 -0
  128. package/dist/components/appointment-card/index.js +2 -2
  129. package/dist/components/appointment-peek/index.js +1 -1
  130. package/dist/components/appointment-timeline/appointment-timeline.d.ts +15 -1
  131. package/dist/components/appointment-timeline/index.js +1 -1
  132. package/dist/components/audio-recorder/index.js +1 -1
  133. package/dist/components/bishop-score/index.js +1 -1
  134. package/dist/components/bmi-calculator/index.js +1 -1
  135. package/dist/components/booking/index.js +1 -1
  136. package/dist/components/button/button.d.ts +1 -1
  137. package/dist/components/button/index.js +2 -2
  138. package/dist/components/button-group/index.js +1 -1
  139. package/dist/components/calendar/index.js +1 -1
  140. package/dist/components/care-plan-card/index.js +1 -1
  141. package/dist/components/care-plan-entry-card/index.js +1 -1
  142. package/dist/components/care-plan-header/index.js +1 -1
  143. package/dist/components/carousel/index.js +1 -1
  144. package/dist/components/chart/index.js +1 -1
  145. package/dist/components/chat-input/index.js +1 -1
  146. package/dist/components/chat-message/index.js +1 -1
  147. package/dist/components/connection-status/index.js +1 -1
  148. package/dist/components/contact-profile-card/index.js +1 -1
  149. package/dist/components/control-room-rail/index.js +1 -1
  150. package/dist/components/copy-field/index.js +1 -1
  151. package/dist/components/cycle-calculator/index.js +1 -1
  152. package/dist/components/dashboard-grid/index.js +1 -1
  153. package/dist/components/data-table/index.js +4 -4
  154. package/dist/components/data-table-tabs/index.js +1 -1
  155. package/dist/components/description-list/index.js +1 -1
  156. package/dist/components/document-preview/index.js +1 -1
  157. package/dist/components/document-scanner/index.js +1 -1
  158. package/dist/components/due-date-calculator/index.js +1 -1
  159. package/dist/components/editable-description/editable-description.d.ts +6 -0
  160. package/dist/components/editable-description/index.js +1 -1
  161. package/dist/components/editor-overlay/index.js +1 -1
  162. package/dist/components/empty-state/index.js +1 -1
  163. package/dist/components/entity-summary/index.js +1 -1
  164. package/dist/components/error-boundary/index.js +1 -1
  165. package/dist/components/face-scheme/index.js +1 -1
  166. package/dist/components/fetal-weight/index.js +1 -1
  167. package/dist/components/field-array/index.js +1 -1
  168. package/dist/components/file-manager/index.js +1 -1
  169. package/dist/components/finished-terminal/index.js +1 -1
  170. package/dist/components/fiscal-code-input/index.js +1 -1
  171. package/dist/components/freemium-paywall/index.js +1 -1
  172. package/dist/components/gestational-age-calculator/index.js +1 -1
  173. package/dist/components/hcg-doubling/index.js +1 -1
  174. package/dist/components/header/index.js +1 -1
  175. package/dist/components/header-settings/index.js +1 -1
  176. package/dist/components/hover-card/index.js +1 -1
  177. package/dist/components/icon-button/index.js +1 -1
  178. package/dist/components/icon-button-group/index.js +1 -1
  179. package/dist/components/icon-picker/index.js +1 -1
  180. package/dist/components/image-cropper/index.js +1 -1
  181. package/dist/components/info-tip/index.js +1 -1
  182. package/dist/components/key-value-pair/index.js +1 -1
  183. package/dist/components/locale-picker/index.js +1 -1
  184. package/dist/components/map-view/index.js +1 -1
  185. package/dist/components/message-card/index.js +1 -1
  186. package/dist/components/message-tray/index.js +1 -1
  187. package/dist/components/note-timeline/index.js +1 -1
  188. package/dist/components/note-timeline/note-timeline.d.ts +17 -0
  189. package/dist/components/notes-panel/index.js +1 -1
  190. package/dist/components/notes-panel/notes-panel.d.ts +5 -4
  191. package/dist/components/notification-card/index.js +1 -1
  192. package/dist/components/notification-tray/index.js +1 -1
  193. package/dist/components/optical-prescription/index.js +1 -1
  194. package/dist/components/panel-subview/index.js +1 -1
  195. package/dist/components/patient-details/index.js +1 -1
  196. package/dist/components/patient-search/index.js +1 -1
  197. package/dist/components/patient-summary-card/index.js +1 -1
  198. package/dist/components/patient-table/index.js +1 -1
  199. package/dist/components/payment-card/index.js +1 -1
  200. package/dist/components/periodontal-chart/index.js +1 -1
  201. package/dist/components/periodontal-chart-card/index.js +1 -1
  202. package/dist/components/popover/index.js +1 -1
  203. package/dist/components/practice-results/index.js +1 -1
  204. package/dist/components/pregnancy-dating/index.js +1 -1
  205. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  206. package/dist/components/privacy-lock/index.js +1 -1
  207. package/dist/components/product-hub-tray/index.js +1 -1
  208. package/dist/components/public-header/index.js +1 -1
  209. package/dist/components/radiograph-panel/index.js +1 -1
  210. package/dist/components/reviews-panel/index.js +1 -1
  211. package/dist/components/rich-text-editor/index.js +1 -1
  212. package/dist/components/session-countdown/index.js +1 -1
  213. package/dist/components/sheet/index.js +1 -1
  214. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  215. package/dist/components/skeleton/index.d.ts +1 -1
  216. package/dist/components/skeleton/index.js +3 -2
  217. package/dist/components/skeleton/skeleton.d.ts +12 -0
  218. package/dist/components/slot-grid/index.js +1 -1
  219. package/dist/components/streaming-text/index.js +1 -1
  220. package/dist/components/task-tray/index.js +1 -1
  221. package/dist/components/tasks-panel/index.js +1 -1
  222. package/dist/components/theme-toggle/index.js +1 -1
  223. package/dist/components/toast/index.js +1 -1
  224. package/dist/components/token-insert-menu/index.js +1 -1
  225. package/dist/components/tool-rail/index.js +1 -1
  226. package/dist/components/tooth-scheme/index.js +1 -1
  227. package/dist/components/transaction-chip/index.js +1 -1
  228. package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
  229. package/dist/components/treatment-receipt/index.js +1 -1
  230. package/dist/components/treatment-receipt/treatment-receipt.d.ts +8 -0
  231. package/dist/components/unit-converter/index.js +1 -1
  232. package/dist/components/warning-stack/index.js +1 -1
  233. package/dist/components/workflow/index.js +1 -1
  234. package/dist/host-compat.css +13 -4
  235. package/dist/i18n/locales/ar.d.ts +235 -183
  236. package/dist/i18n/locales/ar.js +239 -187
  237. package/dist/i18n/locales/de.d.ts +219 -167
  238. package/dist/i18n/locales/de.js +223 -171
  239. package/dist/i18n/locales/el.d.ts +234 -182
  240. package/dist/i18n/locales/el.js +238 -186
  241. package/dist/i18n/locales/en.d.ts +52 -0
  242. package/dist/i18n/locales/en.js +56 -4
  243. package/dist/i18n/locales/es.d.ts +227 -175
  244. package/dist/i18n/locales/es.js +231 -179
  245. package/dist/i18n/locales/fr.d.ts +221 -169
  246. package/dist/i18n/locales/fr.js +225 -173
  247. package/dist/i18n/locales/hi.d.ts +235 -183
  248. package/dist/i18n/locales/hi.js +243 -187
  249. package/dist/i18n/locales/it.d.ts +179 -127
  250. package/dist/i18n/locales/it.js +183 -131
  251. package/dist/i18n/locales/ja.d.ts +233 -181
  252. package/dist/i18n/locales/ja.js +237 -185
  253. package/dist/i18n/locales/nl.d.ts +224 -172
  254. package/dist/i18n/locales/nl.js +228 -176
  255. package/dist/i18n/locales/pl.d.ts +229 -177
  256. package/dist/i18n/locales/pl.js +233 -181
  257. package/dist/i18n/locales/pt.d.ts +229 -177
  258. package/dist/i18n/locales/pt.js +233 -181
  259. package/dist/i18n/locales/ro.d.ts +228 -176
  260. package/dist/i18n/locales/ro.js +232 -180
  261. package/dist/i18n/locales/ru.d.ts +234 -182
  262. package/dist/i18n/locales/ru.js +238 -186
  263. package/dist/i18n/locales/sq.d.ts +228 -176
  264. package/dist/i18n/locales/sq.js +232 -180
  265. package/dist/i18n/locales/sv.d.ts +229 -177
  266. package/dist/i18n/locales/sv.js +233 -181
  267. package/dist/i18n/locales/tr.d.ts +235 -183
  268. package/dist/i18n/locales/tr.js +239 -187
  269. package/dist/i18n/locales/zh.d.ts +228 -176
  270. package/dist/i18n/locales/zh.js +232 -180
  271. package/dist/index.js +785 -784
  272. package/dist/locales/ar.json +239 -187
  273. package/dist/locales/de.json +223 -171
  274. package/dist/locales/el.json +238 -186
  275. package/dist/locales/en.json +56 -4
  276. package/dist/locales/es.json +231 -179
  277. package/dist/locales/fr.json +225 -173
  278. package/dist/locales/hi.json +239 -187
  279. package/dist/locales/it.json +183 -131
  280. package/dist/locales/ja.json +237 -185
  281. package/dist/locales/nl.json +228 -176
  282. package/dist/locales/pl.json +233 -181
  283. package/dist/locales/pt.json +233 -181
  284. package/dist/locales/ro.json +232 -180
  285. package/dist/locales/ru.json +238 -186
  286. package/dist/locales/sq.json +232 -180
  287. package/dist/locales/sv.json +233 -181
  288. package/dist/locales/tr.json +239 -187
  289. package/dist/locales/zh.json +232 -180
  290. package/dist/patterns/alia-assistant/index.js +1 -1
  291. package/dist/patterns/anamnesis/index.js +1 -1
  292. package/dist/patterns/calendar/calendar-appointment-details.d.ts +8 -1
  293. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +10 -5
  294. package/dist/patterns/calendar/calendar-bookings-panel.d.ts +31 -0
  295. package/dist/patterns/calendar/calendar-editor-hydration.d.ts +0 -2
  296. package/dist/patterns/calendar/calendar-info-hover.d.ts +15 -1
  297. package/dist/patterns/calendar/calendar-privacy.d.ts +23 -0
  298. package/dist/patterns/calendar/calendar-rail-settle.d.ts +14 -0
  299. package/dist/patterns/calendar/calendar-upcoming-panel.d.ts +32 -0
  300. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +62 -0
  301. package/dist/patterns/calendar/calendar-workspace.d.ts +14 -1
  302. package/dist/patterns/calendar/calendar-workspace.model.d.ts +37 -1
  303. package/dist/patterns/calendar/calendar.model.d.ts +8 -2
  304. package/dist/patterns/calendar/calendar.sheets.d.ts +43 -27
  305. package/dist/patterns/calendar/calendar.types.d.ts +6 -0
  306. package/dist/patterns/calendar/index.d.ts +2 -2
  307. package/dist/patterns/calendar/index.js +1 -1
  308. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  309. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  310. package/dist/patterns/signature-request/index.js +1 -1
  311. package/dist/tokens.css +1 -1
  312. package/package.json +3 -1
  313. package/dist/_chunks/calendar-workspace-BqKBj26r.js +0 -9715
  314. package/dist/_chunks/editable-description-BOfAeY3T.js +0 -112
  315. package/dist/_chunks/note-timeline-CXfSV3yX.js +0 -231
  316. package/dist/_chunks/notes-panel-4y5JioWN.js +0 -556
  317. package/dist/_chunks/tool-rail-BP8sjxCw.js +0 -667
  318. package/dist/_chunks/treatment-receipt-D4kOLXOk.js +0 -94
@@ -0,0 +1,333 @@
1
+ import { jsx as s, jsxs as n } from "react/jsx-runtime";
2
+ import { forwardRef as D, useMemo as g, useRef as y, useEffect as H } from "react";
3
+ import { c as h } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as L } from "react-i18next";
5
+ import { SafeHtml as A } from "../safe-html/index.js";
6
+ import { C as P, S as b } from "./skeleton-B1KTdJ4N.js";
7
+ import { n as B, P as K, F as O, N as q } from "./note-attachment-CwDir3kK.js";
8
+ import { u as G } from "./registry-DvAUVLHh.js";
9
+ const J = {
10
+ id: "note-timeline",
11
+ capabilities: [],
12
+ state: {
13
+ notes: {
14
+ type: "Array<{ id?: string; pinned: boolean; flagged: boolean; clinical: boolean }>",
15
+ descriptionKey: "ui.agent.noteTimeline.state.notes",
16
+ description: "Structural snapshot of the rendered rows: ids and flags only, never note content or author.",
17
+ read: (a) => a.getNotes()
18
+ },
19
+ visibleCount: {
20
+ type: "number",
21
+ descriptionKey: "ui.agent.noteTimeline.state.visibleCount",
22
+ description: "How many notes are rendered, after the maxItems cap is applied.",
23
+ read: (a) => a.getVisibleCount()
24
+ }
25
+ },
26
+ actions: {},
27
+ domHooks: {
28
+ root: {
29
+ attr: "data-component",
30
+ value: "note-timeline",
31
+ description: "Marks the NoteTimeline root. Emits data-empty when there is nothing to show."
32
+ },
33
+ instanceId: {
34
+ attr: "data-component-id",
35
+ sourceProp: "id",
36
+ description: "Sourced from the id prop — addresses a specific timeline."
37
+ }
38
+ }
39
+ }, N = h(
40
+ [
41
+ // Named group so the rail's connector can ask "is my ROW the last one?".
42
+ // A bare `last:` on the rail asks "am I the last child of my row?", which
43
+ // is never true — it is the middle of three — so the line ran on past the
44
+ // final dot and read as more content below.
45
+ "ds:group/note-row ds:relative ds:flex ds:gap-[var(--spacing-sm)]",
46
+ "ds:pb-3 ds:last:pb-0"
47
+ ].join(" ")
48
+ ), Q = h(
49
+ [
50
+ "type-body-sm ds:[overflow-wrap:break-word]",
51
+ // `[&_p]:m-0` — the converter wraps each block in <p>; the timeline
52
+ // controls its own rhythm, so the paragraph margins are dropped.
53
+ "ds:[&_p]:m-0"
54
+ ].join(" "),
55
+ {
56
+ variants: {
57
+ // Literal classes, one per supported value: Tailwind generates what it
58
+ // can see in the source, so an interpolated arbitrary value emits
59
+ // nothing and the body would silently never clamp.
60
+ lines: {
61
+ 1: "ds:line-clamp-1",
62
+ 2: "ds:line-clamp-2",
63
+ 3: "ds:line-clamp-3",
64
+ 4: "ds:line-clamp-4",
65
+ 5: "ds:line-clamp-5"
66
+ }
67
+ },
68
+ defaultVariants: { lines: 3 }
69
+ }
70
+ ), T = h(
71
+ [
72
+ "ds:absolute ds:top-1 ds:start-0 ds:size-[9px]",
73
+ "ds:rounded-[var(--radius-full)] ds:border-2",
74
+ "ds:bg-[color:var(--background)]",
75
+ "ds:forced-colors:border-[CanvasText]"
76
+ ].join(" "),
77
+ {
78
+ variants: {
79
+ tone: {
80
+ default: "ds:border-[color:var(--border)]",
81
+ pinned: [
82
+ "ds:border-[color:var(--accent)]",
83
+ "ds:bg-[color:color-mix(in_srgb,var(--accent)_20%,var(--background))]"
84
+ ].join(" "),
85
+ flagged: [
86
+ "ds:border-[color:var(--warning-readable)]",
87
+ "ds:bg-[color:color-mix(in_srgb,var(--warning-readable)_20%,var(--background))]"
88
+ ].join(" ")
89
+ }
90
+ },
91
+ defaultVariants: { tone: "default" }
92
+ }
93
+ );
94
+ function U(a) {
95
+ return [...a].sort((r, i) => !!r.pinned != !!i.pinned ? r.pinned ? -1 : 1 : i.dateIso.localeCompare(r.dateIso));
96
+ }
97
+ const W = [
98
+ "ds:absolute ds:inset-0 ds:z-1 ds:m-0 ds:cursor-pointer",
99
+ "ds:rounded-[var(--radius-sm)] ds:border-0 ds:bg-transparent ds:p-0",
100
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
101
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
102
+ "ds:forced-colors:focus-visible:outline-[CanvasText]"
103
+ ].join(" "), X = D(
104
+ ({
105
+ id: a,
106
+ notes: r,
107
+ maxItems: i = 3,
108
+ lines: k = 3,
109
+ locale: C,
110
+ emptyState: j,
111
+ "aria-label": I,
112
+ loading: p = !1,
113
+ loadingRows: z = 2,
114
+ className: u,
115
+ onNoteActivate: o,
116
+ ...f
117
+ }, d) => {
118
+ const { t: m, i18n: S } = L(), l = C ?? S.language, V = g(
119
+ () => (e) => {
120
+ try {
121
+ return new Intl.DateTimeFormat(l, {
122
+ day: "numeric",
123
+ month: "long",
124
+ year: "numeric",
125
+ hour: "2-digit",
126
+ minute: "2-digit"
127
+ }).format(new Date(e));
128
+ } catch {
129
+ return e;
130
+ }
131
+ },
132
+ [l]
133
+ ), v = y(!1);
134
+ p && (v.current = !0);
135
+ const _ = v.current ? P : "", c = g(
136
+ () => U(r).slice(0, Math.max(0, i)),
137
+ [r, i]
138
+ ), x = y(null), F = (e) => {
139
+ x.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
140
+ };
141
+ H(() => {
142
+ var e;
143
+ o && ((e = x.current) == null || e.querySelectorAll("a[href]").forEach((t) => t.setAttribute("tabindex", "-1")));
144
+ });
145
+ const w = g(
146
+ () => ({
147
+ dayMonth: new Intl.DateTimeFormat(l, {
148
+ day: "numeric",
149
+ month: "short"
150
+ }),
151
+ year: new Intl.DateTimeFormat(l, { year: "numeric" })
152
+ }),
153
+ [l]
154
+ );
155
+ return G(
156
+ J,
157
+ {
158
+ getNotes: () => c.map((e) => ({
159
+ id: e.id,
160
+ pinned: !!e.pinned,
161
+ flagged: !!e.flagged,
162
+ clinical: !!e.clinical
163
+ })),
164
+ getVisibleCount: () => c.length
165
+ },
166
+ a
167
+ ), p && c.length === 0 ? /* @__PURE__ */ s(
168
+ "div",
169
+ {
170
+ ref: d,
171
+ "data-component": "note-timeline",
172
+ "data-component-id": a,
173
+ "data-loading": "",
174
+ "aria-busy": "true",
175
+ className: ["ds:flex ds:flex-col", u ?? ""].join(" ").trim(),
176
+ ...f,
177
+ children: Array.from({ length: Math.max(1, z) }, (e, t) => /* @__PURE__ */ n("div", { "aria-hidden": "true", className: N(), children: [
178
+ /* @__PURE__ */ n("div", { className: "ds:flex ds:w-12 ds:shrink-0 ds:flex-col ds:items-end ds:gap-[var(--spacing-2xs)] ds:pt-px", children: [
179
+ /* @__PURE__ */ s(
180
+ b,
181
+ {
182
+ variant: "text",
183
+ size: "sm",
184
+ stagger: t * 2,
185
+ width: "80%"
186
+ }
187
+ ),
188
+ /* @__PURE__ */ s(
189
+ b,
190
+ {
191
+ variant: "text",
192
+ size: "sm",
193
+ stagger: t * 2,
194
+ width: "50%"
195
+ }
196
+ )
197
+ ] }),
198
+ /* @__PURE__ */ s(
199
+ "div",
200
+ {
201
+ className: [
202
+ "ds:relative ds:w-[9px] ds:shrink-0",
203
+ "ds:before:absolute ds:before:start-[4px] ds:before:top-[14px]",
204
+ "ds:before:bottom-[-12px] ds:before:w-px",
205
+ 'ds:before:bg-[color:var(--border)] ds:before:content-[""]',
206
+ "ds:group-last/note-row:before:hidden"
207
+ ].join(" "),
208
+ children: /* @__PURE__ */ s("span", { className: T({ tone: "default" }) })
209
+ }
210
+ ),
211
+ /* @__PURE__ */ s("div", { className: "ds:min-w-0 ds:flex-1", children: /* @__PURE__ */ s(
212
+ b,
213
+ {
214
+ variant: "text",
215
+ size: "sm",
216
+ lines: t % 2 === 0 ? 3 : 2,
217
+ stagger: t * 2 + 1
218
+ }
219
+ ) })
220
+ ] }, t))
221
+ }
222
+ ) : c.length === 0 ? /* @__PURE__ */ s(
223
+ "div",
224
+ {
225
+ ref: d,
226
+ "data-component": "note-timeline",
227
+ "data-component-id": a,
228
+ "data-empty": "",
229
+ className: u,
230
+ ...f,
231
+ children: j
232
+ }
233
+ ) : /* @__PURE__ */ s(
234
+ "div",
235
+ {
236
+ ref: F,
237
+ "data-component": "note-timeline",
238
+ "data-component-id": a,
239
+ role: "list",
240
+ "aria-busy": p || void 0,
241
+ "aria-label": I ?? m("noteTimeline.regionLabel"),
242
+ className: ["ds:flex ds:flex-col", _, u ?? ""].join(" ").trim(),
243
+ ...f,
244
+ children: c.map((e) => {
245
+ const t = new Date(e.dateIso), M = e.pinned ? "pinned" : e.flagged ? "flagged" : "default", E = e.contentFormat === "html" ? e.content : B(e.content), R = !!(o && e.id);
246
+ return /* @__PURE__ */ n(
247
+ "div",
248
+ {
249
+ role: "listitem",
250
+ "data-note-id": e.id,
251
+ "data-pinned": e.pinned ? "" : void 0,
252
+ "data-flagged": e.flagged ? "" : void 0,
253
+ className: N(),
254
+ children: [
255
+ R ? /* @__PURE__ */ s(
256
+ "button",
257
+ {
258
+ type: "button",
259
+ className: W,
260
+ "aria-label": m("noteTimeline.openNote", {
261
+ date: V(e.dateIso),
262
+ defaultValue: "Open note · {{date}}"
263
+ }),
264
+ onClick: () => o == null ? void 0 : o(e.id)
265
+ }
266
+ ) : null,
267
+ /* @__PURE__ */ n("div", { className: "ds:w-12 ds:shrink-0 ds:pt-px ds:text-end ds:text-[length:var(--type-meta-size)] ds:leading-[1.3]", children: [
268
+ /* @__PURE__ */ s("div", { className: "ds:font-semibold ds:tracking-[0.03em] ds:uppercase", children: w.dayMonth.format(t) }),
269
+ /* @__PURE__ */ s("div", { className: "ds:text-[color:var(--muted-foreground)]", children: w.year.format(t) })
270
+ ] }),
271
+ /* @__PURE__ */ s(
272
+ "div",
273
+ {
274
+ "aria-hidden": "true",
275
+ className: [
276
+ "ds:relative ds:w-[9px] ds:shrink-0",
277
+ "ds:before:absolute ds:before:start-[4px] ds:before:top-[14px]",
278
+ "ds:before:bottom-[-12px] ds:before:w-px",
279
+ 'ds:before:bg-[color:var(--border)] ds:before:content-[""]',
280
+ "ds:group-last/note-row:before:hidden"
281
+ ].join(" "),
282
+ children: /* @__PURE__ */ s("span", { className: T({ tone: M }) })
283
+ }
284
+ ),
285
+ /* @__PURE__ */ n("div", { className: "ds:min-w-0 ds:flex-1", children: [
286
+ /* @__PURE__ */ s(
287
+ A,
288
+ {
289
+ html: E,
290
+ profile: e.contentFormat === "html" ? "rich-text" : "markdown",
291
+ className: Q({ lines: k })
292
+ }
293
+ ),
294
+ e.author || e.pinned || e.flagged || e.attachedTo ? /* @__PURE__ */ n("div", { className: "ds:mt-[var(--spacing-2xs)] ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)] type-meta ds:text-[color:var(--muted-foreground)]", children: [
295
+ e.author ? /* @__PURE__ */ s("span", { children: e.author.name }) : null,
296
+ e.pinned ? /* @__PURE__ */ n("span", { className: "ds:inline-flex ds:items-center", children: [
297
+ /* @__PURE__ */ s(
298
+ K,
299
+ {
300
+ "aria-hidden": "true",
301
+ className: "ds:size-3 ds:text-[color:var(--accent)]"
302
+ }
303
+ ),
304
+ /* @__PURE__ */ s("span", { className: "ds:sr-only", children: m("noteTimeline.pinned") })
305
+ ] }) : null,
306
+ e.flagged ? /* @__PURE__ */ n("span", { className: "ds:inline-flex ds:items-center", children: [
307
+ /* @__PURE__ */ s(
308
+ O,
309
+ {
310
+ "aria-hidden": "true",
311
+ className: "ds:size-3 ds:text-[color:var(--warning-readable)]"
312
+ }
313
+ ),
314
+ /* @__PURE__ */ s("span", { className: "ds:sr-only", children: m("noteTimeline.flagged") })
315
+ ] }) : null,
316
+ /* @__PURE__ */ s(q, { attachedTo: e.attachedTo })
317
+ ] }) : null
318
+ ] })
319
+ ]
320
+ },
321
+ e.id ?? e.dateIso
322
+ );
323
+ })
324
+ }
325
+ );
326
+ }
327
+ );
328
+ X.displayName = "NoteTimeline";
329
+ export {
330
+ X as N,
331
+ J as n
332
+ };
333
+ //# sourceMappingURL=note-timeline-Dn_XTo1s.js.map