-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathchunk-2HHBH3OV.js
More file actions
2 lines (2 loc) · 28.2 KB
/
chunk-2HHBH3OV.js
File metadata and controls
2 lines (2 loc) · 28.2 KB
1
2
import{a as We,b as $e}from"./chunk-LO5CV7LA.js";import{b as U,d as J}from"./chunk-BZ6GOBK3.js";import{a as Ue,b as Je,c as Ke,d as Xe,e as Ye}from"./chunk-RMEIYPLH.js";import{b as Ze,c as je}from"./chunk-WWP36I6K.js";import{a as Qe,b as qe}from"./chunk-S2N6QNID.js";import{h as v,n as Z,o as j,t as W,u as $}from"./chunk-CKOFZV43.js";import"./chunk-M4IZ5JLQ.js";import"./chunk-ZXY24P5P.js";import{$c as Re,Eb as N,Gb as me,Gc as we,Kc as Q,Lc as Le,Ob as Te,Oc as Be,Pb as Fe,Pc as Pe,Rb as Ie,Rc as Ae,Sb as G,Tb as b,Tc as Me,Ub as D,V as De,_c as Ve,ad as He,ee as q,gb as O,i as oe,jc as ye,kd as Oe,pd as Ge,yb as le,zb as re}from"./chunk-PJXHSUR2.js";import{Ab as ue,Ac as M,Bc as V,Ea as se,Fb as I,Fc as xe,Gc as fe,Hc as Ee,Kc as n,Lc as h,Mc as R,Pc as ke,Qc as ge,Rc as _e,Sc as Se,Tc as ve,Uc as y,Xb as g,Zb as _,ac as pe,bc as ze,cc as d,dc as e,dd as te,ec as t,fc as s,fd as ne,ia as de,id as Ne,jc as B,kc as P,ma as L,mc as S,nb as c,nd as ie,pd as be,ra as E,sa as k,sc as p,sd as H,t as ae,ta as x,td as z,ua as f,vc as a,wc as he,xc as Ce,zb as C,zc as A}from"./chunk-FGVLHZZS.js";import"./chunk-H4BOUERG.js";var rt=["*"],mt=(o,r)=>r.key||r.description;function ct(o,r){if(o&1){let i=S();e(0,"div",1),s(1,"nz-icon",5),e(2,"h3",6),n(3),t(),e(4,"button",7),p("click",function(){x(i);let m=a(2);return f(m.closePopover.emit(!1))}),n(5),t()()}if(o&2){a(2);let i=y(0);c(3),h(i.checkListFinish),c(),fe("margin",24,"px"),c(),R(" ",i.checkListClose," ")}}function at(o,r){if(o&1&&(B(0),n(1),P()),o&2){let i=a(4);c(),h(i.title())}}function dt(o,r){if(o&1&&I(0,at,2,1,"ng-container",13),o&2){let i=a(3);d("nzStringTemplateOutlet",i.title())}}function st(o,r){if(o&1&&n(0),o&2){a(3);let i=y(0);R(" ",i.checkList," ")}}function ut(o,r){if(o&1&&(e(0,"div",12)(1,"div",14),s(2,"nz-progress",15),te(3,"number"),t()()),o&2){let i=a(3);c(2),d("nzPercent",ne(3,1,i.progressPercent(),"1.0-0"))}}function pt(o,r){if(o&1){let i=S();e(0,"div",8)(1,"div",9),g(2,dt,1,1,"ng-container")(3,st,1,1),t(),e(4,"div",10)(5,"nz-icon",11),p("click",function(){x(i);let m=a(2);return f(m.closePopover.emit(!1))}),t()()(),g(6,ut,4,4,"div",12)}if(o&2){let i=a(2);c(2),_(i.title()?2:3),c(4),_(i.progress()?6:-1)}}function zt(o,r){o&1&&s(0,"nz-icon",19)}function ht(o,r){if(o&1&&(e(0,"div",20),n(1),t()),o&2){let i=a().$index;c(),h(i+1)}}function Ct(o,r){if(o&1){let i=S();e(0,"nz-icon",23),p("click",function(){x(i);let m=a().$implicit;return f(m.onClick==null?null:m.onClick(m))}),t()}}function xt(o,r){if(o&1&&(e(0,"div",16)(1,"div",17)(2,"div",18),g(3,zt,1,0,"nz-icon",19)(4,ht,2,1,"div",20),t(),e(5,"div",21),n(6),t()(),g(7,Ct,1,0,"nz-icon",22),t()),o&2){let i=r.$implicit,l=r.$index,m=a(2).index()===l+1;Ee("ant-check-list-highlight",m)("ant-check-list-checked",i==null?null:i.checked),c(3),_(i!=null&&i.checked?3:4),c(3),h(i.description),c(),_(m&&(i!=null&&i.onClick)?7:-1)}}function ft(o,r){if(o&1&&(B(0),n(1),P()),o&2){let i=a(3);c(),h(i.footer())}}function Et(o,r){if(o&1&&I(0,ft,2,1,"ng-container",13),o&2){let i=a(2);d("nzStringTemplateOutlet",i.footer())}}function kt(o,r){if(o&1&&n(0),o&2){a(2);let i=y(0);R(" ",i.checkListFooter," ")}}function gt(o,r){if(o&1){let i=S();g(0,ct,6,4,"div",1)(1,pt,7,2),e(2,"div",2),pe(3,xt,8,7,"div",3,mt),t(),e(5,"div",4),p("click",function(){x(i);let m=a();return f(m.visible.set(!1))}),g(6,Et,1,1,"ng-container")(7,kt,1,1),t()}if(o&2){let i=a();_(i.progressPercent()===100?0:1),c(3),ze(i.items()),c(3),_(i.footer()?6:7)}}function _t(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),p("click",function(){x(i);let m=a();return m.visible.set(!1),f(m.hide.emit(m.checked))}),n(5),t(),e(6,"button",26),p("click",function(){x(i);let m=a();return f(m.visible.set(!0))}),n(7),t()(),e(8,"div",27)(9,"label",28),_e("ngModelChange",function(m){x(i);let u=a();return ge(u.checked,m)||(u.checked=m),f(m)}),n(10),t()()()}if(o&2){let i=a(),l=y(0);c(2),h(l.checkListCheck),c(3),h(l.ok),c(2),h(l.cancel),c(2),ke("ngModel",i.checked),c(),h(l.checkListCheckOther)}}function St(o,r){if(o&1&&(B(0),n(1),P()),o&2){let i=a(2);c(),h(i.nzTriggerRender())}}function vt(o,r){if(o&1&&I(0,St,2,1,"ng-container",3),o&2){let i=a();d("nzStringTemplateOutlet",i.nzTriggerRender())}}function Nt(o,r){if(o&1&&(s(0,"nz-icon",4),e(1,"div",5),n(2),t()),o&2){let i=a();c(2),h(i.locale().checkList)}}function bt(o,r){if(o&1&&(e(0,"div",2)(1,"div",6),n(2),te(3,"number"),t()()),o&2){let i=a();c(2),h(ne(3,1,i.unfinished(),"1.0-0"))}}function Dt(o,r){if(o&1){let i=S();e(0,"nz-check-list-content",7),p("closePopover",function(m){x(i);let u=a();return f(u.visible.set(m))})("hide",function(m){x(i);let u=a();return u.visible.set(m),f(u.nzHide.emit(m))}),t()}if(o&2){let i=a();d("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=C({type:o,selectors:[["nz-check-list-button"]],hostAttrs:[1,"ant-btn","ant-btn-primary","ant-check-list-button"],ngContentSelectors:rt,decls:1,vars:0,template:function(l,m){l&1&&(he(),Ce(0))},encapsulation:2,changeDetection:0})}return o})(),Ft=(()=>{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=se(!0);progressPercent=ie(()=>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=C({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&&(Se(0),g(1,gt,8,2)(2,_t,11,5,"div",0)),l&2&&(ve(m.locale()),c(),_(m.visible()?1:2))},dependencies:[me,N,$e,We,re,le,J,U,G,Ie,Te,Fe,Re,Q,Be,oe],encapsulation:2,changeDetection:0})}return o})(),w=(()=>{class o{nzItems=z([]);nzVisible=z(!1);nzIndex=z(1);nzProgress=z(!0);nzTriggerRender=z(null);nzTitle=z(null);nzFooter=z(null);nzHide=H();unfinished=ie(()=>(this.visible(),this.nzItems().filter(i=>!i?.checked).length));visible=be(this.nzVisible);i18n=L(ye);locale=De(this.i18n.localeChange.pipe(ae(()=>this.i18n.getLocaleData("CheckList"))),{requireSync:!0});static \u0275fac=function(l){return new(l||o)};static \u0275cmp=C({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:6,vars:5,consts:[["checklistTemplate",""],["nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","topRight",3,"nzPopoverVisibleChange","nzPopoverContent","nzPopoverOverlayClickable","nzPopoverVisible"],[1,"ant-check-list-trigger-dot"],[4,"nzStringTemplateOutlet"],["nzType","check-circle","nzTheme","outline",1,"ant-check-list-icon"],[1,"ant-check-list-description"],[1,"ant-check-list-trigger-dot-text"],[3,"closePopover","hide","locale","items","index","title","progress","footer"]],template:function(l,m){if(l&1){let u=S();e(0,"nz-check-list-button",1),p("nzPopoverVisibleChange",function(it){return x(u),f(m.visible.set(it))}),g(1,vt,1,1,"ng-container")(2,Nt,3,1),g(3,bt,4,4,"div",2),t(),I(4,Dt,1,6,"ng-template",null,0,Ne)}if(l&2){let u=xe(5);d("nzPopoverContent",u)("nzPopoverOverlayClickable",!1)("nzPopoverVisible",m.visible()),c(),_(m.nzTriggerRender()?1:2),c(2),_(!m.visible()&&m.unfinished()?3:-1)}},dependencies:[qe,Qe,me,N,re,le,Tt,Ft,oe],encapsulation:2,changeDetection:0})}return o})(),X=(()=>{class o{static \u0275fac=function(l){return new(l||o)};static \u0275mod=ue({type:o});static \u0275inj=de({imports:[w]})}return o})();var T=class o{index=2;nzItems=[{description:"step 1",checked:!0,onClick:r=>{this.index++,r.checked=!0}},{description:"step 2",onClick:r=>{this.index++,r.checked=!0}},{description:"step 3",onClick:r=>{this.index++,r.checked=!0}},{description:"step 4",onClick:r=>{this.index++,r.checked=!0}}];static \u0275fac=function(i){return new(i||o)};static \u0275cmp=C({type:o,selectors:[["nz-demo-check-list-basic"]],decls:1,vars:2,consts:[[3,"nzItems","nzIndex"]],template:function(i,l){i&1&&s(0,"nz-check-list",0),i&2&&d("nzItems",l.nzItems)("nzIndex",l.index)},dependencies:[X,w],encapsulation:2})};var F=class o{fb=L(Ve);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:!1,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=C({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"),s(5,"label",1),t()(),e(6,"nz-form-item")(7,"nz-form-label"),n(8,"Show Progress"),t(),e(9,"nz-form-control"),s(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),p("nzValueChange",function(u){return l.handleIndexChange(u)}),t()()(),e(16,"nz-form-item")(17,"nz-form-label"),n(18,"Trigger Render"),t(),e(19,"nz-form-control"),s(20,"input",4),t()(),e(21,"nz-form-item")(22,"nz-form-label"),n(23,"Title"),t(),e(24,"nz-form-control"),s(25,"input",5),t()(),e(26,"nz-form-item")(27,"nz-form-label"),n(28,"Footer"),t(),e(29,"nz-form-control"),s(30,"input",6),t()()(),e(31,"nz-check-list",7),p("nzHide",function(u){return l.hideCancel(u)}),t()),i&2&&(d("formGroup",l.form),c(15),d("nzOptions",l.options),c(16),d("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,w,G,Ye,D,b,Je,Ue,Xe,Ke,He,Pe,we,Q,Le,Ae,Me,J,U,Ge,Oe,je,Ze],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=C({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:258,vars:8,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#\u4F55\u65F6\u4F7F\u7528","nzTitle","\u4F55\u65F6\u4F7F\u7528",1,"toc-indent-1"],["nzHref","#\u4EE3\u7801\u6F14\u793A","nzTitle","\u4EE3\u7801\u6F14\u793A",1,"toc-indent-1"],["nzHref","#components-check-list-demo-basic","nzTitle","\u57FA\u672C",1,"toc-indent-2"],["nzHref","#components-check-list-demo-custom","nzTitle","\u590D\u6742\u573A\u666F",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["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"],["id","\u4EE3\u7801\u6F14\u793A"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["onclick","window.location.hash = '\u4EE3\u7801\u6F14\u793A'",1,"anchor"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","\u57FA\u672C","nzVersion","","nzId","components-check-list-demo-basic","nzSelector","nz-demo-check-list-basic","nzLink","components-check-list-demo-basic","nzGenerateCommand","ng g ng-zorro-antd:check-list-basic <name>","nzComponentName","NzDemoCheckListBasicComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/basic.md",3,"nzIframe","nzIframeHeight"],["demo",""],["intro",""],["nzTitle","\u590D\u6742\u573A\u666F","nzVersion","","nzId","components-check-list-demo-custom","nzSelector","nz-demo-check-list-custom","nzLink","components-check-list-demo-custom","nzGenerateCommand","ng g ng-zorro-antd:check-list-custom <name>","nzComponentName","NzDemoCheckListCustomComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/custom.md",3,"nzIframe","nzIframeHeight"],[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),p("nzClick",function(u){return l.goLink(u)}),s(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),t()(),e(8,"section",7)(9,"h1"),n(10," CheckList "),e(11,"span",8),n(12,"\u4EFB\u52A1\u6E05\u5355"),t()(),s(13,"component-meta",9),e(14,"section",7),k(),e(15,"h2",10)(16,"span"),n(17,"\u4F55\u65F6\u4F7F\u7528"),t(),e(18,"a",11),n(19,"#"),t()(),e(20,"p"),n(21,"\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(22,"h2",12)(23,"span"),n(24,"\u4EE3\u7801\u6F14\u793A"),t(),e(25,"nz-icon",13),p("click",function(){return l.expandAllCode()}),t(),e(26,"a",14),n(27,"#"),t()()(),e(28,"div",15)(29,"div",16)(30,"nz-code-box",17),s(31,"nz-demo-check-list-basic",18),e(32,"div",19),k(),e(33,"p"),n(34,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),t(),E(),t()(),e(35,"nz-code-box",20),s(36,"nz-demo-check-list-custom",18),e(37,"div",19),k(),e(38,"p"),n(39,"\u901A\u8FC7\u81EA\u5B9A\u4E49\u53C2\u6570\u914D\u7F6E\u9884\u89C8\u6548\u679C\u3002"),t(),E(),t()()()(),e(40,"section",21),k(),e(41,"h2",22)(42,"span"),n(43,"API"),t(),e(44,"a",23),n(45,"#"),t()(),e(46,"h3",24)(47,"span"),n(48,"nz-check-list"),t(),e(49,"label",25),n(50,"component"),t(),e(51,"a",26),n(52,"#"),t()(),e(53,"table")(54,"thead")(55,"tr")(56,"th"),n(57,"\u53C2\u6570"),t(),e(58,"th"),n(59,"\u8BF4\u660E"),t(),e(60,"th"),n(61,"\u7C7B\u578B"),t(),e(62,"th"),n(63,"\u9ED8\u8BA4\u503C"),t(),e(64,"th"),n(65,"\u5168\u5C40\u914D\u7F6E"),t()()(),e(66,"tbody")(67,"tr")(68,"td")(69,"code"),n(70,"[nzItems]"),t()(),e(71,"td"),n(72,"\u4EFB\u52A1\u6E05\u5355\u5143\u7D20"),t(),e(73,"td")(74,"code"),n(75,"NzItemProps"),t()(),e(76,"td")(77,"code"),n(78,"[]"),t()(),e(79,"td"),n(80,"-"),t()(),e(81,"tr")(82,"td")(83,"code"),n(84,"[nzVisible]"),t()(),e(85,"td"),n(86,"\u663E\u793A\u4EFB\u52A1\u6E05\u5355"),t(),e(87,"td")(88,"code"),n(89,"boolean"),t()(),e(90,"td")(91,"code"),n(92,"false"),t()(),e(93,"td"),n(94,"-"),t()(),e(95,"tr")(96,"td")(97,"code"),n(98,"[nzIndex]"),t()(),e(99,"td"),n(100,"\u5F53\u524D\u6240\u5C5E\u4F4D\u7F6E"),t(),e(101,"td")(102,"code"),n(103,"number"),t()(),e(104,"td")(105,"code"),n(106,"1"),t()(),e(107,"td"),n(108,"-"),t()(),e(109,"tr")(110,"td")(111,"code"),n(112,"[nzProgress]"),t()(),e(113,"td"),n(114,"\u663E\u793A\u4EFB\u52A1\u8FDB\u5EA6"),t(),e(115,"td")(116,"code"),n(117,"boolean"),t()(),e(118,"td")(119,"code"),n(120,"true"),t()(),e(121,"td"),n(122,"-"),t()(),e(123,"tr")(124,"td")(125,"code"),n(126,"[nzTriggerRender]"),t()(),e(127,"td"),n(128,"\u6E05\u5355\u60AC\u6D6E\u6309\u94AE\u7684\u6E32\u67D3\u6A21\u677F"),t(),e(129,"td")(130,"code"),n(131,"TemplateRef<void> | string"),t()(),e(132,"td"),n(133,"-"),t(),e(134,"td"),n(135,"-"),t()(),e(136,"tr")(137,"td")(138,"code"),n(139,"[nzTitle]"),t()(),e(140,"td"),n(141,"\u6E05\u5355\u9762\u677F\u6807\u9898\u7684\u6E32\u67D3\u6A21\u677F"),t(),e(142,"td")(143,"code"),n(144,"TemplateRef<void> | string"),t()(),e(145,"td"),n(146,"-"),t(),e(147,"td"),n(148,"-"),t()(),e(149,"tr")(150,"td")(151,"code"),n(152,"[nzFooter]"),t()(),e(153,"td"),n(154,"\u6E05\u5355\u9762\u677F\u5E95\u90E8\u7684\u6E32\u67D3\u6A21\u677F"),t(),e(155,"td")(156,"code"),n(157,"TemplateRef<void> | string"),t()(),e(158,"td"),n(159,"-"),t(),e(160,"td"),n(161,"-"),t()(),e(162,"tr")(163,"td")(164,"code"),n(165,"(nzHide)"),t()(),e(166,"td"),n(167,"\u9690\u85CF\u6E05\u5355\u7684\u56DE\u8C03"),t(),e(168,"td")(169,"code"),n(170,"EventEmitter<boolean>"),t()(),e(171,"td")(172,"code"),n(173,"false"),t()(),e(174,"td"),n(175,"-"),t()()()(),e(176,"blockquote")(177,"p")(178,"code"),n(179,"(nzHide)"),t(),n(180," \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(181,"code"),n(182,"LocalStorage"),t(),n(183," \u4E2D\uFF0C\u4EE5\u907F\u514D\u518D\u6B21\u663E\u793A\u6E05\u5355\u3002"),t()(),e(184,"h3",27)(185,"span"),n(186,"Interfaces"),t(),e(187,"a",28),n(188,"#"),t()(),e(189,"h4",29)(190,"span"),n(191,"NzItemProps"),t(),e(192,"a",30),n(193,"#"),t()(),e(194,"table")(195,"thead")(196,"tr")(197,"th"),n(198,"\u53C2\u6570"),t(),e(199,"th"),n(200,"\u8BF4\u660E"),t(),e(201,"th"),n(202,"\u7C7B\u578B"),t(),e(203,"th"),n(204,"\u9ED8\u8BA4\u503C"),t()()(),e(205,"tbody")(206,"tr")(207,"td")(208,"code"),n(209,"key"),t()(),e(210,"td"),n(211,"\u6E05\u5355\u5143\u7D20\u7684\u552F\u4E00 key"),t(),e(212,"td")(213,"code"),n(214,"string"),t()(),e(215,"td"),n(216,"-"),t()(),e(217,"tr")(218,"td")(219,"code"),n(220,"description"),t()(),e(221,"td"),n(222,"\u6E05\u5355\u5143\u7D20\u63CF\u8FF0\u5185\u5BB9"),t(),e(223,"td")(224,"code"),n(225,"string"),t()(),e(226,"td"),n(227,"-"),t()(),e(228,"tr")(229,"td")(230,"code"),n(231,"checked"),t()(),e(232,"td"),n(233,"\u5F53\u524D\u6E05\u5355\u662F\u5426\u5B8C\u6210"),t(),e(234,"td")(235,"code"),n(236,"boolean"),t()(),e(237,"td"),n(238,"-"),t()(),e(239,"tr")(240,"td")(241,"code"),n(242,"onClick"),t()(),e(243,"td"),n(244,"\u70B9\u51FB\u6B65\u9AA4\u89E6\u53D1\u7684\u65B9\u6CD5"),t(),e(245,"td")(246,"code"),n(247,"(item: NzItemProps) => void"),t()(),e(248,"td"),n(249,"-"),t()()()(),e(250,"blockquote")(251,"p")(252,"code"),n(253,"key"),t(),n(254," \u4E3A\u6E05\u5355\u5143\u7D20\u7684\u552F\u4E00\u6807\u8BC6\uFF0C\u5982\u679C\u4E0D\u586B\u5199\uFF0C\u5219\u9ED8\u8BA4\u4F7F\u7528 "),e(255,"code"),n(256,"description"),t(),n(257," \u4F5C\u4E3A key\u3002"),t()(),E(),t()()),i&2&&(c(),d("nzOffsetTop",16),c(),d("nzAffix",!1),c(26),d("nzGutter",8),c(),d("nzSpan",24),c(),d("nzIframe",!1)("nzIframeHeight",null),c(5),d("nzIframe",!1)("nzIframeHeight",null))},dependencies:[$,v,W,Z,j,O,D,b,q,N,T,F],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=C({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:261,vars:8,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#when_to_use","nzTitle","When To Use",1,"toc-indent-1"],["nzHref","#examples","nzTitle","Examples",1,"toc-indent-1"],["nzHref","#components-check-list-demo-basic","nzTitle","Basic",1,"toc-indent-2"],["nzHref","#components-check-list-demo-custom","nzTitle","Complex",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["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"],["id","examples"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["onclick","window.location.hash = 'examples'",1,"anchor"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","Basic","nzVersion","","nzId","components-check-list-demo-basic","nzSelector","nz-demo-check-list-basic","nzLink","components-check-list-demo-basic","nzGenerateCommand","ng g ng-zorro-antd:check-list-basic <name>","nzComponentName","NzDemoCheckListBasicComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/basic.md",3,"nzIframe","nzIframeHeight"],["demo",""],["intro",""],["nzTitle","Complex","nzVersion","","nzId","components-check-list-demo-custom","nzSelector","nz-demo-check-list-custom","nzLink","components-check-list-demo-custom","nzGenerateCommand","ng g ng-zorro-antd:check-list-custom <name>","nzComponentName","NzDemoCheckListCustomComponent","nzIframeSource","","nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/check-list/demo/custom.md",3,"nzIframe","nzIframeHeight"],[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),p("nzClick",function(u){return l.goLink(u)}),s(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),t()(),e(8,"section",7)(9,"h1"),n(10," CheckList "),s(11,"span",8),t(),s(12,"component-meta",9),e(13,"section",7),k(),e(14,"h2",10)(15,"span"),n(16,"When To Use"),t(),e(17,"a",11),n(18,"#"),t()(),e(19,"p"),n(20,"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(21,"h2",12)(22,"span"),n(23,"Examples"),t(),e(24,"nz-icon",13),p("click",function(){return l.expandAllCode()}),t(),e(25,"a",14),n(26,"#"),t()()(),e(27,"div",15)(28,"div",16)(29,"nz-code-box",17),s(30,"nz-demo-check-list-basic",18),e(31,"div",19),k(),e(32,"p"),n(33,"The simplest usage."),t(),E(),t()(),e(34,"nz-code-box",20),s(35,"nz-demo-check-list-custom",18),e(36,"div",19),k(),e(37,"p"),n(38,"Configure the preview effect by customizing parameters."),t(),E(),t()()()(),e(39,"section",21),k(),e(40,"h2",22)(41,"span"),n(42,"API"),t(),e(43,"a",23),n(44,"#"),t()(),e(45,"h3",24)(46,"span"),n(47,"nz-check-list"),t(),e(48,"label",25),n(49,"component"),t(),e(50,"a",26),n(51,"#"),t()(),e(52,"table")(53,"thead")(54,"tr")(55,"th"),n(56,"Property"),t(),e(57,"th"),n(58,"Description"),t(),e(59,"th"),n(60,"Type"),t(),e(61,"th"),n(62,"Default"),t(),e(63,"th"),n(64,"Global Config"),t()()(),e(65,"tbody")(66,"tr")(67,"td")(68,"code"),n(69,"[nzItems]"),t()(),e(70,"td"),n(71,"check list elements"),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,"show check-list"),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,"current index"),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,"show progress"),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,"rendering template for float button"),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,"rendering template for the check-list panel title"),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,"rendering template for the check-list panel footer"),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,"callback for hiding the check list"),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"),n(177,"Value of "),e(178,"code"),n(179,"(nzHide)"),t(),n(180,` is whether not show the check-list anymore.
If the value is `),e(181,"code"),n(182,"true"),t(),n(183,", you can store a data in "),e(184,"code"),n(185,"LocalStorage"),t(),n(186," to avoid showing the check-list again."),t()(),e(187,"h3",27)(188,"span"),n(189,"Interfaces"),t(),e(190,"a",28),n(191,"#"),t()(),e(192,"h4",29)(193,"span"),n(194,"NzItemProps"),t(),e(195,"a",30),n(196,"#"),t()(),e(197,"table")(198,"thead")(199,"tr")(200,"th"),n(201,"Property"),t(),e(202,"th"),n(203,"Description"),t(),e(204,"th"),n(205,"Type"),t(),e(206,"th"),n(207,"Default"),t()()(),e(208,"tbody")(209,"tr")(210,"td")(211,"code"),n(212,"key"),t()(),e(213,"td"),n(214,"unique identifier"),t(),e(215,"td")(216,"code"),n(217,"string"),t()(),e(218,"td"),n(219,"-"),t()(),e(220,"tr")(221,"td")(222,"code"),n(223,"description"),t()(),e(224,"td"),n(225,"description content"),t(),e(226,"td")(227,"code"),n(228,"string"),t()(),e(229,"td"),n(230,"-"),t()(),e(231,"tr")(232,"td")(233,"code"),n(234,"checked"),t()(),e(235,"td"),n(236,"Current inventory status"),t(),e(237,"td")(238,"code"),n(239,"boolean"),t()(),e(240,"td"),n(241,"-"),t()(),e(242,"tr")(243,"td")(244,"code"),n(245,"onClick"),t()(),e(246,"td"),n(247,"method triggered by clicking the step"),t(),e(248,"td")(249,"code"),n(250,"(item: NzItemProps) => void"),t()(),e(251,"td"),n(252,"-"),t()()()(),e(253,"blockquote")(254,"p")(255,"code"),n(256,"key"),t(),n(257," is the unique identifier of the current item. If not set, "),e(258,"code"),n(259,"description"),t(),n(260," will be used as the key."),t()(),E(),t()()),i&2&&(c(),d("nzOffsetTop",16),c(),d("nzAffix",!1),c(25),d("nzGutter",8),c(),d("nzSpan",24),c(),d("nzIframe",!1)("nzIframeHeight",null),c(5),d("nzIframe",!1)("nzIframeHeight",null))},dependencies:[$,v,W,Z,j,O,D,b,q,N,T,F],encapsulation:2})};var Pt=[{path:"en",component:ee},{path:"zh",component:Y}],Pn=Pt;export{Pn as default};