@alfadocs/ui-kit-debug 0.47.0 → 0.49.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/{address-autocomplete-CSjMrBvu.js → address-autocomplete-CT-9AOli.js} +2 -2
  2. package/dist/_chunks/{address-autocomplete-CSjMrBvu.js.map → address-autocomplete-CT-9AOli.js.map} +1 -1
  3. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  4. package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
  5. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  6. package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
  7. package/dist/_chunks/ai-consent-banner-F2md5JD3.js +169 -0
  8. package/dist/_chunks/ai-consent-banner-F2md5JD3.js.map +1 -0
  9. package/dist/_chunks/ai-tools-rail-CYLWrRmm.js +280 -0
  10. package/dist/_chunks/ai-tools-rail-CYLWrRmm.js.map +1 -0
  11. package/dist/_chunks/{alert-ywPR59NE.js → alert-CUTxnym2.js} +56 -35
  12. package/dist/_chunks/alert-CUTxnym2.js.map +1 -0
  13. package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  14. package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
  15. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  16. package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
  17. package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js +412 -0
  18. package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js.map +1 -0
  19. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  20. package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
  21. package/dist/_chunks/{ar-DEz65ZJW.js → ar-C68WKG5a.js} +2 -2
  22. package/dist/_chunks/{ar-DEz65ZJW.js.map → ar-C68WKG5a.js.map} +1 -1
  23. package/dist/_chunks/{audio-recorder-DC-v9YFW.js → audio-recorder-DVJXV7_k.js} +2 -2
  24. package/dist/_chunks/{audio-recorder-DC-v9YFW.js.map → audio-recorder-DVJXV7_k.js.map} +1 -1
  25. package/dist/_chunks/bishop-score-2MzAz8NE.js +185 -0
  26. package/dist/_chunks/bishop-score-2MzAz8NE.js.map +1 -0
  27. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  28. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
  29. package/dist/_chunks/{booking-DlDVuWMd.js → booking-DljH0JkS.js} +294 -306
  30. package/dist/_chunks/booking-DljH0JkS.js.map +1 -0
  31. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  32. package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
  33. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  34. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
  35. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  36. package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
  37. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  38. package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
  39. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  40. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
  41. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  42. package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
  43. package/dist/_chunks/circle-arrow-up-CC_85SuH.js +16 -0
  44. package/dist/_chunks/circle-arrow-up-CC_85SuH.js.map +1 -0
  45. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  46. package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
  47. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  48. package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
  49. package/dist/_chunks/cycle-calculator-oOkj5wlB.js +252 -0
  50. package/dist/_chunks/cycle-calculator-oOkj5wlB.js.map +1 -0
  51. package/dist/_chunks/{date-picker-Bq7xhMA-.js → date-picker-BfHblqwA.js} +2 -2
  52. package/dist/_chunks/{date-picker-Bq7xhMA-.js.map → date-picker-BfHblqwA.js.map} +1 -1
  53. package/dist/_chunks/{date-picker-variants-DLi1Va_e.js → date-picker-variants-CXEAx3O_.js} +22 -22
  54. package/dist/_chunks/{date-picker-variants-DLi1Va_e.js.map → date-picker-variants-CXEAx3O_.js.map} +1 -1
  55. package/dist/_chunks/{date-range-picker-DcXuI9y7.js → date-range-picker-hcAMs1wO.js} +3 -3
  56. package/dist/_chunks/{date-range-picker-DcXuI9y7.js.map → date-range-picker-hcAMs1wO.js.map} +1 -1
  57. package/dist/_chunks/{date-time-picker-RimumeLR.js → date-time-picker-H-3Pwqlb.js} +9 -9
  58. package/dist/_chunks/{date-time-picker-RimumeLR.js.map → date-time-picker-H-3Pwqlb.js.map} +1 -1
  59. package/dist/_chunks/{de-bTBGdjPS.js → de-DK4A9_a8.js} +2 -2
  60. package/dist/_chunks/{de-bTBGdjPS.js.map → de-DK4A9_a8.js.map} +1 -1
  61. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  62. package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
  63. package/dist/_chunks/{document-scanner-BqLsGs4Y.js → document-scanner-Cxqvq7GR.js} +2 -2
  64. package/dist/_chunks/{document-scanner-BqLsGs4Y.js.map → document-scanner-Cxqvq7GR.js.map} +1 -1
  65. package/dist/_chunks/due-date-calculator-tDqZXPWO.js +256 -0
  66. package/dist/_chunks/due-date-calculator-tDqZXPWO.js.map +1 -0
  67. package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js → editable-currency-cell-renderer-Bh48OHRv.js} +2 -2
  68. package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js.map → editable-currency-cell-renderer-Bh48OHRv.js.map} +1 -1
  69. package/dist/_chunks/{el-BWG5RXxa.js → el-B29HXhG5.js} +2 -2
  70. package/dist/_chunks/{el-BWG5RXxa.js.map → el-B29HXhG5.js.map} +1 -1
  71. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  72. package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
  73. package/dist/_chunks/{es-DfO_G435.js → es-BOwPVwWn.js} +2 -2
  74. package/dist/_chunks/{es-DfO_G435.js.map → es-BOwPVwWn.js.map} +1 -1
  75. package/dist/_chunks/fetal-weight-Da-B4P4k.js +122 -0
  76. package/dist/_chunks/fetal-weight-Da-B4P4k.js.map +1 -0
  77. package/dist/_chunks/{fr-BTn24bs8.js → fr-DoDBtn0T.js} +2 -2
  78. package/dist/_chunks/{fr-BTn24bs8.js.map → fr-DoDBtn0T.js.map} +1 -1
  79. package/dist/_chunks/{freemium-paywall-DzpD63WY.js → freemium-paywall-BWaLWje-.js} +2 -2
  80. package/dist/_chunks/{freemium-paywall-DzpD63WY.js.map → freemium-paywall-BWaLWje-.js.map} +1 -1
  81. package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js +311 -0
  82. package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js.map +1 -0
  83. package/dist/_chunks/hcg-doubling-DAnpbale.js +170 -0
  84. package/dist/_chunks/hcg-doubling-DAnpbale.js.map +1 -0
  85. package/dist/_chunks/{hi-Dj3oYd84.js → hi-DGByrKby.js} +2 -2
  86. package/dist/_chunks/{hi-Dj3oYd84.js.map → hi-DGByrKby.js.map} +1 -1
  87. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  88. package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
  89. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  90. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
  91. package/dist/_chunks/{isSameWeek-HfxKk6Lz.js → isSameWeek-B1odL2vR.js} +2 -2
  92. package/dist/_chunks/{isSameWeek-HfxKk6Lz.js.map → isSameWeek-B1odL2vR.js.map} +1 -1
  93. package/dist/_chunks/{it-Y85ofIQQ.js → it-B16rEecm.js} +3 -3
  94. package/dist/_chunks/{it-Y85ofIQQ.js.map → it-B16rEecm.js.map} +1 -1
  95. package/dist/_chunks/{ja-CQ7J6YoA.js → ja-B0viOgft.js} +2 -2
  96. package/dist/_chunks/{ja-CQ7J6YoA.js.map → ja-B0viOgft.js.map} +1 -1
  97. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  98. package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
  99. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  100. package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
  101. package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js → marketplace-app-shell-UKSLx9K_.js} +3 -3
  102. package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js.map → marketplace-app-shell-UKSLx9K_.js.map} +1 -1
  103. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  104. package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
  105. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  106. package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
  107. package/dist/_chunks/{nl-D9kHCmp3.js → nl-cBxEX2QU.js} +2 -2
  108. package/dist/_chunks/{nl-D9kHCmp3.js.map → nl-cBxEX2QU.js.map} +1 -1
  109. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  110. package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
  111. package/dist/_chunks/{patient-search-CocVcGJ3.js → patient-search-BJOmTmDA.js} +2 -2
  112. package/dist/_chunks/{patient-search-CocVcGJ3.js.map → patient-search-BJOmTmDA.js.map} +1 -1
  113. package/dist/_chunks/{patient-shell-CnT4L8gn.js → patient-shell-DUmhXnFq.js} +2 -2
  114. package/dist/_chunks/{patient-shell-CnT4L8gn.js.map → patient-shell-DUmhXnFq.js.map} +1 -1
  115. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  116. package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
  117. package/dist/_chunks/{payment-form-BNTx4876.js → payment-form-xmeCkxas.js} +2 -2
  118. package/dist/_chunks/{payment-form-BNTx4876.js.map → payment-form-xmeCkxas.js.map} +1 -1
  119. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  120. package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
  121. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-q1D3Uion.js} +4 -4
  122. package/dist/_chunks/pdf-viewer-q1D3Uion.js.map +1 -0
  123. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  124. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
  125. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  126. package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
  127. package/dist/_chunks/{pl-B3Smqpkr.js → pl-DtS08ioY.js} +3 -3
  128. package/dist/_chunks/{pl-B3Smqpkr.js.map → pl-DtS08ioY.js.map} +1 -1
  129. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-Cq1y8JFD.js} +4 -3
  130. package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-Cq1y8JFD.js.map} +1 -1
  131. package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js +322 -0
  132. package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js.map +1 -0
  133. package/dist/_chunks/product-hub-panel-CkfZBA3t.js +620 -0
  134. package/dist/_chunks/product-hub-panel-CkfZBA3t.js.map +1 -0
  135. package/dist/_chunks/{pt-D3J-1c_7.js → pt-yFXs1VvH.js} +2 -2
  136. package/dist/_chunks/{pt-D3J-1c_7.js.map → pt-yFXs1VvH.js.map} +1 -1
  137. package/dist/_chunks/{ro-BKAbbEA3.js → ro-DsCzSrzR.js} +2 -2
  138. package/dist/_chunks/{ro-BKAbbEA3.js.map → ro-DsCzSrzR.js.map} +1 -1
  139. package/dist/_chunks/{ru-BeG8f0Ep.js → ru-DgDxL0pc.js} +3 -3
  140. package/dist/_chunks/{ru-BeG8f0Ep.js.map → ru-DgDxL0pc.js.map} +1 -1
  141. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  142. package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
  143. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  144. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
  145. package/dist/_chunks/{sidebar-_vJXI9rB.js → sidebar-h78cTNLh.js} +440 -338
  146. package/dist/_chunks/sidebar-h78cTNLh.js.map +1 -0
  147. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-CZkAf28g.js} +2 -2
  148. package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-CZkAf28g.js.map} +1 -1
  149. package/dist/_chunks/{sq-_hRPaeUy.js → sq-DHlCYN67.js} +2 -2
  150. package/dist/_chunks/{sq-_hRPaeUy.js.map → sq-DHlCYN67.js.map} +1 -1
  151. package/dist/_chunks/subDays-Bs00akhK.js +8 -0
  152. package/dist/_chunks/{subDays-Dv7q9S7u.js.map → subDays-Bs00akhK.js.map} +1 -1
  153. package/dist/_chunks/{sv-g009fSpe.js → sv-O0QaQs_s.js} +2 -2
  154. package/dist/_chunks/{sv-g009fSpe.js.map → sv-O0QaQs_s.js.map} +1 -1
  155. package/dist/_chunks/{tr-OKUOuhMW.js → tr-BmNDRuio.js} +2 -2
  156. package/dist/_chunks/{tr-OKUOuhMW.js.map → tr-BmNDRuio.js.map} +1 -1
  157. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  158. package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
  159. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  160. package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
  161. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  162. package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
  163. package/dist/_chunks/video-BAeICxCT.js +21 -0
  164. package/dist/_chunks/video-BAeICxCT.js.map +1 -0
  165. package/dist/_chunks/warning-stack-CXfoAT-_.js +220 -0
  166. package/dist/_chunks/warning-stack-CXfoAT-_.js.map +1 -0
  167. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-DzX_LI4y.js} +139 -157
  168. package/dist/_chunks/workflow-map-DzX_LI4y.js.map +1 -0
  169. package/dist/_chunks/{zh-CN-De4zwEhx.js → zh-CN-CgVJZEzz.js} +3 -3
  170. package/dist/_chunks/{zh-CN-De4zwEhx.js.map → zh-CN-CgVJZEzz.js.map} +1 -1
  171. package/dist/agent-catalog.json +367 -1
  172. package/dist/components/_shared/antenatal-schedule-timeline.d.ts +18 -0
  173. package/dist/components/_shared/antenatal-schedule-timeline.d.ts.map +1 -0
  174. package/dist/components/_shared/antenatal-schedule.d.ts +68 -0
  175. package/dist/components/_shared/antenatal-schedule.d.ts.map +1 -0
  176. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  177. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
  178. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  179. package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
  180. package/dist/components/_shared/index.d.ts +5 -0
  181. package/dist/components/_shared/index.d.ts.map +1 -1
  182. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  183. package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
  184. package/dist/components/_shared/obstetrics.d.ts +138 -0
  185. package/dist/components/_shared/obstetrics.d.ts.map +1 -0
  186. package/dist/components/address-autocomplete/index.js +1 -1
  187. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  188. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  189. package/dist/components/agenda-card/index.d.ts +2 -1
  190. package/dist/components/agenda-card/index.d.ts.map +1 -1
  191. package/dist/components/agenda-card/index.js +6 -5
  192. package/dist/components/agenda-card/index.js.map +1 -1
  193. package/dist/components/agenda-tray/index.js +1 -1
  194. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  195. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
  196. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  197. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
  198. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  199. package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
  200. package/dist/components/ai-consent-banner/index.js +6 -0
  201. package/dist/components/ai-consent-banner/index.js.map +1 -0
  202. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  203. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
  204. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  205. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
  206. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  207. package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
  208. package/dist/components/ai-tools-rail/index.js +6 -0
  209. package/dist/components/ai-tools-rail/index.js.map +1 -0
  210. package/dist/components/alert/alert.d.ts +2 -2
  211. package/dist/components/alert/alert.d.ts.map +1 -1
  212. package/dist/components/alert/index.js +1 -1
  213. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  214. package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
  215. package/dist/components/anamnesis-card/index.d.ts +3 -0
  216. package/dist/components/anamnesis-card/index.d.ts.map +1 -0
  217. package/dist/components/anamnesis-card/index.js +5 -0
  218. package/dist/components/anamnesis-card/index.js.map +1 -0
  219. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  220. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
  221. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  222. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
  223. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  224. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
  225. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  226. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
  227. package/dist/components/appointment-card/index.d.ts +8 -0
  228. package/dist/components/appointment-card/index.d.ts.map +1 -0
  229. package/dist/components/appointment-card/index.js +10 -0
  230. package/dist/components/appointment-card/index.js.map +1 -0
  231. package/dist/components/audio-recorder/index.js +1 -1
  232. package/dist/components/badge/badge.d.ts +1 -1
  233. package/dist/components/bishop-score/bishop-score.d.ts +27 -0
  234. package/dist/components/bishop-score/bishop-score.d.ts.map +1 -0
  235. package/dist/components/bishop-score/bishop.d.ts +30 -0
  236. package/dist/components/bishop-score/bishop.d.ts.map +1 -0
  237. package/dist/components/bishop-score/index.d.ts +4 -0
  238. package/dist/components/bishop-score/index.d.ts.map +1 -0
  239. package/dist/components/bishop-score/index.js +10 -0
  240. package/dist/components/bishop-score/index.js.map +1 -0
  241. package/dist/components/bmi-calculator/index.js +1 -1
  242. package/dist/components/booking/index.js +1 -1
  243. package/dist/components/calculator-dialog/index.js +1 -1
  244. package/dist/components/calendar/index.js +1 -1
  245. package/dist/components/card/card.d.ts +1 -1
  246. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  247. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
  248. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  249. package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
  250. package/dist/components/care-plan-card/index.d.ts +4 -0
  251. package/dist/components/care-plan-card/index.d.ts.map +1 -0
  252. package/dist/components/care-plan-card/index.js +6 -0
  253. package/dist/components/care-plan-card/index.js.map +1 -0
  254. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  255. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
  256. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  257. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
  258. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  259. package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
  260. package/dist/components/care-plan-entry-card/index.js +6 -0
  261. package/dist/components/care-plan-entry-card/index.js.map +1 -0
  262. package/dist/components/chat-message/chat-message.d.ts +7 -0
  263. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  264. package/dist/components/chat-message/index.js +1 -1
  265. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  266. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
  267. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  268. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
  269. package/dist/components/clinical-note-card/index.d.ts +4 -0
  270. package/dist/components/clinical-note-card/index.d.ts.map +1 -0
  271. package/dist/components/clinical-note-card/index.js +6 -0
  272. package/dist/components/clinical-note-card/index.js.map +1 -0
  273. package/dist/components/contact-profile-card/index.js +1 -1
  274. package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
  275. package/dist/components/cycle-calculator/cycle.d.ts +5 -0
  276. package/dist/components/cycle-calculator/cycle.d.ts.map +1 -1
  277. package/dist/components/cycle-calculator/index.js +1 -1
  278. package/dist/components/data-table/index.js +1 -1
  279. package/dist/components/date-picker/index.js +1 -1
  280. package/dist/components/date-range-picker/index.js +1 -1
  281. package/dist/components/date-time-picker/index.js +1 -1
  282. package/dist/components/dialog/dialog.d.ts +7 -0
  283. package/dist/components/dialog/dialog.d.ts.map +1 -1
  284. package/dist/components/dialog/index.js +1 -1
  285. package/dist/components/document-scanner/index.js +1 -1
  286. package/dist/components/due-date-calculator/due-date-calculator.d.ts +13 -1
  287. package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
  288. package/dist/components/due-date-calculator/gestation.d.ts +1 -59
  289. package/dist/components/due-date-calculator/gestation.d.ts.map +1 -1
  290. package/dist/components/due-date-calculator/index.d.ts +1 -1
  291. package/dist/components/due-date-calculator/index.d.ts.map +1 -1
  292. package/dist/components/due-date-calculator/index.js +16 -10
  293. package/dist/components/fetal-weight/efw.d.ts +25 -0
  294. package/dist/components/fetal-weight/efw.d.ts.map +1 -0
  295. package/dist/components/fetal-weight/fetal-weight.d.ts +27 -0
  296. package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -0
  297. package/dist/components/fetal-weight/index.d.ts +4 -0
  298. package/dist/components/fetal-weight/index.d.ts.map +1 -0
  299. package/dist/components/fetal-weight/index.js +6 -0
  300. package/dist/components/fetal-weight/index.js.map +1 -0
  301. package/dist/components/freemium-paywall/index.js +1 -1
  302. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +25 -1
  303. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
  304. package/dist/components/gestational-age-calculator/index.js +1 -1
  305. package/dist/components/hcg-doubling/hcg-doubling.d.ts +31 -0
  306. package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -0
  307. package/dist/components/hcg-doubling/hcg.d.ts +33 -0
  308. package/dist/components/hcg-doubling/hcg.d.ts.map +1 -0
  309. package/dist/components/hcg-doubling/index.d.ts +4 -0
  310. package/dist/components/hcg-doubling/index.d.ts.map +1 -0
  311. package/dist/components/hcg-doubling/index.js +7 -0
  312. package/dist/components/hcg-doubling/index.js.map +1 -0
  313. package/dist/components/index.d.ts +14 -0
  314. package/dist/components/index.d.ts.map +1 -1
  315. package/dist/components/message-card/index.js +5 -4
  316. package/dist/components/message-card/index.js.map +1 -1
  317. package/dist/components/message-card/message-card.d.ts +1 -2
  318. package/dist/components/message-card/message-card.d.ts.map +1 -1
  319. package/dist/components/message-tray/index.js +1 -1
  320. package/dist/components/operator-hero/index.js +1 -1
  321. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  322. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  323. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  324. package/dist/components/patient-search/index.js +1 -1
  325. package/dist/components/patient-summary-card/index.d.ts +4 -0
  326. package/dist/components/patient-summary-card/index.d.ts.map +1 -0
  327. package/dist/components/patient-summary-card/index.js +6 -0
  328. package/dist/components/patient-summary-card/index.js.map +1 -0
  329. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  330. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
  331. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  332. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
  333. package/dist/components/payment-card/index.d.ts +7 -0
  334. package/dist/components/payment-card/index.d.ts.map +1 -0
  335. package/dist/components/payment-card/index.js +8 -0
  336. package/dist/components/payment-card/index.js.map +1 -0
  337. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  338. package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
  339. package/dist/components/payment-card/payment-card.d.ts +71 -0
  340. package/dist/components/payment-card/payment-card.d.ts.map +1 -0
  341. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  342. package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
  343. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  344. package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
  345. package/dist/components/payment-form/index.js +1 -1
  346. package/dist/components/pdf-viewer/index.js +1 -1
  347. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  348. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  349. package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
  350. package/dist/components/periodontal-chart-card/index.js +7 -0
  351. package/dist/components/periodontal-chart-card/index.js.map +1 -0
  352. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  353. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
  354. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  355. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
  356. package/dist/components/practice-results/index.js +1 -1
  357. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  358. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +7 -0
  359. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
  360. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +33 -8
  361. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts.map +1 -1
  362. package/dist/components/product-hub-tray/index.d.ts +8 -0
  363. package/dist/components/product-hub-tray/index.d.ts.map +1 -0
  364. package/dist/components/product-hub-tray/index.js +10 -0
  365. package/dist/components/product-hub-tray/index.js.map +1 -0
  366. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts +4 -0
  367. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts.map +1 -0
  368. package/dist/components/product-hub-tray/product-hub-panel.d.ts +54 -0
  369. package/dist/components/product-hub-tray/product-hub-panel.d.ts.map +1 -0
  370. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts +4 -0
  371. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts.map +1 -0
  372. package/dist/components/product-hub-tray/product-hub-tray.d.ts +115 -0
  373. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -0
  374. package/dist/components/public-header/public-header.d.ts +1 -1
  375. package/dist/components/sidebar/index.d.ts +2 -2
  376. package/dist/components/sidebar/index.d.ts.map +1 -1
  377. package/dist/components/sidebar/index.js +12 -11
  378. package/dist/components/sidebar/sidebar.d.ts +14 -1
  379. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  380. package/dist/components/sign-document/index.js +1 -1
  381. package/dist/components/stat/stat.d.ts +1 -1
  382. package/dist/components/transaction-chip/index.js +1 -1
  383. package/dist/components/unit-converter/index.js +1 -1
  384. package/dist/components/warning-stack/index.js +1 -1
  385. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  386. package/dist/components/workflow/index.js +1 -1
  387. package/dist/i18n/locales/ar.d.ts +561 -1
  388. package/dist/i18n/locales/ar.d.ts.map +1 -1
  389. package/dist/i18n/locales/ar.js +560 -2
  390. package/dist/i18n/locales/ar.js.map +1 -1
  391. package/dist/i18n/locales/de.d.ts +561 -1
  392. package/dist/i18n/locales/de.d.ts.map +1 -1
  393. package/dist/i18n/locales/de.js +560 -2
  394. package/dist/i18n/locales/de.js.map +1 -1
  395. package/dist/i18n/locales/el.d.ts +561 -1
  396. package/dist/i18n/locales/el.d.ts.map +1 -1
  397. package/dist/i18n/locales/el.js +560 -2
  398. package/dist/i18n/locales/el.js.map +1 -1
  399. package/dist/i18n/locales/en.d.ts +561 -1
  400. package/dist/i18n/locales/en.d.ts.map +1 -1
  401. package/dist/i18n/locales/en.js +560 -2
  402. package/dist/i18n/locales/en.js.map +1 -1
  403. package/dist/i18n/locales/es.d.ts +561 -1
  404. package/dist/i18n/locales/es.d.ts.map +1 -1
  405. package/dist/i18n/locales/es.js +560 -2
  406. package/dist/i18n/locales/es.js.map +1 -1
  407. package/dist/i18n/locales/fr.d.ts +561 -1
  408. package/dist/i18n/locales/fr.d.ts.map +1 -1
  409. package/dist/i18n/locales/fr.js +560 -2
  410. package/dist/i18n/locales/fr.js.map +1 -1
  411. package/dist/i18n/locales/hi.d.ts +561 -1
  412. package/dist/i18n/locales/hi.d.ts.map +1 -1
  413. package/dist/i18n/locales/hi.js +560 -2
  414. package/dist/i18n/locales/hi.js.map +1 -1
  415. package/dist/i18n/locales/it.d.ts +561 -1
  416. package/dist/i18n/locales/it.d.ts.map +1 -1
  417. package/dist/i18n/locales/it.js +560 -2
  418. package/dist/i18n/locales/it.js.map +1 -1
  419. package/dist/i18n/locales/ja.d.ts +561 -1
  420. package/dist/i18n/locales/ja.d.ts.map +1 -1
  421. package/dist/i18n/locales/ja.js +560 -2
  422. package/dist/i18n/locales/ja.js.map +1 -1
  423. package/dist/i18n/locales/nl.d.ts +561 -1
  424. package/dist/i18n/locales/nl.d.ts.map +1 -1
  425. package/dist/i18n/locales/nl.js +560 -2
  426. package/dist/i18n/locales/nl.js.map +1 -1
  427. package/dist/i18n/locales/pl.d.ts +561 -1
  428. package/dist/i18n/locales/pl.d.ts.map +1 -1
  429. package/dist/i18n/locales/pl.js +560 -2
  430. package/dist/i18n/locales/pl.js.map +1 -1
  431. package/dist/i18n/locales/pt.d.ts +561 -1
  432. package/dist/i18n/locales/pt.d.ts.map +1 -1
  433. package/dist/i18n/locales/pt.js +560 -2
  434. package/dist/i18n/locales/pt.js.map +1 -1
  435. package/dist/i18n/locales/ro.d.ts +561 -1
  436. package/dist/i18n/locales/ro.d.ts.map +1 -1
  437. package/dist/i18n/locales/ro.js +560 -2
  438. package/dist/i18n/locales/ro.js.map +1 -1
  439. package/dist/i18n/locales/ru.d.ts +561 -1
  440. package/dist/i18n/locales/ru.d.ts.map +1 -1
  441. package/dist/i18n/locales/ru.js +560 -2
  442. package/dist/i18n/locales/ru.js.map +1 -1
  443. package/dist/i18n/locales/sq.d.ts +561 -1
  444. package/dist/i18n/locales/sq.d.ts.map +1 -1
  445. package/dist/i18n/locales/sq.js +560 -2
  446. package/dist/i18n/locales/sq.js.map +1 -1
  447. package/dist/i18n/locales/sv.d.ts +561 -1
  448. package/dist/i18n/locales/sv.d.ts.map +1 -1
  449. package/dist/i18n/locales/sv.js +560 -2
  450. package/dist/i18n/locales/sv.js.map +1 -1
  451. package/dist/i18n/locales/tr.d.ts +561 -1
  452. package/dist/i18n/locales/tr.d.ts.map +1 -1
  453. package/dist/i18n/locales/tr.js +560 -2
  454. package/dist/i18n/locales/tr.js.map +1 -1
  455. package/dist/i18n/locales/zh.d.ts +561 -1
  456. package/dist/i18n/locales/zh.d.ts.map +1 -1
  457. package/dist/i18n/locales/zh.js +560 -2
  458. package/dist/i18n/locales/zh.js.map +1 -1
  459. package/dist/index.js +663 -600
  460. package/dist/index.js.map +1 -1
  461. package/dist/locales/ar.json +562 -2
  462. package/dist/locales/de.json +562 -2
  463. package/dist/locales/el.json +562 -2
  464. package/dist/locales/en.json +562 -2
  465. package/dist/locales/es.json +562 -2
  466. package/dist/locales/fr.json +562 -2
  467. package/dist/locales/hi.json +562 -2
  468. package/dist/locales/it.json +562 -2
  469. package/dist/locales/ja.json +562 -2
  470. package/dist/locales/nl.json +562 -2
  471. package/dist/locales/pl.json +562 -2
  472. package/dist/locales/pt.json +562 -2
  473. package/dist/locales/ro.json +562 -2
  474. package/dist/locales/ru.json +562 -2
  475. package/dist/locales/sq.json +562 -2
  476. package/dist/locales/sv.json +562 -2
  477. package/dist/locales/tr.json +562 -2
  478. package/dist/locales/zh.json +562 -2
  479. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  480. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  481. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  482. package/dist/patterns/alia-assistant/index.js +1 -1
  483. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  484. package/dist/patterns/patient-shell/index.js +1 -1
  485. package/dist/tokens.css +1 -1
  486. package/package.json +58 -1
  487. package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
  488. package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
  489. package/dist/_chunks/alert-ywPR59NE.js.map +0 -1
  490. package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
  491. package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
  492. package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
  493. package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
  494. package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
  495. package/dist/_chunks/cycle-calculator-KxA8dqDf.js +0 -211
  496. package/dist/_chunks/cycle-calculator-KxA8dqDf.js.map +0 -1
  497. package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
  498. package/dist/_chunks/due-date-calculator-mFxpHLml.js +0 -216
  499. package/dist/_chunks/due-date-calculator-mFxpHLml.js.map +0 -1
  500. package/dist/_chunks/gestation-mWF4AXea.js +0 -50
  501. package/dist/_chunks/gestation-mWF4AXea.js.map +0 -1
  502. package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js +0 -203
  503. package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js.map +0 -1
  504. package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
  505. package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
  506. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  507. package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
  508. package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
  509. package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js +0 -246
  510. package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js.map +0 -1
  511. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  512. package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
  513. package/dist/_chunks/sidebar-_vJXI9rB.js.map +0 -1
  514. package/dist/_chunks/subDays-Dv7q9S7u.js +0 -8
  515. package/dist/_chunks/warning-stack-DNR3-IbP.js +0 -180
  516. package/dist/_chunks/warning-stack-DNR3-IbP.js.map +0 -1
  517. package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
