@alfadocs/ui-kit-debug 1.35.0 → 1.36.1

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 (582) hide show
  1. package/dist/_chunks/{actions-cell-renderer-yy03OgRL.js → actions-cell-renderer-CUn1pqEq.js} +3 -3
  2. package/dist/_chunks/{actions-cell-renderer-yy03OgRL.js.map → actions-cell-renderer-CUn1pqEq.js.map} +1 -1
  3. package/dist/_chunks/{agenda-card-DVz3jwTf.js → agenda-card-DyQtHb9z.js} +2 -2
  4. package/dist/_chunks/{agenda-card-DVz3jwTf.js.map → agenda-card-DyQtHb9z.js.map} +1 -1
  5. package/dist/_chunks/{agenda-tray-1oDWCJdB.js → agenda-tray-DYGCTIWB.js} +3 -3
  6. package/dist/_chunks/{agenda-tray-1oDWCJdB.js.map → agenda-tray-DYGCTIWB.js.map} +1 -1
  7. package/dist/_chunks/{ai-consent-banner-OggpS5hW.js → ai-consent-banner-De4gzSBZ.js} +4 -4
  8. package/dist/_chunks/{ai-consent-banner-OggpS5hW.js.map → ai-consent-banner-De4gzSBZ.js.map} +1 -1
  9. package/dist/_chunks/{ai-prompt-input-Dt7tpCBh.js → ai-prompt-input-DdxlaI7q.js} +2 -2
  10. package/dist/_chunks/{ai-prompt-input-Dt7tpCBh.js.map → ai-prompt-input-DdxlaI7q.js.map} +1 -1
  11. package/dist/_chunks/{alert-CiJT540z.js → alert-CiQ5Pa3Q.js} +2 -2
  12. package/dist/_chunks/{alert-CiJT540z.js.map → alert-CiQ5Pa3Q.js.map} +1 -1
  13. package/dist/_chunks/{alia-sidebar-D18kp3p9.js → alia-sidebar-B6bXlZZk.js} +6 -6
  14. package/dist/_chunks/{alia-sidebar-D18kp3p9.js.map → alia-sidebar-B6bXlZZk.js.map} +1 -1
  15. package/dist/_chunks/{anamnesis-card-NTi4LLzI.js → anamnesis-card-DGwINeNn.js} +3 -3
  16. package/dist/_chunks/{anamnesis-card-NTi4LLzI.js.map → anamnesis-card-DGwINeNn.js.map} +1 -1
  17. package/dist/_chunks/{anamnesis-summary-card-DGVKBQoq.js → anamnesis-summary-card-GYHa7VGp.js} +3 -3
  18. package/dist/_chunks/{anamnesis-summary-card-DGVKBQoq.js.map → anamnesis-summary-card-GYHa7VGp.js.map} +1 -1
  19. package/dist/_chunks/{anamnesis-summary-rows-BYgyp_i2.js → anamnesis-summary-rows-Cxtgo2ok.js} +12 -12
  20. package/dist/_chunks/{anamnesis-summary-rows-BYgyp_i2.js.map → anamnesis-summary-rows-Cxtgo2ok.js.map} +1 -1
  21. package/dist/_chunks/{antenatal-schedule-timeline-sXfIp5lp.js → antenatal-schedule-timeline-CXk_tzWG.js} +2 -2
  22. package/dist/_chunks/{antenatal-schedule-timeline-sXfIp5lp.js.map → antenatal-schedule-timeline-CXk_tzWG.js.map} +1 -1
  23. package/dist/_chunks/{appointment-card-Bh_CIlc6.js → appointment-card-WsDGBBut.js} +120 -126
  24. package/dist/_chunks/appointment-card-WsDGBBut.js.map +1 -0
  25. package/dist/_chunks/{appointment-timeline-De-Wqdkw.js → appointment-timeline-ByfovxqR.js} +5 -5
  26. package/dist/_chunks/{appointment-timeline-De-Wqdkw.js.map → appointment-timeline-ByfovxqR.js.map} +1 -1
  27. package/dist/_chunks/{appointment-tray-4I9wTAi4.js → appointment-tray-D6UyJHej.js} +3 -3
  28. package/dist/_chunks/{appointment-tray-4I9wTAi4.js.map → appointment-tray-D6UyJHej.js.map} +1 -1
  29. package/dist/_chunks/arrow-right-KsIrLdt0.js +15 -0
  30. package/dist/_chunks/arrow-right-KsIrLdt0.js.map +1 -0
  31. package/dist/_chunks/{audio-recorder-11wClczr.js → audio-recorder-BlQBC7N_.js} +3 -3
  32. package/dist/_chunks/{audio-recorder-11wClczr.js.map → audio-recorder-BlQBC7N_.js.map} +1 -1
  33. package/dist/_chunks/{badge-sTusUqZD.js → badge-BudgzTe_.js} +2 -2
  34. package/dist/_chunks/{badge-sTusUqZD.js.map → badge-BudgzTe_.js.map} +1 -1
  35. package/dist/_chunks/{balance-badge-cell-DhBtFRoW.js → balance-badge-cell-B0Z8Dwn8.js} +6 -6
  36. package/dist/_chunks/{balance-badge-cell-DhBtFRoW.js.map → balance-badge-cell-B0Z8Dwn8.js.map} +1 -1
  37. package/dist/_chunks/{bishop-score-CAl7C5hm.js → bishop-score-D5b8tktp.js} +2 -2
  38. package/dist/_chunks/{bishop-score-CAl7C5hm.js.map → bishop-score-D5b8tktp.js.map} +1 -1
  39. package/dist/_chunks/{bmi-calculator-Dwkih9a4.js → bmi-calculator-dOKP-vW4.js} +4 -4
  40. package/dist/_chunks/{bmi-calculator-Dwkih9a4.js.map → bmi-calculator-dOKP-vW4.js.map} +1 -1
  41. package/dist/_chunks/{booking-BqkEtsKx.js → booking-Dp-9qR6F.js} +9 -9
  42. package/dist/_chunks/{booking-BqkEtsKx.js.map → booking-Dp-9qR6F.js.map} +1 -1
  43. package/dist/_chunks/button-group-QmN1VdUW.js +307 -0
  44. package/dist/_chunks/button-group-QmN1VdUW.js.map +1 -0
  45. package/dist/_chunks/{calendar-Dgvl5L4T.js → calendar-7GAUlsNO.js} +3 -3
  46. package/dist/_chunks/{calendar-Dgvl5L4T.js.map → calendar-7GAUlsNO.js.map} +1 -1
  47. package/dist/_chunks/{calendar-event-card-DSh-69HT.js → calendar-event-card-DKUnT9Be.js} +91 -134
  48. package/dist/_chunks/calendar-event-card-DKUnT9Be.js.map +1 -0
  49. package/dist/_chunks/{calendar-workspace-UywR5gUl.js → calendar-workspace-BYwQK7fz.js} +2501 -2415
  50. package/dist/_chunks/calendar-workspace-BYwQK7fz.js.map +1 -0
  51. package/dist/_chunks/{care-plan-card-DHVhBcvs.js → care-plan-card-COFOI-fI.js} +5 -5
  52. package/dist/_chunks/{care-plan-card-DHVhBcvs.js.map → care-plan-card-COFOI-fI.js.map} +1 -1
  53. package/dist/_chunks/{care-plan-entry-card-Dx6IdTcR.js → care-plan-entry-card-BOKn0KW-.js} +6 -6
  54. package/dist/_chunks/{care-plan-entry-card-Dx6IdTcR.js.map → care-plan-entry-card-BOKn0KW-.js.map} +1 -1
  55. package/dist/_chunks/{care-plan-header-UTX5ZD74.js → care-plan-header-CbuOuVBw.js} +4 -4
  56. package/dist/_chunks/{care-plan-header-UTX5ZD74.js.map → care-plan-header-CbuOuVBw.js.map} +1 -1
  57. package/dist/_chunks/{carousel.agent-CLxdHEBP.js → carousel.agent-Dv4a4M8L.js} +2 -2
  58. package/dist/_chunks/{carousel.agent-CLxdHEBP.js.map → carousel.agent-Dv4a4M8L.js.map} +1 -1
  59. package/dist/_chunks/{chart-C6eHTxkO.js → chart-iWl76PXv.js} +3 -3
  60. package/dist/_chunks/{chart-C6eHTxkO.js.map → chart-iWl76PXv.js.map} +1 -1
  61. package/dist/_chunks/{chat-input-BsB5Umpj.js → chat-input-qM5QpUSq.js} +2 -2
  62. package/dist/_chunks/{chat-input-BsB5Umpj.js.map → chat-input-qM5QpUSq.js.map} +1 -1
  63. package/dist/_chunks/{chat-message-C-8UU2av.js → chat-message-RniXtrCH.js} +2 -2
  64. package/dist/_chunks/{chat-message-C-8UU2av.js.map → chat-message-RniXtrCH.js.map} +1 -1
  65. package/dist/_chunks/{checkbox-BuZ1u__2.js → checkbox-CZkipDn7.js} +2 -2
  66. package/dist/_chunks/{checkbox-BuZ1u__2.js.map → checkbox-CZkipDn7.js.map} +1 -1
  67. package/dist/_chunks/{checkbox-group-CfqMv57d.js → checkbox-group-DomUzpkF.js} +2 -2
  68. package/dist/_chunks/{checkbox-group-CfqMv57d.js.map → checkbox-group-DomUzpkF.js.map} +1 -1
  69. package/dist/_chunks/clinical-note-card-DdsGYMmI.js +325 -0
  70. package/dist/_chunks/clinical-note-card-DdsGYMmI.js.map +1 -0
  71. package/dist/_chunks/{code-block-BIkpRLkl.js → code-block-uVjNSI9g.js} +2 -2
  72. package/dist/_chunks/{code-block-BIkpRLkl.js.map → code-block-uVjNSI9g.js.map} +1 -1
  73. package/dist/_chunks/{connection-status-DRZIcMqM.js → connection-status-OEsWjmRk.js} +3 -3
  74. package/dist/_chunks/{connection-status-DRZIcMqM.js.map → connection-status-OEsWjmRk.js.map} +1 -1
  75. package/dist/_chunks/{contact-profile-card-DSI9uumA.js → contact-profile-card--My1H2UD.js} +3 -3
  76. package/dist/_chunks/{contact-profile-card-DSI9uumA.js.map → contact-profile-card--My1H2UD.js.map} +1 -1
  77. package/dist/_chunks/{control-room-rail-5MbhjsxN.js → control-room-rail-Ds45_g4f.js} +4 -4
  78. package/dist/_chunks/{control-room-rail-5MbhjsxN.js.map → control-room-rail-Ds45_g4f.js.map} +1 -1
  79. package/dist/_chunks/{counter-dRlTNC_y.js → counter-WsvRuum1.js} +50 -15
  80. package/dist/_chunks/counter-WsvRuum1.js.map +1 -0
  81. package/dist/_chunks/{cycle-calculator-DVgxBfP0.js → cycle-calculator-BJeaXiZv.js} +3 -3
  82. package/dist/_chunks/{cycle-calculator-DVgxBfP0.js.map → cycle-calculator-BJeaXiZv.js.map} +1 -1
  83. package/dist/_chunks/{dashboard-grid-BFtdHqfn.js → dashboard-grid-B23BFzRl.js} +2 -2
  84. package/dist/_chunks/{dashboard-grid-BFtdHqfn.js.map → dashboard-grid-B23BFzRl.js.map} +1 -1
  85. package/dist/_chunks/{data-table-DC96JJIq.js → data-table-BYGK-gUJ.js} +6 -6
  86. package/dist/_chunks/{data-table-DC96JJIq.js.map → data-table-BYGK-gUJ.js.map} +1 -1
  87. package/dist/_chunks/{data-table-tabs-DVIFkqx_.js → data-table-tabs-BMR0zsVQ.js} +3 -3
  88. package/dist/_chunks/{data-table-tabs-DVIFkqx_.js.map → data-table-tabs-BMR0zsVQ.js.map} +1 -1
  89. package/dist/_chunks/{date-picker-B6NW_PS5.js → date-picker-6tFnKFty.js} +14 -14
  90. package/dist/_chunks/{date-picker-B6NW_PS5.js.map → date-picker-6tFnKFty.js.map} +1 -1
  91. package/dist/_chunks/{dependent-selector-yTKKsuc9.js → dependent-selector-BHDP0nBB.js} +3 -3
  92. package/dist/_chunks/{dependent-selector-yTKKsuc9.js.map → dependent-selector-BHDP0nBB.js.map} +1 -1
  93. package/dist/_chunks/{description-list-CjJqR8WK.js → description-list-C1RXMDZ_.js} +2 -2
  94. package/dist/_chunks/{description-list-CjJqR8WK.js.map → description-list-C1RXMDZ_.js.map} +1 -1
  95. package/dist/_chunks/{document-preview-BrhMHNh8.js → document-preview-DsEyRcNd.js} +4 -4
  96. package/dist/_chunks/{document-preview-BrhMHNh8.js.map → document-preview-DsEyRcNd.js.map} +1 -1
  97. package/dist/_chunks/{document-scanner-C5Vrbu21.js → document-scanner-CbWVtm7u.js} +53 -52
  98. package/dist/_chunks/{document-scanner-C5Vrbu21.js.map → document-scanner-CbWVtm7u.js.map} +1 -1
  99. package/dist/_chunks/{due-date-calculator-CxgK8vzt.js → due-date-calculator-Dhc9Ljkb.js} +6 -6
  100. package/dist/_chunks/{due-date-calculator-CxgK8vzt.js.map → due-date-calculator-Dhc9Ljkb.js.map} +1 -1
  101. package/dist/_chunks/{editable-currency-cell-renderer-B7TVZ5ZJ.js → editable-currency-cell-renderer-D7blbDFY.js} +4 -4
  102. package/dist/_chunks/{editable-currency-cell-renderer-B7TVZ5ZJ.js.map → editable-currency-cell-renderer-D7blbDFY.js.map} +1 -1
  103. package/dist/_chunks/{editor-overlay-DEc5yYwo.js → editor-overlay-8fKAcRsm.js} +2 -2
  104. package/dist/_chunks/{editor-overlay-DEc5yYwo.js.map → editor-overlay-8fKAcRsm.js.map} +1 -1
  105. package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-I-Gio5wo.js} +36 -32
  106. package/dist/_chunks/entity-card-I-Gio5wo.js.map +1 -0
  107. package/dist/_chunks/{entity-summary-5o768XLU.js → entity-summary-BbW0mIzU.js} +4 -4
  108. package/dist/_chunks/{entity-summary-5o768XLU.js.map → entity-summary-BbW0mIzU.js.map} +1 -1
  109. package/dist/_chunks/{face-scheme-l-CQyLs-.js → face-scheme-uFvhqz6h.js} +4 -4
  110. package/dist/_chunks/{face-scheme-l-CQyLs-.js.map → face-scheme-uFvhqz6h.js.map} +1 -1
  111. package/dist/_chunks/{fetal-weight-Dqy0T1fP.js → fetal-weight-C6SxchOv.js} +2 -2
  112. package/dist/_chunks/{fetal-weight-Dqy0T1fP.js.map → fetal-weight-C6SxchOv.js.map} +1 -1
  113. package/dist/_chunks/{field-array-BjkXZzSr.js → field-array-C9dmRaIM.js} +2 -2
  114. package/dist/_chunks/{field-array-BjkXZzSr.js.map → field-array-C9dmRaIM.js.map} +1 -1
  115. package/dist/_chunks/{file-manager-CI2Qn8qW.js → file-manager-DvkFgj7d.js} +7 -7
  116. package/dist/_chunks/{file-manager-CI2Qn8qW.js.map → file-manager-DvkFgj7d.js.map} +1 -1
  117. package/dist/_chunks/{file-upload-CwxdqkMK.js → file-upload-BDpb08GM.js} +71 -78
  118. package/dist/_chunks/file-upload-BDpb08GM.js.map +1 -0
  119. package/dist/_chunks/{fiscal-code-input-B_nYMSEM.js → fiscal-code-input-CkwIdB1y.js} +2 -2
  120. package/dist/_chunks/{fiscal-code-input-B_nYMSEM.js.map → fiscal-code-input-CkwIdB1y.js.map} +1 -1
  121. package/dist/_chunks/{freemium-paywall-DrXzYfv-.js → freemium-paywall-BqGk_SBU.js} +2 -2
  122. package/dist/_chunks/{freemium-paywall-DrXzYfv-.js.map → freemium-paywall-BqGk_SBU.js.map} +1 -1
  123. package/dist/_chunks/{gestational-age-calculator-CZHVrERT.js → gestational-age-calculator-DDOGaPvg.js} +6 -6
  124. package/dist/_chunks/{gestational-age-calculator-CZHVrERT.js.map → gestational-age-calculator-DDOGaPvg.js.map} +1 -1
  125. package/dist/_chunks/{hcg-doubling-C2fQxfXd.js → hcg-doubling-Bb_n6tEa.js} +2 -2
  126. package/dist/_chunks/{hcg-doubling-C2fQxfXd.js.map → hcg-doubling-Bb_n6tEa.js.map} +1 -1
  127. package/dist/_chunks/{header-DUXRIPyM.js → header-BZ4pZlJV.js} +2 -2
  128. package/dist/_chunks/{header-DUXRIPyM.js.map → header-BZ4pZlJV.js.map} +1 -1
  129. package/dist/_chunks/{header-settings-DvjZNMhD.js → header-settings-B8mLc03Q.js} +4 -4
  130. package/dist/_chunks/{header-settings-DvjZNMhD.js.map → header-settings-B8mLc03Q.js.map} +1 -1
  131. package/dist/_chunks/hover-card-Bcku1GQu.js +511 -0
  132. package/dist/_chunks/hover-card-Bcku1GQu.js.map +1 -0
  133. package/dist/_chunks/{icon-button-DA2CAGHZ.js → icon-button-8xqRnkdG.js} +2 -2
  134. package/dist/_chunks/{icon-button-DA2CAGHZ.js.map → icon-button-8xqRnkdG.js.map} +1 -1
  135. package/dist/_chunks/{icon-button-group-VCCod3Hz.js → icon-button-group-Dj6CRoYR.js} +2 -2
  136. package/dist/_chunks/{icon-button-group-VCCod3Hz.js.map → icon-button-group-Dj6CRoYR.js.map} +1 -1
  137. package/dist/_chunks/{icon-picker-DOa89vn3.js → icon-picker-CTWzlHJr.js} +2 -2
  138. package/dist/_chunks/{icon-picker-DOa89vn3.js.map → icon-picker-CTWzlHJr.js.map} +1 -1
  139. package/dist/_chunks/{info-tip-CADik6WN.js → info-tip-ey_Pon2y.js} +2 -2
  140. package/dist/_chunks/{info-tip-CADik6WN.js.map → info-tip-ey_Pon2y.js.map} +1 -1
  141. package/dist/_chunks/{key-value-pair-BIBdZBLg.js → key-value-pair-DczGb4yz.js} +42 -41
  142. package/dist/_chunks/key-value-pair-DczGb4yz.js.map +1 -0
  143. package/dist/_chunks/{link-cell-renderer-BEpMNtAa.js → link-cell-renderer-BNa8x6oJ.js} +6 -6
  144. package/dist/_chunks/{link-cell-renderer-BEpMNtAa.js.map → link-cell-renderer-BNa8x6oJ.js.map} +1 -1
  145. package/dist/_chunks/loader-circle-BECIU_8N.js +12 -0
  146. package/dist/_chunks/loader-circle-BECIU_8N.js.map +1 -0
  147. package/dist/_chunks/{locale-picker-CwFtqSkt.js → locale-picker-BLeHbFSc.js} +3 -3
  148. package/dist/_chunks/{locale-picker-CwFtqSkt.js.map → locale-picker-BLeHbFSc.js.map} +1 -1
  149. package/dist/_chunks/{marketplace-app-shell-CK_ND8Tr.js → marketplace-app-shell-BwH6Aruw.js} +6 -6
  150. package/dist/_chunks/{marketplace-app-shell-CK_ND8Tr.js.map → marketplace-app-shell-BwH6Aruw.js.map} +1 -1
  151. package/dist/_chunks/{message-card-BUMv16un.js → message-card-Dm5Xshup.js} +2 -2
  152. package/dist/_chunks/{message-card-BUMv16un.js.map → message-card-Dm5Xshup.js.map} +1 -1
  153. package/dist/_chunks/{message-tray-0zsv27xX.js → message-tray-BcLyaO-G.js} +3 -3
  154. package/dist/_chunks/{message-tray-0zsv27xX.js.map → message-tray-BcLyaO-G.js.map} +1 -1
  155. package/dist/_chunks/{multi-select-DYOvx2SJ.js → multi-select-CtPd7g4x.js} +15 -15
  156. package/dist/_chunks/{multi-select-DYOvx2SJ.js.map → multi-select-CtPd7g4x.js.map} +1 -1
  157. package/dist/_chunks/note-attachment-CwDir3kK.js +124 -0
  158. package/dist/_chunks/note-attachment-CwDir3kK.js.map +1 -0
  159. package/dist/_chunks/note-timeline-CXfSV3yX.js +231 -0
  160. package/dist/_chunks/note-timeline-CXfSV3yX.js.map +1 -0
  161. package/dist/_chunks/{notes-panel-BjLt-kiP.js → notes-panel-Co8D3uDd.js} +7 -7
  162. package/dist/_chunks/{notes-panel-BjLt-kiP.js.map → notes-panel-Co8D3uDd.js.map} +1 -1
  163. package/dist/_chunks/{notification-card-CtrzoTUO.js → notification-card-ChcK9Wat.js} +2 -2
  164. package/dist/_chunks/{notification-card-CtrzoTUO.js.map → notification-card-ChcK9Wat.js.map} +1 -1
  165. package/dist/_chunks/{notification-tray-BiRzXHDf.js → notification-tray-CJ8jOe-U.js} +4 -4
  166. package/dist/_chunks/{notification-tray-BiRzXHDf.js.map → notification-tray-CJ8jOe-U.js.map} +1 -1
  167. package/dist/_chunks/{operator-hero-aG_qyn6g.js → operator-hero-XIdwDmN2.js} +3 -3
  168. package/dist/_chunks/{operator-hero-aG_qyn6g.js.map → operator-hero-XIdwDmN2.js.map} +1 -1
  169. package/dist/_chunks/{optical-prescription-DUJOhKz_.js → optical-prescription-cphK41eP.js} +2 -2
  170. package/dist/_chunks/{optical-prescription-DUJOhKz_.js.map → optical-prescription-cphK41eP.js.map} +1 -1
  171. package/dist/_chunks/panel-header-D_mTdhUp.js +128 -0
  172. package/dist/_chunks/panel-header-D_mTdhUp.js.map +1 -0
  173. package/dist/_chunks/patient-details-f7SSXkTJ.js +371 -0
  174. package/dist/_chunks/patient-details-f7SSXkTJ.js.map +1 -0
  175. package/dist/_chunks/patient-field-row-BQZoP4m2.js +787 -0
  176. package/dist/_chunks/patient-field-row-BQZoP4m2.js.map +1 -0
  177. package/dist/_chunks/{patient-search-HeEUB-_X.js → patient-search-D08b6jgj.js} +2 -2
  178. package/dist/_chunks/{patient-search-HeEUB-_X.js.map → patient-search-D08b6jgj.js.map} +1 -1
  179. package/dist/_chunks/patient-summary-card-Bz7KdUin.js +533 -0
  180. package/dist/_chunks/patient-summary-card-Bz7KdUin.js.map +1 -0
  181. package/dist/_chunks/{payment-automation-upsell-DwQW2fRp.js → payment-automation-upsell-BLTdE2em.js} +50 -59
  182. package/dist/_chunks/payment-automation-upsell-BLTdE2em.js.map +1 -0
  183. package/dist/_chunks/{payment-form-Ds1I9KqB.js → payment-form-BHMDqW9C.js} +2 -2
  184. package/dist/_chunks/{payment-form-Ds1I9KqB.js.map → payment-form-BHMDqW9C.js.map} +1 -1
  185. package/dist/_chunks/{payment-request-card-DvEsWEkC.js → payment-request-card-BxcdvxKR.js} +6 -6
  186. package/dist/_chunks/{payment-request-card-DvEsWEkC.js.map → payment-request-card-BxcdvxKR.js.map} +1 -1
  187. package/dist/_chunks/{pdf-viewer-DUIsV9s5.js → pdf-viewer-DUKdn5iq.js} +2 -2
  188. package/dist/_chunks/{pdf-viewer-DUIsV9s5.js.map → pdf-viewer-DUKdn5iq.js.map} +1 -1
  189. package/dist/_chunks/{periodontal-chart-B9fphroR.js → periodontal-chart-BF_e3wZp.js} +2 -2
  190. package/dist/_chunks/{periodontal-chart-B9fphroR.js.map → periodontal-chart-BF_e3wZp.js.map} +1 -1
  191. package/dist/_chunks/{periodontal-chart-card-qEZPXj83.js → periodontal-chart-card-BJEuJuzh.js} +3 -3
  192. package/dist/_chunks/{periodontal-chart-card-qEZPXj83.js.map → periodontal-chart-card-BJEuJuzh.js.map} +1 -1
  193. package/dist/_chunks/{periodontal-diagnosis-lEwA8wqX.js → periodontal-diagnosis-C7pfPOct.js} +5 -5
  194. package/dist/_chunks/{periodontal-diagnosis-lEwA8wqX.js.map → periodontal-diagnosis-C7pfPOct.js.map} +1 -1
  195. package/dist/_chunks/{periodontal-risk-chart-0x7KVZjL.js → periodontal-risk-chart-B2tNFa15.js} +2 -2
  196. package/dist/_chunks/{periodontal-risk-chart-0x7KVZjL.js.map → periodontal-risk-chart-B2tNFa15.js.map} +1 -1
  197. package/dist/_chunks/{permission-matrix-BIJrGEmz.js → permission-matrix-VdAXjjHU.js} +3 -3
  198. package/dist/_chunks/{permission-matrix-BIJrGEmz.js.map → permission-matrix-VdAXjjHU.js.map} +1 -1
  199. package/dist/_chunks/{popover-DP6WCVwm.js → popover-DzR5QYxp.js} +24 -24
  200. package/dist/_chunks/{popover-DP6WCVwm.js.map → popover-DzR5QYxp.js.map} +1 -1
  201. package/dist/_chunks/{practice-profile-hero-DQyDvpJL.js → practice-profile-hero-DxoLlQr5.js} +2 -2
  202. package/dist/_chunks/{practice-profile-hero-DQyDvpJL.js.map → practice-profile-hero-DxoLlQr5.js.map} +1 -1
  203. package/dist/_chunks/{practice-results-kayDEorM.js → practice-results-DOcORTkP.js} +4 -4
  204. package/dist/_chunks/{practice-results-kayDEorM.js.map → practice-results-DOcORTkP.js.map} +1 -1
  205. package/dist/_chunks/{pregnancy-dating-n5j5dAKy.js → pregnancy-dating-nV1_S6w0.js} +6 -6
  206. package/dist/_chunks/{pregnancy-dating-n5j5dAKy.js.map → pregnancy-dating-nV1_S6w0.js.map} +1 -1
  207. package/dist/_chunks/{pregnancy-weight-gain-D5A8vPjj.js → pregnancy-weight-gain-tRecShAD.js} +4 -4
  208. package/dist/_chunks/{pregnancy-weight-gain-D5A8vPjj.js.map → pregnancy-weight-gain-tRecShAD.js.map} +1 -1
  209. package/dist/_chunks/{privacy-lock-CkAUo6Dz.js → privacy-lock-Be39vQUN.js} +2 -2
  210. package/dist/_chunks/{privacy-lock-CkAUo6Dz.js.map → privacy-lock-Be39vQUN.js.map} +1 -1
  211. package/dist/_chunks/{product-hub-panel-BScCotGD.js → product-hub-panel-C0TO69P7.js} +2 -2
  212. package/dist/_chunks/{product-hub-panel-BScCotGD.js.map → product-hub-panel-C0TO69P7.js.map} +1 -1
  213. package/dist/_chunks/{public-header.agent-kth2SdXn.js → public-header.agent-Bl1KFwSE.js} +3 -3
  214. package/dist/_chunks/{public-header.agent-kth2SdXn.js.map → public-header.agent-Bl1KFwSE.js.map} +1 -1
  215. package/dist/_chunks/{radio-DNRe6H_8.js → radio-6fml-pWk.js} +2 -2
  216. package/dist/_chunks/{radio-DNRe6H_8.js.map → radio-6fml-pWk.js.map} +1 -1
  217. package/dist/_chunks/{radio-group-DyVBgnA3.js → radio-group-CIjmyioi.js} +3 -3
  218. package/dist/_chunks/{radio-group-DyVBgnA3.js.map → radio-group-CIjmyioi.js.map} +1 -1
  219. package/dist/_chunks/{radiograph-panel.agent-o4jwEJPC.js → radiograph-panel.agent-k0G7JuoM.js} +6 -6
  220. package/dist/_chunks/{radiograph-panel.agent-o4jwEJPC.js.map → radiograph-panel.agent-k0G7JuoM.js.map} +1 -1
  221. package/dist/_chunks/{reviews-panel-BKHEfqVQ.js → reviews-panel-BaHZb_ai.js} +3 -3
  222. package/dist/_chunks/{reviews-panel-BKHEfqVQ.js.map → reviews-panel-BaHZb_ai.js.map} +1 -1
  223. package/dist/_chunks/{rich-text-editor-CCI-Y3DN.js → rich-text-editor-BTXlorm5.js} +7 -7
  224. package/dist/_chunks/{rich-text-editor-CCI-Y3DN.js.map → rich-text-editor-BTXlorm5.js.map} +1 -1
  225. package/dist/_chunks/{search-bar-CJj6sI9m.js → search-bar-CCmViqaa.js} +46 -46
  226. package/dist/_chunks/{search-bar-CJj6sI9m.js.map → search-bar-CCmViqaa.js.map} +1 -1
  227. package/dist/_chunks/section-card.agent-W18CHEgX.js +74 -0
  228. package/dist/_chunks/section-card.agent-W18CHEgX.js.map +1 -0
  229. package/dist/_chunks/{sheet-BSznOyJs.js → sheet-hm04DGFd.js} +2 -2
  230. package/dist/_chunks/{sheet-BSznOyJs.js.map → sheet-hm04DGFd.js.map} +1 -1
  231. package/dist/_chunks/{sign-document-jF4fZDJ5.js → sign-document-CRQuAn4W.js} +2 -2
  232. package/dist/_chunks/{sign-document-jF4fZDJ5.js.map → sign-document-CRQuAn4W.js.map} +1 -1
  233. package/dist/_chunks/{signature-request-vihDT8On.js → signature-request-Dej2g86d.js} +5 -5
  234. package/dist/_chunks/{signature-request-vihDT8On.js.map → signature-request-Dej2g86d.js.map} +1 -1
  235. package/dist/_chunks/{signature-status-chip-T5fyS-k9.js → signature-status-chip-D4NsrdeI.js} +3 -3
  236. package/dist/_chunks/{signature-status-chip-T5fyS-k9.js.map → signature-status-chip-D4NsrdeI.js.map} +1 -1
  237. package/dist/_chunks/{slot-grid-BuZOKfcd.js → slot-grid-8Ko6thzz.js} +2 -2
  238. package/dist/_chunks/{slot-grid-BuZOKfcd.js.map → slot-grid-8Ko6thzz.js.map} +1 -1
  239. package/dist/_chunks/{streaming-text-CvsjIQ7S.js → streaming-text-DjFqLSt_.js} +2 -2
  240. package/dist/_chunks/{streaming-text-CvsjIQ7S.js.map → streaming-text-DjFqLSt_.js.map} +1 -1
  241. package/dist/_chunks/{tab-bar-DvFJIQfL.js → tab-bar-rDkLiaA6.js} +2 -2
  242. package/dist/_chunks/{tab-bar-DvFJIQfL.js.map → tab-bar-rDkLiaA6.js.map} +1 -1
  243. package/dist/_chunks/{tag-3wgkwwDB.js → tag-Ci3xJPcH.js} +2 -2
  244. package/dist/_chunks/{tag-3wgkwwDB.js.map → tag-Ci3xJPcH.js.map} +1 -1
  245. package/dist/_chunks/{task-tray-COo-RlDv.js → task-tray-wl9eti6J.js} +2 -2
  246. package/dist/_chunks/{task-tray-COo-RlDv.js.map → task-tray-wl9eti6J.js.map} +1 -1
  247. package/dist/_chunks/{tasks-panel-DLKpSNoE.js → tasks-panel-BDNB7hsZ.js} +5 -5
  248. package/dist/_chunks/{tasks-panel-DLKpSNoE.js.map → tasks-panel-BDNB7hsZ.js.map} +1 -1
  249. package/dist/_chunks/{theme-toggle-uEwoKjl3.js → theme-toggle-CMz8YfC1.js} +3 -3
  250. package/dist/_chunks/{theme-toggle-uEwoKjl3.js.map → theme-toggle-CMz8YfC1.js.map} +1 -1
  251. package/dist/_chunks/{timeline-Bs9Erxlo.js → timeline-61AihzYz.js} +47 -47
  252. package/dist/_chunks/timeline-61AihzYz.js.map +1 -0
  253. package/dist/_chunks/{toast-YZz2sBzB.js → toast-8jqtbfAB.js} +2 -2
  254. package/dist/_chunks/{toast-YZz2sBzB.js.map → toast-8jqtbfAB.js.map} +1 -1
  255. package/dist/_chunks/{tool-rail-ONaV-Nzz.js → tool-rail-Bq5eiFMG.js} +3 -3
  256. package/dist/_chunks/{tool-rail-ONaV-Nzz.js.map → tool-rail-Bq5eiFMG.js.map} +1 -1
  257. package/dist/_chunks/{tooltip-DvmfrNvB.js → tooltip-Cp-PLePW.js} +41 -41
  258. package/dist/_chunks/tooltip-Cp-PLePW.js.map +1 -0
  259. package/dist/_chunks/{tooth-scheme-Qe7LO5Di.js → tooth-scheme-BWkYxxjR.js} +3 -3
  260. package/dist/_chunks/{tooth-scheme-Qe7LO5Di.js.map → tooth-scheme-BWkYxxjR.js.map} +1 -1
  261. package/dist/_chunks/{transaction-chip-DJCstquX.js → transaction-chip-Dth1nThY.js} +49 -48
  262. package/dist/_chunks/{transaction-chip-DJCstquX.js.map → transaction-chip-Dth1nThY.js.map} +1 -1
  263. package/dist/_chunks/{transcript-panel-BGkEhvHO.js → transcript-panel-u2HHxZB6.js} +2 -2
  264. package/dist/_chunks/{transcript-panel-BGkEhvHO.js.map → transcript-panel-u2HHxZB6.js.map} +1 -1
  265. package/dist/_chunks/user-x-DYszNtIg.js +45 -0
  266. package/dist/_chunks/user-x-DYszNtIg.js.map +1 -0
  267. package/dist/_chunks/{warning-stack-DQz0Jyir.js → warning-stack-BW5Dwb3z.js} +3 -3
  268. package/dist/_chunks/{warning-stack-DQz0Jyir.js.map → warning-stack-BW5Dwb3z.js.map} +1 -1
  269. package/dist/_chunks/{widget-picker-DvUkBemi.js → widget-picker-B1sj6uyf.js} +2 -2
  270. package/dist/_chunks/{widget-picker-DvUkBemi.js.map → widget-picker-B1sj6uyf.js.map} +1 -1
  271. package/dist/_chunks/{workflow-map-dNzJjBWG.js → workflow-map-D-LEni11.js} +5 -5
  272. package/dist/_chunks/{workflow-map-dNzJjBWG.js.map → workflow-map-D-LEni11.js.map} +1 -1
  273. package/dist/_chunks/workflow-status-xeaJTzD3.js +476 -0
  274. package/dist/_chunks/workflow-status-xeaJTzD3.js.map +1 -0
  275. package/dist/agent-catalog.json +185 -1
  276. package/dist/agent-i18n/en.json +27 -0
  277. package/dist/components/_shared/entity-card/entity-card.d.ts +44 -0
  278. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -1
  279. package/dist/components/_shared/entity-card/index.d.ts +1 -1
  280. package/dist/components/_shared/entity-card/index.d.ts.map +1 -1
  281. package/dist/components/_shared/note-attachment.d.ts +41 -0
  282. package/dist/components/_shared/note-attachment.d.ts.map +1 -0
  283. package/dist/components/_shared/note-markdown.d.ts +3 -0
  284. package/dist/components/_shared/note-markdown.d.ts.map +1 -0
  285. package/dist/components/_shared/patient-field-row.d.ts +40 -0
  286. package/dist/components/_shared/patient-field-row.d.ts.map +1 -0
  287. package/dist/components/agenda-card/index.js +1 -1
  288. package/dist/components/agenda-tray/index.js +1 -1
  289. package/dist/components/ai-consent-banner/index.js +1 -1
  290. package/dist/components/ai-prompt-input/index.js +1 -1
  291. package/dist/components/alert/index.js +1 -1
  292. package/dist/components/anamnesis-card/index.js +1 -1
  293. package/dist/components/anamnesis-summary-card/index.js +1 -1
  294. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  295. package/dist/components/appointment-card/index.js +2 -2
  296. package/dist/components/appointment-timeline/index.js +1 -1
  297. package/dist/components/audio-recorder/index.js +1 -1
  298. package/dist/components/badge/index.js +1 -1
  299. package/dist/components/bishop-score/index.js +1 -1
  300. package/dist/components/bmi-calculator/index.js +1 -1
  301. package/dist/components/booking/index.js +1 -1
  302. package/dist/components/button/index.js +1 -1
  303. package/dist/components/button-group/button-group.d.ts +20 -0
  304. package/dist/components/button-group/button-group.d.ts.map +1 -1
  305. package/dist/components/button-group/index.js +1 -1
  306. package/dist/components/calendar/index.js +1 -1
  307. package/dist/components/calendar-event-card/index.js +1 -1
  308. package/dist/components/care-plan-card/index.js +1 -1
  309. package/dist/components/care-plan-entry-card/index.js +1 -1
  310. package/dist/components/care-plan-header/index.js +1 -1
  311. package/dist/components/carousel/index.js +1 -1
  312. package/dist/components/chart/index.js +1 -1
  313. package/dist/components/chat-input/index.js +1 -1
  314. package/dist/components/chat-message/index.js +1 -1
  315. package/dist/components/checkbox/index.js +1 -1
  316. package/dist/components/checkbox-group/index.js +1 -1
  317. package/dist/components/clinical-note-card/clinical-note-card.d.ts +2 -34
  318. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -1
  319. package/dist/components/clinical-note-card/index.js +1 -1
  320. package/dist/components/connection-status/index.js +1 -1
  321. package/dist/components/contact-profile-card/index.js +1 -1
  322. package/dist/components/control-room-rail/index.js +1 -1
  323. package/dist/components/counter/counter.d.ts +6 -0
  324. package/dist/components/counter/counter.d.ts.map +1 -1
  325. package/dist/components/counter/index.js +1 -1
  326. package/dist/components/cycle-calculator/index.js +1 -1
  327. package/dist/components/dashboard-grid/index.js +1 -1
  328. package/dist/components/data-table/index.js +4 -4
  329. package/dist/components/data-table-tabs/index.js +1 -1
  330. package/dist/components/date-picker/index.js +1 -1
  331. package/dist/components/dependent-selector/index.js +1 -1
  332. package/dist/components/description-list/index.js +1 -1
  333. package/dist/components/document-preview/index.js +1 -1
  334. package/dist/components/document-scanner/index.js +1 -1
  335. package/dist/components/due-date-calculator/index.js +2 -2
  336. package/dist/components/editor-overlay/index.js +1 -1
  337. package/dist/components/entity-summary/index.js +1 -1
  338. package/dist/components/face-scheme/index.js +1 -1
  339. package/dist/components/fetal-weight/index.js +1 -1
  340. package/dist/components/field-array/index.js +1 -1
  341. package/dist/components/file-manager/index.js +1 -1
  342. package/dist/components/file-upload/index.js +1 -1
  343. package/dist/components/fiscal-code-input/index.js +1 -1
  344. package/dist/components/freemium-paywall/index.js +1 -1
  345. package/dist/components/gestational-age-calculator/index.js +1 -1
  346. package/dist/components/hcg-doubling/index.js +1 -1
  347. package/dist/components/header/index.js +1 -1
  348. package/dist/components/header-settings/index.js +1 -1
  349. package/dist/components/hover-card/hover-card.agent.d.ts +4 -0
  350. package/dist/components/hover-card/hover-card.agent.d.ts.map +1 -0
  351. package/dist/components/hover-card/hover-card.d.ts +80 -0
  352. package/dist/components/hover-card/hover-card.d.ts.map +1 -0
  353. package/dist/components/hover-card/index.d.ts +4 -0
  354. package/dist/components/hover-card/index.d.ts.map +1 -0
  355. package/dist/components/hover-card/index.js +6 -0
  356. package/dist/components/hover-card/index.js.map +1 -0
  357. package/dist/components/icon-button/index.js +1 -1
  358. package/dist/components/icon-button-group/index.js +1 -1
  359. package/dist/components/icon-picker/index.js +1 -1
  360. package/dist/components/index.d.ts +4 -0
  361. package/dist/components/index.d.ts.map +1 -1
  362. package/dist/components/info-tip/index.js +1 -1
  363. package/dist/components/key-value-pair/index.js +1 -1
  364. package/dist/components/key-value-pair/key-value-pair.d.ts +8 -1
  365. package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -1
  366. package/dist/components/locale-picker/index.js +1 -1
  367. package/dist/components/message-card/index.js +1 -1
  368. package/dist/components/message-tray/index.js +1 -1
  369. package/dist/components/multi-select/index.js +1 -1
  370. package/dist/components/note-timeline/index.d.ts +4 -0
  371. package/dist/components/note-timeline/index.d.ts.map +1 -0
  372. package/dist/components/note-timeline/index.js +6 -0
  373. package/dist/components/note-timeline/index.js.map +1 -0
  374. package/dist/components/note-timeline/note-timeline.agent.d.ts +4 -0
  375. package/dist/components/note-timeline/note-timeline.agent.d.ts.map +1 -0
  376. package/dist/components/note-timeline/note-timeline.d.ts +77 -0
  377. package/dist/components/note-timeline/note-timeline.d.ts.map +1 -0
  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/operator-hero/index.js +1 -1
  382. package/dist/components/optical-prescription/index.js +1 -1
  383. package/dist/components/panel-header/index.js +1 -1
  384. package/dist/components/panel-header/panel-header.d.ts +7 -0
  385. package/dist/components/panel-header/panel-header.d.ts.map +1 -1
  386. package/dist/components/patient-details/index.js +1 -1
  387. package/dist/components/patient-details/patient-details.d.ts.map +1 -1
  388. package/dist/components/patient-search/index.js +1 -1
  389. package/dist/components/patient-summary-card/index.js +1 -1
  390. package/dist/components/patient-summary-card/patient-summary-card.d.ts +54 -0
  391. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  392. package/dist/components/patient-table/index.js +1 -1
  393. package/dist/components/payment-card/index.js +1 -1
  394. package/dist/components/payment-form/index.js +1 -1
  395. package/dist/components/pdf-viewer/index.js +1 -1
  396. package/dist/components/periodontal-chart/index.js +1 -1
  397. package/dist/components/periodontal-chart-card/index.js +1 -1
  398. package/dist/components/periodontal-diagnosis/index.js +1 -1
  399. package/dist/components/periodontal-risk-chart/index.js +1 -1
  400. package/dist/components/permission-matrix/index.js +1 -1
  401. package/dist/components/popover/index.js +1 -1
  402. package/dist/components/practice-profile-hero/index.js +1 -1
  403. package/dist/components/practice-results/index.js +1 -1
  404. package/dist/components/pregnancy-dating/index.js +1 -1
  405. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  406. package/dist/components/privacy-lock/index.js +1 -1
  407. package/dist/components/product-hub-tray/index.js +1 -1
  408. package/dist/components/public-header/index.js +1 -1
  409. package/dist/components/radio/index.js +1 -1
  410. package/dist/components/radio-group/index.js +2 -2
  411. package/dist/components/radiograph-panel/index.js +1 -1
  412. package/dist/components/reviews-panel/index.js +1 -1
  413. package/dist/components/rich-text-editor/index.js +1 -1
  414. package/dist/components/search-bar/index.js +1 -1
  415. package/dist/components/section-card/index.d.ts +4 -0
  416. package/dist/components/section-card/index.d.ts.map +1 -0
  417. package/dist/components/section-card/index.js +6 -0
  418. package/dist/components/section-card/index.js.map +1 -0
  419. package/dist/components/section-card/section-card.agent.d.ts +3 -0
  420. package/dist/components/section-card/section-card.agent.d.ts.map +1 -0
  421. package/dist/components/section-card/section-card.d.ts +30 -0
  422. package/dist/components/section-card/section-card.d.ts.map +1 -0
  423. package/dist/components/sheet/index.js +1 -1
  424. package/dist/components/sign-document/index.js +1 -1
  425. package/dist/components/signature-status-chip/index.js +1 -1
  426. package/dist/components/slot-grid/index.js +1 -1
  427. package/dist/components/streaming-text/index.js +1 -1
  428. package/dist/components/tab-bar/index.js +1 -1
  429. package/dist/components/tag/index.js +1 -1
  430. package/dist/components/task-tray/index.js +1 -1
  431. package/dist/components/tasks-panel/index.js +1 -1
  432. package/dist/components/theme-toggle/index.js +1 -1
  433. package/dist/components/timeline/index.js +1 -1
  434. package/dist/components/timeline/timeline.d.ts +1 -1
  435. package/dist/components/timeline/timeline.d.ts.map +1 -1
  436. package/dist/components/toast/index.js +1 -1
  437. package/dist/components/tool-rail/index.js +1 -1
  438. package/dist/components/tooltip/index.js +1 -1
  439. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  440. package/dist/components/tooth-scheme/index.js +1 -1
  441. package/dist/components/transaction-chip/index.js +1 -1
  442. package/dist/components/transaction-chip/transaction-chip.d.ts +11 -0
  443. package/dist/components/transaction-chip/transaction-chip.d.ts.map +1 -1
  444. package/dist/components/transcript-panel/index.js +1 -1
  445. package/dist/components/warning-stack/index.js +1 -1
  446. package/dist/components/widget-picker/index.js +1 -1
  447. package/dist/components/workflow/index.js +1 -1
  448. package/dist/components/workflow-status/index.d.ts +4 -0
  449. package/dist/components/workflow-status/index.d.ts.map +1 -0
  450. package/dist/components/workflow-status/index.js +7 -0
  451. package/dist/components/workflow-status/index.js.map +1 -0
  452. package/dist/components/workflow-status/workflow-status.agent.d.ts +4 -0
  453. package/dist/components/workflow-status/workflow-status.agent.d.ts.map +1 -0
  454. package/dist/components/workflow-status/workflow-status.d.ts +52 -0
  455. package/dist/components/workflow-status/workflow-status.d.ts.map +1 -0
  456. package/dist/host-compat.css +4 -1
  457. package/dist/i18n/locales/ar.d.ts +12 -0
  458. package/dist/i18n/locales/ar.d.ts.map +1 -1
  459. package/dist/i18n/locales/ar.js +12 -0
  460. package/dist/i18n/locales/ar.js.map +1 -1
  461. package/dist/i18n/locales/de.d.ts +12 -0
  462. package/dist/i18n/locales/de.d.ts.map +1 -1
  463. package/dist/i18n/locales/de.js +12 -0
  464. package/dist/i18n/locales/de.js.map +1 -1
  465. package/dist/i18n/locales/el.d.ts +12 -0
  466. package/dist/i18n/locales/el.d.ts.map +1 -1
  467. package/dist/i18n/locales/el.js +12 -0
  468. package/dist/i18n/locales/el.js.map +1 -1
  469. package/dist/i18n/locales/en.d.ts +12 -0
  470. package/dist/i18n/locales/en.d.ts.map +1 -1
  471. package/dist/i18n/locales/en.js +12 -0
  472. package/dist/i18n/locales/en.js.map +1 -1
  473. package/dist/i18n/locales/es.d.ts +12 -0
  474. package/dist/i18n/locales/es.d.ts.map +1 -1
  475. package/dist/i18n/locales/es.js +12 -0
  476. package/dist/i18n/locales/es.js.map +1 -1
  477. package/dist/i18n/locales/fr.d.ts +12 -0
  478. package/dist/i18n/locales/fr.d.ts.map +1 -1
  479. package/dist/i18n/locales/fr.js +12 -0
  480. package/dist/i18n/locales/fr.js.map +1 -1
  481. package/dist/i18n/locales/hi.d.ts +12 -0
  482. package/dist/i18n/locales/hi.d.ts.map +1 -1
  483. package/dist/i18n/locales/hi.js +12 -0
  484. package/dist/i18n/locales/hi.js.map +1 -1
  485. package/dist/i18n/locales/it.d.ts +12 -0
  486. package/dist/i18n/locales/it.d.ts.map +1 -1
  487. package/dist/i18n/locales/it.js +12 -0
  488. package/dist/i18n/locales/it.js.map +1 -1
  489. package/dist/i18n/locales/ja.d.ts +12 -0
  490. package/dist/i18n/locales/ja.d.ts.map +1 -1
  491. package/dist/i18n/locales/ja.js +12 -0
  492. package/dist/i18n/locales/ja.js.map +1 -1
  493. package/dist/i18n/locales/nl.d.ts +12 -0
  494. package/dist/i18n/locales/nl.d.ts.map +1 -1
  495. package/dist/i18n/locales/nl.js +12 -0
  496. package/dist/i18n/locales/nl.js.map +1 -1
  497. package/dist/i18n/locales/pl.d.ts +12 -0
  498. package/dist/i18n/locales/pl.d.ts.map +1 -1
  499. package/dist/i18n/locales/pl.js +12 -0
  500. package/dist/i18n/locales/pl.js.map +1 -1
  501. package/dist/i18n/locales/pt.d.ts +12 -0
  502. package/dist/i18n/locales/pt.d.ts.map +1 -1
  503. package/dist/i18n/locales/pt.js +12 -0
  504. package/dist/i18n/locales/pt.js.map +1 -1
  505. package/dist/i18n/locales/ro.d.ts +12 -0
  506. package/dist/i18n/locales/ro.d.ts.map +1 -1
  507. package/dist/i18n/locales/ro.js +12 -0
  508. package/dist/i18n/locales/ro.js.map +1 -1
  509. package/dist/i18n/locales/ru.d.ts +12 -0
  510. package/dist/i18n/locales/ru.d.ts.map +1 -1
  511. package/dist/i18n/locales/ru.js +12 -0
  512. package/dist/i18n/locales/ru.js.map +1 -1
  513. package/dist/i18n/locales/sq.d.ts +12 -0
  514. package/dist/i18n/locales/sq.d.ts.map +1 -1
  515. package/dist/i18n/locales/sq.js +12 -0
  516. package/dist/i18n/locales/sq.js.map +1 -1
  517. package/dist/i18n/locales/sv.d.ts +12 -0
  518. package/dist/i18n/locales/sv.d.ts.map +1 -1
  519. package/dist/i18n/locales/sv.js +12 -0
  520. package/dist/i18n/locales/sv.js.map +1 -1
  521. package/dist/i18n/locales/tr.d.ts +12 -0
  522. package/dist/i18n/locales/tr.d.ts.map +1 -1
  523. package/dist/i18n/locales/tr.js +12 -0
  524. package/dist/i18n/locales/tr.js.map +1 -1
  525. package/dist/i18n/locales/zh.d.ts +12 -0
  526. package/dist/i18n/locales/zh.d.ts.map +1 -1
  527. package/dist/i18n/locales/zh.js +12 -0
  528. package/dist/i18n/locales/zh.js.map +1 -1
  529. package/dist/index.js +929 -916
  530. package/dist/index.js.map +1 -1
  531. package/dist/locales/ar.json +12 -0
  532. package/dist/locales/de.json +12 -0
  533. package/dist/locales/el.json +12 -0
  534. package/dist/locales/en.json +12 -0
  535. package/dist/locales/es.json +12 -0
  536. package/dist/locales/fr.json +12 -0
  537. package/dist/locales/hi.json +12 -0
  538. package/dist/locales/it.json +12 -0
  539. package/dist/locales/ja.json +12 -0
  540. package/dist/locales/nl.json +12 -0
  541. package/dist/locales/pl.json +12 -0
  542. package/dist/locales/pt.json +12 -0
  543. package/dist/locales/ro.json +12 -0
  544. package/dist/locales/ru.json +12 -0
  545. package/dist/locales/sq.json +12 -0
  546. package/dist/locales/sv.json +12 -0
  547. package/dist/locales/tr.json +12 -0
  548. package/dist/locales/zh.json +12 -0
  549. package/dist/patterns/alia-assistant/index.js +1 -1
  550. package/dist/patterns/anamnesis/index.js +1 -1
  551. package/dist/patterns/calendar/calendar.model.d.ts +2 -0
  552. package/dist/patterns/calendar/calendar.model.d.ts.map +1 -1
  553. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  554. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  555. package/dist/patterns/calendar/index.js +1 -1
  556. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  557. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  558. package/dist/patterns/signature-request/index.js +1 -1
  559. package/dist/tokens.css +1 -1
  560. package/package.json +17 -1
  561. package/dist/_chunks/appointment-card-Bh_CIlc6.js.map +0 -1
  562. package/dist/_chunks/button-group-CaxRJsNG.js +0 -289
  563. package/dist/_chunks/button-group-CaxRJsNG.js.map +0 -1
  564. package/dist/_chunks/calendar-event-card-DSh-69HT.js.map +0 -1
  565. package/dist/_chunks/calendar-workspace-UywR5gUl.js.map +0 -1
  566. package/dist/_chunks/clinical-note-card-CTRzmqvv.js +0 -438
  567. package/dist/_chunks/clinical-note-card-CTRzmqvv.js.map +0 -1
  568. package/dist/_chunks/counter-dRlTNC_y.js.map +0 -1
  569. package/dist/_chunks/entity-card-9_62gY7l.js.map +0 -1
  570. package/dist/_chunks/field-value-BetdWMA2.js +0 -384
  571. package/dist/_chunks/field-value-BetdWMA2.js.map +0 -1
  572. package/dist/_chunks/file-upload-CwxdqkMK.js.map +0 -1
  573. package/dist/_chunks/key-value-pair-BIBdZBLg.js.map +0 -1
  574. package/dist/_chunks/panel-header-D313n_9-.js +0 -105
  575. package/dist/_chunks/panel-header-D313n_9-.js.map +0 -1
  576. package/dist/_chunks/patient-details-BGiawUHd.js +0 -760
  577. package/dist/_chunks/patient-details-BGiawUHd.js.map +0 -1
  578. package/dist/_chunks/patient-summary-card--CT_gbaQ.js +0 -454
  579. package/dist/_chunks/patient-summary-card--CT_gbaQ.js.map +0 -1
  580. package/dist/_chunks/payment-automation-upsell-DwQW2fRp.js.map +0 -1
  581. package/dist/_chunks/timeline-Bs9Erxlo.js.map +0 -1
  582. package/dist/_chunks/tooltip-DvmfrNvB.js.map +0 -1
