import { ConfigOption } from '@ngx-formly/core' ; import { FormlyFieldInput , FormlyFieldCheckbox , FormlyFieldRadio , FormlyFieldSelect , FormlyFieldTextArea , FormlyFieldInputNumber , FormlyFieldCascader , FormlyFieldDatePicker , FormlyFieldYearPicker , FormlyFieldMonthPicker , FormlyFieldWeekPicker , FormlyFieldRangePicker , } from './types/types' ; import { FormlyWrapperFormField } from './wrappers/wrappers' ; export const FIELD_TYPE_COMPONENTS = [ FormlyFieldCascader , FormlyFieldCheckbox , FormlyFieldInput , FormlyFieldInputNumber , FormlyFieldRadio , FormlyFieldSelect , FormlyFieldTextArea , FormlyFieldDatePicker , FormlyFieldYearPicker , FormlyFieldMonthPicker , FormlyFieldWeekPicker , FormlyFieldRangePicker , FormlyWrapperFormField , ] ; export const NG_ZORRO_ANTD_FORMLY_CONFIG = { types : [ { name : 'cascader' , component : FormlyFieldCascader , wrappers : [ 'form-field' ] , } , { name : 'input' , component : FormlyFieldInput , wrappers : [ 'form-field' ] , } , { name : 'input-number' , component : FormlyFieldInputNumber , wrappers : [ 'form-field' ] , } , { name : 'checkbox' , component : FormlyFieldCheckbox , wrappers : [ 'form-field' ] , } , { name : 'radio' , component : FormlyFieldRadio , wrappers : [ 'form-field' ] , } , { name : 'select' , component : FormlyFieldSelect , wrappers : [ 'form-field' ] , } , { name : 'textarea' , component : FormlyFieldTextArea , wrappers : [ 'form-field' ] , } , { name : 'date-picker' , component : FormlyFieldDatePicker , wrappers : [ 'form-field' ] , } , { name : 'year-picker' , component : FormlyFieldYearPicker , wrappers : [ 'form-field' ] , } , { name : 'month-picker' , component : FormlyFieldMonthPicker , wrappers : [ 'form-field' ] , } , { name : 'week-picker' , component : FormlyFieldWeekPicker , wrappers : [ 'form-field' ] , } , { name : 'range-picker' , component : FormlyFieldRangePicker , wrappers : [ 'form-field' ] , } , ] , wrappers : [ { name : 'form-field' , component : FormlyWrapperFormField } , ] , } ;