source: trip-planner-front/node_modules/@angular/material/__ivy_ngcc__/fesm2015/divider.js

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

initial commit

  • Property mode set to 100644
File size: 4.7 KB
Line 
1import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
2import { coerceBooleanProperty } from '@angular/cdk/coercion';
3import { MatCommonModule } from '@angular/material/core';
4
5/**
6 * @license
7 * Copyright Google LLC All Rights Reserved.
8 *
9 * Use of this source code is governed by an MIT-style license that can be
10 * found in the LICENSE file at https://angular.io/license
11 */
12import * as ɵngcc0 from '@angular/core';
13class MatDivider {
14 constructor() {
15 this._vertical = false;
16 this._inset = false;
17 }
18 /** Whether the divider is vertically aligned. */
19 get vertical() { return this._vertical; }
20 set vertical(value) { this._vertical = coerceBooleanProperty(value); }
21 /** Whether the divider is an inset divider. */
22 get inset() { return this._inset; }
23 set inset(value) { this._inset = coerceBooleanProperty(value); }
24}
25MatDivider.ɵfac = function MatDivider_Factory(t) { return new (t || MatDivider)(); };
26MatDivider.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: MatDivider, selectors: [["mat-divider"]], hostAttrs: ["role", "separator", 1, "mat-divider"], hostVars: 7, hostBindings: function MatDivider_HostBindings(rf, ctx) { if (rf & 2) {
27 ɵngcc0.ɵɵattribute("aria-orientation", ctx.vertical ? "vertical" : "horizontal");
28 ɵngcc0.ɵɵclassProp("mat-divider-vertical", ctx.vertical)("mat-divider-horizontal", !ctx.vertical)("mat-divider-inset", ctx.inset);
29 } }, inputs: { vertical: "vertical", inset: "inset" }, decls: 0, vars: 0, template: function MatDivider_Template(rf, ctx) { }, styles: [".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"], encapsulation: 2, changeDetection: 0 });
30MatDivider.propDecorators = {
31 vertical: [{ type: Input }],
32 inset: [{ type: Input }]
33};
34(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MatDivider, [{
35 type: Component,
36 args: [{
37 selector: 'mat-divider',
38 host: {
39 'role': 'separator',
40 '[attr.aria-orientation]': 'vertical ? "vertical" : "horizontal"',
41 '[class.mat-divider-vertical]': 'vertical',
42 '[class.mat-divider-horizontal]': '!vertical',
43 '[class.mat-divider-inset]': 'inset',
44 'class': 'mat-divider'
45 },
46 template: '',
47 encapsulation: ViewEncapsulation.None,
48 changeDetection: ChangeDetectionStrategy.OnPush,
49 styles: [".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"]
50 }]
51 }], function () { return []; }, { vertical: [{
52 type: Input
53 }], inset: [{
54 type: Input
55 }] }); })();
56
57/**
58 * @license
59 * Copyright Google LLC All Rights Reserved.
60 *
61 * Use of this source code is governed by an MIT-style license that can be
62 * found in the LICENSE file at https://angular.io/license
63 */
64class MatDividerModule {
65}
66MatDividerModule.ɵfac = function MatDividerModule_Factory(t) { return new (t || MatDividerModule)(); };
67MatDividerModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: MatDividerModule });
68MatDividerModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [[MatCommonModule], MatCommonModule] });
69(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MatDividerModule, [{
70 type: NgModule,
71 args: [{
72 imports: [MatCommonModule],
73 exports: [MatDivider, MatCommonModule],
74 declarations: [MatDivider]
75 }]
76 }], null, null); })();
77(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(MatDividerModule, { declarations: function () { return [MatDivider]; }, imports: function () { return [MatCommonModule]; }, exports: function () { return [MatDivider, MatCommonModule]; } }); })();
78
79/**
80 * @license
81 * Copyright Google LLC All Rights Reserved.
82 *
83 * Use of this source code is governed by an MIT-style license that can be
84 * found in the LICENSE file at https://angular.io/license
85 */
86
87/**
88 * Generated bundle index. Do not edit.
89 */
90
91export { MatDivider, MatDividerModule };
92
93//# sourceMappingURL=divider.js.map
Note: See TracBrowser for help on using the repository browser.