{"version":3,"file":"ng-zorro-antd-notification.mjs","names":[],"sources":["../../components/notification/notification.component.ts","../../components/notification/notification-container.component.ts","../../components/notification/notification.service.ts"],"sourcesContent":["/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Component, ElementRef, EventEmitter, Input, Output, viewChild, ViewEncapsulation } from '@angular/core';\n\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzMNComponent } from 'ng-zorro-antd/message';\n\nimport { NzNotificationData } from './typings';\n\n@Component({\n  selector: 'nz-notification',\n  exportAs: 'nzNotification',\n  imports: [NzIconModule, NzOutletModule, NgTemplateOutlet],\n  template: `\n    <div\n      #animationElement\n      class=\"ant-notification-notice ant-notification-notice-closable\"\n      [style]=\"instance.options?.nzStyle || null\"\n      [class]=\"instance.options?.nzClass || ''\"\n      (click)=\"onClick($event)\"\n      (mouseenter)=\"onEnter()\"\n      (mouseleave)=\"onLeave()\"\n    >\n      @if (instance.template) {\n        <ng-template\n          [ngTemplateOutlet]=\"instance.template!\"\n          [ngTemplateOutletContext]=\"{ $implicit: this, data: instance.options?.nzData }\"\n        />\n      } @else {\n        <div class=\"ant-notification-notice-content\">\n          <div class=\"ant-notification-notice-content\">\n            <div [class.ant-notification-notice-with-icon]=\"instance.type !== 'blank'\">\n              @switch (instance.type) {\n                @case ('success') {\n                  <nz-icon\n                    nzType=\"check-circle\"\n                    class=\"ant-notification-notice-icon ant-notification-notice-icon-success\"\n                  />\n                }\n                @case ('info') {\n                  <nz-icon\n                    nzType=\"info-circle\"\n                    class=\"ant-notification-notice-icon ant-notification-notice-icon-info\"\n                  />\n                }\n                @case ('warning') {\n                  <nz-icon\n                    nzType=\"exclamation-circle\"\n                    class=\"ant-notification-notice-icon ant-notification-notice-icon-warning\"\n                  />\n                }\n                @case ('error') {\n                  <nz-icon\n                    nzType=\"close-circle\"\n                    class=\"ant-notification-notice-icon ant-notification-notice-icon-error\"\n                  />\n                }\n              }\n              <div class=\"ant-notification-notice-message\">\n                <ng-container *nzStringTemplateOutlet=\"instance.title\">\n                  <div [innerHTML]=\"instance.title\"></div>\n                </ng-container>\n              </div>\n              <div class=\"ant-notification-notice-description\">\n                <ng-container\n                  *nzStringTemplateOutlet=\"\n                    instance.content;\n                    context: { $implicit: this, data: instance.options?.nzData }\n                  \"\n                >\n                  <div [innerHTML]=\"instance.content\"></div>\n                </ng-container>\n              </div>\n              @if (instance.options?.nzButton; as btn) {\n                <span class=\"ant-notification-notice-btn\">\n                  <ng-template [ngTemplateOutlet]=\"btn\" [ngTemplateOutletContext]=\"{ $implicit: this }\" />\n                </span>\n              }\n            </div>\n          </div>\n        </div>\n      }\n      <a tabindex=\"0\" class=\"ant-notification-notice-close\" (click)=\"close()\">\n        <span class=\"ant-notification-notice-close-x\">\n          @if (instance.options?.nzCloseIcon) {\n            <ng-container *nzStringTemplateOutlet=\"instance.options?.nzCloseIcon; let closeIcon\">\n              <nz-icon [nzType]=\"closeIcon\" />\n            </ng-container>\n          } @else {\n            <nz-icon nzType=\"close\" class=\"ant-notification-close-icon\" />\n          }\n        </span>\n      </a>\n    </div>\n  `,\n  encapsulation: ViewEncapsulation.None\n})\nexport class NzNotificationComponent extends NzMNComponent {\n  @Input() instance!: Required<NzNotificationData>;\n  @Input() index!: number;\n  @Input() placement?: string;\n  @Output() readonly destroyed = new EventEmitter<{ id: string; userAction: boolean }>();\n\n  readonly animationElement = viewChild.required('animationElement', { read: ElementRef });\n  protected readonly _animationKeyframeMap = {\n    enter: [\n      'antNotificationFadeIn',\n      'antNotificationTopFadeIn',\n      'antNotificationBottomFadeIn',\n      'antNotificationLeftFadeIn'\n    ],\n    leave: 'antNotificationFadeOut'\n  };\n  protected readonly _animationClassMap = {\n    enter: 'ant-notification-fade-enter',\n    leave: 'ant-notification-fade-leave'\n  };\n\n  constructor() {\n    super();\n    this.destroyRef.onDestroy(() => {\n      this.instance.onClick.complete();\n    });\n  }\n\n  onClick(event: MouseEvent): void {\n    this.instance.onClick.next(event);\n  }\n\n  close(): void {\n    this.destroy(true);\n  }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Direction } from '@angular/cdk/bidi';\nimport { Component, ViewEncapsulation } from '@angular/core';\nimport { Subject } from 'rxjs';\n\nimport { NotificationConfig, onConfigChangeEventForComponent } from 'ng-zorro-antd/core/config';\nimport { toCssPixel } from 'ng-zorro-antd/core/util';\nimport { NzMNContainerComponent } from 'ng-zorro-antd/message';\n\nimport { NzNotificationComponent } from './notification.component';\nimport { NzNotificationData, NzNotificationDataOptions, NzNotificationPlacement } from './typings';\n\nconst NZ_CONFIG_MODULE_NAME = 'notification';\n\nconst NZ_NOTIFICATION_DEFAULT_CONFIG: Required<NotificationConfig> = {\n  nzTop: '24px',\n  nzBottom: '24px',\n  nzPlacement: 'topRight',\n  nzDuration: 4500,\n  nzMaxStack: 8,\n  nzPauseOnHover: true,\n  nzAnimate: true,\n  nzDirection: 'ltr'\n};\n\n@Component({\n  selector: 'nz-notification-container',\n  exportAs: 'nzNotificationContainer',\n  encapsulation: ViewEncapsulation.None,\n  template: `\n    <div\n      class=\"ant-notification ant-notification-topLeft\"\n      [class.ant-notification-rtl]=\"dir === 'rtl'\"\n      [style.top]=\"top\"\n      [style.left]=\"'0px'\"\n    >\n      @for (instance of topLeftInstances; track instance) {\n        <nz-notification [instance]=\"instance\" placement=\"topLeft\" (destroyed)=\"remove($event.id, $event.userAction)\" />\n      }\n    </div>\n    <div\n      class=\"ant-notification ant-notification-topRight\"\n      [class.ant-notification-rtl]=\"dir === 'rtl'\"\n      [style.top]=\"top\"\n      [style.right]=\"'0px'\"\n    >\n      @for (instance of topRightInstances; track instance) {\n        <nz-notification\n          [instance]=\"instance\"\n          placement=\"topRight\"\n          (destroyed)=\"remove($event.id, $event.userAction)\"\n        />\n      }\n    </div>\n    <div\n      class=\"ant-notification ant-notification-bottomLeft\"\n      [class.ant-notification-rtl]=\"dir === 'rtl'\"\n      [style.bottom]=\"bottom\"\n      [style.left]=\"'0px'\"\n    >\n      @for (instance of bottomLeftInstances; track instance) {\n        <nz-notification\n          [instance]=\"instance\"\n          placement=\"bottomLeft\"\n          (destroyed)=\"remove($event.id, $event.userAction)\"\n        />\n      }\n    </div>\n    <div\n      class=\"ant-notification ant-notification-bottomRight\"\n      [class.ant-notification-rtl]=\"dir === 'rtl'\"\n      [style.bottom]=\"bottom\"\n      [style.right]=\"'0px'\"\n    >\n      @for (instance of bottomRightInstances; track instance) {\n        <nz-notification\n          [instance]=\"instance\"\n          placement=\"bottomRight\"\n          (destroyed)=\"remove($event.id, $event.userAction)\"\n        />\n      }\n    </div>\n    <div\n      class=\"ant-notification ant-notification-top\"\n      [class.ant-notification-rtl]=\"dir === 'rtl'\"\n      [style.top]=\"top\"\n      [style.left]=\"'50%'\"\n      [style.transform]=\"'translateX(-50%)'\"\n    >\n      @for (instance of topInstances; track instance) {\n        <nz-notification [instance]=\"instance\" placement=\"top\" (destroyed)=\"remove($event.id, $event.userAction)\" />\n      }\n    </div>\n    <div\n      class=\"ant-notification ant-notification-bottom\"\n      [class.ant-notification-rtl]=\"dir === 'rtl'\"\n      [style.bottom]=\"bottom\"\n      [style.left]=\"'50%'\"\n      [style.transform]=\"'translateX(-50%)'\"\n    >\n      @for (instance of bottomInstances; track instance) {\n        <nz-notification [instance]=\"instance\" placement=\"bottom\" (destroyed)=\"remove($event.id, $event.userAction)\" />\n      }\n    </div>\n  `,\n  imports: [NzNotificationComponent]\n})\nexport class NzNotificationContainerComponent extends NzMNContainerComponent<NotificationConfig, NzNotificationData> {\n  dir: Direction = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME)?.nzDirection || 'ltr';\n  bottom?: string | null;\n  top?: string | null;\n  topLeftInstances: Array<Required<NzNotificationData>> = [];\n  topRightInstances: Array<Required<NzNotificationData>> = [];\n  bottomLeftInstances: Array<Required<NzNotificationData>> = [];\n  bottomRightInstances: Array<Required<NzNotificationData>> = [];\n  topInstances: Array<Required<NzNotificationData>> = [];\n  bottomInstances: Array<Required<NzNotificationData>> = [];\n\n  constructor() {\n    super();\n    this.updateConfig();\n  }\n\n  override create(notification: NzNotificationData): Required<NzNotificationData> {\n    const instance = this.onCreate(notification);\n    const key = instance.options.nzKey;\n    const notificationWithSameKey = this.instances.find(\n      msg => msg.options.nzKey === (notification.options as Required<NzNotificationDataOptions>).nzKey\n    );\n    if (key && notificationWithSameKey) {\n      this.replaceNotification(notificationWithSameKey, instance);\n    } else {\n      if (this.instances.length >= this.config!.nzMaxStack) {\n        this.instances = this.instances.slice(1);\n      }\n      this.instances = [...this.instances, instance];\n    }\n\n    this.readyInstances();\n\n    return instance;\n  }\n\n  protected override onCreate(instance: NzNotificationData): Required<NzNotificationData> {\n    instance.options = this.mergeOptions(instance.options);\n    instance.onClose = new Subject<boolean>();\n    instance.onClick = new Subject<MouseEvent>();\n    return instance as Required<NzNotificationData>;\n  }\n\n  protected subscribeConfigChange(): void {\n    onConfigChangeEventForComponent(NZ_CONFIG_MODULE_NAME, () => {\n      this.updateConfig();\n      this.dir = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME)?.nzDirection || this.dir;\n    });\n  }\n\n  protected updateConfig(): void {\n    this.config = {\n      ...NZ_NOTIFICATION_DEFAULT_CONFIG,\n      ...this.config,\n      ...this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME)\n    };\n\n    this.top = toCssPixel(this.config.nzTop!);\n    this.bottom = toCssPixel(this.config.nzBottom!);\n\n    this.cdr.markForCheck();\n  }\n\n  private replaceNotification(old: NzNotificationData, _new: NzNotificationData): void {\n    old.title = _new.title;\n    old.content = _new.content;\n    old.template = _new.template;\n    old.type = _new.type;\n    old.options = _new.options;\n  }\n\n  protected override readyInstances(): void {\n    const instancesMap: Record<NzNotificationPlacement, Array<Required<NzNotificationData>>> = {\n      topLeft: [],\n      topRight: [],\n      bottomLeft: [],\n      bottomRight: [],\n      top: [],\n      bottom: []\n    };\n    this.instances.forEach(m => {\n      const placement = m.options.nzPlacement;\n      switch (placement) {\n        case 'topLeft':\n          instancesMap.topLeft.unshift(m);\n          break;\n        case 'topRight':\n          instancesMap.topRight.unshift(m);\n          break;\n        case 'bottomLeft':\n          instancesMap.bottomLeft.unshift(m);\n          break;\n        case 'bottomRight':\n          instancesMap.bottomRight.unshift(m);\n          break;\n        case 'top':\n          instancesMap.top.unshift(m);\n          break;\n        case 'bottom':\n          instancesMap.bottom.unshift(m);\n          break;\n        default:\n          instancesMap.topRight.unshift(m);\n      }\n    });\n    this.topLeftInstances = instancesMap.topLeft;\n    this.topRightInstances = instancesMap.topRight;\n    this.bottomLeftInstances = instancesMap.bottomLeft;\n    this.bottomRightInstances = instancesMap.bottomRight;\n    this.topInstances = instancesMap.top;\n    this.bottomInstances = instancesMap.bottom;\n\n    this.cdr.detectChanges();\n  }\n\n  protected override mergeOptions(options?: NzNotificationDataOptions): NzNotificationDataOptions {\n    const { nzDuration, nzAnimate, nzPauseOnHover, nzPlacement } = this.config!;\n    return { nzDuration, nzAnimate, nzPauseOnHover, nzPlacement, ...options };\n  }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Injectable, TemplateRef } from '@angular/core';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { NzMNService } from 'ng-zorro-antd/message';\n\nimport { NzNotificationContainerComponent } from './notification-container.component';\nimport type { NzNotificationComponent } from './notification.component';\nimport { NzNotificationContentType, NzNotificationData, NzNotificationDataOptions, NzNotificationRef } from './typings';\n\nlet notificationId = 0;\n\n@Injectable({\n  providedIn: 'root'\n})\nexport class NzNotificationService extends NzMNService<NzNotificationContainerComponent> {\n  protected componentPrefix = 'notification-';\n\n  success(\n    title: string | TemplateRef<void>,\n    content: NzNotificationContentType,\n    options?: NzNotificationDataOptions\n  ): NzNotificationRef {\n    return this.create('success', title, content, options);\n  }\n\n  error(\n    title: string | TemplateRef<void>,\n    content: NzNotificationContentType,\n    options?: NzNotificationDataOptions\n  ): NzNotificationRef {\n    return this.create('error', title, content, options);\n  }\n\n  info(\n    title: string | TemplateRef<void>,\n    content: NzNotificationContentType,\n    options?: NzNotificationDataOptions\n  ): NzNotificationRef {\n    return this.create('info', title, content, options);\n  }\n\n  warning(\n    title: string | TemplateRef<void>,\n    content: NzNotificationContentType,\n    options?: NzNotificationDataOptions\n  ): NzNotificationRef {\n    return this.create('warning', title, content, options);\n  }\n\n  blank(\n    title: string | TemplateRef<void>,\n    content: NzNotificationContentType,\n    options?: NzNotificationDataOptions\n  ): NzNotificationRef {\n    return this.create('blank', title, content, options);\n  }\n\n  create(\n    type: 'success' | 'info' | 'warning' | 'error' | 'blank' | string,\n    title: string | TemplateRef<void>,\n    content: NzNotificationContentType,\n    options?: NzNotificationDataOptions\n  ): NzNotificationRef {\n    return this.createInstance({ type, title, content }, options);\n  }\n\n  template(\n    template: TemplateRef<{\n      $implicit: NzNotificationComponent;\n      data: NzSafeAny;\n    }>,\n    options?: NzNotificationDataOptions\n  ): NzNotificationRef {\n    return this.createInstance({ template }, options);\n  }\n\n  protected generateMessageId(): string {\n    return `${this.componentPrefix}-${notificationId++}`;\n  }\n\n  private createInstance(message: NzNotificationData, options?: NzNotificationDataOptions): NzNotificationRef {\n    this.container = this.withContainer(NzNotificationContainerComponent);\n\n    return this.container.create({\n      ...message,\n      ...{\n        createdAt: new Date(),\n        messageId: options?.nzKey || this.generateMessageId(),\n        options\n      }\n    });\n  }\n}\n"],"mappings":";;;;;;;;;;;AAsGA,IAAa,0BAAb,MAAa,gCAAgC,cAAa;CAC/C;CACA;CACA;CACU,YAAY,IAAI,aAAY;CAEtC,mBAAmB,UAAU,SAAS,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