@alfadocs/ui-kit 1.4.12 → 1.4.14
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/actions-cell-renderer-BD-jruqA.js +1784 -0
- package/dist/_chunks/{address-fields-D-8akw2m.js → address-fields-CZP4Wncx.js} +2 -2
- package/dist/_chunks/{agenda-card-BQDs2ZMp.js → agenda-card-pdN49pMu.js} +2 -2
- package/dist/_chunks/{agenda-tray-BTyWsVwT.js → agenda-tray-CYR-znfE.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-gVcoiXxv.js → ai-consent-banner-DLF6FNXv.js} +2 -2
- package/dist/_chunks/{anamnesis-card-Bt0twrML.js → anamnesis-card-BylMLHYj.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-BKGVcwny.js → anamnesis-summary-card-DGVKBQoq.js} +134 -116
- package/dist/_chunks/{anamnesis-summary-rows-DAIpD0Or.js → anamnesis-summary-rows-C73SWVy3.js} +3145 -3007
- package/dist/_chunks/{antenatal-schedule-timeline-BSLrOQ3S.js → antenatal-schedule-timeline-BjlF2rTz.js} +2 -2
- package/dist/_chunks/{appointment-card-kcUC7vWR.js → appointment-card-BhcPJpXh.js} +2 -2
- package/dist/_chunks/{appointment-timeline-BC3dlZu5.js → appointment-timeline-DT1uFp8z.js} +2 -2
- package/dist/_chunks/{appointment-tray-BPY5rATW.js → appointment-tray-DvyVK7um.js} +2 -2
- package/dist/_chunks/{badge-CIt-UFEx.js → badge-sTusUqZD.js} +23 -18
- package/dist/_chunks/{bishop-score-B6iYYO0c.js → bishop-score-BV1JAEMV.js} +3 -3
- package/dist/_chunks/{bmi-calculator-CxPn0T0s.js → bmi-calculator-CdR-RLFj.js} +5 -5
- package/dist/_chunks/{booking-CmHX15dh.js → booking-CGKof8QU.js} +2 -2
- package/dist/_chunks/{care-plan-card-9tLgsDYY.js → care-plan-card-C83Hb9EE.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CSan4h7A.js → care-plan-entry-card-CHMPSTCz.js} +2 -2
- package/dist/_chunks/{care-plan-header-D_BTi77b.js → care-plan-header-_B0TTWT1.js} +2 -2
- package/dist/_chunks/{clinical-note-card-ByzQ86uz.js → clinical-note-card-BBgFd2nB.js} +2 -2
- package/dist/_chunks/{connection-status-D8mZ4klk.js → connection-status-NT8hUtYl.js} +2 -2
- package/dist/_chunks/{contact-profile-card-DuW6VpzY.js → contact-profile-card-BxHiG8e6.js} +2 -2
- package/dist/_chunks/{cycle-calculator-D9M7IKfh.js → cycle-calculator-DJZYvNhw.js} +4 -4
- package/dist/_chunks/{dependent-selector-BUvrZRi0.js → dependent-selector-cJlJFAKD.js} +2 -2
- package/dist/_chunks/{document-preview-Di15VrpQ.js → document-preview-Aae2yKvY.js} +2 -2
- package/dist/_chunks/{due-date-calculator-BkqZEvL4.js → due-date-calculator-ajaQ4ya5.js} +6 -6
- package/dist/_chunks/{fetal-weight-C7JXGg6E.js → fetal-weight-jon6GIfQ.js} +4 -4
- package/dist/_chunks/{field-value-BCFLVBmu.js → field-value-BbiDRyNh.js} +2 -2
- package/dist/_chunks/{file-manager-DzWYcRpE.js → file-manager-CML_C6_h.js} +3 -3
- package/dist/_chunks/form-field-CahJzTxp.js +131 -0
- package/dist/_chunks/{gestational-age-calculator-Ch8vmJAl.js → gestational-age-calculator-dEpQDWcb.js} +5 -5
- package/dist/_chunks/{hcg-doubling-CFJlMH7Z.js → hcg-doubling-CC6TLtHd.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-DCCca2m3.js → link-cell-renderer-D3IsW_2R.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-BhRH7Zi4.js → marketplace-app-shell-b5hN-Q0m.js} +2 -2
- package/dist/_chunks/{notes-panel-Bz83SO4-.js → notes-panel-D6HKLLS-.js} +2 -2
- package/dist/_chunks/number-input-Cgu2TtA8.js +423 -0
- package/dist/_chunks/{operator-hero-CpJkDNAM.js → operator-hero-CCDnIa1S.js} +2 -2
- package/dist/_chunks/{optical-prescription-Brs0CeP3.js → optical-prescription-DtzEqFQm.js} +2 -2
- package/dist/_chunks/{patient-details-CGhnfdUB.js → patient-details-rENrE_qY.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DfbOtOV6.js → patient-summary-card-DQJgOOrA.js} +3 -3
- package/dist/_chunks/{patient-table-D2fhV4mV.js → patient-table-BubxfOWL.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-Ckh3b7Xx.js → payment-automation-upsell-CnaBPt5e.js} +2 -2
- package/dist/_chunks/{payment-request-card-Dn6-tH-D.js → payment-request-card-CvhDzDNk.js} +2 -2
- package/dist/_chunks/{periodontal-chart-B0yko9Xm.js → periodontal-chart-brakjj0s.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-HbYTmWlo.js → periodontal-chart-card-Bz-ebteE.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-Qk4F3Wc_.js → periodontal-diagnosis-HrFsVi-C.js} +3 -3
- package/dist/_chunks/{periodontal-risk-chart-ByKuM4cF.js → periodontal-risk-chart-0x7KVZjL.js} +2 -2
- package/dist/_chunks/{practice-results-C5exrEn0.js → practice-results-DWUZRm2x.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-iI6_j2K2.js → pregnancy-dating-DQVpFs_f.js} +6 -6
- package/dist/_chunks/{pregnancy-weight-gain-Co-YFMJZ.js → pregnancy-weight-gain-hm3QJALe.js} +5 -5
- package/dist/_chunks/radio-group-rXDJADzW.js +175 -0
- package/dist/_chunks/{radiograph-panel.agent-Drj0hYVV.js → radiograph-panel.agent-CAXFgCyn.js} +3 -3
- package/dist/_chunks/{signature-status-chip-DUcTgQ0E.js → signature-status-chip-DqrPIJtH.js} +17 -15
- package/dist/_chunks/{tab-bar-Ddp_ZbnL.js → tab-bar-DvFJIQfL.js} +2 -2
- package/dist/_chunks/{tasks-panel-T7vaKJcA.js → tasks-panel-BBkZuejF.js} +2 -2
- package/dist/_chunks/{unit-converter-BeTicruA.js → unit-converter-iDxlxKmm.js} +3 -3
- package/dist/_chunks/{widget-picker-DqMbjQy_.js → widget-picker-em4xGgv0.js} +2 -2
- package/dist/_chunks/{workflow-map-BNBeG2zn.js → workflow-map-BVofnDYh.js} +2 -2
- package/dist/agent-catalog.json +14 -8
- package/dist/agent-i18n/en.json +3 -2
- 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/anamnesis-summary-card.d.ts +2 -2
- 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/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/data-table.d.ts +19 -0
- package/dist/components/data-table/expanded-row-renderer.d.ts +47 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/index.js +31 -27
- 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 +8 -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/notes-panel/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.d.ts +14 -0
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/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 +5 -0
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tasks-panel/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/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +1 -0
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +1 -0
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +1 -0
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +1 -0
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +1 -0
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +1 -0
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +1 -0
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +1 -0
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +1 -0
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +1 -0
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +1 -0
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +1 -0
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +1 -0
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +1 -0
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +1 -0
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +1 -0
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +1 -0
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +1 -0
- package/dist/index.js +785 -781
- package/dist/locales/ar.json +1 -0
- package/dist/locales/de.json +1 -0
- package/dist/locales/el.json +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +1 -0
- package/dist/locales/fr.json +1 -0
- package/dist/locales/hi.json +1 -0
- package/dist/locales/it.json +1 -0
- package/dist/locales/ja.json +1 -0
- package/dist/locales/nl.json +1 -0
- package/dist/locales/pl.json +1 -0
- package/dist/locales/pt.json +1 -0
- package/dist/locales/ro.json +1 -0
- package/dist/locales/ru.json +1 -0
- package/dist/locales/sq.json +1 -0
- package/dist/locales/sv.json +1 -0
- package/dist/locales/tr.json +1 -0
- package/dist/locales/zh.json +1 -0
- package/dist/patterns/anamnesis/anamnesis-evolution.d.ts +7 -1
- package/dist/patterns/anamnesis/anamnesis-field.d.ts +15 -1
- package/dist/patterns/anamnesis/anamnesis-indicators.d.ts +3 -1
- package/dist/patterns/anamnesis/anamnesis-intake.d.ts +6 -1
- package/dist/patterns/anamnesis/anamnesis-types.d.ts +3 -0
- 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 +5 -2
- package/package.json +1 -1
- package/dist/_chunks/actions-cell-renderer-C67oj7mR.js +0 -1581
- package/dist/_chunks/form-field-D1oqYisL.js +0 -127
- package/dist/_chunks/number-input-DOe5VYei.js +0 -370
- package/dist/_chunks/radio-group-BmIqhIT2.js +0 -171
package/dist/locales/ar.json
CHANGED
package/dist/locales/de.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Zeile aufklappen",
|
|
928
928
|
"collapseRow": "Zeile zuklappen",
|
|
929
|
+
"expandedRow": "Details der erweiterten Zeile",
|
|
929
930
|
"totalRow": "Gesamt",
|
|
930
931
|
"noRows": "Keine Daten zum Anzeigen",
|
|
931
932
|
"noRowsDescription": "Passen Sie Suche oder Filter an.",
|
package/dist/locales/el.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Ανάπτυξη γραμμής",
|
|
928
928
|
"collapseRow": "Σύμπτυξη γραμμής",
|
|
929
|
+
"expandedRow": "Λεπτομέρειες αναπτυγμένης γραμμής",
|
|
929
930
|
"totalRow": "Σύνολο",
|
|
930
931
|
"noRows": "Δεν υπάρχουν δεδομένα προς εμφάνιση",
|
|
931
932
|
"noRowsDescription": "Δοκιμάστε να τροποποιήσετε την αναζήτηση ή τα φίλτρα.",
|
package/dist/locales/en.json
CHANGED
package/dist/locales/es.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Expandir fila",
|
|
928
928
|
"collapseRow": "Contraer fila",
|
|
929
|
+
"expandedRow": "Detalles de la fila expandida",
|
|
929
930
|
"totalRow": "Total",
|
|
930
931
|
"noRows": "No hay datos que mostrar",
|
|
931
932
|
"noRowsDescription": "Intente modificar la búsqueda o los filtros.",
|
package/dist/locales/fr.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Développer la ligne",
|
|
928
928
|
"collapseRow": "Réduire la ligne",
|
|
929
|
+
"expandedRow": "Détails de la ligne développée",
|
|
929
930
|
"totalRow": "Total",
|
|
930
931
|
"noRows": "Aucune donnée à afficher",
|
|
931
932
|
"noRowsDescription": "Essayez de modifier la recherche ou les filtres.",
|
package/dist/locales/hi.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "पंक्ति विस्तृत करें",
|
|
928
928
|
"collapseRow": "पंक्ति संक्षिप्त करें",
|
|
929
|
+
"expandedRow": "विस्तारित पंक्ति का विवरण",
|
|
929
930
|
"totalRow": "कुल",
|
|
930
931
|
"noRows": "प्रदर्शित करने के लिए कोई डेटा नहीं",
|
|
931
932
|
"noRowsDescription": "खोज या फ़िल्टर बदलने का प्रयास करें।",
|
package/dist/locales/it.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Espandi riga",
|
|
928
928
|
"collapseRow": "Comprimi riga",
|
|
929
|
+
"expandedRow": "Dettagli della riga",
|
|
929
930
|
"totalRow": "Totale",
|
|
930
931
|
"noRows": "Nessun dato da visualizzare",
|
|
931
932
|
"noRowsDescription": "Prova a modificare la ricerca o i filtri.",
|
package/dist/locales/ja.json
CHANGED
package/dist/locales/nl.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Rij uitvouwen",
|
|
928
928
|
"collapseRow": "Rij samenvouwen",
|
|
929
|
+
"expandedRow": "Details van de uitgevouwen rij",
|
|
929
930
|
"totalRow": "Totaal",
|
|
930
931
|
"noRows": "Geen gegevens om weer te geven",
|
|
931
932
|
"noRowsDescription": "Pas de zoekopdracht of filters aan.",
|
package/dist/locales/pl.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Rozwiń wiersz",
|
|
928
928
|
"collapseRow": "Zwiń wiersz",
|
|
929
|
+
"expandedRow": "Szczegóły rozwiniętego wiersza",
|
|
929
930
|
"totalRow": "Łącznie",
|
|
930
931
|
"noRows": "Brak danych do wyświetlenia",
|
|
931
932
|
"noRowsDescription": "Spróbuj zmienić wyszukiwanie lub filtry.",
|
package/dist/locales/pt.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Expandir linha",
|
|
928
928
|
"collapseRow": "Recolher linha",
|
|
929
|
+
"expandedRow": "Detalhes da linha expandida",
|
|
929
930
|
"totalRow": "Total",
|
|
930
931
|
"noRows": "Sem dados para apresentar",
|
|
931
932
|
"noRowsDescription": "Tente modificar a pesquisa ou os filtros.",
|
package/dist/locales/ro.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Extinde rândul",
|
|
928
928
|
"collapseRow": "Restrânge rândul",
|
|
929
|
+
"expandedRow": "Detaliile rândului extins",
|
|
929
930
|
"totalRow": "Total",
|
|
930
931
|
"noRows": "Nicio dată de afișat",
|
|
931
932
|
"noRowsDescription": "Încearcă să modifici căutarea sau filtrele.",
|
package/dist/locales/ru.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Развернуть строку",
|
|
928
928
|
"collapseRow": "Свернуть строку",
|
|
929
|
+
"expandedRow": "Сведения о развёрнутой строке",
|
|
929
930
|
"totalRow": "Итого",
|
|
930
931
|
"noRows": "Нет данных для отображения",
|
|
931
932
|
"noRowsDescription": "Попробуйте изменить параметры поиска или фильтры.",
|
package/dist/locales/sq.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Zgjero rreshtin",
|
|
928
928
|
"collapseRow": "Mbyll rreshtin",
|
|
929
|
+
"expandedRow": "Detajet e rreshtit të zgjeruar",
|
|
929
930
|
"totalRow": "Gjithsej",
|
|
930
931
|
"noRows": "Asnjë të dhënë për të shfaqur",
|
|
931
932
|
"noRowsDescription": "Provoni të ndryshoni kërkimin ose filtrat.",
|
package/dist/locales/sv.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Expandera rad",
|
|
928
928
|
"collapseRow": "Minimera rad",
|
|
929
|
+
"expandedRow": "Detaljer för expanderad rad",
|
|
929
930
|
"totalRow": "Totalt",
|
|
930
931
|
"noRows": "Inga data att visa",
|
|
931
932
|
"noRowsDescription": "Prova att ändra sökningen eller filtren.",
|
package/dist/locales/tr.json
CHANGED
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
},
|
|
927
927
|
"expandRow": "Satırı genişlet",
|
|
928
928
|
"collapseRow": "Satırı daralt",
|
|
929
|
+
"expandedRow": "Genişletilen satır ayrıntıları",
|
|
929
930
|
"totalRow": "Toplam",
|
|
930
931
|
"noRows": "Gösterilecek veri yok",
|
|
931
932
|
"noRowsDescription": "Arama veya filtrelerinizi değiştirmeyi deneyin.",
|
package/dist/locales/zh.json
CHANGED
|
@@ -15,6 +15,12 @@ export interface AnamnesisEvolutionProps {
|
|
|
15
15
|
* group with its own header, picker and matrix. Default false — every
|
|
16
16
|
* visit in one grid, as before. */
|
|
17
17
|
partitionBySource?: boolean;
|
|
18
|
+
/** Give each per-module block its own elevated card. The HOST decides,
|
|
19
|
+
* because only the host knows what surface the trend sits on: a surface
|
|
20
|
+
* that already cards the trend would otherwise nest a card in a card.
|
|
21
|
+
* Only read under `partitionBySource` — the single whole-record block is
|
|
22
|
+
* never carded here. */
|
|
23
|
+
cardBlocks?: boolean;
|
|
18
24
|
/** Mount with this visit selection instead of every visit. Demo/story hook
|
|
19
25
|
* only — Chromatic skips play functions, so a click-narrowed grid is never
|
|
20
26
|
* snapshotted. Under `partitionBySource` each block keeps the ids it holds
|
|
@@ -38,7 +44,7 @@ export interface AnamnesisEvolutionProps {
|
|
|
38
44
|
* for the whole trend. */
|
|
39
45
|
exportSlot?: ReactNode;
|
|
40
46
|
}
|
|
41
|
-
export declare function AnamnesisEvolution({ record, t, editable, config, partitionBySource, onVisitSelectionChange, exportSlot, ...blockProps }: AnamnesisEvolutionProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export declare function AnamnesisEvolution({ record, t, editable, config, partitionBySource, cardBlocks, onVisitSelectionChange, exportSlot, ...blockProps }: AnamnesisEvolutionProps): import("react/jsx-runtime").JSX.Element;
|
|
42
48
|
/** Mirror of the trend's shown columns for a host's export control. Bails
|
|
43
49
|
* on an identical set: the child reports on every mount, and a fresh array
|
|
44
50
|
* each time would re-render the host. */
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
2
|
import type { AnswerOrigin, IntakeAnswer, IntakeFieldDef } from './anamnesis-types';
|
|
3
|
+
/** Is this field's free-text "Dettagli" box on screen right now? Mirrors what
|
|
4
|
+
* the case blocks below actually render — a frequency detail is up from the
|
|
5
|
+
* start, a choice detail waits for a selection, a yes/no detail for a "yes" —
|
|
6
|
+
* so the intake can hand the whole row to any field showing one. */
|
|
7
|
+
export declare function isDetailVisible(def: IntakeFieldDef, answer?: IntakeAnswer): boolean;
|
|
3
8
|
export interface AnamnesisFieldProps {
|
|
4
9
|
def: IntakeFieldDef;
|
|
5
10
|
answer?: IntakeAnswer;
|
|
@@ -13,7 +18,16 @@ export interface AnamnesisFieldProps {
|
|
|
13
18
|
* is disabled rather than swapped for text, so nothing shifts under the
|
|
14
19
|
* reader when editing is unlocked. */
|
|
15
20
|
readOnly?: boolean;
|
|
21
|
+
/** The field sits in a section that CAN run three or more columns, so the
|
|
22
|
+
* "in risalto" flag's words go screen-reader-only once the card is that
|
|
23
|
+
* wide — a chip carrying words would eat the cell the question needs. The
|
|
24
|
+
* words stay in the DOM, so the accessible name is the same at every
|
|
25
|
+
* width. */
|
|
26
|
+
compact?: boolean;
|
|
27
|
+
/** Grid placement handed down by the section that lays the field out — the
|
|
28
|
+
* whole row for a question that needs the width. */
|
|
29
|
+
className?: string;
|
|
16
30
|
t: TFunction;
|
|
17
31
|
}
|
|
18
|
-
export declare function AnamnesisField({ def, answer, onChange, showOrigin, origin, readOnly, t, }: AnamnesisFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function AnamnesisField({ def, answer, onChange, showOrigin, origin, readOnly, compact, className, t, }: AnamnesisFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
19
33
|
//# sourceMappingURL=anamnesis-field.d.ts.map
|
|
@@ -48,6 +48,8 @@ export interface TrendSparklineProps {
|
|
|
48
48
|
/** Compact inline trend across all visits, tinted by the overall valence
|
|
49
49
|
* (first → last measurement) for the parameter. Reduced motion is honoured by
|
|
50
50
|
* Sparkline internally. Renders nothing below two measurements (no trend to
|
|
51
|
-
* draw) — the gaps do not count towards that.
|
|
51
|
+
* draw) — the gaps do not count towards that. Always as wide as its cell:
|
|
52
|
+
* the event lines are drawn over the cell, so a narrower plot would put them
|
|
53
|
+
* beside the measurements they mark rather than on them. */
|
|
52
54
|
export declare function TrendSparkline({ series, def, t, annotations, onSelectAnnotation, }: TrendSparklineProps): import("react/jsx-runtime").JSX.Element | null;
|
|
53
55
|
//# sourceMappingURL=anamnesis-indicators.d.ts.map
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
2
|
import { type PracticeAnamnesisConfig } from './anamnesis-config';
|
|
3
|
-
import type { AnamnesisRecord, IntakeAnswer } from './anamnesis-types';
|
|
3
|
+
import type { AnamnesisRecord, IntakeAnswer, IntakeSectionDef } from './anamnesis-types';
|
|
4
|
+
/** A section made only of short fields reads like a lab form, so on a wide
|
|
5
|
+
* card it runs up to four across; one holding any prose field runs two, which
|
|
6
|
+
* is what a mixed section can fill. A single capped column left half the row
|
|
7
|
+
* empty and was rejected on review. */
|
|
8
|
+
export declare function isLabGridSection(section: IntakeSectionDef): boolean;
|
|
4
9
|
/** Field key → answer. Exported so hosts can type the `onSubmit` seam. */
|
|
5
10
|
export type IntakeAnswerMap = Partial<Record<string, IntakeAnswer>>;
|
|
6
11
|
export interface AnamnesisIntakeProps {
|
|
@@ -129,6 +129,9 @@ export interface IntakeFieldDef extends ConfigurableDescriptor {
|
|
|
129
129
|
* (the platform's per-question highlight rule). Omitted = never. See
|
|
130
130
|
* `isHighlightedAnswer` for the evaluation. */
|
|
131
131
|
highlight?: IntakeHighlightRule;
|
|
132
|
+
/** A `text` answer the practice expects prose in: it takes the whole row
|
|
133
|
+
* like a `textarea` instead of sharing it with the questions beside it. */
|
|
134
|
+
longForm?: boolean;
|
|
132
135
|
}
|
|
133
136
|
/** `always` flags any non-blank answer; the other two flag a yes/no question
|
|
134
137
|
* answered that way. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-
|
|
1
|
+
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-C73SWVy3.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Anamnesis,
|
|
4
4
|
i as AnamnesisConfigEditor,
|