@alfadocs/ui-kit-debug 1.37.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (517) hide show
  1. package/dist/_chunks/{actions-cell-renderer-CUn1pqEq.js → actions-cell-renderer-BXBy9c0f.js} +3 -3
  2. package/dist/_chunks/{actions-cell-renderer-CUn1pqEq.js.map → actions-cell-renderer-BXBy9c0f.js.map} +1 -1
  3. package/dist/_chunks/{agenda-tray-DYGCTIWB.js → agenda-tray-CBaJASb5.js} +4 -4
  4. package/dist/_chunks/{agenda-tray-DYGCTIWB.js.map → agenda-tray-CBaJASb5.js.map} +1 -1
  5. package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js → ai-consent-banner-DvtaM3yg.js} +2 -2
  6. package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js.map → ai-consent-banner-DvtaM3yg.js.map} +1 -1
  7. package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js → ai-prompt-input-DXknpQCB.js} +2 -2
  8. package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js.map → ai-prompt-input-DXknpQCB.js.map} +1 -1
  9. package/dist/_chunks/{alia-sidebar-B6bXlZZk.js → alia-sidebar-CUqaJNPQ.js} +7 -7
  10. package/dist/_chunks/{alia-sidebar-B6bXlZZk.js.map → alia-sidebar-CUqaJNPQ.js.map} +1 -1
  11. package/dist/_chunks/{anamnesis-card-DGwINeNn.js → anamnesis-card-xtEhyojD.js} +2 -2
  12. package/dist/_chunks/{anamnesis-card-DGwINeNn.js.map → anamnesis-card-xtEhyojD.js.map} +1 -1
  13. package/dist/_chunks/{anamnesis-summary-card-GYHa7VGp.js → anamnesis-summary-card-CclBbiXg.js} +2 -2
  14. package/dist/_chunks/{anamnesis-summary-card-GYHa7VGp.js.map → anamnesis-summary-card-CclBbiXg.js.map} +1 -1
  15. package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js → anamnesis-summary-rows-DQUqwWc1.js} +7 -7
  16. package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js.map → anamnesis-summary-rows-DQUqwWc1.js.map} +1 -1
  17. package/dist/_chunks/{appointment-card-WsDGBBut.js → appointment-card-TgR_2GKS.js} +134 -102
  18. package/dist/_chunks/appointment-card-TgR_2GKS.js.map +1 -0
  19. package/dist/_chunks/{appointment-peek-5S4O1VQP.js → appointment-peek-abiR0T9e.js} +3 -3
  20. package/dist/_chunks/{appointment-peek-5S4O1VQP.js.map → appointment-peek-abiR0T9e.js.map} +1 -1
  21. package/dist/_chunks/{appointment-timeline-ByfovxqR.js → appointment-timeline-CCnyUYKz.js} +67 -63
  22. package/dist/_chunks/appointment-timeline-CCnyUYKz.js.map +1 -0
  23. package/dist/_chunks/{appointment-tray-D6UyJHej.js → appointment-tray-N0yEI8UF.js} +5 -5
  24. package/dist/_chunks/{appointment-tray-D6UyJHej.js.map → appointment-tray-N0yEI8UF.js.map} +1 -1
  25. package/dist/_chunks/{audio-recorder-BlQBC7N_.js → audio-recorder-B7dT-Y3v.js} +3 -3
  26. package/dist/_chunks/{audio-recorder-BlQBC7N_.js.map → audio-recorder-B7dT-Y3v.js.map} +1 -1
  27. package/dist/_chunks/{balance-badge-cell-B0Z8Dwn8.js → balance-badge-cell-o6LldMUA.js} +5 -5
  28. package/dist/_chunks/{balance-badge-cell-B0Z8Dwn8.js.map → balance-badge-cell-o6LldMUA.js.map} +1 -1
  29. package/dist/_chunks/{bishop-score-D5b8tktp.js → bishop-score-Cu70iv9C.js} +2 -2
  30. package/dist/_chunks/{bishop-score-D5b8tktp.js.map → bishop-score-Cu70iv9C.js.map} +1 -1
  31. package/dist/_chunks/{bmi-calculator-dOKP-vW4.js → bmi-calculator-C9N19aLX.js} +2 -2
  32. package/dist/_chunks/{bmi-calculator-dOKP-vW4.js.map → bmi-calculator-C9N19aLX.js.map} +1 -1
  33. package/dist/_chunks/{booking-Dp-9qR6F.js → booking-Dn3jvv3K.js} +6 -6
  34. package/dist/_chunks/{booking-Dp-9qR6F.js.map → booking-Dn3jvv3K.js.map} +1 -1
  35. package/dist/_chunks/{button-nJaPh_HC.js → button-CaUe1uyd.js} +11 -7
  36. package/dist/_chunks/button-CaUe1uyd.js.map +1 -0
  37. package/dist/_chunks/{button-group-QmN1VdUW.js → button-group-R32U7SyV.js} +2 -2
  38. package/dist/_chunks/{button-group-QmN1VdUW.js.map → button-group-R32U7SyV.js.map} +1 -1
  39. package/dist/_chunks/{calendar-7GAUlsNO.js → calendar-ChJQzRw-.js} +2 -2
  40. package/dist/_chunks/{calendar-7GAUlsNO.js.map → calendar-ChJQzRw-.js.map} +1 -1
  41. package/dist/_chunks/calendar-workspace-B-fUbm62.js +11372 -0
  42. package/dist/_chunks/calendar-workspace-B-fUbm62.js.map +1 -0
  43. package/dist/_chunks/{care-plan-card-COFOI-fI.js → care-plan-card-BOv0NRle.js} +3 -3
  44. package/dist/_chunks/{care-plan-card-COFOI-fI.js.map → care-plan-card-BOv0NRle.js.map} +1 -1
  45. package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js → care-plan-entry-card-d-rZD4li.js} +3 -3
  46. package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js.map → care-plan-entry-card-d-rZD4li.js.map} +1 -1
  47. package/dist/_chunks/{care-plan-header-CbuOuVBw.js → care-plan-header-CEmBXn6-.js} +2 -2
  48. package/dist/_chunks/{care-plan-header-CbuOuVBw.js.map → care-plan-header-CEmBXn6-.js.map} +1 -1
  49. package/dist/_chunks/{carousel.agent-Dv4a4M8L.js → carousel.agent-z1yLBpyC.js} +2 -2
  50. package/dist/_chunks/{carousel.agent-Dv4a4M8L.js.map → carousel.agent-z1yLBpyC.js.map} +1 -1
  51. package/dist/_chunks/{chart-iWl76PXv.js → chart-PF2krCZC.js} +3 -3
  52. package/dist/_chunks/{chart-iWl76PXv.js.map → chart-PF2krCZC.js.map} +1 -1
  53. package/dist/_chunks/{chat-input-qM5QpUSq.js → chat-input-Cj7ZYQr5.js} +2 -2
  54. package/dist/_chunks/{chat-input-qM5QpUSq.js.map → chat-input-Cj7ZYQr5.js.map} +1 -1
  55. package/dist/_chunks/{chat-message-RniXtrCH.js → chat-message-BMVxiUIX.js} +3 -3
  56. package/dist/_chunks/{chat-message-RniXtrCH.js.map → chat-message-BMVxiUIX.js.map} +1 -1
  57. package/dist/_chunks/{code-block-uVjNSI9g.js → code-block-BB-viuTn.js} +2 -2
  58. package/dist/_chunks/{code-block-uVjNSI9g.js.map → code-block-BB-viuTn.js.map} +1 -1
  59. package/dist/_chunks/{connection-status-OEsWjmRk.js → connection-status-BmA9T0UO.js} +3 -3
  60. package/dist/_chunks/{connection-status-OEsWjmRk.js.map → connection-status-BmA9T0UO.js.map} +1 -1
  61. package/dist/_chunks/{contact-profile-card--My1H2UD.js → contact-profile-card-Zt6WNg1u.js} +2 -2
  62. package/dist/_chunks/{contact-profile-card--My1H2UD.js.map → contact-profile-card-Zt6WNg1u.js.map} +1 -1
  63. package/dist/_chunks/{control-room-rail-DQoHdE1U.js → control-room-rail-CnNZusR5.js} +3 -3
  64. package/dist/_chunks/{control-room-rail-DQoHdE1U.js.map → control-room-rail-CnNZusR5.js.map} +1 -1
  65. package/dist/_chunks/{copy-field-fYKpl6aN.js → copy-field-B8XRVmQv.js} +2 -2
  66. package/dist/_chunks/{copy-field-fYKpl6aN.js.map → copy-field-B8XRVmQv.js.map} +1 -1
  67. package/dist/_chunks/credit-card-D9XZsHGA.js +15 -0
  68. package/dist/_chunks/credit-card-D9XZsHGA.js.map +1 -0
  69. package/dist/_chunks/{cycle-calculator-BJeaXiZv.js → cycle-calculator-BH2StWoT.js} +2 -2
  70. package/dist/_chunks/{cycle-calculator-BJeaXiZv.js.map → cycle-calculator-BH2StWoT.js.map} +1 -1
  71. package/dist/_chunks/{dashboard-grid-B23BFzRl.js → dashboard-grid-BcXWL5S9.js} +2 -2
  72. package/dist/_chunks/{dashboard-grid-B23BFzRl.js.map → dashboard-grid-BcXWL5S9.js.map} +1 -1
  73. package/dist/_chunks/{data-table-BYGK-gUJ.js → data-table-CcAx_I1w.js} +7 -7
  74. package/dist/_chunks/{data-table-BYGK-gUJ.js.map → data-table-CcAx_I1w.js.map} +1 -1
  75. package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js → data-table-tabs-B9SXA5VP.js} +3 -3
  76. package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js.map → data-table-tabs-B9SXA5VP.js.map} +1 -1
  77. package/dist/_chunks/{description-list-C1RXMDZ_.js → description-list-BsJ_6CQE.js} +2 -2
  78. package/dist/_chunks/{description-list-C1RXMDZ_.js.map → description-list-BsJ_6CQE.js.map} +1 -1
  79. package/dist/_chunks/{document-preview-DsEyRcNd.js → document-preview-COV0BC6n.js} +2 -2
  80. package/dist/_chunks/{document-preview-DsEyRcNd.js.map → document-preview-COV0BC6n.js.map} +1 -1
  81. package/dist/_chunks/{document-scanner-CbWVtm7u.js → document-scanner-B1abl-A4.js} +2 -2
  82. package/dist/_chunks/{document-scanner-CbWVtm7u.js.map → document-scanner-B1abl-A4.js.map} +1 -1
  83. package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js → due-date-calculator-Buh_mVHq.js} +2 -2
  84. package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js.map → due-date-calculator-Buh_mVHq.js.map} +1 -1
  85. package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js → editable-currency-cell-renderer-Psb6XKHR.js} +3 -3
  86. package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js.map → editable-currency-cell-renderer-Psb6XKHR.js.map} +1 -1
  87. package/dist/_chunks/editable-description-ADMVFPUz.js +142 -0
  88. package/dist/_chunks/editable-description-ADMVFPUz.js.map +1 -0
  89. package/dist/_chunks/{editor-overlay-8fKAcRsm.js → editor-overlay-9tcPXNWt.js} +2 -2
  90. package/dist/_chunks/{editor-overlay-8fKAcRsm.js.map → editor-overlay-9tcPXNWt.js.map} +1 -1
  91. package/dist/_chunks/{empty-state-X0sVPfVo.js → empty-state-BUN_UAWf.js} +2 -2
  92. package/dist/_chunks/{empty-state-X0sVPfVo.js.map → empty-state-BUN_UAWf.js.map} +1 -1
  93. package/dist/_chunks/{entity-summary-BbW0mIzU.js → entity-summary-DXejuQ8i.js} +3 -3
  94. package/dist/_chunks/{entity-summary-BbW0mIzU.js.map → entity-summary-DXejuQ8i.js.map} +1 -1
  95. package/dist/_chunks/{error-boundary-ayXFCcq4.js → error-boundary-BNT2iQ1w.js} +2 -2
  96. package/dist/_chunks/{error-boundary-ayXFCcq4.js.map → error-boundary-BNT2iQ1w.js.map} +1 -1
  97. package/dist/_chunks/{face-scheme-uFvhqz6h.js → face-scheme-Dg6ZyLKb.js} +5 -5
  98. package/dist/_chunks/{face-scheme-uFvhqz6h.js.map → face-scheme-Dg6ZyLKb.js.map} +1 -1
  99. package/dist/_chunks/{fetal-weight-C6SxchOv.js → fetal-weight-wx4ycKc6.js} +2 -2
  100. package/dist/_chunks/{fetal-weight-C6SxchOv.js.map → fetal-weight-wx4ycKc6.js.map} +1 -1
  101. package/dist/_chunks/{field-array-C9dmRaIM.js → field-array-BW9KeeXG.js} +3 -3
  102. package/dist/_chunks/{field-array-C9dmRaIM.js.map → field-array-BW9KeeXG.js.map} +1 -1
  103. package/dist/_chunks/{file-manager-DvkFgj7d.js → file-manager-BfLQxF5t.js} +137 -151
  104. package/dist/_chunks/file-manager-BfLQxF5t.js.map +1 -0
  105. package/dist/_chunks/{finished-terminal-Br61Ip4e.js → finished-terminal-DJd7Z_po.js} +2 -2
  106. package/dist/_chunks/{finished-terminal-Br61Ip4e.js.map → finished-terminal-DJd7Z_po.js.map} +1 -1
  107. package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js → fiscal-code-input-ODQRd_Sw.js} +2 -2
  108. package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js.map → fiscal-code-input-ODQRd_Sw.js.map} +1 -1
  109. package/dist/_chunks/folder-BghC8_S2.js +20 -0
  110. package/dist/_chunks/folder-BghC8_S2.js.map +1 -0
  111. package/dist/_chunks/{freemium-paywall-BqGk_SBU.js → freemium-paywall-Cz-O9lQD.js} +2 -2
  112. package/dist/_chunks/{freemium-paywall-BqGk_SBU.js.map → freemium-paywall-Cz-O9lQD.js.map} +1 -1
  113. package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js → gestational-age-calculator-CwbecTul.js} +2 -2
  114. package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js.map → gestational-age-calculator-CwbecTul.js.map} +1 -1
  115. package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js → hcg-doubling-BcXriXJe.js} +2 -2
  116. package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js.map → hcg-doubling-BcXriXJe.js.map} +1 -1
  117. package/dist/_chunks/{header-BZ4pZlJV.js → header-3o9o9v_T.js} +2 -2
  118. package/dist/_chunks/{header-BZ4pZlJV.js.map → header-3o9o9v_T.js.map} +1 -1
  119. package/dist/_chunks/{header-settings-B8mLc03Q.js → header-settings-CTe45iDy.js} +4 -4
  120. package/dist/_chunks/{header-settings-B8mLc03Q.js.map → header-settings-CTe45iDy.js.map} +1 -1
  121. package/dist/_chunks/{hover-card-Bcku1GQu.js → hover-card-BMJBVqIf.js} +2 -2
  122. package/dist/_chunks/{hover-card-Bcku1GQu.js.map → hover-card-BMJBVqIf.js.map} +1 -1
  123. package/dist/_chunks/{icon-button-8xqRnkdG.js → icon-button-CehAeZoP.js} +2 -2
  124. package/dist/_chunks/{icon-button-8xqRnkdG.js.map → icon-button-CehAeZoP.js.map} +1 -1
  125. package/dist/_chunks/{icon-button-group-Dj6CRoYR.js → icon-button-group-DkkdIygu.js} +2 -2
  126. package/dist/_chunks/{icon-button-group-Dj6CRoYR.js.map → icon-button-group-DkkdIygu.js.map} +1 -1
  127. package/dist/_chunks/{icon-picker-CTWzlHJr.js → icon-picker-DMEelg9v.js} +3 -3
  128. package/dist/_chunks/{icon-picker-CTWzlHJr.js.map → icon-picker-DMEelg9v.js.map} +1 -1
  129. package/dist/_chunks/{image-cropper-C84NDTB7.js → image-cropper-BjPjT7wU.js} +2 -2
  130. package/dist/_chunks/{image-cropper-C84NDTB7.js.map → image-cropper-BjPjT7wU.js.map} +1 -1
  131. package/dist/_chunks/{info-tip-ey_Pon2y.js → info-tip-iP2Pm9dh.js} +2 -2
  132. package/dist/_chunks/{info-tip-ey_Pon2y.js.map → info-tip-iP2Pm9dh.js.map} +1 -1
  133. package/dist/_chunks/{insert-result-LCNTskNJ.js → insert-result-DPnOBD85.js} +2 -2
  134. package/dist/_chunks/{insert-result-LCNTskNJ.js.map → insert-result-DPnOBD85.js.map} +1 -1
  135. package/dist/_chunks/{key-value-pair-DczGb4yz.js → key-value-pair-DaQI_LZB.js} +2 -2
  136. package/dist/_chunks/{key-value-pair-DczGb4yz.js.map → key-value-pair-DaQI_LZB.js.map} +1 -1
  137. package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js → link-cell-renderer-s3oHzOwi.js} +2 -2
  138. package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js.map → link-cell-renderer-s3oHzOwi.js.map} +1 -1
  139. package/dist/_chunks/{locale-picker-BLeHbFSc.js → locale-picker-CH3kfrIG.js} +3 -3
  140. package/dist/_chunks/{locale-picker-BLeHbFSc.js.map → locale-picker-CH3kfrIG.js.map} +1 -1
  141. package/dist/_chunks/{map-view-CCAlC9IL.js → map-view-CHw4RL6w.js} +2 -2
  142. package/dist/_chunks/{map-view-CCAlC9IL.js.map → map-view-CHw4RL6w.js.map} +1 -1
  143. package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js → marketplace-app-shell-d2EtcUbe.js} +4 -4
  144. package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js.map → marketplace-app-shell-d2EtcUbe.js.map} +1 -1
  145. package/dist/_chunks/{message-card-Dm5Xshup.js → message-card-V3sFPiQI.js} +3 -3
  146. package/dist/_chunks/{message-card-Dm5Xshup.js.map → message-card-V3sFPiQI.js.map} +1 -1
  147. package/dist/_chunks/{message-tray-BcLyaO-G.js → message-tray-CrRIHfiQ.js} +5 -5
  148. package/dist/_chunks/{message-tray-BcLyaO-G.js.map → message-tray-CrRIHfiQ.js.map} +1 -1
  149. package/dist/_chunks/note-timeline-Dn_XTo1s.js +333 -0
  150. package/dist/_chunks/note-timeline-Dn_XTo1s.js.map +1 -0
  151. package/dist/_chunks/notes-panel-CAD1Ytcj.js +647 -0
  152. package/dist/_chunks/notes-panel-CAD1Ytcj.js.map +1 -0
  153. package/dist/_chunks/{notification-card-ChcK9Wat.js → notification-card-B2gLO6dK.js} +3 -3
  154. package/dist/_chunks/{notification-card-ChcK9Wat.js.map → notification-card-B2gLO6dK.js.map} +1 -1
  155. package/dist/_chunks/{notification-tray-CJ8jOe-U.js → notification-tray-BOEKegVV.js} +5 -5
  156. package/dist/_chunks/{notification-tray-CJ8jOe-U.js.map → notification-tray-BOEKegVV.js.map} +1 -1
  157. package/dist/_chunks/{optical-prescription-cphK41eP.js → optical-prescription-LGgmtcST.js} +2 -2
  158. package/dist/_chunks/{optical-prescription-cphK41eP.js.map → optical-prescription-LGgmtcST.js.map} +1 -1
  159. package/dist/_chunks/{panel-subview-BNXN8OEL.js → panel-subview-Cc2Wtt7D.js} +52 -52
  160. package/dist/_chunks/panel-subview-Cc2Wtt7D.js.map +1 -0
  161. package/dist/_chunks/{patient-details-2cIaL-Zb.js → patient-details-C8ImUrVg.js} +3 -3
  162. package/dist/_chunks/{patient-details-2cIaL-Zb.js.map → patient-details-C8ImUrVg.js.map} +1 -1
  163. package/dist/_chunks/{patient-field-row-IHb2VFc2.js → patient-field-row-BRSOKvme.js} +7 -7
  164. package/dist/_chunks/{patient-field-row-IHb2VFc2.js.map → patient-field-row-BRSOKvme.js.map} +1 -1
  165. package/dist/_chunks/{patient-search-D08b6jgj.js → patient-search-5QcmQKJD.js} +2 -2
  166. package/dist/_chunks/{patient-search-D08b6jgj.js.map → patient-search-5QcmQKJD.js.map} +1 -1
  167. package/dist/_chunks/{patient-summary-card-BzmJH9a-.js → patient-summary-card-BhmKB2KR.js} +8 -8
  168. package/dist/_chunks/patient-summary-card-BhmKB2KR.js.map +1 -0
  169. package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js → payment-automation-upsell-BKmBXU4i.js} +17 -16
  170. package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js.map → payment-automation-upsell-BKmBXU4i.js.map} +1 -1
  171. package/dist/_chunks/{payment-request-card-BxcdvxKR.js → payment-request-card-Cer6XXCn.js} +6 -5
  172. package/dist/_chunks/{payment-request-card-BxcdvxKR.js.map → payment-request-card-Cer6XXCn.js.map} +1 -1
  173. package/dist/_chunks/{periodontal-chart-BF_e3wZp.js → periodontal-chart-DJoZS_o7.js} +2 -2
  174. package/dist/_chunks/{periodontal-chart-BF_e3wZp.js.map → periodontal-chart-DJoZS_o7.js.map} +1 -1
  175. package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js → periodontal-chart-card-Nd1ZoYWb.js} +2 -2
  176. package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js.map → periodontal-chart-card-Nd1ZoYWb.js.map} +1 -1
  177. package/dist/_chunks/{popover-DzR5QYxp.js → popover-DO-pssF3.js} +2 -2
  178. package/dist/_chunks/{popover-DzR5QYxp.js.map → popover-DO-pssF3.js.map} +1 -1
  179. package/dist/_chunks/{practice-results-DOcORTkP.js → practice-results-D_jjzwgf.js} +6 -6
  180. package/dist/_chunks/{practice-results-DOcORTkP.js.map → practice-results-D_jjzwgf.js.map} +1 -1
  181. package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js → pregnancy-dating-DcyV9ZRD.js} +2 -2
  182. package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js.map → pregnancy-dating-DcyV9ZRD.js.map} +1 -1
  183. package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js → pregnancy-weight-gain-Bfq4Kwt5.js} +2 -2
  184. package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js.map → pregnancy-weight-gain-Bfq4Kwt5.js.map} +1 -1
  185. package/dist/_chunks/{privacy-lock-Be39vQUN.js → privacy-lock-CbFCAMM3.js} +3 -3
  186. package/dist/_chunks/{privacy-lock-Be39vQUN.js.map → privacy-lock-CbFCAMM3.js.map} +1 -1
  187. package/dist/_chunks/{product-hub-panel-C0TO69P7.js → product-hub-panel-w40-_-1s.js} +4 -4
  188. package/dist/_chunks/{product-hub-panel-C0TO69P7.js.map → product-hub-panel-w40-_-1s.js.map} +1 -1
  189. package/dist/_chunks/{public-header.agent-Bl1KFwSE.js → public-header.agent-D-EBVskf.js} +3 -3
  190. package/dist/_chunks/{public-header.agent-Bl1KFwSE.js.map → public-header.agent-D-EBVskf.js.map} +1 -1
  191. package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js → radiograph-panel.agent-LrILY2lN.js} +4 -4
  192. package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js.map → radiograph-panel.agent-LrILY2lN.js.map} +1 -1
  193. package/dist/_chunks/{receipt-euro-C6k4Gzhr.js → receipt-euro-B1cLM_TN.js} +3 -14
  194. package/dist/_chunks/receipt-euro-B1cLM_TN.js.map +1 -0
  195. package/dist/_chunks/{reviews-panel-BaHZb_ai.js → reviews-panel-2GVuxGeT.js} +5 -5
  196. package/dist/_chunks/{reviews-panel-BaHZb_ai.js.map → reviews-panel-2GVuxGeT.js.map} +1 -1
  197. package/dist/_chunks/{rich-text-editor-BTXlorm5.js → rich-text-editor-C6fE-uP4.js} +5 -5
  198. package/dist/_chunks/{rich-text-editor-BTXlorm5.js.map → rich-text-editor-C6fE-uP4.js.map} +1 -1
  199. package/dist/_chunks/{session-countdown-QMsnRa1x.js → session-countdown-BqppPrw6.js} +2 -2
  200. package/dist/_chunks/{session-countdown-QMsnRa1x.js.map → session-countdown-BqppPrw6.js.map} +1 -1
  201. package/dist/_chunks/{sheet-hm04DGFd.js → sheet-C8WIDFS8.js} +2 -2
  202. package/dist/_chunks/{sheet-hm04DGFd.js.map → sheet-C8WIDFS8.js.map} +1 -1
  203. package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js → sign-in-with-alfadocs-button-DWwBJtyE.js} +2 -2
  204. package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js.map → sign-in-with-alfadocs-button-DWwBJtyE.js.map} +1 -1
  205. package/dist/_chunks/{signature-request-Dej2g86d.js → signature-request-D_j2aQu1.js} +360 -371
  206. package/dist/_chunks/signature-request-D_j2aQu1.js.map +1 -0
  207. package/dist/_chunks/{skeleton-CZbwyJAA.js → skeleton-B1KTdJ4N.js} +46 -33
  208. package/dist/_chunks/skeleton-B1KTdJ4N.js.map +1 -0
  209. package/dist/_chunks/{slot-grid-8Ko6thzz.js → slot-grid-B3eOPkKD.js} +5 -5
  210. package/dist/_chunks/{slot-grid-8Ko6thzz.js.map → slot-grid-B3eOPkKD.js.map} +1 -1
  211. package/dist/_chunks/{streaming-text-DjFqLSt_.js → streaming-text-CE1u_oGa.js} +2 -2
  212. package/dist/_chunks/{streaming-text-DjFqLSt_.js.map → streaming-text-CE1u_oGa.js.map} +1 -1
  213. package/dist/_chunks/{task-tray-CQ8UAR2j.js → task-tray-DIwjAIes.js} +4 -4
  214. package/dist/_chunks/{task-tray-CQ8UAR2j.js.map → task-tray-DIwjAIes.js.map} +1 -1
  215. package/dist/_chunks/{tasks-panel-CBGMtQ_f.js → tasks-panel-CpcikOeY.js} +6 -6
  216. package/dist/_chunks/{tasks-panel-CBGMtQ_f.js.map → tasks-panel-CpcikOeY.js.map} +1 -1
  217. package/dist/_chunks/{theme-toggle-CMz8YfC1.js → theme-toggle-bI0pgDDv.js} +3 -3
  218. package/dist/_chunks/{theme-toggle-CMz8YfC1.js.map → theme-toggle-bI0pgDDv.js.map} +1 -1
  219. package/dist/_chunks/{toast-8jqtbfAB.js → toast-ZZfhA5u0.js} +2 -2
  220. package/dist/_chunks/{toast-8jqtbfAB.js.map → toast-ZZfhA5u0.js.map} +1 -1
  221. package/dist/_chunks/{token-insert-menu-9Um0JinI.js → token-insert-menu-A9B5AJw6.js} +2 -2
  222. package/dist/_chunks/{token-insert-menu-9Um0JinI.js.map → token-insert-menu-A9B5AJw6.js.map} +1 -1
  223. package/dist/_chunks/tool-rail-D89USYE6.js +799 -0
  224. package/dist/_chunks/tool-rail-D89USYE6.js.map +1 -0
  225. package/dist/_chunks/{tooth-scheme-BWkYxxjR.js → tooth-scheme-DPAq0vQK.js} +3 -3
  226. package/dist/_chunks/{tooth-scheme-BWkYxxjR.js.map → tooth-scheme-DPAq0vQK.js.map} +1 -1
  227. package/dist/_chunks/{transaction-chip-Dth1nThY.js → transaction-chip-CwgcJiqF.js} +47 -46
  228. package/dist/_chunks/{transaction-chip-Dth1nThY.js.map → transaction-chip-CwgcJiqF.js.map} +1 -1
  229. package/dist/_chunks/treatment-receipt-dUm99mdn.js +160 -0
  230. package/dist/_chunks/treatment-receipt-dUm99mdn.js.map +1 -0
  231. package/dist/_chunks/{unit-converter-BTgU50gk.js → unit-converter-C-LpGzrN.js} +2 -2
  232. package/dist/_chunks/{unit-converter-BTgU50gk.js.map → unit-converter-C-LpGzrN.js.map} +1 -1
  233. package/dist/_chunks/user-plus-BtcOLgNU.js +17 -0
  234. package/dist/_chunks/user-plus-BtcOLgNU.js.map +1 -0
  235. package/dist/_chunks/{warning-stack-BW5Dwb3z.js → warning-stack-C0glSB7p.js} +3 -3
  236. package/dist/_chunks/{warning-stack-BW5Dwb3z.js.map → warning-stack-C0glSB7p.js.map} +1 -1
  237. package/dist/_chunks/{workflow-map-CXdsxvUj.js → workflow-map-DhR_h5yw.js} +5 -5
  238. package/dist/_chunks/{workflow-map-CXdsxvUj.js.map → workflow-map-DhR_h5yw.js.map} +1 -1
  239. package/dist/agent-catalog.json +3 -418
  240. package/dist/agent-i18n/en.json +2 -18
  241. package/dist/components/agenda-tray/index.js +1 -1
  242. package/dist/components/ai-consent-banner/index.js +1 -1
  243. package/dist/components/ai-prompt-input/index.js +1 -1
  244. package/dist/components/anamnesis-card/index.js +1 -1
  245. package/dist/components/anamnesis-summary-card/index.js +1 -1
  246. package/dist/components/appointment-card/appointment-card.d.ts +24 -0
  247. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  248. package/dist/components/appointment-card/index.js +2 -2
  249. package/dist/components/appointment-peek/index.js +1 -1
  250. package/dist/components/appointment-timeline/appointment-timeline.d.ts +15 -1
  251. package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -1
  252. package/dist/components/appointment-timeline/index.js +1 -1
  253. package/dist/components/audio-recorder/index.js +1 -1
  254. package/dist/components/bishop-score/index.js +1 -1
  255. package/dist/components/bmi-calculator/index.js +1 -1
  256. package/dist/components/booking/index.js +1 -1
  257. package/dist/components/button/button.d.ts +1 -1
  258. package/dist/components/button/button.d.ts.map +1 -1
  259. package/dist/components/button/index.js +2 -2
  260. package/dist/components/button-group/index.js +1 -1
  261. package/dist/components/calendar/index.js +1 -1
  262. package/dist/components/care-plan-card/index.js +1 -1
  263. package/dist/components/care-plan-entry-card/index.js +1 -1
  264. package/dist/components/care-plan-header/index.js +1 -1
  265. package/dist/components/carousel/index.js +1 -1
  266. package/dist/components/chart/index.js +1 -1
  267. package/dist/components/chat-input/index.js +1 -1
  268. package/dist/components/chat-message/index.js +1 -1
  269. package/dist/components/connection-status/index.js +1 -1
  270. package/dist/components/contact-profile-card/index.js +1 -1
  271. package/dist/components/control-room-rail/index.js +1 -1
  272. package/dist/components/copy-field/index.js +1 -1
  273. package/dist/components/cycle-calculator/index.js +1 -1
  274. package/dist/components/dashboard-grid/index.js +1 -1
  275. package/dist/components/data-table/index.js +4 -4
  276. package/dist/components/data-table-tabs/index.js +1 -1
  277. package/dist/components/description-list/index.js +1 -1
  278. package/dist/components/document-preview/index.js +1 -1
  279. package/dist/components/document-scanner/index.js +1 -1
  280. package/dist/components/due-date-calculator/index.js +1 -1
  281. package/dist/components/editable-description/editable-description.d.ts +6 -0
  282. package/dist/components/editable-description/editable-description.d.ts.map +1 -1
  283. package/dist/components/editable-description/index.js +1 -1
  284. package/dist/components/editor-overlay/index.js +1 -1
  285. package/dist/components/empty-state/index.js +1 -1
  286. package/dist/components/entity-summary/index.js +1 -1
  287. package/dist/components/error-boundary/index.js +1 -1
  288. package/dist/components/face-scheme/index.js +1 -1
  289. package/dist/components/fetal-weight/index.js +1 -1
  290. package/dist/components/field-array/index.js +1 -1
  291. package/dist/components/file-manager/index.js +1 -1
  292. package/dist/components/finished-terminal/index.js +1 -1
  293. package/dist/components/fiscal-code-input/index.js +1 -1
  294. package/dist/components/freemium-paywall/index.js +1 -1
  295. package/dist/components/gestational-age-calculator/index.js +1 -1
  296. package/dist/components/hcg-doubling/index.js +1 -1
  297. package/dist/components/header/index.js +1 -1
  298. package/dist/components/header-settings/index.js +1 -1
  299. package/dist/components/hover-card/index.js +1 -1
  300. package/dist/components/icon-button/index.js +1 -1
  301. package/dist/components/icon-button-group/index.js +1 -1
  302. package/dist/components/icon-picker/index.js +1 -1
  303. package/dist/components/image-cropper/index.js +1 -1
  304. package/dist/components/info-tip/index.js +1 -1
  305. package/dist/components/key-value-pair/index.js +1 -1
  306. package/dist/components/locale-picker/index.js +1 -1
  307. package/dist/components/map-view/index.js +1 -1
  308. package/dist/components/message-card/index.js +1 -1
  309. package/dist/components/message-tray/index.js +1 -1
  310. package/dist/components/note-timeline/index.js +1 -1
  311. package/dist/components/note-timeline/note-timeline.d.ts +17 -0
  312. package/dist/components/note-timeline/note-timeline.d.ts.map +1 -1
  313. package/dist/components/notes-panel/index.js +1 -1
  314. package/dist/components/notes-panel/notes-panel.d.ts +5 -4
  315. package/dist/components/notes-panel/notes-panel.d.ts.map +1 -1
  316. package/dist/components/notification-card/index.js +1 -1
  317. package/dist/components/notification-tray/index.js +1 -1
  318. package/dist/components/optical-prescription/index.js +1 -1
  319. package/dist/components/panel-subview/index.js +1 -1
  320. package/dist/components/panel-subview/panel-subview.d.ts.map +1 -1
  321. package/dist/components/patient-details/index.js +1 -1
  322. package/dist/components/patient-search/index.js +1 -1
  323. package/dist/components/patient-summary-card/index.js +1 -1
  324. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  325. package/dist/components/patient-table/index.js +1 -1
  326. package/dist/components/payment-card/index.js +1 -1
  327. package/dist/components/periodontal-chart/index.js +1 -1
  328. package/dist/components/periodontal-chart-card/index.js +1 -1
  329. package/dist/components/popover/index.js +1 -1
  330. package/dist/components/practice-results/index.js +1 -1
  331. package/dist/components/pregnancy-dating/index.js +1 -1
  332. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  333. package/dist/components/privacy-lock/index.js +1 -1
  334. package/dist/components/product-hub-tray/index.js +1 -1
  335. package/dist/components/public-header/index.js +1 -1
  336. package/dist/components/radiograph-panel/index.js +1 -1
  337. package/dist/components/reviews-panel/index.js +1 -1
  338. package/dist/components/rich-text-editor/index.js +1 -1
  339. package/dist/components/session-countdown/index.js +1 -1
  340. package/dist/components/sheet/index.js +1 -1
  341. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  342. package/dist/components/skeleton/index.d.ts +1 -1
  343. package/dist/components/skeleton/index.d.ts.map +1 -1
  344. package/dist/components/skeleton/index.js +3 -2
  345. package/dist/components/skeleton/skeleton.d.ts +12 -0
  346. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  347. package/dist/components/slot-grid/index.js +1 -1
  348. package/dist/components/streaming-text/index.js +1 -1
  349. package/dist/components/task-tray/index.js +1 -1
  350. package/dist/components/tasks-panel/index.js +1 -1
  351. package/dist/components/theme-toggle/index.js +1 -1
  352. package/dist/components/toast/index.js +1 -1
  353. package/dist/components/token-insert-menu/index.js +1 -1
  354. package/dist/components/tool-rail/index.js +1 -1
  355. package/dist/components/tool-rail/tool-rail.d.ts.map +1 -1
  356. package/dist/components/tooth-scheme/index.js +1 -1
  357. package/dist/components/transaction-chip/index.js +1 -1
  358. package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
  359. package/dist/components/transaction-chip/transaction-chip.d.ts.map +1 -1
  360. package/dist/components/treatment-receipt/index.js +1 -1
  361. package/dist/components/treatment-receipt/treatment-receipt.d.ts +8 -0
  362. package/dist/components/treatment-receipt/treatment-receipt.d.ts.map +1 -1
  363. package/dist/components/unit-converter/index.js +1 -1
  364. package/dist/components/warning-stack/index.js +1 -1
  365. package/dist/components/workflow/index.js +1 -1
  366. package/dist/host-compat.css +13 -4
  367. package/dist/i18n/locales/ar.d.ts +235 -183
  368. package/dist/i18n/locales/ar.d.ts.map +1 -1
  369. package/dist/i18n/locales/ar.js +239 -187
  370. package/dist/i18n/locales/ar.js.map +1 -1
  371. package/dist/i18n/locales/de.d.ts +219 -167
  372. package/dist/i18n/locales/de.d.ts.map +1 -1
  373. package/dist/i18n/locales/de.js +223 -171
  374. package/dist/i18n/locales/de.js.map +1 -1
  375. package/dist/i18n/locales/el.d.ts +234 -182
  376. package/dist/i18n/locales/el.d.ts.map +1 -1
  377. package/dist/i18n/locales/el.js +238 -186
  378. package/dist/i18n/locales/el.js.map +1 -1
  379. package/dist/i18n/locales/en.d.ts +52 -0
  380. package/dist/i18n/locales/en.d.ts.map +1 -1
  381. package/dist/i18n/locales/en.js +56 -4
  382. package/dist/i18n/locales/en.js.map +1 -1
  383. package/dist/i18n/locales/es.d.ts +227 -175
  384. package/dist/i18n/locales/es.d.ts.map +1 -1
  385. package/dist/i18n/locales/es.js +231 -179
  386. package/dist/i18n/locales/es.js.map +1 -1
  387. package/dist/i18n/locales/fr.d.ts +221 -169
  388. package/dist/i18n/locales/fr.d.ts.map +1 -1
  389. package/dist/i18n/locales/fr.js +225 -173
  390. package/dist/i18n/locales/fr.js.map +1 -1
  391. package/dist/i18n/locales/hi.d.ts +235 -183
  392. package/dist/i18n/locales/hi.d.ts.map +1 -1
  393. package/dist/i18n/locales/hi.js +243 -187
  394. package/dist/i18n/locales/hi.js.map +1 -1
  395. package/dist/i18n/locales/it.d.ts +179 -127
  396. package/dist/i18n/locales/it.d.ts.map +1 -1
  397. package/dist/i18n/locales/it.js +183 -131
  398. package/dist/i18n/locales/it.js.map +1 -1
  399. package/dist/i18n/locales/ja.d.ts +233 -181
  400. package/dist/i18n/locales/ja.d.ts.map +1 -1
  401. package/dist/i18n/locales/ja.js +237 -185
  402. package/dist/i18n/locales/ja.js.map +1 -1
  403. package/dist/i18n/locales/nl.d.ts +224 -172
  404. package/dist/i18n/locales/nl.d.ts.map +1 -1
  405. package/dist/i18n/locales/nl.js +228 -176
  406. package/dist/i18n/locales/nl.js.map +1 -1
  407. package/dist/i18n/locales/pl.d.ts +229 -177
  408. package/dist/i18n/locales/pl.d.ts.map +1 -1
  409. package/dist/i18n/locales/pl.js +233 -181
  410. package/dist/i18n/locales/pl.js.map +1 -1
  411. package/dist/i18n/locales/pt.d.ts +229 -177
  412. package/dist/i18n/locales/pt.d.ts.map +1 -1
  413. package/dist/i18n/locales/pt.js +233 -181
  414. package/dist/i18n/locales/pt.js.map +1 -1
  415. package/dist/i18n/locales/ro.d.ts +228 -176
  416. package/dist/i18n/locales/ro.d.ts.map +1 -1
  417. package/dist/i18n/locales/ro.js +232 -180
  418. package/dist/i18n/locales/ro.js.map +1 -1
  419. package/dist/i18n/locales/ru.d.ts +234 -182
  420. package/dist/i18n/locales/ru.d.ts.map +1 -1
  421. package/dist/i18n/locales/ru.js +238 -186
  422. package/dist/i18n/locales/ru.js.map +1 -1
  423. package/dist/i18n/locales/sq.d.ts +228 -176
  424. package/dist/i18n/locales/sq.d.ts.map +1 -1
  425. package/dist/i18n/locales/sq.js +232 -180
  426. package/dist/i18n/locales/sq.js.map +1 -1
  427. package/dist/i18n/locales/sv.d.ts +229 -177
  428. package/dist/i18n/locales/sv.d.ts.map +1 -1
  429. package/dist/i18n/locales/sv.js +233 -181
  430. package/dist/i18n/locales/sv.js.map +1 -1
  431. package/dist/i18n/locales/tr.d.ts +235 -183
  432. package/dist/i18n/locales/tr.d.ts.map +1 -1
  433. package/dist/i18n/locales/tr.js +239 -187
  434. package/dist/i18n/locales/tr.js.map +1 -1
  435. package/dist/i18n/locales/zh.d.ts +228 -176
  436. package/dist/i18n/locales/zh.d.ts.map +1 -1
  437. package/dist/i18n/locales/zh.js +232 -180
  438. package/dist/i18n/locales/zh.js.map +1 -1
  439. package/dist/index.js +785 -784
  440. package/dist/locales/ar.json +239 -187
  441. package/dist/locales/de.json +223 -171
  442. package/dist/locales/el.json +238 -186
  443. package/dist/locales/en.json +56 -4
  444. package/dist/locales/es.json +231 -179
  445. package/dist/locales/fr.json +225 -173
  446. package/dist/locales/hi.json +239 -187
  447. package/dist/locales/it.json +183 -131
  448. package/dist/locales/ja.json +237 -185
  449. package/dist/locales/nl.json +228 -176
  450. package/dist/locales/pl.json +233 -181
  451. package/dist/locales/pt.json +233 -181
  452. package/dist/locales/ro.json +232 -180
  453. package/dist/locales/ru.json +238 -186
  454. package/dist/locales/sq.json +232 -180
  455. package/dist/locales/sv.json +233 -181
  456. package/dist/locales/tr.json +239 -187
  457. package/dist/locales/zh.json +232 -180
  458. package/dist/patterns/alia-assistant/index.js +1 -1
  459. package/dist/patterns/anamnesis/index.js +1 -1
  460. package/dist/patterns/calendar/calendar-appointment-details.d.ts +8 -1
  461. package/dist/patterns/calendar/calendar-appointment-details.d.ts.map +1 -1
  462. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +10 -5
  463. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts.map +1 -1
  464. package/dist/patterns/calendar/calendar-bookings-panel.d.ts +31 -0
  465. package/dist/patterns/calendar/calendar-bookings-panel.d.ts.map +1 -0
  466. package/dist/patterns/calendar/calendar-editor-hydration.d.ts +0 -2
  467. package/dist/patterns/calendar/calendar-editor-hydration.d.ts.map +1 -1
  468. package/dist/patterns/calendar/calendar-info-hover.d.ts +15 -1
  469. package/dist/patterns/calendar/calendar-info-hover.d.ts.map +1 -1
  470. package/dist/patterns/calendar/calendar-privacy.d.ts +23 -0
  471. package/dist/patterns/calendar/calendar-privacy.d.ts.map +1 -0
  472. package/dist/patterns/calendar/calendar-rail-settle.d.ts +14 -0
  473. package/dist/patterns/calendar/calendar-rail-settle.d.ts.map +1 -0
  474. package/dist/patterns/calendar/calendar-upcoming-panel.d.ts +32 -0
  475. package/dist/patterns/calendar/calendar-upcoming-panel.d.ts.map +1 -0
  476. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +62 -0
  477. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts.map +1 -0
  478. package/dist/patterns/calendar/calendar-workspace.d.ts +14 -1
  479. package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
  480. package/dist/patterns/calendar/calendar-workspace.model.d.ts +37 -1
  481. package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
  482. package/dist/patterns/calendar/calendar.model.d.ts +8 -2
  483. package/dist/patterns/calendar/calendar.model.d.ts.map +1 -1
  484. package/dist/patterns/calendar/calendar.sheets.d.ts +43 -27
  485. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  486. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  487. package/dist/patterns/calendar/calendar.types.d.ts +6 -0
  488. package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
  489. package/dist/patterns/calendar/index.d.ts +2 -2
  490. package/dist/patterns/calendar/index.d.ts.map +1 -1
  491. package/dist/patterns/calendar/index.js +1 -1
  492. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  493. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  494. package/dist/patterns/signature-request/index.js +1 -1
  495. package/dist/tokens.css +1 -1
  496. package/package.json +3 -1
  497. package/dist/_chunks/appointment-card-WsDGBBut.js.map +0 -1
  498. package/dist/_chunks/appointment-timeline-ByfovxqR.js.map +0 -1
  499. package/dist/_chunks/button-nJaPh_HC.js.map +0 -1
  500. package/dist/_chunks/calendar-workspace-BqKBj26r.js +0 -9715
  501. package/dist/_chunks/calendar-workspace-BqKBj26r.js.map +0 -1
  502. package/dist/_chunks/editable-description-BOfAeY3T.js +0 -112
  503. package/dist/_chunks/editable-description-BOfAeY3T.js.map +0 -1
  504. package/dist/_chunks/file-manager-DvkFgj7d.js.map +0 -1
  505. package/dist/_chunks/note-timeline-CXfSV3yX.js +0 -231
  506. package/dist/_chunks/note-timeline-CXfSV3yX.js.map +0 -1
  507. package/dist/_chunks/notes-panel-4y5JioWN.js +0 -556
  508. package/dist/_chunks/notes-panel-4y5JioWN.js.map +0 -1
  509. package/dist/_chunks/panel-subview-BNXN8OEL.js.map +0 -1
  510. package/dist/_chunks/patient-summary-card-BzmJH9a-.js.map +0 -1
  511. package/dist/_chunks/receipt-euro-C6k4Gzhr.js.map +0 -1
  512. package/dist/_chunks/signature-request-Dej2g86d.js.map +0 -1
  513. package/dist/_chunks/skeleton-CZbwyJAA.js.map +0 -1
  514. package/dist/_chunks/tool-rail-BP8sjxCw.js +0 -667
  515. package/dist/_chunks/tool-rail-BP8sjxCw.js.map +0 -1
  516. package/dist/_chunks/treatment-receipt-D4kOLXOk.js +0 -94
  517. package/dist/_chunks/treatment-receipt-D4kOLXOk.js.map +0 -1
