index.ts 474 Bytes
import type { RuleError } from 'ant-design-vue/lib/form/interface'
import type { ActTypeEnum, DataSourceTypeEnum, EventTypeEnum } from '@/enums/datasource'

export { default as PublicForm } from './index.vue'

export interface BasicContentComponentProps {
  event: ActTypeEnum | EventTypeEnum
  type: DataSourceTypeEnum
}

export interface ComponentExposeType {
  getFieldsValue: () => any
  setFieldsValue: (value: any) => void
  validate: () => Promise<RuleError | any>
}