UNPKG

d-render

Version:

数据渲染库 - form、table、search-form

64 lines (62 loc) 951 B
export const propsScheme = { model: { type: Object, required: true }, fieldList: { type: Array, tsType: 'import(\'@d-render/shared\').IFormConfig', required: true }, showOnly: { type: Boolean }, modelKey: { type: [String, Function] }, grid: { type: [String, Boolean] }, useDirectory: { type: Boolean }, labelPosition: { type: String }, scrollToError: { type: Boolean, default: true }, equipment: { type: String, default: 'pc', options: ['pc', 'mobile'] }, border: { type: Boolean, default: undefined }, enterHandler: { type: Function }, options: { type: Object }, genNo: { type: Function } } export const eventsScheme = { 'update:modelValue': { cbVar: 'value' } } export const slotsScheme = { default: '{}' } export const componentScheme = { propsScheme, eventsScheme, slotsScheme, name: 'CipForm' }