-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathchunk-22PZ6234.js
More file actions
2 lines (2 loc) · 27.2 KB
/
Copy pathchunk-22PZ6234.js
File metadata and controls
2 lines (2 loc) · 27.2 KB
1
2
import{a as $e,b as Ue}from"./chunk-35LMUYGU.js";import{b as U,d as J}from"./chunk-FIWNVCN7.js";import{a as Je,b as Ke,c as Xe,d as Ye,e as et}from"./chunk-HHPRW5WO.js";import{b as je,c as We}from"./chunk-RO2242NO.js";import{a as Qe,b as qe}from"./chunk-IP35IYT6.js";import{h as v,n as q,o as j,t as W,u as $}from"./chunk-AOUDHCRR.js";import"./chunk-JCULKFDR.js";import"./chunk-LXJZRUJT.js";import{$c as Oe,Cb as b,Eb as oe,Ec as we,Ic as Z,Jc as Be,Mb as ye,Mc as Pe,Nb as Fe,Nc as Ae,Pb as Ie,Qb as G,Qc as Me,Rb as N,Sb as D,Sc as Ve,V as Te,Wd as Q,Zc as Re,_c as He,eb as O,fd as Ge,hc as Le,i as De,kd as Ze,wb as ne,xb as ie}from"./chunk-DJWYU7NT.js";import{$b as de,Ac as V,Da as ce,Eb as F,Ec as ze,Fc as he,Gc as Ce,Jc as n,Kc as C,Lc as R,Oc as xe,Pc as fe,Qc as Ee,Rc as ke,Sc as ge,Tc as I,Wb as g,Yb as _,ac as se,bc as a,cc as e,cd as _e,dc as t,ec as d,ed as Se,ha as me,hd as ve,ic as B,jc as P,la as w,lc as S,mb as c,md as be,od as Ne,qa as E,ra as k,rc as u,rd as H,s as re,sa as x,sd as z,ta as f,uc as s,vc as pe,wc as ue,yb as h,yc as A,zb as ae,zc as M}from"./chunk-ZH3TAB5J.js";import"./chunk-H4BOUERG.js";var mt=["*"],ct=(o,r)=>r.key||r.description;function at(o,r){if(o&1){let i=S();e(0,"div",1),d(1,"nz-icon",5),e(2,"h3",6),n(3),t(),e(4,"button",7),u("click",function(){x(i);let m=s(2);return f(m.closePopover.emit(!1))}),n(5),t()()}if(o&2){s(2);let i=I(0);c(3),C(i.checkListFinish),c(),he("margin",24,"px"),c(),R(" ",i.checkListClose," ")}}function dt(o,r){if(o&1&&(B(0),n(1),P()),o&2){let i=s(4);c(),C(i.title())}}function st(o,r){if(o&1&&F(0,dt,2,1,"ng-container",13),o&2){let i=s(3);a("nzStringTemplateOutlet",i.title())}}function pt(o,r){if(o&1&&n(0),o&2){s(3);let i=I(0);R(" ",i.checkList," ")}}function ut(o,r){if(o&1&&(e(0,"div",12)(1,"div",14),d(2,"nz-progress",15),_e(3,"number"),t()()),o&2){let i=s(3);c(2),a("nzPercent",Se(3,1,i.progressPercent(),"1.0-0"))}}function zt(o,r){if(o&1){let i=S();e(0,"div",8)(1,"div",9),g(2,st,1,1,"ng-container")(3,pt,1,1),t(),e(4,"div",10)(5,"nz-icon",11),u("click",function(){x(i);let m=s(2);return f(m.closePopover.emit(!1))}),t()()(),g(6,ut,4,4,"div",12)}if(o&2){let i=s(2);c(2),_(i.title()?2:3),c(4),_(i.progress()?6:-1)}}function ht(o,r){o&1&&d(0,"nz-icon",19)}function Ct(o,r){if(o&1&&(e(0,"div",20),n(1),t()),o&2){let i=s().$index;c(),C(i+1)}}function xt(o,r){if(o&1){let i=S();e(0,"nz-icon",23),u("click",function(){x(i);let m=s().$implicit;return f(m.onClick())}),t()}}function ft(o,r){if(o&1&&(e(0,"div",16)(1,"div",17)(2,"div",18),g(3,ht,1,0,"nz-icon",19)(4,Ct,2,1,"div",20),t(),e(5,"div",21),n(6),t()(),g(7,xt,1,0,"nz-icon",22),t()),o&2){let i=r.$implicit,l=r.$index,m=s(2),p=m.index()===l+1,te=m.index()>l+1;Ce("ant-check-list-highlight",p)("ant-check-list-checked",te),c(3),_(te?3:4),c(3),C(i.description),c(),_(p&&i.onClick?7:-1)}}function Et(o,r){if(o&1&&(B(0),n(1),P()),o&2){let i=s(3);c(),C(i.footer())}}function kt(o,r){if(o&1&&F(0,Et,2,1,"ng-container",13),o&2){let i=s(2);a("nzStringTemplateOutlet",i.footer())}}function gt(o,r){if(o&1&&n(0),o&2){s(2);let i=I(0);R(" ",i.checkListFooter," ")}}function _t(o,r){if(o&1){let i=S();g(0,at,6,4,"div",1)(1,zt,7,2),e(2,"div",2),de(3,ft,8,7,"div",3,ct),t(),e(5,"div",4),u("click",function(){x(i);let m=s();return f(m.visible.set(!1))}),g(6,kt,1,1,"ng-container")(7,gt,1,1),t()}if(o&2){let i=s();_(i.progressPercent()===100?0:1),c(3),se(i.items()),c(3),_(i.footer()?6:7)}}function St(o,r){if(o&1){let i=S();e(0,"div",0)(1,"div",24),n(2),t(),e(3,"div",25)(4,"button",7),u("click",function(){x(i);let m=s();return m.visible.set(!1),f(m.hide.emit(m.checked))}),n(5),t(),e(6,"button",26),u("click",function(){x(i);let m=s();return f(m.visible.set(!0))}),n(7),t()(),e(8,"div",27)(9,"label",28),Ee("ngModelChange",function(m){x(i);let p=s();return fe(p.checked,m)||(p.checked=m),f(m)}),n(10),t()()()}if(o&2){let i=s(),l=I(0);c(2),C(l.checkListCheck),c(3),C(l.ok),c(2),C(l.cancel),c(2),xe("ngModel",i.checked),c(),C(l.checkListCheckOther)}}function vt(o,r){if(o&1&&(B(0),n(1),P()),o&2){let i=s(2);c(),C(i.nzTriggerRender())}}function bt(o,r){if(o&1&&F(0,vt,2,1,"ng-container",2),o&2){let i=s();a("nzStringTemplateOutlet",i.nzTriggerRender())}}function Nt(o,r){if(o&1&&(d(0,"nz-icon",3),e(1,"div",4),n(2),t()),o&2){let i=s();c(2),C(i.locale().checkList)}}function Dt(o,r){if(o&1){let i=S();e(0,"nz-check-list-content",5),u("closePopover",function(m){x(i);let p=s();return f(p.visible.set(m))})("hide",function(m){x(i);let p=s();return p.visible.set(m),f(p.nzHide.emit(m))}),t()}if(o&2){let i=s();a("locale",i.locale())("items",i.nzItems())("index",i.nzIndex())("title",i.nzTitle())("progress",i.nzProgress())("footer",i.nzFooter())}}var Tt=(()=>{class o{static \u0275fac=function(l){return new(l||o)};static \u0275cmp=h({type:o,selectors:[["nz-check-list-button"]],hostAttrs:[1,"ant-btn","ant-btn-primary","ant-check-list-button"],ngContentSelectors:mt,decls:1,vars:0,template:function(l,m){l&1&&(pe(),ue(0))},encapsulation:2,changeDetection:0})}return o})(),yt=(()=>{class o{locale=z.required();items=z([]);index=z(0);progress=z(!0);title=z(null);footer=z(null);closePopover=H();hide=H();checked=!1;visible=ce(!0);progressPercent=be(()=>Math.min(Math.max(this.index()-1,0),this.items().length)/this.items().length*100);static \u0275fac=function(l){return new(l||o)};static \u0275cmp=h({type:o,selectors:[["nz-check-list-content"]],hostAttrs:[1,"ant-check-list-content"],inputs:{locale:[1,"locale"],items:[1,"items"],index:[1,"index"],progress:[1,"progress"],title:[1,"title"],footer:[1,"footer"]},outputs:{closePopover:"closePopover",hide:"hide"},decls:3,vars:2,consts:[[1,"ant-check-list-close-check"],[1,"ant-check-list-header-finish"],[1,"ant-check-list-steps-content"],[1,"ant-check-list-steps",3,"ant-check-list-highlight","ant-check-list-checked"],[1,"ant-check-list-footer",3,"click"],["nzType","check-circle","nzTheme","outline",1,"ant-check-list-header-finish-icon"],[1,"ant-check-list-header-finish-title"],["nz-button","","nzType","primary",3,"click"],[1,"ant-check-list-header"],[1,"ant-check-list-header-title"],[1,"ant-check-list-header-extra"],["nzType","down","nzTheme","outline",3,"click"],[1,"ant-check-list-progressBar"],[4,"nzStringTemplateOutlet"],[1,"ant-check-list-progressBar-progress"],[3,"nzPercent"],[1,"ant-check-list-steps"],[1,"ant-check-list-steps-item"],[1,"ant-check-list-steps-item-circle"],["nzType","check","nzTheme","outline",1,"ant-check-list-steps-checkoutlined"],[1,"ant-check-list-steps-number"],[1,"ant-check-list-steps-item-description"],["nzType","arrow-right","nzTheme","outline",1,"ant-check-list-steps-item-arrows"],["nzType","arrow-right","nzTheme","outline",1,"ant-check-list-steps-item-arrows",3,"click"],[1,"ant-check-list-close-check-title"],[1,"ant-check-list-close-check-action"],["nz-button","",3,"click"],[1,"ant-check-list-close-check-other"],["nz-checkbox","",3,"ngModelChange","ngModel"]],template:function(l,m){l&1&&(ke(0),g(1,_t,8,2)(2,St,11,5,"div",0)),l&2&&(ge(m.locale()),c(),_(m.visible()?1:2))},dependencies:[oe,b,Ue,$e,ie,ne,J,U,G,Ie,ye,Fe,He,Z,Pe,De],encapsulation:2,changeDetection:0})}return o})(),L=(()=>{class o{nzItems=z([]);nzVisible=z(!1);nzIndex=z(1);nzProgress=z(!0);nzTriggerRender=z(null);nzTitle=z(null);nzFooter=z(null);nzHide=H();visible=Ne(this.nzVisible);i18n=w(Le);locale=Te(this.i18n.localeChange.pipe(re(()=>this.i18n.getLocaleData("CheckList"))),{requireSync:!0});static \u0275fac=function(l){return new(l||o)};static \u0275cmp=h({type:o,selectors:[["nz-check-list"]],hostAttrs:[1,"ant-check-list"],inputs:{nzItems:[1,"nzItems"],nzVisible:[1,"nzVisible"],nzIndex:[1,"nzIndex"],nzProgress:[1,"nzProgress"],nzTriggerRender:[1,"nzTriggerRender"],nzTitle:[1,"nzTitle"],nzFooter:[1,"nzFooter"]},outputs:{nzHide:"nzHide"},decls:5,vars:4,consts:[["checklistTemplate",""],["nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","topRight",3,"nzPopoverVisibleChange","nzPopoverContent","nzPopoverOverlayClickable","nzPopoverVisible"],[4,"nzStringTemplateOutlet"],["nzType","check-circle","nzTheme","outline",1,"ant-check-list-icon"],[1,"ant-check-list-description"],[3,"closePopover","hide","locale","items","index","title","progress","footer"]],template:function(l,m){if(l&1){let p=S();e(0,"nz-check-list-button",1),u("nzPopoverVisibleChange",function(ot){return x(p),f(m.visible.set(ot))}),g(1,bt,1,1,"ng-container")(2,Nt,3,1),t(),F(3,Dt,1,6,"ng-template",null,0,ve)}if(l&2){let p=ze(4);a("nzPopoverContent",p)("nzPopoverOverlayClickable",!1)("nzPopoverVisible",m.visible()),c(),_(m.nzTriggerRender()?1:2)}},dependencies:[qe,Qe,oe,b,ie,ne,Tt,yt],encapsulation:2,changeDetection:0})}return o})(),X=(()=>{class o{static \u0275fac=function(l){return new(l||o)};static \u0275mod=ae({type:o});static \u0275inj=me({imports:[L]})}return o})();var T=class o{index=1;nzItems=[{description:"step 1",onClick:()=>this.index++},{description:"step 2",onClick:()=>this.index++},{description:"step 3",onClick:()=>this.index++},{description:"step 4",onClick:()=>this.index++}];static \u0275fac=function(i){return new(i||o)};static \u0275cmp=h({type:o,selectors:[["nz-demo-check-list-basic"]],decls:1,vars:2,consts:[[3,"nzItems","nzIndex"]],template:function(i,l){i&1&&d(0,"nz-check-list",0),i&2&&a("nzItems",l.nzItems)("nzIndex",l.index)},dependencies:[X,L],encapsulation:2})};var y=class o{fb=w(Re);nzItems=[{description:"step 1",onClick:()=>console.log("step 1")},{description:"Step 2",onClick:()=>console.log("step 1")},{description:"Step 3",onClick:()=>console.log("step 3")},{description:"Step 4",onClick:()=>console.log("step 4")}];options=this.nzItems.map((r,i)=>i).concat(this.nzItems.length+1);form=this.fb.group({nzProgress:!0,nzVisible:!0,nzIndex:0,nzTriggerRender:"Open List",nzTitle:"Customize task lists",nzFooter:"Custom Footer Name"});handleIndexChange(r){this.form.controls.nzIndex.setValue(Number(r))}hideCancel(r){console.log(r),this.form.controls.nzVisible.setValue(!1)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=h({type:o,selectors:[["nz-demo-check-list-custom"]],decls:32,vars:9,consts:[["nz-form","","nzLayout","vertical",3,"formGroup"],["nz-checkbox","","formControlName","nzVisible"],["nz-checkbox","","formControlName","nzProgress"],[3,"nzValueChange","nzOptions"],["nz-input","","formControlName","nzTriggerRender"],["nz-input","","formControlName","nzTitle"],["nz-input","","formControlName","nzFooter"],[3,"nzHide","nzItems","nzVisible","nzIndex","nzProgress","nzTriggerRender","nzTitle","nzFooter"]],template:function(i,l){i&1&&(e(0,"form",0)(1,"nz-form-item")(2,"nz-form-label"),n(3,"Visible"),t(),e(4,"nz-form-control"),d(5,"label",1),t()(),e(6,"nz-form-item")(7,"nz-form-label"),n(8,"Show Progress"),t(),e(9,"nz-form-control"),d(10,"label",2),t()(),e(11,"nz-form-item")(12,"nz-form-label"),n(13,"Index"),t(),e(14,"nz-form-control")(15,"nz-segmented",3),u("nzValueChange",function(p){return l.handleIndexChange(p)}),t()()(),e(16,"nz-form-item")(17,"nz-form-label"),n(18,"Trigger Render"),t(),e(19,"nz-form-control"),d(20,"input",4),t()(),e(21,"nz-form-item")(22,"nz-form-label"),n(23,"Title"),t(),e(24,"nz-form-control"),d(25,"input",5),t()(),e(26,"nz-form-item")(27,"nz-form-label"),n(28,"Footer"),t(),e(29,"nz-form-control"),d(30,"input",6),t()()(),e(31,"nz-check-list",7),u("nzHide",function(p){return l.hideCancel(p)}),t()),i&2&&(a("formGroup",l.form),c(15),a("nzOptions",l.options),c(16),a("nzItems",l.nzItems)("nzVisible",l.form.controls.nzVisible.value)("nzIndex",l.form.controls.nzIndex.value||0)("nzProgress",l.form.controls.nzProgress.value)("nzTriggerRender",l.form.controls.nzTriggerRender.value)("nzTitle",l.form.controls.nzTitle.value)("nzFooter",l.form.controls.nzFooter.value))},dependencies:[X,L,G,et,D,N,Ke,Je,Ye,Xe,Oe,Ae,we,Z,Be,Me,Ve,J,U,Ze,Ge,We,je],styles:["[_nghost-%COMP%]{position:relative}form[_ngcontent-%COMP%]{width:300px}nz-check-list[_ngcontent-%COMP%]{position:absolute}"]})};var Y=class o{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||o)};static \u0275cmp=h({type:o,selectors:[["nz-demo-check-list"]],viewQuery:function(i,l){if(i&1&&A(v,5),i&2){let m;M(m=V())&&(l.codeBoxes=m)}},decls:246,vars:14,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-check-list-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-check-list-demo-custom","nzTitle","\u590D\u6742\u573A\u666F"],["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/check-list/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["name","check-list","description","\u7528\u4E8E\u5728\u9879\u76EE\u4E2D\u68B3\u7406\u4EFB\u52A1\u6D41\u7A0B\u3002","language","zh"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["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,"nzSpan"],["nzTitle","\u57FA\u672C","nzSelector","nz-demo-check-list-basic","nzGenerateCommand","ng g ng-zorro-antd:check-list-basic <name>","nzComponentName","NzDemoCheckListBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u590D\u6742\u573A\u666F","nzSelector","nz-demo-check-list-custom","nzGenerateCommand","ng g ng-zorro-antd:check-list-custom <name>","nzComponentName","NzDemoCheckListCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-check-list"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-check-list'",1,"anchor"],["id","interfaces"],["onclick","window.location.hash = 'interfaces'",1,"anchor"],["id","nzitemprops"],["onclick","window.location.hash = 'nzitemprops'",1,"anchor"]],template:function(i,l){i&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),u("nzClick",function(p){return l.goLink(p)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4),t()(),e(6,"section",5)(7,"h1"),n(8,"CheckList"),e(9,"span",6),n(10,"\u4EFB\u52A1\u6E05\u5355"),t(),d(11,"span",7),e(12,"a",8),d(13,"nz-icon",9),t()(),d(14,"component-meta",10),e(15,"section",5),k(),e(16,"h2",11)(17,"span"),n(18,"\u4F55\u65F6\u4F7F\u7528"),t(),e(19,"a",12),n(20,"#"),t()(),e(21,"p"),n(22,"\u5982\u679C\u5F53\u524D\u9875\u9762\u4E1A\u52A1\u903B\u8F91\u8FC7\u4E8E\u590D\u6742\uFF0C\u4E14\u5E26\u6709\u8F83\u4E3A\u5F3A\u5236\u7684\u987A\u5E8F\u6D41\u63A7\u5236\uFF0C\u90A3\u4E48\u4F60\u53EF\u4EE5\u91C7\u7528\u8FD9\u4E2A\u7EC4\u4EF6\u6765\u5E2E\u4F60\u7B80\u5316\u6D41\u7A0B\u3002"),t(),E(),t(),e(23,"h2")(24,"span"),n(25,"\u4EE3\u7801\u6F14\u793A"),t(),e(26,"nz-icon",13),u("click",function(){return l.expandAllCode()}),t()()(),e(27,"div",14)(28,"div",15)(29,"nz-code-box",16),d(30,"nz-demo-check-list-basic",17),e(31,"div",18),k(),e(32,"p"),n(33,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),t(),E(),t()(),e(34,"nz-code-box",19),d(35,"nz-demo-check-list-custom",17),e(36,"div",18),k(),e(37,"p"),n(38,"\u901A\u8FC7\u81EA\u5B9A\u4E49\u53C2\u6570\u914D\u7F6E\u9884\u89C8\u6548\u679C\u3002"),t(),E(),t()()()(),e(39,"section",20),k(),e(40,"h2",21)(41,"span"),n(42,"API"),t(),e(43,"a",22),n(44,"#"),t()(),e(45,"h3",23)(46,"span"),n(47,"nz-check-list"),t(),e(48,"label",24),n(49,"component"),t(),e(50,"a",25),n(51,"#"),t()(),e(52,"table")(53,"thead")(54,"tr")(55,"th"),n(56,"\u53C2\u6570"),t(),e(57,"th"),n(58,"\u8BF4\u660E"),t(),e(59,"th"),n(60,"\u7C7B\u578B"),t(),e(61,"th"),n(62,"\u9ED8\u8BA4\u503C"),t(),e(63,"th"),n(64,"\u5168\u5C40\u914D\u7F6E"),t()()(),e(65,"tbody")(66,"tr")(67,"td")(68,"code"),n(69,"[nzItems]"),t()(),e(70,"td"),n(71,"\u4EFB\u52A1\u6E05\u5355\u5143\u7D20"),t(),e(72,"td")(73,"code"),n(74,"NzItemProps"),t()(),e(75,"td")(76,"code"),n(77,"[]"),t()(),e(78,"td"),n(79,"-"),t()(),e(80,"tr")(81,"td")(82,"code"),n(83,"[nzVisible]"),t()(),e(84,"td"),n(85,"\u663E\u793A\u4EFB\u52A1\u6E05\u5355"),t(),e(86,"td")(87,"code"),n(88,"boolean"),t()(),e(89,"td")(90,"code"),n(91,"false"),t()(),e(92,"td"),n(93,"-"),t()(),e(94,"tr")(95,"td")(96,"code"),n(97,"[nzIndex]"),t()(),e(98,"td"),n(99,"\u5F53\u524D\u6240\u5C5E\u4F4D\u7F6E"),t(),e(100,"td")(101,"code"),n(102,"number"),t()(),e(103,"td")(104,"code"),n(105,"1"),t()(),e(106,"td"),n(107,"-"),t()(),e(108,"tr")(109,"td")(110,"code"),n(111,"[nzProgress]"),t()(),e(112,"td"),n(113,"\u663E\u793A\u4EFB\u52A1\u8FDB\u5EA6"),t(),e(114,"td")(115,"code"),n(116,"boolean"),t()(),e(117,"td")(118,"code"),n(119,"true"),t()(),e(120,"td"),n(121,"-"),t()(),e(122,"tr")(123,"td")(124,"code"),n(125,"[nzTriggerRender]"),t()(),e(126,"td"),n(127,"\u6E05\u5355\u60AC\u6D6E\u6309\u94AE\u7684\u6E32\u67D3\u6A21\u677F"),t(),e(128,"td")(129,"code"),n(130,"TemplateRef<void> | string"),t()(),e(131,"td"),n(132,"-"),t(),e(133,"td"),n(134,"-"),t()(),e(135,"tr")(136,"td")(137,"code"),n(138,"[nzTitle]"),t()(),e(139,"td"),n(140,"\u6E05\u5355\u9762\u677F\u6807\u9898\u7684\u6E32\u67D3\u6A21\u677F"),t(),e(141,"td")(142,"code"),n(143,"TemplateRef<void> | string"),t()(),e(144,"td"),n(145,"-"),t(),e(146,"td"),n(147,"-"),t()(),e(148,"tr")(149,"td")(150,"code"),n(151,"[nzFooter]"),t()(),e(152,"td"),n(153,"\u6E05\u5355\u9762\u677F\u5E95\u90E8\u7684\u6E32\u67D3\u6A21\u677F"),t(),e(154,"td")(155,"code"),n(156,"TemplateRef<void> | string"),t()(),e(157,"td"),n(158,"-"),t(),e(159,"td"),n(160,"-"),t()(),e(161,"tr")(162,"td")(163,"code"),n(164,"(nzHide)"),t()(),e(165,"td"),n(166,"\u9690\u85CF\u6E05\u5355\u7684\u56DE\u8C03"),t(),e(167,"td")(168,"code"),n(169,"EventEmitter<boolean>"),t()(),e(170,"td")(171,"code"),n(172,"false"),t()(),e(173,"td"),n(174,"-"),t()()()(),e(175,"blockquote")(176,"p")(177,"code"),n(178,"(nzHide)"),t(),n(179," \u7684\u56DE\u8C03\u503C\u4E3A\u662F\u5426\u4E0D\u518D\u663E\u793A\u6E05\u5355\u3002\u4F60\u53EF\u4EE5\u5728\u56DE\u8C03\u4E2D\u5B58\u50A8\u6570\u636E\u5230 "),e(180,"code"),n(181,"LocalStorage"),t(),n(182," \u4E2D\uFF0C\u4EE5\u907F\u514D\u518D\u6B21\u663E\u793A\u6E05\u5355\u3002"),t()(),e(183,"h3",26)(184,"span"),n(185,"Interfaces"),t(),e(186,"a",27),n(187,"#"),t()(),e(188,"h4",28)(189,"span"),n(190,"NzItemProps"),t(),e(191,"a",29),n(192,"#"),t()(),e(193,"table")(194,"thead")(195,"tr")(196,"th"),n(197,"\u53C2\u6570"),t(),e(198,"th"),n(199,"\u8BF4\u660E"),t(),e(200,"th"),n(201,"\u7C7B\u578B"),t(),e(202,"th"),n(203,"\u9ED8\u8BA4\u503C"),t()()(),e(204,"tbody")(205,"tr")(206,"td")(207,"code"),n(208,"key"),t()(),e(209,"td"),n(210,"\u6E05\u5355\u5143\u7D20\u7684\u552F\u4E00 key"),t(),e(211,"td")(212,"code"),n(213,"string"),t()(),e(214,"td"),n(215,"-"),t()(),e(216,"tr")(217,"td")(218,"code"),n(219,"description"),t()(),e(220,"td"),n(221,"\u6E05\u5355\u5143\u7D20\u63CF\u8FF0\u5185\u5BB9"),t(),e(222,"td")(223,"code"),n(224,"string"),t()(),e(225,"td"),n(226,"-"),t()(),e(227,"tr")(228,"td")(229,"code"),n(230,"onClick"),t()(),e(231,"td"),n(232,"\u70B9\u51FB\u6B65\u9AA4\u89E6\u53D1\u7684\u65B9\u6CD5"),t(),e(233,"td")(234,"code"),n(235,"() => void"),t()(),e(236,"td"),n(237,"-"),t()()()(),e(238,"blockquote")(239,"p")(240,"code"),n(241,"key"),t(),n(242," \u4E3A\u6E05\u5355\u5143\u7D20\u7684\u552F\u4E00\u6807\u8BC6\uFF0C\u5982\u679C\u4E0D\u586B\u5199\uFF0C\u5219\u9ED8\u8BA4\u4F7F\u7528 "),e(243,"code"),n(244,"description"),t(),n(245," \u4F5C\u4E3A key\u3002"),t()(),E(),t()()),i&2&&(c(),a("nzOffsetTop",16),c(),a("nzAffix",!1),c(25),a("nzGutter",8),c(),a("nzSpan",24),c(),a("nzId","components-check-list-demo-basic")("nzLink","components-check-list-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/basic.md"),c(5),a("nzId","components-check-list-demo-custom")("nzLink","components-check-list-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/custom.md"))},dependencies:[$,v,W,q,j,O,D,N,Q,b,T,y],encapsulation:2})};var ee=class o{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||o)};static \u0275cmp=h({type:o,selectors:[["nz-demo-check-list"]],viewQuery:function(i,l){if(i&1&&A(v,5),i&2){let m;M(m=V())&&(l.codeBoxes=m)}},decls:249,vars:14,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-check-list-demo-basic","nzTitle","Basic"],["nzHref","#components-check-list-demo-custom","nzTitle","Complex"],["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/check-list/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["name","check-list","description","Used to organize the flow of tasks in a project.","language","en"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-check-list-basic","nzGenerateCommand","ng g ng-zorro-antd:check-list-basic <name>","nzComponentName","NzDemoCheckListBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Complex","nzSelector","nz-demo-check-list-custom","nzGenerateCommand","ng g ng-zorro-antd:check-list-custom <name>","nzComponentName","NzDemoCheckListCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-check-list"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-check-list'",1,"anchor"],["id","interfaces"],["onclick","window.location.hash = 'interfaces'",1,"anchor"],["id","nzitemprops"],["onclick","window.location.hash = 'nzitemprops'",1,"anchor"]],template:function(i,l){i&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),u("nzClick",function(p){return l.goLink(p)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4),t()(),e(6,"section",5)(7,"h1"),n(8,"CheckList"),d(9,"span",6)(10,"span",7),e(11,"a",8),d(12,"nz-icon",9),t()(),d(13,"component-meta",10),e(14,"section",5),k(),e(15,"h2",11)(16,"span"),n(17,"When To Use"),t(),e(18,"a",12),n(19,"#"),t()(),e(20,"p"),n(21,"If the current page business logic is too complex, and with a more mandatory sequential flow control, then you can use this component to help you simplify the process."),t(),E(),t(),e(22,"h2")(23,"span"),n(24,"Examples"),t(),e(25,"nz-icon",13),u("click",function(){return l.expandAllCode()}),t()()(),e(26,"div",14)(27,"div",15)(28,"nz-code-box",16),d(29,"nz-demo-check-list-basic",17),e(30,"div",18),k(),e(31,"p"),n(32,"The simplest usage."),t(),E(),t()(),e(33,"nz-code-box",19),d(34,"nz-demo-check-list-custom",17),e(35,"div",18),k(),e(36,"p"),n(37,"Configure the preview effect by customizing parameters."),t(),E(),t()()()(),e(38,"section",20),k(),e(39,"h2",21)(40,"span"),n(41,"API"),t(),e(42,"a",22),n(43,"#"),t()(),e(44,"h3",23)(45,"span"),n(46,"nz-check-list"),t(),e(47,"label",24),n(48,"component"),t(),e(49,"a",25),n(50,"#"),t()(),e(51,"table")(52,"thead")(53,"tr")(54,"th"),n(55,"Property"),t(),e(56,"th"),n(57,"Description"),t(),e(58,"th"),n(59,"Type"),t(),e(60,"th"),n(61,"Default"),t(),e(62,"th"),n(63,"Global Config"),t()()(),e(64,"tbody")(65,"tr")(66,"td")(67,"code"),n(68,"[nzItems]"),t()(),e(69,"td"),n(70,"check list elements"),t(),e(71,"td")(72,"code"),n(73,"NzItemProps"),t()(),e(74,"td")(75,"code"),n(76,"[]"),t()(),e(77,"td"),n(78,"-"),t()(),e(79,"tr")(80,"td")(81,"code"),n(82,"[nzVisible]"),t()(),e(83,"td"),n(84,"show check-list"),t(),e(85,"td")(86,"code"),n(87,"boolean"),t()(),e(88,"td")(89,"code"),n(90,"false"),t()(),e(91,"td"),n(92,"-"),t()(),e(93,"tr")(94,"td")(95,"code"),n(96,"[nzIndex]"),t()(),e(97,"td"),n(98,"current index"),t(),e(99,"td")(100,"code"),n(101,"number"),t()(),e(102,"td")(103,"code"),n(104,"1"),t()(),e(105,"td"),n(106,"-"),t()(),e(107,"tr")(108,"td")(109,"code"),n(110,"[nzProgress]"),t()(),e(111,"td"),n(112,"show progress"),t(),e(113,"td")(114,"code"),n(115,"boolean"),t()(),e(116,"td")(117,"code"),n(118,"true"),t()(),e(119,"td"),n(120,"-"),t()(),e(121,"tr")(122,"td")(123,"code"),n(124,"[nzTriggerRender]"),t()(),e(125,"td"),n(126,"rendering template for float button"),t(),e(127,"td")(128,"code"),n(129,"TemplateRef<void> | string"),t()(),e(130,"td"),n(131,"-"),t(),e(132,"td"),n(133,"-"),t()(),e(134,"tr")(135,"td")(136,"code"),n(137,"[nzTitle]"),t()(),e(138,"td"),n(139,"rendering template for the check-list panel title"),t(),e(140,"td")(141,"code"),n(142,"TemplateRef<void> | string"),t()(),e(143,"td"),n(144,"-"),t(),e(145,"td"),n(146,"-"),t()(),e(147,"tr")(148,"td")(149,"code"),n(150,"[nzFooter]"),t()(),e(151,"td"),n(152,"rendering template for the check-list panel footer"),t(),e(153,"td")(154,"code"),n(155,"TemplateRef<void> | string"),t()(),e(156,"td"),n(157,"-"),t(),e(158,"td"),n(159,"-"),t()(),e(160,"tr")(161,"td")(162,"code"),n(163,"(nzHide)"),t()(),e(164,"td"),n(165,"callback for hiding the check list"),t(),e(166,"td")(167,"code"),n(168,"EventEmitter<boolean>"),t()(),e(169,"td")(170,"code"),n(171,"false"),t()(),e(172,"td"),n(173,"-"),t()()()(),e(174,"blockquote")(175,"p"),n(176,"Value of "),e(177,"code"),n(178,"(nzHide)"),t(),n(179,` is whether not show the check-list anymore.
If the value is `),e(180,"code"),n(181,"true"),t(),n(182,", you can store a data in "),e(183,"code"),n(184,"LocalStorage"),t(),n(185," to avoid showing the check-list again."),t()(),e(186,"h3",26)(187,"span"),n(188,"Interfaces"),t(),e(189,"a",27),n(190,"#"),t()(),e(191,"h4",28)(192,"span"),n(193,"NzItemProps"),t(),e(194,"a",29),n(195,"#"),t()(),e(196,"table")(197,"thead")(198,"tr")(199,"th"),n(200,"Property"),t(),e(201,"th"),n(202,"Description"),t(),e(203,"th"),n(204,"Type"),t(),e(205,"th"),n(206,"Default"),t()()(),e(207,"tbody")(208,"tr")(209,"td")(210,"code"),n(211,"key"),t()(),e(212,"td"),n(213,"unique identifier"),t(),e(214,"td")(215,"code"),n(216,"string"),t()(),e(217,"td"),n(218,"-"),t()(),e(219,"tr")(220,"td")(221,"code"),n(222,"description"),t()(),e(223,"td"),n(224,"description content"),t(),e(225,"td")(226,"code"),n(227,"string"),t()(),e(228,"td"),n(229,"-"),t()(),e(230,"tr")(231,"td")(232,"code"),n(233,"onClick"),t()(),e(234,"td"),n(235,"method triggered by clicking the step"),t(),e(236,"td")(237,"code"),n(238,"() => void"),t()(),e(239,"td"),n(240,"-"),t()()()(),e(241,"blockquote")(242,"p")(243,"code"),n(244,"key"),t(),n(245," is the unique identifier of the current item. If not set, "),e(246,"code"),n(247,"description"),t(),n(248," will be used as the key."),t()(),E(),t()()),i&2&&(c(),a("nzOffsetTop",16),c(),a("nzAffix",!1),c(24),a("nzGutter",8),c(),a("nzSpan",24),c(),a("nzId","components-check-list-demo-basic")("nzLink","components-check-list-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/basic.md"),c(5),a("nzId","components-check-list-demo-custom")("nzLink","components-check-list-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/custom.md"))},dependencies:[$,v,W,q,j,O,D,N,Q,b,T,y],encapsulation:2})};var Pt=[{path:"en",component:ee},{path:"zh",component:Y}],Bn=Pt;export{Bn as default};