UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

1 lines • 20.9 kB
{"version":3,"file":"ng-zorro-antd-layout.mjs","sources":["../../components/layout/content.component.ts","../../components/layout/footer.component.ts","../../components/layout/header.component.ts","../../components/layout/sider-trigger.component.ts","../../components/layout/sider.component.ts","../../components/layout/layout.component.ts","../../components/layout/layout.module.ts","../../components/layout/public-api.ts","../../components/layout/ng-zorro-antd-layout.ts"],"sourcesContent":["/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { ChangeDetectionStrategy, Component, ElementRef, Renderer2, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'nz-content',\n exportAs: 'nzContent',\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: ` <ng-content></ng-content> `\n})\nexport class NzContentComponent {\n constructor(private elementRef: ElementRef, private renderer: Renderer2) {\n this.renderer.addClass(this.elementRef.nativeElement, 'ant-layout-content');\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { ChangeDetectionStrategy, Component, ElementRef, Renderer2, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'nz-footer',\n exportAs: 'nzFooter',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: ` <ng-content></ng-content> `\n})\nexport class NzFooterComponent {\n constructor(public elementRef: ElementRef, private renderer: Renderer2) {\n this.renderer.addClass(this.elementRef.nativeElement, 'ant-layout-footer');\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { ChangeDetectionStrategy, Component, ElementRef, Renderer2, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'nz-header',\n exportAs: 'nzHeader',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n template: ` <ng-content></ng-content> `\n})\nexport class NzHeaderComponent {\n constructor(public elementRef: ElementRef, private renderer: Renderer2) {\n this.renderer.addClass(this.elementRef.nativeElement, 'ant-layout-header');\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport {\n ChangeDetectionStrategy,\n Component,\n Input,\n OnChanges,\n OnInit,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { NzBreakpointKey } from 'ng-zorro-antd/core/services';\n\n@Component({\n selector: '[nz-sider-trigger]',\n exportAs: 'nzSiderTrigger',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <ng-container *ngIf=\"isZeroTrigger\">\n <ng-template [ngTemplateOutlet]=\"nzZeroTrigger || defaultZeroTrigger\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"isNormalTrigger\">\n <ng-template [ngTemplateOutlet]=\"nzTrigger || defaultTrigger\"></ng-template>\n </ng-container>\n <ng-template #defaultTrigger>\n <i nz-icon [nzType]=\"nzCollapsed ? 'right' : 'left'\" *ngIf=\"!nzReverseArrow\"></i>\n <i nz-icon [nzType]=\"nzCollapsed ? 'left' : 'right'\" *ngIf=\"nzReverseArrow\"></i>\n </ng-template>\n <ng-template #defaultZeroTrigger>\n <i nz-icon nzType=\"bars\"></i>\n </ng-template>\n `,\n host: {\n '[class.ant-layout-sider-trigger]': 'isNormalTrigger',\n '[style.width]': 'isNormalTrigger ? siderWidth : null',\n '[class.ant-layout-sider-zero-width-trigger]': 'isZeroTrigger',\n '[class.ant-layout-sider-zero-width-trigger-right]': 'isZeroTrigger && nzReverseArrow',\n '[class.ant-layout-sider-zero-width-trigger-left]': 'isZeroTrigger && !nzReverseArrow'\n }\n})\nexport class NzSiderTriggerComponent implements OnChanges, OnInit {\n @Input() nzCollapsed = false;\n @Input() nzReverseArrow = false;\n @Input() nzZeroTrigger: TemplateRef<void> | null = null;\n @Input() nzTrigger: TemplateRef<void> | undefined | null = undefined;\n @Input() matchBreakPoint = false;\n @Input() nzCollapsedWidth: number | null = null;\n @Input() siderWidth: string | null = null;\n @Input() nzBreakpoint: NzBreakpointKey | null = null;\n isZeroTrigger = false;\n isNormalTrigger = false;\n updateTriggerType(): void {\n this.isZeroTrigger =\n this.nzCollapsedWidth === 0 && ((this.nzBreakpoint && this.matchBreakPoint) || !this.nzBreakpoint);\n this.isNormalTrigger = this.nzCollapsedWidth !== 0;\n }\n ngOnInit(): void {\n this.updateTriggerType();\n }\n ngOnChanges(): void {\n this.updateTriggerType();\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Platform } from '@angular/cdk/platform';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Output,\n SimpleChanges,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { NzBreakpointKey, NzBreakpointService, siderResponsiveMap } from 'ng-zorro-antd/core/services';\nimport { BooleanInput } from 'ng-zorro-antd/core/types';\nimport { inNextTick, InputBoolean, toCssPixel } from 'ng-zorro-antd/core/util';\nimport { NzMenuDirective } from 'ng-zorro-antd/menu';\n\n@Component({\n selector: 'nz-sider',\n exportAs: 'nzSider',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"ant-layout-sider-children\">\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"nzCollapsible && nzTrigger !== null\"\n nz-sider-trigger\n [matchBreakPoint]=\"matchBreakPoint\"\n [nzCollapsedWidth]=\"nzCollapsedWidth\"\n [nzCollapsed]=\"nzCollapsed\"\n [nzBreakpoint]=\"nzBreakpoint\"\n [nzReverseArrow]=\"nzReverseArrow\"\n [nzTrigger]=\"nzTrigger\"\n [nzZeroTrigger]=\"nzZeroTrigger\"\n [siderWidth]=\"widthSetting\"\n (click)=\"setCollapsed(!nzCollapsed)\"\n ></div>\n `,\n host: {\n class: 'ant-layout-sider',\n '[class.ant-layout-sider-zero-width]': `nzCollapsed && nzCollapsedWidth === 0`,\n '[class.ant-layout-sider-light]': `nzTheme === 'light'`,\n '[class.ant-layout-sider-dark]': `nzTheme === 'dark'`,\n '[class.ant-layout-sider-collapsed]': `nzCollapsed`,\n '[class.ant-layout-sider-has-trigger]': `nzCollapsible && nzTrigger !== null`,\n '[style.flex]': 'flexSetting',\n '[style.maxWidth]': 'widthSetting',\n '[style.minWidth]': 'widthSetting',\n '[style.width]': 'widthSetting'\n }\n})\nexport class NzSiderComponent implements OnInit, OnDestroy, OnChanges, AfterContentInit {\n static ngAcceptInputType_nzReverseArrow: BooleanInput;\n static ngAcceptInputType_nzCollapsible: BooleanInput;\n static ngAcceptInputType_nzCollapsed: BooleanInput;\n\n private destroy$ = new Subject();\n @ContentChild(NzMenuDirective) nzMenuDirective: NzMenuDirective | null = null;\n @Output() readonly nzCollapsedChange = new EventEmitter();\n @Input() nzWidth: string | number = 200;\n @Input() nzTheme: 'light' | 'dark' = 'dark';\n @Input() nzCollapsedWidth = 80;\n @Input() nzBreakpoint: NzBreakpointKey | null = null;\n @Input() nzZeroTrigger: TemplateRef<void> | null = null;\n @Input() nzTrigger: TemplateRef<void> | undefined | null = undefined;\n @Input() @InputBoolean() nzReverseArrow = false;\n @Input() @InputBoolean() nzCollapsible = false;\n @Input() @InputBoolean() nzCollapsed = false;\n matchBreakPoint = false;\n flexSetting: string | null = null;\n widthSetting: string | null = null;\n\n updateStyleMap(): void {\n this.widthSetting = this.nzCollapsed ? `${this.nzCollapsedWidth}px` : toCssPixel(this.nzWidth);\n this.flexSetting = `0 0 ${this.widthSetting}`;\n this.cdr.markForCheck();\n }\n\n updateMenuInlineCollapsed(): void {\n if (this.nzMenuDirective && this.nzMenuDirective.nzMode === 'inline' && this.nzCollapsedWidth !== 0) {\n this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed);\n }\n }\n\n setCollapsed(collapsed: boolean): void {\n if (collapsed !== this.nzCollapsed) {\n this.nzCollapsed = collapsed;\n this.nzCollapsedChange.emit(collapsed);\n this.updateMenuInlineCollapsed();\n this.updateStyleMap();\n this.cdr.markForCheck();\n }\n }\n\n constructor(\n private platform: Platform,\n private cdr: ChangeDetectorRef,\n private breakpointService: NzBreakpointService\n ) {}\n\n ngOnInit(): void {\n this.updateStyleMap();\n\n if (this.platform.isBrowser) {\n this.breakpointService\n .subscribe(siderResponsiveMap, true)\n .pipe(takeUntil(this.destroy$))\n .subscribe(map => {\n const breakpoint = this.nzBreakpoint;\n if (breakpoint) {\n inNextTick().subscribe(() => {\n this.matchBreakPoint = !map[breakpoint];\n this.setCollapsed(this.matchBreakPoint);\n this.cdr.markForCheck();\n });\n }\n });\n }\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { nzCollapsed, nzCollapsedWidth, nzWidth } = changes;\n if (nzCollapsed || nzCollapsedWidth || nzWidth) {\n this.updateStyleMap();\n }\n if (nzCollapsed) {\n this.updateMenuInlineCollapsed();\n }\n }\n\n ngAfterContentInit(): void {\n this.updateMenuInlineCollapsed();\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Direction, Directionality } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n OnDestroy,\n OnInit,\n Optional,\n QueryList,\n ViewEncapsulation\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { NzSiderComponent } from './sider.component';\n\n@Component({\n selector: 'nz-layout',\n exportAs: 'nzLayout',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n preserveWhitespaces: false,\n template: ` <ng-content></ng-content> `,\n host: {\n class: 'ant-layout',\n '[class.ant-layout-rtl]': `dir === 'rtl'`,\n '[class.ant-layout-has-sider]': 'listOfNzSiderComponent.length > 0'\n }\n})\nexport class NzLayoutComponent implements OnDestroy, OnInit {\n @ContentChildren(NzSiderComponent) listOfNzSiderComponent!: QueryList<NzSiderComponent>;\n\n dir: Direction = 'ltr';\n private destroy$ = new Subject<void>();\n\n constructor(@Optional() private directionality: Directionality) {}\n ngOnInit(): void {\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction: Direction) => {\n this.dir = direction;\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { BidiModule } from '@angular/cdk/bidi';\nimport { LayoutModule } from '@angular/cdk/layout';\nimport { PlatformModule } from '@angular/cdk/platform';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { NzContentComponent } from './content.component';\nimport { NzFooterComponent } from './footer.component';\nimport { NzHeaderComponent } from './header.component';\nimport { NzLayoutComponent } from './layout.component';\nimport { NzSiderTriggerComponent } from './sider-trigger.component';\nimport { NzSiderComponent } from './sider.component';\n\n@NgModule({\n declarations: [\n NzLayoutComponent,\n NzHeaderComponent,\n NzContentComponent,\n NzFooterComponent,\n NzSiderComponent,\n NzSiderTriggerComponent\n ],\n exports: [NzLayoutComponent, NzHeaderComponent, NzContentComponent, NzFooterComponent, NzSiderComponent],\n imports: [BidiModule, CommonModule, NzIconModule, LayoutModule, PlatformModule]\n})\nexport class NzLayoutModule {}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nexport * from './content.component';\nexport * from './footer.component';\nexport * from './header.component';\nexport * from './layout.component';\nexport * from './sider.component';\nexport { NzSiderTriggerComponent as ɵNzSiderTriggerComponent } from './sider-trigger.component';\nexport * from './layout.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;MAea,kBAAkB;IAC7B,YAAoB,UAAsB,EAAU,QAAmB;QAAnD,eAAU,GAAV,UAAU,CAAY;QAAU,aAAQ,GAAR,QAAQ,CAAW;QACrE,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,oBAAoB,CAAC,CAAC;KAC7E;;+GAHU,kBAAkB;mGAAlB,kBAAkB,2EAFnB,6BAA6B;2FAE5B,kBAAkB;kBAR9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,YAAY;oBACtB,QAAQ,EAAE,WAAW;oBACrB,mBAAmB,EAAE,KAAK;oBAC1B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,QAAQ,EAAE,6BAA6B;iBACxC;;;ACdD;;;;MAea,iBAAiB;IAC5B,YAAmB,UAAsB,EAAU,QAAmB;QAAnD,eAAU,GAAV,UAAU,CAAY;QAAU,aAAQ,GAAR,QAAQ,CAAW;QACpE,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC;KAC5E;;8GAHU,iBA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