Socket
Socket
Sign inDemoInstall

@angular/cdk-experimental

Package Overview
Dependencies
Maintainers
1
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/cdk-experimental - npm Package Compare versions

Comparing version 6.0.2 to 6.1.0

195

bundles/cdk-experimental-dialog.umd.js

@@ -9,6 +9,6 @@ /**

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/animations'), require('@angular/cdk/portal'), require('@angular/cdk/a11y'), require('rxjs'), require('@angular/cdk/keycodes'), require('rxjs/operators'), require('@angular/cdk/overlay'), require('@angular/cdk/bidi')) :
typeof define === 'function' && define.amd ? define('@angular/cdk-experimental/dialog', ['exports', '@angular/core', '@angular/common', '@angular/animations', '@angular/cdk/portal', '@angular/cdk/a11y', 'rxjs', '@angular/cdk/keycodes', 'rxjs/operators', '@angular/cdk/overlay', '@angular/cdk/bidi'], factory) :
(factory((global.ng = global.ng || {}, global.ng['cdk-experimental'] = global.ng['cdk-experimental'] || {}, global.ng['cdk-experimental'].dialog = {}),global.ng.core,global.ng.common,global.ng.animations,global.ng.cdk.portal,global.ng.cdk.a11y,global.Rx,global.ng.cdk.keycodes,global.Rx.operators,global.ng.cdk.overlay,global.ng.cdk.bidi));
}(this, (function (exports,core,common,animations,portal,a11y,rxjs,keycodes,operators,overlay,bidi) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/cdk/a11y'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/core'), require('rxjs'), require('@angular/cdk/keycodes'), require('rxjs/operators'), require('@angular/cdk/overlay'), require('@angular/cdk/bidi')) :
typeof define === 'function' && define.amd ? define('@angular/cdk-experimental/dialog', ['exports', '@angular/animations', '@angular/cdk/a11y', '@angular/cdk/portal', '@angular/common', '@angular/core', 'rxjs', '@angular/cdk/keycodes', 'rxjs/operators', '@angular/cdk/overlay', '@angular/cdk/bidi'], factory) :
(factory((global.ng = global.ng || {}, global.ng['cdk-experimental'] = global.ng['cdk-experimental'] || {}, global.ng['cdk-experimental'].dialog = {}),global.ng.animations,global.ng.cdk.a11y,global.ng.cdk.portal,global.ng.common,global.ng.core,global.Rx,global.ng.cdk.keycodes,global.Rx.operators,global.ng.cdk.overlay,global.ng.cdk.bidi));
}(this, (function (exports,animations,a11y,portal,common,core,rxjs,keycodes,operators,overlay,bidi) { 'use strict';

@@ -54,2 +54,82 @@ /*! *****************************************************************************

/**
* @template D
*/
var /**
* @template D
*/
DialogConfig = /** @class */ (function () {
function DialogConfig() {
/**
* The ARIA role of the dialog.
*/
this.role = 'dialog';
/**
* Custom class(es) for the overlay panel.
*/
this.panelClass = '';
/**
* Custom class(es) for the dialog container.
*/
this.containerClass = '';
/**
* Whether the dialog has a background.
*/
this.hasBackdrop = true;
/**
* Custom class(es) for the backdrop.
*/
this.backdropClass = '';
/**
* Whether the dialog can be closed by user interaction.
*/
this.disableClose = false;
/**
* The width of the dialog.
*/
this.width = '';
/**
* The height of the dialog.
*/
this.height = '';
/**
* The minimum width of the dialog.
*/
this.minWidth = '';
/**
* The minimum height of the dialog.
*/
this.minHeight = '';
/**
* The maximum width of the dialog.
*/
this.maxWidth = '80vw';
/**
* The maximum height of the dialog.
*/
this.maxHeight = '';
/**
* Data to be injected into the dialog content.
*/
this.data = null;
/**
* ID of the element that describes the dialog.
*/
this.ariaDescribedBy = null;
/**
* Aria label to assign to the dialog element
*/
this.ariaLabel = null;
/**
* Whether the dialog should focus the first focusable element on open.
*/
this.autoFocus = true;
}
return DialogConfig;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @return {?}

@@ -66,3 +146,3 @@ */

__extends(CdkDialogContainer, _super);
function CdkDialogContainer(_elementRef, _focusTrapFactory, _changeDetectorRef, _document) {
function CdkDialogContainer(_elementRef, _focusTrapFactory, _changeDetectorRef, _document, _config) {
var _this = _super.call(this) || this;

@@ -73,2 +153,3 @@ _this._elementRef = _elementRef;

_this._document = _document;
_this._config = _config;
/**

@@ -116,3 +197,3 @@ * State of the dialog animation.

*/
function () { return this._config ? this._config.ariaDescribedBy : null; },
function () { return this._config.ariaDescribedBy; },
enumerable: true,

@@ -125,3 +206,3 @@ configurable: true

*/
function () { return this._config ? this._config.role : null; },
function () { return this._config.role; },
enumerable: true,

@@ -337,2 +418,3 @@ configurable: true

{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [common.DOCUMENT,] },] },
{ type: DialogConfig, },
]; };

