PageSourceSearch

https://preview-8494-ng-zorro-antd.surge.sh/307.c4ea38b0ddc33e6b.js

js preview-8494-ng-zorro-antd.surge.sh collected 2026-10-03 14:56:58 UTC 64,767 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[307],{9519:(U,P,t)=>{t.r(P),t.d(P,{NzDemoSkeletonModule:()=>J});var d=t(9072),a=t(2928),s=t(2832),o=t(3608),b=t(4299),A=t(5120),f=t(8352),_=t(9656),w=t(5636),T=t(1160);const G=[s.Cc,o.iQ,b.R,A.Wy,f.EV,_.sn,w.o,T.I$];var y=t(6056),e=t(4496),B=t(8700),F=t(8656),D=t(3172),M=t(9100),m=t(28);let p=(()=>{class i{static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton-active"]],decls:1,vars:1,consts:[[3,"nzActive"]],template:function(u,k){1&u&&e.wR5(0,"nz-skeleton",0),2&u&&e.E7m("nzActive",!0)},dependencies:[s.gD],encapsulation:2})}return i})(),O=(()=>{class i{static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton-basic"]],decls:1,vars:0,template:function(u,k){1&u&&e.wR5(0,"nz-skeleton")},dependencies:[s.gD],encapsulation:2})}return i})();var n=t(7324);let r=(()=>{class i{constructor(){this.loading=!1}showSkeleton(){this.loading=!0,setTimeout(()=>{this.loading=!1},3e3)}static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton-children"]],decls:8,vars:2,consts:[[1,"article"],[3,"nzLoading"],["nz-button","",3,"disabled","click"]],template:function(u,k){1&u&&(e.I0R(0,"div",0)(1,"nz-skeleton",1)(2,"h4"),e.OEk(3,"Ant Design, a design language"),e.C$Y(),e.I0R(4,"p"),e.OEk(5," We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently. "),e.C$Y()(),e.I0R(6,"button",2),e.qCj("click",function(){return k.showSkeleton()}),e.OEk(7,"Show Skeleton"),e.C$Y()()),2&u&&(e.yG2(),e.E7m("nzLoading",k.loading),e.yG2(5),e.E7m("disabled",k.loading))},dependencies:[s.gD,f.Ez,m.k,n.o9],styles:[".article[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-bottom:16px}.article[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:16px}"]})}return i})();const l=()=>({rows:4});let S=(()=>{class i{static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton-complex"]],decls:1,vars:3,consts:[[3,"nzAvatar","nzParagraph"]],template:function(u,k){1&u&&e.wR5(0,"nz-skeleton",0),2&u&&e.E7m("nzAvatar",!0)("nzParagraph",e.q4q(2,l))},dependencies:[s.gD],encapsulation:2})}return i})();var C=t(6504);function x(i,L){if(1&i&&e.wR5(0,"nz-skeleton-element",15),2&i){const c=e.GaO();e.E7m("nzActive",c.elementActive)("nzSize",c.elementSize)("nzShape",c.buttonShape)}}function h(i,L){if(1&i&&e.wR5(0,"nz-skeleton-element",16),2&i){const c=e.GaO();e.E7m("nzActive",c.elementActive)("nzSize",c.elementSize)("nzShape",c.avatarShape)}}function R(i,L){if(1&i&&e.wR5(0,"nz-skeleton-element",17),2&i){const c=e.GaO();e.E7m("nzActive",c.elementActive)("nzSize",c.elementSize)}}let z=(()=>{class i{constructor(){this.buttonActive=!1,this.avatarActive=!1,this.inputActive=!1,this.imageActive=!1,this.buttonSize="default",this.avatarSize="default",this.inputSize="default",this.elementActive=!1,this.buttonShape="default",this.avatarShape="circle",this.elementSize="default"}static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton-element"]],decls:40,vars:7,consts:[["nzSize","middle"],["nzType","button",3,"nzActive","nzSize","nzShape",4,"nzSpaceItem"],["nzType","avatar",3,"nzActive","nzSize","nzShape",4,"nzSpaceItem"],["nzType","input","style","width:200px",3,"nzActive","nzSize",4,"nzSpaceItem"],["nzType","image",3,"nzActive"],["nz-row","","nzAlign","middle",3,"nzGutter"],["nz-col","","nzSpan","10"],[3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","default"],["nz-radio-button","","nzValue","large"],["nz-radio-button","","nzValue","small"],["nz-col","","nzSpan","5"],["nz-radio-button","","nzValue","circle"],["nz-radio-button","","nzValue","round"],["nz-radio-button","","nzValue","square"],["nzType","button",3,"nzActive","nzSize","nzShape"],["nzType","avatar",3,"nzActive","nzSize","nzShape"],["nzType","input",2,"width","200px",3,"nzActive","nzSize"]],template:function(u,k){1&u&&(e.I0R(0,"nz-space",0),e.yuY(1,x,1,3,"nz-skeleton-element",1)(2,h,1,3,"nz-skeleton-element",2)(3,R,1,2,"nz-skeleton-element",3),e.C$Y(),e.wR5(4,"br")(5,"br")(6,"nz-skeleton-element",4)(7,"nz-divider"),e.I0R(8,"div",5)(9,"div",6),e.OEk(10," Size: "),e.I0R(11,"nz-radio-group",7),e.iHE("ngModelChange",function(g){return e.kNx(k.elementSize,g)||(k.elementSize=g),g}),e.I0R(12,"label",8),e.OEk(13,"Default"),e.C$Y(),e.I0R(14,"label",9),e.OEk(15,"Large"),e.C$Y(),e.I0R(16,"label",10),e.OEk(17,"Small"),e.C$Y()()(),e.I0R(18,"div",11),e.OEk(19," Active: "),e.I0R(20,"nz-switch",7),e.iHE("ngModelChange",function(g){return e.kNx(k.elementActive,g)||(k.elementActive=g),g}),e.C$Y()()(),e.wR5(21,"br")(22,"br"),e.I0R(23,"div",5)(24,"div",6),e.OEk(25," Button Shape: "),e.I0R(26,"nz-radio-group",7),e.iHE("ngModelChange",function(g){return e.kNx(k.buttonShape,g)||(k.buttonShape=g),g}),e.I0R(27,"label",8),e.OEk(28,"Default"),e.C$Y(),e.I0R(29,"label",12),e.OEk(30,"Circle"),e.C$Y(),e.I0R(31,"label",13),e.OEk(32,"Round"),e.C$Y()()(),e.I0R(33,"div",6),e.OEk(34," Avatar Shape: "),e.I0R(35,"nz-radio-group",7),e.iHE("ngModelChange",function(g){return e.kNx(k.avatarShape,g)||(k.avatarShape=g),g}),e.I0R(36,"label",12),e.OEk(37,"Circle"),e.C$Y(),e.I0R(38,"label",14),e.OEk(39,"Square"),e.C$Y()()()()),2&u&&(e.yG2(6),e.E7m("nzActive",k.elementActive),e.yG2(2),e.
1E7m("nzGutter",8),e.yG2(3),e.OKB("ngModel",k.elementSize),e.yG2(9),e.OKB("ngModel",k.elementActive),e.yG2(3),e.E7m("nzGutter",8),e.yG2(3),e.OKB("ngModel",k.buttonShape),e.yG2(9),e.OKB("ngModel",k.avatarShape))},dependencies:[C.ue,C._G,D.QD,D.ox,s.EF,s.Mx,s.Oe,s.It,s.kN,b.c,_.es,_.uw,w.M,T.Ud,T.UH],encapsulation:2})}return i})();function v(i,L){1&i&&(e.wR5(0,"span",11),e.OEk(1," 156 "))}function E(i,L){1&i&&(e.wR5(0,"span",12),e.OEk(1," 156 "))}function I(i,L){1&i&&(e.wR5(0,"span",13),e.OEk(1," 2 "))}function Y(i,L){if(1&i&&(e.I0R(0,"a",14),e.OEk(1),e.C$Y()),2&i){const c=e.GaO().$implicit;e._6D("href",c.href,e.K6U),e.yG2(),e.cNF(c.title)}}function N(i,L){1&i&&e.wR5(0,"img",15)}const K=()=>[],H=(i,L,c)=>[i,L,c];function Z(i,L){if(1&i&&(e.I0R(0,"nz-list-item",3)(1,"nz-skeleton",4),e.yuY(2,v,2,0,"ng-template",null,5,e.gJz)(4,E,2,0,"ng-template",null,6,e.gJz)(6,I,2,0,"ng-template",null,7,e.gJz),e.I0R(8,"nz-list-item-meta",8),e.yuY(9,Y,2,2,"ng-template",null,9,e.gJz),e.C$Y(),e.yuY(11,N,1,0,"ng-template",null,10,e.gJz),e.C$Y()()),2&i){const c=L.$implicit,u=e.Gew(3),k=e.Gew(5),$=e.Gew(7),g=e.Gew(10),X=e.Gew(12),W=e.GaO();e.E7m("nzContent",W.loading?" ":c.content)("nzActions",W.loading?e.q4q(9,K):e.uAc(10,H,u,k,$))("nzExtra",W.loading?null:X),e.yG2(),e.E7m("nzLoading",W.loading)("nzActive",!0)("nzAvatar",!0),e.yG2(7),e.E7m("nzAvatar",c.avatar)("nzTitle",g)("nzDescription",c.description)}}let V=(()=>{class i{constructor(){this.loading=!0,this.listData=new Array(3).fill({}).map((c,u)=>({href:"http://ng.ant.design",title:`ant design part ${u}`,avatar:"https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png",description:"Ant Design, a design language for background applications, is refined by Ant UED Team.",content:"We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently."}))}static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton-list"]],decls:4,vars:4,consts:[[3,"ngModel","ngModelChange"],[3,"nzDataSource","nzRenderItem","nzItemLayout"],["item",""],[3,"nzContent","nzActions","nzExtra"],[3,"nzLoading","nzActive","nzAvatar"],["starAction",""],["likeAction",""],["msgAction",""],[3,"nzAvatar","nzTitle","nzDescription"],["nzTitle",""],["extra",""],["nz-icon","","nzType","star-o",2,"margin-right","8px"],["nz-icon","","nzType","like-o",2,"margin-right","8px"],["nz-icon","","nzType","message",2,"margin-right","8px"],[3,"href"],["width","272","alt","logo","src","https://gw.alipayobjects.com/zos/rmsportal/mqaQswcyDLcXyDKnZfES.png"]],template:function(u,k){if(1&u&&(e.I0R(0,"nz-switch",0),e.iHE("ngModelChange",function(g){return e.kNx(k.loading,g)||(k.loading=g),g}),e.C$Y(),e.I0R(1,"nz-list",1),e.yuY(2,Z,13,14,"ng-template",null,2,e.gJz),e.C$Y()),2&u){const $=e.Gew(3);e.OKB("ngModel",k.loading),e.yG2(),e.E7m("nzDataSource",k.listData)("nzRenderItem",$)("nzItemLayout","vertical")}},dependencies:[C.ue,C._G,A.If,s.gD,o.k7,o.mM,o._k,b.c,m.k],encapsulation:2})}return i})(),j=(()=>{class i{constructor(){this.expanded=!1}goLink(c){window&&(window.location.hash=c)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(c=>{c.nzExpanded=this.expanded,c.expandCode(this.expanded),c.check()})}static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton"]],viewQuery:function(u,k){if(1&u&&e.CC$(y.A,5),2&u){let $;e.wto($=e.Gqi())&&(k.codeBoxes=$)}},decls:491,vars:28,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-skeleton-demo-basic","nzTitle","\u57fa\u672c"],["nzHref","#components-skeleton-demo-complex","nzTitle","\u590d\u6742\u7684\u7ec4\u5408"],["nzHref","#components-skeleton-demo-active","nzTitle","\u52a8\u753b\u6548\u679c"],["nzHref","#components-skeleton-demo-element","nzTitle","\u6309\u94ae/\u5934\u50cf/\u8f93\u5165\u6846/\u56fe\u50cf"],["nzHref","#components-skeleton-demo-children","nzTitle","\u5305\u542b\u5b50\u7ec4\u4ef6"],["nzHref","#components-skeleton-demo-list","nzTitle","\u5217\u8868\u6837\u4f8b"],["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/skeleton/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","nzSelector","nz-demo-skeleton-basic","nzGenerateCommand","ng g ng-zorro-antd:skeleton-basic <name>","nzComponentName","NzDemoSkeletonBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u590d\u6742\u7684\u7ec4\u5408","nzSelector","nz-demo-skeleton-complex","nzGenerateCommand","ng g ng-zorro-antd:skeleton-complex <name>","nzComponentName","NzDemoSkeletonComplexComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u52a8\u753b\u6548\u679c","nzSelector","nz-demo-skeleton-active","nzGenerateCommand","ng g ng-zorro-antd:skeleton-active <name>","nzComponentName","NzDemoSkeletonActiveComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6309\u94ae/\u5934\u50cf/\u8f93\u5165\u6846/\u56fe\u50cf","nzSelector","nz-demo-skeleton-element","nzGenerateCommand","ng g ng-zorro-antd:skeleton-element <name>","nzComponentName","NzDemoSkeletonElementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5305\u542b\u5b50\u7ec4\u4ef6","nzSelector","nz-demo-skeleton-children","nzGenerateCommand","ng g ng-zorro-antd:skeleton-children <name>","nzComponentName","NzDemoSkeletonChildrenComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5217\u8868\u6837\u4f8b","nzSelector","nz-demo-skeleton-list","nzGenerateCommand","ng g ng-zorro-antd:skeleton-list <name>","nzComponentName","NzDemoSkeletonListComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-skeleton:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-skeleton:standalone'",1,"anchor"],["id","nzskeletonavatar"],["onclick","window.location.hash = 'nzskeletonavatar'",1,"anchor"],["id","nzskeletontitle"],["onclick","window.location.hash = 'nzskeletontitle'",1,"anchor"],["id","nzskeletonparagraph"],["onclick","window.location.hash = 'nzskeletonparagraph'",1,"anchor"],["id",'nz-skeleton-element-[nztype="button"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"button\"]:standalone'",1,"anchor"],["id",'nz-skeleton-element-[nztype="avatar"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"avatar\"]:standalone'",1,"anchor"],["id",'nz-skeleton-element-[nztype="input"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"input\"]:standalone'",1,"anchor"],["id",'nz-skeleton-element-[nztype="image"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"image\"]:standalone'",1,"anchor"]],template:function(u,k){1&u&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(g){return k.goLink(g)}),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,"Skeleton"),e.I0R(13,"span",10),e.OEk(14,"\u9aa8\u67b6\u5c4f"),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,"\u5728\u9700\u8981\u7b49\u5f85\u52a0\u8f7d\u5185\u5bb9\u7684\u4f4d\u7f6e\u63d0\u4f9b\u4e00\u4e2a\u5360\u4f4d\u56fe\u5f62\u7ec4\u5408\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,"ul")(27,"li"),e.OEk(28,"\u7f51\u7edc\u8f83\u6162\uff0c\u9700\u8981\u957f\u65f6\u95f4\u7b49\u5f85\u52a0\u8f7d\u5904\u7406\u7684\u60c5\u51b5\u4e0b\u3002"),e.C$Y(),e.I0R(29,"li"),e.OEk(30,"\u56fe\u6587\u4fe1\u606f\u5185\u5bb9\u8f83\u591a\u7684\u5217\u8868/\u5361\u7247\u4e2d\u3002"),e.C$Y(),e.I0R(31,"li"),e.OEk(32,"\u53ea\u9002\u5408\u7528\u5728\u7b2c\u4e00\u6b21\u52a0\u8f7d\u6570\u636e\u7684\u573a\u666f\u3002"),e.C$Y(),e.I0R(33,"li"),e.OEk(34,"\u53ef\u4ee5\u88ab Spin \u5b8c\u5168\u4ee3\u66ff\uff0c\u4f46\u662f\u5728\u53ef\u7528\u7684\u573a\u666f\u4e0b\u53ef\u4ee5\u6bd4 Spin \u63d0\u4f9b\u66f4\u597d\u7684\u89c6\u89c9\u6548\u679c\u548c\u7528\u6237\u4f53\u9a8c"),e.C$Y()(),e.I0R(35,"pre",16)(36,"code")(37,"span",17),e.OEk(38,"import"),e.C$Y(),e.OEk(39," "),e.I0R(40,"span",18),e.OEk(41,"{"),e.C$Y(),e.OEk(42," NzSkeletonModule "),e.I0R(43,"span",18),e.OEk(44,"}"),e.C$Y(),e.OEk(45," "),e.I0R(46,"span",17),e.OEk(47,"from"),e.C$Y(),e.OEk(48," "),e.I0R(49,"span",19),e.OEk(50,"'ng-zorro-antd/skeleton'"),e.C$Y(),e.I0R(51,"span",18),e.OEk(52,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(53,"h2")(54,"span"),e.OEk(55,"\u4ee3\u7801\u6f14\u793a"),e.C$Y(),e.I0R(56,"span",20),e.qCj("click",function(){return k.expandAllCode()}),e.C$Y()()(),e.I0R(57,"div",21)(58,"div",22)(59,"nz-code-box",23),e.wR5(60,"nz-demo-skeleton-basic",24),e.I0R(61,"div",25),e.EdD(),e.I0R(62,"p"),e.OEk(63,"\u6700\u7b80\u5355\u7684\u7528\u6cd5\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(64,"nz-code-box",26),e.wR5(65,"nz-demo-skeleton-complex",24),e.I0R(66,"div",25),e.EdD(),e.I0R(67,"p"),e.OEk(68,"\u66f4\u590d\u6742\u7684\u7ec4\u5408\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(69,"nz-code-box",27),e.wR5(70,"nz-demo-skeleton-active",24),e.I0R(71,"div",25),e.EdD(),e.I0R(72,"p"),e.OEk(73,"\u663e\u793a\u52a8\u753b\u6548\u679c\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(74,"nz-code-box",28),e.wR5(75,"nz-demo-skeleton-element",24),e.I0R(76,"div",25),e.EdD(),e.I0R(77,"p"),e.OEk(78,"\u9aa8\u67b6\u6309\u94ae\u3001\u5934\u50cf\u3001\u8f93\u5165\u6846\u548c\u56fe\u50cf\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(79,"nz-code-box",29),e.wR5(80,"nz-demo-skeleton-children",24),e.I0R(81,"div",25),e.EdD(),e.I0R(82,"p"),e.OEk(83,"\u52a0\u8f7d\u5360\u4f4d\u56fe\u5305\u542b\u5b50\u7ec4\u4ef6\u3002"),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(84,"nz-code-box",30),e.wR5(85,"nz-demo-skeleton-list",24),e.I0R(86,"div",25),e.EdD(),e.I0R(87,"p"),e.OEk(88,"\u5728\u5217\u8868\u7ec4\u4ef6\u4e2d\u4f7f\u7528\u52a0\u8f7d\u5360\u4f4d\u7b26\u3002"),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(89,"section",31),e.EdD(),e.I0R(90,"h2",32)(91,"span"),e.OEk(92,"API"),e.C$Y(),e.I0R(93,"a",33),e.OEk(94,"#"),e.C$Y()(),e.I0R(95,"h3",34)(96,"span"),e.OEk(97,"nz-skeleton"),e.C$Y(),e.I0R(98,"label",35),e.OEk(99,"component"),e.C$Y(),e.I0R(100,"label",36),e.OEk(101,"standalone"),e.C$Y(),e.I0R(102,"a",37),e.OEk(103,"#"),e.C$Y()(),e.I0R(104,"table")(105,"thead")(106,"tr")(107,"th"),e.OEk(108,"\u5c5e\u6027"),e.C$Y(),e.I0R(109,"th"),e.OEk(110,"\u8bf4\u660e"),e.C$Y(),e.I0R(111,"th"),e.OEk(112,"\u7c7b\u578b"),e.C$Y(),e.I0R(113,"th"),e.OEk(114,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(115,"tbody")(116,"tr")(117,"td")(118,"code"),e.OEk(119,"[nzActive]"),e.C$Y()(),e.I0R(120,"td"),e.OEk(121,"\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c"),e.C$Y(),e.I0R(122,"td")(123,"code"),e.OEk(124,"boolean"),e.C$Y()(),e.I0R(125,"td")(126,"code"),e.OEk(127,"false"),e.C$Y()()(),e.I0R(128,"tr")(129,"td")(130,"code"),e.OEk(131,"[nzAvatar]"),e.C$Y()(),e.I0R(132,"td"),e.OEk(133,"\u
1662f\u5426\u663e\u793a\u5934\u50cf\u5360\u4f4d\u56fe"),e.C$Y(),e.I0R(134,"td")(135,"code"),e.OEk(136,"boolean | NzSkeletonAvatar"),e.C$Y()(),e.I0R(137,"td")(138,"code"),e.OEk(139,"false"),e.C$Y()()(),e.I0R(140,"tr")(141,"td")(142,"code"),e.OEk(143,"[nzLoading]"),e.C$Y()(),e.I0R(144,"td"),e.OEk(145,"\u4e3a "),e.I0R(146,"code"),e.OEk(147,"true"),e.C$Y(),e.OEk(148," \u65f6\uff0c\u663e\u793a\u5360\u4f4d\u56fe\u3002\u53cd\u4e4b\u5219\u76f4\u63a5\u5c55\u793a\u5b50\u7ec4\u4ef6"),e.C$Y(),e.I0R(149,"td")(150,"code"),e.OEk(151,"boolean"),e.C$Y()(),e.I0R(152,"td"),e.OEk(153,"-"),e.C$Y()(),e.I0R(154,"tr")(155,"td")(156,"code"),e.OEk(157,"[nzParagraph]"),e.C$Y()(),e.I0R(158,"td"),e.OEk(159,"\u662f\u5426\u663e\u793a\u6bb5\u843d\u5360\u4f4d\u56fe"),e.C$Y(),e.I0R(160,"td")(161,"code"),e.OEk(162,"boolean | NzSkeletonParagraph"),e.C$Y()(),e.I0R(163,"td")(164,"code"),e.OEk(165,"true"),e.C$Y()()(),e.I0R(166,"tr")(167,"td")(168,"code"),e.OEk(169,"[nzTitle]"),e.C$Y()(),e.I0R(170,"td"),e.OEk(171,"\u662f\u5426\u663e\u793a\u6807\u9898\u5360\u4f4d\u56fe"),e.C$Y(),e.I0R(172,"td")(173,"code"),e.OEk(174,"boolean | NzSkeletonTitle"),e.C$Y()(),e.I0R(175,"td")(176,"code"),e.OEk(177,"true"),e.C$Y()()(),e.I0R(178,"tr")(179,"td")(180,"code"),e.OEk(181,"[nzRound]"),e.C$Y()(),e.I0R(182,"td"),e.OEk(183,"\u4e3a "),e.I0R(184,"code"),e.OEk(185,"true"),e.C$Y(),e.OEk(186," \u65f6\uff0c\u6bb5\u843d\u548c\u6807\u9898\u663e\u793a\u5706\u89d2"),e.C$Y(),e.I0R(187,"td")(188,"code"),e.OEk(189,"boolean"),e.C$Y()(),e.I0R(190,"td")(191,"code"),e.OEk(192,"false"),e.C$Y()()()()(),e.I0R(193,"h3",38)(194,"span"),e.OEk(195,"NzSkeletonAvatar"),e.C$Y(),e.I0R(196,"a",39),e.OEk(197,"#"),e.C$Y()(),e.I0R(198,"table")(199,"thead")(200,"tr")(201,"th"),e.OEk(202,"\u5c5e\u6027"),e.C$Y(),e.I0R(203,"th"),e.OEk(204,"\u8bf4\u660e"),e.C$Y(),e.I0R(205,"th"),e.OEk(206,"\u7c7b\u578b"),e.C$Y(),e.I0R(207,"th"),e.OEk(208,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(209,"tbody")(210,"tr")(211,"td")(212,"code"),e.OEk(213,"size"),e.C$Y()(),e.I0R(214,"td"),e.OEk(215,"\u8bbe\u7f6e\u5934\u50cf\u5360\u4f4d\u56fe\u7684\u5927\u5c0f"),e.C$Y(),e.I0R(216,"td")(217,"code"),e.OEk(218,"number | 'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(219,"td"),e.OEk(220,"-"),e.C$Y()(),e.I0R(221,"tr")(222,"td")(223,"code"),e.OEk(224,"shape"),e.C$Y()(),e.I0R(225,"td"),e.OEk(226,"\u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6"),e.C$Y(),e.I0R(227,"td")(228,"code"),e.OEk(229,"'circle' | 'square'"),e.C$Y()(),e.I0R(230,"td"),e.OEk(231,"-"),e.C$Y()()()(),e.I0R(232,"h3",40)(233,"span"),e.OEk(234,"NzSkeletonTitle"),e.C$Y(),e.I0R(235,"a",41),e.OEk(236,"#"),e.C$Y()(),e.I0R(237,"table")(238,"thead")(239,"tr")(240,"th"),e.OEk(241,"\u5c5e\u6027"),e.C$Y(),e.I0R(242,"th"),e.OEk(243,"\u8bf4\u660e"),e.C$Y(),e.I0R(244,"th"),e.OEk(245,"\u7c7b\u578b"),e.C$Y(),e.I0R(246,"th"),e.OEk(247,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(248,"tbody")(249,"tr")(250,"td")(251,"code"),e.OEk(252,"width"),e.C$Y()(),e.I0R(253,"td"),e.OEk(254,"\u8bbe\u7f6e\u6807\u9898\u5360\u4f4d\u56fe\u7684\u5bbd\u5ea6"),e.C$Y(),e.I0R(255,"td")(256,"code"),e.OEk(257,"number | string"),e.C$Y()(),e.I0R(258,"td"),e.OEk(259,"-"),e.C$Y()()()(),e.I0R(260,"h3",42)(261,"span"),e.OEk(262,"NzSkeletonParagraph"),e.C$Y(),e.I0R(263,"a",43),e.OEk(264,"#"),e.C$Y()(),e.I0R(265,"table")(266,"thead")(267,"tr")(268,"th"),e.OEk(269,"\u5c5e\u6027"),e.C$Y(),e.I0R(270,"th"),e.OEk(271,"\u8bf4\u660e"),e.C$Y(),e.I0R(272,"th"),e.OEk(273,"\u7c7b\u578b"),e.C$Y(),e.I0R(274,"th"),e.OEk(275,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(276,"tbody")(277,"tr")(278,"td")(279,"code"),e.OEk(280,"rows"),e.C$Y()(),e.I0R(281,"td"),e.OEk(282,"\u8bbe\u7f6e\u6bb5\u843d\u5360\u4f4d\u56fe\u7684\u884c\u6570"),e.C$Y(),e.I0R(283,"td")(284,"code"),e.OEk(285,"number"),e.C$Y()(),e.I0R(286,"td"),e.OEk(287,"-"),e.C$Y()(),e.I0R(288,"tr")(289,"td")(290,"code"),e.OEk(291,"width"),e.C$Y()(),e.I0R(292,"td"),e.OEk(293,"\u8bbe\u7f6e\u6807\u9898\u5360\u4f4d\u56fe\u7684\u5bbd\u5ea6\uff0c\u82e5\u4e3a\u6570\u7ec4\u65f6\u5219\u4e3a\u5bf9\u5e94\u7684\u6bcf\u884c\u5bbd\u5ea6\uff0c\u53cd\u4e4b\u5219\u662f\u6700\u540e\u4e00\u884c\u7684\u5bbd\u5ea6"),e.C$Y(),e.I0R(294,"td")(295,"code"),e.OEk(296,"number | string | Array<number | string>"),e.C$Y()(),e.I0R(297,"td"),e.OEk(298,"-"),e.C$Y()()()(),e.I0R(299,"h3",44)(300,"span"),e.OEk(301,'nz-skeleton-element [nzType="button"]'),e.C$Y(),e.I0R(302,"label",35),e.OEk(303,"component"),e.C$Y(),e.I0R(304,"label",36),e.OEk(305,"standalone"),e.C$Y(),e.I0R(306,"a",45),e.OEk(307,"#"),e.C$Y()(),e.I0R(308,"table")(309,"thead")(310,"tr")(311,"th"),e.OEk(312,"\u5c5e\u6027"),e.C$Y(),e.I0R(313,"th"),e.OEk(314,"\u8bf4\u660e"),e.C$Y(),e.I0R(315,"th"),e.OEk(316,"\u7c7b\u578b"),e.C$Y(),e.I0R(317,"th"),e.OEk(318,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(319,"tbody")(320,"tr")(321,"td")(322,"code"),e.OEk(323,"[nzActive]"),e.C$Y()(),e.I0R(324,"td"),e.OEk(325,"\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c"),e.C$Y(),e.I0R(326,"td")(327,"code"),e.OEk(328,"boolean"),e.C$Y()(),e.I0R(329,"td")(330,"code"),e.OEk(331,"false"),e.C$Y()()(),e.I0R(332,"tr")(333,"td")(334,"code"),e.OEk(335,"[nzSize]"),e.C$Y()(),e.I0R(336,"td"),e.OEk(337,"\u5927\u5c0f"),e.C$Y(),e.I0R(338,"td")(339,"code"),e.OEk(340,"'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(341,"td")(342,"code"),e.OEk(343,"'default'"),e.C$Y()()(),e.I0R(344,"tr")(345,"td")(346,"code"),e.OEk(347,"[nzShape]"),e.C$Y()(),e.I0R(348,"td"),e.OEk(349,"\u5f62\u72b6"),e.C$Y(),e.I0R(350,"td")(351,"code"),e.OEk(352,"'circle' | 'round' | 'default'"),e.C$Y()(),e.I0R(353,"td")(354,"code"),e.OEk(355,"'default'"),e.C$Y()()()()(),e.I0R(356,"h3",46)(357,"span"),e.OEk(358,'nz-skeleton-element [nzType="avatar"]'),e.C$Y(),e.I0R(359,"label",35),e.OEk(360,"component"),e.C$Y(),e.I0R(361,"label",36),e.OEk(362,"standalone"),e.C$Y(),e.I0R(363,"a",47),e.OEk(364,"#"),e.C$Y()(),e.I0R(365,"table")(366,"thead")(367,"tr")(368,"th"),e.OEk(369,"\u5c5e\u6027"),e.C$Y(),e.I0R(370,"th"),e.OEk(371,"\u8bf4\u660e"),e.C$Y(),e.I0R(372,"th"),e.OEk(373,"\u7c7b\u578b"),e.C$Y(),e.I0R(374,"th"),e.OEk(375,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(376,"tbody")(377,"tr")(378,"td")(379,"code"),e.OEk(380,"[nzActive]"),e.C$Y()(),e.I0R(381,"td"),e.OEk(382,"\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c"),e.C$Y(),e.I0R(383,"td")(384,"code"),e.OEk(385,"boolean"),e.C$Y()(),e.I0R(386,"td")(387,"code"),e.OEk(388,"fal
1se"),e.C$Y()()(),e.I0R(389,"tr")(390,"td")(391,"code"),e.OEk(392,"[nzSize]"),e.C$Y()(),e.I0R(393,"td"),e.OEk(394,"\u5927\u5c0f"),e.C$Y(),e.I0R(395,"td")(396,"code"),e.OEk(397,"number | 'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(398,"td")(399,"code"),e.OEk(400,"'default'"),e.C$Y()()(),e.I0R(401,"tr")(402,"td")(403,"code"),e.OEk(404,"[nzShape]"),e.C$Y()(),e.I0R(405,"td"),e.OEk(406,"\u5f62\u72b6"),e.C$Y(),e.I0R(407,"td")(408,"code"),e.OEk(409,"'circle' | 'square'"),e.C$Y()(),e.I0R(410,"td")(411,"code"),e.OEk(412,"'square'"),e.C$Y()()()()(),e.I0R(413,"h3",48)(414,"span"),e.OEk(415,'nz-skeleton-element [nzType="input"]'),e.C$Y(),e.I0R(416,"label",35),e.OEk(417,"component"),e.C$Y(),e.I0R(418,"label",36),e.OEk(419,"standalone"),e.C$Y(),e.I0R(420,"a",49),e.OEk(421,"#"),e.C$Y()(),e.I0R(422,"table")(423,"thead")(424,"tr")(425,"th"),e.OEk(426,"\u5c5e\u6027"),e.C$Y(),e.I0R(427,"th"),e.OEk(428,"\u8bf4\u660e"),e.C$Y(),e.I0R(429,"th"),e.OEk(430,"\u7c7b\u578b"),e.C$Y(),e.I0R(431,"th"),e.OEk(432,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(433,"tbody")(434,"tr")(435,"td")(436,"code"),e.OEk(437,"[nzActive]"),e.C$Y()(),e.I0R(438,"td"),e.OEk(439,"\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c"),e.C$Y(),e.I0R(440,"td")(441,"code"),e.OEk(442,"boolean"),e.C$Y()(),e.I0R(443,"td")(444,"code"),e.OEk(445,"false"),e.C$Y()()(),e.I0R(446,"tr")(447,"td")(448,"code"),e.OEk(449,"[nzSize]"),e.C$Y()(),e.I0R(450,"td"),e.OEk(451,"\u5927\u5c0f"),e.C$Y(),e.I0R(452,"td")(453,"code"),e.OEk(454,"'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(455,"td")(456,"code"),e.OEk(457,"'default'"),e.C$Y()()()()(),e.I0R(458,"h3",50)(459,"span"),e.OEk(460,'nz-skeleton-element [nzType="image"]'),e.C$Y(),e.I0R(461,"label",35),e.OEk(462,"component"),e.C$Y(),e.I0R(463,"label",36),e.OEk(464,"standalone"),e.C$Y(),e.I0R(465,"a",51),e.OEk(466,"#"),e.C$Y()(),e.I0R(467,"table")(468,"thead")(469,"tr")(470,"th"),e.OEk(471,"\u5c5e\u6027"),e.C$Y(),e.I0R(472,"th"),e.OEk(473,"\u8bf4\u660e"),e.C$Y(),e.I0R(474,"th"),e.OEk(475,"\u7c7b\u578b"),e.C$Y(),e.I0R(476,"th"),e.OEk(477,"\u9ed8\u8ba4\u503c"),e.C$Y()()(),e.I0R(478,"tbody")(479,"tr")(480,"td")(481,"code"),e.OEk(482,"[nzActive]"),e.C$Y()(),e.I0R(483,"td"),e.OEk(484,"\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c"),e.C$Y(),e.I0R(485,"td")(486,"code"),e.OEk(487,"boolean"),e.C$Y()(),e.I0R(488,"td")(489,"code"),e.OEk(490,"false"),e.C$Y()()()()(),e.eAF(),e.C$Y()()),2&u&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(55),e.E7m("nzGutter",8),e.yG2(),e.E7m("nzSpan",24),e.yG2(),e.E7m("nzId","components-skeleton-demo-basic")("nzLink","components-skeleton-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/basic.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-complex")("nzLink","components-skeleton-demo-complex")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/complex.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-active")("nzLink","components-skeleton-demo-active")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/active.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-element")("nzLink","components-skeleton-demo-element")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/element.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-children")("nzLink","components-skeleton-demo-children")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/children.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-list")("nzLink","components-skeleton-demo-list")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/list.md"))},dependencies:[y.A,B.s9,B.mK,F.g,D.QD,D.ox,M.qG,A.If,m.k,p,O,r,S,z,V],encapsulation:2})}return i})(),Q=(()=>{class i{constructor(){this.expanded=!1}goLink(c){window&&(window.location.hash=c)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEac
1h(c=>{c.nzExpanded=this.expanded,c.expandCode(this.expanded),c.check()})}static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275cmp=e.In1({type:i,selectors:[["nz-demo-skeleton"]],viewQuery:function(u,k){if(1&u&&e.CC$(y.A,5),2&u){let $;e.wto($=e.Gqi())&&(k.codeBoxes=$)}},decls:488,vars:28,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-skeleton-demo-basic","nzTitle","Basic"],["nzHref","#components-skeleton-demo-complex","nzTitle","Complex combination"],["nzHref","#components-skeleton-demo-active","nzTitle","Active Animation"],["nzHref","#components-skeleton-demo-element","nzTitle","Button/Avatar/Input/Image"],["nzHref","#components-skeleton-demo-children","nzTitle","Contains sub component"],["nzHref","#components-skeleton-demo-list","nzTitle","List Sample"],["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/skeleton/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","nzSelector","nz-demo-skeleton-basic","nzGenerateCommand","ng g ng-zorro-antd:skeleton-basic <name>","nzComponentName","NzDemoSkeletonBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Complex combination","nzSelector","nz-demo-skeleton-complex","nzGenerateCommand","ng g ng-zorro-antd:skeleton-complex <name>","nzComponentName","NzDemoSkeletonComplexComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Active Animation","nzSelector","nz-demo-skeleton-active","nzGenerateCommand","ng g ng-zorro-antd:skeleton-active <name>","nzComponentName","NzDemoSkeletonActiveComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Button/Avatar/Input/Image","nzSelector","nz-demo-skeleton-element","nzGenerateCommand","ng g ng-zorro-antd:skeleton-element <name>","nzComponentName","NzDemoSkeletonElementComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Contains sub component","nzSelector","nz-demo-skeleton-children","nzGenerateCommand","ng g ng-zorro-antd:skeleton-children <name>","nzComponentName","NzDemoSkeletonChildrenComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","List Sample","nzSelector","nz-demo-skeleton-list","nzGenerateCommand","ng g ng-zorro-antd:skeleton-list <name>","nzComponentName","NzDemoSkeletonListComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-skeleton:standalone"],[1,"api-type-label","component"],[1,"api-type-label","standalone"],["onclick","window.location.hash = 'nz-skeleton:standalone'",1,"anchor"],["id","nzskeletonavatar"],["onclick","window.location.hash = 'nzskeletonavatar'",1,"anchor"],["id","nzskeletontitle"],["onclick","window.location.hash = 'nzskeletontitle'",1,"anchor"],["id","nzskeletonparagraph"],["onclick","window.location.hash = 'nzskeletonparagraph'",1,"anchor"],["id",'nz-skeleton-element-[nztype="button"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"button\"]:standalone'",1,"anchor"],["id",'nz-skeleton-element-[nztype="avatar"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"avatar\"]:standalone'",1,"anchor"],["id",'nz-skeleton-element-[nztype="input"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"input\"]:standalone'",1,"anchor"],["id",'nz-skeleton-element-[nztype="image"]:standalone'],["onclick","window.location.hash = 'nz-skeleton-element-[nztype=\"image\"]:standalone'",1,"anchor"]],template:function(u,k){1&u&&(e.I0R(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),e.qCj("nzClick",function(g){return k.goLink(g)}),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,"Skeleton"),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,"Provide a placeholder while you wait for content to load or visualize content that doesn't exist yet."),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,"ul")(26,"li"),e.OEk(27,"When resource needs long time loading, like low network speed."),e.C$Y(),e.I0R(28,"li"),e.OEk(29,"The component contains information, such as a List or Card."),e.C$Y(),e.I0R(30,"li"),e.OEk(31,"Only works when loading data for the first time."),e.C$Y(),e.I0R(32,"li"),e.OEk(33,"Could be replaced by Spin in any situation but can provide a better user experience."),e.C$Y()(),e.I0R(34,"pre",16)(35,"code")(36,"span",17),e.OEk(37,"import"),e.C$Y(),e.OEk(38," "),e.I0R(39,"span",18),e.OEk(40,"{"),e.C$Y(),e.OEk(41," NzSkeletonModule "),e.I0R(42,"span",18),e.OEk(43,"}"),e.C$Y(),e.OEk(44," "),e.I0R(45,"span",17),e.OEk(46,"from"),e.C$Y(),e.OEk(47," "),e.I0R(48,"span",19),e.OEk(49,"'ng-zorro-antd/skeleton'"),e.C$Y(),e.I0R(50,"span",18),e.OEk(51,";"),e.C$Y()()(),e.eAF(),e.C$Y(),e.I0R(52,"h2")(53,"span"),e.OEk(54,"Examples"),e.C$Y(),e.I0R(55,"span",20),e.qCj("click",function(){return k.expandAllCode()}),e.C$Y()()(),e.I0R(56,"div",21)(57,"div",22)(58,"nz-code-box",23),e.wR5(59,"nz-demo-skeleton-basic",24),e.I0R(60,"div",25),e.EdD(),e.I0R(61,"p"),e.OEk(62,"Basic usage."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(63,"nz-code-box",26),e.wR5(64,"nz-demo-skeleton-complex",24),e.I0R(65,"div",25),e.EdD(),e.I0R(66,"p"),e.OEk(67,"Complex combination with avatar and multiple paragraphs."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(68,"nz-code-box",27),e.wR5(69,"nz-demo-skeleton-active",24),e.I0R(70,"div",25),e.EdD(),e.I0R(71,"p"),e.OEk(72,"Display active animation."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(73,"nz-code-box",28),e.wR5(74,"nz-demo-skeleton-element",24),e.I0R(75,"div",25),e.EdD(),e.I0R(76,"p"),e.OEk(77,"Skeleton button, avatar, input and image."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(78,"nz-code-box",29),e.wR5(79,"nz-demo-skeleton-children",24),e.I0R(80,"div",25),e.EdD(),e.I0R(81,"p"),e.OEk(82,"Skeleton contains sub component."),e.C$Y(),e.eAF(),e.C$Y()(),e.I0R(83,"nz-code-box",30),e.wR5(84,"nz-demo-skeleton-list",24),e.I0R(85,"div",25),e.EdD(),e.I0R(86,"p"),e.OEk(87,"Use skeleton in list component."),e.C$Y(),e.eAF(),e.C$Y()()()(),e.I0R(88,"section",31),e.EdD(),e.I0R(89,"h2",32)(90,"span"),e.OEk(91,"API"),e.C$Y(),e.I0R(92,"a",33),e.OEk(93,"#"),e.C$Y()(),e.I0R(94,"h3",34)(95,"span"),e.OEk(96,"nz-skeleton"),e.C$Y(),e.I0R(97,"label",35),e.OEk(98,"component"),e.C$Y(),e.I0R(99,"label",36),e.OEk(100,"standalone"),e.C$Y(),e.I0R(101,"a",37),e.OEk(102,"#"),e.C$Y()(),e.I0R(103,"table")(104,"thead")(105,"tr")(106,"th"),e.OEk(107,"Property"),e.C$Y(),e.I0R(108,"th"),e.OEk(109,"Description"),e.C$Y(),e.I0R(110,"th"),e.OEk(111,"Type"),e.C$Y(),e.I0R(112,"th"),e.OEk(113,"Default"),e.C$Y()()(),e.I0R(114,"tbody")(115,"tr")(116,"td")(117,"code"),e.OEk(118,"[nzActive]"),e.C$Y()(),e.I0R(119,"td"),e.OEk(120,"Show animation effect"),e.C$Y(),e.I0R(121,"td")(122,"code"),e.OEk(123,"boolean"),e.C$Y()(),e.I0R(124,"td")(125,"code"),e.OEk(126,"false"),e.C$Y()()(),e.I0R(127,"tr")(128,"td")(129,"code"),e.OEk(130,"[nzAvatar]"),e.C$Y()(),e.I0R(131,"td"),e.OEk(132,"Show avatar placeholder"),e.C$Y(),e.I0R(133,"td")(134,"code"),e.OEk(135,"boolean | NzSkeletonAvatar"),e.C$Y()(),e.I0R(136,"td")(137,"code"),e.OEk(138,"false"),e.C$Y()()(),e.I0R(139,"tr")(140,"td")(141,"code"),e.OEk(142,"[nzLoading]"),e.C$Y()(),e.I0R(143,"td"),e.OEk(144,"Display the skeleton when "),e.I0R(145,"code"),e.OEk(146,"true"),e.C$Y()(),e.I0R(147,"td")(148,"code"),e.OEk(149,"boolean"),e.C$Y()(),e.I0R(150,"td"),e.OEk(151,"-"),e.C$Y()(),e.I0R(152,"tr")(153,"td")(154,"code"),e.OEk(155,"[nzParagraph]"),e.C$Y()(),e.I0R(156,"td"),e.OEk(157,"Show the paragraph placeholder"),e.C$Y(),e.I0R(158,"td")(159,"code"),e.OEk(160,"boolean | NzSkeletonParagraph"),e.C$Y()(),e.I0R(161,"td")(162,"code"),e.OEk(163,"true"),e.C$Y()()(),e.I0R(164,"tr")(165,"td")(166,"code"),e.OEk(167,"[nzTitle]"),e.C$Y()(),e.I0R(168,"td"),e.OEk(169,"Show the title placeholder"),e.C$Y(),e.I0R(170,"td")(171,"code"),e.OEk(172,"boolean | NzSkeletonTitle"),e.C$Y()(),e.I0R(173,"td")(174,"code"),e.OEk(175,"true"),e.C$Y()()(),e.I0R(176,"tr")(177,"td")(178,"code"),e.OEk(179,"[nzRound]"),e.C$Y()(),e.I0R(180,"td"),e.OEk(181,"Show the paragraph and the title radius when "),e.I0R(182,"code"),e.OEk(183,"true"),e.C$Y()(),e.I0R(184,"td")(185,"code"),e.OEk(186,"boolean"),e.C$Y()(),e.I0R(187,"td")(188,"code"),e.OEk(189,"false"),e.C$Y()()()()(),e.I0R(190,"h3",38)(191,"span"),e.OEk(192,"NzSkeletonAvatar"),e.C$Y(),e.I0R(193,"a",39),e.OEk(194,"#"),e.C$Y()(),e.I0R(195,"table")(196,"thead")(197,"tr")(198,"th"),e.OEk(199,"Property"),e.C$Y(),e.I0R(200,"th"),e.OEk(201,"Description"),e.C$Y(),e.I0R(202,"th"),e.OEk(203,"Type"),e.C$Y(),e.I0R(204,"th"),e.OEk(205,"Default"),e.C$Y()()(),e.I0R(206,"tbody")(207,"tr")(208,"td")(209,"code"),e.OEk(210,"size"),e.C$Y()(),e.I0R(211,"td"),e.OEk(212,"Set the avatar size"),e.C$Y(),e.I0R(213,"td")(214,"code"),e.OEk(215,"number | 'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(216,"td"),e.OEk(217,"-"),e.C$Y()(),e.I0R(218,"tr")(219,"td")(220,"code"),e.OEk(221,"shape"),e.C$Y()(),e.I0R(222,"td"),e.OEk(223,"Set the avatar shape"),e.C$Y(),e.I0R(224,"td")(225,"code"),e.OEk(226,"'circle' | 'square'"),e.C$Y()(),e.I0R(227,"td"),e.OEk(228,"-"),e.C$Y()()()(),e.I0R(229,"h3",40)(230,"span"),e.OEk(231,"NzSkeletonTitle"),e.C$Y(),e.I0R(232,"a",41),e.OEk(233,"#"),e.C$Y()(),e.I0R(234,"table")(235,"thead")(236,"tr")(237,"th"),e.OEk(238,"Property"),e.C$Y(),e.I0R(239,"th"),e.OEk(240,"Description"),e.C$Y(),e.I0R(241,"th"),e.OEk(242,"Type"),e.C$Y(),e.I0R(243,"th"),e.OEk(244,"Default"),e.C$Y()()(),e.I0R(245,"tbody")(246,"tr")(247,"td")(248,"code"),e.OEk(249,"width"),e.C$Y()(),e.I0R(250,"td"),e.OEk(251,"Set the title width"),e.C$Y(),e.I0R(252,"td")(253,"code"),e.OEk(254,"number | string"),e.C$Y()(),e.I0R(255,"td"),e.OEk(256,"-"),e.C$Y()()()(),e.I0R(257,"h3",42)(258,"span"),e.OEk(259,"NzSkeletonParagraph"),e.C$Y(),e.I0R(260,"a",43),e.OEk(261,"#"),e.C$Y()(),e.I0R(262,"table")(263,"thead")(264,"tr")(265,"th"),e.OEk(266,"Property"),e.C$Y(),e.I0R(267,"th"),e.OEk(268,"Description"),e.C$Y(),e.I0R(269,"th"),e.OEk(270,"Type"),e.C$Y(),e.I0R(271,"th"),e.OEk(272,"Default"),e.C$Y()()(),e.I0R(273,"tbody")(274,"tr")(275,"td")(276,"code"),e.OEk(277,"rows"),e.C$Y()(),e.I0R(278,"td"),e.OEk(279,"Set the row count of the paragraph"),e.C$Y(),e.I0R(280,"td")(281,"code"),e.OEk(282,"number"),e.C$Y()(),e.I0R(283,"td"),e.OEk(284,"-"),e.C$Y()(),e.I0R(285,"tr")(286,"td")(287,"code"),e.OEk(288,"width"),e.C$Y()(),e.I0R(289,"td"),e.OEk(290,"Set the width of the paragraph. When width is an Array, it can set the width of each row. Otherwise, only set the last row width"),e.C$Y(),e.I0R(291,"td")(292,"code"),e.OEk(293,"number | string | Array<number | string>"),e.C$Y()(),e.I0R(294,"td"),e.OEk(295,"-"),e.C$Y()()()(),e.I0R(296,"h3",44)(297,"span"),e.OEk(298,'nz-skeleton-element [nzType="button"]'),e.C$Y(),e.I0R(299,"label",35),e.OEk(300,"component"),e.C$Y(),e.I0R(301,"label",36),e.OEk(302,"standalone"),e.C$Y(),e.I0R(303,"a",45),e.OEk(304,"#"),e.C$Y()(),e.I0R(305,"table")(306,"thead")(307,"tr")(308,"th"),e.OEk(309,"Property"),e.C$Y(),e.I0R(310,"th"),e.OEk(311,"Description"),e.C$Y(),e.I0R(312,"th"),e.OEk(313,"Type"),e.C$Y(),e.I0R(314,"th"),e.OEk(315,"Default"),e.C$Y()()(),e.I0R(316,"tbody")(317,"tr")(318,"td")(319,"code"),e.OEk(320,"[nzActive]"),e.C$Y()(),e.I0R(321,"td"),e.OEk(322,"Show animation effect"),e.C$Y(),e.I0R(323,"td")(324,"code"),e.OEk(325,"boolean"),e.C$Y()(),e.I0R(326,"td")(327,"code"),e.OEk(328,"false"),e.C$Y()()(),e.I0R(329,"tr")(330,"td")(331,"code"),e.OEk(332,"[nzSize]"),e.C$Y()(),e.I0R(333,"td"),e.OEk(334,"Set the size"),e.C$Y(),e.I0R(335,"td")(336,"code"),e.OEk(337,"'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(338,"td")(339,"code"),e.OEk(340,"'default'"),e.C$Y()()(),e.I0R(341,"tr")(342,"td")(343,"code"),e.OEk(344,"[nzShape]"),e.C$Y()(),e.I0R(345,"td"),e.OEk(346,"Set the shape"),e.C$Y(),e.I0R(347,"td")(348,"code"),e.OEk(349,"'circle' | 'round' | 'default'"),e.C$Y()(),e.I0R(350,"td")(351,"code"),e.OEk(352,"'default'"),e.C$Y()()()()(),e.I0R(353,"h3",46)(354,"span"),e.OEk(355,'nz-skeleton-element [nzType="avatar"]'),e.C$Y(),e.I0R(356,"label",35),e.OEk(357,"component"),e.C$Y(),e.I0R(358,"label",36),e.OEk(359,"standalone"),e.C$Y(),e.I0R(360,"a",47),e.OEk(361,"#"),e.C$Y()(),e.I0R(362,"table")(363,"thead")(364,"tr")(365,"th"),e.OEk(366,"Property"),e.C$Y(),e.I0R(367,"th"),e.OEk(368,"Description"),e.C$Y(),e.I0R(369,"th"),e.OEk(370,"Type"),e.C$Y(),e.I0R(371,"th"),e.OEk(372,"Default"),e.C$Y()()(),e.I0R(373,"tbody")(374,"tr")(375,"td")(376,"code"),e.OEk(377,"[nzActive]"),e.C$Y()(),e.I0R(378,"td"),e.OEk(379,"Show animation effect"),e.C$Y(),e.I0R(380,"td")(381,"code"),e.OEk(382,"boolean"),e.C$Y()(),e.I0R(383,"td")(384,"code"),e.OEk(385,"false"),e.C$Y()()(),e.I0R(386,"tr")(387,"td")(388,"code"),e.OEk(389,"[nzSize]"),e.C$Y()(),e.I0R(390,"td"),e.OEk(391,"Set the size"),e.C$Y(),e.I0R(392,"td")(393,"code"),e.OEk(394,"number | 'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(395,"td")(396,"code"),e.OEk(397,"'default'"),e.C$Y()()(),e.I0R(398,"tr")(399,"td")(400,"code"),e.OEk(401,"[nzShape]"),e.C$Y()(),e.I0R(402,"td"),e.OEk(403,"Set the shape"),e.C$Y(),e.I0R(404,"td")(405,"code"),e.OEk(406,"'circle' | 'square'"),e.C$Y()(),e.I0R(407,"td")(408,"code"),e.OEk(409,"'square'"),e.C$Y()()()()(),e.I0R(410,"h3",48)(411,"span"),e.OEk(412,'nz-skeleton-element [nzType="input"]'),e.C$Y(),e.I0R(413,"label",35),e.OEk(414,"component"),e.C$Y(),e.I0R(415,"label",36),e.OEk(416,"standalone"),e.C$Y(),e.I0R(417,"a",49),e.OEk(418,"#"),e.C$Y()(),e.I0R(419,"table")(420,"thead")(421,"tr")(422,"th"),e.OEk(423,"Property"),e.C$Y(),e.I0R(424,"th"),e.OEk(425,"Description"),e.C$Y(),e.I0R(426,"th"),e.OEk(427,"Type"),e.C$Y(),e.I0R(428,"th"),e.OEk(429,"Default"),e.C$Y()()(),e.I0R(430,"tbody")(431,"tr")(432,"td")(433,"code"),e.OEk(434,"[nzActive]"),e.C$Y()(),e.I0R(435,"td"),e.OEk(436,"Show animation effect"),e.C$Y(),e.I0R(437,"td")(438,"code"),e.OEk(439,"boolean"),e.C$Y()(),e.I0R(440,"td")(441,"code"),e.OEk(442,"false"),e.C$Y()()(),e.I0R(443,"tr")(444,"td")(445,"code"),e.OEk(446,"[nzSize]"),e.C$Y()(),e.I0R(447,"td"),e.OEk(448,"Set the size"),e.C$Y(),e.I0R(449,"td")(450,"code"),e.OEk(451,"'large' | 'small' | 'default'"),e.C$Y()(),e.I0R(452,"td")(453,"code"),e.OEk(454,"'default'"),e.C$Y()()()()(),e.I0R(455,"h3",50)(456,"span"),e.OEk(457,'nz-skeleton-element [nzType="image"]'),e.C$Y(),e.I0R(458,"label",35),e.OEk(459,"component"),e.C$Y(),e.I0R(460,"label",36),e.OEk(461,"standalone"),e.C$Y(),e.I0R(462,"a",51),e.OEk(463,"#"),e.C$Y()(),e.I0R(464,"table")(465,"thead")(466,"tr")(467,"th"),e.OEk(468,"Property"),e.C$Y(),e.I0R(469,"th"),e.OEk(470,"De
1scription"),e.C$Y(),e.I0R(471,"th"),e.OEk(472,"Type"),e.C$Y(),e.I0R(473,"th"),e.OEk(474,"Default"),e.C$Y()()(),e.I0R(475,"tbody")(476,"tr")(477,"td")(478,"code"),e.OEk(479,"[nzActive]"),e.C$Y()(),e.I0R(480,"td"),e.OEk(481,"Show animation effect"),e.C$Y(),e.I0R(482,"td")(483,"code"),e.OEk(484,"boolean"),e.C$Y()(),e.I0R(485,"td")(486,"code"),e.OEk(487,"false"),e.C$Y()()()()(),e.eAF(),e.C$Y()()),2&u&&(e.yG2(),e.E7m("nzOffsetTop",16),e.yG2(),e.E7m("nzAffix",!1),e.yG2(54),e.E7m("nzGutter",8),e.yG2(),e.E7m("nzSpan",24),e.yG2(),e.E7m("nzId","components-skeleton-demo-basic")("nzLink","components-skeleton-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/basic.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-complex")("nzLink","components-skeleton-demo-complex")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/complex.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-active")("nzLink","components-skeleton-demo-active")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/active.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-element")("nzLink","components-skeleton-demo-element")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/element.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-children")("nzLink","components-skeleton-demo-children")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/children.md"),e.yG2(5),e.E7m("nzId","components-skeleton-demo-list")("nzLink","components-skeleton-demo-list")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/skeleton/demo/list.md"))},dependencies:[y.A,B.s9,B.mK,F.g,D.QD,D.ox,M.qG,A.If,m.k,p,O,r,S,z,V],encapsulation:2})}return i})(),J=(()=>{class i{static#e=this.\u0275fac=function(u){return new(u||i)};static#n=this.\u0275mod=e.a4G({type:i});static#t=this.\u0275inj=e.s3X({imports:[a.K,G,d.qQ.forChild([{path:"en",component:Q},{path:"zh",component:j}])]})}return i})()},9656:(U,P,t)=>{t.d(P,{es:()=>M,sn:()=>m,uw:()=>D});var d=t(1316),a=t(4496),s=t(6504),o=t(2540),b=t(5657),A=t(800),f=t(3616),_=t(5739),w=t(1900),T=t(916),G=t(3972);const y=["*"],e=["inputElement"],B=["nz-radio",""];let F=(()=>{class p{constructor(){this.selected$=new o.o(1),this.touched$=new b.E,this.disabled$=new o.o(1),this.name$=new o.o(1)}touch(){this.touched$.next()}select(n){this.selected$.next(n)}setDisabled(n){this.disabled$.next(n)}setName(n){this.name$.next(n)}static#e=this.\u0275fac=function(r){return new(r||p)};static#n=this.\u0275prov=a.wxM({token:p,factory:p.\u0275fac})}return p})(),D=(()=>{class p{constructor(n,r,l){this.cdr=n,this.nzRadioService=r,this.directionality=l,this.value=null,this.destroy$=new b.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,f.a)(this.destroy$)).subscribe(n=>{this.value!==n&&(this.value=n,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,f.a)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,f.a)(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(n){const{nzDisabled:r,nzName:l}=n;r&&this.nzRadioService.setDisabled(this.nzDisabled),l&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}writeValue(n){this.value=n,this.nzRadioService.select(n),this.cdr.markForCheck()}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||n,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static#e=this.\u0275fac=function(r){return new(r||p)(a.GI1(a.kD9),a.GI1(F),a.GI1(w.yG,8))};static#n=this.\u0275cmp=a.In1({type:p,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(r,l){2&r&&a.eAK("ant-radio-group-large","large"===l.nzSize)("ant-radio-group-small","small"===l.nzSize)("ant-radio-group-solid","solid"===l.nzButtonStyle)("ant-radio-group-rtl","rtl"===l.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],standalone:!0,features:[a.M5G([F,{provide:s.Y6,useExisting:(0,a.wd)(()=>p),multi:!0}]),a.SYr,a.UHJ],ngContentSelectors:y,decls:1,vars:0,template:function(r,l){1&r&&(a.kPM(),a._Xx(0))},encapsulation:2,changeDetection:0})}return(0,d.UN)([(0,_.U7)()],p.prototype,"nzDisabled",void 0),p})(),M=(()=>{class p{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(n,r,l,S,C,x,h){this.ngZone=n,this.elementRef=r,this.cdr=l,this.focusMonitor=S,this.directionality=C,this.nzRadioService=x,this.nzFormStatusService=h,this.isNgModel=!1,this.destroy$=new b.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(n){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||n,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(n){this.isChecked=n,this.cdr.markForCheck()}registerOnChange(n){this.isNgModel=!0,this.onChange=n}registerOnTouched(n){this.onTouched=n}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,f.a)(this.destroy$)).subscribe(n=>{this.name=n,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,f.a)(this.destroy$)).subscribe(n=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||n,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,f.a)(this.destroy$)).subscribe(n=>{const r=this.isChecked;this.isChecked=this.nzValue===n,this.isNgModel&&r!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,f.a)(this.destroy$)).subscribe(n=>{n||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,f.a)(this.destroy$)).subscribe(n=>{this.dir=n,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,A.w)(this.elementRef.nativeElement,"click").pipe((0,f.a)(this.destroy$)).subscribe(n=>{n.stopPropagation(),n.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(r){return new(r||p)(a.GI1(a.WW2),a.GI1(a.GMv),a.GI1(a.kD9),a.GI1(T.Kk),a.GI1(w.yG,8),a.GI1(F,8),a.GI1(G.WC,8))};static#n=this.\u0275cmp=a.In1({type:p,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(r,l){if(1&r&&a.CC$(e,7),2&r){let S;a.wto(S=a.Gqi())&&(l.inputElement=S.first)}},hostVars:18,hostBindings:function(r,l){2&r&&a.eAK("ant-radio-wrapper-in-form-item",!!l.nzFormStatusService)("ant-radio-wrapper",!l.isRadioButton)("ant-radio-button-wrapper",l.isRadioButton)("ant-radio-wrapper-checked",l.isChecked&&!l.isRadioButton)("ant-radio-button-wrapper-checked",l.isChecked&&l.isRadioButton)("ant-radio-wrapper-disabled",l.nzDisabled&&!l.isRadioButton)("ant-radio-button-wrapper-disabled",l.nzDisabled&&l.isRadioButton)("ant-radio-wrapper-rtl",!l.isRadioButton&&"rtl"===l.dir)("ant-radio-button-wrapper-rtl",l.isRadioButton&&"rtl"===l.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",
1isRadioButton:[a.Wk5.HasDecoratorInputTransform,"nz-radio-button","isRadioButton",a.cZD]},exportAs:["nzRadio"],standalone:!0,features:[a.M5G([{provide:s.Y6,useExisting:(0,a.wd)(()=>p),multi:!0}]),a.QJr,a.UHJ],attrs:B,ngContentSelectors:y,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(r,l){1&r&&(a.kPM(),a.I0R(0,"span"),a.wR5(1,"input",0,1)(3,"span"),a.C$Y(),a.I0R(4,"span"),a._Xx(5),a.C$Y()),2&r&&(a.eAK("ant-radio",!l.isRadioButton)("ant-radio-checked",l.isChecked&&!l.isRadioButton)("ant-radio-disabled",l.nzDisabled&&!l.isRadioButton)("ant-radio-button",l.isRadioButton)("ant-radio-button-checked",l.isChecked&&l.isRadioButton)("ant-radio-button-disabled",l.nzDisabled&&l.isRadioButton),a.yG2(),a.eAK("ant-radio-input",!l.isRadioButton)("ant-radio-button-input",l.isRadioButton),a.E7m("disabled",l.nzDisabled)("checked",l.isChecked),a.e48("autofocus",l.nzAutoFocus?"autofocus":null)("name",l.name),a.yG2(2),a.eAK("ant-radio-inner",!l.isRadioButton)("ant-radio-button-inner",l.isRadioButton))},encapsulation:2,changeDetection:0})}return(0,d.UN)([(0,_.U7)()],p.prototype,"nzDisabled",void 0),(0,d.UN)([(0,_.U7)()],p.prototype,"nzAutoFocus",void 0),p})(),m=(()=>{class p{static#e=this.\u0275fac=function(r){return new(r||p)};static#n=this.\u0275mod=a.a4G({type:p});static#t=this.\u0275inj=a.s3X({})}return p})()},1160:(U,P,t)=>{t.d(P,{I$:()=>M,UH:()=>e,Ud:()=>D});var d=t(4496),a=t(1316),s=t(1368),o=t(5657),b=t(3616),A=t(2136),f=t(5739);function _(m,p){}const w=m=>({$implicit:m});function T(m,p){if(1&m&&(d.I0R(0,"span",4),d.yuY(1,_,0,0,"ng-template",5),d.C$Y()),2&m){const O=d.GaO(),n=O.last,r=O.index,l=d.GaO();d.m4B("margin-bottom","vertical"===l.nzDirection?n?null:l.spaceSize:null,"px")("margin-right","horizontal"===l.nzDirection?n?null:l.spaceSize:null,"px"),d.yG2(),d.E7m("ngTemplateOutlet",l.nzSplit)("ngTemplateOutletContext",d.S45(6,w,r))}}function G(m,p){if(1&m&&(d.I0R(0,"div",1),d.C_f(1,2),d.C$Y(),d.yuY(2,T,2,8,"span",3)),2&m){const O=p.$implicit,n=p.last,r=d.GaO();d.m4B("margin-bottom","vertical"===r.nzDirection?n?null:r.spaceSize:null,"px")("margin-right","horizontal"===r.nzDirection?n?null:r.spaceSize:null,"px"),d.yG2(),d.E7m("ngTemplateOutlet",O),d.yG2(),d.E7m("ngIf",r.nzSplit&&!n)}}const y=["*"];let e=(()=>{class m{constructor(){}static#e=this.\u0275fac=function(n){return new(n||m)};static#n=this.\u0275dir=d.Sc5({type:m,selectors:[["","nzSpaceItem",""]],standalone:!0})}return m})();const F={small:8,middle:16,large:24};let D=(()=>{class m{constructor(O,n){this.nzConfigService=O,this.cdr=n,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=F.small,this.destroy$=new o.E}updateSpaceItems(){this.spaceSize=("string"==typeof this.nzSize?F[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,b.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}static#e=this.\u0275fac=function(n){return new(n||m)(d.GI1(A.gl),d.GI1(d.kD9))};static#n=this.\u0275cmp=d.In1({type:m,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(n,r,l){if(1&n&&d.szK(l,e,4,d.Yw2),2&n){let S;d.wto(S=d.Gqi())&&(r.items=S)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(n,r){2&n&&(d.m4B("flex-wrap",r.nzWrap?"wrap":null),d.eAK("ant-space-horizontal","horizontal"===r.nzDirection)("ant-space-vertical","vertical"===r.nzDirection)("ant-space-align-start","start"===r.mergedAlign)("ant-space-align-end","end"===r.mergedAlign)("ant-space-align-center","center"===r.mergedAlign)("ant-space-align-baseline","baseline"===r.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize"},exportAs:["NzSpace"],standalone:!0,features:[d.SYr,d.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(n,r){1&n&&(d.kPM(),d._Xx(0),d.yuY(1,G,3,6,"ng-template",0)),2&n&&(d.yG2(),d.E7m("ngForOf",r.items))},dependencies:[s.XV,s.u_,s.ay],encapsulation:2,changeDetection:0})}return(0,a.UN)([(0,f.U7)()],m.prototype,"nzWrap",void 0),(0,a.UN)([(0,A.Mb)()],m.prototype,"nzSize",void 0),m})(),M=(()=>{class m{static#e=this.\u0275fac=function(n){return new(n||m)};static#n=this.\u0275mod=d.a4G({type:m});static#t=this.\u0275inj=d.s3X({})}return m})()},1520:(U,P,t)=>{t.d(P,{m:()=>h,O:()=>R});var d=t(1316),a=t(1368),s=t(4496),o=t(5657),b=t(6700),A=t(2540),f=t(4548),_=t(5568),w=t(4e3),T=t(7368),G=t(5448),y=t(308),e=t(7773),B=t(560),D=t(3616),M=t(2136),m=t(5739),p=t(1900);function O(z,v){1&z&&(s.I0R(0,"span",3),s.wR5(1,"i",4)(2,"i",4)(3,"i",4)(4,"i",4),s.C$Y())}function n(z,v){}function r(z,v){if(1&z&&(s.I0R(0,"div",8),s.OEk(1),s.C$Y()),2&z){const E=s.GaO(2);s.yG2(),s.cNF(E.nzTip)}}function l(z,v){if(1&z&&(s.I0R(0,"div")(1,"div",5),s.yuY(2,n,0,0,"ng-template",6)(3,r,2,1,"div",7),s.C$Y()()),2&z){const E=s.GaO(),I=s.Gew(1);s.yG2(),s.eAK("ant-spin-rtl","rtl"===E.dir)("ant-spin-spinning",E.isLoading)("ant-spin-lg","large"===E.nzSize)("ant-spin-sm","small"===E.nzSize)("ant-spin-show-text",E.nzTip),s.yG2(),s.E7m("ngTemplateOutlet",E.nzIndicator||I),s.yG2(),s.E7m("ngIf",E.nzTip)}}function S(z,v){if(1&z&&(s.I0R(0,"div",9),s._Xx(1),s.C$Y()),2&z){const E=s.GaO();s.eAK("ant-spin-blur",E.isLoading)}}const C=["*"],x="spin";let h=(()=>{class z{constructor(E,I,Y){this.nzConfigService=E,this.cdr=I,this.directionality=Y,this._nzModuleName=x,this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new o.E,this.spinning$=new b.g(this.nzSpinning),this.delay$=new A.o(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe((0,_.W)(this.nzDelay),(0,w.a)(),(0,T.G)(I=>0===I?this.spinning$:this.spinning$.pipe(function F(z){return(0,G.i)((v,E)=>{let I=!1,Y=null,N=null;const K=()=>
1{if(N?.unsubscribe(),N=null,I){I=!1;const H=Y;Y=null,E.next(H)}};v.subscribe((0,e.e)(E,H=>{N?.unsubscribe(),I=!0,Y=H,N=(0,e.e)(E,K,y.K),(0,B.Uv)(z(H)).subscribe(N)},()=>{K(),E.complete()},void 0,()=>{Y=N=null}))})}(Y=>(0,f.k)(Y?I:0)))),(0,D.a)(this.destroy$)).subscribe(I=>{this.isLoading=I,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent(x).pipe((0,D.a)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe((0,D.a)(this.destroy$)).subscribe(I=>{this.dir=I,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(E){const{nzSpinning:I,nzDelay:Y}=E;I&&this.spinning$.next(this.nzSpinning),Y&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(I){return new(I||z)(s.GI1(M.gl),s.GI1(s.kD9),s.GI1(p.yG,8))};static#n=this.\u0275cmp=s.In1({type:z,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(I,Y){2&I&&s.eAK("ant-spin-nested-loading",!Y.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],standalone:!0,features:[s.SYr,s.UHJ],ngContentSelectors:C,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(I,Y){1&I&&(s.kPM(),s.yuY(0,O,5,0,"ng-template",null,0,s.gJz)(2,l,4,12,"div",1)(3,S,2,2,"div",2)),2&I&&(s.yG2(2),s.E7m("ngIf",Y.isLoading),s.yG2(),s.E7m("ngIf",!Y.nzSimple))},dependencies:[a.u_,a.XV],encapsulation:2})}return(0,d.UN)([(0,M.Mb)()],z.prototype,"nzIndicator",void 0),(0,d.UN)([(0,m.Et)()],z.prototype,"nzDelay",void 0),(0,d.UN)([(0,m.U7)()],z.prototype,"nzSimple",void 0),(0,d.UN)([(0,m.U7)()],z.prototype,"nzSpinning",void 0),z})(),R=(()=>{class z{static#e=this.\u0275fac=function(I){return new(I||z)};static#n=this.\u0275mod=s.a4G({type:z});static#t=this.\u0275inj=s.s3X({})}return z})()},4299:(U,P,t)=>{t.d(P,{R:()=>S,c:()=>l});var d=t(1316),a=t(7800),s=t(1368),o=t(4496),b=t(6504),A=t(5657),f=t(800),_=t(3616),w=t(2136),T=t(6256),G=t(5739),y=t(7324),e=t(5120),B=t(916),F=t(1900);const D=["switchElement"];function M(C,x){1&C&&o.wR5(0,"span",8)}function m(C,x){if(1&C&&(o.SAx(0),o.OEk(1),o.k70()),2&C){const h=o.GaO(2);o.yG2(),o.cNF(h.nzCheckedChildren)}}function p(C,x){if(1&C&&(o.SAx(0),o.yuY(1,m,2,1,"ng-container",9),o.k70()),2&C){const h=o.GaO();o.yG2(),o.E7m("nzStringTemplateOutlet",h.nzCheckedChildren)}}function O(C,x){if(1&C&&(o.SAx(0),o.OEk(1),o.k70()),2&C){const h=o.GaO(2);o.yG2(),o.cNF(h.nzUnCheckedChildren)}}function n(C,x){if(1&C&&o.yuY(0,O,2,1,"ng-container",9),2&C){const h=o.GaO();o.E7m("nzStringTemplateOutlet",h.nzUnCheckedChildren)}}let l=(()=>{class C{updateValue(h){this.isChecked!==h&&(this.isChecked=h,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(h,R,z,v,E,I){this.nzConfigService=h,this.host=R,this.ngZone=z,this.cdr=v,this.focusMonitor=E,this.directionality=I,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new A.E,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,_.a)(this.destroy$)).subscribe(h=>{this.dir=h,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,f.w)(this.host.nativeElement,"click").pipe((0,_.a)(this.destroy$)).subscribe(h=>{h.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,f.w)(this.switchElement.nativeElement,"keydown").pipe((0,_.a)(this.destroy$)).subscribe(h=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:R}=h;R!==a.Mx&&R!==a.a4&&R!==a.Gi&&R!==a.wJ||(h.preventDefault(),this.ngZone.run(()=>
1{R===a.Mx?this.updateValue(!1):R===a.a4?this.updateValue(!0):(R===a.Gi||R===a.wJ)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,_.a)(this.destroy$)).subscribe(h=>{h||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(h){this.isChecked=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||h,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static#e=this.\u0275fac=function(R){return new(R||C)(o.GI1(w.gl),o.GI1(o.GMv),o.GI1(o.WW2),o.GI1(o.kD9),o.GI1(B.Kk),o.GI1(F.yG,8))};static#n=this.\u0275cmp=o.In1({type:C,selectors:[["nz-switch"]],viewQuery:function(R,z){if(1&R&&o.CC$(D,7),2&R){let v;o.wto(v=o.Gqi())&&(z.switchElement=v.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],standalone:!0,features:[o.M5G([{provide:b.Y6,useExisting:(0,o.wd)(()=>C),multi:!0}]),o.UHJ],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(R,z){if(1&R&&(o.I0R(0,"button",0,1)(2,"span",2),o.yuY(3,M,1,0,"span",3),o.C$Y(),o.I0R(4,"span",4),o.yuY(5,p,2,1,"ng-container",5)(6,n,1,1,"ng-template",null,6,o.gJz),o.C$Y(),o.wR5(8,"div",7),o.C$Y()),2&R){const v=o.Gew(7);o.eAK("ant-switch-checked",z.isChecked)("ant-switch-loading",z.nzLoading)("ant-switch-disabled",z.nzDisabled)("ant-switch-small","small"===z.nzSize)("ant-switch-rtl","rtl"===z.dir),o.E7m("disabled",z.nzDisabled)("nzWaveExtraNode",!0),o.e48("id",z.nzId),o.yG2(3),o.E7m("ngIf",z.nzLoading),o.yG2(2),o.E7m("ngIf",z.isChecked)("ngIfElse",v)}},dependencies:[y.gn,y.o9,e.Wy,e.If,s.u_,T.u,T.C],encapsulation:2,changeDetection:0})}return(0,d.UN)([(0,G.U7)()],C.prototype,"nzLoading",void 0),(0,d.UN)([(0,G.U7)()],C.prototype,"nzDisabled",void 0),(0,d.UN)([(0,G.U7)()],C.prototype,"nzControl",void 0),(0,d.UN)([(0,w.Mb)()],C.prototype,"nzSize",void 0),C})(),S=(()=>{class C{static#e=this.\u0275fac=function(R){return new(R||C)};static#n=this.\u0275mod=o.a4G({type:C});static#t=this.\u0275inj=o.s3X({imports:[l]})}return C})()}}]);

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.