/** * Generates a new page to be used in a SumaryCard's quick edit section. * The page is a standard form page that has all the components that are * made available for quick editing via page config. * * Pages in a collection can mark any or all of their components as available * for quick edit by using this config anywhere on the page: * * "summaryQuickEdit": [ * "componentId1", * "componentId2", * { * "use": "componentId3", * "show_when": { * "field": "someField" * "op": "=", * "value": "someValue" * } * }, * { * "use": "componentId4", * "label": "New label for component 4" * } * ] * * Each entry in the array can be either the ID of a component on the page, or * an object containing the ID of a component under "use" and properties to override, * as well as as show_when to say when the component should be quick editable. * * NOTE: A show_when defined in the quick edit config will NOT be spread to the original * component - it is treated as a separate test for if the component should be quick * editable or not. * * @param {object} masterPage The master page for the collection. * @param {object} formData The top-level formData object. * @param {object} entryData The data for the current collection entry. * @returns Page suitble for rendering in a QuickEdit */ declare const getQuickEditPage: (masterPage: any, formData: any, entryData: any) => any; export default getQuickEditPage;