@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
@@ -1,47 +1,47 @@
1
- import { useMemo as _, useCallback as k, useState as z, cloneElement as W, useId as Y } from "react";
1
+ import { useMemo as _, useCallback as C, useState as z, cloneElement as W, useId as Y } from "react";
2
2
  import { u as Z } from "./use-controllable-state-BiY4xTzM.js";
3
3
  import { jsxs as V, jsx as t, Fragment as q } from "react/jsx-runtime";
4
4
  import { useTranslation as A } from "react-i18next";
5
- import { B as ee } from "./button-18oBsI3n.js";
6
- import { I } from "./icon-button-CY7GU_Se.js";
7
- import { C as j } from "./checkbox-CZkipDn7.js";
8
- import { P as O } from "./popover-Dvb40vPH.js";
5
+ import { B as ee } from "./button-CYPx2xFq.js";
6
+ import { I } from "./icon-button-JAXAkqWC.js";
7
+ import { C as U } from "./checkbox-CZkipDn7.js";
8
+ import { P as O } from "./popover-CGYPYIVi.js";
9
9
  import { S as te } from "./separator-CYU_bGFn.js";
10
10
  import { S as ae } from "./settings-d25ju_6L.js";
11
- import { G as ne } from "./grip-vertical-onSb1JXO.js";
12
- import { D as $ } from "./description-list-1A2DEbE6.js";
13
- import { B as R } from "./badge-BAkd6_Pj.js";
14
- import { L as se } from "./link-CPb_pZPr.js";
15
- import { T as re } from "./transaction-chip-CwgcJiqF.js";
11
+ import { G as se } from "./grip-vertical-onSb1JXO.js";
12
+ import { D as $ } from "./description-list-9rchqp5q.js";
13
+ import { B as j } from "./badge-hnBt8o7n.js";
14
+ import { L as re } from "./link-BlVUIKk1.js";
15
+ import { T as ne } from "./transaction-chip-CohY6sTA.js";
16
16
  import { H as ie } from "./hash-CSQ9SChR.js";
17
17
  import { C as oe } from "./calendar-days-BGWklvE-.js";
18
- import { c as U } from "./createLucideIcon-DhHxpK9K.js";
18
+ import { c as R } from "./createLucideIcon-DhHxpK9K.js";
19
19
  import { U as le } from "./user-B12p7bVF.js";
20
- import { C as ce } from "./city-input-BGYc4lRV.js";
21
- import { C as de } from "./country-select-C5jZjO8O.js";
22
- import { D as ue } from "./date-picker-6tFnKFty.js";
23
- import { E as me } from "./email-input-Dpe63k0K.js";
24
- import { F as pe } from "./fiscal-code-input-BEF8eKIG.js";
25
- import { N as fe } from "./number-input-Cgu2TtA8.js";
26
- import { P as ge } from "./phone-input-sQj-zi59.js";
27
- import { P as he } from "./postal-code-input-BznBxVxf.js";
28
- import { P as ye } from "./province-select-BiszMRRY.js";
29
- import { S as be } from "./select-upNAltly.js";
30
- import { S as ve } from "./switch-OILsBLWo.js";
31
- import { T as xe } from "./text-area-Bt3p7Pt0.js";
32
- import { T as Ce } from "./text-input-CUvCb6ST.js";
20
+ import { C as ce } from "./city-input-CAnTVgBZ.js";
21
+ import { C as de } from "./country-select-BYa4BrEi.js";
22
+ import { D as ue } from "./date-picker-p9yz3pxc.js";
23
+ import { E as me } from "./email-input-ebdovOmh.js";
24
+ import { F as pe } from "./fiscal-code-input-CuuE8_dt.js";
25
+ import { N as fe } from "./number-input-BLrx3utH.js";
26
+ import { P as ge } from "./phone-input-opMMHkyh.js";
27
+ import { P as he } from "./postal-code-input-Dv02t5MD.js";
28
+ import { P as ye } from "./province-select-BZtM0RSR.js";
29
+ import { S as be } from "./select-Br88h070.js";
30
+ import { S as ve } from "./switch-DXGD2Drz.js";
31
+ import { T as xe } from "./text-area-Cjtw7mna.js";
32
+ import { T as ke } from "./text-input-CLaItY93.js";
33
33
  import { C as K } from "./check-DrFSN__t.js";
34
- import { X as ke } from "./x-B5YnXwCz.js";
34
+ import { X as Ce } from "./x-B5YnXwCz.js";
35
35
  import { P as Ve } from "./pencil-B1sKKyuT.js";
36
36
  import { L as Ne } from "./lock-ClAFG1gy.js";
37
- import { C as De } from "./copy-vRpqqHtY.js";
37
+ import { C as we } from "./copy-vRpqqHtY.js";
38
38
  /**
39
39
  * @license lucide-react v1.22.0 - ISC
40
40
  *
41
41
  * This source code is licensed under the ISC license.
42
42
  * See the LICENSE file in the root directory of this source tree.
43
43
  */
