@alfadocs/ui-kit 1.50.1 → 1.52.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 (597) hide show
  1. package/dist/_chunks/{actions-cell-renderer-DMittsR3.js → actions-cell-renderer-DhmUGzRY.js} +5 -5
  2. package/dist/_chunks/{address-autocomplete-Dp5uMvKP.js → address-autocomplete-BVLoHU3E.js} +3 -3
  3. package/dist/_chunks/{address-fields-QfC-N3pw.js → address-fields-UiEXHxEX.js} +9 -9
  4. package/dist/_chunks/{agenda-card-CjjxlA9K.js → agenda-card-CakEvwnM.js} +4 -4
  5. package/dist/_chunks/{agenda-tray-BhZASyJm.js → agenda-tray-C-_iu6Fo.js} +5 -5
  6. package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-Da0fJPXO.js} +5 -5
  7. package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-C5q_uHBA.js} +7 -7
  8. package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-IObcUWqB.js} +5 -5
  9. package/dist/_chunks/{alert-CiQ5Pa3Q.js → alert-BhCstf2h.js} +3 -3
  10. package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-DyQMsyiz.js} +23 -23
  11. package/dist/_chunks/{anamnesis-card-D8Si-2GV.js → anamnesis-card-D4RWzQXP.js} +5 -5
  12. package/dist/_chunks/{anamnesis-summary-card-DPyScUMM.js → anamnesis-summary-card-Bv0CZ-mk.js} +3 -3
  13. package/dist/_chunks/anamnesis-summary-rows-DaSoA80I.js +20926 -0
  14. package/dist/_chunks/{annotation-marker-CsUJGZjQ.js → annotation-marker-D-M7y4R1.js} +2 -2
  15. package/dist/_chunks/{antenatal-schedule-timeline-8fm3vPSV.js → antenatal-schedule-timeline-BZzgjfyd.js} +13 -13
  16. package/dist/_chunks/{app-frame-DIEMIC5V.js → app-frame-Cos-GSfw.js} +5 -5
  17. package/dist/_chunks/{appointment-card-BgLpE6T5.js → appointment-card-CA2ynsmN.js} +8 -8
  18. package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-DpPzeYXm.js} +6 -6
  19. package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-BZErHbD1.js} +7 -7
  20. package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-DR_Zm4Gw.js} +10 -10
  21. package/dist/_chunks/{appointment-workflow-status-CS8ufF1f.js → appointment-workflow-status-DrWCNLbB.js} +2 -2
  22. package/dist/_chunks/{ar-BR1FGFP2.js → ar-pLopgMbL.js} +12 -12
  23. package/dist/_chunks/{audio-recorder-DZBtAvLH.js → audio-recorder-BafA28cX.js} +7 -7
  24. package/dist/_chunks/{audio-visualiser-l6zPd0AG.js → audio-visualiser-CK2JyQW1.js} +2 -2
  25. package/dist/_chunks/{autocomplete-DSasZUf6.js → autocomplete-IfLaXwyb.js} +3 -3
  26. package/dist/_chunks/{avatar-BVvjKNTp.js → avatar-DYtwj1-R.js} +2 -2
  27. package/dist/_chunks/{badge-BAkd6_Pj.js → badge-hnBt8o7n.js} +6 -6
  28. package/dist/_chunks/{balance-badge-cell-klaxFNL_.js → balance-badge-cell-CS-iKkLM.js} +8 -8
  29. package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-BfDsm9HH.js} +6 -6
  30. package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-BNtmMzQy.js} +6 -6
  31. package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DP543-BT.js} +43 -42
  32. package/dist/_chunks/{breadcrumb-D3boYzD4.js → breadcrumb-xgVpPH2H.js} +4 -4
  33. package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
  34. package/dist/_chunks/{button-group-BSDqso_C.js → button-group-DnSR6eN6.js} +30 -30
  35. package/dist/_chunks/{calculator-dialog-C0ixc3SU.js → calculator-dialog-BRjZMWuE.js} +2 -2
  36. package/dist/_chunks/calendar-BwF5nQuW.js +1469 -0
  37. package/dist/_chunks/{calendar-event-card-DyFSIehr.js → calendar-event-card-DXAYWH6k.js} +2 -2
  38. package/dist/_chunks/calendar-workspace-B9MKJXER.js +10608 -0
  39. package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-BanlKJZn.js} +8 -8
  40. package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-ByqT84_P.js} +9 -9
  41. package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-BwfUHMgM.js} +6 -6
  42. package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-WKODAYVw.js} +6 -6
  43. package/dist/_chunks/{chart-VjuXDXOZ.js → chart-CuE30cfr.js} +4 -4
  44. package/dist/_chunks/{chat-container-CYYego1W.js → chat-container-CAfyTxat.js} +3 -3
  45. package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-DA10w969.js} +3 -3
  46. package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DoMjMa-M.js} +6 -6
  47. package/dist/_chunks/{checkbox-group-DomUzpkF.js → checkbox-group-C7czpHmJ.js} +2 -2
  48. package/dist/_chunks/{city-input-BGYc4lRV.js → city-input-CAnTVgBZ.js} +10 -10
  49. package/dist/_chunks/{clinical-note-card-B7s5BtEl.js → clinical-note-card-kvlUrmP-.js} +6 -6
  50. package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-NtHjtagI.js} +6 -6
  51. package/dist/_chunks/{color-picker-Bl5f0iK1.js → color-picker-Yl99lHuF.js} +3 -3
  52. package/dist/_chunks/{combobox-B_rLwmSv.js → combobox-Iel8y3u6.js} +2 -2
  53. package/dist/_chunks/{command-palette-DhgGo7GJ.js → command-palette-D9TBzmOG.js} +4 -4
  54. package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-Dz8o-Fui.js} +5 -5
  55. package/dist/_chunks/{contact-card-0hnFJwrz.js → contact-card-D2gXrxlL.js} +12 -12
  56. package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-B7cXr8g5.js} +5 -5
  57. package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-B446rHSL.js} +4 -4
  58. package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-CiIuVbKe.js} +3 -3
  59. package/dist/_chunks/{country-select-C5jZjO8O.js → country-select-BYa4BrEi.js} +3 -3
  60. package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-D_5f9VSN.js} +10 -10
  61. package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-DWNP02Ff.js} +4 -4
  62. package/dist/_chunks/data-table-DJvEwZZx.js +1989 -0
  63. package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dc6zvoI_.js} +6 -6
  64. package/dist/_chunks/{date-picker-6tFnKFty.js → date-picker-p9yz3pxc.js} +83 -80
  65. package/dist/_chunks/{date-picker-variants-B9NLAfUK.js → date-picker-variants-B3AFKDSu.js} +706 -658
  66. package/dist/_chunks/{date-range-picker-TpmECKRh.js → date-range-picker-DIy8gNY0.js} +153 -150
  67. package/dist/_chunks/{date-time-picker-DijEae25.js → date-time-picker-C3UVzqOm.js} +86 -77
  68. package/dist/_chunks/{de-3iM4rGqo.js → de-lVkJRPnh.js} +5 -5
  69. package/dist/_chunks/{dependent-selector-58hTg5rB.js → dependent-selector-CPiolWiw.js} +4 -4
  70. package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-9rchqp5q.js} +3 -3
  71. package/dist/_chunks/{dialog-BJiLqhx6.js → dialog-D52AI4nF.js} +2 -2
  72. package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-1CZJg6CX.js} +6 -6
  73. package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-T5jHiraQ.js} +5 -5
  74. package/dist/_chunks/dropdown-menu-B5mgV1kV.js +594 -0
  75. package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-iJXm6HOj.js} +11 -11
  76. package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-DdMHme5y.js} +9 -9
  77. package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-Cy3AZ5K2.js} +4 -4
  78. package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-C0awV6ba.js} +3 -3
  79. package/dist/_chunks/{el-C96rGJvU.js → el-CHzxNWPj.js} +6 -6
  80. package/dist/_chunks/{email-input-Dpe63k0K.js → email-input-ebdovOmh.js} +3 -3
  81. package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-DActfjdn.js} +3 -3
  82. package/dist/_chunks/en-GB-CwxYmmhU.js +45 -0
  83. package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-oW3_jFhU.js} +8 -8
  84. package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary--w5hYiQ-.js} +3 -3
  85. package/dist/_chunks/{es-Cxiqjx8r.js → es-Ck-oxbHW.js} +8 -8
  86. package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-Dg7KcbW2.js} +11 -11
  87. package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-BoIkl2t1.js} +6 -6
  88. package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-BF2nCmvt.js} +4 -4
  89. package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-BGHShxn_.js} +21 -21
  90. package/dist/_chunks/{file-upload-B242a_Y1.js → file-upload-OMlGHz70.js} +2 -2
  91. package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BguGAUdg.js} +3 -3
  92. package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CuuE8_dt.js} +3 -3
  93. package/dist/_chunks/{floating-action-button-pojvb9gG.js → floating-action-button-BesoUmO_.js} +6 -6
  94. package/dist/_chunks/{form-field-CahJzTxp.js → form-field-YUJl_U5l.js} +2 -2
  95. package/dist/_chunks/{format-4HNwNGrN.js → format-D-1gTdHF.js} +47 -43
  96. package/dist/_chunks/{fr-Bhr6SYKj.js → fr-fWRnDcSD.js} +13 -13
  97. package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-BhxKSEJD.js} +5 -5
  98. package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-CjZ7v-8x.js} +13 -13
  99. package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-BYMogA0e.js} +15 -15
  100. package/dist/_chunks/{header-CCjp5GvE.js → header-CzJbtTGQ.js} +5 -5
  101. package/dist/_chunks/header-settings-BqdBe4zk.js +305 -0
  102. package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CGCyhAVE.js} +17 -17
  103. package/dist/_chunks/{hi-BxXX26d_.js → hi-B5uX0h3V.js} +14 -14
  104. package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-DEMPFs9M.js} +3 -3
  105. package/dist/_chunks/{iban-input-DXIA8Ln_.js → iban-input-D88HRGZo.js} +2 -2
  106. package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
  107. package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-DHRz90jY.js} +4 -4
  108. package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-C5Fhx1-3.js} +5 -5
  109. package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-CNBGkG7P.js} +3 -3
  110. package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-DfmEvyAF.js} +3 -3
  111. package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-BuWQl11Z.js} +3 -3
  112. package/dist/_chunks/intl-locale-CXM-B8EP.js +16 -0
  113. package/dist/_chunks/{isSameWeek-B73MagWB.js → isSameWeek-u81Z-J7h.js} +2 -2
  114. package/dist/_chunks/{it-Xmjomvyj.js → it-DBoNIelY.js} +17 -17
  115. package/dist/_chunks/{ja-mfZvt1ZV.js → ja-Du8gfg8p.js} +6 -6
  116. package/dist/_chunks/{kbd-D855ZXIW.js → kbd-BLovyx1R.js} +2 -2
  117. package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-DZH8ESsc.js} +3 -3
  118. package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-CF5mDF_Z.js} +6 -6
  119. package/dist/_chunks/{link-CPb_pZPr.js → link-BlVUIKk1.js} +2 -2
  120. package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-DvcbSHyp.js} +12 -12
  121. package/dist/_chunks/{list-DgE1xWBM.js → list-RRN2TJ_7.js} +2 -2
  122. package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-DYDppQdZ.js} +218 -213
  123. package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-CmNGS6Ok.js} +4 -4
  124. package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rd1bSSm4.js} +137 -128
  125. package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-Dub3790J.js} +6 -6
  126. package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-CTd6CsnG.js} +6 -6
  127. package/dist/_chunks/{money-BXLBIRVO.js → money-GypsuFk2.js} +2 -2
  128. package/dist/_chunks/{multi-select-N4Smh-gj.js → multi-select-Bx0_cgPI.js} +2 -2
  129. package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-X2bdmsQt.js} +4 -4
  130. package/dist/_chunks/{nav-grid-gRudLsPX.js → nav-grid-BnY0Ilet.js} +2 -2
  131. package/dist/_chunks/{navigation-menu-D3VndouD.js → navigation-menu-DbaSlvdO.js} +25 -25
  132. package/dist/_chunks/{nl-DDs-KEnD.js → nl-BCBwxYi8.js} +9 -9
  133. package/dist/_chunks/{note-attachment-CGjNTrAC.js → note-attachment-CpPRIfSn.js} +4 -4
  134. package/dist/_chunks/{note-timeline-CVnKL0p6.js → note-timeline-CZUmobcn.js} +3 -3
  135. package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-CPfxz-1j.js} +10 -10
  136. package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-B39g86vM.js} +13 -13
  137. package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-WsP7c1jf.js} +6 -6
  138. package/dist/_chunks/{number-input-Cgu2TtA8.js → number-input-BLrx3utH.js} +2 -2
  139. package/dist/_chunks/{operator-hero-DyrNLoRO.js → operator-hero-BnBPxwOi.js} +10 -10
  140. package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-x--Rpmmx.js} +6 -6
  141. package/dist/_chunks/{otp-input-DzBQ-CpE.js → otp-input-Dz8WMg4F.js} +2 -2
  142. package/dist/_chunks/{pagination-B0N2qGy_.js → pagination-CzEkpfti.js} +6 -6
  143. package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
  144. package/dist/_chunks/{parse-DPqj4JtD.js → parse-DeDYl04y.js} +32 -32
  145. package/dist/_chunks/{parseISO-fOGpHKXm.js → parseISO-y3LncvfO.js} +2 -2
  146. package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-BSAMAd3I.js} +6 -6
  147. package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-dUF2cW2G.js} +288 -268
  148. package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-CXl0FNfN.js} +14 -14
  149. package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DF-Mxcma.js} +10 -10
  150. package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-DNiraNhF.js} +6 -6
  151. package/dist/_chunks/{payment-form-DqJFiplX.js → payment-form-DxsjXYHJ.js} +6 -6
  152. package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BFsmHLtf.js} +8 -8
  153. package/dist/_chunks/{pdf-viewer-DUKdn5iq.js → pdf-viewer-hzfM5pZf.js} +6 -6
  154. package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-Bvii6uOg.js} +3 -3
  155. package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-DTbvFQO7.js} +4 -4
  156. package/dist/_chunks/{periodontal-diagnosis-B8WqI0eU.js → periodontal-diagnosis-BqEo0usu.js} +3 -3
  157. package/dist/_chunks/{periodontal-risk-chart-DsFRFFSz.js → periodontal-risk-chart-C1Y5f-md.js} +3 -3
  158. package/dist/_chunks/{permission-matrix-VdAXjjHU.js → permission-matrix-DHKECaNW.js} +3 -3
  159. package/dist/_chunks/{phone-input-sQj-zi59.js → phone-input-opMMHkyh.js} +2 -2
  160. package/dist/_chunks/{pl-BYYMnEWP.js → pl-HwLM6gPs.js} +7 -7
  161. package/dist/_chunks/{popover-Dvb40vPH.js → popover-CGYPYIVi.js} +3 -3
  162. package/dist/_chunks/{position-grid-CcvqHaKN.js → position-grid-D2D5_Tze.js} +2 -2
  163. package/dist/_chunks/{postal-code-input-BznBxVxf.js → postal-code-input-Dv02t5MD.js} +3 -3
  164. package/dist/_chunks/{practice-profile-hero-B-WcJYNH.js → practice-profile-hero-Bc3AyBiM.js} +4 -4
  165. package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-DjhcggtZ.js} +29 -29
  166. package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CcPxK3S3.js} +14 -14
  167. package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-tGbbravi.js} +6 -6
  168. package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-Bh4O7Y7g.js} +17 -17
  169. package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-noG15O9q.js} +24 -24
  170. package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-BmBzDba9.js} +24 -24
  171. package/dist/_chunks/{progress-CK8otcQ-.js → progress-TIAsNHQW.js} +4 -4
  172. package/dist/_chunks/{province-select-BiszMRRY.js → province-select-BZtM0RSR.js} +3 -3
  173. package/dist/_chunks/{pt-BSPnVrQ7.js → pt-BxhT5ZQH.js} +10 -10
  174. package/dist/_chunks/{public-footer.agent-BKkK3T3V.js → public-footer.agent-CVYmHY94.js} +4 -4
  175. package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-1mcrQqIM.js} +4 -4
  176. package/dist/_chunks/{qr-code-DOJs4suh.js → qr-code-C3m9o7om.js} +2 -2
  177. package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-BP71J_VB.js} +14 -14
  178. package/dist/_chunks/{rating-BYbUowdK.js → rating-C1Vrmpsi.js} +2 -2
  179. package/dist/_chunks/{recaptcha-widget-BC-4To9b.js → recaptcha-widget-BNAeSTCo.js} +2 -2
  180. package/dist/_chunks/{resizable-DVGcfOrk.js → resizable-BKkNmZCl.js} +2 -2
  181. package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
  182. package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-DDb_t7vy.js} +8 -8
  183. package/dist/_chunks/rich-text-editor-C7N4Cem6.js +4231 -0
  184. package/dist/_chunks/{ro-BbiylGmG.js → ro-Do9W55ae.js} +2 -2
  185. package/dist/_chunks/{ru-BX_qsV67.js → ru-PDBX5gdf.js} +13 -13
  186. package/dist/_chunks/{search-bar-6bHatpYJ.js → search-bar-Blq_QeSe.js} +4 -4
  187. package/dist/_chunks/{search-input-B7GmlPIE.js → search-input-DfsAu3P2.js} +4 -4
  188. package/dist/_chunks/{select-upNAltly.js → select-Br88h070.js} +2 -2
  189. package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-DWUVDDox.js} +4 -4
  190. package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-BE6oi30q.js} +3 -3
  191. package/dist/_chunks/{sidebar-DbZXLl8h.js → sidebar-2GBc0ZUa.js} +7 -7
  192. package/dist/_chunks/{sign-document-CRQuAn4W.js → sign-document-Buw-zC_7.js} +4 -4
  193. package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-Bd4VPGQh.js} +4 -4
  194. package/dist/_chunks/{signature-capture-D6ut9_IR.js → signature-capture-F6KViBF_.js} +2 -2
  195. package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-DBIGiY-J.js} +3 -3
  196. package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-DqZkn-iB.js} +156 -156
  197. package/dist/_chunks/{signature-status-chip-Dz6sS2oA.js → signature-status-chip-DP3qRijv.js} +3 -3
  198. package/dist/_chunks/{skip-link-BaSMtPwB.js → skip-link-BOQzBUVb.js} +2 -2
  199. package/dist/_chunks/{slider-DN1CWkKB.js → slider-BRq2lL-l.js} +2 -2
  200. package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-Bkg9MVXP.js} +7 -7
  201. package/dist/_chunks/{smart-date-CsPlilQA.js → smart-date-pYK6WmM_.js} +2 -2
  202. package/dist/_chunks/{social-sign-in-button-dlpPI5l7.js → social-sign-in-button-Bb2UQpsA.js} +8 -8
  203. package/dist/_chunks/{sparkline-Dx_sxK3J.js → sparkline-ZOxMBU76.js} +3 -3
  204. package/dist/_chunks/{spinner-hbwuKwMf.js → spinner-DxjSZLD-.js} +2 -2
  205. package/dist/_chunks/{sq-i9UOk4P7.js → sq-DnvsgyIh.js} +6 -6
  206. package/dist/_chunks/{stat-Bs80Z6Yv.js → stat-Ce9ymEKm.js} +3 -3
  207. package/dist/_chunks/{stepper-accordion-jMR8NaOB.js → stepper-accordion-BPNS6J6B.js} +2 -2
  208. package/dist/_chunks/{stepper-progress-Bv0njx4g.js → stepper-progress-D6H8wQiV.js} +2 -2
  209. package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-D0IJeRBg.js} +2 -2
  210. package/dist/_chunks/subDays-XBMBTVOO.js +8 -0
  211. package/dist/_chunks/{suggestion-chip-Bk4PmYTg.js → suggestion-chip-BNRWZL51.js} +2 -2
  212. package/dist/_chunks/{sv-CpTdtmDQ.js → sv-CpFSK8xS.js} +4 -4
  213. package/dist/_chunks/{switch-OILsBLWo.js → switch-DXGD2Drz.js} +2 -2
  214. package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-DRKiomgj.js} +4 -4
  215. package/dist/_chunks/tabs-DLXVEDsa.js +413 -0
  216. package/dist/_chunks/{tag-B65tLWvD.js → tag-CS5cXpfx.js} +2 -2
  217. package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CngF4Zee.js} +3 -3
  218. package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-Dz93rRXg.js} +18 -18
  219. package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-CB6_BvH9.js} +5 -5
  220. package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-DHAoTQtR.js} +11 -11
  221. package/dist/_chunks/{text-area-Bt3p7Pt0.js → text-area-Cjtw7mna.js} +2 -2
  222. package/dist/_chunks/{text-input-CUvCb6ST.js → text-input-CLaItY93.js} +2 -2
  223. package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-Byg0x2vB.js} +10 -10
  224. package/dist/_chunks/{time-picker-D0RS391l.js → time-picker-BG7G3ujX.js} +2 -2
  225. package/dist/_chunks/{timeline-ChY7iZrs.js → timeline-CVLjybJ3.js} +4 -4
  226. package/dist/_chunks/{timestamp-BV2lC-wV.js → timestamp-DPLDWdxA.js} +2 -2
  227. package/dist/_chunks/{toast-CT8hjr9r.js → toast-6wbpghjF.js} +3 -3
  228. package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-DgtBIbNu.js} +3 -3
  229. package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-CXcLzxPb.js} +4 -4
  230. package/dist/_chunks/{tooth-finding-palette-vqC-D2Ye.js → tooth-finding-palette-DNQ3G2Tz.js} +2 -2
  231. package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BLbwUVer.js} +663 -718
  232. package/dist/_chunks/{tr-DXG2QN1K.js → tr-DW4oQYHT.js} +5 -5
  233. package/dist/_chunks/{transaction-chip-CwgcJiqF.js → transaction-chip-CohY6sTA.js} +6 -6
  234. package/dist/_chunks/{transcript-panel-u2HHxZB6.js → transcript-panel-Dve7bsm7.js} +3 -3
  235. package/dist/_chunks/{treatment-receipt-C-gWZ6uv.js → treatment-receipt-DF2Slh-x.js} +5 -5
  236. package/dist/_chunks/{typing-indicator-DHeVN4ob.js → typing-indicator-BmwMQSxw.js} +9 -9
  237. package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-D8WnJbZm.js} +6 -6
  238. package/dist/_chunks/use-appointment-details-read-YsuJgYeB.js +2198 -0
  239. package/dist/_chunks/{use-edge-resize-BHesP0kg.js → use-edge-resize-DHbyQwu8.js} +15 -15
  240. package/dist/_chunks/use-locale-BExNy9Dl.js +16 -0
  241. package/dist/_chunks/{use-password-requirements-Bwtqx1qN.js → use-password-requirements-DK4hV1Ik.js} +4 -4
  242. package/dist/_chunks/{variables-menu-aJLKJ_cu.js → variables-menu-DQl8H4Gh.js} +2 -2
  243. package/dist/_chunks/{wallet-pay-button--dnR6NfJ.js → wallet-pay-button-C-GFl7RO.js} +3 -3
  244. package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-CzKSeB5v.js} +5 -5
  245. package/dist/_chunks/{whatsapp-button-Ai4YAVkl.js → whatsapp-button-DV9JFmtq.js} +2 -2
  246. package/dist/_chunks/{widget-picker-CilQvcNL.js → widget-picker-b5NCHxFe.js} +28 -28
  247. package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-C7fHKTXL.js} +17 -17
  248. package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-DDnsIrLt.js} +4 -4
  249. package/dist/_chunks/{zh-CN-vPkPEK6H.js → zh-CN-QGEs29fQ.js} +7 -7
  250. package/dist/agent-catalog.json +103 -38
  251. package/dist/agent-i18n/en.json +7 -4
  252. package/dist/components/_shared/date-locale.d.ts +2 -2
  253. package/dist/components/_shared/day-picker-labels.d.ts +6 -0
  254. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  255. package/dist/components/_shared/intl-locale.d.ts +10 -0
  256. package/dist/components/address-autocomplete/index.js +1 -1
  257. package/dist/components/address-fields/index.js +1 -1
  258. package/dist/components/agenda-card/index.js +1 -1
  259. package/dist/components/agenda-tray/index.js +1 -1
  260. package/dist/components/ai-credits-notice/index.js +1 -1
  261. package/dist/components/ai-permission-notice/index.js +1 -1
  262. package/dist/components/ai-prompt-input/index.js +1 -1
  263. package/dist/components/alert/index.js +1 -1
  264. package/dist/components/anamnesis-card/index.js +1 -1
  265. package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
  266. package/dist/components/anamnesis-summary-card/index.js +1 -1
  267. package/dist/components/annotation-marker/index.js +1 -1
  268. package/dist/components/app-frame/index.js +1 -1
  269. package/dist/components/appointment-card/index.js +2 -2
  270. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +3 -0
  271. package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +19 -5
  272. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +6 -2
  273. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +51 -1
  274. package/dist/components/appointment-details-panel/index.d.ts +1 -1
  275. package/dist/components/appointment-details-panel/index.js +1 -1
  276. package/dist/components/appointment-peek/index.js +1 -1
  277. package/dist/components/appointment-timeline/index.js +1 -1
  278. package/dist/components/audio-recorder/index.js +1 -1
  279. package/dist/components/audio-visualiser/index.js +1 -1
  280. package/dist/components/autocomplete/index.js +1 -1
  281. package/dist/components/avatar/index.js +1 -1
  282. package/dist/components/badge/index.js +1 -1
  283. package/dist/components/bishop-score/index.js +1 -1
  284. package/dist/components/bmi-calculator/index.js +1 -1
  285. package/dist/components/booking/index.js +1 -1
  286. package/dist/components/breadcrumb/index.js +1 -1
  287. package/dist/components/button/button.d.ts +11 -0
  288. package/dist/components/button/icon-button.d.ts +4 -0
  289. package/dist/components/button/index.js +2 -2
  290. package/dist/components/button-group/index.js +1 -1
  291. package/dist/components/calculator-dialog/index.js +1 -1
  292. package/dist/components/calendar/calendar-locale.d.ts +5 -0
  293. package/dist/components/calendar/calendar.d.ts +6 -4
  294. package/dist/components/calendar/index.js +1 -1
  295. package/dist/components/calendar-event-card/index.js +1 -1
  296. package/dist/components/care-plan-card/index.js +1 -1
  297. package/dist/components/care-plan-entry-card/index.js +1 -1
  298. package/dist/components/care-plan-header/index.js +1 -1
  299. package/dist/components/carousel/index.js +1 -1
  300. package/dist/components/chart/chart.d.ts +1 -1
  301. package/dist/components/chart/index.js +1 -1
  302. package/dist/components/chat-container/index.js +1 -1
  303. package/dist/components/chat-input/index.js +1 -1
  304. package/dist/components/chat-message/index.js +1 -1
  305. package/dist/components/checkbox-group/index.js +1 -1
  306. package/dist/components/city-input/index.js +1 -1
  307. package/dist/components/clinical-note-card/index.js +1 -1
  308. package/dist/components/color-picker/index.js +1 -1
  309. package/dist/components/combobox/index.js +1 -1
  310. package/dist/components/command-palette/index.js +1 -1
  311. package/dist/components/connection-status/index.js +1 -1
  312. package/dist/components/contact-card/index.js +1 -1
  313. package/dist/components/contact-profile-card/index.js +1 -1
  314. package/dist/components/control-room-rail/index.js +1 -1
  315. package/dist/components/copy-field/index.js +1 -1
  316. package/dist/components/country-select/index.js +1 -1
  317. package/dist/components/cycle-calculator/index.js +1 -1
  318. package/dist/components/dashboard-grid/index.js +1 -1
  319. package/dist/components/data-table/ag-grid-locale.d.ts +5 -0
  320. package/dist/components/data-table/index.js +4 -4
  321. package/dist/components/data-table-tabs/index.js +1 -1
  322. package/dist/components/date-picker/index.js +1 -1
  323. package/dist/components/date-range-picker/index.js +1 -1
  324. package/dist/components/date-time-picker/index.js +1 -1
  325. package/dist/components/dependent-selector/index.js +1 -1
  326. package/dist/components/description-list/index.js +1 -1
  327. package/dist/components/dialog/index.js +1 -1
  328. package/dist/components/document-preview/index.js +1 -1
  329. package/dist/components/document-scanner/index.js +1 -1
  330. package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
  331. package/dist/components/dropdown-menu/index.d.ts +1 -1
  332. package/dist/components/dropdown-menu/index.js +1 -1
  333. package/dist/components/due-date-calculator/index.js +2 -2
  334. package/dist/components/editable-description/index.js +1 -1
  335. package/dist/components/editor-overlay/index.js +1 -1
  336. package/dist/components/email-input/index.js +1 -1
  337. package/dist/components/empty-state/index.js +1 -1
  338. package/dist/components/entity-summary/index.js +1 -1
  339. package/dist/components/error-boundary/index.js +1 -1
  340. package/dist/components/face-scheme/index.js +1 -1
  341. package/dist/components/fetal-weight/index.js +1 -1
  342. package/dist/components/field-array/index.js +1 -1
  343. package/dist/components/file-manager/index.js +1 -1
  344. package/dist/components/file-upload/index.js +1 -1
  345. package/dist/components/finished-terminal/index.js +1 -1
  346. package/dist/components/fiscal-code-input/index.js +1 -1
  347. package/dist/components/floating-action-button/index.js +1 -1
  348. package/dist/components/form-field/index.js +1 -1
  349. package/dist/components/freemium-paywall/index.js +1 -1
  350. package/dist/components/gestational-age-calculator/index.js +1 -1
  351. package/dist/components/hcg-doubling/hcg.d.ts +1 -1
  352. package/dist/components/hcg-doubling/index.js +1 -1
  353. package/dist/components/header/index.js +1 -1
  354. package/dist/components/header-settings/header-settings.d.ts +3 -3
  355. package/dist/components/header-settings/index.js +1 -1
  356. package/dist/components/hover-card/index.js +1 -1
  357. package/dist/components/iban-input/index.js +1 -1
  358. package/dist/components/icon-button/index.js +1 -1
  359. package/dist/components/icon-button-group/index.js +1 -1
  360. package/dist/components/icon-picker/index.js +1 -1
  361. package/dist/components/image-cropper/index.js +1 -1
  362. package/dist/components/info-tip/index.js +1 -1
  363. package/dist/components/kbd/index.js +1 -1
  364. package/dist/components/key-value-pair/index.js +1 -1
  365. package/dist/components/link/index.js +1 -1
  366. package/dist/components/list/index.js +1 -1
  367. package/dist/components/locale-picker/index.js +1 -1
  368. package/dist/components/locale-picker/locale-picker.d.ts +7 -0
  369. package/dist/components/map-view/index.js +1 -1
  370. package/dist/components/message-card/index.js +1 -1
  371. package/dist/components/message-tray/index.js +1 -1
  372. package/dist/components/money/index.js +1 -1
  373. package/dist/components/multi-select/index.js +1 -1
  374. package/dist/components/muscle-scheme/index.js +1 -1
  375. package/dist/components/nav-grid/index.js +1 -1
  376. package/dist/components/navigation-menu/index.js +2 -2
  377. package/dist/components/note-timeline/index.js +1 -1
  378. package/dist/components/notes-panel/index.js +1 -1
  379. package/dist/components/notification-card/index.js +1 -1
  380. package/dist/components/notification-tray/index.js +1 -1
  381. package/dist/components/number-input/index.js +1 -1
  382. package/dist/components/operator-hero/index.js +1 -1
  383. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  384. package/dist/components/optical-prescription/index.js +1 -1
  385. package/dist/components/otp-input/index.js +1 -1
  386. package/dist/components/pagination/index.js +1 -1
  387. package/dist/components/panel-subview/index.js +1 -1
  388. package/dist/components/password-input/index.js +1 -1
  389. package/dist/components/patient-details/index.js +1 -1
  390. package/dist/components/patient-details/patient-details.d.ts +1 -1
  391. package/dist/components/patient-search/index.js +1 -1
  392. package/dist/components/patient-summary-card/index.js +1 -1
  393. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  394. package/dist/components/patient-table/index.js +1 -1
  395. package/dist/components/payment-card/index.js +1 -1
  396. package/dist/components/payment-form/index.js +1 -1
  397. package/dist/components/pdf-viewer/index.js +1 -1
  398. package/dist/components/periodontal-chart/index.js +1 -1
  399. package/dist/components/periodontal-chart-card/index.js +1 -1
  400. package/dist/components/periodontal-diagnosis/index.js +1 -1
  401. package/dist/components/periodontal-risk-chart/index.js +1 -1
  402. package/dist/components/permission-matrix/index.js +1 -1
  403. package/dist/components/phone-input/index.js +1 -1
  404. package/dist/components/popover/index.js +1 -1
  405. package/dist/components/position-grid/index.js +1 -1
  406. package/dist/components/postal-code-input/index.js +1 -1
  407. package/dist/components/practice-profile-hero/index.js +1 -1
  408. package/dist/components/practice-results/index.js +1 -1
  409. package/dist/components/pregnancy-dating/index.js +1 -1
  410. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  411. package/dist/components/privacy-lock/index.js +1 -1
  412. package/dist/components/product-hub-tray/index.js +1 -1
  413. package/dist/components/progress/index.js +1 -1
  414. package/dist/components/province-select/index.js +1 -1
  415. package/dist/components/public-footer/index.js +1 -1
  416. package/dist/components/public-header/index.js +1 -1
  417. package/dist/components/qr-code/index.js +1 -1
  418. package/dist/components/radiograph-panel/index.js +1 -1
  419. package/dist/components/rating/index.js +1 -1
  420. package/dist/components/recaptcha-widget/index.js +1 -1
  421. package/dist/components/resizable/index.js +1 -1
  422. package/dist/components/resource-chip/index.d.ts +1 -1
  423. package/dist/components/resource-chip/index.js +3 -2
  424. package/dist/components/resource-chip/resource-chip.d.ts +20 -0
  425. package/dist/components/reviews-panel/index.js +1 -1
  426. package/dist/components/rich-text-editor/index.js +2 -2
  427. package/dist/components/rich-text-editor/redactor-locale.d.ts +4 -0
  428. package/dist/components/rich-text-editor/rich-text-editor.d.ts +8 -3
  429. package/dist/components/search-bar/index.js +1 -1
  430. package/dist/components/search-input/index.js +1 -1
  431. package/dist/components/select/index.js +1 -1
  432. package/dist/components/session-countdown/index.js +1 -1
  433. package/dist/components/sheet/index.js +1 -1
  434. package/dist/components/sidebar/index.js +1 -1
  435. package/dist/components/sign-document/index.js +1 -1
  436. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  437. package/dist/components/signature-capture/index.js +1 -1
  438. package/dist/components/signature-field/index.js +1 -1
  439. package/dist/components/signature-status-chip/index.js +1 -1
  440. package/dist/components/skeleton-scheme/index.js +3 -3
  441. package/dist/components/skip-link/index.js +1 -1
  442. package/dist/components/skip-link/skip-link.d.ts +1 -1
  443. package/dist/components/slider/index.js +1 -1
  444. package/dist/components/slot-grid/index.js +1 -1
  445. package/dist/components/smart-date/index.js +1 -1
  446. package/dist/components/smart-date/smart-date.d.ts +1 -1
  447. package/dist/components/social-sign-in-button/index.js +1 -1
  448. package/dist/components/sparkline/index.js +1 -1
  449. package/dist/components/spinner/index.js +1 -1
  450. package/dist/components/stat/index.js +1 -1
  451. package/dist/components/stepper-accordion/index.js +1 -1
  452. package/dist/components/stepper-progress/index.js +1 -1
  453. package/dist/components/streaming-text/index.js +1 -1
  454. package/dist/components/suggestion-chip/index.js +1 -1
  455. package/dist/components/switch/index.js +1 -1
  456. package/dist/components/tab-bar/index.js +1 -1
  457. package/dist/components/tabs/index.js +1 -1
  458. package/dist/components/tag/index.js +1 -1
  459. package/dist/components/task-card/index.js +1 -1
  460. package/dist/components/task-editor/index.js +1 -1
  461. package/dist/components/task-tray/index.js +1 -1
  462. package/dist/components/tasks-panel/index.js +1 -1
  463. package/dist/components/text-area/index.js +1 -1
  464. package/dist/components/text-input/index.js +1 -1
  465. package/dist/components/theme-toggle/index.js +1 -1
  466. package/dist/components/time-picker/index.js +1 -1
  467. package/dist/components/timeline/index.js +1 -1
  468. package/dist/components/timestamp/index.js +1 -1
  469. package/dist/components/toast/index.js +1 -1
  470. package/dist/components/token-insert-menu/index.js +1 -1
  471. package/dist/components/tool-rail/index.js +1 -1
  472. package/dist/components/tooth-finding-palette/index.js +1 -1
  473. package/dist/components/tooth-scheme/index.js +1 -1
  474. package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -2
  475. package/dist/components/transaction-chip/index.js +1 -1
  476. package/dist/components/transcript-panel/index.js +1 -1
  477. package/dist/components/treatment-receipt/index.js +1 -1
  478. package/dist/components/typing-indicator/index.js +1 -1
  479. package/dist/components/unit-converter/index.js +1 -1
  480. package/dist/components/variables-menu/index.js +1 -1
  481. package/dist/components/wallet-pay-button/index.js +1 -1
  482. package/dist/components/warning-stack/index.js +1 -1
  483. package/dist/components/whatsapp-button/index.js +1 -1
  484. package/dist/components/widget-picker/index.js +1 -1
  485. package/dist/components/workflow/index.js +1 -1
  486. package/dist/components/workflow/workflow-card.d.ts +1 -1
  487. package/dist/components/workflow-status/index.js +2 -2
  488. package/dist/hooks/index.js +2 -2
  489. package/dist/hooks/use-locale.d.ts +2 -16
  490. package/dist/i18n/config.d.ts +17 -13
  491. package/dist/i18n/config.js +127 -62
  492. package/dist/i18n/locale-meta.d.ts +1 -1
  493. package/dist/i18n/locales/ar.d.ts +915 -660
  494. package/dist/i18n/locales/ar.js +916 -665
  495. package/dist/i18n/locales/de.d.ts +722 -479
  496. package/dist/i18n/locales/de.js +723 -484
  497. package/dist/i18n/locales/el.d.ts +965 -722
  498. package/dist/i18n/locales/el.js +965 -726
  499. package/dist/i18n/locales/en.d.ts +308 -65
  500. package/dist/i18n/locales/en.js +309 -70
  501. package/dist/i18n/locales/es.d.ts +787 -541
  502. package/dist/i18n/locales/es.js +788 -546
  503. package/dist/i18n/locales/fr.d.ts +730 -484
  504. package/dist/i18n/locales/fr.js +731 -489
  505. package/dist/i18n/locales/hi.d.ts +875 -632
  506. package/dist/i18n/locales/hi.js +876 -637
  507. package/dist/i18n/locales/it.d.ts +937 -691
  508. package/dist/i18n/locales/it.js +943 -696
  509. package/dist/i18n/locales/ja.d.ts +698 -455
  510. package/dist/i18n/locales/ja.js +699 -460
  511. package/dist/i18n/locales/nl.d.ts +723 -480
  512. package/dist/i18n/locales/nl.js +724 -485
  513. package/dist/i18n/locales/pl.d.ts +1019 -770
  514. package/dist/i18n/locales/pl.js +1019 -774
  515. package/dist/i18n/locales/pt.d.ts +811 -562
  516. package/dist/i18n/locales/pt.js +812 -567
  517. package/dist/i18n/locales/ro.d.ts +1060 -814
  518. package/dist/i18n/locales/ro.js +1061 -819
  519. package/dist/i18n/locales/ru.d.ts +1037 -788
  520. package/dist/i18n/locales/ru.js +1032 -787
  521. package/dist/i18n/locales/sq.d.ts +1288 -1045
  522. package/dist/i18n/locales/sq.js +1288 -1049
  523. package/dist/i18n/locales/sv.d.ts +809 -566
  524. package/dist/i18n/locales/sv.js +810 -571
  525. package/dist/i18n/locales/tr.d.ts +768 -525
  526. package/dist/i18n/locales/tr.js +769 -530
  527. package/dist/i18n/locales/zh.d.ts +756 -513
  528. package/dist/i18n/locales/zh.js +757 -518
  529. package/dist/i18n/registerUiBundle.d.ts +3 -2
  530. package/dist/i18n/resources.d.ts +2 -7
  531. package/dist/i18n/supported-locales.d.ts +8 -0
  532. package/dist/index.js +552 -551
  533. package/dist/locales/ar.json +920 -665
  534. package/dist/locales/de.json +727 -484
  535. package/dist/locales/el.json +970 -727
  536. package/dist/locales/en.json +313 -70
  537. package/dist/locales/es.json +792 -546
  538. package/dist/locales/fr.json +735 -489
  539. package/dist/locales/hi.json +880 -637
  540. package/dist/locales/it.json +942 -696
  541. package/dist/locales/ja.json +703 -460
  542. package/dist/locales/nl.json +728 -485
  543. package/dist/locales/pl.json +1024 -775
  544. package/dist/locales/pt.json +816 -567
  545. package/dist/locales/ro.json +1065 -819
  546. package/dist/locales/ru.json +1042 -793
  547. package/dist/locales/sq.json +1293 -1050
  548. package/dist/locales/sv.json +814 -571
  549. package/dist/locales/tr.json +773 -530
  550. package/dist/locales/zh.json +761 -518
  551. package/dist/patterns/alia-assistant/index.js +1 -1
  552. package/dist/patterns/anamnesis/anamnesis-format.d.ts +1 -1
  553. package/dist/patterns/anamnesis/anamnesis-i18n.d.ts +3 -2
  554. package/dist/patterns/anamnesis/index.js +1 -1
  555. package/dist/patterns/anamnesis/locales/ar.d.ts +776 -0
  556. package/dist/patterns/anamnesis/locales/de.d.ts +740 -0
  557. package/dist/patterns/anamnesis/locales/el.d.ts +740 -0
  558. package/dist/patterns/anamnesis/locales/en.d.ts +740 -0
  559. package/dist/patterns/anamnesis/locales/es.d.ts +749 -0
  560. package/dist/patterns/anamnesis/locales/fr.d.ts +749 -0
  561. package/dist/patterns/anamnesis/locales/hi.d.ts +740 -0
  562. package/dist/patterns/anamnesis/locales/it.d.ts +749 -0
  563. package/dist/patterns/anamnesis/locales/ja.d.ts +740 -0
  564. package/dist/patterns/anamnesis/locales/nl.d.ts +740 -0
  565. package/dist/patterns/anamnesis/locales/pl.d.ts +758 -0
  566. package/dist/patterns/anamnesis/locales/pt.d.ts +758 -0
  567. package/dist/patterns/anamnesis/locales/ro.d.ts +749 -0
  568. package/dist/patterns/anamnesis/locales/ru.d.ts +758 -0
  569. package/dist/patterns/anamnesis/locales/sq.d.ts +740 -0
  570. package/dist/patterns/anamnesis/locales/sv.d.ts +740 -0
  571. package/dist/patterns/anamnesis/locales/tr.d.ts +740 -0
  572. package/dist/patterns/anamnesis/locales/zh.d.ts +740 -0
  573. package/dist/patterns/calendar/calendar-appointment-details.d.ts +4 -1
  574. package/dist/patterns/calendar/calendar-workspace.d.ts +5 -0
  575. package/dist/patterns/calendar/calendar.sheets.d.ts +4 -1
  576. package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
  577. package/dist/patterns/calendar/calendar.types.d.ts +3 -1
  578. package/dist/patterns/calendar/index.d.ts +1 -1
  579. package/dist/patterns/calendar/index.js +1 -1
  580. package/dist/patterns/help-me-write-templates/index.js +1 -1
  581. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  582. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  583. package/dist/patterns/signature-request/index.js +1 -1
  584. package/dist/tokens.css +6 -2
  585. package/package.json +12 -2
  586. package/dist/_chunks/anamnesis-summary-rows-CZirLRuv.js +0 -9416
  587. package/dist/_chunks/calendar-E6Yu4lzC.js +0 -1381
  588. package/dist/_chunks/calendar-workspace-DjbGFjg1.js +0 -10584
  589. package/dist/_chunks/data-table-CrI3_bjH.js +0 -1824
  590. package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
  591. package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
  592. package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
  593. package/dist/_chunks/rich-text-editor-y6ML0KeV.js +0 -4154
  594. package/dist/_chunks/subDays-HPvBuvq3.js +0 -8
  595. package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
  596. package/dist/_chunks/use-appointment-details-read-5-hV-2xA.js +0 -2045
  597. package/dist/_chunks/use-locale-BkCIHujH.js +0 -20