@@ -354,82 +436,2 @@ CdkDialogContainer.propDecorators = {

/**
* @template D
*/
var /**
* @template D
*/
DialogConfig = /** @class */ (function () {
function DialogConfig() {
/**
* The ARIA role of the dialog.
*/
this.role = 'dialog';
/**
* Custom class(es) for the overlay panel.
*/
this.panelClass = '';
/**
* Custom class(es) for the dialog container.
*/
this.containerClass = '';
/**
* Whether the dialog has a background.
*/
this.hasBackdrop = true;
/**
* Custom class(es) for the backdrop.
*/
this.backdropClass = '';
/**
* Whether the dialog can be closed by user interaction.
*/
this.disableClose = false;
/**
* The width of the dialog.
*/
this.width = '';
/**
* The height of the dialog.
*/
this.height = '';
/**
* The minimum width of the dialog.
*/
this.minWidth = '';
/**
* The minimum height of the dialog.
*/
this.minHeight = '';
/**
* The maximum width of the dialog.
*/
this.maxWidth = '80vw';
/**
* The maximum height of the dialog.
*/
this.maxHeight = '';
/**
* Data to be injected into the dialog content.
*/
this.data = null;
/**
* ID of the element that describes the dialog.
*/
this.ariaDescribedBy = null;
/**
* Aria label to assign to the dialog element
*/
this.ariaLabel = null;
/**
* Whether the dialog should focus the first focusable element on open.
*/
this.autoFocus = true;
}
return DialogConfig;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* Unique id for the created dialog.

@@ -902,3 +904,7 @@ */

var /** @type {?} */ container = config.containerComponent || this.injector.get(DIALOG_CONTAINER);
var /** @type {?} */ containerPortal = new portal.ComponentPortal(container, config.viewContainerRef);
var /** @type {?} */ userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
var /** @type {?} */ injector = new portal.PortalInjector(userInjector || this.injector, new WeakMap([
[DialogConfig, config]
]));
var /** @type {?} */ containerPortal = new portal.ComponentPortal(container, config.viewContainerRef, injector);
var /** @type {?} */ containerRef = overlay$$1.attach(containerPortal);

@@ -1006,8 +1012,9 @@ containerRef.instance._config = config;

var /** @type {?} */ userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
var /** @type {?} */ injectionTokens = new WeakMap();
injectionTokens
.set(this.injector.get(DIALOG_REF), dialogRef)
.set(this.injector.get(DIALOG_CONTAINER), dialogContainer)
.set(DIALOG_DATA, config.data);
if (!userInjector || !userInjector.get(bidi.Directionality, null)) {
var /** @type {?} */ injectionTokens = new WeakMap([
[this.injector.get(DIALOG_REF), dialogRef],
[this.injector.get(DIALOG_CONTAINER), dialogContainer],
[DIALOG_DATA, config.data]
]);
if (config.direction &&
(!userInjector || !userInjector.get(bidi.Directionality, null))) {
injectionTokens.set(bidi.Directionality, {

@@ -1014,0 +1021,0 @@ value: config.direction,

@@ -8,3 +8,3 @@ /**

*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/animations"),require("@angular/cdk/portal"),require("@angular/cdk/a11y"),require("rxjs"),require("@angular/cdk/keycodes"),require("rxjs/operators"),require("@angular/cdk/overlay"),require("@angular/cdk/bidi")):"function"==typeof define&&define.amd?define("@angular/cdk-experimental/dialog",["exports","@angular/core","@angular/common","@angular/animations","@angular/cdk/portal","@angular/cdk/a11y","rxjs","@angular/cdk/keycodes","rxjs/operators","@angular/cdk/overlay","@angular/cdk/bidi"],e):e((t.ng=t.ng||{},t.ng["cdk-experimental"]=t.ng["cdk-experimental"]||{},t.ng["cdk-experimental"].dialog={}),t.ng.core,t.ng.common,t.ng.animations,t.ng.cdk.portal,t.ng.cdk.a11y,t.Rx,t.ng.cdk.keycodes,t.Rx.operators,t.ng.cdk.overlay,t.ng.cdk.bidi)}(this,function(t,e,o,n,r,i,a,s,l,c,p){"use strict";function u(t,e){function o(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}function d(){throw Error("Attempting to attach dialog content after content is already attached")}function f(t){return function(){return t.scrollStrategies.block()}}var h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},g=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++){e=arguments[o];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},y=function(t){function s(e,o,n,r){var i=t.call(this)||this;return i._elementRef=e,i._focusTrapFactory=o,i._changeDetectorRef=n,i._document=r,i._state="enter",i._elementFocusedBeforeDialogWasOpened=null,i._focusTrap=i._focusTrapFactory.create(i._elementRef.nativeElement,!1),i._beforeEnter=new a.Subject,i._afterEnter=new a.Subject,i._beforeExit=new a.Subject,i._afterExit=new a.Subject,i}return u(s,t),Object.defineProperty(s.prototype,"_ariaLabel",{get:function(){return this._config.ariaLabel||null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"_ariaDescribedBy",{get:function(){return this._config?this._config.ariaDescribedBy:null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"_role",{get:function(){return this._config?this._config.role:null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"_tabindex",{get:function(){return-1},enumerable:!0,configurable:!0}),s.prototype.ngOnDestroy=function(){this._focusTrap.destroy()},s.prototype.attachComponentPortal=function(t){return this._portalHost.hasAttached()&&d(),this._savePreviouslyFocusedElement(),this._portalHost.attachComponentPortal(t)},s.prototype.attachTemplatePortal=function(t){return this._portalHost.hasAttached()&&d(),this._savePreviouslyFocusedElement(),this._portalHost.attachTemplatePortal(t)},s.prototype._onAnimationStart=function(t){"enter"===t.toState&&this._beforeEnter.next(),"void"!==t.toState&&"exit"!==t.toState||this._beforeExit.next()},s.prototype._onAnimationDone=function(t){"enter"===t.toState&&(this._autoFocusFirstTabbableElement(),this._afterEnter.next()),"void"!==t.toState&&"exit"!==t.toState||(this._returnFocusAfterDialog(),this._afterExit.next())},s.prototype._startExiting=function(){this._state="exit",this._changeDetectorRef.markForCheck()},s.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()}))},s.prototype._autoFocusFirstTabbableElement=function(){var t=this;this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||t._elementRef.nativeElement.focus()})},s.prototype._returnFocusAfterDialog=function(){var t=this._elementFocusedBeforeDialogWasOpened;t&&"function"==typeof t.focus&&t.focus()},s.decorators=[{type:e.Component,args:[{selector:"cdk-dialog-container",template:"<ng-template cdkPortalOutlet></ng-template>",styles:["cdk-dialog-container { background: white; border-radius: 5px; display: block; padding: 10px; } "],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.Default,animations:[n.trigger("dialog",[n.state("enter",n.style({opacity:1})),n.state("exit, void",n.style({opacity:0})),n.transition("* => *",n.animate(225))])],host:{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)"}}]}],s.ctorParameters=function(){return[{type:e.ElementRef},{type:i.FocusTrapFactory},{type:e.ChangeDetectorRef},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[o.DOCUMENT]}]}]},s.propDecorators={_ariaLabel:[{type:e.HostBinding,args:["attr.aria-label"]}],_ariaDescribedBy:[{type:e.HostBinding,args:["attr.aria-describedby"]}],_role:[{type:e.HostBinding,args:["attr.role"]}],_tabindex:[{type:e.HostBinding,args:["attr.tabindex"]}],_portalHost:[{type:e.ViewChild,args:[r.PortalHostDirective]}]},s}(r.BasePortalOutlet),_=function(){function t(){this.role="dialog",this.panelClass="",this.containerClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.minWidth="",this.minHeight="",this.maxWidth="80vw",this.maxHeight="",this.data=null,this.ariaDescribedBy=null,this.ariaLabel=null,this.autoFocus=!0}return t}(),b=0,m=function(){function t(t,e,o){void 0===o&&(o="dialog-"+b++);var n=this;this._overlayRef=t,this._containerInstance=e,this.id=o,e._config.hasBackdrop&&t.backdropClick().subscribe(function(){n.disableClose||n.close()}),this.beforeClose().subscribe(function(){n._overlayRef.detachBackdrop()}),this.afterClosed().subscribe(function(){n._overlayRef.detach(),n._overlayRef.dispose(),n.componentInstance=null}),t.keydownEvents().pipe(l.filter(function(t){return t.keyCode===s.ESCAPE&&!n.disableClose})).subscribe(function(){return n.close()})}return t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.close=function(t){this._result=t,this._containerInstance._startExiting()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updateSize=function(t){return t.width&&this._getPositionStrategy().width(t.width.toString()),t.height&&this._getPositionStrategy().height(t.height.toString()),this._overlayRef.updateSize(t),this._overlayRef.updatePosition(),this},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t.prototype.beforeOpen=function(){return this._containerInstance._beforeEnter.asObservable()},t.prototype.afterOpen=function(){return this._containerInstance._afterEnter.asObservable()},t.prototype.beforeClose=function(){var t=this;return this._containerInstance._beforeExit.pipe(l.map(function(){return t._result}))},t.prototype.afterClosed=function(){var t=this;return this._containerInstance._afterExit.pipe(l.map(function(){return t._result}))},t}(),v=new e.InjectionToken("DialogScrollStrategy"),D=new e.InjectionToken("DialogData"),C=new e.InjectionToken("DialogRef"),O=new e.InjectionToken("DialogConfig"),k=new e.InjectionToken("DialogContainer"),w={provide:v,deps:[c.Overlay],useFactory:f},x=function(){function t(t,e,o,n,r,i){var s=this;this.overlay=t,this.injector=e,this.dialogRefConstructor=o,this._scrollStrategy=n,this._parentDialog=r,this._afterAllClosedBase=new a.Subject,this.afterAllClosed=a.defer(function(){return s.openDialogs.length?s._afterAllClosed:s._afterAllClosed.pipe(l.startWith(void 0))}),this._afterOpen=new a.Subject,this._openDialogs=[],!r&&i&&i.subscribe(function(){return s.closeAll()})}return Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){return this._parentDialog?this._parentDialog.afterAllClosed:this._afterAllClosedBase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this._parentDialog?this._parentDialog.afterOpen:this._afterOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogs},enumerable:!0,configurable:!0}),t.prototype.getById=function(t){return this._openDialogs.find(function(e){return e.id===t})},t.prototype.closeAll=function(){this.openDialogs.forEach(function(t){return t.close()})},t.prototype.openFromComponent=function(t,e){if(e=this._applyConfigDefaults(e),e.id&&this.getById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var o=this._createOverlay(e),n=this._attachDialogContainer(o,e),r=this._attachDialogContentForComponent(t,n,o,e);return this.registerDialogRef(r),r},t.prototype.openFromTemplate=function(t,e){if(e=this._applyConfigDefaults(e),e.id&&this.getById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var o=this._createOverlay(e),n=this._attachDialogContainer(o,e),r=this._attachDialogContentForTemplate(t,n,o,e);return this.registerDialogRef(r),r},t.prototype.registerDialogRef=function(t){var e=this;this.openDialogs.push(t);var o=t.afterOpen().subscribe(function(){e.afterOpen.next(t),o.unsubscribe()}),n=t.afterClosed().subscribe(function(){var o=e._openDialogs.indexOf(t);-1!==o&&e._openDialogs.splice(o,1),e._openDialogs.length||(e._afterAllClosedBase.next(),n.unsubscribe())})},t.prototype._createOverlay=function(t){var e=new c.OverlayConfig({positionStrategy:this.overlay.position().global(),scrollStrategy:this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight});return t.backdropClass&&(e.backdropClass=t.backdropClass),this.overlay.create(e)},t.prototype._attachDialogContainer=function(t,e){var o=e.containerComponent||this.injector.get(k),n=new r.ComponentPortal(o,e.viewContainerRef),i=t.attach(n);return i.instance._config=e,i.instance},t.prototype._attachDialogContentForComponent=function(t,e,o,n){var i=new this.dialogRefConstructor(o,e,n.id),a=this._createInjector(n,i,e),s=e.attachComponentPortal(new r.ComponentPortal(t,void 0,a));return i.componentInstance=s.instance,i.updateSize({width:n.width,height:n.height}).updatePosition(n.position),i},t.prototype._attachDialogContentForTemplate=function(t,e,o,n){var i=new this.dialogRefConstructor(o,e,n.id);return e.attachTemplatePortal(new r.TemplatePortal(t,null,{$implicit:n.data,dialogRef:i})),i.updateSize({width:n.width,height:n.height}).updatePosition(n.position),i},t.prototype._createInjector=function(t,e,o){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=new WeakMap;return i.set(this.injector.get(C),e).set(this.injector.get(k),o).set(D,t.data),n&&n.get(p.Directionality,null)||i.set(p.Directionality,{value:t.direction,change:a.of()}),new r.PortalInjector(n||this.injector,i)},t.prototype._applyConfigDefaults=function(t){var e=this.injector.get(O);return g({},new e,t)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:c.Overlay},{type:e.Injector},{type:void 0,decorators:[{type:e.Inject,args:[C]}]},{type:void 0,decorators:[{type:e.Inject,args:[v]}]},{type:t,decorators:[{type:e.Optional},{type:e.SkipSelf}]},{type:o.Location,decorators:[{type:e.Optional}]}]},t}(),R=m,E=y,j=_,P=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule,c.OverlayModule,r.PortalModule,i.A11yModule],exports:[y],declarations:[y],providers:[x,w,{provide:C,useValue:R},{provide:k,useValue:E},{provide:O,useValue:j}],entryComponents:[y]}]}],t}();t.throwDialogContentAlreadyAttachedError=d,t.CdkDialogContainer=y,t.DialogConfig=_,t.DialogRef=m,t.Dialog=x,t.DialogModule=P,t.DIALOG_SCROLL_STRATEGY=v,t.DIALOG_DATA=D,t.DIALOG_REF=C,t.DIALOG_CONFIG=O,t.DIALOG_CONTAINER=k,t.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY=f,t.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER=w,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/animations"),require("@angular/cdk/a11y"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("rxjs"),require("@angular/cdk/keycodes"),require("rxjs/operators"),require("@angular/cdk/overlay"),require("@angular/cdk/bidi")):"function"==typeof define&&define.amd?define("@angular/cdk-experimental/dialog",["exports","@angular/animations","@angular/cdk/a11y","@angular/cdk/portal","@angular/common","@angular/core","rxjs","@angular/cdk/keycodes","rxjs/operators","@angular/cdk/overlay","@angular/cdk/bidi"],e):e((t.ng=t.ng||{},t.ng["cdk-experimental"]=t.ng["cdk-experimental"]||{},t.ng["cdk-experimental"].dialog={}),t.ng.animations,t.ng.cdk.a11y,t.ng.cdk.portal,t.ng.common,t.ng.core,t.Rx,t.ng.cdk.keycodes,t.Rx.operators,t.ng.cdk.overlay,t.ng.cdk.bidi)}(this,function(t,e,o,n,r,i,a,s,l,c,p){"use strict";function u(t,e){function o(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}function d(){throw Error("Attempting to attach dialog content after content is already attached")}function f(t){return function(){return t.scrollStrategies.block()}}var h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},g=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++){e=arguments[o];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},y=function(){function t(){this.role="dialog",this.panelClass="",this.containerClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.minWidth="",this.minHeight="",this.maxWidth="80vw",this.maxHeight="",this.data=null,this.ariaDescribedBy=null,this.ariaLabel=null,this.autoFocus=!0}return t}(),_=function(t){function s(e,o,n,r,i){var s=t.call(this)||this;return s._elementRef=e,s._focusTrapFactory=o,s._changeDetectorRef=n,s._document=r,s._config=i,s._state="enter",s._elementFocusedBeforeDialogWasOpened=null,s._focusTrap=s._focusTrapFactory.create(s._elementRef.nativeElement,!1),s._beforeEnter=new a.Subject,s._afterEnter=new a.Subject,s._beforeExit=new a.Subject,s._afterExit=new a.Subject,s}return u(s,t),Object.defineProperty(s.prototype,"_ariaLabel",{get:function(){return this._config.ariaLabel||null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"_ariaDescribedBy",{get:function(){return this._config.ariaDescribedBy},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"_role",{get:function(){return this._config.role},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"_tabindex",{get:function(){return-1},enumerable:!0,configurable:!0}),s.prototype.ngOnDestroy=function(){this._focusTrap.destroy()},s.prototype.attachComponentPortal=function(t){return this._portalHost.hasAttached()&&d(),this._savePreviouslyFocusedElement(),this._portalHost.attachComponentPortal(t)},s.prototype.attachTemplatePortal=function(t){return this._portalHost.hasAttached()&&d(),this._savePreviouslyFocusedElement(),this._portalHost.attachTemplatePortal(t)},s.prototype._onAnimationStart=function(t){"enter"===t.toState&&this._beforeEnter.next(),"void"!==t.toState&&"exit"!==t.toState||this._beforeExit.next()},s.prototype._onAnimationDone=function(t){"enter"===t.toState&&(this._autoFocusFirstTabbableElement(),this._afterEnter.next()),"void"!==t.toState&&"exit"!==t.toState||(this._returnFocusAfterDialog(),this._afterExit.next())},s.prototype._startExiting=function(){this._state="exit",this._changeDetectorRef.markForCheck()},s.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()}))},s.prototype._autoFocusFirstTabbableElement=function(){var t=this;this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||t._elementRef.nativeElement.focus()})},s.prototype._returnFocusAfterDialog=function(){var t=this._elementFocusedBeforeDialogWasOpened;t&&"function"==typeof t.focus&&t.focus()},s.decorators=[{type:i.Component,args:[{selector:"cdk-dialog-container",template:"<ng-template cdkPortalOutlet></ng-template>",styles:["cdk-dialog-container { background: white; border-radius: 5px; display: block; padding: 10px; } "],encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.Default,animations:[e.trigger("dialog",[e.state("enter",e.style({opacity:1})),e.state("exit, void",e.style({opacity:0})),e.transition("* => *",e.animate(225))])],host:{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)"}}]}],s.ctorParameters=function(){return[{type:i.ElementRef},{type:o.FocusTrapFactory},{type:i.ChangeDetectorRef},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[r.DOCUMENT]}]},{type:y}]},s.propDecorators={_ariaLabel:[{type:i.HostBinding,args:["attr.aria-label"]}],_ariaDescribedBy:[{type:i.HostBinding,args:["attr.aria-describedby"]}],_role:[{type:i.HostBinding,args:["attr.role"]}],_tabindex:[{type:i.HostBinding,args:["attr.tabindex"]}],_portalHost:[{type:i.ViewChild,args:[n.PortalHostDirective]}]},s}(n.BasePortalOutlet),b=0,m=function(){function t(t,e,o){void 0===o&&(o="dialog-"+b++);var n=this;this._overlayRef=t,this._containerInstance=e,this.id=o,e._config.hasBackdrop&&t.backdropClick().subscribe(function(){n.disableClose||n.close()}),this.beforeClose().subscribe(function(){n._overlayRef.detachBackdrop()}),this.afterClosed().subscribe(function(){n._overlayRef.detach(),n._overlayRef.dispose(),n.componentInstance=null}),t.keydownEvents().pipe(l.filter(function(t){return t.keyCode===s.ESCAPE&&!n.disableClose})).subscribe(function(){return n.close()})}return t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.close=function(t){this._result=t,this._containerInstance._startExiting()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updateSize=function(t){return t.width&&this._getPositionStrategy().width(t.width.toString()),t.height&&this._getPositionStrategy().height(t.height.toString()),this._overlayRef.updateSize(t),this._overlayRef.updatePosition(),this},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t.prototype.beforeOpen=function(){return this._containerInstance._beforeEnter.asObservable()},t.prototype.afterOpen=function(){return this._containerInstance._afterEnter.asObservable()},t.prototype.beforeClose=function(){var t=this;return this._containerInstance._beforeExit.pipe(l.map(function(){return t._result}))},t.prototype.afterClosed=function(){var t=this;return this._containerInstance._afterExit.pipe(l.map(function(){return t._result}))},t}(),v=new i.InjectionToken("DialogScrollStrategy"),C=new i.InjectionToken("DialogData"),D=new i.InjectionToken("DialogRef"),k=new i.InjectionToken("DialogConfig"),O=new i.InjectionToken("DialogContainer"),w={provide:v,deps:[c.Overlay],useFactory:f},R=function(){function t(t,e,o,n,r,i){var s=this;this.overlay=t,this.injector=e,this.dialogRefConstructor=o,this._scrollStrategy=n,this._parentDialog=r,this._afterAllClosedBase=new a.Subject,this.afterAllClosed=a.defer(function(){return s.openDialogs.length?s._afterAllClosed:s._afterAllClosed.pipe(l.startWith(void 0))}),this._afterOpen=new a.Subject,this._openDialogs=[],!r&&i&&i.subscribe(function(){return s.closeAll()})}return Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){return this._parentDialog?this._parentDialog.afterAllClosed:this._afterAllClosedBase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this._parentDialog?this._parentDialog.afterOpen:this._afterOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogs},enumerable:!0,configurable:!0}),t.prototype.getById=function(t){return this._openDialogs.find(function(e){return e.id===t})},t.prototype.closeAll=function(){this.openDialogs.forEach(function(t){return t.close()})},t.prototype.openFromComponent=function(t,e){if(e=this._applyConfigDefaults(e),e.id&&this.getById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var o=this._createOverlay(e),n=this._attachDialogContainer(o,e),r=this._attachDialogContentForComponent(t,n,o,e);return this.registerDialogRef(r),r},t.prototype.openFromTemplate=function(t,e){if(e=this._applyConfigDefaults(e),e.id&&this.getById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var o=this._createOverlay(e),n=this._attachDialogContainer(o,e),r=this._attachDialogContentForTemplate(t,n,o,e);return this.registerDialogRef(r),r},t.prototype.registerDialogRef=function(t){var e=this;this.openDialogs.push(t);var o=t.afterOpen().subscribe(function(){e.afterOpen.next(t),o.unsubscribe()}),n=t.afterClosed().subscribe(function(){var o=e._openDialogs.indexOf(t);-1!==o&&e._openDialogs.splice(o,1),e._openDialogs.length||(e._afterAllClosedBase.next(),n.unsubscribe())})},t.prototype._createOverlay=function(t){var e=new c.OverlayConfig({positionStrategy:this.overlay.position().global(),scrollStrategy:this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight});return t.backdropClass&&(e.backdropClass=t.backdropClass),this.overlay.create(e)},t.prototype._attachDialogContainer=function(t,e){var o=e.containerComponent||this.injector.get(O),r=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=new n.PortalInjector(r||this.injector,new WeakMap([[y,e]])),a=new n.ComponentPortal(o,e.viewContainerRef,i),s=t.attach(a);return s.instance._config=e,s.instance},t.prototype._attachDialogContentForComponent=function(t,e,o,r){var i=new this.dialogRefConstructor(o,e,r.id),a=this._createInjector(r,i,e),s=e.attachComponentPortal(new n.ComponentPortal(t,void 0,a));return i.componentInstance=s.instance,i.updateSize({width:r.width,height:r.height}).updatePosition(r.position),i},t.prototype._attachDialogContentForTemplate=function(t,e,o,r){var i=new this.dialogRefConstructor(o,e,r.id);return e.attachTemplatePortal(new n.TemplatePortal(t,null,{$implicit:r.data,dialogRef:i})),i.updateSize({width:r.width,height:r.height}).updatePosition(r.position),i},t.prototype._createInjector=function(t,e,o){var r=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=new WeakMap([[this.injector.get(D),e],[this.injector.get(O),o],[C,t.data]]);return!t.direction||r&&r.get(p.Directionality,null)||i.set(p.Directionality,{value:t.direction,change:a.of()}),new n.PortalInjector(r||this.injector,i)},t.prototype._applyConfigDefaults=function(t){var e=this.injector.get(k);return g({},new e,t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:c.Overlay},{type:i.Injector},{type:void 0,decorators:[{type:i.Inject,args:[D]}]},{type:void 0,decorators:[{type:i.Inject,args:[v]}]},{type:t,decorators:[{type:i.Optional},{type:i.SkipSelf}]},{type:r.Location,decorators:[{type:i.Optional}]}]},t}(),j=m,x=_,E=y,P=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,c.OverlayModule,n.PortalModule,o.A11yModule],exports:[_],declarations:[_],providers:[R,w,{provide:D,useValue:j},{provide:O,useValue:x},{provide:k,useValue:E}],entryComponents:[_]}]}],t}();t.throwDialogContentAlreadyAttachedError=d,t.CdkDialogContainer=_,t.DialogConfig=y,t.DialogRef=m,t.Dialog=R,t.DialogModule=P,t.DIALOG_SCROLL_STRATEGY=v,t.DIALOG_DATA=C,t.DIALOG_REF=D,t.DIALOG_CONFIG=k,t.DIALOG_CONTAINER=O,t.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY=f,t.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER=w,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=cdk-experimental-dialog.umd.min.js.map

@@ -21,3 +21,3 @@ /**

*/
var /** @type {?} */ VERSION = new core.Version('6.0.2');
var /** @type {?} */ VERSION = new core.Version('6.1.0');

@@ -24,0 +24,0 @@ exports.VERSION = VERSION;

@@ -8,3 +8,3 @@ /**

*/
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/cdk-experimental",["exports","@angular/core"],n):n((e.ng=e.ng||{},e.ng["cdk-experimental"]={}),e.ng.core)}(this,function(e,n){"use strict";var r=new n.Version("6.0.2");e.VERSION=r,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/cdk-experimental",["exports","@angular/core"],n):n((e.ng=e.ng||{},e.ng["cdk-experimental"]={}),e.ng.core)}(this,function(e,n){"use strict";var r=new n.Version("6.1.0");e.VERSION=r,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=cdk-experimental.umd.min.js.map

@@ -8,8 +8,8 @@ /**

*/
import { ElementRef, ComponentRef, EmbeddedViewRef, ChangeDetectorRef } from '@angular/core';
import { AnimationEvent } from '@angular/animations';
import { BasePortalOutlet, PortalHostDirective, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
import { FocusTrapFactory } from '@angular/cdk/a11y';
import { BasePortalOutlet, ComponentPortal, PortalHostDirective, TemplatePortal } from '@angular/cdk/portal';
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, OnDestroy } from '@angular/core';
import { Subject } from 'rxjs';
import { DialogConfig } from './dialog-config';
import { Subject } from 'rxjs';
export declare function throwDialogContentAlreadyAttachedError(): void;

@@ -20,3 +20,3 @@ /**

*/
export declare class CdkDialogContainer extends BasePortalOutlet {
export declare class CdkDialogContainer extends BasePortalOutlet implements OnDestroy {
private _elementRef;

@@ -26,2 +26,4 @@ private _focusTrapFactory;

private _document;
/** The dialog configuration. */
_config: DialogConfig;
/** State of the dialog animation. */

@@ -35,3 +37,3 @@ _state: 'void' | 'enter' | 'exit';

readonly _ariaDescribedBy: string | null | undefined;
readonly _role: "dialog" | "alertdialog" | null | undefined;
readonly _role: "dialog" | "alertdialog" | undefined;
readonly _tabindex: number;

@@ -48,5 +50,5 @@ /** The portal host inside of this container into which the dialog content will be loaded. */

_afterExit: Subject<void>;
/** The dialog configuration. */
_config: DialogConfig;
constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any);
constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any,
/** The dialog configuration. */
_config: DialogConfig);
/** Destroy focus trap to place focus back to the element focused before the dialog opened. */

@@ -53,0 +55,0 @@ ngOnDestroy(): void;

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"throwDialogContentAlreadyAttachedError":{"__symbolic":"function"},"CdkDialogContainer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/cdk/portal","name":"BasePortalOutlet","line":65,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-dialog-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":48,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":51,"character":19},"member":"Default"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":53,"character":4},"arguments":["dialog",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":54,"character":6},"arguments":["enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":54,"character":21},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":55,"character":6},"arguments":["exit, void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":55,"character":26},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":56,"character":6},"arguments":["* => *",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":56,"character":27},"arguments":[225]}]}]]}],"host":{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)","$quoted$":["[@dialog]","(@dialog.start)","(@dialog.done)"]},"template":"<ng-template cdkPortalOutlet></ng-template>","styles":["cdk-dialog-container {\n background: white;\n border-radius: 5px;\n display: block;\n padding: 10px;\n}\n"]}]}],"members":{"_ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":79,"character":3},"arguments":["attr.aria-label"]}]}],"_ariaDescribedBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":81,"character":3},"arguments":["attr.aria-describedby"]}]}],"_role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":84,"character":3},"arguments":["attr.role"]}]}],"_tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":86,"character":3},"arguments":["attr.tabindex"]}]}],"_portalHost":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":90,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalHostDirective","line":90,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":111,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":111,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":111,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":108,"character":25},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusTrapFactory","line":109,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":110,"character":32},{"__symbolic":"reference","name":"any"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"attachComponentPortal":[{"__symbolic":"method"}],"attachTemplatePortal":[{"__symbolic":"method"}],"_onAnimationStart":[{"__symbolic":"method"}],"_onAnimationDone":[{"__symbolic":"method"}],"_startExiting":[{"__symbolic":"method"}],"_savePreviouslyFocusedElement":[{"__symbolic":"method"}],"_autoFocusFirstTabbableElement":[{"__symbolic":"method"}],"_returnFocusAfterDialog":[{"__symbolic":"method"}]}},"DialogRole":{"__symbolic":"interface"},"DialogPosition":{"__symbolic":"interface"},"DialogConfig":{"__symbolic":"class","arity":1,"members":{}},"DialogRef":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayRef","line":33,"character":24},{"__symbolic":"reference","name":"CdkDialogContainer"},{"__symbolic":"reference","name":"string"}]}],"backdropClick":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"keydownEvents":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"_getPositionStrategy":[{"__symbolic":"method"}],"beforeOpen":[{"__symbolic":"method"}],"afterOpen":[{"__symbolic":"method"}],"beforeClose":[{"__symbolic":"method"}],"afterClosed":[{"__symbolic":"method"}]}},"Dialog":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_REF"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":70,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":71,"character":7}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":71,"character":19}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":72,"character":7}}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":67,"character":23},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":68,"character":24},null,null,{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":72,"character":28}]}],"getById":[{"__symbolic":"method"}],"closeAll":[{"__symbolic":"method"}],"openFromComponent":[{"__symbolic":"method"}],"openFromTemplate":[{"__symbolic":"method"}],"registerDialogRef":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_attachDialogContainer":[{"__symbolic":"method"}],"_attachDialogContentForComponent":[{"__symbolic":"method"}],"_attachDialogContentForTemplate":[{"__symbolic":"method"}],"_createInjector":[{"__symbolic":"method"}],"_applyConfigDefaults":[{"__symbolic":"method"}]}},"DialogModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":25,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"A11yModule","line":30,"character":4}],"exports":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"declarations":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"providers":[{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER"},{"provide":{"__symbolic":"reference","name":"DIALOG_REF"},"useValue":{"__symbolic":"reference","name":"DialogRef"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONTAINER"},"useValue":{"__symbolic":"reference","name":"CdkDialogContainer"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONFIG"},"useValue":{"__symbolic":"reference","name":"DialogConfig"}}],"entryComponents":[{"__symbolic":"reference","name":"CdkDialogContainer"}]}]}],"members":{}},"DIALOG_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":8},"arguments":["DialogScrollStrategy"]},"DIALOG_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":19,"character":31},"arguments":["DialogData"]},"DIALOG_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":30},"arguments":["DialogRef"]},"DIALOG_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":25,"character":33},"arguments":["DialogConfig"]},"DIALOG_CONTAINER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":29,"character":8},"arguments":["DialogContainer"]},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["overlay"],"value":{"__symbolic":"error","message":"Lambda not supported","line":34,"character":9,"module":"./dialog-injectors"}},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":{"provide":{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"},"deps":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":40,"character":9}],"useFactory":{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY"}}},"origins":{"throwDialogContentAlreadyAttachedError":"./dialog-container","CdkDialogContainer":"./dialog-container","DialogRole":"./dialog-config","DialogPosition":"./dialog-config","DialogConfig":"./dialog-config","DialogRef":"./dialog-ref","Dialog":"./dialog","DialogModule":"./dialog-module","DIALOG_SCROLL_STRATEGY":"./dialog-injectors","DIALOG_DATA":"./dialog-injectors","DIALOG_REF":"./dialog-injectors","DIALOG_CONFIG":"./dialog-injectors","DIALOG_CONTAINER":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":"./dialog-injectors"},"importAs":"@angular/cdk-experimental/dialog"}
{"__symbolic":"module","version":4,"metadata":{"throwDialogContentAlreadyAttachedError":{"__symbolic":"function"},"CdkDialogContainer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/cdk/portal","name":"BasePortalOutlet","line":66,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":44,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-dialog-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":49,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":52,"character":19},"member":"Default"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":54,"character":4},"arguments":["dialog",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":55,"character":6},"arguments":["enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":55,"character":21},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":56,"character":6},"arguments":["exit, void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":56,"character":26},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":57,"character":6},"arguments":["* => *",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":57,"character":27},"arguments":[225]}]}]]}],"host":{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)","$quoted$":["[@dialog]","(@dialog.start)","(@dialog.done)"]},"template":"<ng-template cdkPortalOutlet></ng-template>","styles":["cdk-dialog-container {\n background: white;\n border-radius: 5px;\n display: block;\n padding: 10px;\n}\n"]}]}],"members":{"_ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":80,"character":3},"arguments":["attr.aria-label"]}]}],"_ariaDescribedBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":82,"character":3},"arguments":["attr.aria-describedby"]}]}],"_role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":85,"character":3},"arguments":["attr.role"]}]}],"_tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":87,"character":3},"arguments":["attr.tabindex"]}]}],"_portalHost":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":91,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalHostDirective","line":91,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":109,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":109,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":109,"character":24}]}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":106,"character":25},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusTrapFactory","line":107,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":108,"character":32},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"DialogConfig"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"attachComponentPortal":[{"__symbolic":"method"}],"attachTemplatePortal":[{"__symbolic":"method"}],"_onAnimationStart":[{"__symbolic":"method"}],"_onAnimationDone":[{"__symbolic":"method"}],"_startExiting":[{"__symbolic":"method"}],"_savePreviouslyFocusedElement":[{"__symbolic":"method"}],"_autoFocusFirstTabbableElement":[{"__symbolic":"method"}],"_returnFocusAfterDialog":[{"__symbolic":"method"}]}},"DialogRole":{"__symbolic":"interface"},"DialogPosition":{"__symbolic":"interface"},"DialogConfig":{"__symbolic":"class","arity":1,"members":{}},"DialogRef":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayRef","line":33,"character":24},{"__symbolic":"reference","name":"CdkDialogContainer"},{"__symbolic":"reference","name":"string"}]}],"backdropClick":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"keydownEvents":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"_getPositionStrategy":[{"__symbolic":"method"}],"beforeOpen":[{"__symbolic":"method"}],"afterOpen":[{"__symbolic":"method"}],"beforeClose":[{"__symbolic":"method"}],"afterClosed":[{"__symbolic":"method"}]}},"Dialog":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_REF"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":70,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":71,"character":7}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":71,"character":19}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":72,"character":7}}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":67,"character":23},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":68,"character":24},null,null,{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":72,"character":28}]}],"getById":[{"__symbolic":"method"}],"closeAll":[{"__symbolic":"method"}],"openFromComponent":[{"__symbolic":"method"}],"openFromTemplate":[{"__symbolic":"method"}],"registerDialogRef":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_attachDialogContainer":[{"__symbolic":"method"}],"_attachDialogContentForComponent":[{"__symbolic":"method"}],"_attachDialogContentForTemplate":[{"__symbolic":"method"}],"_createInjector":[{"__symbolic":"method"}],"_applyConfigDefaults":[{"__symbolic":"method"}]}},"DialogModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":25,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"A11yModule","line":30,"character":4}],"exports":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"declarations":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"providers":[{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER"},{"provide":{"__symbolic":"reference","name":"DIALOG_REF"},"useValue":{"__symbolic":"reference","name":"DialogRef"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONTAINER"},"useValue":{"__symbolic":"reference","name":"CdkDialogContainer"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONFIG"},"useValue":{"__symbolic":"reference","name":"DialogConfig"}}],"entryComponents":[{"__symbolic":"reference","name":"CdkDialogContainer"}]}]}],"members":{}},"DIALOG_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":8},"arguments":["DialogScrollStrategy"]},"DIALOG_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":19,"character":31},"arguments":["DialogData"]},"DIALOG_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":30},"arguments":["DialogRef"]},"DIALOG_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":25,"character":33},"arguments":["DialogConfig"]},"DIALOG_CONTAINER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":29,"character":8},"arguments":["DialogContainer"]},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["overlay"],"value":{"__symbolic":"error","message":"Lambda not supported","line":34,"character":9,"module":"./dialog-injectors"}},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":{"provide":{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"},"deps":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":40,"character":9}],"useFactory":{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY"}}},"origins":{"throwDialogContentAlreadyAttachedError":"./dialog-container","CdkDialogContainer":"./dialog-container","DialogRole":"./dialog-config","DialogPosition":"./dialog-config","DialogConfig":"./dialog-config","DialogRef":"./dialog-ref","Dialog":"./dialog","DialogModule":"./dialog-module","DIALOG_SCROLL_STRATEGY":"./dialog-injectors","DIALOG_DATA":"./dialog-injectors","DIALOG_REF":"./dialog-injectors","DIALOG_CONFIG":"./dialog-injectors","DIALOG_CONTAINER":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":"./dialog-injectors"},"importAs":"@angular/cdk-experimental/dialog"}

@@ -17,3 +17,3 @@ /**

*/
const /** @type {?} */ VERSION = new Version('6.0.2');
const /** @type {?} */ VERSION = new Version('6.1.0');

@@ -20,0 +20,0 @@ /**

@@ -8,7 +8,7 @@ /**

*/
import { ElementRef, HostBinding, ViewChild, ChangeDetectorRef, Component, Optional, Inject, ViewEncapsulation, ChangeDetectionStrategy, InjectionToken, SkipSelf, Injectable, Injector, NgModule } from '@angular/core';
import { animate, state, style, transition, trigger } from '@angular/animations';
import { FocusTrapFactory, A11yModule } from '@angular/cdk/a11y';
import { BasePortalOutlet, PortalHostDirective, ComponentPortal, PortalInjector, TemplatePortal, PortalModule } from '@angular/cdk/portal';
import { DOCUMENT, Location, CommonModule } from '@angular/common';
import { trigger, state, style, transition, animate } from '@angular/animations';
import { BasePortalOutlet, PortalHostDirective, ComponentPortal, PortalInjector, TemplatePortal, PortalModule } from '@angular/cdk/portal';
import { FocusTrapFactory, A11yModule } from '@angular/cdk/a11y';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, Inject, Optional, ViewChild, ViewEncapsulation, InjectionToken, SkipSelf, Injectable, Injector, NgModule } from '@angular/core';
import { Subject, of, defer } from 'rxjs';

