@alfadocs/ui-kit 1.140.0 → 1.142.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 (295) hide show
  1. package/dist/_chunks/{actions-cell-renderer-C-l_ppP6.js → actions-cell-renderer-CPNyF6ye.js} +3 -3
  2. package/dist/_chunks/{ai-credits-notice-BNFcQoXo.js → ai-credits-notice-D_Zm_N2A.js} +2 -2
  3. package/dist/_chunks/{ai-prompt-input-B2QFwuJ1.js → ai-prompt-input-y4-dtQIT.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-CVBlKur9.js → alia-sidebar-uxTsUbIt.js} +2 -2
  5. package/dist/_chunks/{anamnesis-summary-rows-YJGs2uWD.js → anamnesis-summary-rows-C2Ca9_Qj.js} +8 -8
  6. package/dist/_chunks/{appointment-card-CaxFXtSn.js → appointment-card-C0UFYFLZ.js} +170 -168
  7. package/dist/_chunks/{appointment-details-panel.history-DrIMDQYf.js → appointment-details-panel.history-BUXwhill.js} +2 -2
  8. package/dist/_chunks/{appointment-peek-BP_ACFz5.js → appointment-peek-BCzekfWh.js} +3 -3
  9. package/dist/_chunks/appointment-timeline-BK68CCBl.js +689 -0
  10. package/dist/_chunks/{appointment-tray-DPpeR9JT.js → appointment-tray-dfgScPcC.js} +2 -2
  11. package/dist/_chunks/{audio-recorder-6dUq8I38.js → audio-recorder-DxhCiLqG.js} +2 -2
  12. package/dist/_chunks/{balance-badge-cell-CRStPNDd.js → balance-badge-cell-CXi6moSa.js} +5 -5
  13. package/dist/_chunks/{bill-line-table-DTqXdBED.js → bill-line-table-qAdmV19W.js} +2 -2
  14. package/dist/_chunks/{bishop-score-M7Fi-ykx.js → bishop-score-DbvfBlBM.js} +2 -2
  15. package/dist/_chunks/{button-group-DuQuuulC.js → button-group-DoKG16Fy.js} +2 -2
  16. package/dist/_chunks/{calculator-dialog-Cg3GjaRf.js → calculator-dialog-BWizCwN5.js} +2 -2
  17. package/dist/_chunks/{calendar-appointment-editor-dialog-BBrJlmyd.js → calendar-appointment-editor-dialog-BDc8Q4Ji.js} +17 -17
  18. package/dist/_chunks/{calendar-editor-discard-host-BcMEgVEq.js → calendar-editor-discard-host-BblBxMqT.js} +5 -5
  19. package/dist/_chunks/{calendar-waiting-list-panel-Cdg9YssA.js → calendar-waiting-list-panel-js-0KEh8.js} +6 -6
  20. package/dist/_chunks/{calendar.sheets-DbMOO7YV.js → calendar.sheets-sBWH7Jxn.js} +12 -12
  21. package/dist/_chunks/calls-panel-CnjAKFgA.js +1448 -0
  22. package/dist/_chunks/{care-plan-card-CjHq6PLo.js → care-plan-card-TZH6C60K.js} +2 -2
  23. package/dist/_chunks/{care-plan-entry-card-DY1toF6E.js → care-plan-entry-card-CufvXAWa.js} +2 -2
  24. package/dist/_chunks/{chart-D0EeFWst.js → chart-ChNsJf9_.js} +2 -2
  25. package/dist/_chunks/{color-picker-CC8ZfntU.js → color-picker-5FKOk_z1.js} +2 -2
  26. package/dist/_chunks/{communications-panel-DBWM9II9.js → communications-panel-EP27FN7e.js} +3 -3
  27. package/dist/_chunks/{control-room-rail-DcJpHbp4.js → control-room-rail-7SidoPJH.js} +2 -2
  28. package/dist/_chunks/{cycle-calculator-Cb66X2Pf.js → cycle-calculator-BUCGfEcy.js} +2 -2
  29. package/dist/_chunks/{dashboard-grid-2uVXEe9e.js → dashboard-grid-D2egA1Zu.js} +2 -2
  30. package/dist/_chunks/{data-grid-tabs-D9Y4DeeH.js → data-grid-tabs-Mbj6bSK2.js} +2 -2
  31. package/dist/_chunks/{data-grid-CRUSZcVT.js → data-grid-tyE2kGfx.js} +5 -5
  32. package/dist/_chunks/{data-table-CnLfOwxg.js → data-table-Bq1FRBGB.js} +4 -4
  33. package/dist/_chunks/{data-table-tabs-NYLhD8_Z.js → data-table-tabs-D5ujdK56.js} +2 -2
  34. package/dist/_chunks/{date-picker-BmVBVpVu.js → date-picker-CD-PBzXM.js} +2 -2
  35. package/dist/_chunks/{date-range-panel-CT9Pk-HF.js → date-range-panel-BOgfP_V3.js} +2 -2
  36. package/dist/_chunks/{date-range-picker-2Up_FRrM.js → date-range-picker-Z-hI5Vb7.js} +2 -2
  37. package/dist/_chunks/{date-time-picker-C6b_Vymc.js → date-time-picker-DHza1SEH.js} +2 -2
  38. package/dist/_chunks/{default-tabs-CRbVCDSU.js → default-tabs-ChkVzOL8.js} +7 -7
  39. package/dist/_chunks/dialog-239Geb7Z.js +431 -0
  40. package/dist/_chunks/dialog-container-DHR0byah.js +17 -0
  41. package/dist/_chunks/{document-preview-FTCHXYhk.js → document-preview-x_S8V7VC.js} +3 -3
  42. package/dist/_chunks/{dropdown-menu-DBWaW4pq.js → dropdown-menu-Bm1KALnk.js} +2 -2
  43. package/dist/_chunks/{due-date-calculator-Dlqegxx9.js → due-date-calculator-DpN0Z9p4.js} +2 -2
  44. package/dist/_chunks/{editable-currency-cell-renderer-CZMQ5xRT.js → editable-currency-cell-renderer-C6z6ABN_.js} +2 -2
  45. package/dist/_chunks/{face-scheme-Bxt7ZnJn.js → face-scheme-S88jbOzl.js} +3 -3
  46. package/dist/_chunks/{file-manager-Bsccb8Jj.js → file-manager-ChQSjfU8.js} +5 -5
  47. package/dist/_chunks/{gestational-age-calculator-DXSPWG8u.js → gestational-age-calculator-CCDIhSMV.js} +3 -3
  48. package/dist/_chunks/{hcg-doubling-Dqbj6PQj.js → hcg-doubling-BekuksBv.js} +2 -2
  49. package/dist/_chunks/{header-settings-Cu-MKOsO.js → header-settings-CvZ7Qii6.js} +3 -3
  50. package/dist/_chunks/{heatmap-CFPaEKD_.js → heatmap-D0OGx-70.js} +3 -3
  51. package/dist/_chunks/{help-me-write-templates-DO6vJeP4.js → help-me-write-templates-C84_4iwX.js} +2 -2
  52. package/dist/_chunks/{hover-card-CuRIA4wN.js → hover-card-CIiPOlyM.js} +2 -2
  53. package/dist/_chunks/{icon-button-group-SmkdVCNx.js → icon-button-group-CLhC7wjU.js} +2 -2
  54. package/dist/_chunks/{icon-picker-BmU6gpZT.js → icon-picker-Ct6n8GTa.js} +2 -2
  55. package/dist/_chunks/{info-tip-B3cn3fY2.js → info-tip-CkH2En-i.js} +2 -2
  56. package/dist/_chunks/{invoice-upload-list-BR6vycF7.js → invoice-upload-list-CZ1B9yWh.js} +4 -4
  57. package/dist/_chunks/{kit-extensions-QddOSnIq.js → kit-extensions-C_oZ7WOq.js} +4 -4
  58. package/dist/_chunks/{link-cell-renderer-hAJplRFF.js → link-cell-renderer-ByOAy2Sb.js} +4 -4
  59. package/dist/_chunks/{locale-picker-C86h8Yt1.js → locale-picker-OrojXX6E.js} +2 -2
  60. package/dist/_chunks/{marketplace-app-shell-dMmxI6MT.js → marketplace-app-shell-DnL187-U.js} +4 -4
  61. package/dist/_chunks/{message-tray-pLGgLmoG.js → message-tray-g6dp_AAt.js} +2 -2
  62. package/dist/_chunks/{muscle-scheme-BB2eBfww.js → muscle-scheme-vNd8wU7V.js} +2 -2
  63. package/dist/_chunks/{non-modal-tab-exit-j3CPOuE3.js → non-modal-tab-exit-DqJao_E-.js} +2 -1
  64. package/dist/_chunks/{notes-panel-CnmQqhwq.js → notes-panel-CtMLUJOe.js} +5 -4
  65. package/dist/_chunks/{notification-tray-mlCfxNRH.js → notification-tray-DqCYs9Bw.js} +2 -2
  66. package/dist/_chunks/{optical-prescription-GzeK_2cf.js → optical-prescription-CWwrW4YQ.js} +2 -2
  67. package/dist/_chunks/{pagination-C7N_NiRN.js → pagination-BpXG5jVk.js} +2 -2
  68. package/dist/_chunks/{parts-BOnDDU3E.js → parts-IFiXO68Y.js} +3 -3
  69. package/dist/_chunks/{patient-account-settings-DfEPHmCh.js → patient-account-settings-e8Wp2g-F.js} +3 -3
  70. package/dist/_chunks/{patient-check-in-resume-TWs8CPQr.js → patient-check-in-resume-_nwf9gpx.js} +5 -5
  71. package/dist/_chunks/{patient-details-D0PjzALT.js → patient-details-6uJZ27ZL.js} +2 -2
  72. package/dist/_chunks/{patient-field-row-DlpIModg.js → patient-field-row-D8Cu_MQp.js} +5 -5
  73. package/dist/_chunks/{patient-search-aTFd7p9s.js → patient-search-C6-INPjs.js} +2 -2
  74. package/dist/_chunks/{patient-summary-card-BP_K7g_q.js → patient-summary-card-NYjO0IfN.js} +3 -3
  75. package/dist/_chunks/{pdf-viewer-TRC5jEm5.js → pdf-viewer-C8no312t.js} +2 -2
  76. package/dist/_chunks/{phone-input-DRKcJUi4.js → phone-input-DHiYJZ9v.js} +2 -2
  77. package/dist/_chunks/{popover-CN5IsOeS.js → popover-CkvP3rHZ.js} +2 -2
  78. package/dist/_chunks/{popup-region-qz_5_A0V.js → popup-region-BgZ8oeUB.js} +2 -2
  79. package/dist/_chunks/{portal-details-VfeOI4PB.js → portal-details-D9oF6FUV.js} +2 -2
  80. package/dist/_chunks/{portal-documents-hGHlwmbv.js → portal-documents-DSiLSave.js} +5 -5
  81. package/dist/_chunks/{portal-parts-C99CreYO.js → portal-parts-8qrUM-uK.js} +3 -3
  82. package/dist/_chunks/{practice-results-DaxGw9_f.js → practice-results-BUEsl2Pj.js} +3 -3
  83. package/dist/_chunks/{pregnancy-dating-a6WIg4oy.js → pregnancy-dating-wc9iCN0f.js} +3 -3
  84. package/dist/_chunks/{prescription-history-Bp_JHhdF.js → prescription-history-DFcPXYdF.js} +8 -8
  85. package/dist/_chunks/{product-hub-panel-K4QbULG7.js → product-hub-panel-BPpmVDm5.js} +2 -2
  86. package/dist/_chunks/{public-header.agent-DaeDfLfy.js → public-header.agent-Dsl9zhA2.js} +2 -2
  87. package/dist/_chunks/{radiograph-panel.agent-88VjqlG7.js → radiograph-panel.agent-CSpr2paU.js} +4 -4
  88. package/dist/_chunks/{registration-form-Cs9o6e5q.js → registration-form-DRGMzq9V.js} +3 -3
  89. package/dist/_chunks/{reserved.agent-L2ElYPuj.js → reserved.agent-C_pr0bHy.js} +4 -4
  90. package/dist/_chunks/{rich-text-editor-DFsH5RAj.js → rich-text-editor-CQ54ybTB.js} +1325 -1310
  91. package/dist/_chunks/{row-actions-BF2-uizV.js → row-actions-C6d6vy5z.js} +3 -3
  92. package/dist/_chunks/{saved-view-tabs-DLWm88Eq.js → saved-view-tabs-CVUM3Nqz.js} +2 -2
  93. package/dist/_chunks/{select-Bm8s3q-X.js → select-Bw5FvGJ7.js} +2 -2
  94. package/dist/_chunks/{send-registration-link-form-C1vw6H1M.js → send-registration-link-form-D-NkS__p.js} +3 -3
  95. package/dist/_chunks/{sheet-BdhYeQQT.js → sheet-BIAhwdyS.js} +2 -2
  96. package/dist/_chunks/{sign-document-DDZbmYHu.js → sign-document-BUhWw-7S.js} +2 -2
  97. package/dist/_chunks/{signature-request-D3sLLOM6.js → signature-request-BfKo3vOz.js} +4 -4
  98. package/dist/_chunks/{signing-end-screen-BdhbkPKO.js → signing-end-screen-Pmda6tCH.js} +4 -4
  99. package/dist/_chunks/{step-up-dialog-C2JqJmCA.js → step-up-dialog-C1O8ctoh.js} +2 -2
  100. package/dist/_chunks/{sync-tray-BhnkgXKK.js → sync-tray-BTmveFGE.js} +2 -2
  101. package/dist/_chunks/{tab-bar-CeC2QOwB.js → tab-bar-C6tPDq9s.js} +2 -2
  102. package/dist/_chunks/{tabs-BXr5XeGq.js → tabs-BOf9OO--.js} +3 -3
  103. package/dist/_chunks/{task-editor-DDVDPKJf.js → task-editor-DNkrLbgK.js} +7 -6
  104. package/dist/_chunks/{tasks-panel-BHXaPNOZ.js → tasks-panel-Dmp49cBo.js} +3 -3
  105. package/dist/_chunks/{theme-toggle-BQDFxvVS.js → theme-toggle-C2LPw3xr.js} +3 -3
  106. package/dist/_chunks/{token-insert-menu-BLtfMTJd.js → token-insert-menu-sGtftx4Y.js} +2 -2
  107. package/dist/_chunks/{tool-rail-Kup1b7xI.js → tool-rail-CKOuVHUQ.js} +213 -209
  108. package/dist/_chunks/{toolbar-B7UHCMSr.js → toolbar-JTR20W-U.js} +3 -3
  109. package/dist/_chunks/{tooth-scheme-BtnFgugP.js → tooth-scheme-DpgciFU8.js} +2 -2
  110. package/dist/_chunks/{unit-converter-OBhSDXee.js → unit-converter-D1e1wZRE.js} +2 -2
  111. package/dist/_chunks/{use-appointment-details-read-DeQnmmZw.js → use-appointment-details-read-DIRHedaM.js} +7 -7
  112. package/dist/_chunks/{verify-identity-types-C6Bam8v6.js → verify-identity-types-CpeJIc9F.js} +2 -2
  113. package/dist/_chunks/{voice-control-panel-Dc_NFH2R.js → voice-control-panel-CfBUrzhJ.js} +3 -3
  114. package/dist/_chunks/{widget-picker-D3T7e8a4.js → widget-picker-Ddl0lDWV.js} +2 -2
  115. package/dist/_chunks/{workflow-map-DaZFP9SJ.js → workflow-map-CsfRHhlz.js} +2 -2
  116. package/dist/_chunks/{workflow-status-CO0mxXs2.js → workflow-status-Cg7yjnye.js} +2 -2
  117. package/dist/_chunks/{workflow-webhook-action-BsGSh3h9.js → workflow-webhook-action-BUWc2txJ.js} +2 -2
  118. package/dist/agent-catalog.json +134 -3
  119. package/dist/agent-i18n/en.json +8 -2
  120. package/dist/appointment-editor-panel/index.js +2 -2
  121. package/dist/browser-support.js +1 -1
  122. package/dist/calendar-action-buttons/index.js +1 -1
  123. package/dist/components/_shared/non-modal-tab-exit.d.ts +1 -0
  124. package/dist/components/ai-credits-notice/index.js +1 -1
  125. package/dist/components/ai-prompt-input/index.js +1 -1
  126. package/dist/components/appointment-card/appointment-card.d.ts +4 -0
  127. package/dist/components/appointment-card/index.js +2 -2
  128. package/dist/components/appointment-details-panel/index.js +1 -1
  129. package/dist/components/appointment-peek/index.js +1 -1
  130. package/dist/components/appointment-timeline/appointment-timeline.d.ts +51 -0
  131. package/dist/components/appointment-timeline/index.d.ts +1 -1
  132. package/dist/components/appointment-timeline/index.js +1 -1
  133. package/dist/components/audio-recorder/index.js +1 -1
  134. package/dist/components/bill-line-table/index.js +1 -1
  135. package/dist/components/bill-table/index.js +1 -1
  136. package/dist/components/bishop-score/index.js +1 -1
  137. package/dist/components/booking/index.js +1 -1
  138. package/dist/components/button-group/index.js +1 -1
  139. package/dist/components/calculator-dialog/index.js +1 -1
  140. package/dist/components/calls-panel/calls-panel.d.ts +91 -0
  141. package/dist/components/calls-panel/index.d.ts +1 -1
  142. package/dist/components/calls-panel/index.js +1 -1
  143. package/dist/components/care-plan-card/index.js +1 -1
  144. package/dist/components/care-plan-entry-card/index.js +1 -1
  145. package/dist/components/chart/index.js +1 -1
  146. package/dist/components/color-picker/index.js +1 -1
  147. package/dist/components/communications-panel/index.js +1 -1
  148. package/dist/components/control-room-rail/index.js +1 -1
  149. package/dist/components/cycle-calculator/index.js +1 -1
  150. package/dist/components/dashboard-grid/index.js +1 -1
  151. package/dist/components/data-grid/index.js +2 -2
  152. package/dist/components/data-grid-tabs/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/date-picker/index.js +1 -1
  156. package/dist/components/date-range-picker/index.js +1 -1
  157. package/dist/components/date-time-picker/index.js +1 -1
  158. package/dist/components/dialog/dialog-container.d.ts +27 -0
  159. package/dist/components/dialog/dialog.d.ts +12 -2
  160. package/dist/components/dialog/index.d.ts +3 -1
  161. package/dist/components/dialog/index.js +5 -3
  162. package/dist/components/document-preview/index.js +1 -1
  163. package/dist/components/dropdown-menu/index.js +1 -1
  164. package/dist/components/due-date-calculator/index.js +1 -1
  165. package/dist/components/face-scheme/index.js +1 -1
  166. package/dist/components/file-manager/index.js +1 -1
  167. package/dist/components/gestational-age-calculator/index.js +1 -1
  168. package/dist/components/hcg-doubling/index.js +1 -1
  169. package/dist/components/header-settings/index.js +1 -1
  170. package/dist/components/heatmap/index.js +1 -1
  171. package/dist/components/hover-card/index.js +1 -1
  172. package/dist/components/icon-button-group/index.js +1 -1
  173. package/dist/components/icon-picker/index.js +1 -1
  174. package/dist/components/info-tip/index.js +1 -1
  175. package/dist/components/invoice-upload-list/index.js +1 -1
  176. package/dist/components/locale-picker/index.js +1 -1
  177. package/dist/components/message-tray/index.js +1 -1
  178. package/dist/components/muscle-scheme/index.js +1 -1
  179. package/dist/components/notes-panel/index.js +1 -1
  180. package/dist/components/notification-tray/index.js +1 -1
  181. package/dist/components/optical-prescription/index.js +1 -1
  182. package/dist/components/pagination/index.js +1 -1
  183. package/dist/components/patient-details/index.js +1 -1
  184. package/dist/components/patient-search/index.js +1 -1
  185. package/dist/components/patient-summary-card/index.js +1 -1
  186. package/dist/components/patient-table/index.js +1 -1
  187. package/dist/components/pdf-viewer/index.js +1 -1
  188. package/dist/components/phone-input/index.js +1 -1
  189. package/dist/components/popover/index.js +1 -1
  190. package/dist/components/practice-results/index.js +1 -1
  191. package/dist/components/pregnancy-dating/index.js +1 -1
  192. package/dist/components/product-hub-tray/index.js +1 -1
  193. package/dist/components/public-header/index.js +1 -1
  194. package/dist/components/radiograph-panel/index.js +1 -1
  195. package/dist/components/rich-text-editor/index.js +2 -2
  196. package/dist/components/row-actions/index.js +1 -1
  197. package/dist/components/select/index.js +1 -1
  198. package/dist/components/sheet/index.js +1 -1
  199. package/dist/components/sign-document/index.js +1 -1
  200. package/dist/components/skeleton-scheme/index.js +1 -1
  201. package/dist/components/step-up-dialog/index.js +1 -1
  202. package/dist/components/sync-tray/index.js +1 -1
  203. package/dist/components/tab-bar/index.js +1 -1
  204. package/dist/components/tabs/index.js +1 -1
  205. package/dist/components/task-editor/index.js +1 -1
  206. package/dist/components/tasks-panel/index.js +1 -1
  207. package/dist/components/theme-toggle/index.js +1 -1
  208. package/dist/components/token-insert-menu/index.js +1 -1
  209. package/dist/components/tool-rail/index.js +1 -1
  210. package/dist/components/tooth-scheme/index.js +1 -1
  211. package/dist/components/unit-converter/index.js +1 -1
  212. package/dist/components/voice-control-panel/index.js +1 -1
  213. package/dist/components/widget-picker/index.js +1 -1
  214. package/dist/components/workflow/index.js +1 -1
  215. package/dist/components/workflow-status/index.js +1 -1
  216. package/dist/core.css +1 -1
  217. package/dist/find-free-slots-panel/index.js +1 -1
  218. package/dist/host-compat.css +13 -1
  219. package/dist/i18n/locales/ar.d.ts +45 -0
  220. package/dist/i18n/locales/ar.js +44 -2
  221. package/dist/i18n/locales/de.d.ts +45 -0
  222. package/dist/i18n/locales/de.js +44 -2
  223. package/dist/i18n/locales/el.d.ts +45 -0
  224. package/dist/i18n/locales/el.js +47 -2
  225. package/dist/i18n/locales/en.d.ts +37 -0
  226. package/dist/i18n/locales/en.js +39 -2
  227. package/dist/i18n/locales/es.d.ts +45 -0
  228. package/dist/i18n/locales/es.js +44 -2
  229. package/dist/i18n/locales/fr.d.ts +45 -0
  230. package/dist/i18n/locales/fr.js +44 -2
  231. package/dist/i18n/locales/hi.d.ts +45 -0
  232. package/dist/i18n/locales/hi.js +47 -2
  233. package/dist/i18n/locales/it.d.ts +45 -0
  234. package/dist/i18n/locales/it.js +44 -2
  235. package/dist/i18n/locales/ja.d.ts +45 -0
  236. package/dist/i18n/locales/ja.js +47 -2
  237. package/dist/i18n/locales/nl.d.ts +45 -0
  238. package/dist/i18n/locales/nl.js +44 -2
  239. package/dist/i18n/locales/pl.d.ts +45 -0
  240. package/dist/i18n/locales/pl.js +47 -2
  241. package/dist/i18n/locales/pt.d.ts +45 -0
  242. package/dist/i18n/locales/pt.js +44 -2
  243. package/dist/i18n/locales/ro.d.ts +45 -0
  244. package/dist/i18n/locales/ro.js +44 -2
  245. package/dist/i18n/locales/ru.d.ts +45 -0
  246. package/dist/i18n/locales/ru.js +44 -2
  247. package/dist/i18n/locales/sq.d.ts +45 -0
  248. package/dist/i18n/locales/sq.js +47 -2
  249. package/dist/i18n/locales/sv.d.ts +45 -0
  250. package/dist/i18n/locales/sv.js +44 -2
  251. package/dist/i18n/locales/tr.d.ts +45 -0
  252. package/dist/i18n/locales/tr.js +44 -2
  253. package/dist/i18n/locales/zh.d.ts +45 -0
  254. package/dist/i18n/locales/zh.js +44 -2
  255. package/dist/index.js +945 -943
  256. package/dist/locales/ar.json +47 -2
  257. package/dist/locales/de.json +47 -2
  258. package/dist/locales/el.json +47 -2
  259. package/dist/locales/en.json +39 -2
  260. package/dist/locales/es.json +47 -2
  261. package/dist/locales/fr.json +47 -2
  262. package/dist/locales/hi.json +47 -2
  263. package/dist/locales/it.json +47 -2
  264. package/dist/locales/ja.json +47 -2
  265. package/dist/locales/nl.json +47 -2
  266. package/dist/locales/pl.json +47 -2
  267. package/dist/locales/pt.json +47 -2
  268. package/dist/locales/ro.json +47 -2
  269. package/dist/locales/ru.json +47 -2
  270. package/dist/locales/sq.json +47 -2
  271. package/dist/locales/sv.json +47 -2
  272. package/dist/locales/tr.json +47 -2
  273. package/dist/locales/zh.json +47 -2
  274. package/dist/online-bookings-panel/index.js +1 -1
  275. package/dist/patterns/alia-assistant/index.js +1 -1
  276. package/dist/patterns/anamnesis/index.js +1 -1
  277. package/dist/patterns/calendar/index.js +3 -3
  278. package/dist/patterns/help-me-write-templates/index.js +1 -1
  279. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  280. package/dist/patterns/patient-account-settings/index.js +1 -1
  281. package/dist/patterns/patient-check-in/index.js +1 -1
  282. package/dist/patterns/patient-portal/index.js +2 -2
  283. package/dist/patterns/prescription/index.js +1 -1
  284. package/dist/patterns/registration-form/index.js +1 -1
  285. package/dist/patterns/send-registration-link-form/index.js +1 -1
  286. package/dist/patterns/signature-request/index.js +1 -1
  287. package/dist/patterns/signing/index.js +1 -1
  288. package/dist/patterns/verify-identity/index.js +1 -1
  289. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  290. package/dist/tokens.css +1 -1
  291. package/dist/waiting-list-panel/index.js +2 -2
  292. package/package.json +1 -1
  293. package/dist/_chunks/appointment-timeline-BEwgbYyG.js +0 -455
  294. package/dist/_chunks/calls-panel-CtxJAzkJ.js +0 -1094
  295. package/dist/_chunks/dialog-CVTxyR0v.js +0 -349
