[{"__symbolic":"module","version":3,"metadata":{"tmpl":"<div [formGroup]=\"form\" *ngIf=\"isVisible\" [ngSwitch]=\"question.controlType\" [class]=\"question.subClass\"><label *ngIf=\"question.label\" [attr.for]=\"question.key\">{{question.label}}<span *ngIf=\"question.required\" [class]=\"formStyle.requiredClass\">*</span></label><input *ngSwitchCase=\"'textbox'\" [formControlName]=\"question.key\" [id]=\"question.key\" [type]=\"question.type\" [ngStyle]=\"question.style\" pInputText=\"\"/><p-chips *ngSwitchCase=\"'chips'\" [id]=\"question.key\" [formControlName]=\"question.key\"></p-chips><p-dropdown *ngSwitchCase=\"'dropdown'\" [options]=\"question.options\" [id]=\"question.key\" [formControlName]=\"question.key\" [editable]=\"question.editable\" [filter]=\"question.filter\" [style]=\"question.style\"></p-dropdown><select *ngSwitchCase=\"'dropdown-notUsed'\" [id]=\"question.key\" [formControlName]=\"question.key\"><option *ngFor=\"let opt of question.options\" [value]=\"opt.value\">{{opt.label}}</option></select><textarea *ngSwitchCase=\"'textarea'\" pInputTextarea=\"\" [formControlName]=\"question.key\" [id]=\"question.key\" autoResize=\"autoResize\" [ngStyle]=\"question.style\" rows=\"5\" cols=\"30\"></textarea><ng-template [ngSwitchCase]=\"'radio'\"><ng-template ngFor=\"\" [ngForOf]=\"question.options\" let-opt=\"\"><p-radioButton [name]=\"question.key\" [value]=\"opt.value\" [label]=\"opt.label\" [ngStyle]=\"question.style\" [formControlName]=\"question.key\"></p-radioButton></ng-template></ng-template><ng-template [ngSwitchCase]=\"'text'\"><div [innerHTML]=\"question.text\" [ngStyle]=\"question.style\" [class]=\"question.typeClass\"></div></ng-template><ng-template [ngSwitchCase]=\"'button'\"><button (click)=\"onAction(question.actions)\" aria-hidden=\"true\" [ngStyle]=\"question.style\" [class]=\"question.typeClass\">&nbsp;&nbsp;{{question.text}}</button></ng-template><ng-template [ngSwitchCase]=\"'checkbox'\"><ng-template ngFor=\"\" [ngForOf]=\"question.options\" let-opt=\"\"><p-checkbox [name]=\"question.key\" [value]=\"opt.value\" [label]=\"opt.label\" [id]=\"question.key\" [ngStyle]=\"question.style\" [formControlName]=\"question.key\"></p-checkbox></ng-template></ng-template><p-multiSelect *ngSwitchCase=\"'multiselect'\" [options]=\"question.options\" [formControlName]=\"question.key\" [defaultLabel]=\"question.text\" [style]=\"question.style\"><ng-template let-key=\"\"><df-bp-img [key]=\"key\" [showName]=\"true\" [keyName]=\"question.key\" [displayField]=\"question.displayField\" [showImg]=\"question.showBpImg\"></df-bp-img></ng-template></p-multiSelect><p-selectButton *ngSwitchCase=\"'selectbutton'\" [options]=\"question.options\" [formControlName]=\"question.key\" multiple=\"multiple\"></p-selectButton><p-inputSwitch *ngSwitchCase=\"'switch'\" [formControlName]=\"question.key\" [onLabel]=\"question.onLabel\" [offLabel]=\"question.offLabel\"></p-inputSwitch><p-autoComplete *ngSwitchCase=\"'autocomplete'\" [formControlName]=\"question.key\" [suggestions]=\"question.options\" (completeMethod)=\"search($event)\" [minLength]=\"question.minLength\" [dropdown]=\"question.dropdown\" [placeholder]=\"question.placeholder\" [field]=\"question.key\" [size]=\"question.size\" [multiple]=\"question.multiple\" [style]=\"question.style\"><ng-template let-key=\"\" pTemplate=\"item\"><df-bp-img [key]=\"key\" [showName]=\"true\" [keyName]=\"question.key\" [displayField]=\"question.displayField\" [showImg]=\"question.showBpImg\"></df-bp-img></ng-template></p-autoComplete><p-calendar *ngSwitchCase=\"'calendar'\" [formControlName]=\"question.key\" [showIcon]=\"question.showIcon\" [showTime]=\"question.showTime\" [timeOnly]=\"question.timeOnly\" [dateFormat]=\"question.dateFormat\" [style]=\"question.style\"></p-calendar><div *ngIf=\"formErrors[question.key]\" [class]=\"formStyle.noteClass\">{{formErrors[question.key]}}</div></div>"}},{"__symbolic":"module","version":1,"metadata":{"tmpl":"<div [formGroup]=\"form\" *ngIf=\"isVisible\" [ngSwitch]=\"question.controlType\" [class]=\"question.subClass\"><label *ngIf=\"question.label\" [attr.for]=\"question.key\">{{question.label}}<span *ngIf=\"question.required\" [class]=\"formStyle.requiredClass\">*</span></label><input *ngSwitchCase=\"'textbox'\" [formControlName]=\"question.key\" [id]=\"question.key\" [type]=\"question.type\" [ngStyle]=\"question.style\" pInputText=\"\"/><p-chips *ngSwitchCase=\"'chips'\" [id]=\"question.key\" [formControlName]=\"question.key\"></p-chips><p-dropdown *ngSwitchCase=\"'dropdown'\" [options]=\"question.options\" [id]=\"question.key\" [formControlName]=\"question.key\" [editable]=\"question.editable\" [filter]=\"question.filter\" [style]=\"question.style\"></p-dropdown><select *ngSwitchCase=\"'dropdown-notUsed'\" [id]=\"question.key\" [formControlName]=\"question.key\"><option *ngFor=\"let opt of question.options\" [value]=\"opt.value\">{{opt.label}}</option></select><textarea *ngSwitchCase=\"'textarea'\" pInputTextarea=\"\" [formControlName]=\"question.key\" [id]=\"question.key\" autoResize=\"autoResize\" [ngStyle]=\"question.style\" rows=\"5\" cols=\"30\"></textarea><ng-template [ngSwitchCase]=\"'radio'\"><ng-template ngFor=\"\" [ngForOf]=\"question.options\" let-opt=\"\"><p-radioButton [name]=\"question.key\" [value]=\"opt.value\" [label]=\"opt.label\" [ngStyle]=\"question.style\" [formControlName]=\"question.key\"></p-radioButton></ng-template></ng-template><ng-template [ngSwitchCase]=\"'text'\"><div [innerHTML]=\"question.text\" [ngStyle]=\"question.style\" [class]=\"question.typeClass\"></div></ng-template><ng-template [ngSwitchCase]=\"'button'\"><button (click)=\"onAction(question.actions)\" aria-hidden=\"true\" [ngStyle]=\"question.style\" [class]=\"question.typeClass\">&nbsp;&nbsp;{{question.text}}</button></ng-template><ng-template [ngSwitchCase]=\"'checkbox'\"><ng-template ngFor=\"\" [ngForOf]=\"question.options\" let-opt=\"\"><p-checkbox [name]=\"question.key\" [value]=\"opt.value\" [label]=\"opt.label\" [id]=\"question.key\" [ngStyle]=\"question.style\" [formControlName]=\"question.key\"></p-checkbox></ng-template></ng-template><p-multiSelect *ngSwitchCase=\"'multiselect'\" [options]=\"question.options\" [formControlName]=\"question.key\" [defaultLabel]=\"question.text\" [style]=\"question.style\"><ng-template let-key=\"\"><df-bp-img [key]=\"key\" [showName]=\"true\" [keyName]=\"question.key\" [displayField]=\"question.displayField\" [showImg]=\"question.showBpImg\"></df-bp-img></ng-template></p-multiSelect><p-selectButton *ngSwitchCase=\"'selectbutton'\" [options]=\"question.options\" [formControlName]=\"question.key\" multiple=\"multiple\"></p-selectButton><p-inputSwitch *ngSwitchCase=\"'switch'\" [formControlName]=\"question.key\" [onLabel]=\"question.onLabel\" [offLabel]=\"question.offLabel\"></p-inputSwitch><p-autoComplete *ngSwitchCase=\"'autocomplete'\" [formControlName]=\"question.key\" [suggestions]=\"question.options\" (completeMethod)=\"search($event)\" [minLength]=\"question.minLength\" [dropdown]=\"question.dropdown\" [placeholder]=\"question.placeholder\" [field]=\"question.key\" [size]=\"question.size\" [multiple]=\"question.multiple\" [style]=\"question.style\"><ng-template let-key=\"\" pTemplate=\"item\"><df-bp-img [key]=\"key\" [showName]=\"true\" [keyName]=\"question.key\" [displayField]=\"question.displayField\" [showImg]=\"question.showBpImg\"></df-bp-img></ng-template></p-autoComplete><p-calendar *ngSwitchCase=\"'calendar'\" [formControlName]=\"question.key\" [showIcon]=\"question.showIcon\" [showTime]=\"question.showTime\" [timeOnly]=\"question.timeOnly\" [dateFormat]=\"question.dateFormat\" [style]=\"question.style\"></p-calendar><div *ngIf=\"formErrors[question.key]\" [class]=\"formStyle.noteClass\">{{formErrors[question.key]}}</div></div>"}}]