@@ -1,29 +1,29 @@
1
- import { jsxs as T, jsx as s } from "react/jsx-runtime";
2
- import { forwardRef as k } from "react";
1
+ import { jsxs as k, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as A } from "react";
3
3
  import { c } from "./index-D2ZczOXr.js";
4
- import { useTranslation as A } from "react-i18next";
4
+ import { useTranslation as C } from "react-i18next";
5
5
  import { c as l } from "./createLucideIcon-DhHxpK9K.js";
6
- import { C } from "./check-DrFSN__t.js";
7
- import { C as I } from "./calendar-clock-hbObjfGY.js";
8
- import { F as _ } from "./file-text-5yv6r2ls.js";
9
- import { A as E } from "./arrow-up-right-C2v_MKsK.js";
6
+ import { C as I } from "./check-DrFSN__t.js";
7
+ import { C as _ } from "./calendar-clock-hbObjfGY.js";
8
+ import { F as E } from "./file-text-5yv6r2ls.js";
9
+ import { A as L } from "./arrow-up-right-C2v_MKsK.js";
10
10
  /**
11
11
  * @license lucide-react v1.22.0 - ISC
12
12
  *
13
13
  * This source code is licensed under the ISC license.
14
14
  * See the LICENSE file in the root directory of this source tree.
15
15
  */
