PageSourceSearch

https://preview-8234-ng-zorro-antd.surge.sh/8961.7cc1aa627d2f9d07.js

js preview-8234-ng-zorro-antd.surge.sh collected 2026-10-03 14:58:50 UTC 50,849 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkng_zorro_antd_doc=self.webpackChunkng_zorro_antd_doc||[]).push([[8961],{8961:(W,E,i)=>{i.r(E),i.d(E,{NzDemoCardModule:()=>an});var C=i(4190),g=i(6242),t=i(1099),U=i(9730),D=i(4854),q=i(7818),Z=i(5821),_=i(227);const x=[t.vh,U.Rt,D.m,q.H0,Z.we,_.PV];var f=i(379),n=i(9212),h=i(5393),b=i(8101),p=i(3185),I=i(8332);function B(e,l){1&e&&(n.TgZ(0,"a"),n._uU(1,"More"),n.qZA())}let v=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-basic"]],decls:9,vars:1,consts:[["nzTitle","Card title",2,"width","300px",3,"nzExtra"],["extraTemplate",""]],template:function(o,r){if(1&o&&(n.TgZ(0,"nz-card",0)(1,"p"),n._uU(2,"Card content"),n.qZA(),n.TgZ(3,"p"),n._uU(4,"Card content"),n.qZA(),n.TgZ(5,"p"),n._uU(6,"Card content"),n.qZA()(),n.YNc(7,B,2,0,"ng-template",null,1,n.W1O)),2&o){const u=n.MAs(8);n.Q6J("nzExtra",u)}},dependencies:[t.bd],styles:["p[_ngcontent-%COMP%]{margin:0}"]})}return e})();function S(e,l){1&e&&(n.TgZ(0,"a"),n._uU(1,"More"),n.qZA())}let F=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-border-less"]],decls:10,vars:2,consts:[[2,"background","#ECECEC","padding","30px"],["nzTitle","Card title",2,"width","300px",3,"nzBordered","nzExtra"],["extraTemplate",""]],template:function(o,r){if(1&o&&(n.TgZ(0,"div",0)(1,"nz-card",1)(2,"p"),n._uU(3,"Card content"),n.qZA(),n.TgZ(4,"p"),n._uU(5,"Card content"),n.qZA(),n.TgZ(6,"p"),n._uU(7,"Card content"),n.qZA()()(),n.YNc(8,S,2,0,"ng-template",null,2,n.W1O)),2&o){const u=n.MAs(9);n.xp6(1),n.Q6J("nzBordered",!1)("nzExtra",u)}},dependencies:[t.bd],styles:["p[_ngcontent-%COMP%]{margin:0}"]})}return e})();function O(e,l){1&e&&n._UZ(0,"img",3)}let N=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-flexible-content"]],decls:4,vars:1,consts:[["nzHoverable","",2,"width","240px",3,"nzCover"],["nzTitle","Europe Street beat","nzDescription","www.instagram.com"],["coverTemplate",""],["alt","example","src","https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"]],template:function(o,r){if(1&o&&(n.TgZ(0,"nz-card",0),n._UZ(1,"nz-card-meta",1),n.qZA(),n.YNc(2,O,1,0,"ng-template",null,2,n.W1O)),2&o){const u=n.MAs(3);n.Q6J("nzCover",u)}},dependencies:[t.bd,t.l7],encapsulation:2})}return e})();var H=i(6814);let y=(()=>{class e{constructor(){this.gridStyle={width:"25%",textAlign:"center"}}static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-grid-card"]],decls:15,vars:7,consts:[["nzTitle","Cart Title"],["nz-card-grid","",3,"ngStyle"]],template:function(o,r){1&o&&(n.TgZ(0,"nz-card",0)(1,"div",1),n._uU(2,"Content"),n.qZA(),n.TgZ(3,"div",1),n._uU(4,"Content"),n.qZA(),n.TgZ(5,"div",1),n._uU(6,"Content"),n.qZA(),n.TgZ(7,"div",1),n._uU(8,"Content"),n.qZA(),n.TgZ(9,"div",1),n._uU(10,"Content"),n.qZA(),n.TgZ(11,"div",1),n._uU(12,"Content"),n.qZA(),n.TgZ(13,"div",1),n._uU(14,"Content"),n.qZA()()),2&o&&(n.xp6(1),n.Q6J("ngStyle",r.gridStyle),n.xp6(2),n.Q6J("ngStyle",r.gridStyle),n.xp6(2),n.Q6J("ngStyle",r.gridStyle),n.xp6(2),n.Q6J("ngStyle",r.gridStyle),n.xp6(2),n.Q6J("ngStyle",r.gridStyle),n.xp6(2),n.Q6J("ngStyle",r.gridStyle),n.xp6(2),n.Q6J("ngStyle",r.gridStyle))},dependencies:[H.PC,t.bd,t.hC],encapsulation:2})}return e})(),k=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-in-column"]],decls:14,vars:4,consts:[[2,"background","#ECECEC","padding","30px"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","Card title"]],template:function(o,r){1&o&&(n.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"nz-card",3)(4,"p"),n._uU(5,"Card content"),n.qZA()()(),n.TgZ(6,"div",2)(7,"nz-card",3)(8,"p"),n._uU(9,"Card content"),n.qZA()()(),n.TgZ(10,"div",2)(11,"nz-card",3)(12,"p"),n._uU(13,"Card content"),n.qZA()()()()()),2&o&&(n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(4),n.Q6J("nzSpan",8),n.xp6(4),n.Q6J("nzSpan",8))},dependencies:[p.t3,p.SK,t.bd],styles:["p[_ngcontent-%COMP%]{margin:0}"]})}return e})();function c(e,l){1&e&&(n.TgZ(0,"a"),n._uU(1,"More"),n.qZA())}let A=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-inner"]],decls:11,vars:2,consts:[["nzTitle","Card Title"],[2,"font-size","14px","color","rgba(0, 0, 0, 0.85)","margin-bottom","16px","font-weight","500"],["nzType","inner","nzTitle","Inner Card Title",3,"nzExtra"],["nzType","inner","nzTitle","Inner Card Title",2,"margin-top","16px",3,"nzExtra"],["extraTemplate",""]],template:function(o,r){if(1&o&&(n.TgZ(0,"nz-card",0)(1,"p",1),n._uU(2,"Group title"),n.qZA(),n.TgZ(3,"nz-card",2)(4,"a"),n._uU(5,"Inner Card Content"),n.qZA()(),n.TgZ(6,"nz-card",3)(7,"a"),n._uU(8,"Inner Card Content"),n.qZA()()(),n.YNc(9,c,2,0,"ng-template",null,4,n.W1O)),2&o){const u=n.MAs(10);n.xp6(3),n.Q6J("nzExtra",u),n.xp6(3),n.Q6J("nzExtra",u)}},dependencies:[t.bd],encapsulation:2})}return e})();var d=i(6223);function s(e,l){1&e&&n._UZ(0,"nz-avatar",9)}function m(e,l){1&e&&n._UZ(0,"span",10)}function T(e,l){1&e&&n._UZ(0,"span",11)}function w(e,l){1&e&&n._UZ(0,"span",12)}const L=(e,l,a)=>[e,l,a],Y=()=>({size:"large"});let R=(()=>{class e{constructor(){this.loading=!0}static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-loading"]],decls:14,vars:13,consts:[[3,"ngModel","ngModelChange"],[2,"width","300px","margin-top","16px",3,"nzLoading"],["nzTitle","Card title","nzDescription","This is the description",3,"nzAvatar"],[2,"width","300px","margin-top","16px",3,"nzActions"],[3,"nzActive","nzLoading","nzAvatar"],["avatarTemplate",""],["actionSetting",""],["actionEdit",""],["actionEllipsis",""],["nzSrc","https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"],["nz-icon","","nzType","setting"],["nz-icon","","nzType","edit"],["nz-icon","","nzType","ellipsis"]],template:function(o,r){if(1&o&&(n.TgZ(0,"nz-switch",0),n.NdJ("ngModelChange",function(z){return r.loading=z}),n.qZA(),n.TgZ(1,"nz-card",1),n._UZ(2,"nz-card-meta",2),n.qZA(),n.TgZ(3,"nz-card",3)(4,"nz-skeleton",4),n._UZ(5,"nz-card-meta",2),n.qZA()(),n.YNc(6,s,1,0,"ng-template",null,5,n.W1O)(8,m,1,0,"ng-template",null,6,n.W1O)(10,T,1,0,"ng-template",null,7,n.W1O)(12,w,1,0,"ng-template",null,8,n.W1O)),2&o){const u=n.MAs(7),z=n.MAs(9),Q=n.MAs(11),M=n.MAs(13);n.Q6J("ngModel",r.loading),n.xp6(1),n.Q6J("nzLoading",r.loading),n.xp6(1),n.Q6J("nzAvatar",u),n.xp6(1),n.Q6J("nzActions",n.kEZ(8,L,z,Q,M)),n.xp6(1),n.Q6J("nzActive",!0)("nzLoading",r.loading)("nzAvatar",n.DdM(12,Y)),n.xp6(1),n.Q6J("nzAvatar",u)}},dependencies:[d.JJ,d.On,_.Ls,t.bd,t.l7,U.Dz,D.i,q.ng],encapsulation:2})}return e})();function K(e,l){1&e&&n._UZ(0,"nz-avatar",7)}function j(e,l){1&e&&n._UZ(0,"img",8)}function X(e,l){1&e&&n._UZ(0,"span",9)}function V(e,l){1&e&&n._UZ(0,"span",10)}function $(e,l){1&e&&n._UZ(0,"span",11)}const nn=(e,l,a)=>[e,l,a];let G=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-meta"]],decls:12,vars:7,consts:[[2,"width","300px",3,"nzCover","nzActions"],["nzTitle","Card title","nzDescription","This is the description",3,"nzAvatar"],["avatarTemplate",""],["coverTemplate",""],["actionSetting",""],["actionEdit",""],["actionEllipsis",""],["nzSrc","https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"],["alt","example","src","https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"],["nz-icon","","nzType","setting"],["nz-icon","","nzType","edit"],["nz-icon","","nzType","ellipsis"]],template:function(o,r){if(1&o&&(n.TgZ(0,"nz-card",0),n._UZ(1,"nz-card-meta",1),n.qZA(),n.YNc(2,K,1,0,"ng-template",null,2,n.W1O)(4,j,1,0,"ng-template",null,3,n.W1O)(6,X,1,0,"ng-template",null,4,n.W1O)(8,V,1,0,"ng-template",null,5,n.W1O)(10,$,1,0,"ng-template",null,6,n.W1O)),2&o){const u=n.MAs(3),z=n.MAs(5),Q=n.MAs(7),M=n.MAs(9),dn=n.MAs(11);n.Q6J("nzCover",z)("nzActions",n.kEZ(3,nn,Q,M,dn)),n.xp6(1),n.Q6J("nzAvatar",u)}},dependencies:[_.Ls,t.bd,t.l7,U.Dz],encapsulation:2})}return e})(),J=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-simple"]],decls:7,vars:0,consts:[[2,"width","300px"]
1],template:function(o,r){1&o&&(n.TgZ(0,"nz-card",0)(1,"p"),n._uU(2,"Card content"),n.qZA(),n.TgZ(3,"p"),n._uU(4,"Card content"),n.qZA(),n.TgZ(5,"p"),n._uU(6,"Card content"),n.qZA()())},dependencies:[t.bd],styles:["p[_ngcontent-%COMP%]{margin:0}"]})}return e})();function en(e,l){1&e&&(n.TgZ(0,"a"),n._uU(1,"More"),n.qZA())}let P=(()=>{class e{constructor(){this.index1=0,this.index2=0}static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card-tabs"]],decls:17,vars:5,consts:[["nzTitle","Card title",2,"width","100%",3,"nzExtra"],["nzSize","large",3,"nzSelectedIndex","nzSelectedIndexChange"],["nzTitle","tab1"],["nzTitle","tab2"],["extraTemplate",""],[2,"width","100%"],["nzTitle","article"],["nzTitle","app"],["nzTitle","project"]],template:function(o,r){if(1&o&&(n.TgZ(0,"nz-card",0)(1,"nz-card-tab")(2,"nz-tabset",1),n.NdJ("nzSelectedIndexChange",function(z){return r.index1=z}),n._UZ(3,"nz-tab",2)(4,"nz-tab",3),n.qZA()(),n._uU(5),n.qZA(),n.YNc(6,en,2,0,"ng-template",null,4,n.W1O),n._UZ(8,"br")(9,"br"),n.TgZ(10,"nz-card",5)(11,"nz-card-tab")(12,"nz-tabset",1),n.NdJ("nzSelectedIndexChange",function(z){return r.index2=z}),n._UZ(13,"nz-tab",6)(14,"nz-tab",7)(15,"nz-tab",8),n.qZA()(),n._uU(16),n.qZA()),2&o){const u=n.MAs(7);n.Q6J("nzExtra",u),n.xp6(2),n.Q6J("nzSelectedIndex",r.index1),n.xp6(3),n.hij(" content",r.index1," "),n.xp6(7),n.Q6J("nzSelectedIndex",r.index2),n.xp6(4),n.hij(" content",r.index2," ")}},dependencies:[t.bd,t._i,Z.xH,Z.xw],encapsulation:2})}return e})(),tn=(()=>{class e{constructor(){this.expanded=!1}goLink(a){window&&(window.location.hash=a)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(a=>{a.nzExpanded=this.expanded,a.expandCode(this.expanded),a.check()})}static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card"]],viewQuery:function(o,r){if(1&o&&n.Gf(f.G,5),2&o){let u;n.iGM(u=n.CRH())&&(r.codeBoxes=u)}},decls:392,vars:44,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-card-demo-basic","nzTitle","\u5178\u578b\u5361\u7247"],["nzHref","#components-card-demo-border-less","nzTitle","\u65e0\u8fb9\u6846"],["nzHref","#components-card-demo-simple","nzTitle","\u7b80\u6d01\u5361\u7247"],["nzHref","#components-card-demo-flexible-content","nzTitle","\u66f4\u7075\u6d3b\u7684\u5185\u5bb9\u5c55\u793a"],["nzHref","#components-card-demo-in-column","nzTitle","\u6805\u683c\u5361\u7247"],["nzHref","#components-card-demo-loading","nzTitle","\u9884\u52a0\u8f7d\u7684\u5361\u7247"],["nzHref","#components-card-demo-grid-card","nzTitle","\u7f51\u683c\u578b\u5185\u5d4c\u5361\u7247"],["nzHref","#components-card-demo-inner","nzTitle","\u5185\u90e8\u5361\u7247"],["nzHref","#components-card-demo-tabs","nzTitle","\u5e26\u9875\u7b7e\u7684\u5361\u7247"],["nzHref","#components-card-demo-meta","nzTitle","\u652f\u6301\u66f4\u591a\u5185\u5bb9\u914d\u7f6e"],["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/card/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","\u5178\u578b\u5361\u7247","nzSelector","nz-demo-card-basic","nzGenerateCommand","ng g ng-zorro-antd:card-basic <name>","nzComponentName","NzDemoCardBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u65e0\u8fb9\u6846","nzSelector","nz-demo-card-border-less","nzGenerateCommand","ng g ng-zorro-antd:card-border-less <name>","nzComponentName","NzDemoCardBorderLessComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u7b80\u6d01\u5361\u7247","nzSelector","nz-demo-card-simple","nzGenerateCommand","ng g ng-zorro-antd:card-simple <name>","nzComponentName","NzDemoCardSimpleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u66f4\u7075\u6d3b\u7684\u5185\u5bb9\u5c55\u793a","nzSelector","nz-demo-card-flexible-content","nzGenerateCommand","ng g ng-zorro-antd:card-flexible-content <name>","nzComponentName","NzDemoCardFlexibleContentComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u6805\u683c\u5361\u7247","nzSelector","nz-demo-card-in-column","nzGenerateCommand","ng g ng-zorro-antd:card-in-column <name>","nzComponentName","NzDemoCardInColumnComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u9884\u52a0\u8f7d\u7684\u5361\u7247","nzSelector","nz-demo-card-loading","nzGenerateCommand","ng g ng-zorro-antd:card-loading <name>","nzComponentName","NzDemoCardLoadingComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u7f51\u683c\u578b\u5185\u5d4c\u5361\u7247","nzSelector","nz-demo-card-grid-card","nzGenerateCommand","ng g ng-zorro-antd:card-grid-card <name>","nzComponentName","NzDemoCardGridCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5185\u90e8\u5361\u7247","nzSelector","nz-demo-card-inner","nzGenerateCommand","ng g ng-zorro-antd:card-inner <name>","nzComponentName","NzDemoCardInnerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5e26\u9875\u7b7e\u7684\u5361\u7247","nzSelector","nz-demo-card-tabs","nzGenerateCommand","ng g ng-zorro-antd:card-tabs <name>","nzComponentName","NzDemoCardTabsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u652f\u6301\u66f4\u591a\u5185\u5bb9\u914d\u7f6e","nzSelector","nz-demo-card-meta","nzGenerateCommand","ng g ng-zorro-antd:card-meta <name>","nzComponentName","NzDemoCardMetaComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["id","nz-card"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-card'",1,"anchor"],["id","nz-card-meta"],["onclick","window.location.hash = 'nz-card-meta'",1,"anchor"],["id","[nz-card-grid]"],[1,"api-type-label","directive"],["onclick","window.location.hash = '[nz-card-grid]'",1,"anchor"],["id","nz-card-tab"],["onclick","window.location.hash = 'nz-card-tab'",1,"anchor"]],template:function(o,r){1&o&&(n.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),n.NdJ("nzClick",function(z){return r.goLink(z)}),n._UZ(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11)(13,"nz-link",12),n.qZA()(),n.TgZ(14,"section",13)(15,"h1"),n._uU(16,"Card"),n.TgZ(17,"span",14),n._uU(18,"\u5361\u7247"),n.qZA(),n._UZ(19,"span",15),n.TgZ(20,"a",16),n._UZ(21,"span",17),n.qZA()(),n.TgZ(22,"section",13),n.IAx(),n.TgZ(23,"p"),n._uU(24,"\u901a\u7528\u5361\u7247\u5bb9\u5668\u3002"),n.qZA(),n.TgZ(25,"h2",18)(26,"span"),n._uU(27,"\u4f55\u65f6\u4f7f\u7528"),n.qZA(),n.TgZ(28,"a",19),n._uU(29,"#"),n.qZA()(),n.TgZ(30,"p"),n._uU(31,"\u6700\u57fa\u7840\u7684\u5361\u7247\u5bb9\u5668\uff0c\u53ef\u627f\u8f7d\u6587\u5b57\u3001\u5217\u8868\u3001\u56fe\u7247\u3001\u6bb5\u843d\uff0c\u5e38\u7528\u4e8e\u540e\u53f0\u6982\u89c8\u9875\u9762\u3002"),n.qZA(),n.TgZ(32,"pre",20)(33,"code")(34,"span",21),n._uU(35,"import"),n.qZA(),n._uU(36," "),n.TgZ(37,"span",22),n._uU(38,"{"),n.qZA(),n._uU(39," NzCardModule "),n.TgZ(40,"span",22),n._uU(41,"}"),n.qZA(),n._uU(42," "),n.TgZ(43,"span",21),n._uU(44,"from"),n.qZA(),n._uU(45," "),n.TgZ(46,"span",23),n._uU(47,"'
1ng-zorro-antd/card'"),n.qZA(),n.TgZ(48,"span",22),n._uU(49,";"),n.qZA()()(),n.fQ9(),n.qZA(),n.TgZ(50,"h2")(51,"span"),n._uU(52,"\u4ee3\u7801\u6f14\u793a"),n.qZA(),n.TgZ(53,"span",24),n.NdJ("click",function(){return r.expandAllCode()}),n.qZA()()(),n.TgZ(54,"div",25)(55,"div",26)(56,"nz-code-box",27),n._UZ(57,"nz-demo-card-basic",28),n.TgZ(58,"div",29),n.IAx(),n.TgZ(59,"p"),n._uU(60,"\u5305\u542b\u6807\u9898\u3001\u5185\u5bb9\u3001\u64cd\u4f5c\u533a\u57df\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(61,"nz-code-box",30),n._UZ(62,"nz-demo-card-border-less",28),n.TgZ(63,"div",29),n.IAx(),n.TgZ(64,"p"),n._uU(65,"\u5728\u7070\u8272\u80cc\u666f\u4e0a\u4f7f\u7528\u65e0\u8fb9\u6846\u7684\u5361\u7247\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(66,"nz-code-box",31),n._UZ(67,"nz-demo-card-simple",28),n.TgZ(68,"div",29),n.IAx(),n.TgZ(69,"p"),n._uU(70,"\u53ea\u5305\u542b\u5185\u5bb9\u533a\u57df\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(71,"nz-code-box",32),n._UZ(72,"nz-demo-card-flexible-content",28),n.TgZ(73,"div",29),n.IAx(),n.TgZ(74,"p"),n._uU(75,"\u53ef\u4ee5\u5229\u7528 "),n.TgZ(76,"code"),n._uU(77,"nz-card-meta"),n.qZA(),n._uU(78," \u652f\u6301\u66f4\u7075\u6d3b\u7684\u5185\u5bb9\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(79,"nz-code-box",33),n._UZ(80,"nz-demo-card-in-column",28),n.TgZ(81,"div",29),n.IAx(),n.TgZ(82,"p"),n._uU(83,"\u5728\u7cfb\u7edf\u6982\u89c8\u9875\u9762\u5e38\u5e38\u548c\u6805\u683c\u8fdb\u884c\u914d\u5408\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(84,"nz-code-box",34),n._UZ(85,"nz-demo-card-loading",28),n.TgZ(86,"div",29),n.IAx(),n.TgZ(87,"p"),n._uU(88,"\u6570\u636e\u8bfb\u5165\u524d\u4f1a\u6709\u6587\u672c\u5757\u6837\u5f0f\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(89,"nz-code-box",35),n._UZ(90,"nz-demo-card-grid-card",28),n.TgZ(91,"div",29),n.IAx(),n.TgZ(92,"p"),n._uU(93,"\u4e00\u79cd\u5e38\u89c1\u7684\u5361\u7247\u5185\u5bb9\u533a\u9694\u6a21\u5f0f\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(94,"nz-code-box",36),n._UZ(95,"nz-demo-card-inner",28),n.TgZ(96,"div",29),n.IAx(),n.TgZ(97,"p"),n._uU(98,"\u53ef\u4ee5\u653e\u5728\u666e\u901a\u5361\u7247\u5185\u90e8\uff0c\u5c55\u793a\u591a\u5c42\u7ea7\u7ed3\u6784\u7684\u4fe1\u606f\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(99,"nz-code-box",37),n._UZ(100,"nz-demo-card-tabs",28),n.TgZ(101,"div",29),n.IAx(),n.TgZ(102,"p"),n._uU(103,"\u53ef\u627f\u8f7d\u66f4\u591a\u5185\u5bb9\u3002"),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(104,"nz-code-box",38),n._UZ(105,"nz-demo-card-meta",28),n.TgZ(106,"div",29),n.IAx(),n.TgZ(107,"p"),n._uU(108,"\u4e00\u79cd\u652f\u6301\u5c01\u9762\u3001\u5934\u50cf\u3001\u6807\u9898\u548c\u63cf\u8ff0\u4fe1\u606f\u7684\u5361\u7247\u3002"),n.qZA(),n.fQ9(),n.qZA()()()(),n.TgZ(109,"section",39),n.IAx(),n.TgZ(110,"h2",40)(111,"span"),n._uU(112,"API"),n.qZA(),n.TgZ(113,"a",41),n._uU(114,"#"),n.qZA()(),n.TgZ(115,"pre",42)(116,"code")(117,"span",43)(118,"span",43)(119,"span",22),n._uU(120,"<"),n.qZA(),n._uU(121,"nz-card"),n.qZA(),n._uU(122," "),n.TgZ(123,"span",44),n._uU(124,"nzTitle"),n.qZA(),n.TgZ(125,"span",45)(126,"span",22),n._uU(127,"="),n.qZA(),n.TgZ(128,"span",22),n._uU(129,'"'),n.qZA(),n._uU(130,"\u5361\u7247\u6807\u9898"),n.TgZ(131,"span",22),n._uU(132,'"'),n.qZA()(),n.TgZ(133,"span",22),n._uU(134,">"),n.qZA()(),n._uU(135,"\u5361\u7247\u5185\u5bb9"),n.TgZ(136,"span",43)(137,"span",43)(138,"span",22),n._uU(139,"</"),n.qZA(),n._uU(140,"nz-card"),n.qZA(),n.TgZ(141,"span",22),n._uU(142,">"),n.qZA()()()(),n.TgZ(143,"h3",46)(144,"span"),n._uU(145,"nz-card"),n.qZA(),n.TgZ(146,"label",47),n._uU(147,"component"),n.qZA(),n.TgZ(148,"a",48),n._uU(149,"#"),n.qZA()(),n.TgZ(150,"table")(151,"thead")(152,"tr")(153,"th"),n._uU(154,"\u53c2\u6570"),n.qZA(),n.TgZ(155,"th"),n._uU(156,"\u8bf4\u660e"),n.qZA(),n.TgZ(157,"th"),n._uU(158,"\u7c7b\u578b"),n.qZA(),n.TgZ(159,"th"),n._uU(160,"\u9ed8\u8ba4\u503c"),n.qZA(),n.TgZ(161,"th"),n._uU(162,"\u652f\u6301\u5168\u5c40\u914d\u7f6e"),n.qZA()()(),n.TgZ(163,"tbody")(164,"tr")(165,"td")(166,"code"),n._uU(167,"[nzActions]"),n.qZA()(),n.TgZ(168,"td"),n._uU(169,"\u5361\u7247\u64cd\u4f5c\u7ec4\uff0c\u4f4d\u7f6e\u5728\u5361\u7247\u5e95\u90e8"),n.qZA(),n.TgZ(170,"td")(171,"code"),n._uU(172,"Array<TemplateRef<void>>"),n.qZA()(),n.TgZ(173,"td"),n._uU(174,"-"),n.qZA(),n._UZ(175,"td"),n.qZA(),n.TgZ(176,"tr")(177,"td")(178,"code"),n._uU(179,"[nzBodyStyle]"),n.qZA()(),n.TgZ(180,"td"),n._uU(181,"\u5185\u5bb9\u533a\u57df\u81ea\u5b9a\u4e49\u6837\u5f0f"),n.qZA(),n.TgZ(182,"td")(183,"code"),n._uU(184,"{ [key: string]: string }"),n.qZA()(),n.TgZ(185,"td"),n._uU(186,"-"),n.qZA(),n._UZ(187,"td"),n.qZA(),n.TgZ(188,"tr")(189,"td")(190,"code"),n._uU(191,"[nzBorderless]"),n.qZA()(),n.TgZ(192,"td"),n._uU(193,"\u662f\u5426\u79fb\u9664\u8fb9\u6846"),n.qZA(),n.TgZ(194,"td")(195,"code"),n._uU(196,"boolean"),n.qZA()(),n.TgZ(197,"td")(198,"code"),n._uU(199,"fal
1se"),n.qZA()(),n.TgZ(200,"td"),n._uU(201,"\u2705"),n.qZA()(),n.TgZ(202,"tr")(203,"td")(204,"code"),n._uU(205,"[nzCover]"),n.qZA()(),n.TgZ(206,"td"),n._uU(207,"\u5361\u7247\u5c01\u9762"),n.qZA(),n.TgZ(208,"td")(209,"code"),n._uU(210,"TemplateRef<void>"),n.qZA()(),n.TgZ(211,"td"),n._uU(212,"-"),n.qZA(),n._UZ(213,"td"),n.qZA(),n.TgZ(214,"tr")(215,"td")(216,"code"),n._uU(217,"[nzExtra]"),n.qZA()(),n.TgZ(218,"td"),n._uU(219,"\u5361\u7247\u53f3\u4e0a\u89d2\u7684\u64cd\u4f5c\u533a\u57df"),n.qZA(),n.TgZ(220,"td")(221,"code"),n._uU(222,"string|TemplateRef<void>"),n.qZA()(),n.TgZ(223,"td"),n._uU(224,"-"),n.qZA(),n._UZ(225,"td"),n.qZA(),n.TgZ(226,"tr")(227,"td")(228,"code"),n._uU(229,"[nzHoverable]"),n.qZA()(),n.TgZ(230,"td"),n._uU(231,"\u9f20\u6807\u79fb\u8fc7\u65f6\u53ef\u6d6e\u8d77"),n.qZA(),n.TgZ(232,"td")(233,"code"),n._uU(234,"boolean"),n.qZA()(),n.TgZ(235,"td")(236,"code"),n._uU(237,"false"),n.qZA()(),n.TgZ(238,"td"),n._uU(239,"\u2705"),n.qZA()(),n.TgZ(240,"tr")(241,"td")(242,"code"),n._uU(243,"[nzLoading]"),n.qZA()(),n.TgZ(244,"td"),n._uU(245,"\u5f53\u5361\u7247\u5185\u5bb9\u8fd8\u5728\u52a0\u8f7d\u4e2d\u65f6\uff0c\u53ef\u4ee5\u7528 loading \u5c55\u793a\u4e00\u4e2a\u5360\u4f4d"),n.qZA(),n.TgZ(246,"td")(247,"code"),n._uU(248,"boolean"),n.qZA()(),n.TgZ(249,"td")(250,"code"),n._uU(251,"false"),n.qZA()(),n._UZ(252,"td"),n.qZA(),n.TgZ(253,"tr")(254,"td")(255,"code"),n._uU(256,"[nzTitle]"),n.qZA()(),n.TgZ(257,"td"),n._uU(258,"\u5361\u7247\u6807\u9898"),n.qZA(),n.TgZ(259,"td")(260,"code"),n._uU(261,"string|TemplateRef<void>"),n.qZA()(),n.TgZ(262,"td"),n._uU(263,"-"),n.qZA(),n._UZ(264,"td"),n.qZA(),n.TgZ(265,"tr")(266,"td")(267,"code"),n._uU(268,"[nzType]"),n.qZA()(),n.TgZ(269,"td"),n._uU(270,"\u5361\u7247\u7c7b\u578b\uff0c\u53ef\u8bbe\u7f6e\u4e3a "),n.TgZ(271,"code"),n._uU(272,"inner"),n.qZA(),n._uU(273," \u6216 \u4e0d\u8bbe\u7f6e"),n.qZA(),n.TgZ(274,"td")(275,"code"),n._uU(276,"'inner'"),n.qZA()(),n.TgZ(277,"td"),n._uU(278,"-"),n.qZA(),n._UZ(279,"td"),n.qZA(),n.TgZ(280,"tr")(281,"td")(282,"code"),n._uU(283,"[nzSize]"),n.qZA()(),n.TgZ(284,"td"),n._uU(285,"\u5361\u7247\u7684\u5c3a\u5bf8"),n.qZA(),n.TgZ(286,"td")(287,"code"),n._uU(288,"'default'|'small'"),n.qZA()(),n.TgZ(289,"td")(290,"code"),n._uU(291,"'default'"),n.qZA()(),n.TgZ(292,"td"),n._uU(293,"\u2705"),n.qZA()()()(),n.TgZ(294,"h3",49)(295,"span"),n._uU(296,"nz-card-meta"),n.qZA(),n.TgZ(297,"label",47),n._uU(298,"component"),n.qZA(),n.TgZ(299,"a",50),n._uU(300,"#"),n.qZA()(),n.TgZ(301,"table")(302,"thead")(303,"tr")(304,"th"),n._uU(305,"\u53c2\u6570"),n.qZA(),n.TgZ(306,"th"),n._uU(307,"\u8bf4\u660e"),n.qZA(),n.TgZ(308,"th"),n._uU(309,"\u7c7b\u578b"),n.qZA(),n.TgZ(310,"th"),n._uU(311,"\u9ed8\u8ba4\u503c"),n.qZA()()(),n.TgZ(312,"tbody")(313,"tr")(314,"td")(315,"code"),n._uU(316,"[nzAvatar]"),n.qZA()(),n.TgZ(317,"td"),n._uU(318,"\u5934\u50cf/\u56fe\u6807"),n.qZA(),n.TgZ(319,"td")(320,"code"),n._uU(321,"TemplateRef<void>"),n.qZA()(),n.TgZ(322,"td"),n._uU(323,"-"),n.qZA()(),n.TgZ(324,"tr")(325,"td")(326,"code"),n._uU(327,"[nzDescription]"),n.qZA()(),n.TgZ(328,"td"),n._uU(329,"\u63cf\u8ff0\u5185\u5bb9"),n.qZA(),n.TgZ(330,"td")(331,"code"),n._uU(332,"string | TemplateRef<void>"),n.qZA()(),n.TgZ(333,"td"),n._uU(334,"-"),n.qZA()(),n.TgZ(335,"tr")(336,"td")(337,"code"),n._uU(338,"[nzTitle]"),n.qZA()(),n.TgZ(339,"td"),n._uU(340,"\u6807\u9898\u5185\u5bb9"),n.qZA(),n.TgZ(341,"td")(342,"code"),n._uU(343,"string | TemplateRef<void>"),n.qZA()(),n.TgZ(344,"td"),n._uU(345,"-"),n.qZA()()()(),n.TgZ(346,"h3",51)(347,"span"),n._uU(348,"[nz-card-grid]"),n.qZA(),n.TgZ(349,"label",52),n._uU(350,"directive"),n.qZA(),n.TgZ(351,"a",53),n._uU(352,"#"),n.qZA()(),n.TgZ(353,"table")(354,"thead")(355,"tr")(356,"th"),n._uU(357,"\u53c2\u6570"),n.qZA(),n.TgZ(358,"th"),n._uU(359,"\u8bf4\u660e"),n.qZA(),n.TgZ(360,"th"),n._uU(361,"\u7c7b\u578b"),n.qZA(),n.TgZ(362,"th"),n._uU(363,"\u9ed8\u8ba4\u503c"),n.qZA(),n.TgZ(364,"th"),n._uU(365,"\u652f\u6301\u5168\u5c40\u914d\u7f6e"),n.qZA()()(),n.TgZ(366,"tbody")(367,"tr")(368,"td")(369,"code"),n._uU(370,"[nzHoverable]"),n.qZA()(),n.TgZ(371,"td"),n._uU(372,"\u9f20\u6807\u79fb\u8fc7\u65f6\u53ef\u6d6e\u8d77"),n.qZA(),n.TgZ(373,"td")(374,"code"),n._uU(375,"boolean"),n.qZA()(),n.TgZ(376,"td")(377,"code"),n._uU(378,"true"),n.qZA()(),n.TgZ(379,"td"),n._uU(380,"-"),n.qZA()()()(),n.TgZ(381,"p"),n._uU(382,"\u5206\u9694\u5361\u7247\u5185\u5bb9\u533a\u57df"),n.qZA(),n.TgZ(383,"h3",54)(384,"span"),n._uU(385,"nz-card-tab"),n.qZA(),n.TgZ(386,"label",47),n._uU(387,"component"),n.qZA(),n.TgZ(388,"a",55),n._uU(389,"#"),n.qZA()(),n.TgZ(390,"p"),n._uU(391,"\u5206\u9694\u9875\u7b7e\u6807\u9898\u533a\u57df"),n.qZA(),n.fQ9(),n.qZA()()),2&o&&(n.xp6(1),n.Q6J("nzOffsetTop",16),n.xp6(1),n.Q6J("nzAffix",!1),n.xp6(52),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("nzId","components-card-demo-basic")("nzLink","components-card-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/basic.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-border-less")("nzLink","components-card-demo-border-less")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/border-less.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-simple")("nzLink","components-card-demo-simple")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/simple.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-flexible-content")("nzLink","components-card-demo-flexible-content")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/flexible-content.md"),n.xp6(8),n.Q6J("nzId","components-card-demo-in-column")("nzLink","components-card-demo-in-column")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/in-column.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-loading")("nzLink","components-card-demo-loading")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/loading.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-grid-card")("nzLink","components-card-demo-grid-card")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/grid-card.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-inner")("nzLink","components-card-demo-inner")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/inner.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-tabs")("nzLink","components-card-demo-tabs")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/tabs.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-meta")("nzLink","components-card-demo-meta")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/meta.md"))},dependencies:[f.G,h.IT,h.Fp,b.$,p.t3,p.SK,I.SY,_.Ls,v,F,N,y,k,A,R,G,J,P],encapsulation:2})}return e})(),on=(()=>{class e{constructor(){this.expanded=!1}goLink(a){window&&(window.location.hash=a)}
1expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(a=>{a.nzExpanded=this.expanded,a.expandCode(this.expanded),a.check()})}static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275cmp=n.Xpm({type:e,selectors:[["nz-demo-card"]],viewQuery:function(o,r){if(1&o&&n.Gf(f.G,5),2&o){let u;n.iGM(u=n.CRH())&&(r.codeBoxes=u)}},decls:403,vars:44,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzAffix","nzClick"],["nzHref","#components-card-demo-basic","nzTitle","Basic card"],["nzHref","#components-card-demo-border-less","nzTitle","No border"],["nzHref","#components-card-demo-simple","nzTitle","Simple card"],["nzHref","#components-card-demo-flexible-content","nzTitle","Customized content"],["nzHref","#components-card-demo-in-column","nzTitle","Card in column"],["nzHref","#components-card-demo-loading","nzTitle","Loading card"],["nzHref","#components-card-demo-grid-card","nzTitle","Grid card"],["nzHref","#components-card-demo-inner","nzTitle","Inner card"],["nzHref","#components-card-demo-tabs","nzTitle","With tabs"],["nzHref","#components-card-demo-meta","nzTitle","Support more content configuration"],["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/card/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 card","nzSelector","nz-demo-card-basic","nzGenerateCommand","ng g ng-zorro-antd:card-basic <name>","nzComponentName","NzDemoCardBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","No border","nzSelector","nz-demo-card-border-less","nzGenerateCommand","ng g ng-zorro-antd:card-border-less <name>","nzComponentName","NzDemoCardBorderLessComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Simple card","nzSelector","nz-demo-card-simple","nzGenerateCommand","ng g ng-zorro-antd:card-simple <name>","nzComponentName","NzDemoCardSimpleComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Customized content","nzSelector","nz-demo-card-flexible-content","nzGenerateCommand","ng g ng-zorro-antd:card-flexible-content <name>","nzComponentName","NzDemoCardFlexibleContentComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Card in column","nzSelector","nz-demo-card-in-column","nzGenerateCommand","ng g ng-zorro-antd:card-in-column <name>","nzComponentName","NzDemoCardInColumnComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Loading card","nzSelector","nz-demo-card-loading","nzGenerateCommand","ng g ng-zorro-antd:card-loading <name>","nzComponentName","NzDemoCardLoadingComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Grid card","nzSelector","nz-demo-card-grid-card","nzGenerateCommand","ng g ng-zorro-antd:card-grid-card <name>","nzComponentName","NzDemoCardGridCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Inner card","nzSelector","nz-demo-card-inner","nzGenerateCommand","ng g ng-zorro-antd:card-inner <name>","nzComponentName","NzDemoCardInnerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","With tabs","nzSelector","nz-demo-card-tabs","nzGenerateCommand","ng g ng-zorro-antd:card-tabs <name>","nzComponentName","NzDemoCardTabsComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Support more content configuration","nzSelector","nz-demo-card-meta","nzGenerateCommand","ng g ng-zorro-antd:card-meta <name>","nzComponentName","NzDemoCardMetaComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],["id","nz-card"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-card'",1,"anchor"],["id","nz-card-meta"],["onclick","window.location.hash = 'nz-card-meta'",1,"anchor"],["id","[nz-card-grid]"],[1,"api-type-label","directive"],["onclick","window.location.hash = '[nz-card-grid]'",1,"anchor"],["id","nz-card-tab"],["onclick","window.location.hash = 'nz-card-tab'",1,"anchor"]],template:function(o,r){1&o&&(n.TgZ(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),n.NdJ("nzClick",function(z){return r.goLink(z)}),n._UZ(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11)(13,"nz-link",12),n.qZA()(),n.TgZ(14,"section",13)(15,"h1"),n._uU(16,"Card"),n._UZ(17,"span",14)(18,"span",15),n.TgZ(19,"a",16),n._UZ(20,"span",17),n.qZA()(),n.TgZ(21,"section",13),n.IAx(),n.TgZ(22,"p"),n._uU(23,"Simple rectangular container."),n.qZA(),n.TgZ(24,"h2",18)(25,"span"),n._uU(26,"When To Use"),n.qZA(),n.TgZ(27,"a",19),n._uU(28,"#"),n.qZA()(),n.TgZ(29,"p"),n._uU(30,"A card can be used to display content related to a single subject. The content can consist of multiple elements of varying types and sizes."),n.qZA(),n.TgZ(31,"pre",20)(32,"code")(33,"span",21),n._uU(34,"import"),n.qZA(),n._uU(35," "),n.TgZ(36,"span",22),n._uU(37,"{"),n.qZA(),n._uU(38," NzCardModule "),n.TgZ(39,"span",22),n._uU(40,"}"),n.qZA(),n._uU(41," "),n.TgZ(42,"span",21),n._uU(43,"from"),n.qZA(),n._uU(44," "),n.TgZ(45,"span",23),n._uU(46,"'ng-zorro-antd/card'"),n.qZA(),n.TgZ(47,"span",22),n._uU(48,";"),n.qZA()()(),n.fQ9(),n.qZA(),n.TgZ(49,"h2")(50,"span"),n._uU(51,"Examples"),n.qZA(),n.TgZ(52,"span",24),n.NdJ("
1click",function(){return r.expandAllCode()}),n.qZA()()(),n.TgZ(53,"div",25)(54,"div",26)(55,"nz-code-box",27),n._UZ(56,"nz-demo-card-basic",28),n.TgZ(57,"div",29),n.IAx(),n.TgZ(58,"p"),n._uU(59,"A basic card containing a title, content and an extra corner content."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(60,"nz-code-box",30),n._UZ(61,"nz-demo-card-border-less",28),n.TgZ(62,"div",29),n.IAx(),n.TgZ(63,"p"),n._uU(64,"A borderless card on a gray background."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(65,"nz-code-box",31),n._UZ(66,"nz-demo-card-simple",28),n.TgZ(67,"div",29),n.IAx(),n.TgZ(68,"p"),n._uU(69,"A simple card only containing a content area."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(70,"nz-code-box",32),n._UZ(71,"nz-demo-card-flexible-content",28),n.TgZ(72,"div",29),n.IAx(),n.TgZ(73,"p"),n._uU(74,"You can use "),n.TgZ(75,"code"),n._uU(76,"nz-card-meta"),n.qZA(),n._uU(77," to support more flexible content."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(78,"nz-code-box",33),n._UZ(79,"nz-demo-card-in-column",28),n.TgZ(80,"div",29),n.IAx(),n.TgZ(81,"p"),n._uU(82,"Cards usually cooperate with grid column layout in overview page."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(83,"nz-code-box",34),n._UZ(84,"nz-demo-card-loading",28),n.TgZ(85,"div",29),n.IAx(),n.TgZ(86,"p"),n._uU(87,"Shows a loading indicator while the contents of the card is being fetched."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(88,"nz-code-box",35),n._UZ(89,"nz-demo-card-grid-card",28),n.TgZ(90,"div",29),n.IAx(),n.TgZ(91,"p"),n._uU(92,"Grid style card content."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(93,"nz-code-box",36),n._UZ(94,"nz-demo-card-inner",28),n.TgZ(95,"div",29),n.IAx(),n.TgZ(96,"p"),n._uU(97,"It can be placed inside the ordinary card to display the information of the multilevel structure."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(98,"nz-code-box",37),n._UZ(99,"nz-demo-card-tabs",28),n.TgZ(100,"div",29),n.IAx(),n.TgZ(101,"p"),n._uU(102,"More content can be hosted."),n.qZA(),n.fQ9(),n.qZA()(),n.TgZ(103,"nz-code-box",38),n._UZ(104,"nz-demo-card-meta",28),n.TgZ(105,"div",29),n.IAx(),n.TgZ(106,"p"),n._uU(107,"A Card that supports "),n.TgZ(108,"code"),n._uU(109,"cover"),n.qZA(),n._uU(110,", "),n.TgZ(111,"code"),n._uU(112,"avatar"),n.qZA(),n._uU(113,", "),n.TgZ(114,"code"),n._uU(115,"title"),n.qZA(),n._uU(116," and "),n.TgZ(117,"code"),n._uU(118,"description"),n.qZA(),n._uU(119,"."),n.qZA(),n.fQ9(),n.qZA()()()(),n.TgZ(120,"section",39),n.IAx(),n.TgZ(121,"h2",40)(122,"span"),n._uU(123,"API"),n.qZA(),n.TgZ(124,"a",41),n._uU(125,"#"),n.qZA()(),n.TgZ(126,"pre",42)(127,"code")(128,"span",43)(129,"span",43)(130,"span",22),n._uU(131,"<"),n.qZA(),n._uU(132,"nz-card"),n.qZA(),n._uU(133," "),n.TgZ(134,"span",44),n._uU(135,"nzTitle"),n.qZA(),n.TgZ(136,"span",45)(137,"span",22),n._uU(138,"="),n.qZA(),n.TgZ(139,"span",22),n._uU(140,'"'),n.qZA(),n._uU(141,"card title"),n.TgZ(142,"span",22),n._uU(143,'"'),n.qZA()(),n.TgZ(144,"span",22),n._uU(145,">"),n.qZA()(),n._uU(146,"card content"),n.TgZ(147,"span",43)(148,"span",43)(149,"span",22),n._uU(150,"</"),n.qZA(),n._uU(151,"nz-card"),n.qZA(),n.TgZ(152,"span",22),n._uU(153,">"),n.qZA()()()(),n.TgZ(154,"h3",46)(155,"span"),n._uU(156,"nz-card"),n.qZA(),n.TgZ(157,"label",47),n._uU(158,"component"),n.qZA(),n.TgZ(159,"a",48),n._uU(160,"#"),n.qZA()(),n.TgZ(161,"table")(162,"thead")(163,"tr")(164,"th"),n._uU(165,"Property"),n.qZA(),n.TgZ(166,"th"),n._uU(167,"Description"),n.qZA(),n.TgZ(168,"th"),n._uU(169,"Type"),n.qZA(),n.TgZ(170,"th"),n._uU(171,"Default"),n.qZA(),n.TgZ(172,"th"),n._uU(173,"Global Config"),n.qZA()()(),n.TgZ(174,"tbody")(175,"tr")(176,"td")(177,"code"),n._uU(178,"[nzActions]"),n.qZA()(),n.TgZ(179,"td"),n._uU(180,"The action list, shows at the bottom of the Card."),n.qZA(),n.TgZ(181,"td")(182,"code"),n._uU(183,"Array<TemplateRef<void>>"),n.qZA()(),n.TgZ(184,"td"),n._uU(185,"-"),n.qZA(),n._UZ(186,"td"),n.qZA(),n.TgZ(187,"tr")(188,"td")(189,"code"),n._uU(190,"[nzBodyStyle]"),n.qZA()(),n.TgZ(191,"td"),n._uU(192,"Inline style to apply to the card content"),n.qZA(),n.TgZ(193,"td")(194,"code"),n._uU(195,"{ [key: string]: string }"),n.qZA()(),n.TgZ(196,"td"),n._uU(197,"-"),n.qZA(),n._UZ(198,"td"),n.qZA(),n.TgZ(199,"tr")(200,"td")(201,"code"),n._uU(202,"[nzBorderless]"),n.qZA()(),n.TgZ(203,"td"),n._uU(204,"Remove border around the card"),n.qZA(),n.TgZ(205,"td")(206,"code"),n._uU(207,"boolean"),n.qZA()(),n.TgZ(208,"td")(209,"code"),n._uU(210,"false"),n.qZA()(),n.TgZ(211,"td"),n._uU(212,"\u2705"),n.qZA()(),n.TgZ(213,"tr")(214,"td")(215,"code"),n._uU(216,"[nzCover]"),n.qZA()(),n.TgZ(217,"td"),n._uU(218,"Card cover"),n.qZA(),n.TgZ(219,"td")(220,"code"),n._uU(221,"TemplateRef<void>"),n.qZA()(),n.TgZ(222,"td"),n._uU(223,"-"),n.qZA(),n._UZ(224,"td"),n.qZA(),n.TgZ(225,"tr")(226,"td")(227,"code"),n._uU(228,"[nzExtra]"),n.qZA()(),n.TgZ(229,"td"),n._uU(230,"Content to render in the top-right corner of the card"),n.qZA(),n.TgZ(231,"td")(232,"code"),n._uU(233,"string|TemplateRef<void>"),n.qZA()(),n.TgZ(234,"td"),n._uU(235,"-"),n.qZA(),n._UZ(236,"td"),n.qZA(),n.TgZ(237,"tr")(238,"td")(239,"code"),n._uU(240,"[nzHoverable]"),n.qZA()(),n.TgZ(241,"td"),n._uU(242,"Lift up when hovering card"),n.qZA(),n.TgZ(243,"td")(244,"code"),n._uU(245,"boolean"),n.qZA()(),n.TgZ(246,"td")(247,"code"),n._uU(248,"false"),n.qZA()(),n.TgZ(249,"td"),n._uU(250,"\u2705"),n.qZA()(),n.TgZ(251,"tr")(252,"td")(253,"code"),n._uU(254,"[nzLoading]"),n.qZA()(),n.TgZ(255,"td"),n._uU(256,"Shows a loading indicator while the contents of the card are being fetched"),n.qZA(),n.TgZ(257,"td")(258,"code"),n._uU(259,"boolean"),n.qZA()(),n.TgZ(260,"td")(261,"code"),n._uU(262,"false"),n.qZA()(),n._UZ(263,"td"),n.qZA(),n.TgZ(264,"tr")(265,"td")(266,"code"),n._uU(267,"[nzTitle]"),n.qZA()(),n.TgZ(268,"td"),n._uU(269,"Card title"),n.qZA(),n.TgZ(270,"td")(271,"code"),n._uU(272,"string|TemplateRef<void>"),n.qZA()(),n.TgZ(273,"td"),n._uU(274,"-"),n.qZA(),n._UZ(275,"td"),n.qZA(),n.TgZ(276,"tr")(277,"td")(278,"code"),n._uU(279,"[nzType]"),n.qZA()(),n.TgZ(280,"td"),n._uU(281,"Card style type, can be set to "),n.TgZ(282,"code"),n._uU(283,"inner"),n.qZA(),n._uU(284," or not set"),n.qZA(),n.TgZ(285,"td")(286,"code"),n._uU(287,"'inner'"),n.qZA()(),n.TgZ(288,"td"),n._uU(289,"-"),n.qZA(),n._UZ(290,"td"),n.qZA(),n.TgZ(291,"tr")(292,"td")(293,"code"),n._uU(294,"[nzSize]"),n.qZA()(),n.TgZ(295,"td"),n._uU(296,"Size of card"),n.qZA(),n.TgZ(297,"td")(298,"code"),n._uU(299,"'default'|'small'"),n.qZA()(),n.TgZ(300,"td")(301,"code"),n._uU(302,"'default'"),n.qZA()(),n.TgZ(303,"td"),n._uU(304,"\u2705"),n.qZA()()()(),n.TgZ(305,"h3",49)(306,"span"),n._uU(307,"nz-card-meta"),n.qZA(),n.TgZ(308,"label",47),n._uU(309,"component"),n.qZA(),n.TgZ(310,"a",50),n._uU(311,"#"),n.qZA()(),n.TgZ(312,"table")(313,"thead")(314,"tr")(315,"th"),n._uU(316,"Property"),n.qZA(),n.TgZ(317,"th"),n._uU(318,"Description"),n.qZA(),n.TgZ(319,"th"),n._uU(320,"Type"),n.qZA(),n.TgZ(321,"th"),n._uU(322,"Default"),n.qZA()()(),n.TgZ(323,"tbody")(324,"tr")(325,"td")(326,"code"),n._uU(327,"[nzAvatar]"),n.qZA()(),n.TgZ(328,"td"),n._uU(329,"avatar or icon"),n.qZA(),n.TgZ(330,"td")(331,"code"),n._uU(332,"TemplateRef<void>"),n.qZA()(),n.TgZ(333,"td"),n._uU(334,"-"),n.qZA()(),n.TgZ(335,"tr")(336,"td")(337,"code"),n._uU(338,"[nzDescription]"),n.qZA()(),n.TgZ(339,"td"),n._uU(340,"description content"),n.qZA(),n.TgZ(341,"td")(342,"code"),n._uU(343,"string|TemplateRef<void>"),n.qZA()(),n.TgZ(344,"td"),n._uU(345,"-"),n.qZA()(),n.TgZ(346,"tr")(347,"td")(348,"code"),n._uU(349,"[nzTitle]"),n.qZA()(),n.TgZ(350,"td"),n._uU(351,"title content"),n.qZA(),n.TgZ(352,"td")(353,"code"),n._uU(354,"string|TemplateRef<void>"),n.qZA()(),n.TgZ(355,"td"),n._uU(356,"-"),n.qZA()()()(),n.TgZ(357,"h3",51)(358,"span"),n._uU(359,"[nz-card-grid]"),n.qZA(),n.TgZ(360,"label",52),n._uU(361,"directive"),n.qZA(),n.TgZ(362,"a",53),n._uU(363,"#"),n.qZA()(),n.TgZ(364,"table")(365,"thead")(366,"tr")(367,"th"),n._uU(368,"Property"),n.qZA(),n.TgZ(369,"th"),n._uU(370,"Description"),n.qZA(),n.TgZ(371,"th"),n._uU(372,"Type"),n.qZA(),n.TgZ(373,"th"),n._uU(374,"Default"),n.qZA(),n.TgZ(375,"th"),n._uU(376,"Global Config"),n.qZA()()(),n.TgZ(377,"tbody")(378,"tr")(379,"td")(380,"code"),n._uU(381,"[nzHoverable]"),n.qZA()(),n.TgZ(382,"td"),n._uU(383,"Lift up when hovering card"),n.qZA(),n.TgZ(384,"td")(385,"code"),n._uU(386,"boolean"),n.qZA()(),n.TgZ(387,"td")(388,"code"),n._uU(389,"true"),n.qZA()(),n.TgZ(390,"td"),n._uU(391,"-"),n.qZA()()()(),n.TgZ(392,"p"),n._uU(393,"Area for grid style card"),n.qZA(),n.TgZ(394,"h3",54)(395,"span"),n._uU(396,"nz-card-tab"),n.qZA(),n.TgZ(397,"label",47),n._uU(398,"component"),n.qZA(),n.TgZ(399,"a",55),n._uU(400,"#"),n.qZA()(),n.TgZ(401,"p"),n._uU(402,"Area for tab card"),n.qZA(),n.fQ9(),n.qZA()()),2&o&&(n.xp6(1),n.Q6J("nzOffsetTop",16),n.xp6(1),n.Q6J("nzAffix",!1),n.xp6(51),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("nzId","components-card-demo-basic")("nzLink","components-card-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/basic.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-border-less")("nzLink","components-card-demo-border-less")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/border-less.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-simple")("nzLink","components-card-demo-simple")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/simple.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-flexible-content")("nzLink","components-card-demo-flexible-content")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/flexible-content.md"),n.xp6(8),n.Q6J("nzId","components-card-demo-in-column")("nzLink","components-card-demo-in-column")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/in-column.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-loading")("nzLink","components-card-demo-loading")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/loading.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-grid-card")("nzLink","components-card-demo-grid-card")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/grid-card.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-inner")("nzLink","components-card-demo-inner")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/inner.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-tabs")("nzLink","components-card-demo-tabs")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/tabs.md"),n.xp6(5),n.Q6J("nzId","components-card-demo-meta")("nzLink","components-card-demo-meta")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/card/demo/meta.md"))},dependencies:[f.G,h.IT,h.Fp,b.$,p.t3,p.SK,I.SY,_.Ls,v,F,N,y,k,A,R,G,J,P],encapsulation:2})}return e})(),an=(()=>{class e{static#n=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275mod=n.oAB({type:e});static#t=this.\u0275inj=n.cJS({imports:[g.G,x,C.Bz.forChild([{path:"en",component:on},{path:"zh",component:tn}])]})}return e})()},4854:(W,E,i)=>{i.d(E,{i:()=>y,m:()=>k});var C=i(7582),g=i(6028),t=i(9212),U=i(6223),D=i(8645),q=i(2438),Z=i(9773),_=i(2196),x=i(6700),f=i(4300),n=i(9388),h=i(6814),b=i(2987),p=i(227),I=i(2755);const B=["switchElement"];function v(c,A){1&c&&t._UZ(0,"span",8)}function S(c,A){if(1&c&&(t.ynx(0),t._uU(1),t.BQk()),2&c){const d=t.oxw(2);t.xp6(1),t.Oqu(d.nzCheckedChildren)}}function F(c,A){if(1&c&&(t.ynx(0),t.YNc(1,S,2,1,"ng-container",9),t.BQk()),2&c){const d=t.oxw();
1t.xp6(1),t.Q6J("nzStringTemplateOutlet",d.nzCheckedChildren)}}function O(c,A){if(1&c&&(t.ynx(0),t._uU(1),t.BQk()),2&c){const d=t.oxw(2);t.xp6(1),t.Oqu(d.nzUnCheckedChildren)}}function N(c,A){if(1&c&&t.YNc(0,O,2,1,"ng-container",9),2&c){const d=t.oxw();t.Q6J("nzStringTemplateOutlet",d.nzUnCheckedChildren)}}let y=(()=>{class c{updateValue(d){this.isChecked!==d&&(this.isChecked=d,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(d,s,m,T,w,L){this.nzConfigService=d,this.host=s,this.ngZone=m,this.cdr=T,this.focusMonitor=w,this.directionality=L,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 D.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,Z.R)(this.destroy$)).subscribe(d=>{this.dir=d,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,q.R)(this.host.nativeElement,"click").pipe((0,Z.R)(this.destroy$)).subscribe(d=>{d.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,q.R)(this.switchElement.nativeElement,"keydown").pipe((0,Z.R)(this.destroy$)).subscribe(d=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:s}=d;s!==g.oh&&s!==g.SV&&s!==g.L_&&s!==g.K5||(d.preventDefault(),this.ngZone.run(()=>{s===g.oh?this.updateValue(!1):s===g.SV?this.updateValue(!0):(s===g.L_||s===g.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,Z.R)(this.destroy$)).subscribe(d=>{d||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(d){this.isChecked=d,this.cdr.markForCheck()}registerOnChange(d){this.onChange=d}registerOnTouched(d){this.onTouched=d}setDisabledState(d){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||d,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static#n=this.\u0275fac=function(s){return new(s||c)(t.Y36(_.jY),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(f.tE),t.Y36(n.Is,8))};static#e=this.\u0275cmp=t.Xpm({type:c,selectors:[["nz-switch"]],viewQuery:function(s,m){if(1&s&&t.Gf(B,7),2&s){let T;t.iGM(T=t.CRH())&&(m.switchElement=T.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[t._Bn([{provide:U.JU,useExisting:(0,t.Gpc)(()=>c),multi:!0}])],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(s,m){if(1&s&&(t.TgZ(0,"button",0,1)(2,"span",2),t.YNc(3,v,1,0,"span",3),t.qZA(),t.TgZ(4,"span",4),t.YNc(5,F,2,1,"ng-container",5)(6,N,1,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(8,"div",7),t.qZA()),2&s){const T=t.MAs(7);t.ekj("ant-switch-checked",m.isChecked)("ant-switch-loading",m.nzLoading)("ant-switch-disabled",m.nzDisabled)("ant-switch-small","small"===m.nzSize)("ant-switch-rtl","rtl"===m.dir),t.Q6J("disabled",m.nzDisabled)("nzWaveExtraNode",!0),t.uIk("id",m.nzId),t.xp6(3),t.Q6J("ngIf",m.nzLoading),t.xp6(2),t.Q6J("ngIf",m.isChecked)("ngIfElse",T)}},dependencies:[h.O5,b.dQ,p.Ls,I.f],encapsulation:2,changeDetection:0})}return(0,C.gn)([(0,x.yF)()],c.prototype,"nzLoading",void 0),(0,C.gn)([(0,x.yF)()],c.prototype,"nzDisabled",void 0),(0,C.gn)([(0,x.yF)()],c.prototype,"nzControl",void 0),(0,C.gn)([(0,_.oS)()],c.prototype,"nzSize",void 0),c})(),k=(()=>{class c{static#n=this.\u0275fac=function(s){return new(s||c)};static#e=this.\u0275mod=t.oAB({type:c});static#t=this.\u0275inj=t.cJS({imports:[n.vT,h.ez,b.vG,p.PV,I.T]})}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.