import { OnInit, OnDestroy } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { FormBuilder, FormGroup } from '@angular/forms'; import { Store } from '@ngxs/store'; import { Subscription } from 'rxjs'; import { HelperService, NavService, SettingService, UserService } from '@lamnhan/ngx-useful'; import { StorageItem } from '@lamnhan/ngx-useful'; import { DashboardPart, DatabaseItem, FormSchemaItem, CheckboxAlikeChild, RadioAlikeChild, ConfigService, ImageCropping } from '../../services/config/config.service'; import { DataService } from '../../services/data/data.service'; import { DashboardService } from '../../services/dashboard/dashboard.service'; import * as i0 from "@angular/core"; export declare class EditPage implements OnInit, OnDestroy { private route; private store; private formBuilder; private helperService; private navService; settingService: SettingService; private userService; private configService; private dashboardService; dataService: DataService; private part?; private itemId?; lockdown: boolean; submitText: string; activeType: string; activeLocale: string; isNew: boolean; isCopy: boolean; isTranslate: boolean; databaseItem?: DatabaseItem; prioritizedData: Record; showUploader: boolean; uploadCallerData?: { schema: FormSchemaItem; formGroup: FormGroup; imageCropping?: ImageCropping; }; activeDescriptions: Record; updateWithAdvancedCreation: boolean; readonly page$: import("rxjs").Observable<{ data: undefined; } | { data: { part: DashboardPart; formSchema: { label: string; name: string; type: string; required?: boolean | undefined; disabled?: boolean | undefined; hidden?: boolean | undefined; defaultValue?: any; placeholder?: string | undefined; description?: string | undefined; note?: string | undefined; validators?: any[] | undefined; children?: CheckboxAlikeChild[] | undefined; selections?: RadioAlikeChild[] | undefined; meta?: Record | undefined; }[]; formGroup: FormGroup; }; }>; private idChangesSubscription?; private titleChangesSubscription?; private statusChangesSubscription?; private localeChangesSubscription?; private typeChangesSubscription?; constructor(route: ActivatedRoute, store: Store, formBuilder: FormBuilder, helperService: HelperService, navService: NavService, settingService: SettingService, userService: UserService, configService: ConfigService, dashboardService: DashboardService, dataService: DataService); ngOnInit(): void; ngOnDestroy(): void; updateWithAdvancedCreationChanges(e: any): void; checkboxChanges(schema: FormSchemaItem, formGroup: FormGroup, children: CheckboxAlikeChild[], checkboxItem: CheckboxAlikeChild, e: any): void; radioChanges(schema: FormSchemaItem, formGroup: FormGroup, selections: RadioAlikeChild[], radioItem: RadioAlikeChild): void; openUploader(schema: FormSchemaItem, formGroup: FormGroup, imageCropping?: ImageCropping): void; uploadChanges(media: StorageItem): void; htmlChanges(schema: FormSchemaItem, formGroup: FormGroup, value: string): void; jsonChanges(schema: FormSchemaItem, formGroup: FormGroup, value: any): void; linkChanges(schema: FormSchemaItem, formGroup: FormGroup, value: any): void; listChanges(schema: FormSchemaItem, formGroup: FormGroup, value: any): void; tagChanges(schema: FormSchemaItem, formGroup: FormGroup, value: any): void; submit(part: DashboardPart, formGroup: FormGroup): void | Subscription; remove(part: DashboardPart, databaseItem: DatabaseItem): void; private getSubmitText; private getFormSchema; private getFormGroup; private processSchemaData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }