/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { OnDestroy, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { ActionButton, ActionButtonContainer, CrudAction, OnActionCallback } from 'ng-stalk/core/crud'; import { MagSubmittingService } from 'ng-stalk/core/service'; import { NzButtonType } from 'ng-zorro-antd/button'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class ModalTemplateComponent implements OnInit, OnDestroy { private submittingService; private modalService; dialogRef: NzModalRef; dialogTitle?: string; buttons: ActionButton[] | Observable; actionCallback?: OnActionCallback; form?: FormGroup; shareUrl?: string; actionButtonContainer: ActionButtonContainer; private _unsubscribeAll; constructor(submittingService: MagSubmittingService, modalService: NzModalService); ngOnInit(): void; ngOnDestroy(): void; isDeleteAction(action: CrudAction | string): boolean; get hasShareUrl(): boolean; /** * invalid 한 폼인지 체크한다. */ get isInvalidForm(): boolean; onSharedUrl(url: string): void; normalizeColor(color?: string): NzButtonType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }