@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
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "0.
|
|
3
|
+
"packageVersion": "0.49.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -112,6 +112,36 @@
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "component",
|
|
117
|
+
"id": "ai-consent-banner",
|
|
118
|
+
"capabilities": [],
|
|
119
|
+
"state": [
|
|
120
|
+
{
|
|
121
|
+
"name": "consentState",
|
|
122
|
+
"type": "'granted' | 'required' | 'pending'",
|
|
123
|
+
"description": "Current consent state. Structural only — never the grantee identity."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "armed",
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"description": "Whether the consent confirmation checkbox is ticked (required state only)."
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"actions": [],
|
|
132
|
+
"domHooks": {
|
|
133
|
+
"root": {
|
|
134
|
+
"attr": "data-component",
|
|
135
|
+
"value": "ai-consent-banner",
|
|
136
|
+
"description": "Marks the AiConsentBanner root region."
|
|
137
|
+
},
|
|
138
|
+
"instanceId": {
|
|
139
|
+
"attr": "data-component-id",
|
|
140
|
+
"sourceProp": "id",
|
|
141
|
+
"description": "Sourced from the id prop. Required to address a specific banner from the agent."
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
115
145
|
{
|
|
116
146
|
"kind": "component",
|
|
117
147
|
"id": "ai-prompt-input",
|
|
@@ -172,6 +202,57 @@
|
|
|
172
202
|
}
|
|
173
203
|
}
|
|
174
204
|
},
|
|
205
|
+
{
|
|
206
|
+
"kind": "component",
|
|
207
|
+
"id": "ai-tools-rail",
|
|
208
|
+
"capabilities": [
|
|
209
|
+
"open",
|
|
210
|
+
"close",
|
|
211
|
+
"select_single"
|
|
212
|
+
],
|
|
213
|
+
"state": [
|
|
214
|
+
{
|
|
215
|
+
"name": "activeToolId",
|
|
216
|
+
"type": "string | null",
|
|
217
|
+
"description": "Id of the tool whose panel is currently open, or null when the rail is collapsed to its strip. No panel content is ever exposed."
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"actions": [
|
|
221
|
+
{
|
|
222
|
+
"name": "open",
|
|
223
|
+
"safety": "read",
|
|
224
|
+
"argsType": "{ id: string }",
|
|
225
|
+
"description": "Open the given tool's panel."
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "close",
|
|
229
|
+
"safety": "read",
|
|
230
|
+
"description": "Collapse the rail to its strip (no active tool)."
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "select_tool",
|
|
234
|
+
"safety": "read",
|
|
235
|
+
"argsType": "{ id: string | null }",
|
|
236
|
+
"description": "Set the active tool by id (opens its panel), or pass null to collapse."
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"domHooks": {
|
|
240
|
+
"root": {
|
|
241
|
+
"attr": "data-component",
|
|
242
|
+
"value": "ai-tools-rail",
|
|
243
|
+
"description": "Marks the AiToolsRail wrapper."
|
|
244
|
+
},
|
|
245
|
+
"instanceId": {
|
|
246
|
+
"attr": "data-component-id",
|
|
247
|
+
"sourceProp": "id",
|
|
248
|
+
"description": "Sourced from the id prop. Required to address a specific rail from the agent."
|
|
249
|
+
},
|
|
250
|
+
"item": {
|
|
251
|
+
"attr": "data-tool-id",
|
|
252
|
+
"description": "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
175
256
|
{
|
|
176
257
|
"kind": "component",
|
|
177
258
|
"id": "alert",
|
|
@@ -188,6 +269,25 @@
|
|
|
188
269
|
}
|
|
189
270
|
}
|
|
190
271
|
},
|
|
272
|
+
{
|
|
273
|
+
"kind": "component",
|
|
274
|
+
"id": "anamnesis-card",
|
|
275
|
+
"capabilities": [],
|
|
276
|
+
"state": [],
|
|
277
|
+
"actions": [],
|
|
278
|
+
"domHooks": {
|
|
279
|
+
"root": {
|
|
280
|
+
"attr": "data-component",
|
|
281
|
+
"value": "anamnesis-card",
|
|
282
|
+
"description": "Marks the element as a kit AnamnesisCard. The root also emits data-has-flags when at least one answer is a clinical red-flag — a structural boolean only, never the underlying answer."
|
|
283
|
+
},
|
|
284
|
+
"instanceId": {
|
|
285
|
+
"attr": "data-component-id",
|
|
286
|
+
"sourceProp": "id",
|
|
287
|
+
"description": "Sourced from the id prop — the stable questionnaire identifier."
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
191
291
|
{
|
|
192
292
|
"kind": "component",
|
|
193
293
|
"id": "app-frame",
|
|
@@ -202,6 +302,27 @@
|
|
|
202
302
|
}
|
|
203
303
|
}
|
|
204
304
|
},
|
|
305
|
+
{
|
|
306
|
+
"kind": "component",
|
|
307
|
+
"id": "appointment-card",
|
|
308
|
+
"capabilities": [
|
|
309
|
+
"pick"
|
|
310
|
+
],
|
|
311
|
+
"state": [],
|
|
312
|
+
"actions": [],
|
|
313
|
+
"domHooks": {
|
|
314
|
+
"root": {
|
|
315
|
+
"attr": "data-component",
|
|
316
|
+
"value": "appointment-card",
|
|
317
|
+
"description": "Marks the element as a kit AppointmentCard. The root also emits data-component-id sourced from item.id, data-state with the appointment lifecycle, and data-type with the delivery channel."
|
|
318
|
+
},
|
|
319
|
+
"instanceId": {
|
|
320
|
+
"attr": "data-component-id",
|
|
321
|
+
"sourceProp": "item.id",
|
|
322
|
+
"description": "Sourced from item.id — the stable appointment identifier."
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
205
326
|
{
|
|
206
327
|
"kind": "component",
|
|
207
328
|
"id": "aspect-ratio",
|
|
@@ -598,6 +719,71 @@
|
|
|
598
719
|
}
|
|
599
720
|
}
|
|
600
721
|
},
|
|
722
|
+
{
|
|
723
|
+
"kind": "component",
|
|
724
|
+
"id": "care-plan-card",
|
|
725
|
+
"capabilities": [
|
|
726
|
+
"view_change",
|
|
727
|
+
"expand"
|
|
728
|
+
],
|
|
729
|
+
"state": [
|
|
730
|
+
{
|
|
731
|
+
"name": "state",
|
|
732
|
+
"type": "'estimate' | 'accepted' | 'discarded' | 'closed'",
|
|
733
|
+
"description": "The plan lifecycle state. Enum value only — never the localised label or any PHI."
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "progress",
|
|
737
|
+
"type": "{ done: number; total: number }",
|
|
738
|
+
"description": "Line progress as done / total counts. Counts only — never treatment names or operator identity."
|
|
739
|
+
}
|
|
740
|
+
],
|
|
741
|
+
"actions": [],
|
|
742
|
+
"domHooks": {
|
|
743
|
+
"root": {
|
|
744
|
+
"attr": "data-component",
|
|
745
|
+
"value": "care-plan-card",
|
|
746
|
+
"description": "Marks the CarePlanCard root region."
|
|
747
|
+
},
|
|
748
|
+
"instanceId": {
|
|
749
|
+
"attr": "data-component-id",
|
|
750
|
+
"sourceProp": "id",
|
|
751
|
+
"description": "Sourced from the id prop. Addresses a specific plan."
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"kind": "component",
|
|
757
|
+
"id": "care-plan-entry-card",
|
|
758
|
+
"capabilities": [
|
|
759
|
+
"view_change"
|
|
760
|
+
],
|
|
761
|
+
"state": [
|
|
762
|
+
{
|
|
763
|
+
"name": "done",
|
|
764
|
+
"type": "boolean",
|
|
765
|
+
"description": "Whether the treatment line is marked executed."
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "phaseProgress",
|
|
769
|
+
"type": "{ executed: number; total: number }",
|
|
770
|
+
"description": "Phase progress as executed / total counts. Counts only — never phase labels or operator identity."
|
|
771
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"actions": [],
|
|
774
|
+
"domHooks": {
|
|
775
|
+
"root": {
|
|
776
|
+
"attr": "data-component",
|
|
777
|
+
"value": "care-plan-entry-card",
|
|
778
|
+
"description": "Marks the CarePlanEntryCard root region."
|
|
779
|
+
},
|
|
780
|
+
"instanceId": {
|
|
781
|
+
"attr": "data-component-id",
|
|
782
|
+
"sourceProp": "id",
|
|
783
|
+
"description": "Sourced from the id prop. Addresses a specific line."
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
601
787
|
{
|
|
602
788
|
"kind": "component",
|
|
603
789
|
"id": "carousel",
|
|
@@ -859,6 +1045,46 @@
|
|
|
859
1045
|
}
|
|
860
1046
|
}
|
|
861
1047
|
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "component",
|
|
1050
|
+
"id": "clinical-note-card",
|
|
1051
|
+
"capabilities": [],
|
|
1052
|
+
"state": [
|
|
1053
|
+
{
|
|
1054
|
+
"name": "noteId",
|
|
1055
|
+
"type": "string | undefined",
|
|
1056
|
+
"description": "Stable identifier of the rendered note, when supplied."
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "pinned",
|
|
1060
|
+
"type": "boolean",
|
|
1061
|
+
"description": "Whether the note is pinned to the top of the timeline."
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"name": "flagged",
|
|
1065
|
+
"type": "boolean",
|
|
1066
|
+
"description": "Whether the note is flagged for follow-up."
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"name": "attachmentKind",
|
|
1070
|
+
"type": "'patient' | 'carePlan' | 'carePlanEntry' | 'phase' | 'xray' | undefined",
|
|
1071
|
+
"description": "Structural kind the note is attached to. Never the attachment identity or content."
|
|
1072
|
+
}
|
|
1073
|
+
],
|
|
1074
|
+
"actions": [],
|
|
1075
|
+
"domHooks": {
|
|
1076
|
+
"root": {
|
|
1077
|
+
"attr": "data-component",
|
|
1078
|
+
"value": "clinical-note-card",
|
|
1079
|
+
"description": "Marks the ClinicalNoteCard root. Also emits data-pinned / data-flagged / data-attached-to structural hooks."
|
|
1080
|
+
},
|
|
1081
|
+
"instanceId": {
|
|
1082
|
+
"attr": "data-component-id",
|
|
1083
|
+
"sourceProp": "id",
|
|
1084
|
+
"description": "Sourced from the id prop — addresses a specific note."
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
862
1088
|
{
|
|
863
1089
|
"kind": "component",
|
|
864
1090
|
"id": "collapsible",
|
|
@@ -2454,6 +2680,11 @@
|
|
|
2454
2680
|
"name": "name",
|
|
2455
2681
|
"type": "string",
|
|
2456
2682
|
"description": "Operator display name currently rendered."
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"name": "hasColor",
|
|
2686
|
+
"type": "boolean",
|
|
2687
|
+
"description": "Whether a calendar-colour identity dot is rendered. Structural flag only — never the colour id or any PHI."
|
|
2457
2688
|
}
|
|
2458
2689
|
],
|
|
2459
2690
|
"actions": [],
|
|
@@ -2667,6 +2898,63 @@
|
|
|
2667
2898
|
}
|
|
2668
2899
|
}
|
|
2669
2900
|
},
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "component",
|
|
2903
|
+
"id": "patient-summary-card",
|
|
2904
|
+
"capabilities": [
|
|
2905
|
+
"view_change"
|
|
2906
|
+
],
|
|
2907
|
+
"state": [
|
|
2908
|
+
{
|
|
2909
|
+
"name": "summary",
|
|
2910
|
+
"type": "{ id?: string; hasUnpaid: boolean; unsignedDocumentsCount: number; highlightedAnamnesisCount: number; aiConsentGranted: boolean }",
|
|
2911
|
+
"description": "Structural summary of the patient card — identifiers, counts, and consent flags only. Never patient identity or clinical content."
|
|
2912
|
+
}
|
|
2913
|
+
],
|
|
2914
|
+
"actions": [],
|
|
2915
|
+
"domHooks": {
|
|
2916
|
+
"root": {
|
|
2917
|
+
"attr": "data-component",
|
|
2918
|
+
"value": "patient-summary-card",
|
|
2919
|
+
"description": "Marks the PatientSummaryCard root region."
|
|
2920
|
+
},
|
|
2921
|
+
"instanceId": {
|
|
2922
|
+
"attr": "data-component-id",
|
|
2923
|
+
"sourceProp": "id",
|
|
2924
|
+
"description": "Sourced from the id prop."
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"kind": "component",
|
|
2930
|
+
"id": "payment-card",
|
|
2931
|
+
"capabilities": [],
|
|
2932
|
+
"state": [
|
|
2933
|
+
{
|
|
2934
|
+
"name": "number",
|
|
2935
|
+
"type": "string",
|
|
2936
|
+
"description": "Payment number / reference currently rendered."
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
"name": "state",
|
|
2940
|
+
"type": "'debt' | 'to-invoice' | 'settled'",
|
|
2941
|
+
"description": "Resolved headline financial state. Structural state only — never patient identity."
|
|
2942
|
+
}
|
|
2943
|
+
],
|
|
2944
|
+
"actions": [],
|
|
2945
|
+
"domHooks": {
|
|
2946
|
+
"root": {
|
|
2947
|
+
"attr": "data-component",
|
|
2948
|
+
"value": "payment-card",
|
|
2949
|
+
"description": "Marks the PaymentCard root region."
|
|
2950
|
+
},
|
|
2951
|
+
"instanceId": {
|
|
2952
|
+
"attr": "data-component-id",
|
|
2953
|
+
"sourceProp": "id",
|
|
2954
|
+
"description": "Sourced from the id prop. Addresses a specific card."
|
|
2955
|
+
}
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2670
2958
|
{
|
|
2671
2959
|
"kind": "component",
|
|
2672
2960
|
"id": "payment-form",
|
|
@@ -2744,6 +3032,41 @@
|
|
|
2744
3032
|
}
|
|
2745
3033
|
}
|
|
2746
3034
|
},
|
|
3035
|
+
{
|
|
3036
|
+
"kind": "component",
|
|
3037
|
+
"id": "periodontal-chart-card",
|
|
3038
|
+
"capabilities": [],
|
|
3039
|
+
"state": [
|
|
3040
|
+
{
|
|
3041
|
+
"name": "toothIds",
|
|
3042
|
+
"type": "string[]",
|
|
3043
|
+
"description": "FDI ids of the teeth currently charted. Tooth identifiers only — no patient identity."
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"name": "siteCount",
|
|
3047
|
+
"type": "number",
|
|
3048
|
+
"description": "Total number of probing sites rendered."
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"name": "deepPocketCount",
|
|
3052
|
+
"type": "number",
|
|
3053
|
+
"description": "Number of sites with a probing depth at or above the 6mm severe threshold."
|
|
3054
|
+
}
|
|
3055
|
+
],
|
|
3056
|
+
"actions": [],
|
|
3057
|
+
"domHooks": {
|
|
3058
|
+
"root": {
|
|
3059
|
+
"attr": "data-component",
|
|
3060
|
+
"value": "periodontal-chart-card",
|
|
3061
|
+
"description": "Marks the PeriodontalChartCard root region."
|
|
3062
|
+
},
|
|
3063
|
+
"instanceId": {
|
|
3064
|
+
"attr": "data-component-id",
|
|
3065
|
+
"sourceProp": "id",
|
|
3066
|
+
"description": "Sourced from the id prop."
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
3069
|
+
},
|
|
2747
3070
|
{
|
|
2748
3071
|
"kind": "component",
|
|
2749
3072
|
"id": "phone-input",
|
|
@@ -2911,6 +3234,49 @@
|
|
|
2911
3234
|
}
|
|
2912
3235
|
}
|
|
2913
3236
|
},
|
|
3237
|
+
{
|
|
3238
|
+
"kind": "component",
|
|
3239
|
+
"id": "product-hub-tray",
|
|
3240
|
+
"capabilities": [
|
|
3241
|
+
"open",
|
|
3242
|
+
"close"
|
|
3243
|
+
],
|
|
3244
|
+
"state": [
|
|
3245
|
+
{
|
|
3246
|
+
"name": "unseenCount",
|
|
3247
|
+
"type": "number",
|
|
3248
|
+
"description": "Number of unseen product releases — the trigger badge count."
|
|
3249
|
+
}
|
|
3250
|
+
],
|
|
3251
|
+
"actions": [
|
|
3252
|
+
{
|
|
3253
|
+
"name": "open",
|
|
3254
|
+
"safety": "read",
|
|
3255
|
+
"description": "Open the product-updates panel."
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
"name": "close",
|
|
3259
|
+
"safety": "read",
|
|
3260
|
+
"description": "Close the product-updates panel."
|
|
3261
|
+
}
|
|
3262
|
+
],
|
|
3263
|
+
"domHooks": {
|
|
3264
|
+
"root": {
|
|
3265
|
+
"attr": "data-component",
|
|
3266
|
+
"value": "product-hub-tray",
|
|
3267
|
+
"description": "Marks the ProductHubTray wrapper."
|
|
3268
|
+
},
|
|
3269
|
+
"instanceId": {
|
|
3270
|
+
"attr": "data-component-id",
|
|
3271
|
+
"sourceProp": "id",
|
|
3272
|
+
"description": "Sourced from the id prop. Required to address a specific tray from the agent."
|
|
3273
|
+
},
|
|
3274
|
+
"item": {
|
|
3275
|
+
"attr": "data-update-id",
|
|
3276
|
+
"description": "Stable release id emitted on each rendered release row inside the tray."
|
|
3277
|
+
}
|
|
3278
|
+
}
|
|
3279
|
+
},
|
|
2914
3280
|
{
|
|
2915
3281
|
"kind": "component",
|
|
2916
3282
|
"id": "progress",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { InsertCardField } from './insert-result';
|
|
2
|
+
import type { ResolvedAntenatalEvent } from './antenatal-schedule';
|
|
3
|
+
/** Minimal translator shape this module needs (matches react-i18next's `t`). */
|
|
4
|
+
type Translate = (key: string, opts?: Record<string, unknown>) => string;
|
|
5
|
+
/**
|
|
6
|
+
* Build the inserted-card rows for a resolved schedule, so a host calculator's
|
|
7
|
+
* single Insert button can carry the schedule in its payload (rather than a
|
|
8
|
+
* second Insert button on the schedule card). One row per event: a
|
|
9
|
+
* category-tinted glyph, the localised label, and the date range.
|
|
10
|
+
*/
|
|
11
|
+
export declare function buildScheduleInsertFields(events: ResolvedAntenatalEvent[], t: Translate, formatDate: (date: Date) => string): InsertCardField[];
|
|
12
|
+
export interface AntenatalScheduleTimelineProps {
|
|
13
|
+
/** Resolved schedule events (from `computeAntenatalSchedule`). */
|
|
14
|
+
events: ResolvedAntenatalEvent[];
|
|
15
|
+
}
|
|
16
|
+
export declare function AntenatalScheduleTimeline({ events, }: AntenatalScheduleTimelineProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=antenatal-schedule-timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"antenatal-schedule-timeline.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/antenatal-schedule-timeline.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAW,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,KAAK,EACV,sBAAsB,EAGvB,MAAM,sBAAsB,CAAC;AA2B9B,gFAAgF;AAChF,KAAK,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;AAOzE;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,sBAAsB,EAAE,EAChC,CAAC,EAAE,SAAS,EACZ,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,GACjC,eAAe,EAAE,CAQnB;AAED,MAAM,WAAW,8BAA8B;IAC7C,kEAAkE;IAClE,MAAM,EAAE,sBAAsB,EAAE,CAAC;CAClC;AAED,wBAAgB,yBAAyB,CAAC,EACxC,MAAM,GACP,EAAE,8BAA8B,2CAoEhC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type Plurality, type Chorionicity, type BirthGuideline } from './obstetrics';
|
|
2
|
+
export type AntenatalCategory = 'scan' | 'screening' | 'diagnostic' | 'lab' | 'prophylaxis' | 'milestone';
|
|
3
|
+
/** Which national schedule to resolve. Italy is the default market. */
|
|
4
|
+
export type ScheduleLocale = 'it' | 'uk' | 'international';
|
|
5
|
+
/** Status of a window relative to the reference date (keyed off its end). */
|
|
6
|
+
export type AntenatalStatus = 'past' | 'current' | 'upcoming';
|
|
7
|
+
/** Gestational-diabetes risk tier (drives which OGTT window applies). */
|
|
8
|
+
export type GdmRisk = 'high' | 'medium';
|
|
9
|
+
/** A clinical condition gating whether an event applies to a pregnancy. */
|
|
10
|
+
export type AntenatalCondition = 'rh-negative' | 'gdm-high' | 'gdm-medium' | 'on-indication';
|
|
11
|
+
export interface AntenatalEvent {
|
|
12
|
+
/** Stable key → i18n lookup `antenatalSchedule.event.<key>`. */
|
|
13
|
+
key: string;
|
|
14
|
+
category: AntenatalCategory;
|
|
15
|
+
/** Window start as GA days from gestationalStart (week*7 + day). Inclusive. */
|
|
16
|
+
startDay: number;
|
|
17
|
+
/** Window end as GA days. Inclusive. Equals `startDay` for single dates. */
|
|
18
|
+
endDay: number;
|
|
19
|
+
/** Restrict to these pluralities (omit ⇒ applies to all). */
|
|
20
|
+
plurality?: Plurality[];
|
|
21
|
+
/** Restrict to these chorionicities (omit ⇒ any). */
|
|
22
|
+
chorionicity?: Chorionicity[];
|
|
23
|
+
/** Gate behind a clinical condition (omit ⇒ always applies). */
|
|
24
|
+
condition?: AntenatalCondition;
|
|
25
|
+
/** Citation key for provenance display. */
|
|
26
|
+
source: string;
|
|
27
|
+
/** Interpolation values for the event's i18n string (e.g. surveillance cadence). */
|
|
28
|
+
meta?: Record<string, string | number>;
|
|
29
|
+
}
|
|
30
|
+
export interface ResolvedAntenatalEvent extends AntenatalEvent {
|
|
31
|
+
/** Absolute window start date. */
|
|
32
|
+
start: Date;
|
|
33
|
+
/** Absolute window end date (=== `start` for a single-date event). */
|
|
34
|
+
end: Date;
|
|
35
|
+
/** True when the event is a single calendar date, not a range. */
|
|
36
|
+
single: boolean;
|
|
37
|
+
/** Status relative to the reference date, keyed off the window end. */
|
|
38
|
+
status: AntenatalStatus;
|
|
39
|
+
/** Reference date is within `nearDays` before the window end. */
|
|
40
|
+
near: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface AntenatalScheduleOptions {
|
|
43
|
+
/** Reference date for status. Defaults to the host's current date. */
|
|
44
|
+
today?: Date;
|
|
45
|
+
/** National schedule. Defaults to `'it'`. */
|
|
46
|
+
schedule?: ScheduleLocale;
|
|
47
|
+
/** Number of fetuses. Defaults to `'singleton'`. */
|
|
48
|
+
plurality?: Plurality;
|
|
49
|
+
/** Placentation, for multiples. Defaults to `'unknown'`. */
|
|
50
|
+
chorionicity?: Chorionicity;
|
|
51
|
+
/** Surface the anti-D prophylaxis event (Rh-negative, non-sensitised). */
|
|
52
|
+
rhNegative?: boolean;
|
|
53
|
+
/** Surface the matching OGTT window for the patient's GDM risk tier. */
|
|
54
|
+
gdmRisk?: GdmRisk;
|
|
55
|
+
/** Include `on-indication` diagnostics (CVS, amnio, NIPT). Default false. */
|
|
56
|
+
includeOnIndication?: boolean;
|
|
57
|
+
/** Planned-birth guideline for multiples. Defaults to `'nice'`. */
|
|
58
|
+
birthGuideline?: BirthGuideline;
|
|
59
|
+
/** Days before a window's end still counted as `current`. Default 14. */
|
|
60
|
+
nearDays?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Resolve the antenatal schedule for a pregnancy to dated, status-tagged
|
|
64
|
+
* windows, ordered by start date (then end date). Pure: the only clock is
|
|
65
|
+
* `opts.today` (defaults to a fresh `Date`).
|
|
66
|
+
*/
|
|
67
|
+
export declare function computeAntenatalSchedule(gestationalStart: Date, opts?: AntenatalScheduleOptions): ResolvedAntenatalEvent[];
|
|
68
|
+
//# sourceMappingURL=antenatal-schedule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"antenatal-schedule.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/antenatal-schedule.ts"],"names":[],"mappings":"AA6BA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,iBAAiB,GACzB,MAAM,GACN,WAAW,GACX,YAAY,GACZ,KAAK,GACL,aAAa,GACb,WAAW,CAAC;AAEhB,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,eAAe,CAAC;AAE3D,6EAA6E;AAC7E,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAE9D,yEAAyE;AACzE,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAExC,2EAA2E;AAC3E,MAAM,MAAM,kBAAkB,GAC1B,aAAa,GACb,UAAU,GACV,YAAY,GACZ,eAAe,CAAC;AAEpB,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;IACxB,qDAAqD;IACrD,YAAY,CAAC,EAAE,YAAY,EAAE,CAAC;IAC9B,gEAAgE;IAChE,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,kCAAkC;IAClC,KAAK,EAAE,IAAI,CAAC;IACZ,sEAAsE;IACtE,GAAG,EAAE,IAAI,CAAC;IACV,kEAAkE;IAClE,MAAM,EAAE,OAAO,CAAC;IAChB,uEAAuE;IACvE,MAAM,EAAE,eAAe,CAAC;IACxB,iEAAiE;IACjE,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,sEAAsE;IACtE,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,oDAAoD;IACpD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mEAAmE;IACnE,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAoTD;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,gBAAgB,EAAE,IAAI,EACtB,IAAI,GAAE,wBAA6B,GAClC,sBAAsB,EAAE,CA2C1B"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { BadgeProps } from '../../badge/badge';
|
|
2
|
+
/** The closed set of Badge variants the entity cards may use. */
|
|
3
|
+
type BadgeVariant = NonNullable<BadgeProps['variant']>;
|
|
4
|
+
/**
|
|
5
|
+
* Shared card surface — `elevated` paints the kit card chrome (fill,
|
|
6
|
+
* hairline border, shadow); `flat` drops it for use inside an existing
|
|
7
|
+
* Card / Sheet. `density` tunes the internal padding.
|
|
8
|
+
*/
|
|
9
|
+
export declare const entitySurfaceVariants: (props?: ({
|
|
10
|
+
surface?: "flat" | "elevated" | null | undefined;
|
|
11
|
+
density?: "compact" | "comfortable" | null | undefined;
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
+
/** Care-plan lifecycle state → Badge variant. */
|
|
14
|
+
export declare const CARE_PLAN_STATE_BADGE: {
|
|
15
|
+
readonly estimate: "info";
|
|
16
|
+
readonly accepted: "success";
|
|
17
|
+
readonly discarded: "error";
|
|
18
|
+
readonly closed: "neutral";
|
|
19
|
+
};
|
|
20
|
+
export type CarePlanState = keyof typeof CARE_PLAN_STATE_BADGE;
|
|
21
|
+
/** Appointment lifecycle state → Badge variant. */
|
|
22
|
+
export declare const APPOINTMENT_STATE_BADGE: {
|
|
23
|
+
readonly absent: "error";
|
|
24
|
+
readonly waiting: "warning";
|
|
25
|
+
readonly in_care: "info";
|
|
26
|
+
readonly done: "success";
|
|
27
|
+
readonly cancelled: "error";
|
|
28
|
+
readonly confirmed: "success";
|
|
29
|
+
};
|
|
30
|
+
export type AppointmentState = keyof typeof APPOINTMENT_STATE_BADGE;
|
|
31
|
+
/** Fallback variant for an unknown / out-of-vocabulary appointment state. */
|
|
32
|
+
export declare const APPOINTMENT_STATE_BADGE_DEFAULT: BadgeVariant;
|
|
33
|
+
/**
|
|
34
|
+
* Resolve an appointment state to its Badge variant, falling back to a
|
|
35
|
+
* neutral chip for any value outside the known vocabulary.
|
|
36
|
+
*/
|
|
37
|
+
export declare function appointmentStateBadge(state: string): BadgeVariant;
|
|
38
|
+
export declare function colorIdToToken(colorId: number | string | null | undefined): string;
|
|
39
|
+
export { isSafeEntityUrl } from '../is-safe-url';
|
|
40
|
+
//# sourceMappingURL=entity-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-card.d.ts","sourceRoot":"","sources":["../../../../src/components/_shared/entity-card/entity-card.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAapD,iEAAiE;AACjE,KAAK,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;AAKvD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;8EA0BjC,CAAC;AAMF,iDAAiD;AACjD,eAAO,MAAM,qBAAqB;;;;;CAKe,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAE/D,mDAAmD;AACnD,eAAO,MAAM,uBAAuB;;;;;;;CAOa,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,uBAAuB,CAAC;AAEpE,6EAA6E;AAC7E,eAAO,MAAM,+BAA+B,EAAE,YAAwB,CAAC;AAEvE;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAKjE;AA2BD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,MAAM,CASR;AAMD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { entitySurfaceVariants, CARE_PLAN_STATE_BADGE, APPOINTMENT_STATE_BADGE, APPOINTMENT_STATE_BADGE_DEFAULT, appointmentStateBadge, colorIdToToken, isSafeEntityUrl, } from './entity-card';
|
|
2
|
+
export type { CarePlanState, AppointmentState } from './entity-card';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/_shared/entity-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export { composeRefs } from './compose-refs';
|
|
2
2
|
export { isSafeImageSrc, safeImageSrc } from './safe-image-src';
|
|
3
|
+
export { isSafeEntityUrl } from './is-safe-url';
|
|
4
|
+
export { entitySurfaceVariants, CARE_PLAN_STATE_BADGE, APPOINTMENT_STATE_BADGE, APPOINTMENT_STATE_BADGE_DEFAULT, appointmentStateBadge, colorIdToToken, type CarePlanState, type AppointmentState, } from './entity-card';
|
|
3
5
|
export { SafeHtml, sanitiseHtml, type SafeHtmlProfile, type SafeHtmlProps, } from './safe-html';
|
|
4
6
|
export { groupOptions } from './group-options';
|
|
7
|
+
export { computeDueDate, trimesterForWeeks, gestationalMilestones, trimesterHighlightToken, plannedBirthWindow, crlToGestationalAgeDays, redatingThresholdDays, redateByCrl, MILESTONE_WEEKS, GESTATION_DAYS, CONCEPTION_OFFSET_DAYS, TERM_FROM_CONCEPTION_DAYS, DEFAULT_CYCLE_LENGTH, CRL_DATING_MIN_MM, CRL_DATING_MAX_MM, TRIMESTER_BADGE_VARIANT, TRIMESTER_HIGHLIGHT_TOKEN, type BirthGuideline, type BirthWindow, type CrlRedatingInput, type CrlRedatingResult, type DueDateMethod, type EmbryoAge, type Trimester, type TrimesterBadgeVariant, type DueDateInput, type DueDateResult, type GestationalAge, type GestationalMilestone, type Plurality, type Chorionicity, } from './obstetrics';
|
|
8
|
+
export { computeAntenatalSchedule, type AntenatalEvent, type ResolvedAntenatalEvent, type AntenatalScheduleOptions, type AntenatalCategory, type AntenatalStatus, type AntenatalCondition, type ScheduleLocale, type GdmRisk, } from './antenatal-schedule';
|
|
9
|
+
export { AntenatalScheduleTimeline, type AntenatalScheduleTimelineProps, } from './antenatal-schedule-timeline';
|
|
5
10
|
export { InsertButton, buildResultText, buildResultHtml, buildResultCardSvg, svgCardToPngDataUri, svgCardToPng, type InsertButtonProps, type InsertVariant, type InsertPayload, type InsertPngResult, type InsertMode, type InsertCardData, type InsertCardField, type InsertCardGauge, type SvgCardToPngOptions, } from './insert-result';
|
|
6
11
|
export { normalizeDiacritics } from './normalize-diacritics';
|
|
7
12
|
export { useDebouncedCallback } from './use-debounced-callback';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,wBAAwB,EACxB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,OAAO,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,KAAK,8BAA8B,GACpC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared URL allow-list for the card family (AgendaCard, MessageCard,
|
|
3
|
+
* NotificationCard, TaskCard, …). Lifted from the per-card `isSafe*Url`
|
|
4
|
+
* duplicates so every entity card guards deep links the same way.
|
|
5
|
+
*
|
|
6
|
+
* Only http(s) absolute URLs, single-leading-slash same-origin paths, and
|
|
7
|
+
* in-page hash anchors pass. Protocol-relative (`//host`), `javascript:`,
|
|
8
|
+
* `data:`, and `mailto:` URLs are rejected — an unsafe URL makes the card
|
|
9
|
+
* fall back to a `<button>` so it stays interactive without becoming a
|
|
10
|
+
* phishing vector.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isSafeEntityUrl(url: string): boolean;
|
|
13
|
+
//# sourceMappingURL=is-safe-url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-safe-url.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/is-safe-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEpD"}
|