source: trip-planner-front/node_modules/@angular/material/esm2015/sidenav/sidenav.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 17.2 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ContentChildren, forwardRef, Inject, Input, ViewEncapsulation, QueryList, ElementRef, NgZone, } from '@angular/core';
9import { MatDrawer, MatDrawerContainer, MatDrawerContent, MAT_DRAWER_CONTAINER } from './drawer';
10import { matDrawerAnimations } from './drawer-animations';
11import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
12import { ScrollDispatcher } from '@angular/cdk/scrolling';
13export class MatSidenavContent extends MatDrawerContent {
14 constructor(changeDetectorRef, container, elementRef, scrollDispatcher, ngZone) {
15 super(changeDetectorRef, container, elementRef, scrollDispatcher, ngZone);
16 }
17}
18MatSidenavContent.decorators = [
19 { type: Component, args: [{
20 selector: 'mat-sidenav-content',
21 template: '<ng-content></ng-content>',
22 host: {
23 'class': 'mat-drawer-content mat-sidenav-content',
24 '[style.margin-left.px]': '_container._contentMargins.left',
25 '[style.margin-right.px]': '_container._contentMargins.right',
26 },
27 changeDetection: ChangeDetectionStrategy.OnPush,
28 encapsulation: ViewEncapsulation.None
29 },] }
30];
31MatSidenavContent.ctorParameters = () => [
32 { type: ChangeDetectorRef },
33 { type: MatSidenavContainer, decorators: [{ type: Inject, args: [forwardRef(() => MatSidenavContainer),] }] },
34 { type: ElementRef },
35 { type: ScrollDispatcher },
36 { type: NgZone }
37];
38export class MatSidenav extends MatDrawer {
39 constructor() {
40 super(...arguments);
41 this._fixedInViewport = false;
42 this._fixedTopGap = 0;
43 this._fixedBottomGap = 0;
44 }
45 /** Whether the sidenav is fixed in the viewport. */
46 get fixedInViewport() { return this._fixedInViewport; }
47 set fixedInViewport(value) { this._fixedInViewport = coerceBooleanProperty(value); }
48 /**
49 * The gap between the top of the sidenav and the top of the viewport when the sidenav is in fixed
50 * mode.
51 */
52 get fixedTopGap() { return this._fixedTopGap; }
53 set fixedTopGap(value) { this._fixedTopGap = coerceNumberProperty(value); }
54 /**
55 * The gap between the bottom of the sidenav and the bottom of the viewport when the sidenav is in
56 * fixed mode.
57 */
58 get fixedBottomGap() { return this._fixedBottomGap; }
59 set fixedBottomGap(value) { this._fixedBottomGap = coerceNumberProperty(value); }
60}
61MatSidenav.decorators = [
62 { type: Component, args: [{
63 selector: 'mat-sidenav',
64 exportAs: 'matSidenav',
65 template: "<div class=\"mat-drawer-inner-container\" cdkScrollable>\r\n <ng-content></ng-content>\r\n</div>\r\n",
66 animations: [matDrawerAnimations.transformDrawer],
67 host: {
68 'class': 'mat-drawer mat-sidenav',
69 'tabIndex': '-1',
70 // must prevent the browser from aligning text based on value
71 '[attr.align]': 'null',
72 '[class.mat-drawer-end]': 'position === "end"',
73 '[class.mat-drawer-over]': 'mode === "over"',
74 '[class.mat-drawer-push]': 'mode === "push"',
75 '[class.mat-drawer-side]': 'mode === "side"',
76 '[class.mat-drawer-opened]': 'opened',
77 '[class.mat-sidenav-fixed]': 'fixedInViewport',
78 '[style.top.px]': 'fixedInViewport ? fixedTopGap : null',
79 '[style.bottom.px]': 'fixedInViewport ? fixedBottomGap : null',
80 },
81 changeDetection: ChangeDetectionStrategy.OnPush,
82 encapsulation: ViewEncapsulation.None
83 },] }
84];
85MatSidenav.propDecorators = {
86 fixedInViewport: [{ type: Input }],
87 fixedTopGap: [{ type: Input }],
88 fixedBottomGap: [{ type: Input }]
89};
90export class MatSidenavContainer extends MatDrawerContainer {
91}
92MatSidenavContainer.decorators = [
93 { type: Component, args: [{
94 selector: 'mat-sidenav-container',
95 exportAs: 'matSidenavContainer',
96 template: "<div class=\"mat-drawer-backdrop\" (click)=\"_onBackdropClicked()\" *ngIf=\"hasBackdrop\"\n [class.mat-drawer-shown]=\"_isShowingBackdrop()\"></div>\n\n<ng-content select=\"mat-sidenav\"></ng-content>\n\n<ng-content select=\"mat-sidenav-content\">\n</ng-content>\n<mat-sidenav-content *ngIf=\"!_content\" cdkScrollable>\n <ng-content></ng-content>\n</mat-sidenav-content>\n",
97 host: {
98 'class': 'mat-drawer-container mat-sidenav-container',
99 '[class.mat-drawer-container-explicit-backdrop]': '_backdropOverride',
100 },
101 changeDetection: ChangeDetectionStrategy.OnPush,
102 encapsulation: ViewEncapsulation.None,
103 providers: [{
104 provide: MAT_DRAWER_CONTAINER,
105 useExisting: MatSidenavContainer
106 }],
107 styles: [".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"]
108 },] }
109];
110MatSidenavContainer.propDecorators = {
111 _allDrawers: [{ type: ContentChildren, args: [MatSidenav, {
112 // We need to use `descendants: true`, because Ivy will no longer match
113 // indirect descendants if it's left as false.
114 descendants: true
115 },] }],
116 _content: [{ type: ContentChild, args: [MatSidenavContent,] }]
117};
118//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZW5hdi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tYXRlcmlhbC9zaWRlbmF2L3NpZGVuYXYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULFlBQVksRUFDWixlQUFlLEVBQ2YsVUFBVSxFQUNWLE1BQU0sRUFDTixLQUFLLEVBQ0wsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxTQUFTLEVBQUUsa0JBQWtCLEVBQUUsZ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