@@ -4,8 +4,8 @@ import { useTranslation as K } from "react-i18next";
4
4
  import { d as s, b as L } from "../_chunks/toast-DQ1Zu1kk.js";
5
5
  import { a as M } from "../_chunks/tooltip-uEBdD1-5.js";
6
6
  import { C as Q } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
7
- import { S as V } from "../_chunks/calendar.sheets-DbMOO7YV.js";
8
- import { W as X } from "../_chunks/calendar-waiting-list-panel-Cdg9YssA.js";
7
+ import { S as V } from "../_chunks/calendar.sheets-sBWH7Jxn.js";
8
+ import { W as X } from "../_chunks/calendar-waiting-list-panel-js-0KEh8.js";
9
9
  import { P as Y } from "../_chunks/privacy-mask-C2ZLKrMh.js";
10
10
  import { H as Z } from "../_chunks/hourglass-BEAzW1wE.js";
11
11
  const q = { open: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.140.0",
3
+ "version": "1.142.0",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",
@@ -1,455 +0,0 @@
1
- import { jsxs as x, jsx as o, Fragment as Me } from "react/jsx-runtime";
2
- import { forwardRef as Ne, useId as Fe, useMemo as j, useRef as y, useState as $, useEffect as _e, useCallback as b, useImperativeHandle as ze } from "react";
3
- import { c as Ae } from "./index-D2ZczOXr.js";
4
- import { useTranslation as Be } from "react-i18next";
5
- import { A as ae } from "./appointment-card-CaxFXtSn.js";
6
- import { B as P } from "./button-DohK_Ak_.js";
7
- import { B as Ke } from "./button-group-DuQuuulC.js";
8
- import { D as Ee } from "./date-picker-BmVBVpVu.js";
9
- import { P as Ye } from "./panel-header-CbtlTe85.js";
10
- import { S as $e } from "./skeleton-tTWJpvAq.js";
11
- import { E as Pe } from "./empty-state-DwJ5YNzz.js";
12
- import { u as ie } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
13
- import { u as We } from "./use-prefers-reduced-motion-BMwIQRjB.js";
14
- import { a as qe, u as Ge, R as Ve } from "./use-list-reflow-C7O4Uqnl.js";
15
- import { u as Le } from "./registry-DvAUVLHh.js";
16
- import { C as Oe } from "./calendar-days-BGWklvE-.js";
17
- const Qe = {
18
- id: "appointment-timeline",
19
- // 'pick' backs select_item (non-persisting activation through
20
- // onOpenAppointment); 'scroll' backs jump_to_today, which re-anchors the
21
- // scroll viewport (mirrors practice-results' scroll_to_result).
22
- capabilities: ["scroll", "pick"],
23
- state: {
24
- items: {
25
- type: "Array<{ id: string; state: string }>",
26
- descriptionKey: "ui.agent.appointmentTimeline.state.items",
27
- description: "Currently-rendered appointments. Ids + lifecycle state only — never patient identity.",
28
- read: (i) => i.getItems()
29
- }
30
- },
31
- actions: {
32
- select_item: {
33
- safety: "read",
34
- argsType: "{ id: string }",
35
- argsSchema: {
36
- type: "object",
37
- properties: { id: { type: "string" } },
38
- required: ["id"]
39
- },
40
- idempotent: !0,
41
- descriptionKey: "ui.agent.appointmentTimeline.actions.selectItem",
42
- description: "Activate the appointment with the given id.",
43
- invoke: (i, n) => {
44
- i.selectItem(n.id);
45
- }
46
- },
47
- jump_to_today: {
48
- safety: "read",
49
- idempotent: !0,
50
- descriptionKey: "ui.agent.appointmentTimeline.actions.jumpToToday",
51
- description: "Re-anchor the timeline scroll on today's appointments.",
52
- invoke: (i) => {
53
- i.jumpToToday();
54
- }
55
- }
56
- },
57
- domHooks: {
58
- root: {
59
- attr: "data-component",
60
- value: "appointment-timeline",
61
- description: "Marks the AppointmentTimeline wrapper."
62
- },
63
- instanceId: {
64
- attr: "data-component-id",
65
- sourceProp: "id",
66
- description: "Sourced from the id prop. Required to address a specific timeline from the agent."
67
- },
68
- item: {
69
- attr: "data-appointment-id",
70
- description: "Stable appointment id emitted on each rendered AppointmentCard inside the timeline."
71
- }
72
- }
73
- }, oe = 96, Ue = Ae(
74
- [
75
- "ds:flex ds:flex-col ds:h-full ds:min-h-0",
76
- "ds:bg-[color:var(--card)] ds:text-[color:var(--card-foreground)]"
77
- ].join(" "),
78
- { variants: { size: { sm: "", md: "" } }, defaultVariants: { size: "sm" } }
79
- ), Xe = [
80
- "ds:flex-1 ds:min-h-0 ds:overflow-y-auto",
81
- "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
82
- "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
83
- "ds:[--atl-mask-top:black] ds:[--atl-mask-bottom:black]",
84
- "ds:data-[fade-top=true]:[--atl-mask-top:transparent]",
85
- "ds:data-[fade-bottom=true]:[--atl-mask-bottom:transparent]",
86
- "ds:[mask-image:var(--accessible-off,linear-gradient(to_bottom,var(--atl-mask-top)_0,black_var(--atl-fade-distance,var(--spacing-lg)),black_calc(100%-var(--atl-fade-distance,var(--spacing-lg))),var(--atl-mask-bottom)_100%))]",
87
- "ds:motion-reduce:[mask-image:none]",
88
- "ds:forced-colors:[mask-image:none]",
89
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
90
- "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:[outline-offset:-2px]",
91
- "ds:forced-colors:focus-visible:outline-[CanvasText]"
92
- ].join(" ");
93
- function k(i) {
94
- const n = `${i.getMonth() + 1}`.padStart(2, "0"), d = `${i.getDate()}`.padStart(2, "0");
95
- return `${i.getFullYear()}-${n}-${d}`;
96
- }
97
- function Ze(i) {
98
- const n = [...i].sort(
99
- (g, m) => +new Date(g.startIso) - +new Date(m.startIso)
100
- ), d = /* @__PURE__ */ new Map();
101
- for (const g of n) {
102
- const m = new Date(g.startIso), h = k(m);
103
- let r = d.get(h);
104
- r || (r = {
105
- key: h,
106
- date: new Date(m.getFullYear(), m.getMonth(), m.getDate()),
107
- items: []
108
- }, d.set(h, r)), r.items.push(g);
109
- }
110
- return [...d.values()];
111
- }
112
- const Je = Ne(
113
- ({
114
- id: i,
115
- items: n,
116
- nowIso: d,
117
- title: g,
118
- locale: m,
119
- currency: h,
120
- size: r = "sm",
121
- showPatient: C = !1,
122
- onOpenAppointment: v,
123
- selectedId: H,
124
- onLoadEarlier: f,
125
- onLoadLater: p,
126
- hasMoreEarlier: _,
127
- hasMoreLater: re,
128
- loadingEarlier: M = !1,
129
- loadingLater: N = !1,
130
- showFilters: le = !0,
131
- onJumpToDate: F,
132
- emptyTitle: ce,
133
- emptyDescription: de,
134
- className: me,
135
- "aria-label": pe,
136
- headerExtra: ue,
137
- hideDefaultStatus: fe = !1,
138
- wrapText: W = !1,
139
- ...ge
140
- }, he) => {
141
- const { t: l, i18n: ve } = Be("ui"), q = Fe(), z = We(), A = m ?? ve.language, G = g ?? l("appointmentTimeline.title"), c = j(
142
- () => d ? new Date(d) : /* @__PURE__ */ new Date(),
143
- [d]
144
- ), u = j(() => Ze(n), [n]), V = z || void 0, ye = j(
145
- () => u.flatMap((e) => e.items.map((t) => t.id)).join(),
146
- [u]
147
- ), { containerRef: ke } = qe({
148
- key: ye,
149
- reduceMotion: V
150
- }), L = Ge({ reduceMotion: V }), O = y(n), [Q, U] = $([]);
151
- _e(() => {
152
- const e = O.current;
153
- if (e === n) return;
154
- const t = new Set(n.map((a) => a.id)), s = e.filter((a) => !t.has(a.id));
155
- s.length > 0 && (U((a) => [...a, ...s]), s.forEach((a) => {
156
- L.leave(a.id, () => {
157
- U((Y) => Y.filter((S) => S.id !== a.id));
158
- });
159
- })), O.current = n;
160
- }, [n, L]);
161
- const X = _ ?? !!f, Z = re ?? !!p, B = j(() => {
162
- if (u.length === 0) return;
163
- const e = k(c), t = u.map((s) => s.key);
164
- return t.includes(e) ? e : t.find((s) => s >= e) ?? t[t.length - 1];
165
- }, [u, c]), D = y(null), R = y(/* @__PURE__ */ new Map()), J = y(!1), K = y(void 0), ee = y(0), [Te, be] = $(!1), [xe, De] = $(!1), w = b(() => {
166
- const e = D.current;
167
- if (!e) return;
168
- const { scrollTop: t, scrollHeight: s, clientHeight: a } = e;
169
- be(t > 1), De(t + a < s - 1);
170
- }, []), I = b(
171
- (e, t) => {
172
- const s = D.current;
173
- if (!s) return;
174
- let a = R.current.get(e);
175
- if (!a) {
176
- const S = [...R.current.keys()].sort(), ne = S.find((He) => He >= e) ?? S[S.length - 1];
177
- a = ne ? R.current.get(ne) : void 0;
178
- }
179
- if (!a) return;
180
- const Y = a.getBoundingClientRect().top - s.getBoundingClientRect().top;
181
- s.scrollTo({
182
- top: s.scrollTop + Y,
183
- behavior: t && !z ? "smooth" : "auto"
184
- });
185
- },
186
- [z]
187
- );
188
- ie(() => {
189
- var s;
190
- const e = D.current;
191
- if (!e) return;
192
- const t = (s = u[0]) == null ? void 0 : s.key;
193
- if (!J.current)
194
- u.length > 0 && B && (I(B, !1), J.current = !0);
195
- else if (K.current && t && t < K.current) {
196
- const a = e.scrollHeight - ee.current;
197
- a > 0 && (e.scrollTop += a);
198
- }
199
- K.current = t, ee.current = e.scrollHeight, w();
200
- }, [u, B, I, w]), ie(() => {
201
- const e = D.current;
202
- if (!e || typeof ResizeObserver > "u") return;
203
- const t = new ResizeObserver(w);
204
- return t.observe(e), () => t.disconnect();
205
- }, [w]);
206
- const Re = b(() => {
207
- w();
208
- const e = D.current;
209
- if (!e) return;
210
- const { scrollTop: t, scrollHeight: s, clientHeight: a } = e;
211
- f && X && !M && t <= oe && f(), p && Z && !N && s - t - a <= oe && p();
212
- }, [
213
- w,
214
- f,
215
- p,
216
- X,
217
- Z,
218
- M,
219
- N
220
- ]), T = b(
221
- (e) => {
222
- const t = k(e), s = R.current.has(t);
223
- I(t, !0), s || F == null || F(e.toISOString());
224
- },
225
- [I, F]
226
- ), we = b(() => T(c), [T, c]), Ie = b(() => {
227
- const e = new Date(c), t = (e.getDay() + 6) % 7;
228
- e.setDate(e.getDate() - t), T(e);
229
- }, [T, c]), Se = b(() => {
230
- T(new Date(c.getFullYear(), c.getMonth(), 1));
231
- }, [T, c]), E = y(n);
232
- E.current = n;
233
- const te = y(null);
234
- ze(he, () => te.current, []);
235
- const je = j(
236
- () => ({
237
- getItems: () => E.current.map((e) => ({ id: e.id, state: e.state ?? "" })),
238
- selectItem: (e) => {
239
- const t = E.current.find((s) => s.id === e);
240
- t && (v == null || v(t));
241
- },
242
- jumpToToday: () => I(k(c), !0)
243
- }),
244
- [v, I, c]
245
- );
246
- Le(Qe, je, i);
247
- const Ce = u.length === 0 && !M && !N, se = (e) => /* @__PURE__ */ o(
248
- "div",
249
- {
250
- "aria-hidden": "true",
251
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)] ds:py-[var(--spacing-xs)]",
252
- children: /* @__PURE__ */ o($e, { variant: "rectangular", height: "3.5rem" })
253
- },
254
- e
255
- );
256
- return /* @__PURE__ */ x(
257
- "section",
258
- {
259
- ref: te,
260
- "data-component": "appointment-timeline",
261
- "data-component-id": i,
262
- "aria-label": pe ?? G,
263
- className: Ue({ size: r, className: me }),
264
- ...ge,
265
- children: [
266
- /* @__PURE__ */ o(
267
- Ye,
268
- {
269
- icon: /* @__PURE__ */ o(Oe, {}),
270
- title: G,
271
- filters: le ? /* @__PURE__ */ x(Me, { children: [
272
- /* @__PURE__ */ x(Ke, { label: l("appointmentTimeline.filtersLabel"), children: [
273
- /* @__PURE__ */ o(P, { intent: "outline", size: "sm", onClick: we, children: l("appointmentTimeline.today") }),
274
- /* @__PURE__ */ o(P, { intent: "outline", size: "sm", onClick: Ie, children: l("appointmentTimeline.thisWeek") }),
275
- /* @__PURE__ */ o(P, { intent: "outline", size: "sm", onClick: Se, children: l("appointmentTimeline.thisMonth") })
276
- ] }),
277
- /* @__PURE__ */ o("label", { htmlFor: q, className: "ds:sr-only", children: l("appointmentTimeline.jumpToDate") }),
278
- /* @__PURE__ */ o(
279
- Ee,
280
- {
281
- id: q,
282
- size: "sm",
283
- placeholder: l("appointmentTimeline.jumpToDate"),
284
- onChange: (e) => {
285
- e && T(e);
286
- }
287
- }
288
- )
289
- ] }) : void 0
290
- }
291
- ),
292
- ue,
293
- Ce ? /* @__PURE__ */ o("div", { className: "ds:flex-1 ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ o(
294
- Pe,
295
- {
296
- variant: "first-use",
297
- size: "sm",
298
- title: ce ?? l("appointmentTimeline.empty.title"),
299
- description: de ?? l("appointmentTimeline.empty.description")
300
- }
301
- ) }) : /* @__PURE__ */ x(
302
- "div",
303
- {
304
- ref: D,
305
- tabIndex: 0,
306
- onScroll: Re,
307
- "data-fade-top": Te ? "true" : void 0,
308
- "data-fade-bottom": xe ? "true" : void 0,
309
- className: Xe,
310
- children: [
311
- M ? se("loading-earlier") : null,
312
- /* @__PURE__ */ x(
313
- "ol",
314
- {
315
- ref: ke,
316
- role: "list",
317
- className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-md)] ds:p-0",
318
- children: [
319
- u.map((e) => /* @__PURE__ */ x(
320
- "li",
321
- {
322
- ref: (t) => {
323
- t ? R.current.set(e.key, t) : R.current.delete(e.key);
324
- },
325
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
326
- children: [
327
- /* @__PURE__ */ o(
328
- et,
329
- {
330
- date: e.date,
331
- now: c,
332
- locale: A,
333
- todayLabel: l("appointmentTimeline.today"),
334
- tomorrowLabel: l("appointmentTimeline.tomorrow"),
335
- yesterdayLabel: l("appointmentTimeline.yesterday")
336
- }
337
- ),
338
- /* @__PURE__ */ o(
339
- "ul",
340
- {
341
- role: "list",
342
- className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0",
343
- children: e.items.map((t) => /* @__PURE__ */ o(
344
- ae,
345
- {
346
- item: t,
347
- size: r,
348
- surface: "elevated",
349
- showPatient: C,
350
- locale: A,
351
- currency: h,
352
- onActivate: v,
353
- selected: t.id === H,
354
- hideDefaultStatus: fe,
355
- wrapText: W,
356
- "data-appointment-id": t.id,
357
- "data-reflow-id": t.id,
358
- className: Ve
359
- },
360
- t.id
361
- ))
362
- }
363
- )
364
- ]
365
- },
366
- e.key
367
- )),
368
- Q.length > 0 ? Q.map((e) => /* @__PURE__ */ o(
369
- ae,
370
- {
371
- item: e,
372
- size: r,
373
- surface: "elevated",
374
- showPatient: C,
375
- wrapText: W,
376
- locale: A,
377
- currency: h,
378
- "aria-hidden": "true",
379
- "data-leaving": !0,
380
- className: [
381
- "ds:opacity-0",
382
- "ds:transition-opacity",
383
- "ds:duration-[var(--animation-duration)]",
384
- "ds:ease-[var(--ease-out)]",
385
- "ds:motion-reduce:transition-none"
386
- ].join(" ")
387
- },
388
- `leaving-${e.id}`
389
- )) : null
390
- ]
391
- }
392
- ),
393
- N ? se("loading-later") : null
394
- ]
395
- }
396
- )
397
- ]
398
- }
399
- );
400
- }
401
- );
402
- Je.displayName = "AppointmentTimeline";
403
- function et({
404
- date: i,
405
- now: n,
406
- locale: d,
407
- todayLabel: g,
408
- tomorrowLabel: m,
409
- yesterdayLabel: h
410
- }) {
411
- const r = k(i), C = k(n), v = new Date(n);
412
- v.setDate(n.getDate() + 1);
413
- const H = new Date(n);
414
- H.setDate(n.getDate() - 1);
415
- const f = r === C;
416
- let p;
417
- if (f) p = g;
418
- else if (r === k(v)) p = m;
419
- else if (r === k(H)) p = h;
420
- else {
421
- const _ = i.getFullYear() === n.getFullYear();
422
- p = new Intl.DateTimeFormat(d, {
423
- weekday: "short",
424
- day: "numeric",
425
- month: "short",
426
- ..._ ? {} : { year: "numeric" }
427
- }).format(i);
428
- }
429
- return /* @__PURE__ */ x(
430
- "div",
431
- {
432
- "data-today": f ? "true" : void 0,
433
- className: [
434
- "ds:sticky ds:top-0 ds:z-[1] ds:bg-[color:var(--card)] ds:py-[var(--spacing-2xs)]",
435
- "ds:flex ds:items-center ds:gap-[var(--spacing-2xs)] type-eyebrow",
436
- f ? "ds:text-[color:var(--primary)] ds:font-semibold" : "ds:text-[color:var(--muted-foreground)]"
437
- ].join(" "),
438
- children: [
439
- f ? /* @__PURE__ */ o(
440
- "span",
441
- {
442
- "aria-hidden": "true",
443
- className: "ds:size-1.5 ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[color:var(--primary)]"
444
- }
445
- ) : null,
446
- p
447
- ]
448
- }
449
- );
450
- }
451
- export {
452
- Je as A,
453
- Qe as a
454
- };
455
- //# sourceMappingURL=appointment-timeline-BEwgbYyG.js.map