1"use strict";(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[4546],{4546:(w,b,s)=>{s.r(b),s.d(b,{NzDemoSpaceModule:()=>Ce});var c=s(9072),i=s(2928),E=s(8352),O=s(2400),D=s(5636),I=s(5120),h=s(7624),R=s(9656),$=s(4592),C=s(1160),y=s(1606),Y=s(9892);const v=[R.sn,$.E5,Y.wX,E.EV,C.I$,I.Wy,h.a6,O.iq,D.o,y.wx];var _=s(6056),e=s(4496),S=s(8700),F=s(8656),p=s(3172),d=s(9100),m=s(28),t=s(7324);function a(n,z){1&n&&(e.SAx(0),e.OEk(1,"center"),e.k70())}function o(n,z){1&n&&(e.I0R(0,"button",8),e.OEk(1,"Button"),e.C$Y())}function k(n,z){1&n&&(e.I0R(0,"span",9),e.OEk(1,"Block"),e.C$Y())}function N(n,z){1&n&&(e.SAx(0),e.OEk(1,"start"),e.k70())}function A(n,z){1&n&&(e.I0R(0,"button",8),e.OEk(1,"Button"),e.C$Y())}function B(n,z){1&n&&(e.I0R(0,"span",9),e.OEk(1,"Block"),e.C$Y())}function U(n,z){1&n&&(e.SAx(0),e.OEk(1,"end"),e.k70())}function K(n,z){1&n&&(e.I0R(0,"button",8),e.OEk(1,"Button"),e.C$Y())}function W(n,z){1&n&&(e.I0R(0,"span",9),e.OEk(1,"Block"),e.C$Y())}function V(n,z){1&n&&(e.SAx(0),e.OEk(1,"baseline"),e.k70())}function Z(n,z){1&n&&(e.I0R(0,"button",8),e.OEk(1,"Button"),e.C$Y())}function j(n,z){1&n&&(e.I0R(0,"span",9),e.OEk(1,"Block"),e.C$Y())}let x=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space-align"]],decls:17,vars:0,consts:[[1,"space-align-container"],["nz-space","","nzAlign","center",1,"space-align-block"],[4,"nzSpaceItem"],["nz-button","","nzType","primary",4,"nzSpaceItem"],["class","mock-block",4,"nzSpaceItem"],["nz-space","","nzAlign","start",1,"space-align-block"],["nz-space","","nzAlign","end",1,"space-align-block"],["nz-space","","nzAlign","baseline",1,"space-align-block"],["nz-button","","nzType","primary"],[1,"mock-block"]],template:function(r,u){1&r&&(e.I0R(0,"div",0)(1,"div",1),e.yuY(2,a,2,0,"ng-container",2)(3,o,2,0,"button",3)(4,k,2,0,"span",4),e.C$Y(),e.I0R(5,"div",5),e.yuY(6,N,2,0,"ng-container",2)(7,A,2,0,"button",3)(8,B,2,0,"span",4),e.C$Y(),e.I0R(9,"div",6),e.yuY(10,U,2,0,"ng-container",2)(11,K,2,0,"button",3)(12,W,2,0,"span",4),e.C$Y(),e.I0R(13,"div",7),e.yuY(14,V,2,0,"ng-container",2)(15,Z,2,0,"button",3)(16,j,2,0,"span",4),e.C$Y()())},dependencies:[E.Ez,m.k,t.o9,C.Ud,C.UH],styles:[".space-align-container[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-wrap:wrap}.space-align-block[_ngcontent-%COMP%]{margin:8px 4px;border:1px solid #40a9ff;padding:4px;flex:none}.space-align-block[_ngcontent-%COMP%] .mock-block[_ngcontent-%COMP%]{display:inline-block;padding:32px 8px 16px;background:#96969633}"]})}return n})();function Q(n,z){1&n&&(e.I0R(0,"button",3),e.OEk(1,"Button"),e.C$Y())}function X(n,z){1&n&&(e.I0R(0,"nz-upload",4)(1,"button",5),e.wR5(2,"span",6),e.OEk(3," Click to Upload "),e.C$Y()())}function J(n,z){1&n&&(e.I0R(0,"button",7),e.OEk(1," Confirm "),e.C$Y())}let G=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space-basic"]],decls:4,vars:0,consts:[["nz-button","","nzType","primary",4,"nzSpaceItem"],["nzAction","https://www.mocky.io/v2/5cc8019d300000980a055e76",4,"nzSpaceItem"],["nz-button","","nz-popconfirm","","nzOkText","Yes","nzCancelText","No","nzPopconfirmTitle","Are you sure delete this task?",4,"nzSpaceItem"],["nz-button","","nzType","primary"],["nzAction","https://www.mocky.io/v2/5cc8019d300000980a055e76"],["nz-button",""],["nz-icon","","nzType","upload"],["nz-button","","nz-popconfirm","","nzOkText","Yes","nzCancelText","No","nzPopconfirmTitle","Are you sure delete this task?"]],template:function(r,u){1&r&&(e.I0R(0,"nz-space"),e.yuY(1,Q,2,0,"button",0)(2,X,4,0,"nz-upload",1)(3,J,2,0,"button",2),e.C$Y())},dependencies:[I.If,Y.KC,E.Ez,m.k,t.o9,C.Ud,C.UH,h.GG],encapsulation:2})}return n})();var T=s(6504);function q(n,z){1&n&&(e.I0R(0,"button",6),e.OEk(1,"Button"),e.C$Y())}function ee(n,z){1&n&&(e.I0R(0,"button",7),e.OEk(1,"Default"),e.C$Y())}function ne(n,z){1&n&&(e.I0R(0,"button",8),e.OEk(1,"Dashed"),e.C$Y())}function te(n,z){1&n&&(e.I0R(0,"a",9),e.OEk(1,"Link"),e.C$Y())}let M=(()=>{class n{constructor(){this.size=8}static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space-customize"]],decls:6,vars:2,consts:[[3,"ngModel","ngModelChange"],[3,"nzSize"],["nz-button","","nzType","primary",4,"nzSpaceItem"],["nz-button","","nzType","default",4,"nzSpaceItem"],["nz-button","","nzType","dashed",4,"nzSpaceItem"],["nz-button","","nzType","link",4,"nzSpaceItem"],["nz-button","","nzType","primary"],["nz-button","","nzType","default"],["nz-button","","nzType","dashed"],["nz-button","","nzType","link"]],template:function(r,u){1&r&&(e.I0R(0,"nz-slider",0),e.iHE("ngModelChange",function(f){return e.kNx(u.size,f)||(u.size=f),f}),e.C$Y(),e.I0R(1,"nz-space",1),e.yuY(2,q,2,0,"button",2)(3,ee,2,0,"button",3)(4,ne,2,0,"button",4)(5,te,2,0,"a",5),e.C$Y()),2&r&&(e.OKB("ngModel",u.size),e.yG2(),e.E7m("nzSize",u.size))},dependencies:[T.ue,T._G,$.Gc,E.Ez,m.k,t.o9,C.Ud,C.UH],encapsulation:2})}return n})();function oe(n,z){1&n&&(e.I0R(0,"button",9),e.OEk(1,"Button"),e.C$Y())}function ie(n,z){1&n&&(e.I0R(0,"button",10),e.OEk(1,"Default"),e.C$Y())}function ae(n,z){1&n&&(e.I0R(0,"button",11),e.OEk(1,"Dashed"),e.C$Y())}function se(n,z){1&n&&(e.I0R(0,"a",12),e.OEk(1,"Link"),e.C$Y())}let H=(()=>{class n{constructor(){this.size="small"}static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space-size"]],decls:12,vars:2,consts:[[3,"ngModel","ngModelChange"],["nz-radio","","nzValue","small"],["nz-radio","","nzValue","middle"],["nz-radio","","nzValue","large"],[3,"nzSize"],["nz-button","","nzType","primary",4,"nzSpaceItem"],["nz-button","","nzType","default",4,"nzSpaceItem"],["nz-button","","nzType","dashed",4,"nzSpaceItem"],["nz-button","","nzType","link",4,"nzSpaceItem"],["nz-button","","nzType","primary"],["nz-button","","nzType","default"],["nz-button","","nzType","dashed"],["nz-button","","nzType","link"]],template:function(r,u){1&r&&(e.I0R(0,"nz-radio-group",0),e.iHE("ngModelChange",function(f){return e.kNx(u.size,f)||(u.size=f),f}),e.I0R(1,"label",1),e.OEk(2,"Small"),e.C$Y(),e.I0R(3,"label",2),e.OEk(4,"Middle"),e.C$Y(),e.I0R(5,"label",3),e.OEk(6,"Large"),e.C$Y()(),e.I0R(7,"nz-space",4),e.yuY(8,oe,2,0,"button",5)(9,ie,2,0,"button",6)(10,ae,2,0,"button",7)(11,se,2,0,"a",8),e.C$Y()),2&r&&(e.OKB("ngModel",u.size),e.yG2(7),e.E7m("nzSize",u.size))},dependencies:[T.ue,T._G,R.es,R.uw,E.Ez,m.k,t.o9,C.Ud,C.UH],encapsulation:2})}return n})();function ce(n,z){1&n&&e.wR5(0,"nz-divider",3)}function re(n,z){1&n&&(e.I0R(0,"a",4),e.OEk(1,"Link"),e.C$Y())}function de(n,z){1&n&&(e.I0R(0,"a",4),e.OEk(1,"Link"),e.C$Y())}function pe(n,z){1&n&&(e.I0R(0,"a",4),e.OEk(1,"Link"),e.C$Y())}let L=(()=>{class n{constructor(){this.size=8}static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space-split"]],decls:6,vars:1,consts:[[3,"nzSplit"],["spaceSplit",""],["nz-typography","",4,"nzSpaceItem"],["nzType","vertical"],["nz-typography",""]],template:function(r,u){if(1&r&&(e.I0R(0,"nz-space",0),e.yuY(1,ce,1,0,"ng-template",null,1,e.gJz)(3,re,2,0,"a",2)(4,de,2,0,"a",2)(5,pe,2,0,"a",2),e.C$Y()),2&r){const g=e.Gew(2);e.E7m("nzSplit",g)}},dependencies:[C.Ud,C.UH,D.M,y.ie],encapsulation:2})}return n})();function le(n,z){1&n&&(e.I0R(0,"nz-card",2)(1,"p"),e.OEk(2,"Card content"),e.C$Y(),e.I0R(3,"p"),e.OEk(4,"Card content"),e.C$Y()())}function ze(n,z){1&n&&(e.I0R(0,"nz-card",2)(1,"p"),e.OEk(2,"Card content"),e.C$Y(),e.I0R(3,"p"),e.OEk(4,"Card content"),e.C$Y()())}let P=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space-vertical"]],decls:3,vars:0,consts:[["nzDirection","vertical"],["nzTitle","Card","style","width: 300px",4,"nzSpaceItem"],["nzTitle","Card",2,"width","300px"]
1],template:function(r,u){1&r&&(e.I0R(0,"nz-space",0),e.yuY(1,le,5,0,"nz-card",1)(2,ze,5,0,"nz-card",1),e.C$Y())},dependencies:[C.Ud,C.UH,O.Q9],encapsulation:2})}return n})(),ue=(()=>{class n{constructor(){this.expanded=!1}goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>{l.nzExpanded=this.expanded,l.expandCode(this.expanded),l.check()})}static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space"]],viewQuery:function(r,u){if(1&r&&e.CC$(_.A,5),2&r){let g;e.wto(g=e.Gqi())&&(u.codeBoxes=g)}},decls:201,vars:28,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-space-demo-basic","nzTitle","\u57fa\u672c\u7528\u6cd5"],["nzHref","#components-space-demo-vertical","nzTitle","\u5782\u76f4\u95f4\u8ddd"],["nzHref","#components-space-demo-size","nzTitle","\u95f4\u8ddd\u5927\u5c0f"],["nzHref","#components-space-demo-align","nzTitle","\u5bf9\u9f50"],["nzHref","#components-space-demo-customize","nzTitle","\u81ea\u5b9a\u4e49\u5c3a\u5bf8"],["nzHref","#components-space-demo-split","nzTitle","\u5206\u9694\u7b26"],["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/space/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,"nzSpan"],["nzTitle","\u57fa\u672c\u7528\u6cd5","nzSelector","nz-demo-space-basic","nzGenerateCommand","ng g ng-zorro-antd:space-basic <name>","nzComponentName","NzDemoSpaceBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u5782\u76f4\u95f4\u8ddd","nzSelector","nz-demo-space-vertical","nzGenerateCommand","ng g ng-zorro-antd:space-vertical <name>","nzComponentName","NzDemoSpaceVerticalComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u95f4\u8ddd\u5927\u5c0f","nzSelector","nz-demo-space-size","nzGenerateCommand","ng g ng-zorro-antd:space-size <name>","nzComponentName","NzDemoSpaceSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5bf9\u9f50","nzSelector","nz-demo-space-align","nzGenerateCommand","ng g ng-zorro-antd:space-align <name>","nzComponentName","NzDemoSpaceAlignComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81ea\u5b9a\u4e49\u5c3a\u5bf8","nzSelector","nz-demo-space-customize","nzGenerateCommand","ng g ng-zorro-antd:space-customize <name>","nzComponentName","NzDemoSpaceCustomizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5206\u9694\u7b26","nzSelector","nz-demo-space-split","nzGenerateCommand","ng g ng-zorro-antd:space-split <name>","nzComponentName","NzDemoSpaceSplitComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-space:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-space:standalone'",1,"anchor"]],template:function(r,u){1&r&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(f){return u.goLink(f)}),e.wR5(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),e.C$Y()(),e.I0R(10,"section",9)(11,"h1"),e.OEk(12,"Space"),e.I0R(13,"span",10),e.OEk(14,"\u95f4\u8ddd"),e.C$Y(),e.wR5(15,"span",11),e.I0R(16,"a",12),e.wR5(17,"span",13),e.C$Y()(),e.I0R(18,"section",9),e.EdD(),e.I0R(19,"p"),e.OEk(20,"\u8bbe\u7f6e\u7ec4\u4ef6\u4e4b\u95f4\u7684\u95f4\u8ddd\u3002"),e.C$Y(),e.I0R(21,"h2",14)(22,"span"),e.OEk(23,"\u4f55\u65f6\u4f7f\u7528"),e.C$Y(),e.I0R(24,"a",15),e.OEk(25,"#"),e.C$Y()(),e.I0R(26,"p"),e.OEk(27,"\u907f\u514d\u7ec4\u4ef6\u7d27\u8d34\u5728\u4e00\u8d77\uff0c\u62c9\u5f00\u7edf\u4e00\u7684\u7a7a\u95f4\u3002"),e.C$Y(),e.I0R(28,"ul")(29,"li"),e.OEk(30,"\u9002\u5408\u884c\u5185\u5143\u7d20\u7684\u6c34\u5e73\u95f4\u8ddd\u3002"),e.C$Y(),e.I0R(31,"li"),e.OEk(32,"\u53ef\u4ee5\u8bbe\u7f6e\u5404\u79cd\u6c34\u5e73\u5bf9\u9f50\u65b9\u5f0f\u3002"),e.C$Y()(),e.I0R(33,"pre",16)(34,"code")(35,"span",17),e.OEk(36,"import"),e.C$Y(),e.OEk(37," "),e.I0R(38,"span",18),e.OEk(39,"{"),e.C$Y(),e.OEk(40," NzSpaceModule "),e.I0R(41,"span",18),e.OEk(42,"}"),e.C$Y(),e.OEk(43," "),e.I0R(44,"span",17),e.OEk(45,"from"),e.C$Y(),e.OEk(46," "),e.I0R(47,"span",19),e.OEk(48,"'ng-zorro-antd/space'"),e.C$Y(),e.I0R(49,"span",18),e.OEk(50,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(51,"h2")(52,"span"),e.OEk(53,"\u4ee3\u7801\u6f14\u793a"),e.C$Y(),e.I0R(54,"span",20),e.qCj("click",function(){return u.expandAllCode()}),e.C$Y()()(),e.I0R(55,"div",21)(56,"div",22)(57,"nz-code-box",23),e.wR5(58,"nz-demo-space-basic",24),e.I0R(59,"div",25),e.EdD(),e.I0R(60,"p"),e.OEk(61,"\u76f8\u90bb\u7ec4\u4ef6\u6c34\u5e73\u95f4\u8ddd\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(62,"nz-code-box",26),e.wR5(63,"nz-demo-space-vertical",24),e.I0R(64,"div",25),e.EdD(),e.I0R(65,"p"),e.OEk(66,"\u76f8\u90bb\u7ec4\u4ef6\u5782\u76f4\u95f4\u8ddd\u3002"),e.C$Y(),e.I0R(67,"p"),e.OEk(68,"\u53ef\u4ee5\u8bbe\u7f6e "),e.I0R(69,"code"),e.OEk(70,"width: 100%"),e.C$Y(),e.OEk(71," \u72ec\u5360\u4e00\u884c\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(72,"nz-code-box",27),e.wR5(73,"nz-demo-space-size",24),e.I0R(74,"div",25),e.EdD(),e.I0R(75,"p"),e.OEk(76,"\u95f4\u8ddd\u9884\u8bbe\u5927\u3001\u4e2d\u3001\u5c0f\u4e09\u79cd\u5927\u5c0f\u3002"),e.C$Y(),e.I0R(77,"p"),e.OEk(78,"\u901a\u8fc7\u8bbe\u7f6e "),e.I0R(79,"code"),e.OEk(80,"nzSize"),e.C$Y(),e.OEk(81," \u4e3a "),e.I0R(82,"code"),e.OEk(83,"large"),e.C$Y(),e.I0R(84,"code"),e.OEk(85,"middle"),e.C$Y(),e.OEk(86," \u5206\u522b\u628a\u95f4\u8ddd\u8bbe\u4e3a\u5927\u3001\u4e2d\u95f4\u8ddd\u3002\u82e5\u4e0d\u8bbe\u7f6e "),e.I0R(87,"code"),e.OEk(88,"nzSize"),e.C$Y(),e.OEk(89,"\uff0c\u5219\u95f4\u8ddd\u4e3a\u5c0f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(90,"nz-code-box",28),e.wR5(91,"nz-demo-space-align",24),e.I0R(92,"div",25),e.EdD(),e.I0R(93,"p"),e.OEk(94,"\u8bbe\u7f6e\u5bf9\u9f50\u6a21\u5f0f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(95,"nz-code-box",29),e.wR5(96,"nz-demo-space-customize",24),e.I0R(97,"div",25),e.EdD(),e.I0R(98,"p"),e.OEk(99,"\u81ea\u5b9a\u4e49\u95f4\u8ddd\u5927\u5c0f\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(100,"nz-code-box",30),e.wR5(101,"nz-demo-space-split",24),e.I0R(102,"div",25),e.EdD(),e.I0R(103,"p"),e.OEk(104,"\u76f8\u90bb\u7ec4\u4ef6\u5206\u9694\u7b26\u3002"),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(105,"section",31),e.EdD(),e.I0R(106,"h2",32)(107,"span"),e.OEk(108,"API"),e.C$Y(),e.I0R(109,"a",33),e.OEk(110,"#"),e.C$Y()(),e.I0R(111,"h3",34)(112,"span"),e.OEk(113,"nz-space"),e.C$Y(),e.I0R(114,"label",35),e.OEk(115,"component"),e.C$Y(),e.I0R(116,"label",36),e.OEk(117,"standalone"),e.C$Y(),e.I0R(118,"a",37),e.OEk(119,"#"),e.C$Y()(),e.I0R(120,"table")(121,"thead")(122,"tr")(123,"th"),e.OEk(124,"\u53c2\u6570"),e.C$Y(),e.I0R(125,"th"),e.OEk(126,"\u8bf4\u660e"),e.C$Y(),e.I0R(127,"th"),e.OEk(128,"\u7c7b\u578b"),e.C$Y(),e.I0R(129,"th"),e.OEk(130,"\u9ed8\u8ba4\u503c"),e.C$Y(),e.I0R(131,"th"),e.OEk(132,"\u652f\u6301\u5168\u5c40\u914d\u7f6e"),e.C$Y()()(),e.I0R(133,"tbody")(134,"tr")(135,"td")(136,"code"),e.OEk(137,"[nzSize]"),e.C$Y()(),e.I0R(138,"td"),e.OEk(139,"\u95f4\u8ddd\u5927\u5c0f"),e.C$Y(),e.I0R(140,"td")(141,"code"),e.OEk(142,"'small' | 'middle' | 'large' | number"),e.C$Y()(),e.I0R(143,"td")(144,"code"),e.OEk(145,"'small'"),e.C$Y()(),e.I0R(146,"td"),e.OEk(147,"\u2705"),e.C$Y()(),e.I0R(148,"tr")(149,"td")(150,"code"),e.OEk(151,"[nzDirection]"),e.C$Y()(),e.I0R(152,"td"),e.OEk(153,"\u95f4\u8ddd\u65b9\u5411"),e.C$Y(),e.I0R(154,"td")(155,"code"),e.OEk(156,"'vertical' | 'horizontal'"),e.C$Y()(),e.I0R(157,"td")(158,"code"),e.OEk(159,"horizontal"),e.C$Y()(),e.wR5(160,"td"),e.C$Y(),e.I0R(161,"tr")(162,"td")(163,"code"),e.OEk(164,"[nzAlign]"),e.C$Y()(),e.I0R(165,"td"),e.OEk(166,"\u5bf9\u9f50\u65b9\u5f0f"),e.C$Y(),e.I0R(167,"td")(168,"code"),e.OEk(169,"'start' | 'end' | 'baseline' | 'center'"),e.C$Y()(),e.I0R(170,"td"),e.OEk(171,"-"),e.C$Y(),e.wR5(172,"td"),e.C$Y(),e.I0R(173,"tr")(174,"td")(175,"code"),e.OEk(176,"[nzWrap]"),e.C$Y()(),e.I0R(177,"td"),e.OEk(178,"\u662f\u5426\u81ea\u52a8\u6362\u884c\uff0c\u4ec5\u5728 "),e.I0R(179,"code"),e.OEk(180,"horizontal"),e.C$Y(),e.OEk(181," \u65f6\u6709\u6548"),e.C$Y(),e.I0R(182,"td")(183,"code"),e.OEk(184,"boolean"),e.C$Y()(),e.I0R(185,"td")(186,"code"),e.OEk(187,"false"),e.C$Y()(),e.wR5(188,"td"),e.C$Y(),e.I0R(189,"tr")(190,"td")(191,"code"),e.OEk(192,"[nzSplit]"),e.C$Y()(),e.I0R(193,"td"),e.OEk(194,"\u8bbe\u7f6e\u5206\u9694\u7b26"),e.C$Y(),e.I0R(195,"td")(196,"code"),e.OEk(197,"TemplateRef"),e.C$Y()(),e.I0R(198,"td"),e.OEk(199,"-"),e.C$Y(),e.wR5(200,"td"),e.C$Y()()(),e.eAF(),e.C$Y()()),2&r&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(53),e.E7m("nzGutter",8),e.yG2(),e.E7m("nzSpan",24),e.yG2(),e.E7m("nzId","components-space-demo-basic")("nzLink","components-space-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/basic.md"),e.yG2(5),e.E7m("nzId","components-space-demo-vertical")("nzLink","components-space-demo-vertical")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/vertical.md"),e.yG2(10),e.E7m("nzId","components-space-demo-size")("nzLink","components-space-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/size.md"),e.yG2(18),e.E7m("nzId","components-space-demo-align")("nzLink","components-space-demo-align")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/align.md"),e.yG2(5),e.E7m("nzId","components-space-demo-customize")("nzLink","components-space-demo-customize")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/customize.md"),e.yG2(5),e.E7m("nzId","components-space-demo-split")("nzLink","components-space-demo-split")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/split.md"))},dependencies:[_.A,S.s9,S.mK,F.g,p.QD,p.ox,d.qG,I.If,m.k,x,G,M,H,L,P],encapsulation:2})}return n})(),me=(()=>{class n{constructor(){this.expanded=!1}goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
1h(l=>{l.nzExpanded=this.expanded,l.expandCode(this.expanded),l.check()})}static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275cmp=e.In1({type:n,selectors:[["nz-demo-space"]],viewQuery:function(r,u){if(1&r&&e.CC$(_.A,5),2&r){let g;e.wto(g=e.Gqi())&&(u.codeBoxes=g)}},decls:202,vars:28,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-space-demo-basic","nzTitle","Basic Usage"],["nzHref","#components-space-demo-vertical","nzTitle","Vertical Space"],["nzHref","#components-space-demo-size","nzTitle","Space Size"],["nzHref","#components-space-demo-align","nzTitle","Align"],["nzHref","#components-space-demo-customize","nzTitle","Customize Size"],["nzHref","#components-space-demo-split","nzTitle","Split"],["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/space/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,"nzSpan"],["nzTitle","Basic Usage","nzSelector","nz-demo-space-basic","nzGenerateCommand","ng g ng-zorro-antd:space-basic <name>","nzComponentName","NzDemoSpaceBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Vertical Space","nzSelector","nz-demo-space-vertical","nzGenerateCommand","ng g ng-zorro-antd:space-vertical <name>","nzComponentName","NzDemoSpaceVerticalComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Space Size","nzSelector","nz-demo-space-size","nzGenerateCommand","ng g ng-zorro-antd:space-size <name>","nzComponentName","NzDemoSpaceSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Align","nzSelector","nz-demo-space-align","nzGenerateCommand","ng g ng-zorro-antd:space-align <name>","nzComponentName","NzDemoSpaceAlignComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Customize Size","nzSelector","nz-demo-space-customize","nzGenerateCommand","ng g ng-zorro-antd:space-customize <name>","nzComponentName","NzDemoSpaceCustomizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Split","nzSelector","nz-demo-space-split","nzGenerateCommand","ng g ng-zorro-antd:space-split <name>","nzComponentName","NzDemoSpaceSplitComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-space:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-space:standalone'",1,"anchor"]],template:function(r,u){1&r&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(f){return u.goLink(f)}),e.wR5(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),e.C$Y()(),e.I0R(10,"section",9)(11,"h1"),e.OEk(12,"Space"),e.wR5(13,"span",10)(14,"span",11),e.I0R(15,"a",12),e.wR5(16,"span",13),e.C$Y()(),e.I0R(17,"section",9),e.EdD(),e.I0R(18,"p"),e.OEk(19,"Set components spacing."),e.C$Y(),e.I0R(20,"h2",14)(21,"span"),e.OEk(22,"When To Use"),e.C$Y(),e.I0R(23,"a",15),e.OEk(24,"#"),e.C$Y()(),e.I0R(25,"p"),e.OEk(26,"Avoid components clinging together and set a unified space."),e.C$Y(),e.I0R(27,"pre",16)(28,"code")(29,"span",17),e.OEk(30,"import"),e.C$Y(),e.OEk(31," "),e.I0R(32,"span",18),e.OEk(33,"{"),e.C$Y(),e.OEk(34," NzSpaceModule "),e.I0R(35,"span",18),e.OEk(36,"}"),e.C$Y(),e.OEk(37," "),e.I0R(38,"span",17),e.OEk(39,"from"),e.C$Y(),e.OEk(40," "),e.I0R(41,"span",19),e.OEk(42,"'ng-zorro-antd/space'"),e.C$Y(),e.I0R(43,"span",18),e.OEk(44,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(45,"h2")(46,"span"),e.OEk(47,"Examples"),e.C$Y(),e.I0R(48,"span",20),e.qCj("click",function(){return u.expandAllCode()}),e.C$Y()()(),e.I0R(49,"div",21)(50,"div",22)(51,"nz-code-box",23),e.wR5(52,"nz-demo-space-basic",24),e.I0R(53,"div",25),e.EdD(),e.I0R(54,"p"),e.OEk(55,"Crowded components horizontal spacing."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(56,"nz-code-box",26),e.wR5(57,"nz-demo-space-vertical",24),e.I0R(58,"div",25),e.EdD(),e.I0R(59,"p"),e.OEk(60,"Crowded components vertical spacing."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(61,"nz-code-box",27),e.wR5(62,"nz-demo-space-size",24),e.I0R(63,"div",25),e.EdD(),e.I0R(64,"p")(65,"code"),e.OEk(66,"large"),e.C$Y(),e.OEk(67,", "),e.I0R(68,"code"),e.OEk(69,"middle"),e.C$Y(),e.OEk(70," and "),e.I0R(71,"code"),e.OEk(72,"small"),e.C$Y(),e.OEk(73," preset sizes."),e.C$Y(),e.I0R(74,"p"),e.OEk(75,"Set the "),e.I0R(76,"code"),e.OEk(77,"nzSize"),e.C$Y(),e.OEk(78," to "),e.I0R(79,"code"),e.OEk(80,"large"),e.C$Y(),e.OEk(81," and "),e.I0R(82,"code"),e.OEk(83,"middle"),e.C$Y(),e.OEk(84," by setting size to large and middle respectively. If "),e.I0R(85,"code"),e.OEk(86,"size"),e.C$Y(),e.OEk(87," is not set, the spacing is "),e.I0R(88,"code"),e.OEk(89,"small"),e.C$Y(),e.OEk(90,"."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(91,"nz-code-box",28),e.wR5(92,"nz-demo-space-align",24),e.I0R(93,"div",25),e.EdD(),e.I0R(94,"p"),e.OEk(95,"Config item align."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(96,"nz-code-box",29),e.wR5(97,"nz-demo-space-customize",24),e.I0R(98,"div",25),e.EdD(),e.I0R(99,"p"),e.OEk(100,"Custom spacing size."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(101,"nz-code-box",30),e.wR5(102,"nz-demo-space-split",24),e.I0R(103,"div",25),e.EdD(),e.I0R(104,"p"),e.OEk(105,"Crowded components split."),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(106,"section",31),e.EdD(),e.I0R(107,"h2",32)(108,"span"),e.OEk(109,"API"),e.C$Y(),e.I0R(110,"a",33),e.OEk(111,"#"),e.C$Y()(),e.I0R(112,"h3",34)(113,"span"),e.OEk(114,"nz-space"),e.C$Y(),e.I0R(115,"label",35),e.OEk(116,"component"),e.C$Y(),e.I0R(117,"label",36),e.OEk(118,"standalone"),e.C$Y(),e.I0R(119,"a",37),e.OEk(120,"#"),e.C$Y()(),e.I0R(121,"table")(122,"thead")(123,"tr")(124,"th"),e.OEk(125,"Property"),e.C$Y(),e.I0R(126,"th"),e.OEk(127,"Description"),e.C$Y(),e.I0R(128,"th"),e.OEk(129,"Type"),e.C$Y(),e.I0R(130,"th"),e.OEk(131,"Default"),e.C$Y(),e.I0R(132,"th"),e.OEk(133,"Global Config"),e.C$Y()()(),e.I0R(134,"tbody")(135,"tr")(136,"td")(137,"code"),e.OEk(138,"[nzSize]"),e.C$Y()(),e.I0R(139,"td"),e.OEk(140,"The space size"),e.C$Y(),e.I0R(141,"td")(142,"code"),e.OEk(143,"'small' | 'middle' | 'large' | number"),e.C$Y()(),e.I0R(144,"td")(145,"code"),e.OEk(146,"small"),e.C$Y()(),e.I0R(147,"td"),e.OEk(148,"\u2705"),e.C$Y()(),e.I0R(149,"tr")(150,"td")(151,"code"),e.OEk(152,"[nzDirection]"),e.C$Y()(),e.I0R(153,"td"),e.OEk(154,"The space direction"),e.C$Y(),e.I0R(155,"td")(156,"code"),e.OEk(157,"'vertical' | 'horizontal'"),e.C$Y()(),e.I0R(158,"td")(159,"code"),e.OEk(160,"horizontal"),e.C$Y()(),e.wR5(161,"td"),e.C$Y(),e.I0R(162,"tr")(163,"td")(164,"code"),e.OEk(165,"[nzAlign]"),e.C$Y()(),e.I0R(166,"td"),e.OEk(167,"Align items"),e.C$Y(),e.I0R(168,"td")(169,"code"),e.OEk(170,"'start' | 'end' | 'baseline' | 'center'"),e.C$Y()(),e.I0R(171,"td"),e.OEk(172,"-"),e.C$Y(),e.wR5(173,"td"),e.C$Y(),e.I0R(174,"tr")(175,"td")(176,"code"),e.OEk(177,"[nzWrap]"),e.C$Y()(),e.I0R(178,"td"),e.OEk(179,"Auto wrap line, when "),e.I0R(180,"code"),e.OEk(181,"horizontal"),e.C$Y(),e.OEk(182," effective"),e.C$Y(),e.I0R(183,"td")(184,"code"),e.OEk(185,"boolean"),e.C$Y()(),e.I0R(186,"td")(187,"code"),e.OEk(188,"false"),e.C$Y()(),e.wR5(189,"td"),e.C$Y(),e.I0R(190,"tr")(191,"td")(192,"code"),e.OEk(193,"[nzSplit]"),e.C$Y()(),e.I0R(194,"td"),e.OEk(195,"Set split"),e.C$Y(),e.I0R(196,"td")(197,"code"),e.OEk(198,"TemplateRef"),e.C$Y()(),e.I0R(199,"td"),e.OEk(200,"-"),e.C$Y(),e.wR5(201,"td"),e.C$Y()()(),e.eAF(),e.C$Y()()),2&r&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(47),e.E7m("nzGutter",8),e.yG2(),e.E7m("nzSpan",24),e.yG2(),e.E7m("nzId","components-space-demo-basic")("nzLink","components-space-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/basic.md"),e.yG2(5),e.E7m("nzId","components-space-demo-vertical")("nzLink","components-space-demo-vertical")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/vertical.md"),e.yG2(5),e.E7m("nzId","components-space-demo-size")("nzLink","components-space-demo-size")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/size.md"),e.yG2(30),e.E7m("nzId","components-space-demo-align")("nzLink","components-space-demo-align")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/align.md"),e.yG2(5),e.E7m("nzId","components-space-demo-customize")("nzLink","components-space-demo-customize")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/customize.md"),e.yG2(5),e.E7m("nzId","components-space-demo-split")("nzLink","components-space-demo-split")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/space/demo/split.md"))},dependencies:[_.A,S.s9,S.mK,F.g,p.QD,p.ox,d.qG,I.If,m.k,x,G,M,H,L,P],encapsulation:2})}return n})(),Ce=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#n=this.\u0275mod=e.a4G({type:n});static#t=this.\u0275inj=e.s3X({imports:[i.K,v,c.qQ.forChild([{path:"en",component:me},{path:"zh",component:ue}])]})}return n})()},9656:(w,b,s)=>{s.d(b,{es:()=>F,sn:()=>p,uw:()=>S});var c=s(1316),i=s(4496),E=s(6504),O=s(2540),D=s(5657),I=s(800),h=s(3616),R=s(5739),$=s(1900),C=s(916),y=s(3972);const Y=["*"],v=["inputElement"],_=["nz-radio",""];let e=(()=>{class d{constructor(){this.selected$=new O.o(1),this.touched$=new D.E,this.disabled$=new O.o(1),this.name$=new O.o(1)}touch(){this.touched$.next()}select(t){this.selected$.next(t)}setDisabled(t){this.disabled$.next(t)}setName(t){this.name$.next(t)}static#e=this.\u0275fac=function(a){return new(a||d)};static#n=this.\u0275prov=i.wxM({token:d,factory:d.\u0275fac})}return d})(),S=(()=>{class d{constructor(t,a,o){this.cdr=t,this.nzRadioService=a,this.directionality=o,this.value=null,this.destroy$=new D.E,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,h.a)(this.destroy$)).subscribe(t=>{this.value!==t&&(this.value=t,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,h.a)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,h.a)(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(t){const{nzDisabled:a,nzName:o}=t;a&&this.nzRadioService.setDisabled(this.nzDisabled),o&&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#e=this.\u0275fac=function(a){return new(a||d)(i.GI1(i.kD9),i.GI1(e),i.GI1($.yG,8))};static#n=this.\u0275cmp=i.In1({type:d,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(a,o){2&a&&i.eAK("ant-radio-group-large","large"===o.nzSize)("ant-radio-group-small","small"===o.nzSize)("ant-radio-group-solid","solid"===o.nzButtonStyle)("ant-radio-group-rtl","rtl"===o.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],standalone:!0,features:[i.M5G([e,{provide:E.Y6,useExisting:(0,i.wd)(()=>d),multi:!0}]),i.SYr,i.UHJ],ngContentSelectors:Y,decls:1,vars:0,template:function(a,o){1&a&&(i.kPM(),i._Xx(0))},encapsulation:2,changeDetection:0})}return(0,c.UN)([(0,R.U7)()],d.prototype,"nzDisabled",void 0),d})(),F=(()=>{class d{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(t,a,o,k,N,A,B){this.ngZone=t,this.elementRef=a,this.cdr=o,this.focusMonitor=k,this.directionality=N,this.nzRadioService=A,this.nzFormStatusService=B,this.isNgModel=!1,this.destroy$=new D.E,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.isRadioButton=!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,h.a)(this.destroy$)).subscribe(t=>{this.name=t,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,h.a)(this.destroy$)).subscribe(t=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,h.a)(this.destroy$)).subscribe(t=>{const a=this.isChecked;this.isChecked=this.nzValue===t,this.isNgModel&&a!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,h.a)(this.destroy$)).subscribe(t=>{t||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,h.a)(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,I.w)(this.elementRef.nativeElement,"click").pipe((0,h.a)(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#e=this.\u0275fac=function(a){return new(a||d)(i.GI1(i.WW2),i.GI1(i.GMv),i.GI1(i.kD9),i.GI1(C.Kk),i.GI1($.yG,8),i.GI1(e,8),i.GI1(y.WC,8))};static#n=this.\u0275cmp=i.In1({type:d,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(a,o){if(1&a&&i.CC$(v,7),2&a){let k;i.wto(k=i.Gqi())&&(o.inputElement=k.first)}},hostVars:18,hostBindings:function(a,o){2&a&&i.eAK("ant-radio-wrapper-in-form-item",!!o.nzFormStatusService)("ant-radio-wrapper",!o.isRadioButton)("ant-radio-button-wrapper",o.isRadioButton)("ant-radio-wrapper-checked",o.isChecked&&!o.isRadioButton)("ant-radio-button-wrapper-checked",o.isChecked&&o.isRadioButton)("ant-radio-wrapper-disabled",o.nzDisabled&&!o.isRadioButton)("ant-radio-button-wrapper-disabled",o.nzDisabled&&o.isRadioButton)("ant-radio-wrapper-rtl",!o.isRadioButton&&"rtl"===o.dir)("ant-radio-button-wrapper-rtl",o.isRadioButton&&"rtl"===o.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",
1isRadioButton:[i.Wk5.HasDecoratorInputTransform,"nz-radio-button","isRadioButton",i.cZD]},exportAs:["nzRadio"],standalone:!0,features:[i.M5G([{provide:E.Y6,useExisting:(0,i.wd)(()=>d),multi:!0}]),i.QJr,i.UHJ],attrs:_,ngContentSelectors:Y,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(a,o){1&a&&(i.kPM(),i.I0R(0,"span"),i.wR5(1,"input",0,1)(3,"span"),i.C$Y(),i.I0R(4,"span"),i._Xx(5),i.C$Y()),2&a&&(i.eAK("ant-radio",!o.isRadioButton)("ant-radio-checked",o.isChecked&&!o.isRadioButton)("ant-radio-disabled",o.nzDisabled&&!o.isRadioButton)("ant-radio-button",o.isRadioButton)("ant-radio-button-checked",o.isChecked&&o.isRadioButton)("ant-radio-button-disabled",o.nzDisabled&&o.isRadioButton),i.yG2(),i.eAK("ant-radio-input",!o.isRadioButton)("ant-radio-button-input",o.isRadioButton),i.E7m("disabled",o.nzDisabled)("checked",o.isChecked),i.e48("autofocus",o.nzAutoFocus?"autofocus":null)("name",o.name),i.yG2(2),i.eAK("ant-radio-inner",!o.isRadioButton)("ant-radio-button-inner",o.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,c.UN)([(0,R.U7)()],d.prototype,"nzDisabled",void 0),(0,c.UN)([(0,R.U7)()],d.prototype,"nzAutoFocus",void 0),d})(),p=(()=>{class d{static#e=this.\u0275fac=function(a){return new(a||d)};static#n=this.\u0275mod=i.a4G({type:d});static#t=this.\u0275inj=i.s3X({})}return d})()},1160:(w,b,s)=>{s.d(b,{I$:()=>F,UH:()=>v,Ud:()=>S});var c=s(4496),i=s(1316),E=s(1368),O=s(5657),D=s(3616),I=s(2136),h=s(5739);function R(p,d){}const $=p=>({$implicit:p});function C(p,d){if(1&p&&(c.I0R(0,"span",4),c.yuY(1,R,0,0,"ng-template",5),c.C$Y()),2&p){const m=c.GaO(),t=m.last,a=m.index,o=c.GaO();c.m4B("margin-bottom","vertical"===o.nzDirection?t?null:o.spaceSize:null,"px")("margin-right","horizontal"===o.nzDirection?t?null:o.spaceSize:null,"px"),c.yG2(),c.E7m("ngTemplateOutlet",o.nzSplit)("ngTemplateOutletContext",c.S45(6,$,a))}}function y(p,d){if(1&p&&(c.I0R(0,"div",1),c.C_f(1,2),c.C$Y(),c.yuY(2,C,2,8,"span",3)),2&p){const m=d.$implicit,t=d.last,a=c.GaO();c.m4B("margin-bottom","vertical"===a.nzDirection?t?null:a.spaceSize:null,"px")("margin-right","horizontal"===a.nzDirection?t?null:a.spaceSize:null,"px"),c.yG2(),c.E7m("ngTemplateOutlet",m),c.yG2(),c.E7m("ngIf",a.nzSplit&&!t)}}const Y=["*"];let v=(()=>{class p{constructor(){}static#e=this.\u0275fac=function(t){return new(t||p)};static#n=this.\u0275dir=c.Sc5({type:p,selectors:[["","nzSpaceItem",""]],standalone:!0})}return p})();const e={small:8,middle:16,large:24};let S=(()=>{class p{constructor(m,t){this.nzConfigService=m,this.cdr=t,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=e.small,this.destroy$=new O.E}updateSpaceItems(){this.spaceSize=("string"==typeof this.nzSize?e[this.nzSize]:this.nzSize)/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe((0,D.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}static#e=this.\u0275fac=function(t){return new(t||p)(c.GI1(I.gl),c.GI1(c.kD9))};static#n=this.\u0275cmp=c.In1({type:p,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(t,a,o){if(1&t&&c.szK(o,v,4,c.Yw2),2&t){let k;c.wto(k=c.Gqi())&&(a.items=k)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(t,a){2&t&&(c.m4B("flex-wrap",a.nzWrap?"wrap":null),c.eAK("ant-space-horizontal","horizontal"===a.nzDirection)("ant-space-vertical","vertical"===a.nzDirection)("ant-space-align-start","start"===a.mergedAlign)("ant-space-align-end","end"===a.mergedAlign)("ant-space-align-center","center"===a.mergedAlign)("ant-space-align-baseline","baseline"===a.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize"},exportAs:["NzSpace"],standalone:!0,features:[c.SYr,c.UHJ],ngContentSelectors:Y,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],[1,"ant-space-item"],[3,"ngTemplateOutlet"],["class","ant-space-split",3,"margin-bottom","margin-right",4,"ngIf"],[1,"ant-space-split"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,a){1&t&&(c.kPM(),c._Xx(0),c.yuY(1,y,3,6,"ng-template",0)),2&t&&(c.yG2(),c.E7m("ngForOf",a.items))},dependencies:[E.XV,E.u_,E.ay],encapsulation:2,changeDetection:0})}return(0,i.UN)([(0,h.U7)()],p.prototype,"nzWrap",void 0),(0,i.UN)([(0,I.Mb)()],p.prototype,"nzSize",void 0),p})(),F=(()=>{class p{static#e=this.\u0275fac=function(t){return new(t||p)};static#n=this.\u0275mod=c.a4G({type:p});static#t=this.\u0275inj=c.s3X({})}return p})()}}]);
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.