Add import/export feature

This commit is contained in:
2026-01-17 14:21:33 +00:00
parent fda0778edb
commit b911fa1e16
5 changed files with 695 additions and 5 deletions

View File

@@ -66,6 +66,7 @@ const MedPlanAssistant = () => {
const {
appState,
updateState,
updateNestedState,
updateUiSetting,
handleReset,
@@ -219,10 +220,13 @@ const MedPlanAssistant = () => {
pkParams={pkParams}
therapeuticRange={therapeuticRange}
uiSettings={uiSettings}
days={days}
doseIncrement={doseIncrement}
onUpdatePkParams={(key: any, value: any) => updateNestedState('pkParams', key, value)}
onUpdateTherapeuticRange={(key: any, value: any) => updateNestedState('therapeuticRange', key, value)}
onUpdateUiSetting={updateUiSetting}
onReset={handleReset}
onImportDays={(importedDays: any) => updateState('days', importedDays)}
t={t}
/>
</div>