-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathchunk-CRAPOACO.js
21 lines (19 loc) · 57 KB
/
chunk-CRAPOACO.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import{a as jt,b as Vt,c as Zt}from"./chunk-Z7T3N53Y.js";import{a as Gt,b as Wt}from"./chunk-44OZ4XVX.js";import{a as Mt,b as Pt}from"./chunk-QEKBGSGF.js";import{a as N,b as S,d as h}from"./chunk-56XIMETV.js";import{a as x}from"./chunk-MM6PISML.js";import"./chunk-AMB2SXIB.js";import{a as H,g as lt,h as dt,j as st}from"./chunk-N7GBLZI4.js";import"./chunk-M3GNLX5T.js";import"./chunk-TSUNBK3M.js";import{Ha as F,Ib as Ot,Ja as Z,Jb as Lt,Jc as mt,Kc as rt,Nc as ct,S as Ct,gc as at,pb as Rt,zb as Ht}from"./chunk-O3IWK6WU.js";import{Aa as v,Ac as A,Bc as R,Da as vt,Fa as Dt,Fc as Bt,Gc as t,Hc as kt,Ib as p,Ja as yt,Kd as At,Mb as St,Ob as g,Tc as wt,Uc as ht,Vb as l,Wb as P,Xb as k,Yb as Tt,Zb as It,aa as bt,ad as ot,cc as et,ec as G,f as Et,fc as W,gc as j,ha as _t,hc as e,ic as n,jc as d,kc as nt,lc as it,ma as Nt,mb as xt,nc as D,qc as s,rb as c,sc as b,tb as Ft,xa as f,xb as E,ya as z,za as _,zc as w}from"./chunk-NACBYLXS.js";import{a as V,b as gt}from"./chunk-EQDQRRRY.js";var Qt=(a,r)=>({$implicit:a,data:r}),Ut=a=>({$implicit:a});function $t(a,r){}function Kt(a,r){if(a&1&&g(0,$t,0,0,"ng-template",1),a&2){let i=b();l("ngTemplateOutlet",i.instance.template)("ngTemplateOutletContext",ht(2,Qt,i,i.instance.options==null?null:i.instance.options.nzData))}}function Xt(a,r){a&1&&d(0,"nz-icon",6)}function qt(a,r){a&1&&d(0,"nz-icon",7)}function Yt(a,r){a&1&&d(0,"nz-icon",8)}function Jt(a,r){a&1&&d(0,"nz-icon",9)}function te(a,r){if(a&1&&(nt(0),d(1,"div",15),it()),a&2){let i=b(2);c(),l("innerHTML",i.instance.title,xt)}}function ee(a,r){if(a&1&&(nt(0),d(1,"div",15),it()),a&2){let i=b(2);c(),l("innerHTML",i.instance.content,xt)}}function ne(a,r){}function ie(a,r){if(a&1&&(e(0,"span",14),g(1,ne,0,0,"ng-template",1),n()),a&2){let i=b(2);c(),l("ngTemplateOutlet",r)("ngTemplateOutletContext",wt(2,Ut,i))}}function oe(a,r){if(a&1&&(e(0,"div",2)(1,"div",2)(2,"div"),g(3,Xt,1,0,"nz-icon",6)(4,qt,1,0,"nz-icon",7)(5,Yt,1,0,"nz-icon",8)(6,Jt,1,0,"nz-icon",9),e(7,"div",10),g(8,te,2,1,"ng-container",11),n(),e(9,"div",12),g(10,ee,2,1,"ng-container",13),n(),g(11,ie,2,4,"span",14),n()()()),a&2){let i,m,o=b();c(2),k("ant-notification-notice-with-icon",o.instance.type!=="blank"),c(),et((i=o.instance.type)==="success"?3:i==="info"?4:i==="warning"?5:i==="error"?6:-1),c(5),l("nzStringTemplateOutlet",o.instance.title),c(2),l("nzStringTemplateOutlet",o.instance.content)("nzStringTemplateOutletContext",ht(7,Qt,o,o.instance.options==null?null:o.instance.options.nzData)),c(),et((m=o.instance.options==null?null:o.instance.options.nzButton)?11:-1,m)}}function ae(a,r){if(a&1&&(nt(0),d(1,"nz-icon",16),it()),a&2){let i=r.$implicit;c(),l("nzType",i)}}function me(a,r){if(a&1&&g(0,ae,2,1,"ng-container",11),a&2){let i=b();l("nzStringTemplateOutlet",i.instance.options==null?null:i.instance.options.nzCloseIcon)}}function re(a,r){a&1&&d(0,"nz-icon",5)}function ce(a,r){if(a&1){let i=D();e(0,"nz-notification",7),s("destroyed",function(o){_(i);let u=b();return v(u.remove(o.id,o.userAction))}),n()}if(a&2){let i=r.$implicit;l("instance",i)("placement","topLeft")}}function le(a,r){if(a&1){let i=D();e(0,"nz-notification",7),s("destroyed",function(o){_(i);let u=b();return v(u.remove(o.id,o.userAction))}),n()}if(a&2){let i=r.$implicit;l("instance",i)("placement","topRight")}}function de(a,r){if(a&1){let i=D();e(0,"nz-notification",7),s("destroyed",function(o){_(i);let u=b();return v(u.remove(o.id,o.userAction))}),n()}if(a&2){let i=r.$implicit;l("instance",i)("placement","bottomLeft")}}function se(a,r){if(a&1){let i=D();e(0,"nz-notification",7),s("destroyed",function(o){_(i);let u=b();return v(u.remove(o.id,o.userAction))}),n()}if(a&2){let i=r.$implicit;l("instance",i)("placement","bottomRight")}}function ue(a,r){if(a&1){let i=D();e(0,"nz-notification",7),s("destroyed",function(o){_(i);let u=b();return v(u.remove(o.id,o.userAction))}),n()}if(a&2){let i=r.$implicit;l("instance",i)("placement","top")}}function pe(a,r){if(a&1){let i=D();e(0,"nz-notification",7),s("destroyed",function(o){_(i);let u=b();return v(u.remove(o.id,o.userAction))}),n()}if(a&2){let i=r.$implicit;l("instance",i)("placement","bottom")}}var fe=(()=>{class a extends Zt{instance;index;placement;destroyed=new yt;ngOnDestroy(){super.ngOnDestroy(),this.instance.onClick.complete()}onClick(i){this.instance.onClick.next(i)}close(){this.destroy(!0)}get state(){if(this.instance.state==="enter")switch(this.placement){case"topLeft":case"bottomLeft":return"enterLeft";case"topRight":case"bottomRight":return"enterRight";case"top":return"enterTop";case"bottom":return"enterBottom";default:return"enterRight"}else return this.instance.state}static \u0275fac=(()=>{let i;return function(o){return(i||(i=vt(a)))(o||a)}})();static \u0275cmp=p({type:a,selectors:[["nz-notification"]],inputs:{instance:"instance",index:"index",placement:"placement"},outputs:{destroyed:"destroyed"},exportAs:["nzNotification"],features:[St],decls:7,vars:7,consts:[[1,"ant-notification-notice","ant-notification-notice-closable",3,"click","mouseenter","mouseleave"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-notification-notice-content"],["tabindex","0",1,"ant-notification-notice-close",3,"click"],[1,"ant-notification-notice-close-x"],["nzType","close",1,"ant-notification-close-icon"],["nzType","check-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-success"],["nzType","info-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-info"],["nzType","exclamation-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-warning"],["nzType","close-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-error"],[1,"ant-notification-notice-message"],[4,"nzStringTemplateOutlet"],[1,"ant-notification-notice-description"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-notification-notice-btn"],[3,"innerHTML"],[3,"nzType"]],template:function(m,o){m&1&&(e(0,"div",0),s("@notificationMotion.done",function(I){return o.animationStateChanged.next(I)})("click",function(I){return o.onClick(I)})("mouseenter",function(){return o.onEnter()})("mouseleave",function(){return o.onLeave()}),g(1,Kt,1,5,null,1)(2,oe,12,10,"div",2),e(3,"a",3),s("click",function(){return o.close()}),e(4,"span",4),g(5,me,1,1,"ng-container")(6,re,1,0,"nz-icon",5),n()()()),m&2&&(Tt((o.instance.options==null?null:o.instance.options.nzStyle)||null),It((o.instance.options==null?null:o.instance.options.nzClass)||""),l("@notificationMotion",o.state),c(),et(o.instance.template?1:2),c(4),et(o.instance.options!=null&&o.instance.options.nzCloseIcon?5:6))},dependencies:[Z,F,Lt,Ot,At],encapsulation:2,data:{animation:[Ht]}})}return a})(),ut="notification",ze={nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:8,nzPauseOnHover:!0,nzAnimate:!0,nzDirection:"ltr"},Ee=(()=>{class a extends Vt{dir=this.nzConfigService.getConfigForComponent(ut)?.nzDirection||"ltr";bottom;top;topLeftInstances=[];topRightInstances=[];bottomLeftInstances=[];bottomRightInstances=[];topInstances=[];bottomInstances=[];constructor(){super(),this.updateConfig()}create(i){let m=this.onCreate(i),o=m.options.nzKey,u=this.instances.find(I=>I.options.nzKey===i.options.nzKey);return o&&u?this.replaceNotification(u,m):(this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,m]),this.readyInstances(),m}onCreate(i){return i.options=this.mergeOptions(i.options),i.onClose=new Et,i.onClick=new Et,i}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(ut).pipe(bt(this.destroy$)).subscribe(()=>{this.updateConfig(),this.dir=this.nzConfigService.getConfigForComponent(ut)?.nzDirection||this.dir})}updateConfig(){this.config=V(V(V({},ze),this.config),this.nzConfigService.getConfigForComponent(ut)),this.top=Ct(this.config.nzTop),this.bottom=Ct(this.config.nzBottom),this.cdr.markForCheck()}replaceNotification(i,m){i.title=m.title,i.content=m.content,i.template=m.template,i.type=m.type,i.options=m.options}readyInstances(){let i={topLeft:[],topRight:[],bottomLeft:[],bottomRight:[],top:[],bottom:[]};this.instances.forEach(m=>{switch(m.options.nzPlacement){case"topLeft":i.topLeft.unshift(m);break;case"topRight":i.topRight.unshift(m);break;case"bottomLeft":i.bottomLeft.unshift(m);break;case"bottomRight":i.bottomRight.unshift(m);break;case"top":i.top.unshift(m);break;case"bottom":i.bottom.unshift(m);break;default:i.topRight.unshift(m)}}),this.topLeftInstances=i.topLeft,this.topRightInstances=i.topRight,this.bottomLeftInstances=i.bottomLeft,this.bottomRightInstances=i.bottomRight,this.topInstances=i.top,this.bottomInstances=i.bottom,this.cdr.detectChanges()}mergeOptions(i){let{nzDuration:m,nzAnimate:o,nzPauseOnHover:u,nzPlacement:I}=this.config;return V({nzDuration:m,nzAnimate:o,nzPauseOnHover:u,nzPlacement:I},i)}static \u0275fac=function(m){return new(m||a)};static \u0275cmp=p({type:a,selectors:[["nz-notification-container"]],exportAs:["nzNotificationContainer"],features:[St],decls:18,vars:40,consts:[[1,"ant-notification","ant-notification-topLeft"],[3,"instance","placement"],[1,"ant-notification","ant-notification-topRight"],[1,"ant-notification","ant-notification-bottomLeft"],[1,"ant-notification","ant-notification-bottomRight"],[1,"ant-notification","ant-notification-top"],[1,"ant-notification","ant-notification-bottom"],[3,"destroyed","instance","placement"]],template:function(m,o){m&1&&(e(0,"div",0),W(1,ce,1,2,"nz-notification",1,G),n(),e(3,"div",2),W(4,le,1,2,"nz-notification",1,G),n(),e(6,"div",3),W(7,de,1,2,"nz-notification",1,G),n(),e(9,"div",4),W(10,se,1,2,"nz-notification",1,G),n(),e(12,"div",5),W(13,ue,1,2,"nz-notification",1,G),n(),e(15,"div",6),W(16,pe,1,2,"nz-notification",1,G),n()),m&2&&(P("top",o.top)("left","0px"),k("ant-notification-rtl",o.dir==="rtl"),c(),j(o.topLeftInstances),c(2),P("top",o.top)("right","0px"),k("ant-notification-rtl",o.dir==="rtl"),c(),j(o.topRightInstances),c(2),P("bottom",o.bottom)("left","0px"),k("ant-notification-rtl",o.dir==="rtl"),c(),j(o.bottomLeftInstances),c(2),P("bottom",o.bottom)("right","0px"),k("ant-notification-rtl",o.dir==="rtl"),c(),j(o.bottomRightInstances),c(2),P("top",o.top)("left","50%")("transform","translateX(-50%)"),k("ant-notification-rtl",o.dir==="rtl"),c(),j(o.topInstances),c(2),P("bottom",o.bottom)("left","50%")("transform","translateX(-50%)"),k("ant-notification-rtl",o.dir==="rtl"),c(),j(o.bottomInstances))},dependencies:[fe],encapsulation:2,changeDetection:0})}return a})();var Ne=0,C=(()=>{class a extends jt{componentPrefix="notification-";constructor(i,m){super(i,m)}success(i,m,o){return this.create("success",i,m,o)}error(i,m,o){return this.create("error",i,m,o)}info(i,m,o){return this.create("info",i,m,o)}warning(i,m,o){return this.create("warning",i,m,o)}blank(i,m,o){return this.create("blank",i,m,o)}create(i,m,o,u){return this.createInstance({type:i,title:m,content:o},u)}template(i,m){return this.createInstance({template:i},m)}generateMessageId(){return`${this.componentPrefix}-${Ne++}`}createInstance(i,m){return this.container=this.withContainer(Ee),this.container.create(gt(V({},i),{createdAt:new Date,messageId:m?.nzKey||this.generateMessageId(),options:m}))}static \u0275fac=function(m){return new(m||a)(Nt(Rt),Nt(Dt))};static \u0275prov=_t({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Q=class a{constructor(r){this.notification=r}createNotification(){this.notification.blank("Notification Title","This is the content of the notification. This is the content of the notification. This is the content of the notification.").onClick.subscribe(()=>{console.log("notification clicked!")})}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-basic"]],decls:2,vars:0,consts:[["nz-button","","nzType","primary",3,"click"]],template:function(i,m){i&1&&(e(0,"button",0),s("click",function(){return m.createNotification()}),t(1,"Open the notification box"),n())},dependencies:[h,S,N,x],encapsulation:2})};function xe(a,r){a&1&&(e(0,"div",2)(1,"div",3)(2,"span",4),d(3,"nz-icon",5),n(),e(4,"div",6),t(5,"Notification Title"),n(),e(6,"div",7),t(7," This is the content of the notification. This is the content of the notification. This is the content of the notification. "),n()()())}var U=class a{constructor(r){this.notification=r}createNotification(r){this.notification.template(r)}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-custom-icon"]],decls:4,vars:0,consts:[["template",""],["nz-button","","nzType","primary",3,"click"],[1,"ant-notification-notice-content"],[1,"ant-notification-notice-with-icon"],[1,"ant-notification-notice-icon"],["nzType","smile",2,"color","rgb(16, 142, 233)"],[1,"ant-notification-notice-message"],[1,"ant-notification-notice-description"]],template:function(i,m){if(i&1){let o=D();g(0,xe,8,0,"ng-template",null,0,ot),e(2,"button",1),s("click",function(){_(o);let I=Bt(1);return v(m.createNotification(I))}),t(3,"Open the notification box"),n()}},dependencies:[Z,F,h,S,N,x],encapsulation:2})};var $=class a{constructor(r){this.notification=r}createNotification(){this.notification.blank("Notification Title","This is the content of the notification. This is the content of the notification. This is the content of the notification.",{nzStyle:{width:"600px",marginLeft:"-265px"},nzClass:"test-class"})}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-custom-style"]],decls:2,vars:0,consts:[["nz-button","","nzType","primary",3,"click"]],template:function(i,m){i&1&&(e(0,"button",0),s("click",function(){return m.createNotification()}),t(1,"Open the notification box"),n())},dependencies:[h,S,N,x],encapsulation:2})};var K=class a{constructor(r){this.notification=r}createNotification(){this.notification.blank("Notification Title","I will never close automatically. This is a purposely very very long description that has many many characters and words.",{nzDuration:0})}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-duration"]],decls:2,vars:0,consts:[["nz-button","","nzType","primary",3,"click"]],template:function(i,m){i&1&&(e(0,"button",0),s("click",function(){return m.createNotification()}),t(1,"Open the notification box"),n())},dependencies:[h,S,N,x],encapsulation:2})};var X=class a{constructor(r){this.notification=r}placement="topRight";createNotification(r){this.notification.blank("Notification Title","This is the content of the notification. This is the content of the notification. This is the content of the notification.",{nzPlacement:r})}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-placement"]],decls:20,vars:0,consts:[["nz-button","","nzType","primary",3,"click"],["nzType","border-top","nzTheme","outline"],["nzType","border-bottom","nzTheme","outline"],["nzType","radius-upleft"],["nzType","radius-upright"],["nzType","radius-bottomleft"],["nzType","radius-bottomright"]],template:function(i,m){i&1&&(e(0,"button",0),s("click",function(){return m.createNotification("top")}),d(1,"nz-icon",1),t(2," top "),n(),e(3,"button",0),s("click",function(){return m.createNotification("bottom")}),d(4,"nz-icon",2),t(5," bottom "),n(),d(6,"nz-divider"),e(7,"button",0),s("click",function(){return m.createNotification("topLeft")}),d(8,"nz-icon",3),t(9," topLeft "),n(),e(10,"button",0),s("click",function(){return m.createNotification("topRight")}),d(11,"nz-icon",4),t(12," topRight "),n(),d(13,"nz-divider"),e(14,"button",0),s("click",function(){return m.createNotification("bottomLeft")}),d(15,"nz-icon",5),t(16," bottomLeft "),n(),e(17,"button",0),s("click",function(){return m.createNotification("bottomRight")}),d(18,"nz-icon",6),t(19," bottomRight "),n())},dependencies:[h,S,N,x,Pt,Mt,Z,F],styles:["button[_ngcontent-%COMP%]{margin-right:1em}"]})};function Se(a,r){if(a&1&&(t(0," It's a "),e(1,"nz-tag",1),t(2),n(),e(3,"button",2),t(4,"Cut It!"),n()),a&2){let i=r.data;c(),l("nzColor",i.color),c(),kt(i.name)}}var q=class a{constructor(r){this.notificationService=r}template;createNotification(){[{name:"Apple",color:"red"},{name:"Orange",color:"orange"},{name:"Watermelon",color:"green"}].forEach(i=>{this.notificationService.template(this.template,{nzData:i})})}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-template"]],viewQuery:function(i,m){if(i&1&&w(Ft,5),i&2){let o;A(o=R())&&(m.template=o.first)}},decls:3,vars:0,consts:[["nz-button","","nzType","primary",3,"click"],[3,"nzColor"],["nz-button","","nzSize","small"]],template:function(i,m){i&1&&(e(0,"button",0),s("click",function(){return m.createNotification()}),t(1,"Open the notification box"),n(),g(2,Se,5,2,"ng-template"))},dependencies:[h,S,N,x,Wt,Gt],styles:["button[_ngcontent-%COMP%]{margin-top:8px}"]})};var Y=class a{constructor(r){this.notification=r}createNotification(){this.notification.blank("Notification Title","Description.",{nzKey:"key"}),setTimeout(()=>{this.notification.blank("New Title","New description",{nzKey:"key"})},1e3)}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-update"]],decls:2,vars:0,consts:[["nz-button","","nzType","primary",3,"click"]],template:function(i,m){i&1&&(e(0,"button",0),s("click",function(){return m.createNotification()}),t(1," Open the notification box "),n())},dependencies:[h,S,N,x],encapsulation:2})};var he=["notificationBtnTpl"];function Ce(a,r){if(a&1){let i=D();e(0,"button",2),s("click",function(){let o=_(i).$implicit;return v(o.close())}),t(1,"Confirm"),n()}}var J=class a{constructor(r){this.notification=r}btnTemplate;createNotification(){this.notification.blank("Notification Title",'A function will be be called after the notification is closed (automatically after the "duration" time of manually).',{nzButton:this.btnTemplate})}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-with-btn"]],viewQuery:function(i,m){if(i&1&&w(he,7),i&2){let o;A(o=R())&&(m.btnTemplate=o.first)}},decls:4,vars:0,consts:[["notificationBtnTpl",""],["nz-button","","nzType","primary",3,"click"],["nz-button","","nzType","primary","nzSize","small",3,"click"]],template:function(i,m){if(i&1){let o=D();g(0,Ce,2,0,"ng-template",null,0,ot),e(2,"button",1),s("click",function(){return _(o),v(m.createNotification())}),t(3,"Open the notification box"),n()}},dependencies:[h,S,N,x],encapsulation:2})};var tt=class a{constructor(r){this.notification=r}createNotification(r){this.notification.create(r,"Notification Title","This is the content of the notification. This is the content of the notification. This is the content of the notification.")}static \u0275fac=function(i){return new(i||a)(E(C))};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification-with-icon"]],decls:8,vars:0,consts:[["nz-button","",3,"click"]],template:function(i,m){i&1&&(e(0,"button",0),s("click",function(){return m.createNotification("success")}),t(1,"Success"),n(),e(2,"button",0),s("click",function(){return m.createNotification("info")}),t(3,"Info"),n(),e(4,"button",0),s("click",function(){return m.createNotification("warning")}),t(5,"Warning"),n(),e(6,"button",0),s("click",function(){return m.createNotification("error")}),t(7,"Error"),n())},dependencies:[h,S,N,x],styles:["button[_ngcontent-%COMP%]{margin-right:1em}"]})};var ft=class a{expanded=!1;codeBoxes;goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification"]],viewQuery:function(i,m){if(i&1&&w(H,5),i&2){let o;A(o=R())&&(m.codeBoxes=o)}},decls:485,vars:52,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-notification-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-notification-demo-duration","nzTitle","\u81EA\u52A8\u5173\u95ED\u7684\u5EF6\u65F6"],["nzHref","#components-notification-demo-with-icon","nzTitle","\u5E26\u6709\u56FE\u6807\u7684\u901A\u77E5\u63D0\u9192\u6846"],["nzHref","#components-notification-demo-with-btn","nzTitle","\u81EA\u5B9A\u4E49\u6309\u94AE"],["nzHref","#components-notification-demo-custom-icon","nzTitle","\u81EA\u5B9A\u4E49\u56FE\u6807"],["nzHref","#components-notification-demo-placement","nzTitle","\u4F4D\u7F6E"],["nzHref","#components-notification-demo-custom-style","nzTitle","\u81EA\u5B9A\u4E49\u6837\u5F0F"],["nzHref","#components-notification-demo-update","nzTitle","\u66F4\u65B0\u6D88\u606F\u5185\u5BB9"],["nzHref","#components-notification-demo-template","nzTitle","\u4F7F\u7528\u6A21\u677F"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],[1,"token","operator"],[1,"token","function"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","\u57FA\u672C","nzSelector","nz-demo-notification-basic","nzGenerateCommand","ng g ng-zorro-antd:notification-basic <name>","nzComponentName","NzDemoNotificationBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u5E26\u6709\u56FE\u6807\u7684\u901A\u77E5\u63D0\u9192\u6846","nzSelector","nz-demo-notification-with-icon","nzGenerateCommand","ng g ng-zorro-antd:notification-with-icon <name>","nzComponentName","NzDemoNotificationWithIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u56FE\u6807","nzSelector","nz-demo-notification-custom-icon","nzGenerateCommand","ng g ng-zorro-antd:notification-custom-icon <name>","nzComponentName","NzDemoNotificationCustomIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u6837\u5F0F","nzSelector","nz-demo-notification-custom-style","nzGenerateCommand","ng g ng-zorro-antd:notification-custom-style <name>","nzComponentName","NzDemoNotificationCustomStyleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4F7F\u7528\u6A21\u677F","nzSelector","nz-demo-notification-template","nzGenerateCommand","ng g ng-zorro-antd:notification-template <name>","nzComponentName","NzDemoNotificationTemplateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u52A8\u5173\u95ED\u7684\u5EF6\u65F6","nzSelector","nz-demo-notification-duration","nzGenerateCommand","ng g ng-zorro-antd:notification-duration <name>","nzComponentName","NzDemoNotificationDurationComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u6309\u94AE","nzSelector","nz-demo-notification-with-btn","nzGenerateCommand","ng g ng-zorro-antd:notification-with-btn <name>","nzComponentName","NzDemoNotificationWithBtnComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4F4D\u7F6E","nzSelector","nz-demo-notification-placement","nzGenerateCommand","ng g ng-zorro-antd:notification-placement <name>","nzComponentName","NzDemoNotificationPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u66F4\u65B0\u6D88\u606F\u5185\u5BB9","nzSelector","nz-demo-notification-update","nzGenerateCommand","ng g ng-zorro-antd:notification-update <name>","nzComponentName","NzDemoNotificationUpdateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nznotificationservice"],[1,"api-type-label","service"],["onclick","window.location.hash = 'nznotificationservice'",1,"anchor"],["id","\u5168\u5C40\u914D\u7F6E"],["onclick","window.location.hash = '\u5168\u5C40\u914D\u7F6E'",1,"anchor"],["href","/docs/global-config/zh"],["id","nznotificationref"],["onclick","window.location.hash = 'nznotificationref'",1,"anchor"],[1,"token","class-name"],[1,"token","builtin"],[1,"token","comment"]],template:function(i,m){i&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),s("nzClick",function(u){return m.goLink(u)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11),n()(),e(13,"section",12)(14,"h1"),t(15,"Notification"),e(16,"span",13),t(17,"\u901A\u77E5\u63D0\u9192\u6846"),n(),d(18,"span",14),e(19,"a",15),d(20,"nz-icon",16),n()(),e(21,"section",12),z(),e(22,"p"),t(23,"\u5168\u5C40\u5C55\u793A\u901A\u77E5\u63D0\u9192\u4FE1\u606F\u3002"),n(),e(24,"h2",17)(25,"span"),t(26,"\u4F55\u65F6\u4F7F\u7528"),n(),e(27,"a",18),t(28,"#"),n()(),e(29,"p"),t(30,"\u5728\u7CFB\u7EDF\u56DB\u4E2A\u89D2\u663E\u793A\u901A\u77E5\u63D0\u9192\u4FE1\u606F\u3002\u7ECF\u5E38\u7528\u4E8E\u4EE5\u4E0B\u60C5\u51B5\uFF1A"),n(),e(31,"ul")(32,"li"),t(33,"\u8F83\u4E3A\u590D\u6742\u7684\u901A\u77E5\u5185\u5BB9\u3002"),n(),e(34,"li"),t(35,"\u5E26\u6709\u4EA4\u4E92\u7684\u901A\u77E5\uFF0C\u7ED9\u51FA\u7528\u6237\u4E0B\u4E00\u6B65\u7684\u884C\u52A8\u70B9\u3002"),n(),e(36,"li"),t(37,"\u7CFB\u7EDF\u4E3B\u52A8\u63A8\u9001\u3002"),n()(),e(38,"pre")(39,"code",19)(40,"span",20),t(41,"import"),n(),t(42," "),e(43,"span",21),t(44,"{"),n(),t(45," NzNotificationService "),e(46,"span",21),t(47,"}"),n(),t(48," "),e(49,"span",20),t(50,"from"),n(),t(51," "),e(52,"span",22),t(53,"'ng-zorro-antd/notification'"),n(),e(54,"span",21),t(55,";"),n(),t(56,`
`),e(57,"span",20),t(58,"private"),n(),t(59," "),e(60,"span",20),t(61,"readonly"),n(),t(62," notification "),e(63,"span",23),t(64,"="),n(),t(65," "),e(66,"span",24),t(67,"inject"),n(),e(68,"span",21),t(69,"("),n(),t(70,"NzNotificationService"),e(71,"span",21),t(72,")"),n(),e(73,"span",21),t(74,";"),n(),t(75,`
`),n()(),f(),n(),e(76,"h2")(77,"span"),t(78,"\u4EE3\u7801\u6F14\u793A"),n(),e(79,"nz-icon",25),s("click",function(){return m.expandAllCode()}),n()()(),e(80,"div",26)(81,"div",27)(82,"nz-code-box",28),d(83,"nz-demo-notification-basic",29),e(84,"div",30),z(),e(85,"p"),t(86,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\uFF0C4.5 \u79D2\u540E\u81EA\u52A8\u5173\u95ED\u3002"),n(),f(),n()(),e(87,"nz-code-box",31),d(88,"nz-demo-notification-with-icon",29),e(89,"div",30),z(),e(90,"p"),t(91,"\u901A\u77E5\u63D0\u9192\u6846\u5DE6\u4FA7\u6709\u56FE\u6807\u3002"),n(),f(),n()(),e(92,"nz-code-box",32),d(93,"nz-demo-notification-custom-icon",29),e(94,"div",30),z(),e(95,"p"),t(96,"\u56FE\u6807\u53EF\u4EE5\u88AB\u81EA\u5B9A\u4E49\u3002"),n(),f(),n()(),e(97,"nz-code-box",33),d(98,"nz-demo-notification-custom-style",29),e(99,"div",30),z(),e(100,"p"),t(101,"\u4F7F\u7528 nzStyle \u548C nzClass \u6765\u5B9A\u4E49\u6837\u5F0F\u3002"),n(),f(),n()(),e(102,"nz-code-box",34),d(103,"nz-demo-notification-template",29),e(104,"div",30),z(),e(105,"p"),t(106,"\u901A\u8FC7\u6A21\u677F\u6765\u5B9E\u73B0\u66F4\u52A0\u590D\u6742\u7684\u6548\u679C\u548C\u4EA4\u4E92\u3002"),n(),f(),n()()(),e(107,"div",27)(108,"nz-code-box",35),d(109,"nz-demo-notification-duration",29),e(110,"div",30),z(),e(111,"p"),t(112,"\u81EA\u5B9A\u4E49\u901A\u77E5\u6846\u81EA\u52A8\u5173\u95ED\u7684\u5EF6\u65F6\uFF0C\u9ED8\u8BA4"),e(113,"code"),t(114,"4.5s"),n(),t(115,"\uFF0C\u53D6\u6D88\u81EA\u52A8\u5173\u95ED\u53EA\u8981\u5C06\u8BE5\u503C\u8BBE\u4E3A "),e(116,"code"),t(117,"0"),n(),t(118," \u5373\u53EF\u3002"),n(),f(),n()(),e(119,"nz-code-box",36),d(120,"nz-demo-notification-with-btn",29),e(121,"div",30),z(),e(122,"p"),t(123,"\u81EA\u5B9A\u4E49\u5173\u95ED\u6309\u94AE\u7684\u6837\u5F0F\u548C\u6587\u5B57\u3002"),n(),f(),n()(),e(124,"nz-code-box",37),d(125,"nz-demo-notification-placement",29),e(126,"div",30),z(),e(127,"p"),t(128,"\u901A\u77E5\u4ECE\u53F3\u4E0A\u89D2\u3001\u53F3\u4E0B\u89D2\u3001\u5DE6\u4E0B\u89D2\u3001\u5DE6\u4E0A\u89D2\u3001\u4E0A\u65B9\u3001\u4E0B\u65B9\u5F39\u51FA\u3002"),n(),f(),n()(),e(129,"nz-code-box",38),d(130,"nz-demo-notification-update",29),e(131,"div",30),z(),e(132,"p"),t(133,"\u53EF\u4EE5\u901A\u8FC7\u552F\u4E00\u7684 "),e(134,"code"),t(135,"nzKey"),n(),t(136," \u6765\u66F4\u65B0\u5185\u5BB9\u3002"),n(),f(),n()()()(),e(137,"section",39),z(),e(138,"h2",40)(139,"span"),t(140,"API"),n(),e(141,"a",41),t(142,"#"),n()(),e(143,"h3",42)(144,"span"),t(145,"NzNotificationService"),n(),e(146,"label",43),t(147,"service"),n(),e(148,"a",44),t(149,"#"),n()(),e(150,"p"),t(151,"\u7EC4\u4EF6\u63D0\u4F9B\u4E86\u4E00\u4E9B\u670D\u52A1\u65B9\u6CD5\uFF0C\u4F7F\u7528\u65B9\u5F0F\u548C\u53C2\u6570\u5982\u4E0B\uFF1A"),n(),e(152,"ul")(153,"li")(154,"code"),t(155,"NzNotificationService.blank(title, content, [options])"),n(),t(156," // \u4E0D\u5E26\u56FE\u6807\u7684\u63D0\u793A"),n(),e(157,"li")(158,"code"),t(159,"NzNotificationService.success(title, content, [options])"),n()(),e(160,"li")(161,"code"),t(162,"NzNotificationService.error(title, content, [options])"),n()(),e(163,"li")(164,"code"),t(165,"NzNotificationService.info(title, content, [options])"),n()(),e(166,"li")(167,"code"),t(168,"NzNotificationService.warning(title, content, [options])"),n()()(),e(169,"table")(170,"thead")(171,"tr")(172,"th"),t(173,"\u53C2\u6570"),n(),e(174,"th"),t(175,"\u8BF4\u660E"),n(),e(176,"th"),t(177,"\u7C7B\u578B"),n(),e(178,"th"),t(179,"\u9ED8\u8BA4\u503C"),n()()(),e(180,"tbody")(181,"tr")(182,"td"),t(183,"title"),n(),e(184,"td"),t(185,"\u6807\u9898"),n(),e(186,"td")(187,"code"),t(188,"string | TemplateRef<void>"),n()(),e(189,"td"),t(190,"-"),n()(),e(191,"tr")(192,"td"),t(193,"content"),n(),e(194,"td"),t(195,"\u63D0\u793A\u5185\u5BB9"),n(),e(196,"td")(197,"code"),t(198,"NzNotificationContentType"),n()(),e(199,"td"),t(200,"-"),n()(),e(201,"tr")(202,"td"),t(203,"options"),n(),e(204,"td"),t(205,"\u652F\u6301\u8BBE\u7F6E\u9488\u5BF9\u5F53\u524D\u63D0\u793A\u6846\u7684\u53C2\u6570\uFF0C\u89C1\u4E0B\u65B9\u8868\u683C"),n(),e(206,"td")(207,"code"),t(208,"object"),n()(),e(209,"td"),t(210,"-"),n()()()(),e(211,"p")(212,"code"),t(213,"options"),n(),t(214," \u652F\u6301\u8BBE\u7F6E\u7684\u53C2\u6570\u5982\u4E0B\uFF1A"),n(),e(215,"table")(216,"thead")(217,"tr")(218,"th"),t(219,"\u53C2\u6570"),n(),e(220,"th"),t(221,"\u8BF4\u660E"),n(),e(222,"th"),t(223,"\u7C7B\u578B"),n()()(),e(224,"tbody")(225,"tr")(226,"td"),t(227,"nzKey"),n(),e(228,"td"),t(229,"\u901A\u77E5\u63D0\u793A\u7684\u552F\u4E00\u6807\u8BC6\u7B26"),n(),e(230,"td")(231,"code"),t(232,"string"),n()()(),e(233,"tr")(234,"td"),t(235,"nzDuration"),n(),e(236,"td"),t(237,"\u6301\u7EED\u65F6\u95F4(\u6BEB\u79D2)\uFF0C\u5F53\u8BBE\u7F6E\u4E3A 0 \u65F6\u4E0D\u6D88\u5931"),n(),e(238,"td")(239,"code"),t(240,"number"),n()()(),e(241,"tr")(242,"td"),t(243,"nzPauseOnHover"),n(),e(244,"td"),t(245,"\u9F20\u6807\u79FB\u4E0A\u65F6\u7981\u6B62\u81EA\u52A8\u79FB\u9664"),n(),e(246,"td")(247,"code"),t(248,"boolean"),n()()(),e(249,"tr")(250,"td"),t(251,"nzAnimate"),n(),e(252,"td"),t(253,"\u5F00\u5173\u52A8\u753B\u6548\u679C"),n(),e(254,"td")(255,"code"),t(256,"boolean"),n()()(),e(257,"tr")(258,"td"),t(259,"nzStyle"),n(),e(260,"td"),t(261,"\u81EA\u5B9A\u4E49\u5185\u8054\u6837\u5F0F"),n(),e(262,"td")(263,"code"),t(264,"object"),n()()(),e(265,"tr")(266,"td"),t(267,"nzClass"),n(),e(268,"td"),t(269,"\u81EA\u5B9A\u4E49 CSS class"),n(),e(270,"td")(271,"code"),t(272,"object"),n()()(),e(273,"tr")(274,"td"),t(275,"nzData"),n(),e(276,"td"),t(277,"\u4EFB\u4F55\u60F3\u8981\u5728\u6A21\u677F\u4E2D\u4F5C\u4E3A\u4E0A\u4E0B\u6587\u7684\u6570\u636E"),n(),e(278,"td")(279,"code"),t(280,"any"),n()()(),e(281,"tr")(282,"td"),t(283,"nzCloseIcon"),n(),e(284,"td"),t(285,"\u81EA\u5B9A\u4E49\u5173\u95ED\u56FE\u6807"),n(),e(286,"td")(287,"code"),t(288,"TemplateRef<void> | string"),n()()(),e(289,"tr")(290,"td"),t(291,"nzButton"),n(),e(292,"td"),t(293,"\u81EA\u5B9A\u4E49\u6309\u94AE"),n(),e(294,"td")(295,"code"),t(296,"TemplateRef<{ $implicit: NzNotificationComponent }> | string"),n()()()()(),e(297,"p"),t(298,"\u8FD8\u63D0\u4F9B\u4E86\u5168\u5C40\u9500\u6BC1\u65B9\u6CD5\uFF1A"),n(),e(299,"ul")(300,"li")(301,"code"),t(302,"NzNotificationService.remove(id)"),n(),t(303," // \u79FB\u9664\u7279\u5B9Aid\u7684\u6D88\u606F\uFF0C\u5F53id\u4E3A\u7A7A\u65F6\uFF0C\u79FB\u9664\u6240\u6709\u6D88\u606F\uFF08\u8BE5\u6D88\u606Fid\u901A\u8FC7\u4E0A\u8FF0\u65B9\u6CD5\u8FD4\u56DE\u503C\u4E2D\u5F97\u5230\uFF09"),n()(),e(304,"h3",45)(305,"span"),t(306,"\u5168\u5C40\u914D\u7F6E"),n(),e(307,"a",46),t(308,"#"),n()(),e(309,"p"),t(310,"\u53EF\u4EE5\u901A\u8FC7 "),e(311,"code"),t(312,"NzConfigService"),n(),t(313," \u8FDB\u884C\u5168\u5C40\u914D\u7F6E\uFF0C\u8BE6\u60C5\u8BF7\u89C1\u6587\u6863\u4E2D "),e(314,"a",47),t(315,"\u5168\u5C40\u914D\u7F6E\u9879"),n(),t(316," \u7AE0\u8282\u3002"),n(),e(317,"table")(318,"thead")(319,"tr")(320,"th"),t(321,"\u53C2\u6570"),n(),e(322,"th"),t(323,"\u8BF4\u660E"),n(),e(324,"th"),t(325,"\u7C7B\u578B"),n(),e(326,"th"),t(327,"\u9ED8\u8BA4\u503C"),n()()(),e(328,"tbody")(329,"tr")(330,"td"),t(331,"nzDuration"),n(),e(332,"td"),t(333,"\u6301\u7EED\u65F6\u95F4(\u6BEB\u79D2)\uFF0C\u5F53\u8BBE\u7F6E\u4E3A0\u65F6\u4E0D\u6D88\u5931"),n(),e(334,"td")(335,"code"),t(336,"number"),n()(),e(337,"td"),t(338,"4500"),n()(),e(339,"tr")(340,"td"),t(341,"nzMaxStack"),n(),e(342,"td"),t(343,"\u540C\u4E00\u65F6\u95F4\u53EF\u5C55\u793A\u7684\u6700\u5927\u63D0\u793A\u6570\u91CF"),n(),e(344,"td")(345,"code"),t(346,"number"),n()(),e(347,"td"),t(348,"8"),n()(),e(349,"tr")(350,"td"),t(351,"nzPauseOnHover"),n(),e(352,"td"),t(353,"\u9F20\u6807\u79FB\u4E0A\u65F6\u7981\u6B62\u81EA\u52A8\u79FB\u9664"),n(),e(354,"td")(355,"code"),t(356,"boolean"),n()(),e(357,"td")(358,"code"),t(359,"true"),n()()(),e(360,"tr")(361,"td"),t(362,"nzAnimate"),n(),e(363,"td"),t(364,"\u5F00\u5173\u52A8\u753B\u6548\u679C"),n(),e(365,"td")(366,"code"),t(367,"boolean"),n()(),e(368,"td")(369,"code"),t(370,"true"),n()()(),e(371,"tr")(372,"td"),t(373,"nzTop"),n(),e(374,"td"),t(375,"\u6D88\u606F\u4ECE\u9876\u90E8\u5F39\u51FA\u65F6\uFF0C\u8DDD\u79BB\u9876\u90E8\u7684\u4F4D\u7F6E\u3002"),n(),e(376,"td")(377,"code"),t(378,"string"),n()(),e(379,"td"),t(380,"24px"),n()(),e(381,"tr")(382,"td"),t(383,"nzBottom"),n(),e(384,"td"),t(385,"\u6D88\u606F\u4ECE\u5E95\u90E8\u5F39\u51FA\u65F6\uFF0C\u8DDD\u79BB\u5E95\u90E8\u7684\u4F4D\u7F6E\u3002"),n(),e(386,"td")(387,"code"),t(388,"string"),n()(),e(389,"td"),t(390,"24px"),n()(),e(391,"tr")(392,"td"),t(393,"nzPlacement"),n(),e(394,"td"),t(395,"\u5F39\u51FA\u4F4D\u7F6E\uFF0C\u53EF\u9009 "),e(396,"code"),t(397,"topLeft"),n(),e(398,"code"),t(399,"topRight"),n(),e(400,"code"),t(401,"bottomLeft"),n(),e(402,"code"),t(403,"bottomRight"),n(),e(404,"code"),t(405,"top"),n(),e(406,"code"),t(407,"bottom"),n()(),e(408,"td")(409,"code"),t(410,"string"),n()(),e(411,"td")(412,"code"),t(413,"topRight"),n()()(),e(414,"tr")(415,"td"),t(416,"nzDirection"),n(),e(417,"td"),t(418,"\u901A\u77E5\u7684\u6587\u5B57\u65B9\u5411"),n(),e(419,"td")(420,"code"),t(421,"'ltr' | 'rtl'"),n()(),e(422,"td"),t(423,"-"),n()()()(),e(424,"h3",48)(425,"span"),t(426,"NzNotificationRef"),n(),e(427,"a",49),t(428,"#"),n()(),e(429,"p"),t(430,"\u5F53\u4F60\u8C03\u7528 "),e(431,"code"),t(432,"NzNotificationService.success"),n(),t(433," \u6216\u5176\u4ED6\u65B9\u6CD5\u65F6\u4F1A\u8FD4\u56DE\u8BE5\u5BF9\u8C61\u3002"),n(),e(434,"pre")(435,"code",19)(436,"span",20),t(437,"export"),n(),t(438," "),e(439,"span",20),t(440,"interface"),n(),t(441," "),e(442,"span",50),t(443,"NzNotificationDataRef"),n(),t(444," "),e(445,"span",21),t(446,"{"),n(),t(447,`
messageId`),e(448,"span",23),t(449,":"),n(),t(450," "),e(451,"span",51),t(452,"string"),n(),e(453,"span",21),t(454,";"),n(),t(455,`
onClose`),e(456,"span",23),t(457,":"),n(),t(458," Subject"),e(459,"span",23),t(460,"<"),n(),e(461,"span",51),t(462,"boolean"),n(),e(463,"span",23),t(464,">"),n(),e(465,"span",21),t(466,";"),n(),t(467," "),e(468,"span",52),t(469,"// \u5F53 notification \u5173\u95ED\u65F6\u5B83\u4F1A\u6D3E\u53D1\u4E00\u4E2A\u4E8B\u4EF6\uFF0C\u5982\u679C\u4E3A\u7528\u6237\u624B\u52A8\u5173\u95ED\u4F1A\u6D3E\u53D1 `true`"),n(),t(470,`
onClick`),e(471,"span",23),t(472,":"),n(),t(473," Subject"),e(474,"span",23),t(475,"<"),n(),t(476,"MouseEvent"),e(477,"span",23),t(478,">"),n(),e(479,"span",21),t(480,";"),n(),t(481,`
`),e(482,"span",21),t(483,"}"),n(),t(484,`
`),n()(),f(),n()()),i&2&&(c(),l("nzOffsetTop",16),c(),l("nzAffix",!1),c(78),l("nzGutter",16),c(),l("nzXl",12)("nzSpan",24),c(),l("nzId","components-notification-demo-basic")("nzLink","components-notification-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/basic.md"),c(5),l("nzId","components-notification-demo-with-icon")("nzLink","components-notification-demo-with-icon")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/with-icon.md"),c(5),l("nzId","components-notification-demo-custom-icon")("nzLink","components-notification-demo-custom-icon")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/custom-icon.md"),c(5),l("nzId","components-notification-demo-custom-style")("nzLink","components-notification-demo-custom-style")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/custom-style.md"),c(5),l("nzId","components-notification-demo-template")("nzLink","components-notification-demo-template")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/template.md"),c(5),l("nzXl",12)("nzSpan",24),c(),l("nzId","components-notification-demo-duration")("nzLink","components-notification-demo-duration")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/duration.md"),c(11),l("nzId","components-notification-demo-with-btn")("nzLink","components-notification-demo-with-btn")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/with-btn.md"),c(5),l("nzId","components-notification-demo-placement")("nzLink","components-notification-demo-placement")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/placement.md"),c(5),l("nzId","components-notification-demo-update")("nzLink","components-notification-demo-update")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/update.md"))},dependencies:[st,H,lt,dt,ct,rt,mt,at,F,Q,U,$,K,X,q,Y,J,tt],encapsulation:2})};var zt=class a{expanded=!1;codeBoxes;goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=p({type:a,selectors:[["nz-demo-notification"]],viewQuery:function(i,m){if(i&1&&w(H,5),i&2){let o;A(o=R())&&(m.codeBoxes=o)}},decls:506,vars:52,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-notification-demo-basic","nzTitle","Basic"],["nzHref","#components-notification-demo-duration","nzTitle","Duration after which the notification box is closed"],["nzHref","#components-notification-demo-with-icon","nzTitle","Notification with icon"],["nzHref","#components-notification-demo-with-btn","nzTitle","Custom close button"],["nzHref","#components-notification-demo-custom-icon","nzTitle","Customized Icon"],["nzHref","#components-notification-demo-placement","nzTitle","Placement"],["nzHref","#components-notification-demo-custom-style","nzTitle","Customized style"],["nzHref","#components-notification-demo-update","nzTitle","Update Notification Content"],["nzHref","#components-notification-demo-template","nzTitle","Use a template"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],[1,"token","operator"],[1,"token","function"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-notification-basic","nzGenerateCommand","ng g ng-zorro-antd:notification-basic <name>","nzComponentName","NzDemoNotificationBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Notification with icon","nzSelector","nz-demo-notification-with-icon","nzGenerateCommand","ng g ng-zorro-antd:notification-with-icon <name>","nzComponentName","NzDemoNotificationWithIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Customized Icon","nzSelector","nz-demo-notification-custom-icon","nzGenerateCommand","ng g ng-zorro-antd:notification-custom-icon <name>","nzComponentName","NzDemoNotificationCustomIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Customized style","nzSelector","nz-demo-notification-custom-style","nzGenerateCommand","ng g ng-zorro-antd:notification-custom-style <name>","nzComponentName","NzDemoNotificationCustomStyleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Use a template","nzSelector","nz-demo-notification-template","nzGenerateCommand","ng g ng-zorro-antd:notification-template <name>","nzComponentName","NzDemoNotificationTemplateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Duration after which the notification box is closed","nzSelector","nz-demo-notification-duration","nzGenerateCommand","ng g ng-zorro-antd:notification-duration <name>","nzComponentName","NzDemoNotificationDurationComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Custom close button","nzSelector","nz-demo-notification-with-btn","nzGenerateCommand","ng g ng-zorro-antd:notification-with-btn <name>","nzComponentName","NzDemoNotificationWithBtnComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Placement","nzSelector","nz-demo-notification-placement","nzGenerateCommand","ng g ng-zorro-antd:notification-placement <name>","nzComponentName","NzDemoNotificationPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Update Notification Content","nzSelector","nz-demo-notification-update","nzGenerateCommand","ng g ng-zorro-antd:notification-update <name>","nzComponentName","NzDemoNotificationUpdateComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nznotificationservice"],[1,"api-type-label","service"],["onclick","window.location.hash = 'nznotificationservice'",1,"anchor"],["id","global_configuration"],["onclick","window.location.hash = 'global_configuration'",1,"anchor"],["href","/docs/global-config/en"],["id","nznotificationref"],["onclick","window.location.hash = 'nznotificationref'",1,"anchor"],[1,"token","class-name"],[1,"token","builtin"],[1,"token","comment"]],template:function(i,m){i&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),s("nzClick",function(u){return m.goLink(u)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11),n()(),e(13,"section",12)(14,"h1"),t(15,"Notification"),d(16,"span",13)(17,"span",14),e(18,"a",15),d(19,"nz-icon",16),n()(),e(20,"section",12),z(),e(21,"p"),t(22,"Display a notification message globally."),n(),e(23,"h2",17)(24,"span"),t(25,"When To Use"),n(),e(26,"a",18),t(27,"#"),n()(),e(28,"p"),t(29,`To display a notification message at any of the four corners of the viewport. Typically it can be
used in the following cases:`),n(),e(30,"ul")(31,"li"),t(32,"A notification with complex content."),n(),e(33,"li"),t(34,`A notification providing a feedback based on the user interaction. Or it may show some details
about upcoming steps the user may have to follow.`),n(),e(35,"li"),t(36,"A notification that is pushed by the application."),n()(),e(37,"pre")(38,"code",19)(39,"span",20),t(40,"import"),n(),t(41," "),e(42,"span",21),t(43,"{"),n(),t(44," NzNotificationService "),e(45,"span",21),t(46,"}"),n(),t(47," "),e(48,"span",20),t(49,"from"),n(),t(50," "),e(51,"span",22),t(52,"'ng-zorro-antd/notification'"),n(),e(53,"span",21),t(54,";"),n(),t(55,`
`),e(56,"span",20),t(57,"private"),n(),t(58," "),e(59,"span",20),t(60,"readonly"),n(),t(61," notification "),e(62,"span",23),t(63,"="),n(),t(64," "),e(65,"span",24),t(66,"inject"),n(),e(67,"span",21),t(68,"("),n(),t(69,"NzNotificationService"),e(70,"span",21),t(71,")"),n(),e(72,"span",21),t(73,";"),n(),t(74,`
`),n()(),f(),n(),e(75,"h2")(76,"span"),t(77,"Examples"),n(),e(78,"nz-icon",25),s("click",function(){return m.expandAllCode()}),n()()(),e(79,"div",26)(80,"div",27)(81,"nz-code-box",28),d(82,"nz-demo-notification-basic",29),e(83,"div",30),z(),e(84,"p"),t(85,"The simplest usage that close the notification box after 4.5s."),n(),f(),n()(),e(86,"nz-code-box",31),d(87,"nz-demo-notification-with-icon",29),e(88,"div",30),z(),e(89,"p"),t(90,"A notification box with a icon at the left side."),n(),f(),n()(),e(91,"nz-code-box",32),d(92,"nz-demo-notification-custom-icon",29),e(93,"div",30),z(),e(94,"p"),t(95,"The icon can be customized to any "),e(96,"code"),t(97,"TemplateRef<void>"),n(),t(98,"."),n(),f(),n()(),e(99,"nz-code-box",33),d(100,"nz-demo-notification-custom-style",29),e(101,"div",30),z(),e(102,"p"),t(103,"The nzStyle and nzClass are available to customize Notification."),n(),f(),n()(),e(104,"nz-code-box",34),d(105,"nz-demo-notification-template",29),e(106,"div",30),z(),e(107,"p"),t(108,"Use template to implement more complex interactions."),n(),f(),n()()(),e(109,"div",27)(110,"nz-code-box",35),d(111,"nz-demo-notification-duration",29),e(112,"div",30),z(),e(113,"p")(114,"code"),t(115,"nzDuration"),n(),t(116,` can be used to specify how long the notification stays open. After the duration time elapses,
the notification closes automatically. If not specified, default value is 4.5 seconds. If you set the value to 0,
the notification box will never close automatically.`),n(),f(),n()(),e(117,"nz-code-box",36),d(118,"nz-demo-notification-with-btn",29),e(119,"div",30),z(),e(120,"p"),t(121,"To customize the style or font of the close button."),n(),f(),n()(),e(122,"nz-code-box",37),d(123,"nz-demo-notification-placement",29),e(124,"div",30),z(),e(125,"p"),t(126,"A notification box can pop up from "),e(127,"code"),t(128,"topRight"),n(),t(129," or "),e(130,"code"),t(131,"bottomRight"),n(),t(132," or "),e(133,"code"),t(134,"bottomLeft"),n(),t(135," or "),e(136,"code"),t(137,"topLeft"),n(),t(138," or "),e(139,"code"),t(140,"top"),n(),t(141," or "),e(142,"code"),t(143,"bottom"),n(),t(144,"."),n(),f(),n()(),e(145,"nz-code-box",38),d(146,"nz-demo-notification-update",29),e(147,"div",30),z(),e(148,"p"),t(149,"Update content with unique "),e(150,"code"),t(151,"nzKey"),n(),t(152,"."),n(),f(),n()()()(),e(153,"section",39),z(),e(154,"h2",40)(155,"span"),t(156,"API"),n(),e(157,"a",41),t(158,"#"),n()(),e(159,"h3",42)(160,"span"),t(161,"NzNotificationService"),n(),e(162,"label",43),t(163,"service"),n(),e(164,"a",44),t(165,"#"),n()(),e(166,"p"),t(167,"The component provides a number of service methods using the following methods and parameters:"),n(),e(168,"ul")(169,"li")(170,"code"),t(171,"NzNotificationService.blank(title, content, [options])"),n(),t(172," // Notification without icon"),n(),e(173,"li")(174,"code"),t(175,"NzNotificationService.success(title, content, [options])"),n()(),e(176,"li")(177,"code"),t(178,"NzNotificationService.error(title, content, [options])"),n()(),e(179,"li")(180,"code"),t(181,"NzNotificationService.info(title, content, [options])"),n()(),e(182,"li")(183,"code"),t(184,"NzNotificationService.warning(title, content, [options])"),n()()(),e(185,"table")(186,"thead")(187,"tr")(188,"th"),t(189,"Argument"),n(),e(190,"th"),t(191,"Description"),n(),e(192,"th"),t(193,"Type"),n(),e(194,"th"),t(195,"Default"),n()()(),e(196,"tbody")(197,"tr")(198,"td"),t(199,"title"),n(),e(200,"td"),t(201,"Title"),n(),e(202,"td")(203,"code"),t(204,"string | TemplateRef<void>"),n()(),e(205,"td"),t(206,"-"),n()(),e(207,"tr")(208,"td"),t(209,"content"),n(),e(210,"td"),t(211,"Notification content"),n(),e(212,"td")(213,"code"),t(214,"NzNotificationContentType"),n()(),e(215,"td"),t(216,"-"),n()(),e(217,"tr")(218,"td"),t(219,"options"),n(),e(220,"td"),t(221,"Support setting the parameters for the current notification box, see the table below"),n(),e(222,"td")(223,"code"),t(224,"object"),n()(),e(225,"td"),t(226,"-"),n()()()(),e(227,"p"),t(228,"The parameters that are set by the "),e(229,"code"),t(230,"options"),n(),t(231," support are as follows:"),n(),e(232,"table")(233,"thead")(234,"tr")(235,"th"),t(236,"Argument"),n(),e(237,"th"),t(238,"Description"),n(),e(239,"th"),t(240,"Type"),n()()(),e(241,"tbody")(242,"tr")(243,"td"),t(244,"nzKey"),n(),e(245,"td"),t(246,"The unique identifier of the Notification"),n(),e(247,"td")(248,"code"),t(249,"string"),n()()(),e(250,"tr")(251,"td"),t(252,"nzDuration"),n(),e(253,"td"),t(254,"Duration (milliseconds), does not disappear when set to 0"),n(),e(255,"td")(256,"code"),t(257,"number"),n()()(),e(258,"tr")(259,"td"),t(260,"nzPauseOnHover"),n(),e(261,"td"),t(262,"Do not remove automatically when mouse is over while setting to "),e(263,"code"),t(264,"true"),n()(),e(265,"td")(266,"code"),t(267,"boolean"),n()()(),e(268,"tr")(269,"td"),t(270,"nzAnimate"),n(),e(271,"td"),t(272,"Whether to turn on animation"),n(),e(273,"td")(274,"code"),t(275,"boolean"),n()()(),e(276,"tr")(277,"td"),t(278,"nzStyle"),n(),e(279,"td"),t(280,"Custom inline style"),n(),e(281,"td")(282,"code"),t(283,"object"),n()()(),e(284,"tr")(285,"td"),t(286,"nzClass"),n(),e(287,"td"),t(288,"Custom CSS class"),n(),e(289,"td")(290,"code"),t(291,"object"),n()()(),e(292,"tr")(293,"td"),t(294,"nzData"),n(),e(295,"td"),t(296,"Anything that would be used as template context"),n(),e(297,"td")(298,"code"),t(299,"any"),n()()(),e(300,"tr")(301,"td"),t(302,"nzCloseIcon"),n(),e(303,"td"),t(304,"Custom close icon"),n(),e(305,"td")(306,"code"),t(307,"TemplateRef<void> | string"),n()()(),e(308,"tr")(309,"td"),t(310,"nzButton"),n(),e(311,"td"),t(312,"Custom button"),n(),e(313,"td")(314,"code"),t(315,"TemplateRef<{ $implicit: NzNotificationComponent }> | string"),n()()()()(),e(316,"p"),t(317,"Methods for destruction are also provided:"),n(),e(318,"ul")(319,"li")(320,"code"),t(321,"NzNotificationService.remove(id)"),n(),t(322," // Remove the notification with the specified id. When the id is empty, remove all notifications (the notification id is returned by the above method)"),n()(),e(323,"h3",45)(324,"span"),t(325,"Global Configuration"),n(),e(326,"a",46),t(327,"#"),n()(),e(328,"p"),t(329,"You can use "),e(330,"code"),t(331,"NzConfigService"),n(),t(332," to configure this component globally. Please check the "),e(333,"a",47),t(334,"Global Configuration"),n(),t(335," chapter for more information."),n(),e(336,"table")(337,"thead")(338,"tr")(339,"th"),t(340,"Parameter"),n(),e(341,"th"),t(342,"Description"),n(),e(343,"th"),t(344,"Type"),n(),e(345,"th"),t(346,"Default"),n()()(),e(347,"tbody")(348,"tr")(349,"td"),t(350,"nzDuration"),n(),e(351,"td"),t(352,"Duration (milliseconds), does not disappear when set to 0"),n(),e(353,"td")(354,"code"),t(355,"number"),n()(),e(356,"td"),t(357,"4500"),n()(),e(358,"tr")(359,"td"),t(360,"nzMaxStack"),n(),e(361,"td"),t(362,"The maximum number of notifications that can be displayed at the same time"),n(),e(363,"td")(364,"code"),t(365,"number"),n()(),e(366,"td"),t(367,"8"),n()(),e(368,"tr")(369,"td"),t(370,"nzPauseOnHover"),n(),e(371,"td"),t(372,"Do not remove automatically when mouse is over while setting to "),e(373,"code"),t(374,"true"),n()(),e(375,"td")(376,"code"),t(377,"boolean"),n()(),e(378,"td")(379,"code"),t(380,"true"),n()()(),e(381,"tr")(382,"td"),t(383,"nzAnimate"),n(),e(384,"td"),t(385,"Whether to turn on animation"),n(),e(386,"td")(387,"code"),t(388,"boolean"),n()(),e(389,"td")(390,"code"),t(391,"true"),n()()(),e(392,"tr")(393,"td"),t(394,"nzTop"),n(),e(395,"td"),t(396,"The top of the notification when it pops up from the top."),n(),e(397,"td")(398,"code"),t(399,"string"),n()(),e(400,"td"),t(401,"24px"),n()(),e(402,"tr")(403,"td"),t(404,"nzBottom"),n(),e(405,"td"),t(406,"The bottom of the notification when it pops up from the bottom."),n(),e(407,"td")(408,"code"),t(409,"string"),n()(),e(410,"td"),t(411,"24px"),n()(),e(412,"tr")(413,"td"),t(414,"nzPlacement"),n(),e(415,"td"),t(416,"Popup position, optional "),e(417,"code"),t(418,"topLeft"),n(),e(419,"code"),t(420,"topRight"),n(),e(421,"code"),t(422,"bottomLeft"),n(),e(423,"code"),t(424,"bottomRight"),n(),e(425,"code"),t(426,"top"),n(),e(427,"code"),t(428,"bottom"),n()(),e(429,"td")(430,"code"),t(431,"string"),n()(),e(432,"td")(433,"code"),t(434,"topRight"),n()()(),e(435,"tr")(436,"td"),t(437,"nzDirection"),n(),e(438,"td"),t(439,"Direction of the text in the notification"),n(),e(440,"td")(441,"code"),t(442,"'ltr' | 'rtl'"),n()(),e(443,"td"),t(444,"-"),n()()()(),e(445,"h3",48)(446,"span"),t(447,"NzNotificationRef"),n(),e(448,"a",49),t(449,"#"),n()(),e(450,"p"),t(451,"It's the object that returned when you call "),e(452,"code"),t(453,"NzNotificationService.success"),n(),t(454," and others."),n(),e(455,"pre")(456,"code",19)(457,"span",20),t(458,"export"),n(),t(459," "),e(460,"span",20),t(461,"interface"),n(),t(462," "),e(463,"span",50),t(464,"NzNotificationRef"),n(),t(465," "),e(466,"span",21),t(467,"{"),n(),t(468,`
messageId`),e(469,"span",23),t(470,":"),n(),t(471," "),e(472,"span",51),t(473,"string"),n(),e(474,"span",21),t(475,";"),n(),t(476,`
onClose`),e(477,"span",23),t(478,":"),n(),t(479," Subject"),e(480,"span",23),t(481,"<"),n(),e(482,"span",51),t(483,"boolean"),n(),e(484,"span",23),t(485,">"),n(),e(486,"span",21),t(487,";"),n(),t(488," "),e(489,"span",52),t(490,"// It would emit an event when the notification is closed, and emit a `true` if it's closed by user"),n(),t(491,`
onClick`),e(492,"span",23),t(493,":"),n(),t(494," Subject"),e(495,"span",23),t(496,"<"),n(),t(497,"MouseEvent"),e(498,"span",23),t(499,">"),n(),e(500,"span",21),t(501,";"),n(),t(502,`
`),e(503,"span",21),t(504,"}"),n(),t(505,`
`),n()(),f(),n()()),i&2&&(c(),l("nzOffsetTop",16),c(),l("nzAffix",!1),c(77),l("nzGutter",16),c(),l("nzXl",12)("nzSpan",24),c(),l("nzId","components-notification-demo-basic")("nzLink","components-notification-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/basic.md"),c(5),l("nzId","components-notification-demo-with-icon")("nzLink","components-notification-demo-with-icon")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/with-icon.md"),c(5),l("nzId","components-notification-demo-custom-icon")("nzLink","components-notification-demo-custom-icon")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/custom-icon.md"),c(8),l("nzId","components-notification-demo-custom-style")("nzLink","components-notification-demo-custom-style")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/custom-style.md"),c(5),l("nzId","components-notification-demo-template")("nzLink","components-notification-demo-template")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/template.md"),c(5),l("nzXl",12)("nzSpan",24),c(),l("nzId","components-notification-demo-duration")("nzLink","components-notification-demo-duration")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/duration.md"),c(7),l("nzId","components-notification-demo-with-btn")("nzLink","components-notification-demo-with-btn")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/with-btn.md"),c(5),l("nzId","components-notification-demo-placement")("nzLink","components-notification-demo-placement")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/placement.md"),c(23),l("nzId","components-notification-demo-update")("nzLink","components-notification-demo-update")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/notification/demo/update.md"))},dependencies:[st,H,lt,dt,ct,rt,mt,at,F,Q,U,$,K,X,q,Y,J,tt],encapsulation:2})};var ye=[{path:"en",component:zt},{path:"zh",component:ft}],Kn=ye;export{Kn as default};