16
- const L = [
16
+ const M = [
17
17
  ["path", { d: "M17 7 7 17", key: "15tmo1" }],
18
18
  ["path", { d: "M17 17H7V7", key: "1org7z" }]
19
- ], M = l("arrow-down-left", L);
19
+ ], R = l("arrow-down-left", M);
20
20
  /**
21
21
  * @license lucide-react v1.22.0 - ISC
22
22
  *
23
23
  * This source code is licensed under the ISC license.
24
24
  * See the LICENSE file in the root directory of this source tree.
25
25
  */
26
- const R = [
26
+ const S = [
27
27
  [
28
28
  "path",
29
29
  {
@@ -34,35 +34,35 @@ const R = [
34
34
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
35
35
  ["path", { d: "M9 9h.01", key: "1q5me6" }],
36
36
  ["path", { d: "M15 15h.01", key: "lqbp3k" }]
37
- ], S = l("badge-percent", R), F = {
37
+ ], F = l("badge-percent", S), V = {
38
38
  debt: "debt",
39
39
  credit: "credit",
40
40
  "to-invoice": "toInvoice",
41
41
  "to-deliver": "toDeliver",
42
42
  settled: "settled",
43
43
  discount: "discount"
44
- }, V = {
45
- debt: M,
46
- credit: E,
47
- "to-invoice": _,
48
- "to-deliver": I,
49
- settled: C,
50
- discount: S
51
44
  }, D = {
45
+ debt: R,
46
+ credit: L,
47
+ "to-invoice": E,
48
+ "to-deliver": _,
49
+ settled: I,
50
+ discount: F
51
+ }, U = {
52
52
  debt: "−",
53
53
  credit: "+",
54
54
  "to-invoice": "",
55
55
  "to-deliver": "",
56
56
  settled: "",
57
57
  discount: "−"
58
- }, U = {
58
+ }, j = {
59
59
  debt: -1,
60
60
  credit: 1,
61
61
  "to-invoice": 1,
62
62
  "to-deliver": 1,
63
63
  settled: 1,
64
64
  discount: -1
65
- }, j = "EUR", q = c(
65
+ }, q = "EUR", G = c(
66
66
  [
67
67
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
68
68
  "ds:rounded-[var(--radius-full)] ds:border",
@@ -119,7 +119,7 @@ const R = [
119
119
  { state: "settled", class: "ds:font-medium" }
120
120
  ]
121
121
  }
122
- ), G = c("ds:shrink-0 ds:[&>svg]:block", {
122
+ ), P = c("ds:shrink-0 ds:[&>svg]:block", {
123
123
  variants: {
124
124
  size: {
125
125
  sm: "ds:[&>svg]:size-2.5",
@@ -134,56 +134,57 @@ const R = [
134
134
  }
135
135
  },
136
136
  defaultVariants: { size: "md", directional: !1 }
137
- }), P = k(
137
+ }), Y = A(
138
138
  ({
139
139
  state: e,
140
140
  amount: u,
141
- currency: r = j,
141
+ currency: r = q,
142
142
  locale: f,
143
143
  size: t = "md",
144
144
  showLabel: m = !1,
145
- showIcon: v = !0,
146
- className: p,
147
- "aria-label": g,
148
- ...b
149
- }, h) => {
150
- const { t: o, i18n: x } = A(), a = f ?? x.language ?? "en", y = V[e], d = D[e], n = Math.abs(u), z = new Intl.NumberFormat(a, {
145
+ label: v,
146
+ showIcon: p = !0,
147
+ className: g,
148
+ "aria-label": b,
149
+ ...h
150
+ }, x) => {
151
+ const { t: o, i18n: y } = C(), a = f ?? y.language ?? "en", z = D[e], d = U[e], n = Math.abs(u), w = new Intl.NumberFormat(a, {
151
152
  style: "currency",
152
153
  currency: r,
153
154
  signDisplay: "never"
154
- }).format(n), i = o(`financial.state.${F[e]}`), w = new Intl.NumberFormat(a, {
155
+ }).format(n), i = v ?? o(`financial.state.${V[e]}`), N = new Intl.NumberFormat(a, {
155
156
  style: "currency",
156
157
  currency: r,
157
158
  signDisplay: e === "debt" ? "always" : "auto"
158
- }).format(n * U[e]), N = g ?? o("financial.aria.label", {
159
+ }).format(n * j[e]), T = b ?? o("financial.aria.label", {
159
160
  state: i,
160
- amount: w
161
+ amount: N
161
162
  });
162
- return /* @__PURE__ */ T(
163
+ return /* @__PURE__ */ k(
163
164
  "span",
164
165
  {
165
- ref: h,
166
+ ref: x,
166
167
  role: "img",
167
- "aria-label": N,
168
+ "aria-label": T,
168
169
  "data-component": "transaction-chip",
169
170
  "data-state": e,
170
- className: q({
171
+ className: G({
171
172
  state: e,
172
173
  size: t,
173
174
  bold: e !== "settled",
174
- className: p
175
+ className: g
175
176
  }),
176
- ...b,
177
+ ...h,
177
178
  children: [
178
- v && /* @__PURE__ */ s(
179
+ p && /* @__PURE__ */ s(
179
180
  "span",
180
181
  {
181
182
  "aria-hidden": "true",
182
- className: G({
183
+ className: P({
183
184
  size: t,
184
185
  directional: e === "debt" || e === "credit"
185
186
  }),
186
- children: /* @__PURE__ */ s(y, {})
187
+ children: /* @__PURE__ */ s(z, {})
187
188
  }
188
189
  ),
189
190
  m && /* @__PURE__ */ s("span", { "aria-hidden": "true", className: "type-eyebrow", children: i }),
@@ -200,7 +201,7 @@ const R = [
200
201
  {
201
202
  "aria-hidden": "true",
202
203
  className: "ds:[font-variant-numeric:var(--font-feature-tabular)]",
203
- children: z
204
+ children: w
204
205
  }
205
206
  )
206
207
  ]
@@ -208,9 +209,9 @@ const R = [
208
209
  );
209
210
  }
210
211
  );
211
- P.displayName = "TransactionChip";
212
+ Y.displayName = "TransactionChip";
212
213
  export {
213
- M as A,
214
- P as T
214
+ R as A,
215
+ Y as T
215
216
  };
216
- //# sourceMappingURL=transaction-chip-Dth1nThY.js.map
217
+ //# sourceMappingURL=transaction-chip-CwgcJiqF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-chip-Dth1nThY.js","sources":["../../node_modules/lucide-react/dist/esm/icons/arrow-down-left.mjs","../../node_modules/lucide-react/dist/esm/icons/badge-percent.mjs","../../src/components/transaction-chip/transaction-chip.tsx"],"sourcesContent":["/**\n * @license lucide-react v1.22.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"path\", { d: \"M17 7 7 17\", key: \"15tmo1\" }],\n [\"path\", { d: \"M17 17H7V7\", key: \"1org7z\" }]\n];\nconst ArrowDownLeft = createLucideIcon(\"arrow-down-left\", __iconNode);\n\nexport { __iconNode, ArrowDownLeft as default };\n//# sourceMappingURL=arrow-down-left.mjs.map\n","/**\n * @license lucide-react v1.22.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\n \"path\",\n {\n d: \"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z\",\n key: \"3c2336\"\n }\n ],\n [\"path\", { d: \"m15 9-6 6\", key: \"1uzhvr\" }],\n [\"path\", { d: \"M9 9h.01\", key: \"1q5me6\" }],\n [\"path\", { d: \"M15 15h.01\", key: \"lqbp3k\" }]\n];\nconst BadgePercent = createLucideIcon(\"badge-percent\", __iconNode);\n\nexport { __iconNode, BadgePercent as default };\n//# sourceMappingURL=badge-percent.mjs.map\n","import { forwardRef, type HTMLAttributes } from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport {\n ArrowDownLeft,\n ArrowUpRight,\n BadgePercent,\n CalendarClock,\n Check,\n FileText,\n type LucideIcon,\n} from 'lucide-react';\n\n/* ------------------------------------------------------------------ */\n/* State vocabulary */\n/* ------------------------------------------------------------------ */\n\nexport type TransactionState =\n | 'debt'\n | 'credit'\n | 'to-invoice'\n | 'to-deliver'\n | 'settled'\n | 'discount';\n\n// State → translation-key segment. Hyphenated state names are flattened to\n// camelCase so the i18next bundle stays consistent with the rest of `ui.*`.\nconst STATE_KEY: Record<TransactionState, string> = {\n debt: 'debt',\n credit: 'credit',\n 'to-invoice': 'toInvoice',\n 'to-deliver': 'toDeliver',\n settled: 'settled',\n discount: 'discount',\n};\n\nconst STATE_ICON: Record<TransactionState, LucideIcon> = {\n debt: ArrowDownLeft,\n credit: ArrowUpRight,\n 'to-invoice': FileText,\n 'to-deliver': CalendarClock,\n settled: Check,\n discount: BadgePercent,\n};\n\n// U+2212 MINUS SIGN — matches PR alfadocs/platform#523's typographic minus.\n// Hyphen-minus would render visually narrower next to the currency glyph.\nconst STATE_SIGN: Record<TransactionState, '' | '+' | '−'> = {\n debt: '−',\n credit: '+',\n 'to-invoice': '',\n 'to-deliver': '',\n settled: '',\n discount: '−',\n};\n\n// Multiplier used when composing the screen-reader announcement so SR users\n// hear the signed amount Intl produces (\"minus one thousand…\") rather than\n// the magnitude plus a separate sign glyph.\nconst SIGN_MULTIPLIER: Record<TransactionState, -1 | 1> = {\n debt: -1,\n credit: 1,\n 'to-invoice': 1,\n 'to-deliver': 1,\n settled: 1,\n discount: -1,\n};\n\nconst DEFAULT_CURRENCY = 'EUR';\n\n/* ------------------------------------------------------------------ */\n/* CVA — chip root */\n/* ------------------------------------------------------------------ */\n\nconst chipVariants = cva(\n [\n 'ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]',\n 'ds:rounded-[var(--radius-full)] ds:border',\n 'ds:whitespace-nowrap ds:align-middle',\n 'ds:focus-visible:outline-none',\n 'ds:focus-visible:ring-[length:var(--focus-ring-width)]',\n 'ds:focus-visible:ring-[color:var(--ring)]',\n 'ds:focus-visible:ring-offset-[length:var(--focus-ring-offset)]',\n ].join(' '),\n {\n variants: {\n state: {\n // Text uses the deeper `*-foreground` token (matching Badge / Tag) so\n // small chip text clears WCAG AA (4.5:1) against the 10% tinted\n // background. The surface and border use the lighter alias.\n debt: 'ds:bg-destructive/10 ds:text-[color:var(--error-foreground)] ds:border-[color:var(--error-foreground)]',\n credit:\n 'ds:bg-success/10 ds:text-[color:var(--success-foreground)] ds:border-[color:var(--success-foreground)]',\n // The orange \"to-invoice\" tint has no kit-wide semantic alias — see\n // src/tokens/index.css §Transaction-chip-scoped tokens. The component\n // owns the alias because the customer-anchored \"Da fatturare\" orange\n // is distinct from `--warning` (yellow) and from `--destructive`.\n 'to-invoice':\n 'ds:bg-transaction-chip-to-invoice/10 ds:text-[color:var(--transaction-chip-to-invoice-foreground)] ds:border-[color:var(--transaction-chip-to-invoice-foreground)]',\n 'to-deliver':\n 'ds:bg-info/10 ds:text-[color:var(--info-foreground)] ds:border-[color:var(--info-foreground)]',\n settled:\n 'ds:bg-muted/30 ds:text-muted-foreground ds:border-[color:var(--border)]',\n // Discount/credit-note reductions use the dedicated `--discount`\n // semantic token (brand magenta family) — distinct from credit's green\n // so a discount and a credit never read alike. `--discount-foreground`\n // clears AA on the 10% tint.\n discount:\n 'ds:bg-discount/10 ds:text-[color:var(--discount-foreground)] ds:border-[color:var(--discount-foreground)]',\n },\n size: {\n // Heights match the Badge / Tag chip family (sm h-4 / md h-5 / lg h-6)\n // so mixed chip strips align. `--type-eyebrow-size` flows into the\n // optional label span, keeping its typography in step with the chip.\n sm: 'ds:h-4 ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-sm)] ds:text-[length:var(--font-size-2xs)] ds:[--type-eyebrow-size:var(--font-size-2xs)]',\n md: 'ds:h-5 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:text-[length:var(--font-size-xs)] ds:[--type-eyebrow-size:var(--font-size-2xs)]',\n lg: 'ds:h-6 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-md)] ds:text-[length:var(--font-size-sm)] ds:[--type-eyebrow-size:var(--font-size-xs)]',\n },\n bold: {\n // `settled` is the terminal resting state — see compound variant below.\n true: 'ds:font-semibold',\n false: 'ds:font-medium',\n },\n },\n defaultVariants: {\n state: 'debt',\n size: 'md',\n bold: true,\n },\n compoundVariants: [\n // `settled` always renders at the lighter weight, regardless of the\n // resolved default. Mirrors PR #523's follow-up where the resting branch\n // dropped from bold to medium to recede visually.\n { state: 'settled', class: 'ds:font-medium' },\n ],\n },\n);\n\n/* ------------------------------------------------------------------ */\n/* CVA — icon wrapper */\n/* ------------------------------------------------------------------ */\n\n// `ArrowDownLeft` (debt) and `ArrowUpRight` (credit) are direction-encoded\n// glyphs — their physical orientation carries the semantic (\"money coming\n// in\" / \"money going out\"). PRS §05 RTL: directional icons flip in RTL.\n// The non-directional glyphs (FileText, CalendarClock, Check) are unaffected.\nconst iconWrapperVariants = cva('ds:shrink-0 ds:[&>svg]:block', {\n variants: {\n size: {\n sm: 'ds:[&>svg]:size-2.5',\n md: 'ds:[&>svg]:size-3',\n lg: 'ds:[&>svg]:size-3.5',\n },\n // Only the direction-encoded debt/credit arrows flip in RTL; the\n // non-directional glyphs (FileText, CalendarClock, Check) must not mirror.\n directional: {\n true: 'ds:rtl:[&>svg]:-scale-x-100',\n false: '',\n },\n },\n defaultVariants: { size: 'md', directional: false },\n});\n\n/* ------------------------------------------------------------------ */\n/* Props */\n/* ------------------------------------------------------------------ */\n\nexport interface TransactionChipProps\n extends\n Omit<HTMLAttributes<HTMLSpanElement>, 'children'>,\n Pick<VariantProps<typeof chipVariants>, 'size'> {\n /** Financial state — drives colour, icon, sign, and label. */\n state: TransactionState;\n /**\n * Magnitude of the amount as a non-negative number. The sign is rendered\n * separately based on `state` — callers must never pass a negative value.\n */\n amount: number;\n /**\n * ISO 4217 currency code. Defaults to `EUR` for the Italian-anchored\n * release. Required at the type level so consumers can't silently render\n * a different currency than they intended.\n */\n currency?: string;\n /** BCP 47 locale override. Defaults to the active i18next language. */\n locale?: string;\n /** Render the state label (e.g. \"Da incassare\") before the amount. */\n showLabel?: boolean;\n /**\n * Render the state glyph. Default `true`.\n *\n * Set `false` where several money chips sit side by side and each already\n * carries its label: three glyphs in a row add three shapes to parse for\n * information the words already give, and the colour still separates the\n * states. The glyph is decorative (`aria-hidden`), so dropping it changes\n * nothing a screen reader hears — the signed amount and the state label are\n * untouched.\n */\n showIcon?: boolean;\n}\n\n/* ------------------------------------------------------------------ */\n/* Component */\n/* ------------------------------------------------------------------ */\n\nexport const TransactionChip = forwardRef<\n HTMLSpanElement,\n TransactionChipProps\n>(\n (\n {\n state,\n amount,\n currency = DEFAULT_CURRENCY,\n locale,\n size = 'md',\n showLabel = false,\n showIcon = true,\n className,\n 'aria-label': ariaLabelProp,\n ...rest\n },\n ref,\n ) => {\n const { t, i18n } = useTranslation();\n const activeLocale = locale ?? i18n.language ?? 'en';\n\n const StateIcon = STATE_ICON[state];\n const sign = STATE_SIGN[state];\n const magnitude = Math.abs(amount);\n\n // The visible amount is rendered without a sign; the leading sign glyph\n // (or its absence) is owned by the state, not the formatter.\n const formattedAmount = new Intl.NumberFormat(activeLocale, {\n style: 'currency',\n currency,\n signDisplay: 'never',\n }).format(magnitude);\n\n // The accessible name uses Intl's own signed output so screen readers\n // announce the locale-correct \"minus\" / \"negative\" phrasing instead of\n // skipping the U+2212 glyph or speaking it as \"hyphen\".\n const stateLabel = t(`financial.state.${STATE_KEY[state]}`);\n const signedAmountForSR = new Intl.NumberFormat(activeLocale, {\n style: 'currency',\n currency,\n signDisplay: state === 'debt' ? 'always' : 'auto',\n }).format(magnitude * SIGN_MULTIPLIER[state]);\n const ariaLabel =\n ariaLabelProp ??\n t('financial.aria.label', {\n state: stateLabel,\n amount: signedAmountForSR,\n });\n\n return (\n <span\n ref={ref}\n role=\"img\"\n aria-label={ariaLabel}\n data-component=\"transaction-chip\"\n data-state={state}\n className={chipVariants({\n state,\n size,\n bold: state !== 'settled',\n className,\n })}\n {...rest}\n >\n {showIcon && (\n <span\n aria-hidden=\"true\"\n className={iconWrapperVariants({\n size,\n directional: state === 'debt' || state === 'credit',\n })}\n >\n <StateIcon />\n </span>\n )}\n {showLabel && (\n <span aria-hidden=\"true\" className=\"type-eyebrow\">\n {stateLabel}\n </span>\n )}\n {sign && (\n <span\n aria-hidden=\"true\"\n className=\"ds:[font-variant-numeric:var(--font-feature-tabular)]\"\n >\n {sign}\n </span>\n )}\n <span\n aria-hidden=\"true\"\n className=\"ds:[font-variant-numeric:var(--font-feature-tabular)]\"\n >\n {formattedAmount}\n </span>\n </span>\n );\n },\n);\n\nTransactionChip.displayName = 'TransactionChip';\n"],"names":["__iconNode","ArrowDownLeft","createLucideIcon","BadgePercent","STATE_KEY","STATE_ICON","ArrowUpRight","FileText","CalendarClock","Check","STATE_SIGN","SIGN_MULTIPLIER","DEFAULT_CURRENCY","chipVariants","cva","iconWrapperVariants","TransactionChip","forwardRef","state","amount","currency","locale","size","showLabel","showIcon","className","ariaLabelProp","rest","ref","t","i18n","useTranslation","activeLocale","StateIcon","sign","magnitude","formattedAmount","stateLabel","signedAmountForSR","ariaLabel","jsxs","jsx"],"mappings":";;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa;AAAA,EACjB,CAAC,QAAQ,EAAE,GAAG,cAAc,KAAK,SAAQ,CAAE;AAAA,EAC3C,CAAC,QAAQ,EAAE,GAAG,cAAc,KAAK,SAAQ,CAAE;AAC7C,GACMC,IAAgBC,EAAiB,mBAAmBF,CAAU;ACbpE;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa;AAAA,EACjB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IACX;AAAA,EACA;AAAA,EACE,CAAC,QAAQ,EAAE,GAAG,aAAa,KAAK,SAAQ,CAAE;AAAA,EAC1C,CAAC,QAAQ,EAAE,GAAG,YAAY,KAAK,SAAQ,CAAE;AAAA,EACzC,CAAC,QAAQ,EAAE,GAAG,cAAc,KAAK,SAAQ,CAAE;AAC7C,GACMG,IAAeD,EAAiB,iBAAiBF,CAAU,GCM3DI,IAA8C;AAAA,EAClD,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,cAAc;AAAA,EACd,SAAS;AAAA,EACT,UAAU;AACZ,GAEMC,IAAmD;AAAA,EACvD,MAAMJ;AAAA,EACN,QAAQK;AAAA,EACR,cAAcC;AAAA,EACd,cAAcC;AAAA,EACd,SAASC;AAAA,EACT,UAAUN;AACZ,GAIMO,IAAuD;AAAA,EAC3D,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,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AAAA,cACC,eAAY;AAAA,cACZ,WAAW1B,EAAoB;AAAA,gBAC7B,MAAAO;AAAA,gBACA,aAAaJ,MAAU,UAAUA,MAAU;AAAA,cAAA,CAC5C;AAAA,cAED,4BAACe,GAAA,CAAA,CAAU;AAAA,YAAA;AAAA,UAAA;AAAA,UAGdV,KACC,gBAAAkB,EAAC,QAAA,EAAK,eAAY,QAAO,WAAU,gBAChC,UAAAJ,GACH;AAAA,UAEDH,KACC,gBAAAO;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA,cAET,UAAAP;AAAA,YAAA;AAAA,UAAA;AAAA,UAGL,gBAAAO;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA,cAET,UAAAL;AAAA,YAAA;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEApB,EAAgB,cAAc;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"transaction-chip-CwgcJiqF.js","sources":["../../node_modules/lucide-react/dist/esm/icons/arrow-down-left.mjs","../../node_modules/lucide-react/dist/esm/icons/badge-percent.mjs","../../src/components/transaction-chip/transaction-chip.tsx"],"sourcesContent":["/**\n * @license lucide-react v1.22.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"path\", { d: \"M17 7 7 17\", key: \"15tmo1\" }],\n [\"path\", { d: \"M17 17H7V7\", key: \"1org7z\" }]\n];\nconst ArrowDownLeft = createLucideIcon(\"arrow-down-left\", __iconNode);\n\nexport { __iconNode, ArrowDownLeft as default };\n//# sourceMappingURL=arrow-down-left.mjs.map\n","/**\n * @license lucide-react v1.22.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\n \"path\",\n {\n d: \"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z\",\n key: \"3c2336\"\n }\n ],\n [\"path\", { d: \"m15 9-6 6\", key: \"1uzhvr\" }],\n [\"path\", { d: \"M9 9h.01\", key: \"1q5me6\" }],\n [\"path\", { d: \"M15 15h.01\", key: \"lqbp3k\" }]\n];\nconst BadgePercent = createLucideIcon(\"badge-percent\", __iconNode);\n\nexport { __iconNode, BadgePercent as default };\n//# sourceMappingURL=badge-percent.mjs.map\n","import { forwardRef, type HTMLAttributes } from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport {\n ArrowDownLeft,\n ArrowUpRight,\n BadgePercent,\n CalendarClock,\n Check,\n FileText,\n type LucideIcon,\n} from 'lucide-react';\n\n/* ------------------------------------------------------------------ */\n/* State vocabulary */\n/* ------------------------------------------------------------------ */\n\nexport type TransactionState =\n | 'debt'\n | 'credit'\n | 'to-invoice'\n | 'to-deliver'\n | 'settled'\n | 'discount';\n\n// State → translation-key segment. Hyphenated state names are flattened to\n// camelCase so the i18next bundle stays consistent with the rest of `ui.*`.\nconst STATE_KEY: Record<TransactionState, string> = {\n debt: 'debt',\n credit: 'credit',\n 'to-invoice': 'toInvoice',\n 'to-deliver': 'toDeliver',\n settled: 'settled',\n discount: 'discount',\n};\n\nconst STATE_ICON: Record<TransactionState, LucideIcon> = {\n debt: ArrowDownLeft,\n credit: ArrowUpRight,\n 'to-invoice': FileText,\n 'to-deliver': CalendarClock,\n settled: Check,\n discount: BadgePercent,\n};\n\n// U+2212 MINUS SIGN — matches PR alfadocs/platform#523's typographic minus.\n// Hyphen-minus would render visually narrower next to the currency glyph.\nconst STATE_SIGN: Record<TransactionState, '' | '+' | '−'> = {\n debt: '−',\n credit: '+',\n 'to-invoice': '',\n 'to-deliver': '',\n settled: '',\n discount: '−',\n};\n\n// Multiplier used when composing the screen-reader announcement so SR users\n// hear the signed amount Intl produces (\"minus one thousand…\") rather than\n// the magnitude plus a separate sign glyph.\nconst SIGN_MULTIPLIER: Record<TransactionState, -1 | 1> = {\n debt: -1,\n credit: 1,\n 'to-invoice': 1,\n 'to-deliver': 1,\n settled: 1,\n discount: -1,\n};\n\nconst DEFAULT_CURRENCY = 'EUR';\n\n/* ------------------------------------------------------------------ */\n/* CVA — chip root */\n/* ------------------------------------------------------------------ */\n\nconst chipVariants = cva(\n [\n 'ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]',\n 'ds:rounded-[var(--radius-full)] ds:border',\n 'ds:whitespace-nowrap ds:align-middle',\n 'ds:focus-visible:outline-none',\n 'ds:focus-visible:ring-[length:var(--focus-ring-width)]',\n 'ds:focus-visible:ring-[color:var(--ring)]',\n 'ds:focus-visible:ring-offset-[length:var(--focus-ring-offset)]',\n ].join(' '),\n {\n variants: {\n state: {\n // Text uses the deeper `*-foreground` token (matching Badge / Tag) so\n // small chip text clears WCAG AA (4.5:1) against the 10% tinted\n // background. The surface and border use the lighter alias.\n debt: 'ds:bg-destructive/10 ds:text-[color:var(--error-foreground)] ds:border-[color:var(--error-foreground)]',\n credit:\n 'ds:bg-success/10 ds:text-[color:var(--success-foreground)] ds:border-[color:var(--success-foreground)]',\n // The orange \"to-invoice\" tint has no kit-wide semantic alias — see\n // src/tokens/index.css §Transaction-chip-scoped tokens. The component\n // owns the alias because the customer-anchored \"Da fatturare\" orange\n // is distinct from `--warning` (yellow) and from `--destructive`.\n 'to-invoice':\n 'ds:bg-transaction-chip-to-invoice/10 ds:text-[color:var(--transaction-chip-to-invoice-foreground)] ds:border-[color:var(--transaction-chip-to-invoice-foreground)]',\n 'to-deliver':\n 'ds:bg-info/10 ds:text-[color:var(--info-foreground)] ds:border-[color:var(--info-foreground)]',\n settled:\n 'ds:bg-muted/30 ds:text-muted-foreground ds:border-[color:var(--border)]',\n // Discount/credit-note reductions use the dedicated `--discount`\n // semantic token (brand magenta family) — distinct from credit's green\n // so a discount and a credit never read alike. `--discount-foreground`\n // clears AA on the 10% tint.\n discount:\n 'ds:bg-discount/10 ds:text-[color:var(--discount-foreground)] ds:border-[color:var(--discount-foreground)]',\n },\n size: {\n // Heights match the Badge / Tag chip family (sm h-4 / md h-5 / lg h-6)\n // so mixed chip strips align. `--type-eyebrow-size` flows into the\n // optional label span, keeping its typography in step with the chip.\n sm: 'ds:h-4 ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-sm)] ds:text-[length:var(--font-size-2xs)] ds:[--type-eyebrow-size:var(--font-size-2xs)]',\n md: 'ds:h-5 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:text-[length:var(--font-size-xs)] ds:[--type-eyebrow-size:var(--font-size-2xs)]',\n lg: 'ds:h-6 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-md)] ds:text-[length:var(--font-size-sm)] ds:[--type-eyebrow-size:var(--font-size-xs)]',\n },\n bold: {\n // `settled` is the terminal resting state — see compound variant below.\n true: 'ds:font-semibold',\n false: 'ds:font-medium',\n },\n },\n defaultVariants: {\n state: 'debt',\n size: 'md',\n bold: true,\n },\n compoundVariants: [\n // `settled` always renders at the lighter weight, regardless of the\n // resolved default. Mirrors PR #523's follow-up where the resting branch\n // dropped from bold to medium to recede visually.\n { state: 'settled', class: 'ds:font-medium' },\n ],\n },\n);\n\n/* ------------------------------------------------------------------ */\n/* CVA — icon wrapper */\n/* ------------------------------------------------------------------ */\n\n// `ArrowDownLeft` (debt) and `ArrowUpRight` (credit) are direction-encoded\n// glyphs — their physical orientation carries the semantic (\"money coming\n// in\" / \"money going out\"). PRS §05 RTL: directional icons flip in RTL.\n// The non-directional glyphs (FileText, CalendarClock, Check) are unaffected.\nconst iconWrapperVariants = cva('ds:shrink-0 ds:[&>svg]:block', {\n variants: {\n size: {\n sm: 'ds:[&>svg]:size-2.5',\n md: 'ds:[&>svg]:size-3',\n lg: 'ds:[&>svg]:size-3.5',\n },\n // Only the direction-encoded debt/credit arrows flip in RTL; the\n // non-directional glyphs (FileText, CalendarClock, Check) must not mirror.\n directional: {\n true: 'ds:rtl:[&>svg]:-scale-x-100',\n false: '',\n },\n },\n defaultVariants: { size: 'md', directional: false },\n});\n\n/* ------------------------------------------------------------------ */\n/* Props */\n/* ------------------------------------------------------------------ */\n\nexport interface TransactionChipProps\n extends\n Omit<HTMLAttributes<HTMLSpanElement>, 'children'>,\n Pick<VariantProps<typeof chipVariants>, 'size'> {\n /** Financial state — drives colour, icon, sign, and label. */\n state: TransactionState;\n /**\n * Magnitude of the amount as a non-negative number. The sign is rendered\n * separately based on `state` — callers must never pass a negative value.\n */\n amount: number;\n /**\n * ISO 4217 currency code. Defaults to `EUR` for the Italian-anchored\n * release. Required at the type level so consumers can't silently render\n * a different currency than they intended.\n */\n currency?: string;\n /** BCP 47 locale override. Defaults to the active i18next language. */\n locale?: string;\n /** Render the state label (e.g. \"Da incassare\") before the amount. */\n showLabel?: boolean;\n /**\n * Replaces the state's own word, in the visible label and in the accessible\n * name, when the money has a more exact name than its state: an online\n * deposit is `settled`, and reads \"Paid online\". Pass a translated string.\n * The colour, glyph and sign still follow `state`.\n */\n label?: string;\n /**\n * Render the state glyph. Default `true`.\n *\n * Set `false` where several money chips sit side by side and each already\n * carries its label: three glyphs in a row add three shapes to parse for\n * information the words already give, and the colour still separates the\n * states. The glyph is decorative (`aria-hidden`), so dropping it changes\n * nothing a screen reader hears — the signed amount and the state label are\n * untouched.\n */\n showIcon?: boolean;\n}\n\n/* ------------------------------------------------------------------ */\n/* Component */\n/* ------------------------------------------------------------------ */\n\nexport const TransactionChip = forwardRef<\n HTMLSpanElement,\n TransactionChipProps\n>(\n (\n {\n state,\n amount,\n currency = DEFAULT_CURRENCY,\n locale,\n size = 'md',\n showLabel = false,\n label,\n showIcon = true,\n className,\n 'aria-label': ariaLabelProp,\n ...rest\n },\n ref,\n ) => {\n const { t, i18n } = useTranslation();\n const activeLocale = locale ?? i18n.language ?? 'en';\n\n const StateIcon = STATE_ICON[state];\n const sign = STATE_SIGN[state];\n const magnitude = Math.abs(amount);\n\n // The visible amount is rendered without a sign; the leading sign glyph\n // (or its absence) is owned by the state, not the formatter.\n const formattedAmount = new Intl.NumberFormat(activeLocale, {\n style: 'currency',\n currency,\n signDisplay: 'never',\n }).format(magnitude);\n\n // The accessible name uses Intl's own signed output so screen readers\n // announce the locale-correct \"minus\" / \"negative\" phrasing instead of\n // skipping the U+2212 glyph or speaking it as \"hyphen\".\n const stateLabel = label ?? t(`financial.state.${STATE_KEY[state]}`);\n const signedAmountForSR = new Intl.NumberFormat(activeLocale, {\n style: 'currency',\n currency,\n signDisplay: state === 'debt' ? 'always' : 'auto',\n }).format(magnitude * SIGN_MULTIPLIER[state]);\n const ariaLabel =\n ariaLabelProp ??\n t('financial.aria.label', {\n state: stateLabel,\n amount: signedAmountForSR,\n });\n\n return (\n <span\n ref={ref}\n role=\"img\"\n aria-label={ariaLabel}\n data-component=\"transaction-chip\"\n data-state={state}\n className={chipVariants({\n state,\n size,\n bold: state !== 'settled',\n className,\n })}\n {...rest}\n >\n {showIcon && (\n <span\n aria-hidden=\"true\"\n className={iconWrapperVariants({\n size,\n directional: state === 'debt' || state === 'credit',\n })}\n >\n <StateIcon />\n </span>\n )}\n {showLabel && (\n <span aria-hidden=\"true\" className=\"type-eyebrow\">\n {stateLabel}\n </span>\n )}\n {sign && (\n <span\n aria-hidden=\"true\"\n className=\"ds:[font-variant-numeric:var(--font-feature-tabular)]\"\n >\n {sign}\n </span>\n )}\n <span\n aria-hidden=\"true\"\n className=\"ds:[font-variant-numeric:var(--font-feature-tabular)]\"\n >\n {formattedAmount}\n </span>\n </span>\n );\n },\n);\n\nTransactionChip.displayName = 'TransactionChip';\n"],"names":["__iconNode","ArrowDownLeft","createLucideIcon","BadgePercent","STATE_KEY","STATE_ICON","ArrowUpRight","FileText","CalendarClock","Check","STATE_SIGN","SIGN_MULTIPLIER","DEFAULT_CURRENCY","chipVariants","cva","iconWrapperVariants","TransactionChip","forwardRef","state","amount","currency","locale","size","showLabel","label","showIcon","className","ariaLabelProp","rest","ref","t","i18n","useTranslation","activeLocale","StateIcon","sign","magnitude","formattedAmount","stateLabel","signedAmountForSR","ariaLabel","jsxs","jsx"],"mappings":";;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa;AAAA,EACjB,CAAC,QAAQ,EAAE,GAAG,cAAc,KAAK,SAAQ,CAAE;AAAA,EAC3C,CAAC,QAAQ,EAAE,GAAG,cAAc,KAAK,SAAQ,CAAE;AAC7C,GACMC,IAAgBC,EAAiB,mBAAmBF,CAAU;ACbpE;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa;AAAA,EACjB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IACX;AAAA,EACA;AAAA,EACE,CAAC,QAAQ,EAAE,GAAG,aAAa,KAAK,SAAQ,CAAE;AAAA,EAC1C,CAAC,QAAQ,EAAE,GAAG,YAAY,KAAK,SAAQ,CAAE;AAAA,EACzC,CAAC,QAAQ,EAAE,GAAG,cAAc,KAAK,SAAQ,CAAE;AAC7C,GACMG,IAAeD,EAAiB,iBAAiBF,CAAU,GCM3DI,IAA8C;AAAA,EAClD,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,cAAc;AAAA,EACd,SAAS;AAAA,EACT,UAAU;AACZ,GAEMC,IAAmD;AAAA,EACvD,MAAMJ;AAAA,EACN,QAAQK;AAAA,EACR,cAAcC;AAAA,EACd,cAAcC;AAAA,EACd,SAASC;AAAA,EACT,UAAUN;AACZ,GAIMO,IAAuD;AAAA,EAC3D,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,cAAc;AAAA,EACd,SAAS;AAAA,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A,cACC,eAAY;AAAA,cACZ,WAAW3B,EAAoB;AAAA,gBAC7B,MAAAO;AAAA,gBACA,aAAaJ,MAAU,UAAUA,MAAU;AAAA,cAAA,CAC5C;AAAA,cAED,4BAACgB,GAAA,CAAA,CAAU;AAAA,YAAA;AAAA,UAAA;AAAA,UAGdX,KACC,gBAAAmB,EAAC,QAAA,EAAK,eAAY,QAAO,WAAU,gBAChC,UAAAJ,GACH;AAAA,UAEDH,KACC,gBAAAO;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA,cAET,UAAAP;AAAA,YAAA;AAAA,UAAA;AAAA,UAGL,gBAAAO;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA,cAET,UAAAL;AAAA,YAAA;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEArB,EAAgB,cAAc;","x_google_ignoreList":[0,1]}
@@ -0,0 +1,160 @@
1
+ import { jsx as s, jsxs as t } from "react/jsx-runtime";
2
+ import { forwardRef as R, useRef as j } from "react";
3
+ import { c as g } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as L } from "react-i18next";
5
+ import { B as f } from "./badge-BudgzTe_.js";
6
+ import { M as u } from "./money-BY-HmKhZ.js";
7
+ import { C as z, S as h } from "./skeleton-B1KTdJ4N.js";
8
+ import { T as S } from "./tag-Ci3xJPcH.js";
9
+ const v = "type-label ds:text-[color:var(--muted-foreground)]", x = g(
10
+ [
11
+ "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
12
+ "ds:py-[var(--spacing-xs)]",
13
+ // Dashed between lines, like a printed receipt; the last line hands the
14
+ // solid rule over to the total below it.
15
+ "ds:border-b ds:border-dashed ds:border-[color:var(--border)]",
16
+ "ds:last:border-b-0"
17
+ ].join(" ")
18
+ ), B = g(
19
+ [
20
+ "ds:mt-[var(--spacing-xs)] ds:flex ds:items-baseline ds:justify-between",
21
+ "ds:gap-[var(--spacing-sm)] ds:pt-[var(--spacing-xs)]",
22
+ "ds:border-t ds:border-[color:var(--border)]"
23
+ ].join(" ")
24
+ ), E = R(
25
+ ({
26
+ lines: r,
27
+ locale: n,
28
+ currency: i,
29
+ totalLabel: b,
30
+ loading: l = !1,
31
+ loadingLines: N = 2,
32
+ className: o,
33
+ ...c
34
+ }, m) => {
35
+ const { t: d } = L(), p = j(!1);
36
+ l && (p.current = !0);
37
+ const y = p.current ? z : "", T = r.length > 0 && r.every((e) => e.priceCents !== void 0), w = r.reduce(
38
+ (e, a) => e + (a.priceCents ?? 0),
39
+ 0
40
+ );
41
+ return l && r.length === 0 ? /* @__PURE__ */ s(
42
+ "div",
43
+ {
44
+ ...c,
45
+ ref: m,
46
+ "data-component": "treatment-receipt",
47
+ "data-loading": "",
48
+ "aria-busy": "true",
49
+ className: ["ds:flex ds:flex-col", o].filter(Boolean).join(" "),
50
+ children: /* @__PURE__ */ s(
51
+ "ul",
52
+ {
53
+ "aria-hidden": "true",
54
+ className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:p-0",
55
+ children: Array.from({ length: Math.max(1, N) }, (e, a) => /* @__PURE__ */ s("li", { className: x(), children: /* @__PURE__ */ t("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
56
+ /* @__PURE__ */ s(
57
+ h,
58
+ {
59
+ variant: "text",
60
+ size: "sm",
61
+ stagger: a * 2,
62
+ width: a % 2 === 0 ? "60%" : "40%"
63
+ }
64
+ ),
65
+ /* @__PURE__ */ s(
66
+ h,
67
+ {
68
+ variant: "text",
69
+ size: "sm",
70
+ stagger: a * 2 + 1,
71
+ width: "var(--spacing-2xl)",
72
+ className: "ds:ms-auto ds:shrink-0"
73
+ }
74
+ )
75
+ ] }) }, a))
76
+ }
77
+ )
78
+ }
79
+ ) : /* @__PURE__ */ t(
80
+ "div",
81
+ {
82
+ ref: m,
83
+ "data-component": "treatment-receipt",
84
+ "aria-busy": l || void 0,
85
+ className: ["ds:flex ds:flex-col", o].filter(Boolean).join(" "),
86
+ ...c,
87
+ children: [
88
+ /* @__PURE__ */ s(
89
+ "ul",
90
+ {
91
+ className: `ds:m-0 ds:flex ds:list-none ds:flex-col ds:p-0 ${y}`.trim(),
92
+ children: r.map((e) => {
93
+ const a = e.phases ?? [], C = a.length > 0 || e.done || e.billed;
94
+ return /* @__PURE__ */ t(
95
+ "li",
96
+ {
97
+ "data-treatment-receipt-line": "",
98
+ className: x(),
99
+ children: [
100
+ /* @__PURE__ */ t("div", { className: "ds:flex ds:items-baseline ds:gap-[var(--spacing-sm)]", children: [
101
+ /* @__PURE__ */ t("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm", children: [
102
+ e.name,
103
+ e.code ? /* @__PURE__ */ s("span", { className: `${v} ds:tabular-nums`, children: e.code }) : null,
104
+ e.elementsLabel ? /* @__PURE__ */ s(
105
+ S,
106
+ {
107
+ size: "sm",
108
+ variant: "info",
109
+ label: e.elementsLabel
110
+ }
111
+ ) : null
112
+ ] }),
113
+ e.priceCents !== void 0 ? /* @__PURE__ */ s(
114
+ u,
115
+ {
116
+ value: e.priceCents,
117
+ locale: n,
118
+ currency: i,
119
+ decimals: "muted",
120
+ className: "ds:shrink-0"
121
+ }
122
+ ) : null
123
+ ] }),
124
+ C ? /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
125
+ a.length > 0 ? /* @__PURE__ */ s("span", { className: v, children: d("treatmentReceipt.phases", {
126
+ phases: a.join(", ")
127
+ }) }) : null,
128
+ e.done ? /* @__PURE__ */ s(f, { variant: "success", size: "sm", withDot: !0, children: d("treatmentReceipt.done") }) : null,
129
+ e.billed ? /* @__PURE__ */ s(f, { variant: "neutral", size: "sm", children: d("treatmentReceipt.billed") }) : null
130
+ ] }) : null
131
+ ]
132
+ },
133
+ e.id
134
+ );
135
+ })
136
+ }
137
+ ),
138
+ T ? /* @__PURE__ */ t("div", { "data-treatment-receipt-total": "", className: B(), children: [
139
+ /* @__PURE__ */ s("span", { className: "type-body-sm ds:font-medium", children: b ?? d("treatmentReceipt.total") }),
140
+ /* @__PURE__ */ s(
141
+ u,
142
+ {
143
+ value: w,
144
+ locale: n,
145
+ currency: i,
146
+ decimals: "muted",
147
+ className: "ds:font-semibold"
148
+ }
149
+ )
150
+ ] }) : null
151
+ ]
152
+ }
153
+ );
154
+ }
155
+ );
156
+ E.displayName = "TreatmentReceipt";
157
+ export {
158
+ E as T
159
+ };
160
+ //# sourceMappingURL=treatment-receipt-dUm99mdn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treatment-receipt-dUm99mdn.js","sources":["../../src/components/treatment-receipt/treatment-receipt.tsx"],"sourcesContent":["import { forwardRef, useRef, type HTMLAttributes } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport { Badge } from '../badge/badge';\nimport { Money } from '../money/money';\nimport { CONTENT_ENTER_CLASS, Skeleton } from '../skeleton/skeleton';\nimport { Tag } from '../tag/tag';\n\n/* -------------------------------------------------------------------- */\n/* TreatmentReceipt */\n/* */\n/* The treatments scheduled for ONE appointment, set as a receipt: a line */\n/* per treatment, the money in a single inline-end column, and a total */\n/* beneath the rule. */\n/* */\n/* Three rules the layout depends on, each a real branch in the data: */\n/* */\n/* - The total shows ONLY when every line is priced. `priceCents` is */\n/* optional because prices are withheld from viewers without the */\n/* permission, and summing what is visible states a confident, wrong */\n/* figure. */\n/* - It is labelled as the APPOINTMENT's total, never a bare \"Total\": a */\n/* plan can run to many treatments and only some are scheduled here. */\n/* - The tooth element is DATA, not decoration, so it stays a chip. */\n/* */\n/* Read-only. It exists because the shape was being rebuilt from Tag, */\n/* Money and Badge per surface, and the total rule was the part dropped. */\n/* -------------------------------------------------------------------- */\n\nconst MUTED = 'type-label ds:text-[color:var(--muted-foreground)]';\n\nconst lineVariants = cva(\n [\n 'ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]',\n 'ds:py-[var(--spacing-xs)]',\n // Dashed between lines, like a printed receipt; the last line hands the\n // solid rule over to the total below it.\n 'ds:border-b ds:border-dashed ds:border-[color:var(--border)]',\n 'ds:last:border-b-0',\n ].join(' '),\n);\n\nconst totalVariants = cva(\n [\n 'ds:mt-[var(--spacing-xs)] ds:flex ds:items-baseline ds:justify-between',\n 'ds:gap-[var(--spacing-sm)] ds:pt-[var(--spacing-xs)]',\n 'ds:border-t ds:border-[color:var(--border)]',\n ].join(' '),\n);\n\nexport interface TreatmentReceiptLine {\n /** Stable key for the line. */\n id: string;\n /** Treatment name, as the price list prints it. */\n name: string;\n /** Price-list code, shown muted after the name. */\n code?: string;\n /** Dental elements as the platform prints them (\"36, 37\"). */\n elementsLabel?: string;\n /** Plan phases this line belongs to. */\n phases?: string[];\n /** The treatment has been carried out. */\n done?: boolean;\n /** The treatment has been invoiced. */\n billed?: boolean;\n /** Minor units. Absent means prices are withheld from this viewer. */\n priceCents?: number;\n}\n\nexport interface TreatmentReceiptProps extends HTMLAttributes<HTMLDivElement> {\n lines: TreatmentReceiptLine[];\n /** BCP 47 locale for the amounts. Defaults to Money's own default. */\n locale?: string;\n /** ISO 4217 code. Defaults to Money's own default. */\n currency?: string;\n /**\n * The treatments are being read. With no `lines` yet it shows placeholder\n * receipt lines and no total. With lines already on screen (a refresh) it\n * keeps them and only sets `aria-busy`.\n */\n loading?: boolean;\n /** Placeholder lines shown while `loading`. Default `2`. */\n loadingLines?: number;\n /** Label of the total row. Defaults to the kit's \"Total for this appointment\". */\n totalLabel?: string;\n}\n\nexport const TreatmentReceipt = forwardRef<\n HTMLDivElement,\n TreatmentReceiptProps\n>(\n (\n {\n lines,\n locale,\n currency,\n totalLabel,\n loading = false,\n loadingLines = 2,\n className,\n ...rest\n },\n ref,\n ) => {\n const { t } = useTranslation();\n /* Settle in only when this content REPLACES a skeleton. Content that was\n simply there from the start must not fade: it would read as invisible\n for one animation to any test or reader that looks at once. */\n const followedLoading = useRef(false);\n if (loading) followedLoading.current = true;\n const enterClass = followedLoading.current ? CONTENT_ENTER_CLASS : '';\n\n const everyLinePriced =\n lines.length > 0 && lines.every((line) => line.priceCents !== undefined);\n const totalCents = lines.reduce(\n (sum, line) => sum + (line.priceCents ?? 0),\n 0,\n );\n\n // First read only: a refresh keeps the lines it has and marks them busy.\n if (loading && lines.length === 0) {\n return (\n <div\n {...rest}\n ref={ref}\n data-component=\"treatment-receipt\"\n data-loading=\"\"\n aria-busy=\"true\"\n className={['ds:flex ds:flex-col', className]\n .filter(Boolean)\n .join(' ')}\n >\n <ul\n aria-hidden=\"true\"\n className=\"ds:m-0 ds:flex ds:list-none ds:flex-col ds:p-0\"\n >\n {Array.from({ length: Math.max(1, loadingLines) }, (_, index) => (\n <li key={index} className={lineVariants()}>\n <div className=\"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]\">\n <Skeleton\n variant=\"text\"\n size=\"sm\"\n stagger={index * 2}\n width={index % 2 === 0 ? '60%' : '40%'}\n />\n <Skeleton\n variant=\"text\"\n size=\"sm\"\n stagger={index * 2 + 1}\n width=\"var(--spacing-2xl)\"\n className=\"ds:ms-auto ds:shrink-0\"\n />\n </div>\n </li>\n ))}\n </ul>\n </div>\n );\n }\n\n return (\n <div\n ref={ref}\n data-component=\"treatment-receipt\"\n aria-busy={loading || undefined}\n className={['ds:flex ds:flex-col', className].filter(Boolean).join(' ')}\n {...rest}\n >\n <ul\n className={`ds:m-0 ds:flex ds:list-none ds:flex-col ds:p-0 ${enterClass}`.trim()}\n >\n {lines.map((line) => {\n const phases = line.phases ?? [];\n const hasSubLine = phases.length > 0 || line.done || line.billed;\n return (\n <li\n key={line.id}\n data-treatment-receipt-line=\"\"\n className={lineVariants()}\n >\n <div className=\"ds:flex ds:items-baseline ds:gap-[var(--spacing-sm)]\">\n <span className=\"ds:flex ds:min-w-0 ds:flex-1 ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm\">\n {line.name}\n {line.code ? (\n <span className={`${MUTED} ds:tabular-nums`}>\n {line.code}\n </span>\n ) : null}\n {line.elementsLabel ? (\n <Tag\n size=\"sm\"\n variant=\"info\"\n label={line.elementsLabel}\n />\n ) : null}\n </span>\n {line.priceCents !== undefined ? (\n <Money\n value={line.priceCents}\n locale={locale}\n currency={currency}\n decimals=\"muted\"\n className=\"ds:shrink-0\"\n />\n ) : null}\n </div>\n {hasSubLine ? (\n <div className=\"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]\">\n {phases.length > 0 ? (\n <span className={MUTED}>\n {t('treatmentReceipt.phases', {\n phases: phases.join(', '),\n })}\n </span>\n ) : null}\n {line.done ? (\n <Badge variant=\"success\" size=\"sm\" withDot>\n {t('treatmentReceipt.done')}\n </Badge>\n ) : null}\n {line.billed ? (\n <Badge variant=\"neutral\" size=\"sm\">\n {t('treatmentReceipt.billed')}\n </Badge>\n ) : null}\n </div>\n ) : null}\n </li>\n );\n })}\n </ul>\n {everyLinePriced ? (\n <div data-treatment-receipt-total=\"\" className={totalVariants()}>\n <span className=\"type-body-sm ds:font-medium\">\n {totalLabel ?? t('treatmentReceipt.total')}\n </span>\n <Money\n value={totalCents}\n locale={locale}\n currency={currency}\n decimals=\"muted\"\n className=\"ds:font-semibold\"\n />\n </div>\n ) : null}\n </div>\n );\n },\n);\nTreatmentReceipt.displayName = 'TreatmentReceipt';\n"],"names":["MUTED","lineVariants","cva","totalVariants","TreatmentReceipt","forwardRef","lines","locale","currency","totalLabel","loading","loadingLines","className","rest","ref","t","useTranslation","followedLoading","useRef","enterClass","CONTENT_ENTER_CLASS","everyLinePriced","line","totalCents","sum","jsx","_","index","jsxs","Skeleton","phases","hasSubLine","Tag","Money","Badge"],"mappings":";;;;;;;;AA6BA,MAAMA,IAAQ,sDAERC,IAAeC;AAAA,EACnB;AAAA,IACE;AAAA,IACA;AAAA;AAAA;AAAA,IAGA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,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A,cAAA;AAAA,YAAA;AAAA,UACZ,EAAA,CACF,IACE;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGV;AACF;AACAJ,EAAiB,cAAc;"}
@@ -6,7 +6,7 @@ import { u as Y } from "./registry-DvAUVLHh.js";
6
6
  import { F as C } from "./form-field-CahJzTxp.js";
7
7
  import { N as B } from "./number-input-Cgu2TtA8.js";
8
8
  import { S } from "./select-CLSUnKjF.js";
9
- import { I as D } from "./insert-result-LCNTskNJ.js";
9
+ import { I as D } from "./insert-result-DPnOBD85.js";
10
10
  const L = [
11
11
  "weight",
12
12
  "length",
@@ -334,4 +334,4 @@ export {
334
334
  ee as b,
335
335
  Q as c
336
336
  };
337
- //# sourceMappingURL=unit-converter-BTgU50gk.js.map
337
+ //# sourceMappingURL=unit-converter-C-LpGzrN.js.map