Sets `values` to `model`
@param values fields values
@param model [[Form]] `model`
function mergeModels(value, model) {
    const newModel = Object.assign({}, model);
    tools_1.deepExtend(newModel, value);
    return { model: newModel, isChanged: deepEqual(model, newModel) };
}