Skip to main content

FormElementFactory

Index

Constructors

constructor

  • new FormElementFactory(options: { editMode: boolean; filtersMode: boolean; formBuilder: FormBuilder; mapsvg: MapSVGMap; mediaUploader: any; namespace: string; showNames?: boolean }): FormElementFactory
  • Parameters

    • options: { editMode: boolean; filtersMode: boolean; formBuilder: FormBuilder; mapsvg: MapSVGMap; mediaUploader: any; namespace: string; showNames?: boolean }

    Returns FormElementFactory

Properties

editMode

editMode: boolean

filtersMode

filtersMode: boolean

formBuilder

formBuilder: FormBuilder

mapsvg

mapsvg: MapSVGMap

mediaUploader

mediaUploader: any

namespace

namespace: string

showNames

showNames: boolean

Methods

create

getExtraParams

  • getExtraParams(): { databaseFields: any[]; databaseFieldsFilterable: any[]; databaseFieldsFilterableShort: any[]; filtersMode: boolean; mapIsGeo: boolean; mediaUploader: any; regionFields: any[]; regionFieldsFilterable: any[]; regions: ArrayIndexed<unknown>; showNames: boolean }
  • Returns { databaseFields: any[]; databaseFieldsFilterable: any[]; databaseFieldsFilterableShort: any[]; filtersMode: boolean; mapIsGeo: boolean; mediaUploader: any; regionFields: any[]; regionFieldsFilterable: any[]; regions: ArrayIndexed<unknown>; showNames: boolean }

    • databaseFields: any[]
    • databaseFieldsFilterable: any[]
    • databaseFieldsFilterableShort: any[]
    • filtersMode: boolean
    • mapIsGeo: boolean
    • mediaUploader: any
    • regionFields: any[]
    • regionFieldsFilterable: any[]
    • regions: ArrayIndexed<unknown>
    • showNames: boolean