1import{a as Re,b as Pe,c as Oe,d as b,e as E,f as x}from"./chunk-YGBN4VQG.js";import{a as xe,b as fe,c as Se}from"./chunk-TOQK3HAA.js";import{c as Ge,g as Ze}from"./chunk-ATVPQBUD.js";import"./chunk-ARKKPO2L.js";import"./chunk-UYZJPMN6.js";import"./chunk-5MIZTJTE.js";import{b as Be,g as He,h as we}from"./chunk-YFUEY227.js";import"./chunk-XRZD46X6.js";import"./chunk-VED23IKS.js";import"./chunk-7IR2ER4N.js";import{a as ke,b as ve}from"./chunk-TC4DHG3D.js";import"./chunk-GDHEBRUM.js";import"./chunk-O5GFCFR7.js";import{a as A,b as R,d as P}from"./chunk-56XIMETV.js";import{a as M}from"./chunk-MM6PISML.js";import"./chunk-AMB2SXIB.js";import{a as B,b as Le,e as Ae,f as Me,g as ze,h as be,j as Ee}from"./chunk-2A4LUMJE.js";import"./chunk-M3GNLX5T.js";import"./chunk-55DQELCM.js";import{Ha as L,Hc as Z,Ja as _e,Jc as pe,Kc as ue,Nc as ce,gc as se,qc as O,uc as G,y as Fe}from"./chunk-O3IWK6WU.js";import{Aa as me,Ac as re,Bc as de,Fc as H,Gc as e,Ib as c,Ic as f,Lc as y,Mc as F,Nc as _,Ob as N,Sc as v,Vb as d,ad as w,c as Ne,ec as C,fc as S,gc as g,hc as n,ic as t,jc as r,na as Ie,nc as ye,qc as T,rb as m,sc as k,xa as p,ya as u,za as oe,zc as le}from"./chunk-NACBYLXS.js";import"./chunk-EQDQRRRY.js";var q=class a{static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-basic"]],decls:7,vars:0,consts:[["nzTitle","Tab 1"],["nzTitle","Tab 2"],["nzTitle","Tab 3"]],template:function(i,l){i&1&&(n(0,"nz-tabset")(1,"nz-tab",0),e(2,"Content of Tab Pane 1"),t(),n(3,"nz-tab",1),e(4,"Content of Tab Pane 2"),t(),n(5,"nz-tab",2),e(6,"Content of Tab Pane 3"),t()())},dependencies:[x,E,b],encapsulation:2})};function Ue(a,o){if(a&1&&(n(0,"nz-tab",2)(1,"p"),e(2),t(),n(3,"p"),e(4),t(),n(5,"p"),e(6),t()()),a&2){let i=o.$implicit;d("nzTitle","Tab Title "+i),m(2),f("Content of Tab Pane ",i,""),m(2),f("Content of Tab Pane ",i,""),m(2),f("Content of Tab Pane ",i,"")}}var W=class a{tabs=[1,2,3];static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-card-top"]],decls:4,vars:0,consts:[[1,"card-container"],["nzType","card"],[3,"nzTitle"]],template:function(i,l){i&1&&(n(0,"div",0)(1,"nz-tabset",1),S(2,Ue,7,4,"nz-tab",2,C),t()()),i&2&&(m(2),g(l.tabs))},dependencies:[x,E,b],styles:["[_nghost-%COMP%]{background:#f5f5f5;overflow:hidden;padding:24px;display:block}.card-container[_ngcontent-%COMP%] p{margin:0}.card-container[_ngcontent-%COMP%] >.ant-tabs-card .ant-tabs-content{height:120px;margin-top:-16px}.card-container[_ngcontent-%COMP%] >.ant-tabs-card .ant-tabs-content>.ant-tabs-tabpane{background:#fff;padding:16px}.card-container[_ngcontent-%COMP%] >.ant-tabs-card>.ant-tabs-nav:before{display:none}.card-container[_ngcontent-%COMP%] >.ant-tabs-card .ant-tabs-tab{border-color:transparent;background:transparent}.card-container[_ngcontent-%COMP%] >.ant-tabs-card .ant-tabs-tab-active{border-color:#fff;background:#fff}"]})};function je(a,o){if(a&1&&(n(0,"nz-tab",1),e(1),t()),a&2){let i=o.$implicit;d("nzTitle","Tab"+i),m(),f("Content of Tab Pane ",i,"")}}var V=class a{tabs=[1,2,3];static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-card"]],decls:3,vars:0,consts:[["nzType","card"],[3,"nzTitle"]],template:function(i,l){i&1&&(n(0,"nz-tabset",0),S(1,je,2,2,"nz-tab",1,C),t()),i&2&&(m(),g(l.tabs))},dependencies:[x,E,b],encapsulation:2})};var Q=class a{static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-centered"]],decls:7,vars:0,consts:[["nzCentered",""],["nzTitle","Tab 1"],["nzTitle","Tab 2"],["nzTitle","Tab 3"]],template:function(i,l){i&1&&(n(0,"nz-tabset",0)(1,"nz-tab",1),e(2,"Content of Tab Pane 1"),t(),n(3,"nz-tab",2),e(4,"Content of Tab Pane 2"),t(),n(5,"nz-tab",3),e(6,"Content of Tab Pane 3"),t()())},dependencies:[x,E,b],encapsulation:2})};function Ke(a,o){if(a&1&&(n(0,"nz-tab",3),e(1),t()),a&2){let i=o.$implicit,l=o.$index;d("nzClosable",l>
11)("nzTitle",i),m(),f("Content of ",i,"")}}var $=class a{index=0;tabs=["Tab 1","Tab 2"];closeTab({index:o}){this.tabs.splice(o,1)}newTab(){this.tabs.push("New Tab"),this.index=this.tabs.length-1}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-custom-add-trigger"]],decls:6,vars:1,consts:[[2,"margin-bottom","16px"],["nz-button","",3,"click"],["nzType","editable-card","nzHideAdd","",3,"nzSelectedIndexChange","nzClose","nzSelectedIndex"],[3,"nzClosable","nzTitle"]],template:function(i,l){i&1&&(n(0,"div",0)(1,"button",1),T("click",function(){return l.newTab()}),e(2,"ADD"),t()(),n(3,"nz-tabset",2),_("nzSelectedIndexChange",function(s){return F(l.index,s)||(l.index=s),s}),T("nzClose",function(s){return l.closeTab(s)}),S(4,Ke,2,3,"nz-tab",3,C),t()),i&2&&(m(3),y("nzSelectedIndex",l.index),m(),g(l.tabs))},dependencies:[P,R,A,M,x,E,b],encapsulation:2})};function Ye(a,o){if(a&1&&(n(0,"nz-tab",0),e(1),t()),a&2){let i=o.$implicit;d("nzTitle",i.name)("nzDisabled",i.disabled),m(),f(" ",i.name," ")}}var U=class a{tabs=[{name:"Tab 1",disabled:!1},{name:"Tab 2",disabled:!0},{name:"Tab 3",disabled:!1}];static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-disabled"]],decls:3,vars:0,consts:[[3,"nzTitle","nzDisabled"]],template:function(i,l){i&1&&(n(0,"nz-tabset"),S(1,Ye,2,3,"nz-tab",0,C),t()),i&2&&(m(),g(l.tabs))},dependencies:[x,E,b],encapsulation:2})};function Je(a,o){if(a&1&&(n(0,"span",3),e(1),t()),a&2){let i=k().$implicit;m(),f(" ",i.name," ")}}function Xe(a,o){if(a&1&&(n(0,"nz-tab",2),e(1),t(),N(2,Je,2,1,"ng-template",null,0,w)),a&2){let i=o.$implicit,l=H(3);d("nzTitle",l),m(),f(" ",i.content," ")}}var j=class a{tabs=[{name:"Tab 1",content:"Content of Tab Pane 1"},{name:"Tab 2",content:"Content of Tab Pane 2"},{name:"Tab 3",content:"Content of Tab Pane 3"}];selectedTabIndex=0;drop(o){let i=this.tabs[this.selectedTabIndex];Le(this.tabs,o.previousIndex,o.currentIndex),this.selectedTabIndex=this.tabs.indexOf(i)}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-draggable"]],decls:3,vars:1,consts:[["title",""],["cdkDropList","","cdkDropListOrientation","horizontal","cdkDropListElementContainer",".ant-tabs-nav-list",1,"example-drag-tabs",3,"nzSelectedIndexChange","cdkDropListDropped","nzSelectedIndex"],[3,"nzTitle"],["cdkDrag","","cdkDragRootElement",".ant-tabs-tab","cdkDragPreviewClass","preview"]],template:function(i,l){i&1&&(n(0,"nz-tabset",1),_("nzSelectedIndexChange",function(s){return F(l.selectedTabIndex,s)||(l.selectedTabIndex=s),s}),T("cdkDropListDropped",function(s){return l.drop(s)}),S(1,Xe,4,2,null,null,C),t()),i&2&&(y("nzSelectedIndex",l.selectedTabIndex),m(),g(l.tabs))},dependencies:[x,E,b,Ae,Me],styles:["[_nghost-%COMP%] .ant-tabs-tab-btn{cursor:move}nz-tabset.cdk-drop-list-dragging[_ngcontent-%COMP%]{pointer-events:none}.preview.cdk-drag-animating[_ngcontent-%COMP%]{transition:all .25s cubic-bezier(0,0,.2,1)} .ant-tabs-tab.cdk-drag-placeholder .ant-tabs-tab-btn{opacity:.5}"]})};function et(a,o){if(a&1&&(n(0,"nz-tab",1),e(1),t()),a&2){let i=o.$implicit;
1d("nzTitle",i),m(),f("Content of ",i,"")}}var K=class a{tabs=["Tab 1","Tab 2"];selectedIndex=0;closeTab({index:o}){this.tabs.splice(o,1)}newTab(){this.tabs.push("New Tab"),this.selectedIndex=this.tabs.length}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-editable-card"]],decls:3,vars:1,consts:[["nzType","editable-card",3,"nzSelectedIndexChange","nzAdd","nzClose","nzSelectedIndex"],["nzClosable","",3,"nzTitle"]],template:function(i,l){i&1&&(n(0,"nz-tabset",0),_("nzSelectedIndexChange",function(s){return F(l.selectedIndex,s)||(l.selectedIndex=s),s}),T("nzAdd",function(){return l.newTab()})("nzClose",function(s){return l.closeTab(s)}),S(1,et,2,2,"nz-tab",1,C),t()),i&2&&(y("nzSelectedIndex",l.selectedIndex),m(),g(l.tabs))},dependencies:[x,E,b],encapsulation:2})};function tt(a,o){if(a&1&&(n(0,"nz-tab",2),e(1),t()),a&2){let i=o.$implicit;d("nzTitle","Tab "+i),m(),f("Content of tab ",i,"")}}function nt(a,o){a&1&&(n(0,"button",3),e(1,"Extra Action"),t())}var Y=class a{tabs=[1,2,3];static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-extra"]],decls:5,vars:1,consts:[["extraTemplate",""],[3,"nzTabBarExtraContent"],[3,"nzTitle"],["nz-button",""]],template:function(i,l){if(i&1&&(n(0,"nz-tabset",1),S(1,tt,2,2,"nz-tab",2,C),t(),N(3,nt,2,0,"ng-template",null,0,w)),i&2){let z=H(4);d("nzTabBarExtraContent",z),m(),g(l.tabs)}},dependencies:[P,R,A,M,x,E,b],encapsulation:2})};function it(a,o){if(a&1&&(n(0,"nz-tab",1),e(1),t()),a&2){let i=o.$implicit;d("nzTitle","Tab"+i),m(),f("Content of tab ",i,"")}}var J=class a{tabs=[1,2,3,4];modalService=Ie(Ge);canDeactivate=(o,i)=>{switch(o){case 0:return i===1;case 1:return Promise.resolve(i===2);case 2:return this.confirm();default:return!0}};confirm(){return new Ne(o=>{this.modalService.confirm({nzTitle:"Are you sure you want to leave this tab?",nzOnOk:()=>{o.next(!0),o.complete()},nzOnCancel:()=>{o.next(!1),o.complete()}})})}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-guard"]],decls:3,vars:1,consts:[[3,"nzCanDeactivate"],[3,"nzTitle"]],template:function(i,l){i&1&&(n(0,"nz-tabset",0),S(1,it,2,2,"nz-tab",1,C),t()),i&2&&(d("nzCanDeactivate",l.canDeactivate),m(),g(l.tabs))},dependencies:[x,E,b,Ze],encapsulation:2,changeDetection:0})};function at(a,o){if(a&1&&(r(0,"nz-icon",2),e(1)),a&2){let i=k().$implicit;d("nzType",i.icon),m(),f(" ",i.name," ")}}function ot(a,o){if(a&1&&(n(0,"nz-tab",1),N(1,at,2,2,"ng-template",null,0,w),e(3),t()),a&2){let i=o.$implicit,l=H(2);d("nzTitle",l),m(3),f(" ",i.name," ")}}var X=class a{tabs=[{name:"Tab 1",icon:"apple"},{name:"Tab 2",icon:"android"}];static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-icon"]],decls:3,vars:0,consts:[["titleTemplate",""],[3,"nzTitle"],[3,"nzType"]],template:function(i,l){i&1&&(n(0,"nz-tabset"),S(1,ot,4,2,"nz-tab",1,C),t()),i&2&&(m(),g(l.tabs))},dependencies:[_e,L,x,E,b],encapsulation:2})};function mt(a,o){a&1&&r(0,"nz-demo-tab-content-lazy")}function lt(a,o){a&1&&r(0,"nz-demo-tab-content-lazy")}var De=class a{ngOnInit(){console.log("I will init when tab active")}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tab-content-lazy"]],decls:1,vars:0,template:function(i,l){i&1&&e(0,"lazy")},encapsulation:2})},he=class a{ngOnInit(){console.log("I will init eagerly")}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tab-content-eagerly"]],decls:1,vars:0,template:function(i,l){i&1&&e(0,"eagerly")},encapsulation:2})},ee=class a{static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-lazy"]],decls:9,vars:0,consts:[["nzTitle","Tab Eagerly 1"],["nzTitle","Tab Eagerly 2"],["nzTitle","Tab Lazy 1"],["nz-tab",""],["nzTitle","Tab Lazy 2"]],template:function(i,l){i&1&&(n(0,"nz-tabset")(1,"nz-tab",0),r(2,"nz-demo-tab-content-eagerly"),t(),n(3,"nz-tab",1),r(4,"nz-demo-tab-content-eagerly"),t(),n(5,"nz-tab",2),N(6,mt,1,0,"ng-template",3),t(),n(7,"nz-tab",4),N(8,lt,1,0,"ng-template",3),t()())},dependencies:[x,E,b,Oe,he,De],encapsulation:2})};var ge=()=>["."],rt=()=>({tab:"one"}),dt=()=>({tab:"two"}),st=()=>({tab:"three"}),pt=()=>({tab:"four"}),ut=()=>({}),ct=(a,o)=>o.title;function zt(a,o){a&1&&(n(0,"a",4),e(1," Default "),t()),a&2&&d("routerLink",v(2,ge))("queryParams",v(3,rt))}function bt(a,o){a&1&&(n(0,"a",4),e(1," Two "),t()),a&2&&d("routerLink",v(2,ge))("queryParams",v(3,dt))}function Et(a,o){a&1&&(n(0,"a",4),e(1," Three "),t()),a&2&&d("routerLink",v(2,ge))("queryParams",v(3,st))}function xt(a,o){a&1&&(n(0,"a",4),e(1," Four "),t()),a&2&&d("routerLink",v(2,ge))("queryParams",v(3,pt))}function ft(a,o){if(a&1&&(n(0,"a",4),e(1),t()),a&2){let i,l=k().$implicit;d("routerLink",l.routerLink)("queryParams",(i=l.queryParams)!==null&&i!==void 0?i:v(3,ut)),m(),f(" ",l.title," ")}}function St(a,o){if(a&1&&(n(0,"nz-tab"),N(1,ft,2,4,"a",3),e(2),t()),a&2){let i=o.$implicit;m(2),f(" ",i.content," ")}}var te=class a{dynamicTabs=[];newTab(){let{length:o}=this.dynamicTabs,i=o+1,l=`NewTab${i}`;this.dynamicTabs=[...this.dynamicTabs,{title:l,content:l,routerLink:["."],queryParams:{tab:i}}]}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-link-router"]],decls:18,vars:0,consts:[[2,"margin-bottom","16px"],["nz-button","",3,"click"],["nzLinkRouter",""],["nz-tab-link","","queryParamsHandling","merge",3,"routerLink","queryParams",4,"nzTabLink"],["nz-tab-link","","queryParamsHandling","merge",3,"routerLink","queryParams"]],template:function(i,l){i&1&&(n(0,"div",0)(1,"button",1),T("click",function(){return l.newTab()}),e(2,"ADD"),t()(),n(3,"nz-tabset",2)(4,"nz-tab"),N(5,zt,2,4,"a",3),e(6," Default. "),t(),n(7,"nz-tab"),N(8,bt,2,4,"a",3),e(9," Two. "),t(),n(10,"nz-tab"),N(11,Et,2,4,"a",3),e(12," Three. "),t(),n(13,"nz-tab"),N(14,xt,2,4,"a",3),e(15," Four. "),t(),S(16,St,3,1,"nz-tab",null,ct),t()),i&2&&(m(16),g(l.dynamicTabs))},dependencies:[Fe,x,E,b,Pe,Re,P,R,A,M],encapsulation:2})};var gt=(a,o)=>o.value;function Ct(a,o){if(a&1&&r(0,"nz-option",2),a&2){let i=o.$implicit;d("nzLabel",i.label)("nzValue",i.value)}}function Tt(a,o){if(a&1&&(n(0,"nz-tab",4),e(1),t()),a&2){let i=o.$implicit;d("nzTitle","Tab "+i),m(),f("Content of tab ",i,"")}}var ne=class a{position="top";tabs=[1,2,3];options=[{value:"top",label:"top"},{value:"left",label:"left"},{value:"right",label:"right"},{value:"bottom",label:"bottom"}];static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-position"]],decls:8,vars:2,consts:[[2,"margin-bottom","16px"],[2,"width","80px",3,"ngModelChange","ngModel"],[3,"nzLabel","nzValue"],[3,"nzTabPosition"],[3,"nzTitle"]],template:function(i,l){i&1&&(n(0,"div",0),e(1," Tab position: "),n(2,"nz-select",1),_("ngModelChange",function(s){return F(l.position,s)||
1(l.position=s),s}),S(3,Ct,1,2,"nz-option",2,gt),t()(),n(5,"nz-tabset",3),S(6,Tt,2,2,"nz-tab",4,C),t()),i&2&&(m(2),y("ngModel",l.position),m(),g(l.options),m(2),d("nzTabPosition",l.position),m(),g(l.tabs))},dependencies:[Z,O,G,we,Be,He,x,E,b],encapsulation:2})};function ht(a,o){if(a&1&&(n(0,"nz-tab",5),e(1),t()),a&2){let i=o.$implicit;d("nzTitle","Tab "+i),m(),f("Content of tab ",i,"")}}var ie=class a{size="small";tabs=[1,2,3];static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-size"]],decls:13,vars:2,consts:[[3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","small"],["nz-radio-button","","nzValue","default"],["nz-radio-button","","nzValue","large"],[3,"nzSize"],[3,"nzTitle"]],template:function(i,l){i&1&&(n(0,"nz-radio-group",0),_("ngModelChange",function(s){return F(l.size,s)||(l.size=s),s}),n(1,"label",1)(2,"span"),e(3,"Small"),t()(),n(4,"label",2)(5,"span"),e(6,"Default"),t()(),n(7,"label",3)(8,"span"),e(9,"Large"),t()()(),n(10,"nz-tabset",4),S(11,ht,2,2,"nz-tab",5,C),t()),i&2&&(y("ngModel",l.size),m(10),d("nzSize",l.size),m(),g(l.tabs))},dependencies:[Z,O,G,Se,fe,xe,x,E,b],encapsulation:2})};function Nt(a,o){if(a&1){let i=ye();n(0,"nz-tab",5),T("nzSelect",function(){let z=oe(i).$implicit,s=k();return me(s.log(["select",z]))})("nzClick",function(){let z=oe(i).$implicit,s=k();return me(s.log(["click",z]))})("nzContextmenu",function(){let z=oe(i).$implicit,s=k();return me(s.log(["contextmenu",z]))})("nzDeselect",function(){let z=oe(i).$implicit,s=k();return me(s.log(["deselect",z]))}),e(1),t()}if(a&2){let i=o.$implicit;d("nzTitle",i.name)("nzDisabled",i.disabled),m(),f(" ",i.content," ")}}var ae=class a{tabs=[];nzTabPosition="top";selectedIndex=27;log(o){console.log(o)}ngOnInit(){for(let o=0;o<30;o++)this.tabs.push({name:`Tab ${o}`,disabled:o===28,content:`Content of tab ${o}`})}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs-slide"]],decls:9,vars:8,consts:[[2,"margin-bottom","8px",3,"ngModelChange","ngModel"],["nz-radio-button","",3,"nzValue"],[2,"float","right",3,"ngModelChange","nzMin","nzMax","ngModel"],[2,"height","220px",3,"nzSelectedIndexChange","nzSelectChange","nzTabPosition","nzSelectedIndex"],[3,"nzTitle","nzDisabled"],[3,"nzSelect","nzClick","nzContextmenu","nzDeselect","nzTitle","nzDisabled"]],template:function(i,l){i&1&&(n(0,"nz-radio-group",0),_("ngModelChange",function(s){return F(l.nzTabPosition,s)||(l.nzTabPosition=s),s}),n(1,"label",1),e(2,"Horizontal"),t(),n(3,"label",1),e(4,"Vertical"),t()(),n(5,"nz-input-number",2),_("ngModelChange",function(s){return F(l.selectedIndex,s)||(l.selectedIndex=s),s}),t(),n(6,"nz-tabset",3),_("nzSelectedIndexChange",function(s){return F(l.selectedIndex,s)||(l.selectedIndex=s),s}),T("nzSelectChange",function(s){return l.log([s])}),S(7,Nt,2,3,"nz-tab",4,C),t()),i&2&&(y("ngModel",l.nzTabPosition),m(),d("nzValue","top"),m(2),d("nzValue","left"),m(2),d("nzMin",0)("nzMax",29),y("ngModel",l.selectedIndex),m(),d("nzTabPosition",l.nzTabPosition),y("nzSelectedIndex",l.selectedIndex),m(),g(l.tabs))},dependencies:[Z,O,G,ve,ke,Se,fe,xe,x,E,b],encapsulation:2})};var Ce=class a{expanded=!1;codeBoxes;goLink(o){window&&(window.location.hash=o)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs"]],viewQuery:function(i,l){if(i&1&&le(B,5),i&2){let z;re(z=de())&&(l.codeBoxes=z)}},decls:897,vars:84,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-tabs-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-tabs-demo-disabled","nzTitle","\u7981\u7528"],["nzHref","#components-tabs-demo-centered","nzTitle","\u5C45\u4E2D"],["nzHref","#components-tabs-demo-icon","nzTitle","\u56FE\u6807"],["nzHref","#components-tabs-demo-slide","nzTitle","\u6ED1\u52A8"],["nzHref","#components-tabs-demo-extra","nzTitle","\u9644\u52A0\u5185\u5BB9"],["nzHref","#components-tabs-demo-size","nzTitle","\u5927\u5C0F"],["nzHref","#components-tabs-demo-position","nzTitle","\u4F4D\u7F6E"],["nzHref","#components-tabs-demo-card","nzTitle","\u5361\u7247\u5F0F\u9875\u7B7E"],["nzHref","#components-tabs-demo-editable-card","nzTitle","\u65B0\u589E\u548C\u5173\u95ED\u9875\u7B7E"],["nzHref","#components-tabs-demo-card-top","nzTitle","\u5361\u7247\u5F0F\u9875\u7B7E\u5BB9\u5668"],["nzHref","#components-tabs-demo-custom-add-trigger","nzTitle","\u81EA\u5B9A\u4E49\u65B0\u589E\u9875\u7B7E\u89E6\u53D1\u5668"],["nzHref","#components-tabs-demo-lazy","nzTitle","\u5EF6\u8FDF\u52A0\u8F7D"],["nzHref","#components-tabs-demo-link-router","nzTitle","\u8DEF\u7531\u8054\u52A8"],["nzHref","#components-tabs-demo-guard","nzTitle","\u6807\u7B7E\u5B88\u536B"],["nzHref","#components-tabs-demo-draggable","nzTitle","\u53EF\u62D6\u62FD\u6807\u7B7E"],["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/tabs/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["href","/components/radio/zh/#components-radio-demo-radiobutton"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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-tabs-basic","nzGenerateCommand","ng g ng-zorro-antd:tabs-basic <name>","nzComponentName","NzDemoTabsBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u7981\u7528","nzSelector","nz-demo-tabs-disabled","nzGenerateCommand","ng g ng-zorro-antd:tabs-disabled <name>","nzComponentName","NzDemoTabsDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5C45\u4E2D","nzSelector","nz-demo-tabs-centered","nzGenerateCommand","ng g ng-zorro-antd:tabs-centered <name>","nzComponentName","NzDemoTabsCenteredComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u56FE\u6807","nzSelector","nz-demo-tabs-icon","nzGenerateCommand","ng g ng-zorro-antd:tabs-icon <name>","nzComponentName","NzDemoTabsIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u6ED1\u52A8","nzSelector","nz-demo-tabs-slide","nzGenerateCommand","ng g ng-zorro-antd:tabs-slide <name>","nzComponentName","NzDemoTabsSlideComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u9644\u52A0\u5185\u5BB9","nzSelector","nz-demo-tabs-extra","nzGenerateCommand","ng g ng-zorro-antd:tabs-extra <name>","nzComponentName","NzDemoTabsExtraComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5927\u5C0F","nzSelector","nz-demo-tabs-size","nzGenerateCommand","ng g ng-zorro-antd:tabs-size <name>","nzComponentName","NzDemoTabsSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4F4D\u7F6E","nzSelector","nz-demo-tabs-position","nzGenerateCommand","ng g ng-zorro-antd:tabs-position <name>","nzComponentName","NzDemoTabsPositionComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5361\u7247\u5F0F\u9875\u7B7E","nzSelector","nz-demo-tabs-card","nzGenerateCommand","ng g ng-zorro-antd:tabs-card <name>","nzComponentName","NzDemoTabsCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u65B0\u589E\u548C\u5173\u95ED\u9875\u7B7E","nzSelector","nz-demo-tabs-editable-card","nzGenerateCommand","ng g ng-zorro-antd:tabs-editable-card <name>","nzComponentName","NzDemoTabsEditableCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5361\u7247\u5F0F\u9875\u7B7E\u5BB9\u5668","nzSelector","nz-demo-tabs-card-top","nzGenerateCommand","ng g ng-zorro-antd:tabs-card-top <name>","nzComponentName","NzDemoTabsCardTopComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u65B0\u589E\u9875\u7B7E\u89E6\u53D1\u5668","nzSelector","nz-demo-tabs-custom-add-trigger","nzGenerateCommand","ng g ng-zorro-antd:tabs-custom-add-trigger <name>","nzComponentName","NzDemoTabsCustomAddTriggerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u5EF6\u8FDF\u52A0\u8F7D","nzSelector","nz-demo-tabs-lazy","nzGenerateCommand","ng g ng-zorro-antd:tabs-lazy <name>","nzComponentName","NzDemoTabsLazyComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u8DEF\u7531\u8054\u52A8","nzSelector","nz-demo-tabs-link-router","nzGenerateCommand","ng g ng-zorro-antd:tabs-link-router <name>","nzComponentName","NzDemoTabsLinkRouterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u6807\u7B7E\u5B88\u536B","nzSelector","nz-demo-tabs-guard","nzGenerateCommand","ng g ng-zorro-antd:tabs-guard <name>","nzComponentName","NzDemoTabsGuardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u53EF\u62D6\u62FD\u6807\u7B7E","nzSelector","nz-demo-tabs-draggable","nzGenerateCommand","ng g ng-zorro-antd:tabs-draggable <name>","nzComponentName","NzDemoTabsDraggableComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-tabset"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-tabset'",1,"anchor"],["id","nz-tabsetnztype=andquot;editable-cardandquot;"],["onclick","window.location.hash = 'nz-tabsetnztype=andquot;editable-cardandquot;'",1,"anchor"],["id","nz-tab"],["onclick","window.location.hash = 'nz-tab'",1,"anchor"],["id","nz-tabsetnztype=andquot;editable-cardandquot;_andgt;_nz-tab"],["onclick","window.location.hash = 'nz-tabsetnztype=andquot;editable-cardandquot;_andgt;_nz-tab'",1,"anchor"],["id","lesscodegreaternz-tabnztitleless/codegreater_\u7684\u6A21\u7248\u5F15\u7528\u53D8\u91CF"],["onclick","window.location.hash = 'lesscodegreaternz-tabnztitleless/codegreater_\u7684\u6A21\u7248\u5F15\u7528\u53D8\u91CF'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],[1,"api-type-label","directive"],["id","ng-templatenztablink_andgt;_anz-tab-link"],["onclick","window.location.hash = 'ng-templatenztablink_andgt;_anz-tab-link'",1,"anchor"]],template:function(i,l){i&1&&(n(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),T("nzClick",function(s){return l.goLink(s)}),r(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)(14,"nz-link",13)(15,"nz-link",14)(16,"nz-link",15)(17,"nz-link",16)(18,"nz-link",17)(19,"nz-link",18),t()(),n(20,"section",19)(21,"h1"),e(22,"Tabs"),n(23,"span",20),e(24,"\u6807\u7B7E\u9875"),t(),r(25,"span",21),n(26,"a",22),r(27,"nz-icon",23),t()(),n(28,"section",19),u(),n(29,"p"),e(30,"\u9009\u9879\u5361\u5207\u6362\u7EC4\u4EF6\u3002"),t(),n(31,"h2",24)(32,"span"),e(33,"\u4F55\u65F6\u4F7F\u7528"),t(),n(34,"a",25),e(35,"#"),t()(),n(36,"p"),e(37,"\u63D0\u4F9B\u5E73\u7EA7\u7684\u533A\u57DF\u5C06\u5927\u5757\u5185\u5BB9\u8FDB\u884C\u6536\u7EB3\u548C\u5C55\u73B0\uFF0C\u4FDD\u6301\u754C\u9762\u6574\u6D01\u3002"),t(),n(38,"p"),e(39,"Ant Design \u4F9D\u6B21\u63D0\u4F9B\u4E86\u4E09\u7EA7\u9009\u9879\u5361\uFF0C\u5206\u522B\u7528\u4E8E\u4E0D\u540C\u7684\u573A\u666F\u3002"),t(),n(40,"ul")(41,"li"),e(42,"\u5361\u7247\u5F0F\u7684\u9875\u7B7E\uFF0C\u63D0\u4F9B\u53EF\u5173\u95ED\u7684\u6837\u5F0F\uFF0C\u5E38\u7528\u4E8E\u5BB9\u5668\u9876\u90E8\u3002"),t(),n(43,"li"),e(44,"\u6807\u51C6\u7EBF\u6761\u5F0F\u9875\u7B7E\uFF0C\u7528\u4E8E\u5BB9\u5668\u5185\u90E8\u7684\u4E3B\u529F\u80FD\u5207\u6362\uFF0C\u8FD9\u662F\u6700\u5E38\u7528\u7684 Tabs\u3002"),t(),n(45,"li")(46,"a",26),e(47,"RadioButton"),t(),e(48," \u53EF\u4F5C\u4E3A\u66F4\u6B21\u7EA7\u7684\u9875\u7B7E\u6765\u4F7F\u7528\u3002"),t()(),n(49,"pre")(50,"code",27)(51,"span",28),e(52,"import"),t(),e(53," "),n(54,"span",29),e(55,"{"),t(),e(56," NzTabsModule "),n(57,"span",29),e(58,"}"),t(),e(59," "),n(60,"span",28),e(61,"from"),t(),e(62," "),n(63,"span",30),e(64,"'ng-zorro-antd/tabs'"),t(),n(65,"span",29),e(66,";"),t(),e(67,` 2`),t()(),p(),t(),n(68,"h2")(69,"span"),e(70,"\u4EE3\u7801\u6F14\u793A"),t(),n(71,"nz-icon",31),T("click",function(){return l.expandAllCode()}
2),t()()(),n(72,"div",32)(73,"div",33)(74,"nz-code-box",34),r(75,"nz-demo-tabs-basic",35),n(76,"div",36),u(),n(77,"p"),e(78,"\u9ED8\u8BA4\u9009\u4E2D\u7B2C\u4E00\u9879\u3002"),t(),p(),t()(),n(79,"nz-code-box",37),r(80,"nz-demo-tabs-disabled",35),n(81,"div",36),u(),n(82,"p"),e(83,"\u7981\u7528\u67D0\u4E00\u9879\u3002"),t(),p(),t()(),n(84,"nz-code-box",38),r(85,"nz-demo-tabs-centered",35),n(86,"div",36),u(),n(87,"p"),e(88,"\u6807\u7B7E\u5C45\u4E2D\u5C55\u793A\u3002"),t(),p(),t()(),n(89,"nz-code-box",39),r(90,"nz-demo-tabs-icon",35),n(91,"div",36),u(),n(92,"p"),e(93,"\u6709\u56FE\u6807\u7684\u6807\u7B7E\u3002"),t(),p(),t()(),n(94,"nz-code-box",40),r(95,"nz-demo-tabs-slide",35),n(96,"div",36),u(),n(97,"p"),e(98,"\u53EF\u4EE5\u5DE6\u53F3\u3001\u4E0A\u4E0B\u6ED1\u52A8\uFF0C\u5BB9\u7EB3\u66F4\u591A\u6807\u7B7E\u3002"),t(),p(),t()(),n(99,"nz-code-box",41),r(100,"nz-demo-tabs-extra",35),n(101,"div",36),u(),n(102,"p"),e(103,"\u53EF\u4EE5\u5728\u9875\u7B7E\u53F3\u8FB9\u6DFB\u52A0\u9644\u52A0\u64CD\u4F5C\u3002"),t(),p(),t()(),n(104,"nz-code-box",42),r(105,"nz-demo-tabs-size",35),n(106,"div",36),u(),n(107,"p"),e(108,"\u5927\u53F7\u9875\u7B7E\u7528\u5728\u9875\u5934\u533A\u57DF\uFF0C\u5C0F\u53F7\u7528\u5728\u5F39\u51FA\u6846\u7B49\u8F83\u72ED\u7A84\u7684\u5BB9\u5668\u5185\u3002"),t(),p(),t()(),n(109,"nz-code-box",43),r(110,"nz-demo-tabs-position",35),n(111,"div",36),u(),n(112,"p"),e(113,"\u6709\u56DB\u4E2A\u4F4D\u7F6E\uFF0C"),n(114,"code"),e(115,'nzTabPosition="left|right|top|bottom"'),t(),e(116,"\u3002"),t(),p(),t()(),n(117,"nz-code-box",44),r(118,"nz-demo-tabs-card",35),n(119,"div",36),u(),n(120,"p"),e(121,"\u53E6\u4E00\u79CD\u6837\u5F0F\u7684\u9875\u7B7E\uFF0C\u4E0D\u63D0\u4F9B\u5BF9\u5E94\u7684\u5782\u76F4\u6837\u5F0F\u3002"),t(),p(),t()(),n(122,"nz-code-box",45),r(123,"nz-demo-tabs-editable-card",35),n(124,"div",36),u(),n(125,"p"),e(126,"\u53EA\u6709\u5361\u7247\u6837\u5F0F\u7684\u9875\u7B7E\u652F\u6301\u65B0\u589E\u548C\u5173\u95ED\u9009\u9879\u3002"),t(),p(),t()(),n(127,"nz-code-box",46),r(128,"nz-demo-tabs-card-top",35),n(129,"div",36),u(),n(130,"p"),e(131,"\u7528\u4E8E\u5BB9\u5668\u9876\u90E8\uFF0C\u9700\u8981\u4E00\u70B9\u989D\u5916\u7684\u6837\u5F0F\u8986\u76D6\u3002"),t(),p(),t()(),n(132,"nz-code-box",47),r(133,"nz-demo-tabs-custom-add-trigger",35),n(134,"div",36),u(),n(135,"p"),e(136,"\u7ED9\u81EA\u5B9A\u4E49\u89E6\u53D1\u5668\u7ED1\u5B9A\u4E8B\u4EF6\u3002"),t(),p(),t()(),n(137,"nz-code-box",48),r(138,"nz-demo-tabs-lazy",35),n(139,"div",36),u(),n(140,"p"),e(141,"\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C"),n(142,"code"),e(143,"nz-tab"),t(),e(144," \u4E2D\u7684\u7EC4\u4EF6\u662F\u7ACB\u5373\u52A0\u8F7D\u7684\u3002\u53EF\u4EE5\u901A\u8FC7\u5728 "),n(145,"code"),e(146,"ng-template"),t(),e(147," \u4E2D\u4F7F\u7528 "),n(148,"code"),e(149,"[nz-tab]"),t(),e(150," \u6307\u4EE4\u6765\u5B9E\u73B0\u5EF6\u8FDF\u52A0\u8F7D\u9009\u9879\u5361\u5185\u5BB9\u3002"),t(),n(151,"blockquote")(152,"p"),e(153,"\u914D\u5408 "),n(154,"code"),e(155,"nzDestroyInactiveTabPane"),t(),e(156," \u4F7F\u7528\uFF0C\u53EF\u4EE5\u5B9E\u73B0 tab \u9690\u85CF\u65F6\u9500\u6BC1\u7EC4\u4EF6\u3002"),t()(),p(),t()(),n(157,"nz-code-box",49),r(158,"nz-demo-tabs-link-router",35),n(159,"div",36),u(),n(160,"p"),e(161,"\u4E0E\u8DEF\u7531\u8054\u52A8\uFF0C\u70B9\u51FB tab \u66F4\u6539\u8DEF\u7531\uFF0C\u5E76\u4E14\u5728\u8DEF\u7531\u6539\u53D8\u65F6\u81EA\u52A8\u5207\u6362 tab\u3002"),t(),p(),t()(),n(162,"nz-code-box",50),r(163,"nz-demo-tabs-guard",35),n(164,"div",36),u(),n(165,"p"),e(166,"\u901A\u8FC7 "),n(167,"code"),e(168,"nzCanDeactivate"),t(),e(169," \u51B3\u5B9A\u4E00\u4E2A tab \u662F\u5426\u53EF\u4EE5\u88AB\u5207\u6362\u3002"),t(),p(),t()(),n(170,"nz-code-box",51),r(171,"nz-demo-tabs-draggable",35),n(172,"div",36),u(),n(173,"p"),e(174,"\u901A\u8FC7 CDK "),n(175,"code"),e(176,"DragDropModule"),t(),e(177," \u5B9E\u73B0\u6807\u7B7E\u53EF\u62D6\u62FD\u3002"),t(),p(),t()()()(),n(178,"section",52),u(),n(179,"h2",53)(180,"span"),e(181,"API"),t(),n(182,"a",54),e(183,"#"),t()(),n(184,"h3",55)(185,"span"),e(186,"nz-tabset"),t(),n(187,"label",56),e(188,"component"),t(),n(189,"a",57),e(190,"#"),t()(),n(191,"table")(192,"thead")(193,"tr")(194,"th"),e(195,"\u53C2\u6570"),t(),n(196,"th"),e(197,"\u8BF4\u660E"),t(),n(198,"th"),e(199,"\u7C7B\u578B"),t(),n(200,"th"),e(201,"\u9ED8\u8BA4\u503C"),t(),n(202,"th"),e(203,"\u5168\u5C40\u914D\u7F6E"),t()()(),n(204,"tbody")(205,"tr")(206,"td")(207,"code"),e(208,"[nzSelectedIndex]"),t()(),n(209,"td"),e(210,"\u5F53\u524D\u6FC0\u6D3B tab \u9762\u677F\u7684 \u5E8F\u5217\u53F7\uFF0C\u53EF\u53CC\u5411\u7ED1\u5B9A"),t(),n(211,"td")(212,"code"),e(213,"number"),t()(),n(214,"td"),e(215,"-"),t(),r(216,"td"),t(),n(217,"tr")(218,"td")(219,"code"),e(220,"[nzAnimated]"),t()(),n(221,"td"),e(222,"\u662F\u5426\u4F7F\u7528\u52A8\u753B\u5207\u6362 Tabs\uFF0C\u5728 "),n(223,"code"),e(224,'nzTabPosition="top" | "bottom"'),t(),e(225," \u65F6\u6709\u6548"),t(),n(226,"td")(227,"code"),e(228,"boolean | {inkBar:boolean, tabPane:boolean}"),t()(),n(229,"td")(230,"code"),e(231,"true"),t(),e(232,", \u5F53 "),n(233,"code"),e(234,'type="card"'),t(),e(235," \u65F6\u4E3A "),n(236,"code"),e(237,"false"),t()(),n(238,"td"),e(239,"\u2705"),t()(),n(240,"tr")(241,"td")(242,"code"),e(243,"[nzSize]"),t()(),n(244,"td"),e(245,"\u5927\u5C0F\uFF0C\u63D0\u4F9B "),n(246,"code"),e(247,"large"),t(),n(248,"code"),e(249,"default"),t(),e(250," \u548C "),n(251,"code"),e(252,"small"),t(),e(253," \u4E09\u79CD\u5927\u5C0F"),t(),n(254,"td")(255,"code"),e(256,"'large' | 'small' | 'default'"),t()(),n(257,"td")(258,"code"),e(259,"'default'"),t()(),n(260,"td"),e(261,"\u2705"),t()(),n(262,"tr")(263,"td")(264,"code"),e(265,"[nzTabBarExtraContent]"),t()(),n(266,"td"),e(267,"tab bar \u4E0A\u989D\u5916\u7684\u5143\u7D20"),t(),n(268,"td")(269,"code"),e(270,"TemplateRef<void>"),t()(),n(271,"td"),e(272,"-"),t(),r(273,"td"),t(),n(274,"tr")(275,"td")(276,"code"),e(277,"[nzTabBarStyle]"),t()(),n(278,"td"),e(279,"tab bar \u7684\u6837\u5F0F\u5BF9\u8C61"),t(),n(280,"td")(281,"code"),e(282,"object"),t()(),n(283,"td"),e(284,"-"),t(),r(285,"td"),t(),n(286,"tr")(287,"td")(288,"code"),e(289,"[nzTabPosition]"),t()(),n(290,"td"),e(291,"\u9875\u7B7E\u4F4D\u7F6E\uFF0C\u53EF\u9009\u503C\u6709 "),n(292,"code"),e(293,"top"),t(),n(294,"code"),e(295,"right"),t(),n(296,"code"),e(297,"bottom"),t(),n(298,"code"),e(299,"left"),t()(),n(300,"td")(301,"code"),e(302,"'top' | 'right' | 'bottom' | 'left'"),t()(),n(303,"td")(304,"code"),e(305,"'top'"),t()(),r(306,"td"),t(),n(307,"tr")(308,"td")(309,"code"),e(310,"[nzType]"),t()(),n(311,"td"),e(312,"\u9875\u7B7E\u7684\u57FA\u672C\u6837\u5F0F"),t(),n(313,"td")(314,"code"),e(315,"'line' | 'card' | 'editable-card'"),t()(),n(316,"td")(317,"code"),e(318,"'line'"),t()(),n(319,"td"),e(320,"\u2705"),t()(),n(321,"tr")(322,"td")(323,"code"),e(324,"[nzTabBarGutter]"),t()(),n(325,"td"),e(326,"tabs \u4E4B\u95F4\u7684\u95F4\u9699"),t(),n(327,"td")(328,"code"),e(329,"number"),t()(),n(330,"td"),e(331,"-"),t(),n(332,"td"),e(333,"\u2705"),t()(),n(334,"tr")(335,"td")(336,"code"),e(337,"[nzHideAll]"),t()(),n(338,"td"),e(339,"\u662F\u5426\u9690\u85CF\u6240\u6709 tab \u5185\u5BB9"),t(),n(340,"td")(341,"code"),e(342,"boolean"),t()(),n(343,"td")(344,"code"),e(345,"false"),t()(),r(346,"td"),t(),n(347,"tr")(348,"td")(349,"code"),e(350,"[nzLinkRouter]"),t()(),n(351,"td"),e(352,"\u4E0E Angular \u8DEF\u7531\u8054\u52A8"),t(),n(353,"td")(354,"code"),e(355,"boolean"),t()(),n(356,"td")(357,"code"),e(358,"false"),t()(),r(359,"td"),t(),n(360,"tr")(361,"td")(362,"code"),e(363,"[nzLinkExact]"),t()(),n(364,"td"),e(365,"\u4EE5\u4E25\u683C\u5339\u914D\u6A21\u5F0F\u786E\u5B9A\u8054\u52A8\u7684\u8DEF\u7531"),t(),n(366,"td")(367,"code"),e(368,"boolean"),t()(),n(369,"td")(370,"code"),e(371,"true"),t()(),r(372,"td"),t(),n(373,"tr")(374,"td")(375,"code"),e(376,"[nzCanDeactivate]"),t()(),n(377,"td"),e(378,"\u51B3\u5B9A\u4E00\u4E2A tab \u662F\u5426\u53EF\u4EE5\u88AB\u5207\u6362"),t(),n(379,"td")(380,"code"),e(381,"NzTabsCanDeactivateFn"),t()(),n(382,"td"),e(383,"-"),t(),r(384,"td"),t(),n(385,"tr")(386,"td")(387,"code"),e(388,"[nzCentered]"),t()(),n(389,"td"),e(390,"\u6807\u7B7E\u5C45\u4E2D\u5C55\u793A"),t(),n(391,"td")(392,"code"),e(393,"boolean"),t()(),n(394,"td")(395,"code"),e(396,"false"),t()(),r(397,"td"),t(),n(398,"tr")(399,"td")(400,"code"),e(401,"[nzDestroyInactiveTabPane]"),t()(),n(402,"td"),e(403,"\u88AB\u9690\u85CF\u65F6\u662F\u5426\u9500\u6BC1 DOM \u7ED3\u6784"),t(),n(404,"td")(405,"code"),e(406,"boolean"),t()(),n(407,"td")(408,"code"),e(409,"false"),t()(),r(410,"td"),t(),n(411,"tr")(412,"td")(413,"code"),e(414,"(nzSelectedIndexChange)"),t()(),n(415,"td"),e(416,"\u5F53\u524D\u6FC0\u6D3B tab \u9762\u677F\u7684 \u5E8F\u5217\u53F7\u53D8\u66F4\u56DE\u8C03\u51FD\u6570"),t(),n(417,"td")(418,"code"),e(419,"EventEmitter<number>"),t()(),n(420,"td"),e(421,"-"),t(),r(422,"td"),t(),n(423,"tr")(424,"td")(425,"code"),e(426,"(nzSelectChange)"),t()(),n(427,"td"),e(428,"\u5F53\u524D\u6FC0\u6D3B tab \u9762\u677F\u53D8\u66F4\u56DE\u8C03\u51FD\u6570"),t(),n(429,"td")(430,"code"),e(431,"EventEmitter<{index: number,tab: NzTabComponent}>"),t()(),n(432,"td"),e(433,"-"),t(),r(434,"td"),t()()(),n(435,"h3",58)(436,"span"),e(437,'nz-tabset[nzType="editable-card"]'),t(),n(438,"label",56),e(439,"component"),t(),n(440,"a",59),e(441,"#"),t()(),n(442,"table")(443,"thead")(444,"tr")(445,"th"),e(446,"\u53C2\u6570"),t(),n(447,"th"),e(448,"\u8BF4\u660E"),t(),n(449,"th"),e(450,"\u7C7B\u578B"),t(),n(451,"th"),e(452,"\u9ED8\u8BA4\u503C"),t(),n(453,"th"),e(454,"\u5168\u5C40\u914D\u7F6E"),t()()(),n(455,"tbody")(456,"tr")(457,"td")(458,"code"),e(459,"[nzHideAdd]"),t()(),n(460,"td"),e(461,"\u9690\u85CF\u6DFB\u52A0\u6309\u94AE"),t(),n(462,"td")(463,"code"),e(464,"boolean"),t()(),n(465,"td")(466,"code"),e(467,"false"),t()(),r(468,"td"),t(),n(469,"tr")(470,"td")(471,"code"),e(472,"[nzAddIcon]"),t()(),n(473,"td"),e(474,"\u6DFB\u52A0\u6309\u94AE\u56FE\u6807"),t(),n(475,"td")(476,"code"),e(477,"string | TemplateRef<void>"),t()(),n(478,"td"),e(479,"-"),t(),r(480,"td"),t(),n(481,"tr")(482,"td")(483,"code"),e(484,"(nzAdd)"),t()(),n(485,"td"),e(486,"\u70B9\u51FB\u6DFB\u52A0\u6309\u94AE\u65F6\u7684\u4E8B\u4EF6"),t(),n(487,"td")(488,"code"),e(489,"EventEmitter<>"),t()(),n(490,"td"),e(491,"-"),t(),r(492,"td"),t(),n(493,"tr")(494,"td")(495,"code"),e(496,"(nzClose)"),t()(),n(497,"td"),e(498,"\u70B9\u51FB\u5220\u9664\u6309\u94AE\u65F6\u7684\u4E8B\u4EF6"),t(),n(499,"td")(500,"code"),e(501,"EventEmitter<{ index: number }>
2"),t()(),n(502,"td"),e(503,"-"),t(),r(504,"td"),t()()(),n(505,"h3",60)(506,"span"),e(507,"nz-tab"),t(),n(508,"label",56),e(509,"component"),t(),n(510,"a",61),e(511,"#"),t()(),n(512,"table")(513,"thead")(514,"tr")(515,"th"),e(516,"\u53C2\u6570"),t(),n(517,"th"),e(518,"\u8BF4\u660E"),t(),n(519,"th"),e(520,"\u7C7B\u578B"),t(),n(521,"th"),e(522,"\u9ED8\u8BA4\u503C"),t()()(),n(523,"tbody")(524,"tr")(525,"td")(526,"code"),e(527,"[nzTitle]"),t()(),n(528,"td"),e(529,"\u9009\u9879\u5361\u5934\u663E\u793A\u6587\u5B57"),t(),n(530,"td")(531,"code"),e(532,"string | TemplateRef<TabTemplateContext>"),t()(),n(533,"td"),e(534,"-"),t()(),n(535,"tr")(536,"td")(537,"code"),e(538,"[nzForceRender]"),t()(),n(539,"td"),e(540,"\u88AB\u9690\u85CF\u65F6\u662F\u5426\u6E32\u67D3 DOM \u7ED3\u6784"),t(),n(541,"td")(542,"code"),e(543,"boolean"),t()(),n(544,"td")(545,"code"),e(546,"false"),t()()(),n(547,"tr")(548,"td")(549,"code"),e(550,"[nzDisabled]"),t()(),n(551,"td"),e(552,"\u662F\u5426\u7981\u7528"),t(),n(553,"td")(554,"code"),e(555,"boolean"),t()(),n(556,"td"),e(557,"-"),t()(),n(558,"tr")(559,"td")(560,"code"),e(561,"(nzClick)"),t()(),n(562,"td"),e(563,"\u5355\u51FB title \u7684\u56DE\u8C03\u51FD\u6570"),t(),n(564,"td")(565,"code"),e(566,"EventEmitter<void>"),t()(),n(567,"td"),e(568,"-"),t()(),n(569,"tr")(570,"td")(571,"code"),e(572,"(nzContextmenu)"),t()(),n(573,"td"),e(574,"\u53F3\u952E title \u7684\u56DE\u8C03\u51FD\u6570"),t(),n(575,"td")(576,"code"),e(577,"EventEmitter<MouseEvent>"),t()(),n(578,"td"),e(579,"-"),t()(),n(580,"tr")(581,"td")(582,"code"),e(583,"(nzSelect)"),t()(),n(584,"td"),e(585,"tab \u88AB\u9009\u4E2D\u7684\u56DE\u8C03\u51FD\u6570"),t(),n(586,"td")(587,"code"),e(588,"EventEmitter<void>"),t()(),n(589,"td"),e(590,"-"),t()(),n(591,"tr")(592,"td")(593,"code"),e(594,"(nzDeselect)"),t()(),n(595,"td"),e(596,"tab \u88AB\u53D6\u6D88\u9009\u4E2D\u7684\u56DE\u8C03\u51FD\u6570"),t(),n(597,"td")(598,"code"),e(599,"EventEmitter<void>"),t()(),n(600,"td"),e(601,"-"),t()()()(),n(602,"h3",62)(603,"span"),e(604,'nz-tabset[nzType="editable-card"] > nz-tab'),t(),n(605,"label",56),e(606,"component"),t(),n(607,"a",63),e(608,"#"),t()(),n(609,"table")(610,"thead")(611,"tr")(612,"th"),e(613,"\u53C2\u6570"),t(),n(614,"th"),e(615,"\u8BF4\u660E"),t(),n(616,"th"),e(617,"\u7C7B\u578B"),t(),n(618,"th"),e(619,"\u9ED8\u8BA4\u503C"),t(),n(620,"th"),e(621,"\u5168\u5C40\u914D\u7F6E"),t()()(),n(622,"tbody")(623,"tr")(624,"td")(625,"code"),e(626,"[nzClosable]"),t()(),n(627,"td"),e(628,"\u663E\u793A\u5220\u9664\u6309\u94AE"),t(),n(629,"td")(630,"code"),e(631,"boolean"),t()(),n(632,"td")(633,"code"),e(634,"false"),t()(),r(635,"td"),t(),n(636,"tr")(637,"td")(638,"code"),e(639,"[nzCloseIcon]"),t()(),n(640,"td"),e(641,"\u5173\u95ED\u6309\u94AE\u56FE\u6807"),t(),n(642,"td")(643,"code"),e(644,"string | TemplateRef<void>"),t()(),n(645,"td"),e(646,"-"),t(),r(647,"td"),t()()(),n(648,"h4",64)(649,"span")(650,"code"),e(651,"nz-tab[nzTitle]"),t(),e(652," \u7684\u6A21\u7248\u5F15\u7528\u53D8\u91CF"),t(),n(653,"a",65),e(654,"#"),t()(),n(655,"table")(656,"thead")(657,"tr")(658,"th"),e(659,"\u5C5E\u6027"),t(),n(660,"th"),e(661,"\u8BF4\u660E"),t(),n(662,"th"),e(663,"\u7C7B\u578B"),t()()(),n(664,"tbody")(665,"tr")(666,"td")(667,"code"),e(668,"visible"),t()(),n(669,"td"),e(670,"\u8868\u793A\u662F\u5426\u5728\u53EF\u89C1\u533A\u57DF, \u4E3A "),n(671,"code"),e(672,"false"),t(),e(673," \u65F6\u5C06\u4F1A\u88AB\u6E32\u67D3\u5230\u4E0B\u62C9\u83DC\u5355\u4E2D"),t(),n(674,"td")(675,"code"),e(676,"boolean"),t()()()()(),n(677,"p"),e(678,"\u5728 "),n(679,"code"),e(680,"nz-tab[nzTitle]"),t(),e(681," \u4E2D\u4F7F\u7528"),t(),n(682,"pre")(683,"code",66)(684,"span",67)(685,"span",67)(686,"span",29),e(687,"<"),t(),e(688,"nz-tab"),t(),e(689," "),n(690,"span",68),e(691,"[nzTitle]"),t(),n(692,"span",69)(693,"span",70),e(694,"="),t(),n(695,"span",29),e(696,'"'),t(),e(697,"titleTemplate"),n(698,"span",29),e(699,'"'),t()(),n(700,"span",29),e(701,">"),t()(),e(702,` 3 ... 4 `),n(703,"span",67)(704,"span",67)(705,"span",29),e(706,"<"),t(),e(707,"ng-template"),t(),e(708," "),n(709,"span",68),e(710,"#titleTemplate"),t(),e(711," "),n(712,"span",68),e(713,"let-visible"),t(),n(714,"span",69)(715,"span",70),e(716,"="),t(),n(717,"span",29),e(718,'"'),t(),e(719,"visible"),n(720,"span",29),e(721,'"'),t()(),n(722,"span",29),e(723,">"),t()(),e(724,"..."),n(725,"span",67)(726,"span",67)(727,"span",29),e(728,"</"),t(),e(729,"ng-template"),t(),n(730,"span",29),e(731,">"),t()(),e(732,` 5`),n(733,"span",67)(734,"span",67)(735,"span",29),e(736,"</"),t(),e(737,"nz-tab"),t(),n(738,"span",29),e(739,">"),t()(),e(740,` 6`),t()(),n(741,"p"),e(742,"\u5728 "),n(743,"code"),e(744,"*nzTabLink"),t(),e(745," \u4E2D\u4F7F\u7528"),t(),n(746,"pre")(747,"code",66)(748,"span",67)(749,"span",67)(750,"span",29),e(751,"<"),t(),e(752,"nz-tab"),t(),n(753,"span",29),e(754,">"),t()(),e(755,` 7 `),n(756,"span",67)(757,"span",67)(758,"span",29),e(759,"<"),t(),e(760,"a"),t(),e(761," "),n(762,"span",68),e(763,"*nzTabLink"),t(),n(764,"span",69)(765,"span",70),e(766,"="),t(),n(76
77,"span",29),e(768,'"'),t(),e(769,"let visible = visible"),n(770,"span",29),e(771,'"'),t()(),e(772," "),n(773,"span",68),e(774,"nz-tab-link"),t(),e(775," "),n(776,"span",68),e(777,"[routerLink]"),t(),n(778,"span",69)(779,"span",70),e(780,"="),t(),n(781,"span",29),e(782,'"'),t(),e(783,"['.']"),n(784,"span",29),e(785,'"'),t()(),n(786,"span",29),e(787,">"),t()(),e(788,"..."),n(789,"span",67)(790,"span",67)(791,"span",29),e(792,"</"),t(),e(793,"a"),t(),n(794,"span",29),e(795,">"),t()(),e(796,` 8`),n(797,"span",67)(798,"span",67)(799,"span",29),e(800,"</"),t(),e(801,"nz-tab"),t(),n(802,"span",29),e(803,">"),t()(),e(804,` 9`),t()(),n(805,"h3",60)(806,"span"),e(807,"[nz-tab]"),t(),n(808,"label",71),e(809,"directive"),t(),n(810,"a",61),e(811,"#"),t()(),n(812,"p"),e(813,"\u4E0E "),n(814,"code"),e(815,"ng-template"),t(),e(816," \u4E00\u540C\u4F7F\u7528\uFF0C\u7528\u4E8E\u6807\u8BB0\u9700\u8981\u61D2\u52A0\u8F7D\u7684 "),n(817,"code"),e(818,"tab"),t(),e(819," \u5185\u5BB9\uFF0C\u5177\u4F53\u7528\u6CD5\u89C1\u793A\u4F8B\u3002"),t(),n(820,"h3",72)(821,"span"),e(822,"ng-template[nzTabLink] > a[nz-tab-link]"),t(),n(823,"a",73),e(824,"#"),t()(),n(825,"p"),e(826,"\u8DEF\u7531\u8054\u52A8\u53EF\u4EE5\u8BA9 tab \u7684\u5207\u6362\u548C\u8DEF\u7531\u884C\u4E3A\u76F8\u4E00\u81F4\u3002"),t(),n(827,"pre")(828,"code",66)(829,"span",67)(830,"span",67)(831,"span",29),e(832,"<"),t(),e(833,"nz-tabset"),t(),e(834," "),n(835,"span",68),e(836,"nzLinkRouter"),t(),n(837,"span",29),e(838,">"),t()(),e(839,` 10 `),n(840,"span",67)(841,"span",67)(842,"span",29),e(843,"<"),t(),e(844,"nz-tab"),t(),n(845,"span",29),e(846,">"),t()(),e(847,` 11 `),n(848,"span",67)(849,"span",67)(850,"span",29),e(851,"<"),t(),e(852,"a"),t(),e(853," "),n(854,"span",68),e(855,"*nzTabLink"),t(),e(856," "),n(857,"span",68),e(858,"nz-tab-link"),t(),e(859," "),n(860,"span",68),e(861,"[routerLink]"),t(),n(862,"span",69)(863,"span",70),e(864,"="),t(),n(865,"span",29),e(866,'"'),t(),e(867,"['.']"),n(868,"span",29),e(869,'"'),t()(),n(870,"span",29),e(871,">"),t()(),e(872,"Link"),n(873,"span",67)(874,"span",67)(875,"span",29),e(876,"</"),t(),e(877,"a"),t(),n(878,"span",29),e(879,">"),t()(),e(880,` 12 Default. 13 `),n(881,"span",67)(882,"span",67)(883,"span",29),e(884,"</"),t(),e(885,"nz-tab"),t(),n(886,"span",29),e(887,">"),t()(),e(888,` 14`),n(889,"span",67)(890,"span",67)(891,"span",29),e(892,"</"),t(),e(893,"nz-tabset"),t(),n(894,"span",29),e(895,">"),t()(),e(896,` 15`),t()(),p(),t()()),i&2&&(m(),d("nzOffsetTop",16),m(),d("nzAffix",!1),m(70),d("nzGutter",8),m(),d("nzSpan",24),m(),d("nzId","components-tabs-demo-basic")("nzLink","components-tabs-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/basic.md"),m(5),d("nzId","components-tabs-demo-disabled")("nzLink","components-tabs-demo-disabled")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/disabled.md"),m(5),d("nzId","components-tabs-demo-centered")("nzLink","components-tabs-demo-centered")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/centered.md"),m(5),d("nzId","components-tabs-demo-icon")("nzLink","components-tabs-demo-icon")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/icon.md"),m(5),d("nzId","components-tabs-demo-slide")("nzLink","components-tabs-demo-slide")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/slide.md"),m(5),d("nzId","components-tabs-demo-extra")("nzLink","components-tabs-demo-extra")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/extra.md"),m(5),d("nzId","components-tabs-demo-size")("nzLink","components-tabs-demo-size")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/size.md"),m(5),d("nzId","components-tabs-demo-position")("nzLink","components-tabs-demo-position")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/position.md"),m(8),d("nzId","components-tabs-demo-card")("nzLink","components-tabs-demo-card")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/card.md"),m(5),d("nzId","components-tabs-demo-editable-card")("nzLink","components-tabs-demo-editable-card")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/editable-card.md"),m(5),d("nzId","components-tabs-demo-card-top")("nzLink","components-tabs-demo-card-top")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/card-top.md"),m(5),d("nzId","components-tabs-demo-custom-add-trigger")("nzLink","components-tabs-demo-custom-add-trigger")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/custom-add-trigger.md"),m(5),d("nzId","components-tabs-demo-lazy")("nzLink","components-tabs-demo-lazy")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/lazy.md"),m(20),d("nzId","components-tabs-demo-link-router")("nzLink","components-tabs-demo-link-router")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/link-router.md"),m(5),d("nzId","components-tabs-demo-guard")("nzLink","components-tabs-demo-guard")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/guard.md"),m(8),d("nzId","components-tabs-demo-draggable")("nzLink","components-tabs-demo-draggable")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/draggable.md"))},dependencies:[Ee,B,ze,be,ce,ue,pe,se,L,q,W,V,Q,$,U,j,K,Y,J,X,ee,te,ne,ie,ae],encapsulation:2})};var Te=class a{expanded=!1;codeBoxes;goLink(o){window&&(window.location.hash=o)}
vendor: 13,647 bytes, lines 15-16
15expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||a)};static \u0275cmp=c({type:a,selectors:[["nz-demo-tabs"]],viewQuery:function(i,l){if(i&1&&le(B,5),i&2){let z;re(z=de())&&(l.codeBoxes=z)}},decls:872,vars:84,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-tabs-demo-basic","nzTitle","Basic"],["nzHref","#components-tabs-demo-disabled","nzTitle","Disabled"],["nzHref","#components-tabs-demo-centered","nzTitle","Centered"],["nzHref","#components-tabs-demo-icon","nzTitle","Icon"],["nzHref","#components-tabs-demo-slide","nzTitle","Slide"],["nzHref","#components-tabs-demo-extra","nzTitle","Extra content"],["nzHref","#components-tabs-demo-size","nzTitle","Size"],["nzHref","#components-tabs-demo-position","nzTitle","Position"],["nzHref","#components-tabs-demo-card","nzTitle","Card type tab"],["nzHref","#components-tabs-demo-editable-card","nzTitle","Add & close tab"],["nzHref","#components-tabs-demo-card-top","nzTitle","Container of card type Tab"],["nzHref","#components-tabs-demo-custom-add-trigger","nzTitle","Customized trigger of new tab"],["nzHref","#components-tabs-demo-lazy","nzTitle","LazyLoad"],["nzHref","#components-tabs-demo-link-router","nzTitle","With Router"],["nzHref","#components-tabs-demo-guard","nzTitle","Tab guard"],["nzHref","#components-tabs-demo-draggable","nzTitle","Draggable Tabs"],["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/tabs/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],["href","/components/radio/en/#components-radio-demo-radiobutton"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["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-tabs-basic","nzGenerateCommand","ng g ng-zorro-antd:tabs-basic <name>","nzComponentName","NzDemoTabsBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Disabled","nzSelector","nz-demo-tabs-disabled","nzGenerateCommand","ng g ng-zorro-antd:tabs-disabled <name>","nzComponentName","NzDemoTabsDisabledComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Centered","nzSelector","nz-demo-tabs-centered","nzGenerateCommand","ng g ng-zorro-antd:tabs-centered <name>","nzComponentName","NzDemoTabsCenteredComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Icon","nzSelector","nz-demo-tabs-icon","nzGenerateCommand","ng g ng-zorro-antd:tabs-icon <name>","nzComponentName","NzDemoTabsIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Slide","nzSelector","nz-demo-tabs-slide","nzGenerateCommand","ng g ng-zorro-antd:tabs-slide <name>","nzComponentName","NzDemoTabsSlideComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Extra content","nzSelector","nz-demo-tabs-extra","nzGenerateCommand","ng g ng-zorro-antd:tabs-extra <name>","nzComponentName","NzDemoTabsExtraComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Size","nzSelector","nz-demo-tabs-size","nzGenerateCommand","ng g ng-zorro-antd:tabs-size <name>","nzComponentName","NzDemoTabsSizeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Position","nzSelector","nz-demo-tabs-position","nzGenerateCommand","ng g ng-zorro-antd:tabs-position <name>","nzComponentName","NzDemoTabsPositionComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Card type tab","nzSelector","nz-demo-tabs-card","nzGenerateCommand","ng g ng-zorro-antd:tabs-card <name>","nzComponentName","NzDemoTabsCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Add & close tab","nzSelector","nz-demo-tabs-editable-card","nzGenerateCommand","ng g ng-zorro-antd:tabs-editable-card <name>","nzComponentName","NzDemoTabsEditableCardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Container of card type Tab","nzSelector","nz-demo-tabs-card-top","nzGenerateCommand","ng g ng-zorro-antd:tabs-card-top <name>","nzComponentName","NzDemoTabsCardTopComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Customized trigger of new tab","nzSelector","nz-demo-tabs-custom-add-trigger","nzGenerateCommand","ng g ng-zorro-antd:tabs-custom-add-trigger <name>","nzComponentName","NzDemoTabsCustomAddTriggerComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","LazyLoad","nzSelector","nz-demo-tabs-lazy","nzGenerateCommand","ng g ng-zorro-antd:tabs-lazy <name>","nzComponentName","NzDemoTabsLazyComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","With Router","nzSelector","nz-demo-tabs-link-router","nzGenerateCommand","ng g ng-zorro-antd:tabs-link-router <name>","nzComponentName","NzDemoTabsLinkRouterComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Tab guard","nzSelector","nz-demo-tabs-guard","nzGenerateCommand","ng g ng-zorro-antd:tabs-guard <name>","nzComponentName","NzDemoTabsGuardComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Draggable Tabs","nzSelector","nz-demo-tabs-draggable","nzGenerateCommand","ng g ng-zorro-antd:tabs-draggable <name>","nzComponentName","NzDemoTabsDraggableComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-tabset"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-tabset'",1,"anchor"],["id","nz-tabsetnztype=andquot;editable-cardandquot;"],["onclick","window.location.hash = 'nz-tabsetnztype=andquot;editable-cardandquot;'",1,"anchor"],["id","nz-tab"],["onclick","window.location.hash = 'nz-tab'",1,"anchor"],["id","nz-tabsetnztype=andquot;editable-cardandquot;_andgt;_nz-tab"],["onclick","window.location.hash = 'nz-tabsetnztype=andquot;editable-cardandquot;_andgt;_nz-tab'",1,"anchor"],["id","template_variable_references_of_lesscodegreaternz-tabnztitleless/codegreater"],["onclick","window.location.hash = 'template_variable_references_of_lesscodegreaternz-tabnztitleless/codegreater'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],[1,"api-type-label","directive"],["id","ng-templatenztablink_andgt;_anz-tab-link"],["onclick","window.location.hash = 'ng-templatenztablink_andgt;_anz-tab-link'",1,"anchor"]],template:function(i,l){i&1&&(n(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),T("nzClick",function(s){return l.goLink(s)}),r(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)(14,"nz-link",13)(15,"nz-link",14)(16,"nz-link",15)(17,"nz-link",16)(18,"nz-link",17)(19,"nz-link",18),t()(),n(20,"section",19)(21,"h1"),e(22,"Tabs"),r(23,"span",20)(24,"span",21),n(25,"a",22),r(26,"nz-icon",23),t()(),n(27,"section",19),u(),n(28,"p"),e(29,"Tabs make it easy to switch between different views."),t(),n(30,"h2",24)(31,"span"),e(32,"When To Use"),t(),n(33,"a",25),e(34,"#"),t()(),n(35,"p"),e(36,"Ant Design has 3 types of Tabs for different situations."),t(),n(37,"ul")(38,"li"),e(39,"Card Tabs: for managing too many closeable views."),t(),n(40,"li"),e(41,"Normal Tabs: for functional aspects of a page."),t(),n(42,"li")(43,"a",26),e(44,"RadioButton"),t(),e(45,": for secondary tabs."),t()(),n(46,"pre")(47,"code",27)(48,"span",28),e(49,"import"),t(),e(50," "),n(51,"span",29),e(52,"{"),t(),e(53," NzTabsModule "),n(54,"span",29),e(55,"}"),t(),e(56," "),n(57,"span",28),e(58,"from"),t(),e(59," "),n(60,"span",30),e(61,"'ng-zorro-antd/tabs'"),t(),n(62,"span",29),e(63,";"),t(),e(64,` 16`),t()(),p(),t(),n(65,"h2")(66,"span"),e(67,"Examples"),t(),n(68,"nz-icon",31),T("click",function(){return l.expandAllCode()}),t()()(),n(69,"div",32)(70,"div",33)(71,"nz-code-box",34),r(72,"nz-demo-tabs-basic",35),n(73,"div",36),u(),n(74,"p"),e(75,"Default activate first tab."),t(),p(),t()(),n(76,"nz-code-box",37),r(77,"nz-demo-tabs-disabled",35),n(78,"div",36),u(),n(79,"p"),e(80,"Disabled a tab."),t(),p(),t()(),n(81,"nz-code-box",38),r(82,"nz-demo-tabs-centered",35),n(83,"div",36),u(),n(84,"p"),e(85,"Centered tabs."),t(),p(),t()(),n(86,"nz-code-box",39),r(87,"nz-demo-tabs-icon",35),n(88,"div",36),u(),n(89,"p"),e(90,"The Tab with Icon."),t(),p(),t()(),n(91,"nz-code-box",40),r(92,"nz-demo-tabs-slide",35),n(93,"div",36),u(),n(94,"p"),e(95,"Tab can be slide to left or right(up or down), which is used for a lot of tabs."),t(),p(),t()(),n(96,"nz-code-box",41),r(97,"nz-demo-tabs-extra",35),n(98,"div",36),u(),n(99,"p"),e(100,"You can add extra actions to the right of Tabs."),t(),p(),t()(),n(101,"nz-code-box",42),r(102,"nz-demo-tabs-size",35),n(103,"div",36),u(),n(104,"p"),e(105,"Large size tabs are usually used in page header, and small size could be used in Modal."),t(),p(),t()(),n(106,"nz-code-box",43),r(107,"nz-demo-tabs-position",35),n(108,"div",36),u(),n(109,"p"),e(110,"Tab's position: left, right, top or bottom."),t(),p(),t()(),n(111,"nz-code-box",44),r(112,"nz-demo-tabs-card",35),n(113,"div",36),u(),n(114,"p"),e(115,"Another type Tabs, which doesn't support vertical mode."),t(),p(),t()(),n(116,"nz-code-box",45),r(117,"nz-demo-tabs-editable-card",35),n(118,"div",36),u(),n(119,"p"),e(120,"Only card type Tabs support adding & closable."),t(),p(),t()(),n(121,"nz-code-box",46),r(122,"nz-demo-tabs-card-top",35),n(123,"div",36),u(),n(124,"p"),e(125,"Should be used at the top of container, needs to override styles."),t(),p(),t()(),n(126,"nz-code-box",47),r(127,"nz-demo-tabs-custom-add-trigger",35),n(128,"div",36),u(),n(129,"p"),e(130,"Bind event for customized trigger."),t(),p(),t()(),n(131,"nz-code-box",48),r(132,"nz-demo-tabs-lazy",35),n(133,"div",36),u(),n(134,"p"),e(135,"By default, the contents in "),n(136,"code"),e(137,"nz-tab"),t(),e(138," are eagerly loaded. Tab contents can be lazy loaded by declaring the body in a "),n(139,"code"),e(140,"ng-template"),t(),e(141," with the "),n(142,"code"),e(143,"[nz-tab]"),t(),e(144," directive."),t(),n(145,"blockquote")(146,"p"),e(147,"Combine with "),n(148,"code"),e(149,"nzDestroyInactiveTabPane"),t(),e(150," to destroy the component when the tab is hidden."),t()(),p(),t()(),n(151,"nz-code-box",49),r(152,"nz-demo-tabs-link-router",35),n(153,"div",36),u(),n(154,"p"),e(155,"Link with router."),t(),p(),t()(),n(156,"nz-code-box",50),r(157,"nz-demo-tabs-guard",35),n(158,"div",36),u(),n(159,"p"),e(160,"Via "),n(161,"code"),e(162,"nzCanDeactivate"),t(),e(163," to determine if a tab can be deactivated."),t(),p(),t()(),n(164,"nz-code-box",51),r(165,"nz-demo-tabs-draggable",35),n(166,"div",36),u(),n(167,"p"),e(168,"Use CDK "),n(169,"code"),e(170,"DragDropModule"),t(),e(171," to make tabs draggable."),t(),p(),t()()()(),n(172,"section",52),u(),n(173,"h2",53)(174,"span"),e(175,"API"),t(),n(176,"a",54),e(177,"#"),t()(),n(178,"h3",55)(179,"span"),e(180,"nz-tabset"),t(),n(181,"label",56),e(182,"component"),t(),n(183,"a",57),e(184,"#"),t()(),n(185,"table")(186,"thead")(187,"tr")(188,"th"),e(189,"Property"),t(),n(190,"th"),e(191,"Description"),t(),n(192,"th"),e(193,"Type"),t(),n(194,"th"),e(195,"Default"),t(),n(196,"th"),e(197,"Global Config"),t()()(),n(198,"tbody")(199,"tr")(200,"td")(201,"code"),e(202,"[nzSelectedIndex]"),t()(),n(203,"td"),e(204,"Current tab's index"),t(),n(205,"td")(206,"code"),e(207,"number"),t()(),n(208,"td"),e(209,"-"),t(),r(210,"td"),t(),n(211,"tr")(212,"td")(213,"code"),e(214,"[nzAnimated]"),t()(),n(215,"td"),e(216,"Whether to change tabs with animation. Only works while "),n(217,"code"),e(218,'nzTabPosition="top" | "bottom"'),t()(),n(219,"td")(220,"code"),e(221,"boolean | {inkBar:boolean, tabPane:boolean}"),t()(),n(222,"td")(223,"code"),e(224,"true"),t(),e(225,", "),n(226,"code"),e(227,"false"),t(),e(228," when "),n(229,"code"),e(230,'type="card"'),t()(),n(231,"td"),e(232,"\u2705"),t()(),n(233,"tr")(234,"td")(235,"code"),e(236,"[nzSize]"),t()(),n(237,"td"),e(238,"preset tab bar size"),t(),n(239,"td")(240,"code"),e(241,"'large' | 'small' | 'default'"),t()(),n(242,"td")(243,"code"),e(244,"'default'"),t()(),n(245,"td"),e(246,"\u2705"),t()(),n(247,"tr")(248,"td")(249,"code"),e(250,"[nzTabBarExtraContent]"),t()(),n(251,"td"),e(252,"Extra content in tab bar"),t(),n(253,"td")(254,"code"),e(255,"TemplateRef<void>"),t()(),n(256,"td"),e(257,"-"),t(),r(258,"td"),t(),n(259,"tr")(260,"td")(261,"code"),e(262,"[nzTabBarStyle]"),t()(),n(263,"td"),e(264,"Tab bar style object"),t(),n(265,"td")(266,"code"),e(267,"object"),t()(),n(268,"td"),e(269,"-"),t(),r(270,"td"),t(),n(271,"tr")(272,"td")(273,"code"),e(274,"[nzTabPosition]"),t()(),n(275,"td"),e(276,"Position of tabs"),t(),n(277,"td")(278,"code"),e(279,"'to
16p' | 'right' | 'bottom' | 'left'"),t()(),n(280,"td")(281,"code"),e(282,"'top'"),t()(),r(283,"td"),t(),n(284,"tr")(285,"td")(286,"code"),e(287,"[nzType]"),t()(),n(288,"td"),e(289,"Basic style of tabs"),t(),n(290,"td")(291,"code"),e(292,"'line' | 'card' | 'editable-card'"),t()(),n(293,"td")(294,"code"),e(295,"'line'"),t()(),n(296,"td"),e(297,"\u2705"),t()(),n(298,"tr")(299,"td")(300,"code"),e(301,"[nzTabBarGutter]"),t()(),n(302,"td"),e(303,"The gap between tabs"),t(),n(304,"td")(305,"code"),e(306,"number"),t()(),n(307,"td"),e(308,"-"),t(),n(309,"td"),e(310,"\u2705"),t()(),n(311,"tr")(312,"td")(313,"code"),e(314,"[nzHideAll]"),t()(),n(315,"td"),e(316,"Whether hide all tabs"),t(),n(317,"td")(318,"code"),e(319,"boolean"),t()(),n(320,"td")(321,"code"),e(322,"false"),t()(),r(323,"td"),t(),n(324,"tr")(325,"td")(326,"code"),e(327,"[nzLinkRouter]"),t()(),n(328,"td"),e(329,"Link with Angular router. It supports child mode and query param mode"),t(),n(330,"td")(331,"code"),e(332,"boolean"),t()(),n(333,"td")(334,"code"),e(335,"false"),t()(),r(336,"td"),t(),n(337,"tr")(338,"td")(339,"code"),e(340,"[nzLinkExact]"),t()(),n(341,"td"),e(342,"Use exact routing matching"),t(),n(343,"td")(344,"code"),e(345,"boolean"),t()(),n(346,"td")(347,"code"),e(348,"true"),t()(),r(349,"td"),t(),n(350,"tr")(351,"td")(352,"code"),e(353,"[nzCanDeactivate]"),t()(),n(354,"td"),e(355,"Determine if a tab can be deactivated"),t(),n(356,"td")(357,"code"),e(358,"NzTabsCanDeactivateFn"),t()(),n(359,"td"),e(360,"-"),t(),r(361,"td"),t(),n(362,"tr")(363,"td")(364,"code"),e(365,"[nzCentered]"),t()(),n(366,"td"),e(367,"Centers tabs"),t(),n(368,"td")(369,"code"),e(370,"boolean"),t()(),n(371,"td")(372,"code"),e(373,"false"),t()(),r(374,"td"),t(),n(375,"tr")(376,"td")(377,"code"),e(378,"[nzDestroyInactiveTabPane]"),t()(),n(379,"td"),e(380,"Whether destroy inactive TabPane when change tab"),t(),n(381,"td")(382,"code"),e(383,"boolean"),t()(),n(384,"td")(385,"code"),e(386,"false"),t()(),r(387,"td"),t(),n(388,"tr")(389,"td")(390,"code"),e(391,"(nzSelectedIndexChange)"),t()(),n(392,"td"),e(393,"Current tab's index change callback"),t(),n(394,"td")(395,"code"),e(396,"EventEmitter<number>"),t()(),n(397,"td"),e(398,"-"),t(),r(399,"td"),t(),n(400,"tr")(401,"td")(402,"code"),e(403,"(nzSelectChange)"),t()(),n(404,"td"),e(405,"Current tab's change callback"),t(),n(406,"td")(407,"code"),e(408,"EventEmitter<{index: number,tab: NzTabComponent}>"),t()(),n(409,"td"),e(410,"-"),t(),r(411,"td"),t()()(),n(412,"h3",58)(413,"span"),e(414,'nz-tabset[nzType="editable-card"]'),t(),n(415,"label",56),e(416,"component"),t(),n(417,"a",59),e(418,"#"),t()(),n(419,"table")(420,"thead")(421,"tr")(422,"th"),e(423,"Property"),t(),n(424,"th"),e(425,"Description"),t(),n(426,"th"),e(427,"Type"),t(),n(428,"th"),e(429,"Default"),t(),n(430,"th"),e(431,"Global Config"),t()()(),n(432,"tbody")(433,"tr")(434,"td")(435,"code"),e(436,"[nzHideAdd]"),t()(),n(437,"td"),e(438,"Hide plus icon or not"),t(),n(439,"td")(440,"code"),e(441,"boolean"),t()(),n(442,"td")(443,"code"),e(444,"false"),t()(),r(445,"td"),t(),n(446,"tr")(447,"td")(448,"code"),e(449,"[nzAddIcon]"),t()(),n(450,"td"),e(451,"Add icon"),t(),n(452,"td")(453,"code"),e(454,"string | TemplateRef<void>"),t()(),n(455,"td"),e(456,"-"),t(),r(457,"td"),t(),n(458,"tr")(459,"td")(460,"code"),e(461,"(nzAdd)"),t()(),n(462,"td"),e(463,"When add button clicked emit"),t(),n(464,"td")(465,"code"),e(466,"EventEmitter<>"),t()(),n(467,"td"),e(468,"-"),t(),r(469,"td"),t(),n(470,"tr")(471,"td")(472,"code"),e(473,"(nzClose)"),t()(),n(474,"td"),e(475,"When close button clicked emit"),t(),n(476,"td")(477,"code"),e(478,"EventEmitter<{ index: number }>"),t()(),n(479,"td"),e(480,"-"),t(),r(481,"td"),t()()(),n(482,"h3",60)(483,"span"),e(484,"nz-tab"),t(),n(485,"label",56),e(486,"component"),t(),n(487,"a",61),e(488,"#"),t()(),n(489,"table")(490,"thead")(491,"tr")(492,"th"),e(493,"Property"),t(),n(494,"th"),e(495,"Description"),t(),n(496,"th"),e(497,"Type"),t(),n(498,"th"),e(499,"Default"),t()()(),n(500,"tbody")(501,"tr")(502,"td")(503,"code"),e(504,"[nzTitle]"),t()(),n(505,"td"),e(506,"Show text in tab's head"),t(),n(507,"td")(508,"code"),e(509,"string | TemplateRef<void>
16"),t()(),n(510,"td"),e(511,"-"),t()(),n(512,"tr")(513,"td")(514,"code"),e(515,"[nzForceRender]"),t()(),n(516,"td"),e(517,"Forced render of content in tabs, not lazy render after clicking on tabs"),t(),n(518,"td")(519,"code"),e(520,"boolean"),t()(),n(521,"td")(522,"code"),e(523,"false"),t()()(),n(524,"tr")(525,"td")(526,"code"),e(527,"[nzDisabled]"),t()(),n(528,"td"),e(529,"tab disable"),t(),n(530,"td")(531,"code"),e(532,"boolean"),t()(),n(533,"td"),e(534,"-"),t()(),n(535,"tr")(536,"td")(537,"code"),e(538,"(nzClick)"),t()(),n(539,"td"),e(540,"title click callback"),t(),n(541,"td")(542,"code"),e(543,"EventEmitter<void>"),t()(),n(544,"td"),e(545,"-"),t()(),n(546,"tr")(547,"td")(548,"code"),e(549,"(nzContextmenu)"),t()(),n(550,"td"),e(551,"title contextmenu callback"),t(),n(552,"td")(553,"code"),e(554,"EventEmitter<MouseEvent>"),t()(),n(555,"td"),e(556,"-"),t()(),n(557,"tr")(558,"td")(559,"code"),e(560,"(nzSelect)"),t()(),n(561,"td"),e(562,"title select callback"),t(),n(563,"td")(564,"code"),e(565,"EventEmitter<void>"),t()(),n(566,"td"),e(567,"-"),t()(),n(568,"tr")(569,"td")(570,"code"),e(571,"(nzDeselect)"),t()(),n(572,"td"),e(573,"title deselect callback"),t(),n(574,"td")(575,"code"),e(576,"EventEmitter<void>"),t()(),n(577,"td"),e(578,"-"),t()()()(),n(579,"h3",62)(580,"span"),e(581,'nz-tabset[nzType="editable-card"] > nz-tab'),t(),n(582,"label",56),e(583,"component"),t(),n(584,"a",63),e(585,"#"),t()(),n(586,"table")(587,"thead")(588,"tr")(589,"th"),e(590,"Property"),t(),n(591,"th"),e(592,"Description"),t(),n(593,"th"),e(594,"Type"),t(),n(595,"th"),e(596,"Default"),t(),n(597,"th"),e(598,"Global Config"),t()()(),n(599,"tbody")(600,"tr")(601,"td")(602,"code"),e(603,"[nzClosable]"),t()(),n(604,"td"),e(605,"Show close icon or not"),t(),n(606,"td")(607,"code"),e(608,"boolean"),t()(),n(609,"td")(610,"code"),e(611,"false"),t()(),r(612,"td"),t(),n(613,"tr")(614,"td")(615,"code"),e(616,"[nzCloseIcon]"),t()(),n(617,"td"),e(618,"Close icon"),t(),n(619,"td")(620,"code"),e(621,"string | TemplateRef<void>"),t()(),n(622,"td"),e(623,"-"),t(),r(624,"td"),t()()(),n(625,"h4",64)(626,"span"),e(627,"Template variable references of "),n(628,"code"),e(629,"nz-tab[nzTitle]"),t()(),n(630,"a",65),e(631,"#"),t()(),n(632,"table")(633,"thead")(634,"tr")(635,"th"),e(636,"Property"),t(),n(637,"th"),e(638,"Description"),t(),n(639,"th"),e(640,"Type"),t()()(),n(641,"tbody")(642,"tr")(643,"td")(644,"code"),e(645,"visible"),t()(),n(646,"td"),e(647,"Is the title in the visible area, will be rendered to the dropdown menu if "),n(648,"code"),e(649,"false"),t(),e(650,"."),t(),n(651,"td")(652,"code"),e(653,"boolean"),t()()()()(),n(654,"p"),e(655,"Use in "),n(656,"code"),e(657,"nz-tab[nzTitle]"),t()(),n(658,"pre")(659,"code",66)(660,"span",67)(661,"span",67)(662,"span",29),e(663,"<"),t(),e(664,"nz-tab"),t(),e(665," "),n(666,"span",68),e(667,"[nzTitle]"),t(),n(668,"span",69)(669,"span",70),e(670,"="),t(),n(671,"span",29),e(672,'"'),t(),e(673,"titleTemplate"),n(674,"span",29),e(675,'"'),t()(),n(676,"span",29),e(677,">"),t()(),e(678,` 17 ... 18 `),n(679,"span",67)(680,"span",67)(681,"span",29),e(682,"<"),t(),e(683,"ng-template"),t(),e(684," "),n(685,"span",68),e(686,"#titleTemplate"),t(),e(687," "),n(688,"span",68),e(689,"let-visible"),t(),n(690,"span",69)(691,"span",70),e(692,"="),t(),n(693,"span",29),e(694,'"'),t(),e(695,"visible"),n(696,"span",29),e(697,'"'),t()(),n(698,"span",29),e(699,">"),t()(),e(700,"..."),n(701,"span",67)(702,"span",67)(703,"span",29),e(704,"</"),t(),e(705,"ng-template"),t(),n(706,"span",29),e(707,">"),t()(),e(708,` 19`),n(709,"span",67)(710,"span",67)(711,"span",29),e(712,"</"),t(),e(713,"nz-tab"),t(),n(714,"span",29),e(715,">"),t()(),e(716,` 20`),t()(),n(717,"p"),e(718,"Use in "),n(719,"code"),e(720,"*nzTabLink"),t()(),n(721,"pre")(722,"code",66)(723,"span",67)(724,"span",67)(725,"span",29),e(726,"<"),t(),e(727,"nz-tab"),t(),n(728,"span",29),e(729,">"),t()(),e(730,` 21 `),n(731,"span",67)(732,"span",67)(733,"span",29),e(734,"<"),t(),e(735,"a"),t(),e(736," "),n(737,"span",68),e(738,"*nzTabLink"),t(),n(739,"span",69)(740,"span",70),e(741,"="),t(),n(742,"span",29),e(743,'"'),t(),e(744,"let visible = visible"),n(745,"span",29),e(746,'"'),t()(),e(747," "),n(748,"span",68),e(749,"nz-tab-link"),t(),e(750," "),n(751,"span",68),e(752,"[routerLink]"),t(),n(753,"span",69)(754,"span",70),e(755,"="),t(),n(756,"span",29),e(757,'"'),t(),e(758,"['.']"),n(759,"span",29),e(760,'"'),t()(),n(761,"span",29),e(762,">"),t()(),e(763,"..."),n(764,"span",67)(765,"span",67)(766,"span",29),e(767,"</"),t(),e(768,"a"),t(),n(769,"span",29),e(770,">"),t()(),e(771,` 22`),n(772,"span",67)(773,"span",67)(774,"span",29),e(775,"</"),t(),e(776,"nz-tab"),t(),n(777,"span",29),e(778,">"),t()(),e(779,` 23`),t()(),n(780,"h3",60)(781,"span"),e(782,"[nz-tab]"),t(),n(783,"label",71),e(784,"directive"),t(),n(785,"a",61),e(786,"#"),t()(),n(787,"p"),e(788,"Tab contents can be lazy loaded by declaring the body in a "),n(789,"code"),e(790,"ng-template"),t(),e(791," with the "),n(792,"code"),e(793,"[nz-tab]"),t(),e(794," attribute."),t(),n(795,"h3",72)(796,"span"),e(797,"ng-template[nzTabLink] > a[nz-tab-link]"),t(),n(798,"a",73),e(799,"#"),t()(),n(800,"p"),e(801,"Show a link in tab's head. Used in router link mode."),t(),n(802,"pre")(803,"code",66)(804,"span",67)(805,"span",67)(806,"span",29),e(807,"<"),t(),e(808,"nz-tabset"),t(),e(809," "),n(810,"span",68),e(811,"nzLinkRouter"),t(),n(812,"span",29),e(813,">"),t()(),e(814,` 24 `),n(815,"span",67)(816,"span",67)(817,"span",29),e(818,"<"),t(),e(819,"nz-tab"),t(),n(820,"span",29),e(821,">"),t()(),e(822,` 25 `),n(823,"span",67)(824,"span",67)(825,"span",29),e(826,"<"),t(),e(827,"a"),t(),e(828," "),n(829,"span",68),e(830,"*nzTabLink"),t(),e(831," "),n(832,"span",68),e(833,"nz-tab-link"),t(),e(834," "),n(835,"span",68),e(836,"[routerLink]"),t(),n(837,"span",69)(838,"span",70),e(839,"="),t(),n(840,"span",29),e(841,'"'),t(),e(842,"['.']"),n(843,"span",29),e(844,'"'),t()(),n(845,"span",29),e(846,">"),t()(),e(847,"Link"),n(848,"span",67)(849,"span",67)(850,"span",29),e(851,"</"),t(),e(852,"a"),t(),n(853,"span",29),e(854,">"),t()(),e(855,` 26 Default. 27 `),n(856,"span",67)(857,"span",67)(858,"span",29),e(859,"</"),t(),e(860,"nz-tab"),t(),n(861,"span",29),e(862,">"),t()(),e(863,` 28`),n(864,"span",67)(865,"span",67)(866,"span",29),e(867,"</"),t(),e(868,"nz-tabset"),t(),n(869,"span",29),e(870,">"),t()(),e(871,` 29`),t()(),p(),t()()),i&2&&(m(),d("nzOffsetTop",16),m(),d("nzAffix",!1),m(67),d("nzGutter",8),m(),d("nzSpan",24),m(),d("nzId","components-tabs-demo-basic")("nzLink","components-tabs-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/basic.md"),m(5),d("nzId","components-tabs-demo-disabled")("nzLink","components-tabs-demo-disabled")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/disabled.md"),m(5),d("nzId","components-tabs-demo-centered")("nzLink","components-tabs-demo-centered")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/centered.md"),m(5),d("nzId","components-tabs-demo-icon")("nzLink","components-tabs-demo-icon")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/icon.md"),m(5),d("nzId","components-tabs-demo-sli
29de")("nzLink","components-tabs-demo-slide")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/slide.md"),m(5),d("nzId","components-tabs-demo-extra")("nzLink","components-tabs-demo-extra")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/extra.md"),m(5),d("nzId","components-tabs-demo-size")("nzLink","components-tabs-demo-size")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/size.md"),m(5),d("nzId","components-tabs-demo-position")("nzLink","components-tabs-demo-position")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/position.md"),m(5),d("nzId","components-tabs-demo-card")("nzLink","components-tabs-demo-card")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/card.md"),m(5),d("nzId","components-tabs-demo-editable-card")("nzLink","components-tabs-demo-editable-card")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/editable-card.md"),m(5),d("nzId","components-tabs-demo-card-top")("nzLink","components-tabs-demo-card-top")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/card-top.md"),m(5),d("nzId","components-tabs-demo-custom-add-trigger")("nzLink","components-tabs-demo-custom-add-trigger")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/custom-add-trigger.md"),m(5),d("nzId","components-tabs-demo-lazy")("nzLink","components-tabs-demo-lazy")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/lazy.md"),m(20),d("nzId","components-tabs-demo-link-router")("nzLink","components-tabs-demo-link-router")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/link-router.md"),m(5),d("nzId","components-tabs-demo-guard")("nzLink","components-tabs-demo-guard")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/guard.md"),m(8),d("nzId","components-tabs-demo-draggable")("nzLink","components-tabs-demo-draggable")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/tabs/demo/draggable.md"))},dependencies:[Ee,B,ze,be,ce,ue,pe,se,L,q,W,V,Q,$,U,j,K,Y,J,X,ee,te,ne,ie,ae],encapsulation:2})};var vt=[{path:"en",component:Te},{path:"zh",component:Ce}],Ti=vt;export{Ti as default};
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.