UNPKG

@react-form-builder/core

Version:

React JSON Schema Form Builder to create complex, validated, reusable forms with no deep React knowledge required

33 lines (32 loc) 1.2 kB
class l { /** * Creates the component metadata for the form builder. * @param type the component type name. * @param properties the component's properties metadata. * @param css the component's CSS metadata. * @param wrapperCss the component's wrapper CSS metadata. * @param modules common metadata for the component. * @param valuedAn the metadata for the component value. * @param initialJson the JSON source for the component (instance of {@link ComponentStore} class serialised to JSON). * @param eventListeners the component metadata event listeners. * @param icon the component icon or the icon name. * @param insertRestriction the function that restricts the insertion of a component into another component. */ constructor(s, t, i, e, n, r, o, p, h, c) { this.type = s, this.properties = t, this.css = i, this.wrapperCss = e, this.modules = n, this.valuedAn = r, this.initialJson = o, this.eventListeners = p, this.icon = h, this.insertRestriction = c; } type; properties; css; wrapperCss; modules; valuedAn; initialJson; eventListeners; icon; insertRestriction; } export { l as Meta }; //# sourceMappingURL=Meta.js.map