1import{a as me,b as S,c as _,d as C}from"./chunk-UQWHPGOE.js";import{a as le,b as ae}from"./chunk-QEKBGSGF.js";import"./chunk-O5GFCFR7.js";import{a as te,b as ie,d as oe}from"./chunk-56XIMETV.js";import{a as ne}from"./chunk-MM6PISML.js";import"./chunk-AMB2SXIB.js";import{a as N,g as U,h as X,j as q}from"./chunk-N7GBLZI4.js";import"./chunk-M3GNLX5T.js";import"./chunk-TSUNBK3M.js";import{Ha as W,Hc as k,Jc as y,Kc as D,Lc as V,Nc as Q,gc as Z,qc as z,uc as b}from"./chunk-O3IWK6WU.js";import{Ac as R,Bc as P,Gc as e,Ib as x,Ic as K,Jc as ee,Lc as E,Mc as g,Nc as f,Vb as a,Wb as $,hc as t,ic as n,jc as d,qc as h,rb as m,xa as p,ya as s,zc as G}from"./chunk-NACBYLXS.js";import"./chunk-EQDQRRRY.js";var F=class c{checked=!0;static \u0275fac=function(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox-basic"]],decls:2,vars:1,consts:[["nz-checkbox","",3,"ngModelChange","ngModel"]],template:function(o,i){o&1&&(t(0,"label",0),f("ngModelChange",function(l){return g(i.checked,l)||(i.checked=l),l}),e(1,"Checkbox"),n()),o&2&&E("ngModel",i.checked)},dependencies:[k,z,b,C,S],encapsulation:2})};var M=class c{isAllCheckedFirstChange=!0;allChecked=!1;value=["Apple","Orange"];options=[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange"}];updateAllChecked(){this.isAllCheckedFirstChange||(this.value=this.allChecked?this.options.map(r=>r.value):[]),this.isAllCheckedFirstChange=!1}updateSingleChecked(){this.allChecked=this.value.length===this.options.length}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox-check-all"]],decls:4,vars:4,consts:[["nz-checkbox","",3,"ngModelChange","ngModel","nzIndeterminate"],[3,"ngModelChange","nzOptions","ngModel"]],template:function(o,i){o&1&&(t(0,"label",0),f("ngModelChange",function(l){return g(i.allChecked,l)||(i.allChecked=l),l}),h("ngModelChange",function(){return i.updateAllChecked()}),e(1," Check all "),n(),d(2,"nz-divider"),t(3,"nz-checkbox-group",1),f("ngModelChange",function(l){return g(i.value,l)||(i.value=l),l}),h("ngModelChange",function(){return i.updateSingleChecked()}),n()),o&2&&(E("ngModel",i.allChecked),a("nzIndeterminate",i.value.length>0&&i.value.length!==i.options.length),m(3),a("nzOptions",i.options),E("ngModel",i.value))},dependencies:[k,z,b,C,S,_,ae,le],encapsulation:2})};var A=class c{isCheckedButton=!0;isDisabledButton=!1;checkButton(){this.isCheckedButton=!this.isCheckedButton}disableButton(){this.isDisabledButton=!this.isDisabledButton}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox-controller"]],decls:8,vars:10,consts:[["nz-checkbox","",3,"ngModelChange","ngModel","nzDisabled"],["nz-button","",3,"click","nzType","nzSize"]],template:function(o,i){o&1&&(t(0,"label",0),f("ngModelChange",function(l){return g(i.isCheckedButton,l)||(i.isCheckedButton=l),l}),e(1),n(),d(2,"br")(3,"br"),t(4,"button",1),h("click",function(){return i.checkButton()}),e(5),n(),t(6,"button",1),h("click",function(){return i.disableButton()}),e(7),n()),o&2&&(E("ngModel",i.isCheckedButton),a("nzDisabled",i.isDisabledButton),m(),ee(" ",i.isCheckedButton?"Checked":"Unchecked"," - ",i.isDisabledButton?"Disabled":"Enabled"," "),m(3),a("nzType","primary")("nzSize","small"),m(),K(" ",i.isCheckedButton?"Unchecked":"Checked"," "),m(),a("nzType","primary")("nzSize","small"),m(),K(" ",i.isDisabledButton?"Enabled":"Disabled"," "))},dependencies:[k,z,b,oe,ie,te,ne,C,S],styles:["button[_ngcontent-%COMP%]{margin-right:8px}"]})};var T=class c{static \u0275fac=function(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox-disabled"]],decls:3,vars:2,consts:[["nz-checkbox","","nzDisabled","",3,"ngModel"]],template:function(o,i){o&1&&d(0,"label",0)(1,"br")(2,"label",0),o&2&&(a("ngModel",!1),m(2),a("ngModel",!0))},dependencies:[k,z,b,C,S],encapsulation:2})};var H=class c{options1=[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange"}];options2=[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange",disabled:!0}];options3=[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange"}];value=["Apple"];log(r){console.log(r)}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox-group"]],decls:7,vars:6,consts:[[3,"ngModelChange","nzOptions","ngModel"],["nzDisabled","",3,"ngModelChange","nzOptions","ngModel"]],template:function(o,i){o&1&&(t(0,"nz-checkbox-group",0),f("ngModelChange",function(l){return g(i.value,l)||(i.value=l),l}),h("ngModelChange",function(l){return i.log(l)}),n(),d(1,"br")(2,"br"),t(3,"nz-checkbox-group",0),f("ngModelChange",function(l){return g(i.value,l)||(i.value=l),l}),h("ngModelChange",function(l){return i.log(l)}),n(),d(4,"br")(5,"br"),t(6,"nz-checkbox-group",1),f("ngModelChange",function(l){return g(i.value,l)||(i.value=l),l}),h("ngModelChange",function(l){return i.log(l)}),n()),o&2&&(a("nzOptions",i.options1),E("ngModel",i.value),m(3),a("nzOptions",i.options2),E("ngModel",i.value),m(3),a("nzOptions",i.options3),E("ngModel",i.value))},dependencies:[k,z,b,C,_],encapsulation:2})};var O=class c{value=["A"];log(r){console.log(r)}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox-layout-legacy"]],decls:17,vars:1,consts:[[2,"width","100%",3,"nzOnChange"],["nzSpan","8"],["nz-checkbox","","nzValue","A",3,"ngModel"],["nz-checkbox","","nzValue","B"],["nz-checkbox","","nzValue","C"],["nz-checkbox","","nzValue","D"],["nz-checkbox","","nzValue","E"]],template:function(o,i){o&1&&(t(0,"nz-checkbox-wrapper",0),h("nzOnChange",function(l){return i.log(l)}
1),t(1,"nz-row")(2,"nz-col",1)(3,"label",2),e(4,"A"),n()(),t(5,"nz-col",1)(6,"label",3),e(7,"B"),n()(),t(8,"nz-col",1)(9,"label",4),e(10,"C"),n()(),t(11,"nz-col",1)(12,"label",5),e(13,"D"),n()(),t(14,"nz-col",1)(15,"label",6),e(16,"E"),n()()()()),o&2&&(m(3),a("ngModel",!0))},dependencies:[k,z,b,C,S,me,V,D,y],encapsulation:2})};var L=class c{value=["A"];log(r){console.log(r)}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox-layout"]],decls:17,vars:3,consts:[[3,"ngModelChange","ngModel"],["nzSpan","8"],["nz-checkbox","","nzValue","A"],["nz-checkbox","","nzValue","B"],["nz-checkbox","","nzValue","C"],["nz-checkbox","","nzValue","D"],["nz-checkbox","","nzValue","E"]],template:function(o,i){o&1&&(t(0,"nz-checkbox-group",0),f("ngModelChange",function(l){return g(i.value,l)||(i.value=l),l}),h("ngModelChange",function(l){return i.log(l)}),t(1,"nz-row")(2,"nz-col",1)(3,"label",2),e(4,"A"),n()(),t(5,"nz-col",1)(6,"label",3),e(7,"B"),n()(),t(8,"nz-col",1)(9,"label",4),e(10,"C"),n()(),t(11,"nz-col",1)(12,"label",5),e(13,"D"),n()(),t(14,"nz-col",1)(15,"label",6),e(16,"E"),n()()()()),o&2&&($("width",100,"%"),E("ngModel",i.value))},dependencies:[k,z,b,C,S,_,V,D,y],encapsulation:2})};var j=class c{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(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox"]],viewQuery:function(o,i){if(o&1&&G(N,5),o&2){let u;R(u=P())&&(i.codeBoxes=u)}},decls:454,vars:42,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-checkbox-demo-basic","nzTitle","\u57FA\u672C\u7528\u6CD5"],["nzHref","#components-checkbox-demo-disabled","nzTitle","\u4E0D\u53EF\u7528"],["nzHref","#components-checkbox-demo-controller","nzTitle","\u53D7\u63A7\u7684 Checkbox"],["nzHref","#components-checkbox-demo-group","nzTitle","Checkbox \u7EC4"],["nzHref","#components-checkbox-demo-check-all","nzTitle","\u5168\u9009"],["nzHref","#components-checkbox-demo-layout","nzTitle","\u5E03\u5C40"],["nzHref","#components-checkbox-demo-layout-legacy","nzTitle","\u5E03\u5C40\uFF08\u5F03\u7528\uFF09"],["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/checkbox/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"],["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\u7528\u6CD5","nzSelector","nz-demo-checkbox-basic","nzGenerateCommand","ng g ng-zorro-antd:checkbox-basic <name>","nzComponentName","NzDemoCheckboxBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u53D7\u63A7\u7684 Checkbox","nzSelector","nz-demo-checkbox-controller","nzGenerateCommand","ng g ng-zorro-antd:checkbox-controller <name>","nzComponentName","NzDemoCheckboxControllerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5168\u9009","nzSelector","nz-demo-checkbox-check-all","nzGenerateCommand","ng g ng-zorro-antd:checkbox-check-all <name>","nzComponentName","NzDemoCheckboxCheckAllComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5E03\u5C40\uFF08\u5F03\u7528\uFF09","nzSelector","nz-demo-checkbox-layout-legacy","nzGenerateCommand","ng g ng-zorro-antd:checkbox-layout-legacy <name>","nzComponentName","NzDemoCheckboxLayoutLegacyComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4E0D\u53EF\u7528","nzSelector","nz-demo-checkbox-disabled","nzGenerateCommand","ng g ng-zorro-antd:checkbox-disabled <name>","nzComponentName","NzDemoCheckboxDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Checkbox \u7EC4","nzSelector","nz-demo-checkbox-group","nzGenerateCommand","ng g ng-zorro-antd:checkbox-group <name>","nzComponentName","NzDemoCheckboxGroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5E03\u5C40","nzSelector","nz-demo-checkbox-layout","nzGenerateCommand","ng g ng-zorro-antd:checkbox-layout <name>","nzComponentName","NzDemoCheckboxLayoutComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-checkbox"],[1,"api-type-label","directive"],["onclick","window.location.hash = 'nz-checkbox'",1,"anchor"],["id","nz-checkbox-group"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-checkbox-group'",1,"anchor"],["id","nz-checkbox-wrapper"],["onclick","window.location.hash = 'nz-checkbox-wrapper'",1,"anchor"],["id","\u65B9\u6CD5"],["onclick","window.location.hash = '\u65B9\u6CD5'",1,"anchor"],["id","interfaces"],["onclick","window.location.hash = 'interfaces'",1,"anchor"],["id","nzcheckboxoption"],["onclick","window.location.hash = 'nzcheckboxoption'",1,"anchor"],[1,"token","class-name"],[1,"token","operator"],[1,"token","builtin"]],template:function(o,i){o&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),h("nzClick",function(l){return i.goLink(l)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9),n()(),t(11,"section",10)(12,"h1"),e(13,"Checkbox"),t(14,"span",11),e(15,"\u591A\u9009\u6846"),n(),d(16,"span",12),t(17,"a",13),d(18,"nz-icon",14),n()(),t(19,"section",10),s(),t(20,"p"),e(21,"\u591A\u9009\u6846\u3002"),n(),t(22,"h2",15)(23,"span"),e(24,"\u4F55\u65F6\u4F7F\u7528"),n(),t(25,"a",16),e(26,"#"),n()(),t(27,"ul")(28,"li"),e(29,"\u5728\u4E00\u7EC4\u53EF\u9009\u9879\u4E2D\u8FDB\u884C\u591A\u9879\u9009\u62E9\u65F6\uFF1B"),n(),t(30,"li"),e(31,"\u5355\u72EC\u4F7F\u7528\u53EF\u4EE5\u8868\u793A\u4E24\u79CD\u72B6\u6001\u4E4B\u95F4\u7684\u5207\u6362\uFF0C\u548C "),t(32,"code"),e(33,"switch"),n(),e(34," \u7C7B\u4F3C\u3002\u533A\u522B\u5728\u4E8E\u5207\u6362 "),t(35,"code"),e(36,"switch"),n(),e(37," \u4F1A\u76F4\u63A5\u89E6\u53D1\u72B6\u6001\u6539\u53D8\uFF0C\u800C "),t(38,"code"),e(39,"checkbox"),n(),e(40," \u4E00\u822C\u7528\u4E8E\u72B6\u6001\u6807\u8BB0\uFF0C\u9700\u8981\u548C\u63D0\u4EA4\u64CD\u4F5C\u914D\u5408\u3002"),n()(),t(41,"pre")(42,"code",17)(43,"span",18),e(44,"import"),n(),e(45," "),t(46,"span",19),e(47,"{"),n(),e(48," NzCheckboxMo
1dule "),t(49,"span",19),e(50,"}"),n(),e(51," "),t(52,"span",18),e(53,"from"),n(),e(54," "),t(55,"span",20),e(56,"'ng-zorro-antd/checkbox'"),n(),t(57,"span",19),e(58,";"),n(),e(59,` 2`),n()(),p(),n(),t(60,"h2")(61,"span"),e(62,"\u4EE3\u7801\u6F14\u793A"),n(),t(63,"nz-icon",21),h("click",function(){return i.expandAllCode()}),n()()(),t(64,"div",22)(65,"div",23)(66,"nz-code-box",24),d(67,"nz-demo-checkbox-basic",25),t(68,"div",26),s(),t(69,"p"),e(70,"\u7B80\u5355\u7684 checkbox\u3002"),n(),p(),n()(),t(71,"nz-code-box",27),d(72,"nz-demo-checkbox-controller",25),t(73,"div",26),s(),t(74,"p"),e(75,"\u8054\u52A8 checkbox\u3002"),n(),p(),n()(),t(76,"nz-code-box",28),d(77,"nz-demo-checkbox-check-all",25),t(78,"div",26),s(),t(79,"p"),e(80,"\u5728\u5B9E\u73B0\u5168\u9009\u6548\u679C\u65F6\uFF0C\u4F60\u53EF\u80FD\u4F1A\u7528\u5230 "),t(81,"code"),e(82,"nzIndeterminate"),n(),e(83," \u5C5E\u6027\u3002"),n(),p(),n()(),t(84,"nz-code-box",29),d(85,"nz-demo-checkbox-layout-legacy",25),t(86,"div",26),s(),t(87,"p")(88,"code"),e(89,"nz-checkbox-wrapper"),n(),e(90," \u5185\u5D4C "),t(91,"code"),e(92,"nz-checkbox"),n(),e(93," \u5E76\u4E0E Grid \u7EC4\u4EF6\u4E00\u8D77\u4F7F\u7528\uFF0C\u53EF\u4EE5\u5B9E\u73B0\u7075\u6D3B\u7684\u5E03\u5C40\u3002"),n(),t(94,"blockquote")(95,"p"),e(96,"\u26A0\uFE0F "),t(97,"code"),e(98,"nz-checkbox-wrapper"),n(),e(99," \u5DF2\u88AB\u5F03\u7528\uFF0C\u63A8\u8350\u4F7F\u7528 "),t(100,"code"),e(101,"nz-checkbox-group"),n(),e(102,"\u3002"),n()(),p(),n()()(),t(103,"div",23)(104,"nz-code-box",30),d(105,"nz-demo-checkbox-disabled",25),t(106,"div",26),s(),t(107,"p"),e(108,"checkbox \u4E0D\u53EF\u7528\u3002"),n(),p(),n()(),t(109,"nz-code-box",31),d(110,"nz-demo-checkbox-group",25),t(111,"div",26),s(),t(112,"p"),e(113,"\u65B9\u4FBF\u7684\u4ECE\u6570\u7EC4\u751F\u6210 Checkbox \u7EC4\u3002"),n(),p(),n()(),t(114,"nz-code-box",32),d(115,"nz-demo-checkbox-layout",25),t(116,"div",26),s(),t(117,"p")(118,"code"),e(119,"nz-checkbox-group"),n(),e(120," \u5185\u5D4C "),t(121,"code"),e(122,"nz-checkbox"),n(),e(123," \u5E76\u4E0E Grid \u7EC4\u4EF6\u4E00\u8D77\u4F7F\u7528\uFF0C\u53EF\u4EE5\u5B9E\u73B0\u7075\u6D3B\u7684\u5E03\u5C40\u3002"),n(),p(),n()()()(),t(124,"section",33),s(),t(125,"h2",34)(126,"span"),e(127,"API"),n(),t(128,"a",35),e(129,"#"),n()(),t(130,"h3",36)(131,"span"),e(132,"[nz-checkbox]"),n(),t(133,"label",37),e(134,"directive"),n(),t(135,"a",38),e(136,"#"),n()(),t(137,"table")(138,"thead")(139,"tr")(140,"th"),e(141,"\u53C2\u6570"),n(),t(142,"th"),e(143,"\u8BF4\u660E"),n(),t(144,"th"),e(145,"\u7C7B\u578B"),n(),t(146,"th"),e(147,"\u9ED8\u8BA4\u503C"),n()()(),t(148,"tbody")(149,"tr")(150,"td")(151,"code"),e(152,"[nzId]"),n()(),t(153,"td"),e(154,"\u7EC4\u4EF6\u5185\u90E8 input \u7684 "),t(155,"code"),e(156,"id"),n(),e(157," \u503C"),n(),t(158,"td")(159,"code"),e(160,"string"),n()(),t(161,"td"),e(162,"-"),n()(),t(163,"tr")(164,"td")(165,"code"),e(166,"[nzName]"),n()(),t(167,"td"),e(168,"\u7EC4\u4EF6\u5185\u90E8 input \u7684 "),t(169,"code"),e(170,"name"),n(),e(171," \u503C"),n(),t(172,"td")(173,"code"),e(174,"string"),n()(),t(175,"td"),e(176,"-"),n()(),t(177,"tr")(178,"td")(179,"code"),e(180,"[nzAutoFocus]"),n()(),t(181,"td"),e(182,"\u81EA\u52A8\u83B7\u53D6\u7126\u70B9"),n(),t(183,"td")(184,"code"),e(185,"boolean"),n()(),t(186,"td")(187,"code"),e(188,"false"),n()()(),t(189,"tr")(190,"td")(191,"code"),e(192,"[nzDisabled]"),n()(),t(193,"td"),e(194,"\u8BBE\u5B9A disable \u72B6\u6001"),n(),t(195,"td")(196,"code"),e(197,"boolean"),n()(),t(198,"td")(199,"code"),e(200,"false"),n()()(),t(201,"tr")(202,"td")(203,"code"),e(204,"[ngModel]"),n()(),t(205,"td"),e(206,"\u6307\u5B9A\u5F53\u524D\u662F\u5426\u9009\u4E2D\uFF0C\u53EF\u53CC\u5411\u7ED1\u5B9A"),n(),t(207,"td")(208,"code"),e(209,"boolean"),n()(),t(210,"td")(211,"code"),e(212,"false"),n()()(),t(213,"tr")(214,"td")(215,"code"),e(216,"[nzIndeterminate]"),n()(),t(217,"td"),e(218,"\u8BBE\u7F6E indeterminate \u72B6\u6001\uFF0C\u53EA\u8D1F\u8D23\u6837\u5F0F\u63A7\u5236"),n(),t(219,"td")(220,"code"),e(221,"boolean"),n()(),t(222,"td")(223,"code"),e(224,"false"),n()()(),t(225,"tr")(226,"td")(227,"code"),e(228,"[nzValue]"),n()(),t(229,"td"),e(230,"\u4EC5\u4E0E "),t(231,"code"),e(232,"nz-checkbox-wrapper"),n(),e(233," \u7684\u9009\u4E2D\u56DE\u8C03\u914D\u5408\u4F7F\u7528"),n(),t(234,"td")(235,"code"),e(236,"any"),n()(),t(237,"td"),e(238,"-"),n()(),t(239,"tr")(240,"td")(241,"code"),e(242,"(ngModelChange)"),n()(),t(243,"td"),e(244,"\u9009\u4E2D\u53D8\u5316\u65F6\u56DE\u8C03"),n(),t(245,"td")(246,"code"),e(247,"EventEmitter<boolean>"),n()(),t(248,"td"),e(249,"-"),n()()()(),t(250,"h3",39)(251,"span"),e(252,"nz-checkbox-group"),n(),t(253,"label",40),e(254,"component"),n(),t(255,"a",41),e(256,"#"),n()(),t(257,"table")(258,"thead")(259,"tr")(260,"th"),e(261,"\u53C2\u6570"),n(),t(262,"th"),e(263,"\u8BF4\u660E"),n(),t(264,"th"),e(265,"\u7C7B\u578B"),n(),t(266,"th"),e(267,"\u9ED8\u8BA4\u503C"),n()()(),t(268,"tbody")(269,"tr")(270,"td")(271,"code"),e(272,"[ngModel]"),n()(),t(273,"td"),e(274,"\u6307\u5B9A\u53EF\u9009\u9879\uFF0C\u53EF\u53CC\u5411\u7ED1\u5B9A"),n(),t(275,"td")(276,"code"),e(277,"{ label: string; value: string; checked?: boolean; }[]"),n()(),t(278,"td")(279,"code"),e(280,"[]"),n()()(),t(281,"tr")(282,"td")(283,"code"),e(284,"[nzName]"),n()(),t(285,"td"),e(286,"CheckboxGroup \u4E0B\u6240\u6709 input \u7684 "),t(287,"code"),e(288,"name"),n(),e(289," \u5C5E\u6027"),n(),t(290,"td")(291,"code"),e(292,"string"),n()(),t(293,"td"),e(294,"-"),n()(),t(295,"tr")(296,"td")(297,"code"),e(298,"[nzOptions]"),n()(),t(299,"td"),e(300,"\u6307\u5B9A\u53EF\u9009\u9879"),n(),t(301,"td")(302,"code"),e(303,"string[] | number[] | NzCheckboxOption[]"),n()(),t(304,"td")(305,"code"),e(306,"[]"),n()()(),t(307,"tr")(308,"td")(309,"code"),e(310,"[nzDisabled]"),n()(),t(311,"td"),e(312,"\u8BBE\u5B9A\u5168\u90E8 checkbox disable \u72B6\u6001"),n(),t(313,"td")(314,"code"),e(315,"boolean"),n()(),t(316,"td")(317,"code"),e(318,"false"),n()()(),t(319,"tr")(320,"td")(321,"code"),e(322,"(ngModelChange)"),n()(),t(323,"td"),e(324,"\u9009\u4E2D\u6570\u636E\u53D8\u5316\u65F6\u7684\u56DE\u8C03"),n(),t(325,"td")(326,"code"),e(327,"EventEmitter<{ label: string; value: string; checked?: boolean; }[]>"),n()(),t(328,"td"),e(329,"-"),n()()()(),t(330,"h3",42)(331,"span"),e(332,"nz-checkbox-wrapper"),n(),t(333,"label",40),e(334,"component"),n(),t(335,"a",43),e(336,"#"),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,"tbody")(349,"tr")(350,"td")(351,"code"),e(352,"(nzOnChange)"),n()(),t(353,"td"),e(354,"\u9009\u4E2D\u6570\u636E\u53D8\u5316\u65F6\u7684\u56DE\u8C03"),n(),t(355,"td")(356,"code"),e(357,"EventEmitter<any[]>"),n()(),t(358,"td"),e(359,"-"),n()()()(),t(360,"h2",44)(361,"span"),e(362,"\u65B9\u6CD5"),n(),t(363,"a",45),e(364,"#"),n()(),t(365,"h3",36)(366,"span"),e(367,"[nz-checkbox]"),n(),t(368,"label",37),e(369,"directive"),n(),t(370,"a",38),e(371,"#"),n()(),t(372,"p"),e(373,"\u901A\u8FC7 ViewChild \u6216\u5176\u4ED6\u65B9\u5F0F\u83B7\u5F97 "),t(374,"code"),e(375,"nz-checkbox"),n(),e(376," \u5B9E\u4F8B"),n(),t(377,"table")(378,"thead")(379,"tr")(380,"th"),e(381,"\u540D\u79F0"),n(),t(382,"th"),e(383,"\u63CF\u8FF0"),n()()(),t(384,"tbody")(385,"tr")(386,"td"),e(387,"focus()"),n(),t(388,"td"),e(389,"\u83B7\u53D6\u7126\u70B9"),n()(),t(390,"tr")(391,"td"),e(392,"blur()"),n(),t(393,"td"),e(394,"\u79FB\u9
2664\u7126\u70B9"),n()()()(),t(395,"h2",46)(396,"span"),e(397,"Interfaces"),n(),t(398,"a",47),e(399,"#"),n()(),t(400,"h3",48)(401,"span"),e(402,"NzCheckboxOption"),n(),t(403,"a",49),e(404,"#"),n()(),t(405,"pre")(406,"code",17)(407,"span",18),e(408,"export"),n(),e(409," "),t(410,"span",18),e(411,"interface"),n(),e(412," "),t(413,"span",50),e(414,"NzCheckboxOption"),n(),e(415," "),t(416,"span",19),e(417,"{"),n(),e(418,` 3 label`),t(419,"span",51),e(420,":"),n(),e(421," "),t(422,"span",52),e(423,"string"),n(),t(424,"span",19),e(425,";"),n(),e(426,` 4 value`),t(427,"span",51),e(428,":"),n(),e(429," "),t(430,"span",52),e(431,"string"),n(),e(432," "),t(433,"span",51),e(434,"|"),n(),e(435," "),t(436,"span",52),e(437,"number"),n(),t(438,"span",19),e(439,";"),n(),e(440,` 5 disabled`),t(441,"span",51),e(442,"?"),n(),t(443,"span",51),e(444,":"),n(),e(445," "),t(446,"span",52),e(447,"boolean"),n(),t(448,"span",19),e(449,";"),n(),e(450,` 6`),t(451,"span",19),e(452,"}"),n(),e(453,` 7`),n()(),p(),n()()),o&2&&(m(),a("nzOffsetTop",16),m(),a("nzAffix",!1),m(62),a("nzGutter",16),m(),a("nzXl",12)("nzSpan",24),m(),a("nzId","components-checkbox-demo-basic")("nzLink","components-checkbox-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/basic.md"),m(5),a("nzId","components-checkbox-demo-controller")("nzLink","components-checkbox-demo-controller")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/controller.md"),m(5),a("nzId","components-checkbox-demo-check-all")("nzLink","components-checkbox-demo-check-all")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/check-all.md"),m(8),a("nzId","components-checkbox-demo-layout-legacy")("nzLink","components-checkbox-demo-layout-legacy")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/layout-legacy.md"),m(19),a("nzXl",12)("nzSpan",24),m(),a("nzId","components-checkbox-demo-disabled")("nzLink","components-checkbox-demo-disabled")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/disabled.md"),m(5),a("nzId","components-checkbox-demo-group")("nzLink","components-checkbox-demo-group")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/group.md"),m(5),a("nzId","components-checkbox-demo-layout")("nzLink","components-checkbox-demo-layout")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/layout.md"))},dependencies:[q,N,U,X,Q,D,y,Z,W,F,M,A,T,H,O,L],encapsulation:2})};var J=class c{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(o){return new(o||c)};static \u0275cmp=x({type:c,selectors:[["nz-demo-checkbox"]],viewQuery:function(o,i){if(o&1&&G(N,5),o&2){let u;R(u=P())&&(i.codeBoxes=u)}},decls:434,vars:42,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-checkbox-demo-basic","nzTitle","Basic"],["nzHref","#components-checkbox-demo-disabled","nzTitle","Disabled"],["nzHref","#components-checkbox-demo-controller","nzTitle","Controlled Checkbox"],["nzHref","#components-checkbox-demo-group","nzTitle","Checkbox Group"],["nzHref","#components-checkbox-demo-check-all","nzTitle","Check all"],["nzHref","#components-checkbox-demo-layout","nzTitle","Use with Grid"],["nzHref","#components-checkbox-demo-layout-legacy","nzTitle","Use with Grid (Deprecated)"],["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/checkbox/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"],["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-checkbox-basic","nzGenerateCommand","ng g ng-zorro-antd:checkbox-basic <name>","nzComponentName","NzDemoCheckboxBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Controlled Checkbox","nzSelector","nz-demo-checkbox-controller","nzGenerateCommand","ng g ng-zorro-antd:checkbox-controller <name>","nzComponentName","NzDemoCheckboxControllerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Check all","nzSelector","nz-demo-checkbox-check-all","nzGenerateCommand","ng g ng-zorro-antd:checkbox-check-all <name>","nzComponentName","NzDemoCheckboxCheckAllComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Use with Grid (Deprecated)","nzSelector","nz-demo-checkbox-layout-legacy","
7nzGenerateCommand","ng g ng-zorro-antd:checkbox-layout-legacy <name>","nzComponentName","NzDemoCheckboxLayoutLegacyComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Disabled","nzSelector","nz-demo-checkbox-disabled","nzGenerateCommand","ng g ng-zorro-antd:checkbox-disabled <name>","nzComponentName","NzDemoCheckboxDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Checkbox Group","nzSelector","nz-demo-checkbox-group","nzGenerateCommand","ng g ng-zorro-antd:checkbox-group <name>","nzComponentName","NzDemoCheckboxGroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Use with Grid","nzSelector","nz-demo-checkbox-layout","nzGenerateCommand","ng g ng-zorro-antd:checkbox-layout <name>","nzComponentName","NzDemoCheckboxLayoutComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-checkbox"],[1,"api-type-label","directive"],["onclick","window.location.hash = 'nz-checkbox'",1,"anchor"],["id","nz-checkbox-group"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-checkbox-group'",1,"anchor"],["id","nz-checkbox-wrapper"],["onclick","window.location.hash = 'nz-checkbox-wrapper'",1,"anchor"],["id","methods"],["onclick","window.location.hash = 'methods'",1,"anchor"],["id","interfaces"],["onclick","window.location.hash = 'interfaces'",1,"anchor"],["id","nzcheckboxoption"],["onclick","window.location.hash = 'nzcheckboxoption'",1,"anchor"],[1,"token","class-name"],[1,"token","operator"],[1,"token","builtin"]],template:function(o,i){o&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),h("nzClick",function(l){return i.goLink(l)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9),n()(),t(11,"section",10)(12,"h1"),e(13,"Checkbox"),d(14,"span",11)(15,"span",12),t(16,"a",13),d(17,"nz-icon",14),n()(),t(18,"section",10),s(),t(19,"p"),e(20,"Checkbox."),n(),t(21,"h2",15)(22,"span"),e(23,"When To Use"),n(),t(24,"a",16),e(25,"#"),n()(),t(26,"ul")(27,"li"),e(28,"Used for selecting multiple values from several options."),n(),t(29,"li"),e(30,"If you use only one checkbox, it is the same as using Switch to toggle between two states. The difference is that Switch will trigger the state change directly, but Checkbox just marks the state as changed and this needs to be submitted."),n()(),t(31,"pre")(32,"code",17)(33,"span",18),e(34,"import"),n(),e(35," "),t(36,"span",19),e(37,"{"),n(),e(38," NzCheckboxModule "),t(39,"span",19),e(40,"}"),n(),e(41," "),t(42,"span",18),e(43,"from"),n(),e(44," "),t(45,"span",20),e(46,"'ng-zorro-antd/checkbox'"),n(),t(47,"span",19),e(48,";"),n(),e(49,` 8`),n()(),p(),n(),t(50,"h2")(51,"span"),e(52,"Examples"),n(),t(53,"nz-icon",21),h("click",function(){return i.expandAllCode()}),n()()(),t(54,"div",22)(55,"div",23)(56,"nz-code-box",24),d(57,"nz-demo-checkbox-basic",25),t(58,"div",26),s(),t(59,"p"),e(60,"Basic usage of checkbox."),n(),p(),n()(),t(61,"nz-code-box",27),d(62,"nz-demo-checkbox-controller",25),t(63,"div",26),s(),t(64,"p"),e(65,"Communicated with other components."),n(),p(),n()(),t(66,"nz-code-box",28),d(67,"nz-demo-checkbox-check-all",25),t(68,"div",26),s(),t(69,"p"),e(70,"The "),t(71,"code"),e(72,"nzIndeterminate"),n(),e(73," property can help you to achieve a 'check all' effect."),n(),p(),n()(),t(74,"nz-code-box",29),d(75,"nz-demo-checkbox-layout-legacy",25),t(76,"div",26),s(),t(77,"p"),e(78,"We can use "),t(79,"code"),e(80,"nz-checkbox"),n(),e(81," and Grid in "),t(82,"code"),e(83,"nz-checkbox-wrapper"),n(),e(84,", to implement complex layout."),n(),t(85,"blockquote")(86,"p"),e(87,"\u26A0\uFE0F "),t(88,"code"),e(89,"nz-checkbox-wrapper"),n(),e(90," is deprecated, we recommend using "),t(91,"code"),e(92,"nz-checkbox-group"),n(),e(93,"."),n()(),p(),n()()(),t(94,"div",23)(95,"nz-code-box",30),d(96,"nz-demo-checkbox-disabled",25),t(97,"div",26),s(),t(98,"p"),e(99,"Disabled checkbox."),n(),p(),n()(),t(100,"nz-code-box",31),d(101,"nz-demo-checkbox-group",25),t(102,"div",26),s(),t(103,"p"),e(104,"Generate a group of checkboxes from an array."),n(),p(),n()(),t(105,"nz-code-box",32),d(106,"nz-demo-checkbox-layout",25),t(107,"div",26),s(),t(108,"p"),e(109,"We can use "),t(110,"code"),e(111,"nz-checkbox"),n(),e(112," and Grid in "),t(113,"code"),e(114,"nz-checkbox-group"),n(),e(115,", to implement complex layout."),n(),p(),n()()()(),t(116,"section",33),s(),t(117,"h2",34)(118,"span"),e(119,"API"),n(),t(120,"a",35),e(121,"#"),n()(),t(122,"h3",36)(123,"span"),e(124,"[nz-checkbox]"),n(),t(125,"label",37),e(126,"directive"),n(),t(127,"a",38),e(128,"#"),n()(),t(129,"table")(130,"thead")(131,"tr")(132,"th"),e(133,"Property"),n(),t(134,"th"),e(135,"Description"),n(),t(136,"th"),e(137,"Type"),n(),t(138,"th"),e(139,"Default"),n()()(),t(140,"tbody")(141,"tr")(142,"td")(143,"code"),e(144,"[nzId]"),n()(),t(145,"td"),e(146,"input id attribute inside the component"),n(),t(147,"td")(148,"code"),e(149,"string"),n()(),t(150,"td"),e(151,"-"),n()(),t(152,"tr")(153,"td")(154,"code"),e(155,"[nzName]"),n()(),t(156,"td"),e(157,"input name attribute inside the component"),n(),t(158,"td")(159,"code"),e(160,"string"),n()(),t(161,"td"),e(162,"-"),n()(),t(163,"tr")(164,"td")(165,"code"),e(166,"[nzAutoFocus]"),n()(),t(167,"td"),e(168,"get focus when component mounted"),n(),t(169,"td")(170,"code"),e(171,"boolean"),n()(),t(172,"td")(173,"code"),e(174,"fal
8se"),n()()(),t(175,"tr")(176,"td")(177,"code"),e(178,"[nzDisabled]"),n()(),t(179,"td"),e(180,"Disable checkbox"),n(),t(181,"td")(182,"code"),e(183,"boolean"),n()(),t(184,"td")(185,"code"),e(186,"false"),n()()(),t(187,"tr")(188,"td")(189,"code"),e(190,"[ngModel]"),n()(),t(191,"td"),e(192,"Specifies whether the checkbox is selected, double binding"),n(),t(193,"td")(194,"code"),e(195,"boolean"),n()(),t(196,"td")(197,"code"),e(198,"false"),n()()(),t(199,"tr")(200,"td")(201,"code"),e(202,"[nzIndeterminate]"),n()(),t(203,"td"),e(204,"set the status of indeterminate\uFF0Conly affect the style"),n(),t(205,"td")(206,"code"),e(207,"boolean"),n()(),t(208,"td")(209,"code"),e(210,"false"),n()()(),t(211,"tr")(212,"td")(213,"code"),e(214,"[nzValue]"),n()(),t(215,"td"),e(216,"use for the callback of "),t(217,"code"),e(218,"nz-checkbox-wrapper"),n()(),t(219,"td")(220,"code"),e(221,"any"),n()(),t(222,"td"),e(223,"-"),n()(),t(224,"tr")(225,"td")(226,"code"),e(227,"(ngModelChange)"),n()(),t(228,"td"),e(229,"The callback function that is triggered when the state changes."),n(),t(230,"td")(231,"code"),e(232,"EventEmitter<boolean>"),n()(),t(233,"td"),e(234,"-"),n()()()(),t(235,"h3",39)(236,"span"),e(237,"nz-checkbox-group"),n(),t(238,"label",40),e(239,"component"),n(),t(240,"a",41),e(241,"#"),n()(),t(242,"table")(243,"thead")(244,"tr")(245,"th"),e(246,"Property"),n(),t(247,"th"),e(248,"Description"),n(),t(249,"th"),e(250,"Type"),n(),t(251,"th"),e(252,"Default"),n()()(),t(253,"tbody")(254,"tr")(255,"td")(256,"code"),e(257,"[ngModel]"),n()(),t(258,"td"),e(259,"Specifies options, double binding"),n(),t(260,"td")(261,"code"),e(262,"Array<{ label: string; value: string; checked?: boolean; }>"),n()(),t(263,"td")(264,"code"),e(265,"[]"),n()()(),t(266,"tr")(267,"td")(268,"code"),e(269,"[nzName]"),n()(),t(270,"td"),e(271,"The "),t(272,"code"),e(273,"name"),n(),e(274," property of all input children"),n(),t(275,"td")(276,"code"),e(277,"string"),n()(),t(278,"td"),e(279,"-"),n()(),t(280,"tr")(281,"td")(282,"code"),e(283,"[nzOptions]"),n()(),t(284,"td"),e(285,"Specifies options"),n(),t(286,"td")(287,"code"),e(288,"string[] | number[] | NzCheckboxOption[]"),n()(),t(289,"td")(290,"code"),e(291,"[]"),n()()(),t(292,"tr")(293,"td")(294,"code"),e(295,"[nzDisabled]"),n()(),t(296,"td"),e(297,"Disable all checkboxes"),n(),t(298,"td")(299,"code"),e(300,"boolean"),n()(),t(301,"td")(302,"code"),e(303,"false"),n()()(),t(304,"tr")(305,"td")(306,"code"),e(307,"(ngModelChange)"),n()(),t(308,"td"),e(309,"The callback function that is triggered when the state changes."),n(),t(310,"td")(311,"code"),e(312,"EventEmitter<Array<{ label: string; value: string; checked?: boolean; }>>"),n()(),t(313,"td"),e(314,"-"),n()()()(),t(315,"h3",42)(316,"span"),e(317,"nz-checkbox-wrapper"),n(),t(318,"label",40),e(319,"component"),n(),t(320,"a",43),e(321,"#"),n()(),t(322,"table")(323,"thead")(324,"tr")(325,"th"),e(326,"Property"),n(),t(327,"th"),e(328,"Description"),n(),t(329,"th"),e(330,"Type"),n(),t(331,"th"),e(332,"Default"),n()()(),t(333,"tbody")(334,"tr")(335,"td")(336,"code"),e(337,"(nzOnChange)"),n()(),t(338,"td"),e(339,"The callback function that is triggered when the state changes."),n(),t(340,"td")(341,"code"),e(342,"EventEmitter<any[]>"),n()(),t(343,"td"),e(344,"-"),n()()()(),t(345,"h2",44)(346,"span"),e(347,"Methods"),n(),t(348,"a",45),e(349,"#"),n()(),t(350,"h3",36)(351,"span"),e(352,"[nz-checkbox]"),n(),t(353,"label",37),e(354,"directive"),n(),t(355,"a",38),e(356,"#"),n()(),t(357,"table")(358,"thead")(359,"tr")(360,"th"),e(361,"Name"),n(),t(362,"th"),e(363,"Description"),n()()(),t(364,"tbody")(365,"tr")(366,"td"),e(367,"focus()"),n(),t(368,"td"),e(369,"get focus"),n()(),t(370,"tr")(371,"td"),e(372,"blur()"),n(),t(373,"td"),e(374,"remove focus"),n()()()(),t(375,"h2",46)(376,"span"),e(377,"Interfaces"),n(),t(378,"a",47),e(379,"#"),n()(),t(380,"h3",48)(381,"span"),e(382,"NzCheckboxOption"),n(),t(383,"a",49),e(384,"#"),n()(),t(385,"pre")(386,"code",17)(387,"span",18),e(388,"export"),n(),e(389," "),t(390,"span",18),e(391,"interface"),n(),e(392," "),t(393,"span",50),e(394,"NzCheckboxOption"),n(),e(395," "),t(396,"span",19),e(397,"{"),n(),e(398,` 9 label`),t(399,"span",51),e(400,":"),n(),e(401," "),t(402,"span",52),e(403,"string"),n(),t(404,"span",19),e(405,";"),n(),e(406,` 10 value`),t(407,"span",51),e(408,":"),n(),e(409," "),t(410,"span",52),e(411,"string"),n(),e(412," "),t(413,"span",51),e(414,"|"),n(),e(415," "),t(416,"span",52),e(417,"number"),n(),t(418,"span",19),e(419,";"),n(),e(420,` 11 disabled`),t(421,"span",51),e(422,"?"),n(),t(423,"span",51),e(424,":"),n(),e(425," "),t(426,"span",52),e(427,"boolean"),n(),t(428,"span",19),e(429,";"),n(),e(430,` 12`),t(431,"span",19),e(432,"}"),n(),e(433,` 13`),n()(),p(),n()()),o&2&&(m(),a("nzOffsetTop",16),m(),a("nzAffix",!1),m(52),a("nzGutter",16),m(),a("nzXl",12)("nzSpan",24),m(),a("nzId","components-checkbox-demo-basic")("nzLink","components-checkbox-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/basic.md"),m(5),a("nzId","components-checkbox-demo-controller")("nzLink","components-checkbox-demo-controller")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/controller.md"),m(5),a("nzId","components-checkbox-demo-check-all")("nzLink","components-checkbox-demo-check-all")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/check-all.md"),m(8),a("nzId","components-checkbox-demo-layout-legacy")("nzLink","components-checkbox-demo-layout-legacy")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/layout-legacy.md"),m(20),a("nzXl",12)("nzSpan",24),m(),a("nzId","components-checkbox-demo-disabled")("nzLink","components-checkbox-demo-disabled")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/disabled.md"),m(5),a("nzId","components-checkbox-demo-group")("nzLink","components-checkbox-demo-group")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/group.md"),m(5),a("nzId","components-checkbox-demo-layout")("nzLink","components-checkbox-demo-layout")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/checkbox/demo/layout.md"))},dependencies:[q,N,U,X,Q,D,y,Z,W,F,M,A,T,H,O,L],encapsulation:2})};var se=[{path:"en",component:J},{path:"zh",component:j}],st=se;export{st as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.