@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.
- package/dist/_chunks/{address-autocomplete-CSjMrBvu.js → address-autocomplete-CT-9AOli.js} +2 -2
- package/dist/_chunks/{address-autocomplete-CSjMrBvu.js.map → address-autocomplete-CT-9AOli.js.map} +1 -1
- package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
- package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
- package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
- package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
- package/dist/_chunks/ai-consent-banner-F2md5JD3.js +169 -0
- package/dist/_chunks/ai-consent-banner-F2md5JD3.js.map +1 -0
- package/dist/_chunks/ai-tools-rail-CYLWrRmm.js +280 -0
- package/dist/_chunks/ai-tools-rail-CYLWrRmm.js.map +1 -0
- package/dist/_chunks/{alert-ywPR59NE.js → alert-CUTxnym2.js} +56 -35
- package/dist/_chunks/alert-CUTxnym2.js.map +1 -0
- package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
- package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
- package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
- package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
- package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js +412 -0
- package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js.map +1 -0
- package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
- package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
- package/dist/_chunks/{ar-DEz65ZJW.js → ar-C68WKG5a.js} +2 -2
- package/dist/_chunks/{ar-DEz65ZJW.js.map → ar-C68WKG5a.js.map} +1 -1
- package/dist/_chunks/{audio-recorder-DC-v9YFW.js → audio-recorder-DVJXV7_k.js} +2 -2
- package/dist/_chunks/{audio-recorder-DC-v9YFW.js.map → audio-recorder-DVJXV7_k.js.map} +1 -1
- package/dist/_chunks/bishop-score-2MzAz8NE.js +185 -0
- package/dist/_chunks/bishop-score-2MzAz8NE.js.map +1 -0
- package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
- package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
- package/dist/_chunks/{booking-DlDVuWMd.js → booking-DljH0JkS.js} +294 -306
- package/dist/_chunks/booking-DljH0JkS.js.map +1 -0
- package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
- package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
- package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
- package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
- package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
- package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
- package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
- package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
- package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
- package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
- package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
- package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
- package/dist/_chunks/circle-arrow-up-CC_85SuH.js +16 -0
- package/dist/_chunks/circle-arrow-up-CC_85SuH.js.map +1 -0
- package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
- package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
- package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
- package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
- package/dist/_chunks/cycle-calculator-oOkj5wlB.js +252 -0
- package/dist/_chunks/cycle-calculator-oOkj5wlB.js.map +1 -0
- package/dist/_chunks/{date-picker-Bq7xhMA-.js → date-picker-BfHblqwA.js} +2 -2
- package/dist/_chunks/{date-picker-Bq7xhMA-.js.map → date-picker-BfHblqwA.js.map} +1 -1
- package/dist/_chunks/{date-picker-variants-DLi1Va_e.js → date-picker-variants-CXEAx3O_.js} +22 -22
- package/dist/_chunks/{date-picker-variants-DLi1Va_e.js.map → date-picker-variants-CXEAx3O_.js.map} +1 -1
- package/dist/_chunks/{date-range-picker-DcXuI9y7.js → date-range-picker-hcAMs1wO.js} +3 -3
- package/dist/_chunks/{date-range-picker-DcXuI9y7.js.map → date-range-picker-hcAMs1wO.js.map} +1 -1
- package/dist/_chunks/{date-time-picker-RimumeLR.js → date-time-picker-H-3Pwqlb.js} +9 -9
- package/dist/_chunks/{date-time-picker-RimumeLR.js.map → date-time-picker-H-3Pwqlb.js.map} +1 -1
- package/dist/_chunks/{de-bTBGdjPS.js → de-DK4A9_a8.js} +2 -2
- package/dist/_chunks/{de-bTBGdjPS.js.map → de-DK4A9_a8.js.map} +1 -1
- package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
- package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
- package/dist/_chunks/{document-scanner-BqLsGs4Y.js → document-scanner-Cxqvq7GR.js} +2 -2
- package/dist/_chunks/{document-scanner-BqLsGs4Y.js.map → document-scanner-Cxqvq7GR.js.map} +1 -1
- package/dist/_chunks/due-date-calculator-tDqZXPWO.js +256 -0
- package/dist/_chunks/due-date-calculator-tDqZXPWO.js.map +1 -0
- package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js → editable-currency-cell-renderer-Bh48OHRv.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js.map → editable-currency-cell-renderer-Bh48OHRv.js.map} +1 -1
- package/dist/_chunks/{el-BWG5RXxa.js → el-B29HXhG5.js} +2 -2
- package/dist/_chunks/{el-BWG5RXxa.js.map → el-B29HXhG5.js.map} +1 -1
- package/dist/_chunks/entity-card-COhmqHly.js +69 -0
- package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
- package/dist/_chunks/{es-DfO_G435.js → es-BOwPVwWn.js} +2 -2
- package/dist/_chunks/{es-DfO_G435.js.map → es-BOwPVwWn.js.map} +1 -1
- package/dist/_chunks/fetal-weight-Da-B4P4k.js +122 -0
- package/dist/_chunks/fetal-weight-Da-B4P4k.js.map +1 -0
- package/dist/_chunks/{fr-BTn24bs8.js → fr-DoDBtn0T.js} +2 -2
- package/dist/_chunks/{fr-BTn24bs8.js.map → fr-DoDBtn0T.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-DzpD63WY.js → freemium-paywall-BWaLWje-.js} +2 -2
- package/dist/_chunks/{freemium-paywall-DzpD63WY.js.map → freemium-paywall-BWaLWje-.js.map} +1 -1
- package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js +311 -0
- package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js.map +1 -0
- package/dist/_chunks/hcg-doubling-DAnpbale.js +170 -0
- package/dist/_chunks/hcg-doubling-DAnpbale.js.map +1 -0
- package/dist/_chunks/{hi-Dj3oYd84.js → hi-DGByrKby.js} +2 -2
- package/dist/_chunks/{hi-Dj3oYd84.js.map → hi-DGByrKby.js.map} +1 -1
- package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
- package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
- package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
- package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
- package/dist/_chunks/{isSameWeek-HfxKk6Lz.js → isSameWeek-B1odL2vR.js} +2 -2
- package/dist/_chunks/{isSameWeek-HfxKk6Lz.js.map → isSameWeek-B1odL2vR.js.map} +1 -1
- package/dist/_chunks/{it-Y85ofIQQ.js → it-B16rEecm.js} +3 -3
- package/dist/_chunks/{it-Y85ofIQQ.js.map → it-B16rEecm.js.map} +1 -1
- package/dist/_chunks/{ja-CQ7J6YoA.js → ja-B0viOgft.js} +2 -2
- package/dist/_chunks/{ja-CQ7J6YoA.js.map → ja-B0viOgft.js.map} +1 -1
- package/dist/_chunks/languages-DsVf_WzT.js +19 -0
- package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
- package/dist/_chunks/layers-pzGcbLPj.js +34 -0
- package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js → marketplace-app-shell-UKSLx9K_.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js.map → marketplace-app-shell-UKSLx9K_.js.map} +1 -1
- package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
- package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
- package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
- package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
- package/dist/_chunks/{nl-D9kHCmp3.js → nl-cBxEX2QU.js} +2 -2
- package/dist/_chunks/{nl-D9kHCmp3.js.map → nl-cBxEX2QU.js.map} +1 -1
- package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
- package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
- package/dist/_chunks/{patient-search-CocVcGJ3.js → patient-search-BJOmTmDA.js} +2 -2
- package/dist/_chunks/{patient-search-CocVcGJ3.js.map → patient-search-BJOmTmDA.js.map} +1 -1
- package/dist/_chunks/{patient-shell-CnT4L8gn.js → patient-shell-DUmhXnFq.js} +2 -2
- package/dist/_chunks/{patient-shell-CnT4L8gn.js.map → patient-shell-DUmhXnFq.js.map} +1 -1
- package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
- package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
- package/dist/_chunks/{payment-form-BNTx4876.js → payment-form-xmeCkxas.js} +2 -2
- package/dist/_chunks/{payment-form-BNTx4876.js.map → payment-form-xmeCkxas.js.map} +1 -1
- package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
- package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
- package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-q1D3Uion.js} +4 -4
- package/dist/_chunks/pdf-viewer-q1D3Uion.js.map +1 -0
- package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
- package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
- package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
- package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
- package/dist/_chunks/{pl-B3Smqpkr.js → pl-DtS08ioY.js} +3 -3
- package/dist/_chunks/{pl-B3Smqpkr.js.map → pl-DtS08ioY.js.map} +1 -1
- package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-Cq1y8JFD.js} +4 -3
- package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-Cq1y8JFD.js.map} +1 -1
- package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js +322 -0
- package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js.map +1 -0
- package/dist/_chunks/product-hub-panel-CkfZBA3t.js +620 -0
- package/dist/_chunks/product-hub-panel-CkfZBA3t.js.map +1 -0
- package/dist/_chunks/{pt-D3J-1c_7.js → pt-yFXs1VvH.js} +2 -2
- package/dist/_chunks/{pt-D3J-1c_7.js.map → pt-yFXs1VvH.js.map} +1 -1
- package/dist/_chunks/{ro-BKAbbEA3.js → ro-DsCzSrzR.js} +2 -2
- package/dist/_chunks/{ro-BKAbbEA3.js.map → ro-DsCzSrzR.js.map} +1 -1
- package/dist/_chunks/{ru-BeG8f0Ep.js → ru-DgDxL0pc.js} +3 -3
- package/dist/_chunks/{ru-BeG8f0Ep.js.map → ru-DgDxL0pc.js.map} +1 -1
- package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
- package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
- package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
- package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
- package/dist/_chunks/{sidebar-_vJXI9rB.js → sidebar-h78cTNLh.js} +440 -338
- package/dist/_chunks/sidebar-h78cTNLh.js.map +1 -0
- package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-CZkAf28g.js} +2 -2
- package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-CZkAf28g.js.map} +1 -1
- package/dist/_chunks/{sq-_hRPaeUy.js → sq-DHlCYN67.js} +2 -2
- package/dist/_chunks/{sq-_hRPaeUy.js.map → sq-DHlCYN67.js.map} +1 -1
- package/dist/_chunks/subDays-Bs00akhK.js +8 -0
- package/dist/_chunks/{subDays-Dv7q9S7u.js.map → subDays-Bs00akhK.js.map} +1 -1
- package/dist/_chunks/{sv-g009fSpe.js → sv-O0QaQs_s.js} +2 -2
- package/dist/_chunks/{sv-g009fSpe.js.map → sv-O0QaQs_s.js.map} +1 -1
- package/dist/_chunks/{tr-OKUOuhMW.js → tr-BmNDRuio.js} +2 -2
- package/dist/_chunks/{tr-OKUOuhMW.js.map → tr-BmNDRuio.js.map} +1 -1
- package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
- package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
- package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
- package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
- package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
- package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
- package/dist/_chunks/video-BAeICxCT.js +21 -0
- package/dist/_chunks/video-BAeICxCT.js.map +1 -0
- package/dist/_chunks/warning-stack-CXfoAT-_.js +220 -0
- package/dist/_chunks/warning-stack-CXfoAT-_.js.map +1 -0
- package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-DzX_LI4y.js} +139 -157
- package/dist/_chunks/workflow-map-DzX_LI4y.js.map +1 -0
- package/dist/_chunks/{zh-CN-De4zwEhx.js → zh-CN-CgVJZEzz.js} +3 -3
- package/dist/_chunks/{zh-CN-De4zwEhx.js.map → zh-CN-CgVJZEzz.js.map} +1 -1
- package/dist/agent-catalog.json +367 -1
- package/dist/components/_shared/antenatal-schedule-timeline.d.ts +18 -0
- package/dist/components/_shared/antenatal-schedule-timeline.d.ts.map +1 -0
- package/dist/components/_shared/antenatal-schedule.d.ts +68 -0
- package/dist/components/_shared/antenatal-schedule.d.ts.map +1 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
- package/dist/components/_shared/entity-card/index.d.ts +3 -0
- package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
- package/dist/components/_shared/index.d.ts +5 -0
- package/dist/components/_shared/index.d.ts.map +1 -1
- package/dist/components/_shared/is-safe-url.d.ts +13 -0
- package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
- package/dist/components/_shared/obstetrics.d.ts +138 -0
- package/dist/components/_shared/obstetrics.d.ts.map +1 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/agenda-card/agenda-card.d.ts +1 -2
- package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
- package/dist/components/agenda-card/index.d.ts +2 -1
- package/dist/components/agenda-card/index.d.ts.map +1 -1
- package/dist/components/agenda-card/index.js +6 -5
- package/dist/components/agenda-card/index.js.map +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
- package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
- package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
- package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
- package/dist/components/ai-consent-banner/index.d.ts +4 -0
- package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
- package/dist/components/ai-consent-banner/index.js +6 -0
- package/dist/components/ai-consent-banner/index.js.map +1 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
- package/dist/components/ai-tools-rail/index.d.ts +4 -0
- package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
- package/dist/components/ai-tools-rail/index.js +6 -0
- package/dist/components/ai-tools-rail/index.js.map +1 -0
- package/dist/components/alert/alert.d.ts +2 -2
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
- package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
- package/dist/components/anamnesis-card/index.d.ts +3 -0
- package/dist/components/anamnesis-card/index.d.ts.map +1 -0
- package/dist/components/anamnesis-card/index.js +5 -0
- package/dist/components/anamnesis-card/index.js.map +1 -0
- package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
- package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
- package/dist/components/appointment-card/appointment-card.d.ts +93 -0
- package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
- package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
- package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
- package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
- package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
- package/dist/components/appointment-card/index.d.ts +8 -0
- package/dist/components/appointment-card/index.d.ts.map +1 -0
- package/dist/components/appointment-card/index.js +10 -0
- package/dist/components/appointment-card/index.js.map +1 -0
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/bishop-score/bishop-score.d.ts +27 -0
- package/dist/components/bishop-score/bishop-score.d.ts.map +1 -0
- package/dist/components/bishop-score/bishop.d.ts +30 -0
- package/dist/components/bishop-score/bishop.d.ts.map +1 -0
- package/dist/components/bishop-score/index.d.ts +4 -0
- package/dist/components/bishop-score/index.d.ts.map +1 -0
- package/dist/components/bishop-score/index.js +10 -0
- package/dist/components/bishop-score/index.js.map +1 -0
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
- package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
- package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
- package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
- package/dist/components/care-plan-card/index.d.ts +4 -0
- package/dist/components/care-plan-card/index.d.ts.map +1 -0
- package/dist/components/care-plan-card/index.js +6 -0
- package/dist/components/care-plan-card/index.js.map +1 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
- package/dist/components/care-plan-entry-card/index.d.ts +4 -0
- package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
- package/dist/components/care-plan-entry-card/index.js +6 -0
- package/dist/components/care-plan-entry-card/index.js.map +1 -0
- package/dist/components/chat-message/chat-message.d.ts +7 -0
- package/dist/components/chat-message/chat-message.d.ts.map +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
- package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
- package/dist/components/clinical-note-card/index.d.ts +4 -0
- package/dist/components/clinical-note-card/index.d.ts.map +1 -0
- package/dist/components/clinical-note-card/index.js +6 -0
- package/dist/components/clinical-note-card/index.js.map +1 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
- package/dist/components/cycle-calculator/cycle.d.ts +5 -0
- package/dist/components/cycle-calculator/cycle.d.ts.map +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +7 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +13 -1
- package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
- package/dist/components/due-date-calculator/gestation.d.ts +1 -59
- package/dist/components/due-date-calculator/gestation.d.ts.map +1 -1
- package/dist/components/due-date-calculator/index.d.ts +1 -1
- package/dist/components/due-date-calculator/index.d.ts.map +1 -1
- package/dist/components/due-date-calculator/index.js +16 -10
- package/dist/components/fetal-weight/efw.d.ts +25 -0
- package/dist/components/fetal-weight/efw.d.ts.map +1 -0
- package/dist/components/fetal-weight/fetal-weight.d.ts +27 -0
- package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -0
- package/dist/components/fetal-weight/index.d.ts +4 -0
- package/dist/components/fetal-weight/index.d.ts.map +1 -0
- package/dist/components/fetal-weight/index.js +6 -0
- package/dist/components/fetal-weight/index.js.map +1 -0
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +25 -1
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/hcg-doubling.d.ts +31 -0
- package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -0
- package/dist/components/hcg-doubling/hcg.d.ts +33 -0
- package/dist/components/hcg-doubling/hcg.d.ts.map +1 -0
- package/dist/components/hcg-doubling/index.d.ts +4 -0
- package/dist/components/hcg-doubling/index.d.ts.map +1 -0
- package/dist/components/hcg-doubling/index.js +7 -0
- package/dist/components/hcg-doubling/index.js.map +1 -0
- package/dist/components/index.d.ts +14 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/message-card/index.js +5 -4
- package/dist/components/message-card/index.js.map +1 -1
- package/dist/components/message-card/message-card.d.ts +1 -2
- package/dist/components/message-card/message-card.d.ts.map +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +9 -0
- package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.d.ts +4 -0
- package/dist/components/patient-summary-card/index.d.ts.map +1 -0
- package/dist/components/patient-summary-card/index.js +6 -0
- package/dist/components/patient-summary-card/index.js.map +1 -0
- package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
- package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
- package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
- package/dist/components/payment-card/index.d.ts +7 -0
- package/dist/components/payment-card/index.d.ts.map +1 -0
- package/dist/components/payment-card/index.js +8 -0
- package/dist/components/payment-card/index.js.map +1 -0
- package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
- package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
- package/dist/components/payment-card/payment-card.d.ts +71 -0
- package/dist/components/payment-card/payment-card.d.ts.map +1 -0
- package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
- package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
- package/dist/components/payment-card/payment-request-card.d.ts +43 -0
- package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/periodontal-chart-card/index.d.ts +4 -0
- package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
- package/dist/components/periodontal-chart-card/index.js +7 -0
- package/dist/components/periodontal-chart-card/index.js.map +1 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +7 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
- package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +33 -8
- package/dist/components/pregnancy-weight-gain/weight-gain.d.ts.map +1 -1
- package/dist/components/product-hub-tray/index.d.ts +8 -0
- package/dist/components/product-hub-tray/index.d.ts.map +1 -0
- package/dist/components/product-hub-tray/index.js +10 -0
- package/dist/components/product-hub-tray/index.js.map +1 -0
- package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts +4 -0
- package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts.map +1 -0
- package/dist/components/product-hub-tray/product-hub-panel.d.ts +54 -0
- package/dist/components/product-hub-tray/product-hub-panel.d.ts.map +1 -0
- package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts +4 -0
- package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts.map +1 -0
- package/dist/components/product-hub-tray/product-hub-tray.d.ts +115 -0
- package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -0
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/sidebar/index.d.ts +2 -2
- package/dist/components/sidebar/index.d.ts.map +1 -1
- package/dist/components/sidebar/index.js +12 -11
- package/dist/components/sidebar/sidebar.d.ts +14 -1
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +561 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +560 -2
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +561 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +560 -2
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +561 -1
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +560 -2
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +561 -1
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +560 -2
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +561 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +560 -2
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +561 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +560 -2
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +561 -1
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +560 -2
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +561 -1
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +560 -2
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +561 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +560 -2
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +561 -1
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +560 -2
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +561 -1
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +560 -2
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +561 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +560 -2
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +561 -1
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +560 -2
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +561 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +560 -2
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +561 -1
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +560 -2
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +561 -1
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +560 -2
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +561 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +560 -2
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +561 -1
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +560 -2
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +663 -600
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +562 -2
- package/dist/locales/de.json +562 -2
- package/dist/locales/el.json +562 -2
- package/dist/locales/en.json +562 -2
- package/dist/locales/es.json +562 -2
- package/dist/locales/fr.json +562 -2
- package/dist/locales/hi.json +562 -2
- package/dist/locales/it.json +562 -2
- package/dist/locales/ja.json +562 -2
- package/dist/locales/nl.json +562 -2
- package/dist/locales/pl.json +562 -2
- package/dist/locales/pt.json +562 -2
- package/dist/locales/ro.json +562 -2
- package/dist/locales/ru.json +562 -2
- package/dist/locales/sq.json +562 -2
- package/dist/locales/sv.json +562 -2
- package/dist/locales/tr.json +562 -2
- package/dist/locales/zh.json +562 -2
- package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
- package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +58 -1
- package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
- package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
- package/dist/_chunks/alert-ywPR59NE.js.map +0 -1
- package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
- package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
- package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
- package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
- package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
- package/dist/_chunks/cycle-calculator-KxA8dqDf.js +0 -211
- package/dist/_chunks/cycle-calculator-KxA8dqDf.js.map +0 -1
- package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
- package/dist/_chunks/due-date-calculator-mFxpHLml.js +0 -216
- package/dist/_chunks/due-date-calculator-mFxpHLml.js.map +0 -1
- package/dist/_chunks/gestation-mWF4AXea.js +0 -50
- package/dist/_chunks/gestation-mWF4AXea.js.map +0 -1
- package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js +0 -203
- package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js.map +0 -1
- package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
- package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
- package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
- package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
- package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
- package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js +0 -246
- package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js.map +0 -1
- package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
- package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
- package/dist/_chunks/sidebar-_vJXI9rB.js.map +0 -1
- package/dist/_chunks/subDays-Dv7q9S7u.js +0 -8
- package/dist/_chunks/warning-stack-DNR3-IbP.js +0 -180
- package/dist/_chunks/warning-stack-DNR3-IbP.js.map +0 -1
- package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
|
@@ -0,0 +1,138 @@
|
|
|
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
|
+
/** Number of fetuses. Drives surveillance schedule and planned-birth timing. */
|
|
6
|
+
export type Plurality = 'singleton' | 'twin' | 'triplet';
|
|
7
|
+
/**
|
|
8
|
+
* Placentation of a multiple pregnancy. `unknown` is the safe default — managed
|
|
9
|
+
* as monochorionic (the higher-risk assumption) until proven otherwise, per
|
|
10
|
+
* NICE QS46. Only meaningful when `plurality !== 'singleton'`.
|
|
11
|
+
*/
|
|
12
|
+
export type Chorionicity = 'dichorionic-diamniotic' | 'monochorionic-diamniotic' | 'monochorionic-monoamniotic' | 'unknown';
|
|
13
|
+
/** Naegele's rule: a term pregnancy is 280 days from the LMP. */
|
|
14
|
+
export declare const GESTATION_DAYS = 280;
|
|
15
|
+
/** Ovulation/conception sits ~14 days after the LMP in a 28-day cycle. */
|
|
16
|
+
export declare const CONCEPTION_OFFSET_DAYS = 14;
|
|
17
|
+
/** A term pregnancy is 266 days from conception. */
|
|
18
|
+
export declare const TERM_FROM_CONCEPTION_DAYS = 266;
|
|
19
|
+
/** Standard menstrual-cycle length Naegele assumes. */
|
|
20
|
+
export declare const DEFAULT_CYCLE_LENGTH = 28;
|
|
21
|
+
export interface DueDateInput {
|
|
22
|
+
method: DueDateMethod;
|
|
23
|
+
/** The reference date for the chosen method (LMP / conception / transfer). */
|
|
24
|
+
date: Date;
|
|
25
|
+
/** LMP only — average cycle length in days. Defaults to 28. */
|
|
26
|
+
cycleLength?: number;
|
|
27
|
+
/** IVF only — embryo age at transfer in days. Defaults to 5 (blastocyst). */
|
|
28
|
+
embryoAge?: EmbryoAge;
|
|
29
|
+
}
|
|
30
|
+
export interface GestationalAge {
|
|
31
|
+
weeks: number;
|
|
32
|
+
days: number;
|
|
33
|
+
totalDays: number;
|
|
34
|
+
}
|
|
35
|
+
export interface DueDateResult {
|
|
36
|
+
/** Estimated date of delivery. */
|
|
37
|
+
dueDate: Date;
|
|
38
|
+
/** GA day-0 anchor (notional LMP) the trimester maths counts from. */
|
|
39
|
+
gestationalStart: Date;
|
|
40
|
+
/** Gestational age as of `today`; `null` before conception. */
|
|
41
|
+
gestationalAge: GestationalAge | null;
|
|
42
|
+
trimester: Trimester;
|
|
43
|
+
}
|
|
44
|
+
/** Classify gestational age (in completed weeks) into a trimester. */
|
|
45
|
+
export declare function trimesterForWeeks(totalDays: number): Trimester;
|
|
46
|
+
/**
|
|
47
|
+
* Resolve the gestational start (notional LMP) and due date for a method.
|
|
48
|
+
* `cycleLength` shifts a longer/shorter cycle's ovulation, moving the due
|
|
49
|
+
* date while GA stays counted from the LMP — the standard convention.
|
|
50
|
+
*/
|
|
51
|
+
export declare function computeDueDate(input: DueDateInput, today: Date): DueDateResult;
|
|
52
|
+
/** Gestational weeks at which clinically notable milestones fall. */
|
|
53
|
+
export declare const MILESTONE_WEEKS: readonly [12, 24, 28, 37, 40];
|
|
54
|
+
export interface GestationalMilestone {
|
|
55
|
+
/** Stable key (`w12`, `w24`, …) for i18n lookup. */
|
|
56
|
+
key: string;
|
|
57
|
+
/** Completed gestational weeks. */
|
|
58
|
+
week: number;
|
|
59
|
+
/** Calendar date the milestone is reached. */
|
|
60
|
+
date: Date;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Project the standard milestone dates from a gestational start (notional
|
|
64
|
+
* LMP / GA day 0): end of first trimester (12w), viability (24w), third
|
|
65
|
+
* trimester (28w), term (37w) and the 40-week due date.
|
|
66
|
+
*/
|
|
67
|
+
export declare function gestationalMilestones(gestationalStart: Date): GestationalMilestone[];
|
|
68
|
+
/** Badge `variant` names used for trimesters (the Badge component's union). */
|
|
69
|
+
export type TrimesterBadgeVariant = 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
70
|
+
/** Trimester → on-screen Badge variant. */
|
|
71
|
+
export declare const TRIMESTER_BADGE_VARIANT: Record<Trimester, TrimesterBadgeVariant>;
|
|
72
|
+
/**
|
|
73
|
+
* DS token NAME backing each trimester's result-card chip — the solid-fill
|
|
74
|
+
* companion of `TRIMESTER_BADGE_VARIANT` (Badge `error` fills `--destructive`;
|
|
75
|
+
* `neutral` fills `--muted`). Passed as the card's `highlightToken` so the
|
|
76
|
+
* inserted PNG chip matches the on-screen trimester badge; `InsertButton`
|
|
77
|
+
* resolves the name to a concrete colour at raster time.
|
|
78
|
+
*
|
|
79
|
+
* `third` resolves to `--warning-readable`, which the result card's colour
|
|
80
|
+
* probe resolves in the live themed DOM: orange-600 in light, non-accessible
|
|
81
|
+
* mode (where bare `--warning` yellow only reaches ~3.2:1 on the white card)
|
|
82
|
+
* and `--warning` elsewhere, whose deepened ramp already clears contrast.
|
|
83
|
+
* Resolving the token NAME at the card means the choice tracks the live theme
|
|
84
|
+
* regardless of where the theme class lives.
|
|
85
|
+
*/
|
|
86
|
+
export declare const TRIMESTER_HIGHLIGHT_TOKEN: Record<Trimester, string>;
|
|
87
|
+
/** The DS token name for a trimester's result-card chip. */
|
|
88
|
+
export declare function trimesterHighlightToken(trimester: Trimester): string;
|
|
89
|
+
/** Which body's planned-birth timing to use for multiples. */
|
|
90
|
+
export type BirthGuideline = 'nice' | 'acog';
|
|
91
|
+
/** Planned-birth window as GA days (week*7 + day), inclusive, with source. */
|
|
92
|
+
export interface BirthWindow {
|
|
93
|
+
startDay: number;
|
|
94
|
+
endDay: number;
|
|
95
|
+
source: string;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Recommended planned-birth window for a multiple pregnancy, by chorionicity.
|
|
99
|
+
* Singletons return `null` (use the 40-week EDD instead). `unknown`
|
|
100
|
+
* chorionicity is managed as monochorionic-diamniotic — the higher-risk
|
|
101
|
+
* default (NICE QS46).
|
|
102
|
+
*/
|
|
103
|
+
export declare function plannedBirthWindow(plurality: Plurality, chorionicity?: Chorionicity, guideline?: BirthGuideline): BirthWindow | null;
|
|
104
|
+
/** Robinson–Fleming dating is validated for CRL 45–84 mm. */
|
|
105
|
+
export declare const CRL_DATING_MIN_MM = 45;
|
|
106
|
+
export declare const CRL_DATING_MAX_MM = 84;
|
|
107
|
+
/** Gestational age in days from a crown-rump length (mm), Robinson–Fleming. */
|
|
108
|
+
export declare function crlToGestationalAgeDays(crlMm: number): number;
|
|
109
|
+
/**
|
|
110
|
+
* ACOG CO 700 redating threshold (in days) for a given GA-by-LMP: re-date the
|
|
111
|
+
* EDD to the ultrasound estimate only when the discrepancy EXCEEDS this.
|
|
112
|
+
*/
|
|
113
|
+
export declare function redatingThresholdDays(gaByLmpDays: number): number;
|
|
114
|
+
export interface CrlRedatingInput {
|
|
115
|
+
/** Reported first day of the last menstrual period. */
|
|
116
|
+
lmp: Date;
|
|
117
|
+
/** Date the ultrasound CRL was measured. */
|
|
118
|
+
scanDate: Date;
|
|
119
|
+
/** Crown-rump length, mm. */
|
|
120
|
+
crlMm: number;
|
|
121
|
+
}
|
|
122
|
+
export interface CrlRedatingResult {
|
|
123
|
+
/** Notional LMP (GA day 0) after the rule — the ultrasound's or the original. */
|
|
124
|
+
gestationalStart: Date;
|
|
125
|
+
/** Whether the ultrasound estimate replaced the LMP dating. */
|
|
126
|
+
redated: boolean;
|
|
127
|
+
/** |GA-by-LMP − GA-by-CRL| at the scan, in days. */
|
|
128
|
+
discrepancyDays: number;
|
|
129
|
+
/** The ACOG CO 700 threshold (days) that applied. */
|
|
130
|
+
thresholdDays: number;
|
|
131
|
+
/** CRL − LMP dating, in days (+ = fetus ahead of dates). Server `eco_diff_days`. */
|
|
132
|
+
ecoDiffDays: number;
|
|
133
|
+
/** Whether the CRL is within the 45–84 mm dating-validity window. */
|
|
134
|
+
crlInRange: boolean;
|
|
135
|
+
}
|
|
136
|
+
/** Apply the ACOG CO 700 CRL-redating rule to an LMP. */
|
|
137
|
+
export declare function redateByCrl(input: CrlRedatingInput): CrlRedatingResult;
|
|
138
|
+
//# sourceMappingURL=obstetrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"obstetrics.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/obstetrics.ts"],"names":[],"mappings":"AAmBA,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,gFAAgF;AAChF,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,SAAS,CAAC;AAEzD;;;;GAIG;AACH,MAAM,MAAM,YAAY,GACpB,wBAAwB,GACxB,0BAA0B,GAC1B,4BAA4B,GAC5B,SAAS,CAAC;AAEd,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;AAWD,+EAA+E;AAC/E,MAAM,MAAM,qBAAqB,GAC7B,SAAS,GACT,MAAM,GACN,SAAS,GACT,SAAS,GACT,OAAO,CAAC;AAEZ,2CAA2C;AAC3C,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,SAAS,EAAE,qBAAqB,CAO1E,CAAC;AAEJ;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAM/D,CAAC;AAEF,4DAA4D;AAC5D,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAEpE;AAYD,8DAA8D;AAC9D,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7C,8EAA8E;AAC9E,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAID;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,SAAS,EACpB,YAAY,GAAE,YAAwB,EACtC,SAAS,GAAE,cAAuB,GACjC,WAAW,GAAG,IAAI,CA4CpB;AAaD,6DAA6D;AAC7D,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,+EAA+E;AAC/E,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAG7D;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAMjE;AAED,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,GAAG,EAAE,IAAI,CAAC;IACV,4CAA4C;IAC5C,QAAQ,EAAE,IAAI,CAAC;IACf,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,gBAAgB,EAAE,IAAI,CAAC;IACvB,+DAA+D;IAC/D,OAAO,EAAE,OAAO,CAAC;IACjB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,qDAAqD;IACrD,aAAa,EAAE,MAAM,CAAC;IACtB,oFAAoF;IACpF,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,yDAAyD;AACzD,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,iBAAiB,CAiBtE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
export { isSafeEntityUrl as isSafeAgendaUrl } from '../_shared/is-safe-url';
|
|
3
4
|
export type AppointmentStatus = 'confirmed' | 'pending' | 'cancelled';
|
|
4
5
|
export interface AgendaItem {
|
|
5
6
|
/** Unique identifier for the appointment. */
|
|
@@ -30,7 +31,5 @@ declare const agendaCardVariants: (props?: ({
|
|
|
30
31
|
size?: "sm" | "md" | null | undefined;
|
|
31
32
|
interactive?: boolean | null | undefined;
|
|
32
33
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
33
|
-
export declare function isSafeAgendaUrl(url: string): boolean;
|
|
34
34
|
export declare const AgendaCard: import("react").ForwardRefExoticComponent<AgendaCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
35
|
-
export {};
|
|
36
35
|
//# sourceMappingURL=agenda-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agenda-card.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/agenda-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAkB,MAAM,OAAO,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"agenda-card.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/agenda-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAkB,MAAM,OAAO,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AASlE,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAM5E,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAAC;AAEtE,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,8DAA8D;IAC9D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,iCAAiC;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,sBAAsB;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,uCAAuC;IACvC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACzC;AAMD,QAAA,MAAM,kBAAkB;;;8EAyBvB,CAAC;AAwBF,eAAO,MAAM,UAAU,4GA4GtB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { AgendaCard
|
|
1
|
+
export { AgendaCard } from './agenda-card';
|
|
2
2
|
export type { AgendaCardProps, AgendaItem, AppointmentStatus, } from './agenda-card';
|
|
3
3
|
export { agendaCardAgent } from './agenda-card.agent';
|
|
4
|
+
export { isSafeEntityUrl as isSafeAgendaUrl } from '../_shared/is-safe-url';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EACV,eAAe,EACf,UAAU,EACV,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as
|
|
1
|
+
import { A as e } from "../../_chunks/agenda-card-BaSfVfrL.js";
|
|
2
|
+
import { a as d } from "../../_chunks/agenda-card.agent-B_R47-c9.js";
|
|
3
|
+
import { i as g } from "../../_chunks/is-safe-url-DkETxeHz.js";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
e as AgendaCard,
|
|
6
|
+
d as agendaCardAgent,
|
|
7
|
+
g as isSafeAgendaUrl
|
|
7
8
|
};
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-consent-banner.agent.d.ts","sourceRoot":"","sources":["../../../src/components/ai-consent-banner/ai-consent-banner.agent.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,qBAAqB,CAiCpE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const rootVariants: (props?: ({
|
|
4
|
+
state?: "required" | "pending" | "granted" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export type AiConsentState = NonNullable<VariantProps<typeof rootVariants>['state']>;
|
|
7
|
+
/** Agent-readiness curated handle. Exposes the structural consent state only. */
|
|
8
|
+
export interface AiConsentBannerHandle {
|
|
9
|
+
/** Current derived state: 'granted' | 'required' | 'pending'. */
|
|
10
|
+
getState: () => AiConsentState;
|
|
11
|
+
/** Whether the Grant affordance is currently armed (checkbox ticked). */
|
|
12
|
+
isArmed: () => boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface AiConsentBannerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'aria-label' | 'children' | 'role'> {
|
|
15
|
+
/**
|
|
16
|
+
* Stable instance id. Surfaced on the root as `data-component-id` so an
|
|
17
|
+
* agent / MCP UI bridge can address this specific banner. Mirrored to the
|
|
18
|
+
* real DOM `id`.
|
|
19
|
+
*/
|
|
20
|
+
id?: string;
|
|
21
|
+
/** Whether consent has already been granted. Server-sourced. */
|
|
22
|
+
granted: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* When consent was granted — ISO-8601 string, ms-epoch, or Date. Rendered
|
|
25
|
+
* via `Timestamp` in the granted state.
|
|
26
|
+
*/
|
|
27
|
+
grantedAt?: string | number | Date;
|
|
28
|
+
/** Who granted consent (operator display name / role). Granted state only. */
|
|
29
|
+
grantedBy?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the current user is allowed to grant consent. When `false`, the
|
|
32
|
+
* required-state Grant affordance is hidden and a not-allowed note shows.
|
|
33
|
+
* Default `true`.
|
|
34
|
+
*/
|
|
35
|
+
canGrant?: boolean;
|
|
36
|
+
/** The grant is being persisted server-side — shows the busy Spinner state. */
|
|
37
|
+
pending?: boolean;
|
|
38
|
+
/** Fired when the operator confirms the consent grant. */
|
|
39
|
+
onGrantConsent?: () => void;
|
|
40
|
+
/** Override the region's accessible name. */
|
|
41
|
+
'aria-label'?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare const AiConsentBanner: import("react").ForwardRefExoticComponent<AiConsentBannerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=ai-consent-banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-consent-banner.d.ts","sourceRoot":"","sources":["../../../src/components/ai-consent-banner/ai-consent-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,wBAAwB,EAC9B,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiClE,QAAA,MAAM,YAAY;;8EAWhB,CAAC;AAMH,MAAM,MAAM,cAAc,GAAG,WAAW,CACtC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAC3C,CAAC;AAYF,iFAAiF;AACjF,MAAM,WAAW,qBAAqB;IACpC,iEAAiE;IACjE,QAAQ,EAAE,MAAM,cAAc,CAAC;IAC/B,yEAAyE;IACzE,OAAO,EAAE,MAAM,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAChD,wBAAwB,CAAC,KAAK,CAAC,EAC/B,YAAY,GAAG,UAAU,GAAG,MAAM,CACnC;IACC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gEAAgE;IAChE,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACnC,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAMD,eAAO,MAAM,eAAe,iHAmJ3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ai-consent-banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-tools-rail.agent.d.ts","sourceRoot":"","sources":["../../../src/components/ai-tools-rail/ai-tools-rail.agent.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CA2D5D,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
export interface AiToolsRailTool {
|
|
4
|
+
/** Stable tool id — used in `data-active`, the imperative handle, and
|
|
5
|
+
* to label the open panel region. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Accessible name for the strip icon + tooltip, and the open panel's
|
|
8
|
+
* region label. Never rendered as visible body text. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** lucide-react glyph (rendered `aria-hidden` inside the IconButton). */
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
/** Panel body for this tool. Rendered inline-start of the strip when
|
|
13
|
+
* `side='end'` (mirrored for `'start'`). The consumer composes it. */
|
|
14
|
+
panel: ReactNode;
|
|
15
|
+
/** Optional unseen / notification count shown on the strip icon. */
|
|
16
|
+
badgeCount?: number;
|
|
17
|
+
/** When true the icon is non-interactive and skipped by roving focus. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Curated imperative handle for AiToolsRail. Exposed as the forwardRef
|
|
22
|
+
* target so a future agent / MCP UI bridge can drive the rail without
|
|
23
|
+
* touching the DOM. See `ai-tools-rail.agent.ts`.
|
|
24
|
+
*
|
|
25
|
+
* State surfaced here is strictly identifiers + counts — never any
|
|
26
|
+
* tool's panel content (which may carry PHI).
|
|
27
|
+
*/
|
|
28
|
+
export interface AiToolsRailHandle {
|
|
29
|
+
/** Currently-active tool id, or null when collapsed to strip-only. */
|
|
30
|
+
getActiveToolId: () => string | null;
|
|
31
|
+
/** Activate a tool by id (opens its panel), or null to collapse. */
|
|
32
|
+
setActiveTool: (id: string | null) => void;
|
|
33
|
+
/** Activate a tool by id (opens its panel). */
|
|
34
|
+
open: (id: string) => void;
|
|
35
|
+
/** Collapse to strip-only (no active tool). */
|
|
36
|
+
close: () => void;
|
|
37
|
+
}
|
|
38
|
+
declare const railVariants: (props?: ({
|
|
39
|
+
side?: "end" | "start" | null | undefined;
|
|
40
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
41
|
+
export interface AiToolsRailProps extends VariantProps<typeof railVariants> {
|
|
42
|
+
/** Stable instance id, surfaced on the root as `data-component-id`. */
|
|
43
|
+
id?: string;
|
|
44
|
+
/** The tools shown as icons on the strip. */
|
|
45
|
+
tools: AiToolsRailTool[];
|
|
46
|
+
/** Controlled active tool id (null = collapsed / strip-only). */
|
|
47
|
+
activeToolId?: string | null;
|
|
48
|
+
/** Uncontrolled initial active tool id (default null). */
|
|
49
|
+
defaultActiveToolId?: string | null;
|
|
50
|
+
/** Fires whenever the active tool changes (incl. → null on collapse). */
|
|
51
|
+
onActiveToolChange?: (id: string | null) => void;
|
|
52
|
+
/** Which edge the rail docks to. Default `'end'` (inline-end). */
|
|
53
|
+
side?: 'start' | 'end';
|
|
54
|
+
/** Accessible label for the toolbar strip. */
|
|
55
|
+
railLabel?: string;
|
|
56
|
+
className?: string;
|
|
57
|
+
}
|
|
58
|
+
export declare const AiToolsRail: import("react").ForwardRefExoticComponent<AiToolsRailProps & import("react").RefAttributes<AiToolsRailHandle>>;
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=ai-tools-rail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-tools-rail.d.ts","sourceRoot":"","sources":["../../../src/components/ai-tools-rail/ai-tools-rail.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA+BlE,MAAM,WAAW,eAAe;IAC9B;0CACsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX;6DACyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,IAAI,EAAE,SAAS,CAAC;IAChB;2EACuE;IACvE,KAAK,EAAE,SAAS,CAAC;IACjB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,sEAAsE;IACtE,eAAe,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACrC,oEAAoE;IACpE,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,+CAA+C;IAC/C,IAAI,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3B,+CAA+C;IAC/C,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAMD,QAAA,MAAM,YAAY;;8EAcjB,CAAC;AA0CF,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IACzE,uEAAuE;IACvE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,0DAA0D;IAC1D,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,kEAAkE;IAClE,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACvB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD,eAAO,MAAM,WAAW,gHAuRvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ai-tools-rail/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,GAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const alertVariants: (props?: ({
|
|
4
|
-
variant?: "error" | "info" | "success" | "warning" | null | undefined;
|
|
4
|
+
variant?: "error" | "info" | "success" | "warning" | "promo" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
interface AlertTitleProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
7
7
|
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
|
|
8
8
|
}
|
|
9
9
|
export interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'>, VariantProps<typeof alertVariants> {
|
|
10
|
-
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
10
|
+
variant?: 'info' | 'success' | 'warning' | 'error' | 'promo';
|
|
11
11
|
dismissible?: boolean;
|
|
12
12
|
open?: boolean;
|
|
13
13
|
onOpenChange?: (open: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAYlE,QAAA,MAAM,aAAa;;8EAsElB,CAAC;AA6DF,UAAU,eAAgB,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAClE,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,MAAM,CAAC;CAC7D;AAoDD,MAAM,WAAW,UACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,EAC5C,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,KAAK,CAAC;CACvC;AAED,YAAY,EAAE,eAAe,EAAE,CAAC;AAmHhC,eAAO,MAAM,KAAK;;;;CAIhB,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const rootVariants: (props?: ({
|
|
4
|
+
surface?: "flat" | "elevated" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface AnamnesisCardAnswer {
|
|
7
|
+
/** The questionnaire question text. Rendered as the `<dt>` term. */
|
|
8
|
+
question: string;
|
|
9
|
+
/** The patient's recorded answer. Rendered as the `<dd>` detail. */
|
|
10
|
+
answer: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Marks this row as a clinical red-flag answer. Highlighted rows render
|
|
13
|
+
* a `bordered` divider + an inline-end warning chip so they stand out
|
|
14
|
+
* within the interview body — with the warning glyph carrying the cue,
|
|
15
|
+
* not colour alone.
|
|
16
|
+
*/
|
|
17
|
+
highlight?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface AnamnesisCardStatus {
|
|
20
|
+
/** The questionnaire is past its validity window — surfaces a warning chip. */
|
|
21
|
+
expired?: boolean;
|
|
22
|
+
/** The submission is corrupted / incomplete — surfaces an error chip. */
|
|
23
|
+
corrupted?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface AnamnesisCardProps extends Omit<ComponentPropsWithoutRef<'div'>, 'aria-label' | 'children' | 'title'> {
|
|
26
|
+
/**
|
|
27
|
+
* The questionnaire's compiled / reference date as an ISO-8601 string.
|
|
28
|
+
* Rendered as an absolute `<Timestamp>` in the header.
|
|
29
|
+
*/
|
|
30
|
+
dateIso: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional submission / creation timestamp as an ISO-8601 string.
|
|
33
|
+
* Rendered as a relative `<Timestamp>` caption beneath the heading.
|
|
34
|
+
*/
|
|
35
|
+
createdAtIso?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Form / template name (e.g. "Anamnesi generale"). When omitted, a
|
|
38
|
+
* localised generic heading is used.
|
|
39
|
+
*/
|
|
40
|
+
formName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Count of answers flagged as clinical red-flags. When `> 0`, renders
|
|
43
|
+
* the prominent `error` Badge with a warning glyph + colour-blind dot.
|
|
44
|
+
* Omit / `0` hides the chip.
|
|
45
|
+
*/
|
|
46
|
+
highlightedAnswerCount?: number;
|
|
47
|
+
/** Lifecycle / integrity status — drives the warning / error chips. */
|
|
48
|
+
status?: AnamnesisCardStatus;
|
|
49
|
+
/**
|
|
50
|
+
* The question/answer pairs. Rendered inside the collapsible interview
|
|
51
|
+
* as a `<DescriptionList>` (dt = question, dd = answer). When empty or
|
|
52
|
+
* omitted, the interview shows a localised "no answers" line.
|
|
53
|
+
*/
|
|
54
|
+
answers?: AnamnesisCardAnswer[];
|
|
55
|
+
/**
|
|
56
|
+
* `'elevated'` (default) wraps in `<Card variant="elevated">`. `'flat'`
|
|
57
|
+
* drops the Card — use inside another card / sheet.
|
|
58
|
+
*/
|
|
59
|
+
surface?: 'flat' | 'elevated';
|
|
60
|
+
/** Override the default region aria-label. */
|
|
61
|
+
'aria-label'?: string;
|
|
62
|
+
/** Agent-readiness consumer id, surfaced as `data-component-id`. */
|
|
63
|
+
id?: string;
|
|
64
|
+
}
|
|
65
|
+
export declare const AnamnesisCard: import("react").ForwardRefExoticComponent<AnamnesisCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
66
|
+
export type AnamnesisCardSurface = NonNullable<VariantProps<typeof rootVariants>['surface']>;
|
|
67
|
+
export {};
|
|
68
|
+
//# sourceMappingURL=anamnesis-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anamnesis-card.d.ts","sourceRoot":"","sources":["../../../src/components/anamnesis-card/anamnesis-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAwClE,QAAA,MAAM,YAAY;;8EAWhB,CAAC;AAMH,MAAM,WAAW,mBAAmB;IAClC,oEAAoE;IACpE,QAAQ,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,MAAM,EAAE,SAAS,CAAC;IAClB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yEAAyE;IACzE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAC9C,wBAAwB,CAAC,KAAK,CAAC,EAC/B,YAAY,GAAG,UAAU,GAAG,OAAO,CACpC;IACC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,uEAAuE;IACvE,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAI9B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAMD,eAAO,MAAM,aAAa,+GA+LzB,CAAC;AAIF,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAC5C,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAC7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/anamnesis-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment-card.agent.d.ts","sourceRoot":"","sources":["../../../src/components/appointment-card/appointment-card.agent.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,EAAE,YAkBlC,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import type { AppointmentState } from '../_shared/entity-card';
|
|
4
|
+
export { isSafeEntityUrl as isSafeAppointmentUrl } from '../_shared/is-safe-url';
|
|
5
|
+
/** Appointment delivery channel. */
|
|
6
|
+
export type AppointmentType = 'inPractice' | 'telehealth';
|
|
7
|
+
/** First-visit tri-state flag. */
|
|
8
|
+
export type AppointmentFirstVisit = 'yes' | 'no' | 'unknown';
|
|
9
|
+
/** Operator (clinician) summary — name + optional palette colour id. */
|
|
10
|
+
export interface AppointmentOperator {
|
|
11
|
+
/** Operator display name — drives the avatar initials + accessible name. */
|
|
12
|
+
name: string;
|
|
13
|
+
/** Numeric palette colour id, resolved to a kit token for the colour dot. */
|
|
14
|
+
colorId?: number | string;
|
|
15
|
+
}
|
|
16
|
+
/** Patient summary — identity only, drives the avatar. */
|
|
17
|
+
export interface AppointmentPatient {
|
|
18
|
+
/** Patient display name. */
|
|
19
|
+
name: string;
|
|
20
|
+
/** Optional avatar image URL. */
|
|
21
|
+
avatarUrl?: string;
|
|
22
|
+
}
|
|
23
|
+
/** One treatment line within the appointment. */
|
|
24
|
+
export interface AppointmentTreatment {
|
|
25
|
+
/** Localised care / treatment name. */
|
|
26
|
+
careName: string;
|
|
27
|
+
/** Optional tooth elements (e.g. FDI ids) the treatment targets. */
|
|
28
|
+
elements?: string[];
|
|
29
|
+
}
|
|
30
|
+
/** Booking-reason metadata captured at online-booking time. */
|
|
31
|
+
export interface AppointmentBookingReason {
|
|
32
|
+
/** Localised booking-reason description. */
|
|
33
|
+
description: string;
|
|
34
|
+
/** Expected duration in minutes. */
|
|
35
|
+
durationMin?: number;
|
|
36
|
+
/** Advance / deposit amount in cents (non-negative). */
|
|
37
|
+
advanceAmountCents?: number;
|
|
38
|
+
/** Localised specialty label. */
|
|
39
|
+
specialty?: string;
|
|
40
|
+
}
|
|
41
|
+
/** Boolean appointment flags surfaced as chips / indicators. */
|
|
42
|
+
export interface AppointmentFlags {
|
|
43
|
+
bookedOnline?: boolean;
|
|
44
|
+
noPatientAssigned?: boolean;
|
|
45
|
+
highlightedAnamnesis?: boolean;
|
|
46
|
+
billable?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface AppointmentItem {
|
|
49
|
+
/** Stable appointment identifier. */
|
|
50
|
+
id: string;
|
|
51
|
+
/** ISO-8601 start instant. */
|
|
52
|
+
startIso: string;
|
|
53
|
+
/** Duration in minutes. */
|
|
54
|
+
durationMin: number;
|
|
55
|
+
/** Lifecycle state — drives the Badge variant + label. */
|
|
56
|
+
state: AppointmentState;
|
|
57
|
+
/** Delivery channel — drives the leading type glyph. */
|
|
58
|
+
type: AppointmentType;
|
|
59
|
+
/** First-visit flag. */
|
|
60
|
+
firstVisit?: AppointmentFirstVisit;
|
|
61
|
+
/** Assigned operator. */
|
|
62
|
+
operator?: AppointmentOperator;
|
|
63
|
+
/** Chair / room label. */
|
|
64
|
+
chair?: string;
|
|
65
|
+
/** Patient identity. */
|
|
66
|
+
patient?: AppointmentPatient;
|
|
67
|
+
/** Treatment lines. */
|
|
68
|
+
treatments?: AppointmentTreatment[];
|
|
69
|
+
/** Online booking-reason metadata. */
|
|
70
|
+
bookingReason?: AppointmentBookingReason;
|
|
71
|
+
/** Boolean flags. */
|
|
72
|
+
flags?: AppointmentFlags;
|
|
73
|
+
/** Optional deep link — when present (and safe) the row renders as an anchor. */
|
|
74
|
+
url?: string;
|
|
75
|
+
}
|
|
76
|
+
declare const appointmentCardVariants: (props?: ({
|
|
77
|
+
size?: "sm" | "md" | null | undefined;
|
|
78
|
+
interactive?: boolean | null | undefined;
|
|
79
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
80
|
+
export interface AppointmentCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick' | 'role' | 'title'>, VariantProps<typeof appointmentCardVariants> {
|
|
81
|
+
/** The appointment to render. */
|
|
82
|
+
item: AppointmentItem;
|
|
83
|
+
/** Visual density. */
|
|
84
|
+
size?: 'sm' | 'md';
|
|
85
|
+
/** BCP-47 locale override for the timestamp + currency. */
|
|
86
|
+
locale?: string;
|
|
87
|
+
/** ISO-4217 currency code for the advance-deposit chip. Defaults to `EUR`. */
|
|
88
|
+
currency?: string;
|
|
89
|
+
/** Fires when the row is activated. */
|
|
90
|
+
onActivate?: (item: AppointmentItem) => void;
|
|
91
|
+
}
|
|
92
|
+
export declare const AppointmentCard: import("react").ForwardRefExoticComponent<AppointmentCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
93
|
+
//# sourceMappingURL=appointment-card.d.ts.map
|