-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-442SFST3.js
1 lines (1 loc) · 44.7 KB
/
chunk-442SFST3.js
1
import{a as z,b as E}from"./chunk-UHYXRUTY.js";import{a as oe,b as me}from"./chunk-JU572LED.js";import{d as x}from"./chunk-V6MBOLWS.js";import"./chunk-4F3F27BT.js";import"./chunk-7EEEUGJK.js";import{a as D,b as y,d as N}from"./chunk-HVFPNQ3B.js";import{a as _}from"./chunk-6AJOFIIP.js";import"./chunk-3LAVY7RV.js";import{a as h,g as I,h as H,j as M}from"./chunk-Q4ISATUO.js";import"./chunk-JXWNPNAC.js";import{Ca as b,Ea as ee,Fc as ie,Hc as A,Ic as k,Lc as w,ec as O,oc as te,sc as ne}from"./chunk-YWVGY2C2.js";import{Aa as f,Ac as T,Bc as F,Cc as B,Gc as q,Hc as e,Ib as s,Mc as U,Nc as J,Oc as Y,Pb as K,Wb as a,_c as $,c as X,ic as t,jc as n,kc as p,rb as c,rc as d,sb as S,za as u}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";var L=(()=>{class m{constructor(r){this.nzMessageService=r}cancel(){this.nzMessageService.info("click cancel")}confirm(){this.nzMessageService.info("click confirm")}beforeConfirm(){return new X(r=>{setTimeout(()=>{r.next(!0),r.complete()},3e3)})}static{this.\u0275fac=function(o){return new(o||m)(S(x))}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-async"]],decls:2,vars:1,consts:[["nz-button","","nzType","primary","nz-popconfirm","","nzPopconfirmTitle","Title",3,"nzOnConfirm","nzOnCancel","nzBeforeConfirm"]],template:function(o,i){o&1&&(t(0,"button",0),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(1," Open Popconfirm with async logic "),n()),o&2&&a("nzBeforeConfirm",i.beforeConfirm)},dependencies:[N,y,D,_,E,z],encapsulation:2})}}return m})();var R=(()=>{class m{constructor(r){this.nzMessageService=r}cancel(){this.nzMessageService.info("click cancel")}confirm(){this.nzMessageService.info("click confirm")}static{this.\u0275fac=function(o){return new(o||m)(S(x))}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-basic"]],decls:2,vars:0,consts:[["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","bottom",3,"nzOnConfirm","nzOnCancel"]],template:function(o,i){o&1&&(t(0,"a",0),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(1," Delete "),n())},dependencies:[E,z],encapsulation:2})}}return m})();function ue(m,Ce){m&1&&p(0,"nz-icon",2)}var G=(()=>{class m{static{this.\u0275fac=function(o){return new(o||m)}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-custom-icon"]],decls:4,vars:1,consts:[["iconTpl",""],["nz-popconfirm","","nzPopconfirmTitle","Are you sure?",3,"nzIcon"],["nzType","question-circle-o",2,"color","red"]],template:function(o,i){if(o&1&&(t(0,"a",1),e(1,"Delete"),n(),K(2,ue,1,0,"ng-template",null,0,$)),o&2){let l=q(3);a("nzIcon",l)}},dependencies:[ee,b,E,z],encapsulation:2})}}return m})();var Z=(()=>{class m{constructor(r){this.nzMessageService=r,this.switchValue=!1}cancel(){this.nzMessageService.info("click cancel")}confirm(){this.nzMessageService.info("click confirm")}static{this.\u0275fac=function(o){return new(o||m)(S(x))}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-dynamic-trigger"]],decls:6,vars:2,consts:[["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?",3,"nzOnConfirm","nzOnCancel","nzCondition"],[3,"ngModelChange","ngModel"]],template:function(o,i){o&1&&(t(0,"a",0),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(1," Delete a task "),n(),p(2,"br")(3,"br"),e(4," Whether directly execute: "),t(5,"nz-switch",1),Y("ngModelChange",function(g){return J(i.switchValue,g)||(i.switchValue=g),g}),n()),o&2&&(a("nzCondition",i.switchValue),c(5),U("ngModel",i.switchValue))},dependencies:[ie,te,ne,E,z,me,oe],encapsulation:2})}}return m})();var V=(()=>{class m{static{this.\u0275fac=function(o){return new(o||m)}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-hide-arrow"]],decls:2,vars:1,consts:[["nz-popconfirm","","nzPopconfirmTitle","Are you sure?",3,"nzPopconfirmShowArrow"]],template:function(o,i){o&1&&(t(0,"a",0),e(1,"Delete"),n()),o&2&&a("nzPopconfirmShowArrow",!1)},dependencies:[E,z],encapsulation:2})}}return m})();var j=(()=>{class m{constructor(r){this.nzMessageService=r}cancel(){this.nzMessageService.info("click cancel")}confirm(){this.nzMessageService.info("click confirm")}static{this.\u0275fac=function(o){return new(o||m)(S(x))}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-locale"]],decls:2,vars:0,consts:[["nz-popconfirm","","nzPopconfirmTitle","Are you sure?","nzOkText","ok","nzCancelText","cancel",3,"nzOnConfirm","nzOnCancel"]],template:function(o,i){o&1&&(t(0,"a",0),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(1," delete "),n())},dependencies:[E,z],encapsulation:2})}}return m})();var W=(()=>{class m{constructor(r){this.nzMessageService=r}cancel(){this.nzMessageService.info("click cancel")}confirm(){this.nzMessageService.info("click confirm")}static{this.\u0275fac=function(o){return new(o||m)(S(x))}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-placement"]],decls:28,vars:0,consts:[[2,"margin-left","60px"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","topLeft","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","top","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","topRight","nz-button","",3,"nzOnConfirm","nzOnCancel"],[2,"width","60px","float","left"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","leftTop","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","left","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","leftBottom","nz-button","",3,"nzOnConfirm","nzOnCancel"],[2,"width","60px","margin-left","252px"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","rightTop","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","right","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","rightBottom","nz-button","",3,"nzOnConfirm","nzOnCancel"],[2,"margin-left","60px","clear","both"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","bottomLeft","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","bottom","nz-button","",3,"nzOnConfirm","nzOnCancel"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure delete this task?","nzPopconfirmPlacement","bottomRight","nz-button","",3,"nzOnConfirm","nzOnCancel"]],template:function(o,i){o&1&&(t(0,"div",0)(1,"button",1),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(2," TL "),n(),t(3,"button",2),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(4," Top "),n(),t(5,"button",3),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(6," TR "),n()(),t(7,"div",4)(8,"button",5),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(9," LT "),n(),t(10,"button",6),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(11," Left "),n(),t(12,"button",7),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(13," LB "),n()(),t(14,"div",8)(15,"button",9),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(16," RT "),n(),t(17,"button",10),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(18," Right "),n(),t(19,"button",11),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(20," RB "),n()(),t(21,"div",12)(22,"button",13),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(23," BL "),n(),t(24,"button",14),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(25," Bottom "),n(),t(26,"button",15),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(27," BR "),n()())},dependencies:[N,y,D,_,E,z],styles:["button[_ngcontent-%COMP%]{margin-right:8px;margin-bottom:8px;width:70px;text-align:center;padding:0}"]})}}return m})();var Q=(()=>{class m{constructor(r){this.nzMessageService=r}cancel(){this.nzMessageService.info("click cancel")}confirm(){this.nzMessageService.info("click confirm")}beforeConfirm(){return new Promise(r=>{setTimeout(()=>{r(!0)},3e3)})}static{this.\u0275fac=function(o){return new(o||m)(S(x))}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm-promise"]],decls:2,vars:1,consts:[["nz-button","","nzType","primary","nz-popconfirm","","nzPopconfirmTitle","Title",3,"nzOnConfirm","nzOnCancel","nzBeforeConfirm"]],template:function(o,i){o&1&&(t(0,"button",0),d("nzOnConfirm",function(){return i.confirm()})("nzOnCancel",function(){return i.cancel()}),e(1," Open Popconfirm with Promise "),n()),o&2&&a("nzBeforeConfirm",i.beforeConfirm)},dependencies:[N,y,D,_,E,z],encapsulation:2})}}return m})();var de=(()=>{class m{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static{this.\u0275fac=function(o){return new(o||m)}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm"]],viewQuery:function(o,i){if(o&1&&T(h,5),o&2){let l;F(l=B())&&(i.codeBoxes=l)}},decls:551,vars:39,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-popconfirm-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-popconfirm-demo-locale","nzTitle","\u56FD\u9645\u5316"],["nzHref","#components-popconfirm-demo-placement","nzTitle","\u4F4D\u7F6E"],["nzHref","#components-popconfirm-demo-dynamic-trigger","nzTitle","\u6761\u4EF6\u89E6\u53D1"],["nzHref","#components-popconfirm-demo-custom-icon","nzTitle","\u81EA\u5B9A\u4E49 icon \u56FE\u6807"],["nzHref","#components-popconfirm-demo-hide-arrow","nzTitle","\u9690\u85CF\u7BAD\u5934"],["nzHref","#components-popconfirm-demo-async","nzTitle","\u5F02\u6B65\u5173\u95ED"],["nzHref","#components-popconfirm-demo-promise","nzTitle","\u57FA\u4E8E Promise \u7684\u5F02\u6B65\u5173\u95ED"],["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/popconfirm/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"],["nz-icon","","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-popconfirm-basic","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-basic <name>","nzComponentName","NzDemoPopconfirmBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u4F4D\u7F6E","nzSelector","nz-demo-popconfirm-placement","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-placement <name>","nzComponentName","NzDemoPopconfirmPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49 icon \u56FE\u6807","nzSelector","nz-demo-popconfirm-custom-icon","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-custom-icon <name>","nzComponentName","NzDemoPopconfirmCustomIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5F02\u6B65\u5173\u95ED","nzSelector","nz-demo-popconfirm-async","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-async <name>","nzComponentName","NzDemoPopconfirmAsyncComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u56FD\u9645\u5316","nzSelector","nz-demo-popconfirm-locale","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-locale <name>","nzComponentName","NzDemoPopconfirmLocaleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6761\u4EF6\u89E6\u53D1","nzSelector","nz-demo-popconfirm-dynamic-trigger","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-dynamic-trigger <name>","nzComponentName","NzDemoPopconfirmDynamicTriggerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u9690\u85CF\u7BAD\u5934","nzSelector","nz-demo-popconfirm-hide-arrow","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-hide-arrow <name>","nzComponentName","NzDemoPopconfirmHideArrowComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u57FA\u4E8E Promise \u7684\u5F02\u6B65\u5173\u95ED","nzSelector","nz-demo-popconfirm-promise","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-promise <name>","nzComponentName","NzDemoPopconfirmPromiseComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","[nz-popconfirm]"],[1,"api-type-label","directive"],["onclick","window.location.hash = '[nz-popconfirm]'",1,"anchor"],["href","/components/tooltip/zh#api"],["id","\u6CE8\u610F"],["onclick","window.location.hash = '\u6CE8\u610F'",1,"anchor"]],template:function(o,i){o&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),d("nzClick",function(g){return i.goLink(g)}),p(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),n()(),t(12,"section",11)(13,"h1"),e(14,"Popconfirm"),t(15,"span",12),e(16,"\u6C14\u6CE1\u786E\u8BA4\u6846"),n(),p(17,"span",13),t(18,"a",14),p(19,"nz-icon",15),n()(),t(20,"section",11),f(),t(21,"p"),e(22,"\u70B9\u51FB\u5143\u7D20\uFF0C\u5F39\u51FA\u6C14\u6CE1\u5F0F\u7684\u786E\u8BA4\u6846\u3002"),n(),t(23,"h2",16)(24,"span"),e(25,"\u4F55\u65F6\u4F7F\u7528"),n(),t(26,"a",17),e(27,"#"),n()(),t(28,"p"),e(29,"\u76EE\u6807\u5143\u7D20\u7684\u64CD\u4F5C\u9700\u8981\u7528\u6237\u8FDB\u4E00\u6B65\u7684\u786E\u8BA4\u65F6\uFF0C\u5728\u76EE\u6807\u5143\u7D20\u9644\u8FD1\u5F39\u51FA\u6D6E\u5C42\u63D0\u793A\uFF0C\u8BE2\u95EE\u7528\u6237\u3002"),n(),t(30,"p"),e(31,"\u548C "),t(32,"code"),e(33,"confirm"),n(),e(34," \u5F39\u51FA\u7684\u5168\u5C4F\u5C45\u4E2D\u6A21\u6001\u5BF9\u8BDD\u6846\u76F8\u6BD4\uFF0C\u4EA4\u4E92\u5F62\u5F0F\u66F4\u8F7B\u91CF\u3002"),n(),t(35,"pre",18)(36,"code")(37,"span",19),e(38,"import"),n(),e(39," "),t(40,"span",20),e(41,"{"),n(),e(42," NzPopconfirmModule "),t(43,"span",20),e(44,"}"),n(),e(45," "),t(46,"span",19),e(47,"from"),n(),e(48," "),t(49,"span",21),e(50,"'ng-zorro-antd/popconfirm'"),n(),t(51,"span",20),e(52,";"),n()()(),u(),n(),t(53,"h2")(54,"span"),e(55,"\u4EE3\u7801\u6F14\u793A"),n(),t(56,"span",22),d("click",function(){return i.expandAllCode()}),n()()(),t(57,"div",23)(58,"div",24)(59,"nz-code-box",25),p(60,"nz-demo-popconfirm-basic",26),t(61,"div",27),f(),t(62,"p"),e(63,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),n(),u(),n()(),t(64,"nz-code-box",28),p(65,"nz-demo-popconfirm-placement",26),t(66,"div",27),f(),t(67,"p"),e(68,"\u4F4D\u7F6E\u6709\u5341\u4E8C\u4E2A\u65B9\u5411\u3002"),n(),u(),n()(),t(69,"nz-code-box",29),p(70,"nz-demo-popconfirm-custom-icon",26),t(71,"div",27),f(),t(72,"p"),e(73,"\u4F7F\u7528 "),t(74,"code"),e(75,"nzIcon"),n(),e(76," \u81EA\u5B9A\u4E49\u63D0\u793A\u56FE\u6807\u3002"),n(),u(),n()(),t(77,"nz-code-box",30),p(78,"nz-demo-popconfirm-async",26),t(79,"div",27),f(),t(80,"p"),e(81,"\u70B9\u51FB\u786E\u5B9A\u540E\u5F02\u6B65\u5173\u95ED Popconfirm\uFF0C\u4F8B\u5982\u63D0\u4EA4\u8868\u5355\u3002"),n(),u(),n()()(),t(82,"div",24)(83,"nz-code-box",31),p(84,"nz-demo-popconfirm-locale",26),t(85,"div",27),f(),t(86,"p"),e(87,"\u4F7F\u7528 "),t(88,"code"),e(89,"okText"),n(),e(90," \u548C "),t(91,"code"),e(92,"cancelText"),n(),e(93," \u81EA\u5B9A\u4E49\u6309\u94AE\u6587\u5B57\u3002"),n(),u(),n()(),t(94,"nz-code-box",32),p(95,"nz-demo-popconfirm-dynamic-trigger",26),t(96,"div",27),f(),t(97,"p"),e(98,"\u53EF\u4EE5\u5224\u65AD\u662F\u5426\u9700\u8981\u5F39\u51FA\u3002"),n(),u(),n()(),t(99,"nz-code-box",33),p(100,"nz-demo-popconfirm-hide-arrow",26),t(101,"div",27),f(),t(102,"p"),e(103,"\u8BBE\u7F6E "),t(104,"code"),e(105,'[nzPopconfirmShowArrow]="false"'),n(),e(106," \u9690\u85CF\u7BAD\u5934\u3002"),n(),u(),n()(),t(107,"nz-code-box",34),p(108,"nz-demo-popconfirm-promise",26),t(109,"div",27),f(),t(110,"p"),e(111,"\u70B9\u51FB\u786E\u5B9A\u540E\u5F02\u6B65\u5173\u95ED Popconfirm\uFF0C\u4F8B\u5982\u63D0\u4EA4\u8868\u5355\u3002"),n(),u(),n()()()(),t(112,"section",35),f(),t(113,"h2",36)(114,"span"),e(115,"API"),n(),t(116,"a",37),e(117,"#"),n()(),t(118,"h3",38)(119,"span"),e(120,"[nz-popconfirm]"),n(),t(121,"label",39),e(122,"directive"),n(),t(123,"a",40),e(124,"#"),n()(),t(125,"table")(126,"thead")(127,"tr")(128,"th"),e(129,"\u53C2\u6570"),n(),t(130,"th"),e(131,"\u8BF4\u660E"),n(),t(132,"th"),e(133,"\u7C7B\u578B"),n(),t(134,"th"),e(135,"\u9ED8\u8BA4\u503C"),n()()(),t(136,"tbody")(137,"tr")(138,"td")(139,"code"),e(140,"[nzPopconfirmArrowPointAtCenter]"),n()(),t(141,"td"),e(142,"\u7BAD\u5934\u6307\u5411\u951A\u70B9\u7684\u4E2D\u5FC3"),n(),t(143,"td")(144,"code"),e(145,"boolean"),n()(),t(146,"td")(147,"code"),e(148,"false"),n()()(),t(149,"tr")(150,"td")(151,"code"),e(152,"[nzPopconfirmTitle]"),n()(),t(153,"td"),e(154,"\u786E\u8BA4\u6846\u7684\u63CF\u8FF0"),n(),t(155,"td")(156,"code"),e(157,"string | TemplateRef<void>"),n()(),t(158,"td"),e(159,"-"),n()(),t(160,"tr")(161,"td")(162,"code"),e(163,"[nzPopconfirmTitleContext]"),n()(),t(164,"td"),e(165,"\u786E\u8BA4\u6846\u63CF\u8FF0\u7684\u4E0A\u4E0B\u6587"),n(),t(166,"td")(167,"code"),e(168,"object"),n()(),t(169,"td"),e(170,"-"),n()(),t(171,"tr")(172,"td")(173,"code"),e(174,"[nzPopconfirmTrigger]"),n()(),t(175,"td"),e(176,"\u89E6\u53D1\u884C\u4E3A\uFF0C\u4E3A "),t(177,"code"),e(178,"null"),n(),e(179," \u65F6\u4E0D\u54CD\u5E94\u5149\u6807\u4E8B\u4EF6"),n(),t(180,"td")(181,"code"),e(182,"'click' | 'focus' | 'hover' | null"),n()(),t(183,"td")(184,"code"),e(185,"'click'"),n()()(),t(186,"tr")(187,"td")(188,"code"),e(189,"[nzPopconfirmPlacement]"),n()(),t(190,"td"),e(191,"\u6C14\u6CE1\u6846\u4F4D\u7F6E"),n(),t(192,"td")(193,"code"),e(194,"'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom' | Array<string>"),n()(),t(195,"td")(196,"code"),e(197,"'top'"),n()()(),t(198,"tr")(199,"td")(200,"code"),e(201,"[nzPopconfirmOrigin]"),n()(),t(202,"td"),e(203,"\u6C14\u6CE1\u6846\u5B9A\u4F4D\u5143\u7D20"),n(),t(204,"td")(205,"code"),e(206,"ElementRef"),n()(),t(207,"td"),e(208,"-"),n()(),t(209,"tr")(210,"td")(211,"code"),e(212,"[nzPopconfirmVisible]"),n()(),t(213,"td"),e(214,"\u663E\u793A\u9690\u85CF\u6C14\u6CE1\u6846"),n(),t(215,"td")(216,"code"),e(217,"boolean"),n()(),t(218,"td")(219,"code"),e(220,"false"),n()()(),t(221,"tr")(222,"td")(223,"code"),e(224,"[nzPopconfirmShowArrow]"),n()(),t(225,"td"),e(226,"\u6C14\u6CE1\u6846\u662F\u5426\u5305\u542B\u7BAD\u5934"),n(),t(227,"td")(228,"code"),e(229,"boolean"),n()(),t(230,"td")(231,"code"),e(232,"true"),n()()(),t(233,"tr")(234,"td")(235,"code"),e(236,"[nzPopconfirmPlacement]"),n()(),t(237,"td"),e(238,"\u786E\u8BA4\u6846\u4F4D\u7F6E"),n(),t(239,"td")(240,"code"),e(241,"'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom'"),n()(),t(242,"td")(243,"code"),e(244,"'top'"),n()()(),t(245,"tr")(246,"td")(247,"code"),e(248,"[nzPopconfirmOrigin]"),n()(),t(249,"td"),e(250,"\u786E\u8BA4\u6846\u5B9A\u4F4D\u5143\u7D20"),n(),t(251,"td")(252,"code"),e(253,"ElementRef"),n()(),t(254,"td"),e(255,"-"),n()(),t(256,"tr")(257,"td")(258,"code"),e(259,"[nzPopconfirmVisible]"),n()(),t(260,"td"),e(261,"\u663E\u793A\u9690\u85CF\u786E\u8BA4\u6846"),n(),t(262,"td")(263,"code"),e(264,"boolean"),n()(),t(265,"td")(266,"code"),e(267,"false"),n()()(),t(268,"tr")(269,"td")(270,"code"),e(271,"(nzPopconfirmVisibleChange)"),n()(),t(272,"td"),e(273,"\u663E\u793A\u9690\u85CF\u7684\u4E8B\u4EF6"),n(),t(274,"td")(275,"code"),e(276,"EventEmitter<boolean>"),n()(),t(277,"td"),e(278,"-"),n()(),t(279,"tr")(280,"td")(281,"code"),e(282,"[nzPopconfirmMouseEnterDelay]"),n()(),t(283,"td"),e(284,"\u9F20\u6807\u79FB\u5165\u540E\u5EF6\u65F6\u591A\u5C11\u624D\u663E\u793A\u786E\u8BA4\u6846\uFF0C\u5355\u4F4D\uFF1A\u79D2"),n(),t(285,"td")(286,"code"),e(287,"number"),n()(),t(288,"td")(289,"code"),e(290,"0.15"),n()()(),t(291,"tr")(292,"td")(293,"code"),e(294,"[nzPopconfirmMouseLeaveDelay]"),n()(),t(295,"td"),e(296,"\u9F20\u6807\u79FB\u51FA\u540E\u5EF6\u65F6\u591A\u5C11\u624D\u9690\u85CF\u786E\u8BA4\u6846\uFF0C\u5355\u4F4D\uFF1A\u79D2"),n(),t(297,"td")(298,"code"),e(299,"number"),n()(),t(300,"td")(301,"code"),e(302,"0.1"),n()()(),t(303,"tr")(304,"td")(305,"code"),e(306,"[nzPopconfirmOverlayClassName]"),n()(),t(307,"td"),e(308,"\u5361\u7247\u7C7B\u540D"),n(),t(309,"td")(310,"code"),e(311,"string"),n()(),t(312,"td"),e(313,"-"),n()(),t(314,"tr")(315,"td")(316,"code"),e(317,"[nzPopconfirmOverlayStyle]"),n()(),t(318,"td"),e(319,"\u5361\u7247\u6837\u5F0F"),n(),t(320,"td")(321,"code"),e(322,"object"),n()(),t(323,"td"),e(324,"-"),n()(),t(325,"tr")(326,"td")(327,"code"),e(328,"[nzPopconfirmBackdrop]"),n()(),t(329,"td"),e(330,"\u6D6E\u5C42\u662F\u5426\u5E94\u5E26\u6709\u80CC\u666F\u677F"),n(),t(331,"td")(332,"code"),e(333,"boolean"),n()(),t(334,"td")(335,"code"),e(336,"false"),n()()()()(),t(337,"table")(338,"thead")(339,"tr")(340,"th"),e(341,"\u53C2\u6570"),n(),t(342,"th"),e(343,"\u8BF4\u660E"),n(),t(344,"th"),e(345,"\u7C7B\u578B"),n(),t(346,"th"),e(347,"\u9ED8\u8BA4\u503C"),n(),t(348,"th"),e(349,"\u5168\u5C40\u914D\u7F6E"),n()()(),t(350,"tbody")(351,"tr")(352,"td")(353,"code"),e(354,"[nzCancelText]"),n()(),t(355,"td"),e(356,"\u53D6\u6D88\u6309\u94AE\u6587\u5B57"),n(),t(357,"td")(358,"code"),e(359,"string"),n()(),t(360,"td")(361,"code"),e(362,"'\u53D6\u6D88'"),n()(),t(363,"td"),e(364,"-"),n()(),t(365,"tr")(366,"td")(367,"code"),e(368,"[nzOkText]"),n()(),t(369,"td"),e(370,"\u786E\u8BA4\u6309\u94AE\u6587\u5B57"),n(),t(371,"td")(372,"code"),e(373,"string"),n()(),t(374,"td")(375,"code"),e(376,"'\u786E\u5B9A'"),n()(),t(377,"td"),e(378,"-"),n()(),t(379,"tr")(380,"td")(381,"code"),e(382,"[nzOkType]"),n()(),t(383,"td"),e(384,"\u786E\u8BA4\u6309\u94AE\u7C7B\u578B"),n(),t(385,"td")(386,"code"),e(387,"'primary' | 'ghost' | 'dashed' | 'default'"),n()(),t(388,"td")(389,"code"),e(390,"'primary'"),n()(),t(391,"td"),e(392,"-"),n()(),t(393,"tr")(394,"td")(395,"code"),e(396,"[nzOkDanger]"),n()(),t(397,"td"),e(398,"\u786E\u8BA4\u6309\u94AE\u662F\u5426\u4E3A\u5371\u9669\u6309\u94AE\u3002"),t(399,"i"),e(400,"\u4E0E "),t(401,"code"),e(402,"nz-button"),n(),e(403," \u7684 "),t(404,"code"),e(405,"nzDanger"),n(),e(406," \u503C\u4FDD\u6301\u4E00\u81F4"),n()(),t(407,"td")(408,"code"),e(409,"boolean"),n()(),t(410,"td")(411,"code"),e(412,"false"),n()(),t(413,"td"),e(414,"-"),n()(),t(415,"tr")(416,"td")(417,"code"),e(418,"[nzOkDisabled]"),n()(),t(419,"td"),e(420,"\u7981\u6B62\u4E0E\u786E\u8BA4\u6309\u94AE\u4EA4\u4E92\u3002"),t(421,"i"),e(422,"\u4E0E "),t(423,"code"),e(424,"nz-button"),n(),e(425," \u7684 "),t(426,"code"),e(427,"disabled"),n(),e(428," \u503C\u4FDD\u6301\u4E00\u81F4"),n()(),t(429,"td")(430,"code"),e(431,"boolean"),n()(),t(432,"td")(433,"code"),e(434,"false"),n()(),t(435,"td"),e(436,"-"),n()(),t(437,"tr")(438,"td")(439,"code"),e(440,"[nzCondition]"),n()(),t(441,"td"),e(442,"\u662F\u5426\u76F4\u63A5\u89E6\u53D1 "),t(443,"code"),e(444,"nzOnConfirm"),n(),e(445," \u800C\u4E0D\u5F39\u51FA\u6846"),n(),t(446,"td")(447,"code"),e(448,"boolean"),n()(),t(449,"td")(450,"code"),e(451,"false"),n()(),t(452,"td"),e(453,"-"),n()(),t(454,"tr")(455,"td")(456,"code"),e(457,"[nzIcon]"),n()(),t(458,"td"),e(459,"\u81EA\u5B9A\u4E49\u5F39\u51FA\u6846\u7684 icon"),n(),t(460,"td")(461,"code"),e(462,"string | TemplateRef<void>"),n()(),t(463,"td"),e(464,"-"),n(),t(465,"td"),e(466,"-"),n()(),t(467,"tr")(468,"td")(469,"code"),e(470,"[nzAutoFocus]"),n()(),t(471,"td"),e(472,"\u6309\u94AE\u7684\u81EA\u52A8\u805A\u7126"),n(),t(473,"td")(474,"code"),e(475,"null | 'ok' | 'cancel'"),n()(),t(476,"td")(477,"code"),e(478,"null"),n()(),t(479,"td"),e(480,"\u2705"),n()(),t(481,"tr")(482,"td")(483,"code"),e(484,"[nzBeforeConfirm]"),n()(),t(485,"td"),e(486,"\u786E\u8BA4\u64CD\u4F5C\u4E4B\u524D\u7684\u94A9\u5B50\uFF0C\u51B3\u5B9A\u662F\u5426\u7EE7\u7EED\u54CD\u5E94 "),t(487,"code"),e(488,"nzOnConfirm"),n(),e(489," \u56DE\u8C03\uFF0C\u652F\u6301\u5F02\u6B65\u9A8C\u8BC1\u3002"),n(),t(490,"td")(491,"code"),e(492,"(() => Observable<boolean> | Promise<boolean> | boolean) | null"),n()(),t(493,"td")(494,"code"),e(495,"null"),n()(),t(496,"td"),e(497,"-"),n()(),t(498,"tr")(499,"td")(500,"code"),e(501,"(nzOnCancel)"),n()(),t(502,"td"),e(503,"\u70B9\u51FB\u53D6\u6D88\u7684\u56DE\u8C03"),n(),t(504,"td")(505,"code"),e(506,"EventEmitter<void>"),n()(),t(507,"td"),e(508,"-"),n(),t(509,"td"),e(510,"-"),n()(),t(511,"tr")(512,"td")(513,"code"),e(514,"(nzOnConfirm)"),n()(),t(515,"td"),e(516,"\u70B9\u51FB\u786E\u8BA4\u7684\u56DE\u8C03"),n(),t(517,"td")(518,"code"),e(519,"EventEmitter<void>"),n()(),t(520,"td"),e(521,"-"),n(),t(522,"td"),e(523,"-"),n()()()(),t(524,"p"),e(525,"\u66F4\u591A\u5C5E\u6027\u8BF7\u53C2\u8003 "),t(526,"a",41),e(527,"Tooltip"),n(),e(528,"\u3002"),n(),t(529,"h2",42)(530,"span"),e(531,"\u6CE8\u610F"),n(),t(532,"a",43),e(533,"#"),n()(),t(534,"p"),e(535,"\u8BF7\u786E\u4FDD "),t(536,"code"),e(537,"[nz-popconfirm]"),n(),e(538," \u5143\u7D20\u80FD\u63A5\u53D7 "),t(539,"code"),e(540,"onMouseEnter"),n(),e(541,"\u3001"),t(542,"code"),e(543,"onMouseLeave"),n(),e(544,"\u3001"),t(545,"code"),e(546,"onFocus"),n(),e(547,"\u3001"),t(548,"code"),e(549,"onClick"),n(),e(550," \u4E8B\u4EF6\u3002"),n(),u(),n()()),o&2&&(c(),a("nzOffsetTop",16),c(),a("nzAffix",!1),c(55),a("nzGutter",16),c(),a("nzXl",12)("nzSpan",24),c(),a("nzId","components-popconfirm-demo-basic")("nzLink","components-popconfirm-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/basic.md"),c(5),a("nzId","components-popconfirm-demo-placement")("nzLink","components-popconfirm-demo-placement")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/placement.md"),c(5),a("nzId","components-popconfirm-demo-custom-icon")("nzLink","components-popconfirm-demo-custom-icon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/custom-icon.md"),c(8),a("nzId","components-popconfirm-demo-async")("nzLink","components-popconfirm-demo-async")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/async.md"),c(5),a("nzXl",12)("nzSpan",24),c(),a("nzId","components-popconfirm-demo-locale")("nzLink","components-popconfirm-demo-locale")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/locale.md"),c(11),a("nzId","components-popconfirm-demo-dynamic-trigger")("nzLink","components-popconfirm-demo-dynamic-trigger")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/dynamic-trigger.md"),c(5),a("nzId","components-popconfirm-demo-hide-arrow")("nzLink","components-popconfirm-demo-hide-arrow")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/hide-arrow.md"),c(8),a("nzId","components-popconfirm-demo-promise")("nzLink","components-popconfirm-demo-promise")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/promise.md"))},dependencies:[M,h,I,H,w,k,A,O,b,L,R,G,Z,V,j,W,Q],encapsulation:2})}}return m})();var pe=(()=>{class m{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static{this.\u0275fac=function(o){return new(o||m)}}static{this.\u0275cmp=s({type:m,selectors:[["nz-demo-popconfirm"]],viewQuery:function(o,i){if(o&1&&T(h,5),o&2){let l;F(l=B())&&(i.codeBoxes=l)}},decls:518,vars:39,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-popconfirm-demo-basic","nzTitle","Basic"],["nzHref","#components-popconfirm-demo-locale","nzTitle","Locale text"],["nzHref","#components-popconfirm-demo-placement","nzTitle","Placement"],["nzHref","#components-popconfirm-demo-dynamic-trigger","nzTitle","Conditional trigger"],["nzHref","#components-popconfirm-demo-custom-icon","nzTitle","Customize icon"],["nzHref","#components-popconfirm-demo-hide-arrow","nzTitle","Hide arrow"],["nzHref","#components-popconfirm-demo-async","nzTitle","Asynchronously close"],["nzHref","#components-popconfirm-demo-promise","nzTitle","Asynchronously close on Promise"],["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/popconfirm/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"],["nz-icon","","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-popconfirm-basic","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-basic <name>","nzComponentName","NzDemoPopconfirmBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Placement","nzSelector","nz-demo-popconfirm-placement","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-placement <name>","nzComponentName","NzDemoPopconfirmPlacementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Customize icon","nzSelector","nz-demo-popconfirm-custom-icon","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-custom-icon <name>","nzComponentName","NzDemoPopconfirmCustomIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Asynchronously close","nzSelector","nz-demo-popconfirm-async","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-async <name>","nzComponentName","NzDemoPopconfirmAsyncComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Locale text","nzSelector","nz-demo-popconfirm-locale","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-locale <name>","nzComponentName","NzDemoPopconfirmLocaleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Conditional trigger","nzSelector","nz-demo-popconfirm-dynamic-trigger","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-dynamic-trigger <name>","nzComponentName","NzDemoPopconfirmDynamicTriggerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Hide arrow","nzSelector","nz-demo-popconfirm-hide-arrow","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-hide-arrow <name>","nzComponentName","NzDemoPopconfirmHideArrowComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Asynchronously close on Promise","nzSelector","nz-demo-popconfirm-promise","nzGenerateCommand","ng g ng-zorro-antd:popconfirm-promise <name>","nzComponentName","NzDemoPopconfirmPromiseComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","[nz-popconfirm]"],[1,"api-type-label","directive"],["onclick","window.location.hash = '[nz-popconfirm]'",1,"anchor"],["href","/components/tooltip/en#api"],["id","note"],["onclick","window.location.hash = 'note'",1,"anchor"]],template:function(o,i){o&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),d("nzClick",function(g){return i.goLink(g)}),p(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),n()(),t(12,"section",11)(13,"h1"),e(14,"Popconfirm"),p(15,"span",12)(16,"span",13),t(17,"a",14),p(18,"nz-icon",15),n()(),t(19,"section",11),f(),t(20,"p"),e(21,"A simple and compact confirmation dialog of an action."),n(),t(22,"h2",16)(23,"span"),e(24,"When To Use"),n(),t(25,"a",17),e(26,"#"),n()(),t(27,"p"),e(28,"A simple and compact dialog used for asking for user confirmation."),n(),t(29,"p"),e(30,"The difference with the "),t(31,"code"),e(32,"confirm"),n(),e(33," modal dialog is that it's more lightweight than the static popped full-screen confirm modal."),n(),t(34,"pre",18)(35,"code")(36,"span",19),e(37,"import"),n(),e(38," "),t(39,"span",20),e(40,"{"),n(),e(41," NzPopconfirmModule "),t(42,"span",20),e(43,"}"),n(),e(44," "),t(45,"span",19),e(46,"from"),n(),e(47," "),t(48,"span",21),e(49,"'ng-zorro-antd/popconfirm'"),n(),t(50,"span",20),e(51,";"),n()()(),u(),n(),t(52,"h2")(53,"span"),e(54,"Examples"),n(),t(55,"span",22),d("click",function(){return i.expandAllCode()}),n()()(),t(56,"div",23)(57,"div",24)(58,"nz-code-box",25),p(59,"nz-demo-popconfirm-basic",26),t(60,"div",27),f(),t(61,"p"),e(62,"The basic example."),n(),u(),n()(),t(63,"nz-code-box",28),p(64,"nz-demo-popconfirm-placement",26),t(65,"div",27),f(),t(66,"p"),e(67,"There are 12 placement options available."),n(),u(),n()(),t(68,"nz-code-box",29),p(69,"nz-demo-popconfirm-custom-icon",26),t(70,"div",27),f(),t(71,"p"),e(72,"Set "),t(73,"code"),e(74,"nzIcon"),n(),e(75," to customize the icon."),n(),u(),n()(),t(76,"nz-code-box",30),p(77,"nz-demo-popconfirm-async",26),t(78,"div",27),f(),t(79,"p"),e(80,"Asynchronously close a popconfirm when a the OK button is pressed. For example, you can use this pattern when you submit a form."),n(),u(),n()()(),t(81,"div",24)(82,"nz-code-box",31),p(83,"nz-demo-popconfirm-locale",26),t(84,"div",27),f(),t(85,"p"),e(86,"Set "),t(87,"code"),e(88,"okText"),n(),e(89," and "),t(90,"code"),e(91,"cancelText"),n(),e(92," props to customise the button's labels."),n(),u(),n()(),t(93,"nz-code-box",32),p(94,"nz-demo-popconfirm-dynamic-trigger",26),t(95,"div",27),f(),t(96,"p"),e(97,"Make it pop up under some conditions."),n(),u(),n()(),t(98,"nz-code-box",33),p(99,"nz-demo-popconfirm-hide-arrow",26),t(100,"div",27),f(),t(101,"p"),e(102,"Set "),t(103,"code"),e(104,'[nzPopconfirmShowArrow]="false"'),n(),e(105," to hide arrow."),n(),u(),n()(),t(106,"nz-code-box",34),p(107,"nz-demo-popconfirm-promise",26),t(108,"div",27),f(),t(109,"p"),e(110,"Asynchronously close a popconfirm when the OK button is pressed. For example, you can use this pattern when you submit a form."),n(),u(),n()()()(),t(111,"section",35),f(),t(112,"h2",36)(113,"span"),e(114,"API"),n(),t(115,"a",37),e(116,"#"),n()(),t(117,"h3",38)(118,"span"),e(119,"[nz-popconfirm]"),n(),t(120,"label",39),e(121,"directive"),n(),t(122,"a",40),e(123,"#"),n()(),t(124,"table")(125,"thead")(126,"tr")(127,"th"),e(128,"Param"),n(),t(129,"th"),e(130,"Description"),n(),t(131,"th"),e(132,"Type"),n(),t(133,"th"),e(134,"Default value"),n()()(),t(135,"tbody")(136,"tr")(137,"td")(138,"code"),e(139,"[nzPopconfirmArrowPointAtCenter]"),n()(),t(140,"td"),e(141,"Arrow point at center of the origin"),n(),t(142,"td")(143,"code"),e(144,"boolean"),n()(),t(145,"td")(146,"code"),e(147,"false"),n()()(),t(148,"tr")(149,"td")(150,"code"),e(151,"[nzPopconfirmTitle]"),n()(),t(152,"td"),e(153,"Title of the confirmation box"),n(),t(154,"td")(155,"code"),e(156,"string | TemplateRef<void>"),n()(),t(157,"td"),e(158,"-"),n()(),t(159,"tr")(160,"td")(161,"code"),e(162,"[nzPopconfirmTitleContext]"),n()(),t(163,"td"),e(164,"The context of confirmation box title"),n(),t(165,"td")(166,"code"),e(167,"object"),n()(),t(168,"td"),e(169,"-"),n()(),t(170,"tr")(171,"td")(172,"code"),e(173,"[nzPopconfirmTrigger]"),n()(),t(174,"td"),e(175,"Popconfirm trigger mode. If set to "),t(176,"code"),e(177,"null"),n(),e(178," it would not be triggered"),n(),t(179,"td")(180,"code"),e(181,"'click' | 'focus' | 'hover' | null"),n()(),t(182,"td")(183,"code"),e(184,"'click'"),n()()(),t(185,"tr")(186,"td")(187,"code"),e(188,"[nzPopconfirmPlacement]"),n()(),t(189,"td"),e(190,"The position of the popconfirm relative to the target"),n(),t(191,"td")(192,"code"),e(193,"'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom' | Array<string>"),n()(),t(194,"td")(195,"code"),e(196,"'top'"),n()()(),t(197,"tr")(198,"td")(199,"code"),e(200,"[nzPopconfirmOrigin]"),n()(),t(201,"td"),e(202,"Origin of the popconfirm"),n(),t(203,"td")(204,"code"),e(205,"ElementRef"),n()(),t(206,"td"),e(207,"-"),n()(),t(208,"tr")(209,"td")(210,"code"),e(211,"[nzPopconfirmVisible]"),n()(),t(212,"td"),e(213,"Show or hide popconfirm"),n(),t(214,"td")(215,"code"),e(216,"boolean"),n()(),t(217,"td")(218,"code"),e(219,"false"),n()()(),t(220,"tr")(221,"td")(222,"code"),e(223,"[nzPopconfirmShowArrow]"),n()(),t(224,"td"),e(225,"Whether popconfirm has arrow"),n(),t(226,"td")(227,"code"),e(228,"boolean"),n()(),t(229,"td")(230,"code"),e(231,"true"),n()()(),t(232,"tr")(233,"td")(234,"code"),e(235,"(nzPopconfirmVisibleChange)"),n()(),t(236,"td"),e(237,"Callback of hide or show"),n(),t(238,"td")(239,"code"),e(240,"EventEmitter<boolean>"),n()(),t(241,"td"),e(242,"-"),n()(),t(243,"tr")(244,"td")(245,"code"),e(246,"[nzPopconfirmMouseEnterDelay]"),n()(),t(247,"td"),e(248,"Delay in seconds, before popconfirm is shown on mouse enter"),n(),t(249,"td")(250,"code"),e(251,"number"),n()(),t(252,"td")(253,"code"),e(254,"0.15"),n()()(),t(255,"tr")(256,"td")(257,"code"),e(258,"[nzPopconfirmMouseLeaveDelay]"),n()(),t(259,"td"),e(260,"Delay in seconds, before popconfirm is hidden on mouse leave"),n(),t(261,"td")(262,"code"),e(263,"number"),n()(),t(264,"td")(265,"code"),e(266,"0.1"),n()()(),t(267,"tr")(268,"td")(269,"code"),e(270,"[nzPopconfirmOverlayClassName]"),n()(),t(271,"td"),e(272,"Class name of the popconfirm card"),n(),t(273,"td")(274,"code"),e(275,"string"),n()(),t(276,"td"),e(277,"-"),n()(),t(278,"tr")(279,"td")(280,"code"),e(281,"[nzPopconfirmOverlayStyle]"),n()(),t(282,"td"),e(283,"Style of the popconfirm card"),n(),t(284,"td")(285,"code"),e(286,"object"),n()(),t(287,"td"),e(288,"-"),n()(),t(289,"tr")(290,"td")(291,"code"),e(292,"[nzPopconfirmBackdrop]"),n()(),t(293,"td"),e(294,"whether or not the overlay should attach a backdrop"),n(),t(295,"td")(296,"code"),e(297,"boolean"),n()(),t(298,"td")(299,"code"),e(300,"false"),n()()()()(),t(301,"table")(302,"thead")(303,"tr")(304,"th"),e(305,"Param"),n(),t(306,"th"),e(307,"Description"),n(),t(308,"th"),e(309,"Type"),n(),t(310,"th"),e(311,"Default value"),n(),t(312,"th"),e(313,"Global Config"),n()()(),t(314,"tbody")(315,"tr")(316,"td")(317,"code"),e(318,"[nzCancelText]"),n()(),t(319,"td"),e(320,"Text of the Cancel button"),n(),t(321,"td")(322,"code"),e(323,"string"),n()(),t(324,"td")(325,"code"),e(326,"'Cancel'"),n()(),t(327,"td"),e(328,"-"),n()(),t(329,"tr")(330,"td")(331,"code"),e(332,"[nzOkText]"),n()(),t(333,"td"),e(334,"Text of the Confirm button"),n(),t(335,"td")(336,"code"),e(337,"string"),n()(),t(338,"td")(339,"code"),e(340,"'Confirm'"),n()(),t(341,"td"),e(342,"-"),n()(),t(343,"tr")(344,"td")(345,"code"),e(346,"[nzOkType]"),n()(),t(347,"td"),e(348,"Button "),t(349,"code"),e(350,"type"),n(),e(351," of the Confirm button"),n(),t(352,"td")(353,"code"),e(354,"'primary' | 'ghost' | 'dashed' | 'danger' | 'default'"),n()(),t(355,"td")(356,"code"),e(357,"'primary'"),n()(),t(358,"td"),e(359,"-"),n()(),t(360,"tr")(361,"td")(362,"code"),e(363,"[nzOkDanger]"),n()(),t(364,"td"),e(365,"Danger status of the OK button. "),t(366,"i"),e(367,"Consistent with the "),t(368,"code"),e(369,"nzDanger"),n(),e(370," of the "),t(371,"code"),e(372,"nz-button"),n(),e(373,"."),n()(),t(374,"td")(375,"code"),e(376,"boolean"),n()(),t(377,"td")(378,"code"),e(379,"false"),n()(),t(380,"td"),e(381,"-"),n()(),t(382,"tr")(383,"td")(384,"code"),e(385,"[nzOkDisabled]"),n()(),t(386,"td"),e(387,"prevents a user from interacting with the OK button. "),t(388,"i"),e(389,"Consistent with the "),t(390,"code"),e(391,"disabled"),n(),e(392," of the "),t(393,"code"),e(394,"nz-button"),n(),e(395,"."),n()(),t(396,"td")(397,"code"),e(398,"boolean"),n()(),t(399,"td")(400,"code"),e(401,"false"),n()(),t(402,"td"),e(403,"-"),n()(),t(404,"tr")(405,"td")(406,"code"),e(407,"[nzCondition]"),n()(),t(408,"td"),e(409,"Whether to directly emit "),t(410,"code"),e(411,"onConfirm"),n(),e(412," without showing Popconfirm"),n(),t(413,"td")(414,"code"),e(415,"boolean"),n()(),t(416,"td")(417,"code"),e(418,"false"),n()(),t(419,"td"),e(420,"-"),n()(),t(421,"tr")(422,"td")(423,"code"),e(424,"[nzIcon]"),n()(),t(425,"td"),e(426,"Customize icon of confirmation"),n(),t(427,"td")(428,"code"),e(429,"string | TemplateRef<void>"),n()(),t(430,"td"),e(431,"-"),n(),t(432,"td"),e(433,"-"),n()(),t(434,"tr")(435,"td")(436,"code"),e(437,"[nzAutoFocus]"),n()(),t(438,"td"),e(439,"Autofocus a button"),n(),t(440,"td")(441,"code"),e(442,"null | 'ok' | 'cancel'"),n()(),t(443,"td")(444,"code"),e(445,"null"),n()(),t(446,"td"),e(447,"\u2705"),n()(),t(448,"tr")(449,"td")(450,"code"),e(451,"[nzBeforeConfirm]"),n()(),t(452,"td"),e(453,"The hook before the confirmation operation, decides whether to continue responding to the "),t(454,"code"),e(455,"nzOnConfirm"),n(),e(456," callback, supports asynchronous verification."),n(),t(457,"td")(458,"code"),e(459,"(() => Observable<boolean> | Promise<boolean> | boolean) | null"),n()(),t(460,"td")(461,"code"),e(462,"null"),n()(),t(463,"td"),e(464,"-"),n()(),t(465,"tr")(466,"td")(467,"code"),e(468,"(nzOnCancel)"),n()(),t(469,"td"),e(470,"Callback of cancel"),n(),t(471,"td")(472,"code"),e(473,"EventEmitter<void>"),n()(),t(474,"td"),e(475,"-"),n(),t(476,"td"),e(477,"-"),n()(),t(478,"tr")(479,"td")(480,"code"),e(481,"(nzOnConfirm)"),n()(),t(482,"td"),e(483,"Callback of confirmation"),n(),t(484,"td")(485,"code"),e(486,"EventEmitter<void>"),n()(),t(487,"td"),e(488,"-"),n(),t(489,"td"),e(490,"-"),n()()()(),t(491,"p"),e(492,"Consult "),t(493,"a",41),e(494,"Tooltip's documentation"),n(),e(495," to find more APIs."),n(),t(496,"h2",42)(497,"span"),e(498,"Note"),n(),t(499,"a",43),e(500,"#"),n()(),t(501,"p"),e(502,"Please ensure that the node of "),t(503,"code"),e(504,"[nz-popconfirm]"),n(),e(505," accepts "),t(506,"code"),e(507,"onMouseEnter"),n(),e(508,", "),t(509,"code"),e(510,"onMouseLeave"),n(),e(511,", "),t(512,"code"),e(513,"onFocus"),n(),e(514,", "),t(515,"code"),e(516,"onClick"),n(),e(517," events."),n(),u(),n()()),o&2&&(c(),a("nzOffsetTop",16),c(),a("nzAffix",!1),c(54),a("nzGutter",16),c(),a("nzXl",12)("nzSpan",24),c(),a("nzId","components-popconfirm-demo-basic")("nzLink","components-popconfirm-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/basic.md"),c(5),a("nzId","components-popconfirm-demo-placement")("nzLink","components-popconfirm-demo-placement")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/placement.md"),c(5),a("nzId","components-popconfirm-demo-custom-icon")("nzLink","components-popconfirm-demo-custom-icon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/custom-icon.md"),c(8),a("nzId","components-popconfirm-demo-async")("nzLink","components-popconfirm-demo-async")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/async.md"),c(5),a("nzXl",12)("nzSpan",24),c(),a("nzId","components-popconfirm-demo-locale")("nzLink","components-popconfirm-demo-locale")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/locale.md"),c(11),a("nzId","components-popconfirm-demo-dynamic-trigger")("nzLink","components-popconfirm-demo-dynamic-trigger")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/dynamic-trigger.md"),c(5),a("nzId","components-popconfirm-demo-hide-arrow")("nzLink","components-popconfirm-demo-hide-arrow")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/hide-arrow.md"),c(8),a("nzId","components-popconfirm-demo-promise")("nzLink","components-popconfirm-demo-promise")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/popconfirm/demo/promise.md"))},dependencies:[M,h,I,H,w,k,A,O,b,L,R,G,Z,V,j,W,Q],encapsulation:2})}}return m})();var xe=[{path:"en",component:pe},{path:"zh",component:de}],zt=xe;export{zt as default};