@@ -25,2 +25,78 @@ import { ESCAPE } from '@angular/cdk/keycodes';

/**
* @template D
*/
class DialogConfig {
constructor() {
/**
* The ARIA role of the dialog.
*/
this.role = 'dialog';
/**
* Custom class(es) for the overlay panel.
*/
this.panelClass = '';
/**
* Custom class(es) for the dialog container.
*/
this.containerClass = '';
/**
* Whether the dialog has a background.
*/
this.hasBackdrop = true;
/**
* Custom class(es) for the backdrop.
*/
this.backdropClass = '';
/**
* Whether the dialog can be closed by user interaction.
*/
this.disableClose = false;
/**
* The width of the dialog.
*/
this.width = '';
/**
* The height of the dialog.
*/
this.height = '';
/**
* The minimum width of the dialog.
*/
this.minWidth = '';
/**
* The minimum height of the dialog.
*/
this.minHeight = '';
/**
* The maximum width of the dialog.
*/
this.maxWidth = '80vw';
/**
* The maximum height of the dialog.
*/
this.maxHeight = '';
/**
* Data to be injected into the dialog content.
*/
this.data = null;
/**
* ID of the element that describes the dialog.
*/
this.ariaDescribedBy = null;
/**
* Aria label to assign to the dialog element
*/
this.ariaLabel = null;
/**
* Whether the dialog should focus the first focusable element on open.
*/
this.autoFocus = true;
}
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @return {?}

@@ -41,4 +117,5 @@ */

* @param {?} _document
* @param {?} _config
*/
constructor(_elementRef, _focusTrapFactory, _changeDetectorRef, _document) {
constructor(_elementRef, _focusTrapFactory, _changeDetectorRef, _document, _config) {
super();

@@ -49,2 +126,3 @@ this._elementRef = _elementRef;

this._document = _document;
this._config = _config;
/**

@@ -86,7 +164,7 @@ * State of the dialog animation.

*/
get _ariaDescribedBy() { return this._config ? this._config.ariaDescribedBy : null; }
get _ariaDescribedBy() { return this._config.ariaDescribedBy; }
/**
* @return {?}
*/
get _role() { return this._config ? this._config.role : null; }
get _role() { return this._config.role; }
/**

@@ -239,2 +317,3 @@ * @return {?}

{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [DOCUMENT,] },] },
{ type: DialogConfig, },
];

@@ -254,78 +333,2 @@ CdkDialogContainer.propDecorators = {

/**
* @template D
*/
class DialogConfig {
constructor() {
/**
* The ARIA role of the dialog.
*/
this.role = 'dialog';
/**
* Custom class(es) for the overlay panel.
*/
this.panelClass = '';
/**
* Custom class(es) for the dialog container.
*/
this.containerClass = '';
/**
* Whether the dialog has a background.
*/
this.hasBackdrop = true;
/**
* Custom class(es) for the backdrop.
*/
this.backdropClass = '';
/**
* Whether the dialog can be closed by user interaction.
*/
this.disableClose = false;
/**
* The width of the dialog.
*/
this.width = '';
/**
* The height of the dialog.
*/
this.height = '';
/**
* The minimum width of the dialog.
*/
this.minWidth = '';
/**
* The minimum height of the dialog.
*/
this.minHeight = '';
/**
* The maximum width of the dialog.
*/
this.maxWidth = '80vw';
/**
* The maximum height of the dialog.
*/
this.maxHeight = '';
/**
* Data to be injected into the dialog content.
*/
this.data = null;
/**
* ID of the element that describes the dialog.
*/
this.ariaDescribedBy = null;
/**
* Aria label to assign to the dialog element
*/
this.ariaLabel = null;
/**
* Whether the dialog should focus the first focusable element on open.
*/
this.autoFocus = true;
}
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* Unique id for the created dialog.

@@ -666,4 +669,8 @@ */

const /** @type {?} */ container = config.containerComponent || this.injector.get(DIALOG_CONTAINER);
let /** @type {?} */ containerPortal = new ComponentPortal(container, config.viewContainerRef);
let /** @type {?} */ containerRef = overlay.attach(containerPortal);
const /** @type {?} */ userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
const /** @type {?} */ injector = new PortalInjector(userInjector || this.injector, new WeakMap([
[DialogConfig, config]
]));
const /** @type {?} */ containerPortal = new ComponentPortal(container, config.viewContainerRef, injector);
const /** @type {?} */ containerRef = overlay.attach(containerPortal);
containerRef.instance._config = config;

@@ -723,8 +730,9 @@ return containerRef.instance;

const /** @type {?} */ userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
const /** @type {?} */ injectionTokens = new WeakMap();
injectionTokens
.set(this.injector.get(DIALOG_REF), dialogRef)
.set(this.injector.get(DIALOG_CONTAINER), dialogContainer)
.set(DIALOG_DATA, config.data);
if (!userInjector || !userInjector.get(Directionality, null)) {
const /** @type {?} */ injectionTokens = new WeakMap([
[this.injector.get(DIALOG_REF), dialogRef],
[this.injector.get(DIALOG_CONTAINER), dialogContainer],
[DIALOG_DATA, config.data]
]);
if (config.direction &&
(!userInjector || !userInjector.get(Directionality, null))) {
injectionTokens.set(Directionality, {

@@ -731,0 +739,0 @@ value: config.direction,

@@ -17,3 +17,3 @@ /**

*/
var /** @type {?} */ VERSION = new Version('6.0.2');
var /** @type {?} */ VERSION = new Version('6.1.0');

@@ -20,0 +20,0 @@ /**

@@ -9,7 +9,7 @@ /**

import { __extends, __assign } from 'tslib';
import { ElementRef, HostBinding, ViewChild, ChangeDetectorRef, Component, Optional, Inject, ViewEncapsulation, ChangeDetectionStrategy, InjectionToken, SkipSelf, Injectable, Injector, NgModule } from '@angular/core';
import { animate, state, style, transition, trigger } from '@angular/animations';
import { FocusTrapFactory, A11yModule } from '@angular/cdk/a11y';
import { BasePortalOutlet, PortalHostDirective, ComponentPortal, PortalInjector, TemplatePortal, PortalModule } from '@angular/cdk/portal';
import { DOCUMENT, Location, CommonModule } from '@angular/common';
import { trigger, state, style, transition, animate } from '@angular/animations';
import { BasePortalOutlet, PortalHostDirective, ComponentPortal, PortalInjector, TemplatePortal, PortalModule } from '@angular/cdk/portal';
import { FocusTrapFactory, A11yModule } from '@angular/cdk/a11y';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, Inject, Optional, ViewChild, ViewEncapsulation, InjectionToken, SkipSelf, Injectable, Injector, NgModule } from '@angular/core';
import { Subject, of, defer } from 'rxjs';

@@ -26,2 +26,82 @@ import { ESCAPE } from '@angular/cdk/keycodes';

/**
* @template D
*/
var /**
* @template D
*/
DialogConfig = /** @class */ (function () {
function DialogConfig() {
/**
* The ARIA role of the dialog.
*/
this.role = 'dialog';
/**
* Custom class(es) for the overlay panel.
*/
this.panelClass = '';
/**
* Custom class(es) for the dialog container.
*/
this.containerClass = '';
/**
* Whether the dialog has a background.
*/
this.hasBackdrop = true;
/**
* Custom class(es) for the backdrop.
*/
this.backdropClass = '';
/**
* Whether the dialog can be closed by user interaction.
*/
this.disableClose = false;
/**
* The width of the dialog.
*/
this.width = '';
/**
* The height of the dialog.
*/
this.height = '';
/**
* The minimum width of the dialog.
*/
this.minWidth = '';
/**
* The minimum height of the dialog.
*/
this.minHeight = '';
/**
* The maximum width of the dialog.
*/
this.maxWidth = '80vw';
/**
* The maximum height of the dialog.
*/
this.maxHeight = '';
/**
* Data to be injected into the dialog content.
*/
this.data = null;
/**
* ID of the element that describes the dialog.
*/
this.ariaDescribedBy = null;
/**
* Aria label to assign to the dialog element
*/
this.ariaLabel = null;
/**
* Whether the dialog should focus the first focusable element on open.
*/
this.autoFocus = true;
}
return DialogConfig;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @return {?}

@@ -38,3 +118,3 @@ */

__extends(CdkDialogContainer, _super);
function CdkDialogContainer(_elementRef, _focusTrapFactory, _changeDetectorRef, _document) {
function CdkDialogContainer(_elementRef, _focusTrapFactory, _changeDetectorRef, _document, _config) {
var _this = _super.call(this) || this;

@@ -45,2 +125,3 @@ _this._elementRef = _elementRef;

_this._document = _document;
_this._config = _config;
/**

@@ -88,3 +169,3 @@ * State of the dialog animation.

*/
function () { return this._config ? this._config.ariaDescribedBy : null; },
function () { return this._config.ariaDescribedBy; },
enumerable: true,

@@ -97,3 +178,3 @@ configurable: true

*/
function () { return this._config ? this._config.role : null; },
function () { return this._config.role; },
enumerable: true,

@@ -309,2 +390,3 @@ configurable: true

{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [DOCUMENT,] },] },
{ type: DialogConfig, },
]; };

@@ -326,82 +408,2 @@ CdkDialogContainer.propDecorators = {

/**
* @template D
*/
var /**
* @template D
*/
DialogConfig = /** @class */ (function () {
function DialogConfig() {
/**
* The ARIA role of the dialog.
*/
this.role = 'dialog';
/**
* Custom class(es) for the overlay panel.
*/
this.panelClass = '';
/**
* Custom class(es) for the dialog container.
*/
this.containerClass = '';
/**
* Whether the dialog has a background.
*/
this.hasBackdrop = true;
/**
* Custom class(es) for the backdrop.
*/
this.backdropClass = '';
/**
* Whether the dialog can be closed by user interaction.
*/
this.disableClose = false;
/**
* The width of the dialog.
*/
this.width = '';
/**
* The height of the dialog.
*/
this.height = '';
/**
* The minimum width of the dialog.
*/
this.minWidth = '';
/**
* The minimum height of the dialog.
*/
this.minHeight = '';
/**
* The maximum width of the dialog.
*/
this.maxWidth = '80vw';
/**
* The maximum height of the dialog.
*/
this.maxHeight = '';
/**
* Data to be injected into the dialog content.
*/
this.data = null;
/**
* ID of the element that describes the dialog.
*/
this.ariaDescribedBy = null;
/**
* Aria label to assign to the dialog element
*/
this.ariaLabel = null;
/**
* Whether the dialog should focus the first focusable element on open.
*/
this.autoFocus = true;
}
return DialogConfig;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* Unique id for the created dialog.

@@ -874,3 +876,7 @@ */

var /** @type {?} */ container = config.containerComponent || this.injector.get(DIALOG_CONTAINER);
var /** @type {?} */ containerPortal = new ComponentPortal(container, config.viewContainerRef);
var /** @type {?} */ userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
var /** @type {?} */ injector = new PortalInjector(userInjector || this.injector, new WeakMap([
[DialogConfig, config]
]));
var /** @type {?} */ containerPortal = new ComponentPortal(container, config.viewContainerRef, injector);
var /** @type {?} */ containerRef = overlay.attach(containerPortal);

@@ -978,8 +984,9 @@ containerRef.instance._config = config;

var /** @type {?} */ userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
var /** @type {?} */ injectionTokens = new WeakMap();
injectionTokens
.set(this.injector.get(DIALOG_REF), dialogRef)
.set(this.injector.get(DIALOG_CONTAINER), dialogContainer)
.set(DIALOG_DATA, config.data);
if (!userInjector || !userInjector.get(Directionality, null)) {
var /** @type {?} */ injectionTokens = new WeakMap([
[this.injector.get(DIALOG_REF), dialogRef],
[this.injector.get(DIALOG_CONTAINER), dialogContainer],
[DIALOG_DATA, config.data]
]);
if (config.direction &&
(!userInjector || !userInjector.get(Directionality, null))) {
injectionTokens.set(Directionality, {

@@ -986,0 +993,0 @@ value: config.direction,

{
"name": "@angular/cdk-experimental",
"version": "6.0.2",
"version": "6.1.0",
"description": "Experimental components for Angular CDK",

@@ -19,3 +19,3 @@ "main": "./bundles/cdk-experimental.umd.js",

"peerDependencies": {
"@angular/material": "6.0.2",
"@angular/material": "6.1.0",
"@angular/core": ">=6.0.0-beta.0 <7.0.0"

@@ -22,0 +22,0 @@ },

@@ -8,8 +8,8 @@ /**

*/
import { ElementRef, ComponentRef, EmbeddedViewRef, ChangeDetectorRef } from '@angular/core';
import { AnimationEvent } from '@angular/animations';
import { BasePortalOutlet, PortalHostDirective, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
import { FocusTrapFactory } from '@angular/cdk/a11y';
import { BasePortalOutlet, ComponentPortal, PortalHostDirective, TemplatePortal } from '@angular/cdk/portal';
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, OnDestroy } from '@angular/core';
import { Subject } from 'rxjs';
import { DialogConfig } from './dialog-config';
import { Subject } from 'rxjs';
export declare function throwDialogContentAlreadyAttachedError(): void;

@@ -20,3 +20,3 @@ /**

*/
export declare class CdkDialogContainer extends BasePortalOutlet {
export declare class CdkDialogContainer extends BasePortalOutlet implements OnDestroy {
private _elementRef;

@@ -26,2 +26,4 @@ private _focusTrapFactory;

private _document;
/** The dialog configuration. */
_config: DialogConfig;
/** State of the dialog animation. */

@@ -35,3 +37,3 @@ _state: 'void' | 'enter' | 'exit';

readonly _ariaDescribedBy: string | null | undefined;
readonly _role: "dialog" | "alertdialog" | null | undefined;
readonly _role: "dialog" | "alertdialog" | undefined;
readonly _tabindex: number;

@@ -48,5 +50,5 @@ /** The portal host inside of this container into which the dialog content will be loaded. */

_afterExit: Subject<void>;
/** The dialog configuration. */
_config: DialogConfig;
constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any);
constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any,
/** The dialog configuration. */
_config: DialogConfig);
/** Destroy focus trap to place focus back to the element focused before the dialog opened. */

@@ -53,0 +55,0 @@ ngOnDestroy(): void;

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"throwDialogContentAlreadyAttachedError":{"__symbolic":"function"},"CdkDialogContainer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/cdk/portal","name":"BasePortalOutlet","line":65,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-dialog-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":48,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":51,"character":19},"member":"Default"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":53,"character":4},"arguments":["dialog",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":54,"character":6},"arguments":["enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":54,"character":21},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":55,"character":6},"arguments":["exit, void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":55,"character":26},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":56,"character":6},"arguments":["* => *",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":56,"character":27},"arguments":[225]}]}]]}],"host":{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)","$quoted$":["[@dialog]","(@dialog.start)","(@dialog.done)"]},"template":"<ng-template cdkPortalOutlet></ng-template>","styles":["cdk-dialog-container {\n background: white;\n border-radius: 5px;\n display: block;\n padding: 10px;\n}\n"]}]}],"members":{"_ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":79,"character":3},"arguments":["attr.aria-label"]}]}],"_ariaDescribedBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":81,"character":3},"arguments":["attr.aria-describedby"]}]}],"_role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":84,"character":3},"arguments":["attr.role"]}]}],"_tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":86,"character":3},"arguments":["attr.tabindex"]}]}],"_portalHost":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":90,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalHostDirective","line":90,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":111,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":111,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":111,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":108,"character":25},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusTrapFactory","line":109,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":110,"character":32},{"__symbolic":"reference","name":"any"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"attachComponentPortal":[{"__symbolic":"method"}],"attachTemplatePortal":[{"__symbolic":"method"}],"_onAnimationStart":[{"__symbolic":"method"}],"_onAnimationDone":[{"__symbolic":"method"}],"_startExiting":[{"__symbolic":"method"}],"_savePreviouslyFocusedElement":[{"__symbolic":"method"}],"_autoFocusFirstTabbableElement":[{"__symbolic":"method"}],"_returnFocusAfterDialog":[{"__symbolic":"method"}]}},"DialogRole":{"__symbolic":"interface"},"DialogPosition":{"__symbolic":"interface"},"DialogConfig":{"__symbolic":"class","arity":1,"members":{}},"DialogRef":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayRef","line":33,"character":24},{"__symbolic":"reference","name":"CdkDialogContainer"},{"__symbolic":"reference","name":"string"}]}],"backdropClick":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"keydownEvents":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"_getPositionStrategy":[{"__symbolic":"method"}],"beforeOpen":[{"__symbolic":"method"}],"afterOpen":[{"__symbolic":"method"}],"beforeClose":[{"__symbolic":"method"}],"afterClosed":[{"__symbolic":"method"}]}},"Dialog":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_REF"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":70,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":71,"character":7}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":71,"character":19}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":72,"character":7}}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":67,"character":23},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":68,"character":24},null,null,{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":72,"character":28}]}],"getById":[{"__symbolic":"method"}],"closeAll":[{"__symbolic":"method"}],"openFromComponent":[{"__symbolic":"method"}],"openFromTemplate":[{"__symbolic":"method"}],"registerDialogRef":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_attachDialogContainer":[{"__symbolic":"method"}],"_attachDialogContentForComponent":[{"__symbolic":"method"}],"_attachDialogContentForTemplate":[{"__symbolic":"method"}],"_createInjector":[{"__symbolic":"method"}],"_applyConfigDefaults":[{"__symbolic":"method"}]}},"DialogModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":25,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"A11yModule","line":30,"character":4}],"exports":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"declarations":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"providers":[{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER"},{"provide":{"__symbolic":"reference","name":"DIALOG_REF"},"useValue":{"__symbolic":"reference","name":"DialogRef"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONTAINER"},"useValue":{"__symbolic":"reference","name":"CdkDialogContainer"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONFIG"},"useValue":{"__symbolic":"reference","name":"DialogConfig"}}],"entryComponents":[{"__symbolic":"reference","name":"CdkDialogContainer"}]}]}],"members":{}},"DIALOG_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":8},"arguments":["DialogScrollStrategy"]},"DIALOG_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":19,"character":31},"arguments":["DialogData"]},"DIALOG_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":30},"arguments":["DialogRef"]},"DIALOG_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":25,"character":33},"arguments":["DialogConfig"]},"DIALOG_CONTAINER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":29,"character":8},"arguments":["DialogContainer"]},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["overlay"],"value":{"__symbolic":"error","message":"Lambda not supported","line":34,"character":9,"module":"./dialog-injectors"}},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":{"provide":{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"},"deps":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":40,"character":9}],"useFactory":{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY"}}},"origins":{"throwDialogContentAlreadyAttachedError":"./dialog-container","CdkDialogContainer":"./dialog-container","DialogRole":"./dialog-config","DialogPosition":"./dialog-config","DialogConfig":"./dialog-config","DialogRef":"./dialog-ref","Dialog":"./dialog","DialogModule":"./dialog-module","DIALOG_SCROLL_STRATEGY":"./dialog-injectors","DIALOG_DATA":"./dialog-injectors","DIALOG_REF":"./dialog-injectors","DIALOG_CONFIG":"./dialog-injectors","DIALOG_CONTAINER":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":"./dialog-injectors"},"importAs":"@angular/cdk-experimental/dialog"}
{"__symbolic":"module","version":4,"metadata":{"throwDialogContentAlreadyAttachedError":{"__symbolic":"function"},"CdkDialogContainer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/cdk/portal","name":"BasePortalOutlet","line":66,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":44,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-dialog-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":49,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":52,"character":19},"member":"Default"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":54,"character":4},"arguments":["dialog",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":55,"character":6},"arguments":["enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":55,"character":21},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":56,"character":6},"arguments":["exit, void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":56,"character":26},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":57,"character":6},"arguments":["* => *",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":57,"character":27},"arguments":[225]}]}]]}],"host":{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)","$quoted$":["[@dialog]","(@dialog.start)","(@dialog.done)"]},"template":"<ng-template cdkPortalOutlet></ng-template>","styles":["cdk-dialog-container {\n background: white;\n border-radius: 5px;\n display: block;\n padding: 10px;\n}\n"]}]}],"members":{"_ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":80,"character":3},"arguments":["attr.aria-label"]}]}],"_ariaDescribedBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":82,"character":3},"arguments":["attr.aria-describedby"]}]}],"_role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":85,"character":3},"arguments":["attr.role"]}]}],"_tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":87,"character":3},"arguments":["attr.tabindex"]}]}],"_portalHost":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":91,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalHostDirective","line":91,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":109,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":109,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":109,"character":24}]}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":106,"character":25},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusTrapFactory","line":107,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":108,"character":32},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"DialogConfig"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"attachComponentPortal":[{"__symbolic":"method"}],"attachTemplatePortal":[{"__symbolic":"method"}],"_onAnimationStart":[{"__symbolic":"method"}],"_onAnimationDone":[{"__symbolic":"method"}],"_startExiting":[{"__symbolic":"method"}],"_savePreviouslyFocusedElement":[{"__symbolic":"method"}],"_autoFocusFirstTabbableElement":[{"__symbolic":"method"}],"_returnFocusAfterDialog":[{"__symbolic":"method"}]}},"DialogRole":{"__symbolic":"interface"},"DialogPosition":{"__symbolic":"interface"},"DialogConfig":{"__symbolic":"class","arity":1,"members":{}},"DialogRef":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayRef","line":33,"character":24},{"__symbolic":"reference","name":"CdkDialogContainer"},{"__symbolic":"reference","name":"string"}]}],"backdropClick":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"keydownEvents":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"_getPositionStrategy":[{"__symbolic":"method"}],"beforeOpen":[{"__symbolic":"method"}],"afterOpen":[{"__symbolic":"method"}],"beforeClose":[{"__symbolic":"method"}],"afterClosed":[{"__symbolic":"method"}]}},"Dialog":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_REF"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":70,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":71,"character":7}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":71,"character":19}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":72,"character":7}}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":67,"character":23},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":68,"character":24},null,null,{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":72,"character":28}]}],"getById":[{"__symbolic":"method"}],"closeAll":[{"__symbolic":"method"}],"openFromComponent":[{"__symbolic":"method"}],"openFromTemplate":[{"__symbolic":"method"}],"registerDialogRef":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_attachDialogContainer":[{"__symbolic":"method"}],"_attachDialogContentForComponent":[{"__symbolic":"method"}],"_attachDialogContentForTemplate":[{"__symbolic":"method"}],"_createInjector":[{"__symbolic":"method"}],"_applyConfigDefaults":[{"__symbolic":"method"}]}},"DialogModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":25,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"A11yModule","line":30,"character":4}],"exports":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"declarations":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"providers":[{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER"},{"provide":{"__symbolic":"reference","name":"DIALOG_REF"},"useValue":{"__symbolic":"reference","name":"DialogRef"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONTAINER"},"useValue":{"__symbolic":"reference","name":"CdkDialogContainer"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONFIG"},"useValue":{"__symbolic":"reference","name":"DialogConfig"}}],"entryComponents":[{"__symbolic":"reference","name":"CdkDialogContainer"}]}]}],"members":{}},"DIALOG_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":8},"arguments":["DialogScrollStrategy"]},"DIALOG_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":19,"character":31},"arguments":["DialogData"]},"DIALOG_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":30},"arguments":["DialogRef"]},"DIALOG_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":25,"character":33},"arguments":["DialogConfig"]},"DIALOG_CONTAINER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":29,"character":8},"arguments":["DialogContainer"]},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["overlay"],"value":{"__symbolic":"error","message":"Lambda not supported","line":34,"character":9,"module":"./dialog-injectors"}},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":{"provide":{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"},"deps":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":40,"character":9}],"useFactory":{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY"}}},"origins":{"throwDialogContentAlreadyAttachedError":"./dialog-container","CdkDialogContainer":"./dialog-container","DialogRole":"./dialog-config","DialogPosition":"./dialog-config","DialogConfig":"./dialog-config","DialogRef":"./dialog-ref","Dialog":"./dialog","DialogModule":"./dialog-module","DIALOG_SCROLL_STRATEGY":"./dialog-injectors","DIALOG_DATA":"./dialog-injectors","DIALOG_REF":"./dialog-injectors","DIALOG_CONFIG":"./dialog-injectors","DIALOG_CONTAINER":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":"./dialog-injectors"},"importAs":"@angular/cdk-experimental/dialog"}

@@ -8,8 +8,8 @@ /**

*/
import { ElementRef, ComponentRef, EmbeddedViewRef, ChangeDetectorRef } from '@angular/core';
import { AnimationEvent } from '@angular/animations';
import { BasePortalOutlet, PortalHostDirective, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
import { FocusTrapFactory } from '@angular/cdk/a11y';
import { BasePortalOutlet, ComponentPortal, PortalHostDirective, TemplatePortal } from '@angular/cdk/portal';
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, OnDestroy } from '@angular/core';
import { Subject } from 'rxjs';
import { DialogConfig } from './dialog-config';
import { Subject } from 'rxjs';
export declare function throwDialogContentAlreadyAttachedError(): void;

@@ -20,3 +20,3 @@ /**

*/
export declare class CdkDialogContainer extends BasePortalOutlet {
export declare class CdkDialogContainer extends BasePortalOutlet implements OnDestroy {
private _elementRef;

@@ -26,2 +26,4 @@ private _focusTrapFactory;

private _document;
/** The dialog configuration. */
_config: DialogConfig;
/** State of the dialog animation. */

@@ -35,3 +37,3 @@ _state: 'void' | 'enter' | 'exit';

readonly _ariaDescribedBy: string | null | undefined;
readonly _role: "dialog" | "alertdialog" | null | undefined;
readonly _role: "dialog" | "alertdialog" | undefined;
readonly _tabindex: number;

@@ -48,5 +50,5 @@ /** The portal host inside of this container into which the dialog content will be loaded. */

_afterExit: Subject<void>;
/** The dialog configuration. */
_config: DialogConfig;
constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any);
constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any,
/** The dialog configuration. */
_config: DialogConfig);
/** Destroy focus trap to place focus back to the element focused before the dialog opened. */

@@ -53,0 +55,0 @@ ngOnDestroy(): void;

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"throwDialogContentAlreadyAttachedError":{"__symbolic":"function"},"CdkDialogContainer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/cdk/portal","name":"BasePortalOutlet","line":65,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-dialog-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":48,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":51,"character":19},"member":"Default"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":53,"character":4},"arguments":["dialog",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":54,"character":6},"arguments":["enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":54,"character":21},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":55,"character":6},"arguments":["exit, void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":55,"character":26},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":56,"character":6},"arguments":["* => *",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":56,"character":27},"arguments":[225]}]}]]}],"host":{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)","$quoted$":["[@dialog]","(@dialog.start)","(@dialog.done)"]},"template":"<ng-template cdkPortalOutlet></ng-template>","styles":["cdk-dialog-container {\n background: white;\n border-radius: 5px;\n display: block;\n padding: 10px;\n}\n"]}]}],"members":{"_ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":79,"character":3},"arguments":["attr.aria-label"]}]}],"_ariaDescribedBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":81,"character":3},"arguments":["attr.aria-describedby"]}]}],"_role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":84,"character":3},"arguments":["attr.role"]}]}],"_tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":86,"character":3},"arguments":["attr.tabindex"]}]}],"_portalHost":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":90,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalHostDirective","line":90,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":111,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":111,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":111,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":108,"character":25},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusTrapFactory","line":109,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":110,"character":32},{"__symbolic":"reference","name":"any"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"attachComponentPortal":[{"__symbolic":"method"}],"attachTemplatePortal":[{"__symbolic":"method"}],"_onAnimationStart":[{"__symbolic":"method"}],"_onAnimationDone":[{"__symbolic":"method"}],"_startExiting":[{"__symbolic":"method"}],"_savePreviouslyFocusedElement":[{"__symbolic":"method"}],"_autoFocusFirstTabbableElement":[{"__symbolic":"method"}],"_returnFocusAfterDialog":[{"__symbolic":"method"}]}},"DialogRole":{"__symbolic":"interface"},"DialogPosition":{"__symbolic":"interface"},"DialogConfig":{"__symbolic":"class","arity":1,"members":{}},"DialogRef":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayRef","line":33,"character":24},{"__symbolic":"reference","name":"CdkDialogContainer"},{"__symbolic":"reference","name":"string"}]}],"backdropClick":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"keydownEvents":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"_getPositionStrategy":[{"__symbolic":"method"}],"beforeOpen":[{"__symbolic":"method"}],"afterOpen":[{"__symbolic":"method"}],"beforeClose":[{"__symbolic":"method"}],"afterClosed":[{"__symbolic":"method"}]}},"Dialog":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_REF"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":70,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":71,"character":7}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":71,"character":19}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":72,"character":7}}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":67,"character":23},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":68,"character":24},null,null,{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":72,"character":28}]}],"getById":[{"__symbolic":"method"}],"closeAll":[{"__symbolic":"method"}],"openFromComponent":[{"__symbolic":"method"}],"openFromTemplate":[{"__symbolic":"method"}],"registerDialogRef":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_attachDialogContainer":[{"__symbolic":"method"}],"_attachDialogContentForComponent":[{"__symbolic":"method"}],"_attachDialogContentForTemplate":[{"__symbolic":"method"}],"_createInjector":[{"__symbolic":"method"}],"_applyConfigDefaults":[{"__symbolic":"method"}]}},"DialogModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":25,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"A11yModule","line":30,"character":4}],"exports":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"declarations":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"providers":[{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER"},{"provide":{"__symbolic":"reference","name":"DIALOG_REF"},"useValue":{"__symbolic":"reference","name":"DialogRef"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONTAINER"},"useValue":{"__symbolic":"reference","name":"CdkDialogContainer"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONFIG"},"useValue":{"__symbolic":"reference","name":"DialogConfig"}}],"entryComponents":[{"__symbolic":"reference","name":"CdkDialogContainer"}]}]}],"members":{}},"DIALOG_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":8},"arguments":["DialogScrollStrategy"]},"DIALOG_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":19,"character":31},"arguments":["DialogData"]},"DIALOG_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":30},"arguments":["DialogRef"]},"DIALOG_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":25,"character":33},"arguments":["DialogConfig"]},"DIALOG_CONTAINER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":29,"character":8},"arguments":["DialogContainer"]},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["overlay"],"value":{"__symbolic":"error","message":"Lambda not supported","line":34,"character":9,"module":"./dialog-injectors"}},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":{"provide":{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"},"deps":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":40,"character":9}],"useFactory":{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY"}}},"origins":{"throwDialogContentAlreadyAttachedError":"./dialog-container","CdkDialogContainer":"./dialog-container","DialogRole":"./dialog-config","DialogPosition":"./dialog-config","DialogConfig":"./dialog-config","DialogRef":"./dialog-ref","Dialog":"./dialog","DialogModule":"./dialog-module","DIALOG_SCROLL_STRATEGY":"./dialog-injectors","DIALOG_DATA":"./dialog-injectors","DIALOG_REF":"./dialog-injectors","DIALOG_CONFIG":"./dialog-injectors","DIALOG_CONTAINER":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":"./dialog-injectors"},"importAs":"@angular/cdk-experimental/dialog"}
{"__symbolic":"module","version":4,"metadata":{"throwDialogContentAlreadyAttachedError":{"__symbolic":"function"},"CdkDialogContainer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/cdk/portal","name":"BasePortalOutlet","line":66,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":44,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-dialog-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":49,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":52,"character":19},"member":"Default"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":54,"character":4},"arguments":["dialog",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":55,"character":6},"arguments":["enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":55,"character":21},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":56,"character":6},"arguments":["exit, void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":56,"character":26},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":57,"character":6},"arguments":["* => *",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":57,"character":27},"arguments":[225]}]}]]}],"host":{"[@dialog]":"_state","(@dialog.start)":"_onAnimationStart($event)","(@dialog.done)":"_onAnimationDone($event)","$quoted$":["[@dialog]","(@dialog.start)","(@dialog.done)"]},"template":"<ng-template cdkPortalOutlet></ng-template>","styles":["cdk-dialog-container {\n background: white;\n border-radius: 5px;\n display: block;\n padding: 10px;\n}\n"]}]}],"members":{"_ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":80,"character":3},"arguments":["attr.aria-label"]}]}],"_ariaDescribedBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":82,"character":3},"arguments":["attr.aria-describedby"]}]}],"_role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":85,"character":3},"arguments":["attr.role"]}]}],"_tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":87,"character":3},"arguments":["attr.tabindex"]}]}],"_portalHost":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":91,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalHostDirective","line":91,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":109,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":109,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":109,"character":24}]}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":106,"character":25},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusTrapFactory","line":107,"character":31},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":108,"character":32},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"DialogConfig"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"attachComponentPortal":[{"__symbolic":"method"}],"attachTemplatePortal":[{"__symbolic":"method"}],"_onAnimationStart":[{"__symbolic":"method"}],"_onAnimationDone":[{"__symbolic":"method"}],"_startExiting":[{"__symbolic":"method"}],"_savePreviouslyFocusedElement":[{"__symbolic":"method"}],"_autoFocusFirstTabbableElement":[{"__symbolic":"method"}],"_returnFocusAfterDialog":[{"__symbolic":"method"}]}},"DialogRole":{"__symbolic":"interface"},"DialogPosition":{"__symbolic":"interface"},"DialogConfig":{"__symbolic":"class","arity":1,"members":{}},"DialogRef":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayRef","line":33,"character":24},{"__symbolic":"reference","name":"CdkDialogContainer"},{"__symbolic":"reference","name":"string"}]}],"backdropClick":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"keydownEvents":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"_getPositionStrategy":[{"__symbolic":"method"}],"beforeOpen":[{"__symbolic":"method"}],"afterOpen":[{"__symbolic":"method"}],"beforeClose":[{"__symbolic":"method"}],"afterClosed":[{"__symbolic":"method"}]}},"Dialog":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_REF"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":70,"character":7},"arguments":[{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":71,"character":7}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":71,"character":19}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":72,"character":7}}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":67,"character":23},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":68,"character":24},null,null,{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":72,"character":28}]}],"getById":[{"__symbolic":"method"}],"closeAll":[{"__symbolic":"method"}],"openFromComponent":[{"__symbolic":"method"}],"openFromTemplate":[{"__symbolic":"method"}],"registerDialogRef":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_attachDialogContainer":[{"__symbolic":"method"}],"_attachDialogContentForComponent":[{"__symbolic":"method"}],"_attachDialogContentForTemplate":[{"__symbolic":"method"}],"_createInjector":[{"__symbolic":"method"}],"_applyConfigDefaults":[{"__symbolic":"method"}]}},"DialogModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":25,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"A11yModule","line":30,"character":4}],"exports":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"declarations":[{"__symbolic":"reference","name":"CdkDialogContainer"}],"providers":[{"__symbolic":"reference","name":"Dialog"},{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER"},{"provide":{"__symbolic":"reference","name":"DIALOG_REF"},"useValue":{"__symbolic":"reference","name":"DialogRef"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONTAINER"},"useValue":{"__symbolic":"reference","name":"CdkDialogContainer"}},{"provide":{"__symbolic":"reference","name":"DIALOG_CONFIG"},"useValue":{"__symbolic":"reference","name":"DialogConfig"}}],"entryComponents":[{"__symbolic":"reference","name":"CdkDialogContainer"}]}]}],"members":{}},"DIALOG_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":8},"arguments":["DialogScrollStrategy"]},"DIALOG_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":19,"character":31},"arguments":["DialogData"]},"DIALOG_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":30},"arguments":["DialogRef"]},"DIALOG_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":25,"character":33},"arguments":["DialogConfig"]},"DIALOG_CONTAINER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":29,"character":8},"arguments":["DialogContainer"]},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["overlay"],"value":{"__symbolic":"error","message":"Lambda not supported","line":34,"character":9,"module":"./dialog-injectors"}},"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":{"provide":{"__symbolic":"reference","name":"DIALOG_SCROLL_STRATEGY"},"deps":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":40,"character":9}],"useFactory":{"__symbolic":"reference","name":"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY"}}},"origins":{"throwDialogContentAlreadyAttachedError":"./dialog-container","CdkDialogContainer":"./dialog-container","DialogRole":"./dialog-config","DialogPosition":"./dialog-config","DialogConfig":"./dialog-config","DialogRef":"./dialog-ref","Dialog":"./dialog","DialogModule":"./dialog-module","DIALOG_SCROLL_STRATEGY":"./dialog-injectors","DIALOG_DATA":"./dialog-injectors","DIALOG_REF":"./dialog-injectors","DIALOG_CONFIG":"./dialog-injectors","DIALOG_CONTAINER":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY":"./dialog-injectors","MAT_DIALOG_SCROLL_STRATEGY_PROVIDER":"./dialog-injectors"},"importAs":"@angular/cdk-experimental/dialog"}

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":11,"character":27},"arguments":["6.0.2"]}},"origins":{"VERSION":"./version"},"importAs":"@angular/cdk-experimental"}
{"__symbolic":"module","version":4,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":11,"character":27},"arguments":["6.1.0"]}},"origins":{"VERSION":"./version"},"importAs":"@angular/cdk-experimental"}

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":11,"character":27},"arguments":["6.0.2"]}},"origins":{"VERSION":"./version"},"importAs":"@angular/cdk-experimental"}
{"__symbolic":"module","version":4,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":11,"character":27},"arguments":["6.1.0"]}},"origins":{"VERSION":"./version"},"importAs":"@angular/cdk-experimental"}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc