PageSourceSearch

https://preview-9092-ng-zorro-antd.surge.sh/chunk-FES6UW6B.js

js preview-9092-ng-zorro-antd.surge.sh collected 2026-10-03 14:59:10 UTC 8,445 bytes, 1 lines download raw bytes

1import{e as J}from"./chunk-ZKZG3OE2.js";import{Ba as H,Ha as L,Ja as q,S as Q,Sb as U,Tb as G,ka as V,p as E}from"./chunk-26X2XAD6.js";import{Aa as I,Bc as M,Cc as x,Gc as B,Ja as b,Jb as l,Kb as Z,Ld as $,Oa as h,Pb as a,Wb as d,Xb as w,Yb as C,aa as _,bd as W,dc as m,f as v,ia as A,ic as k,id as F,jc as D,kc as T,md as y,oc as P,rc as O,sb as N,tc as s,uc as p,vc as c,wa as S,xb as f,yb as r,za as j,zc as R}from"./chunk-PXCXDVYP.js";var u=["*"],Y=["nz-sider-trigger",""];function ee(n,o){}function te(n,o){if(n&1&&a(0,ee,0,0,"ng-template",2),n&2){let e=s(),t=B(5);d("ngTemplateOutlet",e.nzZeroTrigger||t)}}function ne(n,o){}function ie(n,o){if(n&1&&a(0,ne,0,0,"ng-template",2),n&2){let e=s(),t=B(3);d("ngTemplateOutlet",e.nzTrigger||t)}}function re(n,o){if(n&1&&T(0,"nz-icon",3),n&2){let e=s(2);d("nzType",e.nzCollapsed?"left":"right")}}function oe(n,o){if(n&1&&T(0,"nz-icon",3),n&2){let e=s(2);d("nzType",e.nzCollapsed?"right":"left")}}function se(n,o){if(n&1&&a(0,re,1,1,"nz-icon",3)(1,oe,1,1,"nz-icon",3),n&2){let e=s();m(e.nzReverseArrow?0:1)}}function le(n,o){n&1&&T(0,"nz-icon",4)}function ae(n,o){if(n&1){let e=P();k(0,"div",2),O("click",function(){j(e);let i=s();return I(i.setCollapsed(!i.nzCollapsed))}),D()}if(n&2){let e=s();d("matchBreakPoint",e.matchBreakPoint)("nzCollapsedWidth",e.nzCollapsedWidth)("nzCollapsed",e.nzCollapsed)("nzBreakpoint",e.nzBreakpoint)("nzReverseArrow",e.nzReverseArrow)("nzTrigger",e.nzTrigger)("nzZeroTrigger",e.nzZeroTrigger)("siderWidth",e.widthSetting)}}var xe=(()=>{class n{elementRef;renderer;constructor(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-content")}static \u0275fac=function(t){return new(t||n)(r(h),r(f))};static \u0275cmp=l({type:n,selectors:[["nz-content"]],exportAs:["nzContent"],ngContentSelectors:u,decls:1,vars:0,template:function(t,i){t&1&&(p(),c(0))},encapsulation:2,changeDetection:0})}return n})(),Be=(()=>{class n{elementRef;renderer;constructor(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-footer")}static \u0275fac=function(t){return new(t||n)(r(h),r(f))};static \u0275cmp=l({type:n,selectors:[["nz-footer"]],exportAs:["nzFooter"],ngContentSelectors:u,decls:1,vars:0,template:function(t,i){t&1&&(p(),c(0))},encapsulation:2,changeDetection:0})}return n})(),We=(()=>{class n{elementRef;renderer;constructor(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-header")}static \u0275fac=function(t){return new(t||n)(r(h),r(f))};static \u0275cmp=l({type:n,selectors:[["nz-header"]],exportAs:["nzHeader"],ngContentSelectors:u,decls:1,vars:0,template:function(t,i){t&1&&(p(),c(0))},encapsulation:2,changeDetection:0})}return n})(),K=(()=>{class n{nzCollapsed=!1;nzReverseArrow=!1;nzZeroTrigger=null;nzTrigger=void 0;matchBreakPoint=!1;nzCollapsedWidth=null;
1siderWidth=null;nzBreakpoint=null;isZeroTrigger=!1;isNormalTrigger=!1;updateTriggerType(){this.isZeroTrigger=this.nzCollapsedWidth===0&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=this.nzCollapsedWidth!==0}ngOnInit(){this.updateTriggerType()}ngOnChanges(){this.updateTriggerType()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=l({type:n,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(t,i){t&2&&(w("width",i.isNormalTrigger?i.siderWidth:null),C("ant-layout-sider-trigger",i.isNormalTrigger)("ant-layout-sider-zero-width-trigger",i.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",i.isZeroTrigger&&i.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",i.isZeroTrigger&&!i.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[S],attrs:Y,decls:6,vars:2,consts:[["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],[3,"nzType"],["nzType","bars"]],template:function(t,i){t&1&&a(0,te,1,1,null,2)(1,ie,1,1,null,2)(2,se,2,1,"ng-template",null,0,W)(4,le,1,0,"ng-template",null,1,W),t&2&&(m(i.isZeroTrigger?0:-1),N(),m(i.isNormalTrigger?1:-1))},dependencies:[$,q,L],encapsulation:2,changeDetection:0})}return n})(),X=(()=>{class n{platform;cdr;breakpointService;destroy$=new v;nzMenuDirective=null;nzCollapsedChange=new b;nzWidth=200;nzTheme="dark";nzCollapsedWidth=80;nzBreakpoint=null;nzZeroTrigger=null;nzTrigger=void 0;nzReverseArrow=!1;nzCollapsible=!1;nzCollapsed=!1;matchBreakPoint=!1;flexSetting=null;widthSetting=null;updateStyleMap(){this.widthSetting=this.nzCollapsed?`${this.nzCollapsedWidth}px`:Q(this.nzWidth),this.flexSetting=`0 0 ${this.widthSetting}`,this.cdr.markForCheck()}updateMenuInlineCollapsed(){this.nzMenuDirective&&this.nzMenuDirective.nzMode==="inline"&&this.nzCollapsedWidth!==0&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)}setCollapsed(e){e!==this.nzCollapsed&&(this.nzCollapsed=e,this.nzCollapsedChange.emit(e),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())}constructor(e,t,i){this.platform=e,this.cdr=t,this.breakpointService=i}ngOnInit(){this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe(U,!0).pipe(_(this.destroy$)).subscribe(e=>{let t=this.nzBreakpoint;t&&V().subscribe(()=>{this.matchBreakPoint=!e[t],this.setCollapsed(this.matchBreakPoint),this.cdr.markForCheck()})})}ngOnChanges(e){let{nzCollapsed:t,nzCollapsedWidth:i,nzWidth:g}=e;(t||i||g)&&this.updateStyleMap(),t&&this.updateMenuInlineCollapsed()}ngAfterContentInit(){this.updateMenuInlineCollapsed()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(t){return new(t||n)(r(H),r(F),r(G))};static \u0275cmp=l({type:n,selectors:[["nz-sider"]],contentQueries:function(t,i,g){if(t&1&&R(g,J,5),t&2){let z;M(z=x())&&(i.nzMenuDirective=z.first)}},hostAttrs:[1,"ant-layout-sider"],hostVars:18,hostBindings:function(t,i){t&2&&(w("flex",i.flexSetting)("max-width",i.widthSetting)("min-width",i.widthSetting)("width",i.widthSetting),C("ant-layout-sider-zero-width",i.nzCollapsed&&i.nzCollapsedWidth===0)("ant-layout-sider-light",i.nzTheme==="light")("ant-layout-sider-dark",i.nzTheme==="dark")("ant-layout-sider-collapsed",i.nzCollapsed)("ant-layout-sider-has-trigger",i.nzCollapsible&&i.nzTrigger!==null))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:[2,"nzReverseArrow","nzReverseArrow",y],nzCollapsible:[2,"nzCollapsible","nzCollapsible",y],nzCollapsed:[2,"nzCollapsed","nzCollapsed",y]},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[S],ngContentSelectors:u,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","
1nzTrigger","nzZeroTrigger","siderWidth"],["nz-sider-trigger","",3,"click","matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth"]],template:function(t,i){t&1&&(p(),k(0,"div",0),c(1),D(),a(2,ae,1,8,"div",1)),t&2&&(N(2),m(i.nzCollapsible&&i.nzTrigger!==null?2:-1))},dependencies:[K],encapsulation:2,changeDetection:0})}return n})(),Ae=(()=>{class n{directionality;listOfNzSiderComponent;dir="ltr";destroy$=new v;constructor(e){this.directionality=e}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(_(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static \u0275fac=function(t){return new(t||n)(r(E))};static \u0275cmp=l({type:n,selectors:[["nz-layout"]],contentQueries:function(t,i,g){if(t&1&&R(g,X,4),t&2){let z;M(z=x())&&(i.listOfNzSiderComponent=z)}},hostAttrs:[1,"ant-layout"],hostVars:4,hostBindings:function(t,i){t&2&&C("ant-layout-rtl",i.dir==="rtl")("ant-layout-has-sider",i.listOfNzSiderComponent.length>0)},exportAs:["nzLayout"],ngContentSelectors:u,decls:1,vars:0,template:function(t,i){t&1&&(p(),c(0))},encapsulation:2,changeDetection:0})}return n})(),je=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=Z({type:n});static \u0275inj=A({imports:[X,K]})}return n})();export{xe as a,Be as b,We as c,X as d,Ae as e,je as f};

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.