@alfadocs/ui-kit 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/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
- package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
- package/dist/_chunks/ai-consent-banner-F2md5JD3.js +169 -0
- package/dist/_chunks/ai-tools-rail-CYLWrRmm.js +280 -0
- package/dist/_chunks/{alert-ywPR59NE.js → alert-CUTxnym2.js} +56 -35
- package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
- package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
- package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js +412 -0
- package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
- package/dist/_chunks/{ar-DEz65ZJW.js → ar-C68WKG5a.js} +2 -2
- package/dist/_chunks/{audio-recorder-DC-v9YFW.js → audio-recorder-DVJXV7_k.js} +2 -2
- package/dist/_chunks/bishop-score-2MzAz8NE.js +185 -0
- package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
- package/dist/_chunks/{booking-DlDVuWMd.js → booking-DljH0JkS.js} +294 -306
- package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
- package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
- package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
- package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
- package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
- package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
- package/dist/_chunks/circle-arrow-up-CC_85SuH.js +16 -0
- package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
- package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
- package/dist/_chunks/cycle-calculator-oOkj5wlB.js +252 -0
- package/dist/_chunks/{date-picker-Bq7xhMA-.js → date-picker-BfHblqwA.js} +2 -2
- package/dist/_chunks/{date-picker-variants-DLi1Va_e.js → date-picker-variants-CXEAx3O_.js} +22 -22
- package/dist/_chunks/{date-range-picker-DcXuI9y7.js → date-range-picker-hcAMs1wO.js} +3 -3
- package/dist/_chunks/{date-time-picker-RimumeLR.js → date-time-picker-H-3Pwqlb.js} +9 -9
- package/dist/_chunks/{de-bTBGdjPS.js → de-DK4A9_a8.js} +2 -2
- package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
- package/dist/_chunks/{document-scanner-BqLsGs4Y.js → document-scanner-Cxqvq7GR.js} +2 -2
- package/dist/_chunks/due-date-calculator-tDqZXPWO.js +256 -0
- package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js → editable-currency-cell-renderer-Bh48OHRv.js} +2 -2
- package/dist/_chunks/{el-BWG5RXxa.js → el-B29HXhG5.js} +2 -2
- package/dist/_chunks/entity-card-COhmqHly.js +69 -0
- package/dist/_chunks/{es-DfO_G435.js → es-BOwPVwWn.js} +2 -2
- package/dist/_chunks/fetal-weight-Da-B4P4k.js +122 -0
- package/dist/_chunks/{fr-BTn24bs8.js → fr-DoDBtn0T.js} +2 -2
- package/dist/_chunks/{freemium-paywall-DzpD63WY.js → freemium-paywall-BWaLWje-.js} +2 -2
- package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js +311 -0
- package/dist/_chunks/hcg-doubling-DAnpbale.js +170 -0
- package/dist/_chunks/{hi-Dj3oYd84.js → hi-DGByrKby.js} +2 -2
- package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
- package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
- package/dist/_chunks/{isSameWeek-HfxKk6Lz.js → isSameWeek-B1odL2vR.js} +2 -2
- package/dist/_chunks/{it-Y85ofIQQ.js → it-B16rEecm.js} +3 -3
- package/dist/_chunks/{ja-CQ7J6YoA.js → ja-B0viOgft.js} +2 -2
- package/dist/_chunks/languages-DsVf_WzT.js +19 -0
- package/dist/_chunks/layers-pzGcbLPj.js +34 -0
- package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js → marketplace-app-shell-UKSLx9K_.js} +3 -3
- package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
- package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
- package/dist/_chunks/{nl-D9kHCmp3.js → nl-cBxEX2QU.js} +2 -2
- package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
- package/dist/_chunks/{patient-search-CocVcGJ3.js → patient-search-BJOmTmDA.js} +2 -2
- package/dist/_chunks/{patient-shell-CnT4L8gn.js → patient-shell-DUmhXnFq.js} +2 -2
- package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
- package/dist/_chunks/{payment-form-BNTx4876.js → payment-form-xmeCkxas.js} +2 -2
- package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
- package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-q1D3Uion.js} +4 -4
- package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
- package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
- package/dist/_chunks/{pl-B3Smqpkr.js → pl-DtS08ioY.js} +3 -3
- package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-Cq1y8JFD.js} +4 -3
- package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js +322 -0
- package/dist/_chunks/product-hub-panel-CkfZBA3t.js +620 -0
- package/dist/_chunks/{pt-D3J-1c_7.js → pt-yFXs1VvH.js} +2 -2
- package/dist/_chunks/{ro-BKAbbEA3.js → ro-DsCzSrzR.js} +2 -2
- package/dist/_chunks/{ru-BeG8f0Ep.js → ru-DgDxL0pc.js} +3 -3
- package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
- package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
- package/dist/_chunks/{sidebar-_vJXI9rB.js → sidebar-h78cTNLh.js} +440 -338
- package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-CZkAf28g.js} +2 -2
- package/dist/_chunks/{sq-_hRPaeUy.js → sq-DHlCYN67.js} +2 -2
- package/dist/_chunks/subDays-Bs00akhK.js +8 -0
- package/dist/_chunks/{sv-g009fSpe.js → sv-O0QaQs_s.js} +2 -2
- package/dist/_chunks/{tr-OKUOuhMW.js → tr-BmNDRuio.js} +2 -2
- package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
- package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
- package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
- package/dist/_chunks/video-BAeICxCT.js +21 -0
- package/dist/_chunks/warning-stack-CXfoAT-_.js +220 -0
- package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-DzX_LI4y.js} +139 -157
- package/dist/_chunks/{zh-CN-De4zwEhx.js → zh-CN-CgVJZEzz.js} +3 -3
- package/dist/agent-catalog.json +367 -1
- package/dist/components/_shared/antenatal-schedule-timeline.d.ts +18 -0
- package/dist/components/_shared/antenatal-schedule.d.ts +68 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
- package/dist/components/_shared/entity-card/index.d.ts +3 -0
- package/dist/components/_shared/index.d.ts +5 -0
- package/dist/components/_shared/is-safe-url.d.ts +13 -0
- package/dist/components/_shared/obstetrics.d.ts +138 -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/index.d.ts +2 -1
- package/dist/components/agenda-card/index.js +6 -5
- 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.d.ts +45 -0
- package/dist/components/ai-consent-banner/index.d.ts +4 -0
- package/dist/components/ai-consent-banner/index.js +6 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
- package/dist/components/ai-tools-rail/index.d.ts +4 -0
- package/dist/components/ai-tools-rail/index.js +6 -0
- package/dist/components/alert/alert.d.ts +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
- package/dist/components/anamnesis-card/index.d.ts +3 -0
- package/dist/components/anamnesis-card/index.js +5 -0
- package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
- package/dist/components/appointment-card/appointment-card.d.ts +93 -0
- package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
- package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
- package/dist/components/appointment-card/index.d.ts +8 -0
- package/dist/components/appointment-card/index.js +10 -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.d.ts +30 -0
- package/dist/components/bishop-score/index.d.ts +4 -0
- package/dist/components/bishop-score/index.js +10 -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.d.ts +102 -0
- package/dist/components/care-plan-card/index.d.ts +4 -0
- package/dist/components/care-plan-card/index.js +6 -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.d.ts +110 -0
- package/dist/components/care-plan-entry-card/index.d.ts +4 -0
- package/dist/components/care-plan-entry-card/index.js +6 -0
- package/dist/components/chat-message/chat-message.d.ts +7 -0
- 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.d.ts +98 -0
- package/dist/components/clinical-note-card/index.d.ts +4 -0
- package/dist/components/clinical-note-card/index.js +6 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/cycle.d.ts +5 -0
- 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/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/gestation.d.ts +1 -59
- package/dist/components/due-date-calculator/index.d.ts +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/fetal-weight.d.ts +27 -0
- package/dist/components/fetal-weight/index.d.ts +4 -0
- package/dist/components/fetal-weight/index.js +6 -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/index.js +1 -1
- package/dist/components/hcg-doubling/hcg-doubling.d.ts +31 -0
- package/dist/components/hcg-doubling/hcg.d.ts +33 -0
- package/dist/components/hcg-doubling/index.d.ts +4 -0
- package/dist/components/hcg-doubling/index.js +7 -0
- package/dist/components/index.d.ts +14 -0
- package/dist/components/message-card/index.js +5 -4
- package/dist/components/message-card/message-card.d.ts +1 -2
- 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.d.ts +9 -0
- 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.js +6 -0
- package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
- package/dist/components/payment-card/index.d.ts +7 -0
- package/dist/components/payment-card/index.js +8 -0
- package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
- package/dist/components/payment-card/payment-card.d.ts +71 -0
- package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
- package/dist/components/payment-card/payment-request-card.d.ts +43 -0
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.d.ts +4 -0
- package/dist/components/periodontal-chart-card/index.js +7 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -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/weight-gain.d.ts +33 -8
- package/dist/components/product-hub-tray/index.d.ts +8 -0
- package/dist/components/product-hub-tray/index.js +10 -0
- package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts +4 -0
- package/dist/components/product-hub-tray/product-hub-panel.d.ts +54 -0
- package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts +4 -0
- package/dist/components/product-hub-tray/product-hub-tray.d.ts +115 -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.js +12 -11
- package/dist/components/sidebar/sidebar.d.ts +14 -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/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +561 -1
- package/dist/i18n/locales/ar.js +560 -2
- package/dist/i18n/locales/de.d.ts +561 -1
- package/dist/i18n/locales/de.js +560 -2
- package/dist/i18n/locales/el.d.ts +561 -1
- package/dist/i18n/locales/el.js +560 -2
- package/dist/i18n/locales/en.d.ts +561 -1
- package/dist/i18n/locales/en.js +560 -2
- package/dist/i18n/locales/es.d.ts +561 -1
- package/dist/i18n/locales/es.js +560 -2
- package/dist/i18n/locales/fr.d.ts +561 -1
- package/dist/i18n/locales/fr.js +560 -2
- package/dist/i18n/locales/hi.d.ts +561 -1
- package/dist/i18n/locales/hi.js +560 -2
- package/dist/i18n/locales/it.d.ts +561 -1
- package/dist/i18n/locales/it.js +560 -2
- package/dist/i18n/locales/ja.d.ts +561 -1
- package/dist/i18n/locales/ja.js +560 -2
- package/dist/i18n/locales/nl.d.ts +561 -1
- package/dist/i18n/locales/nl.js +560 -2
- package/dist/i18n/locales/pl.d.ts +561 -1
- package/dist/i18n/locales/pl.js +560 -2
- package/dist/i18n/locales/pt.d.ts +561 -1
- package/dist/i18n/locales/pt.js +560 -2
- package/dist/i18n/locales/ro.d.ts +561 -1
- package/dist/i18n/locales/ro.js +560 -2
- package/dist/i18n/locales/ru.d.ts +561 -1
- package/dist/i18n/locales/ru.js +560 -2
- package/dist/i18n/locales/sq.d.ts +561 -1
- package/dist/i18n/locales/sq.js +560 -2
- package/dist/i18n/locales/sv.d.ts +561 -1
- package/dist/i18n/locales/sv.js +560 -2
- package/dist/i18n/locales/tr.d.ts +561 -1
- package/dist/i18n/locales/tr.js +560 -2
- package/dist/i18n/locales/zh.d.ts +561 -1
- package/dist/i18n/locales/zh.js +560 -2
- package/dist/index.js +663 -600
- 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-types.d.ts +15 -0
- 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/cycle-calculator-KxA8dqDf.js +0 -211
- package/dist/_chunks/due-date-calculator-mFxpHLml.js +0 -216
- package/dist/_chunks/gestation-mWF4AXea.js +0 -50
- package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js +0 -203
- package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
- package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js +0 -246
- package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
- package/dist/_chunks/subDays-Dv7q9S7u.js +0 -8
- package/dist/_chunks/warning-stack-DNR3-IbP.js +0 -180
|
@@ -3000,23 +3000,23 @@ function $s(e) {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
const pt = {
|
|
3002
3002
|
en: () => Promise.resolve().then(() => Er).then((e) => e.enUS),
|
|
3003
|
-
it: () => import("./it-
|
|
3004
|
-
de: () => import("./de-
|
|
3005
|
-
es: () => import("./es-
|
|
3006
|
-
fr: () => import("./fr-
|
|
3007
|
-
pt: () => import("./pt-
|
|
3008
|
-
nl: () => import("./nl-
|
|
3009
|
-
pl: () => import("./pl-
|
|
3010
|
-
ro: () => import("./ro-
|
|
3011
|
-
ru: () => import("./ru-
|
|
3012
|
-
sv: () => import("./sv-
|
|
3013
|
-
el: () => import("./el-
|
|
3014
|
-
ja: () => import("./ja-
|
|
3015
|
-
zh: () => import("./zh-CN-
|
|
3016
|
-
hi: () => import("./hi-
|
|
3017
|
-
ar: () => import("./ar-
|
|
3018
|
-
tr: () => import("./tr-
|
|
3019
|
-
sq: () => import("./sq-
|
|
3003
|
+
it: () => import("./it-B16rEecm.js").then((e) => e.it),
|
|
3004
|
+
de: () => import("./de-DK4A9_a8.js").then((e) => e.de),
|
|
3005
|
+
es: () => import("./es-BOwPVwWn.js").then((e) => e.es),
|
|
3006
|
+
fr: () => import("./fr-DoDBtn0T.js").then((e) => e.fr),
|
|
3007
|
+
pt: () => import("./pt-yFXs1VvH.js").then((e) => e.pt),
|
|
3008
|
+
nl: () => import("./nl-cBxEX2QU.js").then((e) => e.nl),
|
|
3009
|
+
pl: () => import("./pl-DtS08ioY.js").then((e) => e.pl),
|
|
3010
|
+
ro: () => import("./ro-DsCzSrzR.js").then((e) => e.ro),
|
|
3011
|
+
ru: () => import("./ru-DgDxL0pc.js").then((e) => e.ru),
|
|
3012
|
+
sv: () => import("./sv-O0QaQs_s.js").then((e) => e.sv),
|
|
3013
|
+
el: () => import("./el-B29HXhG5.js").then((e) => e.el),
|
|
3014
|
+
ja: () => import("./ja-B0viOgft.js").then((e) => e.ja),
|
|
3015
|
+
zh: () => import("./zh-CN-CgVJZEzz.js").then((e) => e.zhCN),
|
|
3016
|
+
hi: () => import("./hi-DGByrKby.js").then((e) => e.hi),
|
|
3017
|
+
ar: () => import("./ar-C68WKG5a.js").then((e) => e.ar),
|
|
3018
|
+
tr: () => import("./tr-BmNDRuio.js").then((e) => e.tr),
|
|
3019
|
+
sq: () => import("./sq-DHlCYN67.js").then((e) => e.sq)
|
|
3020
3020
|
};
|
|
3021
3021
|
async function Ts(e) {
|
|
3022
3022
|
const t = e.toLowerCase().split("-")[0];
|
|
@@ -3211,13 +3211,13 @@ export {
|
|
|
3211
3211
|
xt as a,
|
|
3212
3212
|
Rn as b,
|
|
3213
3213
|
Vs as c,
|
|
3214
|
-
|
|
3214
|
+
Kn as d,
|
|
3215
3215
|
Bt as e,
|
|
3216
|
-
|
|
3216
|
+
Zn as f,
|
|
3217
3217
|
Rs as g,
|
|
3218
|
-
|
|
3218
|
+
be as h,
|
|
3219
3219
|
ta as i,
|
|
3220
|
-
|
|
3220
|
+
Je as j,
|
|
3221
3221
|
Ks as k,
|
|
3222
3222
|
Us as l,
|
|
3223
3223
|
Qs as m,
|
|
@@ -3235,4 +3235,4 @@ export {
|
|
|
3235
3235
|
ra as y,
|
|
3236
3236
|
ve as z
|
|
3237
3237
|
};
|
|
3238
|
-
//# sourceMappingURL=date-picker-variants-
|
|
3238
|
+
//# sourceMappingURL=date-picker-variants-CXEAx3O_.js.map
|
|
@@ -4,8 +4,8 @@ import { useTranslation as ee } from "react-i18next";
|
|
|
4
4
|
import * as f from "@radix-ui/react-popover";
|
|
5
5
|
import { u as te } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
6
|
import { u as ae } from "./form-field-context-B3APVHKx.js";
|
|
7
|
-
import { b as ne, u as re, g as se, c as oe, e as T, s as W,
|
|
8
|
-
import { s as R } from "./subDays-
|
|
7
|
+
import { b as ne, u as re, g as se, c as oe, e as T, s as W, d as ie, f as de, h as v, j as ce, C as le, k as pe, t as ge, p as ue, D as me, l as fe, m as he, n as ke } from "./date-picker-variants-CXEAx3O_.js";
|
|
8
|
+
import { s as R } from "./subDays-Bs00akhK.js";
|
|
9
9
|
import { u as ye } from "./registry-nPAVE19X.js";
|
|
10
10
|
function be(a, s, i) {
|
|
11
11
|
return ne(a, -1, i);
|
|
@@ -285,4 +285,4 @@ export {
|
|
|
285
285
|
Re as D,
|
|
286
286
|
ve as d
|
|
287
287
|
};
|
|
288
|
-
//# sourceMappingURL=date-range-picker-
|
|
288
|
+
//# sourceMappingURL=date-range-picker-hcAMs1wO.js.map
|
|
@@ -6,15 +6,15 @@ import * as k from "@radix-ui/react-popover";
|
|
|
6
6
|
import { u as me } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as pe } from "./form-field-context-B3APVHKx.js";
|
|
8
8
|
import { T as fe } from "./time-picker-B5umYwfv.js";
|
|
9
|
-
import { u as ge, c as he, o as ve, i as be,
|
|
9
|
+
import { u as ge, c as he, o as ve, i as be, h as ye, C as Te, k as ke, t as we, D as De, l as Ce, m as Pe, n as xe } from "./date-picker-variants-CXEAx3O_.js";
|
|
10
10
|
import { u as Oe } from "./registry-nPAVE19X.js";
|
|
11
|
-
import { t as
|
|
11
|
+
import { t as B } from "./isSameDay-DUEiAT0G.js";
|
|
12
12
|
function K(e, t, r) {
|
|
13
|
-
const i =
|
|
13
|
+
const i = B(e, r == null ? void 0 : r.in);
|
|
14
14
|
return i.setHours(t), i;
|
|
15
15
|
}
|
|
16
16
|
function A(e, t, r) {
|
|
17
|
-
const i =
|
|
17
|
+
const i = B(e, r == null ? void 0 : r.in);
|
|
18
18
|
return i.setMinutes(t), i;
|
|
19
19
|
}
|
|
20
20
|
const Ne = {
|
|
@@ -134,8 +134,8 @@ const Se = ce(
|
|
|
134
134
|
showTimezone: w,
|
|
135
135
|
minDate: d,
|
|
136
136
|
maxDate: p,
|
|
137
|
-
hour12:
|
|
138
|
-
minuteStep:
|
|
137
|
+
hour12: Z,
|
|
138
|
+
minuteStep: j = 1,
|
|
139
139
|
size: f = "md",
|
|
140
140
|
disabled: _,
|
|
141
141
|
placeholder: z,
|
|
@@ -268,8 +268,8 @@ const Se = ce(
|
|
|
268
268
|
minutes: o.getMinutes()
|
|
269
269
|
} : { hours: 0, minutes: 0 },
|
|
270
270
|
onChange: ae,
|
|
271
|
-
hour12:
|
|
272
|
-
minuteStep:
|
|
271
|
+
hour12: Z,
|
|
272
|
+
minuteStep: j,
|
|
273
273
|
size: f
|
|
274
274
|
}
|
|
275
275
|
),
|
|
@@ -308,4 +308,4 @@ export {
|
|
|
308
308
|
Ie as D,
|
|
309
309
|
Ne as d
|
|
310
310
|
};
|
|
311
|
-
//# sourceMappingURL=date-time-picker-
|
|
311
|
+
//# sourceMappingURL=date-time-picker-H-3Pwqlb.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as s, r as n, v as o, w as u } from "./date-picker-variants-
|
|
1
|
+
import { q as s, r as n, v as o, w as u } from "./date-picker-variants-CXEAx3O_.js";
|
|
2
2
|
const d = {
|
|
3
3
|
lessThanXSeconds: {
|
|
4
4
|
standalone: {
|
|
@@ -474,4 +474,4 @@ const d = {
|
|
|
474
474
|
export {
|
|
475
475
|
O as de
|
|
476
476
|
};
|
|
477
|
-
//# sourceMappingURL=de-
|
|
477
|
+
//# sourceMappingURL=de-DK4A9_a8.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as j, useEffect as O, useMemo as T, forwardRef as i, useContext as x, createContext as B } from "react";
|
|
3
3
|
import * as s from "@radix-ui/react-dialog";
|
|
4
4
|
import { c as k } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { X as
|
|
9
|
-
const
|
|
5
|
+
import { useTranslation as H } from "react-i18next";
|
|
6
|
+
import { u as S } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
|
+
import { u as w } from "./registry-nPAVE19X.js";
|
|
8
|
+
import { X as A } from "./x-CCcI3eJp.js";
|
|
9
|
+
const E = {
|
|
10
10
|
id: "dialog",
|
|
11
11
|
capabilities: ["open", "close", "dismiss"],
|
|
12
12
|
state: {
|
|
@@ -68,48 +68,48 @@ const H = {
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
defaultVariants: { size: "md" }
|
|
71
|
-
}),
|
|
71
|
+
}), D = B(void 0), u = ({
|
|
72
72
|
children: e,
|
|
73
73
|
id: o,
|
|
74
74
|
open: a,
|
|
75
|
-
defaultOpen:
|
|
75
|
+
defaultOpen: l,
|
|
76
76
|
onOpenChange: c,
|
|
77
77
|
...m
|
|
78
78
|
}) => {
|
|
79
|
-
const [p, n] =
|
|
79
|
+
const [p, n] = S({
|
|
80
80
|
value: a,
|
|
81
|
-
defaultValue:
|
|
81
|
+
defaultValue: l ?? !1,
|
|
82
82
|
onChange: c
|
|
83
|
-
}), d = p ?? !1,
|
|
83
|
+
}), d = p ?? !1, r = j(d);
|
|
84
84
|
O(() => {
|
|
85
|
-
|
|
85
|
+
r.current = d;
|
|
86
86
|
}, [d]);
|
|
87
|
-
const
|
|
87
|
+
const g = T(
|
|
88
88
|
() => ({
|
|
89
|
-
getIsOpen: () =>
|
|
89
|
+
getIsOpen: () => r.current,
|
|
90
90
|
open: () => n(!0),
|
|
91
91
|
close: () => n(!1)
|
|
92
92
|
}),
|
|
93
93
|
[n]
|
|
94
94
|
);
|
|
95
|
-
return
|
|
95
|
+
return w(E, g, o), /* @__PURE__ */ t(D.Provider, { value: o, children: /* @__PURE__ */ t(s.Root, { open: d, onOpenChange: n, ...m, children: e }) });
|
|
96
96
|
};
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
const
|
|
97
|
+
u.displayName = "Dialog.Root";
|
|
98
|
+
const y = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Trigger, { ref: a, ...o, children: e }));
|
|
99
|
+
y.displayName = "Dialog.Trigger";
|
|
100
|
+
const v = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Close, { ref: a, ...o, children: e }));
|
|
101
|
+
v.displayName = "Dialog.Close";
|
|
102
|
+
const C = i(
|
|
103
103
|
({
|
|
104
104
|
size: e = "md",
|
|
105
105
|
variant: o = "default",
|
|
106
|
-
hideCloseButton: a
|
|
107
|
-
className:
|
|
106
|
+
hideCloseButton: a,
|
|
107
|
+
className: l,
|
|
108
108
|
children: c,
|
|
109
109
|
...m
|
|
110
110
|
}, p) => {
|
|
111
|
-
const { t: n } =
|
|
112
|
-
return /* @__PURE__ */
|
|
111
|
+
const { t: n } = H(), d = x(D), r = o === "alert" ? { role: "alertdialog" } : {}, g = a ?? o !== "default";
|
|
112
|
+
return /* @__PURE__ */ f(s.Portal, { children: [
|
|
113
113
|
/* @__PURE__ */ t(
|
|
114
114
|
s.Overlay,
|
|
115
115
|
{
|
|
@@ -117,18 +117,18 @@ const v = i(
|
|
|
117
117
|
className: I
|
|
118
118
|
}
|
|
119
119
|
),
|
|
120
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ f(
|
|
121
121
|
s.Content,
|
|
122
122
|
{
|
|
123
123
|
ref: p,
|
|
124
|
-
...
|
|
124
|
+
...r,
|
|
125
125
|
"data-component": "dialog",
|
|
126
126
|
"data-component-id": d,
|
|
127
|
-
className: F({ size: e, className:
|
|
127
|
+
className: F({ size: e, className: l }),
|
|
128
128
|
...m,
|
|
129
129
|
children: [
|
|
130
130
|
c,
|
|
131
|
-
!
|
|
131
|
+
!g && // The close is a plain button carrying the `ds-dialog__close`
|
|
132
132
|
// contract class — the SAME class a vanilla host renders. The CSS
|
|
133
133
|
// (src/styles.css) owns its position, sizing, glyph size, hover
|
|
134
134
|
// wash, and focus ring from tokens, so the React and non-React
|
|
@@ -139,7 +139,7 @@ const v = i(
|
|
|
139
139
|
type: "button",
|
|
140
140
|
className: "ds-dialog__close",
|
|
141
141
|
"aria-label": n("common.close", "Close"),
|
|
142
|
-
children: /* @__PURE__ */ t(
|
|
142
|
+
children: /* @__PURE__ */ t(A, { "aria-hidden": "true" })
|
|
143
143
|
}
|
|
144
144
|
)
|
|
145
145
|
]
|
|
@@ -148,8 +148,8 @@ const v = i(
|
|
|
148
148
|
] });
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
|
-
|
|
152
|
-
const
|
|
151
|
+
C.displayName = "Dialog.Content";
|
|
152
|
+
const _ = i(
|
|
153
153
|
({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
154
154
|
"div",
|
|
155
155
|
{
|
|
@@ -159,8 +159,8 @@ const C = i(
|
|
|
159
159
|
}
|
|
160
160
|
)
|
|
161
161
|
);
|
|
162
|
-
|
|
163
|
-
const
|
|
162
|
+
_.displayName = "Dialog.Header";
|
|
163
|
+
const b = i(
|
|
164
164
|
({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
165
165
|
"div",
|
|
166
166
|
{
|
|
@@ -170,8 +170,8 @@ const _ = i(
|
|
|
170
170
|
}
|
|
171
171
|
)
|
|
172
172
|
);
|
|
173
|
-
|
|
174
|
-
const
|
|
173
|
+
b.displayName = "Dialog.Body";
|
|
174
|
+
const h = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
175
175
|
s.Title,
|
|
176
176
|
{
|
|
177
177
|
ref: a,
|
|
@@ -179,8 +179,8 @@ const b = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
|
179
179
|
...o
|
|
180
180
|
}
|
|
181
181
|
));
|
|
182
|
-
|
|
183
|
-
const
|
|
182
|
+
h.displayName = "Dialog.Title";
|
|
183
|
+
const N = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
184
184
|
s.Description,
|
|
185
185
|
{
|
|
186
186
|
ref: a,
|
|
@@ -188,12 +188,12 @@ const h = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
|
188
188
|
...o
|
|
189
189
|
}
|
|
190
190
|
));
|
|
191
|
-
|
|
192
|
-
const
|
|
193
|
-
({ className: e, divider: o = !1, ...a },
|
|
191
|
+
N.displayName = "Dialog.Description";
|
|
192
|
+
const R = i(
|
|
193
|
+
({ className: e, divider: o = !1, ...a }, l) => /* @__PURE__ */ t(
|
|
194
194
|
"div",
|
|
195
195
|
{
|
|
196
|
-
ref:
|
|
196
|
+
ref: l,
|
|
197
197
|
className: [
|
|
198
198
|
"ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]",
|
|
199
199
|
"ds:mt-[var(--spacing-md)]",
|
|
@@ -204,20 +204,20 @@ const N = i(
|
|
|
204
204
|
}
|
|
205
205
|
)
|
|
206
206
|
);
|
|
207
|
-
|
|
208
|
-
const $ = Object.assign(
|
|
209
|
-
Root:
|
|
210
|
-
Trigger:
|
|
211
|
-
Content:
|
|
212
|
-
Header:
|
|
213
|
-
Title:
|
|
214
|
-
Description:
|
|
215
|
-
Body:
|
|
216
|
-
Footer:
|
|
217
|
-
Close:
|
|
207
|
+
R.displayName = "Dialog.Footer";
|
|
208
|
+
const $ = Object.assign(u, {
|
|
209
|
+
Root: u,
|
|
210
|
+
Trigger: y,
|
|
211
|
+
Content: C,
|
|
212
|
+
Header: _,
|
|
213
|
+
Title: h,
|
|
214
|
+
Description: N,
|
|
215
|
+
Body: b,
|
|
216
|
+
Footer: R,
|
|
217
|
+
Close: v
|
|
218
218
|
});
|
|
219
219
|
export {
|
|
220
220
|
$ as D,
|
|
221
|
-
|
|
221
|
+
E as d
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=dialog-
|
|
223
|
+
//# sourceMappingURL=dialog-DMGnSelc.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as Fe, useId as Te, useRef as m, useState as Y, useEffect as
|
|
|
3
3
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as $e } from "react-i18next";
|
|
5
5
|
import { B as H } from "./button-DD_0Xdmr.js";
|
|
6
|
-
import { A as ae } from "./alert-
|
|
6
|
+
import { A as ae } from "./alert-CUTxnym2.js";
|
|
7
7
|
import { L as he, F as Xe } from "./file-upload-BosbPDb1.js";
|
|
8
8
|
import { u as Ze } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
9
|
import { u as Ge } from "./registry-nPAVE19X.js";
|
|
@@ -700,4 +700,4 @@ export {
|
|
|
700
700
|
ur as D,
|
|
701
701
|
nr as d
|
|
702
702
|
};
|
|
703
|
-
//# sourceMappingURL=document-scanner-
|
|
703
|
+
//# sourceMappingURL=document-scanner-Cxqvq7GR.js.map
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as q, useState as c, useMemo as u, useEffect as J } from "react";
|
|
3
|
+
import { c as Q } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as W } from "react-i18next";
|
|
5
|
+
import { R as m } from "./radio-TWf9Q-mp.js";
|
|
6
|
+
import { R as T } from "./radio-group-CLjK-SlK.js";
|
|
7
|
+
import { F as g } from "./form-field-BOm9hK35.js";
|
|
8
|
+
import { D as b } from "./date-picker-BfHblqwA.js";
|
|
9
|
+
import { N as S } from "./number-input-Dj5L3pXK.js";
|
|
10
|
+
import { C as k } from "./card-DPmk26CL.js";
|
|
11
|
+
import { B } from "./badge-zsf5i5bH.js";
|
|
12
|
+
import { I as X } from "./insert-result-DNdi_JYW.js";
|
|
13
|
+
import { D as y, r as Z, c as ee, e as ae, f as te, A as le, h as re, i as se } from "./antenatal-schedule-timeline-Dg0m0yFl.js";
|
|
14
|
+
const de = Q("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
15
|
+
variants: {
|
|
16
|
+
width: { full: "ds:w-full", auto: "ds:inline-flex" }
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: { width: "full" }
|
|
19
|
+
}), oe = {
|
|
20
|
+
lmp: "dueDateCalculator.lmpDate",
|
|
21
|
+
conception: "dueDateCalculator.conceptionDate",
|
|
22
|
+
ivf: "dueDateCalculator.transferDate"
|
|
23
|
+
}, ce = q(
|
|
24
|
+
({
|
|
25
|
+
defaultMethod: F = "lmp",
|
|
26
|
+
onResultChange: p,
|
|
27
|
+
onInsert: x,
|
|
28
|
+
insertVariant: N = "insert",
|
|
29
|
+
onCopy: I,
|
|
30
|
+
onError: $,
|
|
31
|
+
insertBrand: R,
|
|
32
|
+
showSchedule: A = !1,
|
|
33
|
+
scheduleOptions: L,
|
|
34
|
+
id: _,
|
|
35
|
+
width: H,
|
|
36
|
+
className: M
|
|
37
|
+
}, O) => {
|
|
38
|
+
const { t: e, i18n: w } = W(), [r, V] = c(F), [o, z] = c(void 0), [v, G] = c(
|
|
39
|
+
y
|
|
40
|
+
), [C, j] = c(5), [D, Y] = c(null), [f, K] = c(void 0), E = u(() => /* @__PURE__ */ new Date(), []), [n, P] = c(() => /* @__PURE__ */ new Date()), l = u(() => r !== "lmp" || !o || D === null || !f ? null : Z({ lmp: o, scanDate: f, crlMm: D }), [r, o, D, f]), t = u(() => {
|
|
41
|
+
if (!o) return null;
|
|
42
|
+
const d = r === "lmp" && (l != null && l.redated) ? l.gestationalStart : o, U = r === "lmp" && (l != null && l.redated) ? y : v ?? y;
|
|
43
|
+
return ee(
|
|
44
|
+
{
|
|
45
|
+
method: r,
|
|
46
|
+
date: d,
|
|
47
|
+
cycleLength: U,
|
|
48
|
+
embryoAge: C
|
|
49
|
+
},
|
|
50
|
+
n
|
|
51
|
+
);
|
|
52
|
+
}, [r, o, v, C, l, n]), i = u(
|
|
53
|
+
() => new Intl.DateTimeFormat(w.language, { dateStyle: "long" }),
|
|
54
|
+
[w.language]
|
|
55
|
+
);
|
|
56
|
+
J(() => {
|
|
57
|
+
p == null || p(t);
|
|
58
|
+
}, [t, p]);
|
|
59
|
+
const h = u(() => !A || !t ? null : ae(t.gestationalStart, {
|
|
60
|
+
...L,
|
|
61
|
+
today: n
|
|
62
|
+
}), [A, t, n, L]);
|
|
63
|
+
return /* @__PURE__ */ s(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
ref: O,
|
|
67
|
+
"data-component": "due-date-calculator",
|
|
68
|
+
"data-component-id": _,
|
|
69
|
+
className: de({ width: H, className: M }),
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ s(
|
|
72
|
+
T,
|
|
73
|
+
{
|
|
74
|
+
label: e("dueDateCalculator.method.label"),
|
|
75
|
+
variant: "horizontal",
|
|
76
|
+
value: r,
|
|
77
|
+
onValueChange: (d) => V(d),
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ a(m, { label: e("dueDateCalculator.method.lmp"), value: "lmp" }),
|
|
80
|
+
/* @__PURE__ */ a(
|
|
81
|
+
m,
|
|
82
|
+
{
|
|
83
|
+
label: e("dueDateCalculator.method.conception"),
|
|
84
|
+
value: "conception"
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ a(m, { label: e("dueDateCalculator.method.ivf"), value: "ivf" })
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ s("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
|
|
92
|
+
/* @__PURE__ */ a(g, { label: e(oe[r]), children: /* @__PURE__ */ a(b, { value: o, onChange: z, maxDate: E }) }),
|
|
93
|
+
r === "lmp" && /* @__PURE__ */ a(
|
|
94
|
+
g,
|
|
95
|
+
{
|
|
96
|
+
label: e("dueDateCalculator.cycleLength"),
|
|
97
|
+
description: e("dueDateCalculator.cycleLengthHint"),
|
|
98
|
+
children: /* @__PURE__ */ a(
|
|
99
|
+
S,
|
|
100
|
+
{
|
|
101
|
+
mode: "integer",
|
|
102
|
+
min: 20,
|
|
103
|
+
max: 45,
|
|
104
|
+
value: v,
|
|
105
|
+
onChange: G
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
r === "ivf" && /* @__PURE__ */ s(
|
|
111
|
+
T,
|
|
112
|
+
{
|
|
113
|
+
label: e("dueDateCalculator.embryoAge"),
|
|
114
|
+
variant: "horizontal",
|
|
115
|
+
value: String(C),
|
|
116
|
+
onValueChange: (d) => j(Number(d)),
|
|
117
|
+
children: [
|
|
118
|
+
/* @__PURE__ */ a(m, { label: e("dueDateCalculator.day3"), value: "3" }),
|
|
119
|
+
/* @__PURE__ */ a(m, { label: e("dueDateCalculator.day5"), value: "5" })
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
] }),
|
|
124
|
+
/* @__PURE__ */ a(
|
|
125
|
+
g,
|
|
126
|
+
{
|
|
127
|
+
label: e("dueDateCalculator.asOfDate"),
|
|
128
|
+
description: e("dueDateCalculator.asOfDateHint"),
|
|
129
|
+
children: /* @__PURE__ */ a(b, { value: n, onChange: (d) => d && P(d) })
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
r === "lmp" ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
133
|
+
/* @__PURE__ */ s("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
|
|
134
|
+
/* @__PURE__ */ a(
|
|
135
|
+
g,
|
|
136
|
+
{
|
|
137
|
+
label: e("dueDateCalculator.crl"),
|
|
138
|
+
description: e("dueDateCalculator.crlHint"),
|
|
139
|
+
children: /* @__PURE__ */ a(
|
|
140
|
+
S,
|
|
141
|
+
{
|
|
142
|
+
mode: "decimal",
|
|
143
|
+
min: 0,
|
|
144
|
+
step: 0.1,
|
|
145
|
+
value: D,
|
|
146
|
+
onChange: Y
|
|
147
|
+
}
|
|
148
|
+
)
|
|
149
|
+
}
|
|
150
|
+
),
|
|
151
|
+
/* @__PURE__ */ a(g, { label: e("dueDateCalculator.scanDate"), children: /* @__PURE__ */ a(
|
|
152
|
+
b,
|
|
153
|
+
{
|
|
154
|
+
value: f,
|
|
155
|
+
onChange: K,
|
|
156
|
+
maxDate: E
|
|
157
|
+
}
|
|
158
|
+
) })
|
|
159
|
+
] }),
|
|
160
|
+
l ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
161
|
+
/* @__PURE__ */ a(B, { variant: l.redated ? "warning" : "success", children: l.redated ? e("dueDateCalculator.redated", {
|
|
162
|
+
days: l.discrepancyDays
|
|
163
|
+
}) : e("dueDateCalculator.datesAgree") }),
|
|
164
|
+
l.crlInRange ? null : /* @__PURE__ */ a("span", { className: "type-meta ds:text-muted-foreground", children: e("dueDateCalculator.crlOutOfRange") })
|
|
165
|
+
] }) : null
|
|
166
|
+
] }) : null,
|
|
167
|
+
/* @__PURE__ */ a("p", { className: "ds:sr-only", role: "status", "aria-live": "polite", children: t ? `${e("dueDateCalculator.result.dueDateLabel")}: ${i.format(
|
|
168
|
+
t.dueDate
|
|
169
|
+
)}. ${e("dueDateCalculator.result.trimesterLabel")}: ${e(
|
|
170
|
+
`dueDateCalculator.trimester.${t.trimester}`
|
|
171
|
+
)}.` : "" }),
|
|
172
|
+
t ? /* @__PURE__ */ a(k, { variant: "elevated", children: /* @__PURE__ */ a(k.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: /* @__PURE__ */ s("dl", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-3", children: [
|
|
173
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)]", children: [
|
|
174
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("dueDateCalculator.result.trimesterLabel") }),
|
|
175
|
+
/* @__PURE__ */ a("dd", { children: /* @__PURE__ */ a(
|
|
176
|
+
B,
|
|
177
|
+
{
|
|
178
|
+
variant: te[t.trimester],
|
|
179
|
+
size: "lg",
|
|
180
|
+
children: e(`dueDateCalculator.trimester.${t.trimester}`)
|
|
181
|
+
}
|
|
182
|
+
) })
|
|
183
|
+
] }),
|
|
184
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
185
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("dueDateCalculator.result.gestationLabel") }),
|
|
186
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:text-foreground", children: t.gestationalAge ? e("dueDateCalculator.result.gestation", {
|
|
187
|
+
weeks: t.gestationalAge.weeks,
|
|
188
|
+
days: t.gestationalAge.days
|
|
189
|
+
}) : "—" })
|
|
190
|
+
] }),
|
|
191
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
192
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("dueDateCalculator.result.dueDateLabel") }),
|
|
193
|
+
/* @__PURE__ */ a("dd", { className: "type-metric ds:text-foreground", children: i.format(t.dueDate) })
|
|
194
|
+
] })
|
|
195
|
+
] }) }) }) : /* @__PURE__ */ a("p", { className: "type-body ds:text-muted-foreground", children: e("dueDateCalculator.empty") }),
|
|
196
|
+
h ? /* @__PURE__ */ a(le, { events: h }) : null,
|
|
197
|
+
t && (N === "copy" || x) ? /* @__PURE__ */ a(
|
|
198
|
+
X,
|
|
199
|
+
{
|
|
200
|
+
variant: N,
|
|
201
|
+
onInsert: x,
|
|
202
|
+
onCopy: I,
|
|
203
|
+
onError: $,
|
|
204
|
+
card: {
|
|
205
|
+
title: e("insert.title.dueDate"),
|
|
206
|
+
icon: "calendar-heart",
|
|
207
|
+
highlight: i.format(t.dueDate),
|
|
208
|
+
// Chip tinted with the trimester's semantic token so the inserted
|
|
209
|
+
// PNG carries the same clinical-stage colour as the on-screen
|
|
210
|
+
// trimester badge — with the contrast-safe orange override for the
|
|
211
|
+
// `--warning` third trimester.
|
|
212
|
+
highlightToken: se(t.trimester),
|
|
213
|
+
brand: R,
|
|
214
|
+
fields: [
|
|
215
|
+
{
|
|
216
|
+
// The estimated date of delivery → calendar glyph.
|
|
217
|
+
icon: "calendar",
|
|
218
|
+
label: e("dueDateCalculator.result.dueDateLabel"),
|
|
219
|
+
value: i.format(t.dueDate)
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
// Gestational age is an elapsed duration → clock glyph.
|
|
223
|
+
icon: "clock",
|
|
224
|
+
label: e("dueDateCalculator.result.gestationLabel"),
|
|
225
|
+
value: t.gestationalAge ? e("dueDateCalculator.result.gestation", {
|
|
226
|
+
weeks: t.gestationalAge.weeks,
|
|
227
|
+
days: t.gestationalAge.days
|
|
228
|
+
}) : "—"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
// Trimester is a clinical-stage classification → tag.
|
|
232
|
+
icon: "tag",
|
|
233
|
+
label: e("dueDateCalculator.result.trimesterLabel"),
|
|
234
|
+
value: e(`dueDateCalculator.trimester.${t.trimester}`)
|
|
235
|
+
},
|
|
236
|
+
// When the schedule is shown, the single Insert button carries
|
|
237
|
+
// the exam windows too (no second button).
|
|
238
|
+
...h ? re(
|
|
239
|
+
h,
|
|
240
|
+
e,
|
|
241
|
+
(d) => i.format(d)
|
|
242
|
+
) : []
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
) : null
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
);
|
|
252
|
+
ce.displayName = "DueDateCalculator";
|
|
253
|
+
export {
|
|
254
|
+
ce as D
|
|
255
|
+
};
|
|
256
|
+
//# sourceMappingURL=due-date-calculator-tDqZXPWO.js.map
|
|
@@ -27,7 +27,7 @@ import { S as Ee } from "./select-hsCaJSX3.js";
|
|
|
27
27
|
import { u as zt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
28
28
|
import { u as At } from "./use-theme-C2dHKUAN.js";
|
|
29
29
|
import { u as Pt } from "./registry-nPAVE19X.js";
|
|
30
|
-
import { D as Ie } from "./date-range-picker-
|
|
30
|
+
import { D as Ie } from "./date-range-picker-hcAMs1wO.js";
|
|
31
31
|
import { M as Ot } from "./multi-select-DOLO3K_z.js";
|
|
32
32
|
import { A as ze } from "./autocomplete-CDqxB68B.js";
|
|
33
33
|
import { N as ee } from "./number-input-Dj5L3pXK.js";
|
|
@@ -2322,4 +2322,4 @@ export {
|
|
|
2322
2322
|
Be as q,
|
|
2323
2323
|
Cn as u
|
|
2324
2324
|
};
|
|
2325
|
-
//# sourceMappingURL=editable-currency-cell-renderer-
|
|
2325
|
+
//# sourceMappingURL=editable-currency-cell-renderer-Bh48OHRv.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as s, r as i, v as o, w as d } from "./date-picker-variants-
|
|
1
|
+
import { q as s, r as i, v as o, w as d } from "./date-picker-variants-CXEAx3O_.js";
|
|
2
2
|
const u = {
|
|
3
3
|
lessThanXSeconds: {
|
|
4
4
|
one: "λιγότερο από ένα δευτερόλεπτο",
|
|
@@ -370,4 +370,4 @@ const u = {
|
|
|
370
370
|
export {
|
|
371
371
|
O as el
|
|
372
372
|
};
|
|
373
|
-
//# sourceMappingURL=el-
|
|
373
|
+
//# sourceMappingURL=el-B29HXhG5.js.map
|