UNPKG

@vendasta/store

Version:

Components and data for Store

31 lines (30 loc) 1.51 kB
import { OnDestroy, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { FieldBase } from '../fields/field-base'; import { Subscription } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import * as i0 from "@angular/core"; export declare class DropDownFormSectionComponent implements OnInit, OnDestroy { private translateService; prepopulatedData: {}; startOpen: boolean; parentForm: FormGroup; displayAutoTitle: boolean; titleText: string; displayAutoDescription: boolean; descriptionText: string; fields: FieldBase<any>[]; editingHint: string; expandable: boolean; autoDescriptionText: string; iconName: string; subscriptions: Subscription[]; uniqueIndex: number; autoTitleText: string; constructor(translateService: TranslateService); ngOnInit(): void; toFormGroup(formFields: FieldBase<any>[]): FormGroup; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DropDownFormSectionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DropDownFormSectionComponent, "app-dropdown-form-section", never, { "prepopulatedData": "prepopulatedData"; "startOpen": "startOpen"; "parentForm": "parentForm"; "displayAutoTitle": "displayAutoTitle"; "titleText": "titleText"; "displayAutoDescription": "displayAutoDescription"; "descriptionText": "descriptionText"; "fields": "fields"; "editingHint": "editingHint"; "expandable": "expandable"; }, {}, never, never>; }