@alfadocs/ui-kit-debug 1.3.13 → 1.4.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/agenda-card.agent-Cb5tuEh3.js +28 -0
- package/dist/_chunks/agenda-card.agent-Cb5tuEh3.js.map +1 -0
- package/dist/_chunks/{alia-sidebar-DzNz1gDf.js → alia-sidebar-DSBZMick.js} +3 -3
- package/dist/_chunks/{alia-sidebar-DzNz1gDf.js.map → alia-sidebar-DSBZMick.js.map} +1 -1
- package/dist/_chunks/{anamnesis-i18n-CfC0qYzy.js → anamnesis-i18n-BA631X4t.js} +2209 -2144
- package/dist/_chunks/anamnesis-i18n-BA631X4t.js.map +1 -0
- package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js → antenatal-schedule-timeline-u8TsS2QJ.js} +27 -26
- package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js.map → antenatal-schedule-timeline-u8TsS2QJ.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-B630OT_J.js → appointment-timeline-Bqf1sTU5.js} +2 -2
- package/dist/_chunks/{appointment-timeline-B630OT_J.js.map → appointment-timeline-Bqf1sTU5.js.map} +1 -1
- package/dist/_chunks/{ar-THMLfSoN.js → ar-BR1FGFP2.js} +14 -14
- package/dist/_chunks/{ar-THMLfSoN.js.map → ar-BR1FGFP2.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-CM0-G2mg.js → bmi-calculator-CpyY13MV.js} +2 -2
- package/dist/_chunks/{bmi-calculator-CM0-G2mg.js.map → bmi-calculator-CpyY13MV.js.map} +1 -1
- package/dist/_chunks/{booking-DjNbd7C1.js → booking-BjsA7j1-.js} +699 -688
- package/dist/_chunks/booking-BjsA7j1-.js.map +1 -0
- package/dist/_chunks/calculator-dialog-12d3Sxaz.js +48 -0
- package/dist/_chunks/{calculator-dialog-DuXMQSdm.js.map → calculator-dialog-12d3Sxaz.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-1G_f4I5s.js → care-plan-card-BvQy366X.js} +3 -3
- package/dist/_chunks/{care-plan-card-1G_f4I5s.js.map → care-plan-card-BvQy366X.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js → care-plan-entry-card-apk_5B3O.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js.map → care-plan-entry-card-apk_5B3O.js.map} +1 -1
- package/dist/_chunks/{chat-container-HlFnoEIl.js → chat-container-CYYego1W.js} +105 -81
- package/dist/_chunks/chat-container-CYYego1W.js.map +1 -0
- package/dist/_chunks/cycle-calculator-B7fyH-h4.js +425 -0
- package/dist/_chunks/cycle-calculator-B7fyH-h4.js.map +1 -0
- package/dist/_chunks/{date-picker-ZHejTVAJ.js → date-picker-Bp64zk2p.js} +19 -19
- package/dist/_chunks/{date-picker-ZHejTVAJ.js.map → date-picker-Bp64zk2p.js.map} +1 -1
- package/dist/_chunks/date-picker-variants-pKAJfnWr.js +2089 -0
- package/dist/_chunks/date-picker-variants-pKAJfnWr.js.map +1 -0
- package/dist/_chunks/{date-range-picker-pEG3Ln3i.js → date-range-picker-CDrZ8Zh0.js} +27 -27
- package/dist/_chunks/{date-range-picker-pEG3Ln3i.js.map → date-range-picker-CDrZ8Zh0.js.map} +1 -1
- package/dist/_chunks/{date-time-picker-695QvBGj.js → date-time-picker-DafkGDGO.js} +10 -10
- package/dist/_chunks/{date-time-picker-695QvBGj.js.map → date-time-picker-DafkGDGO.js.map} +1 -1
- package/dist/_chunks/{de-DmZ-8rTN.js → de-3iM4rGqo.js} +7 -7
- package/dist/_chunks/{de-DmZ-8rTN.js.map → de-3iM4rGqo.js.map} +1 -1
- package/dist/_chunks/{document-preview-D3gg4MXB.js → document-preview-DOrsqiN1.js} +2 -2
- package/dist/_chunks/{document-preview-D3gg4MXB.js.map → document-preview-DOrsqiN1.js.map} +1 -1
- package/dist/_chunks/due-date-calculator-CnkbbAej.js +571 -0
- package/dist/_chunks/due-date-calculator-CnkbbAej.js.map +1 -0
- package/dist/_chunks/{editor-overlay-DE3esyio.js → editor-overlay-B1tr2i7B.js} +22 -21
- package/dist/_chunks/editor-overlay-B1tr2i7B.js.map +1 -0
- package/dist/_chunks/{el-Bela9mxs.js → el-C96rGJvU.js} +2 -2
- package/dist/_chunks/{el-Bela9mxs.js.map → el-C96rGJvU.js.map} +1 -1
- package/dist/_chunks/{es-BNncHKex.js → es-Cxiqjx8r.js} +12 -12
- package/dist/_chunks/{es-BNncHKex.js.map → es-Cxiqjx8r.js.map} +1 -1
- package/dist/_chunks/fetal-weight-avlj-l-S.js +223 -0
- package/dist/_chunks/fetal-weight-avlj-l-S.js.map +1 -0
- package/dist/_chunks/format-4HNwNGrN.js +1315 -0
- package/dist/_chunks/format-4HNwNGrN.js.map +1 -0
- package/dist/_chunks/{fr-CH8ADfhN.js → fr-Bhr6SYKj.js} +21 -21
- package/dist/_chunks/{fr-CH8ADfhN.js.map → fr-Bhr6SYKj.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js → freemium-paywall-DRDdWuOg.js} +3 -3
- package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js.map → freemium-paywall-DRDdWuOg.js.map} +1 -1
- package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js +488 -0
- package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js.map +1 -0
- package/dist/_chunks/hcg-doubling-Cv_vH61p.js +312 -0
- package/dist/_chunks/hcg-doubling-Cv_vH61p.js.map +1 -0
- package/dist/_chunks/header-settings-Cn5fPXCE.js +335 -0
- package/dist/_chunks/header-settings-Cn5fPXCE.js.map +1 -0
- package/dist/_chunks/{hi-Bppfxp8l.js → hi-BxXX26d_.js} +12 -12
- package/dist/_chunks/{hi-Bppfxp8l.js.map → hi-BxXX26d_.js.map} +1 -1
- package/dist/_chunks/isSameWeek-B73MagWB.js +13 -0
- package/dist/_chunks/{isSameWeek-CK4HS9lH.js.map → isSameWeek-B73MagWB.js.map} +1 -1
- package/dist/_chunks/{it-B4ySaRyK.js → it-Xmjomvyj.js} +24 -24
- package/dist/_chunks/{it-B4ySaRyK.js.map → it-Xmjomvyj.js.map} +1 -1
- package/dist/_chunks/{ja-CGF6Io9P.js → ja-mfZvt1ZV.js} +16 -16
- package/dist/_chunks/{ja-CGF6Io9P.js.map → ja-mfZvt1ZV.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js → link-cell-renderer-CJ_gk7gl.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js.map → link-cell-renderer-CJ_gk7gl.js.map} +1 -1
- package/dist/_chunks/{locale-picker-BfBUdT1m.js → locale-picker-D9Kv2zrK.js} +153 -132
- package/dist/_chunks/locale-picker-D9Kv2zrK.js.map +1 -0
- package/dist/_chunks/map-view-2yZCQW2l.js +445 -0
- package/dist/_chunks/map-view-2yZCQW2l.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-DwcFMxzp.js → marketplace-app-shell-BLRvg-M0.js} +49 -40
- package/dist/_chunks/marketplace-app-shell-BLRvg-M0.js.map +1 -0
- package/dist/_chunks/{nl-DuShqwuV.js → nl-DDs-KEnD.js} +15 -15
- package/dist/_chunks/{nl-DuShqwuV.js.map → nl-DDs-KEnD.js.map} +1 -1
- package/dist/_chunks/{notes-panel-DPsgB4Mv.js → notes-panel-CiFN3sLW.js} +2 -2
- package/dist/_chunks/{notes-panel-DPsgB4Mv.js.map → notes-panel-CiFN3sLW.js.map} +1 -1
- package/dist/_chunks/{number-input-DrozbZAU.js → number-input-DOe5VYei.js} +64 -64
- package/dist/_chunks/number-input-DOe5VYei.js.map +1 -0
- package/dist/_chunks/{optical-prescription-BDHJr8Zz.js → optical-prescription-CRemE8fL.js} +2 -2
- package/dist/_chunks/{optical-prescription-BDHJr8Zz.js.map → optical-prescription-CRemE8fL.js.map} +1 -1
- package/dist/_chunks/{parse-DvA97ro9.js → parse-JqixfsU0.js} +43 -43
- package/dist/_chunks/{parse-DvA97ro9.js.map → parse-JqixfsU0.js.map} +1 -1
- package/dist/_chunks/parseISO-fOGpHKXm.js +120 -0
- package/dist/_chunks/parseISO-fOGpHKXm.js.map +1 -0
- package/dist/_chunks/{patient-details-DqjjwPmt.js → patient-details-CpunD0qx.js} +3 -3
- package/dist/_chunks/{patient-details-DqjjwPmt.js.map → patient-details-CpunD0qx.js.map} +1 -1
- package/dist/_chunks/{patient-table-BmIDrLIS.js → patient-table-2eWx-Rrk.js} +2 -2
- package/dist/_chunks/{patient-table-BmIDrLIS.js.map → patient-table-2eWx-Rrk.js.map} +1 -1
- package/dist/_chunks/{payment-form-h-BZ8onk.js → payment-form-Ds1I9KqB.js} +308 -231
- package/dist/_chunks/payment-form-Ds1I9KqB.js.map +1 -0
- package/dist/_chunks/{pdf-viewer-Ddx-T053.js → pdf-viewer-DUIsV9s5.js} +429 -369
- package/dist/_chunks/pdf-viewer-DUIsV9s5.js.map +1 -0
- package/dist/_chunks/{pl-CKQwX9Fk.js → pl-BYYMnEWP.js} +18 -18
- package/dist/_chunks/{pl-CKQwX9Fk.js.map → pl-BYYMnEWP.js.map} +1 -1
- package/dist/_chunks/{practice-results-B-HPc13W.js → practice-results-SjCniMd2.js} +2 -2
- package/dist/_chunks/{practice-results-B-HPc13W.js.map → practice-results-SjCniMd2.js.map} +1 -1
- package/dist/_chunks/pregnancy-dating-BmpHScZ0.js +770 -0
- package/dist/_chunks/pregnancy-dating-BmpHScZ0.js.map +1 -0
- package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js +553 -0
- package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js.map +1 -0
- package/dist/_chunks/progress-CK8otcQ-.js +343 -0
- package/dist/_chunks/progress-CK8otcQ-.js.map +1 -0
- package/dist/_chunks/{pt-_njpXyOZ.js → pt-BSPnVrQ7.js} +20 -20
- package/dist/_chunks/{pt-_njpXyOZ.js.map → pt-BSPnVrQ7.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js → radiograph-panel.agent-CtFtNMzk.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js.map → radiograph-panel.agent-CtFtNMzk.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-CfeXPPWs.js → rich-text-editor-BedTpWzL.js} +2 -2
- package/dist/_chunks/{rich-text-editor-CfeXPPWs.js.map → rich-text-editor-BedTpWzL.js.map} +1 -1
- package/dist/_chunks/{ro-3X6_4FcN.js → ro-BbiylGmG.js} +14 -14
- package/dist/_chunks/{ro-3X6_4FcN.js.map → ro-BbiylGmG.js.map} +1 -1
- package/dist/_chunks/{ru-bAcgmnS-.js → ru-BX_qsV67.js} +14 -14
- package/dist/_chunks/{ru-bAcgmnS-.js.map → ru-BX_qsV67.js.map} +1 -1
- package/dist/_chunks/{session-countdown-Bc70VXN1.js → session-countdown-BL-Psg8u.js} +2 -2
- package/dist/_chunks/{session-countdown-Bc70VXN1.js.map → session-countdown-BL-Psg8u.js.map} +1 -1
- package/dist/_chunks/{sign-document-CW_ByDUh.js → sign-document-jF4fZDJ5.js} +2 -2
- package/dist/_chunks/{sign-document-CW_ByDUh.js.map → sign-document-jF4fZDJ5.js.map} +1 -1
- package/dist/_chunks/slot-grid-DNiUcXy2.js +640 -0
- package/dist/_chunks/slot-grid-DNiUcXy2.js.map +1 -0
- package/dist/_chunks/{sparkline-BTY4B5tv.js → sparkline-BmGcEyZO.js} +209 -164
- package/dist/_chunks/sparkline-BmGcEyZO.js.map +1 -0
- package/dist/_chunks/{sq-jYFqr4Ga.js → sq-i9UOk4P7.js} +10 -10
- package/dist/_chunks/{sq-jYFqr4Ga.js.map → sq-i9UOk4P7.js.map} +1 -1
- package/dist/_chunks/subDays-CAUv47M1.js +8 -0
- package/dist/_chunks/{subDays-BcNi04uf.js.map → subDays-CAUv47M1.js.map} +1 -1
- package/dist/_chunks/{sv-BSGEJ-8B.js → sv-CpTdtmDQ.js} +8 -8
- package/dist/_chunks/{sv-BSGEJ-8B.js.map → sv-CpTdtmDQ.js.map} +1 -1
- package/dist/_chunks/{tab-bar-Axhk6xzx.js → tab-bar-BYESZINM.js} +83 -77
- package/dist/_chunks/tab-bar-BYESZINM.js.map +1 -0
- package/dist/_chunks/task-card.agent-CF2N_uu4.js +29 -0
- package/dist/_chunks/task-card.agent-CF2N_uu4.js.map +1 -0
- package/dist/_chunks/{tr-CTpgUtw6.js → tr-DXG2QN1K.js} +17 -17
- package/dist/_chunks/{tr-CTpgUtw6.js.map → tr-DXG2QN1K.js.map} +1 -1
- package/dist/_chunks/{unit-converter-COgkN7YP.js → unit-converter-CHPDuV7W.js} +2 -2
- package/dist/_chunks/{unit-converter-COgkN7YP.js.map → unit-converter-CHPDuV7W.js.map} +1 -1
- package/dist/_chunks/{warning-stack-BtjmJChC.js → warning-stack-B7t_8jRE.js} +42 -37
- package/dist/_chunks/{warning-stack-BtjmJChC.js.map → warning-stack-B7t_8jRE.js.map} +1 -1
- package/dist/_chunks/{zh-CN-BgM0Io2O.js → zh-CN-vPkPEK6H.js} +18 -18
- package/dist/_chunks/{zh-CN-BgM0Io2O.js.map → zh-CN-vPkPEK6H.js.map} +1 -1
- package/dist/agent-catalog.json +6426 -3382
- package/dist/agent-i18n/en.json +234 -15
- package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking.d.ts.map +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/calculator-dialog.d.ts.map +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -1
- package/dist/components/chat-container/chat-container.d.ts +14 -0
- package/dist/components/chat-container/chat-container.d.ts.map +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts +4 -0
- package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts.map +1 -0
- package/dist/components/cycle-calculator/cycle-calculator.d.ts +42 -0
- package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
- package/dist/components/cycle-calculator/index.d.ts +1 -1
- package/dist/components/cycle-calculator/index.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/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts +4 -0
- package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts.map +1 -0
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +61 -1
- package/dist/components/due-date-calculator/due-date-calculator.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 +2 -2
- package/dist/components/editor-overlay/editor-overlay.d.ts +7 -1
- package/dist/components/editor-overlay/editor-overlay.d.ts.map +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/fetal-weight/fetal-weight.agent.d.ts +4 -0
- package/dist/components/fetal-weight/fetal-weight.agent.d.ts.map +1 -0
- package/dist/components/fetal-weight/fetal-weight.d.ts +26 -0
- package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -1
- package/dist/components/fetal-weight/index.d.ts +1 -1
- package/dist/components/fetal-weight/index.d.ts.map +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts +4 -0
- package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts.map +1 -0
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +44 -2
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
- package/dist/components/gestational-age-calculator/index.d.ts +1 -1
- package/dist/components/gestational-age-calculator/index.d.ts.map +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts +4 -0
- package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts.map +1 -0
- package/dist/components/hcg-doubling/hcg-doubling.d.ts +30 -0
- package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -1
- package/dist/components/hcg-doubling/index.d.ts +1 -1
- package/dist/components/hcg-doubling/index.d.ts.map +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/header-settings.agent.d.ts.map +1 -1
- package/dist/components/header-settings/header-settings.d.ts +13 -1
- package/dist/components/header-settings/header-settings.d.ts.map +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/locale-picker/locale-picker.agent.d.ts.map +1 -1
- package/dist/components/locale-picker/locale-picker.d.ts +9 -0
- package/dist/components/locale-picker/locale-picker.d.ts.map +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.agent.d.ts.map +1 -1
- package/dist/components/map-view/map-view.d.ts +22 -0
- package/dist/components/map-view/map-view.d.ts.map +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.d.ts +2 -1
- package/dist/components/number-input/number-input.d.ts.map +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-form/index.d.ts +1 -1
- package/dist/components/payment-form/index.d.ts.map +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
- package/dist/components/payment-form/payment-form.d.ts +32 -1
- package/dist/components/payment-form/payment-form.d.ts.map +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +13 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.d.ts +1 -1
- package/dist/components/pregnancy-dating/index.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts +4 -0
- package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts.map +1 -0
- package/dist/components/pregnancy-dating/pregnancy-dating.d.ts +65 -1
- package/dist/components/pregnancy-dating/pregnancy-dating.d.ts.map +1 -1
- package/dist/components/pregnancy-weight-gain/index.d.ts +2 -1
- package/dist/components/pregnancy-weight-gain/index.d.ts.map +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +6 -5
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts +4 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts.map +1 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +35 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/progress.agent.d.ts.map +1 -1
- package/dist/components/progress/progress.d.ts +13 -0
- package/dist/components/progress/progress.d.ts.map +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/slot-grid/index.d.ts +2 -1
- package/dist/components/slot-grid/index.d.ts.map +1 -1
- package/dist/components/slot-grid/index.js +5 -4
- package/dist/components/slot-grid/slot-grid.agent.d.ts +4 -0
- package/dist/components/slot-grid/slot-grid.agent.d.ts.map +1 -0
- package/dist/components/slot-grid/slot-grid.d.ts +34 -0
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
- package/dist/components/sparkline/sparkline.d.ts +10 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts +13 -0
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.agent.d.ts.map +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/index.js +630 -627
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/anamnesis-compare-panel.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-compile.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-derive.d.ts +27 -8
- package/dist/patterns/anamnesis/anamnesis-derive.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-evolution-grid.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-field.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-format.d.ts +11 -3
- package/dist/patterns/anamnesis/anamnesis-format.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-highlight.d.ts +6 -0
- package/dist/patterns/anamnesis/anamnesis-highlight.d.ts.map +1 -0
- package/dist/patterns/anamnesis/anamnesis-intake.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-matrix.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +23 -9
- package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-readonly.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-target-strip.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-types.d.ts +7 -0
- package/dist/patterns/anamnesis/anamnesis-types.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-visit-note.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis.d.ts +16 -7
- package/dist/patterns/anamnesis/anamnesis.d.ts.map +1 -1
- package/dist/patterns/anamnesis/index.d.ts +3 -2
- package/dist/patterns/anamnesis/index.d.ts.map +1 -1
- package/dist/patterns/anamnesis/index.js +7 -6
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +6 -0
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js +0 -27
- package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js.map +0 -1
- package/dist/_chunks/anamnesis-i18n-CfC0qYzy.js.map +0 -1
- package/dist/_chunks/booking-DjNbd7C1.js.map +0 -1
- package/dist/_chunks/calculator-dialog-DuXMQSdm.js +0 -40
- package/dist/_chunks/chat-container-HlFnoEIl.js.map +0 -1
- package/dist/_chunks/cycle-calculator-BwqYVPB4.js +0 -252
- package/dist/_chunks/cycle-calculator-BwqYVPB4.js.map +0 -1
- package/dist/_chunks/date-picker-variants-eL6HjWvw.js +0 -3363
- package/dist/_chunks/date-picker-variants-eL6HjWvw.js.map +0 -1
- package/dist/_chunks/due-date-calculator-CwfsFd3T.js +0 -256
- package/dist/_chunks/due-date-calculator-CwfsFd3T.js.map +0 -1
- package/dist/_chunks/editor-overlay-DE3esyio.js.map +0 -1
- package/dist/_chunks/fetal-weight-ePlLjJPc.js +0 -122
- package/dist/_chunks/fetal-weight-ePlLjJPc.js.map +0 -1
- package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js +0 -311
- package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js.map +0 -1
- package/dist/_chunks/hcg-doubling-BBqD2wI2.js +0 -170
- package/dist/_chunks/hcg-doubling-BBqD2wI2.js.map +0 -1
- package/dist/_chunks/header-settings--pjYOe6g.js +0 -284
- package/dist/_chunks/header-settings--pjYOe6g.js.map +0 -1
- package/dist/_chunks/isSameDay-DUEiAT0G.js +0 -39
- package/dist/_chunks/isSameDay-DUEiAT0G.js.map +0 -1
- package/dist/_chunks/isSameWeek-CK4HS9lH.js +0 -14
- package/dist/_chunks/locale-picker-BfBUdT1m.js.map +0 -1
- package/dist/_chunks/map-view-CsaHfoo6.js +0 -378
- package/dist/_chunks/map-view-CsaHfoo6.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-DwcFMxzp.js.map +0 -1
- package/dist/_chunks/number-input-DrozbZAU.js.map +0 -1
- package/dist/_chunks/payment-form-h-BZ8onk.js.map +0 -1
- package/dist/_chunks/pdf-viewer-Ddx-T053.js.map +0 -1
- package/dist/_chunks/pregnancy-dating-DzYTlBkT.js +0 -421
- package/dist/_chunks/pregnancy-dating-DzYTlBkT.js.map +0 -1
- package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js +0 -322
- package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js.map +0 -1
- package/dist/_chunks/progress-DA413-zn.js +0 -299
- package/dist/_chunks/progress-DA413-zn.js.map +0 -1
- package/dist/_chunks/slot-grid-CQSULZjd.js +0 -502
- package/dist/_chunks/slot-grid-CQSULZjd.js.map +0 -1
- package/dist/_chunks/sparkline-BTY4B5tv.js.map +0 -1
- package/dist/_chunks/subDays-BcNi04uf.js +0 -8
- package/dist/_chunks/tab-bar-Axhk6xzx.js.map +0 -1
- package/dist/_chunks/task-card.agent-Bt14CzUd.js +0 -25
- package/dist/_chunks/task-card.agent-Bt14CzUd.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as r, D as l, T as t, a as s, b as n, c as o, d, e as i, f as C } from "../../_chunks/actions-cell-renderer-Ceah0ywE.js";
|
|
2
2
|
import { B as T, C as F, E as g, a as b, R as u, T as c, b as m, r as f, u as x } from "../../_chunks/editable-currency-cell-renderer-Uhzkd0ZP.js";
|
|
3
|
-
import { C as p, D as h, a as y, b as E, I as S, L as A, N as L, c as N, S as B, d as I, e as P, T as U, f as W, g as k, U as v } from "../../_chunks/link-cell-renderer-
|
|
3
|
+
import { C as p, D as h, a as y, b as E, I as S, L as A, N as L, c as N, S as B, d as I, e as P, T as U, f as W, g as k, U as v } from "../../_chunks/link-cell-renderer-CJ_gk7gl.js";
|
|
4
4
|
export {
|
|
5
5
|
r as ActionsCellRenderer,
|
|
6
6
|
T as BalanceCellRenderer,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"due-date-calculator.agent.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/due-date-calculator.agent.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAUrE,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,uBAAuB,CA4PxE,CAAC"}
|
|
@@ -1,10 +1,70 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
|
|
3
|
-
import { type DueDateMethod, type DueDateResult } from '../_shared/obstetrics';
|
|
3
|
+
import { type DueDateMethod, type EmbryoAge, type DueDateResult } from '../_shared/obstetrics';
|
|
4
4
|
import { type AntenatalScheduleOptions } from '../_shared/antenatal-schedule';
|
|
5
5
|
declare const rootVariants: (props?: ({
|
|
6
6
|
width?: "auto" | "full" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
/** The dating inputs as entered. */
|
|
9
|
+
export interface DueDateInputsSnapshot {
|
|
10
|
+
/** Which anchor the pregnancy is dated from. */
|
|
11
|
+
method: DueDateMethod;
|
|
12
|
+
/** The method's reference date (`yyyy-MM-dd`), or null when unset. */
|
|
13
|
+
referenceDate: string | null;
|
|
14
|
+
/** LMP only — average cycle length in days, or null for the 28-day default. */
|
|
15
|
+
cycleLength: number | null;
|
|
16
|
+
/** IVF only — embryo age at transfer, in days. */
|
|
17
|
+
embryoAge: EmbryoAge;
|
|
18
|
+
/** LMP only — crown-rump length in millimetres, or null. */
|
|
19
|
+
crlMm: number | null;
|
|
20
|
+
/** LMP only — date of the CRL scan (`yyyy-MM-dd`), or null. */
|
|
21
|
+
scanDate: string | null;
|
|
22
|
+
/** The date gestational age and trimester are evaluated against. */
|
|
23
|
+
asOfDate: string;
|
|
24
|
+
}
|
|
25
|
+
/** `DueDateResult` projected onto the agent boundary — ISO dates, no Dates. */
|
|
26
|
+
export interface DueDateSnapshot {
|
|
27
|
+
/** Estimated date of delivery, `yyyy-MM-dd`. */
|
|
28
|
+
dueDate: string;
|
|
29
|
+
/** GA day-0 anchor (effective LMP) after any CRL re-dating, `yyyy-MM-dd`. */
|
|
30
|
+
gestationalStart: string;
|
|
31
|
+
/** Gestational age as of the evaluation date; null before conception. */
|
|
32
|
+
gestationalAge: {
|
|
33
|
+
weeks: number;
|
|
34
|
+
days: number;
|
|
35
|
+
totalDays: number;
|
|
36
|
+
} | null;
|
|
37
|
+
/** Trimester band as of the evaluation date. */
|
|
38
|
+
trimester: DueDateResult['trimester'];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Curated imperative handle for agent / external automation. Reads the dating
|
|
42
|
+
* inputs and the computed due date, and drives the inputs the way a user
|
|
43
|
+
* would. Never exposes patient identity — only structural dates and numbers.
|
|
44
|
+
* Consumed by `due-date-calculator.agent.ts`; the public `ref` stays the root
|
|
45
|
+
* DOM element.
|
|
46
|
+
*/
|
|
47
|
+
export interface DueDateCalculatorHandle {
|
|
48
|
+
/** The dating inputs as entered. */
|
|
49
|
+
getInputs: () => DueDateInputsSnapshot;
|
|
50
|
+
/** Computed due date, gestational age and trimester, or null until a reference date is set. */
|
|
51
|
+
getResult: () => DueDateSnapshot | null;
|
|
52
|
+
/** Switch the dating method. Keeps the reference date, which is re-interpreted. */
|
|
53
|
+
setMethod: (method: DueDateMethod) => boolean;
|
|
54
|
+
/** Set the method's reference date (`yyyy-MM-dd`, not in the future). */
|
|
55
|
+
setReferenceDate: (isoDate: string | null) => boolean;
|
|
56
|
+
/** LMP only — set the average cycle length in days (20–45). */
|
|
57
|
+
setCycleLength: (days: number | null) => boolean;
|
|
58
|
+
/** IVF only — set the embryo age at transfer (3 or 5 days). */
|
|
59
|
+
setEmbryoAge: (days: EmbryoAge) => boolean;
|
|
60
|
+
/** LMP only — set the CRL measurement and/or its scan date for ACOG re-dating. */
|
|
61
|
+
setCrl: (next: {
|
|
62
|
+
crlMm?: number | null;
|
|
63
|
+
scanDate?: string | null;
|
|
64
|
+
}) => boolean;
|
|
65
|
+
/** Set the date gestational age and trimester are evaluated against. */
|
|
66
|
+
setAsOfDate: (isoDate: string) => boolean;
|
|
67
|
+
}
|
|
8
68
|
export interface DueDateCalculatorProps extends VariantProps<typeof rootVariants> {
|
|
9
69
|
/** Initial dating method. Defaults to `'lmp'`. */
|
|
10
70
|
defaultMethod?: DueDateMethod;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"due-date-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/due-date-calculator.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"due-date-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/due-date-calculator.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAWlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAA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AAED;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,mHA0a7B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DueDateCalculator } from './due-date-calculator';
|
|
2
|
-
export type { DueDateCalculatorProps } from './due-date-calculator';
|
|
2
|
+
export type { DueDateCalculatorProps, DueDateCalculatorHandle, DueDateInputsSnapshot, DueDateSnapshot, } from './due-date-calculator';
|
|
3
3
|
export { computeDueDate, trimesterForWeeks, gestationalMilestones, plannedBirthWindow, crlToGestationalAgeDays, redatingThresholdDays, redateByCrl, MILESTONE_WEEKS, GESTATION_DAYS, TERM_FROM_CONCEPTION_DAYS, DEFAULT_CYCLE_LENGTH, CRL_DATING_MIN_MM, CRL_DATING_MAX_MM, type DueDateMethod, type EmbryoAge, type Trimester, type Plurality, type Chorionicity, type BirthGuideline, type BirthWindow, type CrlRedatingInput, type CrlRedatingResult, type DueDateInput, type DueDateResult, type GestationalAge, type GestationalMilestone, } from './gestation';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e } from "../../_chunks/due-date-calculator-
|
|
2
|
-
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-
|
|
1
|
+
import { D as e } from "../../_chunks/due-date-calculator-CnkbbAej.js";
|
|
2
|
+
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-u8TsS2QJ.js";
|
|
3
3
|
export {
|
|
4
4
|
r as CRL_DATING_MAX_MM,
|
|
5
5
|
o as CRL_DATING_MIN_MM,
|
|
@@ -12,8 +12,14 @@ export interface EditorOverlayProps {
|
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
/** Optional footer slot (e.g. action buttons), right-aligned. */
|
|
14
14
|
footer?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Opaque instance id, emitted on the wrapper as `data-component-id`. Pass it
|
|
17
|
+
* when more than one overlay can be mounted so an agent / automation tool can
|
|
18
|
+
* tell them apart (PRS §26 §6).
|
|
19
|
+
*/
|
|
20
|
+
id?: string;
|
|
15
21
|
/** Extra classes on the glass card. */
|
|
16
22
|
className?: string;
|
|
17
23
|
}
|
|
18
|
-
export declare function EditorOverlay({ open, onClose, title, ariaLabel, children, footer, className, }: EditorOverlayProps): React.JSX.Element | null;
|
|
24
|
+
export declare function EditorOverlay({ open, onClose, title, ariaLabel, children, footer, id, className, }: EditorOverlayProps): React.JSX.Element | null;
|
|
19
25
|
//# sourceMappingURL=editor-overlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-overlay.d.ts","sourceRoot":"","sources":["../../../src/components/editor-overlay/editor-overlay.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAO9E,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,kDAAkD;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,iEAAiE;IACjE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+BD,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,SAAS,EACT,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE,kBAAkB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAyE/C"}
|
|
1
|
+
{"version":3,"file":"editor-overlay.d.ts","sourceRoot":"","sources":["../../../src/components/editor-overlay/editor-overlay.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAO9E,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,kDAAkD;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,iEAAiE;IACjE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+BD,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,SAAS,EACT,QAAQ,EACR,MAAM,EACN,EAAE,EACF,SAAS,GACV,EAAE,kBAAkB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAyE/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetal-weight.agent.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/fetal-weight.agent.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAQxD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CAoF5D,CAAC"}
|
|
@@ -4,6 +4,32 @@ import { type EfwResult } from './efw';
|
|
|
4
4
|
declare const rootVariants: (props?: ({
|
|
5
5
|
width?: "auto" | "full" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
/** Canonical biometry snapshot — millimetres, or null where unset. */
|
|
8
|
+
export interface FetalBiometrySnapshot {
|
|
9
|
+
bpdMm: number | null;
|
|
10
|
+
hcMm: number | null;
|
|
11
|
+
acMm: number | null;
|
|
12
|
+
flMm: number | null;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Curated imperative handle for agent / external automation. Reads the four
|
|
16
|
+
* biometry measurements and the Hadlock estimate, and writes the measurements
|
|
17
|
+
* the way a user would type them. Never exposes patient identity — only
|
|
18
|
+
* structural millimetres and the derived weight. Consumed by
|
|
19
|
+
* `fetal-weight.agent.ts`; the public `ref` stays the root DOM element.
|
|
20
|
+
*/
|
|
21
|
+
export interface FetalWeightHandle {
|
|
22
|
+
/** Current biometry in millimetres, or null where unset. */
|
|
23
|
+
getBiometry: () => FetalBiometrySnapshot;
|
|
24
|
+
/** Estimated fetal weight + the regression used, or null below the minimum biometry. */
|
|
25
|
+
getResult: () => EfwResult | null;
|
|
26
|
+
/**
|
|
27
|
+
* Set any subset of the biometry in millimetres. Omitted keys are left
|
|
28
|
+
* unchanged; an explicit `null` clears that measurement. Applies all-or-
|
|
29
|
+
* nothing — returns false and writes nothing if any value is not positive.
|
|
30
|
+
*/
|
|
31
|
+
setBiometry: (next: Partial<FetalBiometrySnapshot>) => boolean;
|
|
32
|
+
}
|
|
7
33
|
export interface FetalWeightProps extends VariantProps<typeof rootVariants> {
|
|
8
34
|
/** Fires whenever an estimate can be computed (and `null` when it can't). */
|
|
9
35
|
onResultChange?: (result: EfwResult | null) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetal-weight.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/fetal-weight.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"fetal-weight.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/fetal-weight.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAQlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE5D,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAMH,sEAAsE;AACtE,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,4DAA4D;IAC5D,WAAW,EAAE,MAAM,qBAAqB,CAAC;IACzC,wFAAwF;IACxF,SAAS,EAAE,MAAM,SAAS,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,WAAW,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,CAAC,KAAK,OAAO,CAAC;CAChE;AAED,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IACzE,6EAA6E;IAC7E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,qEAAqE;IACrE,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,6GA4KvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { FetalWeight } from './fetal-weight';
|
|
2
|
-
export type { FetalWeightProps } from './fetal-weight';
|
|
2
|
+
export type { FetalWeightProps, FetalWeightHandle, FetalBiometrySnapshot, } from './fetal-weight';
|
|
3
3
|
export { estimateFetalWeight, type FetalBiometryInput, type EfwResult, type EfwMethod, } from './efw';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/fetal-weight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,SAAS,GACf,MAAM,OAAO,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AgentAdapter } from '../../agent/types';
|
|
2
|
+
import type { GestationalAgeCalculatorHandle } from './gestational-age-calculator';
|
|
3
|
+
export declare const gestationalAgeCalculatorAgent: AgentAdapter<GestationalAgeCalculatorHandle>;
|
|
4
|
+
//# sourceMappingURL=gestational-age-calculator.agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gestational-age-calculator.agent.d.ts","sourceRoot":"","sources":["../../../src/components/gestational-age-calculator/gestational-age-calculator.agent.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAUnF,eAAO,MAAM,6BAA6B,EAAE,YAAY,CAAC,8BAA8B,CAmJpF,CAAC"}
|
|
@@ -5,15 +5,57 @@ import { type AntenatalScheduleOptions, type GdmRisk } from '../_shared/antenata
|
|
|
5
5
|
declare const rootVariants: (props?: ({
|
|
6
6
|
width?: "auto" | "full" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
|
|
8
|
+
/** Whether the entered date is the last period (`lmp`) or the due date (`edd`). */
|
|
9
|
+
export type GestationalAgeMethod = 'lmp' | 'edd';
|
|
9
10
|
export interface GestationalAgeResult {
|
|
10
11
|
gestationalAge: GestationalAge | null;
|
|
11
12
|
trimester: Trimester;
|
|
12
13
|
dueDate: Date;
|
|
13
14
|
}
|
|
15
|
+
/** The dating inputs as entered. */
|
|
16
|
+
export interface GestationalAgeInputsSnapshot {
|
|
17
|
+
/** Whether the reference date is a last period or a due date. */
|
|
18
|
+
method: GestationalAgeMethod;
|
|
19
|
+
/** The reference date (`yyyy-MM-dd`), or null when unset. */
|
|
20
|
+
referenceDate: string | null;
|
|
21
|
+
/** The date gestational age and trimester are evaluated against. */
|
|
22
|
+
asOfDate: string;
|
|
23
|
+
}
|
|
24
|
+
/** `GestationalAgeResult` projected onto the agent boundary — ISO dates. */
|
|
25
|
+
export interface GestationalAgeSnapshot {
|
|
26
|
+
/** Gestational age as of the evaluation date; null before conception. */
|
|
27
|
+
gestationalAge: {
|
|
28
|
+
weeks: number;
|
|
29
|
+
days: number;
|
|
30
|
+
totalDays: number;
|
|
31
|
+
} | null;
|
|
32
|
+
/** Trimester band as of the evaluation date. */
|
|
33
|
+
trimester: Trimester;
|
|
34
|
+
/** Estimated date of delivery, `yyyy-MM-dd`. */
|
|
35
|
+
dueDate: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Curated imperative handle for agent / external automation. Reads the dating
|
|
39
|
+
* inputs and the computed gestational age, and drives the inputs the way a
|
|
40
|
+
* user would. Never exposes patient identity — only structural dates and
|
|
41
|
+
* numbers. Consumed by `gestational-age-calculator.agent.ts`; the public `ref`
|
|
42
|
+
* stays the root DOM element.
|
|
43
|
+
*/
|
|
44
|
+
export interface GestationalAgeCalculatorHandle {
|
|
45
|
+
/** The dating inputs as entered. */
|
|
46
|
+
getInputs: () => GestationalAgeInputsSnapshot;
|
|
47
|
+
/** Computed gestational age, trimester and due date, or null until a reference date is set. */
|
|
48
|
+
getResult: () => GestationalAgeSnapshot | null;
|
|
49
|
+
/** Switch between dating from a last period and dating from a known due date. */
|
|
50
|
+
setMethod: (method: GestationalAgeMethod) => boolean;
|
|
51
|
+
/** Set the reference date (`yyyy-MM-dd`); a last period may not be in the future. */
|
|
52
|
+
setReferenceDate: (isoDate: string | null) => boolean;
|
|
53
|
+
/** Set the date gestational age and trimester are evaluated against. */
|
|
54
|
+
setAsOfDate: (isoDate: string) => boolean;
|
|
55
|
+
}
|
|
14
56
|
export interface GestationalAgeCalculatorProps extends VariantProps<typeof rootVariants> {
|
|
15
57
|
/** Whether the input date is the last period (`lmp`) or the due date (`edd`). */
|
|
16
|
-
defaultMethod?:
|
|
58
|
+
defaultMethod?: GestationalAgeMethod;
|
|
17
59
|
/** Pre-fill the reference date (e.g. a known LMP from the patient record). */
|
|
18
60
|
defaultReferenceDate?: Date;
|
|
19
61
|
/** Fires whenever a result can be computed (and `null` when it can't). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestational-age-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/gestational-age-calculator/gestational-age-calculator.tsx"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"gestational-age-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/gestational-age-calculator/gestational-age-calculator.tsx"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAYlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,YAAY,EAMlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,OAAO,EACb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C,iFAAiF;IACjF,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,8EAA8E;IAC9E,oBAAoB,CAAC,EAAE,IAAI,CAAC;IAC5B,0EAA0E;IAC1E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/D,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,yFAAyF;IACzF,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,IAAI,CACpB,wBAAwB,EACxB,OAAO,GAAG,WAAW,GAAG,cAAc,GAAG,YAAY,GAAG,SAAS,CAClE,CAAC;IACF,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,0HAsYpC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { GestationalAgeCalculator } from './gestational-age-calculator';
|
|
2
|
-
export type { GestationalAgeCalculatorProps, GestationalAgeResult, } from './gestational-age-calculator';
|
|
2
|
+
export type { GestationalAgeCalculatorProps, GestationalAgeResult, GestationalAgeCalculatorHandle, GestationalAgeInputsSnapshot, GestationalAgeSnapshot, GestationalAgeMethod, } from './gestational-age-calculator';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/gestational-age-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EACV,6BAA6B,EAC7B,oBAAoB,GACrB,MAAM,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/gestational-age-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EACV,6BAA6B,EAC7B,oBAAoB,EACpB,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hcg-doubling.agent.d.ts","sourceRoot":"","sources":["../../../src/components/hcg-doubling/hcg-doubling.agent.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAcxD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CAsF5D,CAAC"}
|
|
@@ -4,6 +4,36 @@ import { type HcgResult } from './hcg';
|
|
|
4
4
|
declare const rootVariants: (props?: ({
|
|
5
5
|
width?: "auto" | "full" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
/** The two timed samples as entered. */
|
|
8
|
+
export interface HcgSamplesSnapshot {
|
|
9
|
+
/** First β-hCG value, mIU/mL, or null. */
|
|
10
|
+
hcg1: number | null;
|
|
11
|
+
/** When the first sample was drawn, ISO-8601 with offset, or null. */
|
|
12
|
+
date1: string | null;
|
|
13
|
+
/** Second β-hCG value, mIU/mL, or null. */
|
|
14
|
+
hcg2: number | null;
|
|
15
|
+
/** When the second sample was drawn, ISO-8601 with offset, or null. */
|
|
16
|
+
date2: string | null;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Curated imperative handle for agent / external automation. Reads the two
|
|
20
|
+
* timed samples and the computed trend, and writes the samples the way a user
|
|
21
|
+
* would enter them. Never exposes patient identity — only structural lab
|
|
22
|
+
* figures, sample times and the derived doubling numbers. Consumed by
|
|
23
|
+
* `hcg-doubling.agent.ts`; the public `ref` stays the root DOM element.
|
|
24
|
+
*/
|
|
25
|
+
export interface HcgDoublingHandle {
|
|
26
|
+
/** The two timed samples as entered, or null where unset. */
|
|
27
|
+
getSamples: () => HcgSamplesSnapshot;
|
|
28
|
+
/** Computed doubling time, 48-hour rise and trend band, or null. */
|
|
29
|
+
getResult: () => HcgResult | null;
|
|
30
|
+
/**
|
|
31
|
+
* Set any subset of the two timed samples. Omitted keys are left unchanged;
|
|
32
|
+
* an explicit `null` clears one. Applies all-or-nothing — returns false and
|
|
33
|
+
* writes nothing if any value is unusable.
|
|
34
|
+
*/
|
|
35
|
+
setSamples: (next: Partial<HcgSamplesSnapshot>) => boolean;
|
|
36
|
+
}
|
|
7
37
|
export interface HcgDoublingProps extends VariantProps<typeof rootVariants> {
|
|
8
38
|
/** Pre-fill the first sample's date/time (e.g. from the lab record). */
|
|
9
39
|
defaultDate1?: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hcg-doubling.d.ts","sourceRoot":"","sources":["../../../src/components/hcg-doubling/hcg-doubling.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
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ACrE,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,6GAyNvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { HcgDoubling } from './hcg-doubling';
|
|
2
|
-
export type { HcgDoublingProps } from './hcg-doubling';
|
|
2
|
+
export type { HcgDoublingProps, HcgDoublingHandle, HcgSamplesSnapshot, } from './hcg-doubling';
|
|
3
3
|
export { analyseHcg, MINIMAL_48H_RISE_PERCENT, type HcgInput, type HcgResult, type HcgTrend, } from './hcg';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/hcg-doubling/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/hcg-doubling/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,UAAU,EACV,wBAAwB,EACxB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,QAAQ,GACd,MAAM,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header-settings.agent.d.ts","sourceRoot":"","sources":["../../../src/components/header-settings/header-settings.agent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"header-settings.agent.d.ts","sourceRoot":"","sources":["../../../src/components/header-settings/header-settings.agent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,oBAAoB,CAsIlE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { type AccessibilityPreference, type ThemePreference } from '../../hooks';
|
|
3
|
+
import { type AccessibilityPreference, type ResolvedTheme, type ThemePreference } from '../../hooks';
|
|
4
4
|
declare const wrapperVariants: (props?: ({
|
|
5
5
|
align?: "end" | "start" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -30,6 +30,18 @@ export interface HeaderSettingsHandle {
|
|
|
30
30
|
setLocale: (next: string) => void;
|
|
31
31
|
setTheme: (next: ThemePreference) => void;
|
|
32
32
|
setAccessibility: (next: AccessibilityPreference) => void;
|
|
33
|
+
/** Active IETF language tag, as i18next resolved it. */
|
|
34
|
+
getLocale: () => string;
|
|
35
|
+
/** Stored base-theme preference (`'system'` when no override is set). */
|
|
36
|
+
getTheme: () => ThemePreference;
|
|
37
|
+
/** Stored AAA-contrast preference (`'system'` when no override is set). */
|
|
38
|
+
getAccessibility: () => AccessibilityPreference;
|
|
39
|
+
/**
|
|
40
|
+
* The theme actually painted once preference + OS signals resolve.
|
|
41
|
+
* `theme: 'system'` and `theme: 'light'` both render `.theme-light`,
|
|
42
|
+
* so this is what makes a `setTheme('system')` write verifiable.
|
|
43
|
+
*/
|
|
44
|
+
getResolvedTheme: () => ResolvedTheme;
|
|
33
45
|
}
|
|
34
46
|
export declare const HeaderSettings: import("react").ForwardRefExoticComponent<HeaderSettingsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
35
47
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header-settings.d.ts","sourceRoot":"","sources":["../../../src/components/header-settings/header-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAWlE,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AA0BrB,QAAA,MAAM,eAAe;;8EAQnB,CAAC;AAYH,MAAM,WAAW,mBACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAChD,YAAY,CAAC,OAAO,eAAe,CAAC;IACtC,2EAA2E;IAC3E,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACxB;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"header-settings.d.ts","sourceRoot":"","sources":["../../../src/components/header-settings/header-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAWlE,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AA0BrB,QAAA,MAAM,eAAe;;8EAQnB,CAAC;AAYH,MAAM,WAAW,mBACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAChD,YAAY,CAAC,OAAO,eAAe,CAAC;IACtC,2EAA2E;IAC3E,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACxB;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAE1D,wDAAwD;IACxD,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,yEAAyE;IACzE,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,2EAA2E;IAC3E,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;IAChD;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,aAAa,CAAC;CACvC;AAcD,eAAO,MAAM,cAAc,gHAkP1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale-picker.agent.d.ts","sourceRoot":"","sources":["../../../src/components/locale-picker/locale-picker.agent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"locale-picker.agent.d.ts","sourceRoot":"","sources":["../../../src/components/locale-picker/locale-picker.agent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,kBAAkB,CAyD9D,CAAC"}
|
|
@@ -46,6 +46,15 @@ export interface LocalePickerProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
46
46
|
*/
|
|
47
47
|
export interface LocalePickerHandle {
|
|
48
48
|
setLocale: (next: string) => void;
|
|
49
|
+
/** Resolved locale tag actually applied to the page (always concrete). */
|
|
50
|
+
getLocale: () => string;
|
|
51
|
+
/**
|
|
52
|
+
* True when the resolved locale came from `navigator.language` rather
|
|
53
|
+
* than an explicit user choice. Read-back for `set_locale`: the
|
|
54
|
+
* resolved tag alone cannot tell "the user chose English" from
|
|
55
|
+
* "we are following the browser, which happens to be English".
|
|
56
|
+
*/
|
|
57
|
+
getIsSystemDefault: () => boolean;
|
|
49
58
|
}
|
|
50
59
|
export interface LocalePickerSearchListProps {
|
|
51
60
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale-picker.d.ts","sourceRoot":"","sources":["../../../src/components/locale-picker/locale-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAYlE,OAAO,EAA4B,KAAK,MAAM,EAAE,MA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;IACH,kBAAkB,EAAE,MAAM,OAAO,CAAC;CACnC;AAUD,MAAM,WAAW,2BAA2B;IAC1C;;;;;OAKG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACjD,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,eAAO,MAAM,sBAAsB,wHAgQlC,CAAC;AAiQF,eAAO,MAAM,YAAY;;CAEvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-view.agent.d.ts","sourceRoot":"","sources":["../../../src/components/map-view/map-view.agent.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,YAAY,CAAC;AAE3D,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"map-view.agent.d.ts","sourceRoot":"","sources":["../../../src/components/map-view/map-view.agent.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,YAAY,CAAC;AAE3D,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,aAAa,CAqJpD,CAAC"}
|
|
@@ -19,6 +19,28 @@ export interface MapViewHandle {
|
|
|
19
19
|
setZoom: (zoom: number) => void;
|
|
20
20
|
/** Programmatically select a marker (fires `onMarkerClick`). */
|
|
21
21
|
selectMarker: (id: string | null) => void;
|
|
22
|
+
/**
|
|
23
|
+
* True when the Maps JS API subtree is mounted. While this is false
|
|
24
|
+
* the three actions above are silent no-ops — the consent gate has
|
|
25
|
+
* not been passed and there is no map to drive.
|
|
26
|
+
*/
|
|
27
|
+
isConsentGranted: () => boolean;
|
|
28
|
+
/** Live map centre, or `null` while the map subtree is unmounted. */
|
|
29
|
+
getCenter: () => MapLatLng | null;
|
|
30
|
+
/**
|
|
31
|
+
* Live zoom level, or `null` while the map subtree is unmounted.
|
|
32
|
+
* Google clamps to the map type's range, so this is not necessarily
|
|
33
|
+
* the value last passed to `setZoom`.
|
|
34
|
+
*/
|
|
35
|
+
getZoom: () => number | null;
|
|
36
|
+
/**
|
|
37
|
+
* The controlled `selectedMarkerId` prop as the host currently holds
|
|
38
|
+
* it. `selectMarker` only proposes a selection — the host is free to
|
|
39
|
+
* ignore it, and this is the only way to see whether it did.
|
|
40
|
+
*/
|
|
41
|
+
getSelectedMarkerId: () => string | null;
|
|
42
|
+
/** Number of markers passed to the component. Count only, no ids. */
|
|
43
|
+
getMarkerCount: () => number;
|
|
22
44
|
}
|
|
23
45
|
export interface MapViewProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick'>, VariantProps<typeof mapViewVariants> {
|
|
24
46
|
/** Opaque instance id — emitted as `data-component-id`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-view.d.ts","sourceRoot":"","sources":["../../../src/components/map-view/map-view.tsx"],"names":[],"mappings":"AAgBA,OAAO,EASL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAmBlE,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,SAAS;IACxB,mEAAmE;IACnE,EAAE,EAAE,MAAM,CAAC;IACX,2BAA2B;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,wDAAwD;IACxD,KAAK,CAA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