@@ -0,0 +1,98 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ /** Author identity — drives the avatar + visible byline. */
4
+ export interface ClinicalNoteAuthor {
5
+ /** Display name. */
6
+ name: string;
7
+ /** Optional avatar image URL. */
8
+ avatarUrl?: string;
9
+ }
10
+ /**
11
+ * What the note is attached to. Discriminated by `kind`:
12
+ * - `patient` — a free-standing note on the patient record.
13
+ * - `carePlan` — attached to a care plan (estimate / treatment plan),
14
+ * identified by its number, with an optional deep link.
15
+ * - `carePlanEntry` — attached to one entry inside a care plan, naming the
16
+ * care and (optionally) the listed elements.
17
+ * - `phase` — attached to a treatment phase, labelled.
18
+ * - `xray` — attached to an x-ray / radiograph, optionally labelled.
19
+ */
20
+ export type NoteAttachment = {
21
+ kind: 'patient';
22
+ } | {
23
+ kind: 'carePlan';
24
+ number: string;
25
+ url?: string;
26
+ } | {
27
+ kind: 'carePlanEntry';
28
+ careName: string;
29
+ elements?: string[];
30
+ } | {
31
+ kind: 'phase';
32
+ label: string;
33
+ } | {
34
+ kind: 'xray';
35
+ label?: string;
36
+ };
37
+ /** Imperative handle exposed to the agent runtime — identifiers / flags only. */
38
+ export interface ClinicalNoteCardHandle {
39
+ /** The note's stable id, when supplied. */
40
+ getNoteId: () => string | undefined;
41
+ /** Whether the note is currently pinned. */
42
+ isPinned: () => boolean;
43
+ /** Whether the note is currently flagged. */
44
+ isFlagged: () => boolean;
45
+ /** The attachment kind the note is bound to. */
46
+ getAttachmentKind: () => NoteAttachment['kind'] | undefined;
47
+ }
48
+ export interface ClinicalNoteCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'children' | 'content' | 'title'> {
49
+ /** Agent-readiness consumer id, surfaced as `data-component-id`. */
50
+ id?: string;
51
+ /**
52
+ * ISO-8601 timestamp the note refers to (the clinical date). Drives the
53
+ * primary `<Timestamp>`.
54
+ */
55
+ dateIso: string;
56
+ /**
57
+ * ISO-8601 timestamp the note was authored, when it differs from
58
+ * `dateIso`. Rendered as a secondary "added" line.
59
+ */
60
+ createdAtIso?: string;
61
+ /** Author identity — avatar + byline. Optional for system notes. */
62
+ author?: ClinicalNoteAuthor;
63
+ /**
64
+ * Whether this is a clinical note (vs. an administrative one). When true a
65
+ * "Clinical" badge is shown so the note's nature is unambiguous at a glance.
66
+ */
67
+ clinical?: boolean;
68
+ /** What the note is attached to — drives a contextual chip + optional link. */
69
+ attachedTo?: NoteAttachment;
70
+ /**
71
+ * The note body, authored in a small, safe subset of Markdown (bold,
72
+ * italic, inline code, links, line breaks, simple lists). Rendered through
73
+ * the shared `SafeHtml` helper with the `markdown` sanitiser profile —
74
+ * raw HTML and unsafe link schemes are stripped.
75
+ */
76
+ content: string;
77
+ /** Pin the note to the top of a timeline — shows a "Pinned" chip. */
78
+ pinned?: boolean;
79
+ /** Flag the note for follow-up / attention — shows a "Flagged" chip. */
80
+ flagged?: boolean;
81
+ /** Clamp the rendered body to a few lines. */
82
+ truncate?: boolean;
83
+ /**
84
+ * `'elevated'` (default) wraps the note in `<Card variant="elevated">`.
85
+ * `'flat'` drops the chrome for use inside an existing Card / timeline rail.
86
+ */
87
+ surface?: 'flat' | 'elevated';
88
+ /** Override the default region aria-label. */
89
+ 'aria-label'?: string;
90
+ }
91
+ declare const rootVariants: (props?: ({
92
+ surface?: "flat" | "elevated" | null | undefined;
93
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
94
+ export declare const ClinicalNoteCard: import("react").ForwardRefExoticComponent<ClinicalNoteCardProps & import("react").RefAttributes<HTMLDivElement>>;
95
+ /** Re-export of the surface variant union for downstream typing. */
96
+ export type ClinicalNoteCardSurface = NonNullable<VariantProps<typeof rootVariants>['surface']>;
97
+ export {};
98
+ //# sourceMappingURL=clinical-note-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clinical-note-card.d.ts","sourceRoot":"","sources":["../../../src/components/clinical-note-card/clinical-note-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiClE,4DAA4D;AAC5D,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GACtB;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GACnB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAClD;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAChE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErC,iFAAiF;AACjF,MAAM,WAAW,sBAAsB;IACrC,2CAA2C;IAC3C,SAAS,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IACpC,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,6CAA6C;IAC7C,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,gDAAgD;IAChD,iBAAiB,EAAE,MAAM,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC7D;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CACjD,cAAc,CAAC,cAAc,CAAC,EAC9B,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAChD;IACC,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAMD,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AA6FH,eAAO,MAAM,gBAAgB,kHAgP5B,CAAC;AAIF,oEAAoE;AACpE,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAC/C,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAC7C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { ClinicalNoteCard } from './clinical-note-card';
2
+ export type { ClinicalNoteCardProps, ClinicalNoteCardHandle, ClinicalNoteCardSurface, ClinicalNoteAuthor, NoteAttachment, } from './clinical-note-card';
3
+ export { clinicalNoteCardAgent } from './clinical-note-card.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/clinical-note-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EACV,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { C as e, c as i } from "../../_chunks/clinical-note-card-BYo437dU.js";
2
+ export {
3
+ e as ClinicalNoteCard,
4
+ i as clinicalNoteCardAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-DHyuAPXM.js";
1
+ import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-DvvVfAA2.js";
2
2
  export {
3
3
  _ as CONTACT_PROFILE_CARD_ROW_ICONS,
4
4
  O as CONTACT_PROFILE_CARD_ROW_KEYS,
@@ -1 +1 @@
1
- {"version":3,"file":"cycle-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/cycle-calculator/cycle-calculator.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,eAAe,EAGrB,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAUH,MAAM,WAAW,oBAAqB,SAAQ,YAAY,CACxD,OAAO,YAAY,CACpB;IACC,oDAAoD;IACpD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1D,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,iHAwL3B,CAAC"}
1
+ {"version":3,"file":"cycle-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/cycle-calculator/cycle-calculator.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,eAAe,EAGrB,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAUH,MAAM,WAAW,oBAAqB,SAAQ,YAAY,CACxD,OAAO,YAAY,CACpB;IACC,oDAAoD;IACpD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1D,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,iHAmO3B,CAAC"}
@@ -27,6 +27,11 @@ export interface CyclePrediction {
27
27
  fertileWindow: DateRange;
28
28
  /** Start dates of the next few periods (length = `occurrences`). */
29
29
  upcomingPeriods: Date[];
30
+ /**
31
+ * The current period's bleed range (first day → last day), or `null` when no
32
+ * `periodLength` was given.
33
+ */
34
+ periodRange: DateRange | null;
30
35
  }
31
36
  /**
32
37
  * Predict ovulation, the fertile window and upcoming periods from the last
@@ -1 +1 @@
1
- {"version":3,"file":"cycle.d.ts","sourceRoot":"","sources":["../../../src/components/cycle-calculator/cycle.ts"],"names":[],"mappings":"AAWA,uCAAuC;AACvC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,8DAA8D;AAC9D,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,oDAAoD;AACpD,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,mDAAmD;AACnD,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,eAAe,EAAE,IAAI,CAAC;IACtB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;CACX;AAED,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,UAAU,EAAE,IAAI,CAAC;IACjB,gCAAgC;IAChC,SAAS,EAAE,IAAI,CAAC;IAChB,8DAA8D;IAC9D,aAAa,EAAE,SAAS,CAAC;IACzB,oEAAoE;IACpE,eAAe,EAAE,IAAI,EAAE,CAAC;CACzB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,UAAU,EACjB,WAAW,SAAI,GACd,eAAe,CAejB"}
1
+ {"version":3,"file":"cycle.d.ts","sourceRoot":"","sources":["../../../src/components/cycle-calculator/cycle.ts"],"names":[],"mappings":"AAWA,uCAAuC;AACvC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,8DAA8D;AAC9D,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,oDAAoD;AACpD,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,mDAAmD;AACnD,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,eAAe,EAAE,IAAI,CAAC;IACtB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;CACX;AAED,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,UAAU,EAAE,IAAI,CAAC;IACjB,gCAAgC;IAChC,SAAS,EAAE,IAAI,CAAC;IAChB,8DAA8D;IAC9D,aAAa,EAAE,SAAS,CAAC;IACzB,oEAAoE;IACpE,eAAe,EAAE,IAAI,EAAE,CAAC;IACxB;;;OAGG;IACH,WAAW,EAAE,SAAS,GAAG,IAAI,CAAC;CAC/B;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,UAAU,EACjB,WAAW,SAAI,GACd,eAAe,CAsBjB"}
@@ -1,4 +1,4 @@
1
- import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-KxA8dqDf.js";
1
+ import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-oOkj5wlB.js";
2
2
  export {
3
3
  e as CycleCalculator,
4
4
  l as LUTEAL_PHASE_DAYS,
@@ -1,4 +1,4 @@
1
- import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-CLil9B29.js";
1
+ import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-Bh48OHRv.js";
2
2
  export {
3
3
  l as ActionsCellRenderer,
4
4
  r as BalanceCellRenderer,
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-Bq7xhMA-.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-BfHblqwA.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-range-picker-DcXuI9y7.js";
1
+ import { D as r, d as t } from "../../_chunks/date-range-picker-hcAMs1wO.js";
2
2
  export {
3
3
  r as DateRangePicker,
4
4
  t as dateRangePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as i, d as r } from "../../_chunks/date-time-picker-RimumeLR.js";
1
+ import { D as i, d as r } from "../../_chunks/date-time-picker-H-3Pwqlb.js";
2
2
  export {
3
3
  i as DateTimePicker,
4
4
  r as dateTimePickerAgent
@@ -16,6 +16,13 @@ export interface DialogRootProps extends ComponentPropsWithoutRef<typeof RadixDi
16
16
  export interface DialogContentProps extends Omit<ComponentPropsWithoutRef<typeof RadixDialog.Content>, 'role'>, VariantProps<typeof contentVariants> {
17
17
  size?: 'sm' | 'md' | 'lg' | 'fullscreen';
18
18
  variant?: 'default' | 'alert' | 'confirmation';
19
+ /**
20
+ * Hide the top-right dismiss "X". The default is **variant-aware**: the X is
21
+ * shown for `variant="default"` and hidden for `variant="alert"` /
22
+ * `"confirmation"` (forced-choice surfaces, where the decision is made via
23
+ * the explicit footer actions). An explicit value always wins — pass `false`
24
+ * to force the X onto an alert, or `true` to suppress it on a default dialog.
25
+ */
19
26
  hideCloseButton?: boolean;
20
27
  className?: string;
21
28
  children: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA0ClE,QAAA,MAAM,eAAe;;8EAUnB,CAAC;AAGH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,eAAgB,SAAQ,wBAAwB,CAC/D,OAAO,WAAW,CAAC,IAAI,CACxB;IACC,+EAA+E;IAC/E,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAgED,MAAM,WAAW,kBACf,SACE,IAAI,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,EAClE,YAAY,CAAC,OAAO,eAAe,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,YAAY,CAAC;IACzC,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,cAAc,CAAC;IAC/C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAiHD,UAAU,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAqBD,eAAO,MAAM,MAAM;4EAtMhB,eAAe;;;;gFAAf,eAAe;;;;;;;;;;;CAgNhB,CAAC;AAEH,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA0ClE,QAAA,MAAM,eAAe;;8EAUnB,CAAC;AAGH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,eAAgB,SAAQ,wBAAwB,CAC/D,OAAO,WAAW,CAAC,IAAI,CACxB;IACC,+EAA+E;IAC/E,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAgED,MAAM,WAAW,kBACf,SACE,IAAI,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,EAClE,YAAY,CAAC,OAAO,eAAe,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,YAAY,CAAC;IACzC,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,cAAc,CAAC;IAC/C;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAuHD,UAAU,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAqBD,eAAO,MAAM,MAAM;4EAnNhB,eAAe;;;;gFAAf,eAAe;;;;;;;;;;;CA6NhB,CAAC;AAEH,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { D as g, d } from "../../_chunks/dialog-BTpZV6It.js";
1
+ import { D as g, d } from "../../_chunks/dialog-DMGnSelc.js";
2
2
  export {
3
3
  g as Dialog,
4
4
  d as dialogAgent
@@ -1,4 +1,4 @@
1
- import { D as a, d as c } from "../../_chunks/document-scanner-BqLsGs4Y.js";
1
+ import { D as a, d as c } from "../../_chunks/document-scanner-Cxqvq7GR.js";
2
2
  export {
3
3
  a as DocumentScanner,
4
4
  c as documentScannerAgent
@@ -1,6 +1,7 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
- import { type DueDateMethod, type DueDateResult } from './gestation';
3
+ import { type DueDateMethod, type DueDateResult } from '../_shared/obstetrics';
4
+ import { type AntenatalScheduleOptions } from '../_shared/antenatal-schedule';
4
5
  declare const rootVariants: (props?: ({
5
6
  width?: "auto" | "full" | null | undefined;
6
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -27,6 +28,17 @@ export interface DueDateCalculatorProps extends VariantProps<typeof rootVariants
27
28
  * brand; `false` → no brand line. Brand is opt-in.
28
29
  */
29
30
  insertBrand?: string | false;
31
+ /**
32
+ * Append the antenatal exam schedule (the time-sensitive screening windows)
33
+ * below the result, dated from the computed gestational start.
34
+ */
35
+ showSchedule?: boolean;
36
+ /**
37
+ * Passthrough options for the appended schedule (national `schedule`,
38
+ * `plurality`, `chorionicity`, `rhNegative`, `gdmRisk`, …). `today` is
39
+ * supplied by the component. Ignored unless `showSchedule` is set.
40
+ */
41
+ scheduleOptions?: Omit<AntenatalScheduleOptions, 'today'>;
30
42
  /** Opaque instance id, emitted as `data-component-id`. */
31
43
  id?: string;
32
44
  /** Extra class names on the wrapper. */
@@ -1 +1 @@
1
- {"version":3,"file":"due-date-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/due-date-calculator.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,aAAa,EAGnB,MAAM,aAAa,CAAC;AAErB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAgDH,MAAM,WAAW,sBAAuB,SAAQ,YAAY,CAC1D,OAAO,YAAY,CACpB;IACC,kDAAkD;IAClD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,iFAAiF;IACjF,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACxD,mFAAmF;IACnF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,mHAqN7B,CAAC"}
1
+ {"version":3,"file":"due-date-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/due-date-calculator.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,aAAa,EAMnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,+BAA+B,CAAC;AAMvC,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AASH,MAAM,WAAW,sBAAuB,SAAQ,YAAY,CAC1D,OAAO,YAAY,CACpB;IACC,kDAAkD;IAClD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,iFAAiF;IACjF,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACxD,mFAAmF;IACnF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC1D,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,mHAoT7B,CAAC"}
@@ -1,60 +1,2 @@
1
- export type DueDateMethod = 'lmp' | 'conception' | 'ivf';
2
- /** Embryo age at transfer, in days (cleavage vs blastocyst). */
3
- export type EmbryoAge = 3 | 5;
4
- export type Trimester = 'preconception' | 'first' | 'second' | 'third' | 'postterm';
5
- /** Naegele's rule: a term pregnancy is 280 days from the LMP. */
6
- export declare const GESTATION_DAYS = 280;
7
- /** Ovulation/conception sits ~14 days after the LMP in a 28-day cycle. */
8
- export declare const CONCEPTION_OFFSET_DAYS = 14;
9
- /** A term pregnancy is 266 days from conception. */
10
- export declare const TERM_FROM_CONCEPTION_DAYS = 266;
11
- /** Standard menstrual-cycle length Naegele assumes. */
12
- export declare const DEFAULT_CYCLE_LENGTH = 28;
13
- export interface DueDateInput {
14
- method: DueDateMethod;
15
- /** The reference date for the chosen method (LMP / conception / transfer). */
16
- date: Date;
17
- /** LMP only — average cycle length in days. Defaults to 28. */
18
- cycleLength?: number;
19
- /** IVF only — embryo age at transfer in days. Defaults to 5 (blastocyst). */
20
- embryoAge?: EmbryoAge;
21
- }
22
- export interface GestationalAge {
23
- weeks: number;
24
- days: number;
25
- totalDays: number;
26
- }
27
- export interface DueDateResult {
28
- /** Estimated date of delivery. */
29
- dueDate: Date;
30
- /** GA day-0 anchor (notional LMP) the trimester maths counts from. */
31
- gestationalStart: Date;
32
- /** Gestational age as of `today`; `null` before conception. */
33
- gestationalAge: GestationalAge | null;
34
- trimester: Trimester;
35
- }
36
- /** Classify gestational age (in completed weeks) into a trimester. */
37
- export declare function trimesterForWeeks(totalDays: number): Trimester;
38
- /**
39
- * Resolve the gestational start (notional LMP) and due date for a method.
40
- * `cycleLength` shifts a longer/shorter cycle's ovulation, moving the due
41
- * date while GA stays counted from the LMP — the standard convention.
42
- */
43
- export declare function computeDueDate(input: DueDateInput, today: Date): DueDateResult;
44
- /** Gestational weeks at which clinically notable milestones fall. */
45
- export declare const MILESTONE_WEEKS: readonly [12, 24, 28, 37, 40];
46
- export interface GestationalMilestone {
47
- /** Stable key (`w12`, `w24`, …) for i18n lookup. */
48
- key: string;
49
- /** Completed gestational weeks. */
50
- week: number;
51
- /** Calendar date the milestone is reached. */
52
- date: Date;
53
- }
54
- /**
55
- * Project the standard milestone dates from a gestational start (notional
56
- * LMP / GA day 0): end of first trimester (12w), viability (24w), third
57
- * trimester (28w), term (37w) and the 40-week due date.
58
- */
59
- export declare function gestationalMilestones(gestationalStart: Date): GestationalMilestone[];
1
+ export * from '../_shared/obstetrics';
60
2
  //# sourceMappingURL=gestation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gestation.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/gestation.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,YAAY,GAAG,KAAK,CAAC;AAEzD,gEAAgE;AAChE,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC;AAE9B,MAAM,MAAM,SAAS,GACjB,eAAe,GACf,OAAO,GACP,QAAQ,GACR,OAAO,GACP,UAAU,CAAC;AAEf,iEAAiE;AACjE,eAAO,MAAM,cAAc,MAAM,CAAC;AAClC,0EAA0E;AAC1E,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAC7C,uDAAuD;AACvD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,aAAa,CAAC;IACtB,8EAA8E;IAC9E,IAAI,EAAE,IAAI,CAAC;IACX,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,kCAAkC;IAClC,OAAO,EAAE,IAAI,CAAC;IACd,sEAAsE;IACtE,gBAAgB,EAAE,IAAI,CAAC;IACvB,+DAA+D;IAC/D,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,sEAAsE;AACtE,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAO9D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,YAAY,EACnB,KAAK,EAAE,IAAI,GACV,aAAa,CAqCf;AAMD,qEAAqE;AACrE,eAAO,MAAM,eAAe,+BAAgC,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,IAAI,EAAE,IAAI,CAAC;CACZ;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,gBAAgB,EAAE,IAAI,GACrB,oBAAoB,EAAE,CAMxB"}
1
+ {"version":3,"file":"gestation.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/gestation.ts"],"names":[],"mappings":"AASA,cAAc,uBAAuB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export { DueDateCalculator } from './due-date-calculator';
2
2
  export type { DueDateCalculatorProps } from './due-date-calculator';
3
- export { computeDueDate, trimesterForWeeks, gestationalMilestones, MILESTONE_WEEKS, GESTATION_DAYS, TERM_FROM_CONCEPTION_DAYS, DEFAULT_CYCLE_LENGTH, type DueDateMethod, type EmbryoAge, type Trimester, type DueDateInput, type DueDateResult, type GestationalAge, type GestationalMilestone, } from './gestation';
3
+ export { computeDueDate, trimesterForWeeks, gestationalMilestones, plannedBirthWindow, crlToGestationalAgeDays, redatingThresholdDays, redateByCrl, MILESTONE_WEEKS, GESTATION_DAYS, TERM_FROM_CONCEPTION_DAYS, DEFAULT_CYCLE_LENGTH, CRL_DATING_MIN_MM, CRL_DATING_MAX_MM, type DueDateMethod, type EmbryoAge, type Trimester, type Plurality, type Chorionicity, type BirthGuideline, type BirthWindow, type CrlRedatingInput, type CrlRedatingResult, type DueDateInput, type DueDateResult, type GestationalAge, type GestationalMilestone, } from './gestation';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,oBAAoB,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC"}
@@ -1,13 +1,19 @@
1
- import { D as s } from "../../_chunks/due-date-calculator-mFxpHLml.js";
2
- import { D as E, G as o, M as D, T as r, c as T, g as _, t as C } from "../../_chunks/gestation-mWF4AXea.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-tDqZXPWO.js";
2
+ import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-Dg0m0yFl.js";
3
3
  export {
4
- E as DEFAULT_CYCLE_LENGTH,
5
- s as DueDateCalculator,
6
- o as GESTATION_DAYS,
7
- D as MILESTONE_WEEKS,
8
- r as TERM_FROM_CONCEPTION_DAYS,
9
- T as computeDueDate,
10
- _ as gestationalMilestones,
11
- C as trimesterForWeeks
4
+ r as CRL_DATING_MAX_MM,
5
+ o as CRL_DATING_MIN_MM,
6
+ D as DEFAULT_CYCLE_LENGTH,
7
+ e as DueDateCalculator,
8
+ _ as GESTATION_DAYS,
9
+ T as MILESTONE_WEEKS,
10
+ M as TERM_FROM_CONCEPTION_DAYS,
11
+ E as computeDueDate,
12
+ l as crlToGestationalAgeDays,
13
+ C as gestationalMilestones,
14
+ A as plannedBirthWindow,
15
+ N as redateByCrl,
16
+ i as redatingThresholdDays,
17
+ n as trimesterForWeeks
12
18
  };
13
19
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,25 @@
1
+ export interface FetalBiometryInput {
2
+ /** Biparietal diameter, mm. */
3
+ bpdMm?: number | null;
4
+ /** Head circumference, mm. */
5
+ hcMm?: number | null;
6
+ /** Abdominal circumference, mm. */
7
+ acMm?: number | null;
8
+ /** Femur length, mm. */
9
+ flMm?: number | null;
10
+ }
11
+ /** Which Hadlock regression produced the estimate. */
12
+ export type EfwMethod = 'hadlock4' | 'hadlock1';
13
+ export interface EfwResult {
14
+ /** Estimated fetal weight, grams (rounded to the nearest gram). */
15
+ grams: number;
16
+ /** The Hadlock regression used, given the available measurements. */
17
+ method: EfwMethod;
18
+ }
19
+ /**
20
+ * Estimate fetal weight from biometry. Uses the Hadlock 4-parameter formula
21
+ * when BPD, HC, AC and FL are all present, else the AC+FL formula. Returns
22
+ * `null` when AC and FL (the minimum) aren't both available.
23
+ */
24
+ export declare function estimateFetalWeight(input: FetalBiometryInput): EfwResult | null;
25
+ //# sourceMappingURL=efw.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"efw.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/efw.ts"],"names":[],"mappings":"AAaA,MAAM,WAAW,kBAAkB;IACjC,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,sDAAsD;AACtD,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAEhD,MAAM,WAAW,SAAS;IACxB,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,MAAM,EAAE,SAAS,CAAC;CACnB;AASD;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,kBAAkB,GACxB,SAAS,GAAG,IAAI,CA6BlB"}
@@ -0,0 +1,27 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
+ import { type EfwResult } from './efw';
4
+ declare const rootVariants: (props?: ({
5
+ width?: "auto" | "full" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface FetalWeightProps extends VariantProps<typeof rootVariants> {
8
+ /** Fires whenever an estimate can be computed (and `null` when it can't). */
9
+ onResultChange?: (result: EfwResult | null) => void;
10
+ /** When provided, shows the result-action buttons that emit / copy the result. */
11
+ onInsert?: (payload: InsertPayload) => void;
12
+ /** Which verb the result button performs. Defaults to `'insert'`. */
13
+ insertVariant?: InsertVariant;
14
+ /** `copy` variant only — fired after a successful clipboard write. */
15
+ onCopy?: (mode: InsertMode) => void;
16
+ /** `copy` variant only — fired if the clipboard write can't proceed. */
17
+ onError?: (error: unknown) => void;
18
+ /** Brand wordmark printed in the inserted/copied result-card footer. */
19
+ insertBrand?: string | false;
20
+ /** Opaque instance id, emitted as `data-component-id`. */
21
+ id?: string;
22
+ /** Extra class names on the wrapper. */
23
+ className?: string;
24
+ }
25
+ export declare const FetalWeight: import("react").ForwardRefExoticComponent<FetalWeightProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ export {};
27
+ //# sourceMappingURL=fetal-weight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetal-weight.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/fetal-weight.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAMlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE5D,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAEH,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IACzE,6EAA6E;IAC7E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,qEAAqE;IACrE,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,6GA2IvB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { FetalWeight } from './fetal-weight';
2
+ export type { FetalWeightProps } from './fetal-weight';
3
+ export { estimateFetalWeight, type FetalBiometryInput, type EfwResult, type EfwMethod, } from './efw';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EACL,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,SAAS,GACf,MAAM,OAAO,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { F as a, e as i } from "../../_chunks/fetal-weight-Da-B4P4k.js";
2
+ export {
3
+ a as FetalWeight,
4
+ i as estimateFetalWeight
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { F as m, f as l } from "../../_chunks/freemium-paywall-DzpD63WY.js";
1
+ import { F as m, f as l } from "../../_chunks/freemium-paywall-BWaLWje-.js";
2
2
  export {
3
3
  m as FreemiumPaywall,
4
4
  l as freemiumPaywallAgent
@@ -1,6 +1,7 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
- import { type Trimester, type GestationalAge } from '../due-date-calculator';
3
+ import { type Trimester, type GestationalAge, type Plurality, type Chorionicity } from '../_shared/obstetrics';
4
+ import { type AntenatalScheduleOptions, type GdmRisk } from '../_shared/antenatal-schedule';
4
5
  declare const rootVariants: (props?: ({
5
6
  width?: "auto" | "full" | null | undefined;
6
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -13,6 +14,8 @@ export interface GestationalAgeResult {
13
14
  export interface GestationalAgeCalculatorProps extends VariantProps<typeof rootVariants> {
14
15
  /** Whether the input date is the last period (`lmp`) or the due date (`edd`). */
15
16
  defaultMethod?: DateMethod;
17
+ /** Pre-fill the reference date (e.g. a known LMP from the patient record). */
18
+ defaultReferenceDate?: Date;
16
19
  /** Fires whenever a result can be computed (and `null` when it can't). */
17
20
  onResultChange?: (result: GestationalAgeResult | null) => void;
18
21
  /** When provided, shows the result-action buttons that emit / copy the result. */
@@ -33,6 +36,27 @@ export interface GestationalAgeCalculatorProps extends VariantProps<typeof rootV
33
36
  * brand; `false` → no brand line. Brand is opt-in.
34
37
  */
35
38
  insertBrand?: string | false;
39
+ /**
40
+ * Append the antenatal exam schedule (the time-sensitive screening windows)
41
+ * below the result, dated from the computed gestational start, and reveal the
42
+ * plurality / chorionicity inputs that drive it.
43
+ */
44
+ showSchedule?: boolean;
45
+ /** `showSchedule` only — initial number of babies. Defaults to `'singleton'`. */
46
+ defaultPlurality?: Plurality;
47
+ /** `showSchedule` only — initial chorionicity for multiples. Defaults to `'unknown'`. */
48
+ defaultChorionicity?: Chorionicity;
49
+ /** `showSchedule` only — initial Rh-negative state (surfaces anti-D). */
50
+ defaultRhNegative?: boolean;
51
+ /** `showSchedule` only — initial gestational-diabetes risk tier (surfaces OGTT). */
52
+ defaultGdmRisk?: GdmRisk;
53
+ /**
54
+ * Passthrough options for the appended schedule (national `schedule`,
55
+ * `includeOnIndication`, `birthGuideline`). `today`, `plurality`,
56
+ * `chorionicity`, `rhNegative` and `gdmRisk` come from the component's own
57
+ * inputs. Ignored unless `showSchedule` is set.
58
+ */
59
+ scheduleOptions?: Omit<AntenatalScheduleOptions, 'today' | 'plurality' | 'chorionicity' | 'rhNegative' | 'gdmRisk'>;
36
60
  /** Opaque instance id, emitted as `data-component-id`. */
37
61
  id?: string;
38
62
  /** Extra class names on the wrapper. */
@@ -1 +1 @@
1
- {"version":3,"file":"gestational-age-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/gestational-age-calculator/gestational-age-calculator.tsx"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,cAAc,EAIpB,MAAM,wBAAwB,CAAC;AAEhC,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAyCH,KAAK,UAAU,GAAG,KAAK,GAAG,KAAK,CAAC;AAEhC,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,6BAA8B,SAAQ,YAAY,CACjE,OAAO,YAAY,CACpB;IACC,iFAAiF;IACjF,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,0EAA0E;IAC1E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/D,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,wBAAwB,0HA+MpC,CAAC"}
1
+ {"version":3,"file":"gestational-age-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/gestational-age-calculator/gestational-age-calculator.tsx"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAUlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,YAAY,EAMlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,OAAO,EACb,MAAM,+BAA+B,CAAC;AAMvC,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAEH,KAAK,UAAU,GAAG,KAAK,GAAG,KAAK,CAAC;AAEhC,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,6BAA8B,SAAQ,YAAY,CACjE,OAAO,YAAY,CACpB;IACC,iFAAiF;IACjF,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,8EAA8E;IAC9E,oBAAoB,CAAC,EAAE,IAAI,CAAC;IAC5B,0EAA0E;IAC1E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/D,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,yFAAyF;IACzF,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,IAAI,CACpB,wBAAwB,EACxB,OAAO,GAAG,WAAW,GAAG,cAAc,GAAG,YAAY,GAAG,SAAS,CAClE,CAAC;IACF,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,wBAAwB,0HAiVpC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { G as t } from "../../_chunks/gestational-age-calculator-gWI_uRA1.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-DbDfTJU2.js";
2
2
  export {
3
3
  t as GestationalAgeCalculator
4
4
  };
@@ -0,0 +1,31 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
+ import { type HcgResult } from './hcg';
4
+ declare const rootVariants: (props?: ({
5
+ width?: "auto" | "full" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface HcgDoublingProps extends VariantProps<typeof rootVariants> {
8
+ /** Pre-fill the first sample's date/time (e.g. from the lab record). */
9
+ defaultDate1?: Date;
10
+ /** Pre-fill the second sample's date/time. */
11
+ defaultDate2?: Date;
12
+ /** Fires whenever both timed values resolve (and `null` when not). */
13
+ onResultChange?: (result: HcgResult | null) => void;
14
+ /** When provided, shows the result-action buttons that emit / copy the result. */
15
+ onInsert?: (payload: InsertPayload) => void;
16
+ /** Which verb the result button performs. Defaults to `'insert'`. */
17
+ insertVariant?: InsertVariant;
18
+ /** `copy` variant only — fired after a successful clipboard write. */
19
+ onCopy?: (mode: InsertMode) => void;
20
+ /** `copy` variant only — fired if the clipboard write can't proceed. */
21
+ onError?: (error: unknown) => void;
22
+ /** Brand wordmark printed in the inserted/copied result-card footer. */
23
+ insertBrand?: string | false;
24
+ /** Opaque instance id, emitted as `data-component-id`. */
25
+ id?: string;
26
+ /** Extra class names on the wrapper. */
27
+ className?: string;
28
+ }
29
+ export declare const HcgDoubling: import("react").ForwardRefExoticComponent<HcgDoublingProps & import("react").RefAttributes<HTMLDivElement>>;
30
+ export {};
31
+ //# sourceMappingURL=hcg-doubling.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hcg-doubling.d.ts","sourceRoot":"","sources":["../../../src/components/hcg-doubling/hcg-doubling.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAOlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAElE,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAaH,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IACzE,wEAAwE;IACxE,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,sEAAsE;IACtE,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,qEAAqE;IACrE,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,6GAyKvB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /** Conservative minimal 48-hour rise for a potentially viable IUP, %. */
2
+ export declare const MINIMAL_48H_RISE_PERCENT = 35;
3
+ export interface HcgInput {
4
+ /** First β-hCG value, mIU/mL. */
5
+ hcg1: number;
6
+ /** When the first sample was drawn. */
7
+ date1: Date;
8
+ /** Second β-hCG value, mIU/mL. */
9
+ hcg2: number;
10
+ /** When the second sample was drawn (must be after `date1`). */
11
+ date2: Date;
12
+ }
13
+ export type HcgTrend = 'rising-normal' | 'rising-slow' | 'plateau-falling';
14
+ export interface HcgResult {
15
+ /** Hours between the two samples. */
16
+ intervalHours: number;
17
+ /** hcg2 / hcg1. */
18
+ ratio: number;
19
+ /** Rise over the actual interval, %. */
20
+ percentRise: number;
21
+ /** Rise normalised to a 48-hour window, % (comparable to the benchmark). */
22
+ twoDayRisePercent: number;
23
+ /** Doubling time in hours, or `null` when not rising. */
24
+ doublingTimeHours: number | null;
25
+ /** Trend band against the Barnhart minimal-rise benchmark. */
26
+ trend: HcgTrend;
27
+ }
28
+ /**
29
+ * Analyse a two-point β-hCG series. Returns `null` unless both values are
30
+ * positive and the second sample is strictly after the first.
31
+ */
32
+ export declare function analyseHcg(input: HcgInput): HcgResult | null;
33
+ //# sourceMappingURL=hcg.d.ts.map