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