UNPKG

jjb-lc-designable

Version:

基于alibaba-designable源码二次封装的表单设计器。

137 lines 3.18 kB
export const TreeSelect = { type: 'object', properties: { allowClear: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch' }, autoClearSearchValue: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch', 'x-component-props': { defaultChecked: true } }, autoFocus: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch' }, bordered: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch', 'x-component-props': { defaultChecked: true } }, labelInValue: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch' }, showArrow: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch' }, showSearch: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch' }, virtual: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch', 'x-component-props': { defaultChecked: true } }, treeCheckable: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch' }, treeDefaultExpandAll: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch' }, dropdownMatchSelectWidth: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Switch', 'x-component-props': { defaultChecked: true } }, showCheckedStrategy: { type: 'string', enum: ['SHOW_ALL', 'SHOW_PARENT', 'SHOW_CHILD'], 'x-decorator': 'FormItem', 'x-component': 'Select', 'x-component-props': { defaultValue: 'SHOW_CHILD' } }, treeDefaultExpandedKeys: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'ValueInput', 'x-component-props': { include: ['EXPRESSION'] } }, treeNodeFilterProp: { type: 'string', 'x-decorator': 'FormItem', 'x-component': 'Input' }, treeNodeLabelProp: { type: 'string', 'x-decorator': 'FormItem', 'x-component': 'Input' }, filterTreeNode: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'ValueInput', 'x-component-props': { include: ['BOOLEAN', 'EXPRESSION'] } }, treeDataSimpleMode: { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'ValueInput', 'x-component-props': { include: ['BOOLEAN', 'EXPRESSION'] } }, listHeight: { type: 'number', 'x-decorator': 'FormItem', 'x-component': 'NumberPicker', 'x-component-props': { defaultValue: 256 } }, placeholder: { type: 'string', 'x-decorator': 'FormItem', 'x-component': 'Input' }, size: { type: 'string', enum: ['large', 'small', 'middle', null], 'x-decorator': 'FormItem', 'x-component': 'Select', 'x-component-props': { defaultValue: 'middle' } } } };