export class ReactiveFormConfig { static i18n : { language ? : string ; validationMessage ? : ( ) => any ; } = { } ; static number : { [ key ] : any ; } = { } ; static json : { [ key ] : any ; } = { } ; static autoInstancePush : boolean = false ; static set ( jObject ) { if ( jObject ) ReactiveFormConfig . json = jObject ; } static get ( path ) { let jObject ; if ( ReactiveFormConfig . json ) { let splitPath = path . split ( '.' ) ; for ( let columnName of splitPath ) { jObject = ( ! jObject ) ? ReactiveFormConfig . json [ columnName ] : jObject [ columnName ] ; if ( ! jObject ) break ; } } return jObject ; } }