@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
29 lines • 993 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const search_view_1 = require("./search_view");
const mobx_react_1 = require("mobx-react");
const editor_common_1 = require("../editor/editor_common");
exports.SearchEditor = {
Component: mobx_react_1.observer(search_view_1.SearchComponent),
title: 'Lookup',
control: 'Lookup',
icon: 'search',
bound: true,
props: {
...editor_common_1.propGroup('Lookup', {
searchName: editor_common_1.prop(),
search: editor_common_1.handlerProp(),
single: editor_common_1.prop({ type: 'boolean' }),
limit: editor_common_1.prop({ type: 'number' }),
value: editor_common_1.boundProp()
}),
renderTemplate: editor_common_1.prop({
group: 'Render Template',
control: 'Code',
props: {
language: 'markup'
}
})
}
};
//# sourceMappingURL=search_editor.js.map