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