"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDefaultAdaptableFormData = getDefaultAdaptableFormData;
function getDefaultAdaptableFormData(formDef) {
    return (formDef.fields || []).flat().reduce((data, field) => {
        data[field.name] = field.defaultValue ?? '';
        return data;
    }, {});
}
