UNPKG

@tomino/dynamic-form-semantic-ui

Version:

Semantic UI form renderer based on dynamic form generation

40 lines 981 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultForm = { documentation: 'Test Form', elements: [] }; exports.defaultFormElement = { control: null, props: null, elements: null }; exports.create = { grid(form = {}) { return { control: 'Form', elements: [{ control: 'Grid', ...form, props: { gap: '12px', ...form.props } }] }; }, stack(form = {}) { return { control: 'Form', elements: [ { control: 'Stack', ...form, props: { gap: '12px', layout: 'column', final: true, ...form.props } } ] }; }, formElement(form = {}) { return { ...form }; } }; //# sourceMappingURL=form_query_data.js.map