@alfadocs/ui-kit-debug 0.36.0 → 0.38.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/Alfadocs_Logo_Mark-7o3L3WBI.js +56 -0
- package/dist/_chunks/Alfadocs_Logo_Mark-7o3L3WBI.js.map +1 -0
- package/dist/_chunks/{alia-sidebar-BEoMl6UL.js → alia-sidebar-DXsYPinm.js} +2 -2
- package/dist/_chunks/{alia-sidebar-BEoMl6UL.js.map → alia-sidebar-DXsYPinm.js.map} +1 -1
- package/dist/_chunks/{ar-CEpIJtcO.js → ar-Cn_NxqkN.js} +2 -2
- package/dist/_chunks/{ar-CEpIJtcO.js.map → ar-Cn_NxqkN.js.map} +1 -1
- package/dist/_chunks/bmi-BxD-tFzU.js +32 -0
- package/dist/_chunks/bmi-BxD-tFzU.js.map +1 -0
- package/dist/_chunks/bmi-calculator-BRUru9QX.js +213 -0
- package/dist/_chunks/bmi-calculator-BRUru9QX.js.map +1 -0
- package/dist/_chunks/{booking-eM0y0NIR.js → booking-DK_BPHnQ.js} +4 -4
- package/dist/_chunks/{booking-eM0y0NIR.js.map → booking-DK_BPHnQ.js.map} +1 -1
- package/dist/_chunks/calculator-dialog-B74fqpFZ.js +40 -0
- package/dist/_chunks/calculator-dialog-B74fqpFZ.js.map +1 -0
- package/dist/_chunks/chart-DnHvmiDX.js +312 -0
- package/dist/_chunks/chart-DnHvmiDX.js.map +1 -0
- package/dist/_chunks/{chat-message-D53_fH2w.js → chat-message-ASgGtj-L.js} +30 -39
- package/dist/_chunks/chat-message-ASgGtj-L.js.map +1 -0
- package/dist/_chunks/{contact-profile-card-BA6fgS45.js → contact-profile-card-DHyuAPXM.js} +14 -13
- package/dist/_chunks/{contact-profile-card-BA6fgS45.js.map → contact-profile-card-DHyuAPXM.js.map} +1 -1
- package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +185 -0
- package/dist/_chunks/cycle-calculator-B5Uj9QeT.js.map +1 -0
- package/dist/_chunks/{date-picker-B94HAV4A.js → date-picker-CvQfs6Xh.js} +2 -2
- package/dist/_chunks/{date-picker-B94HAV4A.js.map → date-picker-CvQfs6Xh.js.map} +1 -1
- package/dist/_chunks/{date-range-picker-D8CHNYQT.js → date-range-picker-U9fn1g9d.js} +3 -3
- package/dist/_chunks/{date-range-picker-D8CHNYQT.js.map → date-range-picker-U9fn1g9d.js.map} +1 -1
- package/dist/_chunks/{date-time-picker-D1GEzf8p.js → date-time-picker-Cva0ZCWw.js} +2 -2
- package/dist/_chunks/{date-time-picker-D1GEzf8p.js.map → date-time-picker-Cva0ZCWw.js.map} +1 -1
- package/dist/_chunks/{de-Dfbeau59.js → de-BMM2H7Bs.js} +2 -2
- package/dist/_chunks/{de-Dfbeau59.js.map → de-BMM2H7Bs.js.map} +1 -1
- package/dist/_chunks/dependent-selector-CRWgieHm.js +324 -0
- package/dist/_chunks/dependent-selector-CRWgieHm.js.map +1 -0
- package/dist/_chunks/document-scanner-CdHQ6lTN.js +702 -0
- package/dist/_chunks/document-scanner-CdHQ6lTN.js.map +1 -0
- package/dist/_chunks/due-date-calculator-CUspKSTw.js +171 -0
- package/dist/_chunks/due-date-calculator-CUspKSTw.js.map +1 -0
- package/dist/_chunks/{editable-currency-cell-renderer-CZcVWBPo.js → editable-currency-cell-renderer-DGKuRNVG.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-CZcVWBPo.js.map → editable-currency-cell-renderer-DGKuRNVG.js.map} +1 -1
- package/dist/_chunks/{el-Dro3J7CP.js → el-BYPonAaK.js} +2 -2
- package/dist/_chunks/{el-Dro3J7CP.js.map → el-BYPonAaK.js.map} +1 -1
- package/dist/_chunks/{es-Dvg8u70B.js → es-CMkVCQ4F.js} +2 -2
- package/dist/_chunks/{es-Dvg8u70B.js.map → es-CMkVCQ4F.js.map} +1 -1
- package/dist/_chunks/{file-upload-CdozCPct.js → file-upload-CnzRcErt.js} +2 -1
- package/dist/_chunks/{file-upload-CdozCPct.js.map → file-upload-CnzRcErt.js.map} +1 -1
- package/dist/_chunks/fiscal-code-input-BZ0FxwUl.js +540 -0
- package/dist/_chunks/fiscal-code-input-BZ0FxwUl.js.map +1 -0
- package/dist/_chunks/{fr-VOGjBSPP.js → fr-BcuWxqft.js} +2 -2
- package/dist/_chunks/{fr-VOGjBSPP.js.map → fr-BcuWxqft.js.map} +1 -1
- package/dist/_chunks/gestation-BXEgDGmP.js +50 -0
- package/dist/_chunks/gestation-BXEgDGmP.js.map +1 -0
- package/dist/_chunks/gestational-age-calculator-CsQ05qDy.js +165 -0
- package/dist/_chunks/gestational-age-calculator-CsQ05qDy.js.map +1 -0
- package/dist/_chunks/heart-C0faivFf.js +20 -0
- package/dist/_chunks/heart-C0faivFf.js.map +1 -0
- package/dist/_chunks/{hi-BSDxWU_y.js → hi-wkq_rQAh.js} +2 -2
- package/dist/_chunks/{hi-BSDxWU_y.js.map → hi-wkq_rQAh.js.map} +1 -1
- package/dist/_chunks/image-C6RM5hfF.js +16 -0
- package/dist/_chunks/image-C6RM5hfF.js.map +1 -0
- package/dist/_chunks/insert-result-yJ0QavoN.js +133 -0
- package/dist/_chunks/insert-result-yJ0QavoN.js.map +1 -0
- package/dist/_chunks/{isSameWeek-Dfzu29cW.js → isSameWeek-Bim5ftRd.js} +2 -2
- package/dist/_chunks/{isSameWeek-Dfzu29cW.js.map → isSameWeek-Bim5ftRd.js.map} +1 -1
- package/dist/_chunks/{it-CuonvcI_.js → it-GiQrQ9p4.js} +3 -3
- package/dist/_chunks/{it-CuonvcI_.js.map → it-GiQrQ9p4.js.map} +1 -1
- package/dist/_chunks/{ja-DO57gIOT.js → ja-qfYg3Rua.js} +2 -2
- package/dist/_chunks/{ja-DO57gIOT.js.map → ja-qfYg3Rua.js.map} +1 -1
- package/dist/_chunks/{logo-_Z-jLq80.js → logo-yituK7sE.js} +42 -91
- package/dist/_chunks/logo-yituK7sE.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-DXHxy9dj.js → marketplace-app-shell-BnClrL2B.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-DXHxy9dj.js.map → marketplace-app-shell-BnClrL2B.js.map} +1 -1
- package/dist/_chunks/{nl-DjPaaWaW.js → nl-xOogO4sZ.js} +2 -2
- package/dist/_chunks/{nl-DjPaaWaW.js.map → nl-xOogO4sZ.js.map} +1 -1
- package/dist/_chunks/{patient-shell-CDvMw_Nk.js → patient-shell-Bz3CdO84.js} +2 -2
- package/dist/_chunks/{patient-shell-CDvMw_Nk.js.map → patient-shell-Bz3CdO84.js.map} +1 -1
- package/dist/_chunks/{pl-Cl4lOx2N.js → pl-GnOW6eGK.js} +3 -3
- package/dist/_chunks/{pl-Cl4lOx2N.js.map → pl-GnOW6eGK.js.map} +1 -1
- package/dist/_chunks/{practice-results-BFM_lyUs.js → practice-results-C8ciLQap.js} +3 -2
- package/dist/_chunks/{practice-results-BFM_lyUs.js.map → practice-results-C8ciLQap.js.map} +1 -1
- package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +209 -0
- package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js.map +1 -0
- package/dist/_chunks/{privacy-lock-DD-wHxBg.js → privacy-lock-BmX_gkvt.js} +2 -2
- package/dist/_chunks/{privacy-lock-DD-wHxBg.js.map → privacy-lock-BmX_gkvt.js.map} +1 -1
- package/dist/_chunks/{pt-D7qO5CzD.js → pt-_bV5b5RW.js} +2 -2
- package/dist/_chunks/{pt-D7qO5CzD.js.map → pt-_bV5b5RW.js.map} +1 -1
- package/dist/_chunks/{public-footer.agent-Cjfe5jus.js → public-footer.agent-zw1vFin_.js} +2 -2
- package/dist/_chunks/{public-footer.agent-Cjfe5jus.js.map → public-footer.agent-zw1vFin_.js.map} +1 -1
- package/dist/_chunks/qr-code-DNXhi6se.js +568 -0
- package/dist/_chunks/qr-code-DNXhi6se.js.map +1 -0
- package/dist/_chunks/{react-day-picker-DsjfS7uI.js → react-day-picker-CdtIiKjx.js} +27 -27
- package/dist/_chunks/{react-day-picker-DsjfS7uI.js.map → react-day-picker-CdtIiKjx.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-CHmr9Bz8.js → rich-text-editor-DLbg2852.js} +114 -124
- package/dist/_chunks/rich-text-editor-DLbg2852.js.map +1 -0
- package/dist/_chunks/{ro-CP2-VJ_O.js → ro-BEcyh5Nj.js} +2 -2
- package/dist/_chunks/{ro-CP2-VJ_O.js.map → ro-BEcyh5Nj.js.map} +1 -1
- package/dist/_chunks/rotate-ccw-BWANpitO.js +15 -0
- package/dist/_chunks/rotate-ccw-BWANpitO.js.map +1 -0
- package/dist/_chunks/{ru-RPn9_Lpq.js → ru-Bi86hqMf.js} +3 -3
- package/dist/_chunks/{ru-RPn9_Lpq.js.map → ru-Bi86hqMf.js.map} +1 -1
- package/dist/_chunks/session-countdown-LPnhTHjn.js +214 -0
- package/dist/_chunks/session-countdown-LPnhTHjn.js.map +1 -0
- package/dist/_chunks/{shield-check-BhHyReu8.js → shield-check-C73ma9Cs.js} +8 -24
- package/dist/_chunks/shield-check-C73ma9Cs.js.map +1 -0
- package/dist/_chunks/{sign-in-with-alfadocs-button-BI0fVonM.js → sign-in-with-alfadocs-button-DeHBFRNS.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-BI0fVonM.js.map → sign-in-with-alfadocs-button-DeHBFRNS.js.map} +1 -1
- package/dist/_chunks/social-sign-in-button-X54ySJr1.js +243 -0
- package/dist/_chunks/social-sign-in-button-X54ySJr1.js.map +1 -0
- package/dist/_chunks/{sq-AQvefouo.js → sq-BujHSAWu.js} +2 -2
- package/dist/_chunks/{sq-AQvefouo.js.map → sq-BujHSAWu.js.map} +1 -1
- package/dist/_chunks/subDays-_T9YeKPX.js +8 -0
- package/dist/_chunks/{subDays-CANHP9hz.js.map → subDays-_T9YeKPX.js.map} +1 -1
- package/dist/_chunks/{sv-zkx9eBtD.js → sv-C8AeDrTA.js} +2 -2
- package/dist/_chunks/{sv-zkx9eBtD.js.map → sv-C8AeDrTA.js.map} +1 -1
- package/dist/_chunks/{tr-Dmr412Ac.js → tr-CMSs_Vgf.js} +2 -2
- package/dist/_chunks/{tr-Dmr412Ac.js.map → tr-CMSs_Vgf.js.map} +1 -1
- package/dist/_chunks/unit-converter-EUwO6QYq.js +168 -0
- package/dist/_chunks/unit-converter-EUwO6QYq.js.map +1 -0
- package/dist/_chunks/wallet-pay-button-DK4ESYge.js +250 -0
- package/dist/_chunks/wallet-pay-button-DK4ESYge.js.map +1 -0
- package/dist/_chunks/{zh-CN-DxVt64Zk.js → zh-CN-eXB-PFu4.js} +3 -3
- package/dist/_chunks/{zh-CN-DxVt64Zk.js.map → zh-CN-eXB-PFu4.js.map} +1 -1
- package/dist/agent-catalog.json +203 -1
- package/dist/brand/provider-marks/apple-pay.d.ts +12 -0
- package/dist/brand/provider-marks/apple-pay.d.ts.map +1 -0
- package/dist/brand/provider-marks/apple.d.ts +12 -0
- package/dist/brand/provider-marks/apple.d.ts.map +1 -0
- package/dist/brand/provider-marks/google-pay.d.ts +12 -0
- package/dist/brand/provider-marks/google-pay.d.ts.map +1 -0
- package/dist/brand/provider-marks/google.d.ts +13 -0
- package/dist/brand/provider-marks/google.d.ts.map +1 -0
- package/dist/components/_shared/insert-result.d.ts +47 -0
- package/dist/components/_shared/insert-result.d.ts.map +1 -0
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +27 -0
- package/dist/components/bmi-calculator/bmi-calculator.d.ts.map +1 -0
- package/dist/components/bmi-calculator/bmi.d.ts +37 -0
- package/dist/components/bmi-calculator/bmi.d.ts.map +1 -0
- package/dist/components/bmi-calculator/index.d.ts +4 -0
- package/dist/components/bmi-calculator/index.d.ts.map +1 -0
- package/dist/components/bmi-calculator/index.js +15 -0
- package/dist/components/bmi-calculator/index.js.map +1 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/calculator-dialog.d.ts +26 -0
- package/dist/components/calculator-dialog/calculator-dialog.d.ts.map +1 -0
- package/dist/components/calculator-dialog/index.d.ts +3 -0
- package/dist/components/calculator-dialog/index.d.ts.map +1 -0
- package/dist/components/calculator-dialog/index.js +5 -0
- package/dist/components/calculator-dialog/index.js.map +1 -0
- package/dist/components/chart/chart.d.ts +7 -0
- package/dist/components/chart/chart.d.ts.map +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/cycle-calculator.d.ts +21 -0
- package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -0
- package/dist/components/cycle-calculator/cycle.d.ts +37 -0
- package/dist/components/cycle-calculator/cycle.d.ts.map +1 -0
- package/dist/components/cycle-calculator/index.d.ts +4 -0
- package/dist/components/cycle-calculator/index.d.ts.map +1 -0
- package/dist/components/cycle-calculator/index.js +7 -0
- package/dist/components/cycle-calculator/index.js.map +1 -0
- 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/dependent-selector/dependent-selector.agent.d.ts +4 -0
- package/dist/components/dependent-selector/dependent-selector.agent.d.ts.map +1 -0
- package/dist/components/dependent-selector/dependent-selector.d.ts +72 -0
- package/dist/components/dependent-selector/dependent-selector.d.ts.map +1 -0
- package/dist/components/dependent-selector/index.d.ts +4 -0
- package/dist/components/dependent-selector/index.d.ts.map +1 -0
- package/dist/components/dependent-selector/index.js +6 -0
- package/dist/components/dependent-selector/index.js.map +1 -0
- package/dist/components/document-scanner/document-scanner.agent.d.ts +4 -0
- package/dist/components/document-scanner/document-scanner.agent.d.ts.map +1 -0
- package/dist/components/document-scanner/document-scanner.d.ts +93 -0
- package/dist/components/document-scanner/document-scanner.d.ts.map +1 -0
- package/dist/components/document-scanner/index.d.ts +4 -0
- package/dist/components/document-scanner/index.d.ts.map +1 -0
- package/dist/components/document-scanner/index.js +6 -0
- package/dist/components/document-scanner/index.js.map +1 -0
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +21 -0
- package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -0
- package/dist/components/due-date-calculator/gestation.d.ts +60 -0
- package/dist/components/due-date-calculator/gestation.d.ts.map +1 -0
- package/dist/components/due-date-calculator/index.d.ts +4 -0
- package/dist/components/due-date-calculator/index.d.ts.map +1 -0
- package/dist/components/due-date-calculator/index.js +13 -0
- package/dist/components/due-date-calculator/index.js.map +1 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/calculate-codice-fiscale.d.ts +24 -0
- package/dist/components/fiscal-code-input/calculate-codice-fiscale.d.ts.map +1 -0
- package/dist/components/fiscal-code-input/fiscal-code-input.agent.d.ts +4 -0
- package/dist/components/fiscal-code-input/fiscal-code-input.agent.d.ts.map +1 -0
- package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +61 -0
- package/dist/components/fiscal-code-input/fiscal-code-input.d.ts.map +1 -0
- package/dist/components/fiscal-code-input/index.d.ts +6 -0
- package/dist/components/fiscal-code-input/index.d.ts.map +1 -0
- package/dist/components/fiscal-code-input/index.js +11 -0
- package/dist/components/fiscal-code-input/index.js.map +1 -0
- package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +21 -0
- package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts.map +1 -0
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +27 -0
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -0
- package/dist/components/gestational-age-calculator/index.d.ts +3 -0
- package/dist/components/gestational-age-calculator/index.d.ts.map +1 -0
- package/dist/components/gestational-age-calculator/index.js +5 -0
- package/dist/components/gestational-age-calculator/index.js.map +1 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.d.ts +4 -0
- package/dist/components/pregnancy-weight-gain/index.d.ts.map +1 -0
- package/dist/components/pregnancy-weight-gain/index.js +9 -0
- package/dist/components/pregnancy-weight-gain/index.js.map +1 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +19 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -0
- package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +41 -0
- package/dist/components/pregnancy-weight-gain/weight-gain.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +5 -0
- package/dist/components/qr-code/index.d.ts.map +1 -0
- package/dist/components/qr-code/index.js +8 -0
- package/dist/components/qr-code/index.js.map +1 -0
- package/dist/components/qr-code/qr-code.agent.d.ts +3 -0
- package/dist/components/qr-code/qr-code.agent.d.ts.map +1 -0
- package/dist/components/qr-code/qr-code.d.ts +59 -0
- package/dist/components/qr-code/qr-code.d.ts.map +1 -0
- package/dist/components/qr-code/qr-encode.d.ts +46 -0
- package/dist/components/qr-code/qr-encode.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.d.ts +4 -0
- package/dist/components/session-countdown/index.d.ts.map +1 -0
- package/dist/components/session-countdown/index.js +6 -0
- package/dist/components/session-countdown/index.js.map +1 -0
- package/dist/components/session-countdown/session-countdown.agent.d.ts +3 -0
- package/dist/components/session-countdown/session-countdown.agent.d.ts.map +1 -0
- package/dist/components/session-countdown/session-countdown.d.ts +38 -0
- package/dist/components/session-countdown/session-countdown.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/social-sign-in-button/index.d.ts +3 -0
- package/dist/components/social-sign-in-button/index.d.ts.map +1 -0
- package/dist/components/social-sign-in-button/index.js +5 -0
- package/dist/components/social-sign-in-button/index.js.map +1 -0
- package/dist/components/social-sign-in-button/social-sign-in-button.d.ts +56 -0
- package/dist/components/social-sign-in-button/social-sign-in-button.d.ts.map +1 -0
- package/dist/components/unit-converter/index.d.ts +4 -0
- package/dist/components/unit-converter/index.d.ts.map +1 -0
- package/dist/components/unit-converter/index.js +9 -0
- package/dist/components/unit-converter/index.js.map +1 -0
- package/dist/components/unit-converter/unit-converter.d.ts +21 -0
- package/dist/components/unit-converter/unit-converter.d.ts.map +1 -0
- package/dist/components/unit-converter/units.d.ts +18 -0
- package/dist/components/unit-converter/units.d.ts.map +1 -0
- package/dist/components/wallet-pay-button/index.d.ts +3 -0
- package/dist/components/wallet-pay-button/index.d.ts.map +1 -0
- package/dist/components/wallet-pay-button/index.js +5 -0
- package/dist/components/wallet-pay-button/index.js.map +1 -0
- package/dist/components/wallet-pay-button/wallet-pay-button.d.ts +63 -0
- package/dist/components/wallet-pay-button/wallet-pay-button.d.ts.map +1 -0
- package/dist/i18n/locales/ar.d.ts +316 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +307 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +316 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +307 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +316 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +307 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +316 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +310 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +316 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +307 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +316 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +307 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +316 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +307 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +316 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +307 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +316 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +303 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +316 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +307 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +316 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +307 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +316 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +310 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +316 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +307 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +316 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +307 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +316 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +307 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +316 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +307 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +316 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +307 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +316 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +303 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +597 -527
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +316 -0
- package/dist/locales/de.json +316 -0
- package/dist/locales/el.json +316 -0
- package/dist/locales/en.json +316 -0
- package/dist/locales/es.json +316 -0
- package/dist/locales/fr.json +316 -0
- package/dist/locales/hi.json +316 -0
- package/dist/locales/it.json +316 -0
- package/dist/locales/ja.json +316 -0
- package/dist/locales/nl.json +316 -0
- package/dist/locales/pl.json +316 -0
- package/dist/locales/pt.json +316 -0
- package/dist/locales/ro.json +316 -0
- package/dist/locales/ru.json +316 -0
- package/dist/locales/sq.json +316 -0
- package/dist/locales/sv.json +316 -0
- package/dist/locales/tr.json +316 -0
- package/dist/locales/zh.json +316 -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 +57 -1
- package/dist/_chunks/chart-DLkVn_ex.js +0 -292
- package/dist/_chunks/chart-DLkVn_ex.js.map +0 -1
- package/dist/_chunks/chat-message-D53_fH2w.js.map +0 -1
- package/dist/_chunks/logo-_Z-jLq80.js.map +0 -1
- package/dist/_chunks/rich-text-editor-CHmr9Bz8.js.map +0 -1
- package/dist/_chunks/shield-check-BhHyReu8.js.map +0 -1
- package/dist/_chunks/subDays-CANHP9hz.js +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/calculator-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -33,6 +33,13 @@ export interface ChartProps extends VariantProps<typeof chartVariants> {
|
|
|
33
33
|
toolbar?: boolean;
|
|
34
34
|
/** Locale override — defaults to the active i18next language. */
|
|
35
35
|
locale?: string;
|
|
36
|
+
/**
|
|
37
|
+
* radialBar only. Formats the value printed in the ring centre. Use when the
|
|
38
|
+
* gauge represents a non-percentage figure: pass the arc fill (0–100) as the
|
|
39
|
+
* single `series` value and return the real figure here (e.g. `(_, ) => '22.4'`).
|
|
40
|
+
* Ignored for every other chart type. Defaults to ApexCharts' `${value}%`.
|
|
41
|
+
*/
|
|
42
|
+
radialValueFormatter?: (value: number) => string;
|
|
36
43
|
/** Extra class names on the wrapper. */
|
|
37
44
|
className?: string;
|
|
38
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../src/components/chart/chart.tsx"],"names":[],"mappings":"AA2BA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAclE,QAAA,MAAM,aAAa;;8EAQjB,CAAC;AAMH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,CAAC;AAEhF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACpE,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,yBAAyB;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB;;;OAGG;IACH,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,EAAE,CAAC;IACjC,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,4CAA4C;IAC5C,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,yCAAyC;IACzC,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;CACpD;AAqDD,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../src/components/chart/chart.tsx"],"names":[],"mappings":"AA2BA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAclE,QAAA,MAAM,aAAa;;8EAQjB,CAAC;AAMH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,CAAC;AAEhF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACpE,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,yBAAyB;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB;;;OAGG;IACH,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,EAAE,CAAC;IACjC,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACjD,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,4CAA4C;IAC5C,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,yCAAyC;IACzC,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;CACpD;AAqDD,eAAO,MAAM,KAAK,oGAyWjB,CAAC;AAQF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-
|
|
1
|
+
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-DHyuAPXM.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { type InsertPayload } from '../_shared/insert-result';
|
|
3
|
+
import { type CyclePrediction } from './cycle';
|
|
4
|
+
declare const rootVariants: (props?: ({
|
|
5
|
+
width?: "auto" | "full" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export interface CycleCalculatorProps extends VariantProps<typeof rootVariants> {
|
|
8
|
+
/** Initial cycle length in days. Defaults to 28. */
|
|
9
|
+
defaultCycleLength?: number;
|
|
10
|
+
/** Fires whenever a prediction can be computed (and `null` when it can't). */
|
|
11
|
+
onResultChange?: (result: CyclePrediction | null) => void;
|
|
12
|
+
/** When provided, shows an "Insert" button that emits the result for an editor. */
|
|
13
|
+
onInsert?: (payload: InsertPayload) => void;
|
|
14
|
+
/** Opaque instance id, emitted as `data-component-id`. */
|
|
15
|
+
id?: string;
|
|
16
|
+
/** Extra class names on the wrapper. */
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const CycleCalculator: import("react").ForwardRefExoticComponent<CycleCalculatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=cycle-calculator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cycle-calculator.d.ts","sourceRoot":"","sources":["../../../src/components/cycle-calculator/cycle-calculator.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAOlE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EACL,KAAK,eAAe,EAGrB,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAEH,MAAM,WAAW,oBAAqB,SAAQ,YAAY,CACxD,OAAO,YAAY,CACpB;IACC,oDAAoD;IACpD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1D,mFAAmF;IACnF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,iHA6J3B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Standard menstrual-cycle length. */
|
|
2
|
+
export declare const DEFAULT_CYCLE_LENGTH = 28;
|
|
3
|
+
/** Luteal phase is biologically near-constant at ~14 days. */
|
|
4
|
+
export declare const LUTEAL_PHASE_DAYS = 14;
|
|
5
|
+
/** Sperm survive up to ~5 days before ovulation. */
|
|
6
|
+
export declare const FERTILE_DAYS_BEFORE = 5;
|
|
7
|
+
/** The oocyte is viable ~1 day after ovulation. */
|
|
8
|
+
export declare const FERTILE_DAYS_AFTER = 1;
|
|
9
|
+
export interface CycleInput {
|
|
10
|
+
/** First day of the most recent period. */
|
|
11
|
+
lastPeriodStart: Date;
|
|
12
|
+
/** Average cycle length in days. Defaults to 28. */
|
|
13
|
+
cycleLength?: number;
|
|
14
|
+
/** Period (bleed) length in days. Optional — used for the period range. */
|
|
15
|
+
periodLength?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface DateRange {
|
|
18
|
+
start: Date;
|
|
19
|
+
end: Date;
|
|
20
|
+
}
|
|
21
|
+
export interface CyclePrediction {
|
|
22
|
+
/** Start date of the next period. */
|
|
23
|
+
nextPeriod: Date;
|
|
24
|
+
/** Estimated ovulation date. */
|
|
25
|
+
ovulation: Date;
|
|
26
|
+
/** Fertile window (5 days before ovulation → 1 day after). */
|
|
27
|
+
fertileWindow: DateRange;
|
|
28
|
+
/** Start dates of the next few periods (length = `occurrences`). */
|
|
29
|
+
upcomingPeriods: Date[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Predict ovulation, the fertile window and upcoming periods from the last
|
|
33
|
+
* period's start date. `occurrences` controls how many future periods to
|
|
34
|
+
* list (default 3).
|
|
35
|
+
*/
|
|
36
|
+
export declare function predictCycle(input: CycleInput, occurrences?: number): CyclePrediction;
|
|
37
|
+
//# sourceMappingURL=cycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cycle.d.ts","sourceRoot":"","sources":["../../../src/components/cycle-calculator/cycle.ts"],"names":[],"mappings":"AAWA,uCAAuC;AACvC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,8DAA8D;AAC9D,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,oDAAoD;AACpD,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,mDAAmD;AACnD,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,eAAe,EAAE,IAAI,CAAC;IACtB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;CACX;AAED,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,UAAU,EAAE,IAAI,CAAC;IACjB,gCAAgC;IAChC,SAAS,EAAE,IAAI,CAAC;IAChB,8DAA8D;IAC9D,aAAa,EAAE,SAAS,CAAC;IACzB,oEAAoE;IACpE,eAAe,EAAE,IAAI,EAAE,CAAC;CACzB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,UAAU,EACjB,WAAW,SAAI,GACd,eAAe,CAejB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CycleCalculator } from './cycle-calculator';
|
|
2
|
+
export type { CycleCalculatorProps } from './cycle-calculator';
|
|
3
|
+
export { predictCycle, LUTEAL_PHASE_DAYS, type CycleInput, type CyclePrediction, type DateRange, } from './cycle';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/cycle-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,SAAS,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-
|
|
1
|
+
import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-DGKuRNVG.js";
|
|
2
2
|
export {
|
|
3
3
|
l as ActionsCellRenderer,
|
|
4
4
|
r as BalanceCellRenderer,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependent-selector.agent.d.ts","sourceRoot":"","sources":["../../../src/components/dependent-selector/dependent-selector.agent.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,uBAAuB,CAuCxE,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
import * as RadixRadioGroup from '@radix-ui/react-radio-group';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
/**
|
|
5
|
+
* Closed relationship vocabulary. The kit owns the localised label for
|
|
6
|
+
* each key (`dependentSelector.relationship.<key>`). `'other'` is the
|
|
7
|
+
* escape hatch for relationships the enum doesn't model.
|
|
8
|
+
*/
|
|
9
|
+
export type DependentRelationship = 'self' | 'son' | 'daughter' | 'child' | 'spouse' | 'parent' | 'sibling' | 'ward' | 'other';
|
|
10
|
+
export interface DependentSelectorPerson {
|
|
11
|
+
/** Stable id — becomes the radio value + `data-option-id`. */
|
|
12
|
+
id: string;
|
|
13
|
+
/** Display-formatted name (already formatted by the consumer). */
|
|
14
|
+
name: string;
|
|
15
|
+
/** Closed relationship key — the kit owns the localised label. */
|
|
16
|
+
relationshipKey: DependentRelationship;
|
|
17
|
+
/**
|
|
18
|
+
* Explicit "minor" flag — drives the localised "Minor" badge.
|
|
19
|
+
* Consumer-supplied, NOT derived from `age < 18` (legal age of
|
|
20
|
+
* majority varies by market).
|
|
21
|
+
*/
|
|
22
|
+
isMinor?: boolean;
|
|
23
|
+
/** Avatar image source — falls back to initials, then icon. */
|
|
24
|
+
avatarSrc?: string;
|
|
25
|
+
/** Whole years, pre-computed by the consumer. Display-only. */
|
|
26
|
+
age?: number;
|
|
27
|
+
/**
|
|
28
|
+
* ISO 8601 date of birth. Used ONLY for the row title/tooltip — never
|
|
29
|
+
* parsed for display math (timezone/locale birthday math is the
|
|
30
|
+
* consumer's job).
|
|
31
|
+
*/
|
|
32
|
+
dob?: string;
|
|
33
|
+
/** Disables this row; skipped by arrow navigation. */
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
/** Shown in a Tooltip on the disabled row (like Radio.disabledReason). */
|
|
36
|
+
disabledReason?: string;
|
|
37
|
+
}
|
|
38
|
+
/** Agent-readiness curated handle for DependentSelector. */
|
|
39
|
+
export interface DependentSelectorHandle {
|
|
40
|
+
getValue: () => string;
|
|
41
|
+
setValue: (value: string) => void;
|
|
42
|
+
}
|
|
43
|
+
declare const rootVariants: (props?: ({
|
|
44
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
45
|
+
tone?: "default" | "checkin" | null | undefined;
|
|
46
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
47
|
+
type RadixRootProps = ComponentPropsWithoutRef<typeof RadixRadioGroup.Root>;
|
|
48
|
+
export interface DependentSelectorProps extends Omit<RadixRootProps, 'children' | 'orientation' | 'value' | 'defaultValue' | 'onValueChange'>, VariantProps<typeof rootVariants> {
|
|
49
|
+
/** Ordered roster to render as options. */
|
|
50
|
+
people: DependentSelectorPerson[];
|
|
51
|
+
/** Controlled selected person id. */
|
|
52
|
+
value?: string;
|
|
53
|
+
/** Uncontrolled initial selection. Ignored when `value` is set. */
|
|
54
|
+
defaultValue?: string;
|
|
55
|
+
/** Fires with the newly selected person id on user selection. */
|
|
56
|
+
onValueChange?: (personId: string) => void;
|
|
57
|
+
/** Accessible group name, rendered as the `<legend>`. */
|
|
58
|
+
label?: string;
|
|
59
|
+
/** Optional helper paragraph under the legend (wired via aria-describedby). */
|
|
60
|
+
description?: string;
|
|
61
|
+
/** Shows N skeleton rows while the roster resolves; sets aria-busy. */
|
|
62
|
+
loading?: boolean;
|
|
63
|
+
/** Validation/empty-confirmation message — role=alert + aria-invalid. */
|
|
64
|
+
error?: string;
|
|
65
|
+
/** Slot shown when no selectable dependents exist (only self / empty). */
|
|
66
|
+
emptyState?: ReactNode;
|
|
67
|
+
/** Forwarded to the radiogroup root as id + data-component-id. */
|
|
68
|
+
id?: string;
|
|
69
|
+
}
|
|
70
|
+
export declare const DependentSelector: import("react").ForwardRefExoticComponent<DependentSelectorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
71
|
+
export {};
|
|
72
|
+
//# sourceMappingURL=dependent-selector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependent-selector.d.ts","sourceRoot":"","sources":["../../../src/components/dependent-selector/dependent-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiClE;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,KAAK,GACL,UAAU,GACV,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,WAAW,uBAAuB;IACtC,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,eAAe,EAAE,qBAAqB,CAAC;IACvC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,4DAA4D;AAC5D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,MAAM,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAMD,QAAA,MAAM,YAAY;;;8EASjB,CAAC;AAyEF,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAE5E,MAAM,WAAW,sBACf,SACE,IAAI,CACF,cAAc,EACd,UAAU,GAAG,aAAa,GAAG,OAAO,GAAG,cAAc,GAAG,eAAe,CACxE,EACD,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC,2CAA2C;IAC3C,MAAM,EAAE,uBAAuB,EAAE,CAAC;IAClC,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iEAAiE;IACjE,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kEAAkE;IAClE,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAMD,eAAO,MAAM,iBAAiB,mHA+W7B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { DependentSelector } from './dependent-selector';
|
|
2
|
+
export type { DependentSelectorProps, DependentSelectorPerson, DependentSelectorHandle, DependentRelationship, } from './dependent-selector';
|
|
3
|
+
export { dependentSelectorAgent } from './dependent-selector.agent';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dependent-selector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-scanner.agent.d.ts","sourceRoot":"","sources":["../../../src/components/document-scanner/document-scanner.agent.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,qBAAqB,CA6DpE,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
export type DocumentScannerSource = 'camera' | 'upload';
|
|
3
|
+
export interface DocumentCapture {
|
|
4
|
+
/** Data URL of the captured / uploaded image (encoded to `mimeType`). */
|
|
5
|
+
dataUrl: string;
|
|
6
|
+
/** Encoded bytes as a Blob — the consumer persists this. */
|
|
7
|
+
blob: Blob;
|
|
8
|
+
/** Where the image came from. */
|
|
9
|
+
source: DocumentScannerSource;
|
|
10
|
+
/** Intrinsic pixel width of the encoded image. */
|
|
11
|
+
width: number;
|
|
12
|
+
/** Intrinsic pixel height of the encoded image. */
|
|
13
|
+
height: number;
|
|
14
|
+
/** MIME of the encoded image. */
|
|
15
|
+
mimeType: string;
|
|
16
|
+
/** Encoded byte size. */
|
|
17
|
+
byteSize: number;
|
|
18
|
+
/** ISO-8601 UTC timestamp for when the capture was confirmed. */
|
|
19
|
+
capturedAt: string;
|
|
20
|
+
/** Hex-encoded SHA-256 digest of the encoded bytes. */
|
|
21
|
+
sha256: string;
|
|
22
|
+
}
|
|
23
|
+
export type DocumentScannerErrorKind = 'permission-denied' | 'no-camera' | 'not-readable' | 'insecure-context' | 'capture-failed' | 'file-invalid-type' | 'file-too-large';
|
|
24
|
+
export interface DocumentScannerError {
|
|
25
|
+
kind: DocumentScannerErrorKind;
|
|
26
|
+
}
|
|
27
|
+
export type DocumentType = 'tessera-sanitaria' | 'cie' | 'id-card' | 'generic';
|
|
28
|
+
export type DocumentScannerPhase = 'idle' | 'requesting' | 'streaming' | 'captured' | 'error';
|
|
29
|
+
/** Curated imperative handle for agent / external automation. */
|
|
30
|
+
export interface DocumentScannerHandle {
|
|
31
|
+
/** True when a captured or uploaded image is held. */
|
|
32
|
+
hasCapture: () => boolean;
|
|
33
|
+
/** Current lifecycle phase. */
|
|
34
|
+
getPhase: () => DocumentScannerPhase;
|
|
35
|
+
/** Request the camera and begin the viewfinder. */
|
|
36
|
+
startCamera: () => Promise<void> | void;
|
|
37
|
+
/** Freeze the current viewfinder frame. */
|
|
38
|
+
capture: () => Promise<void> | void;
|
|
39
|
+
/** Confirm the current capture, firing `onConfirm`. */
|
|
40
|
+
confirm: () => void;
|
|
41
|
+
/** Discard the current capture and return to the capture path. */
|
|
42
|
+
retake: () => void;
|
|
43
|
+
}
|
|
44
|
+
export interface DocumentScannerProps {
|
|
45
|
+
/** Opaque instance id — emitted as `data-component-id` for the agent registry. */
|
|
46
|
+
id?: string;
|
|
47
|
+
/** Controlled captured-image value. When defined the component is controlled. */
|
|
48
|
+
value?: DocumentCapture | null;
|
|
49
|
+
/** Initial captured image for uncontrolled use; seeds the `captured` preview. */
|
|
50
|
+
defaultValue?: DocumentCapture | null;
|
|
51
|
+
/** Fired when the user confirms a captured or uploaded image. */
|
|
52
|
+
onConfirm?: (capture: DocumentCapture) => void;
|
|
53
|
+
/** Fired when the user discards the current capture to retake / re-upload. */
|
|
54
|
+
onRetake?: () => void;
|
|
55
|
+
/** Fired on a permission / hardware / decode failure (telemetry). */
|
|
56
|
+
onError?: (error: DocumentScannerError) => void;
|
|
57
|
+
/** Drives the overlay frame aspect ratio + the translated hint copy. */
|
|
58
|
+
documentType?: DocumentType;
|
|
59
|
+
/** Camera-vs-upload strategy. `auto` falls back to upload on camera failure. */
|
|
60
|
+
captureMode?: 'auto' | 'camera-only' | 'upload-only';
|
|
61
|
+
/** react-dropzone accept map for the upload fallback. */
|
|
62
|
+
accept?: Record<string, string[]>;
|
|
63
|
+
/** Max upload byte size. Defaults to 10MB. */
|
|
64
|
+
maxSize?: number;
|
|
65
|
+
/** Camera to request. Defaults to the rear (`environment`) camera. */
|
|
66
|
+
facingMode?: 'environment' | 'user';
|
|
67
|
+
/** MIME of the encoded capture. */
|
|
68
|
+
outputType?: 'image/jpeg' | 'image/webp' | 'image/png';
|
|
69
|
+
/** 0..1 quality for lossy `outputType`. Ignored for image/png. */
|
|
70
|
+
outputQuality?: number;
|
|
71
|
+
/** Crop the confirmed image to the overlay frame rect. */
|
|
72
|
+
cropToFrame?: boolean;
|
|
73
|
+
/** Disable all controls and skip the camera request. */
|
|
74
|
+
disabled?: boolean;
|
|
75
|
+
/** Accessible label for the component's group region. */
|
|
76
|
+
ariaLabel?: string;
|
|
77
|
+
/** Extra classes merged onto the outermost wrapper. */
|
|
78
|
+
className?: string;
|
|
79
|
+
}
|
|
80
|
+
declare const rootVariants: (props?: ({
|
|
81
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
82
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
83
|
+
declare const viewportVariants: (props?: ({
|
|
84
|
+
frame?: "generic" | "tessera-sanitaria" | "cie" | "id-card" | null | undefined;
|
|
85
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
86
|
+
type SizeVariant = NonNullable<VariantProps<typeof rootVariants>['size']>;
|
|
87
|
+
interface DocumentScannerInternalProps extends DocumentScannerProps {
|
|
88
|
+
/** Visual size variant (exposed via Controls). */
|
|
89
|
+
size?: SizeVariant;
|
|
90
|
+
}
|
|
91
|
+
export declare const DocumentScanner: import("react").ForwardRefExoticComponent<DocumentScannerInternalProps & import("react").RefAttributes<DocumentScannerHandle>>;
|
|
92
|
+
export { rootVariants as documentScannerRootVariants, viewportVariants as documentScannerViewportVariants, };
|
|
93
|
+
//# sourceMappingURL=document-scanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-scanner.d.ts","sourceRoot":"","sources":["../../../src/components/document-scanner/document-scanner.tsx"],"names":[],"mappings":"AAoCA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAclE,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAExD,MAAM,WAAW,eAAe;IAC9B,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,IAAI,EAAE,IAAI,CAAC;IACX,iCAAiC;IACjC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,wBAAwB,GAChC,mBAAmB,GACnB,WAAW,GACX,cAAc,GACd,kBAAkB,GAClB,gBAAgB,GAChB,mBAAmB,GACnB,gBAAgB,CAAC;AAErB,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,wBAAwB,CAAC;CAChC;AAED,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;AAE/E,MAAM,MAAM,oBAAoB,GAC5B,MAAM,GACN,YAAY,GACZ,WAAW,GACX,UAAU,GACV,OAAO,CAAC;AAEZ,iEAAiE;AACjE,MAAM,WAAW,qBAAqB;IACpC,sDAAsD;IACtD,UAAU,EAAE,MAAM,OAAO,CAAC;IAC1B,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,oBAAoB,CAAC;IACrC,mDAAmD;IACnD,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACxC,2CAA2C;IAC3C,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACpC,uDAAuD;IACvD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kEAAkE;IAClE,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,kFAAkF;IAClF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iFAAiF;IACjF,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/B,iFAAiF;IACjF,YAAY,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,iEAAiE;IACjE,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAC/C,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,qEAAqE;IACrE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAChD,wEAAwE;IACxE,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,aAAa,CAAC;IACrD,yDAAyD;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAClC,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,UAAU,CAAC,EAAE,aAAa,GAAG,MAAM,CAAC;IACpC,mCAAmC;IACnC,UAAU,CAAC,EAAE,YAAY,GAAG,YAAY,GAAG,WAAW,CAAC;IACvD,kEAAkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,QAAA,MAAM,YAAY;;8EAkBjB,CAAC;AAKF,QAAA,MAAM,gBAAgB;;8EAmBrB,CAAC;AAiHF,KAAK,WAAW,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAE1E,UAAU,4BAA6B,SAAQ,oBAAoB;IACjE,kDAAkD;IAClD,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,gIAmvB3B,CAAC;AAIF,OAAO,EACL,YAAY,IAAI,2BAA2B,EAC3C,gBAAgB,IAAI,+BAA+B,GACpD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { DocumentScanner } from './document-scanner';
|
|
2
|
+
export type { DocumentScannerProps, DocumentScannerHandle, DocumentCapture, DocumentScannerSource, DocumentScannerError, DocumentScannerErrorKind, DocumentScannerPhase, DocumentType, } from './document-scanner';
|
|
3
|
+
export { documentScannerAgent } from './document-scanner.agent';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-scanner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { type InsertPayload } from '../_shared/insert-result';
|
|
3
|
+
import { type DueDateMethod, type DueDateResult } from './gestation';
|
|
4
|
+
declare const rootVariants: (props?: ({
|
|
5
|
+
width?: "auto" | "full" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export interface DueDateCalculatorProps extends VariantProps<typeof rootVariants> {
|
|
8
|
+
/** Initial dating method. Defaults to `'lmp'`. */
|
|
9
|
+
defaultMethod?: DueDateMethod;
|
|
10
|
+
/** Fires whenever a due date can be computed (and with `null` when it can't). */
|
|
11
|
+
onResultChange?: (result: DueDateResult | null) => void;
|
|
12
|
+
/** When provided, shows an "Insert" button that emits the result for an editor. */
|
|
13
|
+
onInsert?: (payload: InsertPayload) => void;
|
|
14
|
+
/** Opaque instance id, emitted as `data-component-id`. */
|
|
15
|
+
id?: string;
|
|
16
|
+
/** Extra class names on the wrapper. */
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const DueDateCalculator: import("react").ForwardRefExoticComponent<DueDateCalculatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=due-date-calculator.d.ts.map
|
|
@@ -0,0 +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;AAOlE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,aAAa,EAGnB,MAAM,aAAa,CAAC;AAErB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAoBH,MAAM,WAAW,sBAAuB,SAAQ,YAAY,CAC1D,OAAO,YAAY,CACpB;IACC,kDAAkD;IAClD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,iFAAiF;IACjF,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACxD,mFAAmF;IACnF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,mHAqL7B,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export type DueDateMethod = 'lmp' | 'conception' | 'ivf';
|
|
2
|
+
/** Embryo age at transfer, in days (cleavage vs blastocyst). */
|
|
3
|
+
export type EmbryoAge = 3 | 5;
|
|
4
|
+
export type Trimester = 'preconception' | 'first' | 'second' | 'third' | 'postterm';
|
|
5
|
+
/** Naegele's rule: a term pregnancy is 280 days from the LMP. */
|
|
6
|
+
export declare const GESTATION_DAYS = 280;
|
|
7
|
+
/** Ovulation/conception sits ~14 days after the LMP in a 28-day cycle. */
|
|
8
|
+
export declare const CONCEPTION_OFFSET_DAYS = 14;
|
|
9
|
+
/** A term pregnancy is 266 days from conception. */
|
|
10
|
+
export declare const TERM_FROM_CONCEPTION_DAYS = 266;
|
|
11
|
+
/** Standard menstrual-cycle length Naegele assumes. */
|
|
12
|
+
export declare const DEFAULT_CYCLE_LENGTH = 28;
|
|
13
|
+
export interface DueDateInput {
|
|
14
|
+
method: DueDateMethod;
|
|
15
|
+
/** The reference date for the chosen method (LMP / conception / transfer). */
|
|
16
|
+
date: Date;
|
|
17
|
+
/** LMP only — average cycle length in days. Defaults to 28. */
|
|
18
|
+
cycleLength?: number;
|
|
19
|
+
/** IVF only — embryo age at transfer in days. Defaults to 5 (blastocyst). */
|
|
20
|
+
embryoAge?: EmbryoAge;
|
|
21
|
+
}
|
|
22
|
+
export interface GestationalAge {
|
|
23
|
+
weeks: number;
|
|
24
|
+
days: number;
|
|
25
|
+
totalDays: number;
|
|
26
|
+
}
|
|
27
|
+
export interface DueDateResult {
|
|
28
|
+
/** Estimated date of delivery. */
|
|
29
|
+
dueDate: Date;
|
|
30
|
+
/** GA day-0 anchor (notional LMP) the trimester maths counts from. */
|
|
31
|
+
gestationalStart: Date;
|
|
32
|
+
/** Gestational age as of `today`; `null` before conception. */
|
|
33
|
+
gestationalAge: GestationalAge | null;
|
|
34
|
+
trimester: Trimester;
|
|
35
|
+
}
|
|
36
|
+
/** Classify gestational age (in completed weeks) into a trimester. */
|
|
37
|
+
export declare function trimesterForWeeks(totalDays: number): Trimester;
|
|
38
|
+
/**
|
|
39
|
+
* Resolve the gestational start (notional LMP) and due date for a method.
|
|
40
|
+
* `cycleLength` shifts a longer/shorter cycle's ovulation, moving the due
|
|
41
|
+
* date while GA stays counted from the LMP — the standard convention.
|
|
42
|
+
*/
|
|
43
|
+
export declare function computeDueDate(input: DueDateInput, today: Date): DueDateResult;
|
|
44
|
+
/** Gestational weeks at which clinically notable milestones fall. */
|
|
45
|
+
export declare const MILESTONE_WEEKS: readonly [12, 24, 28, 37, 40];
|
|
46
|
+
export interface GestationalMilestone {
|
|
47
|
+
/** Stable key (`w12`, `w24`, …) for i18n lookup. */
|
|
48
|
+
key: string;
|
|
49
|
+
/** Completed gestational weeks. */
|
|
50
|
+
week: number;
|
|
51
|
+
/** Calendar date the milestone is reached. */
|
|
52
|
+
date: Date;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Project the standard milestone dates from a gestational start (notional
|
|
56
|
+
* LMP / GA day 0): end of first trimester (12w), viability (24w), third
|
|
57
|
+
* trimester (28w), term (37w) and the 40-week due date.
|
|
58
|
+
*/
|
|
59
|
+
export declare function gestationalMilestones(gestationalStart: Date): GestationalMilestone[];
|
|
60
|
+
//# sourceMappingURL=gestation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gestation.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/gestation.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,YAAY,GAAG,KAAK,CAAC;AAEzD,gEAAgE;AAChE,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC;AAE9B,MAAM,MAAM,SAAS,GACjB,eAAe,GACf,OAAO,GACP,QAAQ,GACR,OAAO,GACP,UAAU,CAAC;AAEf,iEAAiE;AACjE,eAAO,MAAM,cAAc,MAAM,CAAC;AAClC,0EAA0E;AAC1E,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAC7C,uDAAuD;AACvD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,aAAa,CAAC;IACtB,8EAA8E;IAC9E,IAAI,EAAE,IAAI,CAAC;IACX,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,kCAAkC;IAClC,OAAO,EAAE,IAAI,CAAC;IACd,sEAAsE;IACtE,gBAAgB,EAAE,IAAI,CAAC;IACvB,+DAA+D;IAC/D,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,sEAAsE;AACtE,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAO9D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,YAAY,EACnB,KAAK,EAAE,IAAI,GACV,aAAa,CAqCf;AAMD,qEAAqE;AACrE,eAAO,MAAM,eAAe,+BAAgC,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,IAAI,EAAE,IAAI,CAAC;CACZ;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,gBAAgB,EAAE,IAAI,GACrB,oBAAoB,EAAE,CAMxB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { DueDateCalculator } from './due-date-calculator';
|
|
2
|
+
export type { DueDateCalculatorProps } from './due-date-calculator';
|
|
3
|
+
export { computeDueDate, trimesterForWeeks, gestationalMilestones, MILESTONE_WEEKS, GESTATION_DAYS, TERM_FROM_CONCEPTION_DAYS, DEFAULT_CYCLE_LENGTH, type DueDateMethod, type EmbryoAge, type Trimester, type DueDateInput, type DueDateResult, type GestationalAge, type GestationalMilestone, } from './gestation';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/due-date-calculator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,oBAAoB,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { D as s } from "../../_chunks/due-date-calculator-CUspKSTw.js";
|
|
2
|
+
import { D as E, G as o, M as D, T as r, c as T, g as _, t as C } from "../../_chunks/gestation-BXEgDGmP.js";
|
|
3
|
+
export {
|
|
4
|
+
E as DEFAULT_CYCLE_LENGTH,
|
|
5
|
+
s as DueDateCalculator,
|
|
6
|
+
o as GESTATION_DAYS,
|
|
7
|
+
D as MILESTONE_WEEKS,
|
|
8
|
+
r as TERM_FROM_CONCEPTION_DAYS,
|
|
9
|
+
T as computeDueDate,
|
|
10
|
+
_ as gestationalMilestones,
|
|
11
|
+
C as trimesterForWeeks
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** Identity inputs needed to derive the (non-omocodic) codice fiscale. */
|
|
2
|
+
export interface CodiceFiscaleInput {
|
|
3
|
+
/** Family name (cognome). Diacritics are folded; non-letters ignored. */
|
|
4
|
+
surname: string;
|
|
5
|
+
/** Given name (nome). Diacritics are folded; non-letters ignored. */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Date of birth — a `Date` or an ISO `YYYY-MM-DD` (or full ISO) string. */
|
|
8
|
+
birthDate: Date | string;
|
|
9
|
+
/** Biological sex as recorded for the fiscal code: 'M' or 'F'. */
|
|
10
|
+
sex: 'M' | 'F';
|
|
11
|
+
/** 4-character cadastral / Belfiore code of the birthplace (e.g. H501). */
|
|
12
|
+
belfioreCode: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Compute the full 16-character (non-omocodic) codice fiscale from a
|
|
16
|
+
* person's identity data. The caller supplies the 4-char Belfiore code of
|
|
17
|
+
* the birthplace (the kit does not bundle the municipality table).
|
|
18
|
+
*
|
|
19
|
+
* Throws if `birthDate` is unparseable or `belfioreCode` is not 4
|
|
20
|
+
* `[A-Z][0-9]{3}`-shaped characters — i.e. a letter followed by 3 digits,
|
|
21
|
+
* the canonical Belfiore shape.
|
|
22
|
+
*/
|
|
23
|
+
export declare function calculateCodiceFiscale(input: CodiceFiscaleInput): string;
|
|
24
|
+
//# sourceMappingURL=calculate-codice-fiscale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calculate-codice-fiscale.d.ts","sourceRoot":"","sources":["../../../src/components/fiscal-code-input/calculate-codice-fiscale.ts"],"names":[],"mappings":"AAkBA,0EAA0E;AAC1E,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,kEAAkE;IAClE,GAAG,EAAE,GAAG,GAAG,GAAG,CAAC;IACf,2EAA2E;IAC3E,YAAY,EAAE,MAAM,CAAC;CACtB;AAwGD;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,CAiBxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fiscal-code-input.agent.d.ts","sourceRoot":"","sources":["../../../src/components/fiscal-code-input/fiscal-code-input.agent.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,qBAAqB,CA2DpE,CAAC"}
|