@@ -0,0 +1,787 @@
1
+ import { useMemo as B, useCallback as V, useState as z, cloneElement as W, useId as Y } from "react";
2
+ import { u as Z } from "./use-controllable-state-BiY4xTzM.js";
3
+ import { jsxs as k, jsx as t, Fragment as G } from "react/jsx-runtime";
4
+ import { useTranslation as E } from "react-i18next";
5
+ import { B as ee } from "./button-nJaPh_HC.js";
6
+ import { I } from "./icon-button-8xqRnkdG.js";
7
+ import { C as $ } from "./checkbox-CZkipDn7.js";
8
+ import { P as O } from "./popover-DzR5QYxp.js";
9
+ import { S as te } from "./separator-CYU_bGFn.js";
10
+ import { S as ae } from "./settings-d25ju_6L.js";
11
+ import { G as ne } from "./grip-vertical-onSb1JXO.js";
12
+ import { D as R } from "./description-list-C1RXMDZ_.js";
13
+ import { B as U } from "./badge-BudgzTe_.js";
14
+ import { L as re } from "./link-CPb_pZPr.js";
15
+ import { T as se } from "./transaction-chip-Dth1nThY.js";
16
+ import { H as ie } from "./hash-CSQ9SChR.js";
17
+ import { C as oe } from "./calendar-days-BGWklvE-.js";
18
+ import { H as le } from "./hourglass-BEAzW1wE.js";
19
+ import { c as q } from "./createLucideIcon-DhHxpK9K.js";
20
+ import { U as ce } from "./user-B12p7bVF.js";
21
+ import { C as de } from "./city-input-DaQc-Hbj.js";
22
+ import { C as ue } from "./country-select-CfDNFG5c.js";
23
+ import { D as me } from "./date-picker-6tFnKFty.js";
24
+ import { E as pe } from "./email-input-Dpe63k0K.js";
25
+ import { F as fe } from "./fiscal-code-input-CkwIdB1y.js";
26
+ import { N as ge } from "./number-input-Cgu2TtA8.js";
27
+ import { P as he } from "./phone-input-BsZIoE36.js";
28
+ import { P as ye } from "./postal-code-input-BznBxVxf.js";
29
+ import { P as be } from "./province-select-BaUnkg4S.js";
30
+ import { S as ve } from "./select-CLSUnKjF.js";
31
+ import { S as xe } from "./switch-OILsBLWo.js";
32
+ import { T as Ce } from "./text-area-Bt3p7Pt0.js";
33
+ import { T as Ve } from "./text-input-CUvCb6ST.js";
34
+ import { C as K } from "./check-DrFSN__t.js";
35
+ import { X as ke } from "./x-B5YnXwCz.js";
36
+ import { P as Ne } from "./pencil-B1sKKyuT.js";
37
+ import { L as De } from "./lock-ClAFG1gy.js";
38
+ import { C as we } from "./copy-vRpqqHtY.js";
39
+ /**
40
+ * @license lucide-react v1.22.0 - ISC
41
+ *
42
+ * This source code is licensed under the ISC license.
43
+ * See the LICENSE file in the root directory of this source tree.
44
+ */
45
+ const Se = [
46
+ ["path", { d: "M16 3h5v5", key: "1806ms" }],
47
+ ["path", { d: "m21 3-6.75 6.75", key: "pv0uzu" }],
48
+ ["circle", { cx: "10", cy: "14", r: "6", key: "1qwbdc" }]
49
+ ], Te = q("mars", Se);
50
+ /**
51
+ * @license lucide-react v1.22.0 - ISC
52
+ *
53
+ * This source code is licensed under the ISC license.
54
+ * See the LICENSE file in the root directory of this source tree.
55
+ */
56
+ const ze = [
57
+ ["path", { d: "M12 15v7", key: "t2xh3l" }],
58
+ ["path", { d: "M9 19h6", key: "456am0" }],
59
+ ["circle", { cx: "12", cy: "9", r: "6", key: "1nw4tq" }]
60
+ ], Pe = q("venus", ze);
61
+ function X(e) {
62
+ return e.flatMap((n) => n.fields.map((a) => a.id));
63
+ }
64
+ function Nt(e, n) {
65
+ const a = n ?? X(e), r = new Map(a.map((s, h) => [s, h]));
66
+ return e.map((s) => ({
67
+ section: s,
68
+ fields: s.fields.filter((h) => r.has(h.id)).sort(
69
+ (h, l) => r.get(h.id) - r.get(l.id)
70
+ )
71
+ }));
72
+ }
73
+ function Dt(e, { value: n, defaultValue: a, onChange: r } = {}) {
74
+ const s = B(
75
+ () => X(e),
76
+ [e]
77
+ ), [h, l] = Z({
78
+ value: n,
79
+ defaultValue: a ?? s,
80
+ onChange: r
81
+ }), c = h ?? a ?? s, m = B(() => {
82
+ const g = /* @__PURE__ */ new Map();
83
+ for (const y of e)
84
+ for (const x of y.fields)
85
+ g.set(x.id, { field: x, sectionId: y.id });
86
+ return g;
87
+ }, [e]), d = V(
88
+ (g) => {
89
+ l(g.filter((y) => m.has(y)));
90
+ },
91
+ [l, m]
92
+ ), i = V(
93
+ (g) => {
94
+ d(
95
+ c.includes(g) ? c.filter((y) => y !== g) : [...c, g]
96
+ );
97
+ },
98
+ [c, d]
99
+ ), F = V(
100
+ (g, y) => {
101
+ var D;
102
+ const x = ((D = e.find((p) => p.id === g)) == null ? void 0 : D.fields.map((p) => p.id)) ?? [], P = new Set(x);
103
+ if (y) {
104
+ const p = x.filter((u) => !c.includes(u));
105
+ d([...c, ...p]);
106
+ } else
107
+ d(c.filter((p) => !P.has(p)));
108
+ },
109
+ [e, c, d]
110
+ ), N = V(
111
+ (g, y) => {
112
+ var L, o, A;
113
+ if (g === y) return;
114
+ const x = (L = m.get(g)) == null ? void 0 : L.sectionId, P = (o = m.get(y)) == null ? void 0 : o.sectionId;
115
+ if (!x || x !== P) return;
116
+ const D = new Set(
117
+ ((A = e.find((b) => b.id === x)) == null ? void 0 : A.fields.map((b) => b.id)) ?? []
118
+ ), p = c.filter((b) => D.has(b)), u = p.indexOf(g), v = p.indexOf(y);
119
+ if (u < 0 || v < 0) return;
120
+ const [S] = p.splice(u, 1);
121
+ p.splice(v, 0, S);
122
+ let C = 0;
123
+ const H = c.map(
124
+ (b) => D.has(b) ? p[C++] : b
125
+ );
126
+ d(H);
127
+ },
128
+ [m, e, c, d]
129
+ ), w = V(() => {
130
+ d(a ?? s);
131
+ }, [a, s, d]);
132
+ return {
133
+ visible: c,
134
+ catalogueIds: s,
135
+ fieldById: m,
136
+ setOrder: d,
137
+ toggleField: i,
138
+ toggleSection: F,
139
+ moveFieldOnto: N,
140
+ reset: w
141
+ };
142
+ }
143
+ function wt({
144
+ sections: e,
145
+ visible: n,
146
+ onToggleField: a,
147
+ onToggleSection: r,
148
+ onMoveFieldOnto: s,
149
+ onReset: h,
150
+ label: l
151
+ }) {
152
+ const { t: c } = E(), m = B(() => new Set(n), [n]), [d, i] = z(null), [F, N] = z(null), [w, g] = z(""), { sectionOfField: y, labelOfField: x } = B(() => {
153
+ const u = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
154
+ for (const S of e)
155
+ for (const C of S.fields)
156
+ u.set(C.id, S.id), v.set(C.id, C.label);
157
+ return { sectionOfField: u, labelOfField: v };
158
+ }, [e]), P = d ? y.get(d) : void 0, D = V(() => {
159
+ i(null), N(null);
160
+ }, []), p = V(
161
+ (u, v, S) => {
162
+ g(
163
+ c("fieldPicker.moved", {
164
+ field: x.get(u) ?? "",
165
+ position: v + 1,
166
+ count: S,
167
+ defaultValue: "Moved {{field}} to position {{position}} of {{count}}"
168
+ })
169
+ );
170
+ },
171
+ [c, x]
172
+ );
173
+ return /* @__PURE__ */ k(O.Root, { children: [
174
+ /* @__PURE__ */ t(O.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
175
+ I,
176
+ {
177
+ size: "sm",
178
+ intent: "outline",
179
+ icon: /* @__PURE__ */ t(ae, { "aria-hidden": "true" }),
180
+ "aria-label": l ?? c("fieldPicker.trigger", { defaultValue: "Customize fields" }),
181
+ className: "ds:shrink-0"
182
+ }
183
+ ) }),
184
+ /* @__PURE__ */ k(O.Content, { align: "end", size: "sm", children: [
185
+ /* @__PURE__ */ t(O.Heading, { children: c("fieldPicker.title", { defaultValue: "Customize fields" }) }),
186
+ /* @__PURE__ */ k("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:mt-[var(--spacing-xs)]", children: [
187
+ e.map((u) => {
188
+ const v = u.fields.map((o) => o.id), S = v.filter(
189
+ (o) => m.has(o)
190
+ ).length, C = n.filter(
191
+ (o) => v.includes(o)
192
+ ), H = S === 0 ? !1 : S === v.length ? !0 : "indeterminate", L = !!u.heading;
193
+ return /* @__PURE__ */ k(
194
+ "div",
195
+ {
196
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
197
+ children: [
198
+ L ? /* @__PURE__ */ t(
199
+ $,
200
+ {
201
+ size: "sm",
202
+ label: u.heading,
203
+ checked: H,
204
+ onCheckedChange: (o) => r(u.id, o === !0)
205
+ }
206
+ ) : null,
207
+ /* @__PURE__ */ t(
208
+ "ul",
209
+ {
210
+ className: [
211
+ "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)]",
212
+ L ? "ds:ps-[var(--spacing-md)]" : "ds:ps-0"
213
+ ].join(" "),
214
+ children: u.fields.map((o) => {
215
+ const A = m.has(o.id), b = C.indexOf(o.id), T = C.length, J = d === o.id, Q = F === o.id && d !== null && d !== o.id && P === u.id;
216
+ return /* @__PURE__ */ k(
217
+ "li",
218
+ {
219
+ ...A ? {
220
+ draggable: !0,
221
+ onDragStart: (f) => {
222
+ i(o.id), f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", o.id);
223
+ },
224
+ onDragOver: (f) => {
225
+ d === null || P !== u.id || (f.preventDefault(), f.dataTransfer.dropEffect = "move", N(o.id));
226
+ },
227
+ onDragLeave: () => N(
228
+ (f) => f === o.id ? null : f
229
+ ),
230
+ onDrop: (f) => {
231
+ f.preventDefault();
232
+ const M = f.dataTransfer.getData("text/plain");
233
+ M && M !== o.id && y.get(M) === u.id && (s(M, o.id), p(M, b, T)), D();
234
+ },
235
+ onDragEnd: D
236
+ } : {},
237
+ className: [
238
+ "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",
239
+ J ? "ds:opacity-50" : "",
240
+ Q ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
241
+ ].filter(Boolean).join(" "),
242
+ children: [
243
+ /* @__PURE__ */ t(
244
+ $,
245
+ {
246
+ size: "sm",
247
+ label: o.label,
248
+ checked: A,
249
+ onCheckedChange: () => a(o.id)
250
+ }
251
+ ),
252
+ A ? /* @__PURE__ */ t(
253
+ I,
254
+ {
255
+ size: "sm",
256
+ intent: "ghost",
257
+ icon: /* @__PURE__ */ t(ne, { "aria-hidden": "true" }),
258
+ "aria-label": c("fieldPicker.reorder", {
259
+ field: o.label,
260
+ defaultValue: "Reorder {{field}}. Press Alt + Up or Alt + Down to move."
261
+ }),
262
+ "aria-keyshortcuts": "Alt+ArrowUp Alt+ArrowDown Alt+Home Alt+End",
263
+ className: "ds:shrink-0 ds:cursor-grab ds:active:cursor-grabbing",
264
+ onKeyDown: (f) => {
265
+ if (f.altKey) {
266
+ if (f.key === "ArrowUp") {
267
+ if (b <= 0) return;
268
+ f.preventDefault(), s(
269
+ o.id,
270
+ C[b - 1]
271
+ ), p(o.id, b - 1, T);
272
+ } else if (f.key === "ArrowDown") {
273
+ if (b >= T - 1) return;
274
+ f.preventDefault(), s(
275
+ o.id,
276
+ C[b + 1]
277
+ ), p(o.id, b + 1, T);
278
+ } else if (f.key === "Home") {
279
+ if (b <= 0) return;
280
+ f.preventDefault(), s(o.id, C[0]), p(o.id, 0, T);
281
+ } else if (f.key === "End") {
282
+ if (b >= T - 1) return;
283
+ f.preventDefault(), s(
284
+ o.id,
285
+ C[T - 1]
286
+ ), p(o.id, T - 1, T);
287
+ }
288
+ }
289
+ }
290
+ }
291
+ ) : null
292
+ ]
293
+ },
294
+ o.id
295
+ );
296
+ })
297
+ }
298
+ )
299
+ ]
300
+ },
301
+ u.id
302
+ );
303
+ }),
304
+ /* @__PURE__ */ t(te, { orientation: "horizontal" }),
305
+ /* @__PURE__ */ t(ee, { type: "button", size: "sm", intent: "ghost", onClick: h, children: c("fieldPicker.reset", { defaultValue: "Reset to defaults" }) })
306
+ ] }),
307
+ /* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children: w })
308
+ ] })
309
+ ] });
310
+ }
311
+ const j = "ds:text-[color:var(--foreground)]", Ee = {
312
+ m: "Male",
313
+ f: "Female",
314
+ x: "Other"
315
+ };
316
+ function _({
317
+ icon: e,
318
+ mono: n,
319
+ children: a
320
+ }) {
321
+ return /* @__PURE__ */ t(
322
+ U,
323
+ {
324
+ variant: "neutral",
325
+ className: n ? "ds:font-mono" : void 0,
326
+ leading: e ? W(e, {
327
+ className: j
328
+ }) : void 0,
329
+ children: /* @__PURE__ */ t("span", { className: j, children: a })
330
+ }
331
+ );
332
+ }
333
+ function Fe({ code: e }) {
334
+ const { t: n } = E(), a = e.toLowerCase(), r = n(`patientField.sex.${a}`, {
335
+ defaultValue: Ee[a] ?? e
336
+ });
337
+ return a === "f" ? /* @__PURE__ */ t(U, { variant: "accentSoft", leading: /* @__PURE__ */ t(Pe, {}), children: r }) : a === "m" ? /* @__PURE__ */ t(U, { variant: "info", leading: /* @__PURE__ */ t(Te, {}), children: r }) : /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(ce, {}), children: r });
338
+ }
339
+ function Ae({ years: e }) {
340
+ const { t: n } = E();
341
+ return /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(le, {}), children: n("patientField.age", {
342
+ count: e,
343
+ defaultValue: "{{count}} years old"
344
+ }) });
345
+ }
346
+ function Ie({ field: e }) {
347
+ const { i18n: n } = E();
348
+ if (e.kind === "email" || e.kind === "phone") {
349
+ const a = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
350
+ if (a) {
351
+ const r = e.kind === "email" ? `mailto:${a.trim()}` : `tel:${a.replace(/[^+\d]/g, "")}`;
352
+ return /* @__PURE__ */ t(re, { href: r, children: a });
353
+ }
354
+ }
355
+ if (e.value != null)
356
+ return /* @__PURE__ */ t(G, { children: e.value });
357
+ if (!e.kind)
358
+ return null;
359
+ switch (e.kind) {
360
+ case "sex":
361
+ return /* @__PURE__ */ t(Fe, { code: String(e.editValue ?? "") });
362
+ case "age": {
363
+ const a = typeof e.editValue == "number" ? e.editValue : Number(e.editValue);
364
+ return Number.isFinite(a) ? /* @__PURE__ */ t(Ae, { years: a }) : null;
365
+ }
366
+ case "dob": {
367
+ const a = e.editValue, r = a instanceof Date ? a : new Date(String(a ?? "")), s = Number.isNaN(r.getTime()) ? String(a ?? "") : new Intl.DateTimeFormat(n.language, {
368
+ day: "numeric",
369
+ month: "short",
370
+ year: "numeric"
371
+ }).format(r);
372
+ return s ? /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(oe, {}), children: s }) : null;
373
+ }
374
+ case "fiscalCode": {
375
+ const a = e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
376
+ return a ? /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(ie, {}), mono: !0, children: a }) : null;
377
+ }
378
+ case "discount": {
379
+ const a = typeof e.editValue == "number" ? e.editValue : Number(e.editValue);
380
+ return Number.isFinite(a) ? /* @__PURE__ */ t(
381
+ se,
382
+ {
383
+ state: "discount",
384
+ amount: Math.abs(a),
385
+ currency: e.currency,
386
+ size: "sm"
387
+ }
388
+ ) : null;
389
+ }
390
+ default:
391
+ return null;
392
+ }
393
+ }
394
+ function Le({
395
+ field: e
396
+ }) {
397
+ const { t: n } = E();
398
+ return /* @__PURE__ */ k("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
399
+ e.label,
400
+ e.sensitive ? /* @__PURE__ */ t(
401
+ De,
402
+ {
403
+ "aria-label": n("patientDetails.sensitive", {
404
+ defaultValue: "Sensitive"
405
+ }),
406
+ className: "ds:size-3 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
407
+ }
408
+ ) : null
409
+ ] });
410
+ }
411
+ function Me({
412
+ field: e,
413
+ editable: n,
414
+ onFieldSave: a,
415
+ validate: r,
416
+ locale: s
417
+ }) {
418
+ const { t: h } = E(), l = Y(), c = n && !!e.editable && !!a, [m, d] = z(!1), [i, F] = z(e.editValue), [N, w] = z(null), [g, y] = z(!1), x = V(() => {
419
+ F(e.editValue), w(null), d(!0);
420
+ }, [e.editValue]), P = V(() => {
421
+ d(!1), w(null);
422
+ }, []), D = V(async () => {
423
+ if (!a) return;
424
+ const u = (r == null ? void 0 : r(e.id, i)) ?? null;
425
+ if (u) {
426
+ w(u);
427
+ return;
428
+ }
429
+ y(!0), w(null);
430
+ try {
431
+ await a(e.id, i), d(!1);
432
+ } catch (v) {
433
+ w(
434
+ v instanceof Error && v.message ? v.message : h("patientDetails.edit.saveFailed", {
435
+ defaultValue: "Could not save. Try again."
436
+ })
437
+ );
438
+ } finally {
439
+ y(!1);
440
+ }
441
+ }, [a, r, e.id, i, h]), p = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0);
442
+ return m ? /* @__PURE__ */ k("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
443
+ /* @__PURE__ */ k("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
444
+ /* @__PURE__ */ t(
445
+ Oe,
446
+ {
447
+ field: e,
448
+ value: i,
449
+ onChange: F,
450
+ invalid: !!N,
451
+ errorId: N ? l : void 0,
452
+ locale: s,
453
+ disabled: g
454
+ }
455
+ ),
456
+ /* @__PURE__ */ t(
457
+ I,
458
+ {
459
+ size: "sm",
460
+ intent: "primary",
461
+ icon: /* @__PURE__ */ t(K, { "aria-hidden": "true" }),
462
+ "aria-label": h("patientDetails.edit.save", { defaultValue: "Save" }),
463
+ loading: g,
464
+ onClick: D
465
+ }
466
+ ),
467
+ /* @__PURE__ */ t(
468
+ I,
469
+ {
470
+ size: "sm",
471
+ intent: "ghost",
472
+ icon: /* @__PURE__ */ t(ke, { "aria-hidden": "true" }),
473
+ "aria-label": h("patientDetails.edit.cancel", {
474
+ defaultValue: "Cancel"
475
+ }),
476
+ disabled: g,
477
+ onClick: P
478
+ }
479
+ )
480
+ ] }),
481
+ N ? /* @__PURE__ */ t(
482
+ "span",
483
+ {
484
+ id: l,
485
+ role: "alert",
486
+ className: "type-meta ds:text-[color:var(--destructive)]",
487
+ children: N
488
+ }
489
+ ) : null
490
+ ] }) : /* @__PURE__ */ k("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)] ds:min-w-0", children: [
491
+ /* @__PURE__ */ t(
492
+ "span",
493
+ {
494
+ className: `ds:min-w-0 ${e.editType === "textarea" ? "" : "ds:truncate"}${e.mono ? " ds:font-mono" : ""}`,
495
+ title: p,
496
+ children: /* @__PURE__ */ t(Ie, { field: e })
497
+ }
498
+ ),
499
+ e.copyable && e.copyText ? /* @__PURE__ */ t(Be, { text: e.copyText, label: e.label }) : null,
500
+ c ? /* @__PURE__ */ t(
501
+ I,
502
+ {
503
+ size: "sm",
504
+ intent: "ghost",
505
+ className: "ds:shrink-0 ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:focus-visible:opacity-100",
506
+ icon: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
507
+ "aria-label": h("patientDetails.edit.editField", {
508
+ field: e.label,
509
+ defaultValue: "Edit {{field}}"
510
+ }),
511
+ onClick: x
512
+ }
513
+ ) : null
514
+ ] });
515
+ }
516
+ function St({
517
+ field: e,
518
+ icon: n,
519
+ ...a
520
+ }) {
521
+ return /* @__PURE__ */ k(
522
+ R.Row,
523
+ {
524
+ icon: n ?? null,
525
+ "data-field-id": e.id,
526
+ className: "ds:group",
527
+ children: [
528
+ /* @__PURE__ */ t(R.Term, { children: /* @__PURE__ */ t(Le, { field: e }) }),
529
+ /* @__PURE__ */ t(R.Detail, { children: /* @__PURE__ */ t(Me, { field: e, ...a }) })
530
+ ]
531
+ }
532
+ );
533
+ }
534
+ function Oe({
535
+ field: e,
536
+ value: n,
537
+ onChange: a,
538
+ invalid: r,
539
+ errorId: s,
540
+ locale: h,
541
+ disabled: l
542
+ }) {
543
+ const { t: c } = E(), m = r ? "error" : "default";
544
+ switch (e.editType ?? "text") {
545
+ case "textarea":
546
+ return /* @__PURE__ */ t(
547
+ Ce,
548
+ {
549
+ size: "sm",
550
+ value: typeof n == "string" ? n : "",
551
+ onChange: (i) => a(i.target.value),
552
+ tone: m,
553
+ "aria-label": e.label,
554
+ "aria-invalid": r || void 0,
555
+ "aria-describedby": s,
556
+ disabled: l,
557
+ className: "ds:flex-1"
558
+ }
559
+ );
560
+ case "select":
561
+ return /* @__PURE__ */ t(
562
+ ve,
563
+ {
564
+ size: "sm",
565
+ options: e.options ?? [],
566
+ value: typeof n == "string" ? n : "",
567
+ onValueChange: (i) => a(i),
568
+ tone: m,
569
+ disabled: l,
570
+ "aria-label": e.label,
571
+ "aria-invalid": r || void 0,
572
+ "aria-describedby": s
573
+ }
574
+ );
575
+ case "boolean":
576
+ return /* @__PURE__ */ t(
577
+ xe,
578
+ {
579
+ label: e.label,
580
+ checked: n === !0,
581
+ onCheckedChange: (i) => a(i),
582
+ disabled: l
583
+ }
584
+ );
585
+ case "date":
586
+ return /* @__PURE__ */ t(
587
+ me,
588
+ {
589
+ size: "sm",
590
+ value: n instanceof Date ? n : void 0,
591
+ onChange: (i) => a(i ?? null),
592
+ disabled: l,
593
+ "aria-label": e.label
594
+ }
595
+ );
596
+ case "number":
597
+ return /* @__PURE__ */ t(
598
+ ge,
599
+ {
600
+ size: "sm",
601
+ value: typeof n == "number" ? n : null,
602
+ onChange: (i) => a(i),
603
+ mode: e.currency ? "currency" : "decimal",
604
+ currency: e.currency,
605
+ locale: h,
606
+ tone: m,
607
+ disabled: l,
608
+ "aria-label": e.label,
609
+ "aria-invalid": r || void 0,
610
+ "aria-describedby": s
611
+ }
612
+ );
613
+ case "email":
614
+ return /* @__PURE__ */ t(
615
+ pe,
616
+ {
617
+ size: "sm",
618
+ value: typeof n == "string" ? n : "",
619
+ onChange: (i) => a(i.target.value),
620
+ "aria-label": e.label,
621
+ "aria-invalid": r || void 0,
622
+ "aria-describedby": s,
623
+ disabled: l,
624
+ className: "ds:flex-1"
625
+ }
626
+ );
627
+ case "phone":
628
+ return /* @__PURE__ */ t(
629
+ he,
630
+ {
631
+ size: "sm",
632
+ value: typeof n == "string" ? n : "",
633
+ onChange: (i) => a(i),
634
+ tone: m,
635
+ "aria-label": e.label,
636
+ "aria-invalid": r || void 0,
637
+ "aria-describedby": s,
638
+ disabled: l,
639
+ className: "ds:flex-1"
640
+ }
641
+ );
642
+ case "fiscalCode":
643
+ return /* @__PURE__ */ t(
644
+ fe,
645
+ {
646
+ size: "sm",
647
+ value: typeof n == "string" ? n : "",
648
+ onChange: (i) => a(i),
649
+ tone: m,
650
+ "aria-label": e.label,
651
+ "aria-invalid": r || void 0,
652
+ "aria-describedby": s,
653
+ disabled: l,
654
+ className: "ds:flex-1"
655
+ }
656
+ );
657
+ // Address / location pickers. Inline edit has no FormField, so we pass
658
+ // aria-invalid / aria-describedby explicitly (the components fall back to
659
+ // these props outside a FormFieldContext) so the invalid state isn't
660
+ // conveyed by colour alone.
661
+ case "province":
662
+ return /* @__PURE__ */ t(
663
+ be,
664
+ {
665
+ size: "sm",
666
+ country: "it",
667
+ value: typeof n == "string" ? n : "",
668
+ onValueChange: (i) => a(i),
669
+ tone: m,
670
+ disabled: l,
671
+ "aria-label": e.label,
672
+ "aria-invalid": r || void 0,
673
+ "aria-describedby": s,
674
+ className: "ds:flex-1"
675
+ }
676
+ );
677
+ case "country":
678
+ return /* @__PURE__ */ t(
679
+ ue,
680
+ {
681
+ size: "sm",
682
+ value: typeof n == "string" ? n : "",
683
+ onValueChange: (i) => a(i),
684
+ tone: m,
685
+ disabled: l,
686
+ "aria-label": e.label,
687
+ "aria-invalid": r || void 0,
688
+ "aria-describedby": s,
689
+ className: "ds:flex-1"
690
+ }
691
+ );
692
+ case "postalCode":
693
+ return /* @__PURE__ */ t(
694
+ ye,
695
+ {
696
+ size: "sm",
697
+ country: "it",
698
+ value: typeof n == "string" ? n : "",
699
+ onValueChange: (i) => a(i),
700
+ "aria-label": e.label,
701
+ "aria-invalid": r || void 0,
702
+ "aria-describedby": s,
703
+ disabled: l,
704
+ className: "ds:flex-1"
705
+ }
706
+ );
707
+ case "city":
708
+ return /* @__PURE__ */ t(
709
+ de,
710
+ {
711
+ size: "sm",
712
+ value: typeof n == "string" ? n : "",
713
+ onValueChange: (i) => a(i),
714
+ tone: m,
715
+ disabled: l,
716
+ "aria-label": e.label,
717
+ "aria-invalid": r || void 0,
718
+ "aria-describedby": s,
719
+ className: "ds:flex-1"
720
+ }
721
+ );
722
+ case "text":
723
+ default:
724
+ return /* @__PURE__ */ t(
725
+ Ve,
726
+ {
727
+ size: "sm",
728
+ value: typeof n == "string" ? n : "",
729
+ onChange: (i) => a(i.target.value),
730
+ tone: m,
731
+ "aria-label": e.label,
732
+ "aria-invalid": r || void 0,
733
+ "aria-describedby": s,
734
+ disabled: l,
735
+ clearable: !0,
736
+ placeholder: c("patientDetails.edit.placeholder", {
737
+ defaultValue: "Enter a value"
738
+ }),
739
+ className: "ds:flex-1"
740
+ }
741
+ );
742
+ }
743
+ }
744
+ function Be({
745
+ text: e,
746
+ label: n
747
+ }) {
748
+ const { t: a } = E(), [r, s] = z(!1), [h, l] = z(""), c = V(async () => {
749
+ try {
750
+ await navigator.clipboard.writeText(e), s(!0), l(a("keyValuePair.copied", { defaultValue: "Copied" })), setTimeout(() => {
751
+ s(!1), l("");
752
+ }, 2e3);
753
+ } catch {
754
+ l(
755
+ a("keyValuePair.notAvailable", { defaultValue: "Copy not available" })
756
+ ), setTimeout(() => l(""), 3e3);
757
+ }
758
+ }, [e, a]);
759
+ return /* @__PURE__ */ k(G, { children: [
760
+ /* @__PURE__ */ t(
761
+ I,
762
+ {
763
+ size: "sm",
764
+ intent: "ghost",
765
+ icon: r ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(we, { "aria-hidden": "true" }),
766
+ "aria-label": a("keyValuePair.copy", {
767
+ label: n,
768
+ defaultValue: "Copy {{label}}"
769
+ }),
770
+ onClick: c
771
+ }
772
+ ),
773
+ /* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children: h })
774
+ ] });
775
+ }
776
+ export {
777
+ Ae as A,
778
+ wt as F,
779
+ _ as N,
780
+ St as P,
781
+ Fe as S,
782
+ Me as a,
783
+ Le as b,
784
+ Nt as r,
785
+ Dt as u
786
+ };
787
+ //# sourceMappingURL=patient-field-row-BQZoP4m2.js.map