44
- const we = [
44
+ const De = [
45
45
  ["path", { d: "M5 22h14", key: "ehvnwv" }],
46
46
  ["path", { d: "M5 2h14", key: "pdyrp9" }],
47
47
  [
@@ -55,7 +55,7 @@ const we = [
55
55
  "path",
56
56
  { d: "M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2", key: "1vvvr6" }
57
57
  ]
58
- ], Se = U("hourglass", we);
58
+ ], Se = R("hourglass", De);
59
59
  /**
60
60
  * @license lucide-react v1.22.0 - ISC
61
61
  *
@@ -66,7 +66,7 @@ const Te = [
66
66
  ["path", { d: "M16 3h5v5", key: "1806ms" }],
67
67
  ["path", { d: "m21 3-6.75 6.75", key: "pv0uzu" }],
68
68
  ["circle", { cx: "10", cy: "14", r: "6", key: "1qwbdc" }]
69
- ], ze = U("mars", Te);
69
+ ], ze = R("mars", Te);
70
70
  /**
71
71
  * @license lucide-react v1.22.0 - ISC
72
72
  *
@@ -77,49 +77,49 @@ const Pe = [
77
77
  ["path", { d: "M12 15v7", key: "t2xh3l" }],
78
78
  ["path", { d: "M9 19h6", key: "456am0" }],
79
79
  ["circle", { cx: "12", cy: "9", r: "6", key: "1nw4tq" }]
80
- ], Ae = U("venus", Pe);
80
+ ], Ae = R("venus", Pe);
81
81
  function X(e) {
82
- return e.flatMap((n) => n.fields.map((a) => a.id));
82
+ return e.flatMap((s) => s.fields.map((a) => a.id));
83
83
  }
84
- function Nt(e, n) {
85
- const a = n ?? X(e), s = new Map(a.map((r, h) => [r, h]));
86
- return e.map((r) => ({
87
- section: r,
88
- fields: r.fields.filter((h) => s.has(h.id)).sort(
89
- (h, l) => s.get(h.id) - s.get(l.id)
84
+ function Nt(e, s) {
85
+ const a = s ?? X(e), r = new Map(a.map((n, h) => [n, h]));
86
+ return e.map((n) => ({
87
+ section: n,
88
+ fields: n.fields.filter((h) => r.has(h.id)).sort(
89
+ (h, l) => r.get(h.id) - r.get(l.id)
90
90
  )
91
91
  }));
92
92
  }
93
- function Dt(e, { value: n, defaultValue: a, onChange: s } = {}) {
94
- const r = _(
93
+ function wt(e, { value: s, defaultValue: a, onChange: r } = {}) {
94
+ const n = _(
95
95
  () => X(e),
96
96
  [e]
97
97
  ), [h, l] = Z({
98
- value: n,
99
- defaultValue: a ?? r,
100
- onChange: s
101
- }), c = h ?? a ?? r, m = _(() => {
98
+ value: s,
99
+ defaultValue: a ?? n,
100
+ onChange: r
101
+ }), c = h ?? a ?? n, m = _(() => {
102
102
  const g = /* @__PURE__ */ new Map();
103
103
  for (const y of e)
104
104
  for (const x of y.fields)
105
105
  g.set(x.id, { field: x, sectionId: y.id });
106
106
  return g;
107
- }, [e]), d = k(
107
+ }, [e]), d = C(
108
108
  (g) => {
109
109
  l(g.filter((y) => m.has(y)));
110
110
  },
111
111
  [l, m]
112
- ), i = k(
112
+ ), i = C(
113
113
  (g) => {
114
114
  d(
115
115
  c.includes(g) ? c.filter((y) => y !== g) : [...c, g]
116
116
  );
117
117
  },
118
118
  [c, d]
119
- ), E = k(
119
+ ), E = C(
120
120
  (g, y) => {
121
- var D;
122
- const x = ((D = e.find((p) => p.id === g)) == null ? void 0 : D.fields.map((p) => p.id)) ?? [], P = new Set(x);
121
+ var w;
122
+ const x = ((w = e.find((p) => p.id === g)) == null ? void 0 : w.fields.map((p) => p.id)) ?? [], P = new Set(x);
123
123
  if (y) {
124
124
  const p = x.filter((u) => !c.includes(u));
125
125
  d([...c, ...p]);
@@ -127,57 +127,57 @@ function Dt(e, { value: n, defaultValue: a, onChange: s } = {}) {
127
127
  d(c.filter((p) => !P.has(p)));
128
128
  },
129
129
  [e, c, d]
130
- ), N = k(
130
+ ), N = C(
131
131
  (g, y) => {
132
132
  var M, o, F;
133
133
  if (g === y) return;
134
134
  const x = (M = m.get(g)) == null ? void 0 : M.sectionId, P = (o = m.get(y)) == null ? void 0 : o.sectionId;
135
135
  if (!x || x !== P) return;
136
- const D = new Set(
136
+ const w = new Set(
137
137
  ((F = e.find((b) => b.id === x)) == null ? void 0 : F.fields.map((b) => b.id)) ?? []
138
- ), p = c.filter((b) => D.has(b)), u = p.indexOf(g), v = p.indexOf(y);
138
+ ), p = c.filter((b) => w.has(b)), u = p.indexOf(g), v = p.indexOf(y);
139
139
  if (u < 0 || v < 0) return;
140
140
  const [S] = p.splice(u, 1);
141
141
  p.splice(v, 0, S);
142
- let C = 0;
142
+ let k = 0;
143
143
  const H = c.map(
144
- (b) => D.has(b) ? p[C++] : b
144
+ (b) => w.has(b) ? p[k++] : b
145
145
  );
146
146
  d(H);
147
147
  },
148
148
  [m, e, c, d]
149
- ), w = k(() => {
150
- d(a ?? r);
151
- }, [a, r, d]);
149
+ ), D = C(() => {
150
+ d(a ?? n);
151
+ }, [a, n, d]);
152
152
  return {
153
153
  visible: c,
154
- catalogueIds: r,
154
+ catalogueIds: n,
155
155
  fieldById: m,
156
156
  setOrder: d,
157
157
  toggleField: i,
158
158
  toggleSection: E,
159
159
  moveFieldOnto: N,
160
- reset: w
160
+ reset: D
161
161
  };
162
162
  }
