UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

34 lines (33 loc) 1.53 kB
/** * @license * Copyright Alibaba.com All Rights Reserved. * * 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 { FocusTrapFactory } from '@angular/cdk/a11y'; import { OverlayRef } from '@angular/cdk/overlay'; import { CdkPortalOutlet, ComponentPortal } from '@angular/cdk/portal'; import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzI18nService } from 'ng-zorro-antd/i18n'; import { BaseModalContainer } from './modal-container'; import { ModalOptions } from './modal-types'; export declare class NzModalConfirmContainerComponent extends BaseModalContainer implements OnDestroy { private i18n; config: ModalOptions; portalOutlet: CdkPortalOutlet; modalElementRef: ElementRef<HTMLDivElement>; readonly cancelTriggered: EventEmitter<void>; readonly okTriggered: EventEmitter<void>; locale: { okText?: string; cancelText?: string; }; private destroy$; constructor(i18n: NzI18nService, elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, cdr: ChangeDetectorRef, render: Renderer2, zone: NgZone, overlayRef: OverlayRef, config: ModalOptions, document: NzSafeAny, animationType: string); onCancel(): void; onOk(): void; attachComponentPortal<T>(_portal: ComponentPortal<T>): never; ngOnDestroy(): void; }