UNPKG

ng-zorro-antd

Version:

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

26 lines (25 loc) 1.38 kB
/** * 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 } from '@angular/cdk/portal'; import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core'; import { NzConfigService } from 'ng-zorro-antd/core/config'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzI18nService, NzModalI18nInterface } from 'ng-zorro-antd/i18n'; import { BaseModalContainerComponent } from './modal-container'; import { ModalOptions } from './modal-types'; export declare class NzModalConfirmContainerComponent extends BaseModalContainerComponent { private i18n; config: ModalOptions; portalOutlet: CdkPortalOutlet; modalElementRef: ElementRef<HTMLDivElement>; readonly cancelTriggered: EventEmitter<void>; readonly okTriggered: EventEmitter<void>; locale: NzModalI18nInterface; constructor(i18n: NzI18nService, elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, cdr: ChangeDetectorRef, render: Renderer2, overlayRef: OverlayRef, nzConfigService: NzConfigService, config: ModalOptions, document: NzSafeAny, animationType: string); onCancel(): void; onOk(): void; }