163
- function wt({
163
+ function Dt({
164
164
  sections: e,
165
- visible: n,
165
+ visible: s,
166
166
  onToggleField: a,
167
- onToggleSection: s,
168
- onMoveFieldOnto: r,
167
+ onToggleSection: r,
168
+ onMoveFieldOnto: n,
169
169
  onReset: h,
170
170
  label: l
171
171
  }) {
172
- const { t: c } = A(), m = _(() => new Set(n), [n]), [d, i] = z(null), [E, N] = z(null), [w, g] = z(""), { sectionOfField: y, labelOfField: x } = _(() => {
172
+ const { t: c } = A("ui"), m = _(() => new Set(s), [s]), [d, i] = z(null), [E, N] = z(null), [D, g] = z(""), { sectionOfField: y, labelOfField: x } = _(() => {
173
173
  const u = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
174
174
  for (const S of e)
175
- for (const C of S.fields)
176
- u.set(C.id, S.id), v.set(C.id, C.label);
175
+ for (const k of S.fields)
176
+ u.set(k.id, S.id), v.set(k.id, k.label);
177
177
  return { sectionOfField: u, labelOfField: v };
178
- }, [e]), P = d ? y.get(d) : void 0, D = k(() => {
178
+ }, [e]), P = d ? y.get(d) : void 0, w = C(() => {
179
179
  i(null), N(null);
180
- }, []), p = k(
180
+ }, []), p = C(
181
181
  (u, v, S) => {
182
182
  g(
183
183
  c("fieldPicker.moved", {
@@ -201,131 +201,151 @@ function wt({
201
201
  className: "ds:shrink-0"
202
202
  }
203
203
  ) }),
204
- /* @__PURE__ */ V(O.Content, { align: "end", size: "sm", children: [
205
- /* @__PURE__ */ t(O.Heading, { children: c("fieldPicker.title", { defaultValue: "Customize fields" }) }),
206
- /* @__PURE__ */ V("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:mt-[var(--spacing-xs)]", children: [
207
- e.map((u) => {
208
- const v = u.fields.map((o) => o.id), S = v.filter(
209
- (o) => m.has(o)
210
- ).length, C = n.filter(
211
- (o) => v.includes(o)
212
- ), H = S === 0 ? !1 : S === v.length ? !0 : "indeterminate", M = !!u.heading;
213
- return /* @__PURE__ */ V(
204
+ /* @__PURE__ */ V(
205
+ O.Content,
206
+ {
207
+ align: "end",
208
+ size: "sm",
209
+ className: "ds:flex ds:max-h-[var(--radix-popover-content-available-height)] ds:flex-col",
210
+ children: [
211
+ /* @__PURE__ */ t(O.Heading, { children: c("fieldPicker.title", { defaultValue: "Customize fields" }) }),
212
+ /* @__PURE__ */ t(
214
213
  "div",
215
214
  {
216
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
217
- children: [
218
- M ? /* @__PURE__ */ t(
219
- j,
220
- {
221
- size: "sm",
222
- label: u.heading,
223
- checked: H,
224
- onCheckedChange: (o) => s(u.id, o === !0)
225
- }
226
- ) : null,
227
- /* @__PURE__ */ t(
228
- "ul",
215
+ "data-component-part": "field-list",
216
+ className: [
217
+ "ds:flex ds:min-h-0 ds:flex-col ds:gap-[var(--spacing-sm)] ds:overflow-y-auto",
218
+ "ds:-mx-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] ds:px-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
219
+ "ds:py-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
220
+ "ds:mt-[calc(var(--spacing-xs)-var(--focus-ring-width)-var(--focus-ring-offset))]"
221
+ ].join(" "),
222
+ children: e.map((u) => {
223
+ const v = u.fields.map((o) => o.id), S = v.filter(
224
+ (o) => m.has(o)
225
+ ).length, k = s.filter(
226
+ (o) => v.includes(o)
227
+ ), H = S === 0 ? !1 : S === v.length ? !0 : "indeterminate", M = !!u.heading;
228
+ return /* @__PURE__ */ V(
229
+ "div",
229
230
  {
230
- className: [
231
- "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)]",
232
- M ? "ds:ps-[var(--spacing-md)]" : "ds:ps-0"
233
- ].join(" "),
234
- children: u.fields.map((o) => {
235
- const F = m.has(o.id), b = C.indexOf(o.id), T = C.length, J = d === o.id, Q = E === o.id && d !== null && d !== o.id && P === u.id;
236
- return /* @__PURE__ */ V(
237
- "li",
231
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
232
+ children: [
233
+ M ? /* @__PURE__ */ t(
234
+ U,
235
+ {
236
+ size: "sm",
237
+ label: u.heading,
238
+ checked: H,
239
+ onCheckedChange: (o) => r(u.id, o === !0)
240
+ }
241
+ ) : null,
242
+ /* @__PURE__ */ t(
243
+ "ul",
238
244
  {
239
- ...F ? {
240
- draggable: !0,
241
- onDragStart: (f) => {
242
- i(o.id), f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", o.id);
243
- },
244
- onDragOver: (f) => {
245
- d === null || P !== u.id || (f.preventDefault(), f.dataTransfer.dropEffect = "move", N(o.id));
246
- },
247
- onDragLeave: () => N(
248
- (f) => f === o.id ? null : f
249
- ),
250
- onDrop: (f) => {
251
- f.preventDefault();
252
- const L = f.dataTransfer.getData("text/plain");
253
- L && L !== o.id && y.get(L) === u.id && (r(L, o.id), p(L, b, T)), D();
254
- },
255
- onDragEnd: D
256
- } : {},
257
245
  className: [
258
- "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)] ds:transition-colors ds:motion-reduce:transition-none",
259
- J ? "ds:opacity-50" : "",
260
- Q ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
261
- ].filter(Boolean).join(" "),
262
- children: [
263
- /* @__PURE__ */ t(
264
- j,
265
- {
266
- size: "sm",
267
- label: o.label,
268
- checked: F,
269
- onCheckedChange: () => a(o.id)
270
- }
271
- ),
272
- F ? /* @__PURE__ */ t(
273
- I,
246
+ "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)]",
247
+ M ? "ds:ps-[var(--spacing-md)]" : "ds:ps-0"
248
+ ].join(" "),
249
+ children: u.fields.map((o) => {
250
+ const F = m.has(o.id), b = k.indexOf(o.id), T = k.length, J = d === o.id, Q = E === o.id && d !== null && d !== o.id && P === u.id;
251
+ return /* @__PURE__ */ V(
252
+ "li",
274
253
  {
275
- size: "sm",
276
- intent: "ghost",
277
- icon: /* @__PURE__ */ t(ne, { "aria-hidden": "true" }),
278
- "aria-label": c("fieldPicker.reorder", {
279
- field: o.label,
280
- defaultValue: "Reorder {{field}}. Press Alt + Up or Alt + Down to move."
281
- }),
282
- "aria-keyshortcuts": "Alt+ArrowUp Alt+ArrowDown Alt+Home Alt+End",
283
- className: "ds:shrink-0 ds:cursor-grab ds:active:cursor-grabbing",
284
- onKeyDown: (f) => {
285
- if (f.altKey) {
286
- if (f.key === "ArrowUp") {
287
- if (b <= 0) return;
288
- f.preventDefault(), r(
289
- o.id,
290
- C[b - 1]
291
- ), p(o.id, b - 1, T);
292
- } else if (f.key === "ArrowDown") {
293
- if (b >= T - 1) return;
294
- f.preventDefault(), r(
295
- o.id,
296
- C[b + 1]
297
- ), p(o.id, b + 1, T);
298
- } else if (f.key === "Home") {
299
- if (b <= 0) return;
300
- f.preventDefault(), r(o.id, C[0]), p(o.id, 0, T);
301
- } else if (f.key === "End") {
302
- if (b >= T - 1) return;
303
- f.preventDefault(), r(
304
- o.id,
305
- C[T - 1]
306
- ), p(o.id, T - 1, T);
254
+ ...F ? {
255
+ draggable: !0,
256
+ onDragStart: (f) => {
257
+ i(o.id), f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", o.id);
258
+ },
259
+ onDragOver: (f) => {
260
+ d === null || P !== u.id || (f.preventDefault(), f.dataTransfer.dropEffect = "move", N(o.id));
261
+ },
262
+ onDragLeave: () => N(
263
+ (f) => f === o.id ? null : f
264
+ ),
265
+ onDrop: (f) => {
266
+ f.preventDefault();
267
+ const L = f.dataTransfer.getData("text/plain");
268
+ L && L !== o.id && y.get(L) === u.id && (n(L, o.id), p(L, b, T)), w();
269
+ },
270
+ onDragEnd: w
271
+ } : {},
272
+ className: [
273
+ "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)] ds:transition-colors ds:motion-reduce:transition-none",
274
+ J ? "ds:opacity-50" : "",
275
+ Q ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
276
+ ].filter(Boolean).join(" "),
277
+ children: [
278
+ /* @__PURE__ */ t(
279
+ U,
280
+ {
281
+ size: "sm",
282
+ label: o.label,
283
+ checked: F,
284
+ onCheckedChange: () => a(o.id)
307
285
  }
308
- }
309
- }
310
- }
311
- ) : null
312
- ]
313
- },
314
- o.id
315
- );
316
- })
317
- }
318
- )
319
- ]
320
- },
321
- u.id
322
- );
323
- }),
324
- /* @__PURE__ */ t(te, { orientation: "horizontal" }),
325
- /* @__PURE__ */ t(ee, { type: "button", size: "sm", intent: "ghost", onClick: h, children: c("fieldPicker.reset", { defaultValue: "Reset to defaults" }) })
326
- ] }),
327
- /* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children: w })
328
- ] })
286
+ ),
287
+ F ? /* @__PURE__ */ t(
288
+ I,
289
+ {
290
+ size: "sm",
291
+ intent: "ghost",
292
+ icon: /* @__PURE__ */ t(se, { "aria-hidden": "true" }),
293
+ "aria-label": c("fieldPicker.reorder", {
294
+ field: o.label,
295
+ defaultValue: "Reorder {{field}}. Press Alt + Up or Alt + Down to move."
296
+ }),
297
+ "aria-keyshortcuts": "Alt+ArrowUp Alt+ArrowDown Alt+Home Alt+End",
298
+ className: "ds:shrink-0 ds:cursor-grab ds:active:cursor-grabbing",
299
+ onKeyDown: (f) => {
300
+ if (f.altKey) {
301
+ if (f.key === "ArrowUp") {
302
+ if (b <= 0) return;
303
+ f.preventDefault(), n(
304
+ o.id,
305
+ k[b - 1]
306
+ ), p(o.id, b - 1, T);
307
+ } else if (f.key === "ArrowDown") {
308
+ if (b >= T - 1) return;
309
+ f.preventDefault(), n(
310
+ o.id,
311
+ k[b + 1]
312
+ ), p(o.id, b + 1, T);
313
+ } else if (f.key === "Home") {
314
+ if (b <= 0) return;
315
+ f.preventDefault(), n(o.id, k[0]), p(o.id, 0, T);
316
+ } else if (f.key === "End") {
317
+ if (b >= T - 1) return;
318
+ f.preventDefault(), n(
319
+ o.id,
320
+ k[T - 1]
321
+ ), p(o.id, T - 1, T);
322
+ }
323
+ }
324
+ }
325
+ }
326
+ ) : null
327
+ ]
328
+ },
329
+ o.id
330
+ );
331
+ })
332
+ }
333
+ )
334
+ ]
335
+ },
336
+ u.id
337
+ );
338
+ })
339
+ }
340
+ ),
341
+ /* @__PURE__ */ V("div", { className: "ds:flex ds:shrink-0 ds:flex-col ds:gap-[var(--spacing-sm)] ds:pt-[calc(var(--spacing-sm)-var(--focus-ring-width)-var(--focus-ring-offset))]", children: [
342
+ /* @__PURE__ */ t(te, { orientation: "horizontal" }),
343
+ /* @__PURE__ */ t(ee, { type: "button", size: "sm", intent: "ghost", onClick: h, children: c("fieldPicker.reset", { defaultValue: "Reset to defaults" }) })
344
+ ] }),
345
+ /* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children: D })
346
+ ]
347
+ }
348
+ )
329
349
  ] });
330
350
  }
331
351
  const G = "ds:text-[color:var(--foreground)]", Ee = {
@@ -335,14 +355,14 @@ const G = "ds:text-[color:var(--foreground)]", Ee = {
335
355
  };
336
356
  function B({
337
357
  icon: e,
338
- mono: n,
358
+ mono: s,
339
359
  children: a
340
360
  }) {
341
361
  return /* @__PURE__ */ t(
342
- R,
362
+ j,
343
363
  {
344
364
  variant: "neutral",
345
- className: n ? "ds:font-mono" : void 0,
365
+ className: s ? "ds:font-mono" : void 0,
346
366
  leading: e ? W(e, {
347
367
  className: G
348
368
  }) : void 0,
@@ -351,25 +371,25 @@ function B({
351
371
  );
352
372
  }
353
373
  function Fe({ code: e }) {
354
- const { t: n } = A(), a = e.toLowerCase(), s = n(`patientField.sex.${a}`, {
374
+ const { t: s } = A("ui"), a = e.toLowerCase(), r = s(`patientField.sex.${a}`, {
355
375
  defaultValue: Ee[a] ?? e
356
376
  });
357
- return a === "f" ? /* @__PURE__ */ t(R, { variant: "accentSoft", leading: /* @__PURE__ */ t(Ae, {}), children: s }) : a === "m" ? /* @__PURE__ */ t(R, { variant: "info", leading: /* @__PURE__ */ t(ze, {}), children: s }) : /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(le, {}), children: s });
377
+ return a === "f" ? /* @__PURE__ */ t(j, { variant: "accentSoft", leading: /* @__PURE__ */ t(Ae, {}), children: r }) : a === "m" ? /* @__PURE__ */ t(j, { variant: "info", leading: /* @__PURE__ */ t(ze, {}), children: r }) : /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(le, {}), children: r });
358
378
  }
359
379
  function Ie({ years: e }) {
360
- const { t: n } = A();
361
- return /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(Se, {}), children: n("patientField.age", {
380
+ const { t: s } = A("ui");
381
+ return /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(Se, {}), children: s("patientField.age", {
362
382
  count: e,
363
383
  defaultValue: "{{count}} years old"
364
384
  }) });
365
385
  }
366
386
  function Me({ field: e }) {
367
- const { i18n: n } = A();
387
+ const { i18n: s } = A("ui");
368
388
  if (e.kind === "email" || e.kind === "phone") {
369
389
  const a = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
370
390
  if (a) {
371
- const s = e.kind === "email" ? `mailto:${a.trim()}` : `tel:${a.replace(/[^+\d]/g, "")}`;
372
- return /* @__PURE__ */ t(se, { href: s, dir: "ltr", children: a });
391
+ const r = e.kind === "email" ? `mailto:${a.trim()}` : `tel:${a.replace(/[^+\d]/g, "")}`;
392
+ return /* @__PURE__ */ t(re, { href: r, dir: "ltr", children: a });
373
393
  }
374
394
  }
375
395
  if (e.value != null)
@@ -384,12 +404,12 @@ function Me({ field: e }) {
384
404
  return Number.isFinite(a) ? /* @__PURE__ */ t(Ie, { years: a }) : null;
385
405
  }
386
406
  case "dob": {
387
- const a = e.editValue, s = a instanceof Date ? a : new Date(String(a ?? "")), r = Number.isNaN(s.getTime()) ? String(a ?? "") : new Intl.DateTimeFormat(n.language, {
407
+ const a = e.editValue, r = a instanceof Date ? a : new Date(String(a ?? "")), n = Number.isNaN(r.getTime()) ? String(a ?? "") : new Intl.DateTimeFormat(s.language, {
388
408
  day: "numeric",
389
409
  month: "short",
390
410
  year: "numeric"
391
- }).format(s);
392
- return r ? /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(oe, {}), children: r }) : null;
411
+ }).format(r);
412
+ return n ? /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(oe, {}), children: n }) : null;
393
413
  }
394
414
  case "fiscalCode": {
395
415
  const a = e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
@@ -398,7 +418,7 @@ function Me({ field: e }) {
398
418
  case "discount": {
399
419
  const a = typeof e.editValue == "number" ? e.editValue : Number(e.editValue);
400
420
  return Number.isFinite(a) ? /* @__PURE__ */ t(
401
- re,
421
+ ne,
402
422
  {
403
423
  state: "discount",
404
424
  amount: Math.abs(a),
@@ -414,13 +434,13 @@ function Me({ field: e }) {
414
434
  function Le({
415
435
  field: e
416
436
  }) {
417
- const { t: n } = A();
437
+ const { t: s } = A("ui");
418
438
  return /* @__PURE__ */ V("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
419
439
  e.label,
420
440
  e.sensitive ? /* @__PURE__ */ t(
421
441
  Ne,
422
442
  {
423
- "aria-label": n("patientDetails.sensitive", {
443
+ "aria-label": s("patientDetails.sensitive", {
424
444
  defaultValue: "Sensitive"
425
445
  }),
426
446
  className: "ds:size-3 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
@@ -430,27 +450,27 @@ function Le({
430
450
  }
431
451
  function Oe({
432
452
  field: e,
433
- editable: n,
453
+ editable: s,
434
454
  onFieldSave: a,
435
- validate: s,
436
- locale: r
455
+ validate: r,
456
+ locale: n
437
457
  }) {
438
- const { t: h } = A(), l = Y(), c = n && !!e.editable && !!a, [m, d] = z(!1), [i, E] = z(e.editValue), [N, w] = z(null), [g, y] = z(!1), x = k(() => {
439
- E(e.editValue), w(null), d(!0);
440
- }, [e.editValue]), P = k(() => {
441
- d(!1), w(null);
442
- }, []), D = k(async () => {
458
+ const { t: h } = A("ui"), l = Y(), c = s && !!e.editable && !!a, [m, d] = z(!1), [i, E] = z(e.editValue), [N, D] = z(null), [g, y] = z(!1), x = C(() => {
459
+ E(e.editValue), D(null), d(!0);
460
+ }, [e.editValue]), P = C(() => {
461
+ d(!1), D(null);
462
+ }, []), w = C(async () => {
443
463
  if (!a) return;
444
- const u = (s == null ? void 0 : s(e.id, i)) ?? null;
464
+ const u = (r == null ? void 0 : r(e.id, i)) ?? null;
445
465
  if (u) {
446
- w(u);
466
+ D(u);
447
467
  return;
448
468
  }
449
- y(!0), w(null);
469
+ y(!0), D(null);
450
470
  try {
451
471
  await a(e.id, i), d(!1);
452
472
  } catch (v) {
453
- w(
473
+ D(
454
474
  v instanceof Error && v.message ? v.message : h("patientDetails.edit.saveFailed", {
455
475
  defaultValue: "Could not save. Try again."
456
476
  })
@@ -458,7 +478,7 @@ function Oe({
458
478
  } finally {
459
479
  y(!1);
460
480
  }
461
- }, [a, s, e.id, i, h]), p = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0);
481
+ }, [a, r, e.id, i, h]), p = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0);
462
482
  return m ? /* @__PURE__ */ V("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
463
483
  /* @__PURE__ */ V("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
464
484
  /* @__PURE__ */ t(
@@ -469,7 +489,7 @@ function Oe({
469
489
  onChange: E,
470
490
  invalid: !!N,
471
491
  errorId: N ? l : void 0,
472
- locale: r,
492
+ locale: n,
473
493
  disabled: g
474
494
  }
475
495
  ),
@@ -481,7 +501,7 @@ function Oe({
481
501
  icon: /* @__PURE__ */ t(K, { "aria-hidden": "true" }),
482
502
  "aria-label": h("patientDetails.edit.save", { defaultValue: "Save" }),
483
503
  loading: g,
484
- onClick: D
504
+ onClick: w
485
505
  }
486
506
  ),
487
507
  /* @__PURE__ */ t(
@@ -489,7 +509,7 @@ function Oe({
489
509
  {
490
510
  size: "sm",
491
511
  intent: "ghost",
492
- icon: /* @__PURE__ */ t(ke, { "aria-hidden": "true" }),
512
+ icon: /* @__PURE__ */ t(Ce, { "aria-hidden": "true" }),
493
513
  "aria-label": h("patientDetails.edit.cancel", {
494
514
  defaultValue: "Cancel"
495
515
  }),
@@ -535,13 +555,13 @@ function Oe({
535
555
  }
536
556
  function St({
537
557
  field: e,
538
- icon: n,
558
+ icon: s,
539
559
  ...a
540
560
  }) {
541
561
  return /* @__PURE__ */ V(
542
562
  $.Row,
543
563
  {
544
- icon: n ?? null,
564
+ icon: s ?? null,
545
565
  "data-field-id": e.id,
546
566
  className: "ds:group",
547
567
  children: [
@@ -553,26 +573,26 @@ function St({
553
573
  }
554
574
  function _e({
555
575
  field: e,
556
- value: n,
576
+ value: s,
557
577
  onChange: a,
558
- invalid: s,
559
- errorId: r,
578
+ invalid: r,
579
+ errorId: n,
560
580
  locale: h,
561
581
  disabled: l
562
582
  }) {
563
- const { t: c } = A(), m = s ? "error" : "default";
583
+ const { t: c } = A("ui"), m = r ? "error" : "default";
564
584
  switch (e.editType ?? "text") {
565
585
  case "textarea":
566
586
  return /* @__PURE__ */ t(
567
587
  xe,
568
588
  {
569
589
  size: "sm",
570
- value: typeof n == "string" ? n : "",
590
+ value: typeof s == "string" ? s : "",
571
591
  onChange: (i) => a(i.target.value),
572
592
  tone: m,
573
593
  "aria-label": e.label,
574
- "aria-invalid": s || void 0,
575
- "aria-describedby": r,
594
+ "aria-invalid": r || void 0,
595
+ "aria-describedby": n,
576
596
  disabled: l,
577
597
  className: "ds:flex-1"
578
598
  }
@@ -583,13 +603,13 @@ function _e({
583
603
  {
584
604
  size: "sm",
585
605
  options: e.options ?? [],
586
- value: typeof n == "string" ? n : "",
606
+ value: typeof s == "string" ? s : "",
587
607
  onValueChange: (i) => a(i),
588
608
  tone: m,
589
609
  disabled: l,
590
610
  "aria-label": e.label,
591
- "aria-invalid": s || void 0,
592
- "aria-describedby": r
611
+ "aria-invalid": r || void 0,
612
+ "aria-describedby": n
593
613
  }
594
614
  );
595
615
  case "boolean":
@@ -597,7 +617,7 @@ function _e({
597
617
  ve,
598
618
  {
599
619
  label: e.label,
600
- checked: n === !0,
620
+ checked: s === !0,
601
621
  onCheckedChange: (i) => a(i),
602
622
  disabled: l
603
623
  }
@@ -607,7 +627,7 @@ function _e({
607
627
  ue,
608
628
  {
609
629
  size: "sm",
610
- value: n instanceof Date ? n : void 0,
630
+ value: s instanceof Date ? s : void 0,
611
631
  onChange: (i) => a(i ?? null),
612
632
  disabled: l,
613
633
  "aria-label": e.label
@@ -618,7 +638,7 @@ function _e({
618
638
  fe,
619
639
  {
620
640
  size: "sm",
621
- value: typeof n == "number" ? n : null,
641
+ value: typeof s == "number" ? s : null,
622
642
  onChange: (i) => a(i),
623
643
  mode: e.currency ? "currency" : "decimal",
624
644
  currency: e.currency,
@@ -626,8 +646,8 @@ function _e({
626
646
  tone: m,
627
647
  disabled: l,
628
648
  "aria-label": e.label,
629
- "aria-invalid": s || void 0,
630
- "aria-describedby": r
649
+ "aria-invalid": r || void 0,
650
+ "aria-describedby": n
631
651
  }
632
652
  );
633
653
  case "email":
@@ -635,11 +655,11 @@ function _e({
635
655
  me,
636
656
  {
637
657
  size: "sm",
638
- value: typeof n == "string" ? n : "",
658
+ value: typeof s == "string" ? s : "",
639
659
  onChange: (i) => a(i.target.value),
640
660
  "aria-label": e.label,
641
- "aria-invalid": s || void 0,
642
- "aria-describedby": r,
661
+ "aria-invalid": r || void 0,
662
+ "aria-describedby": n,
643
663
  disabled: l,
644
664
  className: "ds:flex-1"
645
665
  }
@@ -649,12 +669,12 @@ function _e({
649
669
  ge,
650
670
  {
651
671
  size: "sm",
652
- value: typeof n == "string" ? n : "",
672
+ value: typeof s == "string" ? s : "",
653
673
  onChange: (i) => a(i),
654
674
  tone: m,
655
675
  "aria-label": e.label,
656
- "aria-invalid": s || void 0,
657
- "aria-describedby": r,
676
+ "aria-invalid": r || void 0,
677
+ "aria-describedby": n,
658
678
  disabled: l,
659
679
  className: "ds:flex-1"
660
680
  }
@@ -664,12 +684,12 @@ function _e({
664
684
  pe,
665
685
  {
666
686
  size: "sm",
667
- value: typeof n == "string" ? n : "",
687
+ value: typeof s == "string" ? s : "",
668
688
  onChange: (i) => a(i),
669
689
  tone: m,
670
690
  "aria-label": e.label,
671
- "aria-invalid": s || void 0,
672
- "aria-describedby": r,
691
+ "aria-invalid": r || void 0,
692
+ "aria-describedby": n,
673
693
  disabled: l,
674
694
  className: "ds:flex-1"
675
695
  }
@@ -684,13 +704,13 @@ function _e({
684
704
  {
685
705
  size: "sm",
686
706
  country: "it",
687
- value: typeof n == "string" ? n : "",
707
+ value: typeof s == "string" ? s : "",
688
708
  onValueChange: (i) => a(i),
689
709
  tone: m,
690
710
  disabled: l,
691
711
  "aria-label": e.label,
692
- "aria-invalid": s || void 0,
693
- "aria-describedby": r,
712
+ "aria-invalid": r || void 0,
713
+ "aria-describedby": n,
694
714
  className: "ds:flex-1"
695
715
  }
696
716
  );
@@ -699,13 +719,13 @@ function _e({
699
719
  de,
700
720
  {
701
721
  size: "sm",
702
- value: typeof n == "string" ? n : "",
722
+ value: typeof s == "string" ? s : "",
703
723
  onValueChange: (i) => a(i),
704
724
  tone: m,
705
725
  disabled: l,
706
726
  "aria-label": e.label,
707
- "aria-invalid": s || void 0,
708
- "aria-describedby": r,
727
+ "aria-invalid": r || void 0,
728
+ "aria-describedby": n,
709
729
  className: "ds:flex-1"
710
730
  }
711
731
  );
@@ -715,11 +735,11 @@ function _e({
715
735
  {
716
736
  size: "sm",
717
737
  country: "it",
718
- value: typeof n == "string" ? n : "",
738
+ value: typeof s == "string" ? s : "",
719
739
  onValueChange: (i) => a(i),
720
740
  "aria-label": e.label,
721
- "aria-invalid": s || void 0,
722
- "aria-describedby": r,
741
+ "aria-invalid": r || void 0,
742
+ "aria-describedby": n,
723
743
  disabled: l,
724
744
  className: "ds:flex-1"
725
745
  }
@@ -729,28 +749,28 @@ function _e({
729
749
  ce,
730
750
  {
731
751
  size: "sm",
732
- value: typeof n == "string" ? n : "",
752
+ value: typeof s == "string" ? s : "",
733
753
  onValueChange: (i) => a(i),
734
754
  tone: m,
735
755
  disabled: l,
736
756
  "aria-label": e.label,
737
- "aria-invalid": s || void 0,
738
- "aria-describedby": r,
757
+ "aria-invalid": r || void 0,
758
+ "aria-describedby": n,
739
759
  className: "ds:flex-1"
740
760
  }
741
761
  );
742
762
  case "text":
743
763
  default:
744
764
  return /* @__PURE__ */ t(
745
- Ce,
765
+ ke,
746
766
  {
747
767
  size: "sm",
748
- value: typeof n == "string" ? n : "",
768
+ value: typeof s == "string" ? s : "",
749
769
  onChange: (i) => a(i.target.value),
750
770
  tone: m,
751
771
  "aria-label": e.label,
752
- "aria-invalid": s || void 0,
753
- "aria-describedby": r,
772
+ "aria-invalid": r || void 0,
773
+ "aria-describedby": n,
754
774
  disabled: l,
755
775
  clearable: !0,
756
776
  placeholder: c("patientDetails.edit.placeholder", {
@@ -763,12 +783,12 @@ function _e({
763
783
  }
764
784
  function Be({
765
785
  text: e,
766
- label: n
786
+ label: s
767
787
  }) {
768
- const { t: a } = A(), [s, r] = z(!1), [h, l] = z(""), c = k(async () => {
788
+ const { t: a } = A("ui"), [r, n] = z(!1), [h, l] = z(""), c = C(async () => {
769
789
  try {
770
- await navigator.clipboard.writeText(e), r(!0), l(a("keyValuePair.copied", { defaultValue: "Copied" })), setTimeout(() => {
771
- r(!1), l("");
790
+ await navigator.clipboard.writeText(e), n(!0), l(a("keyValuePair.copied", { defaultValue: "Copied" })), setTimeout(() => {
791
+ n(!1), l("");
772
792
  }, 2e3);
773
793
  } catch {
774
794
  l(
@@ -782,9 +802,9 @@ function Be({
782
802
  {
783
803
  size: "sm",
784
804
  intent: "ghost",
785
- icon: s ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(De, { "aria-hidden": "true" }),
805
+ icon: r ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(we, { "aria-hidden": "true" }),
786
806
  "aria-label": a("keyValuePair.copy", {
787
- label: n,
807
+ label: s,
788
808
  defaultValue: "Copy {{label}}"
789
809
  }),
790
810
  onClick: c
@@ -795,7 +815,7 @@ function Be({
795
815
  }
796
816
  export {
797
817
  Ie as A,
798
- wt as F,
818
+ Dt as F,
799
819
  Se as H,
800
820
  B as N,
801
821
  St as P,
@@ -803,6 +823,6 @@ export {
803
823
  Oe as a,
804
824
  Le as b,
805
825
  Nt as r,
806
- Dt as u
826
+ wt as u
807
827
  };
808
- //# sourceMappingURL=patient-field-row-DElFbpKc.js.map
828
+ //# sourceMappingURL=patient-field-row-dUF2cW2G.js.map