PageSourceSearch

https://preview-8386-ng-zorro-antd.surge.sh/9693.988b8f52d0284cc0.js

js preview-8386-ng-zorro-antd.surge.sh collected 2026-10-03 14:59:01 UTC 51,467 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[9693],{9693:(S,R,s)=>{s.r(R),s.d(R,{NzDemoRadioModule:()=>J});var a=s(4190),b=s(6242),z=s(7225),h=s(4119),_=s(337);const y=[z.aF,h.sL,_.o7];var m=s(379),o=s(9212),Z=s(5393),D=s(8101),T=s(3185),C=s(8332),F=s(227),q=s(1687),c=s(6223);let A=(()=>{class n{static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-basic"]],decls:2,vars:0,consts:[["nz-radio","","ngModel",""]],template:function(e,i){1&e&&(o.TgZ(0,"label",0),o._uU(1,"Radio"),o.qZA())},dependencies:[c.JJ,c.On,z.Of],encapsulation:2})}return n})();var M=s(2987);let E=(()=>{class n{constructor(){this.disabled=!0}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,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(e,i){1&e&&(o.TgZ(0,"div")(1,"label",0),o._uU(2,"Disabled"),o.qZA(),o._UZ(3,"br"),o.TgZ(4,"label",1),o._uU(5,"Disabled"),o.qZA(),o._UZ(6,"br")(7,"br"),o.TgZ(8,"button",2),o.NdJ("click",function(){return i.disabled=!i.disabled}),o._uU(9,"Toggle disabled"),o.qZA()()),2&e&&(o.xp6(),o.Q6J("nzDisabled",i.disabled),o.xp6(3),o.Q6J("nzDisabled",i.disabled)("ngModel",!0))},dependencies:[c.JJ,c.On,z.Of,h.ix,q.w,M.dQ],encapsulation:2})}return n})(),N=(()=>{class n{constructor(){this.radioValue="A"}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-radiobutton"]],decls:31,vars:3,consts:[[3,"ngModel","ngModelChange"],["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(e,i){1&e&&(o.TgZ(0,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(1,"label",1),o._uU(2,"Hangzhou"),o.qZA(),o.TgZ(3,"label",2),o._uU(4,"Shanghai"),o.qZA(),o.TgZ(5,"label",3),o._uU(6,"Beijing"),o.qZA(),o.TgZ(7,"label",4),o._uU(8,"Chengdu"),o.qZA()(),o._UZ(9,"br")(10,"br"),o.TgZ(11,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(12,"label",1),o._uU(13,"Hangzhou"),o.qZA(),o.TgZ(14,"label",5),o._uU(15,"Shanghai"),o.qZA(),o.TgZ(16,"label",3),o._uU(17,"Beijing"),o.qZA(),o.TgZ(18,"label",4),o._uU(19,"Chengdu"),o.qZA()(),o._UZ(20,"br")(21,"br"),o.TgZ(22,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(23,"label",6),o._uU(24,"Hangzhou"),o.qZA(),o.TgZ(25,"label",5),o._uU(26,"Shanghai"),o.qZA(),o.TgZ(27,"label",7),o._uU(28,"Beijing"),o.qZA(),o.TgZ(29,"label",8),o._uU(30,"Chengdu"),o.qZA()()),2&e&&(o.Q6J("ngModel",i.radioValue),o.xp6(11),o.Q6J("ngModel",i.radioValue),o.xp6(11),o.Q6J("ngModel",i.radioValue))},dependencies:[c.JJ,c.On,z.Of,z.Bq,z.Dg],encapsulation:2})}return n})();var r=s(6814);function H(n,U){1&n&&o._UZ(0,"input",6)}let t=(()=>{class n{constructor(){this.radioValue="A"}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-radiogroup-more"]],decls:10,vars:2,consts:[[3,"ngModel","ngModelChange"],["nz-radio","","nzValue","A"],["nz-radio","","nzValue","B"],["nz-radio","","nzValue","C"],["nz-radio","","nzValue","M"],["type","text","nz-input","",4,"ngIf"],["type","text","nz-input",""]],template:function(e,i){1&e&&(o.TgZ(0,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(1,"label",1),o._uU(2,"Option A"),o.qZA(),o.TgZ(3,"label",2),o._uU(4,"Option B"),o.qZA(),o.TgZ(5,"label",3),o._uU(6,"Option C"),o.qZA(),o.TgZ(7,"label",4),o._uU(8," More... "),o.YNc(9,H,1,0,"input",5),o.qZA()()),2&e&&(o.Q6J("ngModel",i.radioValue),o.xp6(9),o.Q6J("ngIf","M"===i.radioValue))},dependencies:[r.O5,c.JJ,c.On,z.Of,z.Dg,_.Zp],styles:["[nz-radio][_ngcontent-%COMP%]{display:block;height:32px;line-height:32px}input[_ngcontent-%COMP%]{width:100px;margin-left:10px}"]})}return n})();function l(n,U){if(1&n&&(o.TgZ(0,"label",2),o._uU(1),o.qZA()),2&n){const u=U.$implicit;o.Q6J("nzValue",u.value),o.xp6(),o.Oqu(u.label)}}function d(n,U){if(1&n&&(o.TgZ(0,"label",2),o._uU(1),o.qZA()),2&n){const u=U.$implicit;o.Q6J("nzValue",u.value),o.xp6(),o.Oqu(u.label)}}function f(n,U){if(1&n&&(o.TgZ(0,"label",2),o._uU(1),o.qZA()),2&n){const u=U.$implicit;o.Q6J("nzValue",u.value),o.xp6(),o.Oqu(u.label)}}let B=(()=>{class n{constructor(){this.radioValue="Apple",this.options=[{label:"Apple",value:"Apple"},{label:"Pear",value:"Pear"},{label:"Orange",value:"Orange"}]}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-radiogroup-options"]],decls:6,vars:6,consts:[[3,"ngModel","ngModelChange"],["nz-radio","",3,"nz
1Value",4,"ngFor","ngForOf"],["nz-radio","",3,"nzValue"]],template:function(e,i){1&e&&(o.TgZ(0,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.YNc(1,l,2,2,"label",1),o.qZA(),o.TgZ(2,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.YNc(3,d,2,2,"label",1),o.qZA(),o.TgZ(4,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.YNc(5,f,2,2,"label",1),o.qZA()),2&e&&(o.Q6J("ngModel",i.radioValue),o.xp6(),o.Q6J("ngForOf",i.options),o.xp6(),o.Q6J("ngModel",i.radioValue),o.xp6(),o.Q6J("ngForOf",i.options),o.xp6(),o.Q6J("ngModel",i.radioValue),o.xp6(),o.Q6J("ngForOf",i.options))},dependencies:[r.sg,c.JJ,c.On,z.Of,z.Dg],encapsulation:2})}return n})(),v=(()=>{class n{constructor(){this.radioValue="A"}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-radiogroup-with-name"]],decls:9,vars:1,consts:[["nzName","radiogroup",3,"ngModel","ngModelChange"],["nz-radio","","nzValue","A"],["nz-radio","","nzValue","B"],["nz-radio","","nzValue","C"],["nz-radio","","nzValue","D"]],template:function(e,i){1&e&&(o.TgZ(0,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(1,"label",1),o._uU(2,"A"),o.qZA(),o.TgZ(3,"label",2),o._uU(4,"B"),o.qZA(),o.TgZ(5,"label",3),o._uU(6,"C"),o.qZA(),o.TgZ(7,"label",4),o._uU(8,"D"),o.qZA()()),2&e&&o.Q6J("ngModel",i.radioValue)},dependencies:[c.JJ,c.On,z.Of,z.Dg],encapsulation:2})}return n})(),I=(()=>{class n{constructor(){this.radioValue="A"}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-radiogroup"]],decls:9,vars:1,consts:[[3,"ngModel","ngModelChange"],["nz-radio","","nzValue","A"],["nz-radio","","nzValue","B"],["nz-radio","","nzValue","C"],["nz-radio","","nzValue","D"]],template:function(e,i){1&e&&(o.TgZ(0,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(1,"label",1),o._uU(2,"A"),o.qZA(),o.TgZ(3,"label",2),o._uU(4,"B"),o.qZA(),o.TgZ(5,"label",3),o._uU(6,"C"),o.qZA(),o.TgZ(7,"label",4),o._uU(8,"D"),o.qZA()()),2&e&&o.Q6J("ngModel",i.radioValue)},dependencies:[c.JJ,c.On,z.Of,z.Dg],encapsulation:2})}return n})(),k=(()=>{class n{constructor(){this.radioValue="A"}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-size"]],decls:31,vars:3,consts:[["nzSize","large",3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","A"],["nz-radio-button","","nzValue","B"],["nz-radio-button","","nzValue","C"],["nz-radio-button","","nzValue","D"],[3,"ngModel","ngModelChange"],["nzSize","small",3,"ngModel","ngModelChange"]],template:function(e,i){1&e&&(o.TgZ(0,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(1,"label",1),o._uU(2,"Hangzhou"),o.qZA(),o.TgZ(3,"label",2),o._uU(4,"Shanghai"),o.qZA(),o.TgZ(5,"label",3),o._uU(6,"Beijing"),o.qZA(),o.TgZ(7,"label",4),o._uU(8,"Chengdu"),o.qZA()(),o._UZ(9,"br")(10,"br"),o.TgZ(11,"nz-radio-group",5),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(12,"label",1),o._uU(13,"Hangzhou"),o.qZA(),o.TgZ(14,"label",2),o._uU(15,"Shanghai"),o.qZA(),o.TgZ(16,"label",3),o._uU(17,"Beijing"),o.qZA(),o.TgZ(18,"label",4),o._uU(19,"Chengdu"),o.qZA()(),o._UZ(20,"br")(21,"br"),o.TgZ(22,"nz-radio-group",6),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(23,"label",1),o._uU(24,"Hangzhou"),o.qZA(),o.TgZ(25,"label",2),o._uU(26,"Shanghai"),o.qZA(),o.TgZ(27,"label",3),o._uU(28,"Beijing"),o.qZA(),o.TgZ(29,"label",4),o._uU(30,"Chengdu"),o.qZA()()),2&e&&(o.Q6J("ngModel",i.radioValue),o.xp6(11),o.Q6J("ngModel",i.radioValue),o.xp6(11),o.Q6J("ngModel",i.radioValue))},dependencies:[c.JJ,c.On,z.Of,z.Bq,z.Dg],encapsulation:2})}return n})(),O=(()=>{class n{constructor(){this.radioValue="A"}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio-solid"]],decls:9,vars:1,consts:[["nzButtonStyle","solid",3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","A"],["nz-radio-button","","nzValue","B"],["nz-radio-button","","nzValue","C"],["nz-radio-button","","nzValue","D"]],template:function(e,i){1&e&&(o.TgZ(0,"nz-radio-group",0),o.NdJ("ngModelChange",function(g){return i.radioValue=g}),o.TgZ(1,"label",1),o._uU(2,"Hangzhou"),o.qZA(),o.TgZ(3,"label",2),o._uU(4,"Shanghai"),o.qZA(),o.TgZ(5,"label",3),o._uU(6,"Beijing"),o.qZA(),o.TgZ(7,"label",4),o._uU(8,"Chengdu"),o.qZA()()),2&e&&o.Q6J("ngModel",i.radioValue)},dependencies:[c.JJ,c.On,z.Of,z.Bq,z.Dg],encapsulation:2})}return n})(),w=(()=>{class n{constructor(){this.expanded=!1}goLink(u){window&&(window.location.hash=u)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
1h(u=>{u.nzExpanded=this.expanded,u.expandCode(this.expanded),u.check()})}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio"]],viewQuery:function(e,i){if(1&e&&o.Gf(m.G,5),2&e){let p;o.iGM(p=o.CRH())&&(i.codeBoxes=p)}},decls:370,vars:43,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["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"],["nz-icon","","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]:standalone"],[1,"api-type-label","directive"],[1,"api-type-label","standalone"],["onclick","window.location.hash = '[nz-radio]-|-[nz-radio-button]:standalone'",1,"anchor"],["id","nz-radio-group:standalone"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-radio-group:standalone'",1,"anchor"],["id","\u65b9\u6cd5"],["onclick","window.location.hash = '\u65b9\u6cd5'",1,"anchor"],["id","[nz-radio]:standalone"],["onclick","window.location.hash = '[nz-radio]:standalone'",1,"anchor"]],template:function(e,i){1&e&&(o.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),o.NdJ("nzClick",function(g){return i.goLink(g)}),o._UZ(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),o.qZA()(),o.TgZ(13,"section",12)(14,"h1"),o._uU(15,"Radio"),o.TgZ(16,"span",13),o._uU(17,"\u5355\u9009\u6846"),o.qZA(),o._UZ(18,"span",14),o.TgZ(19,"a",15),o._UZ(20,"span",16),o.qZA()(),o.TgZ(21,"section",12),o.IAx(),o.TgZ(22,"p"),o._uU(23,"\u5355\u9009\u6846\u3002"),o.qZA(),o.TgZ(24,"h2",17)(25,"span"),o._uU(26,"\u4f55\u65f6\u4f7f\u7528"),o.qZA(),o.TgZ(27,"a",18),o._uU(28,"#"),o.qZA()(),o.TgZ(29,"ul")(30,"li"),o._uU(31,"\u7528\u4e8e\u5728\u591a\u4e2a\u5907\u9009\u9879\u4e2d\u9009\u4e2d\u5355\u4e2a\u72b6\u6001\u3002"),o.qZA(),o.TgZ(32,"li"),o._uU(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\u9
1009\u9879\u4e0d\u5b9c\u8fc7\u591a\u3002"),o.qZA()(),o.TgZ(34,"pre",19)(35,"code")(36,"span",20),o._uU(37,"import"),o.qZA(),o._uU(38," "),o.TgZ(39,"span",21),o._uU(40,"{"),o.qZA(),o._uU(41," NzRadioModule "),o.TgZ(42,"span",21),o._uU(43,"}"),o.qZA(),o._uU(44," "),o.TgZ(45,"span",20),o._uU(46,"from"),o.qZA(),o._uU(47," "),o.TgZ(48,"span",22),o._uU(49,"'ng-zorro-antd/radio'"),o.qZA(),o.TgZ(50,"span",21),o._uU(51,";"),o.qZA()()(),o.fQ9(),o.qZA(),o.TgZ(52,"h2")(53,"span"),o._uU(54,"\u4ee3\u7801\u6f14\u793a"),o.qZA(),o.TgZ(55,"span",23),o.NdJ("click",function(){return i.expandAllCode()}),o.qZA()()(),o.TgZ(56,"div",24)(57,"div",25)(58,"nz-code-box",26),o._UZ(59,"nz-demo-radio-basic",27),o.TgZ(60,"div",28),o.IAx(),o.TgZ(61,"p"),o._uU(62,"\u6700\u7b80\u5355\u7684\u7528\u6cd5\u3002"),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(63,"nz-code-box",29),o._UZ(64,"nz-demo-radio-radiogroup",27),o.TgZ(65,"div",28),o.IAx(),o.TgZ(66,"p"),o._uU(67,"\u4e00\u7ec4\u4e92\u65a5\u7684 "),o.TgZ(68,"code"),o._uU(69,"nz-radio"),o.qZA(),o._uU(70," \u914d\u5408\u4f7f\u7528\u3002"),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(71,"nz-code-box",30),o._UZ(72,"nz-demo-radio-radiogroup-options",27),o.TgZ(73,"div",28),o.IAx(),o.TgZ(74,"p"),o._uU(75,"\u901a\u8fc7\u914d\u7f6e "),o.TgZ(76,"code"),o._uU(77,"options"),o.qZA(),o._uU(78," \u53c2\u6570\u6765\u6e32\u67d3\u5355\u9009\u6846\u3002"),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(79,"nz-code-box",31),o._UZ(80,"nz-demo-radio-radiogroup-with-name",27),o.TgZ(81,"div",28),o.IAx(),o.TgZ(82,"p"),o._uU(83,"\u53ef\u4ee5\u4e3a "),o.TgZ(84,"code"),o._uU(85,"nz-radio-group"),o.qZA(),o._uU(86," \u914d\u7f6e "),o.TgZ(87,"code"),o._uU(88,"nzName"),o.qZA(),o._uU(89," \u53c2\u6570\uff0c\u4e3a\u7ec4\u5408\u5185\u7684 input \u5143\u7d20\u8d4b\u4e88\u76f8\u540c\u7684 "),o.TgZ(90,"code"),o._uU(91,"name"),o.qZA(),o._uU(92," \u5c5e\u6027\uff0c\u4f7f\u6d4f\u89c8\u5668\u628a "),o.TgZ(93,"code"),o._uU(94,"nz-radio-group"),o.qZA(),o._uU(95," \u4e0b\u7684 "),o.TgZ(96,"code"),o._uU(97,"nz-radio"),o.qZA(),o._uU(98," \u771f\u6b63\u770b\u4f5c\u662f\u4e00\u7ec4\uff08\u4f8b\u5982\u53ef\u4ee5\u901a\u8fc7\u65b9\u5411\u952e\u59cb\u7ec8"),o.TgZ(99,"strong"),o._uU(100,"\u5728\u540c\u4e00\u7ec4\u5185"),o.qZA(),o._uU(101,"\u66f4\u6539\u9009\u9879\uff09\u3002"),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(102,"nz-code-box",32),o._UZ(103,"nz-demo-radio-solid",27),o.TgZ(104,"div",28),o.IAx(),o.TgZ(105,"p"),o._uU(106,"\u5b9e\u8272\u586b\u5e95\u7684\u5355\u9009\u6309\u94ae\u6837\u5f0f\u3002"),o.qZA(),o.fQ9(),o.qZA()()(),o.TgZ(107,"div",25)(108,"nz-code-box",33),o._UZ(109,"nz-demo-radio-disable",27),o.TgZ(110,"div",28),o.IAx(),o.TgZ(111,"p")(112,"code"),o._uU(113,"nz-radio"),o.qZA(),o._uU(114," \u4e0d\u53ef\u7528\u3002"),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(115,"nz-code-box",34),o._UZ(116,"nz-demo-radio-radiogroup-more",27),o.TgZ(117,"div",28),o.IAx(),o.TgZ(118,"p"),o._uU(119,"\u5782\u76f4\u7684 "),o.TgZ(120,"code"),o._uU(121,"nz-radio-group"),o.qZA(),o._uU(122,"\uff0c\u914d\u5408\u66f4\u591a\u8f93\u5165\u6846\u9009\u9879\u3002"),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(123,"nz-code-box",35),o._UZ(124,"nz-demo-radio-radiobutton",27),o.TgZ(125,"div",28),o.IAx(),o.TgZ(126,"p"),o._uU(127,"\u6309\u94ae\u6837\u5f0f\u7684\u5355\u9009\u7ec4\u5408\u3002"),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(128,"nz-code-box",36),o._UZ(129,"nz-demo-radio-size",27),o.TgZ(130,"div",28),o.IAx(),o.TgZ(131,"p"),o._uU(132,"\u5927\u4e2d\u5c0f\u4e09\u79cd\u7ec4\u5408\uff0c\u53ef\u4ee5\u548c\u8868\u5355\u8f93\u5165\u6846\u8fdb\u884c\u5bf9\u5e94\u914d\u5408\u3002"),o.qZA(),o.fQ9(),o.qZA()()()(),o.TgZ(133,"section",37),o.IAx(),o.TgZ(134,"h2",38)(135,"span"),o._uU(136,"API"),o.qZA(),o.TgZ(137,"a",39),o._uU(138,"#"),o.qZA()(),o.TgZ(139,"h3",40)(140,"span"),o._uU(141,"[nz-radio] | [nz-radio-button]"),o.qZA(),o.TgZ(142,"label",41),o._uU(143,"directive"),o.qZA(),o.TgZ(144,"label",42),o._uU(145,"standalone"),o.qZA(),o.TgZ(146,"a",43),o._uU(147,"#"),o.qZA()(),o.TgZ(148,"table")(149,"thead")(150,"tr")(151,"th"),o._uU(152,"\u53c2\u6570"),o.qZA(),o.TgZ(153,"th"),o._uU(154,"\u8bf4\u660e"),o.qZA(),o.TgZ(155,"th"),o._uU(156,"\u7c7b\u578b"),o.qZA(),o.TgZ(157,"th"),o._uU(158,"\u9ed8\u8ba4\u503c"),o.qZA()()(),o.TgZ(159,"tbody")(160,"tr")(161,"td")(162,"code"),o._uU(163,"[nzAutoFocus]"),o.qZA()(),o.TgZ(164,"td"),o._uU(165,"\u81ea\u52a8\u83b7\u53d6\u7126\u70b9"),o.qZA(),o.TgZ(166,"td")(167,"code"),o._uU(168,"boolean"),o.qZA()(),o.TgZ(169,"td")(170,"code"),o._uU(171,"false"),o.qZA()()(),o.TgZ(172,"tr")(173,"td")(174,"code"),o._uU(175,"[nzDisabled]"),o.qZA()(),o.TgZ(176,"td"),o._uU(177,"\u8bbe\u5b9a disable \u72b6\u6001"),o.qZA(),o.TgZ(178,"td")(179,"code"),o._uU(180,"boolean"),o.qZA()(),o.TgZ(181,"td")(182,"code"),o._uU(183,"false"),o.qZA()()(),o.TgZ(184,"tr")(185,"td")(186,"code"),o._uU(187,"[ngModel]"),o.qZA()(),o.TgZ(188,"td"),o._uU(189,"\u6307\u5b9a\u5f53\u524d\u662f\u5426\u9009\u4e2d\uff0c\u53ef\u53cc\u5411\u7ed1\u5b9a"),o.qZA(),o.TgZ(190,"td")(191,"code"),o._uU(192,"boolean"),o.qZA()(),o.TgZ(193,"td")(194,"code"),o._uU(195,"false"),o.qZA()()(),o.TgZ(196,"tr")(197,"td")(198,"code"),o._uU(199,"[nzValue]"),o.qZA()(),o.TgZ(200,"td"),o._uU(201,"\u8bbe\u7f6e value\uff0c\u4e0e "),o.TgZ(202,"code"),o._uU(203,"nz-radio-group"),o.qZA(),o._uU(204," \u914d\u5408\u4f7f\u7528"),o.qZA(),o.TgZ(205,"td")(206,"code"),o._uU(207,"any"),o.qZA()(),o.TgZ(208,"td"),o._uU(209,"-"),o.qZA()(),o.TgZ(210,"tr")(211,"td")(212,"code"),o._uU(213,"(ngModelChange)"),o.qZA()(),o.TgZ(214,"td"),o._uU(215,"\u9009\u4e2d\u53d8\u5316\u65f6\u56de\u8c03"),o.qZA(),o.TgZ(216,"td")(217,"code"),o._uU(218,"EventEmitter<boolean>"),o.qZA()(),o.TgZ(219,"td"),o._uU(220,"-"),o.qZA()()()(),o.TgZ(221,"h3",44)(222,"span"),o._uU(223,"nz-radio-group"),o.qZA(),o.TgZ(224,"label",45),o._uU(225,"component"),o.qZA(),o.TgZ(226,"label",42),o._uU(227,"standalone"),o.qZA(),o.TgZ(228,"a",46),o._uU(229,"#"),o.qZA()(),o.TgZ(230,"p"),o._uU(231,"\u5355\u9009\u6846\u7ec4\u5408\uff0c\u7528\u4e8e\u5305\u88f9\u4e00\u7ec4 "),o.TgZ(232,"code"),o._uU(233,"nz-radio"),o.qZA(),o._uU(234,"\u3002"),o.qZA(),o.TgZ(235,"table")(236,"thead")(237,"tr")(238,"th"),o._uU(239,"\u53c2\u6570"),o.qZA(),o.TgZ(240,"th"),o._uU(241,"\u8bf4\u660e"),o.qZA(),o.TgZ(242,"th"),o._uU(243,"\u7c7b\u578b"),o.qZA(),o.TgZ(244,"th"),o._uU(245,"\u9ed8\u8ba4\u503c"),o.qZA()()(),o.TgZ(246,"tbody")(247,"tr")(248,"td")(249,"code"),o._uU(250,"[ngModel]"),o.qZA()(),o.TgZ(251,"td"),o._uU(252,"\u6307\u5b9a\u9009\u4e2d\u7684 "),o.TgZ(253,"code"),o._uU(254,"nz-radio"),o.qZA(),o._uU(255," \u7684 value \u503c"),o.qZA(),o.TgZ(256,"td")(257,"code"),o._uU(258,"any"),o.qZA()(),o.TgZ(259,"td"),o._uU(260,"-"),o.qZA()(),o.TgZ(261,"tr")(262,"td")(263,"code"),o._uU(264,"[nzName]"),o.qZA()(),o.TgZ(265,"td")(266,"code"),o._uU(267,"nz-radio-group"),o.qZA(),o._uU(268," \u4e0b\u6240\u6709 "),o.TgZ(269,"code"),o._uU(270,'input[type="radio"]'),o.qZA(),o._uU(271," \u7684 "),o.TgZ(272,"code"),o._uU(273,"name"),o.qZA(),o._uU(274," \u5c5e\u6027"),o.qZA(),o.TgZ(275,"td")(276,"code"),o._uU(277,"string"),o.qZA()(),o.TgZ(278,"td"),o._uU(279,"-"),o.qZA()(),o.TgZ(280,"tr")(281,"td")(282,"code"),o._uU(283,"[nzDisabled]"),o.qZA()(),o.TgZ(284,"td"),o._uU(285,"\u8bbe\u5b9a\u6240\u6709 "),o.TgZ(286,"code"),o._uU(287,"nz-radio"),o.qZA(),o._uU(288," disable \u72b6\u6001"),o.qZA(),o.TgZ(289,"td")(290,"code"),o._uU(291,"boolean"),o.qZA()(),o.TgZ(292,"td")(293,"code"),o._uU(294,"false"),o.qZA()()(),o.TgZ(295,"tr")(296,"td")(297,"code"),o._uU(298,"[nzSize]"),o.qZA()(),o.TgZ(299,"td"),o._uU(300,"\u5927\u5c0f\uff0c\u53ea\u5bf9\u6309\u94ae\u6837\u5f0f\u751f\u6548"),o.qZA(),o.TgZ(301,"td")(302,"code"),o._uU(303,"'large' | 'small' | 'default'"),o.qZA()(),o.TgZ(304,"td")(305,"code"),o._uU(306,"'default'"),o.qZA()()(),o.TgZ(307,"tr")(308,"td")(309,"code"),o._uU(310,"(ngModelChange)"),o.qZA()(),o.TgZ(311,"td"),o._uU(312,"\u9009\u4e2d\u53d8\u5316\u65f6\u56de\u8c03"),o.qZA(),o.TgZ(313,"td")(314,"code"),o._uU(315,"EventEmitter<boolean>"),o.qZA()(),o.TgZ(316,"td"),o._uU(317,"-"),o.qZA()(),o.TgZ(318,"tr")(319,"td")(320,"code"),o._uU(321,"[nzButtonStyle]"),o.qZA()(),o.TgZ(322,"td"),o._uU(323,"RadioButton \u7684\u98ce\u683c\u6837\u5f0f\uff0c\u76ee\u524d\u6709\u63cf\u8fb9\u548c\u586b\u8272\u4e24\u79cd\u98ce\u683c"),o.qZA(),o.TgZ(324,"td")(325,"code"),o._uU(326,"'outline' | 'solid'"),o.qZA()(),o.TgZ(327,"td")(328,"code"),o._uU(329,"'outline'"),o.qZA()()()()(),o.TgZ(330,"h2",47)(331,"span"),o._uU(332,"\u65b9\u6cd5"),o.qZA(),o.TgZ(333,"a",48),o._uU(334,"#"),o.qZA()(),o.TgZ(335,"h3",49)(33
16,"span"),o._uU(337,"[nz-radio]"),o.qZA(),o.TgZ(338,"label",41),o._uU(339,"directive"),o.qZA(),o.TgZ(340,"label",42),o._uU(341,"standalone"),o.qZA(),o.TgZ(342,"a",50),o._uU(343,"#"),o.qZA()(),o.TgZ(344,"p"),o._uU(345,"\u53ef\u4ee5\u901a\u8fc7 "),o.TgZ(346,"code"),o._uU(347,"ViewChild"),o.qZA(),o._uU(348," \u7b49\u5176\u4ed6\u65b9\u5f0f\u83b7\u53d6 "),o.TgZ(349,"code"),o._uU(350,"NzRadioComponent"),o.qZA(),o._uU(351," \u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5"),o.qZA(),o.TgZ(352,"table")(353,"thead")(354,"tr")(355,"th"),o._uU(356,"\u540d\u79f0"),o.qZA(),o.TgZ(357,"th"),o._uU(358,"\u63cf\u8ff0"),o.qZA()()(),o.TgZ(359,"tbody")(360,"tr")(361,"td"),o._uU(362,"blur()"),o.qZA(),o.TgZ(363,"td"),o._uU(364,"\u79fb\u9664\u7126\u70b9"),o.qZA()(),o.TgZ(365,"tr")(366,"td"),o._uU(367,"focus()"),o.qZA(),o.TgZ(368,"td"),o._uU(369,"\u83b7\u53d6\u7126\u70b9"),o.qZA()()()(),o.fQ9(),o.qZA()()),2&e&&(o.xp6(),o.Q6J("nzOffsetTop",16),o.xp6(),o.Q6J("nzAffix",!1),o.xp6(54),o.Q6J("nzGutter",16),o.xp6(),o.Q6J("nzXl",12)("nzSpan",24),o.xp6(),o.Q6J("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"),o.xp6(5),o.Q6J("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"),o.xp6(8),o.Q6J("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"),o.xp6(8),o.Q6J("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"),o.xp6(23),o.Q6J("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"),o.xp6(5),o.Q6J("nzXl",12)("nzSpan",24),o.xp6(),o.Q6J("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"),o.xp6(7),o.Q6J("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"),o.xp6(8),o.Q6J("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"),o.xp6(5),o.Q6J("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:[m.G,Z.IT,Z.Fp,D.$,T.t3,T.SK,C.SY,F.Ls,q.w,A,E,N,t,B,v,I,k,O],encapsulation:2})}return n})(),x=(()=>{class n{constructor(){this.expanded=!1}goLink(u){window&&(window.location.hash=u)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(u=>{u.nzExpanded=this.expanded,u.expandCode(this.expanded),u.check()})}static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275cmp=o.Xpm({type:n,selectors:[["nz-demo-radio"]],viewQuery:function(e,i){if(1&e&&o.Gf(m.G,5),2&e){let p;o.iGM(p=o.CRH())&&(i.codeBoxes=p)}},decls:359,vars:43,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["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"],["nz-icon","","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]:standalone"],[1,"api-type-label","directive"],[1,"api-type-label","standalone"],["onclick","window.location.hash = '[nz-radio]-|-[nz-radio-button]:standalone'",1,"anchor"],["id","nz-radio-group:standalone"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-radio-group:standalone'",1,"anchor"],["id","methods"],["onclick","window.location.hash = 'methods'",1,"anchor"],["id","[nz-radio]:standalone"],["onclick","window.location.hash = '[nz-radio]:standalone'",1,"anchor"]],template:function(e,i){1&e&&(o.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),o.NdJ("nzClick",function(g){return i.goLink(g)}),o._UZ(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),o.qZA()(),o.TgZ(13,"section",12)(14,"h1"),o._uU(15,"Radio"),o._UZ(16,"span",13)(17,"span",14),o.TgZ(18,"a",15),o._UZ(19,"span",16),o.qZA()(),o.TgZ(20,"section",12),o.IAx(),o.TgZ(21,"p"),o._uU(22,"Radio."),o.qZA(),o.TgZ(23,"h2",17)(24,"span"),o._uU(25,"When To Use"),o.qZA(),o.TgZ(26,"a",18),o._uU(27,"#"),o.qZA()(),o.TgZ(28,"ul")(29,"li"),o._uU(30,"Used to select a single state in multiple options."),o.qZA(),o.TgZ(31,"li"),o._uU(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."),o.qZA()(),o.TgZ(33,"pre",19)(34,"code")(35,"span",20),o._uU(36,"import"),o.qZA(),o._uU(37," "),o.TgZ(38,"span",21),o._uU(39,"{"),o.qZA(),o._uU(40," NzRadioModule "),o.TgZ(41,"span",21),o._uU(42,"}"),o.qZA(),o._uU(43," "),o.TgZ(44,"span",20),o._uU(45,"from"),o.qZA(),o._uU(46," "),o.TgZ(47,"span",22),o._uU(48,"'ng-zorro-antd/radio'"),o.qZA(),o.TgZ(49,"span",21),o._uU(50,";"),o.qZA()()(),o.fQ9(),o.qZA(),o.TgZ(51,"h2")(52,"span"),o._uU(53,"Examples"),o.qZA(),o.TgZ(54,"span",23),o.NdJ("click",function(){return i.expandAllCode()}),o.qZA()()(),o.TgZ(55,"div",24)(56,"div",25)(57,"nz-code-box",26),o._UZ(58,"nz-demo-radio-basic",27),o.TgZ(59,"div",28),o.IAx(),o.TgZ(60,"p"),o._uU(61,"The simplest use."),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(62,"nz-code-box",29),o._UZ(63,"nz-demo-radio-radiogroup",27),o.TgZ(64,"div",28),o.IAx(),o.TgZ(65,"p"),o._uU(66,"A group of "),o.TgZ(67,"code"),o._uU(68,"nz-radio"),o.qZA(),o._uU(69," components."),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(70,"nz-code-box",30),o._UZ(71,"nz-demo-radio-radiogroup-options",27),o.TgZ(72,"div",28),o.IAx(),o.TgZ(73,"p"),o._uU(74,"Render radios by configuring "),o.TgZ(75,"code"),o._uU(76,"options"),o.qZA(),o._uU(77,"."),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(78,"nz-code-box",31),o._UZ(79,"nz-demo-radio-radiogroup-with-name",27),o.TgZ(80,"div",28),o.IAx(),o.TgZ(81,"p"),o._uU(82,"Passing the "),o.TgZ(83,"code"),o._uU(84,"nzName"),o.qZA(),o._uU(85," property to all "),o.TgZ(86,"code"),o._uU(87,'input[type="radio"]'),o.qZA(),o._uU(88," that are in the same RadioGroup. It is usually used to let the browser see your "),o.TgZ(89,"code"),o._uU(90,"nz-radio-group"),o.qZA(),o._uU(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 '),o.TgZ(92,"code"),o._uU(93,"nz-radio-group"),o.qZA(),o._uU(94,"."),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(95,"nz-code-box",32),o._UZ(96,"nz-demo-radio-solid",27),o.TgZ(97,"div",28),o.IAx(),o.TgZ(98,"p"),o._uU(99,"Solid radio button style."),o.qZA(),o.fQ9(),o.qZA()()(),o.TgZ(100,"div",25)(101,"nz-code-box",33),o._UZ(102,"nz-demo-radio-disable",27),o.TgZ(103,"div",28),o.IAx(),o.TgZ(104,"p")(105,"code"),o._uU(106,"nz-radio"),o.qZA(),o._uU(107," unavailable."),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(108,"nz-code-box",34),o._UZ(109,"nz-demo-radio-radiogroup-more",27),o.TgZ(110,"div",28),o.IAx(),o.TgZ(111,"p"),o._uU(112,"Vertical "),o.TgZ(113,"code"),o._uU(114,"nz-radio-group"),o.qZA(),o._uU(115,", with more radios."),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(116,"nz-code-box",35),o._UZ(117,"nz-demo-radio-radiobutton",27),o.TgZ(118,"div",28),o.IAx(),o.TgZ(119,"p"),o._uU(120,"The combination of radio button style."),o.qZA(),o.fQ9(),o.qZA()(),o.TgZ(121,"nz-code-box",36),o._UZ(122,"nz-demo-radio-size",27),o.TgZ(123,"div",28),o.IAx(),o.TgZ(124,"p"),o._uU(125,"There are three sizes available: large, medium, and small. It can coordinate with input box."),o.qZA(),o.fQ9(),o.qZA()()()(),o.TgZ(126,"section",37),o.IAx(),o.TgZ(127,"h2",38)(128,"span"),o._uU(129,"API"),o.qZA(),o.TgZ(130,"a",39),o._uU(131,"#"),o.qZA()(),o.TgZ(132,"h3",40)(133,"span"),o._uU(134,"[nz-radio] | [nz-radio-button]"),o.qZA(),o.TgZ(135,"label",41),o._uU(136,"directive"),o.qZA(),o.TgZ(137,"label",42),o._uU(138,"standalone"),o.qZA(),o.TgZ(139,"a",43),o._uU(140,"#"),o.qZA()(),o.TgZ(141,"table")(142,"thead")(143,"tr")(144,"th"),o._uU(145,"Property"),o.qZA(),o.TgZ(146,"th"),o._uU(147,"Description"),o.qZA(),o.TgZ(148,"th"),o._uU(149,"Type"),o.qZA(),o.TgZ(150,"th"),o._uU(151,"Default"),o.qZA()()(),o.TgZ(152,"tbody")(153,"tr")(154,"td")(155,"code"),o._uU(156,"[nzAutoFocus]"),o.qZA()(),o.TgZ(157,"td"),o._uU(158,"get focus when component mounted"),o.qZA(),o.TgZ(159,"td")(160,"code"),o._uU(161,"boolean"),o.qZA()(),o.TgZ(162,"td")(163,"code"),o._uU(164,"false"),o.qZA()()(),o.TgZ(165,"tr")(166,"td")(167,"code"),o._uU(168,"[nzDisabled]"),o.qZA()(),o.TgZ(169,"td"),o._uU(170,"Disable radio"),o.qZA(),o.TgZ(171,"td")(172,"code"),o._uU(173,"boolean"),o.qZA()(),o.TgZ(174,"td")(175,"code"),o._uU(176,"false"),o.qZA()()(),o.TgZ(177,"tr")(178,"td")(179,"code"),o._uU(180,"[ngModel]"),o.qZA()(),o.TgZ(181,"td"),o._uU(182,"Specifies whether the radio is selected, double binding"),o.qZA(),o.TgZ(183,"td")(184,"code"),o._uU(185,"boolean"),o.qZA()(),o.TgZ(186,"td")(187,"code"),o._uU(188,"false"),o.qZA()()(),o.TgZ(189,"tr")(190,"td")(191,"code"),o._uU(192,"[nzValue]"),o.qZA()(),o.TgZ(193,"td"),o._uU(194,"use with "),o.TgZ(195,"code"),o._uU(196,"nz-radio-group"),o.qZA()(),o.TgZ(197,"td")(198,"code"),o._uU(199,"any"),o.qZA()(),o.TgZ(200,"td"),o._uU(201,"-"),o.qZA()(),o.TgZ(202,"tr")(203,"td")(204,"code"),o._uU(205,"(ngModelChange)"),o.qZA()(),o.TgZ(206,"td"),o._uU(207,"The callback function that is triggered when the state changes."),o.qZA(),o.TgZ(208,"td")(209,"code"),o._uU(210,"EventEmitter<boolean>"),o.qZA()(),o.TgZ(211,"td"),o._uU(212,"-"),o.qZA()()()(),o.TgZ(213,"h3",44)(214,"span"),o._uU(215,"nz-radio-group"),o.qZA(),o.TgZ(216,"label",45),o._uU(217,"component"),o.qZA(),o.TgZ(218,"label",42),o._uU(219,"standalone"),o.qZA(),o.TgZ(220,"a",46),o._uU(221,"#"),o.qZA()(),o.TgZ(222,"p"),o._uU(223,"radio group\uff0cwrap a group of "),o.TgZ(224,"code"),o._uU(225,"nz-radio"),o.qZA(),o._uU(226,"\u3002"),o.qZA(),o.TgZ(227,"table")(228,"thead")(229,"tr")(230,"th"),o._uU(231,"Property"),o.qZA(),o.TgZ(232,"th"),o._uU(233,"Description"),o.qZA(),o.TgZ(234,"th"),o._uU(235,"Type"),o.qZA(),o.TgZ(236,"th"),o._uU(237,"Default"),o.qZA()()(),o.TgZ(238,"tbody")(239,"tr")(240,"td")(241,"code"),o._uU(242,"[ngModel]"),o.qZA()(),o.TgZ(243,"td"),o._uU(244,"current selected "),o.TgZ(245,"code"),o._uU(246,"nz-radio"),o.qZA(),o._uU(247," value, double binding"),o.qZA(),o.TgZ(248,"td")(249,"code"),o._uU(250,"any"),o.qZA()(),o.TgZ(251,"td"),o._uU(252,"-"),o.qZA()(),o.TgZ(253,"tr")(254,"td")(255,"code"),o._uU(256,"[nzName]"),o.qZA()(),o.TgZ(257,"td"),o._uU(258,"The "),o.TgZ(259,"code"),o._uU(260,"name"),o.qZA(),o._uU(261," property of all "),o.TgZ(262,"code"),o._uU(263,'input[type="radio"]'),o.qZA(),o._uU(264," children"),o.qZA(),o.TgZ(265,"td")(266,"code"),o._uU(267,"string"),o.qZA()(),o.TgZ(268,"td"),o._uU(269,"-"),o.qZA()(),o.TgZ(270,"tr")(271,"td")(272,"code"),o._uU(273,"[nzDisabled]"),o.qZA()(),o.TgZ(274,"td"),o._uU(275,"Disable all radio buttons"),o.qZA(),o.TgZ(276,"td")(277,"code"),o._uU(278,"boolean"),o.qZA()(),o.TgZ(279,"td")(280,"code"),o._uU(281,"false"),o.qZA()()(),o.TgZ(282,"tr")(283,"td")(284,"code"),o._uU(285,"[nzSize]"),o.qZA()(),o.TgZ(286,"td"),o._uU(287,"Size, only on radio style"),o.qZA(),o.TgZ(288,"td")(289,"code"),o._uU(290,"'large' | 'small' | 'default'"),o.qZA()(),o.TgZ(291,"td")(292,"code"),o._uU(293,"'default'"),o.qZA()()(),o.TgZ(294,"tr")(295,"td")(296,"code"),o._uU(297,"(ngModelChange)"),o.qZA()(),o.TgZ(298,"td"),o._uU(299,"the callback function when current selected "),o.TgZ(300,"code"),o._uU(301,"nz-radio"),o.qZA(),o._uU(302," value change"),o.qZA(),o.TgZ(303,"td")(304,"code"),o._uU(305,"EventEmitter<string>"),o.qZA()(),o.TgZ(306,"td"),o._uU(307,"-"),o.qZA()(),o.TgZ(308,"tr")(309,"td")(310,"code"),o._uU(311,"[nzButtonStyle]"),o.qZA()(),o.TgZ(312,"td"),o._uU(313,"style type of radio button"),o.qZA(),o.TgZ(314,"td")(315,"code"),o._uU(316,"'outline' | 'solid'"),o.qZA()(),o.TgZ(317,"td")(318,"code"),o._uU(319,"'outline'"),o.qZA()()()()(),o.TgZ(320,"h2",47)(321,"span"),o._uU(322,"Methods"),o.qZA(),o.TgZ(323,"a",48),o._uU(324,"#"),o.qZA()(),o.TgZ(325,"h3",49)(326,"span"),o
1._uU(327,"[nz-radio]"),o.qZA(),o.TgZ(328,"label",41),o._uU(329,"directive"),o.qZA(),o.TgZ(330,"label",42),o._uU(331,"standalone"),o.qZA(),o.TgZ(332,"a",50),o._uU(333,"#"),o.qZA()(),o.TgZ(334,"p"),o._uU(335,"you can get "),o.TgZ(336,"code"),o._uU(337,"NzRadioComponent"),o.qZA(),o._uU(338," via "),o.TgZ(339,"code"),o._uU(340,"ViewChild"),o.qZA()(),o.TgZ(341,"table")(342,"thead")(343,"tr")(344,"th"),o._uU(345,"Name"),o.qZA(),o.TgZ(346,"th"),o._uU(347,"Description"),o.qZA()()(),o.TgZ(348,"tbody")(349,"tr")(350,"td"),o._uU(351,"blur()"),o.qZA(),o.TgZ(352,"td"),o._uU(353,"remove focus"),o.qZA()(),o.TgZ(354,"tr")(355,"td"),o._uU(356,"focus()"),o.qZA(),o.TgZ(357,"td"),o._uU(358,"get focus"),o.qZA()()()(),o.fQ9(),o.qZA()()),2&e&&(o.xp6(),o.Q6J("nzOffsetTop",16),o.xp6(),o.Q6J("nzAffix",!1),o.xp6(53),o.Q6J("nzGutter",16),o.xp6(),o.Q6J("nzXl",12)("nzSpan",24),o.xp6(),o.Q6J("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"),o.xp6(5),o.Q6J("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"),o.xp6(8),o.Q6J("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"),o.xp6(8),o.Q6J("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"),o.xp6(17),o.Q6J("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"),o.xp6(5),o.Q6J("nzXl",12)("nzSpan",24),o.xp6(),o.Q6J("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"),o.xp6(7),o.Q6J("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"),o.xp6(8),o.Q6J("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"),o.xp6(5),o.Q6J("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:[m.G,Z.IT,Z.Fp,D.$,T.t3,T.SK,C.SY,F.Ls,q.w,A,E,N,t,B,v,I,k,O],encapsulation:2})}return n})(),J=(()=>{class n{static#o=this.\u0275fac=function(e){return new(e||n)};static#n=this.\u0275mod=o.oAB({type:n});static#e=this.\u0275inj=o.cJS({imports:[b.G,y,a.Bz.forChild([{path:"en",component:x},{path:"zh",component:w}])]})}return n})()},7225:(S,R,s)=>{s.d(R,{Bq:()=>c,Dg:()=>M,Of:()=>E,aF:()=>N});var a=s(9212),b=s(7582),z=s(6223),h=s(7328),_=s(8645),y=s(2438),m=s(9773),o=s(6700),Z=s(9388),D=s(6034),T=s(8188);const C=["*"],F=["inputElement"],q=["nz-radio",""];let c=(()=>{class r{static#o=this.\u0275fac=function(l){return new(l||r)};static#n=this.\u0275dir=a.lG2({type:r,selectors:[["","nz-radio-button",""]],standalone:!0})}return r})(),A=(()=>{class r{constructor(){this.selected$=new h.t(1),this.touched$=new _.x,this.disabled$=new h.t(1),this.name$=new h.t(1)}touch(){this.touched$.next()}select(t){this.selected$.next(t)}setDisabled(t){this.disabled$.next(t)}setName(t){this.name$.next(t)}static#o=this.\u0275fac=function(l){return new(l||r)};static#n=this.\u0275prov=a.Yz7({token:r,factory:r.\u0275fac})}return r})(),M=(()=>
1{class r{constructor(t,l,d){this.cdr=t,this.nzRadioService=l,this.directionality=d,this.value=null,this.destroy$=new _.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,m.R)(this.destroy$)).subscribe(t=>{this.value!==t&&(this.value=t,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,m.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,m.R)(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(t){const{nzDisabled:l,nzName:d}=t;l&&this.nzRadioService.setDisabled(this.nzDisabled),d&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}writeValue(t){this.value=t,this.nzRadioService.select(t),this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static#o=this.\u0275fac=function(l){return new(l||r)(a.Y36(a.sBO),a.Y36(A),a.Y36(Z.Is,8))};static#n=this.\u0275cmp=a.Xpm({type:r,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(l,d){2&l&&a.ekj("ant-radio-group-large","large"===d.nzSize)("ant-radio-group-small","small"===d.nzSize)("ant-radio-group-solid","solid"===d.nzButtonStyle)("ant-radio-group-rtl","rtl"===d.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],standalone:!0,features:[a._Bn([A,{provide:z.JU,useExisting:(0,a.Gpc)(()=>r),multi:!0}]),a.TTD,a.jDz],ngContentSelectors:C,decls:1,vars:0,template:function(l,d){1&l&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,o.yF)()],r.prototype,"nzDisabled",void 0),r})(),E=(()=>{class r{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(t,l,d,f,B,v,I,k){this.ngZone=t,this.elementRef=l,this.cdr=d,this.focusMonitor=f,this.directionality=B,this.nzRadioService=v,this.nzRadioButtonDirective=I,this.nzFormStatusService=k,this.isNgModel=!1,this.destroy$=new _.x,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}setDisabledState(t){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(t){this.isChecked=t,this.cdr.markForCheck()}registerOnChange(t){this.isNgModel=!0,this.onChange=t}registerOnTouched(t){this.onTouched=t}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,m.R)(this.destroy$)).subscribe(t=>{this.name=t,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,m.R)(this.destroy$)).subscribe(t=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,m.R)(this.destroy$)).subscribe(t=>{const l=this.isChecked;this.isChecked=this.nzValue===t,this.isNgModel&&l!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,m.R)(this.destroy$)).subscribe(t=>{t||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,m.R)(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,y.R)(this.elementRef.nativeElement,"click").pipe((0,m.R)(this.destroy$)).subscribe(t=>{t.stopPropagation(),t.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}static#o=this.\u0275fac=function(l){return new(l||r)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(a.s
1BO),a.Y36(D.tE),a.Y36(Z.Is,8),a.Y36(A,8),a.Y36(c,8),a.Y36(T.kH,8))};static#n=this.\u0275cmp=a.Xpm({type:r,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(l,d){if(1&l&&a.Gf(F,7),2&l){let f;a.iGM(f=a.CRH())&&(d.inputElement=f.first)}},hostVars:18,hostBindings:function(l,d){2&l&&a.ekj("ant-radio-wrapper-in-form-item",!!d.nzFormStatusService)("ant-radio-wrapper",!d.isRadioButton)("ant-radio-button-wrapper",d.isRadioButton)("ant-radio-wrapper-checked",d.isChecked&&!d.isRadioButton)("ant-radio-button-wrapper-checked",d.isChecked&&d.isRadioButton)("ant-radio-wrapper-disabled",d.nzDisabled&&!d.isRadioButton)("ant-radio-button-wrapper-disabled",d.nzDisabled&&d.isRadioButton)("ant-radio-wrapper-rtl",!d.isRadioButton&&"rtl"===d.dir)("ant-radio-button-wrapper-rtl",d.isRadioButton&&"rtl"===d.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],standalone:!0,features:[a._Bn([{provide:z.JU,useExisting:(0,a.Gpc)(()=>r),multi:!0}]),a.jDz],attrs:q,ngContentSelectors:C,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(l,d){1&l&&(a.F$t(),a.TgZ(0,"span"),a._UZ(1,"input",0,1)(3,"span"),a.qZA(),a.TgZ(4,"span"),a.Hsn(5),a.qZA()),2&l&&(a.ekj("ant-radio",!d.isRadioButton)("ant-radio-checked",d.isChecked&&!d.isRadioButton)("ant-radio-disabled",d.nzDisabled&&!d.isRadioButton)("ant-radio-button",d.isRadioButton)("ant-radio-button-checked",d.isChecked&&d.isRadioButton)("ant-radio-button-disabled",d.nzDisabled&&d.isRadioButton),a.xp6(),a.ekj("ant-radio-input",!d.isRadioButton)("ant-radio-button-input",d.isRadioButton),a.Q6J("disabled",d.nzDisabled)("checked",d.isChecked),a.uIk("autofocus",d.nzAutoFocus?"autofocus":null)("name",d.name),a.xp6(2),a.ekj("ant-radio-inner",!d.isRadioButton)("ant-radio-button-inner",d.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,b.gn)([(0,o.yF)()],r.prototype,"nzDisabled",void 0),(0,b.gn)([(0,o.yF)()],r.prototype,"nzAutoFocus",void 0),r})(),N=(()=>{class r{static#o=this.\u0275fac=function(l){return new(l||r)};static#n=this.\u0275mod=a.oAB({type:r});static#e=this.\u0275inj=a.cJS({})}return r})()}}]);

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.