import { OnInit, AfterViewInit, EventEmitter, ElementRef, TemplateRef, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core'; import { Router, ActivatedRoute, Params } from '@angular/router'; import { CorePageEditService } from './core-page-edit.service'; import { AnimatedTextService } from '../animated-text/animated-text.service'; import { AlertService } from '../alert/alert.service'; import { BehaviorSubject, Subscription } from 'rxjs'; import { CorePageListService } from '../core-page-list/core-page-list.service'; import { CoreFormService } from '../core-form/core-form.service'; import { ICoreFormSection } from '../core-form/core-form/enum-interfaces'; import { IDynamicFormEmitOnFormCreated } from '../core-form/core-form/core-form.component'; import { FormGroup } from '@angular/forms'; import { EnumCoreButtonVNSCode } from '../core-button-group-vns/core-button-group-vns/EnumCoreButtonVNSCode'; import { EnumTranslateKey } from "alpha-global-constants"; import { CommonHttpRequestService } from '../../services/common-http-request.service'; import { MultiLanguageService } from '../../services/multi-language.service'; import { HubConnectionService } from '../../services/hub-connection.service'; import { AuthService } from '../../services/auth.service'; import { UrlService } from '../../services/url.service'; import { RoutingService } from '../../services/routing.service'; import { EnumCorePageEditMode } from './EnumCorePageEditMode'; import { ICorePageEditCRUD } from './ICorePageEditCRUD'; import { ResponseService } from '../../services/response.service'; import { AppConfigService } from '../../services/app-config.service'; import { ICoreButtonVNS } from '../core-button-group-vns/core-button-group-vns/ICoreButtonVNS'; import * as i0 from "@angular/core"; export declare class CorePageEditComponent implements OnInit, OnChanges, AfterViewInit { private router; private route; private corePageEditService; private commonHttpRequestService; private animatedTextService; private mls; private coreFormService; private corePageListService; private hubConnectionService; private authService; private alertService; private urlService; private routingService; private responseService; private appConfigService; stayAfterSubmit: boolean; width: number; entityTable: string; hasIdOfStringType: boolean; captionCode: string; leftInputSections: ICoreFormSection[]; leftInputSectionsFlexSize: number; sections: ICoreFormSection[]; normalMode: boolean; bottomTemplateRef: TemplateRef; autoGetByIdOff: boolean; autoSubmitLogicOff: boolean; autoCancelLogicOff: boolean; customFormButtonItems: EnumCoreButtonVNSCode[]; mixedMode: boolean; checkError$: BehaviorSubject; showSaveButton: boolean; disableSaveButton: boolean; disableCancelButton: boolean; forceListRefreshOnCreateOrUpdate: boolean; wrapEachSectionInAccordion: boolean; gridMode: boolean; submitLogic: EventEmitter; onFormCreated: EventEmitter; onSubmitSuccess: EventEmitter; onButtonClick: EventEmitter; cancelLogic: EventEmitter; onGotById: EventEmitter; form: FormGroup; crud: ICorePageEditCRUD; entityUniqueIndexs: string[][]; idAsInput: boolean; id: number | string | undefined; hideButtons: boolean; onInitialValueStringReady: EventEmitter; container: ElementRef; containerBigger: ElementRef; sections$: BehaviorSubject; mode$: BehaviorSubject; currentValue: any; initialValue: string; subscriptions: Subscription[]; fromUrl: string; listInstance: number; loading: boolean; lang: string; submitText: EnumTranslateKey; showCaptionButton: boolean; scroll: boolean; cdr: ChangeDetectorRef; idStream$: BehaviorSubject; getByIdStream$: import("rxjs").Observable; constructor(router: Router, route: ActivatedRoute, corePageEditService: CorePageEditService, commonHttpRequestService: CommonHttpRequestService, animatedTextService: AnimatedTextService, mls: MultiLanguageService, coreFormService: CoreFormService, corePageListService: CorePageListService, hubConnectionService: HubConnectionService, authService: AuthService, alertService: AlertService, urlService: UrlService, routingService: RoutingService, responseService: ResponseService, appConfigService: AppConfigService); ngOnChanges(changes: SimpleChanges): void; private sendSignal; resolveId(x: Params): number | string; ngOnInit(): void; resolveGetById(x: any): void; ngAfterViewInit(): void; private toggleReloadFlagForTheCaller; onNotOk200Response(x: object): void; onSubmit(): void; /** * * PHƯƠNG THỨC NÀY ĐƯỢC TẠO RA KHI DEV VNS-PORTAL */ onSave(e: any): void; onCancel(): void; buttonClick(e: ICoreButtonVNS): void; onFormCreatedLocal(e: IDynamicFormEmitOnFormCreated): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }