(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('@angular/core'),require('@angular/material/core'),exports, require('@angular/core'), require('@angular/cdk/coercion'), require('@angular/material/core')) : typeof define === 'function' && define.amd ? define('@angular/material/divider', ['@angular/core','@angular/material/core','exports', '@angular/core', '@angular/cdk/coercion', '@angular/material/core'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ng.core,global.ng.material.core,(global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.divider = {}), global.ng.core, global.ng.cdk.coercion, global.ng.material.core)); }(this, (function (ɵngcc0,ɵngcc1,exports, core, coercion, core$1) { 'use strict'; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var MatDivider = /** @class */ (function () { function MatDivider() { this._vertical = false; this._inset = false; } Object.defineProperty(MatDivider.prototype, "vertical", { /** Whether the divider is vertically aligned. */ get: function () { return this._vertical; }, set: function (value) { this._vertical = coercion.coerceBooleanProperty(value); }, enumerable: false, configurable: true }); Object.defineProperty(MatDivider.prototype, "inset", { /** Whether the divider is an inset divider. */ get: function () { return this._inset; }, set: function (value) { this._inset = coercion.coerceBooleanProperty(value); }, enumerable: false, configurable: true }); MatDivider.ɵfac = function MatDivider_Factory(t) { return new (t || MatDivider)(); }; MatDivider.ɵ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) { ɵngcc0.ɵɵattribute("aria-orientation", ctx.vertical ? "vertical" : "horizontal"); ɵngcc0.ɵɵclassProp("mat-divider-vertical", ctx.vertical)("mat-divider-horizontal", !ctx.vertical)("mat-divider-inset", ctx.inset); } }, 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 }); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MatDivider, [{ type: core.Component, args: [{ selector: 'mat-divider', host: { 'role': 'separator', '[attr.aria-orientation]': 'vertical ? "vertical" : "horizontal"', '[class.mat-divider-vertical]': 'vertical', '[class.mat-divider-horizontal]': '!vertical', '[class.mat-divider-inset]': 'inset', 'class': 'mat-divider' }, template: '', encapsulation: core.ViewEncapsulation.None, changeDetection: core.ChangeDetectionStrategy.OnPush, 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"] }] }], function () { return []; }, { vertical: [{ type: core.Input }], inset: [{ type: core.Input }] }); })(); return MatDivider; }()); MatDivider.propDecorators = { vertical: [{ type: core.Input }], inset: [{ type: core.Input }] }; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var MatDividerModule = /** @class */ (function () { function MatDividerModule() { } MatDividerModule.ɵfac = function MatDividerModule_Factory(t) { return new (t || MatDividerModule)(); }; MatDividerModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: MatDividerModule }); MatDividerModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [[core$1.MatCommonModule], ɵngcc1.MatCommonModule] }); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MatDividerModule, [{ type: core.NgModule, args: [{ imports: [core$1.MatCommonModule], exports: [MatDivider, core$1.MatCommonModule], declarations: [MatDivider] }] }], function () { return []; }, null); })(); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(MatDividerModule, { declarations: [MatDivider], imports: [ɵngcc1.MatCommonModule], exports: [MatDivider, ɵngcc1.MatCommonModule] }); })(); return MatDividerModule; }()); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Generated bundle index. Do not edit. */ exports.MatDivider = MatDivider; exports.MatDividerModule = MatDividerModule; Object.defineProperty(exports, '__esModule', { value: true }); }))); //# sourceMappingURL=material-divider.umd.js.map