-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-6AL2GB7X.js
1 lines (1 loc) · 38.1 KB
/
chunk-6AL2GB7X.js
1
import{a as R,b as C,c as b}from"./chunk-BUL6X4XY.js";import{f as de,k as re}from"./chunk-RKL5WCT5.js";import"./chunk-MGFBB5Y4.js";import{a as ne,b as oe,d as ae}from"./chunk-HVFPNQ3B.js";import{a as ie}from"./chunk-6AJOFIIP.js";import"./chunk-3LAVY7RV.js";import{a as F,g as L,h as W,j as Z}from"./chunk-Q4ISATUO.js";import"./chunk-JXWNPNAC.js";import{Ca as T,Fc as x,Hc as A,Ic as G,Lc as O,ec as V,oc as f,sc as h}from"./chunk-YWVGY2C2.js";import{Aa as z,Ac as v,Bc as k,Cc as I,Hc as t,Ib as c,Ic as H,Mc as g,Nc as S,Oc as E,Pb as ee,Wb as l,dc as te,gc as w,hc as M,ic as e,jc as n,kc as u,rb as r,rc as y,za as p}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";var P=(()=>{class i{static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-basic"]],decls:2,vars:0,consts:[["nz-radio","","ngModel",""]],template:function(a,o){a&1&&(e(0,"label",0),t(1,"Radio"),n())},dependencies:[x,f,h,b,C],encapsulation:2})}}return i})();var Q=(()=>{class i{constructor(){this.disabled=!0}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-disable"]],decls:10,vars:3,consts:[["nz-radio","",3,"nzDisabled"],["nz-radio","",3,"nzDisabled","ngModel"],["nz-button","","nzType","primary",3,"click"]],template:function(a,o){a&1&&(e(0,"div")(1,"label",0),t(2,"Disabled"),n(),u(3,"br"),e(4,"label",1),t(5,"Disabled"),n(),u(6,"br")(7,"br"),e(8,"button",2),y("click",function(){return o.disabled=!o.disabled}),t(9,"Toggle disabled"),n()()),a&2&&(r(),l("nzDisabled",o.disabled),r(3),l("nzDisabled",o.disabled)("ngModel",!0))},dependencies:[x,f,h,ae,oe,ne,ie,b,C],encapsulation:2})}}return i})();var j=(()=>{class i{constructor(){this.radioValue="A"}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-radiobutton"]],decls:31,vars:3,consts:[[3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","A"],["nz-radio-button","","nzValue","B"],["nz-radio-button","","nzValue","C"],["nz-radio-button","","nzValue","D"],["nz-radio-button","","nzValue","B","nzDisabled",""],["nz-radio-button","","nzValue","A","nzDisabled",""],["nz-radio-button","","nzValue","C","nzDisabled",""],["nz-radio-button","","nzValue","D","nzDisabled",""]],template:function(a,o){a&1&&(e(0,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(1,"label",1),t(2,"Hangzhou"),n(),e(3,"label",2),t(4,"Shanghai"),n(),e(5,"label",3),t(6,"Beijing"),n(),e(7,"label",4),t(8,"Chengdu"),n()(),u(9,"br")(10,"br"),e(11,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(12,"label",1),t(13,"Hangzhou"),n(),e(14,"label",5),t(15,"Shanghai"),n(),e(16,"label",3),t(17,"Beijing"),n(),e(18,"label",4),t(19,"Chengdu"),n()(),u(20,"br")(21,"br"),e(22,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(23,"label",6),t(24,"Hangzhou"),n(),e(25,"label",5),t(26,"Shanghai"),n(),e(27,"label",7),t(28,"Beijing"),n(),e(29,"label",8),t(30,"Chengdu"),n()()),a&2&&(g("ngModel",o.radioValue),r(11),g("ngModel",o.radioValue),r(11),g("ngModel",o.radioValue))},dependencies:[x,f,h,b,C,R],encapsulation:2})}}return i})();function ue(i,D){i&1&&u(0,"input",5)}var X=(()=>{class i{constructor(){this.radioValue="A"}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-radiogroup-more"]],decls:10,vars:2,consts:[[3,"ngModelChange","ngModel"],["nz-radio","","nzValue","A"],["nz-radio","","nzValue","B"],["nz-radio","","nzValue","C"],["nz-radio","","nzValue","M"],["type","text","nz-input",""]],template:function(a,o){a&1&&(e(0,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(1,"label",1),t(2,"Option A"),n(),e(3,"label",2),t(4,"Option B"),n(),e(5,"label",3),t(6,"Option C"),n(),e(7,"label",4),t(8," More... "),ee(9,ue,1,0,"input",5),n()()),a&2&&(g("ngModel",o.radioValue),r(9),te(o.radioValue==="M"?9:-1))},dependencies:[x,f,h,re,de,b,C,R],styles:["[nz-radio][_ngcontent-%COMP%]{display:block;height:32px;line-height:32px}input[_ngcontent-%COMP%]{width:100px;margin-left:10px}"]})}}return i})();var $=(i,D)=>D.value;function pe(i,D){if(i&1&&(e(0,"label",1),t(1),n()),i&2){let m=D.$implicit;l("nzValue",m.value),r(),H(m.label)}}function ze(i,D){if(i&1&&(e(0,"label",1),t(1),n()),i&2){let m=D.$implicit;l("nzValue",m.value),r(),H(m.label)}}function se(i,D){if(i&1&&(e(0,"label",1),t(1),n()),i&2){let m=D.$implicit;l("nzValue",m.value),r(),H(m.label)}}var U=(()=>{class i{constructor(){this.radioValue="Apple",this.options=[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange"}]}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-radiogroup-options"]],decls:9,vars:3,consts:[[3,"ngModelChange","ngModel"],["nz-radio","",3,"nzValue"]],template:function(a,o){a&1&&(e(0,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),w(1,pe,2,2,"label",1,$),n(),e(3,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),w(4,ze,2,2,"label",1,$),n(),e(6,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),w(7,se,2,2,"label",1,$),n()),a&2&&(g("ngModel",o.radioValue),r(),M(o.options),r(2),g("ngModel",o.radioValue),r(),M(o.options),r(2),g("ngModel",o.radioValue),r(),M(o.options))},dependencies:[x,f,h,b,C,R],encapsulation:2})}}return i})();var q=(()=>{class i{constructor(){this.radioValue="A"}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-radiogroup-with-name"]],decls:9,vars:1,consts:[["nzName","radiogroup",3,"ngModelChange","ngModel"],["nz-radio","","nzValue","A"],["nz-radio","","nzValue","B"],["nz-radio","","nzValue","C"],["nz-radio","","nzValue","D"]],template:function(a,o){a&1&&(e(0,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(1,"label",1),t(2,"A"),n(),e(3,"label",2),t(4,"B"),n(),e(5,"label",3),t(6,"C"),n(),e(7,"label",4),t(8,"D"),n()()),a&2&&g("ngModel",o.radioValue)},dependencies:[x,f,h,b,C,R],encapsulation:2})}}return i})();var J=(()=>{class i{constructor(){this.radioValue="A"}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-radiogroup"]],decls:9,vars:1,consts:[[3,"ngModelChange","ngModel"],["nz-radio","","nzValue","A"],["nz-radio","","nzValue","B"],["nz-radio","","nzValue","C"],["nz-radio","","nzValue","D"]],template:function(a,o){a&1&&(e(0,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(1,"label",1),t(2,"A"),n(),e(3,"label",2),t(4,"B"),n(),e(5,"label",3),t(6,"C"),n(),e(7,"label",4),t(8,"D"),n()()),a&2&&g("ngModel",o.radioValue)},dependencies:[x,f,h,b,C,R],encapsulation:2})}}return i})();var K=(()=>{class i{constructor(){this.radioValue="A"}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-size"]],decls:31,vars:3,consts:[["nzSize","large",3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","A"],["nz-radio-button","","nzValue","B"],["nz-radio-button","","nzValue","C"],["nz-radio-button","","nzValue","D"],[3,"ngModelChange","ngModel"],["nzSize","small",3,"ngModelChange","ngModel"]],template:function(a,o){a&1&&(e(0,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(1,"label",1),t(2,"Hangzhou"),n(),e(3,"label",2),t(4,"Shanghai"),n(),e(5,"label",3),t(6,"Beijing"),n(),e(7,"label",4),t(8,"Chengdu"),n()(),u(9,"br")(10,"br"),e(11,"nz-radio-group",5),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(12,"label",1),t(13,"Hangzhou"),n(),e(14,"label",2),t(15,"Shanghai"),n(),e(16,"label",3),t(17,"Beijing"),n(),e(18,"label",4),t(19,"Chengdu"),n()(),u(20,"br")(21,"br"),e(22,"nz-radio-group",6),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(23,"label",1),t(24,"Hangzhou"),n(),e(25,"label",2),t(26,"Shanghai"),n(),e(27,"label",3),t(28,"Beijing"),n(),e(29,"label",4),t(30,"Chengdu"),n()()),a&2&&(g("ngModel",o.radioValue),r(11),g("ngModel",o.radioValue),r(11),g("ngModel",o.radioValue))},dependencies:[x,f,h,b,C,R],encapsulation:2})}}return i})();var Y=(()=>{class i{constructor(){this.radioValue="A"}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio-solid"]],decls:9,vars:1,consts:[["nzButtonStyle","solid",3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","A"],["nz-radio-button","","nzValue","B"],["nz-radio-button","","nzValue","C"],["nz-radio-button","","nzValue","D"]],template:function(a,o){a&1&&(e(0,"nz-radio-group",0),E("ngModelChange",function(d){return S(o.radioValue,d)||(o.radioValue=d),d}),e(1,"label",1),t(2,"Hangzhou"),n(),e(3,"label",2),t(4,"Shanghai"),n(),e(5,"label",3),t(6,"Beijing"),n(),e(7,"label",4),t(8,"Chengdu"),n()()),a&2&&g("ngModel",o.radioValue)},dependencies:[x,f,h,b,C,R],encapsulation:2})}}return i})();var me=(()=>{class i{constructor(){this.expanded=!1}goLink(m){window&&(window.location.hash=m)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(m=>m.expandCode(this.expanded))}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio"]],viewQuery:function(a,o){if(a&1&&v(F,5),a&2){let s;k(s=I())&&(o.codeBoxes=s)}},decls:364,vars:43,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-radio-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-radio-demo-disable","nzTitle","\u4E0D\u53EF\u7528"],["nzHref","#components-radio-demo-radiogroup","nzTitle","\u5355\u9009\u7EC4\u5408"],["nzHref","#components-radio-demo-radiogroup-more","nzTitle","RadioGroup \u5782\u76F4"],["nzHref","#components-radio-demo-radiogroup-options","nzTitle","RadioGroup \u7EC4\u5408 - \u914D\u7F6E\u65B9\u5F0F"],["nzHref","#components-radio-demo-radiobutton","nzTitle","\u6309\u94AE\u6837\u5F0F"],["nzHref","#components-radio-demo-radiogroup-with-name","nzTitle","\u5355\u9009\u7EC4\u5408 - \u914D\u5408 name \u4F7F\u7528"],["nzHref","#components-radio-demo-size","nzTitle","\u5927\u5C0F"],["nzHref","#components-radio-demo-solid","nzTitle","\u586B\u5E95\u7684\u6309\u94AE\u6837\u5F0F"],["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/radio/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","\u57FA\u672C","nzSelector","nz-demo-radio-basic","nzGenerateCommand","ng g ng-zorro-antd:radio-basic <name>","nzComponentName","NzDemoRadioBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u5355\u9009\u7EC4\u5408","nzSelector","nz-demo-radio-radiogroup","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup <name>","nzComponentName","NzDemoRadioRadiogroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","RadioGroup \u7EC4\u5408 - \u914D\u7F6E\u65B9\u5F0F","nzSelector","nz-demo-radio-radiogroup-options","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup-options <name>","nzComponentName","NzDemoRadioRadiogroupOptionsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5355\u9009\u7EC4\u5408 - \u914D\u5408 name \u4F7F\u7528","nzSelector","nz-demo-radio-radiogroup-with-name","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup-with-name <name>","nzComponentName","NzDemoRadioRadiogroupWithNameComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u586B\u5E95\u7684\u6309\u94AE\u6837\u5F0F","nzSelector","nz-demo-radio-solid","nzGenerateCommand","ng g ng-zorro-antd:radio-solid <name>","nzComponentName","NzDemoRadioSolidComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u4E0D\u53EF\u7528","nzSelector","nz-demo-radio-disable","nzGenerateCommand","ng g ng-zorro-antd:radio-disable <name>","nzComponentName","NzDemoRadioDisableComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","RadioGroup \u5782\u76F4","nzSelector","nz-demo-radio-radiogroup-more","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup-more <name>","nzComponentName","NzDemoRadioRadiogroupMoreComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6309\u94AE\u6837\u5F0F","nzSelector","nz-demo-radio-radiobutton","nzGenerateCommand","ng g ng-zorro-antd:radio-radiobutton <name>","nzComponentName","NzDemoRadioRadiobuttonComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5927\u5C0F","nzSelector","nz-demo-radio-size","nzGenerateCommand","ng g ng-zorro-antd:radio-size <name>","nzComponentName","NzDemoRadioSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","[nz-radio]-|-[nz-radio-button]"],[1,"api-type-label","directive"],["onclick","window.location.hash = '[nz-radio]-|-[nz-radio-button]'",1,"anchor"],["id","nz-radio-group"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-radio-group'",1,"anchor"],["id","\u65B9\u6CD5"],["onclick","window.location.hash = '\u65B9\u6CD5'",1,"anchor"],["id","[nz-radio]"],["onclick","window.location.hash = '[nz-radio]'",1,"anchor"]],template:function(a,o){a&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),y("nzClick",function(d){return o.goLink(d)}),u(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11),n()(),e(13,"section",12)(14,"h1"),t(15,"Radio"),e(16,"span",13),t(17,"\u5355\u9009\u6846"),n(),u(18,"span",14),e(19,"a",15),u(20,"nz-icon",16),n()(),e(21,"section",12),z(),e(22,"p"),t(23,"\u5355\u9009\u6846\u3002"),n(),e(24,"h2",17)(25,"span"),t(26,"\u4F55\u65F6\u4F7F\u7528"),n(),e(27,"a",18),t(28,"#"),n()(),e(29,"ul")(30,"li"),t(31,"\u7528\u4E8E\u5728\u591A\u4E2A\u5907\u9009\u9879\u4E2D\u9009\u4E2D\u5355\u4E2A\u72B6\u6001\u3002"),n(),e(32,"li"),t(33,"\u548C Select \u7684\u533A\u522B\u662F\uFF0CRadio \u6240\u6709\u9009\u9879\u9ED8\u8BA4\u53EF\u89C1\uFF0C\u65B9\u4FBF\u7528\u6237\u5728\u6BD4\u8F83\u4E2D\u9009\u62E9\uFF0C\u56E0\u6B64\u9009\u9879\u4E0D\u5B9C\u8FC7\u591A\u3002"),n()(),e(34,"pre",19)(35,"code")(36,"span",20),t(37,"import"),n(),t(38," "),e(39,"span",21),t(40,"{"),n(),t(41," NzRadioModule "),e(42,"span",21),t(43,"}"),n(),t(44," "),e(45,"span",20),t(46,"from"),n(),t(47," "),e(48,"span",22),t(49,"'ng-zorro-antd/radio'"),n(),e(50,"span",21),t(51,";"),n()()(),p(),n(),e(52,"h2")(53,"span"),t(54,"\u4EE3\u7801\u6F14\u793A"),n(),e(55,"span",23),y("click",function(){return o.expandAllCode()}),n()()(),e(56,"div",24)(57,"div",25)(58,"nz-code-box",26),u(59,"nz-demo-radio-basic",27),e(60,"div",28),z(),e(61,"p"),t(62,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),n(),p(),n()(),e(63,"nz-code-box",29),u(64,"nz-demo-radio-radiogroup",27),e(65,"div",28),z(),e(66,"p"),t(67,"\u4E00\u7EC4\u4E92\u65A5\u7684 "),e(68,"code"),t(69,"nz-radio"),n(),t(70," \u914D\u5408\u4F7F\u7528\u3002"),n(),p(),n()(),e(71,"nz-code-box",30),u(72,"nz-demo-radio-radiogroup-options",27),e(73,"div",28),z(),e(74,"p"),t(75,"\u901A\u8FC7\u914D\u7F6E "),e(76,"code"),t(77,"options"),n(),t(78," \u53C2\u6570\u6765\u6E32\u67D3\u5355\u9009\u6846\u3002"),n(),p(),n()(),e(79,"nz-code-box",31),u(80,"nz-demo-radio-radiogroup-with-name",27),e(81,"div",28),z(),e(82,"p"),t(83,"\u53EF\u4EE5\u4E3A "),e(84,"code"),t(85,"nz-radio-group"),n(),t(86," \u914D\u7F6E "),e(87,"code"),t(88,"nzName"),n(),t(89," \u53C2\u6570\uFF0C\u4E3A\u7EC4\u5408\u5185\u7684 input \u5143\u7D20\u8D4B\u4E88\u76F8\u540C\u7684 "),e(90,"code"),t(91,"name"),n(),t(92," \u5C5E\u6027\uFF0C\u4F7F\u6D4F\u89C8\u5668\u628A "),e(93,"code"),t(94,"nz-radio-group"),n(),t(95," \u4E0B\u7684 "),e(96,"code"),t(97,"nz-radio"),n(),t(98," \u771F\u6B63\u770B\u4F5C\u662F\u4E00\u7EC4\uFF08\u4F8B\u5982\u53EF\u4EE5\u901A\u8FC7\u65B9\u5411\u952E\u59CB\u7EC8"),e(99,"strong"),t(100,"\u5728\u540C\u4E00\u7EC4\u5185"),n(),t(101,"\u66F4\u6539\u9009\u9879\uFF09\u3002"),n(),p(),n()(),e(102,"nz-code-box",32),u(103,"nz-demo-radio-solid",27),e(104,"div",28),z(),e(105,"p"),t(106,"\u5B9E\u8272\u586B\u5E95\u7684\u5355\u9009\u6309\u94AE\u6837\u5F0F\u3002"),n(),p(),n()()(),e(107,"div",25)(108,"nz-code-box",33),u(109,"nz-demo-radio-disable",27),e(110,"div",28),z(),e(111,"p")(112,"code"),t(113,"nz-radio"),n(),t(114," \u4E0D\u53EF\u7528\u3002"),n(),p(),n()(),e(115,"nz-code-box",34),u(116,"nz-demo-radio-radiogroup-more",27),e(117,"div",28),z(),e(118,"p"),t(119,"\u5782\u76F4\u7684 "),e(120,"code"),t(121,"nz-radio-group"),n(),t(122,"\uFF0C\u914D\u5408\u66F4\u591A\u8F93\u5165\u6846\u9009\u9879\u3002"),n(),p(),n()(),e(123,"nz-code-box",35),u(124,"nz-demo-radio-radiobutton",27),e(125,"div",28),z(),e(126,"p"),t(127,"\u6309\u94AE\u6837\u5F0F\u7684\u5355\u9009\u7EC4\u5408\u3002"),n(),p(),n()(),e(128,"nz-code-box",36),u(129,"nz-demo-radio-size",27),e(130,"div",28),z(),e(131,"p"),t(132,"\u5927\u4E2D\u5C0F\u4E09\u79CD\u7EC4\u5408\uFF0C\u53EF\u4EE5\u548C\u8868\u5355\u8F93\u5165\u6846\u8FDB\u884C\u5BF9\u5E94\u914D\u5408\u3002"),n(),p(),n()()()(),e(133,"section",37),z(),e(134,"h2",38)(135,"span"),t(136,"API"),n(),e(137,"a",39),t(138,"#"),n()(),e(139,"h3",40)(140,"span"),t(141,"[nz-radio] | [nz-radio-button]"),n(),e(142,"label",41),t(143,"directive"),n(),e(144,"a",42),t(145,"#"),n()(),e(146,"table")(147,"thead")(148,"tr")(149,"th"),t(150,"\u53C2\u6570"),n(),e(151,"th"),t(152,"\u8BF4\u660E"),n(),e(153,"th"),t(154,"\u7C7B\u578B"),n(),e(155,"th"),t(156,"\u9ED8\u8BA4\u503C"),n()()(),e(157,"tbody")(158,"tr")(159,"td")(160,"code"),t(161,"[nzAutoFocus]"),n()(),e(162,"td"),t(163,"\u81EA\u52A8\u83B7\u53D6\u7126\u70B9"),n(),e(164,"td")(165,"code"),t(166,"boolean"),n()(),e(167,"td")(168,"code"),t(169,"false"),n()()(),e(170,"tr")(171,"td")(172,"code"),t(173,"[nzDisabled]"),n()(),e(174,"td"),t(175,"\u8BBE\u5B9A disable \u72B6\u6001"),n(),e(176,"td")(177,"code"),t(178,"boolean"),n()(),e(179,"td")(180,"code"),t(181,"false"),n()()(),e(182,"tr")(183,"td")(184,"code"),t(185,"[ngModel]"),n()(),e(186,"td"),t(187,"\u6307\u5B9A\u5F53\u524D\u662F\u5426\u9009\u4E2D\uFF0C\u53EF\u53CC\u5411\u7ED1\u5B9A"),n(),e(188,"td")(189,"code"),t(190,"boolean"),n()(),e(191,"td")(192,"code"),t(193,"false"),n()()(),e(194,"tr")(195,"td")(196,"code"),t(197,"[nzValue]"),n()(),e(198,"td"),t(199,"\u8BBE\u7F6E value\uFF0C\u4E0E "),e(200,"code"),t(201,"nz-radio-group"),n(),t(202," \u914D\u5408\u4F7F\u7528"),n(),e(203,"td")(204,"code"),t(205,"any"),n()(),e(206,"td"),t(207,"-"),n()(),e(208,"tr")(209,"td")(210,"code"),t(211,"(ngModelChange)"),n()(),e(212,"td"),t(213,"\u9009\u4E2D\u53D8\u5316\u65F6\u56DE\u8C03"),n(),e(214,"td")(215,"code"),t(216,"EventEmitter<boolean>"),n()(),e(217,"td"),t(218,"-"),n()()()(),e(219,"h3",43)(220,"span"),t(221,"nz-radio-group"),n(),e(222,"label",44),t(223,"component"),n(),e(224,"a",45),t(225,"#"),n()(),e(226,"p"),t(227,"\u5355\u9009\u6846\u7EC4\u5408\uFF0C\u7528\u4E8E\u5305\u88F9\u4E00\u7EC4 "),e(228,"code"),t(229,"nz-radio"),n(),t(230,"\u3002"),n(),e(231,"table")(232,"thead")(233,"tr")(234,"th"),t(235,"\u53C2\u6570"),n(),e(236,"th"),t(237,"\u8BF4\u660E"),n(),e(238,"th"),t(239,"\u7C7B\u578B"),n(),e(240,"th"),t(241,"\u9ED8\u8BA4\u503C"),n()()(),e(242,"tbody")(243,"tr")(244,"td")(245,"code"),t(246,"[ngModel]"),n()(),e(247,"td"),t(248,"\u6307\u5B9A\u9009\u4E2D\u7684 "),e(249,"code"),t(250,"nz-radio"),n(),t(251," \u7684 value \u503C"),n(),e(252,"td")(253,"code"),t(254,"any"),n()(),e(255,"td"),t(256,"-"),n()(),e(257,"tr")(258,"td")(259,"code"),t(260,"[nzName]"),n()(),e(261,"td")(262,"code"),t(263,"nz-radio-group"),n(),t(264," \u4E0B\u6240\u6709 "),e(265,"code"),t(266,'input[type="radio"]'),n(),t(267," \u7684 "),e(268,"code"),t(269,"name"),n(),t(270," \u5C5E\u6027"),n(),e(271,"td")(272,"code"),t(273,"string"),n()(),e(274,"td"),t(275,"-"),n()(),e(276,"tr")(277,"td")(278,"code"),t(279,"[nzDisabled]"),n()(),e(280,"td"),t(281,"\u8BBE\u5B9A\u6240\u6709 "),e(282,"code"),t(283,"nz-radio"),n(),t(284," disable \u72B6\u6001"),n(),e(285,"td")(286,"code"),t(287,"boolean"),n()(),e(288,"td")(289,"code"),t(290,"false"),n()()(),e(291,"tr")(292,"td")(293,"code"),t(294,"[nzSize]"),n()(),e(295,"td"),t(296,"\u5927\u5C0F\uFF0C\u53EA\u5BF9\u6309\u94AE\u6837\u5F0F\u751F\u6548"),n(),e(297,"td")(298,"code"),t(299,"'large' | 'small' | 'default'"),n()(),e(300,"td")(301,"code"),t(302,"'default'"),n()()(),e(303,"tr")(304,"td")(305,"code"),t(306,"(ngModelChange)"),n()(),e(307,"td"),t(308,"\u9009\u4E2D\u53D8\u5316\u65F6\u56DE\u8C03"),n(),e(309,"td")(310,"code"),t(311,"EventEmitter<boolean>"),n()(),e(312,"td"),t(313,"-"),n()(),e(314,"tr")(315,"td")(316,"code"),t(317,"[nzButtonStyle]"),n()(),e(318,"td"),t(319,"RadioButton \u7684\u98CE\u683C\u6837\u5F0F\uFF0C\u76EE\u524D\u6709\u63CF\u8FB9\u548C\u586B\u8272\u4E24\u79CD\u98CE\u683C"),n(),e(320,"td")(321,"code"),t(322,"'outline' | 'solid'"),n()(),e(323,"td")(324,"code"),t(325,"'outline'"),n()()()()(),e(326,"h2",46)(327,"span"),t(328,"\u65B9\u6CD5"),n(),e(329,"a",47),t(330,"#"),n()(),e(331,"h3",48)(332,"span"),t(333,"[nz-radio]"),n(),e(334,"label",41),t(335,"directive"),n(),e(336,"a",49),t(337,"#"),n()(),e(338,"p"),t(339,"\u53EF\u4EE5\u901A\u8FC7 "),e(340,"code"),t(341,"ViewChild"),n(),t(342," \u7B49\u5176\u4ED6\u65B9\u5F0F\u83B7\u53D6 "),e(343,"code"),t(344,"NzRadioComponent"),n(),t(345," \u4F7F\u7528\u4EE5\u4E0B\u65B9\u6CD5"),n(),e(346,"table")(347,"thead")(348,"tr")(349,"th"),t(350,"\u540D\u79F0"),n(),e(351,"th"),t(352,"\u63CF\u8FF0"),n()()(),e(353,"tbody")(354,"tr")(355,"td"),t(356,"blur()"),n(),e(357,"td"),t(358,"\u79FB\u9664\u7126\u70B9"),n()(),e(359,"tr")(360,"td"),t(361,"focus()"),n(),e(362,"td"),t(363,"\u83B7\u53D6\u7126\u70B9"),n()()()(),p(),n()()),a&2&&(r(),l("nzOffsetTop",16),r(),l("nzAffix",!1),r(54),l("nzGutter",16),r(),l("nzXl",12)("nzSpan",24),r(),l("nzId","components-radio-demo-basic")("nzLink","components-radio-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/basic.md"),r(5),l("nzId","components-radio-demo-radiogroup")("nzLink","components-radio-demo-radiogroup")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup.md"),r(8),l("nzId","components-radio-demo-radiogroup-options")("nzLink","components-radio-demo-radiogroup-options")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup-options.md"),r(8),l("nzId","components-radio-demo-radiogroup-with-name")("nzLink","components-radio-demo-radiogroup-with-name")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup-with-name.md"),r(23),l("nzId","components-radio-demo-solid")("nzLink","components-radio-demo-solid")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/solid.md"),r(5),l("nzXl",12)("nzSpan",24),r(),l("nzId","components-radio-demo-disable")("nzLink","components-radio-demo-disable")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/disable.md"),r(7),l("nzId","components-radio-demo-radiogroup-more")("nzLink","components-radio-demo-radiogroup-more")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup-more.md"),r(8),l("nzId","components-radio-demo-radiobutton")("nzLink","components-radio-demo-radiobutton")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiobutton.md"),r(5),l("nzId","components-radio-demo-size")("nzLink","components-radio-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/size.md"))},dependencies:[Z,F,L,W,O,G,A,V,T,P,Q,j,X,U,q,J,K,Y],encapsulation:2})}}return i})();var le=(()=>{class i{constructor(){this.expanded=!1}goLink(m){window&&(window.location.hash=m)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(m=>m.expandCode(this.expanded))}static{this.\u0275fac=function(a){return new(a||i)}}static{this.\u0275cmp=c({type:i,selectors:[["nz-demo-radio"]],viewQuery:function(a,o){if(a&1&&v(F,5),a&2){let s;k(s=I())&&(o.codeBoxes=s)}},decls:353,vars:43,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-radio-demo-basic","nzTitle","Basic"],["nzHref","#components-radio-demo-disable","nzTitle","Disabled"],["nzHref","#components-radio-demo-radiogroup","nzTitle","Radio Group"],["nzHref","#components-radio-demo-radiogroup-more","nzTitle","Vertical RadioGroup"],["nzHref","#components-radio-demo-radiogroup-options","nzTitle","RadioGroup group - optional"],["nzHref","#components-radio-demo-radiobutton","nzTitle","Radio Style"],["nzHref","#components-radio-demo-radiogroup-with-name","nzTitle","RadioGroup with name"],["nzHref","#components-radio-demo-size","nzTitle","Size"],["nzHref","#components-radio-demo-solid","nzTitle","Solid radio button"],["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/radio/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-radio-basic","nzGenerateCommand","ng g ng-zorro-antd:radio-basic <name>","nzComponentName","NzDemoRadioBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Radio Group","nzSelector","nz-demo-radio-radiogroup","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup <name>","nzComponentName","NzDemoRadioRadiogroupComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","RadioGroup group - optional","nzSelector","nz-demo-radio-radiogroup-options","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup-options <name>","nzComponentName","NzDemoRadioRadiogroupOptionsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","RadioGroup with name","nzSelector","nz-demo-radio-radiogroup-with-name","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup-with-name <name>","nzComponentName","NzDemoRadioRadiogroupWithNameComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Solid radio button","nzSelector","nz-demo-radio-solid","nzGenerateCommand","ng g ng-zorro-antd:radio-solid <name>","nzComponentName","NzDemoRadioSolidComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Disabled","nzSelector","nz-demo-radio-disable","nzGenerateCommand","ng g ng-zorro-antd:radio-disable <name>","nzComponentName","NzDemoRadioDisableComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Vertical RadioGroup","nzSelector","nz-demo-radio-radiogroup-more","nzGenerateCommand","ng g ng-zorro-antd:radio-radiogroup-more <name>","nzComponentName","NzDemoRadioRadiogroupMoreComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Radio Style","nzSelector","nz-demo-radio-radiobutton","nzGenerateCommand","ng g ng-zorro-antd:radio-radiobutton <name>","nzComponentName","NzDemoRadioRadiobuttonComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Size","nzSelector","nz-demo-radio-size","nzGenerateCommand","ng g ng-zorro-antd:radio-size <name>","nzComponentName","NzDemoRadioSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","[nz-radio]-|-[nz-radio-button]"],[1,"api-type-label","directive"],["onclick","window.location.hash = '[nz-radio]-|-[nz-radio-button]'",1,"anchor"],["id","nz-radio-group"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-radio-group'",1,"anchor"],["id","methods"],["onclick","window.location.hash = 'methods'",1,"anchor"],["id","[nz-radio]"],["onclick","window.location.hash = '[nz-radio]'",1,"anchor"]],template:function(a,o){a&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),y("nzClick",function(d){return o.goLink(d)}),u(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11),n()(),e(13,"section",12)(14,"h1"),t(15,"Radio"),u(16,"span",13)(17,"span",14),e(18,"a",15),u(19,"nz-icon",16),n()(),e(20,"section",12),z(),e(21,"p"),t(22,"Radio."),n(),e(23,"h2",17)(24,"span"),t(25,"When To Use"),n(),e(26,"a",18),t(27,"#"),n()(),e(28,"ul")(29,"li"),t(30,"Used to select a single state in multiple options."),n(),e(31,"li"),t(32,"The difference between Select is that Radio is visible to user and can facilitate the comparison of choice. So, when you want to use Radio, option should not be too much."),n()(),e(33,"pre",19)(34,"code")(35,"span",20),t(36,"import"),n(),t(37," "),e(38,"span",21),t(39,"{"),n(),t(40," NzRadioModule "),e(41,"span",21),t(42,"}"),n(),t(43," "),e(44,"span",20),t(45,"from"),n(),t(46," "),e(47,"span",22),t(48,"'ng-zorro-antd/radio'"),n(),e(49,"span",21),t(50,";"),n()()(),p(),n(),e(51,"h2")(52,"span"),t(53,"Examples"),n(),e(54,"span",23),y("click",function(){return o.expandAllCode()}),n()()(),e(55,"div",24)(56,"div",25)(57,"nz-code-box",26),u(58,"nz-demo-radio-basic",27),e(59,"div",28),z(),e(60,"p"),t(61,"The simplest use."),n(),p(),n()(),e(62,"nz-code-box",29),u(63,"nz-demo-radio-radiogroup",27),e(64,"div",28),z(),e(65,"p"),t(66,"A group of "),e(67,"code"),t(68,"nz-radio"),n(),t(69," components."),n(),p(),n()(),e(70,"nz-code-box",30),u(71,"nz-demo-radio-radiogroup-options",27),e(72,"div",28),z(),e(73,"p"),t(74,"Render radios by configuring "),e(75,"code"),t(76,"options"),n(),t(77,"."),n(),p(),n()(),e(78,"nz-code-box",31),u(79,"nz-demo-radio-radiogroup-with-name",27),e(80,"div",28),z(),e(81,"p"),t(82,"Passing the "),e(83,"code"),t(84,"nzName"),n(),t(85," property to all "),e(86,"code"),t(87,'input[type="radio"]'),n(),t(88," that are in the same RadioGroup. It is usually used to let the browser see your "),e(89,"code"),t(90,"nz-radio-group"),n(),t(91,' as a real "group" and keep the default behavior. For example, using left/right keyboard arrow to change your selection that in the same '),e(92,"code"),t(93,"nz-radio-group"),n(),t(94,"."),n(),p(),n()(),e(95,"nz-code-box",32),u(96,"nz-demo-radio-solid",27),e(97,"div",28),z(),e(98,"p"),t(99,"Solid radio button style."),n(),p(),n()()(),e(100,"div",25)(101,"nz-code-box",33),u(102,"nz-demo-radio-disable",27),e(103,"div",28),z(),e(104,"p")(105,"code"),t(106,"nz-radio"),n(),t(107," unavailable."),n(),p(),n()(),e(108,"nz-code-box",34),u(109,"nz-demo-radio-radiogroup-more",27),e(110,"div",28),z(),e(111,"p"),t(112,"Vertical "),e(113,"code"),t(114,"nz-radio-group"),n(),t(115,", with more radios."),n(),p(),n()(),e(116,"nz-code-box",35),u(117,"nz-demo-radio-radiobutton",27),e(118,"div",28),z(),e(119,"p"),t(120,"The combination of radio button style."),n(),p(),n()(),e(121,"nz-code-box",36),u(122,"nz-demo-radio-size",27),e(123,"div",28),z(),e(124,"p"),t(125,"There are three sizes available: large, medium, and small. It can coordinate with input box."),n(),p(),n()()()(),e(126,"section",37),z(),e(127,"h2",38)(128,"span"),t(129,"API"),n(),e(130,"a",39),t(131,"#"),n()(),e(132,"h3",40)(133,"span"),t(134,"[nz-radio] | [nz-radio-button]"),n(),e(135,"label",41),t(136,"directive"),n(),e(137,"a",42),t(138,"#"),n()(),e(139,"table")(140,"thead")(141,"tr")(142,"th"),t(143,"Property"),n(),e(144,"th"),t(145,"Description"),n(),e(146,"th"),t(147,"Type"),n(),e(148,"th"),t(149,"Default"),n()()(),e(150,"tbody")(151,"tr")(152,"td")(153,"code"),t(154,"[nzAutoFocus]"),n()(),e(155,"td"),t(156,"get focus when component mounted"),n(),e(157,"td")(158,"code"),t(159,"boolean"),n()(),e(160,"td")(161,"code"),t(162,"false"),n()()(),e(163,"tr")(164,"td")(165,"code"),t(166,"[nzDisabled]"),n()(),e(167,"td"),t(168,"Disable radio"),n(),e(169,"td")(170,"code"),t(171,"boolean"),n()(),e(172,"td")(173,"code"),t(174,"false"),n()()(),e(175,"tr")(176,"td")(177,"code"),t(178,"[ngModel]"),n()(),e(179,"td"),t(180,"Specifies whether the radio is selected, double binding"),n(),e(181,"td")(182,"code"),t(183,"boolean"),n()(),e(184,"td")(185,"code"),t(186,"false"),n()()(),e(187,"tr")(188,"td")(189,"code"),t(190,"[nzValue]"),n()(),e(191,"td"),t(192,"use with "),e(193,"code"),t(194,"nz-radio-group"),n()(),e(195,"td")(196,"code"),t(197,"any"),n()(),e(198,"td"),t(199,"-"),n()(),e(200,"tr")(201,"td")(202,"code"),t(203,"(ngModelChange)"),n()(),e(204,"td"),t(205,"The callback function that is triggered when the state changes."),n(),e(206,"td")(207,"code"),t(208,"EventEmitter<boolean>"),n()(),e(209,"td"),t(210,"-"),n()()()(),e(211,"h3",43)(212,"span"),t(213,"nz-radio-group"),n(),e(214,"label",44),t(215,"component"),n(),e(216,"a",45),t(217,"#"),n()(),e(218,"p"),t(219,"radio group\uFF0Cwrap a group of "),e(220,"code"),t(221,"nz-radio"),n(),t(222,"\u3002"),n(),e(223,"table")(224,"thead")(225,"tr")(226,"th"),t(227,"Property"),n(),e(228,"th"),t(229,"Description"),n(),e(230,"th"),t(231,"Type"),n(),e(232,"th"),t(233,"Default"),n()()(),e(234,"tbody")(235,"tr")(236,"td")(237,"code"),t(238,"[ngModel]"),n()(),e(239,"td"),t(240,"current selected "),e(241,"code"),t(242,"nz-radio"),n(),t(243," value, double binding"),n(),e(244,"td")(245,"code"),t(246,"any"),n()(),e(247,"td"),t(248,"-"),n()(),e(249,"tr")(250,"td")(251,"code"),t(252,"[nzName]"),n()(),e(253,"td"),t(254,"The "),e(255,"code"),t(256,"name"),n(),t(257," property of all "),e(258,"code"),t(259,'input[type="radio"]'),n(),t(260," children"),n(),e(261,"td")(262,"code"),t(263,"string"),n()(),e(264,"td"),t(265,"-"),n()(),e(266,"tr")(267,"td")(268,"code"),t(269,"[nzDisabled]"),n()(),e(270,"td"),t(271,"Disable all radio buttons"),n(),e(272,"td")(273,"code"),t(274,"boolean"),n()(),e(275,"td")(276,"code"),t(277,"false"),n()()(),e(278,"tr")(279,"td")(280,"code"),t(281,"[nzSize]"),n()(),e(282,"td"),t(283,"Size, only on radio style"),n(),e(284,"td")(285,"code"),t(286,"'large' | 'small' | 'default'"),n()(),e(287,"td")(288,"code"),t(289,"'default'"),n()()(),e(290,"tr")(291,"td")(292,"code"),t(293,"(ngModelChange)"),n()(),e(294,"td"),t(295,"the callback function when current selected "),e(296,"code"),t(297,"nz-radio"),n(),t(298," value change"),n(),e(299,"td")(300,"code"),t(301,"EventEmitter<string>"),n()(),e(302,"td"),t(303,"-"),n()(),e(304,"tr")(305,"td")(306,"code"),t(307,"[nzButtonStyle]"),n()(),e(308,"td"),t(309,"style type of radio button"),n(),e(310,"td")(311,"code"),t(312,"'outline' | 'solid'"),n()(),e(313,"td")(314,"code"),t(315,"'outline'"),n()()()()(),e(316,"h2",46)(317,"span"),t(318,"Methods"),n(),e(319,"a",47),t(320,"#"),n()(),e(321,"h3",48)(322,"span"),t(323,"[nz-radio]"),n(),e(324,"label",41),t(325,"directive"),n(),e(326,"a",49),t(327,"#"),n()(),e(328,"p"),t(329,"you can get "),e(330,"code"),t(331,"NzRadioComponent"),n(),t(332," via "),e(333,"code"),t(334,"ViewChild"),n()(),e(335,"table")(336,"thead")(337,"tr")(338,"th"),t(339,"Name"),n(),e(340,"th"),t(341,"Description"),n()()(),e(342,"tbody")(343,"tr")(344,"td"),t(345,"blur()"),n(),e(346,"td"),t(347,"remove focus"),n()(),e(348,"tr")(349,"td"),t(350,"focus()"),n(),e(351,"td"),t(352,"get focus"),n()()()(),p(),n()()),a&2&&(r(),l("nzOffsetTop",16),r(),l("nzAffix",!1),r(53),l("nzGutter",16),r(),l("nzXl",12)("nzSpan",24),r(),l("nzId","components-radio-demo-basic")("nzLink","components-radio-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/basic.md"),r(5),l("nzId","components-radio-demo-radiogroup")("nzLink","components-radio-demo-radiogroup")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup.md"),r(8),l("nzId","components-radio-demo-radiogroup-options")("nzLink","components-radio-demo-radiogroup-options")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup-options.md"),r(8),l("nzId","components-radio-demo-radiogroup-with-name")("nzLink","components-radio-demo-radiogroup-with-name")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup-with-name.md"),r(17),l("nzId","components-radio-demo-solid")("nzLink","components-radio-demo-solid")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/solid.md"),r(5),l("nzXl",12)("nzSpan",24),r(),l("nzId","components-radio-demo-disable")("nzLink","components-radio-demo-disable")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/disable.md"),r(7),l("nzId","components-radio-demo-radiogroup-more")("nzLink","components-radio-demo-radiogroup-more")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiogroup-more.md"),r(8),l("nzId","components-radio-demo-radiobutton")("nzLink","components-radio-demo-radiobutton")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/radiobutton.md"),r(5),l("nzId","components-radio-demo-size")("nzLink","components-radio-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/radio/demo/size.md"))},dependencies:[Z,F,L,W,O,G,A,V,T,P,Q,j,X,U,q,J,K,Y],encapsulation:2})}}return i})();var xe=[{path:"en",component:le},{path:"zh",component:me}],yt=xe;export{yt as default};