@alfadocs/ui-kit 1.4.11 → 1.4.12
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-fields-pHsfkXGk.js → address-fields-D-8akw2m.js} +2 -2
- package/dist/_chunks/{agenda-card-BCGaQazD.js → agenda-card-BQDs2ZMp.js} +2 -2
- package/dist/_chunks/{agenda-tray-CG6FuccE.js → agenda-tray-BTyWsVwT.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-CpF_rbG9.js → ai-consent-banner-gVcoiXxv.js} +2 -2
- package/dist/_chunks/{anamnesis-card-C4FVp9wO.js → anamnesis-card-Bt0twrML.js} +2 -2
- package/dist/_chunks/anamnesis-summary-card-BKGVcwny.js +350 -0
- package/dist/_chunks/{anamnesis-summary-rows-Dw3l6nOD.js → anamnesis-summary-rows-DAIpD0Or.js} +2821 -3062
- package/dist/_chunks/{antenatal-schedule-timeline-u8TsS2QJ.js → antenatal-schedule-timeline-BSLrOQ3S.js} +2 -2
- package/dist/_chunks/{appointment-card-DgKI5QKD.js → appointment-card-kcUC7vWR.js} +2 -2
- package/dist/_chunks/{appointment-timeline-CUijZCxZ.js → appointment-timeline-BC3dlZu5.js} +2 -2
- package/dist/_chunks/{appointment-tray-B1aUk46V.js → appointment-tray-BPY5rATW.js} +2 -2
- package/dist/_chunks/{badge-DCOqV9mI.js → badge-CIt-UFEx.js} +28 -28
- package/dist/_chunks/{bishop-score-Bpe20Ctl.js → bishop-score-B6iYYO0c.js} +3 -3
- package/dist/_chunks/{bmi-calculator-DF5bNsDD.js → bmi-calculator-CxPn0T0s.js} +4 -4
- package/dist/_chunks/{booking-DuSkvE5x.js → booking-CmHX15dh.js} +2 -2
- package/dist/_chunks/{care-plan-card-DiyK3Eys.js → care-plan-card-9tLgsDYY.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-6du8PYVk.js → care-plan-entry-card-CSan4h7A.js} +2 -2
- package/dist/_chunks/{care-plan-header-BWvDvly-.js → care-plan-header-D_BTi77b.js} +2 -2
- package/dist/_chunks/{clinical-note-card-D63x_AkK.js → clinical-note-card-ByzQ86uz.js} +2 -2
- package/dist/_chunks/{connection-status-Bi4Hwpd1.js → connection-status-D8mZ4klk.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CGS_NABR.js → contact-profile-card-DuW6VpzY.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Bd4_fJhq.js → cycle-calculator-D9M7IKfh.js} +3 -3
- package/dist/_chunks/{date-time-picker-DafkGDGO.js → date-time-picker-DVETwpzc.js} +2 -2
- package/dist/_chunks/{dependent-selector-DyFpdzZV.js → dependent-selector-BUvrZRi0.js} +2 -2
- package/dist/_chunks/{document-preview-DuMzmupZ.js → document-preview-Di15VrpQ.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Do67C-Z-.js → due-date-calculator-BkqZEvL4.js} +5 -5
- package/dist/_chunks/{fetal-weight-DHxXx7Uz.js → fetal-weight-C7JXGg6E.js} +3 -3
- package/dist/_chunks/{field-value-C5A4t4OE.js → field-value-BCFLVBmu.js} +2 -2
- package/dist/_chunks/{file-manager-BY6FdHAt.js → file-manager-DzWYcRpE.js} +2 -2
- package/dist/_chunks/form-field-D1oqYisL.js +127 -0
- package/dist/_chunks/{gestational-age-calculator-CMhOtFE_.js → gestational-age-calculator-Ch8vmJAl.js} +5 -5
- package/dist/_chunks/{hcg-doubling-DNG9Q2go.js → hcg-doubling-CFJlMH7Z.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-C8npOgmM.js → link-cell-renderer-DCCca2m3.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-BxOiy25s.js → marketplace-app-shell-BhRH7Zi4.js} +2 -2
- package/dist/_chunks/{notes-panel-BoyzMHI_.js → notes-panel-Bz83SO4-.js} +2 -2
- package/dist/_chunks/{operator-hero-DVy0RGoD.js → operator-hero-CpJkDNAM.js} +2 -2
- package/dist/_chunks/{patient-details-Bf4iTAPp.js → patient-details-CGhnfdUB.js} +2 -2
- package/dist/_chunks/{patient-summary-card-dkV6a53T.js → patient-summary-card-DfbOtOV6.js} +3 -3
- package/dist/_chunks/{patient-table-zifAcsjV.js → patient-table-D2fhV4mV.js} +3 -3
- package/dist/_chunks/{payment-automation-upsell-CZZPGfs0.js → payment-automation-upsell-Ckh3b7Xx.js} +2 -2
- package/dist/_chunks/{payment-request-card-Dy7_DA-2.js → payment-request-card-Dn6-tH-D.js} +2 -2
- package/dist/_chunks/{periodontal-chart-CfFgKXWa.js → periodontal-chart-B0yko9Xm.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card--6yTUsrQ.js → periodontal-chart-card-HbYTmWlo.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-cco40xTa.js → periodontal-diagnosis-Qk4F3Wc_.js} +3 -3
- package/dist/_chunks/{periodontal-risk-chart-bUGkMwDg.js → periodontal-risk-chart-ByKuM4cF.js} +2 -2
- package/dist/_chunks/{practice-results-Mys11x9p.js → practice-results-C5exrEn0.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-t3oM4ZzC.js → pregnancy-dating-iI6_j2K2.js} +5 -5
- package/dist/_chunks/{pregnancy-weight-gain-Bfz7SbIw.js → pregnancy-weight-gain-Co-YFMJZ.js} +4 -4
- package/dist/_chunks/radio-group-BmIqhIT2.js +171 -0
- package/dist/_chunks/{radiograph-panel.agent-DyA4wsZA.js → radiograph-panel.agent-Drj0hYVV.js} +3 -3
- package/dist/_chunks/signature-status-chip-DUcTgQ0E.js +95 -0
- package/dist/_chunks/{tab-bar-BYESZINM.js → tab-bar-Ddp_ZbnL.js} +2 -2
- package/dist/_chunks/{tasks-panel-CoESdfZI.js → tasks-panel-T7vaKJcA.js} +2 -2
- package/dist/_chunks/{time-picker-BPlJWm8w.js → time-picker-D0RS391l.js} +66 -63
- package/dist/_chunks/{unit-converter-lUW9Q888.js → unit-converter-BeTicruA.js} +2 -2
- package/dist/_chunks/{widget-picker-DEmTVuFL.js → widget-picker-DqMbjQy_.js} +2 -2
- package/dist/_chunks/{workflow-map-C5PGP6cD.js → workflow-map-BNBeG2zn.js} +2 -2
- package/dist/agent-catalog.json +22 -28
- package/dist/agent-i18n/en.json +2 -3
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/badge/badge.d.ts +1 -0
- package/dist/components/badge/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/form-field/form-field.d.ts +6 -0
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.d.ts +3 -0
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/signature-status-chip/index.d.ts +3 -0
- package/dist/components/signature-status-chip/index.js +6 -0
- package/dist/components/signature-status-chip/signature-status-chip.d.ts +29 -0
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +16 -0
- package/dist/i18n/locales/ar.js +10 -0
- package/dist/i18n/locales/de.d.ts +16 -0
- package/dist/i18n/locales/de.js +10 -0
- package/dist/i18n/locales/el.d.ts +16 -0
- package/dist/i18n/locales/el.js +10 -0
- package/dist/i18n/locales/en.d.ts +16 -0
- package/dist/i18n/locales/en.js +10 -0
- package/dist/i18n/locales/es.d.ts +16 -0
- package/dist/i18n/locales/es.js +10 -0
- package/dist/i18n/locales/fr.d.ts +16 -0
- package/dist/i18n/locales/fr.js +10 -0
- package/dist/i18n/locales/hi.d.ts +16 -0
- package/dist/i18n/locales/hi.js +10 -0
- package/dist/i18n/locales/it.d.ts +16 -0
- package/dist/i18n/locales/it.js +10 -0
- package/dist/i18n/locales/ja.d.ts +16 -0
- package/dist/i18n/locales/ja.js +10 -0
- package/dist/i18n/locales/nl.d.ts +16 -0
- package/dist/i18n/locales/nl.js +10 -0
- package/dist/i18n/locales/pl.d.ts +16 -0
- package/dist/i18n/locales/pl.js +10 -0
- package/dist/i18n/locales/pt.d.ts +16 -0
- package/dist/i18n/locales/pt.js +10 -0
- package/dist/i18n/locales/ro.d.ts +16 -0
- package/dist/i18n/locales/ro.js +10 -0
- package/dist/i18n/locales/ru.d.ts +16 -0
- package/dist/i18n/locales/ru.js +10 -0
- package/dist/i18n/locales/sq.d.ts +16 -0
- package/dist/i18n/locales/sq.js +10 -0
- package/dist/i18n/locales/sv.d.ts +16 -0
- package/dist/i18n/locales/sv.js +10 -0
- package/dist/i18n/locales/tr.d.ts +16 -0
- package/dist/i18n/locales/tr.js +10 -0
- package/dist/i18n/locales/zh.d.ts +16 -0
- package/dist/i18n/locales/zh.js +10 -0
- package/dist/index.js +261 -258
- package/dist/locales/ar.json +16 -0
- package/dist/locales/de.json +16 -0
- package/dist/locales/el.json +16 -0
- package/dist/locales/en.json +16 -0
- package/dist/locales/es.json +16 -0
- package/dist/locales/fr.json +16 -0
- package/dist/locales/hi.json +16 -0
- package/dist/locales/it.json +16 -0
- package/dist/locales/ja.json +16 -0
- package/dist/locales/nl.json +16 -0
- package/dist/locales/pl.json +16 -0
- package/dist/locales/pt.json +16 -0
- package/dist/locales/ro.json +16 -0
- package/dist/locales/ru.json +16 -0
- package/dist/locales/sq.json +16 -0
- package/dist/locales/sv.json +16 -0
- package/dist/locales/tr.json +16 -0
- package/dist/locales/zh.json +16 -0
- package/dist/patterns/anamnesis/anamnesis-baseline.d.ts +6 -0
- package/dist/patterns/anamnesis/anamnesis-compile.d.ts +4 -1
- package/dist/patterns/anamnesis/anamnesis-evolution-grid.d.ts +8 -9
- package/dist/patterns/anamnesis/anamnesis-evolution.d.ts +24 -12
- package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +4 -1
- package/dist/patterns/anamnesis/anamnesis-readonly.d.ts +4 -1
- package/dist/patterns/anamnesis/anamnesis-source-blocks.d.ts +29 -0
- package/dist/patterns/anamnesis/anamnesis-window.d.ts +3 -5
- package/dist/patterns/anamnesis/anamnesis.d.ts +4 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/anamnesis-summary-card-CpQViN5l.js +0 -392
- package/dist/_chunks/form-field-M5UpX65Z.js +0 -123
- package/dist/_chunks/radio-group-CI-6SmSw.js +0 -167
- package/dist/patterns/anamnesis/anamnesis-compare-panel.d.ts +0 -89
package/dist/locales/ar.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "تم التوقيع",
|
|
2855
2855
|
"signedNamed": "{{label}} — تم التوقيع"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "تم التوقيع",
|
|
2859
|
+
"unsigned": "لم يتم التوقيع",
|
|
2860
|
+
"notRequired": "لا يلزم توقيع",
|
|
2861
|
+
"missingOperator": "توقيع المشغّل مفقود",
|
|
2862
|
+
"missingPatient": "توقيع المريض مفقود",
|
|
2863
|
+
"breakdownItem": "{{party}}: {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "المشغّل",
|
|
2866
|
+
"patient": "المريض"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "تم التوقيع",
|
|
2870
|
+
"pending": "قيد الانتظار"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "منطقة التوقيع",
|
|
2859
2875
|
"clear": "مسح التوقيع",
|
package/dist/locales/de.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Signiert",
|
|
2855
2855
|
"signedNamed": "{{label}} — Signiert"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Unterschrieben",
|
|
2859
|
+
"unsigned": "Nicht unterschrieben",
|
|
2860
|
+
"notRequired": "Keine Unterschrift erforderlich",
|
|
2861
|
+
"missingOperator": "Unterschrift des Operators fehlt",
|
|
2862
|
+
"missingPatient": "Unterschrift des Patienten fehlt",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operator",
|
|
2866
|
+
"patient": "Patient"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "unterschrieben",
|
|
2870
|
+
"pending": "ausstehend"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Unterschriftfeld",
|
|
2859
2875
|
"clear": "Unterschrift löschen",
|
package/dist/locales/el.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Υπογράφηκε",
|
|
2855
2855
|
"signedNamed": "{{label}} — Υπογράφηκε"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Υπογεγραμμένο",
|
|
2859
|
+
"unsigned": "Χωρίς υπογραφή",
|
|
2860
|
+
"notRequired": "Δεν απαιτείται υπογραφή",
|
|
2861
|
+
"missingOperator": "Λείπει η υπογραφή του χειριστή",
|
|
2862
|
+
"missingPatient": "Λείπει η υπογραφή του ασθενούς",
|
|
2863
|
+
"breakdownItem": "{{party}}: {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Χειριστής",
|
|
2866
|
+
"patient": "Ασθενής"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "υπογράφηκε",
|
|
2870
|
+
"pending": "σε εκκρεμότητα"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Περιοχή υπογραφής",
|
|
2859
2875
|
"clear": "Εκκαθάριση υπογραφής",
|
package/dist/locales/en.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Signed",
|
|
2855
2855
|
"signedNamed": "{{label}} — Signed"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Signed",
|
|
2859
|
+
"unsigned": "Not signed",
|
|
2860
|
+
"notRequired": "No signature required",
|
|
2861
|
+
"missingOperator": "Operator signature missing",
|
|
2862
|
+
"missingPatient": "Patient signature missing",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operator",
|
|
2866
|
+
"patient": "Patient"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "signed",
|
|
2870
|
+
"pending": "pending"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Signature pad",
|
|
2859
2875
|
"clear": "Clear signature",
|
package/dist/locales/es.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Firmado",
|
|
2855
2855
|
"signedNamed": "{{label}} — Firmado"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Firmado",
|
|
2859
|
+
"unsigned": "Sin firmar",
|
|
2860
|
+
"notRequired": "No se requiere firma",
|
|
2861
|
+
"missingOperator": "Falta la firma del operador",
|
|
2862
|
+
"missingPatient": "Falta la firma del paciente",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operador",
|
|
2866
|
+
"patient": "Paciente"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "firmado",
|
|
2870
|
+
"pending": "pendiente"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Área de firma",
|
|
2859
2875
|
"clear": "Borrar firma",
|
package/dist/locales/fr.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Signé",
|
|
2855
2855
|
"signedNamed": "{{label}} — Signé"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Signé",
|
|
2859
|
+
"unsigned": "Non signé",
|
|
2860
|
+
"notRequired": "Aucune signature requise",
|
|
2861
|
+
"missingOperator": "Signature de l’opérateur manquante",
|
|
2862
|
+
"missingPatient": "Signature du patient manquante",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Opérateur",
|
|
2866
|
+
"patient": "Patient"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "signé",
|
|
2870
|
+
"pending": "en attente"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Zone de signature",
|
|
2859
2875
|
"clear": "Effacer la signature",
|
package/dist/locales/hi.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "हस्ताक्षरित",
|
|
2855
2855
|
"signedNamed": "{{label}} — हस्ताक्षरित"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "हस्ताक्षरित",
|
|
2859
|
+
"unsigned": "हस्ताक्षर नहीं हुए",
|
|
2860
|
+
"notRequired": "हस्ताक्षर आवश्यक नहीं",
|
|
2861
|
+
"missingOperator": "ऑपरेटर के हस्ताक्षर नहीं हुए",
|
|
2862
|
+
"missingPatient": "रोगी के हस्ताक्षर नहीं हुए",
|
|
2863
|
+
"breakdownItem": "{{party}}: {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "ऑपरेटर",
|
|
2866
|
+
"patient": "रोगी"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "हस्ताक्षरित",
|
|
2870
|
+
"pending": "लंबित"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "हस्ताक्षर क्षेत्र",
|
|
2859
2875
|
"clear": "हस्ताक्षर साफ़ करें",
|
package/dist/locales/it.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Firmato",
|
|
2855
2855
|
"signedNamed": "{{label}} — Firmato"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Firmata",
|
|
2859
|
+
"unsigned": "Non firmata",
|
|
2860
|
+
"notRequired": "Firma non richiesta",
|
|
2861
|
+
"missingOperator": "Manca la firma dell’operatore",
|
|
2862
|
+
"missingPatient": "Manca la firma del paziente",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operatore",
|
|
2866
|
+
"patient": "Paziente"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "firmato",
|
|
2870
|
+
"pending": "in attesa"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Area di firma",
|
|
2859
2875
|
"clear": "Cancella firma",
|
package/dist/locales/ja.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "署名済み",
|
|
2855
2855
|
"signedNamed": "{{label}} — 署名済み"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "署名済み",
|
|
2859
|
+
"unsigned": "未署名",
|
|
2860
|
+
"notRequired": "署名不要",
|
|
2861
|
+
"missingOperator": "オペレーターの署名がありません",
|
|
2862
|
+
"missingPatient": "患者の署名がありません",
|
|
2863
|
+
"breakdownItem": "{{party}}:{{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "オペレーター",
|
|
2866
|
+
"patient": "患者"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "署名済み",
|
|
2870
|
+
"pending": "署名待ち"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "署名エリア",
|
|
2859
2875
|
"clear": "署名をクリア",
|
package/dist/locales/nl.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Ondertekend",
|
|
2855
2855
|
"signedNamed": "{{label}} — Ondertekend"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Ondertekend",
|
|
2859
|
+
"unsigned": "Niet ondertekend",
|
|
2860
|
+
"notRequired": "Geen handtekening vereist",
|
|
2861
|
+
"missingOperator": "Handtekening van de operator ontbreekt",
|
|
2862
|
+
"missingPatient": "Handtekening van de patiënt ontbreekt",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operator",
|
|
2866
|
+
"patient": "Patiënt"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "ondertekend",
|
|
2870
|
+
"pending": "in afwachting"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Handtekeninggebied",
|
|
2859
2875
|
"clear": "Handtekening wissen",
|
package/dist/locales/pl.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Podpisano",
|
|
2855
2855
|
"signedNamed": "{{label}} — Podpisano"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Podpisano",
|
|
2859
|
+
"unsigned": "Niepodpisano",
|
|
2860
|
+
"notRequired": "Podpis niewymagany",
|
|
2861
|
+
"missingOperator": "Brak podpisu operatora",
|
|
2862
|
+
"missingPatient": "Brak podpisu pacjenta",
|
|
2863
|
+
"breakdownItem": "{{party}}: {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operator",
|
|
2866
|
+
"patient": "Pacjent"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "podpisano",
|
|
2870
|
+
"pending": "oczekuje"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Obszar podpisu",
|
|
2859
2875
|
"clear": "Wyczyść podpis",
|
package/dist/locales/pt.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Assinado",
|
|
2855
2855
|
"signedNamed": "{{label}} — Assinado"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Assinado",
|
|
2859
|
+
"unsigned": "Não assinado",
|
|
2860
|
+
"notRequired": "Assinatura não necessária",
|
|
2861
|
+
"missingOperator": "Falta a assinatura do operador",
|
|
2862
|
+
"missingPatient": "Falta a assinatura do paciente",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operador",
|
|
2866
|
+
"patient": "Paciente"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "assinado",
|
|
2870
|
+
"pending": "pendente"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Área de assinatura",
|
|
2859
2875
|
"clear": "Limpar assinatura",
|
package/dist/locales/ro.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Semnat",
|
|
2855
2855
|
"signedNamed": "{{label}} — Semnat"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Semnat",
|
|
2859
|
+
"unsigned": "Nesemnat",
|
|
2860
|
+
"notRequired": "Nu este necesară semnătura",
|
|
2861
|
+
"missingOperator": "Lipsește semnătura operatorului",
|
|
2862
|
+
"missingPatient": "Lipsește semnătura pacientului",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operator",
|
|
2866
|
+
"patient": "Pacient"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "semnat",
|
|
2870
|
+
"pending": "în așteptare"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Zonă de semnătură",
|
|
2859
2875
|
"clear": "Șterge semnătura",
|
package/dist/locales/ru.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Подписано",
|
|
2855
2855
|
"signedNamed": "{{label}} — Подписано"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Подписано",
|
|
2859
|
+
"unsigned": "Не подписано",
|
|
2860
|
+
"notRequired": "Подпись не требуется",
|
|
2861
|
+
"missingOperator": "Отсутствует подпись оператора",
|
|
2862
|
+
"missingPatient": "Отсутствует подпись пациента",
|
|
2863
|
+
"breakdownItem": "{{party}}: {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Оператор",
|
|
2866
|
+
"patient": "Пациент"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "подписано",
|
|
2870
|
+
"pending": "ожидается"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Область подписи",
|
|
2859
2875
|
"clear": "Очистить подпись",
|
package/dist/locales/sq.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Nënshkruar",
|
|
2855
2855
|
"signedNamed": "{{label}} — Nënshkruar"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Nënshkruar",
|
|
2859
|
+
"unsigned": "Pa nënshkrim",
|
|
2860
|
+
"notRequired": "Nuk kërkohet nënshkrim",
|
|
2861
|
+
"missingOperator": "Mungon nënshkrimi i operatorit",
|
|
2862
|
+
"missingPatient": "Mungon nënshkrimi i pacientit",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operatori",
|
|
2866
|
+
"patient": "Pacienti"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "nënshkroi",
|
|
2870
|
+
"pending": "në pritje"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Zona e nënshkrimit",
|
|
2859
2875
|
"clear": "Pastro nënshkrimin",
|
package/dist/locales/sv.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "Signerad",
|
|
2855
2855
|
"signedNamed": "{{label}} — Signerad"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "Signerad",
|
|
2859
|
+
"unsigned": "Inte signerad",
|
|
2860
|
+
"notRequired": "Ingen signatur krävs",
|
|
2861
|
+
"missingOperator": "Behandlarens signatur saknas",
|
|
2862
|
+
"missingPatient": "Patientens signatur saknas",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Behandlare",
|
|
2866
|
+
"patient": "Patient"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "har signerat",
|
|
2870
|
+
"pending": "väntar"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "Signaturyta",
|
|
2859
2875
|
"clear": "Rensa signatur",
|
package/dist/locales/tr.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "İmzalandı",
|
|
2855
2855
|
"signedNamed": "{{label}} — İmzalandı"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "İmzalandı",
|
|
2859
|
+
"unsigned": "İmzalanmadı",
|
|
2860
|
+
"notRequired": "İmza gerekmiyor",
|
|
2861
|
+
"missingOperator": "Operatör imzası eksik",
|
|
2862
|
+
"missingPatient": "Hasta imzası eksik",
|
|
2863
|
+
"breakdownItem": "{{party}} {{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "Operatör",
|
|
2866
|
+
"patient": "Hasta"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "imzaladı",
|
|
2870
|
+
"pending": "bekliyor"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "İmza alanı",
|
|
2859
2875
|
"clear": "İmzayı temizle",
|
package/dist/locales/zh.json
CHANGED
|
@@ -2854,6 +2854,22 @@
|
|
|
2854
2854
|
"signed": "已签名",
|
|
2855
2855
|
"signedNamed": "{{label}} — 已签名"
|
|
2856
2856
|
},
|
|
2857
|
+
"signatureStatusChip": {
|
|
2858
|
+
"signed": "已签名",
|
|
2859
|
+
"unsigned": "未签名",
|
|
2860
|
+
"notRequired": "无需签名",
|
|
2861
|
+
"missingOperator": "缺少操作员签名",
|
|
2862
|
+
"missingPatient": "缺少患者签名",
|
|
2863
|
+
"breakdownItem": "{{party}}{{state}}",
|
|
2864
|
+
"party": {
|
|
2865
|
+
"operator": "操作员",
|
|
2866
|
+
"patient": "患者"
|
|
2867
|
+
},
|
|
2868
|
+
"state": {
|
|
2869
|
+
"signed": "已签名",
|
|
2870
|
+
"pending": "待签名"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2857
2873
|
"signature": {
|
|
2858
2874
|
"padLabel": "签名区域",
|
|
2859
2875
|
"clear": "清除签名",
|
|
@@ -21,6 +21,12 @@ export interface ResolveBaselineOptions {
|
|
|
21
21
|
* compile mode's editable newest visit. Omitted = every first visit folds. */
|
|
22
22
|
keepId?: string;
|
|
23
23
|
}
|
|
24
|
+
/** One sort key for every source, on the event axis's rule: with any
|
|
25
|
+
* date-only stamp among them all compare by UTC-anchored calendar DAY, else
|
|
26
|
+
* by instant — so the merge order never depends on the viewer's time zone.
|
|
27
|
+
* Unreadable dates sort last; `Array.sort` is stable, so ties keep record
|
|
28
|
+
* order. */
|
|
29
|
+
export declare function visitSortKey(visits: readonly Visit[]): (iso: string) => number;
|
|
24
30
|
export declare function isBaselineVisit(visit: Visit): boolean;
|
|
25
31
|
/** Resolve the effective visit list. Never mutates `visits` or any visit in
|
|
26
32
|
* it; the synthetic visit is built field by field so nothing of a source's
|
|
@@ -31,6 +31,9 @@ export interface AnamnesisCompileProps {
|
|
|
31
31
|
* demo). Default false: the strip renders. Target editors inside the
|
|
32
32
|
* record blocks are unaffected. */
|
|
33
33
|
hideTargetStrip?: boolean;
|
|
34
|
+
/** Draw the evolution view as one table per anamnesis type (visits
|
|
35
|
+
* grouped by `sourceLabel`). Default false: one grid over every visit. */
|
|
36
|
+
partitionBySource?: boolean;
|
|
34
37
|
/** Route the missing-answer jump to a host questionnaire surface instead
|
|
35
38
|
* of the internal Compila gaps block (e.g. the platform island's fill
|
|
36
39
|
* view). Receives the missing answer the user asked to fix. */
|
|
@@ -65,5 +68,5 @@ export interface AnamnesisCompileProps {
|
|
|
65
68
|
/** Mount the export control on this audience. Demo/story hook. */
|
|
66
69
|
defaultExportAudience?: DisclosureAudience;
|
|
67
70
|
}
|
|
68
|
-
export declare function AnamnesisCompile({ record: initial, t, embedded, config, onTargetChange, hideTargetStrip, statusSlot, onOpenNote, onMissingAnswerJump, onRecordChange, practitioners, newVisitDateIso, defaultView, defaultExportMenuOpen, defaultShareOpen, defaultExportAudience, }: AnamnesisCompileProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
export declare function AnamnesisCompile({ record: initial, t, embedded, config, onTargetChange, hideTargetStrip, partitionBySource, statusSlot, onOpenNote, onMissingAnswerJump, onRecordChange, practitioners, newVisitDateIso, defaultView, defaultExportMenuOpen, defaultShareOpen, defaultExportAudience, }: AnamnesisCompileProps): import("react/jsx-runtime").JSX.Element;
|
|
69
72
|
//# sourceMappingURL=anamnesis-compile.d.ts.map
|
|
@@ -13,14 +13,6 @@ export interface AnamnesisEvolutionGridProps {
|
|
|
13
13
|
* merged view the last position need not be the visit being compiled. */
|
|
14
14
|
editableVisitId?: string;
|
|
15
15
|
onCellChange?: (visit: Visit, def: NumericParameterDef, value: number | null) => void;
|
|
16
|
-
/** Compare mode: the visit ids under comparison (two or more) + the CELLS
|
|
17
|
-
* that differ from the compared column before them, keyed
|
|
18
|
-
* `<visitId>:<parameterKey>`. Per cell, never per parameter: at three or
|
|
19
|
-
* more compared visits a column equal to its predecessor did not change. */
|
|
20
|
-
compare?: {
|
|
21
|
-
visitIds: ReadonlySet<string>;
|
|
22
|
-
changedCells: ReadonlySet<string>;
|
|
23
|
-
} | null;
|
|
24
16
|
/** Draw the outer border + surface (standalone use). Set `false` when the
|
|
25
17
|
* grid already sits inside a card, to avoid a box-in-a-box. */
|
|
26
18
|
framed?: boolean;
|
|
@@ -50,6 +42,13 @@ export interface AnamnesisEvolutionGridProps {
|
|
|
50
42
|
/** The first visits the leftmost column merges, oldest first; the header
|
|
51
43
|
* lists them. Omitted = no column is synthetic. */
|
|
52
44
|
baselineSources?: readonly Visit[];
|
|
45
|
+
/** Insert the parameter-group banner rows. `false` when the caller has
|
|
46
|
+
* already headed the table — a per-source block names its module above
|
|
47
|
+
* it, and "Blood tests" over a questionnaire's water question misleads. */
|
|
48
|
+
groupBanners?: boolean;
|
|
49
|
+
/** The table's caption. A per-source block names its module here so N
|
|
50
|
+
* tables on one page do not share one accessible name. */
|
|
51
|
+
caption?: string;
|
|
53
52
|
}
|
|
54
|
-
export declare function AnamnesisEvolutionGrid({ record, defs, t, editable, editableVisitId, onCellChange,
|
|
53
|
+
export declare function AnamnesisEvolutionGrid({ record, defs, t, editable, editableVisitId, onCellChange, framed, defaultOpenNoteVisitId, onOpenNote, visitColumns, capturableKeys, annotations, onSelectAnnotation, baselineSources, groupBanners, caption, }: AnamnesisEvolutionGridProps): import("react/jsx-runtime").JSX.Element;
|
|
55
54
|
//# sourceMappingURL=anamnesis-evolution-grid.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
1
2
|
import type { TFunction } from 'i18next';
|
|
2
3
|
import { type PracticeAnamnesisConfig } from './anamnesis-config';
|
|
3
4
|
import type { AnamnesisRecord, NumericParameterDef, OpenAnamnesisNote, Visit } from './anamnesis-types';
|
|
@@ -10,28 +11,39 @@ export interface AnamnesisEvolutionProps {
|
|
|
10
11
|
framed?: boolean;
|
|
11
12
|
/** The practice's configured vocabulary. Omitted = the kit-seeded default. */
|
|
12
13
|
config?: PracticeAnamnesisConfig;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
/** Mount with this visit selection instead of
|
|
18
|
-
*
|
|
14
|
+
/** One table per anamnesis type: visits grouped by `sourceLabel`, each
|
|
15
|
+
* group with its own header, picker and matrix. Default false — every
|
|
16
|
+
* visit in one grid, as before. */
|
|
17
|
+
partitionBySource?: boolean;
|
|
18
|
+
/** Mount with this visit selection instead of every visit. Demo/story hook
|
|
19
|
+
* only — Chromatic skips play functions, so a click-narrowed grid is never
|
|
20
|
+
* snapshotted. Under `partitionBySource` each block keeps the ids it holds
|
|
21
|
+
* and ignores the rest. */
|
|
19
22
|
defaultVisitIds?: readonly string[];
|
|
20
|
-
/** Mount the compare panel on this set of visits instead of first + latest.
|
|
21
|
-
* Demo/story hook only, for the same Chromatic reason. */
|
|
22
|
-
defaultCompareVisitIds?: readonly string[];
|
|
23
23
|
/** Mount with these events already drawn. Demo/story hook only — the
|
|
24
24
|
* arrival state picks none, and Chromatic skips play functions. */
|
|
25
25
|
defaultEventIds?: readonly string[];
|
|
26
26
|
/** The picker's live selection, whenever it changes (and once on mount).
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* A host's export control needs to know which visit columns are on screen
|
|
28
|
+
* — the file must be the view that was asked for. Under
|
|
29
|
+
* `partitionBySource` it is the union of every block's columns. */
|
|
29
30
|
onVisitSelectionChange?: (visitIds: readonly string[]) => void;
|
|
30
31
|
/** The host's side panel. Wired ⇒ a visit's note trigger routes there
|
|
31
32
|
* instead of opening a popover, and turning an event chip on navigates the
|
|
32
33
|
* panel to that event. Omitted ⇒ the note opens in place and the chip only
|
|
33
34
|
* draws its line, which is all a standalone surface can do. */
|
|
34
35
|
onOpenNote?: OpenAnamnesisNote;
|
|
36
|
+
/** Rendered at the inline end of the trend's toolbar row — the host's
|
|
37
|
+
* export control. Under `partitionBySource` it sits above the blocks, once,
|
|
38
|
+
* for the whole trend. */
|
|
39
|
+
exportSlot?: ReactNode;
|
|
35
40
|
}
|
|
36
|
-
export declare function AnamnesisEvolution({ record, t, editable,
|
|
41
|
+
export declare function AnamnesisEvolution({ record, t, editable, config, partitionBySource, onVisitSelectionChange, exportSlot, ...blockProps }: AnamnesisEvolutionProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
/** Mirror of the trend's shown columns for a host's export control. Bails
|
|
43
|
+
* on an identical set: the child reports on every mount, and a fresh array
|
|
44
|
+
* each time would re-render the host. */
|
|
45
|
+
export declare function useShownVisitIds(): [
|
|
46
|
+
readonly string[],
|
|
47
|
+
(ids: readonly string[]) => void
|
|
48
|
+
];
|
|
37
49
|
//# sourceMappingURL=anamnesis-evolution.d.ts.map
|
|
@@ -57,6 +57,9 @@ export interface AnamnesisQuestionnaireProps {
|
|
|
57
57
|
* to show — the host decides when. The tab strip stays exactly as it is, so
|
|
58
58
|
* the layout does not jump the moment the first interview is created. */
|
|
59
59
|
emptyState?: AnamnesisEmptyState;
|
|
60
|
+
/** One trend table per anamnesis type instead of one grid over every
|
|
61
|
+
* module's visits. Default false. */
|
|
62
|
+
partitionBySource?: boolean;
|
|
60
63
|
}
|
|
61
64
|
/** A host-supplied tab that precedes the built-in ones. */
|
|
62
65
|
export interface AnamnesisLeadingTab {
|
|
@@ -67,7 +70,7 @@ export interface AnamnesisLeadingTab {
|
|
|
67
70
|
/** The built-in tab values, widened so a host's leading-tab values type
|
|
68
71
|
* without a cast. */
|
|
69
72
|
export type AnamnesisQuestionnaireTab = 'questionnaire' | 'trend' | (string & {});
|
|
70
|
-
export declare function AnamnesisQuestionnaire({ record, t, config, onSubmit, jumpToField, statusSlot, onTargetChange, hideTargetStrip, leadingTabs, readOnly, questionnaireSlot, questionnaireHeaderSlot, emptyState, tab: tabProp, onTabChange, defaultTab, }: AnamnesisQuestionnaireProps): import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
export declare function AnamnesisQuestionnaire({ record, t, config, onSubmit, jumpToField, statusSlot, onTargetChange, hideTargetStrip, leadingTabs, readOnly, questionnaireSlot, questionnaireHeaderSlot, emptyState, partitionBySource, tab: tabProp, onTabChange, defaultTab, }: AnamnesisQuestionnaireProps): import("react/jsx-runtime").JSX.Element;
|
|
71
74
|
export declare namespace AnamnesisQuestionnaire {
|
|
72
75
|
var displayName: string;
|
|
73
76
|
}
|
|
@@ -12,6 +12,9 @@ export interface AnamnesisReadOnlyProps {
|
|
|
12
12
|
/** The host's side panel, forwarded to the Evolution block. Omitted = the
|
|
13
13
|
* evolution surface reads notes in place. */
|
|
14
14
|
onOpenNote?: OpenAnamnesisNote;
|
|
15
|
+
/** Draw the evolution block as one table per anamnesis type (visits
|
|
16
|
+
* grouped by `sourceLabel`). Default false: one grid over every visit. */
|
|
17
|
+
partitionBySource?: boolean;
|
|
15
18
|
}
|
|
16
|
-
export declare function AnamnesisReadOnly({ record, t, embedded, config, onOpenNote, }: AnamnesisReadOnlyProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function AnamnesisReadOnly({ record, t, embedded, config, onOpenNote, partitionBySource, }: AnamnesisReadOnlyProps): import("react/jsx-runtime").JSX.Element;
|
|
17
20
|
//# sourceMappingURL=anamnesis-readonly.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { NumericParameterDef, Visit } from './anamnesis-types';
|
|
2
|
+
/** Key of the block holding visits with no `sourceLabel`. */
|
|
3
|
+
export declare const UNLABELLED_BLOCK_KEY = "unlabelled";
|
|
4
|
+
/** Key of the single block the un-partitioned surface renders. */
|
|
5
|
+
export declare const WHOLE_RECORD_BLOCK_KEY = "record";
|
|
6
|
+
export interface SourceBlock {
|
|
7
|
+
/** Stable key for React and for the selection union: `source:<label>`,
|
|
8
|
+
* `unlabelled`, or `record` for the whole-record block. */
|
|
9
|
+
key: string;
|
|
10
|
+
/** The heading the block wears — a module name, or the unlabelled
|
|
11
|
+
* fallback. Empty for the whole-record block. */
|
|
12
|
+
label: string;
|
|
13
|
+
/** This block's visits, in RECORD order (never re-sorted). */
|
|
14
|
+
visits: Visit[];
|
|
15
|
+
}
|
|
16
|
+
/** The single block the un-partitioned surface renders: every visit, no
|
|
17
|
+
* label. Returns the INPUT ARRAY ITSELF so the caller can hand the original
|
|
18
|
+
* record through untouched. */
|
|
19
|
+
export declare function wholeRecordBlock(visits: readonly Visit[]): SourceBlock;
|
|
20
|
+
/** Group visits by `sourceLabel`, blocks ordered by their OLDEST visit.
|
|
21
|
+
* `unlabelledLabel` is already translated by the caller — this module stays
|
|
22
|
+
* i18n-free. Visits inside a block keep record order. */
|
|
23
|
+
export declare function partitionVisitsBySource(visits: readonly Visit[], unlabelledLabel: string): SourceBlock[];
|
|
24
|
+
/** Parameters worth a row in a block: measured at least once in its visits,
|
|
25
|
+
* or force-kept by the caller. Order follows `defs`. */
|
|
26
|
+
export declare function measuredParameters(visits: readonly Visit[], defs: readonly NumericParameterDef[], keep?: (def: NumericParameterDef) => boolean): NumericParameterDef[];
|
|
27
|
+
/** Concatenate per-block reports in block order; first occurrence wins. */
|
|
28
|
+
export declare function unionShownVisitIds(reports: readonly (readonly string[])[]): string[];
|
|
29
|
+
//# sourceMappingURL=anamnesis-source-blocks.d.ts.map
|
|
@@ -17,15 +17,13 @@ export interface VisitWindow {
|
|
|
17
17
|
lastIso: string | null;
|
|
18
18
|
}
|
|
19
19
|
export interface VisitWindowOptions {
|
|
20
|
-
/** Visit ids rendered on top of the selection — the compare anchors, so a
|
|
21
|
-
* compared column is never one the picker left out. */
|
|
22
|
-
alsoShowIds?: Iterable<string>;
|
|
23
20
|
/** Ids rendered in every window and EXCLUDED from the counts — the merged
|
|
24
21
|
* baseline. "Showing N of M" counts only what the picker can toggle. */
|
|
25
22
|
alwaysShowIds?: Iterable<string>;
|
|
26
23
|
}
|
|
27
|
-
/** The selection the picker opens on:
|
|
28
|
-
*
|
|
24
|
+
/** The selection the picker opens on: every visit, in record order. Empty
|
|
25
|
+
* on an empty record. Also the export's fallback when a host passed no
|
|
26
|
+
* selection, so a file with no mirrored picker matches the on-screen default. */
|
|
29
27
|
export declare function defaultSelectedVisitIds(visits: readonly Visit[]): string[];
|
|
30
28
|
/** Resolve which visit columns render, in RECORD order — never in the order
|
|
31
29
|
* the reader happened to tick them. Safe on an empty record, a single-visit
|