@@ -0,0 +1,1469 @@
1
+ import { jsxs as P, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as Ye, useRef as g, useMemo as u, useEffect as b, useState as ce, useImperativeHandle as lr, useCallback as T } from "react";
3
+ import { useTranslation as we } from "react-i18next";
4
+ import { c as cr } from "./index-D2ZczOXr.js";
5
+ import ur from "@fullcalendar/react";
6
+ import { c as Xe } from "./intl-locale-CXM-B8EP.js";
7
+ import mr from "@fullcalendar/daygrid";
8
+ import fr from "@fullcalendar/timegrid";
9
+ import vr from "@fullcalendar/list";
10
+ import pr from "@fullcalendar/resource";
11
+ import hr from "@fullcalendar/resource-timegrid";
12
+ import gr from "@fullcalendar/resource-timeline";
13
+ import yr from "@fullcalendar/timeline";
14
+ import br from "@fullcalendar/interaction";
15
+ import { u as Tr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
16
+ import { u as xr } from "./registry-DvAUVLHh.js";
17
+ import { w as wr, C as Dr } from "./calendar-event-card-DXAYWH6k.js";
18
+ import { A as Cr } from "./avatar-DYtwj1-R.js";
19
+ import { B as kr } from "./button-CYPx2xFq.js";
20
+ import { a as je, R as Ar } from "./resource-chip-DQeCJzJf.js";
21
+ import { T as _e } from "./tooltip-Cp-PLePW.js";
22
+ import { V as Ir } from "./visually-hidden-BHxEUGyT.js";
23
+ import { C as Ve } from "./check-DrFSN__t.js";
24
+ import { C as qe } from "./chevron-right-I9AeSxH2.js";
25
+ import { C as $e } from "./chevron-left-B8cOyH-V.js";
26
+ function Sr(r, o) {
27
+ return {
28
+ // FullCalendar's date arithmetic is Gregorian. Regional locales such as
29
+ // ar-SA otherwise format the same cells with Hijri month/day numbers.
30
+ code: new Intl.Locale(Xe(o), {
31
+ calendar: "gregory"
32
+ }).toString(),
33
+ buttonText: {
34
+ prev: r("calendar.previousPeriod"),
35
+ next: r("calendar.nextPeriod"),
36
+ prevYear: r("calendar.vendor.previousYear"),
37
+ nextYear: r("calendar.vendor.nextYear"),
38
+ year: r("calendar.vendor.year"),
39
+ today: r("calendar.today"),
40
+ month: r("calendar.month"),
41
+ week: r("calendar.week"),
42
+ day: r("calendar.day"),
43
+ list: r("calendar.list")
44
+ },
45
+ buttonHints: {
46
+ prev: r("calendar.previousPeriod"),
47
+ next: r("calendar.nextPeriod"),
48
+ today: r("calendar.vendor.todayHint")
49
+ },
50
+ weekText: r("calendar.vendor.weekAbbreviation"),
51
+ weekTextLong: r("calendar.week"),
52
+ closeHint: r("common.close"),
53
+ timeHint: r("calendar.vendor.time"),
54
+ eventHint: r("calendar.vendor.event"),
55
+ allDayText: r("calendar.allDay"),
56
+ noEventsText: r("calendar.noEvents"),
57
+ moreLinkText: (s) => r("calendar.vendor.more", { count: s }),
58
+ moreLinkHint: (s) => r("calendar.vendor.moreHint", { count: s }),
59
+ navLinkHint: (s) => r("calendar.vendor.goToDate", { date: s }),
60
+ viewHint: (s) => r("calendar.vendor.viewHint", { view: s })
61
+ };
62
+ }
63
+ const Er = {
64
+ id: "calendar",
65
+ capabilities: ["view_change", "range_navigate", "pick"],
66
+ state: {
67
+ currentView: {
68
+ type: "CalendarView",
69
+ descriptionKey: "ui.agent.calendar.state.currentView",
70
+ description: "Active view name (e.g. dayGridMonth, timeGridWeek).",
71
+ read: (r) => r.getCurrentView() ?? null
72
+ },
73
+ currentDate: {
74
+ type: "iso-date",
75
+ descriptionKey: "ui.agent.calendar.state.currentDate",
76
+ description: "ISO date anchor of the visible range.",
77
+ read: (r) => {
78
+ var o;
79
+ return ((o = r.getCurrentDate()) == null ? void 0 : o.toISOString()) ?? null;
80
+ }
81
+ },
82
+ currentTitle: {
83
+ type: "string",
84
+ descriptionKey: "ui.agent.calendar.state.currentTitle",
85
+ description: 'Human title of the current range (e.g. "April 2026").',
86
+ read: (r) => r.getTitle()
87
+ }
88
+ },
89
+ actions: {
90
+ today: {
91
+ safety: "read",
92
+ idempotent: !0,
93
+ descriptionKey: "ui.agent.calendar.actions.today",
94
+ description: "Jump to the current day.",
95
+ invoke: (r) => {
96
+ r.today();
97
+ }
98
+ },
99
+ prev: {
100
+ // Not idempotent: each call steps one range further back.
101
+ safety: "read",
102
+ descriptionKey: "ui.agent.calendar.actions.prev",
103
+ description: "Move to the previous range.",
104
+ invoke: (r) => {
105
+ r.prev();
106
+ }
107
+ },
108
+ next: {
109
+ // Not idempotent: each call steps one range further forward.
110
+ safety: "read",
111
+ descriptionKey: "ui.agent.calendar.actions.next",
112
+ description: "Move to the next range.",
113
+ invoke: (r) => {
114
+ r.next();
115
+ }
116
+ },
117
+ goto_date: {
118
+ safety: "read",
119
+ argsType: "{ date: string | Date }",
120
+ argsSchema: {
121
+ type: "object",
122
+ properties: {
123
+ date: {
124
+ type: "string",
125
+ format: "date",
126
+ description: "Target date — ISO 8601 string (or Date at runtime)."
127
+ }
128
+ },
129
+ required: ["date"]
130
+ },
131
+ idempotent: !0,
132
+ descriptionKey: "ui.agent.calendar.actions.gotoDate",
133
+ description: "Navigate to a specific date.",
134
+ examples: [
135
+ { args: { date: "2026-04-15" }, note: "Jump to 15 April 2026." }
136
+ ],
137
+ invoke: (r, o) => {
138
+ r.gotoDate(o.date);
139
+ }
140
+ },
141
+ change_view: {
142
+ safety: "read",
143
+ argsType: "{ view: CalendarView }",
144
+ argsSchema: {
145
+ type: "object",
146
+ properties: {
147
+ view: {
148
+ type: "string",
149
+ enum: [
150
+ "dayGridMonth",
151
+ "timeGridWeek",
152
+ "timeGridDay",
153
+ "listWeek",
154
+ "resourceTimeGridDayChair",
155
+ "resourceTimeGridThreeDaysChair",
156
+ "resourceTimeGridWeekChair",
157
+ "resourceTimeGridDayOperator",
158
+ "resourceTimeGridThreeDaysOperator",
159
+ "resourceTimeGridWeekOperator"
160
+ ],
161
+ description: "Target view name."
162
+ }
163
+ },
164
+ required: ["view"]
165
+ },
166
+ idempotent: !0,
167
+ descriptionKey: "ui.agent.calendar.actions.changeView",
168
+ description: "Switch the calendar to the given view.",
169
+ examples: [
170
+ { args: { view: "timeGridWeek" }, note: "Switch to the week view." }
171
+ ],
172
+ invoke: (r, o) => {
173
+ r.changeView(o.view);
174
+ }
175
+ },
176
+ focus_event: {
177
+ // pick: transient focus + highlight of an event — no persisted selection.
178
+ // Not idempotent: each call re-triggers the flash highlight.
179
+ safety: "read",
180
+ argsType: "{ eventId: string }",
181
+ argsSchema: {
182
+ type: "object",
183
+ properties: {
184
+ eventId: {
185
+ type: "string",
186
+ description: "Stable event id (matches a data-event-id node)."
187
+ }
188
+ },
189
+ required: ["eventId"]
190
+ },
191
+ descriptionKey: "ui.agent.calendar.actions.focusEvent",
192
+ description: "Scroll an event into view and briefly highlight it.",
193
+ errors: ["No DOM node matches the given event id — no-op."],
194
+ invoke: (r, o) => {
195
+ r.focusEvent(o.eventId);
196
+ }
197
+ }
198
+ },
199
+ /* Day-number nav links (`a[data-navlink]`, via onNavLinkDayClick) are
200
+ FullCalendar markup, not a hook: an agent drills into a day through
201
+ the host's own view change, never by clicking the number. */
202
+ domHooks: {
203
+ root: {
204
+ attr: "data-component",
205
+ value: "calendar",
206
+ description: "Marks the Calendar wrapper."
207
+ },
208
+ instanceId: {
209
+ attr: "data-component-id",
210
+ sourceProp: "id",
211
+ description: "Sourced from the id prop."
212
+ },
213
+ item: {
214
+ attr: "data-event-id",
215
+ description: 'Emitted on every rendered FullCalendar event by the kit event renderer. Used by focusEvent. Cards also carry data-kind="task"|"draft"|"pending-details"|"appointment" and data-status for classification.'
216
+ }
217
+ }
218
+ }, Rr = cr("", {
219
+ variants: {
220
+ density: {
221
+ compact: "calendar-density-compact",
222
+ comfortable: "calendar-density-comfortable"
223
+ }
224
+ }
225
+ }), Nr = {
226
+ vertical: {
227
+ Day: "resourceTimeGridDay",
228
+ ThreeDays: "resourceTimeGridThreeDays",
229
+ Week: "resourceTimeGridWeek"
230
+ },
231
+ horizontal: {
232
+ Day: "resourceTimelineDay",
233
+ ThreeDays: "resourceTimelineThreeDays",
234
+ Week: "resourceTimelineWeek"
235
+ }
236
+ }, Lr = /* @__PURE__ */ new Set([
237
+ "dayGridMonth",
238
+ "timeGridWeek",
239
+ "timeGridThreeDays",
240
+ "timeGridDay",
241
+ "listWeek"
242
+ ]), Pr = {
243
+ timeGridDay: "timelineDay",
244
+ timeGridThreeDays: "timelineThreeDays",
245
+ timeGridWeek: "timelineWeek"
246
+ };
247
+ function be(r, o = "vertical") {
248
+ if (Lr.has(r))
249
+ return o === "horizontal" ? Pr[r] ?? r : r;
250
+ const m = r.replace(/^resourceTimeGrid/, "").replace(
251
+ /(Chair|Operator)$/,
252
+ ""
253
+ );
254
+ return Nr[o][m];
255
+ }
256
+ const le = {
257
+ weekday: "long",
258
+ day: "numeric",
259
+ month: "long",
260
+ year: "numeric"
261
+ }, Mr = [
262
+ { weekday: "short", day: "numeric", month: "short" },
263
+ { hour: "numeric", minute: "2-digit" }
264
+ ], Gr = {
265
+ resourceTimeGridThreeDays: {
266
+ type: "resourceTimeGrid",
267
+ duration: { days: 3 }
268
+ },
269
+ resourceTimelineThreeDays: {
270
+ type: "resourceTimeline",
271
+ duration: { days: 3 }
272
+ },
273
+ /* Plain (non-resource) 3-day counterparts — the standard calendar
274
+ experience's Day / 3 days / Week range set without an axis. */
275
+ timeGridThreeDays: {
276
+ type: "timeGrid",
277
+ duration: { days: 3 }
278
+ },
279
+ timelineThreeDays: {
280
+ type: "timeline",
281
+ duration: { days: 3 }
282
+ },
283
+ timeline: { slotLabelFormat: Mr },
284
+ timeGridDay: { titleFormat: le },
285
+ resourceTimeGridDay: { titleFormat: le },
286
+ timelineDay: { titleFormat: le },
287
+ resourceTimelineDay: { titleFormat: le }
288
+ }, Te = 5, Br = {
289
+ create: "calendar.modeBanner.create",
290
+ move: "calendar.modeBanner.move",
291
+ copy: "calendar.modeBanner.copy"
292
+ };
293
+ function Or(r) {
294
+ try {
295
+ const o = new Intl.Locale(r), s = typeof o.getWeekInfo == "function" ? o.getWeekInfo() : o.weekInfo;
296
+ if (s && typeof s.firstDay == "number")
297
+ return s.firstDay % 7;
298
+ } catch {
299
+ }
300
+ return r.startsWith("en-US") || r.startsWith("he") || r.startsWith("ar-SA") ? 0 : 1;
301
+ }
302
+ const xe = "calendar-col-hidden", Fr = "calendar-col-loading";
303
+ function V(r) {
304
+ const o = r.getFullYear(), s = String(r.getMonth() + 1).padStart(2, "0"), m = String(r.getDate()).padStart(2, "0");
305
+ return `${o}-${s}-${m}`;
306
+ }
307
+ function Wr(r, o) {
308
+ const s = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Map(), p = (r == null ? void 0 : r.length) ?? 0;
309
+ if (r && o) {
310
+ for (const D of r)
311
+ if (D.hiddenDates)
312
+ for (const x of D.hiddenDates) {
313
+ const R = `${D.id}:${x}`;
314
+ s.has(R) || (s.add(R), m.set(x, (m.get(x) ?? 0) + 1));
315
+ }
316
+ }
317
+ return {
318
+ hiddenCells: s,
319
+ hiddenCountByDate: m,
320
+ resourceCount: p,
321
+ active: s.size > 0
322
+ };
323
+ }
324
+ function zr() {
325
+ const { i18n: r } = we("ui"), [o, s] = ce(() => {
326
+ if (typeof document > "u") return !1;
327
+ const m = document.documentElement.getAttribute("dir"), p = typeof r.dir == "function" ? r.dir() : "ltr";
328
+ return m === "rtl" || p === "rtl";
329
+ });
330
+ return b(() => {
331
+ if (typeof document > "u") return;
332
+ const m = new MutationObserver(() => {
333
+ const p = document.documentElement.getAttribute("dir"), D = typeof r.dir == "function" ? r.dir() : "ltr";
334
+ s(p === "rtl" || D === "rtl");
335
+ });
336
+ return m.observe(document.documentElement, {
337
+ attributes: !0,
338
+ attributeFilter: ["dir", "lang"]
339
+ }), () => m.disconnect();
340
+ }, [r]), o;
341
+ }
342
+ const Ke = /* @__PURE__ */ new Map();
343
+ function Je(r) {
344
+ let o = Ke.get(r);
345
+ if (o === void 0) {
346
+ try {
347
+ o = new Intl.DateTimeFormat(r, {
348
+ hour: "2-digit",
349
+ minute: "2-digit",
350
+ hour12: !1
351
+ });
352
+ } catch {
353
+ o = null;
354
+ }
355
+ Ke.set(r, o);
356
+ }
357
+ return o;
358
+ }
359
+ function Ue(r, o) {
360
+ const s = r.event.start, m = r.event.end ?? r.event.start;
361
+ if (!s || !m) return;
362
+ const p = Je(o);
363
+ if (p)
364
+ try {
365
+ return typeof p.formatRange == "function" ? p.formatRange(s, m) : `${p.format(s)} – ${p.format(m)}`;
366
+ } catch {
367
+ return;
368
+ }
369
+ }
370
+ function Hr(r, o) {
371
+ var s;
372
+ if (r)
373
+ return (s = Je(o)) == null ? void 0 : s.format(r);
374
+ }
375
+ const Ze = [
376
+ "ds:inline-flex ds:items-center ds:justify-center",
377
+ "ds:min-h-[var(--min-target-size)]",
378
+ "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
379
+ "ds:border ds:border-[var(--border)]",
380
+ "ds:rounded-[var(--radius-full)]",
381
+ "ds:font-[var(--font-weight-medium)] ds:text-[length:var(--font-size-sm)]",
382
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
383
+ "ds:hover:bg-[var(--muted)]",
384
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
385
+ "ds:focus-visible:outline-[var(--ring)]",
386
+ "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
387
+ "ds:motion-reduce:transition-none"
388
+ ].join(" "), jr = [
389
+ Ze,
390
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
391
+ ].join(" "), _r = [
392
+ Ze,
393
+ "ds:min-w-[var(--min-target-size)]"
394
+ ].join(" "), De = Ye(
395
+ ({ title: r, onToday: o, onPrev: s, onNext: m, end: p, className: D, maskClassName: x }, R) => {
396
+ const { t: q } = we("ui"), Q = zr(), C = Q ? qe : $e, ee = Q ? $e : qe, $ = [
397
+ "ds:calendar-toolbar",
398
+ "ds:sticky ds:top-0 ds:z-20",
399
+ "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
400
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
401
+ "ds:py-[var(--spacing-sm)]",
402
+ "ds:bg-[var(--background)]",
403
+ "ds:border-b ds:border-[var(--border)]",
404
+ D
405
+ ].filter(Boolean).join(" "), K = [jr, x].filter(Boolean).join(" "), B = [_r, x].filter(Boolean).join(" "), O = [
406
+ "ds:flex-1 ds:text-center ds:truncate type-title-card",
407
+ x
408
+ ].filter(Boolean).join(" "), k = ["ds:flex-1 ds:text-center", x].filter(Boolean).join(" ");
409
+ return /* @__PURE__ */ P("div", { ref: R, className: $, children: [
410
+ /* @__PURE__ */ P("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
411
+ /* @__PURE__ */ l(
412
+ "button",
413
+ {
414
+ type: "button",
415
+ onClick: o,
416
+ className: K,
417
+ children: q("calendar.today")
418
+ }
419
+ ),
420
+ /* @__PURE__ */ l(
421
+ "button",
422
+ {
423
+ type: "button",
424
+ onClick: s,
425
+ "aria-label": q("calendar.previousPeriod"),
426
+ className: B,
427
+ children: /* @__PURE__ */ l(C, { size: 16, "aria-hidden": "true" })
428
+ }
429
+ ),
430
+ /* @__PURE__ */ l(
431
+ "button",
432
+ {
433
+ type: "button",
434
+ onClick: m,
435
+ "aria-label": q("calendar.nextPeriod"),
436
+ className: B,
437
+ children: /* @__PURE__ */ l(ee, { size: 16, "aria-hidden": "true" })
438
+ }
439
+ )
440
+ ] }),
441
+ r ? /* @__PURE__ */ l("h2", { "aria-live": "polite", className: O, children: r }) : (
442
+ /* Keep the centering slot stable even before the first
443
+ `datesSet` populates the title — an empty <h2> would trip
444
+ axe's `empty-heading` rule, so we substitute a decorative
445
+ spacer that matches the h2's flex sizing. Once `title` is
446
+ non-empty the h2 renders in the same slot. */
447
+ /* @__PURE__ */ l("div", { "aria-hidden": "true", className: k })
448
+ ),
449
+ p ? /* @__PURE__ */ l("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: p }) : null
450
+ ] });
451
+ }
452
+ );
453
+ De.displayName = "Calendar.Toolbar";
454
+ const Qe = Ye(
455
+ ({
456
+ id: r,
457
+ events: o,
458
+ resources: s,
459
+ view: m = "dayGridMonth",
460
+ initialDate: p,
461
+ locale: D,
462
+ onEventDrop: x,
463
+ onEventResize: R,
464
+ onEventDragStart: q,
465
+ onEventResizeStart: Q,
466
+ onEventClick: C,
467
+ onBackgroundEventClick: ee,
468
+ onEventMouseEnter: $,
469
+ onEventMouseLeave: K,
470
+ onDateSelect: B,
471
+ onDatesSet: O,
472
+ onDateClick: k,
473
+ onNavLinkDayClick: Ce,
474
+ editable: te = !1,
475
+ eventDurationEditable: et,
476
+ selectable: ke = !1,
477
+ selectMirror: tt,
478
+ unselectAuto: Ae,
479
+ height: rt,
480
+ className: nt,
481
+ privacyMode: w = !1,
482
+ eventColorStyle: at = "solid",
483
+ slotDensity: it = "compact",
484
+ mode: re = "default",
485
+ modeLabel: ot,
486
+ modeBannerColor: ne,
487
+ modeBannerTextColor: ae,
488
+ onModeCancel: Ie,
489
+ alertBanner: st,
490
+ hiddenDays: Se,
491
+ loadingDates: Ee,
492
+ slotMinTime: dt,
493
+ slotMaxTime: lt,
494
+ slotDuration: ct,
495
+ snapDuration: Re,
496
+ showTime: ut = !0,
497
+ datesAboveResources: ue = !0,
498
+ slotEventOverlap: mt = !1,
499
+ stickyHeaderDates: ft = !0,
500
+ nowIndicator: vt = !0,
501
+ dayMaxEvents: pt = !0,
502
+ schedulerLicenseKey: ht = void 0,
503
+ toolbar: gt = !0,
504
+ toolbarEnd: yt,
505
+ resourceLayout: U = "vertical",
506
+ showResourceInitials: me = !1,
507
+ resourceLabelVariant: Ne = "text",
508
+ verticalResourceLabels: fe = !1,
509
+ selectedEventId: Le,
510
+ availabilityMode: bt = !1,
511
+ resourceAreaWidth: Tt,
512
+ resourceAreaHeader: Y,
513
+ defaultTimedEventDuration: X,
514
+ zebraRows: xt = !1,
515
+ maskClassName: F
516
+ }, wt) => {
517
+ const { t: f, i18n: W } = we("ui"), A = g(null), N = g(null), I = g(null), L = g(null), z = g(null), Pe = g(null), ie = g({
518
+ id: 0,
519
+ x: 0,
520
+ y: 0
521
+ }), Me = g(0), Ge = g(0), y = Xe(D ?? W.language ?? "en"), Dt = u(
522
+ () => Sr(f, y),
523
+ [f, y]
524
+ );
525
+ b(() => {
526
+ }, [Se]), b(() => {
527
+ }, [X]);
528
+ const [Ct, kt] = ce(() => {
529
+ if (typeof document > "u") return "ltr";
530
+ const e = document.documentElement.getAttribute("dir"), t = typeof W.dir == "function" ? W.dir() : "ltr";
531
+ return e === "rtl" || t === "rtl" ? "rtl" : "ltr";
532
+ });
533
+ b(() => {
534
+ if (typeof document > "u") return;
535
+ const e = new MutationObserver(() => {
536
+ const t = document.documentElement.getAttribute("dir"), n = typeof W.dir == "function" ? W.dir() : "ltr";
537
+ kt(t === "rtl" || n === "rtl" ? "rtl" : "ltr");
538
+ });
539
+ return e.observe(document.documentElement, {
540
+ attributes: !0,
541
+ attributeFilter: ["dir", "lang"]
542
+ }), () => e.disconnect();
543
+ }, [W]), b(() => {
544
+ if (typeof document > "u") return;
545
+ let e;
546
+ const t = new MutationObserver(() => {
547
+ clearTimeout(e), e = setTimeout(() => {
548
+ var a;
549
+ const n = (a = A.current) == null ? void 0 : a.getApi();
550
+ n && typeof n.render == "function" && n.render();
551
+ }, 50);
552
+ });
553
+ return t.observe(document.documentElement, {
554
+ attributes: !0,
555
+ attributeFilter: ["class"]
556
+ }), () => {
557
+ clearTimeout(e), t.disconnect();
558
+ };
559
+ }, []), b(() => {
560
+ const e = N.current;
561
+ if (!e || typeof ResizeObserver > "u") return;
562
+ let t = 0, n = e.getBoundingClientRect().width;
563
+ const a = new ResizeObserver((i) => {
564
+ var v, S;
565
+ const d = i[0], c = ((S = (v = d == null ? void 0 : d.borderBoxSize) == null ? void 0 : v[0]) == null ? void 0 : S.inlineSize) ?? (d == null ? void 0 : d.contentRect.width) ?? e.getBoundingClientRect().width;
566
+ c !== n && (n = c, cancelAnimationFrame(t), t = requestAnimationFrame(() => {
567
+ var h, E;
568
+ (E = (h = A.current) == null ? void 0 : h.getApi()) == null || E.updateSize();
569
+ }));
570
+ });
571
+ return a.observe(e), () => {
572
+ cancelAnimationFrame(t), a.disconnect();
573
+ };
574
+ }, []), b(() => {
575
+ if (typeof document > "u") return;
576
+ const e = N.current;
577
+ if (!e) return;
578
+ const t = () => {
579
+ e.querySelectorAll(
580
+ ".fc-daygrid-more-link, a[data-navlink]"
581
+ ).forEach((a) => {
582
+ a.getAttribute("role") || a.setAttribute("role", "button");
583
+ }), e.querySelectorAll('[aria-hidden="true"]').forEach((a) => {
584
+ a.querySelectorAll(
585
+ 'a[href], button, [tabindex]:not([tabindex="-1"])'
586
+ ).forEach((i) => {
587
+ i.setAttribute("tabindex", "-1");
588
+ });
589
+ });
590
+ };
591
+ t();
592
+ const n = new MutationObserver(t);
593
+ return n.observe(e, {
594
+ childList: !0,
595
+ subtree: !0,
596
+ attributes: !0,
597
+ attributeFilter: ["aria-hidden"]
598
+ }), () => n.disconnect();
599
+ }, [f]);
600
+ const oe = Tr(), [At, It] = ce(""), [H, St] = ce(
601
+ () => be(m, U)
602
+ ), Be = g(H);
603
+ Be.current = H;
604
+ const ve = u(() => {
605
+ const e = () => {
606
+ var t;
607
+ return (t = A.current) == null ? void 0 : t.getApi();
608
+ };
609
+ return {
610
+ getApi: () => {
611
+ var t;
612
+ return (t = A.current) == null ? void 0 : t.getApi();
613
+ },
614
+ today: () => {
615
+ var t;
616
+ (t = e()) == null || t.today();
617
+ },
618
+ prev: () => {
619
+ var t;
620
+ (t = e()) == null || t.prev();
621
+ },
622
+ next: () => {
623
+ var t;
624
+ (t = e()) == null || t.next();
625
+ },
626
+ gotoDate: (t) => {
627
+ var n;
628
+ (n = e()) == null || n.gotoDate(t);
629
+ },
630
+ changeView: (t) => {
631
+ var n;
632
+ (n = e()) == null || n.changeView(
633
+ be(t, U)
634
+ );
635
+ },
636
+ getTitle: () => {
637
+ var t;
638
+ return ((t = e()) == null ? void 0 : t.view.title) ?? "";
639
+ },
640
+ getCurrentView: () => {
641
+ var n;
642
+ return (n = e()) == null ? void 0 : n.view.type;
643
+ },
644
+ getCurrentDate: () => {
645
+ var t;
646
+ return (t = e()) == null ? void 0 : t.getDate();
647
+ },
648
+ focusEvent: (t) => {
649
+ const n = N.current;
650
+ if (!n) return;
651
+ const a = `[data-event-id="${CSS.escape(t)}"]`, i = n.querySelector(a);
652
+ if (i) {
653
+ if (L.current && (clearTimeout(L.current), L.current = null), z.current && z.current !== i && z.current.classList.remove("calendar-event-focused"), i.scrollIntoView({
654
+ behavior: oe ? "auto" : "smooth",
655
+ block: "center"
656
+ }), i.classList.add("calendar-event-focused"), z.current = i, I.current) {
657
+ const d = i.getAttribute("aria-label") ?? t, c = w ? "•••" : d;
658
+ I.current.textContent = f("calendar.focusedEvent", {
659
+ title: c
660
+ });
661
+ }
662
+ L.current = setTimeout(() => {
663
+ i.classList.remove("calendar-event-focused"), z.current === i && (z.current = null), L.current = null;
664
+ }, 3e3);
665
+ }
666
+ }
667
+ };
668
+ }, [oe, w, f, U]);
669
+ lr(wt, () => ve, [ve]), xr(Er, ve, r), b(
670
+ () => () => {
671
+ L.current && (clearTimeout(L.current), L.current = null);
672
+ },
673
+ []
674
+ );
675
+ const Oe = g(!0);
676
+ b(() => {
677
+ if (Oe.current) {
678
+ Oe.current = !1;
679
+ return;
680
+ }
681
+ I.current && (I.current.textContent = f(w ? "calendar.privacyModeOn" : "calendar.privacyModeOff"));
682
+ }, [w, f]);
683
+ const Et = u(
684
+ () => o.map((e) => ({
685
+ id: e.id,
686
+ title: e.title,
687
+ start: e.start,
688
+ end: e.end,
689
+ /* Conditional spreads — FC refines PRESENT-but-undefined keys
690
+ (`'propName' in input`), so undefined must mean ABSENT:
691
+ - editable: Boolean(undefined) === false would pin every
692
+ ordinary event non-draggable;
693
+ - display: String(undefined) === 'undefined' breaks month-
694
+ view dot/block classification and leaks via EventApi;
695
+ - allDay: Boolean(undefined) === false disables FC's
696
+ all-day inference for date-only starts;
697
+ - resourceId: String(undefined) puts 'undefined' into
698
+ def.resourceIds → getResources() returns [null]. */
699
+ ...e.allDay !== void 0 ? { allDay: e.allDay } : {},
700
+ ...e.resourceId !== void 0 ? { resourceId: e.resourceId } : {},
701
+ ...e.isInternal ? { display: "background" } : {},
702
+ /* A draft is the user's own composition: dragging or resizing it
703
+ IS how they pick the slot, so it stays editable even on a
704
+ read-only calendar. The consumer's own `editable` still wins. */
705
+ ...e.isDraft ? { editable: !0 } : {},
706
+ /* Scheduler separately falls back to the global editable option
707
+ for resource moves. A pinned event must refuse those too. */
708
+ ...e.editable !== void 0 ? { editable: e.editable, resourceEditable: e.editable } : {},
709
+ ...e.startEditable !== void 0 ? { startEditable: e.startEditable } : {},
710
+ /* Pending details override every host editability flag. Scheduler
711
+ reads resource editability separately from time dragging. */
712
+ ...e.detailsPending ? { editable: !1, startEditable: !1, resourceEditable: !1 } : {},
713
+ extendedProps: {
714
+ status: e.status,
715
+ resourceId: e.resourceId,
716
+ /* Mirror the raw per-event editability values so adaptEvent
717
+ can round-trip them — EventImpl's `startEditable` getter
718
+ resolves the COMBINED ui (incl. calendar-level fallback)
719
+ and must not be used for round-tripping. */
720
+ editable: e.editable,
721
+ startEditable: e.startEditable,
722
+ backgroundColor: e.backgroundColor,
723
+ textColor: e.textColor,
724
+ borderColor: e.borderColor,
725
+ suffix: e.suffix,
726
+ shortTitle: e.shortTitle,
727
+ contextLabel: e.contextLabel,
728
+ contextName: e.contextName,
729
+ privacyModeTitle: e.privacyModeTitle,
730
+ isBookedOnline: e.isBookedOnline ?? !1,
731
+ hasUnassignedPatient: e.hasUnassignedPatient ?? !1,
732
+ hasHighlightedAnamnesis: e.hasHighlightedAnamnesis ?? !1,
733
+ hasBillableAmount: e.hasBillableAmount ?? !1,
734
+ isTelehealth: e.isTelehealth ?? !1,
735
+ isRecurring: e.isRecurring ?? !1,
736
+ isRecurrenceParent: e.isRecurrenceParent ?? !1,
737
+ isInternal: e.isInternal ?? !1,
738
+ isTask: e.isTask ?? !1,
739
+ isDraft: e.isDraft ?? !1,
740
+ detailsPending: e.detailsPending ?? !1,
741
+ patientId: e.patientId,
742
+ operatorId: e.operatorId,
743
+ optionCount: e.optionCount
744
+ }
745
+ })),
746
+ [o]
747
+ ), Rt = u(
748
+ () => ({
749
+ year: "numeric",
750
+ month: "long"
751
+ }),
752
+ []
753
+ ), Nt = u(
754
+ () => ({
755
+ weekday: "short"
756
+ }),
757
+ []
758
+ ), Lt = u(
759
+ () => ({
760
+ hour: "numeric",
761
+ minute: "2-digit"
762
+ }),
763
+ []
764
+ ), Pt = u(
765
+ () => ({
766
+ hour: "2-digit",
767
+ minute: "2-digit",
768
+ /* 24-hour axis — matches the event cards' range text (hour12
769
+ false there too) and the platform's EU clock. */
770
+ hour12: !1
771
+ }),
772
+ []
773
+ ), M = u(
774
+ () => new Set(Ee ?? []),
775
+ [Ee]
776
+ ), pe = g(M);
777
+ pe.current = M;
778
+ const he = g(!1), Mt = T(
779
+ (e) => {
780
+ const t = new Intl.DateTimeFormat(y, {
781
+ weekday: "short"
782
+ }).format(e.date);
783
+ if (e.view.type === "dayGridMonth" || e.view.type.startsWith("list"))
784
+ return t;
785
+ const n = new Intl.DateTimeFormat(y, {
786
+ calendar: "gregory",
787
+ day: "numeric"
788
+ }).format(e.date);
789
+ return /* @__PURE__ */ P("span", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)]", children: [
790
+ /* @__PURE__ */ l("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: t }),
791
+ /* @__PURE__ */ l(
792
+ "span",
793
+ {
794
+ className: e.isToday ? "ds:flex ds:size-7 ds:items-center ds:justify-center ds:rounded-full ds:bg-[var(--primary)] ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:leading-none ds:text-[color:var(--primary-foreground)]" : "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:leading-none",
795
+ children: n
796
+ }
797
+ ),
798
+ M.has(V(e.date)) ? /* @__PURE__ */ l(Ir, { children: f("calendar.loadingDay") }) : null
799
+ ] });
800
+ },
801
+ [y, M, f]
802
+ ), Fe = u(
803
+ () => typeof X == "number" ? { minutes: X } : X,
804
+ [X]
805
+ ), ge = u(
806
+ () => F ? F.split(/\s+/).filter(Boolean) : void 0,
807
+ [F]
808
+ ), Gt = u(() => {
809
+ if (Y !== void 0)
810
+ return Y === "chairs" ? f("calendar.resourceLabel.chairs") : Y === "operators" ? f("calendar.resourceLabel.operators") : Y;
811
+ }, [Y, f]), se = u(
812
+ () => Wr(s, ue),
813
+ [s, ue]
814
+ ), j = g(se);
815
+ j.current = se;
816
+ const ye = g(!1), Bt = T(
817
+ (e) => {
818
+ const t = M.has(V(e.date)) ? [Fr] : [], n = j.current;
819
+ if (!n.active || !e.view.type.startsWith("resourceTimeGrid"))
820
+ return t;
821
+ const a = e.resource;
822
+ return a != null && a.id && n.hiddenCells.has(
823
+ `${a.id}:${V(e.date)}`
824
+ ) ? [...t, xe] : t;
825
+ },
826
+ [M]
827
+ ), Ot = T(
828
+ (e) => {
829
+ const t = j.current;
830
+ if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
831
+ return [];
832
+ const n = e.date ?? e.view.currentStart;
833
+ return t.hiddenCells.has(
834
+ `${e.resource.id}:${V(n)}`
835
+ ) ? [xe] : [];
836
+ },
837
+ []
838
+ ), Ft = T(
839
+ (e) => {
840
+ const t = j.current;
841
+ return !t.active || !e.view.type.startsWith("resourceTimeGrid") ? [] : (t.hiddenCountByDate.get(V(e.date)) ?? 0) >= t.resourceCount ? [xe] : [];
842
+ },
843
+ []
844
+ ), Wt = T((e) => {
845
+ const t = j.current;
846
+ if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
847
+ return;
848
+ const n = e.el;
849
+ if (!(n instanceof HTMLTableCellElement) || !n.classList.contains("fc-day")) return;
850
+ const a = n.getAttribute("data-date");
851
+ if (!a) return;
852
+ const i = t.hiddenCountByDate.get(a) ?? 0, d = Math.max(1, t.resourceCount - i);
853
+ n.colSpan !== d && (n.colSpan = d, ye.current = !0);
854
+ }, []), J = T(() => {
855
+ const e = N.current;
856
+ if (!e || !Be.current.startsWith("resourceTimeGrid")) return;
857
+ const t = j.current;
858
+ !t.active && !ye.current || (e.querySelectorAll(
859
+ "th.fc-col-header-cell.fc-day[data-date]"
860
+ ).forEach((n) => {
861
+ const a = n.getAttribute("data-date");
862
+ if (!a) return;
863
+ const i = t.active ? t.hiddenCountByDate.get(a) ?? 0 : 0, d = Math.max(1, t.resourceCount - i);
864
+ n.colSpan !== d && (n.colSpan = d);
865
+ }), ye.current = t.active);
866
+ }, []), Z = T(() => {
867
+ const e = N.current;
868
+ if (!e) return;
869
+ const t = pe.current;
870
+ t.size === 0 && !he.current || (e.querySelectorAll("td.fc-day[data-date]").forEach((n) => {
871
+ const a = n.getAttribute("data-date");
872
+ a && t.has(a) ? n.setAttribute("aria-busy", "true") : n.removeAttribute("aria-busy");
873
+ }), he.current = t.size > 0);
874
+ }, []), zt = T((e) => {
875
+ pe.current.has(V(e.date)) && (e.el.setAttribute("aria-busy", "true"), he.current = !0);
876
+ }, []);
877
+ b(() => {
878
+ }, [o, se]);
879
+ const G = (e) => {
880
+ const t = e.extendedProps ?? {};
881
+ return {
882
+ id: e.id,
883
+ title: e.title,
884
+ start: e.start ?? /* @__PURE__ */ new Date(),
885
+ end: e.end ?? void 0,
886
+ resourceId: t.resourceId,
887
+ status: t.status,
888
+ allDay: e.allDay,
889
+ backgroundColor: t.backgroundColor,
890
+ textColor: t.textColor,
891
+ borderColor: t.borderColor,
892
+ suffix: t.suffix,
893
+ shortTitle: t.shortTitle,
894
+ contextLabel: t.contextLabel,
895
+ contextName: t.contextName,
896
+ privacyModeTitle: t.privacyModeTitle,
897
+ isBookedOnline: t.isBookedOnline,
898
+ hasUnassignedPatient: t.hasUnassignedPatient,
899
+ hasHighlightedAnamnesis: t.hasHighlightedAnamnesis,
900
+ hasBillableAmount: t.hasBillableAmount,
901
+ isTelehealth: t.isTelehealth,
902
+ isRecurring: t.isRecurring,
903
+ isRecurrenceParent: t.isRecurrenceParent,
904
+ isInternal: t.isInternal,
905
+ isTask: t.isTask,
906
+ detailsPending: t.detailsPending,
907
+ editable: t.editable,
908
+ startEditable: t.startEditable,
909
+ patientId: t.patientId,
910
+ operatorId: t.operatorId,
911
+ optionCount: t.optionCount
912
+ };
913
+ }, Ht = u(() => {
914
+ if (x)
915
+ return (e) => {
916
+ var n, a, i;
917
+ if (!e.event.start) return;
918
+ const t = e.oldEvent.start;
919
+ if (t && (x({
920
+ event: G(e.event),
921
+ oldStart: t,
922
+ newStart: e.event.start,
923
+ oldResourceId: (n = e.oldResource) == null ? void 0 : n.id,
924
+ newResourceId: (a = e.newResource) == null ? void 0 : a.id,
925
+ revert: e.revert
926
+ }), I.current)) {
927
+ const d = e.event.extendedProps ?? {}, c = w ? ((i = d.privacyModeTitle) == null ? void 0 : i.trim()) || "•••" : e.event.title;
928
+ I.current.textContent = f("calendar.eventMoved", {
929
+ title: c
930
+ });
931
+ }
932
+ };
933
+ }, [x, w, f]), jt = u(() => {
934
+ if (R)
935
+ return (e) => {
936
+ var i;
937
+ if (!e.event.end) return;
938
+ const t = e.oldEvent.end;
939
+ if (!t)
940
+ return;
941
+ const n = e.event.end, a = e.event.start ?? e.oldEvent.start ?? t;
942
+ if (R({
943
+ event: G(e.event),
944
+ oldEnd: t,
945
+ newEnd: n,
946
+ revert: e.revert
947
+ }), I.current) {
948
+ const d = Math.round(
949
+ (n.getTime() - a.getTime()) / 6e4
950
+ ), c = e.event.extendedProps ?? {}, v = w ? ((i = c.privacyModeTitle) == null ? void 0 : i.trim()) || "•••" : e.event.title;
951
+ I.current.textContent = f("calendar.eventResized", {
952
+ title: v,
953
+ duration: d
954
+ });
955
+ }
956
+ };
957
+ }, [R, w, f]), _t = u(() => {
958
+ if (C)
959
+ return (e) => {
960
+ e.event.start && (Pe.current = e.jsEvent, C(G(e.event), {
961
+ el: e.el,
962
+ jsEvent: e.jsEvent
963
+ }));
964
+ };
965
+ }, [C]), Vt = u(() => {
966
+ if ($)
967
+ return (e) => {
968
+ if (!e.event.start || e.event.display === "background") return;
969
+ const t = e.event.extendedProps ?? {};
970
+ t.isDraft || t.detailsPending || $(G(e.event), {
971
+ el: e.el,
972
+ jsEvent: e.jsEvent
973
+ });
974
+ };
975
+ }, [$]), qt = u(() => {
976
+ if (K)
977
+ return (e) => {
978
+ e.event.start && e.event.display !== "background" && K(G(e.event));
979
+ };
980
+ }, [K]), $t = u(() => {
981
+ if (B)
982
+ return (e) => {
983
+ var t;
984
+ B({
985
+ start: e.start,
986
+ end: e.end,
987
+ allDay: e.allDay,
988
+ resourceId: (t = e.resource) == null ? void 0 : t.id
989
+ });
990
+ };
991
+ }, [B]), Kt = u(() => {
992
+ if (k)
993
+ return (e) => {
994
+ var n;
995
+ const t = ie.current.id;
996
+ t !== 0 && Ge.current === t || (t !== 0 && (Me.current = t), k({
997
+ date: e.date,
998
+ allDay: e.allDay,
999
+ resourceId: (n = e.resource) == null ? void 0 : n.id
1000
+ }));
1001
+ };
1002
+ }, [k]), Ut = T(
1003
+ (e) => {
1004
+ It(e.view.title), St(e.view.type), O == null || O({
1005
+ view: m,
1006
+ internalView: e.view.type,
1007
+ start: e.start,
1008
+ end: e.end,
1009
+ /* info.view.calendar is available even on the very first datesSet
1010
+ tick, which fires before fcRef is guaranteed to be assigned. */
1011
+ currentDate: e.view.calendar.getDate(),
1012
+ title: e.view.title
1013
+ }), J(), Z();
1014
+ },
1015
+ [O, m, J, Z]
1016
+ ), Yt = u(() => Or(y), [y]), Xt = u(
1017
+ () => [
1018
+ mr,
1019
+ fr,
1020
+ vr,
1021
+ br,
1022
+ pr,
1023
+ hr,
1024
+ gr,
1025
+ yr
1026
+ ],
1027
+ []
1028
+ ), Jt = u(
1029
+ () => be(m, U),
1030
+ [m, U]
1031
+ );
1032
+ b(() => {
1033
+ const e = N.current;
1034
+ if (!e) return;
1035
+ const t = (n) => {
1036
+ ie.current = {
1037
+ id: ie.current.id + 1,
1038
+ x: n.clientX,
1039
+ y: n.clientY
1040
+ };
1041
+ };
1042
+ return e.addEventListener("pointerdown", t, !0), () => e.removeEventListener("pointerdown", t, !0);
1043
+ }, []), b(() => {
1044
+ const e = N.current;
1045
+ if (!e || !H.startsWith("resourceTimeGrid") || !k && !C) return;
1046
+ const t = (n) => {
1047
+ var h;
1048
+ if (n === Pe.current) return;
1049
+ const a = n.target;
1050
+ if (!(a instanceof Element) || a.closest(
1051
+ ".fc-more-link, a[data-navlink], .fc-popover, .fc-event-mirror"
1052
+ ))
1053
+ return;
1054
+ const i = ie.current;
1055
+ if (i.id !== 0 && (Math.abs(n.clientX - i.x) > Te || Math.abs(n.clientY - i.y) > Te))
1056
+ return;
1057
+ const d = a.closest("td.fc-daygrid-day[data-date]");
1058
+ if (!d) return;
1059
+ const c = a.closest("[data-event-id]");
1060
+ if (c) {
1061
+ if (!C) return;
1062
+ const E = c.getAttribute("data-event-id"), _ = (h = A.current) == null ? void 0 : h.getApi(), de = E ? _ == null ? void 0 : _.getEventById(E) : null;
1063
+ if (!de || !de.start) return;
1064
+ const He = de.extendedProps ?? {};
1065
+ if (He.isInternal || He.isDraft) return;
1066
+ const dr = a.closest(".fc-event") ?? c;
1067
+ C(G(de), { el: dr, jsEvent: n });
1068
+ return;
1069
+ }
1070
+ if (!k || i.id !== 0 && Me.current === i.id)
1071
+ return;
1072
+ const v = d.getAttribute("data-date");
1073
+ if (!v) return;
1074
+ const S = /* @__PURE__ */ new Date(`${v}T00:00:00`);
1075
+ Number.isNaN(S.getTime()) || (i.id !== 0 && (Ge.current = i.id), k({
1076
+ date: S,
1077
+ allDay: !0,
1078
+ resourceId: d.getAttribute("data-resource-id") ?? void 0
1079
+ }));
1080
+ };
1081
+ return e.addEventListener("click", t), () => e.removeEventListener("click", t);
1082
+ }, [H, k, C]);
1083
+ const We = u(() => {
1084
+ var i;
1085
+ const e = s ?? [], t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
1086
+ for (const d of e) {
1087
+ const c = (i = d.shortTitle) == null ? void 0 : i.trim();
1088
+ c && n.set(c, (n.get(c) ?? 0) + 1);
1089
+ }
1090
+ let a = e.filter((d) => {
1091
+ var v;
1092
+ const c = (v = d.shortTitle) == null ? void 0 : v.trim();
1093
+ return c && n.get(c) === 1 ? (t.set(d.id, c), !1) : !0;
1094
+ });
1095
+ for (let d = 1; a.length > 0; d += 1) {
1096
+ const c = new Set(t.values()), v = a.map((h) => ({
1097
+ resource: h,
1098
+ short: je(h.title, { locale: y, letters: d })
1099
+ })), S = /* @__PURE__ */ new Map();
1100
+ for (const { short: h } of v)
1101
+ S.set(h, (S.get(h) ?? 0) + 1);
1102
+ a = v.filter(({ resource: h, short: E }) => {
1103
+ const _ = S.get(E) === 1 && !c.has(E);
1104
+ return (_ || d >= 3) && t.set(h.id, E), !_ && d < 3;
1105
+ }).map(({ resource: h }) => h);
1106
+ }
1107
+ return t;
1108
+ }, [s, y]), Zt = T(
1109
+ (e) => {
1110
+ const t = e.resource.extendedProps, n = e.resource.title, a = t.color, i = t.shortTitleTextColor, d = a || i ? {
1111
+ ...a ? { "--resource-color": a } : {},
1112
+ ...i ? {
1113
+ "--resource-initials-text-color": i
1114
+ } : {}
1115
+ } : void 0;
1116
+ return Ne === "chip" && !me ? /* @__PURE__ */ l(
1117
+ Ar,
1118
+ {
1119
+ label: n,
1120
+ shortLabel: We.get(e.resource.id) ?? je(n, { locale: y }),
1121
+ color: a,
1122
+ orientation: fe ? "vertical" : "horizontal"
1123
+ }
1124
+ ) : me ? /* @__PURE__ */ l(_e, { label: n, children: /* @__PURE__ */ l(Cr, { size: "sm", name: n, src: t.avatarSrc }) }) : a ? (a && i && wr(a, i, `resource ${e.resource.id}`), /* @__PURE__ */ P(
1125
+ "span",
1126
+ {
1127
+ className: "calendar-resource-label ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
1128
+ title: n,
1129
+ children: [
1130
+ /* @__PURE__ */ l(
1131
+ "span",
1132
+ {
1133
+ className: "resource-dot ds:[background-color:var(--resource-color)]",
1134
+ style: d,
1135
+ "aria-hidden": "true"
1136
+ }
1137
+ ),
1138
+ /* @__PURE__ */ l("span", { className: "ds:truncate ds:text-start", children: n })
1139
+ ]
1140
+ }
1141
+ )) : /* @__PURE__ */ l(
1142
+ "span",
1143
+ {
1144
+ className: "calendar-resource-label ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
1145
+ title: n,
1146
+ children: /* @__PURE__ */ l("span", { className: "ds:truncate ds:text-start", children: n })
1147
+ }
1148
+ );
1149
+ },
1150
+ [
1151
+ me,
1152
+ Ne,
1153
+ fe,
1154
+ y,
1155
+ We
1156
+ ]
1157
+ ), ze = u(
1158
+ () => s == null ? void 0 : s.map((e) => ({
1159
+ id: e.id,
1160
+ title: e.title,
1161
+ sequenceNumber: e.sequenceNumber,
1162
+ extendedProps: {
1163
+ shortTitle: e.shortTitle,
1164
+ color: e.color,
1165
+ shortTitleTextColor: e.shortTitleTextColor,
1166
+ avatarSrc: e.avatarSrc,
1167
+ sequenceNumber: e.sequenceNumber
1168
+ }
1169
+ })),
1170
+ [s]
1171
+ );
1172
+ b(() => {
1173
+ J();
1174
+ const e = requestAnimationFrame(J);
1175
+ return () => cancelAnimationFrame(e);
1176
+ }, [se, ze, H, J]), b(() => {
1177
+ Z();
1178
+ const e = requestAnimationFrame(Z);
1179
+ return () => cancelAnimationFrame(e);
1180
+ }, [M, H, Z]);
1181
+ const Qt = T(() => {
1182
+ var e, t;
1183
+ (t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.today();
1184
+ }, []), er = T(() => {
1185
+ var e, t;
1186
+ (t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.prev();
1187
+ }, []), tr = T(() => {
1188
+ var e, t;
1189
+ (t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.next();
1190
+ }, []), rr = u(
1191
+ () => o.some((e) => e.isDraft),
1192
+ [o]
1193
+ ), nr = [
1194
+ "fc-theme-alfadocs",
1195
+ Rr({ density: it }),
1196
+ xt ? "calendar-zebra-rows" : null,
1197
+ fe ? "calendar-vertical-resource-labels" : null,
1198
+ bt ? "calendar-availability-mode" : null,
1199
+ /* Composing: derived from the events themselves rather than a prop,
1200
+ so the dim can never disagree with what is on the grid. */
1201
+ rr ? "calendar-composing-mode" : null,
1202
+ "ds:bg-background ds:text-foreground",
1203
+ /* The radius clips the table's square corners; the frame is this
1204
+ border, not FullCalendar's. `clip`, not `hidden`: a scroll container
1205
+ here would stop the sticky date header sticking. */
1206
+ "ds:rounded-[var(--radius-md)] ds:border ds:border-[var(--border)] ds:overflow-clip",
1207
+ /* Legacy host sheets set `.fc-view, .fc-view > table { overflow: hidden }`,
1208
+ which scrolls the date header away; FullCalendar's own value is
1209
+ visible. Important, as the host rule is unlayered. */
1210
+ "ds:[&_.fc-view]:!overflow-visible ds:[&_.fc-view>table]:!overflow-visible",
1211
+ nt
1212
+ ].filter(Boolean).join(" "), ar = ne || ae ? {
1213
+ ...ne ? { "--calendar-mode-bg": ne } : {},
1214
+ ...ae ? { "--calendar-mode-fg": ae } : {}
1215
+ } : void 0, ir = re !== "default" ? ot ?? f(Br[re]) : "", or = [
1216
+ "ds:sticky ds:top-0 ds:z-10",
1217
+ "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
1218
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
1219
+ "ds:py-[var(--spacing-sm)]",
1220
+ /* Caller-supplied colours flow through CSS custom properties set
1221
+ in `modeBannerStyle`; fallback tokens apply when the caller
1222
+ doesn't supply a hex. */
1223
+ ne ? "ds:[background-color:var(--calendar-mode-bg)]" : "ds:bg-[var(--muted)]",
1224
+ ae ? "ds:[color:var(--calendar-mode-fg)]" : "ds:text-[var(--muted-foreground)]"
1225
+ ].filter(Boolean).join(" "), sr = [
1226
+ "ds:inline-flex ds:items-center ds:justify-center",
1227
+ "ds:min-h-[var(--min-target-size)]",
1228
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
1229
+ "ds:rounded-[var(--radius-full)]",
1230
+ "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
1231
+ "ds:border ds:border-[var(--border)]",
1232
+ "ds:font-[var(--font-weight-medium)] ds:text-[length:var(--font-size-sm)]",
1233
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
1234
+ "ds:hover:bg-[var(--muted)]",
1235
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
1236
+ "ds:focus-visible:outline-[var(--ring)]",
1237
+ "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1238
+ "ds:motion-reduce:transition-none"
1239
+ ].join(" ");
1240
+ return /* @__PURE__ */ P(
1241
+ "div",
1242
+ {
1243
+ ref: N,
1244
+ className: nr,
1245
+ role: "region",
1246
+ "aria-label": f("calendar.ariaLabel"),
1247
+ "data-component": "calendar",
1248
+ "data-component-id": r,
1249
+ "data-mode": re,
1250
+ children: [
1251
+ /* @__PURE__ */ l(
1252
+ "div",
1253
+ {
1254
+ ref: I,
1255
+ "aria-live": "polite",
1256
+ "aria-atomic": "true",
1257
+ className: ["ds:sr-only", F].filter(Boolean).join(" ")
1258
+ }
1259
+ ),
1260
+ st,
1261
+ re !== "default" ? /* @__PURE__ */ P(
1262
+ "div",
1263
+ {
1264
+ className: or,
1265
+ style: ar,
1266
+ role: "status",
1267
+ "data-calendar-mode-banner": "",
1268
+ children: [
1269
+ /* @__PURE__ */ l(
1270
+ "span",
1271
+ {
1272
+ className: ["ds:flex-1 ds:text-start", F].filter(Boolean).join(" "),
1273
+ children: ir
1274
+ }
1275
+ ),
1276
+ Ie ? /* @__PURE__ */ l(
1277
+ "button",
1278
+ {
1279
+ type: "button",
1280
+ onClick: Ie,
1281
+ className: sr,
1282
+ children: f("calendar.modeBanner.cancel")
1283
+ }
1284
+ ) : null
1285
+ ]
1286
+ }
1287
+ ) : null,
1288
+ gt !== !1 ? /* @__PURE__ */ l(
1289
+ De,
1290
+ {
1291
+ title: At,
1292
+ onToday: Qt,
1293
+ onPrev: er,
1294
+ onNext: tr,
1295
+ end: yt,
1296
+ maskClassName: F
1297
+ }
1298
+ ) : null,
1299
+ /* @__PURE__ */ l(
1300
+ ur,
1301
+ {
1302
+ ref: A,
1303
+ plugins: Xt,
1304
+ schedulerLicenseKey: ht,
1305
+ initialView: Jt,
1306
+ views: Gr,
1307
+ initialDate: p,
1308
+ locale: Dt,
1309
+ direction: Ct,
1310
+ firstDay: Yt,
1311
+ editable: te,
1312
+ eventDurationEditable: te === !1 ? !1 : et ?? te,
1313
+ selectable: ke,
1314
+ selectMirror: tt ?? ke,
1315
+ ...Ae === void 0 ? {} : { unselectAuto: Ae },
1316
+ droppable: te,
1317
+ dayMaxEvents: pt,
1318
+ height: rt,
1319
+ expandRows: !0,
1320
+ events: Et,
1321
+ resources: ze,
1322
+ resourceOrder: "sequenceNumber",
1323
+ resourceLabelContent: Zt,
1324
+ resourceAreaWidth: Tt,
1325
+ resourceAreaHeaderContent: Gt,
1326
+ dayCellClassNames: Bt,
1327
+ dayCellDidMount: zt,
1328
+ dayHeaderClassNames: Ft,
1329
+ resourceLabelClassNames: Ot,
1330
+ dayHeaderDidMount: Wt,
1331
+ ...ge ? { slotLaneClassNames: ge } : {},
1332
+ eventClassNames: (e) => {
1333
+ var t;
1334
+ return [
1335
+ ...ge ?? [],
1336
+ ...Le && e.event.id === Le ? ["calendar-event-selected"] : [],
1337
+ ...(t = e.event.extendedProps) != null && t.isDraft ? ["calendar-event-draft"] : []
1338
+ ];
1339
+ },
1340
+ headerToolbar: !1,
1341
+ allDayText: f("calendar.allDay"),
1342
+ noEventsText: f("calendar.noEvents"),
1343
+ titleFormat: Rt,
1344
+ dayHeaderFormat: Nt,
1345
+ dayHeaderContent: Mt,
1346
+ eventTimeFormat: Lt,
1347
+ slotLabelFormat: Pt,
1348
+ slotMinTime: dt ?? "00:00:00",
1349
+ slotMaxTime: lt ?? "24:00:00",
1350
+ slotDuration: ct ?? "00:30:00",
1351
+ ...Re ? { snapDuration: Re } : {},
1352
+ slotLabelInterval: "01:00:00",
1353
+ ...Fe !== void 0 ? { defaultTimedEventDuration: Fe } : {},
1354
+ hiddenDays: Se,
1355
+ datesAboveResources: ue,
1356
+ slotEventOverlap: mt,
1357
+ stickyHeaderDates: ft,
1358
+ nowIndicator: vt,
1359
+ eventLongPressDelay: oe ? 0 : 1e3,
1360
+ eventDragMinDistance: oe ? 0 : Te,
1361
+ eventContent: (e) => {
1362
+ var n, a;
1363
+ const t = e.event.extendedProps ?? {};
1364
+ if (t.isInternal) {
1365
+ if (e.event.title && ee) {
1366
+ const i = typeof t.optionCount == "number" ? f("calendarWorkspace.findSlots.freeOptions", {
1367
+ count: t.optionCount
1368
+ }) : void 0, d = i ? [
1369
+ e.event.title,
1370
+ Ue(e, y),
1371
+ i
1372
+ ].filter(Boolean).join(", ") : e.event.title, c = /* @__PURE__ */ l(
1373
+ kr,
1374
+ {
1375
+ type: "button",
1376
+ intent: "ghost",
1377
+ size: "sm",
1378
+ "data-event-id": e.event.id,
1379
+ "aria-label": d,
1380
+ className: "ds:pointer-events-auto ds:h-full ds:w-full ds:min-h-0 ds:justify-center ds:before:hidden",
1381
+ onClick: (v) => {
1382
+ v.stopPropagation(), ee(G(e.event), {
1383
+ el: v.currentTarget,
1384
+ jsEvent: v.nativeEvent
1385
+ });
1386
+ },
1387
+ children: /* @__PURE__ */ P(
1388
+ "span",
1389
+ {
1390
+ className: "calendar-bg-event-label",
1391
+ "aria-hidden": "true",
1392
+ children: [
1393
+ /* @__PURE__ */ l(Ve, { size: 12, "aria-hidden": "true" }),
1394
+ e.event.title
1395
+ ]
1396
+ }
1397
+ )
1398
+ }
1399
+ );
1400
+ return i ? /* @__PURE__ */ l(_e, { label: i, children: c }) : c;
1401
+ }
1402
+ return e.event.title ? /* @__PURE__ */ P("span", { className: "calendar-bg-event-label", children: [
1403
+ /* @__PURE__ */ l(Ve, { size: 12, "aria-hidden": "true" }),
1404
+ e.event.title
1405
+ ] }) : !0;
1406
+ }
1407
+ return /* @__PURE__ */ l(
1408
+ Dr,
1409
+ {
1410
+ eventId: e.event.id,
1411
+ title: w ? ((n = t.privacyModeTitle) == null ? void 0 : n.trim()) || "•••" : e.event.title,
1412
+ shortTitle: w ? void 0 : t.shortTitle,
1413
+ contextLabel: t.contextLabel,
1414
+ contextName: t.contextName,
1415
+ startText: Hr(e.event.start, y),
1416
+ layout: e.event.allDay || e.view.type.startsWith("dayGrid") ? "month" : e.view.type.startsWith("list") || e.view.type.toLowerCase().includes("timeline") ? "flow" : "grid",
1417
+ privacyMasked: w,
1418
+ suffix: t.suffix,
1419
+ rangeText: Ue(e, y),
1420
+ showTime: ut,
1421
+ allDay: e.event.allDay,
1422
+ status: t.status,
1423
+ colorStyle: at,
1424
+ backgroundColor: t.backgroundColor,
1425
+ textColor: t.textColor,
1426
+ borderColor: t.borderColor,
1427
+ isBookedOnline: t.isBookedOnline,
1428
+ hasUnassignedPatient: t.hasUnassignedPatient,
1429
+ hasHighlightedAnamnesis: t.hasHighlightedAnamnesis,
1430
+ hasBillableAmount: t.hasBillableAmount,
1431
+ isTelehealth: t.isTelehealth,
1432
+ isRecurring: t.isRecurring,
1433
+ isTask: t.isTask,
1434
+ isDraft: t.isDraft,
1435
+ detailsPending: t.detailsPending,
1436
+ resourceLabel: t.resourceId ? (a = (s ?? []).find((i) => i.id === t.resourceId)) == null ? void 0 : a.title : void 0
1437
+ }
1438
+ );
1439
+ },
1440
+ eventClick: _t,
1441
+ eventMouseEnter: Vt,
1442
+ eventMouseLeave: qt,
1443
+ eventDrop: Ht,
1444
+ eventResize: jt,
1445
+ eventDragStart: q,
1446
+ eventResizeStart: Q,
1447
+ select: $t,
1448
+ dateClick: Kt,
1449
+ datesSet: Ut,
1450
+ ...Ce ? {
1451
+ navLinks: !0,
1452
+ navLinkDayClick: (e, t) => Ce(e, t)
1453
+ } : {}
1454
+ }
1455
+ )
1456
+ ]
1457
+ }
1458
+ );
1459
+ }
1460
+ );
1461
+ Qe.displayName = "Calendar";
1462
+ const Vr = Qe;
1463
+ Vr.Toolbar = De;
1464
+ export {
1465
+ Vr as C,
1466
+ Er as c,
1467
+ be as r
1468
+ };
1469
+ //# sourceMappingURL=calendar-BwF5nQuW.js.map