UNPKG

@wufengteam/wform

Version:

@wufengteam/wform

248 lines (247 loc) 4.87 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var config = { icon: 'WFTabPane', label: '子标签页', type: 'WFTabPane', alias: 'WFTabPane', groupsName: '容器', compType: 0, compLib: 'custom', isContainer: true, onlyRoot: ['WFTabs'], engineApi: [], props: { name: '标签页', tabsItems: [], basicStatus: 1, layout: 'vertical', rowSpace: '16px', colSpace: '16px', colon: true, labelAlign: 'left', labelCol: 8, wrapperCol: 16 }, todoProps: { index: { label: '标题', type: 'Input', groupsName: '基础', props: { dependProps: { noShow: true } } }, name: { label: '标题', type: 'Input', groupsName: '基础', props: { dependProps: { noShow: true } } }, basicStatus: { label: '状态', type: 'SetBasicStatus', groupsName: '基础', props: { options: [{ title: '普通', value: 1 }, { title: '隐藏', value: 2 }], defaultValue: 1, dependProps: { noShow: true } } }, tabsItems: { groupsName: '基础', label: '面板设置', type: 'TabsSet', props: { dependProps: { noShow: true } } }, isActive: { groupsName: '基础', label: '激活', type: 'Input', props: { dependProps: { noShow: true } } }, rowSpace: { label: '行间距', type: 'SelectAndInputNum', istodoBind: false, groupsName: '基础', props: { options: [{ title: '超大(24px)', value: '24px' }, { title: '大(20px)', value: '20px' }, { title: '中(16px)', value: '16px' }, { title: '小(12px)', value: '12px' }, { title: '超小(8px)', value: '8px' }, { title: '无(0px)', value: '0px' }], dependProps: { noShow: true } } }, layout: { label: '布局', type: 'Select', istodoBind: false, groupsName: '基础', props: { defaultValue: 'horizontal', options: [{ title: '水平', value: 'horizontal' }, { title: '垂直', value: 'vertical' }], dependProps: { noShow: true } } }, selfSpan: { label: '列占比', type: 'ColSpan', groupsName: '基础', props: { dependProps: { noShow: true } } }, colSpan: { label: '标题', type: 'Input', groupsName: '基础', props: { dependProps: { noShow: true } } }, colSpace: { label: '列间距', type: 'SelectAndInputNum', istodoBind: false, groupsName: '基础', props: { options: [{ title: '超大(24px)', value: '24px' }, { title: '大(20px)', value: '20px' }, { title: '中(16px)', value: '16px' }, { title: '小(12px)', value: '12px' }, { title: '超小(8px)', value: '8px' }, { title: '无(0px)', value: '0px' }], dependProps: { noShow: true } } }, colon: { label: '显示冒号', type: 'Switch', istodoBind: false, groupsName: '基础', props: { defaultValue: true, dependProps: { noShow: true } } }, labelAlign: { label: '标题对齐方式', type: 'RadioButton', istodoBind: false, groupsName: '基础', props: { inhibitBtn: true, defaultValue: 'left', options: [{ title: '靠左', value: 'left' }, { title: '靠右', value: 'right' }], dependProps: { noShow: true } } }, labelCol: { label: '标题占比', type: 'FormItemLabel', // istodoBind: true, groupsName: '基础', props: { defaultValue: '80px', value: '80px', dependProps: { noShow: true } } }, wrapperCol: { label: '内容占比', type: 'FormItemLabel', // istodoBind: true, groupsName: '基础', props: { defaultValue: 'auto', value: 'auto', dependProps: { noShow: true } } } } }; var _default = exports.default = config;